<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*! For license information please see talkdeskchatsdk.js.LICENSE.txt */
(function(){var __webpack_modules__={78381:function(r,c,u){"use strict";var p;u.d(c,{Z:function(){return K}});var y=new Uint8Array(16);function rng(){if(!p&amp;&amp;!(p="undefined"!=typeof crypto&amp;&amp;crypto.getRandomValues&amp;&amp;crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&amp;&amp;"function"==typeof msCrypto.getRandomValues&amp;&amp;msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return p(y)}var w=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var x=function validate(r){return"string"==typeof r&amp;&amp;w.test(r)},k=[],E=0;E&lt;256;++E)k.push((E+256).toString(16).substr(1));var I=function stringify(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:0,u=(k[r[c+0]]+k[r[c+1]]+k[r[c+2]]+k[r[c+3]]+"-"+k[r[c+4]]+k[r[c+5]]+"-"+k[r[c+6]]+k[r[c+7]]+"-"+k[r[c+8]]+k[r[c+9]]+"-"+k[r[c+10]]+k[r[c+11]]+k[r[c+12]]+k[r[c+13]]+k[r[c+14]]+k[r[c+15]]).toLowerCase();if(!x(u))throw TypeError("Stringified UUID is invalid");return u};var K=function v4(r,c,u){var p=(r=r||{}).random||(r.rng||rng)();if(p[6]=15&amp;p[6]|64,p[8]=63&amp;p[8]|128,c){u=u||0;for(var y=0;y&lt;16;++y)c[u+y]=p[y];return c}return I(p)}},58594:function(r,c,u){"use strict";u.d(c,{Z:function(){return y}});var p=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,y=function memoize(r){var c={};return function(u){return void 0===c[u]&amp;&amp;(c[u]=r(u)),c[u]}}((function(r){return p.test(r)||111===r.charCodeAt(0)&amp;&amp;110===r.charCodeAt(1)&amp;&amp;r.charCodeAt(2)&lt;91}))},12653:function(r,c,u){"use strict";var p,y,w,x,k,E,I,K,J,oe=u(62100),ie=oe.Reader,ae=oe.Writer,se=oe.util,ue=oe.roots.default||(oe.roots.default={});ue.opentelemetry=((J={}).proto=((K={}).common=((y={}).v1=((p={}).AnyValue=function(){function AnyValue(r){if(r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}var r;return AnyValue.prototype.stringValue=null,AnyValue.prototype.boolValue=null,AnyValue.prototype.intValue=null,AnyValue.prototype.doubleValue=null,AnyValue.prototype.arrayValue=null,AnyValue.prototype.kvlistValue=null,AnyValue.prototype.bytesValue=null,Object.defineProperty(AnyValue.prototype,"value",{get:se.oneOfGetter(r=["stringValue","boolValue","intValue","doubleValue","arrayValue","kvlistValue","bytesValue"]),set:se.oneOfSetter(r)}),AnyValue.create=function create(r){return new AnyValue(r)},AnyValue.encode=function encode(r,c){return c||(c=ae.create()),null!=r.stringValue&amp;&amp;Object.hasOwnProperty.call(r,"stringValue")&amp;&amp;c.uint32(10).string(r.stringValue),null!=r.boolValue&amp;&amp;Object.hasOwnProperty.call(r,"boolValue")&amp;&amp;c.uint32(16).bool(r.boolValue),null!=r.intValue&amp;&amp;Object.hasOwnProperty.call(r,"intValue")&amp;&amp;c.uint32(24).int64(r.intValue),null!=r.doubleValue&amp;&amp;Object.hasOwnProperty.call(r,"doubleValue")&amp;&amp;c.uint32(33).double(r.doubleValue),null!=r.arrayValue&amp;&amp;Object.hasOwnProperty.call(r,"arrayValue")&amp;&amp;ue.opentelemetry.proto.common.v1.ArrayValue.encode(r.arrayValue,c.uint32(42).fork()).ldelim(),null!=r.kvlistValue&amp;&amp;Object.hasOwnProperty.call(r,"kvlistValue")&amp;&amp;ue.opentelemetry.proto.common.v1.KeyValueList.encode(r.kvlistValue,c.uint32(50).fork()).ldelim(),null!=r.bytesValue&amp;&amp;Object.hasOwnProperty.call(r,"bytesValue")&amp;&amp;c.uint32(58).bytes(r.bytesValue),c},AnyValue.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},AnyValue.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.common.v1.AnyValue;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.stringValue=r.string();break;case 2:p.boolValue=r.bool();break;case 3:p.intValue=r.int64();break;case 4:p.doubleValue=r.double();break;case 5:p.arrayValue=ue.opentelemetry.proto.common.v1.ArrayValue.decode(r,r.uint32());break;case 6:p.kvlistValue=ue.opentelemetry.proto.common.v1.KeyValueList.decode(r,r.uint32());break;case 7:p.bytesValue=r.bytes();break;default:r.skipType(7&amp;y)}}return p},AnyValue.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},AnyValue.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";var c={};if(null!=r.stringValue&amp;&amp;r.hasOwnProperty("stringValue")&amp;&amp;(c.value=1,!se.isString(r.stringValue)))return"stringValue: string expected";if(null!=r.boolValue&amp;&amp;r.hasOwnProperty("boolValue")){if(1===c.value)return"value: multiple values";if(c.value=1,"boolean"!=typeof r.boolValue)return"boolValue: boolean expected"}if(null!=r.intValue&amp;&amp;r.hasOwnProperty("intValue")){if(1===c.value)return"value: multiple values";if(c.value=1,!(se.isInteger(r.intValue)||r.intValue&amp;&amp;se.isInteger(r.intValue.low)&amp;&amp;se.isInteger(r.intValue.high)))return"intValue: integer|Long expected"}if(null!=r.doubleValue&amp;&amp;r.hasOwnProperty("doubleValue")){if(1===c.value)return"value: multiple values";if(c.value=1,"number"!=typeof r.doubleValue)return"doubleValue: number expected"}if(null!=r.arrayValue&amp;&amp;r.hasOwnProperty("arrayValue")){if(1===c.value)return"value: multiple values";if(c.value=1,u=ue.opentelemetry.proto.common.v1.ArrayValue.verify(r.arrayValue))return"arrayValue."+u}if(null!=r.kvlistValue&amp;&amp;r.hasOwnProperty("kvlistValue")){if(1===c.value)return"value: multiple values";var u;if(c.value=1,u=ue.opentelemetry.proto.common.v1.KeyValueList.verify(r.kvlistValue))return"kvlistValue."+u}if(null!=r.bytesValue&amp;&amp;r.hasOwnProperty("bytesValue")){if(1===c.value)return"value: multiple values";if(c.value=1,!(r.bytesValue&amp;&amp;"number"==typeof r.bytesValue.length||se.isString(r.bytesValue)))return"bytesValue: buffer expected"}return null},AnyValue.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.common.v1.AnyValue)return r;var c=new ue.opentelemetry.proto.common.v1.AnyValue;if(null!=r.stringValue&amp;&amp;(c.stringValue=String(r.stringValue)),null!=r.boolValue&amp;&amp;(c.boolValue=Boolean(r.boolValue)),null!=r.intValue&amp;&amp;(se.Long?(c.intValue=se.Long.fromValue(r.intValue)).unsigned=!1:"string"==typeof r.intValue?c.intValue=parseInt(r.intValue,10):"number"==typeof r.intValue?c.intValue=r.intValue:"object"==typeof r.intValue&amp;&amp;(c.intValue=new se.LongBits(r.intValue.low&gt;&gt;&gt;0,r.intValue.high&gt;&gt;&gt;0).toNumber())),null!=r.doubleValue&amp;&amp;(c.doubleValue=Number(r.doubleValue)),null!=r.arrayValue){if("object"!=typeof r.arrayValue)throw TypeError(".opentelemetry.proto.common.v1.AnyValue.arrayValue: object expected");c.arrayValue=ue.opentelemetry.proto.common.v1.ArrayValue.fromObject(r.arrayValue)}if(null!=r.kvlistValue){if("object"!=typeof r.kvlistValue)throw TypeError(".opentelemetry.proto.common.v1.AnyValue.kvlistValue: object expected");c.kvlistValue=ue.opentelemetry.proto.common.v1.KeyValueList.fromObject(r.kvlistValue)}return null!=r.bytesValue&amp;&amp;("string"==typeof r.bytesValue?se.base64.decode(r.bytesValue,c.bytesValue=se.newBuffer(se.base64.length(r.bytesValue)),0):r.bytesValue.length&gt;=0&amp;&amp;(c.bytesValue=r.bytesValue)),c},AnyValue.toObject=function toObject(r,c){c||(c={});var u={};return null!=r.stringValue&amp;&amp;r.hasOwnProperty("stringValue")&amp;&amp;(u.stringValue=r.stringValue,c.oneofs&amp;&amp;(u.value="stringValue")),null!=r.boolValue&amp;&amp;r.hasOwnProperty("boolValue")&amp;&amp;(u.boolValue=r.boolValue,c.oneofs&amp;&amp;(u.value="boolValue")),null!=r.intValue&amp;&amp;r.hasOwnProperty("intValue")&amp;&amp;("number"==typeof r.intValue?u.intValue=c.longs===String?String(r.intValue):r.intValue:u.intValue=c.longs===String?se.Long.prototype.toString.call(r.intValue):c.longs===Number?new se.LongBits(r.intValue.low&gt;&gt;&gt;0,r.intValue.high&gt;&gt;&gt;0).toNumber():r.intValue,c.oneofs&amp;&amp;(u.value="intValue")),null!=r.doubleValue&amp;&amp;r.hasOwnProperty("doubleValue")&amp;&amp;(u.doubleValue=c.json&amp;&amp;!isFinite(r.doubleValue)?String(r.doubleValue):r.doubleValue,c.oneofs&amp;&amp;(u.value="doubleValue")),null!=r.arrayValue&amp;&amp;r.hasOwnProperty("arrayValue")&amp;&amp;(u.arrayValue=ue.opentelemetry.proto.common.v1.ArrayValue.toObject(r.arrayValue,c),c.oneofs&amp;&amp;(u.value="arrayValue")),null!=r.kvlistValue&amp;&amp;r.hasOwnProperty("kvlistValue")&amp;&amp;(u.kvlistValue=ue.opentelemetry.proto.common.v1.KeyValueList.toObject(r.kvlistValue,c),c.oneofs&amp;&amp;(u.value="kvlistValue")),null!=r.bytesValue&amp;&amp;r.hasOwnProperty("bytesValue")&amp;&amp;(u.bytesValue=c.bytes===String?se.base64.encode(r.bytesValue,0,r.bytesValue.length):c.bytes===Array?Array.prototype.slice.call(r.bytesValue):r.bytesValue,c.oneofs&amp;&amp;(u.value="bytesValue")),u},AnyValue.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},AnyValue.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.common.v1.AnyValue"},AnyValue}(),p.ArrayValue=function(){function ArrayValue(r){if(this.values=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ArrayValue.prototype.values=se.emptyArray,ArrayValue.create=function create(r){return new ArrayValue(r)},ArrayValue.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.values&amp;&amp;r.values.length)for(var u=0;u&lt;r.values.length;++u)ue.opentelemetry.proto.common.v1.AnyValue.encode(r.values[u],c.uint32(10).fork()).ldelim();return c},ArrayValue.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ArrayValue.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.common.v1.ArrayValue;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?(p.values&amp;&amp;p.values.length||(p.values=[]),p.values.push(ue.opentelemetry.proto.common.v1.AnyValue.decode(r,r.uint32()))):r.skipType(7&amp;y)}return p},ArrayValue.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ArrayValue.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.values&amp;&amp;r.hasOwnProperty("values")){if(!Array.isArray(r.values))return"values: array expected";for(var c=0;c&lt;r.values.length;++c){var u=ue.opentelemetry.proto.common.v1.AnyValue.verify(r.values[c]);if(u)return"values."+u}}return null},ArrayValue.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.common.v1.ArrayValue)return r;var c=new ue.opentelemetry.proto.common.v1.ArrayValue;if(r.values){if(!Array.isArray(r.values))throw TypeError(".opentelemetry.proto.common.v1.ArrayValue.values: array expected");c.values=[];for(var u=0;u&lt;r.values.length;++u){if("object"!=typeof r.values[u])throw TypeError(".opentelemetry.proto.common.v1.ArrayValue.values: object expected");c.values[u]=ue.opentelemetry.proto.common.v1.AnyValue.fromObject(r.values[u])}}return c},ArrayValue.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.values=[]),r.values&amp;&amp;r.values.length){u.values=[];for(var p=0;p&lt;r.values.length;++p)u.values[p]=ue.opentelemetry.proto.common.v1.AnyValue.toObject(r.values[p],c)}return u},ArrayValue.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ArrayValue.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.common.v1.ArrayValue"},ArrayValue}(),p.KeyValueList=function(){function KeyValueList(r){if(this.values=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return KeyValueList.prototype.values=se.emptyArray,KeyValueList.create=function create(r){return new KeyValueList(r)},KeyValueList.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.values&amp;&amp;r.values.length)for(var u=0;u&lt;r.values.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.values[u],c.uint32(10).fork()).ldelim();return c},KeyValueList.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},KeyValueList.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.common.v1.KeyValueList;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?(p.values&amp;&amp;p.values.length||(p.values=[]),p.values.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()))):r.skipType(7&amp;y)}return p},KeyValueList.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},KeyValueList.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.values&amp;&amp;r.hasOwnProperty("values")){if(!Array.isArray(r.values))return"values: array expected";for(var c=0;c&lt;r.values.length;++c){var u=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.values[c]);if(u)return"values."+u}}return null},KeyValueList.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.common.v1.KeyValueList)return r;var c=new ue.opentelemetry.proto.common.v1.KeyValueList;if(r.values){if(!Array.isArray(r.values))throw TypeError(".opentelemetry.proto.common.v1.KeyValueList.values: array expected");c.values=[];for(var u=0;u&lt;r.values.length;++u){if("object"!=typeof r.values[u])throw TypeError(".opentelemetry.proto.common.v1.KeyValueList.values: object expected");c.values[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.values[u])}}return c},KeyValueList.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.values=[]),r.values&amp;&amp;r.values.length){u.values=[];for(var p=0;p&lt;r.values.length;++p)u.values[p]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.values[p],c)}return u},KeyValueList.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},KeyValueList.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.common.v1.KeyValueList"},KeyValueList}(),p.KeyValue=function(){function KeyValue(r){if(r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return KeyValue.prototype.key=null,KeyValue.prototype.value=null,KeyValue.create=function create(r){return new KeyValue(r)},KeyValue.encode=function encode(r,c){return c||(c=ae.create()),null!=r.key&amp;&amp;Object.hasOwnProperty.call(r,"key")&amp;&amp;c.uint32(10).string(r.key),null!=r.value&amp;&amp;Object.hasOwnProperty.call(r,"value")&amp;&amp;ue.opentelemetry.proto.common.v1.AnyValue.encode(r.value,c.uint32(18).fork()).ldelim(),c},KeyValue.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},KeyValue.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.common.v1.KeyValue;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.key=r.string();break;case 2:p.value=ue.opentelemetry.proto.common.v1.AnyValue.decode(r,r.uint32());break;default:r.skipType(7&amp;y)}}return p},KeyValue.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},KeyValue.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.key&amp;&amp;r.hasOwnProperty("key")&amp;&amp;!se.isString(r.key))return"key: string expected";if(null!=r.value&amp;&amp;r.hasOwnProperty("value")){var c=ue.opentelemetry.proto.common.v1.AnyValue.verify(r.value);if(c)return"value."+c}return null},KeyValue.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.common.v1.KeyValue)return r;var c=new ue.opentelemetry.proto.common.v1.KeyValue;if(null!=r.key&amp;&amp;(c.key=String(r.key)),null!=r.value){if("object"!=typeof r.value)throw TypeError(".opentelemetry.proto.common.v1.KeyValue.value: object expected");c.value=ue.opentelemetry.proto.common.v1.AnyValue.fromObject(r.value)}return c},KeyValue.toObject=function toObject(r,c){c||(c={});var u={};return c.defaults&amp;&amp;(u.key="",u.value=null),null!=r.key&amp;&amp;r.hasOwnProperty("key")&amp;&amp;(u.key=r.key),null!=r.value&amp;&amp;r.hasOwnProperty("value")&amp;&amp;(u.value=ue.opentelemetry.proto.common.v1.AnyValue.toObject(r.value,c)),u},KeyValue.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},KeyValue.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.common.v1.KeyValue"},KeyValue}(),p.InstrumentationScope=function(){function InstrumentationScope(r){if(this.attributes=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return InstrumentationScope.prototype.name=null,InstrumentationScope.prototype.version=null,InstrumentationScope.prototype.attributes=se.emptyArray,InstrumentationScope.prototype.droppedAttributesCount=null,InstrumentationScope.create=function create(r){return new InstrumentationScope(r)},InstrumentationScope.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.name&amp;&amp;Object.hasOwnProperty.call(r,"name")&amp;&amp;c.uint32(10).string(r.name),null!=r.version&amp;&amp;Object.hasOwnProperty.call(r,"version")&amp;&amp;c.uint32(18).string(r.version),null!=r.attributes&amp;&amp;r.attributes.length)for(var u=0;u&lt;r.attributes.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.attributes[u],c.uint32(26).fork()).ldelim();return null!=r.droppedAttributesCount&amp;&amp;Object.hasOwnProperty.call(r,"droppedAttributesCount")&amp;&amp;c.uint32(32).uint32(r.droppedAttributesCount),c},InstrumentationScope.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},InstrumentationScope.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.common.v1.InstrumentationScope;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.name=r.string();break;case 2:p.version=r.string();break;case 3:p.attributes&amp;&amp;p.attributes.length||(p.attributes=[]),p.attributes.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()));break;case 4:p.droppedAttributesCount=r.uint32();break;default:r.skipType(7&amp;y)}}return p},InstrumentationScope.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},InstrumentationScope.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.name&amp;&amp;r.hasOwnProperty("name")&amp;&amp;!se.isString(r.name))return"name: string expected";if(null!=r.version&amp;&amp;r.hasOwnProperty("version")&amp;&amp;!se.isString(r.version))return"version: string expected";if(null!=r.attributes&amp;&amp;r.hasOwnProperty("attributes")){if(!Array.isArray(r.attributes))return"attributes: array expected";for(var c=0;c&lt;r.attributes.length;++c){var u=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.attributes[c]);if(u)return"attributes."+u}}return null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;!se.isInteger(r.droppedAttributesCount)?"droppedAttributesCount: integer expected":null},InstrumentationScope.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.common.v1.InstrumentationScope)return r;var c=new ue.opentelemetry.proto.common.v1.InstrumentationScope;if(null!=r.name&amp;&amp;(c.name=String(r.name)),null!=r.version&amp;&amp;(c.version=String(r.version)),r.attributes){if(!Array.isArray(r.attributes))throw TypeError(".opentelemetry.proto.common.v1.InstrumentationScope.attributes: array expected");c.attributes=[];for(var u=0;u&lt;r.attributes.length;++u){if("object"!=typeof r.attributes[u])throw TypeError(".opentelemetry.proto.common.v1.InstrumentationScope.attributes: object expected");c.attributes[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.attributes[u])}}return null!=r.droppedAttributesCount&amp;&amp;(c.droppedAttributesCount=r.droppedAttributesCount&gt;&gt;&gt;0),c},InstrumentationScope.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.attributes=[]),c.defaults&amp;&amp;(u.name="",u.version="",u.droppedAttributesCount=0),null!=r.name&amp;&amp;r.hasOwnProperty("name")&amp;&amp;(u.name=r.name),null!=r.version&amp;&amp;r.hasOwnProperty("version")&amp;&amp;(u.version=r.version),r.attributes&amp;&amp;r.attributes.length){u.attributes=[];for(var p=0;p&lt;r.attributes.length;++p)u.attributes[p]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.attributes[p],c)}return null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;(u.droppedAttributesCount=r.droppedAttributesCount),u},InstrumentationScope.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},InstrumentationScope.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.common.v1.InstrumentationScope"},InstrumentationScope}(),p),y),K.resource=((w={}).v1=function(){var r={};return r.Resource=function(){function Resource(r){if(this.attributes=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return Resource.prototype.attributes=se.emptyArray,Resource.prototype.droppedAttributesCount=null,Resource.create=function create(r){return new Resource(r)},Resource.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.attributes&amp;&amp;r.attributes.length)for(var u=0;u&lt;r.attributes.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.attributes[u],c.uint32(10).fork()).ldelim();return null!=r.droppedAttributesCount&amp;&amp;Object.hasOwnProperty.call(r,"droppedAttributesCount")&amp;&amp;c.uint32(16).uint32(r.droppedAttributesCount),c},Resource.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Resource.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.resource.v1.Resource;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.attributes&amp;&amp;p.attributes.length||(p.attributes=[]),p.attributes.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()));break;case 2:p.droppedAttributesCount=r.uint32();break;default:r.skipType(7&amp;y)}}return p},Resource.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Resource.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.attributes&amp;&amp;r.hasOwnProperty("attributes")){if(!Array.isArray(r.attributes))return"attributes: array expected";for(var c=0;c&lt;r.attributes.length;++c){var u=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.attributes[c]);if(u)return"attributes."+u}}return null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;!se.isInteger(r.droppedAttributesCount)?"droppedAttributesCount: integer expected":null},Resource.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.resource.v1.Resource)return r;var c=new ue.opentelemetry.proto.resource.v1.Resource;if(r.attributes){if(!Array.isArray(r.attributes))throw TypeError(".opentelemetry.proto.resource.v1.Resource.attributes: array expected");c.attributes=[];for(var u=0;u&lt;r.attributes.length;++u){if("object"!=typeof r.attributes[u])throw TypeError(".opentelemetry.proto.resource.v1.Resource.attributes: object expected");c.attributes[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.attributes[u])}}return null!=r.droppedAttributesCount&amp;&amp;(c.droppedAttributesCount=r.droppedAttributesCount&gt;&gt;&gt;0),c},Resource.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.attributes=[]),c.defaults&amp;&amp;(u.droppedAttributesCount=0),r.attributes&amp;&amp;r.attributes.length){u.attributes=[];for(var p=0;p&lt;r.attributes.length;++p)u.attributes[p]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.attributes[p],c)}return null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;(u.droppedAttributesCount=r.droppedAttributesCount),u},Resource.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Resource.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.resource.v1.Resource"},Resource}(),r}(),w),K.trace=((x={}).v1=function(){var r={};return r.TracesData=function(){function TracesData(r){if(this.resourceSpans=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return TracesData.prototype.resourceSpans=se.emptyArray,TracesData.create=function create(r){return new TracesData(r)},TracesData.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.resourceSpans&amp;&amp;r.resourceSpans.length)for(var u=0;u&lt;r.resourceSpans.length;++u)ue.opentelemetry.proto.trace.v1.ResourceSpans.encode(r.resourceSpans[u],c.uint32(10).fork()).ldelim();return c},TracesData.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},TracesData.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.trace.v1.TracesData;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?(p.resourceSpans&amp;&amp;p.resourceSpans.length||(p.resourceSpans=[]),p.resourceSpans.push(ue.opentelemetry.proto.trace.v1.ResourceSpans.decode(r,r.uint32()))):r.skipType(7&amp;y)}return p},TracesData.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},TracesData.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.resourceSpans&amp;&amp;r.hasOwnProperty("resourceSpans")){if(!Array.isArray(r.resourceSpans))return"resourceSpans: array expected";for(var c=0;c&lt;r.resourceSpans.length;++c){var u=ue.opentelemetry.proto.trace.v1.ResourceSpans.verify(r.resourceSpans[c]);if(u)return"resourceSpans."+u}}return null},TracesData.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.trace.v1.TracesData)return r;var c=new ue.opentelemetry.proto.trace.v1.TracesData;if(r.resourceSpans){if(!Array.isArray(r.resourceSpans))throw TypeError(".opentelemetry.proto.trace.v1.TracesData.resourceSpans: array expected");c.resourceSpans=[];for(var u=0;u&lt;r.resourceSpans.length;++u){if("object"!=typeof r.resourceSpans[u])throw TypeError(".opentelemetry.proto.trace.v1.TracesData.resourceSpans: object expected");c.resourceSpans[u]=ue.opentelemetry.proto.trace.v1.ResourceSpans.fromObject(r.resourceSpans[u])}}return c},TracesData.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.resourceSpans=[]),r.resourceSpans&amp;&amp;r.resourceSpans.length){u.resourceSpans=[];for(var p=0;p&lt;r.resourceSpans.length;++p)u.resourceSpans[p]=ue.opentelemetry.proto.trace.v1.ResourceSpans.toObject(r.resourceSpans[p],c)}return u},TracesData.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},TracesData.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.trace.v1.TracesData"},TracesData}(),r.ResourceSpans=function(){function ResourceSpans(r){if(this.scopeSpans=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ResourceSpans.prototype.resource=null,ResourceSpans.prototype.scopeSpans=se.emptyArray,ResourceSpans.prototype.schemaUrl=null,ResourceSpans.create=function create(r){return new ResourceSpans(r)},ResourceSpans.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.resource&amp;&amp;Object.hasOwnProperty.call(r,"resource")&amp;&amp;ue.opentelemetry.proto.resource.v1.Resource.encode(r.resource,c.uint32(10).fork()).ldelim(),null!=r.scopeSpans&amp;&amp;r.scopeSpans.length)for(var u=0;u&lt;r.scopeSpans.length;++u)ue.opentelemetry.proto.trace.v1.ScopeSpans.encode(r.scopeSpans[u],c.uint32(18).fork()).ldelim();return null!=r.schemaUrl&amp;&amp;Object.hasOwnProperty.call(r,"schemaUrl")&amp;&amp;c.uint32(26).string(r.schemaUrl),c},ResourceSpans.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ResourceSpans.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.trace.v1.ResourceSpans;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.resource=ue.opentelemetry.proto.resource.v1.Resource.decode(r,r.uint32());break;case 2:p.scopeSpans&amp;&amp;p.scopeSpans.length||(p.scopeSpans=[]),p.scopeSpans.push(ue.opentelemetry.proto.trace.v1.ScopeSpans.decode(r,r.uint32()));break;case 3:p.schemaUrl=r.string();break;default:r.skipType(7&amp;y)}}return p},ResourceSpans.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ResourceSpans.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.resource&amp;&amp;r.hasOwnProperty("resource")&amp;&amp;(u=ue.opentelemetry.proto.resource.v1.Resource.verify(r.resource)))return"resource."+u;if(null!=r.scopeSpans&amp;&amp;r.hasOwnProperty("scopeSpans")){if(!Array.isArray(r.scopeSpans))return"scopeSpans: array expected";for(var c=0;c&lt;r.scopeSpans.length;++c){var u;if(u=ue.opentelemetry.proto.trace.v1.ScopeSpans.verify(r.scopeSpans[c]))return"scopeSpans."+u}}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;!se.isString(r.schemaUrl)?"schemaUrl: string expected":null},ResourceSpans.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.trace.v1.ResourceSpans)return r;var c=new ue.opentelemetry.proto.trace.v1.ResourceSpans;if(null!=r.resource){if("object"!=typeof r.resource)throw TypeError(".opentelemetry.proto.trace.v1.ResourceSpans.resource: object expected");c.resource=ue.opentelemetry.proto.resource.v1.Resource.fromObject(r.resource)}if(r.scopeSpans){if(!Array.isArray(r.scopeSpans))throw TypeError(".opentelemetry.proto.trace.v1.ResourceSpans.scopeSpans: array expected");c.scopeSpans=[];for(var u=0;u&lt;r.scopeSpans.length;++u){if("object"!=typeof r.scopeSpans[u])throw TypeError(".opentelemetry.proto.trace.v1.ResourceSpans.scopeSpans: object expected");c.scopeSpans[u]=ue.opentelemetry.proto.trace.v1.ScopeSpans.fromObject(r.scopeSpans[u])}}return null!=r.schemaUrl&amp;&amp;(c.schemaUrl=String(r.schemaUrl)),c},ResourceSpans.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.scopeSpans=[]),c.defaults&amp;&amp;(u.resource=null,u.schemaUrl=""),null!=r.resource&amp;&amp;r.hasOwnProperty("resource")&amp;&amp;(u.resource=ue.opentelemetry.proto.resource.v1.Resource.toObject(r.resource,c)),r.scopeSpans&amp;&amp;r.scopeSpans.length){u.scopeSpans=[];for(var p=0;p&lt;r.scopeSpans.length;++p)u.scopeSpans[p]=ue.opentelemetry.proto.trace.v1.ScopeSpans.toObject(r.scopeSpans[p],c)}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;(u.schemaUrl=r.schemaUrl),u},ResourceSpans.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ResourceSpans.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.trace.v1.ResourceSpans"},ResourceSpans}(),r.ScopeSpans=function(){function ScopeSpans(r){if(this.spans=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ScopeSpans.prototype.scope=null,ScopeSpans.prototype.spans=se.emptyArray,ScopeSpans.prototype.schemaUrl=null,ScopeSpans.create=function create(r){return new ScopeSpans(r)},ScopeSpans.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.scope&amp;&amp;Object.hasOwnProperty.call(r,"scope")&amp;&amp;ue.opentelemetry.proto.common.v1.InstrumentationScope.encode(r.scope,c.uint32(10).fork()).ldelim(),null!=r.spans&amp;&amp;r.spans.length)for(var u=0;u&lt;r.spans.length;++u)ue.opentelemetry.proto.trace.v1.Span.encode(r.spans[u],c.uint32(18).fork()).ldelim();return null!=r.schemaUrl&amp;&amp;Object.hasOwnProperty.call(r,"schemaUrl")&amp;&amp;c.uint32(26).string(r.schemaUrl),c},ScopeSpans.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ScopeSpans.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.trace.v1.ScopeSpans;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.scope=ue.opentelemetry.proto.common.v1.InstrumentationScope.decode(r,r.uint32());break;case 2:p.spans&amp;&amp;p.spans.length||(p.spans=[]),p.spans.push(ue.opentelemetry.proto.trace.v1.Span.decode(r,r.uint32()));break;case 3:p.schemaUrl=r.string();break;default:r.skipType(7&amp;y)}}return p},ScopeSpans.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ScopeSpans.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.scope&amp;&amp;r.hasOwnProperty("scope")&amp;&amp;(u=ue.opentelemetry.proto.common.v1.InstrumentationScope.verify(r.scope)))return"scope."+u;if(null!=r.spans&amp;&amp;r.hasOwnProperty("spans")){if(!Array.isArray(r.spans))return"spans: array expected";for(var c=0;c&lt;r.spans.length;++c){var u;if(u=ue.opentelemetry.proto.trace.v1.Span.verify(r.spans[c]))return"spans."+u}}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;!se.isString(r.schemaUrl)?"schemaUrl: string expected":null},ScopeSpans.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.trace.v1.ScopeSpans)return r;var c=new ue.opentelemetry.proto.trace.v1.ScopeSpans;if(null!=r.scope){if("object"!=typeof r.scope)throw TypeError(".opentelemetry.proto.trace.v1.ScopeSpans.scope: object expected");c.scope=ue.opentelemetry.proto.common.v1.InstrumentationScope.fromObject(r.scope)}if(r.spans){if(!Array.isArray(r.spans))throw TypeError(".opentelemetry.proto.trace.v1.ScopeSpans.spans: array expected");c.spans=[];for(var u=0;u&lt;r.spans.length;++u){if("object"!=typeof r.spans[u])throw TypeError(".opentelemetry.proto.trace.v1.ScopeSpans.spans: object expected");c.spans[u]=ue.opentelemetry.proto.trace.v1.Span.fromObject(r.spans[u])}}return null!=r.schemaUrl&amp;&amp;(c.schemaUrl=String(r.schemaUrl)),c},ScopeSpans.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.spans=[]),c.defaults&amp;&amp;(u.scope=null,u.schemaUrl=""),null!=r.scope&amp;&amp;r.hasOwnProperty("scope")&amp;&amp;(u.scope=ue.opentelemetry.proto.common.v1.InstrumentationScope.toObject(r.scope,c)),r.spans&amp;&amp;r.spans.length){u.spans=[];for(var p=0;p&lt;r.spans.length;++p)u.spans[p]=ue.opentelemetry.proto.trace.v1.Span.toObject(r.spans[p],c)}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;(u.schemaUrl=r.schemaUrl),u},ScopeSpans.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ScopeSpans.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.trace.v1.ScopeSpans"},ScopeSpans}(),r.Span=function(){function Span(r){if(this.attributes=[],this.events=[],this.links=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}var r,c;return Span.prototype.traceId=null,Span.prototype.spanId=null,Span.prototype.traceState=null,Span.prototype.parentSpanId=null,Span.prototype.name=null,Span.prototype.kind=null,Span.prototype.startTimeUnixNano=null,Span.prototype.endTimeUnixNano=null,Span.prototype.attributes=se.emptyArray,Span.prototype.droppedAttributesCount=null,Span.prototype.events=se.emptyArray,Span.prototype.droppedEventsCount=null,Span.prototype.links=se.emptyArray,Span.prototype.droppedLinksCount=null,Span.prototype.status=null,Span.create=function create(r){return new Span(r)},Span.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.traceId&amp;&amp;Object.hasOwnProperty.call(r,"traceId")&amp;&amp;c.uint32(10).bytes(r.traceId),null!=r.spanId&amp;&amp;Object.hasOwnProperty.call(r,"spanId")&amp;&amp;c.uint32(18).bytes(r.spanId),null!=r.traceState&amp;&amp;Object.hasOwnProperty.call(r,"traceState")&amp;&amp;c.uint32(26).string(r.traceState),null!=r.parentSpanId&amp;&amp;Object.hasOwnProperty.call(r,"parentSpanId")&amp;&amp;c.uint32(34).bytes(r.parentSpanId),null!=r.name&amp;&amp;Object.hasOwnProperty.call(r,"name")&amp;&amp;c.uint32(42).string(r.name),null!=r.kind&amp;&amp;Object.hasOwnProperty.call(r,"kind")&amp;&amp;c.uint32(48).int32(r.kind),null!=r.startTimeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"startTimeUnixNano")&amp;&amp;c.uint32(57).fixed64(r.startTimeUnixNano),null!=r.endTimeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"endTimeUnixNano")&amp;&amp;c.uint32(65).fixed64(r.endTimeUnixNano),null!=r.attributes&amp;&amp;r.attributes.length)for(var u=0;u&lt;r.attributes.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.attributes[u],c.uint32(74).fork()).ldelim();if(null!=r.droppedAttributesCount&amp;&amp;Object.hasOwnProperty.call(r,"droppedAttributesCount")&amp;&amp;c.uint32(80).uint32(r.droppedAttributesCount),null!=r.events&amp;&amp;r.events.length)for(u=0;u&lt;r.events.length;++u)ue.opentelemetry.proto.trace.v1.Span.Event.encode(r.events[u],c.uint32(90).fork()).ldelim();if(null!=r.droppedEventsCount&amp;&amp;Object.hasOwnProperty.call(r,"droppedEventsCount")&amp;&amp;c.uint32(96).uint32(r.droppedEventsCount),null!=r.links&amp;&amp;r.links.length)for(u=0;u&lt;r.links.length;++u)ue.opentelemetry.proto.trace.v1.Span.Link.encode(r.links[u],c.uint32(106).fork()).ldelim();return null!=r.droppedLinksCount&amp;&amp;Object.hasOwnProperty.call(r,"droppedLinksCount")&amp;&amp;c.uint32(112).uint32(r.droppedLinksCount),null!=r.status&amp;&amp;Object.hasOwnProperty.call(r,"status")&amp;&amp;ue.opentelemetry.proto.trace.v1.Status.encode(r.status,c.uint32(122).fork()).ldelim(),c},Span.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Span.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.trace.v1.Span;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.traceId=r.bytes();break;case 2:p.spanId=r.bytes();break;case 3:p.traceState=r.string();break;case 4:p.parentSpanId=r.bytes();break;case 5:p.name=r.string();break;case 6:p.kind=r.int32();break;case 7:p.startTimeUnixNano=r.fixed64();break;case 8:p.endTimeUnixNano=r.fixed64();break;case 9:p.attributes&amp;&amp;p.attributes.length||(p.attributes=[]),p.attributes.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()));break;case 10:p.droppedAttributesCount=r.uint32();break;case 11:p.events&amp;&amp;p.events.length||(p.events=[]),p.events.push(ue.opentelemetry.proto.trace.v1.Span.Event.decode(r,r.uint32()));break;case 12:p.droppedEventsCount=r.uint32();break;case 13:p.links&amp;&amp;p.links.length||(p.links=[]),p.links.push(ue.opentelemetry.proto.trace.v1.Span.Link.decode(r,r.uint32()));break;case 14:p.droppedLinksCount=r.uint32();break;case 15:p.status=ue.opentelemetry.proto.trace.v1.Status.decode(r,r.uint32());break;default:r.skipType(7&amp;y)}}return p},Span.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Span.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.traceId&amp;&amp;r.hasOwnProperty("traceId")&amp;&amp;!(r.traceId&amp;&amp;"number"==typeof r.traceId.length||se.isString(r.traceId)))return"traceId: buffer expected";if(null!=r.spanId&amp;&amp;r.hasOwnProperty("spanId")&amp;&amp;!(r.spanId&amp;&amp;"number"==typeof r.spanId.length||se.isString(r.spanId)))return"spanId: buffer expected";if(null!=r.traceState&amp;&amp;r.hasOwnProperty("traceState")&amp;&amp;!se.isString(r.traceState))return"traceState: string expected";if(null!=r.parentSpanId&amp;&amp;r.hasOwnProperty("parentSpanId")&amp;&amp;!(r.parentSpanId&amp;&amp;"number"==typeof r.parentSpanId.length||se.isString(r.parentSpanId)))return"parentSpanId: buffer expected";if(null!=r.name&amp;&amp;r.hasOwnProperty("name")&amp;&amp;!se.isString(r.name))return"name: string expected";if(null!=r.kind&amp;&amp;r.hasOwnProperty("kind"))switch(r.kind){default:return"kind: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:}if(null!=r.startTimeUnixNano&amp;&amp;r.hasOwnProperty("startTimeUnixNano")&amp;&amp;!(se.isInteger(r.startTimeUnixNano)||r.startTimeUnixNano&amp;&amp;se.isInteger(r.startTimeUnixNano.low)&amp;&amp;se.isInteger(r.startTimeUnixNano.high)))return"startTimeUnixNano: integer|Long expected";if(null!=r.endTimeUnixNano&amp;&amp;r.hasOwnProperty("endTimeUnixNano")&amp;&amp;!(se.isInteger(r.endTimeUnixNano)||r.endTimeUnixNano&amp;&amp;se.isInteger(r.endTimeUnixNano.low)&amp;&amp;se.isInteger(r.endTimeUnixNano.high)))return"endTimeUnixNano: integer|Long expected";if(null!=r.attributes&amp;&amp;r.hasOwnProperty("attributes")){if(!Array.isArray(r.attributes))return"attributes: array expected";for(var c=0;c&lt;r.attributes.length;++c)if(u=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.attributes[c]))return"attributes."+u}if(null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;!se.isInteger(r.droppedAttributesCount))return"droppedAttributesCount: integer expected";if(null!=r.events&amp;&amp;r.hasOwnProperty("events")){if(!Array.isArray(r.events))return"events: array expected";for(c=0;c&lt;r.events.length;++c)if(u=ue.opentelemetry.proto.trace.v1.Span.Event.verify(r.events[c]))return"events."+u}if(null!=r.droppedEventsCount&amp;&amp;r.hasOwnProperty("droppedEventsCount")&amp;&amp;!se.isInteger(r.droppedEventsCount))return"droppedEventsCount: integer expected";if(null!=r.links&amp;&amp;r.hasOwnProperty("links")){if(!Array.isArray(r.links))return"links: array expected";for(c=0;c&lt;r.links.length;++c)if(u=ue.opentelemetry.proto.trace.v1.Span.Link.verify(r.links[c]))return"links."+u}return null!=r.droppedLinksCount&amp;&amp;r.hasOwnProperty("droppedLinksCount")&amp;&amp;!se.isInteger(r.droppedLinksCount)?"droppedLinksCount: integer expected":null!=r.status&amp;&amp;r.hasOwnProperty("status")&amp;&amp;(u=ue.opentelemetry.proto.trace.v1.Status.verify(r.status))?"status."+u:null;var u},Span.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.trace.v1.Span)return r;var c=new ue.opentelemetry.proto.trace.v1.Span;switch(null!=r.traceId&amp;&amp;("string"==typeof r.traceId?se.base64.decode(r.traceId,c.traceId=se.newBuffer(se.base64.length(r.traceId)),0):r.traceId.length&gt;=0&amp;&amp;(c.traceId=r.traceId)),null!=r.spanId&amp;&amp;("string"==typeof r.spanId?se.base64.decode(r.spanId,c.spanId=se.newBuffer(se.base64.length(r.spanId)),0):r.spanId.length&gt;=0&amp;&amp;(c.spanId=r.spanId)),null!=r.traceState&amp;&amp;(c.traceState=String(r.traceState)),null!=r.parentSpanId&amp;&amp;("string"==typeof r.parentSpanId?se.base64.decode(r.parentSpanId,c.parentSpanId=se.newBuffer(se.base64.length(r.parentSpanId)),0):r.parentSpanId.length&gt;=0&amp;&amp;(c.parentSpanId=r.parentSpanId)),null!=r.name&amp;&amp;(c.name=String(r.name)),r.kind){default:if("number"==typeof r.kind){c.kind=r.kind;break}break;case"SPAN_KIND_UNSPECIFIED":case 0:c.kind=0;break;case"SPAN_KIND_INTERNAL":case 1:c.kind=1;break;case"SPAN_KIND_SERVER":case 2:c.kind=2;break;case"SPAN_KIND_CLIENT":case 3:c.kind=3;break;case"SPAN_KIND_PRODUCER":case 4:c.kind=4;break;case"SPAN_KIND_CONSUMER":case 5:c.kind=5}if(null!=r.startTimeUnixNano&amp;&amp;(se.Long?(c.startTimeUnixNano=se.Long.fromValue(r.startTimeUnixNano)).unsigned=!1:"string"==typeof r.startTimeUnixNano?c.startTimeUnixNano=parseInt(r.startTimeUnixNano,10):"number"==typeof r.startTimeUnixNano?c.startTimeUnixNano=r.startTimeUnixNano:"object"==typeof r.startTimeUnixNano&amp;&amp;(c.startTimeUnixNano=new se.LongBits(r.startTimeUnixNano.low&gt;&gt;&gt;0,r.startTimeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.endTimeUnixNano&amp;&amp;(se.Long?(c.endTimeUnixNano=se.Long.fromValue(r.endTimeUnixNano)).unsigned=!1:"string"==typeof r.endTimeUnixNano?c.endTimeUnixNano=parseInt(r.endTimeUnixNano,10):"number"==typeof r.endTimeUnixNano?c.endTimeUnixNano=r.endTimeUnixNano:"object"==typeof r.endTimeUnixNano&amp;&amp;(c.endTimeUnixNano=new se.LongBits(r.endTimeUnixNano.low&gt;&gt;&gt;0,r.endTimeUnixNano.high&gt;&gt;&gt;0).toNumber())),r.attributes){if(!Array.isArray(r.attributes))throw TypeError(".opentelemetry.proto.trace.v1.Span.attributes: array expected");c.attributes=[];for(var u=0;u&lt;r.attributes.length;++u){if("object"!=typeof r.attributes[u])throw TypeError(".opentelemetry.proto.trace.v1.Span.attributes: object expected");c.attributes[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.attributes[u])}}if(null!=r.droppedAttributesCount&amp;&amp;(c.droppedAttributesCount=r.droppedAttributesCount&gt;&gt;&gt;0),r.events){if(!Array.isArray(r.events))throw TypeError(".opentelemetry.proto.trace.v1.Span.events: array expected");for(c.events=[],u=0;u&lt;r.events.length;++u){if("object"!=typeof r.events[u])throw TypeError(".opentelemetry.proto.trace.v1.Span.events: object expected");c.events[u]=ue.opentelemetry.proto.trace.v1.Span.Event.fromObject(r.events[u])}}if(null!=r.droppedEventsCount&amp;&amp;(c.droppedEventsCount=r.droppedEventsCount&gt;&gt;&gt;0),r.links){if(!Array.isArray(r.links))throw TypeError(".opentelemetry.proto.trace.v1.Span.links: array expected");for(c.links=[],u=0;u&lt;r.links.length;++u){if("object"!=typeof r.links[u])throw TypeError(".opentelemetry.proto.trace.v1.Span.links: object expected");c.links[u]=ue.opentelemetry.proto.trace.v1.Span.Link.fromObject(r.links[u])}}if(null!=r.droppedLinksCount&amp;&amp;(c.droppedLinksCount=r.droppedLinksCount&gt;&gt;&gt;0),null!=r.status){if("object"!=typeof r.status)throw TypeError(".opentelemetry.proto.trace.v1.Span.status: object expected");c.status=ue.opentelemetry.proto.trace.v1.Status.fromObject(r.status)}return c},Span.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.attributes=[],u.events=[],u.links=[]),c.defaults){if(c.bytes===String?u.traceId="":(u.traceId=[],c.bytes!==Array&amp;&amp;(u.traceId=se.newBuffer(u.traceId))),c.bytes===String?u.spanId="":(u.spanId=[],c.bytes!==Array&amp;&amp;(u.spanId=se.newBuffer(u.spanId))),u.traceState="",c.bytes===String?u.parentSpanId="":(u.parentSpanId=[],c.bytes!==Array&amp;&amp;(u.parentSpanId=se.newBuffer(u.parentSpanId))),u.name="",u.kind=c.enums===String?"SPAN_KIND_UNSPECIFIED":0,se.Long){var p=new se.Long(0,0,!1);u.startTimeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p}else u.startTimeUnixNano=c.longs===String?"0":0;se.Long?(p=new se.Long(0,0,!1),u.endTimeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p):u.endTimeUnixNano=c.longs===String?"0":0,u.droppedAttributesCount=0,u.droppedEventsCount=0,u.droppedLinksCount=0,u.status=null}if(null!=r.traceId&amp;&amp;r.hasOwnProperty("traceId")&amp;&amp;(u.traceId=c.bytes===String?se.base64.encode(r.traceId,0,r.traceId.length):c.bytes===Array?Array.prototype.slice.call(r.traceId):r.traceId),null!=r.spanId&amp;&amp;r.hasOwnProperty("spanId")&amp;&amp;(u.spanId=c.bytes===String?se.base64.encode(r.spanId,0,r.spanId.length):c.bytes===Array?Array.prototype.slice.call(r.spanId):r.spanId),null!=r.traceState&amp;&amp;r.hasOwnProperty("traceState")&amp;&amp;(u.traceState=r.traceState),null!=r.parentSpanId&amp;&amp;r.hasOwnProperty("parentSpanId")&amp;&amp;(u.parentSpanId=c.bytes===String?se.base64.encode(r.parentSpanId,0,r.parentSpanId.length):c.bytes===Array?Array.prototype.slice.call(r.parentSpanId):r.parentSpanId),null!=r.name&amp;&amp;r.hasOwnProperty("name")&amp;&amp;(u.name=r.name),null!=r.kind&amp;&amp;r.hasOwnProperty("kind")&amp;&amp;(u.kind=c.enums===String?void 0===ue.opentelemetry.proto.trace.v1.Span.SpanKind[r.kind]?r.kind:ue.opentelemetry.proto.trace.v1.Span.SpanKind[r.kind]:r.kind),null!=r.startTimeUnixNano&amp;&amp;r.hasOwnProperty("startTimeUnixNano")&amp;&amp;("number"==typeof r.startTimeUnixNano?u.startTimeUnixNano=c.longs===String?String(r.startTimeUnixNano):r.startTimeUnixNano:u.startTimeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.startTimeUnixNano):c.longs===Number?new se.LongBits(r.startTimeUnixNano.low&gt;&gt;&gt;0,r.startTimeUnixNano.high&gt;&gt;&gt;0).toNumber():r.startTimeUnixNano),null!=r.endTimeUnixNano&amp;&amp;r.hasOwnProperty("endTimeUnixNano")&amp;&amp;("number"==typeof r.endTimeUnixNano?u.endTimeUnixNano=c.longs===String?String(r.endTimeUnixNano):r.endTimeUnixNano:u.endTimeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.endTimeUnixNano):c.longs===Number?new se.LongBits(r.endTimeUnixNano.low&gt;&gt;&gt;0,r.endTimeUnixNano.high&gt;&gt;&gt;0).toNumber():r.endTimeUnixNano),r.attributes&amp;&amp;r.attributes.length){u.attributes=[];for(var y=0;y&lt;r.attributes.length;++y)u.attributes[y]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.attributes[y],c)}if(null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;(u.droppedAttributesCount=r.droppedAttributesCount),r.events&amp;&amp;r.events.length)for(u.events=[],y=0;y&lt;r.events.length;++y)u.events[y]=ue.opentelemetry.proto.trace.v1.Span.Event.toObject(r.events[y],c);if(null!=r.droppedEventsCount&amp;&amp;r.hasOwnProperty("droppedEventsCount")&amp;&amp;(u.droppedEventsCount=r.droppedEventsCount),r.links&amp;&amp;r.links.length)for(u.links=[],y=0;y&lt;r.links.length;++y)u.links[y]=ue.opentelemetry.proto.trace.v1.Span.Link.toObject(r.links[y],c);return null!=r.droppedLinksCount&amp;&amp;r.hasOwnProperty("droppedLinksCount")&amp;&amp;(u.droppedLinksCount=r.droppedLinksCount),null!=r.status&amp;&amp;r.hasOwnProperty("status")&amp;&amp;(u.status=ue.opentelemetry.proto.trace.v1.Status.toObject(r.status,c)),u},Span.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Span.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.trace.v1.Span"},Span.SpanKind=(r={},(c=Object.create(r))[r[0]="SPAN_KIND_UNSPECIFIED"]=0,c[r[1]="SPAN_KIND_INTERNAL"]=1,c[r[2]="SPAN_KIND_SERVER"]=2,c[r[3]="SPAN_KIND_CLIENT"]=3,c[r[4]="SPAN_KIND_PRODUCER"]=4,c[r[5]="SPAN_KIND_CONSUMER"]=5,c),Span.Event=function(){function Event(r){if(this.attributes=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return Event.prototype.timeUnixNano=null,Event.prototype.name=null,Event.prototype.attributes=se.emptyArray,Event.prototype.droppedAttributesCount=null,Event.create=function create(r){return new Event(r)},Event.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.timeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"timeUnixNano")&amp;&amp;c.uint32(9).fixed64(r.timeUnixNano),null!=r.name&amp;&amp;Object.hasOwnProperty.call(r,"name")&amp;&amp;c.uint32(18).string(r.name),null!=r.attributes&amp;&amp;r.attributes.length)for(var u=0;u&lt;r.attributes.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.attributes[u],c.uint32(26).fork()).ldelim();return null!=r.droppedAttributesCount&amp;&amp;Object.hasOwnProperty.call(r,"droppedAttributesCount")&amp;&amp;c.uint32(32).uint32(r.droppedAttributesCount),c},Event.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Event.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.trace.v1.Span.Event;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.timeUnixNano=r.fixed64();break;case 2:p.name=r.string();break;case 3:p.attributes&amp;&amp;p.attributes.length||(p.attributes=[]),p.attributes.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()));break;case 4:p.droppedAttributesCount=r.uint32();break;default:r.skipType(7&amp;y)}}return p},Event.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Event.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;!(se.isInteger(r.timeUnixNano)||r.timeUnixNano&amp;&amp;se.isInteger(r.timeUnixNano.low)&amp;&amp;se.isInteger(r.timeUnixNano.high)))return"timeUnixNano: integer|Long expected";if(null!=r.name&amp;&amp;r.hasOwnProperty("name")&amp;&amp;!se.isString(r.name))return"name: string expected";if(null!=r.attributes&amp;&amp;r.hasOwnProperty("attributes")){if(!Array.isArray(r.attributes))return"attributes: array expected";for(var c=0;c&lt;r.attributes.length;++c){var u=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.attributes[c]);if(u)return"attributes."+u}}return null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;!se.isInteger(r.droppedAttributesCount)?"droppedAttributesCount: integer expected":null},Event.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.trace.v1.Span.Event)return r;var c=new ue.opentelemetry.proto.trace.v1.Span.Event;if(null!=r.timeUnixNano&amp;&amp;(se.Long?(c.timeUnixNano=se.Long.fromValue(r.timeUnixNano)).unsigned=!1:"string"==typeof r.timeUnixNano?c.timeUnixNano=parseInt(r.timeUnixNano,10):"number"==typeof r.timeUnixNano?c.timeUnixNano=r.timeUnixNano:"object"==typeof r.timeUnixNano&amp;&amp;(c.timeUnixNano=new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.name&amp;&amp;(c.name=String(r.name)),r.attributes){if(!Array.isArray(r.attributes))throw TypeError(".opentelemetry.proto.trace.v1.Span.Event.attributes: array expected");c.attributes=[];for(var u=0;u&lt;r.attributes.length;++u){if("object"!=typeof r.attributes[u])throw TypeError(".opentelemetry.proto.trace.v1.Span.Event.attributes: object expected");c.attributes[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.attributes[u])}}return null!=r.droppedAttributesCount&amp;&amp;(c.droppedAttributesCount=r.droppedAttributesCount&gt;&gt;&gt;0),c},Event.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.attributes=[]),c.defaults){if(se.Long){var p=new se.Long(0,0,!1);u.timeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p}else u.timeUnixNano=c.longs===String?"0":0;u.name="",u.droppedAttributesCount=0}if(null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;("number"==typeof r.timeUnixNano?u.timeUnixNano=c.longs===String?String(r.timeUnixNano):r.timeUnixNano:u.timeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.timeUnixNano):c.longs===Number?new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber():r.timeUnixNano),null!=r.name&amp;&amp;r.hasOwnProperty("name")&amp;&amp;(u.name=r.name),r.attributes&amp;&amp;r.attributes.length){u.attributes=[];for(var y=0;y&lt;r.attributes.length;++y)u.attributes[y]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.attributes[y],c)}return null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;(u.droppedAttributesCount=r.droppedAttributesCount),u},Event.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Event.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.trace.v1.Span.Event"},Event}(),Span.Link=function(){function Link(r){if(this.attributes=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return Link.prototype.traceId=null,Link.prototype.spanId=null,Link.prototype.traceState=null,Link.prototype.attributes=se.emptyArray,Link.prototype.droppedAttributesCount=null,Link.create=function create(r){return new Link(r)},Link.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.traceId&amp;&amp;Object.hasOwnProperty.call(r,"traceId")&amp;&amp;c.uint32(10).bytes(r.traceId),null!=r.spanId&amp;&amp;Object.hasOwnProperty.call(r,"spanId")&amp;&amp;c.uint32(18).bytes(r.spanId),null!=r.traceState&amp;&amp;Object.hasOwnProperty.call(r,"traceState")&amp;&amp;c.uint32(26).string(r.traceState),null!=r.attributes&amp;&amp;r.attributes.length)for(var u=0;u&lt;r.attributes.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.attributes[u],c.uint32(34).fork()).ldelim();return null!=r.droppedAttributesCount&amp;&amp;Object.hasOwnProperty.call(r,"droppedAttributesCount")&amp;&amp;c.uint32(40).uint32(r.droppedAttributesCount),c},Link.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Link.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.trace.v1.Span.Link;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.traceId=r.bytes();break;case 2:p.spanId=r.bytes();break;case 3:p.traceState=r.string();break;case 4:p.attributes&amp;&amp;p.attributes.length||(p.attributes=[]),p.attributes.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()));break;case 5:p.droppedAttributesCount=r.uint32();break;default:r.skipType(7&amp;y)}}return p},Link.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Link.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.traceId&amp;&amp;r.hasOwnProperty("traceId")&amp;&amp;!(r.traceId&amp;&amp;"number"==typeof r.traceId.length||se.isString(r.traceId)))return"traceId: buffer expected";if(null!=r.spanId&amp;&amp;r.hasOwnProperty("spanId")&amp;&amp;!(r.spanId&amp;&amp;"number"==typeof r.spanId.length||se.isString(r.spanId)))return"spanId: buffer expected";if(null!=r.traceState&amp;&amp;r.hasOwnProperty("traceState")&amp;&amp;!se.isString(r.traceState))return"traceState: string expected";if(null!=r.attributes&amp;&amp;r.hasOwnProperty("attributes")){if(!Array.isArray(r.attributes))return"attributes: array expected";for(var c=0;c&lt;r.attributes.length;++c){var u=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.attributes[c]);if(u)return"attributes."+u}}return null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;!se.isInteger(r.droppedAttributesCount)?"droppedAttributesCount: integer expected":null},Link.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.trace.v1.Span.Link)return r;var c=new ue.opentelemetry.proto.trace.v1.Span.Link;if(null!=r.traceId&amp;&amp;("string"==typeof r.traceId?se.base64.decode(r.traceId,c.traceId=se.newBuffer(se.base64.length(r.traceId)),0):r.traceId.length&gt;=0&amp;&amp;(c.traceId=r.traceId)),null!=r.spanId&amp;&amp;("string"==typeof r.spanId?se.base64.decode(r.spanId,c.spanId=se.newBuffer(se.base64.length(r.spanId)),0):r.spanId.length&gt;=0&amp;&amp;(c.spanId=r.spanId)),null!=r.traceState&amp;&amp;(c.traceState=String(r.traceState)),r.attributes){if(!Array.isArray(r.attributes))throw TypeError(".opentelemetry.proto.trace.v1.Span.Link.attributes: array expected");c.attributes=[];for(var u=0;u&lt;r.attributes.length;++u){if("object"!=typeof r.attributes[u])throw TypeError(".opentelemetry.proto.trace.v1.Span.Link.attributes: object expected");c.attributes[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.attributes[u])}}return null!=r.droppedAttributesCount&amp;&amp;(c.droppedAttributesCount=r.droppedAttributesCount&gt;&gt;&gt;0),c},Link.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.attributes=[]),c.defaults&amp;&amp;(c.bytes===String?u.traceId="":(u.traceId=[],c.bytes!==Array&amp;&amp;(u.traceId=se.newBuffer(u.traceId))),c.bytes===String?u.spanId="":(u.spanId=[],c.bytes!==Array&amp;&amp;(u.spanId=se.newBuffer(u.spanId))),u.traceState="",u.droppedAttributesCount=0),null!=r.traceId&amp;&amp;r.hasOwnProperty("traceId")&amp;&amp;(u.traceId=c.bytes===String?se.base64.encode(r.traceId,0,r.traceId.length):c.bytes===Array?Array.prototype.slice.call(r.traceId):r.traceId),null!=r.spanId&amp;&amp;r.hasOwnProperty("spanId")&amp;&amp;(u.spanId=c.bytes===String?se.base64.encode(r.spanId,0,r.spanId.length):c.bytes===Array?Array.prototype.slice.call(r.spanId):r.spanId),null!=r.traceState&amp;&amp;r.hasOwnProperty("traceState")&amp;&amp;(u.traceState=r.traceState),r.attributes&amp;&amp;r.attributes.length){u.attributes=[];for(var p=0;p&lt;r.attributes.length;++p)u.attributes[p]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.attributes[p],c)}return null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;(u.droppedAttributesCount=r.droppedAttributesCount),u},Link.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Link.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.trace.v1.Span.Link"},Link}(),Span}(),r.Status=function(){function Status(r){if(r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}var r,c;return Status.prototype.message=null,Status.prototype.code=null,Status.create=function create(r){return new Status(r)},Status.encode=function encode(r,c){return c||(c=ae.create()),null!=r.message&amp;&amp;Object.hasOwnProperty.call(r,"message")&amp;&amp;c.uint32(18).string(r.message),null!=r.code&amp;&amp;Object.hasOwnProperty.call(r,"code")&amp;&amp;c.uint32(24).int32(r.code),c},Status.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Status.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.trace.v1.Status;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 2:p.message=r.string();break;case 3:p.code=r.int32();break;default:r.skipType(7&amp;y)}}return p},Status.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Status.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.message&amp;&amp;r.hasOwnProperty("message")&amp;&amp;!se.isString(r.message))return"message: string expected";if(null!=r.code&amp;&amp;r.hasOwnProperty("code"))switch(r.code){default:return"code: enum value expected";case 0:case 1:case 2:}return null},Status.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.trace.v1.Status)return r;var c=new ue.opentelemetry.proto.trace.v1.Status;switch(null!=r.message&amp;&amp;(c.message=String(r.message)),r.code){default:if("number"==typeof r.code){c.code=r.code;break}break;case"STATUS_CODE_UNSET":case 0:c.code=0;break;case"STATUS_CODE_OK":case 1:c.code=1;break;case"STATUS_CODE_ERROR":case 2:c.code=2}return c},Status.toObject=function toObject(r,c){c||(c={});var u={};return c.defaults&amp;&amp;(u.message="",u.code=c.enums===String?"STATUS_CODE_UNSET":0),null!=r.message&amp;&amp;r.hasOwnProperty("message")&amp;&amp;(u.message=r.message),null!=r.code&amp;&amp;r.hasOwnProperty("code")&amp;&amp;(u.code=c.enums===String?void 0===ue.opentelemetry.proto.trace.v1.Status.StatusCode[r.code]?r.code:ue.opentelemetry.proto.trace.v1.Status.StatusCode[r.code]:r.code),u},Status.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Status.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.trace.v1.Status"},Status.StatusCode=(r={},(c=Object.create(r))[r[0]="STATUS_CODE_UNSET"]=0,c[r[1]="STATUS_CODE_OK"]=1,c[r[2]="STATUS_CODE_ERROR"]=2,c),Status}(),r}(),x),K.collector=((I={}).trace=function(){var r={};return r.v1=function(){var r={};return r.TraceService=function(){function TraceService(r,c,u){oe.rpc.Service.call(this,r,c,u)}return(TraceService.prototype=Object.create(oe.rpc.Service.prototype)).constructor=TraceService,TraceService.create=function create(r,c,u){return new this(r,c,u)},Object.defineProperty(TraceService.prototype.export=function export_(r,c){return this.rpcCall(export_,ue.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest,ue.opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse,r,c)},"name",{value:"Export"}),TraceService}(),r.ExportTraceServiceRequest=function(){function ExportTraceServiceRequest(r){if(this.resourceSpans=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ExportTraceServiceRequest.prototype.resourceSpans=se.emptyArray,ExportTraceServiceRequest.create=function create(r){return new ExportTraceServiceRequest(r)},ExportTraceServiceRequest.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.resourceSpans&amp;&amp;r.resourceSpans.length)for(var u=0;u&lt;r.resourceSpans.length;++u)ue.opentelemetry.proto.trace.v1.ResourceSpans.encode(r.resourceSpans[u],c.uint32(10).fork()).ldelim();return c},ExportTraceServiceRequest.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ExportTraceServiceRequest.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?(p.resourceSpans&amp;&amp;p.resourceSpans.length||(p.resourceSpans=[]),p.resourceSpans.push(ue.opentelemetry.proto.trace.v1.ResourceSpans.decode(r,r.uint32()))):r.skipType(7&amp;y)}return p},ExportTraceServiceRequest.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ExportTraceServiceRequest.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.resourceSpans&amp;&amp;r.hasOwnProperty("resourceSpans")){if(!Array.isArray(r.resourceSpans))return"resourceSpans: array expected";for(var c=0;c&lt;r.resourceSpans.length;++c){var u=ue.opentelemetry.proto.trace.v1.ResourceSpans.verify(r.resourceSpans[c]);if(u)return"resourceSpans."+u}}return null},ExportTraceServiceRequest.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest)return r;var c=new ue.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest;if(r.resourceSpans){if(!Array.isArray(r.resourceSpans))throw TypeError(".opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest.resourceSpans: array expected");c.resourceSpans=[];for(var u=0;u&lt;r.resourceSpans.length;++u){if("object"!=typeof r.resourceSpans[u])throw TypeError(".opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest.resourceSpans: object expected");c.resourceSpans[u]=ue.opentelemetry.proto.trace.v1.ResourceSpans.fromObject(r.resourceSpans[u])}}return c},ExportTraceServiceRequest.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.resourceSpans=[]),r.resourceSpans&amp;&amp;r.resourceSpans.length){u.resourceSpans=[];for(var p=0;p&lt;r.resourceSpans.length;++p)u.resourceSpans[p]=ue.opentelemetry.proto.trace.v1.ResourceSpans.toObject(r.resourceSpans[p],c)}return u},ExportTraceServiceRequest.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ExportTraceServiceRequest.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest"},ExportTraceServiceRequest}(),r.ExportTraceServiceResponse=function(){function ExportTraceServiceResponse(r){if(r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ExportTraceServiceResponse.prototype.partialSuccess=null,ExportTraceServiceResponse.create=function create(r){return new ExportTraceServiceResponse(r)},ExportTraceServiceResponse.encode=function encode(r,c){return c||(c=ae.create()),null!=r.partialSuccess&amp;&amp;Object.hasOwnProperty.call(r,"partialSuccess")&amp;&amp;ue.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess.encode(r.partialSuccess,c.uint32(10).fork()).ldelim(),c},ExportTraceServiceResponse.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ExportTraceServiceResponse.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?p.partialSuccess=ue.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess.decode(r,r.uint32()):r.skipType(7&amp;y)}return p},ExportTraceServiceResponse.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ExportTraceServiceResponse.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.partialSuccess&amp;&amp;r.hasOwnProperty("partialSuccess")){var c=ue.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess.verify(r.partialSuccess);if(c)return"partialSuccess."+c}return null},ExportTraceServiceResponse.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse)return r;var c=new ue.opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse;if(null!=r.partialSuccess){if("object"!=typeof r.partialSuccess)throw TypeError(".opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse.partialSuccess: object expected");c.partialSuccess=ue.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess.fromObject(r.partialSuccess)}return c},ExportTraceServiceResponse.toObject=function toObject(r,c){c||(c={});var u={};return c.defaults&amp;&amp;(u.partialSuccess=null),null!=r.partialSuccess&amp;&amp;r.hasOwnProperty("partialSuccess")&amp;&amp;(u.partialSuccess=ue.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess.toObject(r.partialSuccess,c)),u},ExportTraceServiceResponse.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ExportTraceServiceResponse.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.collector.trace.v1.ExportTraceServiceResponse"},ExportTraceServiceResponse}(),r.ExportTracePartialSuccess=function(){function ExportTracePartialSuccess(r){if(r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ExportTracePartialSuccess.prototype.rejectedSpans=null,ExportTracePartialSuccess.prototype.errorMessage=null,ExportTracePartialSuccess.create=function create(r){return new ExportTracePartialSuccess(r)},ExportTracePartialSuccess.encode=function encode(r,c){return c||(c=ae.create()),null!=r.rejectedSpans&amp;&amp;Object.hasOwnProperty.call(r,"rejectedSpans")&amp;&amp;c.uint32(8).int64(r.rejectedSpans),null!=r.errorMessage&amp;&amp;Object.hasOwnProperty.call(r,"errorMessage")&amp;&amp;c.uint32(18).string(r.errorMessage),c},ExportTracePartialSuccess.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ExportTracePartialSuccess.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.rejectedSpans=r.int64();break;case 2:p.errorMessage=r.string();break;default:r.skipType(7&amp;y)}}return p},ExportTracePartialSuccess.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ExportTracePartialSuccess.verify=function verify(r){return"object"!=typeof r||null===r?"object expected":null!=r.rejectedSpans&amp;&amp;r.hasOwnProperty("rejectedSpans")&amp;&amp;!(se.isInteger(r.rejectedSpans)||r.rejectedSpans&amp;&amp;se.isInteger(r.rejectedSpans.low)&amp;&amp;se.isInteger(r.rejectedSpans.high))?"rejectedSpans: integer|Long expected":null!=r.errorMessage&amp;&amp;r.hasOwnProperty("errorMessage")&amp;&amp;!se.isString(r.errorMessage)?"errorMessage: string expected":null},ExportTracePartialSuccess.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess)return r;var c=new ue.opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess;return null!=r.rejectedSpans&amp;&amp;(se.Long?(c.rejectedSpans=se.Long.fromValue(r.rejectedSpans)).unsigned=!1:"string"==typeof r.rejectedSpans?c.rejectedSpans=parseInt(r.rejectedSpans,10):"number"==typeof r.rejectedSpans?c.rejectedSpans=r.rejectedSpans:"object"==typeof r.rejectedSpans&amp;&amp;(c.rejectedSpans=new se.LongBits(r.rejectedSpans.low&gt;&gt;&gt;0,r.rejectedSpans.high&gt;&gt;&gt;0).toNumber())),null!=r.errorMessage&amp;&amp;(c.errorMessage=String(r.errorMessage)),c},ExportTracePartialSuccess.toObject=function toObject(r,c){c||(c={});var u={};if(c.defaults){if(se.Long){var p=new se.Long(0,0,!1);u.rejectedSpans=c.longs===String?p.toString():c.longs===Number?p.toNumber():p}else u.rejectedSpans=c.longs===String?"0":0;u.errorMessage=""}return null!=r.rejectedSpans&amp;&amp;r.hasOwnProperty("rejectedSpans")&amp;&amp;("number"==typeof r.rejectedSpans?u.rejectedSpans=c.longs===String?String(r.rejectedSpans):r.rejectedSpans:u.rejectedSpans=c.longs===String?se.Long.prototype.toString.call(r.rejectedSpans):c.longs===Number?new se.LongBits(r.rejectedSpans.low&gt;&gt;&gt;0,r.rejectedSpans.high&gt;&gt;&gt;0).toNumber():r.rejectedSpans),null!=r.errorMessage&amp;&amp;r.hasOwnProperty("errorMessage")&amp;&amp;(u.errorMessage=r.errorMessage),u},ExportTracePartialSuccess.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ExportTracePartialSuccess.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.collector.trace.v1.ExportTracePartialSuccess"},ExportTracePartialSuccess}(),r}(),r}(),I.metrics=((k={}).v1=function(){var r={};return r.MetricsService=function(){function MetricsService(r,c,u){oe.rpc.Service.call(this,r,c,u)}return(MetricsService.prototype=Object.create(oe.rpc.Service.prototype)).constructor=MetricsService,MetricsService.create=function create(r,c,u){return new this(r,c,u)},Object.defineProperty(MetricsService.prototype.export=function export_(r,c){return this.rpcCall(export_,ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest,ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse,r,c)},"name",{value:"Export"}),MetricsService}(),r.ExportMetricsServiceRequest=function(){function ExportMetricsServiceRequest(r){if(this.resourceMetrics=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ExportMetricsServiceRequest.prototype.resourceMetrics=se.emptyArray,ExportMetricsServiceRequest.create=function create(r){return new ExportMetricsServiceRequest(r)},ExportMetricsServiceRequest.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.resourceMetrics&amp;&amp;r.resourceMetrics.length)for(var u=0;u&lt;r.resourceMetrics.length;++u)ue.opentelemetry.proto.metrics.v1.ResourceMetrics.encode(r.resourceMetrics[u],c.uint32(10).fork()).ldelim();return c},ExportMetricsServiceRequest.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ExportMetricsServiceRequest.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?(p.resourceMetrics&amp;&amp;p.resourceMetrics.length||(p.resourceMetrics=[]),p.resourceMetrics.push(ue.opentelemetry.proto.metrics.v1.ResourceMetrics.decode(r,r.uint32()))):r.skipType(7&amp;y)}return p},ExportMetricsServiceRequest.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ExportMetricsServiceRequest.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.resourceMetrics&amp;&amp;r.hasOwnProperty("resourceMetrics")){if(!Array.isArray(r.resourceMetrics))return"resourceMetrics: array expected";for(var c=0;c&lt;r.resourceMetrics.length;++c){var u=ue.opentelemetry.proto.metrics.v1.ResourceMetrics.verify(r.resourceMetrics[c]);if(u)return"resourceMetrics."+u}}return null},ExportMetricsServiceRequest.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest)return r;var c=new ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest;if(r.resourceMetrics){if(!Array.isArray(r.resourceMetrics))throw TypeError(".opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest.resourceMetrics: array expected");c.resourceMetrics=[];for(var u=0;u&lt;r.resourceMetrics.length;++u){if("object"!=typeof r.resourceMetrics[u])throw TypeError(".opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest.resourceMetrics: object expected");c.resourceMetrics[u]=ue.opentelemetry.proto.metrics.v1.ResourceMetrics.fromObject(r.resourceMetrics[u])}}return c},ExportMetricsServiceRequest.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.resourceMetrics=[]),r.resourceMetrics&amp;&amp;r.resourceMetrics.length){u.resourceMetrics=[];for(var p=0;p&lt;r.resourceMetrics.length;++p)u.resourceMetrics[p]=ue.opentelemetry.proto.metrics.v1.ResourceMetrics.toObject(r.resourceMetrics[p],c)}return u},ExportMetricsServiceRequest.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ExportMetricsServiceRequest.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest"},ExportMetricsServiceRequest}(),r.ExportMetricsServiceResponse=function(){function ExportMetricsServiceResponse(r){if(r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ExportMetricsServiceResponse.prototype.partialSuccess=null,ExportMetricsServiceResponse.create=function create(r){return new ExportMetricsServiceResponse(r)},ExportMetricsServiceResponse.encode=function encode(r,c){return c||(c=ae.create()),null!=r.partialSuccess&amp;&amp;Object.hasOwnProperty.call(r,"partialSuccess")&amp;&amp;ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess.encode(r.partialSuccess,c.uint32(10).fork()).ldelim(),c},ExportMetricsServiceResponse.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ExportMetricsServiceResponse.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?p.partialSuccess=ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess.decode(r,r.uint32()):r.skipType(7&amp;y)}return p},ExportMetricsServiceResponse.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ExportMetricsServiceResponse.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.partialSuccess&amp;&amp;r.hasOwnProperty("partialSuccess")){var c=ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess.verify(r.partialSuccess);if(c)return"partialSuccess."+c}return null},ExportMetricsServiceResponse.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse)return r;var c=new ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse;if(null!=r.partialSuccess){if("object"!=typeof r.partialSuccess)throw TypeError(".opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse.partialSuccess: object expected");c.partialSuccess=ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess.fromObject(r.partialSuccess)}return c},ExportMetricsServiceResponse.toObject=function toObject(r,c){c||(c={});var u={};return c.defaults&amp;&amp;(u.partialSuccess=null),null!=r.partialSuccess&amp;&amp;r.hasOwnProperty("partialSuccess")&amp;&amp;(u.partialSuccess=ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess.toObject(r.partialSuccess,c)),u},ExportMetricsServiceResponse.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ExportMetricsServiceResponse.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceResponse"},ExportMetricsServiceResponse}(),r.ExportMetricsPartialSuccess=function(){function ExportMetricsPartialSuccess(r){if(r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ExportMetricsPartialSuccess.prototype.rejectedDataPoints=null,ExportMetricsPartialSuccess.prototype.errorMessage=null,ExportMetricsPartialSuccess.create=function create(r){return new ExportMetricsPartialSuccess(r)},ExportMetricsPartialSuccess.encode=function encode(r,c){return c||(c=ae.create()),null!=r.rejectedDataPoints&amp;&amp;Object.hasOwnProperty.call(r,"rejectedDataPoints")&amp;&amp;c.uint32(8).int64(r.rejectedDataPoints),null!=r.errorMessage&amp;&amp;Object.hasOwnProperty.call(r,"errorMessage")&amp;&amp;c.uint32(18).string(r.errorMessage),c},ExportMetricsPartialSuccess.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ExportMetricsPartialSuccess.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.rejectedDataPoints=r.int64();break;case 2:p.errorMessage=r.string();break;default:r.skipType(7&amp;y)}}return p},ExportMetricsPartialSuccess.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ExportMetricsPartialSuccess.verify=function verify(r){return"object"!=typeof r||null===r?"object expected":null!=r.rejectedDataPoints&amp;&amp;r.hasOwnProperty("rejectedDataPoints")&amp;&amp;!(se.isInteger(r.rejectedDataPoints)||r.rejectedDataPoints&amp;&amp;se.isInteger(r.rejectedDataPoints.low)&amp;&amp;se.isInteger(r.rejectedDataPoints.high))?"rejectedDataPoints: integer|Long expected":null!=r.errorMessage&amp;&amp;r.hasOwnProperty("errorMessage")&amp;&amp;!se.isString(r.errorMessage)?"errorMessage: string expected":null},ExportMetricsPartialSuccess.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess)return r;var c=new ue.opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess;return null!=r.rejectedDataPoints&amp;&amp;(se.Long?(c.rejectedDataPoints=se.Long.fromValue(r.rejectedDataPoints)).unsigned=!1:"string"==typeof r.rejectedDataPoints?c.rejectedDataPoints=parseInt(r.rejectedDataPoints,10):"number"==typeof r.rejectedDataPoints?c.rejectedDataPoints=r.rejectedDataPoints:"object"==typeof r.rejectedDataPoints&amp;&amp;(c.rejectedDataPoints=new se.LongBits(r.rejectedDataPoints.low&gt;&gt;&gt;0,r.rejectedDataPoints.high&gt;&gt;&gt;0).toNumber())),null!=r.errorMessage&amp;&amp;(c.errorMessage=String(r.errorMessage)),c},ExportMetricsPartialSuccess.toObject=function toObject(r,c){c||(c={});var u={};if(c.defaults){if(se.Long){var p=new se.Long(0,0,!1);u.rejectedDataPoints=c.longs===String?p.toString():c.longs===Number?p.toNumber():p}else u.rejectedDataPoints=c.longs===String?"0":0;u.errorMessage=""}return null!=r.rejectedDataPoints&amp;&amp;r.hasOwnProperty("rejectedDataPoints")&amp;&amp;("number"==typeof r.rejectedDataPoints?u.rejectedDataPoints=c.longs===String?String(r.rejectedDataPoints):r.rejectedDataPoints:u.rejectedDataPoints=c.longs===String?se.Long.prototype.toString.call(r.rejectedDataPoints):c.longs===Number?new se.LongBits(r.rejectedDataPoints.low&gt;&gt;&gt;0,r.rejectedDataPoints.high&gt;&gt;&gt;0).toNumber():r.rejectedDataPoints),null!=r.errorMessage&amp;&amp;r.hasOwnProperty("errorMessage")&amp;&amp;(u.errorMessage=r.errorMessage),u},ExportMetricsPartialSuccess.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ExportMetricsPartialSuccess.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.collector.metrics.v1.ExportMetricsPartialSuccess"},ExportMetricsPartialSuccess}(),r}(),k),I.logs=((E={}).v1=function(){var r={};return r.LogsService=function(){function LogsService(r,c,u){oe.rpc.Service.call(this,r,c,u)}return(LogsService.prototype=Object.create(oe.rpc.Service.prototype)).constructor=LogsService,LogsService.create=function create(r,c,u){return new this(r,c,u)},Object.defineProperty(LogsService.prototype.export=function export_(r,c){return this.rpcCall(export_,ue.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest,ue.opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse,r,c)},"name",{value:"Export"}),LogsService}(),r.ExportLogsServiceRequest=function(){function ExportLogsServiceRequest(r){if(this.resourceLogs=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ExportLogsServiceRequest.prototype.resourceLogs=se.emptyArray,ExportLogsServiceRequest.create=function create(r){return new ExportLogsServiceRequest(r)},ExportLogsServiceRequest.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.resourceLogs&amp;&amp;r.resourceLogs.length)for(var u=0;u&lt;r.resourceLogs.length;++u)ue.opentelemetry.proto.logs.v1.ResourceLogs.encode(r.resourceLogs[u],c.uint32(10).fork()).ldelim();return c},ExportLogsServiceRequest.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ExportLogsServiceRequest.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?(p.resourceLogs&amp;&amp;p.resourceLogs.length||(p.resourceLogs=[]),p.resourceLogs.push(ue.opentelemetry.proto.logs.v1.ResourceLogs.decode(r,r.uint32()))):r.skipType(7&amp;y)}return p},ExportLogsServiceRequest.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ExportLogsServiceRequest.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.resourceLogs&amp;&amp;r.hasOwnProperty("resourceLogs")){if(!Array.isArray(r.resourceLogs))return"resourceLogs: array expected";for(var c=0;c&lt;r.resourceLogs.length;++c){var u=ue.opentelemetry.proto.logs.v1.ResourceLogs.verify(r.resourceLogs[c]);if(u)return"resourceLogs."+u}}return null},ExportLogsServiceRequest.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest)return r;var c=new ue.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest;if(r.resourceLogs){if(!Array.isArray(r.resourceLogs))throw TypeError(".opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest.resourceLogs: array expected");c.resourceLogs=[];for(var u=0;u&lt;r.resourceLogs.length;++u){if("object"!=typeof r.resourceLogs[u])throw TypeError(".opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest.resourceLogs: object expected");c.resourceLogs[u]=ue.opentelemetry.proto.logs.v1.ResourceLogs.fromObject(r.resourceLogs[u])}}return c},ExportLogsServiceRequest.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.resourceLogs=[]),r.resourceLogs&amp;&amp;r.resourceLogs.length){u.resourceLogs=[];for(var p=0;p&lt;r.resourceLogs.length;++p)u.resourceLogs[p]=ue.opentelemetry.proto.logs.v1.ResourceLogs.toObject(r.resourceLogs[p],c)}return u},ExportLogsServiceRequest.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ExportLogsServiceRequest.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest"},ExportLogsServiceRequest}(),r.ExportLogsServiceResponse=function(){function ExportLogsServiceResponse(r){if(r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ExportLogsServiceResponse.prototype.partialSuccess=null,ExportLogsServiceResponse.create=function create(r){return new ExportLogsServiceResponse(r)},ExportLogsServiceResponse.encode=function encode(r,c){return c||(c=ae.create()),null!=r.partialSuccess&amp;&amp;Object.hasOwnProperty.call(r,"partialSuccess")&amp;&amp;ue.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess.encode(r.partialSuccess,c.uint32(10).fork()).ldelim(),c},ExportLogsServiceResponse.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ExportLogsServiceResponse.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?p.partialSuccess=ue.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess.decode(r,r.uint32()):r.skipType(7&amp;y)}return p},ExportLogsServiceResponse.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ExportLogsServiceResponse.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.partialSuccess&amp;&amp;r.hasOwnProperty("partialSuccess")){var c=ue.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess.verify(r.partialSuccess);if(c)return"partialSuccess."+c}return null},ExportLogsServiceResponse.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse)return r;var c=new ue.opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse;if(null!=r.partialSuccess){if("object"!=typeof r.partialSuccess)throw TypeError(".opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse.partialSuccess: object expected");c.partialSuccess=ue.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess.fromObject(r.partialSuccess)}return c},ExportLogsServiceResponse.toObject=function toObject(r,c){c||(c={});var u={};return c.defaults&amp;&amp;(u.partialSuccess=null),null!=r.partialSuccess&amp;&amp;r.hasOwnProperty("partialSuccess")&amp;&amp;(u.partialSuccess=ue.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess.toObject(r.partialSuccess,c)),u},ExportLogsServiceResponse.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ExportLogsServiceResponse.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.collector.logs.v1.ExportLogsServiceResponse"},ExportLogsServiceResponse}(),r.ExportLogsPartialSuccess=function(){function ExportLogsPartialSuccess(r){if(r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ExportLogsPartialSuccess.prototype.rejectedLogRecords=null,ExportLogsPartialSuccess.prototype.errorMessage=null,ExportLogsPartialSuccess.create=function create(r){return new ExportLogsPartialSuccess(r)},ExportLogsPartialSuccess.encode=function encode(r,c){return c||(c=ae.create()),null!=r.rejectedLogRecords&amp;&amp;Object.hasOwnProperty.call(r,"rejectedLogRecords")&amp;&amp;c.uint32(8).int64(r.rejectedLogRecords),null!=r.errorMessage&amp;&amp;Object.hasOwnProperty.call(r,"errorMessage")&amp;&amp;c.uint32(18).string(r.errorMessage),c},ExportLogsPartialSuccess.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ExportLogsPartialSuccess.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.rejectedLogRecords=r.int64();break;case 2:p.errorMessage=r.string();break;default:r.skipType(7&amp;y)}}return p},ExportLogsPartialSuccess.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ExportLogsPartialSuccess.verify=function verify(r){return"object"!=typeof r||null===r?"object expected":null!=r.rejectedLogRecords&amp;&amp;r.hasOwnProperty("rejectedLogRecords")&amp;&amp;!(se.isInteger(r.rejectedLogRecords)||r.rejectedLogRecords&amp;&amp;se.isInteger(r.rejectedLogRecords.low)&amp;&amp;se.isInteger(r.rejectedLogRecords.high))?"rejectedLogRecords: integer|Long expected":null!=r.errorMessage&amp;&amp;r.hasOwnProperty("errorMessage")&amp;&amp;!se.isString(r.errorMessage)?"errorMessage: string expected":null},ExportLogsPartialSuccess.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess)return r;var c=new ue.opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess;return null!=r.rejectedLogRecords&amp;&amp;(se.Long?(c.rejectedLogRecords=se.Long.fromValue(r.rejectedLogRecords)).unsigned=!1:"string"==typeof r.rejectedLogRecords?c.rejectedLogRecords=parseInt(r.rejectedLogRecords,10):"number"==typeof r.rejectedLogRecords?c.rejectedLogRecords=r.rejectedLogRecords:"object"==typeof r.rejectedLogRecords&amp;&amp;(c.rejectedLogRecords=new se.LongBits(r.rejectedLogRecords.low&gt;&gt;&gt;0,r.rejectedLogRecords.high&gt;&gt;&gt;0).toNumber())),null!=r.errorMessage&amp;&amp;(c.errorMessage=String(r.errorMessage)),c},ExportLogsPartialSuccess.toObject=function toObject(r,c){c||(c={});var u={};if(c.defaults){if(se.Long){var p=new se.Long(0,0,!1);u.rejectedLogRecords=c.longs===String?p.toString():c.longs===Number?p.toNumber():p}else u.rejectedLogRecords=c.longs===String?"0":0;u.errorMessage=""}return null!=r.rejectedLogRecords&amp;&amp;r.hasOwnProperty("rejectedLogRecords")&amp;&amp;("number"==typeof r.rejectedLogRecords?u.rejectedLogRecords=c.longs===String?String(r.rejectedLogRecords):r.rejectedLogRecords:u.rejectedLogRecords=c.longs===String?se.Long.prototype.toString.call(r.rejectedLogRecords):c.longs===Number?new se.LongBits(r.rejectedLogRecords.low&gt;&gt;&gt;0,r.rejectedLogRecords.high&gt;&gt;&gt;0).toNumber():r.rejectedLogRecords),null!=r.errorMessage&amp;&amp;r.hasOwnProperty("errorMessage")&amp;&amp;(u.errorMessage=r.errorMessage),u},ExportLogsPartialSuccess.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ExportLogsPartialSuccess.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.collector.logs.v1.ExportLogsPartialSuccess"},ExportLogsPartialSuccess}(),r}(),E),I),K.metrics=function(){var r={};return r.v1=function(){var r,c,u={};return u.MetricsData=function(){function MetricsData(r){if(this.resourceMetrics=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return MetricsData.prototype.resourceMetrics=se.emptyArray,MetricsData.create=function create(r){return new MetricsData(r)},MetricsData.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.resourceMetrics&amp;&amp;r.resourceMetrics.length)for(var u=0;u&lt;r.resourceMetrics.length;++u)ue.opentelemetry.proto.metrics.v1.ResourceMetrics.encode(r.resourceMetrics[u],c.uint32(10).fork()).ldelim();return c},MetricsData.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},MetricsData.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.MetricsData;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?(p.resourceMetrics&amp;&amp;p.resourceMetrics.length||(p.resourceMetrics=[]),p.resourceMetrics.push(ue.opentelemetry.proto.metrics.v1.ResourceMetrics.decode(r,r.uint32()))):r.skipType(7&amp;y)}return p},MetricsData.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},MetricsData.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.resourceMetrics&amp;&amp;r.hasOwnProperty("resourceMetrics")){if(!Array.isArray(r.resourceMetrics))return"resourceMetrics: array expected";for(var c=0;c&lt;r.resourceMetrics.length;++c){var u=ue.opentelemetry.proto.metrics.v1.ResourceMetrics.verify(r.resourceMetrics[c]);if(u)return"resourceMetrics."+u}}return null},MetricsData.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.MetricsData)return r;var c=new ue.opentelemetry.proto.metrics.v1.MetricsData;if(r.resourceMetrics){if(!Array.isArray(r.resourceMetrics))throw TypeError(".opentelemetry.proto.metrics.v1.MetricsData.resourceMetrics: array expected");c.resourceMetrics=[];for(var u=0;u&lt;r.resourceMetrics.length;++u){if("object"!=typeof r.resourceMetrics[u])throw TypeError(".opentelemetry.proto.metrics.v1.MetricsData.resourceMetrics: object expected");c.resourceMetrics[u]=ue.opentelemetry.proto.metrics.v1.ResourceMetrics.fromObject(r.resourceMetrics[u])}}return c},MetricsData.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.resourceMetrics=[]),r.resourceMetrics&amp;&amp;r.resourceMetrics.length){u.resourceMetrics=[];for(var p=0;p&lt;r.resourceMetrics.length;++p)u.resourceMetrics[p]=ue.opentelemetry.proto.metrics.v1.ResourceMetrics.toObject(r.resourceMetrics[p],c)}return u},MetricsData.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},MetricsData.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.MetricsData"},MetricsData}(),u.ResourceMetrics=function(){function ResourceMetrics(r){if(this.scopeMetrics=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ResourceMetrics.prototype.resource=null,ResourceMetrics.prototype.scopeMetrics=se.emptyArray,ResourceMetrics.prototype.schemaUrl=null,ResourceMetrics.create=function create(r){return new ResourceMetrics(r)},ResourceMetrics.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.resource&amp;&amp;Object.hasOwnProperty.call(r,"resource")&amp;&amp;ue.opentelemetry.proto.resource.v1.Resource.encode(r.resource,c.uint32(10).fork()).ldelim(),null!=r.scopeMetrics&amp;&amp;r.scopeMetrics.length)for(var u=0;u&lt;r.scopeMetrics.length;++u)ue.opentelemetry.proto.metrics.v1.ScopeMetrics.encode(r.scopeMetrics[u],c.uint32(18).fork()).ldelim();return null!=r.schemaUrl&amp;&amp;Object.hasOwnProperty.call(r,"schemaUrl")&amp;&amp;c.uint32(26).string(r.schemaUrl),c},ResourceMetrics.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ResourceMetrics.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.ResourceMetrics;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.resource=ue.opentelemetry.proto.resource.v1.Resource.decode(r,r.uint32());break;case 2:p.scopeMetrics&amp;&amp;p.scopeMetrics.length||(p.scopeMetrics=[]),p.scopeMetrics.push(ue.opentelemetry.proto.metrics.v1.ScopeMetrics.decode(r,r.uint32()));break;case 3:p.schemaUrl=r.string();break;default:r.skipType(7&amp;y)}}return p},ResourceMetrics.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ResourceMetrics.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.resource&amp;&amp;r.hasOwnProperty("resource")&amp;&amp;(u=ue.opentelemetry.proto.resource.v1.Resource.verify(r.resource)))return"resource."+u;if(null!=r.scopeMetrics&amp;&amp;r.hasOwnProperty("scopeMetrics")){if(!Array.isArray(r.scopeMetrics))return"scopeMetrics: array expected";for(var c=0;c&lt;r.scopeMetrics.length;++c){var u;if(u=ue.opentelemetry.proto.metrics.v1.ScopeMetrics.verify(r.scopeMetrics[c]))return"scopeMetrics."+u}}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;!se.isString(r.schemaUrl)?"schemaUrl: string expected":null},ResourceMetrics.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.ResourceMetrics)return r;var c=new ue.opentelemetry.proto.metrics.v1.ResourceMetrics;if(null!=r.resource){if("object"!=typeof r.resource)throw TypeError(".opentelemetry.proto.metrics.v1.ResourceMetrics.resource: object expected");c.resource=ue.opentelemetry.proto.resource.v1.Resource.fromObject(r.resource)}if(r.scopeMetrics){if(!Array.isArray(r.scopeMetrics))throw TypeError(".opentelemetry.proto.metrics.v1.ResourceMetrics.scopeMetrics: array expected");c.scopeMetrics=[];for(var u=0;u&lt;r.scopeMetrics.length;++u){if("object"!=typeof r.scopeMetrics[u])throw TypeError(".opentelemetry.proto.metrics.v1.ResourceMetrics.scopeMetrics: object expected");c.scopeMetrics[u]=ue.opentelemetry.proto.metrics.v1.ScopeMetrics.fromObject(r.scopeMetrics[u])}}return null!=r.schemaUrl&amp;&amp;(c.schemaUrl=String(r.schemaUrl)),c},ResourceMetrics.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.scopeMetrics=[]),c.defaults&amp;&amp;(u.resource=null,u.schemaUrl=""),null!=r.resource&amp;&amp;r.hasOwnProperty("resource")&amp;&amp;(u.resource=ue.opentelemetry.proto.resource.v1.Resource.toObject(r.resource,c)),r.scopeMetrics&amp;&amp;r.scopeMetrics.length){u.scopeMetrics=[];for(var p=0;p&lt;r.scopeMetrics.length;++p)u.scopeMetrics[p]=ue.opentelemetry.proto.metrics.v1.ScopeMetrics.toObject(r.scopeMetrics[p],c)}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;(u.schemaUrl=r.schemaUrl),u},ResourceMetrics.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ResourceMetrics.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.ResourceMetrics"},ResourceMetrics}(),u.ScopeMetrics=function(){function ScopeMetrics(r){if(this.metrics=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ScopeMetrics.prototype.scope=null,ScopeMetrics.prototype.metrics=se.emptyArray,ScopeMetrics.prototype.schemaUrl=null,ScopeMetrics.create=function create(r){return new ScopeMetrics(r)},ScopeMetrics.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.scope&amp;&amp;Object.hasOwnProperty.call(r,"scope")&amp;&amp;ue.opentelemetry.proto.common.v1.InstrumentationScope.encode(r.scope,c.uint32(10).fork()).ldelim(),null!=r.metrics&amp;&amp;r.metrics.length)for(var u=0;u&lt;r.metrics.length;++u)ue.opentelemetry.proto.metrics.v1.Metric.encode(r.metrics[u],c.uint32(18).fork()).ldelim();return null!=r.schemaUrl&amp;&amp;Object.hasOwnProperty.call(r,"schemaUrl")&amp;&amp;c.uint32(26).string(r.schemaUrl),c},ScopeMetrics.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ScopeMetrics.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.ScopeMetrics;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.scope=ue.opentelemetry.proto.common.v1.InstrumentationScope.decode(r,r.uint32());break;case 2:p.metrics&amp;&amp;p.metrics.length||(p.metrics=[]),p.metrics.push(ue.opentelemetry.proto.metrics.v1.Metric.decode(r,r.uint32()));break;case 3:p.schemaUrl=r.string();break;default:r.skipType(7&amp;y)}}return p},ScopeMetrics.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ScopeMetrics.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.scope&amp;&amp;r.hasOwnProperty("scope")&amp;&amp;(u=ue.opentelemetry.proto.common.v1.InstrumentationScope.verify(r.scope)))return"scope."+u;if(null!=r.metrics&amp;&amp;r.hasOwnProperty("metrics")){if(!Array.isArray(r.metrics))return"metrics: array expected";for(var c=0;c&lt;r.metrics.length;++c){var u;if(u=ue.opentelemetry.proto.metrics.v1.Metric.verify(r.metrics[c]))return"metrics."+u}}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;!se.isString(r.schemaUrl)?"schemaUrl: string expected":null},ScopeMetrics.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.ScopeMetrics)return r;var c=new ue.opentelemetry.proto.metrics.v1.ScopeMetrics;if(null!=r.scope){if("object"!=typeof r.scope)throw TypeError(".opentelemetry.proto.metrics.v1.ScopeMetrics.scope: object expected");c.scope=ue.opentelemetry.proto.common.v1.InstrumentationScope.fromObject(r.scope)}if(r.metrics){if(!Array.isArray(r.metrics))throw TypeError(".opentelemetry.proto.metrics.v1.ScopeMetrics.metrics: array expected");c.metrics=[];for(var u=0;u&lt;r.metrics.length;++u){if("object"!=typeof r.metrics[u])throw TypeError(".opentelemetry.proto.metrics.v1.ScopeMetrics.metrics: object expected");c.metrics[u]=ue.opentelemetry.proto.metrics.v1.Metric.fromObject(r.metrics[u])}}return null!=r.schemaUrl&amp;&amp;(c.schemaUrl=String(r.schemaUrl)),c},ScopeMetrics.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.metrics=[]),c.defaults&amp;&amp;(u.scope=null,u.schemaUrl=""),null!=r.scope&amp;&amp;r.hasOwnProperty("scope")&amp;&amp;(u.scope=ue.opentelemetry.proto.common.v1.InstrumentationScope.toObject(r.scope,c)),r.metrics&amp;&amp;r.metrics.length){u.metrics=[];for(var p=0;p&lt;r.metrics.length;++p)u.metrics[p]=ue.opentelemetry.proto.metrics.v1.Metric.toObject(r.metrics[p],c)}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;(u.schemaUrl=r.schemaUrl),u},ScopeMetrics.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ScopeMetrics.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.ScopeMetrics"},ScopeMetrics}(),u.Metric=function(){function Metric(r){if(r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}var r;return Metric.prototype.name=null,Metric.prototype.description=null,Metric.prototype.unit=null,Metric.prototype.gauge=null,Metric.prototype.sum=null,Metric.prototype.histogram=null,Metric.prototype.exponentialHistogram=null,Metric.prototype.summary=null,Object.defineProperty(Metric.prototype,"data",{get:se.oneOfGetter(r=["gauge","sum","histogram","exponentialHistogram","summary"]),set:se.oneOfSetter(r)}),Metric.create=function create(r){return new Metric(r)},Metric.encode=function encode(r,c){return c||(c=ae.create()),null!=r.name&amp;&amp;Object.hasOwnProperty.call(r,"name")&amp;&amp;c.uint32(10).string(r.name),null!=r.description&amp;&amp;Object.hasOwnProperty.call(r,"description")&amp;&amp;c.uint32(18).string(r.description),null!=r.unit&amp;&amp;Object.hasOwnProperty.call(r,"unit")&amp;&amp;c.uint32(26).string(r.unit),null!=r.gauge&amp;&amp;Object.hasOwnProperty.call(r,"gauge")&amp;&amp;ue.opentelemetry.proto.metrics.v1.Gauge.encode(r.gauge,c.uint32(42).fork()).ldelim(),null!=r.sum&amp;&amp;Object.hasOwnProperty.call(r,"sum")&amp;&amp;ue.opentelemetry.proto.metrics.v1.Sum.encode(r.sum,c.uint32(58).fork()).ldelim(),null!=r.histogram&amp;&amp;Object.hasOwnProperty.call(r,"histogram")&amp;&amp;ue.opentelemetry.proto.metrics.v1.Histogram.encode(r.histogram,c.uint32(74).fork()).ldelim(),null!=r.exponentialHistogram&amp;&amp;Object.hasOwnProperty.call(r,"exponentialHistogram")&amp;&amp;ue.opentelemetry.proto.metrics.v1.ExponentialHistogram.encode(r.exponentialHistogram,c.uint32(82).fork()).ldelim(),null!=r.summary&amp;&amp;Object.hasOwnProperty.call(r,"summary")&amp;&amp;ue.opentelemetry.proto.metrics.v1.Summary.encode(r.summary,c.uint32(90).fork()).ldelim(),c},Metric.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Metric.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.Metric;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.name=r.string();break;case 2:p.description=r.string();break;case 3:p.unit=r.string();break;case 5:p.gauge=ue.opentelemetry.proto.metrics.v1.Gauge.decode(r,r.uint32());break;case 7:p.sum=ue.opentelemetry.proto.metrics.v1.Sum.decode(r,r.uint32());break;case 9:p.histogram=ue.opentelemetry.proto.metrics.v1.Histogram.decode(r,r.uint32());break;case 10:p.exponentialHistogram=ue.opentelemetry.proto.metrics.v1.ExponentialHistogram.decode(r,r.uint32());break;case 11:p.summary=ue.opentelemetry.proto.metrics.v1.Summary.decode(r,r.uint32());break;default:r.skipType(7&amp;y)}}return p},Metric.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Metric.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";var c={};if(null!=r.name&amp;&amp;r.hasOwnProperty("name")&amp;&amp;!se.isString(r.name))return"name: string expected";if(null!=r.description&amp;&amp;r.hasOwnProperty("description")&amp;&amp;!se.isString(r.description))return"description: string expected";if(null!=r.unit&amp;&amp;r.hasOwnProperty("unit")&amp;&amp;!se.isString(r.unit))return"unit: string expected";if(null!=r.gauge&amp;&amp;r.hasOwnProperty("gauge")&amp;&amp;(c.data=1,u=ue.opentelemetry.proto.metrics.v1.Gauge.verify(r.gauge)))return"gauge."+u;if(null!=r.sum&amp;&amp;r.hasOwnProperty("sum")){if(1===c.data)return"data: multiple values";if(c.data=1,u=ue.opentelemetry.proto.metrics.v1.Sum.verify(r.sum))return"sum."+u}if(null!=r.histogram&amp;&amp;r.hasOwnProperty("histogram")){if(1===c.data)return"data: multiple values";if(c.data=1,u=ue.opentelemetry.proto.metrics.v1.Histogram.verify(r.histogram))return"histogram."+u}if(null!=r.exponentialHistogram&amp;&amp;r.hasOwnProperty("exponentialHistogram")){if(1===c.data)return"data: multiple values";if(c.data=1,u=ue.opentelemetry.proto.metrics.v1.ExponentialHistogram.verify(r.exponentialHistogram))return"exponentialHistogram."+u}if(null!=r.summary&amp;&amp;r.hasOwnProperty("summary")){if(1===c.data)return"data: multiple values";var u;if(c.data=1,u=ue.opentelemetry.proto.metrics.v1.Summary.verify(r.summary))return"summary."+u}return null},Metric.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.Metric)return r;var c=new ue.opentelemetry.proto.metrics.v1.Metric;if(null!=r.name&amp;&amp;(c.name=String(r.name)),null!=r.description&amp;&amp;(c.description=String(r.description)),null!=r.unit&amp;&amp;(c.unit=String(r.unit)),null!=r.gauge){if("object"!=typeof r.gauge)throw TypeError(".opentelemetry.proto.metrics.v1.Metric.gauge: object expected");c.gauge=ue.opentelemetry.proto.metrics.v1.Gauge.fromObject(r.gauge)}if(null!=r.sum){if("object"!=typeof r.sum)throw TypeError(".opentelemetry.proto.metrics.v1.Metric.sum: object expected");c.sum=ue.opentelemetry.proto.metrics.v1.Sum.fromObject(r.sum)}if(null!=r.histogram){if("object"!=typeof r.histogram)throw TypeError(".opentelemetry.proto.metrics.v1.Metric.histogram: object expected");c.histogram=ue.opentelemetry.proto.metrics.v1.Histogram.fromObject(r.histogram)}if(null!=r.exponentialHistogram){if("object"!=typeof r.exponentialHistogram)throw TypeError(".opentelemetry.proto.metrics.v1.Metric.exponentialHistogram: object expected");c.exponentialHistogram=ue.opentelemetry.proto.metrics.v1.ExponentialHistogram.fromObject(r.exponentialHistogram)}if(null!=r.summary){if("object"!=typeof r.summary)throw TypeError(".opentelemetry.proto.metrics.v1.Metric.summary: object expected");c.summary=ue.opentelemetry.proto.metrics.v1.Summary.fromObject(r.summary)}return c},Metric.toObject=function toObject(r,c){c||(c={});var u={};return c.defaults&amp;&amp;(u.name="",u.description="",u.unit=""),null!=r.name&amp;&amp;r.hasOwnProperty("name")&amp;&amp;(u.name=r.name),null!=r.description&amp;&amp;r.hasOwnProperty("description")&amp;&amp;(u.description=r.description),null!=r.unit&amp;&amp;r.hasOwnProperty("unit")&amp;&amp;(u.unit=r.unit),null!=r.gauge&amp;&amp;r.hasOwnProperty("gauge")&amp;&amp;(u.gauge=ue.opentelemetry.proto.metrics.v1.Gauge.toObject(r.gauge,c),c.oneofs&amp;&amp;(u.data="gauge")),null!=r.sum&amp;&amp;r.hasOwnProperty("sum")&amp;&amp;(u.sum=ue.opentelemetry.proto.metrics.v1.Sum.toObject(r.sum,c),c.oneofs&amp;&amp;(u.data="sum")),null!=r.histogram&amp;&amp;r.hasOwnProperty("histogram")&amp;&amp;(u.histogram=ue.opentelemetry.proto.metrics.v1.Histogram.toObject(r.histogram,c),c.oneofs&amp;&amp;(u.data="histogram")),null!=r.exponentialHistogram&amp;&amp;r.hasOwnProperty("exponentialHistogram")&amp;&amp;(u.exponentialHistogram=ue.opentelemetry.proto.metrics.v1.ExponentialHistogram.toObject(r.exponentialHistogram,c),c.oneofs&amp;&amp;(u.data="exponentialHistogram")),null!=r.summary&amp;&amp;r.hasOwnProperty("summary")&amp;&amp;(u.summary=ue.opentelemetry.proto.metrics.v1.Summary.toObject(r.summary,c),c.oneofs&amp;&amp;(u.data="summary")),u},Metric.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Metric.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.Metric"},Metric}(),u.Gauge=function(){function Gauge(r){if(this.dataPoints=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return Gauge.prototype.dataPoints=se.emptyArray,Gauge.create=function create(r){return new Gauge(r)},Gauge.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.dataPoints&amp;&amp;r.dataPoints.length)for(var u=0;u&lt;r.dataPoints.length;++u)ue.opentelemetry.proto.metrics.v1.NumberDataPoint.encode(r.dataPoints[u],c.uint32(10).fork()).ldelim();return c},Gauge.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Gauge.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.Gauge;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?(p.dataPoints&amp;&amp;p.dataPoints.length||(p.dataPoints=[]),p.dataPoints.push(ue.opentelemetry.proto.metrics.v1.NumberDataPoint.decode(r,r.uint32()))):r.skipType(7&amp;y)}return p},Gauge.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Gauge.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.dataPoints&amp;&amp;r.hasOwnProperty("dataPoints")){if(!Array.isArray(r.dataPoints))return"dataPoints: array expected";for(var c=0;c&lt;r.dataPoints.length;++c){var u=ue.opentelemetry.proto.metrics.v1.NumberDataPoint.verify(r.dataPoints[c]);if(u)return"dataPoints."+u}}return null},Gauge.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.Gauge)return r;var c=new ue.opentelemetry.proto.metrics.v1.Gauge;if(r.dataPoints){if(!Array.isArray(r.dataPoints))throw TypeError(".opentelemetry.proto.metrics.v1.Gauge.dataPoints: array expected");c.dataPoints=[];for(var u=0;u&lt;r.dataPoints.length;++u){if("object"!=typeof r.dataPoints[u])throw TypeError(".opentelemetry.proto.metrics.v1.Gauge.dataPoints: object expected");c.dataPoints[u]=ue.opentelemetry.proto.metrics.v1.NumberDataPoint.fromObject(r.dataPoints[u])}}return c},Gauge.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.dataPoints=[]),r.dataPoints&amp;&amp;r.dataPoints.length){u.dataPoints=[];for(var p=0;p&lt;r.dataPoints.length;++p)u.dataPoints[p]=ue.opentelemetry.proto.metrics.v1.NumberDataPoint.toObject(r.dataPoints[p],c)}return u},Gauge.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Gauge.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.Gauge"},Gauge}(),u.Sum=function(){function Sum(r){if(this.dataPoints=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return Sum.prototype.dataPoints=se.emptyArray,Sum.prototype.aggregationTemporality=null,Sum.prototype.isMonotonic=null,Sum.create=function create(r){return new Sum(r)},Sum.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.dataPoints&amp;&amp;r.dataPoints.length)for(var u=0;u&lt;r.dataPoints.length;++u)ue.opentelemetry.proto.metrics.v1.NumberDataPoint.encode(r.dataPoints[u],c.uint32(10).fork()).ldelim();return null!=r.aggregationTemporality&amp;&amp;Object.hasOwnProperty.call(r,"aggregationTemporality")&amp;&amp;c.uint32(16).int32(r.aggregationTemporality),null!=r.isMonotonic&amp;&amp;Object.hasOwnProperty.call(r,"isMonotonic")&amp;&amp;c.uint32(24).bool(r.isMonotonic),c},Sum.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Sum.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.Sum;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.dataPoints&amp;&amp;p.dataPoints.length||(p.dataPoints=[]),p.dataPoints.push(ue.opentelemetry.proto.metrics.v1.NumberDataPoint.decode(r,r.uint32()));break;case 2:p.aggregationTemporality=r.int32();break;case 3:p.isMonotonic=r.bool();break;default:r.skipType(7&amp;y)}}return p},Sum.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Sum.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.dataPoints&amp;&amp;r.hasOwnProperty("dataPoints")){if(!Array.isArray(r.dataPoints))return"dataPoints: array expected";for(var c=0;c&lt;r.dataPoints.length;++c){var u=ue.opentelemetry.proto.metrics.v1.NumberDataPoint.verify(r.dataPoints[c]);if(u)return"dataPoints."+u}}if(null!=r.aggregationTemporality&amp;&amp;r.hasOwnProperty("aggregationTemporality"))switch(r.aggregationTemporality){default:return"aggregationTemporality: enum value expected";case 0:case 1:case 2:}return null!=r.isMonotonic&amp;&amp;r.hasOwnProperty("isMonotonic")&amp;&amp;"boolean"!=typeof r.isMonotonic?"isMonotonic: boolean expected":null},Sum.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.Sum)return r;var c=new ue.opentelemetry.proto.metrics.v1.Sum;if(r.dataPoints){if(!Array.isArray(r.dataPoints))throw TypeError(".opentelemetry.proto.metrics.v1.Sum.dataPoints: array expected");c.dataPoints=[];for(var u=0;u&lt;r.dataPoints.length;++u){if("object"!=typeof r.dataPoints[u])throw TypeError(".opentelemetry.proto.metrics.v1.Sum.dataPoints: object expected");c.dataPoints[u]=ue.opentelemetry.proto.metrics.v1.NumberDataPoint.fromObject(r.dataPoints[u])}}switch(r.aggregationTemporality){default:if("number"==typeof r.aggregationTemporality){c.aggregationTemporality=r.aggregationTemporality;break}break;case"AGGREGATION_TEMPORALITY_UNSPECIFIED":case 0:c.aggregationTemporality=0;break;case"AGGREGATION_TEMPORALITY_DELTA":case 1:c.aggregationTemporality=1;break;case"AGGREGATION_TEMPORALITY_CUMULATIVE":case 2:c.aggregationTemporality=2}return null!=r.isMonotonic&amp;&amp;(c.isMonotonic=Boolean(r.isMonotonic)),c},Sum.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.dataPoints=[]),c.defaults&amp;&amp;(u.aggregationTemporality=c.enums===String?"AGGREGATION_TEMPORALITY_UNSPECIFIED":0,u.isMonotonic=!1),r.dataPoints&amp;&amp;r.dataPoints.length){u.dataPoints=[];for(var p=0;p&lt;r.dataPoints.length;++p)u.dataPoints[p]=ue.opentelemetry.proto.metrics.v1.NumberDataPoint.toObject(r.dataPoints[p],c)}return null!=r.aggregationTemporality&amp;&amp;r.hasOwnProperty("aggregationTemporality")&amp;&amp;(u.aggregationTemporality=c.enums===String?void 0===ue.opentelemetry.proto.metrics.v1.AggregationTemporality[r.aggregationTemporality]?r.aggregationTemporality:ue.opentelemetry.proto.metrics.v1.AggregationTemporality[r.aggregationTemporality]:r.aggregationTemporality),null!=r.isMonotonic&amp;&amp;r.hasOwnProperty("isMonotonic")&amp;&amp;(u.isMonotonic=r.isMonotonic),u},Sum.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Sum.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.Sum"},Sum}(),u.Histogram=function(){function Histogram(r){if(this.dataPoints=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return Histogram.prototype.dataPoints=se.emptyArray,Histogram.prototype.aggregationTemporality=null,Histogram.create=function create(r){return new Histogram(r)},Histogram.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.dataPoints&amp;&amp;r.dataPoints.length)for(var u=0;u&lt;r.dataPoints.length;++u)ue.opentelemetry.proto.metrics.v1.HistogramDataPoint.encode(r.dataPoints[u],c.uint32(10).fork()).ldelim();return null!=r.aggregationTemporality&amp;&amp;Object.hasOwnProperty.call(r,"aggregationTemporality")&amp;&amp;c.uint32(16).int32(r.aggregationTemporality),c},Histogram.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Histogram.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.Histogram;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.dataPoints&amp;&amp;p.dataPoints.length||(p.dataPoints=[]),p.dataPoints.push(ue.opentelemetry.proto.metrics.v1.HistogramDataPoint.decode(r,r.uint32()));break;case 2:p.aggregationTemporality=r.int32();break;default:r.skipType(7&amp;y)}}return p},Histogram.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Histogram.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.dataPoints&amp;&amp;r.hasOwnProperty("dataPoints")){if(!Array.isArray(r.dataPoints))return"dataPoints: array expected";for(var c=0;c&lt;r.dataPoints.length;++c){var u=ue.opentelemetry.proto.metrics.v1.HistogramDataPoint.verify(r.dataPoints[c]);if(u)return"dataPoints."+u}}if(null!=r.aggregationTemporality&amp;&amp;r.hasOwnProperty("aggregationTemporality"))switch(r.aggregationTemporality){default:return"aggregationTemporality: enum value expected";case 0:case 1:case 2:}return null},Histogram.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.Histogram)return r;var c=new ue.opentelemetry.proto.metrics.v1.Histogram;if(r.dataPoints){if(!Array.isArray(r.dataPoints))throw TypeError(".opentelemetry.proto.metrics.v1.Histogram.dataPoints: array expected");c.dataPoints=[];for(var u=0;u&lt;r.dataPoints.length;++u){if("object"!=typeof r.dataPoints[u])throw TypeError(".opentelemetry.proto.metrics.v1.Histogram.dataPoints: object expected");c.dataPoints[u]=ue.opentelemetry.proto.metrics.v1.HistogramDataPoint.fromObject(r.dataPoints[u])}}switch(r.aggregationTemporality){default:if("number"==typeof r.aggregationTemporality){c.aggregationTemporality=r.aggregationTemporality;break}break;case"AGGREGATION_TEMPORALITY_UNSPECIFIED":case 0:c.aggregationTemporality=0;break;case"AGGREGATION_TEMPORALITY_DELTA":case 1:c.aggregationTemporality=1;break;case"AGGREGATION_TEMPORALITY_CUMULATIVE":case 2:c.aggregationTemporality=2}return c},Histogram.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.dataPoints=[]),c.defaults&amp;&amp;(u.aggregationTemporality=c.enums===String?"AGGREGATION_TEMPORALITY_UNSPECIFIED":0),r.dataPoints&amp;&amp;r.dataPoints.length){u.dataPoints=[];for(var p=0;p&lt;r.dataPoints.length;++p)u.dataPoints[p]=ue.opentelemetry.proto.metrics.v1.HistogramDataPoint.toObject(r.dataPoints[p],c)}return null!=r.aggregationTemporality&amp;&amp;r.hasOwnProperty("aggregationTemporality")&amp;&amp;(u.aggregationTemporality=c.enums===String?void 0===ue.opentelemetry.proto.metrics.v1.AggregationTemporality[r.aggregationTemporality]?r.aggregationTemporality:ue.opentelemetry.proto.metrics.v1.AggregationTemporality[r.aggregationTemporality]:r.aggregationTemporality),u},Histogram.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Histogram.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.Histogram"},Histogram}(),u.ExponentialHistogram=function(){function ExponentialHistogram(r){if(this.dataPoints=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ExponentialHistogram.prototype.dataPoints=se.emptyArray,ExponentialHistogram.prototype.aggregationTemporality=null,ExponentialHistogram.create=function create(r){return new ExponentialHistogram(r)},ExponentialHistogram.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.dataPoints&amp;&amp;r.dataPoints.length)for(var u=0;u&lt;r.dataPoints.length;++u)ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.encode(r.dataPoints[u],c.uint32(10).fork()).ldelim();return null!=r.aggregationTemporality&amp;&amp;Object.hasOwnProperty.call(r,"aggregationTemporality")&amp;&amp;c.uint32(16).int32(r.aggregationTemporality),c},ExponentialHistogram.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ExponentialHistogram.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.ExponentialHistogram;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.dataPoints&amp;&amp;p.dataPoints.length||(p.dataPoints=[]),p.dataPoints.push(ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.decode(r,r.uint32()));break;case 2:p.aggregationTemporality=r.int32();break;default:r.skipType(7&amp;y)}}return p},ExponentialHistogram.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ExponentialHistogram.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.dataPoints&amp;&amp;r.hasOwnProperty("dataPoints")){if(!Array.isArray(r.dataPoints))return"dataPoints: array expected";for(var c=0;c&lt;r.dataPoints.length;++c){var u=ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.verify(r.dataPoints[c]);if(u)return"dataPoints."+u}}if(null!=r.aggregationTemporality&amp;&amp;r.hasOwnProperty("aggregationTemporality"))switch(r.aggregationTemporality){default:return"aggregationTemporality: enum value expected";case 0:case 1:case 2:}return null},ExponentialHistogram.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.ExponentialHistogram)return r;var c=new ue.opentelemetry.proto.metrics.v1.ExponentialHistogram;if(r.dataPoints){if(!Array.isArray(r.dataPoints))throw TypeError(".opentelemetry.proto.metrics.v1.ExponentialHistogram.dataPoints: array expected");c.dataPoints=[];for(var u=0;u&lt;r.dataPoints.length;++u){if("object"!=typeof r.dataPoints[u])throw TypeError(".opentelemetry.proto.metrics.v1.ExponentialHistogram.dataPoints: object expected");c.dataPoints[u]=ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.fromObject(r.dataPoints[u])}}switch(r.aggregationTemporality){default:if("number"==typeof r.aggregationTemporality){c.aggregationTemporality=r.aggregationTemporality;break}break;case"AGGREGATION_TEMPORALITY_UNSPECIFIED":case 0:c.aggregationTemporality=0;break;case"AGGREGATION_TEMPORALITY_DELTA":case 1:c.aggregationTemporality=1;break;case"AGGREGATION_TEMPORALITY_CUMULATIVE":case 2:c.aggregationTemporality=2}return c},ExponentialHistogram.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.dataPoints=[]),c.defaults&amp;&amp;(u.aggregationTemporality=c.enums===String?"AGGREGATION_TEMPORALITY_UNSPECIFIED":0),r.dataPoints&amp;&amp;r.dataPoints.length){u.dataPoints=[];for(var p=0;p&lt;r.dataPoints.length;++p)u.dataPoints[p]=ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.toObject(r.dataPoints[p],c)}return null!=r.aggregationTemporality&amp;&amp;r.hasOwnProperty("aggregationTemporality")&amp;&amp;(u.aggregationTemporality=c.enums===String?void 0===ue.opentelemetry.proto.metrics.v1.AggregationTemporality[r.aggregationTemporality]?r.aggregationTemporality:ue.opentelemetry.proto.metrics.v1.AggregationTemporality[r.aggregationTemporality]:r.aggregationTemporality),u},ExponentialHistogram.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ExponentialHistogram.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.ExponentialHistogram"},ExponentialHistogram}(),u.Summary=function(){function Summary(r){if(this.dataPoints=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return Summary.prototype.dataPoints=se.emptyArray,Summary.create=function create(r){return new Summary(r)},Summary.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.dataPoints&amp;&amp;r.dataPoints.length)for(var u=0;u&lt;r.dataPoints.length;++u)ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.encode(r.dataPoints[u],c.uint32(10).fork()).ldelim();return c},Summary.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Summary.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.Summary;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?(p.dataPoints&amp;&amp;p.dataPoints.length||(p.dataPoints=[]),p.dataPoints.push(ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.decode(r,r.uint32()))):r.skipType(7&amp;y)}return p},Summary.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Summary.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.dataPoints&amp;&amp;r.hasOwnProperty("dataPoints")){if(!Array.isArray(r.dataPoints))return"dataPoints: array expected";for(var c=0;c&lt;r.dataPoints.length;++c){var u=ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.verify(r.dataPoints[c]);if(u)return"dataPoints."+u}}return null},Summary.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.Summary)return r;var c=new ue.opentelemetry.proto.metrics.v1.Summary;if(r.dataPoints){if(!Array.isArray(r.dataPoints))throw TypeError(".opentelemetry.proto.metrics.v1.Summary.dataPoints: array expected");c.dataPoints=[];for(var u=0;u&lt;r.dataPoints.length;++u){if("object"!=typeof r.dataPoints[u])throw TypeError(".opentelemetry.proto.metrics.v1.Summary.dataPoints: object expected");c.dataPoints[u]=ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.fromObject(r.dataPoints[u])}}return c},Summary.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.dataPoints=[]),r.dataPoints&amp;&amp;r.dataPoints.length){u.dataPoints=[];for(var p=0;p&lt;r.dataPoints.length;++p)u.dataPoints[p]=ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.toObject(r.dataPoints[p],c)}return u},Summary.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Summary.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.Summary"},Summary}(),u.AggregationTemporality=(r={},(c=Object.create(r))[r[0]="AGGREGATION_TEMPORALITY_UNSPECIFIED"]=0,c[r[1]="AGGREGATION_TEMPORALITY_DELTA"]=1,c[r[2]="AGGREGATION_TEMPORALITY_CUMULATIVE"]=2,c),u.DataPointFlags=function(){var r={},c=Object.create(r);return c[r[0]="DATA_POINT_FLAGS_DO_NOT_USE"]=0,c[r[1]="DATA_POINT_FLAGS_NO_RECORDED_VALUE_MASK"]=1,c}(),u.NumberDataPoint=function(){function NumberDataPoint(r){if(this.attributes=[],this.exemplars=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}var r;return NumberDataPoint.prototype.attributes=se.emptyArray,NumberDataPoint.prototype.startTimeUnixNano=null,NumberDataPoint.prototype.timeUnixNano=null,NumberDataPoint.prototype.asDouble=null,NumberDataPoint.prototype.asInt=null,NumberDataPoint.prototype.exemplars=se.emptyArray,NumberDataPoint.prototype.flags=null,Object.defineProperty(NumberDataPoint.prototype,"value",{get:se.oneOfGetter(r=["asDouble","asInt"]),set:se.oneOfSetter(r)}),NumberDataPoint.create=function create(r){return new NumberDataPoint(r)},NumberDataPoint.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.startTimeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"startTimeUnixNano")&amp;&amp;c.uint32(17).fixed64(r.startTimeUnixNano),null!=r.timeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"timeUnixNano")&amp;&amp;c.uint32(25).fixed64(r.timeUnixNano),null!=r.asDouble&amp;&amp;Object.hasOwnProperty.call(r,"asDouble")&amp;&amp;c.uint32(33).double(r.asDouble),null!=r.exemplars&amp;&amp;r.exemplars.length)for(var u=0;u&lt;r.exemplars.length;++u)ue.opentelemetry.proto.metrics.v1.Exemplar.encode(r.exemplars[u],c.uint32(42).fork()).ldelim();if(null!=r.asInt&amp;&amp;Object.hasOwnProperty.call(r,"asInt")&amp;&amp;c.uint32(49).sfixed64(r.asInt),null!=r.attributes&amp;&amp;r.attributes.length)for(u=0;u&lt;r.attributes.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.attributes[u],c.uint32(58).fork()).ldelim();return null!=r.flags&amp;&amp;Object.hasOwnProperty.call(r,"flags")&amp;&amp;c.uint32(64).uint32(r.flags),c},NumberDataPoint.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},NumberDataPoint.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.NumberDataPoint;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 7:p.attributes&amp;&amp;p.attributes.length||(p.attributes=[]),p.attributes.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()));break;case 2:p.startTimeUnixNano=r.fixed64();break;case 3:p.timeUnixNano=r.fixed64();break;case 4:p.asDouble=r.double();break;case 6:p.asInt=r.sfixed64();break;case 5:p.exemplars&amp;&amp;p.exemplars.length||(p.exemplars=[]),p.exemplars.push(ue.opentelemetry.proto.metrics.v1.Exemplar.decode(r,r.uint32()));break;case 8:p.flags=r.uint32();break;default:r.skipType(7&amp;y)}}return p},NumberDataPoint.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},NumberDataPoint.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";var c={};if(null!=r.attributes&amp;&amp;r.hasOwnProperty("attributes")){if(!Array.isArray(r.attributes))return"attributes: array expected";for(var u=0;u&lt;r.attributes.length;++u)if(p=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.attributes[u]))return"attributes."+p}if(null!=r.startTimeUnixNano&amp;&amp;r.hasOwnProperty("startTimeUnixNano")&amp;&amp;!(se.isInteger(r.startTimeUnixNano)||r.startTimeUnixNano&amp;&amp;se.isInteger(r.startTimeUnixNano.low)&amp;&amp;se.isInteger(r.startTimeUnixNano.high)))return"startTimeUnixNano: integer|Long expected";if(null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;!(se.isInteger(r.timeUnixNano)||r.timeUnixNano&amp;&amp;se.isInteger(r.timeUnixNano.low)&amp;&amp;se.isInteger(r.timeUnixNano.high)))return"timeUnixNano: integer|Long expected";if(null!=r.asDouble&amp;&amp;r.hasOwnProperty("asDouble")&amp;&amp;(c.value=1,"number"!=typeof r.asDouble))return"asDouble: number expected";if(null!=r.asInt&amp;&amp;r.hasOwnProperty("asInt")){if(1===c.value)return"value: multiple values";if(c.value=1,!(se.isInteger(r.asInt)||r.asInt&amp;&amp;se.isInteger(r.asInt.low)&amp;&amp;se.isInteger(r.asInt.high)))return"asInt: integer|Long expected"}if(null!=r.exemplars&amp;&amp;r.hasOwnProperty("exemplars")){if(!Array.isArray(r.exemplars))return"exemplars: array expected";for(u=0;u&lt;r.exemplars.length;++u){var p;if(p=ue.opentelemetry.proto.metrics.v1.Exemplar.verify(r.exemplars[u]))return"exemplars."+p}}return null!=r.flags&amp;&amp;r.hasOwnProperty("flags")&amp;&amp;!se.isInteger(r.flags)?"flags: integer expected":null},NumberDataPoint.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.NumberDataPoint)return r;var c=new ue.opentelemetry.proto.metrics.v1.NumberDataPoint;if(r.attributes){if(!Array.isArray(r.attributes))throw TypeError(".opentelemetry.proto.metrics.v1.NumberDataPoint.attributes: array expected");c.attributes=[];for(var u=0;u&lt;r.attributes.length;++u){if("object"!=typeof r.attributes[u])throw TypeError(".opentelemetry.proto.metrics.v1.NumberDataPoint.attributes: object expected");c.attributes[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.attributes[u])}}if(null!=r.startTimeUnixNano&amp;&amp;(se.Long?(c.startTimeUnixNano=se.Long.fromValue(r.startTimeUnixNano)).unsigned=!1:"string"==typeof r.startTimeUnixNano?c.startTimeUnixNano=parseInt(r.startTimeUnixNano,10):"number"==typeof r.startTimeUnixNano?c.startTimeUnixNano=r.startTimeUnixNano:"object"==typeof r.startTimeUnixNano&amp;&amp;(c.startTimeUnixNano=new se.LongBits(r.startTimeUnixNano.low&gt;&gt;&gt;0,r.startTimeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.timeUnixNano&amp;&amp;(se.Long?(c.timeUnixNano=se.Long.fromValue(r.timeUnixNano)).unsigned=!1:"string"==typeof r.timeUnixNano?c.timeUnixNano=parseInt(r.timeUnixNano,10):"number"==typeof r.timeUnixNano?c.timeUnixNano=r.timeUnixNano:"object"==typeof r.timeUnixNano&amp;&amp;(c.timeUnixNano=new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.asDouble&amp;&amp;(c.asDouble=Number(r.asDouble)),null!=r.asInt&amp;&amp;(se.Long?(c.asInt=se.Long.fromValue(r.asInt)).unsigned=!1:"string"==typeof r.asInt?c.asInt=parseInt(r.asInt,10):"number"==typeof r.asInt?c.asInt=r.asInt:"object"==typeof r.asInt&amp;&amp;(c.asInt=new se.LongBits(r.asInt.low&gt;&gt;&gt;0,r.asInt.high&gt;&gt;&gt;0).toNumber())),r.exemplars){if(!Array.isArray(r.exemplars))throw TypeError(".opentelemetry.proto.metrics.v1.NumberDataPoint.exemplars: array expected");for(c.exemplars=[],u=0;u&lt;r.exemplars.length;++u){if("object"!=typeof r.exemplars[u])throw TypeError(".opentelemetry.proto.metrics.v1.NumberDataPoint.exemplars: object expected");c.exemplars[u]=ue.opentelemetry.proto.metrics.v1.Exemplar.fromObject(r.exemplars[u])}}return null!=r.flags&amp;&amp;(c.flags=r.flags&gt;&gt;&gt;0),c},NumberDataPoint.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.exemplars=[],u.attributes=[]),c.defaults){if(se.Long){var p=new se.Long(0,0,!1);u.startTimeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p}else u.startTimeUnixNano=c.longs===String?"0":0;se.Long?(p=new se.Long(0,0,!1),u.timeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p):u.timeUnixNano=c.longs===String?"0":0,u.flags=0}if(null!=r.startTimeUnixNano&amp;&amp;r.hasOwnProperty("startTimeUnixNano")&amp;&amp;("number"==typeof r.startTimeUnixNano?u.startTimeUnixNano=c.longs===String?String(r.startTimeUnixNano):r.startTimeUnixNano:u.startTimeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.startTimeUnixNano):c.longs===Number?new se.LongBits(r.startTimeUnixNano.low&gt;&gt;&gt;0,r.startTimeUnixNano.high&gt;&gt;&gt;0).toNumber():r.startTimeUnixNano),null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;("number"==typeof r.timeUnixNano?u.timeUnixNano=c.longs===String?String(r.timeUnixNano):r.timeUnixNano:u.timeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.timeUnixNano):c.longs===Number?new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber():r.timeUnixNano),null!=r.asDouble&amp;&amp;r.hasOwnProperty("asDouble")&amp;&amp;(u.asDouble=c.json&amp;&amp;!isFinite(r.asDouble)?String(r.asDouble):r.asDouble,c.oneofs&amp;&amp;(u.value="asDouble")),r.exemplars&amp;&amp;r.exemplars.length){u.exemplars=[];for(var y=0;y&lt;r.exemplars.length;++y)u.exemplars[y]=ue.opentelemetry.proto.metrics.v1.Exemplar.toObject(r.exemplars[y],c)}if(null!=r.asInt&amp;&amp;r.hasOwnProperty("asInt")&amp;&amp;("number"==typeof r.asInt?u.asInt=c.longs===String?String(r.asInt):r.asInt:u.asInt=c.longs===String?se.Long.prototype.toString.call(r.asInt):c.longs===Number?new se.LongBits(r.asInt.low&gt;&gt;&gt;0,r.asInt.high&gt;&gt;&gt;0).toNumber():r.asInt,c.oneofs&amp;&amp;(u.value="asInt")),r.attributes&amp;&amp;r.attributes.length)for(u.attributes=[],y=0;y&lt;r.attributes.length;++y)u.attributes[y]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.attributes[y],c);return null!=r.flags&amp;&amp;r.hasOwnProperty("flags")&amp;&amp;(u.flags=r.flags),u},NumberDataPoint.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},NumberDataPoint.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.NumberDataPoint"},NumberDataPoint}(),u.HistogramDataPoint=function(){function HistogramDataPoint(r){if(this.attributes=[],this.bucketCounts=[],this.explicitBounds=[],this.exemplars=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}var r;return HistogramDataPoint.prototype.attributes=se.emptyArray,HistogramDataPoint.prototype.startTimeUnixNano=null,HistogramDataPoint.prototype.timeUnixNano=null,HistogramDataPoint.prototype.count=null,HistogramDataPoint.prototype.sum=null,HistogramDataPoint.prototype.bucketCounts=se.emptyArray,HistogramDataPoint.prototype.explicitBounds=se.emptyArray,HistogramDataPoint.prototype.exemplars=se.emptyArray,HistogramDataPoint.prototype.flags=null,HistogramDataPoint.prototype.min=null,HistogramDataPoint.prototype.max=null,Object.defineProperty(HistogramDataPoint.prototype,"_sum",{get:se.oneOfGetter(r=["sum"]),set:se.oneOfSetter(r)}),Object.defineProperty(HistogramDataPoint.prototype,"_min",{get:se.oneOfGetter(r=["min"]),set:se.oneOfSetter(r)}),Object.defineProperty(HistogramDataPoint.prototype,"_max",{get:se.oneOfGetter(r=["max"]),set:se.oneOfSetter(r)}),HistogramDataPoint.create=function create(r){return new HistogramDataPoint(r)},HistogramDataPoint.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.startTimeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"startTimeUnixNano")&amp;&amp;c.uint32(17).fixed64(r.startTimeUnixNano),null!=r.timeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"timeUnixNano")&amp;&amp;c.uint32(25).fixed64(r.timeUnixNano),null!=r.count&amp;&amp;Object.hasOwnProperty.call(r,"count")&amp;&amp;c.uint32(33).fixed64(r.count),null!=r.sum&amp;&amp;Object.hasOwnProperty.call(r,"sum")&amp;&amp;c.uint32(41).double(r.sum),null!=r.bucketCounts&amp;&amp;r.bucketCounts.length){c.uint32(50).fork();for(var u=0;u&lt;r.bucketCounts.length;++u)c.fixed64(r.bucketCounts[u]);c.ldelim()}if(null!=r.explicitBounds&amp;&amp;r.explicitBounds.length){for(c.uint32(58).fork(),u=0;u&lt;r.explicitBounds.length;++u)c.double(r.explicitBounds[u]);c.ldelim()}if(null!=r.exemplars&amp;&amp;r.exemplars.length)for(u=0;u&lt;r.exemplars.length;++u)ue.opentelemetry.proto.metrics.v1.Exemplar.encode(r.exemplars[u],c.uint32(66).fork()).ldelim();if(null!=r.attributes&amp;&amp;r.attributes.length)for(u=0;u&lt;r.attributes.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.attributes[u],c.uint32(74).fork()).ldelim();return null!=r.flags&amp;&amp;Object.hasOwnProperty.call(r,"flags")&amp;&amp;c.uint32(80).uint32(r.flags),null!=r.min&amp;&amp;Object.hasOwnProperty.call(r,"min")&amp;&amp;c.uint32(89).double(r.min),null!=r.max&amp;&amp;Object.hasOwnProperty.call(r,"max")&amp;&amp;c.uint32(97).double(r.max),c},HistogramDataPoint.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},HistogramDataPoint.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.HistogramDataPoint;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 9:p.attributes&amp;&amp;p.attributes.length||(p.attributes=[]),p.attributes.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()));break;case 2:p.startTimeUnixNano=r.fixed64();break;case 3:p.timeUnixNano=r.fixed64();break;case 4:p.count=r.fixed64();break;case 5:p.sum=r.double();break;case 6:if(p.bucketCounts&amp;&amp;p.bucketCounts.length||(p.bucketCounts=[]),2==(7&amp;y))for(var w=r.uint32()+r.pos;r.pos&lt;w;)p.bucketCounts.push(r.fixed64());else p.bucketCounts.push(r.fixed64());break;case 7:if(p.explicitBounds&amp;&amp;p.explicitBounds.length||(p.explicitBounds=[]),2==(7&amp;y))for(w=r.uint32()+r.pos;r.pos&lt;w;)p.explicitBounds.push(r.double());else p.explicitBounds.push(r.double());break;case 8:p.exemplars&amp;&amp;p.exemplars.length||(p.exemplars=[]),p.exemplars.push(ue.opentelemetry.proto.metrics.v1.Exemplar.decode(r,r.uint32()));break;case 10:p.flags=r.uint32();break;case 11:p.min=r.double();break;case 12:p.max=r.double();break;default:r.skipType(7&amp;y)}}return p},HistogramDataPoint.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},HistogramDataPoint.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";var c={};if(null!=r.attributes&amp;&amp;r.hasOwnProperty("attributes")){if(!Array.isArray(r.attributes))return"attributes: array expected";for(var u=0;u&lt;r.attributes.length;++u)if(p=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.attributes[u]))return"attributes."+p}if(null!=r.startTimeUnixNano&amp;&amp;r.hasOwnProperty("startTimeUnixNano")&amp;&amp;!(se.isInteger(r.startTimeUnixNano)||r.startTimeUnixNano&amp;&amp;se.isInteger(r.startTimeUnixNano.low)&amp;&amp;se.isInteger(r.startTimeUnixNano.high)))return"startTimeUnixNano: integer|Long expected";if(null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;!(se.isInteger(r.timeUnixNano)||r.timeUnixNano&amp;&amp;se.isInteger(r.timeUnixNano.low)&amp;&amp;se.isInteger(r.timeUnixNano.high)))return"timeUnixNano: integer|Long expected";if(null!=r.count&amp;&amp;r.hasOwnProperty("count")&amp;&amp;!(se.isInteger(r.count)||r.count&amp;&amp;se.isInteger(r.count.low)&amp;&amp;se.isInteger(r.count.high)))return"count: integer|Long expected";if(null!=r.sum&amp;&amp;r.hasOwnProperty("sum")&amp;&amp;(c._sum=1,"number"!=typeof r.sum))return"sum: number expected";if(null!=r.bucketCounts&amp;&amp;r.hasOwnProperty("bucketCounts")){if(!Array.isArray(r.bucketCounts))return"bucketCounts: array expected";for(u=0;u&lt;r.bucketCounts.length;++u)if(!(se.isInteger(r.bucketCounts[u])||r.bucketCounts[u]&amp;&amp;se.isInteger(r.bucketCounts[u].low)&amp;&amp;se.isInteger(r.bucketCounts[u].high)))return"bucketCounts: integer|Long[] expected"}if(null!=r.explicitBounds&amp;&amp;r.hasOwnProperty("explicitBounds")){if(!Array.isArray(r.explicitBounds))return"explicitBounds: array expected";for(u=0;u&lt;r.explicitBounds.length;++u)if("number"!=typeof r.explicitBounds[u])return"explicitBounds: number[] expected"}if(null!=r.exemplars&amp;&amp;r.hasOwnProperty("exemplars")){if(!Array.isArray(r.exemplars))return"exemplars: array expected";for(u=0;u&lt;r.exemplars.length;++u){var p;if(p=ue.opentelemetry.proto.metrics.v1.Exemplar.verify(r.exemplars[u]))return"exemplars."+p}}return null!=r.flags&amp;&amp;r.hasOwnProperty("flags")&amp;&amp;!se.isInteger(r.flags)?"flags: integer expected":null!=r.min&amp;&amp;r.hasOwnProperty("min")&amp;&amp;(c._min=1,"number"!=typeof r.min)?"min: number expected":null!=r.max&amp;&amp;r.hasOwnProperty("max")&amp;&amp;(c._max=1,"number"!=typeof r.max)?"max: number expected":null},HistogramDataPoint.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.HistogramDataPoint)return r;var c=new ue.opentelemetry.proto.metrics.v1.HistogramDataPoint;if(r.attributes){if(!Array.isArray(r.attributes))throw TypeError(".opentelemetry.proto.metrics.v1.HistogramDataPoint.attributes: array expected");c.attributes=[];for(var u=0;u&lt;r.attributes.length;++u){if("object"!=typeof r.attributes[u])throw TypeError(".opentelemetry.proto.metrics.v1.HistogramDataPoint.attributes: object expected");c.attributes[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.attributes[u])}}if(null!=r.startTimeUnixNano&amp;&amp;(se.Long?(c.startTimeUnixNano=se.Long.fromValue(r.startTimeUnixNano)).unsigned=!1:"string"==typeof r.startTimeUnixNano?c.startTimeUnixNano=parseInt(r.startTimeUnixNano,10):"number"==typeof r.startTimeUnixNano?c.startTimeUnixNano=r.startTimeUnixNano:"object"==typeof r.startTimeUnixNano&amp;&amp;(c.startTimeUnixNano=new se.LongBits(r.startTimeUnixNano.low&gt;&gt;&gt;0,r.startTimeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.timeUnixNano&amp;&amp;(se.Long?(c.timeUnixNano=se.Long.fromValue(r.timeUnixNano)).unsigned=!1:"string"==typeof r.timeUnixNano?c.timeUnixNano=parseInt(r.timeUnixNano,10):"number"==typeof r.timeUnixNano?c.timeUnixNano=r.timeUnixNano:"object"==typeof r.timeUnixNano&amp;&amp;(c.timeUnixNano=new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.count&amp;&amp;(se.Long?(c.count=se.Long.fromValue(r.count)).unsigned=!1:"string"==typeof r.count?c.count=parseInt(r.count,10):"number"==typeof r.count?c.count=r.count:"object"==typeof r.count&amp;&amp;(c.count=new se.LongBits(r.count.low&gt;&gt;&gt;0,r.count.high&gt;&gt;&gt;0).toNumber())),null!=r.sum&amp;&amp;(c.sum=Number(r.sum)),r.bucketCounts){if(!Array.isArray(r.bucketCounts))throw TypeError(".opentelemetry.proto.metrics.v1.HistogramDataPoint.bucketCounts: array expected");for(c.bucketCounts=[],u=0;u&lt;r.bucketCounts.length;++u)se.Long?(c.bucketCounts[u]=se.Long.fromValue(r.bucketCounts[u])).unsigned=!1:"string"==typeof r.bucketCounts[u]?c.bucketCounts[u]=parseInt(r.bucketCounts[u],10):"number"==typeof r.bucketCounts[u]?c.bucketCounts[u]=r.bucketCounts[u]:"object"==typeof r.bucketCounts[u]&amp;&amp;(c.bucketCounts[u]=new se.LongBits(r.bucketCounts[u].low&gt;&gt;&gt;0,r.bucketCounts[u].high&gt;&gt;&gt;0).toNumber())}if(r.explicitBounds){if(!Array.isArray(r.explicitBounds))throw TypeError(".opentelemetry.proto.metrics.v1.HistogramDataPoint.explicitBounds: array expected");for(c.explicitBounds=[],u=0;u&lt;r.explicitBounds.length;++u)c.explicitBounds[u]=Number(r.explicitBounds[u])}if(r.exemplars){if(!Array.isArray(r.exemplars))throw TypeError(".opentelemetry.proto.metrics.v1.HistogramDataPoint.exemplars: array expected");for(c.exemplars=[],u=0;u&lt;r.exemplars.length;++u){if("object"!=typeof r.exemplars[u])throw TypeError(".opentelemetry.proto.metrics.v1.HistogramDataPoint.exemplars: object expected");c.exemplars[u]=ue.opentelemetry.proto.metrics.v1.Exemplar.fromObject(r.exemplars[u])}}return null!=r.flags&amp;&amp;(c.flags=r.flags&gt;&gt;&gt;0),null!=r.min&amp;&amp;(c.min=Number(r.min)),null!=r.max&amp;&amp;(c.max=Number(r.max)),c},HistogramDataPoint.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.bucketCounts=[],u.explicitBounds=[],u.exemplars=[],u.attributes=[]),c.defaults){if(se.Long){var p=new se.Long(0,0,!1);u.startTimeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p}else u.startTimeUnixNano=c.longs===String?"0":0;se.Long?(p=new se.Long(0,0,!1),u.timeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p):u.timeUnixNano=c.longs===String?"0":0,se.Long?(p=new se.Long(0,0,!1),u.count=c.longs===String?p.toString():c.longs===Number?p.toNumber():p):u.count=c.longs===String?"0":0,u.flags=0}if(null!=r.startTimeUnixNano&amp;&amp;r.hasOwnProperty("startTimeUnixNano")&amp;&amp;("number"==typeof r.startTimeUnixNano?u.startTimeUnixNano=c.longs===String?String(r.startTimeUnixNano):r.startTimeUnixNano:u.startTimeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.startTimeUnixNano):c.longs===Number?new se.LongBits(r.startTimeUnixNano.low&gt;&gt;&gt;0,r.startTimeUnixNano.high&gt;&gt;&gt;0).toNumber():r.startTimeUnixNano),null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;("number"==typeof r.timeUnixNano?u.timeUnixNano=c.longs===String?String(r.timeUnixNano):r.timeUnixNano:u.timeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.timeUnixNano):c.longs===Number?new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber():r.timeUnixNano),null!=r.count&amp;&amp;r.hasOwnProperty("count")&amp;&amp;("number"==typeof r.count?u.count=c.longs===String?String(r.count):r.count:u.count=c.longs===String?se.Long.prototype.toString.call(r.count):c.longs===Number?new se.LongBits(r.count.low&gt;&gt;&gt;0,r.count.high&gt;&gt;&gt;0).toNumber():r.count),null!=r.sum&amp;&amp;r.hasOwnProperty("sum")&amp;&amp;(u.sum=c.json&amp;&amp;!isFinite(r.sum)?String(r.sum):r.sum,c.oneofs&amp;&amp;(u._sum="sum")),r.bucketCounts&amp;&amp;r.bucketCounts.length){u.bucketCounts=[];for(var y=0;y&lt;r.bucketCounts.length;++y)"number"==typeof r.bucketCounts[y]?u.bucketCounts[y]=c.longs===String?String(r.bucketCounts[y]):r.bucketCounts[y]:u.bucketCounts[y]=c.longs===String?se.Long.prototype.toString.call(r.bucketCounts[y]):c.longs===Number?new se.LongBits(r.bucketCounts[y].low&gt;&gt;&gt;0,r.bucketCounts[y].high&gt;&gt;&gt;0).toNumber():r.bucketCounts[y]}if(r.explicitBounds&amp;&amp;r.explicitBounds.length)for(u.explicitBounds=[],y=0;y&lt;r.explicitBounds.length;++y)u.explicitBounds[y]=c.json&amp;&amp;!isFinite(r.explicitBounds[y])?String(r.explicitBounds[y]):r.explicitBounds[y];if(r.exemplars&amp;&amp;r.exemplars.length)for(u.exemplars=[],y=0;y&lt;r.exemplars.length;++y)u.exemplars[y]=ue.opentelemetry.proto.metrics.v1.Exemplar.toObject(r.exemplars[y],c);if(r.attributes&amp;&amp;r.attributes.length)for(u.attributes=[],y=0;y&lt;r.attributes.length;++y)u.attributes[y]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.attributes[y],c);return null!=r.flags&amp;&amp;r.hasOwnProperty("flags")&amp;&amp;(u.flags=r.flags),null!=r.min&amp;&amp;r.hasOwnProperty("min")&amp;&amp;(u.min=c.json&amp;&amp;!isFinite(r.min)?String(r.min):r.min,c.oneofs&amp;&amp;(u._min="min")),null!=r.max&amp;&amp;r.hasOwnProperty("max")&amp;&amp;(u.max=c.json&amp;&amp;!isFinite(r.max)?String(r.max):r.max,c.oneofs&amp;&amp;(u._max="max")),u},HistogramDataPoint.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},HistogramDataPoint.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.HistogramDataPoint"},HistogramDataPoint}(),u.ExponentialHistogramDataPoint=function(){function ExponentialHistogramDataPoint(r){if(this.attributes=[],this.exemplars=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}var r;return ExponentialHistogramDataPoint.prototype.attributes=se.emptyArray,ExponentialHistogramDataPoint.prototype.startTimeUnixNano=null,ExponentialHistogramDataPoint.prototype.timeUnixNano=null,ExponentialHistogramDataPoint.prototype.count=null,ExponentialHistogramDataPoint.prototype.sum=null,ExponentialHistogramDataPoint.prototype.scale=null,ExponentialHistogramDataPoint.prototype.zeroCount=null,ExponentialHistogramDataPoint.prototype.positive=null,ExponentialHistogramDataPoint.prototype.negative=null,ExponentialHistogramDataPoint.prototype.flags=null,ExponentialHistogramDataPoint.prototype.exemplars=se.emptyArray,ExponentialHistogramDataPoint.prototype.min=null,ExponentialHistogramDataPoint.prototype.max=null,ExponentialHistogramDataPoint.prototype.zeroThreshold=null,Object.defineProperty(ExponentialHistogramDataPoint.prototype,"_sum",{get:se.oneOfGetter(r=["sum"]),set:se.oneOfSetter(r)}),Object.defineProperty(ExponentialHistogramDataPoint.prototype,"_min",{get:se.oneOfGetter(r=["min"]),set:se.oneOfSetter(r)}),Object.defineProperty(ExponentialHistogramDataPoint.prototype,"_max",{get:se.oneOfGetter(r=["max"]),set:se.oneOfSetter(r)}),ExponentialHistogramDataPoint.create=function create(r){return new ExponentialHistogramDataPoint(r)},ExponentialHistogramDataPoint.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.attributes&amp;&amp;r.attributes.length)for(var u=0;u&lt;r.attributes.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.attributes[u],c.uint32(10).fork()).ldelim();if(null!=r.startTimeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"startTimeUnixNano")&amp;&amp;c.uint32(17).fixed64(r.startTimeUnixNano),null!=r.timeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"timeUnixNano")&amp;&amp;c.uint32(25).fixed64(r.timeUnixNano),null!=r.count&amp;&amp;Object.hasOwnProperty.call(r,"count")&amp;&amp;c.uint32(33).fixed64(r.count),null!=r.sum&amp;&amp;Object.hasOwnProperty.call(r,"sum")&amp;&amp;c.uint32(41).double(r.sum),null!=r.scale&amp;&amp;Object.hasOwnProperty.call(r,"scale")&amp;&amp;c.uint32(48).sint32(r.scale),null!=r.zeroCount&amp;&amp;Object.hasOwnProperty.call(r,"zeroCount")&amp;&amp;c.uint32(57).fixed64(r.zeroCount),null!=r.positive&amp;&amp;Object.hasOwnProperty.call(r,"positive")&amp;&amp;ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets.encode(r.positive,c.uint32(66).fork()).ldelim(),null!=r.negative&amp;&amp;Object.hasOwnProperty.call(r,"negative")&amp;&amp;ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets.encode(r.negative,c.uint32(74).fork()).ldelim(),null!=r.flags&amp;&amp;Object.hasOwnProperty.call(r,"flags")&amp;&amp;c.uint32(80).uint32(r.flags),null!=r.exemplars&amp;&amp;r.exemplars.length)for(u=0;u&lt;r.exemplars.length;++u)ue.opentelemetry.proto.metrics.v1.Exemplar.encode(r.exemplars[u],c.uint32(90).fork()).ldelim();return null!=r.min&amp;&amp;Object.hasOwnProperty.call(r,"min")&amp;&amp;c.uint32(97).double(r.min),null!=r.max&amp;&amp;Object.hasOwnProperty.call(r,"max")&amp;&amp;c.uint32(105).double(r.max),null!=r.zeroThreshold&amp;&amp;Object.hasOwnProperty.call(r,"zeroThreshold")&amp;&amp;c.uint32(113).double(r.zeroThreshold),c},ExponentialHistogramDataPoint.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ExponentialHistogramDataPoint.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.attributes&amp;&amp;p.attributes.length||(p.attributes=[]),p.attributes.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()));break;case 2:p.startTimeUnixNano=r.fixed64();break;case 3:p.timeUnixNano=r.fixed64();break;case 4:p.count=r.fixed64();break;case 5:p.sum=r.double();break;case 6:p.scale=r.sint32();break;case 7:p.zeroCount=r.fixed64();break;case 8:p.positive=ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets.decode(r,r.uint32());break;case 9:p.negative=ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets.decode(r,r.uint32());break;case 10:p.flags=r.uint32();break;case 11:p.exemplars&amp;&amp;p.exemplars.length||(p.exemplars=[]),p.exemplars.push(ue.opentelemetry.proto.metrics.v1.Exemplar.decode(r,r.uint32()));break;case 12:p.min=r.double();break;case 13:p.max=r.double();break;case 14:p.zeroThreshold=r.double();break;default:r.skipType(7&amp;y)}}return p},ExponentialHistogramDataPoint.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ExponentialHistogramDataPoint.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";var c={};if(null!=r.attributes&amp;&amp;r.hasOwnProperty("attributes")){if(!Array.isArray(r.attributes))return"attributes: array expected";for(var u=0;u&lt;r.attributes.length;++u)if(p=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.attributes[u]))return"attributes."+p}if(null!=r.startTimeUnixNano&amp;&amp;r.hasOwnProperty("startTimeUnixNano")&amp;&amp;!(se.isInteger(r.startTimeUnixNano)||r.startTimeUnixNano&amp;&amp;se.isInteger(r.startTimeUnixNano.low)&amp;&amp;se.isInteger(r.startTimeUnixNano.high)))return"startTimeUnixNano: integer|Long expected";if(null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;!(se.isInteger(r.timeUnixNano)||r.timeUnixNano&amp;&amp;se.isInteger(r.timeUnixNano.low)&amp;&amp;se.isInteger(r.timeUnixNano.high)))return"timeUnixNano: integer|Long expected";if(null!=r.count&amp;&amp;r.hasOwnProperty("count")&amp;&amp;!(se.isInteger(r.count)||r.count&amp;&amp;se.isInteger(r.count.low)&amp;&amp;se.isInteger(r.count.high)))return"count: integer|Long expected";if(null!=r.sum&amp;&amp;r.hasOwnProperty("sum")&amp;&amp;(c._sum=1,"number"!=typeof r.sum))return"sum: number expected";if(null!=r.scale&amp;&amp;r.hasOwnProperty("scale")&amp;&amp;!se.isInteger(r.scale))return"scale: integer expected";if(null!=r.zeroCount&amp;&amp;r.hasOwnProperty("zeroCount")&amp;&amp;!(se.isInteger(r.zeroCount)||r.zeroCount&amp;&amp;se.isInteger(r.zeroCount.low)&amp;&amp;se.isInteger(r.zeroCount.high)))return"zeroCount: integer|Long expected";if(null!=r.positive&amp;&amp;r.hasOwnProperty("positive")&amp;&amp;(p=ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets.verify(r.positive)))return"positive."+p;if(null!=r.negative&amp;&amp;r.hasOwnProperty("negative")&amp;&amp;(p=ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets.verify(r.negative)))return"negative."+p;if(null!=r.flags&amp;&amp;r.hasOwnProperty("flags")&amp;&amp;!se.isInteger(r.flags))return"flags: integer expected";if(null!=r.exemplars&amp;&amp;r.hasOwnProperty("exemplars")){if(!Array.isArray(r.exemplars))return"exemplars: array expected";for(u=0;u&lt;r.exemplars.length;++u){var p;if(p=ue.opentelemetry.proto.metrics.v1.Exemplar.verify(r.exemplars[u]))return"exemplars."+p}}return null!=r.min&amp;&amp;r.hasOwnProperty("min")&amp;&amp;(c._min=1,"number"!=typeof r.min)?"min: number expected":null!=r.max&amp;&amp;r.hasOwnProperty("max")&amp;&amp;(c._max=1,"number"!=typeof r.max)?"max: number expected":null!=r.zeroThreshold&amp;&amp;r.hasOwnProperty("zeroThreshold")&amp;&amp;"number"!=typeof r.zeroThreshold?"zeroThreshold: number expected":null},ExponentialHistogramDataPoint.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint)return r;var c=new ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint;if(r.attributes){if(!Array.isArray(r.attributes))throw TypeError(".opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.attributes: array expected");c.attributes=[];for(var u=0;u&lt;r.attributes.length;++u){if("object"!=typeof r.attributes[u])throw TypeError(".opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.attributes: object expected");c.attributes[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.attributes[u])}}if(null!=r.startTimeUnixNano&amp;&amp;(se.Long?(c.startTimeUnixNano=se.Long.fromValue(r.startTimeUnixNano)).unsigned=!1:"string"==typeof r.startTimeUnixNano?c.startTimeUnixNano=parseInt(r.startTimeUnixNano,10):"number"==typeof r.startTimeUnixNano?c.startTimeUnixNano=r.startTimeUnixNano:"object"==typeof r.startTimeUnixNano&amp;&amp;(c.startTimeUnixNano=new se.LongBits(r.startTimeUnixNano.low&gt;&gt;&gt;0,r.startTimeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.timeUnixNano&amp;&amp;(se.Long?(c.timeUnixNano=se.Long.fromValue(r.timeUnixNano)).unsigned=!1:"string"==typeof r.timeUnixNano?c.timeUnixNano=parseInt(r.timeUnixNano,10):"number"==typeof r.timeUnixNano?c.timeUnixNano=r.timeUnixNano:"object"==typeof r.timeUnixNano&amp;&amp;(c.timeUnixNano=new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.count&amp;&amp;(se.Long?(c.count=se.Long.fromValue(r.count)).unsigned=!1:"string"==typeof r.count?c.count=parseInt(r.count,10):"number"==typeof r.count?c.count=r.count:"object"==typeof r.count&amp;&amp;(c.count=new se.LongBits(r.count.low&gt;&gt;&gt;0,r.count.high&gt;&gt;&gt;0).toNumber())),null!=r.sum&amp;&amp;(c.sum=Number(r.sum)),null!=r.scale&amp;&amp;(c.scale=0|r.scale),null!=r.zeroCount&amp;&amp;(se.Long?(c.zeroCount=se.Long.fromValue(r.zeroCount)).unsigned=!1:"string"==typeof r.zeroCount?c.zeroCount=parseInt(r.zeroCount,10):"number"==typeof r.zeroCount?c.zeroCount=r.zeroCount:"object"==typeof r.zeroCount&amp;&amp;(c.zeroCount=new se.LongBits(r.zeroCount.low&gt;&gt;&gt;0,r.zeroCount.high&gt;&gt;&gt;0).toNumber())),null!=r.positive){if("object"!=typeof r.positive)throw TypeError(".opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.positive: object expected");c.positive=ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets.fromObject(r.positive)}if(null!=r.negative){if("object"!=typeof r.negative)throw TypeError(".opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.negative: object expected");c.negative=ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets.fromObject(r.negative)}if(null!=r.flags&amp;&amp;(c.flags=r.flags&gt;&gt;&gt;0),r.exemplars){if(!Array.isArray(r.exemplars))throw TypeError(".opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.exemplars: array expected");for(c.exemplars=[],u=0;u&lt;r.exemplars.length;++u){if("object"!=typeof r.exemplars[u])throw TypeError(".opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.exemplars: object expected");c.exemplars[u]=ue.opentelemetry.proto.metrics.v1.Exemplar.fromObject(r.exemplars[u])}}return null!=r.min&amp;&amp;(c.min=Number(r.min)),null!=r.max&amp;&amp;(c.max=Number(r.max)),null!=r.zeroThreshold&amp;&amp;(c.zeroThreshold=Number(r.zeroThreshold)),c},ExponentialHistogramDataPoint.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.attributes=[],u.exemplars=[]),c.defaults){if(se.Long){var p=new se.Long(0,0,!1);u.startTimeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p}else u.startTimeUnixNano=c.longs===String?"0":0;se.Long?(p=new se.Long(0,0,!1),u.timeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p):u.timeUnixNano=c.longs===String?"0":0,se.Long?(p=new se.Long(0,0,!1),u.count=c.longs===String?p.toString():c.longs===Number?p.toNumber():p):u.count=c.longs===String?"0":0,u.scale=0,se.Long?(p=new se.Long(0,0,!1),u.zeroCount=c.longs===String?p.toString():c.longs===Number?p.toNumber():p):u.zeroCount=c.longs===String?"0":0,u.positive=null,u.negative=null,u.flags=0,u.zeroThreshold=0}if(r.attributes&amp;&amp;r.attributes.length){u.attributes=[];for(var y=0;y&lt;r.attributes.length;++y)u.attributes[y]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.attributes[y],c)}if(null!=r.startTimeUnixNano&amp;&amp;r.hasOwnProperty("startTimeUnixNano")&amp;&amp;("number"==typeof r.startTimeUnixNano?u.startTimeUnixNano=c.longs===String?String(r.startTimeUnixNano):r.startTimeUnixNano:u.startTimeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.startTimeUnixNano):c.longs===Number?new se.LongBits(r.startTimeUnixNano.low&gt;&gt;&gt;0,r.startTimeUnixNano.high&gt;&gt;&gt;0).toNumber():r.startTimeUnixNano),null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;("number"==typeof r.timeUnixNano?u.timeUnixNano=c.longs===String?String(r.timeUnixNano):r.timeUnixNano:u.timeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.timeUnixNano):c.longs===Number?new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber():r.timeUnixNano),null!=r.count&amp;&amp;r.hasOwnProperty("count")&amp;&amp;("number"==typeof r.count?u.count=c.longs===String?String(r.count):r.count:u.count=c.longs===String?se.Long.prototype.toString.call(r.count):c.longs===Number?new se.LongBits(r.count.low&gt;&gt;&gt;0,r.count.high&gt;&gt;&gt;0).toNumber():r.count),null!=r.sum&amp;&amp;r.hasOwnProperty("sum")&amp;&amp;(u.sum=c.json&amp;&amp;!isFinite(r.sum)?String(r.sum):r.sum,c.oneofs&amp;&amp;(u._sum="sum")),null!=r.scale&amp;&amp;r.hasOwnProperty("scale")&amp;&amp;(u.scale=r.scale),null!=r.zeroCount&amp;&amp;r.hasOwnProperty("zeroCount")&amp;&amp;("number"==typeof r.zeroCount?u.zeroCount=c.longs===String?String(r.zeroCount):r.zeroCount:u.zeroCount=c.longs===String?se.Long.prototype.toString.call(r.zeroCount):c.longs===Number?new se.LongBits(r.zeroCount.low&gt;&gt;&gt;0,r.zeroCount.high&gt;&gt;&gt;0).toNumber():r.zeroCount),null!=r.positive&amp;&amp;r.hasOwnProperty("positive")&amp;&amp;(u.positive=ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets.toObject(r.positive,c)),null!=r.negative&amp;&amp;r.hasOwnProperty("negative")&amp;&amp;(u.negative=ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets.toObject(r.negative,c)),null!=r.flags&amp;&amp;r.hasOwnProperty("flags")&amp;&amp;(u.flags=r.flags),r.exemplars&amp;&amp;r.exemplars.length)for(u.exemplars=[],y=0;y&lt;r.exemplars.length;++y)u.exemplars[y]=ue.opentelemetry.proto.metrics.v1.Exemplar.toObject(r.exemplars[y],c);return null!=r.min&amp;&amp;r.hasOwnProperty("min")&amp;&amp;(u.min=c.json&amp;&amp;!isFinite(r.min)?String(r.min):r.min,c.oneofs&amp;&amp;(u._min="min")),null!=r.max&amp;&amp;r.hasOwnProperty("max")&amp;&amp;(u.max=c.json&amp;&amp;!isFinite(r.max)?String(r.max):r.max,c.oneofs&amp;&amp;(u._max="max")),null!=r.zeroThreshold&amp;&amp;r.hasOwnProperty("zeroThreshold")&amp;&amp;(u.zeroThreshold=c.json&amp;&amp;!isFinite(r.zeroThreshold)?String(r.zeroThreshold):r.zeroThreshold),u},ExponentialHistogramDataPoint.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ExponentialHistogramDataPoint.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint"},ExponentialHistogramDataPoint.Buckets=function(){function Buckets(r){if(this.bucketCounts=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return Buckets.prototype.offset=null,Buckets.prototype.bucketCounts=se.emptyArray,Buckets.create=function create(r){return new Buckets(r)},Buckets.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.offset&amp;&amp;Object.hasOwnProperty.call(r,"offset")&amp;&amp;c.uint32(8).sint32(r.offset),null!=r.bucketCounts&amp;&amp;r.bucketCounts.length){c.uint32(18).fork();for(var u=0;u&lt;r.bucketCounts.length;++u)c.uint64(r.bucketCounts[u]);c.ldelim()}return c},Buckets.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Buckets.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.offset=r.sint32();break;case 2:if(p.bucketCounts&amp;&amp;p.bucketCounts.length||(p.bucketCounts=[]),2==(7&amp;y))for(var w=r.uint32()+r.pos;r.pos&lt;w;)p.bucketCounts.push(r.uint64());else p.bucketCounts.push(r.uint64());break;default:r.skipType(7&amp;y)}}return p},Buckets.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Buckets.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.offset&amp;&amp;r.hasOwnProperty("offset")&amp;&amp;!se.isInteger(r.offset))return"offset: integer expected";if(null!=r.bucketCounts&amp;&amp;r.hasOwnProperty("bucketCounts")){if(!Array.isArray(r.bucketCounts))return"bucketCounts: array expected";for(var c=0;c&lt;r.bucketCounts.length;++c)if(!(se.isInteger(r.bucketCounts[c])||r.bucketCounts[c]&amp;&amp;se.isInteger(r.bucketCounts[c].low)&amp;&amp;se.isInteger(r.bucketCounts[c].high)))return"bucketCounts: integer|Long[] expected"}return null},Buckets.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets)return r;var c=new ue.opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets;if(null!=r.offset&amp;&amp;(c.offset=0|r.offset),r.bucketCounts){if(!Array.isArray(r.bucketCounts))throw TypeError(".opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets.bucketCounts: array expected");c.bucketCounts=[];for(var u=0;u&lt;r.bucketCounts.length;++u)se.Long?(c.bucketCounts[u]=se.Long.fromValue(r.bucketCounts[u])).unsigned=!0:"string"==typeof r.bucketCounts[u]?c.bucketCounts[u]=parseInt(r.bucketCounts[u],10):"number"==typeof r.bucketCounts[u]?c.bucketCounts[u]=r.bucketCounts[u]:"object"==typeof r.bucketCounts[u]&amp;&amp;(c.bucketCounts[u]=new se.LongBits(r.bucketCounts[u].low&gt;&gt;&gt;0,r.bucketCounts[u].high&gt;&gt;&gt;0).toNumber(!0))}return c},Buckets.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.bucketCounts=[]),c.defaults&amp;&amp;(u.offset=0),null!=r.offset&amp;&amp;r.hasOwnProperty("offset")&amp;&amp;(u.offset=r.offset),r.bucketCounts&amp;&amp;r.bucketCounts.length){u.bucketCounts=[];for(var p=0;p&lt;r.bucketCounts.length;++p)"number"==typeof r.bucketCounts[p]?u.bucketCounts[p]=c.longs===String?String(r.bucketCounts[p]):r.bucketCounts[p]:u.bucketCounts[p]=c.longs===String?se.Long.prototype.toString.call(r.bucketCounts[p]):c.longs===Number?new se.LongBits(r.bucketCounts[p].low&gt;&gt;&gt;0,r.bucketCounts[p].high&gt;&gt;&gt;0).toNumber(!0):r.bucketCounts[p]}return u},Buckets.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Buckets.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.ExponentialHistogramDataPoint.Buckets"},Buckets}(),ExponentialHistogramDataPoint}(),u.SummaryDataPoint=function(){function SummaryDataPoint(r){if(this.attributes=[],this.quantileValues=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return SummaryDataPoint.prototype.attributes=se.emptyArray,SummaryDataPoint.prototype.startTimeUnixNano=null,SummaryDataPoint.prototype.timeUnixNano=null,SummaryDataPoint.prototype.count=null,SummaryDataPoint.prototype.sum=null,SummaryDataPoint.prototype.quantileValues=se.emptyArray,SummaryDataPoint.prototype.flags=null,SummaryDataPoint.create=function create(r){return new SummaryDataPoint(r)},SummaryDataPoint.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.startTimeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"startTimeUnixNano")&amp;&amp;c.uint32(17).fixed64(r.startTimeUnixNano),null!=r.timeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"timeUnixNano")&amp;&amp;c.uint32(25).fixed64(r.timeUnixNano),null!=r.count&amp;&amp;Object.hasOwnProperty.call(r,"count")&amp;&amp;c.uint32(33).fixed64(r.count),null!=r.sum&amp;&amp;Object.hasOwnProperty.call(r,"sum")&amp;&amp;c.uint32(41).double(r.sum),null!=r.quantileValues&amp;&amp;r.quantileValues.length)for(var u=0;u&lt;r.quantileValues.length;++u)ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile.encode(r.quantileValues[u],c.uint32(50).fork()).ldelim();if(null!=r.attributes&amp;&amp;r.attributes.length)for(u=0;u&lt;r.attributes.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.attributes[u],c.uint32(58).fork()).ldelim();return null!=r.flags&amp;&amp;Object.hasOwnProperty.call(r,"flags")&amp;&amp;c.uint32(64).uint32(r.flags),c},SummaryDataPoint.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},SummaryDataPoint.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.SummaryDataPoint;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 7:p.attributes&amp;&amp;p.attributes.length||(p.attributes=[]),p.attributes.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()));break;case 2:p.startTimeUnixNano=r.fixed64();break;case 3:p.timeUnixNano=r.fixed64();break;case 4:p.count=r.fixed64();break;case 5:p.sum=r.double();break;case 6:p.quantileValues&amp;&amp;p.quantileValues.length||(p.quantileValues=[]),p.quantileValues.push(ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile.decode(r,r.uint32()));break;case 8:p.flags=r.uint32();break;default:r.skipType(7&amp;y)}}return p},SummaryDataPoint.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},SummaryDataPoint.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.attributes&amp;&amp;r.hasOwnProperty("attributes")){if(!Array.isArray(r.attributes))return"attributes: array expected";for(var c=0;c&lt;r.attributes.length;++c)if(u=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.attributes[c]))return"attributes."+u}if(null!=r.startTimeUnixNano&amp;&amp;r.hasOwnProperty("startTimeUnixNano")&amp;&amp;!(se.isInteger(r.startTimeUnixNano)||r.startTimeUnixNano&amp;&amp;se.isInteger(r.startTimeUnixNano.low)&amp;&amp;se.isInteger(r.startTimeUnixNano.high)))return"startTimeUnixNano: integer|Long expected";if(null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;!(se.isInteger(r.timeUnixNano)||r.timeUnixNano&amp;&amp;se.isInteger(r.timeUnixNano.low)&amp;&amp;se.isInteger(r.timeUnixNano.high)))return"timeUnixNano: integer|Long expected";if(null!=r.count&amp;&amp;r.hasOwnProperty("count")&amp;&amp;!(se.isInteger(r.count)||r.count&amp;&amp;se.isInteger(r.count.low)&amp;&amp;se.isInteger(r.count.high)))return"count: integer|Long expected";if(null!=r.sum&amp;&amp;r.hasOwnProperty("sum")&amp;&amp;"number"!=typeof r.sum)return"sum: number expected";if(null!=r.quantileValues&amp;&amp;r.hasOwnProperty("quantileValues")){if(!Array.isArray(r.quantileValues))return"quantileValues: array expected";for(c=0;c&lt;r.quantileValues.length;++c){var u;if(u=ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile.verify(r.quantileValues[c]))return"quantileValues."+u}}return null!=r.flags&amp;&amp;r.hasOwnProperty("flags")&amp;&amp;!se.isInteger(r.flags)?"flags: integer expected":null},SummaryDataPoint.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.SummaryDataPoint)return r;var c=new ue.opentelemetry.proto.metrics.v1.SummaryDataPoint;if(r.attributes){if(!Array.isArray(r.attributes))throw TypeError(".opentelemetry.proto.metrics.v1.SummaryDataPoint.attributes: array expected");c.attributes=[];for(var u=0;u&lt;r.attributes.length;++u){if("object"!=typeof r.attributes[u])throw TypeError(".opentelemetry.proto.metrics.v1.SummaryDataPoint.attributes: object expected");c.attributes[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.attributes[u])}}if(null!=r.startTimeUnixNano&amp;&amp;(se.Long?(c.startTimeUnixNano=se.Long.fromValue(r.startTimeUnixNano)).unsigned=!1:"string"==typeof r.startTimeUnixNano?c.startTimeUnixNano=parseInt(r.startTimeUnixNano,10):"number"==typeof r.startTimeUnixNano?c.startTimeUnixNano=r.startTimeUnixNano:"object"==typeof r.startTimeUnixNano&amp;&amp;(c.startTimeUnixNano=new se.LongBits(r.startTimeUnixNano.low&gt;&gt;&gt;0,r.startTimeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.timeUnixNano&amp;&amp;(se.Long?(c.timeUnixNano=se.Long.fromValue(r.timeUnixNano)).unsigned=!1:"string"==typeof r.timeUnixNano?c.timeUnixNano=parseInt(r.timeUnixNano,10):"number"==typeof r.timeUnixNano?c.timeUnixNano=r.timeUnixNano:"object"==typeof r.timeUnixNano&amp;&amp;(c.timeUnixNano=new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.count&amp;&amp;(se.Long?(c.count=se.Long.fromValue(r.count)).unsigned=!1:"string"==typeof r.count?c.count=parseInt(r.count,10):"number"==typeof r.count?c.count=r.count:"object"==typeof r.count&amp;&amp;(c.count=new se.LongBits(r.count.low&gt;&gt;&gt;0,r.count.high&gt;&gt;&gt;0).toNumber())),null!=r.sum&amp;&amp;(c.sum=Number(r.sum)),r.quantileValues){if(!Array.isArray(r.quantileValues))throw TypeError(".opentelemetry.proto.metrics.v1.SummaryDataPoint.quantileValues: array expected");for(c.quantileValues=[],u=0;u&lt;r.quantileValues.length;++u){if("object"!=typeof r.quantileValues[u])throw TypeError(".opentelemetry.proto.metrics.v1.SummaryDataPoint.quantileValues: object expected");c.quantileValues[u]=ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile.fromObject(r.quantileValues[u])}}return null!=r.flags&amp;&amp;(c.flags=r.flags&gt;&gt;&gt;0),c},SummaryDataPoint.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.quantileValues=[],u.attributes=[]),c.defaults){if(se.Long){var p=new se.Long(0,0,!1);u.startTimeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p}else u.startTimeUnixNano=c.longs===String?"0":0;se.Long?(p=new se.Long(0,0,!1),u.timeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p):u.timeUnixNano=c.longs===String?"0":0,se.Long?(p=new se.Long(0,0,!1),u.count=c.longs===String?p.toString():c.longs===Number?p.toNumber():p):u.count=c.longs===String?"0":0,u.sum=0,u.flags=0}if(null!=r.startTimeUnixNano&amp;&amp;r.hasOwnProperty("startTimeUnixNano")&amp;&amp;("number"==typeof r.startTimeUnixNano?u.startTimeUnixNano=c.longs===String?String(r.startTimeUnixNano):r.startTimeUnixNano:u.startTimeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.startTimeUnixNano):c.longs===Number?new se.LongBits(r.startTimeUnixNano.low&gt;&gt;&gt;0,r.startTimeUnixNano.high&gt;&gt;&gt;0).toNumber():r.startTimeUnixNano),null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;("number"==typeof r.timeUnixNano?u.timeUnixNano=c.longs===String?String(r.timeUnixNano):r.timeUnixNano:u.timeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.timeUnixNano):c.longs===Number?new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber():r.timeUnixNano),null!=r.count&amp;&amp;r.hasOwnProperty("count")&amp;&amp;("number"==typeof r.count?u.count=c.longs===String?String(r.count):r.count:u.count=c.longs===String?se.Long.prototype.toString.call(r.count):c.longs===Number?new se.LongBits(r.count.low&gt;&gt;&gt;0,r.count.high&gt;&gt;&gt;0).toNumber():r.count),null!=r.sum&amp;&amp;r.hasOwnProperty("sum")&amp;&amp;(u.sum=c.json&amp;&amp;!isFinite(r.sum)?String(r.sum):r.sum),r.quantileValues&amp;&amp;r.quantileValues.length){u.quantileValues=[];for(var y=0;y&lt;r.quantileValues.length;++y)u.quantileValues[y]=ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile.toObject(r.quantileValues[y],c)}if(r.attributes&amp;&amp;r.attributes.length)for(u.attributes=[],y=0;y&lt;r.attributes.length;++y)u.attributes[y]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.attributes[y],c);return null!=r.flags&amp;&amp;r.hasOwnProperty("flags")&amp;&amp;(u.flags=r.flags),u},SummaryDataPoint.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},SummaryDataPoint.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.SummaryDataPoint"},SummaryDataPoint.ValueAtQuantile=function(){function ValueAtQuantile(r){if(r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ValueAtQuantile.prototype.quantile=null,ValueAtQuantile.prototype.value=null,ValueAtQuantile.create=function create(r){return new ValueAtQuantile(r)},ValueAtQuantile.encode=function encode(r,c){return c||(c=ae.create()),null!=r.quantile&amp;&amp;Object.hasOwnProperty.call(r,"quantile")&amp;&amp;c.uint32(9).double(r.quantile),null!=r.value&amp;&amp;Object.hasOwnProperty.call(r,"value")&amp;&amp;c.uint32(17).double(r.value),c},ValueAtQuantile.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ValueAtQuantile.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.quantile=r.double();break;case 2:p.value=r.double();break;default:r.skipType(7&amp;y)}}return p},ValueAtQuantile.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ValueAtQuantile.verify=function verify(r){return"object"!=typeof r||null===r?"object expected":null!=r.quantile&amp;&amp;r.hasOwnProperty("quantile")&amp;&amp;"number"!=typeof r.quantile?"quantile: number expected":null!=r.value&amp;&amp;r.hasOwnProperty("value")&amp;&amp;"number"!=typeof r.value?"value: number expected":null},ValueAtQuantile.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile)return r;var c=new ue.opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile;return null!=r.quantile&amp;&amp;(c.quantile=Number(r.quantile)),null!=r.value&amp;&amp;(c.value=Number(r.value)),c},ValueAtQuantile.toObject=function toObject(r,c){c||(c={});var u={};return c.defaults&amp;&amp;(u.quantile=0,u.value=0),null!=r.quantile&amp;&amp;r.hasOwnProperty("quantile")&amp;&amp;(u.quantile=c.json&amp;&amp;!isFinite(r.quantile)?String(r.quantile):r.quantile),null!=r.value&amp;&amp;r.hasOwnProperty("value")&amp;&amp;(u.value=c.json&amp;&amp;!isFinite(r.value)?String(r.value):r.value),u},ValueAtQuantile.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ValueAtQuantile.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.SummaryDataPoint.ValueAtQuantile"},ValueAtQuantile}(),SummaryDataPoint}(),u.Exemplar=function(){function Exemplar(r){if(this.filteredAttributes=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}var r;return Exemplar.prototype.filteredAttributes=se.emptyArray,Exemplar.prototype.timeUnixNano=null,Exemplar.prototype.asDouble=null,Exemplar.prototype.asInt=null,Exemplar.prototype.spanId=null,Exemplar.prototype.traceId=null,Object.defineProperty(Exemplar.prototype,"value",{get:se.oneOfGetter(r=["asDouble","asInt"]),set:se.oneOfSetter(r)}),Exemplar.create=function create(r){return new Exemplar(r)},Exemplar.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.timeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"timeUnixNano")&amp;&amp;c.uint32(17).fixed64(r.timeUnixNano),null!=r.asDouble&amp;&amp;Object.hasOwnProperty.call(r,"asDouble")&amp;&amp;c.uint32(25).double(r.asDouble),null!=r.spanId&amp;&amp;Object.hasOwnProperty.call(r,"spanId")&amp;&amp;c.uint32(34).bytes(r.spanId),null!=r.traceId&amp;&amp;Object.hasOwnProperty.call(r,"traceId")&amp;&amp;c.uint32(42).bytes(r.traceId),null!=r.asInt&amp;&amp;Object.hasOwnProperty.call(r,"asInt")&amp;&amp;c.uint32(49).sfixed64(r.asInt),null!=r.filteredAttributes&amp;&amp;r.filteredAttributes.length)for(var u=0;u&lt;r.filteredAttributes.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.filteredAttributes[u],c.uint32(58).fork()).ldelim();return c},Exemplar.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},Exemplar.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.metrics.v1.Exemplar;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 7:p.filteredAttributes&amp;&amp;p.filteredAttributes.length||(p.filteredAttributes=[]),p.filteredAttributes.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()));break;case 2:p.timeUnixNano=r.fixed64();break;case 3:p.asDouble=r.double();break;case 6:p.asInt=r.sfixed64();break;case 4:p.spanId=r.bytes();break;case 5:p.traceId=r.bytes();break;default:r.skipType(7&amp;y)}}return p},Exemplar.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},Exemplar.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";var c={};if(null!=r.filteredAttributes&amp;&amp;r.hasOwnProperty("filteredAttributes")){if(!Array.isArray(r.filteredAttributes))return"filteredAttributes: array expected";for(var u=0;u&lt;r.filteredAttributes.length;++u){var p=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.filteredAttributes[u]);if(p)return"filteredAttributes."+p}}if(null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;!(se.isInteger(r.timeUnixNano)||r.timeUnixNano&amp;&amp;se.isInteger(r.timeUnixNano.low)&amp;&amp;se.isInteger(r.timeUnixNano.high)))return"timeUnixNano: integer|Long expected";if(null!=r.asDouble&amp;&amp;r.hasOwnProperty("asDouble")&amp;&amp;(c.value=1,"number"!=typeof r.asDouble))return"asDouble: number expected";if(null!=r.asInt&amp;&amp;r.hasOwnProperty("asInt")){if(1===c.value)return"value: multiple values";if(c.value=1,!(se.isInteger(r.asInt)||r.asInt&amp;&amp;se.isInteger(r.asInt.low)&amp;&amp;se.isInteger(r.asInt.high)))return"asInt: integer|Long expected"}return null!=r.spanId&amp;&amp;r.hasOwnProperty("spanId")&amp;&amp;!(r.spanId&amp;&amp;"number"==typeof r.spanId.length||se.isString(r.spanId))?"spanId: buffer expected":null!=r.traceId&amp;&amp;r.hasOwnProperty("traceId")&amp;&amp;!(r.traceId&amp;&amp;"number"==typeof r.traceId.length||se.isString(r.traceId))?"traceId: buffer expected":null},Exemplar.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.metrics.v1.Exemplar)return r;var c=new ue.opentelemetry.proto.metrics.v1.Exemplar;if(r.filteredAttributes){if(!Array.isArray(r.filteredAttributes))throw TypeError(".opentelemetry.proto.metrics.v1.Exemplar.filteredAttributes: array expected");c.filteredAttributes=[];for(var u=0;u&lt;r.filteredAttributes.length;++u){if("object"!=typeof r.filteredAttributes[u])throw TypeError(".opentelemetry.proto.metrics.v1.Exemplar.filteredAttributes: object expected");c.filteredAttributes[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.filteredAttributes[u])}}return null!=r.timeUnixNano&amp;&amp;(se.Long?(c.timeUnixNano=se.Long.fromValue(r.timeUnixNano)).unsigned=!1:"string"==typeof r.timeUnixNano?c.timeUnixNano=parseInt(r.timeUnixNano,10):"number"==typeof r.timeUnixNano?c.timeUnixNano=r.timeUnixNano:"object"==typeof r.timeUnixNano&amp;&amp;(c.timeUnixNano=new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.asDouble&amp;&amp;(c.asDouble=Number(r.asDouble)),null!=r.asInt&amp;&amp;(se.Long?(c.asInt=se.Long.fromValue(r.asInt)).unsigned=!1:"string"==typeof r.asInt?c.asInt=parseInt(r.asInt,10):"number"==typeof r.asInt?c.asInt=r.asInt:"object"==typeof r.asInt&amp;&amp;(c.asInt=new se.LongBits(r.asInt.low&gt;&gt;&gt;0,r.asInt.high&gt;&gt;&gt;0).toNumber())),null!=r.spanId&amp;&amp;("string"==typeof r.spanId?se.base64.decode(r.spanId,c.spanId=se.newBuffer(se.base64.length(r.spanId)),0):r.spanId.length&gt;=0&amp;&amp;(c.spanId=r.spanId)),null!=r.traceId&amp;&amp;("string"==typeof r.traceId?se.base64.decode(r.traceId,c.traceId=se.newBuffer(se.base64.length(r.traceId)),0):r.traceId.length&gt;=0&amp;&amp;(c.traceId=r.traceId)),c},Exemplar.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.filteredAttributes=[]),c.defaults){if(se.Long){var p=new se.Long(0,0,!1);u.timeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p}else u.timeUnixNano=c.longs===String?"0":0;c.bytes===String?u.spanId="":(u.spanId=[],c.bytes!==Array&amp;&amp;(u.spanId=se.newBuffer(u.spanId))),c.bytes===String?u.traceId="":(u.traceId=[],c.bytes!==Array&amp;&amp;(u.traceId=se.newBuffer(u.traceId)))}if(null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;("number"==typeof r.timeUnixNano?u.timeUnixNano=c.longs===String?String(r.timeUnixNano):r.timeUnixNano:u.timeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.timeUnixNano):c.longs===Number?new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber():r.timeUnixNano),null!=r.asDouble&amp;&amp;r.hasOwnProperty("asDouble")&amp;&amp;(u.asDouble=c.json&amp;&amp;!isFinite(r.asDouble)?String(r.asDouble):r.asDouble,c.oneofs&amp;&amp;(u.value="asDouble")),null!=r.spanId&amp;&amp;r.hasOwnProperty("spanId")&amp;&amp;(u.spanId=c.bytes===String?se.base64.encode(r.spanId,0,r.spanId.length):c.bytes===Array?Array.prototype.slice.call(r.spanId):r.spanId),null!=r.traceId&amp;&amp;r.hasOwnProperty("traceId")&amp;&amp;(u.traceId=c.bytes===String?se.base64.encode(r.traceId,0,r.traceId.length):c.bytes===Array?Array.prototype.slice.call(r.traceId):r.traceId),null!=r.asInt&amp;&amp;r.hasOwnProperty("asInt")&amp;&amp;("number"==typeof r.asInt?u.asInt=c.longs===String?String(r.asInt):r.asInt:u.asInt=c.longs===String?se.Long.prototype.toString.call(r.asInt):c.longs===Number?new se.LongBits(r.asInt.low&gt;&gt;&gt;0,r.asInt.high&gt;&gt;&gt;0).toNumber():r.asInt,c.oneofs&amp;&amp;(u.value="asInt")),r.filteredAttributes&amp;&amp;r.filteredAttributes.length){u.filteredAttributes=[];for(var y=0;y&lt;r.filteredAttributes.length;++y)u.filteredAttributes[y]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.filteredAttributes[y],c)}return u},Exemplar.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},Exemplar.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.metrics.v1.Exemplar"},Exemplar}(),u}(),r}(),K.logs=function(){var r={};return r.v1=function(){var r,c,u={};return u.LogsData=function(){function LogsData(r){if(this.resourceLogs=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return LogsData.prototype.resourceLogs=se.emptyArray,LogsData.create=function create(r){return new LogsData(r)},LogsData.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.resourceLogs&amp;&amp;r.resourceLogs.length)for(var u=0;u&lt;r.resourceLogs.length;++u)ue.opentelemetry.proto.logs.v1.ResourceLogs.encode(r.resourceLogs[u],c.uint32(10).fork()).ldelim();return c},LogsData.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},LogsData.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.logs.v1.LogsData;r.pos&lt;u;){var y=r.uint32();y&gt;&gt;&gt;3==1?(p.resourceLogs&amp;&amp;p.resourceLogs.length||(p.resourceLogs=[]),p.resourceLogs.push(ue.opentelemetry.proto.logs.v1.ResourceLogs.decode(r,r.uint32()))):r.skipType(7&amp;y)}return p},LogsData.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},LogsData.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.resourceLogs&amp;&amp;r.hasOwnProperty("resourceLogs")){if(!Array.isArray(r.resourceLogs))return"resourceLogs: array expected";for(var c=0;c&lt;r.resourceLogs.length;++c){var u=ue.opentelemetry.proto.logs.v1.ResourceLogs.verify(r.resourceLogs[c]);if(u)return"resourceLogs."+u}}return null},LogsData.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.logs.v1.LogsData)return r;var c=new ue.opentelemetry.proto.logs.v1.LogsData;if(r.resourceLogs){if(!Array.isArray(r.resourceLogs))throw TypeError(".opentelemetry.proto.logs.v1.LogsData.resourceLogs: array expected");c.resourceLogs=[];for(var u=0;u&lt;r.resourceLogs.length;++u){if("object"!=typeof r.resourceLogs[u])throw TypeError(".opentelemetry.proto.logs.v1.LogsData.resourceLogs: object expected");c.resourceLogs[u]=ue.opentelemetry.proto.logs.v1.ResourceLogs.fromObject(r.resourceLogs[u])}}return c},LogsData.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.resourceLogs=[]),r.resourceLogs&amp;&amp;r.resourceLogs.length){u.resourceLogs=[];for(var p=0;p&lt;r.resourceLogs.length;++p)u.resourceLogs[p]=ue.opentelemetry.proto.logs.v1.ResourceLogs.toObject(r.resourceLogs[p],c)}return u},LogsData.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},LogsData.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.logs.v1.LogsData"},LogsData}(),u.ResourceLogs=function(){function ResourceLogs(r){if(this.scopeLogs=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ResourceLogs.prototype.resource=null,ResourceLogs.prototype.scopeLogs=se.emptyArray,ResourceLogs.prototype.schemaUrl=null,ResourceLogs.create=function create(r){return new ResourceLogs(r)},ResourceLogs.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.resource&amp;&amp;Object.hasOwnProperty.call(r,"resource")&amp;&amp;ue.opentelemetry.proto.resource.v1.Resource.encode(r.resource,c.uint32(10).fork()).ldelim(),null!=r.scopeLogs&amp;&amp;r.scopeLogs.length)for(var u=0;u&lt;r.scopeLogs.length;++u)ue.opentelemetry.proto.logs.v1.ScopeLogs.encode(r.scopeLogs[u],c.uint32(18).fork()).ldelim();return null!=r.schemaUrl&amp;&amp;Object.hasOwnProperty.call(r,"schemaUrl")&amp;&amp;c.uint32(26).string(r.schemaUrl),c},ResourceLogs.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ResourceLogs.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.logs.v1.ResourceLogs;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.resource=ue.opentelemetry.proto.resource.v1.Resource.decode(r,r.uint32());break;case 2:p.scopeLogs&amp;&amp;p.scopeLogs.length||(p.scopeLogs=[]),p.scopeLogs.push(ue.opentelemetry.proto.logs.v1.ScopeLogs.decode(r,r.uint32()));break;case 3:p.schemaUrl=r.string();break;default:r.skipType(7&amp;y)}}return p},ResourceLogs.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ResourceLogs.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.resource&amp;&amp;r.hasOwnProperty("resource")&amp;&amp;(u=ue.opentelemetry.proto.resource.v1.Resource.verify(r.resource)))return"resource."+u;if(null!=r.scopeLogs&amp;&amp;r.hasOwnProperty("scopeLogs")){if(!Array.isArray(r.scopeLogs))return"scopeLogs: array expected";for(var c=0;c&lt;r.scopeLogs.length;++c){var u;if(u=ue.opentelemetry.proto.logs.v1.ScopeLogs.verify(r.scopeLogs[c]))return"scopeLogs."+u}}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;!se.isString(r.schemaUrl)?"schemaUrl: string expected":null},ResourceLogs.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.logs.v1.ResourceLogs)return r;var c=new ue.opentelemetry.proto.logs.v1.ResourceLogs;if(null!=r.resource){if("object"!=typeof r.resource)throw TypeError(".opentelemetry.proto.logs.v1.ResourceLogs.resource: object expected");c.resource=ue.opentelemetry.proto.resource.v1.Resource.fromObject(r.resource)}if(r.scopeLogs){if(!Array.isArray(r.scopeLogs))throw TypeError(".opentelemetry.proto.logs.v1.ResourceLogs.scopeLogs: array expected");c.scopeLogs=[];for(var u=0;u&lt;r.scopeLogs.length;++u){if("object"!=typeof r.scopeLogs[u])throw TypeError(".opentelemetry.proto.logs.v1.ResourceLogs.scopeLogs: object expected");c.scopeLogs[u]=ue.opentelemetry.proto.logs.v1.ScopeLogs.fromObject(r.scopeLogs[u])}}return null!=r.schemaUrl&amp;&amp;(c.schemaUrl=String(r.schemaUrl)),c},ResourceLogs.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.scopeLogs=[]),c.defaults&amp;&amp;(u.resource=null,u.schemaUrl=""),null!=r.resource&amp;&amp;r.hasOwnProperty("resource")&amp;&amp;(u.resource=ue.opentelemetry.proto.resource.v1.Resource.toObject(r.resource,c)),r.scopeLogs&amp;&amp;r.scopeLogs.length){u.scopeLogs=[];for(var p=0;p&lt;r.scopeLogs.length;++p)u.scopeLogs[p]=ue.opentelemetry.proto.logs.v1.ScopeLogs.toObject(r.scopeLogs[p],c)}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;(u.schemaUrl=r.schemaUrl),u},ResourceLogs.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ResourceLogs.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.logs.v1.ResourceLogs"},ResourceLogs}(),u.ScopeLogs=function(){function ScopeLogs(r){if(this.logRecords=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return ScopeLogs.prototype.scope=null,ScopeLogs.prototype.logRecords=se.emptyArray,ScopeLogs.prototype.schemaUrl=null,ScopeLogs.create=function create(r){return new ScopeLogs(r)},ScopeLogs.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.scope&amp;&amp;Object.hasOwnProperty.call(r,"scope")&amp;&amp;ue.opentelemetry.proto.common.v1.InstrumentationScope.encode(r.scope,c.uint32(10).fork()).ldelim(),null!=r.logRecords&amp;&amp;r.logRecords.length)for(var u=0;u&lt;r.logRecords.length;++u)ue.opentelemetry.proto.logs.v1.LogRecord.encode(r.logRecords[u],c.uint32(18).fork()).ldelim();return null!=r.schemaUrl&amp;&amp;Object.hasOwnProperty.call(r,"schemaUrl")&amp;&amp;c.uint32(26).string(r.schemaUrl),c},ScopeLogs.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},ScopeLogs.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.logs.v1.ScopeLogs;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.scope=ue.opentelemetry.proto.common.v1.InstrumentationScope.decode(r,r.uint32());break;case 2:p.logRecords&amp;&amp;p.logRecords.length||(p.logRecords=[]),p.logRecords.push(ue.opentelemetry.proto.logs.v1.LogRecord.decode(r,r.uint32()));break;case 3:p.schemaUrl=r.string();break;default:r.skipType(7&amp;y)}}return p},ScopeLogs.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},ScopeLogs.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.scope&amp;&amp;r.hasOwnProperty("scope")&amp;&amp;(u=ue.opentelemetry.proto.common.v1.InstrumentationScope.verify(r.scope)))return"scope."+u;if(null!=r.logRecords&amp;&amp;r.hasOwnProperty("logRecords")){if(!Array.isArray(r.logRecords))return"logRecords: array expected";for(var c=0;c&lt;r.logRecords.length;++c){var u;if(u=ue.opentelemetry.proto.logs.v1.LogRecord.verify(r.logRecords[c]))return"logRecords."+u}}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;!se.isString(r.schemaUrl)?"schemaUrl: string expected":null},ScopeLogs.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.logs.v1.ScopeLogs)return r;var c=new ue.opentelemetry.proto.logs.v1.ScopeLogs;if(null!=r.scope){if("object"!=typeof r.scope)throw TypeError(".opentelemetry.proto.logs.v1.ScopeLogs.scope: object expected");c.scope=ue.opentelemetry.proto.common.v1.InstrumentationScope.fromObject(r.scope)}if(r.logRecords){if(!Array.isArray(r.logRecords))throw TypeError(".opentelemetry.proto.logs.v1.ScopeLogs.logRecords: array expected");c.logRecords=[];for(var u=0;u&lt;r.logRecords.length;++u){if("object"!=typeof r.logRecords[u])throw TypeError(".opentelemetry.proto.logs.v1.ScopeLogs.logRecords: object expected");c.logRecords[u]=ue.opentelemetry.proto.logs.v1.LogRecord.fromObject(r.logRecords[u])}}return null!=r.schemaUrl&amp;&amp;(c.schemaUrl=String(r.schemaUrl)),c},ScopeLogs.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.logRecords=[]),c.defaults&amp;&amp;(u.scope=null,u.schemaUrl=""),null!=r.scope&amp;&amp;r.hasOwnProperty("scope")&amp;&amp;(u.scope=ue.opentelemetry.proto.common.v1.InstrumentationScope.toObject(r.scope,c)),r.logRecords&amp;&amp;r.logRecords.length){u.logRecords=[];for(var p=0;p&lt;r.logRecords.length;++p)u.logRecords[p]=ue.opentelemetry.proto.logs.v1.LogRecord.toObject(r.logRecords[p],c)}return null!=r.schemaUrl&amp;&amp;r.hasOwnProperty("schemaUrl")&amp;&amp;(u.schemaUrl=r.schemaUrl),u},ScopeLogs.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},ScopeLogs.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.logs.v1.ScopeLogs"},ScopeLogs}(),u.SeverityNumber=(r={},(c=Object.create(r))[r[0]="SEVERITY_NUMBER_UNSPECIFIED"]=0,c[r[1]="SEVERITY_NUMBER_TRACE"]=1,c[r[2]="SEVERITY_NUMBER_TRACE2"]=2,c[r[3]="SEVERITY_NUMBER_TRACE3"]=3,c[r[4]="SEVERITY_NUMBER_TRACE4"]=4,c[r[5]="SEVERITY_NUMBER_DEBUG"]=5,c[r[6]="SEVERITY_NUMBER_DEBUG2"]=6,c[r[7]="SEVERITY_NUMBER_DEBUG3"]=7,c[r[8]="SEVERITY_NUMBER_DEBUG4"]=8,c[r[9]="SEVERITY_NUMBER_INFO"]=9,c[r[10]="SEVERITY_NUMBER_INFO2"]=10,c[r[11]="SEVERITY_NUMBER_INFO3"]=11,c[r[12]="SEVERITY_NUMBER_INFO4"]=12,c[r[13]="SEVERITY_NUMBER_WARN"]=13,c[r[14]="SEVERITY_NUMBER_WARN2"]=14,c[r[15]="SEVERITY_NUMBER_WARN3"]=15,c[r[16]="SEVERITY_NUMBER_WARN4"]=16,c[r[17]="SEVERITY_NUMBER_ERROR"]=17,c[r[18]="SEVERITY_NUMBER_ERROR2"]=18,c[r[19]="SEVERITY_NUMBER_ERROR3"]=19,c[r[20]="SEVERITY_NUMBER_ERROR4"]=20,c[r[21]="SEVERITY_NUMBER_FATAL"]=21,c[r[22]="SEVERITY_NUMBER_FATAL2"]=22,c[r[23]="SEVERITY_NUMBER_FATAL3"]=23,c[r[24]="SEVERITY_NUMBER_FATAL4"]=24,c),u.LogRecordFlags=function(){var r={},c=Object.create(r);return c[r[0]="LOG_RECORD_FLAGS_DO_NOT_USE"]=0,c[r[255]="LOG_RECORD_FLAGS_TRACE_FLAGS_MASK"]=255,c}(),u.LogRecord=function(){function LogRecord(r){if(this.attributes=[],r)for(var c=Object.keys(r),u=0;u&lt;c.length;++u)null!=r[c[u]]&amp;&amp;(this[c[u]]=r[c[u]])}return LogRecord.prototype.timeUnixNano=null,LogRecord.prototype.observedTimeUnixNano=null,LogRecord.prototype.severityNumber=null,LogRecord.prototype.severityText=null,LogRecord.prototype.body=null,LogRecord.prototype.attributes=se.emptyArray,LogRecord.prototype.droppedAttributesCount=null,LogRecord.prototype.flags=null,LogRecord.prototype.traceId=null,LogRecord.prototype.spanId=null,LogRecord.create=function create(r){return new LogRecord(r)},LogRecord.encode=function encode(r,c){if(c||(c=ae.create()),null!=r.timeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"timeUnixNano")&amp;&amp;c.uint32(9).fixed64(r.timeUnixNano),null!=r.severityNumber&amp;&amp;Object.hasOwnProperty.call(r,"severityNumber")&amp;&amp;c.uint32(16).int32(r.severityNumber),null!=r.severityText&amp;&amp;Object.hasOwnProperty.call(r,"severityText")&amp;&amp;c.uint32(26).string(r.severityText),null!=r.body&amp;&amp;Object.hasOwnProperty.call(r,"body")&amp;&amp;ue.opentelemetry.proto.common.v1.AnyValue.encode(r.body,c.uint32(42).fork()).ldelim(),null!=r.attributes&amp;&amp;r.attributes.length)for(var u=0;u&lt;r.attributes.length;++u)ue.opentelemetry.proto.common.v1.KeyValue.encode(r.attributes[u],c.uint32(50).fork()).ldelim();return null!=r.droppedAttributesCount&amp;&amp;Object.hasOwnProperty.call(r,"droppedAttributesCount")&amp;&amp;c.uint32(56).uint32(r.droppedAttributesCount),null!=r.flags&amp;&amp;Object.hasOwnProperty.call(r,"flags")&amp;&amp;c.uint32(69).fixed32(r.flags),null!=r.traceId&amp;&amp;Object.hasOwnProperty.call(r,"traceId")&amp;&amp;c.uint32(74).bytes(r.traceId),null!=r.spanId&amp;&amp;Object.hasOwnProperty.call(r,"spanId")&amp;&amp;c.uint32(82).bytes(r.spanId),null!=r.observedTimeUnixNano&amp;&amp;Object.hasOwnProperty.call(r,"observedTimeUnixNano")&amp;&amp;c.uint32(89).fixed64(r.observedTimeUnixNano),c},LogRecord.encodeDelimited=function encodeDelimited(r,c){return this.encode(r,c).ldelim()},LogRecord.decode=function decode(r,c){r instanceof ie||(r=ie.create(r));for(var u=void 0===c?r.len:r.pos+c,p=new ue.opentelemetry.proto.logs.v1.LogRecord;r.pos&lt;u;){var y=r.uint32();switch(y&gt;&gt;&gt;3){case 1:p.timeUnixNano=r.fixed64();break;case 11:p.observedTimeUnixNano=r.fixed64();break;case 2:p.severityNumber=r.int32();break;case 3:p.severityText=r.string();break;case 5:p.body=ue.opentelemetry.proto.common.v1.AnyValue.decode(r,r.uint32());break;case 6:p.attributes&amp;&amp;p.attributes.length||(p.attributes=[]),p.attributes.push(ue.opentelemetry.proto.common.v1.KeyValue.decode(r,r.uint32()));break;case 7:p.droppedAttributesCount=r.uint32();break;case 8:p.flags=r.fixed32();break;case 9:p.traceId=r.bytes();break;case 10:p.spanId=r.bytes();break;default:r.skipType(7&amp;y)}}return p},LogRecord.decodeDelimited=function decodeDelimited(r){return r instanceof ie||(r=new ie(r)),this.decode(r,r.uint32())},LogRecord.verify=function verify(r){if("object"!=typeof r||null===r)return"object expected";if(null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;!(se.isInteger(r.timeUnixNano)||r.timeUnixNano&amp;&amp;se.isInteger(r.timeUnixNano.low)&amp;&amp;se.isInteger(r.timeUnixNano.high)))return"timeUnixNano: integer|Long expected";if(null!=r.observedTimeUnixNano&amp;&amp;r.hasOwnProperty("observedTimeUnixNano")&amp;&amp;!(se.isInteger(r.observedTimeUnixNano)||r.observedTimeUnixNano&amp;&amp;se.isInteger(r.observedTimeUnixNano.low)&amp;&amp;se.isInteger(r.observedTimeUnixNano.high)))return"observedTimeUnixNano: integer|Long expected";if(null!=r.severityNumber&amp;&amp;r.hasOwnProperty("severityNumber"))switch(r.severityNumber){default:return"severityNumber: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:}if(null!=r.severityText&amp;&amp;r.hasOwnProperty("severityText")&amp;&amp;!se.isString(r.severityText))return"severityText: string expected";if(null!=r.body&amp;&amp;r.hasOwnProperty("body")&amp;&amp;(u=ue.opentelemetry.proto.common.v1.AnyValue.verify(r.body)))return"body."+u;if(null!=r.attributes&amp;&amp;r.hasOwnProperty("attributes")){if(!Array.isArray(r.attributes))return"attributes: array expected";for(var c=0;c&lt;r.attributes.length;++c){var u;if(u=ue.opentelemetry.proto.common.v1.KeyValue.verify(r.attributes[c]))return"attributes."+u}}return null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;!se.isInteger(r.droppedAttributesCount)?"droppedAttributesCount: integer expected":null!=r.flags&amp;&amp;r.hasOwnProperty("flags")&amp;&amp;!se.isInteger(r.flags)?"flags: integer expected":null!=r.traceId&amp;&amp;r.hasOwnProperty("traceId")&amp;&amp;!(r.traceId&amp;&amp;"number"==typeof r.traceId.length||se.isString(r.traceId))?"traceId: buffer expected":null!=r.spanId&amp;&amp;r.hasOwnProperty("spanId")&amp;&amp;!(r.spanId&amp;&amp;"number"==typeof r.spanId.length||se.isString(r.spanId))?"spanId: buffer expected":null},LogRecord.fromObject=function fromObject(r){if(r instanceof ue.opentelemetry.proto.logs.v1.LogRecord)return r;var c=new ue.opentelemetry.proto.logs.v1.LogRecord;switch(null!=r.timeUnixNano&amp;&amp;(se.Long?(c.timeUnixNano=se.Long.fromValue(r.timeUnixNano)).unsigned=!1:"string"==typeof r.timeUnixNano?c.timeUnixNano=parseInt(r.timeUnixNano,10):"number"==typeof r.timeUnixNano?c.timeUnixNano=r.timeUnixNano:"object"==typeof r.timeUnixNano&amp;&amp;(c.timeUnixNano=new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber())),null!=r.observedTimeUnixNano&amp;&amp;(se.Long?(c.observedTimeUnixNano=se.Long.fromValue(r.observedTimeUnixNano)).unsigned=!1:"string"==typeof r.observedTimeUnixNano?c.observedTimeUnixNano=parseInt(r.observedTimeUnixNano,10):"number"==typeof r.observedTimeUnixNano?c.observedTimeUnixNano=r.observedTimeUnixNano:"object"==typeof r.observedTimeUnixNano&amp;&amp;(c.observedTimeUnixNano=new se.LongBits(r.observedTimeUnixNano.low&gt;&gt;&gt;0,r.observedTimeUnixNano.high&gt;&gt;&gt;0).toNumber())),r.severityNumber){default:if("number"==typeof r.severityNumber){c.severityNumber=r.severityNumber;break}break;case"SEVERITY_NUMBER_UNSPECIFIED":case 0:c.severityNumber=0;break;case"SEVERITY_NUMBER_TRACE":case 1:c.severityNumber=1;break;case"SEVERITY_NUMBER_TRACE2":case 2:c.severityNumber=2;break;case"SEVERITY_NUMBER_TRACE3":case 3:c.severityNumber=3;break;case"SEVERITY_NUMBER_TRACE4":case 4:c.severityNumber=4;break;case"SEVERITY_NUMBER_DEBUG":case 5:c.severityNumber=5;break;case"SEVERITY_NUMBER_DEBUG2":case 6:c.severityNumber=6;break;case"SEVERITY_NUMBER_DEBUG3":case 7:c.severityNumber=7;break;case"SEVERITY_NUMBER_DEBUG4":case 8:c.severityNumber=8;break;case"SEVERITY_NUMBER_INFO":case 9:c.severityNumber=9;break;case"SEVERITY_NUMBER_INFO2":case 10:c.severityNumber=10;break;case"SEVERITY_NUMBER_INFO3":case 11:c.severityNumber=11;break;case"SEVERITY_NUMBER_INFO4":case 12:c.severityNumber=12;break;case"SEVERITY_NUMBER_WARN":case 13:c.severityNumber=13;break;case"SEVERITY_NUMBER_WARN2":case 14:c.severityNumber=14;break;case"SEVERITY_NUMBER_WARN3":case 15:c.severityNumber=15;break;case"SEVERITY_NUMBER_WARN4":case 16:c.severityNumber=16;break;case"SEVERITY_NUMBER_ERROR":case 17:c.severityNumber=17;break;case"SEVERITY_NUMBER_ERROR2":case 18:c.severityNumber=18;break;case"SEVERITY_NUMBER_ERROR3":case 19:c.severityNumber=19;break;case"SEVERITY_NUMBER_ERROR4":case 20:c.severityNumber=20;break;case"SEVERITY_NUMBER_FATAL":case 21:c.severityNumber=21;break;case"SEVERITY_NUMBER_FATAL2":case 22:c.severityNumber=22;break;case"SEVERITY_NUMBER_FATAL3":case 23:c.severityNumber=23;break;case"SEVERITY_NUMBER_FATAL4":case 24:c.severityNumber=24}if(null!=r.severityText&amp;&amp;(c.severityText=String(r.severityText)),null!=r.body){if("object"!=typeof r.body)throw TypeError(".opentelemetry.proto.logs.v1.LogRecord.body: object expected");c.body=ue.opentelemetry.proto.common.v1.AnyValue.fromObject(r.body)}if(r.attributes){if(!Array.isArray(r.attributes))throw TypeError(".opentelemetry.proto.logs.v1.LogRecord.attributes: array expected");c.attributes=[];for(var u=0;u&lt;r.attributes.length;++u){if("object"!=typeof r.attributes[u])throw TypeError(".opentelemetry.proto.logs.v1.LogRecord.attributes: object expected");c.attributes[u]=ue.opentelemetry.proto.common.v1.KeyValue.fromObject(r.attributes[u])}}return null!=r.droppedAttributesCount&amp;&amp;(c.droppedAttributesCount=r.droppedAttributesCount&gt;&gt;&gt;0),null!=r.flags&amp;&amp;(c.flags=r.flags&gt;&gt;&gt;0),null!=r.traceId&amp;&amp;("string"==typeof r.traceId?se.base64.decode(r.traceId,c.traceId=se.newBuffer(se.base64.length(r.traceId)),0):r.traceId.length&gt;=0&amp;&amp;(c.traceId=r.traceId)),null!=r.spanId&amp;&amp;("string"==typeof r.spanId?se.base64.decode(r.spanId,c.spanId=se.newBuffer(se.base64.length(r.spanId)),0):r.spanId.length&gt;=0&amp;&amp;(c.spanId=r.spanId)),c},LogRecord.toObject=function toObject(r,c){c||(c={});var u={};if((c.arrays||c.defaults)&amp;&amp;(u.attributes=[]),c.defaults){if(se.Long){var p=new se.Long(0,0,!1);u.timeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p}else u.timeUnixNano=c.longs===String?"0":0;u.severityNumber=c.enums===String?"SEVERITY_NUMBER_UNSPECIFIED":0,u.severityText="",u.body=null,u.droppedAttributesCount=0,u.flags=0,c.bytes===String?u.traceId="":(u.traceId=[],c.bytes!==Array&amp;&amp;(u.traceId=se.newBuffer(u.traceId))),c.bytes===String?u.spanId="":(u.spanId=[],c.bytes!==Array&amp;&amp;(u.spanId=se.newBuffer(u.spanId))),se.Long?(p=new se.Long(0,0,!1),u.observedTimeUnixNano=c.longs===String?p.toString():c.longs===Number?p.toNumber():p):u.observedTimeUnixNano=c.longs===String?"0":0}if(null!=r.timeUnixNano&amp;&amp;r.hasOwnProperty("timeUnixNano")&amp;&amp;("number"==typeof r.timeUnixNano?u.timeUnixNano=c.longs===String?String(r.timeUnixNano):r.timeUnixNano:u.timeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.timeUnixNano):c.longs===Number?new se.LongBits(r.timeUnixNano.low&gt;&gt;&gt;0,r.timeUnixNano.high&gt;&gt;&gt;0).toNumber():r.timeUnixNano),null!=r.severityNumber&amp;&amp;r.hasOwnProperty("severityNumber")&amp;&amp;(u.severityNumber=c.enums===String?void 0===ue.opentelemetry.proto.logs.v1.SeverityNumber[r.severityNumber]?r.severityNumber:ue.opentelemetry.proto.logs.v1.SeverityNumber[r.severityNumber]:r.severityNumber),null!=r.severityText&amp;&amp;r.hasOwnProperty("severityText")&amp;&amp;(u.severityText=r.severityText),null!=r.body&amp;&amp;r.hasOwnProperty("body")&amp;&amp;(u.body=ue.opentelemetry.proto.common.v1.AnyValue.toObject(r.body,c)),r.attributes&amp;&amp;r.attributes.length){u.attributes=[];for(var y=0;y&lt;r.attributes.length;++y)u.attributes[y]=ue.opentelemetry.proto.common.v1.KeyValue.toObject(r.attributes[y],c)}return null!=r.droppedAttributesCount&amp;&amp;r.hasOwnProperty("droppedAttributesCount")&amp;&amp;(u.droppedAttributesCount=r.droppedAttributesCount),null!=r.flags&amp;&amp;r.hasOwnProperty("flags")&amp;&amp;(u.flags=r.flags),null!=r.traceId&amp;&amp;r.hasOwnProperty("traceId")&amp;&amp;(u.traceId=c.bytes===String?se.base64.encode(r.traceId,0,r.traceId.length):c.bytes===Array?Array.prototype.slice.call(r.traceId):r.traceId),null!=r.spanId&amp;&amp;r.hasOwnProperty("spanId")&amp;&amp;(u.spanId=c.bytes===String?se.base64.encode(r.spanId,0,r.spanId.length):c.bytes===Array?Array.prototype.slice.call(r.spanId):r.spanId),null!=r.observedTimeUnixNano&amp;&amp;r.hasOwnProperty("observedTimeUnixNano")&amp;&amp;("number"==typeof r.observedTimeUnixNano?u.observedTimeUnixNano=c.longs===String?String(r.observedTimeUnixNano):r.observedTimeUnixNano:u.observedTimeUnixNano=c.longs===String?se.Long.prototype.toString.call(r.observedTimeUnixNano):c.longs===Number?new se.LongBits(r.observedTimeUnixNano.low&gt;&gt;&gt;0,r.observedTimeUnixNano.high&gt;&gt;&gt;0).toNumber():r.observedTimeUnixNano),u},LogRecord.prototype.toJSON=function toJSON(){return this.constructor.toObject(this,oe.util.toJSONOptions)},LogRecord.getTypeUrl=function getTypeUrl(r){return void 0===r&amp;&amp;(r="type.googleapis.com"),r+"/opentelemetry.proto.logs.v1.LogRecord"},LogRecord}(),u}(),r}(),K),J),r.exports=ue},34537:function(r){"use strict";r.exports=function asPromise(r,c){var u=new Array(arguments.length-1),p=0,y=2,w=!0;for(;y&lt;arguments.length;)u[p++]=arguments[y++];return new Promise((function executor(y,x){u[p]=function callback(r){if(w)if(w=!1,r)x(r);else{for(var c=new Array(arguments.length-1),u=0;u&lt;c.length;)c[u++]=arguments[u];y.apply(null,c)}};try{r.apply(c||null,u)}catch(r){w&amp;&amp;(w=!1,x(r))}}))}},97419:function(r,c){"use strict";var u=c;u.length=function length(r){var c=r.length;if(!c)return 0;for(var u=0;--c%4&gt;1&amp;&amp;"="===r.charAt(c);)++u;return Math.ceil(3*r.length)/4-u};for(var p=new Array(64),y=new Array(123),w=0;w&lt;64;)y[p[w]=w&lt;26?w+65:w&lt;52?w+71:w&lt;62?w-4:w-59|43]=w++;u.encode=function encode(r,c,u){for(var y,w=null,x=[],k=0,E=0;c&lt;u;){var I=r[c++];switch(E){case 0:x[k++]=p[I&gt;&gt;2],y=(3&amp;I)&lt;&lt;4,E=1;break;case 1:x[k++]=p[y|I&gt;&gt;4],y=(15&amp;I)&lt;&lt;2,E=2;break;case 2:x[k++]=p[y|I&gt;&gt;6],x[k++]=p[63&amp;I],E=0}k&gt;8191&amp;&amp;((w||(w=[])).push(String.fromCharCode.apply(String,x)),k=0)}return E&amp;&amp;(x[k++]=p[y],x[k++]=61,1===E&amp;&amp;(x[k++]=61)),w?(k&amp;&amp;w.push(String.fromCharCode.apply(String,x.slice(0,k))),w.join("")):String.fromCharCode.apply(String,x.slice(0,k))};var x="invalid encoding";u.decode=function decode(r,c,u){for(var p,w=u,k=0,E=0;E&lt;r.length;){var I=r.charCodeAt(E++);if(61===I&amp;&amp;k&gt;1)break;if(void 0===(I=y[I]))throw Error(x);switch(k){case 0:p=I,k=1;break;case 1:c[u++]=p&lt;&lt;2|(48&amp;I)&gt;&gt;4,p=I,k=2;break;case 2:c[u++]=(15&amp;p)&lt;&lt;4|(60&amp;I)&gt;&gt;2,p=I,k=3;break;case 3:c[u++]=(3&amp;p)&lt;&lt;6|I,k=0}}if(1===k)throw Error(x);return u-w},u.test=function test(r){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(r)}},19211:function(r){"use strict";function EventEmitter(){this._listeners={}}r.exports=EventEmitter,EventEmitter.prototype.on=function on(r,c,u){return(this._listeners[r]||(this._listeners[r]=[])).push({fn:c,ctx:u||this}),this},EventEmitter.prototype.off=function off(r,c){if(void 0===r)this._listeners={};else if(void 0===c)this._listeners[r]=[];else for(var u=this._listeners[r],p=0;p&lt;u.length;)u[p].fn===c?u.splice(p,1):++p;return this},EventEmitter.prototype.emit=function emit(r){var c=this._listeners[r];if(c){for(var u=[],p=1;p&lt;arguments.length;)u.push(arguments[p++]);for(p=0;p&lt;c.length;)c[p].fn.apply(c[p++].ctx,u)}return this}},10945:function(r){"use strict";function factory(r){return"undefined"!=typeof Float32Array?function(){var c=new Float32Array([-0]),u=new Uint8Array(c.buffer),p=128===u[3];function writeFloat_f32_cpy(r,p,y){c[0]=r,p[y]=u[0],p[y+1]=u[1],p[y+2]=u[2],p[y+3]=u[3]}function writeFloat_f32_rev(r,p,y){c[0]=r,p[y]=u[3],p[y+1]=u[2],p[y+2]=u[1],p[y+3]=u[0]}function readFloat_f32_cpy(r,p){return u[0]=r[p],u[1]=r[p+1],u[2]=r[p+2],u[3]=r[p+3],c[0]}function readFloat_f32_rev(r,p){return u[3]=r[p],u[2]=r[p+1],u[1]=r[p+2],u[0]=r[p+3],c[0]}r.writeFloatLE=p?writeFloat_f32_cpy:writeFloat_f32_rev,r.writeFloatBE=p?writeFloat_f32_rev:writeFloat_f32_cpy,r.readFloatLE=p?readFloat_f32_cpy:readFloat_f32_rev,r.readFloatBE=p?readFloat_f32_rev:readFloat_f32_cpy}():function(){function writeFloat_ieee754(r,c,u,p){var y=c&lt;0?1:0;if(y&amp;&amp;(c=-c),0===c)r(1/c&gt;0?0:2147483648,u,p);else if(isNaN(c))r(2143289344,u,p);else if(c&gt;34028234663852886e22)r((y&lt;&lt;31|2139095040)&gt;&gt;&gt;0,u,p);else if(c&lt;11754943508222875e-54)r((y&lt;&lt;31|Math.round(c/1401298464324817e-60))&gt;&gt;&gt;0,u,p);else{var w=Math.floor(Math.log(c)/Math.LN2);r((y&lt;&lt;31|w+127&lt;&lt;23|8388607&amp;Math.round(c*Math.pow(2,-w)*8388608))&gt;&gt;&gt;0,u,p)}}function readFloat_ieee754(r,c,u){var p=r(c,u),y=2*(p&gt;&gt;31)+1,w=p&gt;&gt;&gt;23&amp;255,x=8388607&amp;p;return 255===w?x?NaN:y*(1/0):0===w?1401298464324817e-60*y*x:y*Math.pow(2,w-150)*(x+8388608)}r.writeFloatLE=writeFloat_ieee754.bind(null,writeUintLE),r.writeFloatBE=writeFloat_ieee754.bind(null,writeUintBE),r.readFloatLE=readFloat_ieee754.bind(null,readUintLE),r.readFloatBE=readFloat_ieee754.bind(null,readUintBE)}(),"undefined"!=typeof Float64Array?function(){var c=new Float64Array([-0]),u=new Uint8Array(c.buffer),p=128===u[7];function writeDouble_f64_cpy(r,p,y){c[0]=r,p[y]=u[0],p[y+1]=u[1],p[y+2]=u[2],p[y+3]=u[3],p[y+4]=u[4],p[y+5]=u[5],p[y+6]=u[6],p[y+7]=u[7]}function writeDouble_f64_rev(r,p,y){c[0]=r,p[y]=u[7],p[y+1]=u[6],p[y+2]=u[5],p[y+3]=u[4],p[y+4]=u[3],p[y+5]=u[2],p[y+6]=u[1],p[y+7]=u[0]}function readDouble_f64_cpy(r,p){return u[0]=r[p],u[1]=r[p+1],u[2]=r[p+2],u[3]=r[p+3],u[4]=r[p+4],u[5]=r[p+5],u[6]=r[p+6],u[7]=r[p+7],c[0]}function readDouble_f64_rev(r,p){return u[7]=r[p],u[6]=r[p+1],u[5]=r[p+2],u[4]=r[p+3],u[3]=r[p+4],u[2]=r[p+5],u[1]=r[p+6],u[0]=r[p+7],c[0]}r.writeDoubleLE=p?writeDouble_f64_cpy:writeDouble_f64_rev,r.writeDoubleBE=p?writeDouble_f64_rev:writeDouble_f64_cpy,r.readDoubleLE=p?readDouble_f64_cpy:readDouble_f64_rev,r.readDoubleBE=p?readDouble_f64_rev:readDouble_f64_cpy}():function(){function writeDouble_ieee754(r,c,u,p,y,w){var x=p&lt;0?1:0;if(x&amp;&amp;(p=-p),0===p)r(0,y,w+c),r(1/p&gt;0?0:2147483648,y,w+u);else if(isNaN(p))r(0,y,w+c),r(2146959360,y,w+u);else if(p&gt;17976931348623157e292)r(0,y,w+c),r((x&lt;&lt;31|2146435072)&gt;&gt;&gt;0,y,w+u);else{var k;if(p&lt;22250738585072014e-324)r((k=p/5e-324)&gt;&gt;&gt;0,y,w+c),r((x&lt;&lt;31|k/4294967296)&gt;&gt;&gt;0,y,w+u);else{var E=Math.floor(Math.log(p)/Math.LN2);1024===E&amp;&amp;(E=1023),r(4503599627370496*(k=p*Math.pow(2,-E))&gt;&gt;&gt;0,y,w+c),r((x&lt;&lt;31|E+1023&lt;&lt;20|1048576*k&amp;1048575)&gt;&gt;&gt;0,y,w+u)}}}function readDouble_ieee754(r,c,u,p,y){var w=r(p,y+c),x=r(p,y+u),k=2*(x&gt;&gt;31)+1,E=x&gt;&gt;&gt;20&amp;2047,I=4294967296*(1048575&amp;x)+w;return 2047===E?I?NaN:k*(1/0):0===E?5e-324*k*I:k*Math.pow(2,E-1075)*(I+4503599627370496)}r.writeDoubleLE=writeDouble_ieee754.bind(null,writeUintLE,0,4),r.writeDoubleBE=writeDouble_ieee754.bind(null,writeUintBE,4,0),r.readDoubleLE=readDouble_ieee754.bind(null,readUintLE,0,4),r.readDoubleBE=readDouble_ieee754.bind(null,readUintBE,4,0)}(),r}function writeUintLE(r,c,u){c[u]=255&amp;r,c[u+1]=r&gt;&gt;&gt;8&amp;255,c[u+2]=r&gt;&gt;&gt;16&amp;255,c[u+3]=r&gt;&gt;&gt;24}function writeUintBE(r,c,u){c[u]=r&gt;&gt;&gt;24,c[u+1]=r&gt;&gt;&gt;16&amp;255,c[u+2]=r&gt;&gt;&gt;8&amp;255,c[u+3]=255&amp;r}function readUintLE(r,c){return(r[c]|r[c+1]&lt;&lt;8|r[c+2]&lt;&lt;16|r[c+3]&lt;&lt;24)&gt;&gt;&gt;0}function readUintBE(r,c){return(r[c]&lt;&lt;24|r[c+1]&lt;&lt;16|r[c+2]&lt;&lt;8|r[c+3])&gt;&gt;&gt;0}r.exports=factory(factory)},67199:function(module){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&amp;&amp;(mod.length||Object.keys(mod).length))return mod}catch(r){}return null}module.exports=inquire},76662:function(r){"use strict";r.exports=function pool(r,c,u){var p=u||8192,y=p&gt;&gt;&gt;1,w=null,x=p;return function pool_alloc(u){if(u&lt;1||u&gt;y)return r(u);x+u&gt;p&amp;&amp;(w=r(p),x=0);var k=c.call(w,x,x+=u);return 7&amp;x&amp;&amp;(x=1+(7|x)),k}}},94997:function(r,c){"use strict";var u=c;u.length=function utf8_length(r){for(var c=0,u=0,p=0;p&lt;r.length;++p)(u=r.charCodeAt(p))&lt;128?c+=1:u&lt;2048?c+=2:55296==(64512&amp;u)&amp;&amp;56320==(64512&amp;r.charCodeAt(p+1))?(++p,c+=4):c+=3;return c},u.read=function utf8_read(r,c,u){if(u-c&lt;1)return"";for(var p,y=null,w=[],x=0;c&lt;u;)(p=r[c++])&lt;128?w[x++]=p:p&gt;191&amp;&amp;p&lt;224?w[x++]=(31&amp;p)&lt;&lt;6|63&amp;r[c++]:p&gt;239&amp;&amp;p&lt;365?(p=((7&amp;p)&lt;&lt;18|(63&amp;r[c++])&lt;&lt;12|(63&amp;r[c++])&lt;&lt;6|63&amp;r[c++])-65536,w[x++]=55296+(p&gt;&gt;10),w[x++]=56320+(1023&amp;p)):w[x++]=(15&amp;p)&lt;&lt;12|(63&amp;r[c++])&lt;&lt;6|63&amp;r[c++],x&gt;8191&amp;&amp;((y||(y=[])).push(String.fromCharCode.apply(String,w)),x=0);return y?(x&amp;&amp;y.push(String.fromCharCode.apply(String,w.slice(0,x))),y.join("")):String.fromCharCode.apply(String,w.slice(0,x))},u.write=function utf8_write(r,c,u){for(var p,y,w=u,x=0;x&lt;r.length;++x)(p=r.charCodeAt(x))&lt;128?c[u++]=p:p&lt;2048?(c[u++]=p&gt;&gt;6|192,c[u++]=63&amp;p|128):55296==(64512&amp;p)&amp;&amp;56320==(64512&amp;(y=r.charCodeAt(x+1)))?(p=65536+((1023&amp;p)&lt;&lt;10)+(1023&amp;y),++x,c[u++]=p&gt;&gt;18|240,c[u++]=p&gt;&gt;12&amp;63|128,c[u++]=p&gt;&gt;6&amp;63|128,c[u++]=63&amp;p|128):(c[u++]=p&gt;&gt;12|224,c[u++]=p&gt;&gt;6&amp;63|128,c[u++]=63&amp;p|128);return u-w}},52537:function(r,c,u){"use strict";u(81299),u(12419),u(47941),u(82526),u(57327),u(38880),u(49337);var p=u(39422),y=u(81199),w=u(41506),x=u(12861),k=u(4404),E=u(36170),I=u(24497),K=u(30523);u(41539),u(88674),u(21249),u(54747);var J=u(75196),oe=u(7385);u(92222),u(91038),u(78783);var ie=u(2043),ae=u(42604);u(66992),u(33948),u(38862),u(9653),u(74916),u(15306),u(69600);var se=u(9528);u(26699);var ue=u(95400),le=u(72307);u(47042),u(68309),u(77601),u(41817),u(32165);var pe=u(99148);u(51532);var de=u(89575),he=u(7766),ge=u(54122),ve=u(34929),we=u(34452),Se=u(75315);u(70189),u(33161),u(82472),u(48675),u(92990),u(18927),u(33105),u(35035),u(74345),u(7174),u(32846),u(44731),u(77209),u(96319),u(58867),u(37789),u(33739),u(29368),u(14483),u(12056),u(3462),u(30678),u(27462),u(33824),u(55021),u(12974),u(15016),u(18264),u(57514),u(2707),u(32023);var Oe=u(58724);u(69826),u(40561),u(69720);var Pe=u(55877);function _interopDefaultLegacy(r){return r&amp;&amp;"object"==typeof r&amp;&amp;"default"in r?r:{default:r}}function _interopNamespace(r){if(r&amp;&amp;r.__esModule)return r;var c=Object.create(null);return r&amp;&amp;Object.keys(r).forEach((function(u){if("default"!==u){var p=Object.getOwnPropertyDescriptor(r,u);Object.defineProperty(c,u,p.get?p:{enumerable:!0,get:function(){return r[u]}})}})),c.default=r,Object.freeze(c)}var Le=_interopDefaultLegacy(p),Ie=_interopDefaultLegacy(y),je=_interopDefaultLegacy(w),De=_interopDefaultLegacy(x),Ue=_interopDefaultLegacy(k),Fe=_interopDefaultLegacy(E),Ze=_interopDefaultLegacy(I),$e=_interopDefaultLegacy(K),Ge=_interopDefaultLegacy(J),We=_interopDefaultLegacy(oe),Ke=_interopNamespace(ie),Je=_interopDefaultLegacy(le),Ye=_interopDefaultLegacy(pe),Xe=_interopDefaultLegacy(Se);function __decorate(r,c,u,p){var y,w=arguments.length,x=w&lt;3?c:null===p?p=Object.getOwnPropertyDescriptor(c,u):p;if("object"===("undefined"==typeof Reflect?"undefined":We.default(Reflect))&amp;&amp;"function"==typeof Reflect.decorate)x=Reflect.decorate(r,c,u,p);else for(var k=r.length-1;k&gt;=0;k--)(y=r[k])&amp;&amp;(x=(w&lt;3?y(x):w&gt;3?y(c,u,x):y(c,u))||x);return w&gt;3&amp;&amp;x&amp;&amp;Object.defineProperty(c,u,x),x}function __metadata(r,c){if("object"===("undefined"==typeof Reflect?"undefined":We.default(Reflect))&amp;&amp;"function"==typeof Reflect.metadata)return Reflect.metadata(r,c)}function prepareLine(r,c){return["".concat((new Date).toISOString()," Conversations ").concat(r,":")].concat(Array.from(c))}var Qe=Ke.getLogger("twilio-conversations"),et=function(){function Logger(r){$e.default(this,Logger),Fe.default(this,"prefix",""),this.prefix=null!=r&amp;&amp;r.length&gt;0?r+" ":""}return Ze.default(Logger,[{key:"setLevel",value:function setLevel(r){Qe.setLevel(r)}},{key:"trace",value:function trace(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.trace.apply(null,prepareLine(this.prefix+"T",c))}},{key:"debug",value:function debug(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.debug.apply(null,prepareLine(this.prefix+"D",c))}},{key:"info",value:function info(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.info.apply(null,prepareLine(this.prefix+"I",c))}},{key:"warn",value:function warn(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.warn.apply(null,prepareLine(this.prefix+"W",c))}},{key:"error",value:function error(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.error.apply(null,prepareLine(this.prefix+"E",c))}}],[{key:"scope",value:function scope(r){return new Logger(r)}},{key:"setLevel",value:function setLevel(r){Qe.setLevel(r)}},{key:"trace",value:function trace(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.trace.apply(null,prepareLine("T",c))}},{key:"debug",value:function debug(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.debug.apply(null,prepareLine("D",c))}},{key:"info",value:function info(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.info.apply(null,prepareLine("I",c))}},{key:"warn",value:function warn(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.warn.apply(null,prepareLine("W",c))}},{key:"error",value:function error(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.error.apply(null,prepareLine("E",c))}}]),Logger}();function ownKeys$4(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}var rt="PT5S",nt="PT5S",ot=Ze.default((function Configuration(){var r,c,u,p,y,w,x=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{},k=arguments.length&gt;1?arguments[1]:void 0,E=arguments.length&gt;2?arguments[2]:void 0;$e.default(this,Configuration),Fe.default(this,"typingIndicatorTimeoutDefault",5e3);var I=x.Chat||x.IPMessaging||x||{};this.productId=I.productId,this.links={myConversations:k.links.my_conversations,conversations:k.links.conversations,users:k.links.users,currentUser:k.links.current_user,typing:k.links.typing,mediaService:k.links.media_service,mediaSetService:k.links.media_set_service,messagesReceipts:k.links.messages_receipts},this.limits={mediaAttachmentsCountLimit:k.options.media_attachments_count_limit,mediaAttachmentSizeLimitInMb:k.options.media_attachment_size_limit_in_mb,mediaAttachmentsTotalSizeLimitInMb:k.options.media_attachments_total_size_limit_in_mb,emailHistoriesAllowedContentTypes:k.options.email_histories_allowed_mime_types,emailBodiesAllowedContentTypes:k.options.email_bodies_allowed_mime_types},this.typingIndicatorTimeoutOverride=I.typingIndicatorTimeoutOverride,this.backoffConfiguration=function _objectSpread$4(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys$4(Object(u),!0).forEach((function(c){Fe.default(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys$4(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}({min:1e3,max:4e3,maxAttemptsCount:3},I.backoffConfigOverride),this.retryWhenThrottled=void 0===I.retryWhenThrottledOverride||I.retryWhenThrottledOverride,this.userInfosToSubscribe=null!==(r=null!==(c=I.userInfosToSubscribeOverride)&amp;&amp;void 0!==c?c:k.options.user_infos_to_subscribe)&amp;&amp;void 0!==r?r:100,this.reachabilityEnabled=k.options.reachability_enabled,this.userIdentity=k.identity,this.userInfo=k.sync_objects.my_user_info,this.myConversations=k.sync_objects.my_conversations;var K=null!==(u=null!==(p=I.httpCacheIntervalOverride)&amp;&amp;void 0!==p?p:k.options.http_cache_interval)&amp;&amp;void 0!==u?u:rt;try{this.httpCacheInterval=ae.toSeconds(ae.parse(K))}catch(r){E.error("Failed to parse http cache interval ".concat(K,", using default value ").concat(rt)),this.httpCacheInterval=ae.toSeconds(ae.parse(rt))}var J=null!==(y=null!==(w=I.consumptionReportIntervalOverride)&amp;&amp;void 0!==w?w:k.options.consumption_report_interval)&amp;&amp;void 0!==y?y:nt;try{this.consumptionReportInterval=ae.toSeconds(ae.parse(J))}catch(r){E.error("Failed to parse consumption report interval ".concat(J,", using default value ").concat(nt)),this.consumptionReportInterval=ae.toSeconds(ae.parse(nt))}}));function parseToNumber(r){return void 0===r||isNaN(Number(r))?null:Number(r)}function parseTime(r){try{return new Date(r)}catch(r){return null}}function parseAttributes(r,c,u){var p={};if(r)try{p=JSON.parse(r)}catch(r){u.warn(c,r)}return p}var it=function(){function UriBuilder(r){$e.default(this,UriBuilder),this.base=r.replace(/\/$/,""),this.args=[],this.paths=[]}return Ze.default(UriBuilder,[{key:"arg",value:function arg(r,c){return void 0!==c&amp;&amp;this.args.push(encodeURIComponent(r)+"="+encodeURIComponent(c)),this}},{key:"path",value:function path(r){return this.paths.push(encodeURIComponent(r)),this}},{key:"build",value:function build(){var r=this.base;return this.paths.length&amp;&amp;(r+="/"+this.paths.join("/")),this.args.length&amp;&amp;(r+="?"+this.args.join("&amp;")),r}}]),UriBuilder}(),st=se.custom((function(r){return[["string","number","boolean","object"].includes(We.default(r)),"a JSON type"]})),ct=se.custom((function(r){return[["undefined","string","number","boolean","object"].includes(We.default(r)),"an optional JSON type"]}));function _createSuper$8(r){var c=function _isNativeReflectConstruct$8(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ue.default(r);if(c){var y=Ue.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return De.default(this,u)}}var ut=et.scope("User"),lt=function(r){je.default(User,r);var c,u,p,y,w,x,k,E=_createSuper$8(User);function User(r,c,u,p){var y;return $e.default(this,User),y=E.call(this),Fe.default(Ie.default(y),"promiseToFetch",null),Fe.default(Ie.default(y),"updated","updated"),Fe.default(Ie.default(y),"userSubscribed","userSubscribed"),Fe.default(Ie.default(y),"userUnsubscribed","userUnsubscribed"),y.services=p,y.subscribed="initializing",y.setMaxListeners(0),y.state={identity:r,entityName:c,friendlyName:null,attributes:{},online:null,notifiable:null},y._initializationPromise=new Promise((function(r){y._resolveInitializationPromise=r})),null!==u&amp;&amp;y._resolveInitialization(u,r,c,!1),y}return Ze.default(User,[{key:"identity",get:function get(){return this.state.identity},set:function set(r){this.state.identity=r}},{key:"entityName",set:function set(r){this.state.entityName=r}},{key:"attributes",get:function get(){return this.state.attributes}},{key:"friendlyName",get:function get(){return this.state.friendlyName}},{key:"isOnline",get:function get(){return this.state.online}},{key:"isNotifiable",get:function get(){return this.state.notifiable}},{key:"isSubscribed",get:function get(){return"subscribed"==this.subscribed}},{key:"_update",value:(k=Le.default(Ge.default.mark((function _callee(r,c){var u,p;return Ge.default.wrap((function _callee$(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,this._initializationPromise;case 2:u=[],ut.debug("User for",this.state.identity,"updated:",r,c),y.t0=r,y.next="friendlyName"===y.t0?7:"attributes"===y.t0?9:"reachability"===y.t0?12:15;break;case 7:return this.state.friendlyName!==c.value&amp;&amp;(u.push("friendlyName"),this.state.friendlyName=c.value),y.abrupt("break",16);case 9:return p=parseAttributes(c.value,"Retrieved malformed attributes from the server for user: ".concat(this.state.identity),ut),Je.default(this.state.attributes,p)||(this.state.attributes=p,u.push("attributes")),y.abrupt("break",16);case 12:return this.state.online!==c.online&amp;&amp;(this.state.online=c.online,u.push("reachabilityOnline")),this.state.notifiable!==c.notifiable&amp;&amp;(this.state.notifiable=c.notifiable,u.push("reachabilityNotifiable")),y.abrupt("break",16);case 15:return y.abrupt("return");case 16:u.length&gt;0&amp;&amp;this.emit("updated",{user:this,updateReasons:u});case 17:case"end":return y.stop()}}),_callee,this)}))),function _update(r,c){return k.apply(this,arguments)})},{key:"_updateReachabilityInfo",value:(x=Le.default(Ge.default.mark((function _callee2(r,c){var u=this;return Ge.default.wrap((function _callee2$(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,this._initializationPromise;case 2:if(this.configuration.reachabilityEnabled){p.next=4;break}return p.abrupt("return",Promise.resolve());case 4:return p.abrupt("return",r.get("reachability").then(c).catch((function(r){ut.warn("Failed to get reachability info for ",u.state.identity,r)})));case 5:case"end":return p.stop()}}),_callee2,this)}))),function _updateReachabilityInfo(r,c){return x.apply(this,arguments)})},{key:"_fetch",value:(w=Le.default(Ge.default.mark((function _callee3(){var r=this;return Ge.default.wrap((function _callee3$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._initializationPromise;case 2:if(this.state.entityName){c.next=4;break}return c.abrupt("return",this);case 4:return this.promiseToFetch=this.services.syncClient.map({id:this.state.entityName,mode:"open_existing",includeItems:!0}).then((function(c){return r.entity=c,c.on("itemUpdated",(function(c){return ut.debug(r.state.entityName+" ("+r.state.identity+") itemUpdated: "+c.item.key),r._update(c.item.key,c.item.data)})),Promise.all([c.get("friendlyName").then((function(c){return r._update(c.key,c.data)})),c.get("attributes").then((function(c){return r._update(c.key,c.data)})),r._updateReachabilityInfo(c,(function(c){return r._update(c.key,c.data)}))])})).then((function(){return ut.debug("Fetched for",r.identity),r.subscribed="subscribed",r.emit("userSubscribed",r),r})).catch((function(c){throw r.promiseToFetch=null,c})),c.abrupt("return",this.promiseToFetch);case 6:case"end":return c.stop()}}),_callee3,this)}))),function _fetch(){return w.apply(this,arguments)})},{key:"_ensureFetched",value:(y=Le.default(Ge.default.mark((function _callee4(){return Ge.default.wrap((function _callee4$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this._initializationPromise;case 2:return r.abrupt("return",this.promiseToFetch||this._fetch());case 3:case"end":return r.stop()}}),_callee4,this)}))),function _ensureFetched(){return y.apply(this,arguments)})},{key:"updateAttributes",value:(p=Le.default(Ge.default.mark((function _callee5(r){return Ge.default.wrap((function _callee5$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._initializationPromise;case 2:if("unsubscribed"!=this.subscribed){c.next=4;break}throw new Error("Can't modify unsubscribed object");case 4:return c.next=6,this.services.commandExecutor.mutateResource("post",this.links.self,{attributes:JSON.stringify(r)});case 6:return c.abrupt("return",this);case 7:case"end":return c.stop()}}),_callee5,this)}))),function updateAttributes(r){return p.apply(this,arguments)})},{key:"updateFriendlyName",value:(u=Le.default(Ge.default.mark((function _callee6(r){return Ge.default.wrap((function _callee6$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._initializationPromise;case 2:if("unsubscribed"!=this.subscribed){c.next=4;break}throw new Error("Can't modify unsubscribed object");case 4:return c.next=6,this.services.commandExecutor.mutateResource("post",this.links.self,{friendly_name:r});case 6:return c.abrupt("return",this);case 7:case"end":return c.stop()}}),_callee6,this)}))),function updateFriendlyName(r){return u.apply(this,arguments)})},{key:"unsubscribe",value:(c=Le.default(Ge.default.mark((function _callee7(){return Ge.default.wrap((function _callee7$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this._initializationPromise;case 2:if(!this.promiseToFetch){r.next=9;break}return r.next=5,this.promiseToFetch;case 5:this.entity.close(),this.promiseToFetch=null,this.subscribed="unsubscribed",this.emit("userUnsubscribed",this);case 9:case"end":return r.stop()}}),_callee7,this)}))),function unsubscribe(){return c.apply(this,arguments)})},{key:"_resolveInitialization",value:function _resolveInitialization(r,c,u,p){this.configuration=r,this.identity=c,this.entityName=u,this.links={self:"".concat(this.configuration.links.users,"/").concat(encodeURIComponent(this.identity))},this._resolveInitializationPromise(),p&amp;&amp;this.emit("updated",{user:this,updateReasons:["friendlyName","attributes","reachabilityOnline","reachabilityNotifiable"]})}}]),User}(ue.ReplayEventEmitter);function _createForOfIteratorHelper$3(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$3(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$3(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$3(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$3(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}__decorate([se.validateTypesAsync(st),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],lt.prototype,"updateAttributes",null),__decorate([se.validateTypesAsync(["string"]),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],lt.prototype,"updateFriendlyName",null);var pt=function(){function Network(r,c){$e.default(this,Network),this.configuration=r,this.services=c,this.cache=new Map,this.cacheLifetime=100*this.configuration.httpCacheInterval,this.cleanupCache()}var r;return Ze.default(Network,[{key:"isExpired",value:function isExpired(r){return!this.cacheLifetime||Date.now()-r&gt;this.cacheLifetime}},{key:"cleanupCache",value:function cleanupCache(){var r,c=_createForOfIteratorHelper$3(this.cache);try{for(c.s();!(r=c.n()).done;){var u=Ye.default(r.value,2),p=u[0],y=u[1];this.isExpired(y.timestamp)&amp;&amp;this.cache.delete(p)}}catch(r){c.e(r)}finally{c.f()}0===this.cache.size&amp;&amp;clearInterval(this.timer)}},{key:"pokeTimer",value:function pokeTimer(){var r=this;this.timer=this.timer||setInterval((function(){return r.cleanupCache()}),2*this.cacheLifetime)}},{key:"executeWithRetry",value:function executeWithRetry(r){var c=this,u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1];return new Promise((function(p,y){var w=[502,503,504];u&amp;&amp;w.push(429);var x=new de.Retrier(c.configuration.backoffConfiguration);x.on("attempt",(function(){r().then((function(r){return x.succeeded(r)})).catch((function(r){w.indexOf(r.status)&gt;-1||"Twilsock disconnected"===r.message?x.failed(r):(x.removeAllListeners(),x.cancel(),y(r))}))})),x.on("succeeded",(function(r){p(r)})),x.on("cancelled",(function(r){return y(r)})),x.on("failed",(function(r){return y(r)})),x.start()}))}},{key:"get",value:(r=Le.default(Ge.default.mark((function _callee(r){var c,u,p,y=this;return Ge.default.wrap((function _callee$(w){for(;;)switch(w.prev=w.next){case 0:if(!(c=this.cache.get(r))||this.isExpired(c.timestamp)){w.next=3;break}return w.abrupt("return",c.response);case 3:return u={},w.next=6,this.executeWithRetry((function(){return y.services.transport.get(r,u,y.configuration.productId)}),this.configuration.retryWhenThrottled);case 6:return p=w.sent,this.cache.set(r,{response:p,timestamp:Date.now()}),this.pokeTimer(),w.abrupt("return",p);case 10:case"end":return w.stop()}}),_callee,this)}))),function get(c){return r.apply(this,arguments)})}]),Network}(),dt=Ze.default((function NotificationTypes(){$e.default(this,NotificationTypes)}));function _createSuper$7(r){var c=function _isNativeReflectConstruct$7(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ue.default(r);if(c){var y=Ue.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return De.default(this,u)}}Fe.default(dt,"TYPING_INDICATOR","twilio.ipmsg.typing_indicator"),Fe.default(dt,"NEW_MESSAGE","twilio.conversations.new_message"),Fe.default(dt,"ADDED_TO_CONVERSATION","twilio.conversations.added_to_conversation"),Fe.default(dt,"REMOVED_FROM_CONVERSATION","twilio.conversations.removed_from_conversation"),Fe.default(dt,"CONSUMPTION_UPDATE","twilio.channel.consumption_update");var ft=et.scope("Participant"),ht=function(r){je.default(Participant,r);var c,u,p,y=_createSuper$7(Participant);function Participant(r,c,u,p,w){var x,k,E;if($e.default(this,Participant),(E=y.call(this)).conversation=u,E.links=p,E.services=w,E.state={attributes:parseAttributes(r.attributes,"Retrieved malformed attributes from the server for participant: "+c,ft),dateCreated:r.dateCreated?parseTime(r.dateCreated):null,dateUpdated:r.dateCreated?parseTime(r.dateUpdated):null,sid:c,typingTimeout:null,isTyping:!1,identity:r.identity,roleSid:null!==(x=r.roleSid)&amp;&amp;void 0!==x?x:"",lastReadMessageIndex:Number.isInteger(r.lastConsumedMessageIndex)?r.lastConsumedMessageIndex:null,lastReadTimestamp:r.lastConsumptionTimestamp?parseTime(r.lastConsumptionTimestamp):null,type:r.type||"chat",userInfo:r.userInfo,bindings:null!==(k=r.bindings)&amp;&amp;void 0!==k?k:{}},!r.identity&amp;&amp;!r.type)throw new Error("Received invalid Participant object from server: Missing identity or type of Participant.");return E}return Ze.default(Participant,[{key:"sid",get:function get(){return this.state.sid}},{key:"attributes",get:function get(){return this.state.attributes}},{key:"dateCreated",get:function get(){return this.state.dateCreated}},{key:"dateUpdated",get:function get(){return this.state.dateUpdated}},{key:"identity",get:function get(){return this.state.identity}},{key:"isTyping",get:function get(){return this.state.isTyping}},{key:"lastReadMessageIndex",get:function get(){return this.state.lastReadMessageIndex}},{key:"lastReadTimestamp",get:function get(){return this.state.lastReadTimestamp}},{key:"roleSid",get:function get(){return this.state.roleSid}},{key:"type",get:function get(){return this.state.type}},{key:"bindings",get:function get(){var r;return null!==(r=this.state.bindings)&amp;&amp;void 0!==r?r:{}}},{key:"_startTyping",value:function _startTyping(r){var c=this;return this.state.typingTimeout&amp;&amp;clearTimeout(this.state.typingTimeout),this.state.isTyping=!0,this.emit("typingStarted",this),this.conversation.emit("typingStarted",this),this.state.typingTimeout=Number(setTimeout((function(){return c._endTyping()}),r)),this}},{key:"_endTyping",value:function _endTyping(){this.state.typingTimeout&amp;&amp;(this.state.isTyping=!1,this.emit("typingEnded",this),this.conversation.emit("typingEnded",this),clearInterval(this.state.typingTimeout),this.state.typingTimeout=null)}},{key:"_update",value:function _update(r){var c=[],u=parseAttributes(r.attributes,"Retrieved malformed attributes from the server for participant: "+this.state.sid,ft);r.attributes&amp;&amp;!Je.default(this.state.attributes,u)&amp;&amp;(this.state.attributes=u,c.push("attributes"));var p=parseTime(r.dateUpdated);r.dateUpdated&amp;&amp;(null==p?void 0:p.getTime())!==(this.state.dateUpdated&amp;&amp;this.state.dateUpdated.getTime())&amp;&amp;(this.state.dateUpdated=p,c.push("dateUpdated"));var y=parseTime(r.dateCreated);if(r.dateCreated&amp;&amp;(null==y?void 0:y.getTime())!==(this.state.dateCreated&amp;&amp;this.state.dateCreated.getTime())&amp;&amp;(this.state.dateCreated=y,c.push("dateCreated")),r.roleSid&amp;&amp;this.state.roleSid!==r.roleSid&amp;&amp;(this.state.roleSid=r.roleSid,c.push("roleSid")),!Number.isInteger(r.lastConsumedMessageIndex)&amp;&amp;null!==r.lastConsumedMessageIndex||this.state.lastReadMessageIndex===r.lastConsumedMessageIndex||(this.state.lastReadMessageIndex=r.lastConsumedMessageIndex,c.push("lastReadMessageIndex")),r.lastConsumptionTimestamp){var w=new Date(r.lastConsumptionTimestamp);this.state.lastReadTimestamp&amp;&amp;this.state.lastReadTimestamp.getTime()===w.getTime()||(this.state.lastReadTimestamp=w,c.push("lastReadTimestamp"))}return r.bindings&amp;&amp;!Je.default(this.state.bindings,r.bindings)&amp;&amp;(this.state.bindings=r.bindings,c.push("bindings")),c.length&gt;0&amp;&amp;this.emit("updated",{participant:this,updateReasons:c}),this}},{key:"getUser",value:(p=Le.default(Ge.default.mark((function _callee(){return Ge.default.wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:if("chat"==this.type){r.next=2;break}throw new Error("Getting User is not supported for this Participant type: "+this.type);case 2:return r.abrupt("return",this.services.users.getUser(this.state.identity,this.state.userInfo));case 3:case"end":return r.stop()}}),_callee,this)}))),function getUser(){return p.apply(this,arguments)})},{key:"remove",value:(u=Le.default(Ge.default.mark((function _callee2(){return Ge.default.wrap((function _callee2$(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",this.conversation.removeParticipant(this));case 1:case"end":return r.stop()}}),_callee2,this)}))),function remove(){return u.apply(this,arguments)})},{key:"updateAttributes",value:(c=Le.default(Ge.default.mark((function _callee3(r){return Ge.default.wrap((function _callee3$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.services.commandExecutor.mutateResource("post",this.links.self,{attributes:JSON.stringify(r)});case 2:return c.abrupt("return",this);case 3:case"end":return c.stop()}}),_callee3,this)}))),function updateAttributes(r){return c.apply(this,arguments)})}]),Participant}(ue.ReplayEventEmitter);function _createSuper$6(r){var c=function _isNativeReflectConstruct$6(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ue.default(r);if(c){var y=Ue.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return De.default(this,u)}}Fe.default(ht,"typingStarted","typingStarted"),Fe.default(ht,"typingEnded","typingEnded"),Fe.default(ht,"updated","updated"),__decorate([se.validateTypesAsync(st),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],ht.prototype,"updateAttributes",null);var mt=et.scope("Participants"),yt=function(r){je.default(Participants,r);var c,u,p,y,w,x,k,E,I=_createSuper$6(Participants);function Participants(r,c,u,p,y){var w;return $e.default(this,Participants),w=I.call(this),Fe.default(Ie.default(w),"rosterEntityPromise",null),w.conversation=r,w.participants=c,w.links=u,w.configuration=p,w.services=y,w}return Ze.default(Participants,[{key:"unsubscribe",value:(E=Le.default(Ge.default.mark((function _callee(){return Ge.default.wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:if(!this.rosterEntityPromise){r.next=6;break}return r.next=3,this.rosterEntityPromise;case 3:r.sent.close(),this.rosterEntityPromise=null;case 6:case"end":return r.stop()}}),_callee,this)}))),function unsubscribe(){return E.apply(this,arguments)})},{key:"subscribe",value:function subscribe(r){var c=this,u="string"==typeof r?this.services.syncClient.map({id:r,mode:"open_existing"}):Promise.resolve(r);return this.rosterEntityPromise=this.rosterEntityPromise||u.then((function(r){r.on("itemAdded",(function(r){mt.debug(c.conversation.sid+" itemAdded: "+r.item.key),c.upsertParticipant(r.item.key,r.item.data).then((function(r){c.emit("participantJoined",r)}))})),r.on("itemRemoved",(function(r){mt.debug(c.conversation.sid+" itemRemoved: "+r.key);var u=r.key;if(c.participants.has(u)){var p=c.participants.get(u);c.participants.delete(u),p&amp;&amp;c.emit("participantLeft",p)}})),r.on("itemUpdated",(function(r){mt.debug(c.conversation.sid+" itemUpdated: "+r.item.key),c.upsertParticipant(r.item.key,r.item.data)}));var u=[];return r.getItems().then((function rosterMapHandler(r){return r.items.forEach((function(r){u.push(c.upsertParticipant(r.key,r.data))})),r.hasNextPage?r.nextPage().then(rosterMapHandler):null})).then((function(){return Promise.all(u)})).then((function(){return r}))})).catch((function(r){throw c.rosterEntityPromise=null,"disconnected"!=c.services.syncClient.connectionState&amp;&amp;mt.error("Failed to get roster object for conversation",c.conversation.sid,r),mt.debug("ERROR: Failed to get roster object for conversation",c.conversation.sid,r),r}))}},{key:"upsertParticipantFromResponse",value:(k=Le.default(Ge.default.mark((function _callee2(r){var c,u,p,y,w,x,k,E;return Ge.default.wrap((function _callee2$(I){for(;;)switch(I.prev=I.next){case 0:return u=r.sid,p=r.attributes,y=r.date_created,w=r.date_updated,x=r.identity,k=r.role_sid,E=r.messaging_binding,I.next=3,this.upsertParticipant(u,{attributes:p,dateCreated:new Date(y),dateUpdated:new Date(w),identity:x,roleSid:k,lastConsumedMessageIndex:null,lastConsumptionTimestamp:null,type:null!==(c=null==E?void 0:E.type)&amp;&amp;void 0!==c?c:"chat"});case 3:return I.abrupt("return",I.sent);case 4:case"end":return I.stop()}}),_callee2,this)}))),function upsertParticipantFromResponse(r){return k.apply(this,arguments)})},{key:"upsertParticipant",value:(x=Le.default(Ge.default.mark((function _callee3(r,c){var u,p,y=this;return Ge.default.wrap((function _callee3$(w){for(;;)switch(w.prev=w.next){case 0:if(!(u=this.participants.get(r))){w.next=3;break}return w.abrupt("return",u._update(c));case 3:return p={self:"".concat(this.links.participants,"/").concat(r)},u=new ht(c,r,this.conversation,p,this.services),this.participants.set(r,u),u.on("updated",(function(r){return y.emit("participantUpdated",r)})),w.abrupt("return",u);case 8:case"end":return w.stop()}}),_callee3,this)}))),function upsertParticipant(r,c){return x.apply(this,arguments)})},{key:"getParticipants",value:(w=Le.default(Ge.default.mark((function _callee4(){var r=this;return Ge.default.wrap((function _callee4$(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",this.rosterEntityPromise?this.rosterEntityPromise.then((function(){var c=[];return r.participants.forEach((function(r){return c.push(r)})),c})):[]);case 1:case"end":return c.stop()}}),_callee4,this)}))),function getParticipants(){return w.apply(this,arguments)})},{key:"getParticipantBySid",value:(y=Le.default(Ge.default.mark((function _callee5(r){var c=this;return Ge.default.wrap((function _callee5$(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",this.rosterEntityPromise?this.rosterEntityPromise.then((function(){var u=c.participants.get(r);if(!u)throw new Error("Participant with SID "+r+" was not found");return u})):null);case 1:case"end":return u.stop()}}),_callee5,this)}))),function getParticipantBySid(r){return y.apply(this,arguments)})},{key:"getParticipantByIdentity",value:(p=Le.default(Ge.default.mark((function _callee6(r){var c,u=this;return Ge.default.wrap((function _callee6$(p){for(;;)switch(p.prev=p.next){case 0:return c=null,p.abrupt("return",this.rosterEntityPromise?this.rosterEntityPromise.then((function(){if(u.participants.forEach((function(u){u.identity===r&amp;&amp;(c=u)})),!c)throw new Error("Participant with identity "+r+" was not found");return c})):null);case 2:case"end":return p.stop()}}),_callee6,this)}))),function getParticipantByIdentity(r){return p.apply(this,arguments)})},{key:"add",value:(u=Le.default(Ge.default.mark((function _callee7(r,c){return Ge.default.wrap((function _callee7$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this.services.commandExecutor.mutateResource("post",this.links.participants,{identity:r,attributes:void 0!==c?JSON.stringify(c):void 0});case 2:return u.abrupt("return",u.sent);case 3:case"end":return u.stop()}}),_callee7,this)}))),function add(r,c){return u.apply(this,arguments)})},{key:"addNonChatParticipant",value:(c=Le.default(Ge.default.mark((function _callee8(r,c){var u,p,y,w,x=arguments;return Ge.default.wrap((function _callee8$(k){for(;;)switch(k.prev=k.next){case 0:return y=x.length&gt;2&amp;&amp;void 0!==x[2]?x[2]:{},w=x.length&gt;3&amp;&amp;void 0!==x[3]?x[3]:{},k.next=4,this.services.commandExecutor.mutateResource("post",this.links.participants,{attributes:void 0!==y?JSON.stringify(y):void 0,messaging_binding:{address:c,proxy_address:r,name:null==w||null===(u=w.email)||void 0===u?void 0:u.name,level:null==w||null===(p=w.email)||void 0===p?void 0:p.level}});case 4:return k.abrupt("return",k.sent);case 5:case"end":return k.stop()}}),_callee8,this)}))),function addNonChatParticipant(r,u){return c.apply(this,arguments)})},{key:"remove",value:function remove(r){return this.services.commandExecutor.mutateResource("delete","".concat(this.links.participants,"/").concat(r))}}]),Participants}(ue.ReplayEventEmitter),gt=function(){function Media(r,c){$e.default(this,Media),Fe.default(this,"mcsMedia",null),this.services=c,r instanceof we.McsMedia&amp;&amp;(this.mcsMedia=r),this.state={sid:r.sid,category:r.category,filename:r.filename,contentType:r.contentType,size:r.size}}return Ze.default(Media,[{key:"sid",get:function get(){return this.state.sid}},{key:"filename",get:function get(){return this.state.filename}},{key:"contentType",get:function get(){return this.state.contentType}},{key:"size",get:function get(){return this.state.size}},{key:"category",get:function get(){return this.state.category}},{key:"getContentTemporaryUrl",value:function getContentTemporaryUrl(){var r=this;return new we.CancellablePromise(function(){var c=Le.default(Ge.default.mark((function _callee(c,u,p){var y,w,x,k;return Ge.default.wrap((function _callee$(E){for(;;)switch(E.prev=E.next){case 0:if(w=r._fetchMcsMedia(),x=null===(y=r.mcsMedia)||void 0===y?void 0:y.getContentUrl(),p((function(){w.cancel(),x&amp;&amp;x.cancel()})),E.prev=3,r.mcsMedia){E.next=9;break}return E.next=7,w;case 7:k=E.sent,x=k.getContentUrl();case 9:if(E.t0=c,!x){E.next=16;break}return E.next=13,x;case 13:E.t1=E.sent,E.next=17;break;case 16:E.t1=null;case 17:E.t2=E.t1,(0,E.t0)(E.t2),E.next=24;break;case 21:E.prev=21,E.t3=E.catch(3),u(E.t3);case 24:case"end":return E.stop()}}),_callee,null,[[3,21]])})));return function(r,u,p){return c.apply(this,arguments)}}())}},{key:"_fetchMcsMedia",value:function _fetchMcsMedia(){var r=this;return new we.CancellablePromise(function(){var c=Le.default(Ge.default.mark((function _callee2(c,u,p){var y;return Ge.default.wrap((function _callee2$(w){for(;;)switch(w.prev=w.next){case 0:if(y=r.services.mcsClient.get(r.state.sid),!r.services.mcsClient){w.next=14;break}return p((function(){return y.cancel()})),w.prev=3,w.next=6,y;case 6:r.mcsMedia=w.sent,c(r.mcsMedia),w.next=13;break;case 10:w.prev=10,w.t0=w.catch(3),u(w.t0);case 13:return w.abrupt("return");case 14:u(new Error("Media Content Service is unavailable"));case 15:case"end":return w.stop()}}),_callee2,null,[[3,10]])})));return function(r,u,p){return c.apply(this,arguments)}}())}}]),Media}(),vt=function(){function AggregatedDeliveryReceipt(r){$e.default(this,AggregatedDeliveryReceipt),this.state=r}return Ze.default(AggregatedDeliveryReceipt,[{key:"total",get:function get(){return this.state.total}},{key:"sent",get:function get(){return this.state.sent}},{key:"delivered",get:function get(){return this.state.delivered}},{key:"read",get:function get(){return this.state.read}},{key:"undelivered",get:function get(){return this.state.undelivered}},{key:"failed",get:function get(){return this.state.failed}},{key:"_update",value:function _update(r){this.state=r}},{key:"_isEquals",value:function _isEquals(r){var c=this.total===r.total,u=this.sent===r.sent,p=this.delivered===r.delivered,y=this.read===r.read,w=this.undelivered===r.undelivered,x=this.failed===r.failed;return c&amp;&amp;u&amp;&amp;p&amp;&amp;y&amp;&amp;w&amp;&amp;x}}]),AggregatedDeliveryReceipt}(),bt=function(){function RestPaginator(r,c,u,p){$e.default(this,RestPaginator),this.state={prevToken:u,nextToken:p,source:c,items:r}}return Ze.default(RestPaginator,[{key:"hasNextPage",get:function get(){return!!this.state.nextToken}},{key:"hasPrevPage",get:function get(){return!!this.state.prevToken}},{key:"items",get:function get(){return this.state.items}},{key:"nextPage",value:function nextPage(){return this.hasNextPage?this.state.source(this.state.nextToken):Promise.reject(new Error("No next page"))}},{key:"prevPage",value:function prevPage(){return this.hasPrevPage?this.state.source(this.state.prevToken):Promise.reject(new Error("No previous page"))}}]),RestPaginator}(),_t=Ze.default((function DetailedDeliveryReceipt(r){$e.default(this,DetailedDeliveryReceipt),this.sid=r.sid,this.messageSid=r.message_sid,this.conversationSid=r.conversation_sid,this.channelMessageSid=r.channel_message_sid,this.participantSid=r.participant_sid,this.status=r.status||"queued",this.errorCode=r.error_code||0,this.dateCreated=r.date_created,this.dateUpdated=r.date_updated}));function ownKeys$3(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread$3(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys$3(Object(u),!0).forEach((function(c){Fe.default(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys$3(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function _createSuper$5(r){var c=function _isNativeReflectConstruct$5(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ue.default(r);if(c){var y=Ue.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return De.default(this,u)}}var wt=et.scope("Message"),xt=function(r){je.default(Message,r);var c,u,p,y,w,x,k,E=_createSuper$5(Message);function Message(r,c,u,p,y,w){var x,k,I,K,J;return $e.default(this,Message),(J=E.call(this)).conversation=u,J.links=p,J.configuration=y,J.services=w,J.state={sid:c.sid,index:r,author:c.author,subject:c.subject,body:null!==(x=c.text)&amp;&amp;void 0!==x?x:null,timestamp:c.timestamp?new Date(c.timestamp):null,dateUpdated:c.dateUpdated?new Date(c.dateUpdated):null,lastUpdatedBy:null!==(k=c.lastUpdatedBy)&amp;&amp;void 0!==k?k:null,attributes:parseAttributes(c.attributes,"Got malformed attributes for the message ".concat(c.sid),wt),type:null!==(I=c.type)&amp;&amp;void 0!==I?I:"text",media:"media"===c.type&amp;&amp;c.media?new gt(c.media,J.services):null,medias:"media"===c.type&amp;&amp;c.medias?c.medias.map((function(r){return new gt(r,J.services)})):"media"===c.type&amp;&amp;c.media&amp;&amp;!c.medias?[new gt(_objectSpread$3(_objectSpread$3({},c.media),{},{category:"media"}),J.services)]:null,participantSid:null!==(K=c.memberSid)&amp;&amp;void 0!==K?K:null,aggregatedDeliveryReceipt:c.delivery?new vt(c.delivery):null},J}return Ze.default(Message,[{key:"sid",get:function get(){return this.state.sid}},{key:"author",get:function get(){return this.state.author}},{key:"subject",get:function get(){return this.state.subject}},{key:"body",get:function get(){return this.state.body}},{key:"dateUpdated",get:function get(){return this.state.dateUpdated}},{key:"index",get:function get(){return this.state.index}},{key:"lastUpdatedBy",get:function get(){return this.state.lastUpdatedBy}},{key:"dateCreated",get:function get(){return this.state.timestamp}},{key:"attributes",get:function get(){return this.state.attributes}},{key:"type",get:function get(){return this.state.type}},{key:"media",get:function get(){return this.state.media}},{key:"attachedMedia",get:function get(){return this.getMediaByCategories(["media"])}},{key:"participantSid",get:function get(){return this.state.participantSid}},{key:"aggregatedDeliveryReceipt",get:function get(){return this.state.aggregatedDeliveryReceipt}},{key:"getMediaByCategory",value:function getMediaByCategory(r){return this.getMediaByCategories(r)}},{key:"getMediaByCategories",value:function getMediaByCategories(r){var c;return(null!==(c=this.state.medias)&amp;&amp;void 0!==c?c:[]).filter((function(c){return r.includes(c.category)}))}},{key:"getEmailBody",value:function getEmailBody(){var r,c,u=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"text/plain";return null!==(r=null===(c=this.getMediaByCategories(["body"]))||void 0===c?void 0:c.filter((function(r){return r.contentType==u})).shift())&amp;&amp;void 0!==r?r:null}},{key:"getEmailHistory",value:function getEmailHistory(){var r,c,u=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"text/plain";return null!==(r=null===(c=this.getMediaByCategories(["history"]))||void 0===c?void 0:c.filter((function(r){return r.contentType==u})).shift())&amp;&amp;void 0!==r?r:null}},{key:"_update",value:function _update(r){var c=[];!r.text&amp;&amp;"string"!=typeof r.text||r.text===this.state.body||(this.state.body=r.text,c.push("body")),r.subject&amp;&amp;r.subject!==this.state.subject&amp;&amp;(this.state.subject=r.subject,c.push("subject")),r.lastUpdatedBy&amp;&amp;r.lastUpdatedBy!==this.state.lastUpdatedBy&amp;&amp;(this.state.lastUpdatedBy=r.lastUpdatedBy,c.push("lastUpdatedBy")),r.author&amp;&amp;r.author!==this.state.author&amp;&amp;(this.state.author=r.author,c.push("author")),r.dateUpdated&amp;&amp;new Date(r.dateUpdated).getTime()!==(this.state.dateUpdated&amp;&amp;this.state.dateUpdated.getTime())&amp;&amp;(this.state.dateUpdated=new Date(r.dateUpdated),c.push("dateUpdated")),r.timestamp&amp;&amp;new Date(r.timestamp).getTime()!==(this.state.timestamp&amp;&amp;this.state.timestamp.getTime())&amp;&amp;(this.state.timestamp=new Date(r.timestamp),c.push("dateCreated"));var u=parseAttributes(r.attributes,"Got malformed attributes for the message ".concat(this.sid),wt);Je.default(this.state.attributes,u)||(this.state.attributes=u,c.push("attributes"));var p=r.delivery,y=this.state.aggregatedDeliveryReceipt;!!(p&amp;&amp;p.total&amp;&amp;p.delivered&amp;&amp;p.failed&amp;&amp;p.read&amp;&amp;p.sent&amp;&amp;p.undelivered)&amp;&amp;(y?y._isEquals(p)||(y._update(p),c.push("deliveryReceipt")):(this.state.aggregatedDeliveryReceipt=new vt(p),c.push("deliveryReceipt"))),c.length&gt;0&amp;&amp;this.emit("updated",{message:this,updateReasons:c})}},{key:"getParticipant",value:(k=Le.default(Ge.default.mark((function _callee(){var r,c,u=this;return Ge.default.wrap((function _callee$(p){for(;;)switch(p.prev=p.next){case 0:if(r=null,!this.state.participantSid){p.next=5;break}return p.next=4,this.conversation.getParticipantBySid(this.state.participantSid).catch((function(){return wt.debug('Participant with sid "'.concat(u.participantSid,'" not found for message ').concat(u.sid)),null}));case 4:r=p.sent;case 5:if(r||!this.state.author){p.next=9;break}return p.next=8,this.conversation.getParticipantByIdentity(this.state.author).catch((function(){return wt.debug('Participant with identity "'.concat(u.author,'" not found for message ').concat(u.sid)),null}));case 8:r=p.sent;case 9:if(!r){p.next=11;break}return p.abrupt("return",r);case 11:throw c="Participant with ",this.state.participantSid&amp;&amp;(c+="SID '"+this.state.participantSid+"' "),this.state.author&amp;&amp;(this.state.participantSid&amp;&amp;(c+="or "),c+="identity '"+this.state.author+"' "),"Participant with "===c&amp;&amp;(c="Participant "),c+="was not found",new Error(c);case 17:case"end":return p.stop()}}),_callee,this)}))),function getParticipant(){return k.apply(this,arguments)})},{key:"getDetailedDeliveryReceipts",value:(x=Le.default(Ge.default.mark((function _callee2(){var r,c;return Ge.default.wrap((function _callee2$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this._getDetailedDeliveryReceiptsPaginator();case 2:r=u.sent,c=r.items;case 4:if(!r.hasNextPage){u.next=11;break}return u.next=7,r.nextPage();case 7:r=u.sent,c=[].concat(Xe.default(c),Xe.default(r.items)),u.next=4;break;case 11:return u.abrupt("return",c);case 12:case"end":return u.stop()}}),_callee2,this)}))),function getDetailedDeliveryReceipts(){return x.apply(this,arguments)})},{key:"remove",value:(w=Le.default(Ge.default.mark((function _callee3(){return Ge.default.wrap((function _callee3$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.services.commandExecutor.mutateResource("delete",this.links.self);case 2:return r.abrupt("return",this);case 3:case"end":return r.stop()}}),_callee3,this)}))),function remove(){return w.apply(this,arguments)})},{key:"updateBody",value:(y=Le.default(Ge.default.mark((function _callee4(r){return Ge.default.wrap((function _callee4$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.services.commandExecutor.mutateResource("post",this.links.self,{body:r});case 2:return c.abrupt("return",this);case 3:case"end":return c.stop()}}),_callee4,this)}))),function updateBody(r){return y.apply(this,arguments)})},{key:"updateAttributes",value:(p=Le.default(Ge.default.mark((function _callee5(r){return Ge.default.wrap((function _callee5$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.services.commandExecutor.mutateResource("post",this.links.self,{attributes:void 0!==r?JSON.stringify(r):void 0});case 2:return c.abrupt("return",this);case 3:case"end":return c.stop()}}),_callee5,this)}))),function updateAttributes(r){return p.apply(this,arguments)})},{key:"attachTemporaryUrlsFor",value:(u=Le.default(Ge.default.mark((function _callee6(r){var c,u=this;return Ge.default.wrap((function _callee6$(p){for(;;)switch(p.prev=p.next){case 0:if(c=null==r?void 0:r.map((function(r){return r.sid})),!this.services.mcsClient||!c){p.next=7;break}return p.next=4,this.services.mcsClient.mediaSetGet(c);case 4:return p.abrupt("return",p.sent.map((function(r){return new gt(r,u.services)})));case 7:throw new Error("Media Content Service is unavailable");case 8:case"end":return p.stop()}}),_callee6,this)}))),function attachTemporaryUrlsFor(r){return u.apply(this,arguments)})},{key:"getTemporaryContentUrlsForMedia",value:function getTemporaryContentUrlsForMedia(r){var c=r.map((function(r){return r.sid}));return this.getTemporaryContentUrlsForMediaSids(c)}},{key:"getTemporaryContentUrlsForMediaSids",value:function getTemporaryContentUrlsForMediaSids(r){var c=this;return new we.CancellablePromise(function(){var u=Le.default(Ge.default.mark((function _callee7(u,p,y){var w,x;return Ge.default.wrap((function _callee7$(k){for(;;)switch(k.prev=k.next){case 0:if(w=c.services.mcsClient.mediaSetGetContentUrls(null!=r?r:[]),c.services.mcsClient&amp;&amp;r){k.next=4;break}return p(new Error("Media Content Service is unavailable")),k.abrupt("return");case 4:return y((function(){w.cancel()})),k.prev=5,k.next=8,w;case 8:x=k.sent,u(x),k.next=15;break;case 12:k.prev=12,k.t0=k.catch(5),p(k.t0);case 15:case"end":return k.stop()}}),_callee7,null,[[5,12]])})));return function(r,c,p){return u.apply(this,arguments)}}())}},{key:"getTemporaryContentUrlsForAttachedMedia",value:function getTemporaryContentUrlsForAttachedMedia(){var r,c=this.attachedMedia,u=null!==(r=null==c?void 0:c.map((function(r){return r.sid})))&amp;&amp;void 0!==r?r:[];return this.getTemporaryContentUrlsForMediaSids(u)}},{key:"_getDetailedDeliveryReceiptsPaginator",value:(c=Le.default(Ge.default.mark((function _callee8(r){var c,u,p,y=this;return Ge.default.wrap((function _callee8$(w){for(;;)switch(w.prev=w.next){case 0:return c=this.configuration.links.messagesReceipts.replace("%s",this.conversation.sid).replace("%s",this.sid),u=new it(c).arg("PageToken",null==r?void 0:r.pageToken).arg("PageSize",null==r?void 0:r.pageSize).build(),w.next=4,this.services.network.get(u);case 4:return p=w.sent,w.abrupt("return",new bt(p.body.delivery_receipts.map((function(r){return new _t(r)})),(function(r,c){return y._getDetailedDeliveryReceiptsPaginator({pageToken:r,pageSize:c})}),p.body.meta.previous_token,p.body.meta.next_token));case 6:case"end":return w.stop()}}),_callee8,this)}))),function _getDetailedDeliveryReceiptsPaginator(r){return c.apply(this,arguments)})}]),Message}(ue.ReplayEventEmitter);function _createForOfIteratorHelper$2(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$2(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$2(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$2(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$2(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}function _createSuper$4(r){var c=function _isNativeReflectConstruct$4(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ue.default(r);if(c){var y=Ue.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return De.default(this,u)}}Fe.default(xt,"updated","updated"),__decorate([Oe.deprecated("getMediaByCategory","getMediaByCategories"),__metadata("design:type",Function),__metadata("design:paramtypes",[Array]),__metadata("design:returntype",Array)],xt.prototype,"getMediaByCategory",null),__decorate([se.validateTypes([se.nonEmptyString,"undefined"]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",gt)],xt.prototype,"getEmailBody",null),__decorate([se.validateTypes([se.nonEmptyString,"undefined"]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",gt)],xt.prototype,"getEmailHistory",null),__decorate([se.validateTypesAsync("string"),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],xt.prototype,"updateBody",null),__decorate([se.validateTypesAsync(st),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],xt.prototype,"updateAttributes",null),__decorate([Oe.deprecated("attachTemporaryUrlsFor","getTemporaryContentUrlsForMedia"),__metadata("design:type",Function),__metadata("design:paramtypes",[Array]),__metadata("design:returntype",Promise)],xt.prototype,"attachTemporaryUrlsFor",null),__decorate([se.validateTypesAsync(se.nonEmptyArray("media",gt)),__metadata("design:type",Function),__metadata("design:paramtypes",[Array]),__metadata("design:returntype",we.CancellablePromise)],xt.prototype,"getTemporaryContentUrlsForMedia",null),__decorate([se.validateTypesAsync(se.nonEmptyArray("strings","string")),__metadata("design:type",Function),__metadata("design:paramtypes",[Array]),__metadata("design:returntype",we.CancellablePromise)],xt.prototype,"getTemporaryContentUrlsForMediaSids",null);var kt=et.scope("Messages"),St=function(r){je.default(Messages,r);var c,u,p,y,w,x,k=_createSuper$4(Messages);function Messages(r,c,u){var p;return $e.default(this,Messages),(p=k.call(this)).conversation=r,p.configuration=c,p.services=u,p.messagesByIndex=new Map,p.messagesListPromise=null,p}return Ze.default(Messages,[{key:"subscribe",value:(x=Le.default(Ge.default.mark((function _callee(r){var c,u=this;return Ge.default.wrap((function _callee$(p){for(;;)switch(p.prev=p.next){case 0:if(!this.messagesListPromise){p.next=2;break}return p.abrupt("return",this.messagesListPromise);case 2:return this.messagesListPromise="string"==typeof r?this.services.syncClient.list({id:r,mode:"open_existing"}):Promise.resolve(r),p.prev=3,p.next=6,this.messagesListPromise;case 6:return(c=p.sent).on("itemAdded",(function(r){kt.debug("".concat(u.conversation.sid," itemAdded: ").concat(r.item.index));var c={self:"".concat(u.conversation._links.messages,"/").concat(r.item.data.sid),conversation:u.conversation._links.self,messages_receipts:"".concat(u.conversation._links.messages,"/").concat(r.item.data.sid,"/Receipts")},p=new xt(r.item.index,r.item.data,u.conversation,c,u.configuration,u.services);u.messagesByIndex.has(p.index)?kt.debug("Message arrived, but is already known and ignored",u.conversation.sid,p.index):(u.messagesByIndex.set(p.index,p),p.on("updated",(function(r){return u.emit("messageUpdated",r)})),u.emit("messageAdded",p))})),c.on("itemRemoved",(function(r){kt.debug("#{this.conversation.sid} itemRemoved: ".concat(r.index));var c=r.index;if(u.messagesByIndex.has(c)){var p=u.messagesByIndex.get(c);if(!p)return;u.messagesByIndex.delete(p.index),p.removeAllListeners("updated"),u.emit("messageRemoved",p)}})),c.on("itemUpdated",(function(r){kt.debug("".concat(u.conversation.sid," itemUpdated: ").concat(r.item.index));var c=u.messagesByIndex.get(r.item.index);c&amp;&amp;c._update(r.item.data)})),p.abrupt("return",c);case 13:throw p.prev=13,p.t0=p.catch(3),this.messagesListPromise=null,"disconnected"!==this.services.syncClient.connectionState&amp;&amp;kt.error("Failed to get messages object for conversation",this.conversation.sid,p.t0),kt.debug("ERROR: Failed to get messages object for conversation",this.conversation.sid,p.t0),p.t0;case 19:case"end":return p.stop()}}),_callee,this,[[3,13]])}))),function subscribe(r){return x.apply(this,arguments)})},{key:"unsubscribe",value:(w=Le.default(Ge.default.mark((function _callee2(){return Ge.default.wrap((function _callee2$(r){for(;;)switch(r.prev=r.next){case 0:if(this.messagesListPromise){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,this.messagesListPromise;case 4:r.sent.close(),this.messagesListPromise=null;case 7:case"end":return r.stop()}}),_callee2,this)}))),function unsubscribe(){return w.apply(this,arguments)})},{key:"sendV2",value:function sendV2(r){var c=this;return kt.debug("Sending message V2",r.mediaContent,r.attributes,r.emailOptions),new we.CancellablePromise(function(){var u=Le.default(Ge.default.mark((function _callee3(u,p,y){var w,x,k,E,I,K,J,oe,ie,ae,se,ue;return Ge.default.wrap((function _callee3$(le){for(;;)switch(le.prev=le.next){case 0:x=[],k=[],y((function(){k.forEach((function(r){return r.cancel()}))})),E=_createForOfIteratorHelper$2(r.mediaContent),le.prev=4,E.s();case 6:if((I=E.n()).done){le.next=25;break}return K=Ye.default(I.value,2),J=K[0],oe=K[1],le.prev=8,kt.debug("Adding media to a message as ".concat(oe instanceof FormData?"FormData":"SendMediaOptions"),oe),se=oe instanceof FormData?c.services.mcsClient.postFormData(oe,J):c.services.mcsClient.post(null!==(ie=oe.contentType)&amp;&amp;void 0!==ie?ie:"",null!==(ae=oe.media)&amp;&amp;void 0!==ae?ae:"",J,oe.filename),k.push(se),le.t0=x,le.next=15,se;case 15:le.t1=le.sent,le.t0.push.call(le.t0,le.t1),le.next=23;break;case 19:return le.prev=19,le.t2=le.catch(8),p(le.t2),le.abrupt("return");case 23:le.next=6;break;case 25:le.next=30;break;case 27:le.prev=27,le.t3=le.catch(4),E.e(le.t3);case 30:return le.prev=30,E.f(),le.finish(30);case 33:return ue=c.services.commandExecutor.mutateResource("post",c.conversation._links.messages,{body:r.text,subject:null===(w=r.emailOptions)||void 0===w?void 0:w.subject,media_sids:x.map((function(r){return r.sid})),attributes:void 0!==r.attributes?JSON.stringify(r.attributes):void 0}),le.prev=34,le.t4=u,le.next=38,ue;case 38:le.t5=le.sent,(0,le.t4)(le.t5),le.next=45;break;case 42:le.prev=42,le.t6=le.catch(34),p(le.t6);case 45:case"end":return le.stop()}}),_callee3,null,[[4,27,30,33],[8,19],[34,42]])})));return function(r,c,p){return u.apply(this,arguments)}}())}},{key:"send",value:(y=Le.default(Ge.default.mark((function _callee4(r){var c,u,p=arguments;return Ge.default.wrap((function _callee4$(y){for(;;)switch(y.prev=y.next){case 0:return c=p.length&gt;1&amp;&amp;void 0!==p[1]?p[1]:{},u=p.length&gt;2?p[2]:void 0,kt.debug("Sending text message",r,c,u),y.abrupt("return",this.services.commandExecutor.mutateResource("post",this.conversation._links.messages,{body:null!=r?r:"",attributes:void 0!==c?JSON.stringify(c):void 0,subject:null==u?void 0:u.subject}));case 4:case"end":return y.stop()}}),_callee4,this)}))),function send(r){return y.apply(this,arguments)})},{key:"sendMedia",value:(p=Le.default(Ge.default.mark((function _callee5(r){var c,u,p,y,w,x=arguments;return Ge.default.wrap((function _callee5$(k){for(;;)switch(k.prev=k.next){case 0:if(p=x.length&gt;1&amp;&amp;void 0!==x[1]?x[1]:{},y=x.length&gt;2?x[2]:void 0,kt.debug("Sending media message",r,p,y),kt.debug("Sending media message as ".concat(r instanceof FormData?"FormData":"SendMediaOptions"),r,p),!(r instanceof FormData)){k.next=10;break}return k.next=7,this.services.mcsClient.postFormData(r);case 7:k.t0=k.sent,k.next=13;break;case 10:return k.next=12,this.services.mcsClient.post(null!==(c=r.contentType)&amp;&amp;void 0!==c?c:"",null!==(u=r.media)&amp;&amp;void 0!==u?u:"","media",r.filename);case 12:k.t0=k.sent;case 13:return w=k.t0,k.next=16,this.services.commandExecutor.mutateResource("post",this.conversation._links.messages,{media_sids:[w.sid],attributes:void 0!==p?JSON.stringify(p):void 0});case 16:return k.abrupt("return",k.sent);case 17:case"end":return k.stop()}}),_callee5,this)}))),function sendMedia(r){return p.apply(this,arguments)})},{key:"getMessages",value:(u=Le.default(Ge.default.mark((function _callee6(r,c){var u,p=arguments;return Ge.default.wrap((function _callee6$(y){for(;;)switch(y.prev=y.next){case 0:return u=p.length&gt;2&amp;&amp;void 0!==p[2]?p[2]:"backwards",y.abrupt("return",this._getMessages(r,c,u));case 2:case"end":return y.stop()}}),_callee6,this)}))),function getMessages(r,c){return u.apply(this,arguments)})},{key:"_wrapPaginator",value:function _wrapPaginator(r,c,u){var p=this,y="desc"===r,w=function nextPage(){return c.nextPage().then((function(c){return p._wrapPaginator(r,c,u)}))},x=function previousPage(){return c.prevPage().then((function(c){return p._wrapPaginator(r,c,u)}))};return u(c.items).then((function(r){return{items:r.sort((function(r,c){return r.index-c.index})),hasPrevPage:y?c.hasNextPage:c.hasPrevPage,hasNextPage:y?c.hasPrevPage:c.hasNextPage,prevPage:y?w:x,nextPage:y?x:w}}))}},{key:"_upsertMessage",value:function _upsertMessage(r,c){var u=this,p=this.messagesByIndex.get(r);if(p)return p;var y={self:"".concat(this.conversation._links.messages,"/").concat(c.sid),conversation:this.conversation._links.self,messages_receipts:"".concat(this.conversation._links.messages,"/").concat(c.sid,"/Receipts")},w=new xt(r,c,this.conversation,y,this.configuration,this.services);return this.messagesByIndex.set(w.index,w),w.on("updated",(function(r){return u.emit("messageUpdated",r)})),w}},{key:"_getMessages",value:(c=Le.default(Ge.default.mark((function _callee7(){var r,c,u,p,y,w=this,x=arguments;return Ge.default.wrap((function _callee7$(k){for(;;)switch(k.prev=k.next){case 0:return r=x.length&gt;0&amp;&amp;void 0!==x[0]?x[0]:30,c=x.length&gt;1&amp;&amp;void 0!==x[1]?x[1]:"end",u="backwards"===(x.length&gt;2&amp;&amp;void 0!==x[2]?x[2]:"forward")?"desc":"asc",k.next=6,this.messagesListPromise;case 6:return p=k.sent,k.next=9,null==p?void 0:p.getItems({from:"end"!==c?c:void 0,pageSize:r,order:u,limit:r});case 9:return y=k.sent,k.next=12,this._wrapPaginator(u,y,(function(r){return Promise.all(r.map((function(r){return w._upsertMessage(r.index,r.data)})))}));case 12:return k.abrupt("return",k.sent);case 13:case"end":return k.stop()}}),_callee7,this)}))),function _getMessages(){return c.apply(this,arguments)})}]),Messages}(ue.ReplayEventEmitter),Et=function(){function UnsentMessage(r){$e.default(this,UnsentMessage),Fe.default(this,"attributes",{}),Fe.default(this,"mediaContent",[]),Fe.default(this,"emailOptions",{}),this.messagesEntity=r}return Ze.default(UnsentMessage,[{key:"send",value:function send(){var r=this;return new we.CancellablePromise(function(){var c=Le.default(Ge.default.mark((function _callee(c,u,p){var y,w;return Ge.default.wrap((function _callee$(x){for(;;)switch(x.prev=x.next){case 0:return y=r.messagesEntity.sendV2(r),p((function(){return y.cancel()})),x.prev=2,x.next=5,y;case 5:w=x.sent,c(parseToNumber(w.index)),x.next=12;break;case 9:x.prev=9,x.t0=x.catch(2),u(x.t0);case 12:case"end":return x.stop()}}),_callee,null,[[2,9]])})));return function(r,u,p){return c.apply(this,arguments)}}())}}]),UnsentMessage}(),Tt=function(){function MessageBuilder(r,c){$e.default(this,MessageBuilder),this.limits=r,this.message=new Et(c),this.emailBodies=new Map,this.emailHistories=new Map}return Ze.default(MessageBuilder,[{key:"setBody",value:function setBody(r){return this.message.text=r,this}},{key:"setSubject",value:function setSubject(r){return this.message.emailOptions.subject=r,this}},{key:"setAttributes",value:function setAttributes(r){return this.message.attributes=r,this}},{key:"setEmailBody",value:function setEmailBody(r,c){return this.emailBodies.set(r,c),this}},{key:"setEmailHistory",value:function setEmailHistory(r,c){return this.emailHistories.set(r,c),this}},{key:"addMedia",value:function addMedia(r){if("undefined"==typeof FormData&amp;&amp;r instanceof FormData)throw new Error("Could not add FormData content whilst not in a browser");if(!(r instanceof FormData)){var c=r;if(!c.contentType||!c.media)throw new Error("Media content in SendMediaOptions must contain non-empty contentType and media")}return this.message.mediaContent.push(["media",r]),this}},{key:"build",value:function build(){var r=this;if(this.emailBodies.forEach((function(c,u){if(!r.limits.emailBodiesAllowedContentTypes.includes(u))throw new Error("Unsupported email body content type ".concat(u))})),this.emailHistories.forEach((function(c,u){if(!r.limits.emailHistoriesAllowedContentTypes.includes(u))throw new Error("Unsupported email history content type ".concat(u))})),this.emailBodies.size&gt;this.limits.emailBodiesAllowedContentTypes.length)throw new Error("Too many email bodies attached to the message (".concat(this.emailBodies.size," &gt; ").concat(this.limits.emailBodiesAllowedContentTypes.length,")"));if(this.emailHistories.size&gt;this.limits.emailHistoriesAllowedContentTypes.length)throw new Error("Too many email histories attached to the message (".concat(this.emailHistories.size," &gt; ").concat(this.limits.emailHistoriesAllowedContentTypes.length,")"));if(this.message.mediaContent.length&gt;this.limits.mediaAttachmentsCountLimit)throw new Error("Too many media attachments in the message (".concat(this.message.mediaContent.length," &gt; ").concat(this.limits.mediaAttachmentsCountLimit,")"));return this.emailBodies.forEach((function(c){r.message.mediaContent.push(["body",c])})),this.emailHistories.forEach((function(c){r.message.mediaContent.push(["history",c])})),this.message}},{key:"buildAndSend",value:function buildAndSend(){return this.build().send()}},{key:"getPayloadContentType",value:function getPayloadContentType(r){return"undefined"!=typeof FormData&amp;&amp;r instanceof FormData?r.get("Content-Type"):r.contentType}}]),MessageBuilder}();function _createForOfIteratorHelper$1(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$1(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$1(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$1(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$1(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}function _createSuper$3(r){var c=function _isNativeReflectConstruct$3(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ue.default(r);if(c){var y=Ue.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return De.default(this,u)}}var Ot={lastMessage:"lastMessage",attributes:"attributes",createdBy:"createdBy",dateCreated:"dateCreated",dateUpdated:"dateUpdated",friendlyName:"friendlyName",lastConsumedMessageIndex:"lastConsumedMessageIndex",notificationLevel:"notificationLevel",sid:"sid",status:"status",uniqueName:"uniqueName",state:"state",bindings:"bindings"},Ct=function(r){je.default(Conversation,r);var c,u,p,y,w,x,k,E,I,K,J,oe,ie,ae,se,ue,le,pe,de,he,ge,ve,we,Se,Oe,Pe,De,Ue,Fe=_createSuper$3(Conversation);function Conversation(r,c,u,p,y){var w,x,k;$e.default(this,Conversation),(k=Fe.call(this)).sid=c,k._links=u,k._configuration=p,k._services=y,k._entityName=r.channel,k._internalState={uniqueName:r.uniqueName||null,status:"notParticipating",attributes:null!==(w=r.attributes)&amp;&amp;void 0!==w?w:{},createdBy:r.createdBy,dateCreated:parseTime(r.dateCreated),dateUpdated:parseTime(r.dateUpdated),friendlyName:r.friendlyName||null,lastReadMessageIndex:Number.isInteger(r.lastConsumedMessageIndex)?r.lastConsumedMessageIndex:null,bindings:null!==(x=r.bindings)&amp;&amp;void 0!==x?x:{}},r.notificationLevel&amp;&amp;(k._internalState.notificationLevel=r.notificationLevel);var E={participants:k._links.participants};return k._participants=new Map,k._participantsEntity=new yt(Ie.default(k),k._participants,E,k._configuration,k._services),k._participantsEntity.on("participantJoined",(function(r){return k.emit("participantJoined",r)})),k._participantsEntity.on("participantLeft",(function(r){return k.emit("participantLeft",r)})),k._participantsEntity.on("participantUpdated",(function(r){return k.emit("participantUpdated",r)})),k._messagesEntity=new St(Ie.default(k),p,y),k._messagesEntity.on("messageAdded",(function(r){return k._onMessageAdded(r)})),k._messagesEntity.on("messageUpdated",(function(r){return k.emit("messageUpdated",r)})),k._messagesEntity.on("messageRemoved",(function(r){return k.emit("messageRemoved",r)})),k}return Ze.default(Conversation,[{key:"uniqueName",get:function get(){return this._internalState.uniqueName}},{key:"status",get:function get(){return this._internalState.status}},{key:"friendlyName",get:function get(){return this._internalState.friendlyName}},{key:"dateUpdated",get:function get(){return this._internalState.dateUpdated}},{key:"dateCreated",get:function get(){return this._internalState.dateCreated}},{key:"createdBy",get:function get(){var r;return null!==(r=this._internalState.createdBy)&amp;&amp;void 0!==r?r:""}},{key:"attributes",get:function get(){return this._internalState.attributes}},{key:"lastReadMessageIndex",get:function get(){return this._internalState.lastReadMessageIndex}},{key:"lastMessage",get:function get(){var r;return null!==(r=this._internalState.lastMessage)&amp;&amp;void 0!==r?r:void 0}},{key:"notificationLevel",get:function get(){var r;return null!==(r=this._internalState.notificationLevel)&amp;&amp;void 0!==r?r:"default"}},{key:"bindings",get:function get(){return this._internalState.bindings}},{key:"limits",get:function get(){return this._configuration.limits}},{key:"state",get:function get(){return this._internalState.state}},{key:"_statusSource",get:function get(){return this._dataSource}},{key:"add",value:(Ue=Le.default(Ge.default.mark((function _callee(r,c){return Ge.default.wrap((function _callee$(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",this._participantsEntity.add(r,null!=c?c:{}));case 1:case"end":return u.stop()}}),_callee,this)}))),function add(r,c){return Ue.apply(this,arguments)})},{key:"addNonChatParticipant",value:(De=Le.default(Ge.default.mark((function _callee2(r,c){var u,p,y=arguments;return Ge.default.wrap((function _callee2$(w){for(;;)switch(w.prev=w.next){case 0:return u=y.length&gt;2&amp;&amp;void 0!==y[2]?y[2]:{},p=y.length&gt;3&amp;&amp;void 0!==y[3]?y[3]:{},w.abrupt("return",this._participantsEntity.addNonChatParticipant(r,c,null!=u?u:{},null!=p?p:{}));case 3:case"end":return w.stop()}}),_callee2,this)}))),function addNonChatParticipant(r,c){return De.apply(this,arguments)})},{key:"advanceLastReadMessageIndex",value:(Pe=Le.default(Ge.default.mark((function _callee3(r){var c;return Ge.default.wrap((function _callee3$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this._subscribeStreams();case 2:if(!(r&lt;(null!==(c=this.lastReadMessageIndex)&amp;&amp;void 0!==c?c:0))){u.next=6;break}return u.next=5,this._setLastReadMessageIndex(this.lastReadMessageIndex);case 5:case 8:return u.abrupt("return",u.sent);case 6:return u.next=8,this._setLastReadMessageIndex(r);case 9:case"end":return u.stop()}}),_callee3,this)}))),function advanceLastReadMessageIndex(r){return Pe.apply(this,arguments)})},{key:"delete",value:(Oe=Le.default(Ge.default.mark((function _callee4(){return Ge.default.wrap((function _callee4$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this._services.commandExecutor.mutateResource("delete",this._links.self);case 2:return r.abrupt("return",this);case 3:case"end":return r.stop()}}),_callee4,this)}))),function _delete(){return Oe.apply(this,arguments)})},{key:"getAttributes",value:(Se=Le.default(Ge.default.mark((function _callee5(){return Ge.default.wrap((function _callee5$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this._subscribe();case 2:return r.abrupt("return",this.attributes);case 3:case"end":return r.stop()}}),_callee5,this)}))),function getAttributes(){return Se.apply(this,arguments)})},{key:"getMessages",value:(we=Le.default(Ge.default.mark((function _callee6(r,c,u){return Ge.default.wrap((function _callee6$(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,this._subscribeStreams();case 2:return p.abrupt("return",this._messagesEntity.getMessages(r,c,u));case 3:case"end":return p.stop()}}),_callee6,this)}))),function getMessages(r,c,u){return we.apply(this,arguments)})},{key:"getParticipants",value:(ve=Le.default(Ge.default.mark((function _callee7(){return Ge.default.wrap((function _callee7$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this._subscribeStreams();case 2:return r.abrupt("return",this._participantsEntity.getParticipants());case 3:case"end":return r.stop()}}),_callee7,this)}))),function getParticipants(){return ve.apply(this,arguments)})},{key:"getParticipantsCount",value:(ge=Le.default(Ge.default.mark((function _callee8(){var r,c,u;return Ge.default.wrap((function _callee8$(p){for(;;)switch(p.prev=p.next){case 0:return c=new it(this._configuration.links.conversations).path(this.sid).build(),p.next=3,this._services.network.get(c);case 3:return u=p.sent,p.abrupt("return",null!==(r=u.body.participants_count)&amp;&amp;void 0!==r?r:0);case 5:case"end":return p.stop()}}),_callee8,this)}))),function getParticipantsCount(){return ge.apply(this,arguments)})},{key:"getParticipantBySid",value:(he=Le.default(Ge.default.mark((function _callee9(r){return Ge.default.wrap((function _callee9$(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",this._participantsEntity.getParticipantBySid(r));case 1:case"end":return c.stop()}}),_callee9,this)}))),function getParticipantBySid(r){return he.apply(this,arguments)})},{key:"getParticipantByIdentity",value:(de=Le.default(Ge.default.mark((function _callee10(){var r,c=arguments;return Ge.default.wrap((function _callee10$(u){for(;;)switch(u.prev=u.next){case 0:return r=c.length&gt;0&amp;&amp;void 0!==c[0]?c[0]:"",u.abrupt("return",this._participantsEntity.getParticipantByIdentity(null!=r?r:""));case 2:case"end":return u.stop()}}),_callee10,this)}))),function getParticipantByIdentity(){return de.apply(this,arguments)})},{key:"getMessagesCount",value:(pe=Le.default(Ge.default.mark((function _callee11(){var r,c,u;return Ge.default.wrap((function _callee11$(p){for(;;)switch(p.prev=p.next){case 0:return c=new it(this._configuration.links.conversations).path(this.sid).build(),p.next=3,this._services.network.get(c);case 3:return u=p.sent,p.abrupt("return",null!==(r=u.body.messages_count)&amp;&amp;void 0!==r?r:0);case 5:case"end":return p.stop()}}),_callee11,this)}))),function getMessagesCount(){return pe.apply(this,arguments)})},{key:"getUnreadMessagesCount",value:(le=Le.default(Ge.default.mark((function _callee12(){var r,c,u;return Ge.default.wrap((function _callee12$(p){for(;;)switch(p.prev=p.next){case 0:return r=new it(this._configuration.links.myConversations).path(this.sid).build(),p.next=3,this._services.network.get(r);case 3:if((c=p.sent).body.conversation_sid===this.sid){p.next=6;break}throw new Error("Conversation was not found in the user conversations list");case 6:if("number"!=typeof(u=c.body.unread_messages_count)){p.next=9;break}return p.abrupt("return",u);case 9:return p.abrupt("return",null);case 10:case"end":return p.stop()}}),_callee12,this)}))),function getUnreadMessagesCount(){return le.apply(this,arguments)})},{key:"join",value:(ue=Le.default(Ge.default.mark((function _callee13(){return Ge.default.wrap((function _callee13$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this._services.commandExecutor.mutateResource("post",this._links.participants,{identity:this._configuration.userIdentity});case 2:return r.abrupt("return",this);case 3:case"end":return r.stop()}}),_callee13,this)}))),function join(){return ue.apply(this,arguments)})},{key:"leave",value:(se=Le.default(Ge.default.mark((function _callee14(){return Ge.default.wrap((function _callee14$(r){for(;;)switch(r.prev=r.next){case 0:if("joined"!==this._internalState.status){r.next=3;break}return r.next=3,this._services.commandExecutor.mutateResource("delete","".concat(this._links.participants,"/").concat(this._configuration.userIdentity));case 3:return r.abrupt("return",this);case 4:case"end":return r.stop()}}),_callee14,this)}))),function leave(){return se.apply(this,arguments)})},{key:"removeParticipant",value:(ae=Le.default(Ge.default.mark((function _callee15(r){return Ge.default.wrap((function _callee15$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._participantsEntity.remove("string"==typeof r?r:r.sid);case 2:case"end":return c.stop()}}),_callee15,this)}))),function removeParticipant(r){return ae.apply(this,arguments)})},{key:"sendMessage",value:(ie=Le.default(Ge.default.mark((function _callee16(r,c,u){var p,y,w,x;return Ge.default.wrap((function _callee16$(k){for(;;)switch(k.prev=k.next){case 0:if("string"!=typeof r&amp;&amp;null!==r){k.next=5;break}return k.next=3,this._messagesEntity.send(r,c,u);case 3:return w=k.sent,k.abrupt("return",null!==(y=parseToNumber(w.index))&amp;&amp;void 0!==y?y:0);case 5:return k.next=7,this._messagesEntity.sendMedia(r,c,u);case 7:return x=k.sent,k.abrupt("return",null!==(p=parseToNumber(x.index))&amp;&amp;void 0!==p?p:0);case 9:case"end":return k.stop()}}),_callee16,this)}))),function sendMessage(r,c,u){return ie.apply(this,arguments)})},{key:"prepareMessage",value:function prepareMessage(){return new Tt(this.limits,this._messagesEntity)}},{key:"setAllMessagesRead",value:(oe=Le.default(Ge.default.mark((function _callee17(){var r;return Ge.default.wrap((function _callee17$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._subscribeStreams();case 2:return c.next=4,this.getMessages(1);case 4:if(!((r=c.sent).items.length&gt;0)){c.next=7;break}return c.abrupt("return",this.advanceLastReadMessageIndex(r.items[0].index));case 7:return c.abrupt("return",0);case 8:case"end":return c.stop()}}),_callee17,this)}))),function setAllMessagesRead(){return oe.apply(this,arguments)})},{key:"setAllMessagesUnread",value:(J=Le.default(Ge.default.mark((function _callee18(){return Ge.default.wrap((function _callee18$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this._subscribeStreams();case 2:return r.next=4,this._setLastReadMessageIndex(null);case 4:return r.abrupt("return",r.sent);case 5:case"end":return r.stop()}}),_callee18,this)}))),function setAllMessagesUnread(){return J.apply(this,arguments)})},{key:"setUserNotificationLevel",value:(K=Le.default(Ge.default.mark((function _callee19(r){return Ge.default.wrap((function _callee19$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._services.commandExecutor.mutateResource("post","".concat(this._configuration.links.myConversations,"/").concat(this.sid),{notification_level:r});case 2:case"end":return c.stop()}}),_callee19,this)}))),function setUserNotificationLevel(r){return K.apply(this,arguments)})},{key:"typing",value:function typing(){return this._services.typingIndicator.send(this.sid)}},{key:"updateAttributes",value:(I=Le.default(Ge.default.mark((function _callee20(r){return Ge.default.wrap((function _callee20$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._services.commandExecutor.mutateResource("post",this._links.self,{attributes:void 0!==r?JSON.stringify(r):void 0});case 2:return c.abrupt("return",this);case 3:case"end":return c.stop()}}),_callee20,this)}))),function updateAttributes(r){return I.apply(this,arguments)})},{key:"updateFriendlyName",value:(E=Le.default(Ge.default.mark((function _callee21(r){return Ge.default.wrap((function _callee21$(c){for(;;)switch(c.prev=c.next){case 0:if(this._internalState.friendlyName===r){c.next=3;break}return c.next=3,this._services.commandExecutor.mutateResource("post",this._links.self,{friendly_name:r});case 3:return c.abrupt("return",this);case 4:case"end":return c.stop()}}),_callee21,this)}))),function updateFriendlyName(r){return E.apply(this,arguments)})},{key:"updateLastReadMessageIndex",value:(k=Le.default(Ge.default.mark((function _callee22(r){return Ge.default.wrap((function _callee22$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._subscribeStreams();case 2:return c.abrupt("return",this._setLastReadMessageIndex(r));case 3:case"end":return c.stop()}}),_callee22,this)}))),function updateLastReadMessageIndex(r){return k.apply(this,arguments)})},{key:"updateUniqueName",value:(x=Le.default(Ge.default.mark((function _callee23(r){return Ge.default.wrap((function _callee23$(c){for(;;)switch(c.prev=c.next){case 0:if(this._internalState.uniqueName===r){c.next=4;break}return r||(r=""),c.next=4,this._services.commandExecutor.mutateResource("post",this._links.self,{unique_name:r});case 4:return c.abrupt("return",this);case 5:case"end":return c.stop()}}),_callee23,this)}))),function updateUniqueName(r){return x.apply(this,arguments)})},{key:"_subscribe",value:(w=Le.default(Ge.default.mark((function _callee24(){var r=this;return Ge.default.wrap((function _callee24$(c){for(;;)switch(c.prev=c.next){case 0:if(!this._entityPromise){c.next=2;break}return c.abrupt("return",this._entityPromise);case 2:return this._entityPromise=this._services.syncClient.document({id:this._entityName,mode:"open_existing"}),c.prev=3,c.next=6,this._entityPromise;case 6:return this._entity=c.sent,this._entity.on("updated",(function(c){return r._update(c.data)})),this._entity.on("removed",(function(){return r.emit("removed",r)})),this._update(this._entity.data),c.abrupt("return",this._entity);case 13:throw c.prev=13,c.t0=c.catch(3),this._entity=null,this._entityPromise=null,"disconnected"!=this._services.syncClient.connectionState&amp;&amp;Conversation._logger.error("Failed to get conversation object",c.t0),Conversation._logger.debug("ERROR: Failed to get conversation object",c.t0),c.t0;case 20:case"end":return c.stop()}}),_callee24,this,[[3,13]])}))),function _subscribe(){return w.apply(this,arguments)})},{key:"_fetchStreams",value:(y=Le.default(Ge.default.mark((function _callee25(){var r,c,u;return Ge.default.wrap((function _callee25$(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,this._subscribe();case 2:return Conversation._logger.trace("_streamsAvailable, this.entity.data=",null===(r=this._entity)||void 0===r?void 0:r.data),u=null===(c=this._entity)||void 0===c?void 0:c.data,p.next=6,this._services.syncClient.list({id:u.messages,mode:"open_existing"});case 6:return this._messagesList=p.sent,p.next=9,this._services.syncClient.map({id:u.roster,mode:"open_existing"});case 9:this._participantsMap=p.sent;case 10:case"end":return p.stop()}}),_callee25,this)}))),function _fetchStreams(){return y.apply(this,arguments)})},{key:"_subscribeStreams",value:(p=Le.default(Ge.default.mark((function _callee26(){var r,c,u,p,y,w,x;return Ge.default.wrap((function _callee26$(k){for(;;)switch(k.prev=k.next){case 0:return k.prev=0,k.next=3,this._subscribe();case 3:return Conversation._logger.trace("_subscribeStreams, this.entity.data=",null===(r=this._entity)||void 0===r?void 0:r.data),y=null===(c=this._entity)||void 0===c?void 0:c.data,w=y.messages,x=y.roster,k.next=9,Promise.all([this._messagesEntity.subscribe(null!==(u=this._messagesList)&amp;&amp;void 0!==u?u:w),this._participantsEntity.subscribe(null!==(p=this._participantsMap)&amp;&amp;void 0!==p?p:x)]);case 9:k.next=16;break;case 11:throw k.prev=11,k.t0=k.catch(0),"disconnected"!==this._services.syncClient.connectionState&amp;&amp;Conversation._logger.error("Failed to subscribe on conversation objects",this.sid,k.t0),Conversation._logger.debug("ERROR: Failed to subscribe on conversation objects",this.sid,k.t0),k.t0;case 16:case"end":return k.stop()}}),_callee26,this,[[0,11]])}))),function _subscribeStreams(){return p.apply(this,arguments)})},{key:"_unsubscribe",value:(u=Le.default(Ge.default.mark((function _callee27(){return Ge.default.wrap((function _callee27$(r){for(;;)switch(r.prev=r.next){case 0:if(!this._entity){r.next=5;break}return r.next=3,this._entity.close();case 3:this._entity=null,this._entityPromise=null;case 5:return r.abrupt("return",Promise.all([this._participantsEntity.unsubscribe(),this._messagesEntity.unsubscribe()]));case 6:case"end":return r.stop()}}),_callee27,this)}))),function _unsubscribe(){return u.apply(this,arguments)})},{key:"_setStatus",value:function _setStatus(r,c){var u=this;this._dataSource=c,this._internalState.status!==r&amp;&amp;(this._internalState.status=r,"joined"!==r?this._entityPromise&amp;&amp;this._unsubscribe().catch((function(c){if(Conversation._logger.debug("ERROR while setting conversation status "+r,c),"disconnected"!==u._services.syncClient.connectionState)throw c})):this._subscribeStreams().catch((function(c){if(Conversation._logger.debug("ERROR while setting conversation status "+r,c),"disconnected"!==u._services.syncClient.connectionState)throw c})))}},{key:"_update",value:function _update(r){var c,u,p,y,w;Conversation._logger.trace("_update",r),Conversation.preprocessUpdate(r,this.sid);for(var x=new Set,k=0,E=Object.keys(r);k&lt;E.length;k++){var I=E[k],K=Ot[I];if(K)switch(K){case Ot.status:if(!r.status||"unknown"===r.status||this._internalState.status===r.status)break;this._internalState.status=r.status,x.add(K);break;case Ot.attributes:if(Je.default(this._internalState.attributes,r.attributes))break;this._internalState.attributes=r.attributes,x.add(K);break;case Ot.lastConsumedMessageIndex:if(void 0===r.lastConsumedMessageIndex||r.lastConsumedMessageIndex===this._internalState.lastReadMessageIndex)break;this._internalState.lastReadMessageIndex=r.lastConsumedMessageIndex,x.add("lastReadMessageIndex");break;case Ot.lastMessage:if(this._internalState.lastMessage&amp;&amp;!r.lastMessage){delete this._internalState.lastMessage,x.add(K);break}this._internalState.lastMessage=this._internalState.lastMessage||{},void 0!==(null===(c=r.lastMessage)||void 0===c?void 0:c.index)&amp;&amp;r.lastMessage.index!==this._internalState.lastMessage.index&amp;&amp;(this._internalState.lastMessage.index=r.lastMessage.index,x.add(K)),void 0!==(null===(u=r.lastMessage)||void 0===u?void 0:u.timestamp)&amp;&amp;(null===(p=this._internalState.lastMessage)||void 0===p||null===(y=p.dateCreated)||void 0===y?void 0:y.getTime())!==r.lastMessage.timestamp.getTime()&amp;&amp;(this._internalState.lastMessage.dateCreated=r.lastMessage.timestamp,x.add(K)),Je.default(this._internalState.lastMessage,{})&amp;&amp;delete this._internalState.lastMessage;break;case Ot.state:var J=r.state||void 0;if(void 0!==J&amp;&amp;(J.dateUpdated=new Date(J.dateUpdated)),Je.default(this._internalState.state,J))break;this._internalState.state=J,x.add(K);break;case Ot.bindings:if(Je.default(this._internalState.bindings,r.bindings))break;this._internalState.bindings=r.bindings,x.add(K);break;default:var oe=r[I]instanceof Date,ie=oe&amp;&amp;(null===(w=this._internalState[K])||void 0===w?void 0:w.getTime())===r[I].getTime(),ae=!oe&amp;&amp;this[K]===r[I];if(ie||ae)break;this._internalState[K]=r[I],x.add(K)}}x.size&gt;0&amp;&amp;this.emit("updated",{conversation:this,updateReasons:Xe.default(x)})}},{key:"_onMessageAdded",value:function _onMessageAdded(r){var c,u=_createForOfIteratorHelper$1(this._participants.values());try{for(u.s();!(c=u.n()).done;){var p=c.value;if(p.identity===r.author){p._endTyping();break}}}catch(r){u.e(r)}finally{u.f()}this.emit("messageAdded",r)}},{key:"_setLastReadMessageIndex",value:(c=Le.default(Ge.default.mark((function _callee28(r){var c;return Ge.default.wrap((function _callee28$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this._services.commandExecutor.mutateResource("post","".concat(this._configuration.links.myConversations,"/").concat(this.sid),{last_read_message_index:r});case 2:return c=u.sent,u.abrupt("return",c.unread_messages_count);case 4:case"end":return u.stop()}}),_callee28,this)}))),function _setLastReadMessageIndex(r){return c.apply(this,arguments)})}],[{key:"preprocessUpdate",value:function preprocessUpdate(r,c){try{"string"==typeof r.attributes?r.attributes=JSON.parse(r.attributes):r.attributes&amp;&amp;JSON.stringify(r.attributes)}catch(u){Conversation._logger.warn("Retrieved malformed attributes from the server for conversation: "+c),r.attributes={}}try{r.dateCreated&amp;&amp;(r.dateCreated=new Date(r.dateCreated))}catch(u){Conversation._logger.warn("Retrieved malformed dateCreated from the server for conversation: "+c),delete r.dateCreated}try{r.dateUpdated&amp;&amp;(r.dateUpdated=new Date(r.dateUpdated))}catch(u){Conversation._logger.warn("Retrieved malformed dateUpdated from the server for conversation: "+c),delete r.dateUpdated}try{r.lastMessage&amp;&amp;r.lastMessage.timestamp&amp;&amp;(r.lastMessage.timestamp=new Date(r.lastMessage.timestamp))}catch(u){Conversation._logger.warn("Retrieved malformed lastMessage.timestamp from the server for conversation: "+c),delete r.lastMessage.timestamp}}}]),Conversation}(ue.ReplayEventEmitter);Fe.default(Ct,"participantJoined","participantJoined"),Fe.default(Ct,"participantLeft","participantLeft"),Fe.default(Ct,"participantUpdated","participantUpdated"),Fe.default(Ct,"messageAdded","messageAdded"),Fe.default(Ct,"messageRemoved","messageRemoved"),Fe.default(Ct,"messageUpdated","messageUpdated"),Fe.default(Ct,"typingEnded","typingEnded"),Fe.default(Ct,"typingStarted","typingStarted"),Fe.default(Ct,"updated","updated"),Fe.default(Ct,"removed","removed"),Fe.default(Ct,"_logger",et.scope("Conversation")),__decorate([se.validateTypesAsync(se.nonEmptyString,ct),__metadata("design:type",Function),__metadata("design:paramtypes",[String,Object]),__metadata("design:returntype",Promise)],Ct.prototype,"add",null),__decorate([se.validateTypesAsync(se.nonEmptyString,se.nonEmptyString,ct),__metadata("design:type",Function),__metadata("design:paramtypes",[String,String,Object,Object]),__metadata("design:returntype",Promise)],Ct.prototype,"addNonChatParticipant",null),__decorate([se.validateTypesAsync(se.nonNegativeInteger),__metadata("design:type",Function),__metadata("design:paramtypes",[Number]),__metadata("design:returntype",Promise)],Ct.prototype,"advanceLastReadMessageIndex",null),__decorate([se.validateTypesAsync(["undefined",se.nonNegativeInteger],["undefined",se.nonNegativeInteger],["undefined",se.literal("backwards","forward")]),__metadata("design:type",Function),__metadata("design:paramtypes",[Number,Number,String]),__metadata("design:returntype",Promise)],Ct.prototype,"getMessages",null),__decorate([se.validateTypesAsync(se.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],Ct.prototype,"getParticipantBySid",null),__decorate([se.validateTypesAsync(se.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],Ct.prototype,"getParticipantByIdentity",null),__decorate([se.validateTypesAsync([se.nonEmptyString,ht]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],Ct.prototype,"removeParticipant",null),__decorate([se.validateTypesAsync(["string",FormData,se.literal(null),se.objectSchema("media options",{contentType:se.nonEmptyString,media:se.custom((function(r){var c="string"==typeof r&amp;&amp;r.length&gt;0||r instanceof Uint8Array||r instanceof ArrayBuffer;return"function"==typeof Blob&amp;&amp;(c=c||r instanceof Blob),[c,"a non-empty string, an instance of Buffer or an instance of Blob"]}))})],ct,["undefined",se.literal(null),se.objectSchema("email attributes",{subject:[se.nonEmptyString,"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object,Object,Object]),__metadata("design:returntype",Promise)],Ct.prototype,"sendMessage",null),__decorate([se.validateTypesAsync(se.literal("default","muted")),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],Ct.prototype,"setUserNotificationLevel",null),__decorate([se.validateTypesAsync(st),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],Ct.prototype,"updateAttributes",null),__decorate([se.validateTypesAsync("string"),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],Ct.prototype,"updateFriendlyName",null),__decorate([se.validateTypesAsync([se.literal(null),se.nonNegativeInteger]),__metadata("design:type",Function),__metadata("design:paramtypes",[Number]),__metadata("design:returntype",Promise)],Ct.prototype,"updateLastReadMessageIndex",null),__decorate([se.validateTypesAsync(["string",se.literal(null)]),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],Ct.prototype,"updateUniqueName",null);var At=function(){function Deferred(){var r=this;$e.default(this,Deferred),this._promise=new Promise((function(c,u){r._resolve=c,r._reject=u}))}return Ze.default(Deferred,[{key:"promise",get:function get(){return this._promise}},{key:"update",value:function update(r){this._resolve(r)}},{key:"set",value:function set(r){this.current=r,this._resolve(r)}},{key:"fail",value:function fail(r){this._reject(r)}}]),Deferred}();function _createForOfIteratorHelper(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}function ownKeys$2(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread$2(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys$2(Object(u),!0).forEach((function(c){Fe.default(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys$2(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function _createSuper$2(r){var c=function _isNativeReflectConstruct$2(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ue.default(r);if(c){var y=Ue.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return De.default(this,u)}}var Pt=et.scope("Conversations"),Lt=function(r){je.default(Conversations,r);var c,u,p,y,w,x,k,E,I,K,J,oe=_createSuper$2(Conversations);function Conversations(r,c){var u;return $e.default(this,Conversations),u=oe.call(this),Fe.default(Ie.default(u),"conversations",new Map),Fe.default(Ie.default(u),"myConversationsRead",new At),Fe.default(Ie.default(u),"tombstones",new Set),Fe.default(Ie.default(u),"myConversationsFetched",!1),u.configuration=r,u.services=c,u}return Ze.default(Conversations,[{key:"addConversation",value:(J=Le.default(Ge.default.mark((function _callee(r){var c,u,p,y,w,x,k,E,I,K;return Ge.default.wrap((function _callee$(J){for(;;)switch(J.prev=J.next){case 0:return y=void 0!==(null==r?void 0:r.attributes)?r.attributes:{},J.next=3,this.services.commandExecutor.mutateResource("post",this.configuration.links.conversations,{friendly_name:r.friendlyName,unique_name:r.uniqueName,attributes:void 0!==y?JSON.stringify(y):void 0});case 3:if(w=J.sent,x=null!==(c=w.sid)&amp;&amp;void 0!==c?c:null,k=null!==(u=null===(p=w.sync_objects)||void 0===p?void 0:p.conversation)&amp;&amp;void 0!==u?u:null,E=_objectSpread$2({self:w.url},w.links),!(I=this.conversations.get(x))){J.next=12;break}return J.next=11,I._subscribe();case 11:return J.abrupt("return",I);case 12:return K=new Ct({channel:k,entityName:"",uniqueName:"",attributes:null,createdBy:"",friendlyName:"",lastConsumedMessageIndex:0,dateCreated:null,dateUpdated:null},x,E,this.configuration,this.services),this.conversations.set(K.sid,K),this._registerForEvents(K),J.next=17,K._subscribe();case 17:return this.emit("conversationAdded",K),J.abrupt("return",K);case 19:case"end":return J.stop()}}),_callee,this)}))),function addConversation(r){return J.apply(this,arguments)})},{key:"fetchConversations",value:(K=Le.default(Ge.default.mark((function _callee2(){var r,c,u,p,y,w,x,k=this;return Ge.default.wrap((function _callee2$(E){for(;;)switch(E.prev=E.next){case 0:return E.prev=0,E.next=3,this._getMap();case 3:return(r=E.sent).on("itemAdded",(function(r){Pt.debug("itemAdded: ".concat(r.item.key)),k._upsertConversation("sync",r.item.key,r.item.data)})),r.on("itemRemoved",(function(r){Pt.debug("itemRemoved: ".concat(r.key));var c=r.key;k.myConversationsFetched||k.tombstones.add(c);var u=k.conversations.get(c);u&amp;&amp;("joined"===u.status&amp;&amp;(u._setStatus("notParticipating","sync"),k.emit("conversationLeft",u)),k.conversations.delete(c),k.emit("conversationRemoved",u),u.emit("removed",u))})),r.on("itemUpdated",(function(r){Pt.debug("itemUpdated: ".concat(r.item.key)),k._upsertConversation("sync",r.item.key,r.item.data)})),E.next=9,this._fetchMyConversations();case 9:c=E.sent,u=[],p=_createForOfIteratorHelper(c);try{for(p.s();!(y=p.n()).done;)w=y.value,u.push(this._upsertConversation("rest",w.channel_sid,w))}catch(r){p.e(r)}finally{p.f()}return this.myConversationsRead.set(!0),E.next=16,Promise.all(u);case 16:return this.myConversationsFetched=!0,this.tombstones.clear(),Pt.debug("The conversations list has been successfully fetched"),E.abrupt("return",this);case 22:throw E.prev=22,E.t0=E.catch(0),x="Failed to fetch the conversations list","disconnected"!==this.services.syncClient.connectionState&amp;&amp;Pt.error(x,E.t0),Pt.debug("ERROR: ".concat(x),E.t0),E.t0;case 28:case"end":return E.stop()}}),_callee2,this,[[0,22]])}))),function fetchConversations(){return K.apply(this,arguments)})},{key:"getConversations",value:(I=Le.default(Ge.default.mark((function _callee3(){var r,c,u=this;return Ge.default.wrap((function _callee3$(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,this._getMap();case 2:return r=p.sent,p.next=5,r.getItems();case 5:return c=p.sent,p.abrupt("return",this._wrapPaginator(c,(function(r){return Promise.all(r.map((function(r){return u._upsertConversation("sync",r.key,r.data)})))})));case 7:case"end":return p.stop()}}),_callee3,this)}))),function getConversations(){return I.apply(this,arguments)})},{key:"getConversation",value:(E=Le.default(Ge.default.mark((function _callee4(r){var c,u,p,y=this;return Ge.default.wrap((function _callee4$(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this._getMap();case 2:return c=w.sent,w.next=5,c.getItems({key:r});case 5:return u=w.sent,p=u.items.map((function(r){return y._upsertConversation("sync",r.key,r.data)})),w.abrupt("return",p.length&gt;0?p[0]:null);case 8:case"end":return w.stop()}}),_callee4,this)}))),function getConversation(r){return E.apply(this,arguments)})},{key:"getConversationByUniqueName",value:(k=Le.default(Ge.default.mark((function _callee5(r){var c,u,p,y,w;return Ge.default.wrap((function _callee5$(x){for(;;)switch(x.prev=x.next){case 0:return c=new it(this.configuration.links.myConversations).path(r).build(),x.next=3,this.services.network.get(c);case 3:return u=x.sent,p=u.body,y=p.conversation_sid,w={entityName:null,lastConsumedMessageIndex:p.last_read_message_index,status:(null==p?void 0:p.status)||"unknown",friendlyName:p.friendly_name,dateUpdated:p.date_updated,dateCreated:p.date_created,uniqueName:p.unique_name,createdBy:p.created_by,attributes:p.attributes,channel:p.sync_objects.conversation,notificationLevel:null==p?void 0:p.notification_level,sid:y},x.abrupt("return",y?this._upsertConversation("sync",y,w):null);case 8:case"end":return x.stop()}}),_callee5,this)}))),function getConversationByUniqueName(r){return k.apply(this,arguments)})},{key:"peekConversation",value:(x=Le.default(Ge.default.mark((function _callee6(r){var c,u,p,y;return Ge.default.wrap((function _callee6$(w){for(;;)switch(w.prev=w.next){case 0:return c=new it(this.configuration.links.conversations).path(r).build(),w.next=3,this.services.network.get(c);case 3:return u=w.sent,p=u.body,y={entityName:null,status:(null==p?void 0:p.status)||"unknown",friendlyName:p.friendly_name,dateUpdated:p.date_updated,dateCreated:p.date_created,uniqueName:p.unique_name,createdBy:p.created_by,attributes:p.attributes,channel:"".concat(r,".channel"),sid:r},w.abrupt("return",this._upsertConversation("sync",r,y));case 7:case"end":return w.stop()}}),_callee6,this)}))),function peekConversation(r){return x.apply(this,arguments)})},{key:"_getMap",value:(w=Le.default(Ge.default.mark((function _callee7(){return Ge.default.wrap((function _callee7$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.services.syncClient.map({id:this.configuration.myConversations,mode:"open_existing"});case 2:return r.abrupt("return",r.sent);case 3:case"end":return r.stop()}}),_callee7,this)}))),function _getMap(){return w.apply(this,arguments)})},{key:"_wrapPaginator",value:(y=Le.default(Ge.default.mark((function _callee8(r,c){var u,p=this;return Ge.default.wrap((function _callee8$(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,c(r.items);case 2:return u=y.sent,y.abrupt("return",{items:u.filter((function(r){return null!==r})),hasNextPage:r.hasNextPage,hasPrevPage:r.hasPrevPage,nextPage:function nextPage(){return r.nextPage().then((function(r){return p._wrapPaginator(r,c)}))},prevPage:function prevPage(){return r.prevPage().then((function(r){return p._wrapPaginator(r,c)}))}});case 4:case"end":return y.stop()}}),_callee8)}))),function _wrapPaginator(r,c){return y.apply(this,arguments)})},{key:"_updateConversation",value:(p=Le.default(Ge.default.mark((function _callee9(r,c,u){var p,y,w;return Ge.default.wrap((function _callee9$(x){for(;;)switch(x.prev=x.next){case 0:if(p=void 0!==c._statusSource&amp;&amp;r!==c._statusSource,y="rest"!==r||"sync"===c._statusSource,!p||!y||"sync"===r){x.next=5;break}return Pt.trace("upsertConversation: conversation is known from sync and came from REST, ignoring",{sid:c.sid,data:u.status,conversation:c.status}),x.abrupt("return");case 5:if("joined"!==u.status||"joined"===c.status){x.next=15;break}return c._setStatus("joined",r),w={},void 0!==u.notificationLevel&amp;&amp;(w.notificationLevel=u.notificationLevel),void 0!==u.lastConsumedMessageIndex&amp;&amp;(w.lastConsumedMessageIndex=u.lastConsumedMessageIndex),Je.default(w,{})||c._update(w),x.next=13,c._subscribe();case 13:return this.emit("conversationJoined",c),x.abrupt("return");case 15:if("notParticipating"!==u.status||"joined"!==c.status){x.next=22;break}return c._setStatus("notParticipating",r),c._update(u),x.next=20,c._subscribe();case 20:return this.emit("conversationLeft",c),x.abrupt("return");case 22:if("notParticipating"!==u.status){x.next=26;break}return x.next=25,c._subscribe();case 25:return x.abrupt("return");case 26:c._update(u);case 27:case"end":return x.stop()}}),_callee9,this)}))),function _updateConversation(r,c,u){return p.apply(this,arguments)})},{key:"_upsertConversation",value:(u=Le.default(Ge.default.mark((function _callee10(r,c,u){var p,y,w,x;return Ge.default.wrap((function _callee10$(k){for(;;)switch(k.prev=k.next){case 0:if(Pt.trace("upsertConversation called for ".concat(c),u),!(p=this.conversations.get(c))){k.next=9;break}return Pt.trace("upsertConversation: the conversation ".concat(p.sid," is known;")+"its status is known from the source ".concat(p._statusSource," ")+"and the update came from the source ".concat(r),p),k.next=6,this._updateConversation(r,p,u);case 6:return k.next=8,p._subscribe();case 8:return k.abrupt("return",p);case 9:if("rest"!==r||!this.tombstones.has(c)){k.next=12;break}return Pt.trace("upsertChannel: the conversation is deleted but reappeared again from REST, ignoring",c),k.abrupt("return",null);case 12:return Pt.trace("upsertConversation: creating a local conversation object with sid "+c,u),y="".concat(this.configuration.links.conversations,"/").concat(c),w={self:y,messages:"".concat(y,"/Messages"),participants:"".concat(y,"/Participants")},x=new Ct(u,c,w,this.configuration,this.services),this.conversations.set(c,x),k.prev=17,k.next=20,x._subscribe();case 20:if("joined"!==u.status){k.next=23;break}return k.next=23,x._fetchStreams();case 23:k.next=32;break;case 25:if(k.prev=25,k.t0=k.catch(17),"SyncError"===k.t0.name){k.next=29;break}throw k.t0;case 29:return Pt.trace("upsertChannel: the conversation is missing some Sync entity(ies), ignoring",c,k.t0),this.conversations.delete(c),k.abrupt("return",null);case 32:return this._registerForEvents(x),this.emit("conversationAdded",x),"joined"===u.status&amp;&amp;(x._setStatus("joined",r),this.emit("conversationJoined",x)),k.abrupt("return",x);case 36:case"end":return k.stop()}}),_callee10,this,[[17,25]])}))),function _upsertConversation(r,c,p){return u.apply(this,arguments)})},{key:"_fetchMyConversations",value:(c=Le.default(Ge.default.mark((function _callee11(){var r,c,u,p,y,w;return Ge.default.wrap((function _callee11$(x){for(;;)switch(x.prev=x.next){case 0:r=[],c=null;case 2:return p=new it(this.configuration.links.myConversations),c&amp;&amp;p.arg("PageToken",c),x.next=6,this.services.network.get(p.build());case 6:y=x.sent,w=null===(u=y.body)||void 0===u?void 0:u.conversations.map((function(r){return{descriptor:r,channel_sid:r.conversation_sid,status:r.status,channel:r.sync_objects.conversation,messages:r.sync_objects.messages,roster:"".concat(r.conversation_sid,".roster"),lastConsumedMessageIndex:r.last_read_message_index,notificationLevel:r.notification_level}})),c=y.body.meta.next_token,r=[].concat(Xe.default(r),Xe.default(w));case 10:if(c){x.next=2;break}case 11:return x.abrupt("return",r);case 12:case"end":return x.stop()}}),_callee11,this)}))),function _fetchMyConversations(){return c.apply(this,arguments)})},{key:"_onConversationRemoved",value:function _onConversationRemoved(r){var c=this.conversations.get(r);c&amp;&amp;(this.conversations.delete(r),this.emit("conversationRemoved",c))}},{key:"_registerForEvents",value:function _registerForEvents(r){var c=this;r.on("removed",(function(){return c._onConversationRemoved(r.sid)})),r.on("updated",(function(r){return c.emit("conversationUpdated",r)})),r.on("participantJoined",(function(r){return c.emit("participantJoined",r)})),r.on("participantLeft",(function(r){return c.emit("participantLeft",r)})),r.on("participantUpdated",(function(r){return c.emit("participantUpdated",r)})),r.on("messageAdded",(function(r){return c.emit("messageAdded",r)})),r.on("messageUpdated",(function(r){return c.emit("messageUpdated",r)})),r.on("messageRemoved",(function(r){return c.emit("messageRemoved",r)})),r.on("typingStarted",(function(r){return c.emit("typingStarted",r)})),r.on("typingEnded",(function(r){return c.emit("typingEnded",r)}))}}]),Conversations}(ue.ReplayEventEmitter);function _createSuper$1(r){var c=function _isNativeReflectConstruct$1(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ue.default(r);if(c){var y=Ue.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return De.default(this,u)}}var It=function(r){je.default(Users,r);var c,u,p,y=_createSuper$1(Users);function Users(r,c,u){var p;return $e.default(this,Users),(p=y.call(this)).configuration=c,p.services=u,p.fifoStack=[],p.myself=r,p.myself.on("updated",(function(r){return p.emit("userUpdated",r)})),p.myself.on("userSubscribed",(function(){return p.emit("userSubscribed",p.myself)})),p.myself.on("userUnsubscribed",(function(){p.emit("userUnsubscribed",p.myself),p.myself._ensureFetched()})),p.subscribedUsers=new Map,p}return Ze.default(Users,[{key:"handleUnsubscribeUser",value:function handleUnsubscribeUser(r){this.subscribedUsers.has(r.identity)&amp;&amp;this.subscribedUsers.delete(r.identity);var c=0;this.fifoStack.find((function(u,p){return u==r.identity&amp;&amp;(c=p,!0)}))&amp;&amp;this.fifoStack.splice(c,1),this.emit("userUnsubscribed",r)}},{key:"handleSubscribeUser",value:function handleSubscribeUser(r){if(!this.subscribedUsers.has(r.identity)){if(this.fifoStack.length&gt;=this.configuration.userInfosToSubscribe){var c,u,p=this.fifoStack.shift();null===(c=this.subscribedUsers)||void 0===c||null===(u=c.get(p))||void 0===u||u.unsubscribe()}this.fifoStack.push(r.identity),this.subscribedUsers.set(r.identity,r),this.emit("userSubscribed",r)}}},{key:"getUser",value:(p=Le.default(Ge.default.mark((function _callee(r,c){var u,p,y,w=this;return Ge.default.wrap((function _callee$(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,this.myself._ensureFetched();case 2:if(r!=this.myself.identity){x.next=4;break}return x.abrupt("return",this.myself);case 4:if(!(p=this.subscribedUsers.get(r))){x.next=7;break}return x.abrupt("return",p);case 7:if(null===(u=c)||void 0===u){x.next=11;break}x.next=14;break;case 11:return x.next=13,this.getSyncUniqueName(r);case 13:c=x.sent;case 14:return(y=new lt(r,c,this.configuration,this.services)).on("updated",(function(r){return w.emit("userUpdated",r)})),y.on("userSubscribed",(function(){return w.handleSubscribeUser(y)})),y.on("userUnsubscribed",(function(){return w.handleUnsubscribeUser(y)})),x.next=20,y._ensureFetched();case 20:return x.abrupt("return",y);case 21:case"end":return x.stop()}}),_callee,this)}))),function getUser(r,c){return p.apply(this,arguments)})},{key:"getSubscribedUsers",value:(u=Le.default(Ge.default.mark((function _callee2(){var r;return Ge.default.wrap((function _callee2$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.myself._ensureFetched();case 2:return r=[this.myself],this.subscribedUsers.forEach((function(c){return r.push(c)})),c.abrupt("return",r);case 5:case"end":return c.stop()}}),_callee2,this)}))),function getSubscribedUsers(){return u.apply(this,arguments)})},{key:"getSyncUniqueName",value:(c=Le.default(Ge.default.mark((function _callee3(r){var c,u,p,y;return Ge.default.wrap((function _callee3$(w){for(;;)switch(w.prev=w.next){case 0:return p=new it(this.configuration.links.users).path(r).build(),w.next=3,this.services.network.get(p);case 3:return y=w.sent,w.abrupt("return",null!==(c=null===(u=y.body)||void 0===u?void 0:u.sync_objects.user_info_map)&amp;&amp;void 0!==c?c:"");case 5:case"end":return w.stop()}}),_callee3,this)}))),function getSyncUniqueName(r){return c.apply(this,arguments)})}]),Users}(ue.ReplayEventEmitter),Rt=et.scope("TypingIndicator"),jt=function(){function TypingIndicator(r,c,u){$e.default(this,TypingIndicator),this.configuration=c,this.services=u,this.getConversation=r,this.serviceTypingTimeout=null,this.sentUpdates=new Map}var r;return Ze.default(TypingIndicator,[{key:"typingTimeout",get:function get(){return this.configuration.typingIndicatorTimeoutOverride||this.serviceTypingTimeout||this.configuration.typingIndicatorTimeoutDefault}},{key:"initialize",value:function initialize(){var r=this;this.services.notificationClient.on("message",function(){var c=Le.default(Ge.default.mark((function _callee(c,u){return Ge.default.wrap((function _callee$(p){for(;;)switch(p.prev=p.next){case 0:if(c!==dt.TYPING_INDICATOR){p.next=3;break}return p.next=3,r._handleRemoteTyping(u);case 3:case"end":return p.stop()}}),_callee)})));return function(r,u){return c.apply(this,arguments)}}())}},{key:"_handleRemoteTyping",value:(r=Le.default(Ge.default.mark((function _callee2(r){var c=this;return Ge.default.wrap((function _callee2$(u){for(;;)switch(u.prev=u.next){case 0:Rt.trace("Got new typing indicator ",r),this.getConversation(r.channel_sid).then((function(u){u&amp;&amp;u._participants.forEach((function(u){if(u.identity===r.identity){var p=c.configuration.typingIndicatorTimeoutOverride?c.configuration.typingIndicatorTimeoutOverride+1e3:1e3*r.typing_timeout;u._startTyping(p)}}))})).catch((function(r){throw Rt.error(r),r}));case 2:case"end":return u.stop()}}),_callee2,this)}))),function _handleRemoteTyping(c){return r.apply(this,arguments)})},{key:"send",value:function send(r){var c=this.sentUpdates.get(r);return c&amp;&amp;c&gt;Date.now()-this.typingTimeout?Promise.resolve():(this.sentUpdates.set(r,Date.now()),this._send(r))}},{key:"_send",value:function _send(r){var c=this;Rt.trace("Sending typing indicator");var u=this.configuration.links.typing,p="ChannelSid=".concat(r);return this.services.twilsockClient.post(u,{"Content-Type":"application/x-www-form-urlencoded"},p,this.configuration.productId).then((function(r){r.body.hasOwnProperty("typing_timeout")&amp;&amp;(c.serviceTypingTimeout=1e3*r.body.typing_timeout)})).catch((function(r){throw Rt.error("Failed to send typing indicator:",r),r}))}}]),TypingIndicator}(),Nt=Ze.default((function PushNotification(r){$e.default(this,PushNotification),this.title=r.title||null,this.body=r.body||null,this.sound=r.sound||null,this.badge=r.badge||null,this.action=r.action||null,this.type=r.type||null,this.data=r.data||{}})),Dt="2.2.1";function ownKeys$1(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread$1(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys$1(Object(u),!0).forEach((function(c){Fe.default(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys$1(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var Mt,Ut,Ft=function trimSlashes(r){return r.replace(/(^\/+|\/+$)/g,"")},Bt=function isMutationConflictResponse(r){return 202===r.status.code},qt=function(){function CommandExecutor(r,c,u){$e.default(this,CommandExecutor),this._serviceUrl=r,this._services=c,this._productId=u}var r,c,u;return Ze.default(CommandExecutor,[{key:"_preProcessUrl",value:function _preProcessUrl(r){var c=Ft(r);return/^https?:\/\//.test(r)?c:"".concat(Ft(this._serviceUrl),"/").concat(c)}},{key:"_makeRequest",value:(u=Le.default(Ge.default.mark((function _callee(r,c,u,p){var y,w,x,k;return Ge.default.wrap((function _callee$(E){for(;;)switch(E.prev=E.next){case 0:y=this._preProcessUrl(c),w=_objectSpread$1({"Content-Type":"application/json; charset=utf-8"},p||{}),E.t0=r,E.next="get"===E.t0?5:"post"===E.t0?11:"delete"===E.t0?15:19;break;case 5:return k=y,u&amp;&amp;(k+="?"+Object.entries(u).map((function(r){return r.map(encodeURIComponent).join("=")})).join("&amp;")),E.next=9,this._services.transport.get(k,w,this._productId);case 9:case 13:case 17:return x=E.sent,E.abrupt("break",19);case 11:return E.next=13,this._services.transport.post(y,w,JSON.stringify(u),this._productId);case 15:return E.next=17,this._services.transport.delete(y,w,{},this._productId);case 19:if(!(x.status.code&lt;200||x.status.code&gt;=300)){E.next=21;break}throw new Error("Request responded with a non-success code ".concat(x.status.code));case 21:return E.abrupt("return",x);case 22:case"end":return E.stop()}}),_callee,this)}))),function _makeRequest(r,c,p,y){return u.apply(this,arguments)})},{key:"fetchResource",value:(c=Le.default(Ge.default.mark((function _callee2(r,c){var u,p=this;return Ge.default.wrap((function _callee2$(y){for(;;)switch(y.prev=y.next){case 0:return y.prev=1,y.next=4,new de.AsyncRetrier({min:50,max:1600,maxAttemptsCount:6}).run((function(){return p._makeRequest("get",r,c)}));case 4:return u=y.sent,y.abrupt("return",u.body);case 8:throw y.prev=8,y.t0=y.catch(1),new Error('Fetch resource from "'.concat(r,'" failed.'));case 11:case"end":return y.stop()}}),_callee2,null,[[1,8]])}))),function fetchResource(r,u){return c.apply(this,arguments)})},{key:"mutateResource",value:(r=Le.default(Ge.default.mark((function _callee3(r,c,u){var p;return Ge.default.wrap((function _callee3$(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,this._makeRequest(r,c,u,{"X-Twilio-Mutation-Id":Pe.v4()});case 2:if(p=y.sent,!Bt(p)){y.next=7;break}return y.next=6,this.fetchResource(p.body.resource_url);case 6:return y.abrupt("return",y.sent);case 7:return y.abrupt("return",p.body);case 8:case"end":return y.stop()}}),_callee3,this)}))),function mutateResource(c,u,p){return r.apply(this,arguments)})}]),CommandExecutor}();function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){Fe.default(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ue.default(r);if(c){var y=Ue.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return De.default(this,u)}}var Zt=Ze.default((function ClientServices(){$e.default(this,ClientServices)}));c.KU=(Mt=function(r){je.default(Client,r);var c,u,p,y,w,x,k,E,I,K,J,oe,ie,ae,se,ue=_createSuper(Client);function Client(r){var c,u,p,y,w,x,k=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};if($e.default(this,Client),x=ue.call(this),Fe.default(Ie.default(x),"version",Dt),Fe.default(Ie.default(x),"connectionState","unknown"),Fe.default(Ie.default(x),"parsePushNotification",Ut.parsePushNotification),x._fpaToken=null!=r?r:"",x._options=null!=k?k:{},!x._options.disableDeepClone){var E=_objectSpread(_objectSpread({},x._options),{},{transport:void 0,twilsockClient:void 0});(E=function deepClone(r){return JSON.parse(JSON.stringify(r))}(E)).transport=x._options.transport,E.twilsockClient=x._options.twilsockClient,x._options=E}x._options.logLevel=null!==(c=x._options.logLevel)&amp;&amp;void 0!==c?c:"silent",Ut._logger.setLevel(x._options.logLevel);var I=x._options.productId="ip_messaging";if(x._options.clientMetadata=x._options.clientMetadata||{},x._options.clientMetadata.hasOwnProperty("type")||(x._options.clientMetadata.type="conversations"),x._options.clientMetadata.hasOwnProperty("sdk")||(x._options.clientMetadata.sdk="JS",x._options.clientMetadata.sdkv=Dt),x._options.Sync=x._options.Sync||{},void 0===x._options.Sync.enableSessionStorage&amp;&amp;(x._options.Sync.enableSessionStorage=!0),x._options.region&amp;&amp;(x._options.Sync.region=x._options.region),!r)throw new Error("A valid Twilio token should be provided");x._services=new Zt,x._myself=new lt("","",null,x._services);var K=!x._options.twilsockClient;if(!x._options.initRegistrations){var J=new he.InitRegistration(I);Ut.populateInitRegistrations(J),x._options.initRegistrations=[J]}x._services.twilsockClient=x._options.twilsockClient=null!==(u=x._options.twilsockClient)&amp;&amp;void 0!==u?u:new he.TwilsockClient(r,I,x._options),x._services.twilsockClient.on("tokenAboutToExpire",(function(){return x.emit("tokenAboutToExpire")})),x._services.twilsockClient.on("tokenExpired",(function(){return x.emit("tokenExpired")})),x._services.twilsockClient.on("connectionError",(function(r){return x.emit("connectionError",r)})),x._services.twilsockClient.on("stateChanged",(function(r){Ut._logger.debug("Handling stateChanged for ConversationsClient: new state ".concat(r)),r!==x.connectionState&amp;&amp;(x.connectionState=r,x.emit("connectionStateChanged",x.connectionState))})),x._services.transport=x._options.transport=null!==(p=x._options.transport)&amp;&amp;void 0!==p?p:x._options.twilsockClient,x._services.notificationClient=x._options.notificationsClient=null!==(y=x._options.notificationsClient)&amp;&amp;void 0!==y?y:new ge.Notifications(r,x._options),x._services.syncClient=x._options.syncClient=null!==(w=x._options.syncClient)&amp;&amp;void 0!==w?w:new ve.SyncClient(r,x._options);var oe=(null==k?void 0:k.Chat)||(null==k?void 0:k.IPMessaging)||k||{},ie=oe.region||(null==k?void 0:k.region),ae=oe.apiUri||oe.typingUri||"https://aim.".concat(ie||"us1",".twilio.com");x._services.commandExecutor=new qt(ae,{transport:x._options.transport},I);var se=function emitFailed(r){x._rejectEnsureReady(r),x.emit("stateChanged","failed"),x.emit("initFailed",{error:r})},le=function emitDisconnected(){se({terminal:!0,message:"Twilsock has disconnected."})};return x._services.twilsockClient.once("connectionError",se),x._services.twilsockClient.once("disconnected",le),x._services.twilsockClient.once("connected",Le.default(Ge.default.mark((function _callee(){var r,c;return Ge.default.wrap((function _callee$(u){for(;;)switch(u.prev=u.next){case 0:return Ut._logger.debug("ConversationsClient started INITIALIZING"),x._services.twilsockClient.off("connectionError",se),x._services.twilsockClient.off("disconnected",le),u.prev=3,r="conversations.client.startup",x._services.twilsockClient.addPartialTelemetryEvent(new he.TelemetryEventDescription(r,"Conversations client startup",new Date),r,he.TelemetryPoint.Start),u.next=8,x._initialize();case 8:x._services.twilsockClient.addPartialTelemetryEvent(new he.TelemetryEventDescription("","",new Date),r,he.TelemetryPoint.End),u.next=17;break;case 11:u.prev=11,u.t0=u.catch(3),c={terminal:!0,message:u.t0.message},x._rejectEnsureReady(c),x.emit("stateChanged","failed"),x.emit("initFailed",{error:c});case 17:case"end":return u.stop()}}),_callee,null,[[3,11]])})))),x._ensureReady=new Promise((function(r,c){x._resolveEnsureReady=r,x._rejectEnsureReady=c})).catch((function(){})),K&amp;&amp;x._services.twilsockClient.connect(),x}return Ze.default(Client,[{key:"user",get:function get(){return this._myself}},{key:"reachabilityEnabled",get:function get(){if(!this._configuration)throw new Error("Reachability information could not yet be accessed as the client has not yet been initialized. Subscribe to the 'stateChanged' event to properly react to the client initialization.");return this._configuration.reachabilityEnabled}},{key:"token",get:function get(){return this._fpaToken}},{key:"shutdown",value:(se=Le.default(Ge.default.mark((function _callee2(){return Ge.default.wrap((function _callee2$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this._ensureReady;case 2:return r.next=4,this._services.twilsockClient.disconnect();case 4:case"end":return r.stop()}}),_callee2,this)}))),function shutdown(){return se.apply(this,arguments)})},{key:"updateToken",value:(ae=Le.default(Ge.default.mark((function _callee3(r){return Ge.default.wrap((function _callee3$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._ensureReady;case 2:if(Ut._logger.info("updateToken"),this._fpaToken!==r){c.next=5;break}return c.abrupt("return",this);case 5:return c.next=7,this._services.twilsockClient.updateToken(r);case 7:return c.next=9,this._services.notificationClient.updateToken(r);case 9:return c.next=11,this._services.mcsClient.updateToken(r);case 11:return this._fpaToken=r,c.abrupt("return",this);case 13:case"end":return c.stop()}}),_callee3,this)}))),function updateToken(r){return ae.apply(this,arguments)})},{key:"getConversationBySid",value:(ie=Le.default(Ge.default.mark((function _callee4(r){var c;return Ge.default.wrap((function _callee4$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this._ensureReady;case 2:return u.next=4,this._conversationsEntity.myConversationsRead.promise;case 4:return u.next=6,this._conversationsEntity.getConversation(r);case 6:if(c=u.sent){u.next=12;break}return u.next=10,this.peekConversationBySid(r);case 10:(c=u.sent)&amp;&amp;Oe.deprecationWarning("The method getConversationBySid is deprecated to retrieve conversations you're not part of. Use peekConversationBySid instead.");case 12:if(c){u.next=14;break}throw new Error("Conversation with SID ".concat(r," was not found."));case 14:return u.abrupt("return",c);case 15:case"end":return u.stop()}}),_callee4,this)}))),function getConversationBySid(r){return ie.apply(this,arguments)})},{key:"peekConversationBySid",value:(oe=Le.default(Ge.default.mark((function _callee5(r){var c;return Ge.default.wrap((function _callee5$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this._ensureReady;case 2:return u.next=4,this._conversationsEntity.peekConversation(r);case 4:if(c=u.sent){u.next=7;break}throw new Error("Conversation with SID ".concat(r," was not found."));case 7:return u.abrupt("return",c);case 8:case"end":return u.stop()}}),_callee5,this)}))),function peekConversationBySid(r){return oe.apply(this,arguments)})},{key:"getConversationByUniqueName",value:(J=Le.default(Ge.default.mark((function _callee6(r){var c;return Ge.default.wrap((function _callee6$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this._ensureReady;case 2:return u.next=4,this._conversationsEntity.myConversationsRead.promise;case 4:return u.next=6,this._conversationsEntity.getConversationByUniqueName(r);case 6:if(c=u.sent){u.next=9;break}throw new Error("Conversation with unique name ".concat(r," was not found."));case 9:return u.abrupt("return",c);case 10:case"end":return u.stop()}}),_callee6,this)}))),function getConversationByUniqueName(r){return J.apply(this,arguments)})},{key:"getSubscribedConversations",value:(K=Le.default(Ge.default.mark((function _callee7(){return Ge.default.wrap((function _callee7$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this._ensureReady;case 2:return r.abrupt("return",this._conversationsPromise.then((function(r){return r.getConversations()})));case 3:case"end":return r.stop()}}),_callee7,this)}))),function getSubscribedConversations(){return K.apply(this,arguments)})},{key:"createConversation",value:(I=Le.default(Ge.default.mark((function _callee8(r){return Ge.default.wrap((function _callee8$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._ensureReady;case 2:return r=r||{},c.abrupt("return",this._conversationsPromise.then((function(c){return c.addConversation(r)})));case 4:case"end":return c.stop()}}),_callee8,this)}))),function createConversation(r){return I.apply(this,arguments)})},{key:"setPushRegistrationId",value:(E=Le.default(Ge.default.mark((function _callee9(r,c){return Ge.default.wrap((function _callee9$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this._ensureReady;case 2:return this._subscribeToPushNotifications(r),this._services.notificationClient.setPushRegistrationId(r,c),u.next=6,this._services.notificationClient.commitChanges();case 6:case"end":return u.stop()}}),_callee9,this)}))),function setPushRegistrationId(r,c){return E.apply(this,arguments)})},{key:"unsetPushRegistrationId",value:(k=Le.default(Ge.default.mark((function _callee10(r){return Ge.default.wrap((function _callee10$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._ensureReady;case 2:return this._unsubscribeFromPushNotifications(r),c.next=5,this._services.notificationClient.commitChanges();case 5:case"end":return c.stop()}}),_callee10,this)}))),function unsetPushRegistrationId(r){return k.apply(this,arguments)})},{key:"removePushRegistrations",value:(x=Le.default(Ge.default.mark((function _callee11(r,c){return Ge.default.wrap((function _callee11$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this._services.notificationClient.removeRegistrations(r,c);case 2:case"end":return u.stop()}}),_callee11,this)}))),function removePushRegistrations(r,c){return x.apply(this,arguments)})},{key:"handlePushNotification",value:(w=Le.default(Ge.default.mark((function _callee12(r){return Ge.default.wrap((function _callee12$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._ensureReady;case 2:Ut._logger.debug("handlePushNotification, notificationPayload=",r),this.emit("pushNotification",Ut.parsePushNotification(r));case 4:case"end":return c.stop()}}),_callee12,this)}))),function handlePushNotification(r){return w.apply(this,arguments)})},{key:"getUser",value:(y=Le.default(Ge.default.mark((function _callee13(r){return Ge.default.wrap((function _callee13$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this._ensureReady;case 2:return c.abrupt("return",this._services.users.getUser(r));case 3:case"end":return c.stop()}}),_callee13,this)}))),function getUser(r){return y.apply(this,arguments)})},{key:"getSubscribedUsers",value:(p=Le.default(Ge.default.mark((function _callee14(){return Ge.default.wrap((function _callee14$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this._ensureReady;case 2:return r.abrupt("return",this._services.users.getSubscribedUsers());case 3:case"end":return r.stop()}}),_callee14,this)}))),function getSubscribedUsers(){return p.apply(this,arguments)})},{key:"getTemporaryContentUrlsForMediaSids",value:function getTemporaryContentUrlsForMediaSids(r){var c=this;return new we.CancellablePromise(function(){var u=Le.default(Ge.default.mark((function _callee15(u,p,y){var w,x;return Ge.default.wrap((function _callee15$(k){for(;;)switch(k.prev=k.next){case 0:if(c._services.mcsClient&amp;&amp;r){k.next=3;break}return p(new Error("Media Content Service is unavailable")),k.abrupt("return");case 3:return w=c._services.mcsClient.mediaSetGetContentUrls(r),y((function(){w.cancel()})),k.prev=5,k.next=8,w;case 8:x=k.sent,u(x),k.next=15;break;case 12:k.prev=12,k.t0=k.catch(5),p(k.t0);case 15:case"end":return k.stop()}}),_callee15,null,[[5,12]])})));return function(r,c,p){return u.apply(this,arguments)}}())}},{key:"getTemporaryContentUrlsForMedia",value:function getTemporaryContentUrlsForMedia(r){var c=r.map((function(r){return r.sid}));return this.getTemporaryContentUrlsForMediaSids(c)}},{key:"_initialize",value:(u=Le.default(Ge.default.mark((function _callee16(){var r,c=this;return Ge.default.wrap((function _callee16$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this._services.commandExecutor.fetchResource("Client/v2/Configuration");case 2:return r=u.sent,this._configuration=new ot(this._options,r,Ut._logger),this._myself._resolveInitialization(this._configuration,this._configuration.userIdentity,this._configuration.userInfo,!0),this._services.typingIndicator=new jt(this.getConversationBySid.bind(this),this._configuration,this._services),this._services.network=new pt(this._configuration,this._services),this._services.users=new It(this._myself,this._configuration,this._services),this._services.users.on("userSubscribed",(function(r){c.emit("userSubscribed",r)})),this._services.users.on("userUpdated",(function(r){return c.emit("userUpdated",r)})),this._services.users.on("userUnsubscribed",(function(r){c.emit("userUnsubscribed",r)})),this._conversationsEntity=new Lt(this._configuration,this._services),this._conversationsEntity.on("conversationAdded",(function(r){c.emit("conversationAdded",r)})),this._conversationsEntity.on("conversationRemoved",(function(r){c.emit("conversationRemoved",r)})),this._conversationsEntity.on("conversationJoined",(function(r){c.emit("conversationJoined",r)})),this._conversationsEntity.on("conversationLeft",(function(r){c.emit("conversationLeft",r)})),this._conversationsEntity.on("conversationUpdated",(function(r){return c.emit("conversationUpdated",r)})),this._conversationsEntity.on("participantJoined",(function(r){c.emit("participantJoined",r)})),this._conversationsEntity.on("participantLeft",(function(r){c.emit("participantLeft",r)})),this._conversationsEntity.on("participantUpdated",(function(r){return c.emit("participantUpdated",r)})),this._conversationsEntity.on("messageAdded",(function(r){return c.emit("messageAdded",r)})),this._conversationsEntity.on("messageUpdated",(function(r){return c.emit("messageUpdated",r)})),this._conversationsEntity.on("messageRemoved",(function(r){return c.emit("messageRemoved",r)})),this._conversationsEntity.on("typingStarted",(function(r){return c.emit("typingStarted",r)})),this._conversationsEntity.on("typingEnded",(function(r){return c.emit("typingEnded",r)})),this._conversationsPromise=this._conversationsEntity.fetchConversations().then((function(){return c._conversationsEntity})).catch((function(r){throw r})),u.next=28,this._services.users.myself._ensureFetched();case 28:Ut._supportedPushChannels.forEach((function(r){return c._subscribeToPushNotifications(r)})),this._services.typingIndicator.initialize(),this._services.mcsClient=new we.McsClient(this._fpaToken,this._configuration.links.mediaService,this._configuration.links.mediaSetService,_objectSpread(_objectSpread({},this._options),{},{transport:void 0})),this._resolveEnsureReady(),this.emit("stateChanged","initialized"),this.emit("initialized");case 34:case"end":return u.stop()}}),_callee16,this)}))),function _initialize(){return u.apply(this,arguments)})},{key:"_subscribeToPushNotifications",value:function _subscribeToPushNotifications(r){var c=this;[dt.NEW_MESSAGE,dt.ADDED_TO_CONVERSATION,dt.REMOVED_FROM_CONVERSATION,dt.TYPING_INDICATOR,dt.CONSUMPTION_UPDATE].forEach((function(u){c._services.notificationClient.subscribe(r,u)}))}},{key:"_unsubscribeFromPushNotifications",value:function _unsubscribeFromPushNotifications(r){var c=this;[dt.NEW_MESSAGE,dt.ADDED_TO_CONVERSATION,dt.REMOVED_FROM_CONVERSATION,dt.TYPING_INDICATOR,dt.CONSUMPTION_UPDATE].forEach((function(u){c._services.notificationClient.unsubscribe(r,u)}))}}],[{key:"create",value:(c=Le.default(Ge.default.mark((function _callee17(r,c){var u;return Ge.default.wrap((function _callee17$(p){for(;;)switch(p.prev=p.next){case 0:if(null==c||!c.twilsockClient){p.next=2;break}throw new Error("Obsolete usage of ConversationsClient.create() factory method: if you pass twilsock from the outside then you must use ConversationsClient constructor and be prepared to work with uninitialized client.");case 2:return u=new Ut(r,c),p.next=5,u._ensureReady;case 5:return p.abrupt("return",u);case 6:case"end":return p.stop()}}),_callee17)}))),function create(r,u){return c.apply(this,arguments)})},{key:"parsePushNotification",value:function parsePushNotification(r){if(Ut._logger.debug("parsePushNotification, notificationPayload=",r),void 0!==r.aps){if(!r.twi_message_type)throw new Error("Provided push notification payload does not contain Programmable Chat push notification type");var c,u,p,y=Ut._parsePushNotificationChatData(r),w=r.aps,x=null;if("string"==typeof w.alert)c=w.alert||null;else c=(null===(u=w.alert)||void 0===u?void 0:u.body)||null,x=(null===(p=w.alert)||void 0===p?void 0:p.title)||null;return new Nt({title:x,body:c,sound:w.sound||null,badge:w.badge||null,action:w.category||null,type:r.twi_message_type,data:y})}if(void 0!==r.data){var k=r.data;if(!k.twi_message_type)throw new Error("Provided push notification payload does not contain Programmable Chat push notification type");var E=Ut._parsePushNotificationChatData(r.data);return new Nt({title:k.twi_title||null,body:k.twi_body||null,sound:k.twi_sound||null,badge:null,action:k.twi_action||null,type:k.twi_message_type,data:E})}throw new Error("Provided push notification payload is not Programmable Chat notification")}},{key:"_parsePushNotificationChatData",value:function _parsePushNotificationChatData(r){var c={};for(var u in Ut._supportedPushDataFields){var p=r[u];if(null!=p)if("message_index"!==u&amp;&amp;"media_count"!==u){if("media"!==u)c[Ut._supportedPushDataFields[u]]=p;else if("string"==typeof p)try{c[Ut._supportedPushDataFields[u]]=JSON.parse(p)}catch(r){Ut._logger.debug("Media message notification parsing error")}}else{var y=parseToNumber(p);null!==y&amp;&amp;(c[Ut._supportedPushDataFields[u]]=y)}}return c}},{key:"populateInitRegistrations",value:function populateInitRegistrations(r){r.populateInitRegistrations([dt.TYPING_INDICATOR]),ve.SyncClient.populateInitRegistrations(r)}}]),Client}(ue.ReplayEventEmitter),Fe.default(Mt,"conversationAdded","conversationAdded"),Fe.default(Mt,"conversationJoined","conversationJoined"),Fe.default(Mt,"conversationLeft","conversationLeft"),Fe.default(Mt,"conversationRemoved","conversationRemoved"),Fe.default(Mt,"conversationUpdated","conversationUpdated"),Fe.default(Mt,"participantJoined","participantJoined"),Fe.default(Mt,"participantLeft","participantLeft"),Fe.default(Mt,"participantUpdated","participantUpdated"),Fe.default(Mt,"messageAdded","messageAdded"),Fe.default(Mt,"messageRemoved","messageRemoved"),Fe.default(Mt,"messageUpdated","messageUpdated"),Fe.default(Mt,"tokenAboutToExpire","tokenAboutToExpire"),Fe.default(Mt,"tokenExpired","tokenExpired"),Fe.default(Mt,"typingEnded","typingEnded"),Fe.default(Mt,"typingStarted","typingStarted"),Fe.default(Mt,"pushNotification","pushNotification"),Fe.default(Mt,"userSubscribed","userSubscribed"),Fe.default(Mt,"userUnsubscribed","userUnsubscribed"),Fe.default(Mt,"userUpdated","userUpdated"),Fe.default(Mt,"stateChanged","stateChanged"),Fe.default(Mt,"initialized","initialized"),Fe.default(Mt,"initFailed","initFailed"),Fe.default(Mt,"connectionStateChanged","connectionStateChanged"),Fe.default(Mt,"connectionError","connectionError"),Fe.default(Mt,"version",Dt),Fe.default(Mt,"_logger",et.scope("Client")),Fe.default(Mt,"_supportedPushChannels",["fcm","apn"]),Fe.default(Mt,"_supportedPushDataFields",{conversation_sid:"conversationSid",conversation_title:"conversationTitle",message_sid:"messageSid",message_index:"messageIndex",media_count:"mediaCount",media:"media"}),Ut=Mt),__decorate([Oe.deprecated("token"),__metadata("design:type",String),__metadata("design:paramtypes",[])],c.KU.prototype,"token",null),__decorate([se.validateTypesAsync(se.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],c.KU.prototype,"updateToken",null),__decorate([se.validateTypesAsync(se.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],c.KU.prototype,"getConversationBySid",null),__decorate([se.validateTypesAsync(se.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],c.KU.prototype,"peekConversationBySid",null),__decorate([se.validateTypesAsync(se.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],c.KU.prototype,"getConversationByUniqueName",null),__decorate([se.validateTypesAsync(["undefined",se.objectSchema("conversation options",{friendlyName:["string","undefined"],isPrivate:["boolean","undefined"],uniqueName:["string","undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],c.KU.prototype,"createConversation",null),__decorate([se.validateTypesAsync(se.literal("fcm","apn"),"string"),__metadata("design:type",Function),__metadata("design:paramtypes",[String,String]),__metadata("design:returntype",Promise)],c.KU.prototype,"setPushRegistrationId",null),__decorate([se.validateTypesAsync(se.literal("fcm","apn")),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],c.KU.prototype,"unsetPushRegistrationId",null),__decorate([se.validateTypesAsync(se.literal("fcm","apn"),se.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String,String]),__metadata("design:returntype",Promise)],c.KU.prototype,"removePushRegistrations",null),__decorate([se.validateTypesAsync(se.pureObject),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],c.KU.prototype,"handlePushNotification",null),__decorate([se.validateTypesAsync(se.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],c.KU.prototype,"getUser",null),__decorate([se.validateTypesAsync(se.nonEmptyArray("strings","string")),__metadata("design:type",Function),__metadata("design:paramtypes",[Array]),__metadata("design:returntype",we.CancellablePromise)],c.KU.prototype,"getTemporaryContentUrlsForMediaSids",null),__decorate([se.validateTypesAsync(se.nonEmptyArray("media",gt)),__metadata("design:type",Function),__metadata("design:paramtypes",[Array]),__metadata("design:returntype",we.CancellablePromise)],c.KU.prototype,"getTemporaryContentUrlsForMedia",null),__decorate([Oe.deprecated("Client.create()","new Client()"),se.validateTypesAsync("string",["undefined",se.pureObject]),__metadata("design:type",Function),__metadata("design:paramtypes",[String,Object]),__metadata("design:returntype",Promise)],c.KU,"create",null),__decorate([se.validateTypes(se.pureObject),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Nt)],c.KU,"parsePushNotification",null),c.KU=Ut=__decorate([se.validateConstructorTypes(se.nonEmptyString,[se.pureObject,"undefined"]),__metadata("design:paramtypes",[String,Object])],c.KU)},9528:function(r,c,u){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),u(47042),u(41539),u(91038),u(78783),u(74916),u(77601),u(82526),u(41817),u(32165),u(66992),u(33948);var p=u(98150);u(68309);var y=u(44680);u(92222),u(81299),u(12419);var w=u(63569),x=u(11783),k=u(70056),E=u(22164),I=u(66969),K=u(34339);function _interopDefaultLegacy(r){return r&amp;&amp;"object"==typeof r&amp;&amp;"default"in r?r:{default:r}}u(26699),u(88674),u(69600),u(33161),u(9653),u(69720);var J=_interopDefaultLegacy(p),oe=_interopDefaultLegacy(y),ie=_interopDefaultLegacy(w),ae=_interopDefaultLegacy(x),se=_interopDefaultLegacy(k),ue=_interopDefaultLegacy(E),le=_interopDefaultLegacy(I),pe=_interopDefaultLegacy(K),de=function custom(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return{checks:c}};function _createForOfIteratorHelper$4(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$4(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$4(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$4(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$4(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var he=function type(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return de((function(r){var u,p=!1,y=[],w=_createForOfIteratorHelper$4(c);try{for(w.s();!(u=w.n()).done;){var x=u.value;"string"!=typeof x?(p=p||r instanceof x,y.push("an instance of ".concat(x.name))):(p=p||J.default(r)===x,y.push("of type ".concat(x)))}}catch(r){w.e(r)}finally{w.f()}return[p,y]}))};function _createForOfIteratorHelper$3(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$3(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$3(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$3(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$3(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=pe.default(r);if(c){var y=pe.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return le.default(this,u)}}function _createForOfIteratorHelper$2(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$2(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$2(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$2(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$2(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var ge=function runtimeTypeValidation(r,c){if(c.length&gt;r.length)throw new Error("Expected at most ".concat(r.length," argument(s), but got ").concat(c.length));for(;c.length&lt;r.length;)c.push(void 0);var u,p=_createForOfIteratorHelper$2(c.entries());try{for(p.s();!(u=p.n()).done;){var y=oe.default(u.value,2),w=y[0],x=y[1],k=Oe(r[w],x),E=oe.default(k,4),I=E[0],K=E[1],J=E[2],ie=E[3];if(!I)throw new Error("Argument ".concat(w+1," is expected to be ").concat(J).concat(ie," but got ").concat(K))}}catch(r){p.e(r)}finally{p.f()}},ve=function stringifyReceivedType(r){var c,u,p;(["undefined","boolean","number","bigint","string"].includes(J.default(r))&amp;&amp;(u="string"==typeof r?'"'.concat(r,'"'):"".concat(r)),"object"===J.default(r)&amp;&amp;"Object"!==(null==r||null===(c=r.constructor)||void 0===c?void 0:c.name))&amp;&amp;(u=null===r?"null":"instance of ".concat(null==r||null===(p=r.constructor)||void 0===p?void 0:p.name));return u||(u=J.default(r)),u},we=function convertRuleArguments(r){var c,u=[],p=_createForOfIteratorHelper$2(r);try{for(p.s();!(c=p.n()).done;){var y=c.value;u.push(Se(y))}}catch(r){p.e(r)}finally{p.f()}return u},Se=function convertRuleArgument(r){var c,u=[],p=_createForOfIteratorHelper$2(Array.isArray(r)?r:[r]);try{for(p.s();!(c=p.n()).done;){var y=c.value;"string"!=typeof y&amp;&amp;"function"!=typeof y?u.push(y):u.push(he(y))}}catch(r){p.e(r)}finally{p.f()}return u},Oe=function validateValue(r,c){var u,p,y=[],w=!1,x=_createForOfIteratorHelper$2(r);try{for(x.s();!(p=x.n()).done;){var k,E=_createForOfIteratorHelper$2(p.value.checks);try{for(E.s();!(k=E.n()).done;){var I=(0,k.value)(c),K=oe.default(I,3),J=K[0],ae=K[1],se=K[2];w=w||J,!u&amp;&amp;se&amp;&amp;(u=se),ae&amp;&amp;(y=[].concat(ie.default(y),"string"==typeof ae?[ae]:ie.default(ae)))}}catch(r){E.e(r)}finally{E.f()}}}catch(r){x.e(r)}finally{x.f()}if(w)return[!0];var ue=u||ve(c),le=y.length-1;return[!1,ue,le&gt;0?"".concat(y.slice(0,le).join(", ")," or ").concat(y[le]):y.join(", "),le&gt;1?";":","]};function _createForOfIteratorHelper$1(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$1(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$1(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$1(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$1(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var Pe=de((function(r){return["string"==typeof r&amp;&amp;r.length&gt;0,"a non-empty string"]})),Le=de((function(r){return["number"==typeof r&amp;&amp;Number.isInteger(r)&amp;&amp;r&gt;=0,"a non-negative integer"]})),Ie=de((function(r){return["object"===J.default(r)&amp;&amp;null!==r&amp;&amp;!Array.isArray(r),"a pure object (non-null and non-array)"]}));function _createForOfIteratorHelper(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}c.array=function array(r,c){return de((function(u){if(!Array.isArray(u))return[!1,"an array of ".concat(r)];var p,y=_createForOfIteratorHelper(u.entries());try{for(y.s();!(p=y.n()).done;){var w=oe.default(p.value,2),x=w[0],k=w[1],E=Oe(Se(c),k),I=oe.default(E,3),K=I[0],J=I[1],ie=I[2];if(!K)return[!1,"a valid array of ".concat(r," (index ").concat(x," should be ").concat(ie,")"),"malformed array of ".concat(r," (index ").concat(x," is ").concat(J,")")]}}catch(r){y.e(r)}finally{y.f()}return[!0]}))},c.custom=de,c.literal=function literal(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return de((function(r){var u,p=!1,y=[],w=_createForOfIteratorHelper$3(c);try{for(w.s();!(u=w.n()).done;){var x=u.value;p=p||r===x,y.push("string"==typeof x?'"'.concat(x,'"'):"".concat(x))}}catch(r){w.e(r)}finally{w.f()}return[p,y]}))},c.nonEmptyArray=function nonEmptyArray(r,c){return de((function(u){if(!Array.isArray(u)||u.length&lt;1)return[!1,"a non-empty array of ".concat(r)];var p,y=_createForOfIteratorHelper$1(u.entries());try{for(y.s();!(p=y.n()).done;){var w=oe.default(p.value,2),x=w[0],k=w[1],E=Oe(Se(c),k),I=oe.default(E,3),K=I[0],J=I[1],ie=I[2];if(!K)return[!1,"a valid non-empty array of ".concat(r," (index ").concat(x," should be ").concat(ie,")"),"malformed array of ".concat(r," (index ").concat(x," is ").concat(J,")")]}}catch(r){y.e(r)}finally{y.f()}return[!0]}))},c.nonEmptyString=Pe,c.nonNegativeInteger=Le,c.objectSchema=function objectSchema(r,c){return de((function(u){if("object"!==J.default(u)||null===u||Array.isArray(u))return[!1,"valid ".concat(r," (should be a pure object)")];for(var p=0,y=Object.entries(c);p&lt;y.length;p++){var w=oe.default(y[p],2),x=w[0],k=w[1],E=Oe(Se(k),u[x]),I=oe.default(E,3),K=I[0],ie=I[1],ae=I[2];if(!K)return[!1,"valid ".concat(r,' (key "').concat(x,'" should be ').concat(ae,")"),"malformed ".concat(r,' (key "').concat(x,'" is ').concat(ie,")")]}return[!0]}))},c.pureObject=Ie,c.runtimeTypeValidation=ge,c.stringifyReceivedType=ve,c.type=he,c.validateConstructorTypes=function validateConstructorTypes(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];var p=we(c);return function(r){return function(r){ue.default(_class,r);var c=_createSuper(_class);function _class(){se.default(this,_class);for(var r=arguments.length,u=new Array(r),y=0;y&lt;r;y++)u[y]=arguments[y];return ge(p,u),c.call.apply(c,[this].concat(u))}return ae.default(_class)}(r)}},c.validateTypes=function validateTypes(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];var p=we(c);return function(r,c,u){if("function"!=typeof u.value)throw new Error("The validateTypes decorator can only be applied to methods");var y=u.value;u.value=function(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return ge(p,c),y.apply(this,c)}}},c.validateTypesAsync=function validateTypesAsync(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];var p=we(c);return function(r,c,u){if("function"!=typeof u.value)throw new Error("The validateTypesAsync decorator can only be applied to methods");var y=u.value;u.value=function(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];try{ge(p,c)}catch(r){return Promise.reject(r)}return y.apply(this,c)}}}},58724:function(r,c,u){"use strict";function _interopDefaultLegacy(r){return r&amp;&amp;"object"==typeof r&amp;&amp;"default"in r?r:{default:r}}Object.defineProperty(c,"__esModule",{value:!0}),u(92222);var p=_interopDefaultLegacy(u(51137)),y=function deprecationWarning(r){var c=p.default.getLevel();p.default.setLevel("warn"),p.default.warn(r),p.default.setLevel(c)};c.deprecated=function deprecated(r,c,u){return function(p,w,x){if("function"!=typeof x.value&amp;&amp;void 0===(null==x?void 0:x.get))throw new Error("The deprecated decorator can only be applied to methods or getters");if("function"!=typeof x.value){var k=x.get;x.get=function(){return y("The getter ".concat(r," is deprecated").concat(c?", use "+c+" instead":"").concat(u?", "+u:".")),null==k?void 0:k.apply(this)}}else{var E=x.value;x.value=function(){y("The method ".concat(r," is deprecated").concat(c?", use "+c+" instead":"").concat(u?", "+u:"."));for(var p=arguments.length,w=new Array(p),x=0;x&lt;p;x++)w[x]=arguments[x];return E.apply(this,w)}}}},c.deprecationWarning=y},51137:function(r,c,u){var p,y;!function(w,x){"use strict";p=function(){var noop=function(){},r="undefined",c=typeof window!==r&amp;&amp;typeof window.navigator!==r&amp;&amp;/Trident\/|MSIE /.test(window.navigator.userAgent),u=["trace","debug","info","warn","error"];function bindMethod(r,c){var u=r[c];if("function"==typeof u.bind)return u.bind(r);try{return Function.prototype.bind.call(u,r)}catch(c){return function(){return Function.prototype.apply.apply(u,[r,arguments])}}}function traceForIE(){console.log&amp;&amp;(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&amp;&amp;console.trace()}function realMethod(u){return"debug"===u&amp;&amp;(u="log"),typeof console!==r&amp;&amp;("trace"===u&amp;&amp;c?traceForIE:void 0!==console[u]?bindMethod(console,u):void 0!==console.log?bindMethod(console,"log"):noop)}function replaceLoggingMethods(r,c){for(var p=0;p&lt;u.length;p++){var y=u[p];this[y]=p&lt;r?noop:this.methodFactory(y,r,c)}this.log=this.debug}function enableLoggingWhenConsoleArrives(c,u,p){return function(){typeof console!==r&amp;&amp;(replaceLoggingMethods.call(this,u,p),this[c].apply(this,arguments))}}function defaultMethodFactory(r,c,u){return realMethod(r)||enableLoggingWhenConsoleArrives.apply(this,arguments)}function Logger(c,p,y){var w,x=this;p=null==p?"WARN":p;var k="loglevel";function persistLevelIfPossible(c){var p=(u[c]||"silent").toUpperCase();if(typeof window!==r&amp;&amp;k){try{return void(window.localStorage[k]=p)}catch(r){}try{window.document.cookie=encodeURIComponent(k)+"="+p+";"}catch(r){}}}function getPersistedLevel(){var c;if(typeof window!==r&amp;&amp;k){try{c=window.localStorage[k]}catch(r){}if(typeof c===r)try{var u=window.document.cookie,p=u.indexOf(encodeURIComponent(k)+"=");-1!==p&amp;&amp;(c=/^([^;]+)/.exec(u.slice(p))[1])}catch(r){}return void 0===x.levels[c]&amp;&amp;(c=void 0),c}}function clearPersistedLevel(){if(typeof window!==r&amp;&amp;k){try{return void window.localStorage.removeItem(k)}catch(r){}try{window.document.cookie=encodeURIComponent(k)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(r){}}}"string"==typeof c?k+=":"+c:"symbol"==typeof c&amp;&amp;(k=void 0),x.name=c,x.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},x.methodFactory=y||defaultMethodFactory,x.getLevel=function(){return w},x.setLevel=function(u,p){if("string"==typeof u&amp;&amp;void 0!==x.levels[u.toUpperCase()]&amp;&amp;(u=x.levels[u.toUpperCase()]),!("number"==typeof u&amp;&amp;u&gt;=0&amp;&amp;u&lt;=x.levels.SILENT))throw"log.setLevel() called with invalid level: "+u;if(w=u,!1!==p&amp;&amp;persistLevelIfPossible(u),replaceLoggingMethods.call(x,u,c),typeof console===r&amp;&amp;u&lt;x.levels.SILENT)return"No console available for logging"},x.setDefaultLevel=function(r){p=r,getPersistedLevel()||x.setLevel(r,!1)},x.resetLevel=function(){x.setLevel(p,!1),clearPersistedLevel()},x.enableAll=function(r){x.setLevel(x.levels.TRACE,r)},x.disableAll=function(r){x.setLevel(x.levels.SILENT,r)};var E=getPersistedLevel();null==E&amp;&amp;(E=p),x.setLevel(E,!1)}var p=new Logger,y={};p.getLogger=function getLogger(r){if("symbol"!=typeof r&amp;&amp;"string"!=typeof r||""===r)throw new TypeError("You must supply a name when creating a logger.");var c=y[r];return c||(c=y[r]=new Logger(r,p.getLevel(),p.methodFactory)),c};var w=typeof window!==r?window.log:void 0;return p.noConflict=function(){return typeof window!==r&amp;&amp;window.log===p&amp;&amp;(window.log=w),p},p.getLoggers=function getLoggers(){return y},p.default=p,p},void 0===(y="function"==typeof p?p.call(c,u,c,r):p)||(r.exports=y)}()},34452:function(r,c,u){"use strict";var p=void 0!==p?p:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};Object.defineProperty(c,"__esModule",{value:!0}),u(81299),u(12419);var y=u(18428),w=u(77044),x=u(85833),k=u(73718),E=u(59417),I=u(7103),K=u(34388);u(41539),u(88674),u(66992),u(51532),u(78783),u(33948);var J=u(31451),oe=u(88874);u(92222),u(21249),u(54747);var ie=u(19485);u(91038);var ae=u(2043);u(23157),u(57327),u(74916),u(23123),u(15306),u(69600),u(47042),u(38862),u(19601),u(60285),u(41637);var se=u(89575),ue=u(9528);function _interopDefaultLegacy(r){return r&amp;&amp;"object"==typeof r&amp;&amp;"default"in r?r:{default:r}}function _interopNamespace(r){if(r&amp;&amp;r.__esModule)return r;var c=Object.create(null);return r&amp;&amp;Object.keys(r).forEach((function(u){if("default"!==u){var p=Object.getOwnPropertyDescriptor(r,u);Object.defineProperty(c,u,p.get?p:{enumerable:!0,get:function(){return r[u]}})}})),c.default=r,Object.freeze(c)}var le=_interopDefaultLegacy(y),pe=_interopDefaultLegacy(w),de=_interopDefaultLegacy(x),he=_interopDefaultLegacy(k),ge=_interopDefaultLegacy(E),ve=_interopDefaultLegacy(I),we=_interopDefaultLegacy(K),Se=_interopDefaultLegacy(J),Oe=_interopDefaultLegacy(oe),Pe=_interopDefaultLegacy(ie),Le=_interopNamespace(ae),Ie={exports:{}},je="undefined"!=typeof crypto&amp;&amp;crypto.getRandomValues&amp;&amp;crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&amp;&amp;"function"==typeof window.msCrypto.getRandomValues&amp;&amp;msCrypto.getRandomValues.bind(msCrypto);if(je){var De=new Uint8Array(16);Ie.exports=function whatwgRNG(){return je(De),De}}else{var Ue=new Array(16);Ie.exports=function mathRNG(){for(var r,c=0;c&lt;16;c++)0==(3&amp;c)&amp;&amp;(r=4294967296*Math.random()),Ue[c]=r&gt;&gt;&gt;((3&amp;c)&lt;&lt;3)&amp;255;return Ue}}for(var Fe=[],Ze=0;Ze&lt;256;++Ze)Fe[Ze]=(Ze+256).toString(16).substr(1);var $e,Ge,We=function bytesToUuid$2(r,c){var u=c||0,p=Fe;return[p[r[u++]],p[r[u++]],p[r[u++]],p[r[u++]],"-",p[r[u++]],p[r[u++]],"-",p[r[u++]],p[r[u++]],"-",p[r[u++]],p[r[u++]],"-",p[r[u++]],p[r[u++]],p[r[u++]],p[r[u++]],p[r[u++]],p[r[u++]]].join("")},Ke=Ie.exports,Je=We,Ye=0,Xe=0;var Qe=function v1$1(r,c,u){var p=c&amp;&amp;u||0,y=c||[],w=(r=r||{}).node||$e,x=void 0!==r.clockseq?r.clockseq:Ge;if(null==w||null==x){var k=Ke();null==w&amp;&amp;(w=$e=[1|k[0],k[1],k[2],k[3],k[4],k[5]]),null==x&amp;&amp;(x=Ge=16383&amp;(k[6]&lt;&lt;8|k[7]))}var E=void 0!==r.msecs?r.msecs:(new Date).getTime(),I=void 0!==r.nsecs?r.nsecs:Xe+1,K=E-Ye+(I-Xe)/1e4;if(K&lt;0&amp;&amp;void 0===r.clockseq&amp;&amp;(x=x+1&amp;16383),(K&lt;0||E&gt;Ye)&amp;&amp;void 0===r.nsecs&amp;&amp;(I=0),I&gt;=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ye=E,Xe=I,Ge=x;var J=(1e4*(268435455&amp;(E+=122192928e5))+I)%4294967296;y[p++]=J&gt;&gt;&gt;24&amp;255,y[p++]=J&gt;&gt;&gt;16&amp;255,y[p++]=J&gt;&gt;&gt;8&amp;255,y[p++]=255&amp;J;var oe=E/4294967296*1e4&amp;268435455;y[p++]=oe&gt;&gt;&gt;8&amp;255,y[p++]=255&amp;oe,y[p++]=oe&gt;&gt;&gt;24&amp;15|16,y[p++]=oe&gt;&gt;&gt;16&amp;255,y[p++]=x&gt;&gt;&gt;8|128,y[p++]=255&amp;x;for(var ie=0;ie&lt;6;++ie)y[p+ie]=w[ie];return c||Je(y)},et=Ie.exports,rt=We;var nt=function v4$1(r,c,u){var p=c&amp;&amp;u||0;"string"==typeof r&amp;&amp;(c="binary"===r?new Array(16):null,r=null);var y=(r=r||{}).random||(r.rng||et)();if(y[6]=15&amp;y[6]|64,y[8]=63&amp;y[8]|128,c)for(var w=0;w&lt;16;++w)c[p+w]=y[w];return c||rt(y)},ot=Qe,it=nt,st=it;st.v1=ot,st.v4=it;var ct=st;function _createSuper$1(r){var c=function _isNativeReflectConstruct$1(){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(r){return!1}}();return function _createSuperInternal(){var u,p=ge.default(r);if(c){var y=ge.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return he.default(this,u)}}var ut=function(r){de.default(CancellablePromise,r);var c=_createSuper$1(CancellablePromise);function CancellablePromise(r){var u;le.default(this,CancellablePromise);var p,y=ct.v4();return(u=c.call(this,(function(c,u){return p=u,r((function(r){CancellablePromise.cancellationMap.delete(y),c(r)}),(function(r){CancellablePromise.cancellationMap.delete(y),u(r)}),(function(r){CancellablePromise.cancellationMap.set(y,r)}))}))).id=y,u.rejectPromise=p,u}return pe.default(CancellablePromise,[{key:"cancel",value:function cancel(){var r=CancellablePromise.cancellationMap.get(this.id);return null==r||r(),this.rejectPromise&amp;&amp;(this.catch((function(){})),this.rejectPromise(new Error("Promise was cancelled"))),this}}]),CancellablePromise}(ve.default(Promise));function __decorate(r,c,u,p){var y,w=arguments.length,x=w&lt;3?c:null===p?p=Object.getOwnPropertyDescriptor(c,u):p;if("object"===("undefined"==typeof Reflect?"undefined":Pe.default(Reflect))&amp;&amp;"function"==typeof Reflect.decorate)x=Reflect.decorate(r,c,u,p);else for(var k=r.length-1;k&gt;=0;k--)(y=r[k])&amp;&amp;(x=(w&lt;3?y(x):w&gt;3?y(c,u,x):y(c,u))||x);return w&gt;3&amp;&amp;x&amp;&amp;Object.defineProperty(c,u,x),x}function __metadata(r,c){if("object"===("undefined"==typeof Reflect?"undefined":Pe.default(Reflect))&amp;&amp;"function"==typeof Reflect.metadata)return Reflect.metadata(r,c)}function prepareLine(r,c){return["".concat((new Date).toISOString()," MCS Client ").concat(r,":")].concat(Array.from(c))}we.default(ut,"cancellationMap",new Map);var lt=function(){function Logger(r){le.default(this,Logger),we.default(this,"prefix",""),this.prefix=null!=r&amp;&amp;r.length&gt;0?r+" ":""}return pe.default(Logger,[{key:"setLevel",value:function setLevel(r){Le.setLevel(r)}},{key:"trace",value:function trace(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Le.trace.apply(null,prepareLine(this.prefix+"T",c))}},{key:"debug",value:function debug(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Le.debug.apply(null,prepareLine(this.prefix+"D",c))}},{key:"info",value:function info(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Le.info.apply(null,prepareLine(this.prefix+"I",c))}},{key:"warn",value:function warn(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Le.warn.apply(null,prepareLine(this.prefix+"W",c))}},{key:"error",value:function error(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Le.error.apply(null,prepareLine(this.prefix+"E",c))}}],[{key:"scope",value:function scope(r){return new Logger(r)}},{key:"setLevel",value:function setLevel(r){Le.setLevel(r)}},{key:"trace",value:function trace(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Le.trace.apply(null,prepareLine("T",c))}},{key:"debug",value:function debug(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Le.debug.apply(null,prepareLine("D",c))}},{key:"info",value:function info(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Le.info.apply(null,prepareLine("I",c))}},{key:"warn",value:function warn(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Le.warn.apply(null,prepareLine("W",c))}},{key:"error",value:function error(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Le.error.apply(null,prepareLine("E",c))}}]),Logger}(),pt=function fullUrl(r,c){return"".concat(function isFullUrl(r){return r.startsWith("http")}(r)?"":function regionalMcsHost(r){return"https://mcs.".concat(null!=r?r:"us1",".twilio.com")}(c)).concat(r)},dt=function(){function Configuration(r,c,u,p){var y,w,x,k,E,I;le.default(this,Configuration);var K=null!==(y=null!==(w=p.MCS)&amp;&amp;void 0!==w?w:p)&amp;&amp;void 0!==y?y:{};this.region=null!==(x=null!==(k=K.region)&amp;&amp;void 0!==k?k:p.region)&amp;&amp;void 0!==x?x:"us1",this.mediaUrl=pt(c,this.region),this.mediaSetUrl=u?pt(u):"".concat(this.mediaUrl,"Set"),this.token=r,this.retryWhenThrottledOverride=null===(E=K.retryWhenThrottledOverride)||void 0===E||E,this.backoffConfigOverride=null!==(I=K.backoffConfigOverride)&amp;&amp;void 0!==I?I:Configuration.backoffConfigDefault}return pe.default(Configuration,[{key:"updateToken",value:function updateToken(r){this.token=r}}],[{key:"backoffConfigDefault",get:function get(){return{min:1e3,max:4e3,maxAttemptsCount:3}}},{key:"retryWhenThrottledDefault",get:function get(){return true}}]),Configuration}(),ft=function(){function Media(r,c,u){le.default(this,Media),this.config=r,this.network=c,this._update(u)}return pe.default(Media,[{key:"sid",get:function get(){return this.state.sid}},{key:"serviceSid",get:function get(){return this.state.serviceSid}},{key:"dateCreated",get:function get(){return this.state.dateCreated}},{key:"dateUpdated",get:function get(){return this.state.dateUpdated}},{key:"contentType",get:function get(){return this.state.contentType}},{key:"size",get:function get(){return this.state.size}},{key:"fileName",get:function get(){return this.state.filename}},{key:"filename",get:function get(){return this.state.filename}},{key:"category",get:function get(){return this.state.category}},{key:"getContentUrl",value:function getContentUrl(){var r=this;return new ut(function(){var c=Se.default(Oe.default.mark((function _callee(c,u,p){var y,w;return Oe.default.wrap((function _callee$(x){for(;;)switch(x.prev=x.next){case 0:return y=r.network.get("".concat(r.config.mediaUrl,"/").concat(r.sid)),p((function(){return y.cancel()})),x.prev=2,x.next=5,y;case 5:w=x.sent,r._update(w.body),c(r.state.contentDirectUrl),x.next=13;break;case 10:x.prev=10,x.t0=x.catch(2),u(x.t0);case 13:case"end":return x.stop()}}),_callee,null,[[2,10]])})));return function(r,u,p){return c.apply(this,arguments)}}())}},{key:"_update",value:function _update(r){var c,u,p,y;this.state={sid:r.sid,serviceSid:r.service_sid,channelSid:r.channel_sid,messageSid:r.message_sid,dateCreated:r.date_created?new Date(r.date_created):null,dateUploadUpdated:r.date_upload_updated?new Date(r.date_upload_updated):null,dateUpdated:r.date_updated?new Date(r.date_updated):null,size:r.size,contentType:r.content_type,author:r.author,url:r.url,contentUrl:r.links.content,contentDirectUrl:null!==(c=r.links.content_direct_temporary)&amp;&amp;void 0!==c?c:null,filename:null!==(u=r.filename)&amp;&amp;void 0!==u?u:null,category:null!==(p=r.category)&amp;&amp;void 0!==p?p:"media",isMultipartUpstream:null!==(y=r.is_multipart_upstream)&amp;&amp;void 0!==y&amp;&amp;y}}}]),Media}();function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=ge.default(r);if(c){var y=ge.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return he.default(this,u)}}var ht=function(r){de.default(TransportError,r);var c=_createSuper(TransportError);function TransportError(r,u,p,y,w){var x;return le.default(this,TransportError),(x=c.call(this,r)).code=u,x.body=p,x.status=y,x.headers=w,x}return pe.default(TransportError)}(ve.default(Error)),mt=p.XMLHttpRequest||{};var yt,gt=function(){function Transport(){le.default(this,Transport)}return pe.default(Transport,[{key:"get",value:function get(r,c){return Transport.request("GET",r,c)}},{key:"post",value:function post(r,c,u){return Transport.request("POST",r,c,u)}}],[{key:"request",value:function request(r,c,u,p){return new ut((function(y,w,x){var k=new mt,E=!1;for(var I in x((function(){k.abort(),E=!0})),k.open(r,c,!0),k.onreadystatechange=function onreadystatechange(){if(4===k.readyState&amp;&amp;!E){var r=function parseResponseHeaders(r){return r?r.split("\r\n").map((function(r){return r.split(": ")})).filter((function(r){return 2===r.length&amp;&amp;r[1].length&gt;0})).reduce((function(r,c){return r[c[0]]=c[1],r}),{}):{}}(k.getAllResponseHeaders()),c=function extractBody(r){var c=r.getResponseHeader("Content-Type");if(!c||0!==c.indexOf("application/json")||0===r.responseText.length)return r.responseText;try{return JSON.parse(r.responseText)}catch(c){return r.responseText}}(k);if(200&lt;=k.status&amp;&amp;k.status&lt;300)y({status:k.status,headers:r,body:c});else{var u,p,x=null!==(u=k.statusText)&amp;&amp;void 0!==u?u:"NONE";if("string"==typeof c)if(c&amp;&amp;1===c.split("\n",2).length)p=c;else{var I,K=null===(I=c.replace(/&lt;.*?&gt;/g,"").split(/\r\n/g).filter((function(r){return r.length}))[0])||void 0===I?void 0:I.split(" ");p=(null==K?void 0:K.length)&gt;2?null==K?void 0:K.slice(1).join(" "):""}else p=JSON.stringify(c);var J="".concat(k.status,": [").concat(x,"] ").concat(p);w(new ht(J,k.status,c,x,r))}}},u)k.setRequestHeader(I,u[I]),"Content-Type"===I&amp;&amp;"application/json"===u[I]&amp;&amp;(p=JSON.stringify(p));k.send(p)}))}}]),Transport}(),vt=lt.scope("Network"),bt=function(){function Network(r,c){le.default(this,Network),this.config=r,this.transport=c}return pe.default(Network,[{key:"backoffConfig",value:function backoffConfig(){return Object.assign(dt.backoffConfigDefault,this.config.backoffConfigOverride)}},{key:"retryWhenThrottled",value:function retryWhenThrottled(){var r,c;return null!==(r=null!==(c=this.config.retryWhenThrottledOverride)&amp;&amp;void 0!==c?c:dt.retryWhenThrottledDefault)&amp;&amp;void 0!==r&amp;&amp;r}},{key:"executeWithRetry",value:function executeWithRetry(r,c){var u=this;return new ut(function(){var p=Se.default(Oe.default.mark((function _callee2(p,y,w){var x,k;return Oe.default.wrap((function _callee2$(E){for(;;)switch(E.prev=E.next){case 0:x=new se.Retrier(u.backoffConfig()),k=[502,503,504],c&amp;&amp;k.push(429),w((function(){x.cancel(),x.removeAllListeners()})),x.on("attempt",Se.default(Oe.default.mark((function _callee(){var c,u;return Oe.default.wrap((function _callee$(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,c=r(),w((function(){c.cancel(),x.cancel(),x.removeAllListeners()})),p.next=5,c;case 5:u=p.sent,x.succeeded(u),p.next=12;break;case 9:p.prev=9,p.t0=p.catch(0),k.indexOf(p.t0.status)&gt;-1||"Twilsock disconnected"===p.t0.message?x.failed(p.t0):(x.removeAllListeners(),x.cancel(),y(p.t0));case 12:case"end":return p.stop()}}),_callee,null,[[0,9]])})))),x.on("succeeded",(function(r){p(r)})),x.on("cancelled",(function(r){return y(r)})),x.on("failed",(function(r){return y(r)})),x.start();case 9:case"end":return E.stop()}}),_callee2)})));return function(r,c,u){return p.apply(this,arguments)}}())}},{key:"get",value:function get(r){var c=this;return new ut(function(){var u=Se.default(Oe.default.mark((function _callee3(u,p,y){var w,x,k;return Oe.default.wrap((function _callee3$(E){for(;;)switch(E.prev=E.next){case 0:return w={"X-Twilio-Token":c.config.token},x=c.executeWithRetry((function(){return c.transport.get(r,w)}),c.retryWhenThrottled()),vt.trace("sending GET request to ",r," headers ",w),y((function(){return x.cancel()})),E.prev=4,E.next=7,x;case 7:k=E.sent,vt.trace("response",k),u(k),E.next=16;break;case 12:E.prev=12,E.t0=E.catch(4),vt.debug("get() error ".concat(E.t0)),p(E.t0);case 16:case"end":return E.stop()}}),_callee3,null,[[4,12]])})));return function(r,c,p){return u.apply(this,arguments)}}())}},{key:"post",value:function post(r,c,u,y,w){var x=this,k={"X-Twilio-Token":this.config.token};"undefined"!=typeof FormData&amp;&amp;u instanceof FormData||!y||Object.assign(k,{"Content-Type":y});var E=new URL(r);return c&amp;&amp;E.searchParams.append("Category",c),w&amp;&amp;E.searchParams.append("Filename",w),new ut(function(){var c=Se.default(Oe.default.mark((function _callee4(c,y,w){var I,K;return Oe.default.wrap((function _callee4$(J){for(;;)switch(J.prev=J.next){case 0:return I=x.transport.post(E.href,k,u),w((function(){return I.cancel()})),vt.trace("sending POST request to ".concat(r," with headers ").concat(k)),J.prev=3,J.next=6,I;case 6:K=J.sent,J.next=17;break;case 9:if(J.prev=9,J.t0=J.catch(3),!(void 0===p.XMLHttpRequest&amp;&amp;u instanceof FormData)){J.next=14;break}return y(new TypeError("Posting FormData supported only with browser engine's FormData")),J.abrupt("return");case 14:return vt.debug("post() error ".concat(J.t0)),y(J.t0),J.abrupt("return");case 17:vt.trace("response",K),c(K);case 19:case"end":return J.stop()}}),_callee4,null,[[3,9]])})));return function(r,u,p){return c.apply(this,arguments)}}())}}]),Network}(),_t=lt.scope("");c.default=(yt=function(){function Client(r,c,u){var p,y,w=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:{};le.default(this,Client),this.options=w,this.options.logLevel=null!==(p=this.options.logLevel)&amp;&amp;void 0!==p?p:"silent",this.config=new dt(r,c,u,this.options),_t.setLevel(this.options.logLevel),this.options.transport=null!==(y=this.options.transport)&amp;&amp;void 0!==y?y:new gt,this.transport=this.options.transport,this.network=new bt(this.config,this.transport)}return pe.default(Client,[{key:"updateToken",value:function updateToken(r){_t.info("updateToken"),this.config.updateToken(r)}},{key:"get",value:function get(r){var c=this;return new ut(function(){var u=Se.default(Oe.default.mark((function _callee(u,p,y){var w,x;return Oe.default.wrap((function _callee$(k){for(;;)switch(k.prev=k.next){case 0:return w=c.network.get("".concat(c.config.mediaUrl,"/").concat(r)),y((function(){return w.cancel()})),k.prev=2,k.next=5,w;case 5:x=k.sent,u(new ft(c.config,c.network,x.body)),k.next=12;break;case 9:k.prev=9,k.t0=k.catch(2),p(k.t0);case 12:case"end":return k.stop()}}),_callee,null,[[2,9]])})));return function(r,c,p){return u.apply(this,arguments)}}())}},{key:"post",value:function post(r,c,u,p){var y=this;return new ut(function(){var w=Se.default(Oe.default.mark((function _callee2(w,x,k){var E,I;return Oe.default.wrap((function _callee2$(K){for(;;)switch(K.prev=K.next){case 0:return E=y.network.post(y.config.mediaUrl,null!=u?u:"media",c,r,p),k((function(){return E.cancel()})),K.prev=2,K.next=5,E;case 5:I=K.sent,w(new ft(y.config,y.network,I.body)),K.next=12;break;case 9:K.prev=9,K.t0=K.catch(2),x(K.t0);case 12:case"end":return K.stop()}}),_callee2,null,[[2,9]])})));return function(r,c,u){return w.apply(this,arguments)}}())}},{key:"postFormData",value:function postFormData(r,c){var u=this;return new ut(function(){var p=Se.default(Oe.default.mark((function _callee3(p,y,w){var x,k;return Oe.default.wrap((function _callee3$(E){for(;;)switch(E.prev=E.next){case 0:return x=u.network.post(u.config.mediaUrl,null!=c?c:"media",r),w((function(){return x.cancel()})),E.prev=2,E.next=5,x;case 5:k=E.sent,p(new ft(u.config,u.network,k.body)),E.next=12;break;case 9:E.prev=9,E.t0=E.catch(2),y(E.t0);case 12:case"end":return E.stop()}}),_callee3,null,[[2,9]])})));return function(r,c,u){return p.apply(this,arguments)}}())}},{key:"mediaSetGet",value:function mediaSetGet(r){var c=this;return new ut(function(){var u=Se.default(Oe.default.mark((function _callee4(u,p,y){var w,x,k,E;return Oe.default.wrap((function _callee4$(I){for(;;)switch(I.prev=I.next){case 0:return w={command:"get",list:r.map((function(r){return{media_sid:r}}))},x=c.network.post("".concat(c.config.mediaSetUrl),null,w,"application/json"),y((function(){return x.cancel()})),I.prev=3,I.next=6,x;case 6:k=I.sent,E=k.body.map((function(r){if(200===r.code)return new ft(c.config,c.network,r.media_record);p("Failed to obtain detailed information about Media items (failed SID ".concat(r.media_record.sid,")"))})),u(E),I.next=14;break;case 11:I.prev=11,I.t0=I.catch(3),p(I.t0);case 14:case"end":return I.stop()}}),_callee4,null,[[3,11]])})));return function(r,c,p){return u.apply(this,arguments)}}())}},{key:"mediaSetGetContentUrls",value:function mediaSetGetContentUrls(r){var c=this;return new ut(function(){var u=Se.default(Oe.default.mark((function _callee5(u,p,y){var w,x,k,E;return Oe.default.wrap((function _callee5$(I){for(;;)switch(I.prev=I.next){case 0:return w={command:"get",list:r.map((function(r){return{media_sid:r}}))},x=c.network.post("".concat(c.config.mediaSetUrl),null,w,"application/json"),y((function(){return x.cancel()})),I.prev=3,I.next=6,x;case 6:k=I.sent,E=new Map,k.body.forEach((function(r){200===r.code?E.set(r.media_record.sid,r.media_record.links.content_direct_temporary):p("Failed to obtain detailed information about Media items (failed SID ".concat(r.media_record.sid,")"))})),u(E),I.next=15;break;case 12:I.prev=12,I.t0=I.catch(3),p(I.t0);case 15:case"end":return I.stop()}}),_callee5,null,[[3,12]])})));return function(r,c,p){return u.apply(this,arguments)}}())}}]),Client}(),we.default(yt,"version","0.6.5"),yt),__decorate([ue.validateTypes(ue.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",void 0)],c.default.prototype,"updateToken",null),__decorate([ue.validateTypesAsync(ue.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",ut)],c.default.prototype,"get",null),c.default=__decorate([ue.validateConstructorTypes(ue.nonEmptyString,ue.nonEmptyString,[ue.nonEmptyString,ue.literal(null)],[ue.pureObject,"undefined"]),__metadata("design:paramtypes",[String,String,Object,Object])],c.default),c.CancellablePromise=ut,c.Client=c.default,c.McsClient=c.default,c.McsMedia=ft,c.Media=ft},54122:function(r,c,u){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),u(81299),u(12419);var p=u(21322),y=u(78046),w=u(35459),x=u(66686),k=u(74889),E=u(63035),I=u(22986);u(66992),u(51532),u(41539),u(78783),u(33948),u(92222),u(54747),u(88674);var K=u(80020),J=u(7766),oe=u(40337),ie=u(45290);u(39714),u(91038),u(19601);var ae=u(89575),se=u(34867),ue=u(32234);u(70189),u(57327);var le=u(2043),pe=u(55877),de=u(9528);function _interopDefaultLegacy(r){return r&amp;&amp;"object"==typeof r&amp;&amp;"default"in r?r:{default:r}}function _interopNamespace(r){if(r&amp;&amp;r.__esModule)return r;var c=Object.create(null);return r&amp;&amp;Object.keys(r).forEach((function(u){if("default"!==u){var p=Object.getOwnPropertyDescriptor(r,u);Object.defineProperty(c,u,p.get?p:{enumerable:!0,get:function(){return r[u]}})}})),c.default=r,Object.freeze(c)}var he=_interopDefaultLegacy(p),ge=_interopDefaultLegacy(y),ve=_interopDefaultLegacy(w),we=_interopDefaultLegacy(x),Se=_interopDefaultLegacy(k),Oe=_interopDefaultLegacy(E),Pe=_interopDefaultLegacy(I),Le=_interopDefaultLegacy(K),Ie=_interopDefaultLegacy(oe),je=_interopDefaultLegacy(ie),De=_interopDefaultLegacy(se),Ue=_interopDefaultLegacy(ue),Fe=_interopNamespace(le),Ze=_interopNamespace(pe);function __decorate(r,c,u,p){var y,w=arguments.length,x=w&lt;3?c:null===p?p=Object.getOwnPropertyDescriptor(c,u):p;if("object"===("undefined"==typeof Reflect?"undefined":Le.default(Reflect))&amp;&amp;"function"==typeof Reflect.decorate)x=Reflect.decorate(r,c,u,p);else for(var k=r.length-1;k&gt;=0;k--)(y=r[k])&amp;&amp;(x=(w&lt;3?y(x):w&gt;3?y(c,u,x):y(c,u))||x);return w&gt;3&amp;&amp;x&amp;&amp;Object.defineProperty(c,u,x),x}function __metadata(r,c){if("object"===("undefined"==typeof Reflect?"undefined":Le.default(Reflect))&amp;&amp;"function"==typeof Reflect.metadata)return Reflect.metadata(r,c)}function EventHandlers(){}function EventEmitter(){EventEmitter.init.call(this)}function $getMaxListeners(r){return void 0===r._maxListeners?EventEmitter.defaultMaxListeners:r._maxListeners}function _addListener(r,c,u,p){var y,w,x;if("function"!=typeof u)throw new TypeError('"listener" argument must be a function');if((w=r._events)?(w.newListener&amp;&amp;(r.emit("newListener",c,u.listener?u.listener:u),w=r._events),x=w[c]):(w=r._events=new EventHandlers,r._eventsCount=0),x){if("function"==typeof x?x=w[c]=p?[u,x]:[x,u]:p?x.unshift(u):x.push(u),!x.warned&amp;&amp;(y=$getMaxListeners(r))&amp;&amp;y&gt;0&amp;&amp;x.length&gt;y){x.warned=!0;var k=new Error("Possible EventEmitter memory leak detected. "+x.length+" "+c+" listeners added. Use emitter.setMaxListeners() to increase limit");k.name="MaxListenersExceededWarning",k.emitter=r,k.type=c,k.count=x.length,function emitWarning(r){"function"==typeof console.warn?console.warn(r):console.log(r)}(k)}}else x=w[c]=u,++r._eventsCount;return r}function _onceWrap(r,c,u){var p=!1;function g(){r.removeListener(c,g),p||(p=!0,u.apply(r,arguments))}return g.listener=u,g}function listenerCount(r){var c=this._events;if(c){var u=c[r];if("function"==typeof u)return 1;if(u)return u.length}return 0}function arrayClone(r,c){for(var u=new Array(c);c--;)u[c]=r[c];return u}EventHandlers.prototype=Object.create(null),EventEmitter.EventEmitter=EventEmitter,EventEmitter.usingDomains=!1,EventEmitter.prototype.domain=void 0,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.init=function(){this.domain=null,EventEmitter.usingDomains&amp;&amp;undefined.active,this._events&amp;&amp;this._events!==Object.getPrototypeOf(this)._events||(this._events=new EventHandlers,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter.prototype.setMaxListeners=function setMaxListeners(r){if("number"!=typeof r||r&lt;0||isNaN(r))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=r,this},EventEmitter.prototype.getMaxListeners=function getMaxListeners(){return $getMaxListeners(this)},EventEmitter.prototype.emit=function emit(r){var c,u,p,y,w,x,k,E="error"===r;if(x=this._events)E=E&amp;&amp;null==x.error;else if(!E)return!1;if(k=this.domain,E){if(c=arguments[1],!k){if(c instanceof Error)throw c;var I=new Error('Uncaught, unspecified "error" event. ('+c+")");throw I.context=c,I}return c||(c=new Error('Uncaught, unspecified "error" event')),c.domainEmitter=this,c.domain=k,c.domainThrown=!1,k.emit("error",c),!1}if(!(u=x[r]))return!1;var K="function"==typeof u;switch(p=arguments.length){case 1:!function emitNone(r,c,u){if(c)r.call(u);else for(var p=r.length,y=arrayClone(r,p),w=0;w&lt;p;++w)y[w].call(u)}(u,K,this);break;case 2:!function emitOne(r,c,u,p){if(c)r.call(u,p);else for(var y=r.length,w=arrayClone(r,y),x=0;x&lt;y;++x)w[x].call(u,p)}(u,K,this,arguments[1]);break;case 3:!function emitTwo(r,c,u,p,y){if(c)r.call(u,p,y);else for(var w=r.length,x=arrayClone(r,w),k=0;k&lt;w;++k)x[k].call(u,p,y)}(u,K,this,arguments[1],arguments[2]);break;case 4:!function emitThree(r,c,u,p,y,w){if(c)r.call(u,p,y,w);else for(var x=r.length,k=arrayClone(r,x),E=0;E&lt;x;++E)k[E].call(u,p,y,w)}(u,K,this,arguments[1],arguments[2],arguments[3]);break;default:for(y=new Array(p-1),w=1;w&lt;p;w++)y[w-1]=arguments[w];!function emitMany(r,c,u,p){if(c)r.apply(u,p);else for(var y=r.length,w=arrayClone(r,y),x=0;x&lt;y;++x)w[x].apply(u,p)}(u,K,this,y)}return!0},EventEmitter.prototype.addListener=function addListener(r,c){return _addListener(this,r,c,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function prependListener(r,c){return _addListener(this,r,c,!0)},EventEmitter.prototype.once=function once(r,c){if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');return this.on(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.prependOnceListener=function prependOnceListener(r,c){if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');return this.prependListener(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.removeListener=function removeListener(r,c){var u,p,y,w,x;if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');if(!(p=this._events))return this;if(!(u=p[r]))return this;if(u===c||u.listener&amp;&amp;u.listener===c)0==--this._eventsCount?this._events=new EventHandlers:(delete p[r],p.removeListener&amp;&amp;this.emit("removeListener",r,u.listener||c));else if("function"!=typeof u){for(y=-1,w=u.length;w-- &gt;0;)if(u[w]===c||u[w].listener&amp;&amp;u[w].listener===c){x=u[w].listener,y=w;break}if(y&lt;0)return this;if(1===u.length){if(u[0]=void 0,0==--this._eventsCount)return this._events=new EventHandlers,this;delete p[r]}else!function spliceOne(r,c){for(var u=c,p=u+1,y=r.length;p&lt;y;u+=1,p+=1)r[u]=r[p];r.pop()}(u,y);p.removeListener&amp;&amp;this.emit("removeListener",r,x||c)}return this},EventEmitter.prototype.off=function(r,c){return this.removeListener(r,c)},EventEmitter.prototype.removeAllListeners=function removeAllListeners(r){var c,u;if(!(u=this._events))return this;if(!u.removeListener)return 0===arguments.length?(this._events=new EventHandlers,this._eventsCount=0):u[r]&amp;&amp;(0==--this._eventsCount?this._events=new EventHandlers:delete u[r]),this;if(0===arguments.length){for(var p,y=Object.keys(u),w=0;w&lt;y.length;++w)"removeListener"!==(p=y[w])&amp;&amp;this.removeAllListeners(p);return this.removeAllListeners("removeListener"),this._events=new EventHandlers,this._eventsCount=0,this}if("function"==typeof(c=u[r]))this.removeListener(r,c);else if(c)do{this.removeListener(r,c[c.length-1])}while(c[0]);return this},EventEmitter.prototype.listeners=function listeners(r){var c,u=this._events;return u&amp;&amp;(c=u[r])?"function"==typeof c?[c.listener||c]:function unwrapListeners(r){for(var c=new Array(r.length),u=0;u&lt;c.length;++u)c[u]=r[u].listener||r[u];return c}(c):[]},EventEmitter.listenerCount=function(r,c){return"function"==typeof r.listenerCount?r.listenerCount(c):listenerCount.call(r,c)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount&gt;0?Reflect.ownKeys(this._events):[]};var $e=Fe.getLogger("twilio-notificatiions");function prepareLine(r,c){return["".concat((new Date).toISOString()," Twilio.Notifications ").concat(r,":")].concat(Array.from(c))}var Ge=function(){function Logger(){ge.default(this,Logger)}return ve.default(Logger,[{key:"setLevel",value:function setLevel(r){$e.setLevel(r)}},{key:"trace",value:function trace(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];$e.trace.apply(null,prepareLine("T",c))}},{key:"debug",value:function debug(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];$e.debug.apply(null,prepareLine("D",c))}},{key:"info",value:function info(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];$e.info.apply(null,prepareLine("I",c))}},{key:"warn",value:function warn(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];$e.warn.apply(null,prepareLine("W",c))}},{key:"error",value:function error(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];$e.error.apply(null,prepareLine("E",c))}}]),Logger}(),We=new Ge;function _createSuper$3(r){var c=function _isNativeReflectConstruct$3(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Oe.default(r);if(c){var y=Oe.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Se.default(this,u)}}var Ke=ve.default((function RegistrationState(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"",c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"",u=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:new Set;ge.default(this,RegistrationState),this.token=r,this.notificationId=c,this.messageTypes=u}));function hasDifference(r,c){var u=new Set;return r.notificationId!==c.notificationId&amp;&amp;u.add("notificationId"),r.token!==c.token&amp;&amp;u.add("token"),function setDifference(r,c){return[].concat(Ue.default(Ue.default(r).filter((function(r){return!c.has(r)}))),Ue.default(Ue.default(c).filter((function(c){return!r.has(c)}))))}(r.messageTypes,c.messageTypes).length&gt;0&amp;&amp;u.add("messageType"),[u.size&gt;0,u]}var Je=function(r){we.default(Connector,r);var c,u=_createSuper$3(Connector);function Connector(r){var c;return ge.default(this,Connector),c=u.call(this),je.default(Ie.default(c),"desiredState",new Ke),je.default(Ie.default(c),"currentState",new Ke),je.default(Ie.default(c),"_hasActiveAttempt",!1),c.channelType=r,c}return ve.default(Connector,[{key:"setNotificationId",value:function setNotificationId(r){this.desiredState.notificationId=r}},{key:"isActive",value:function isActive(){return""!==this.desiredState.notificationId}},{key:"subscribe",value:function subscribe(r){this.desiredState.messageTypes.has(r)?We.debug("message type '".concat(r,"' for channel ").concat(this.channelType," is already registered")):this.desiredState.messageTypes.add(r)}},{key:"unsubscribe",value:function unsubscribe(r){this.desiredState.messageTypes.has(r)&amp;&amp;this.desiredState.messageTypes.delete(r)}},{key:"updateToken",value:function updateToken(r){this.desiredState.token=r}},{key:"commitChanges",value:(c=he.default(Pe.default.mark((function _callee(){var r,c,u,p,y,w;return Pe.default.wrap((function _callee$(x){for(;;)switch(x.prev=x.next){case 0:if(!this._hasActiveAttempt){x.next=3;break}throw We.error("One registration attempt is already in progress"),new Error("One registration attempt is already in progress");case 3:if(r=hasDifference(this.desiredState,this.currentState),c=De.default(r,2),u=c[0],p=c[1],u){x.next=6;break}return x.abrupt("return");case 6:if(this.currentState.notificationId||p.delete("notificationId"),We.trace("Persisting ".concat(this.channelType," registration"),p,this.desiredState),x.prev=8,this._hasActiveAttempt=!0,(y=new Ke).token=this.desiredState.token,y.notificationId=this.desiredState.notificationId,y.messageTypes=new Set(this.desiredState.messageTypes),!(y.messageTypes.size&gt;0)){x.next=24;break}return x.next=17,this.updateRegistration(y,p);case 17:w=x.sent,this.currentState.token=w.token,this.currentState.notificationId=w.notificationId,this.currentState.messageTypes=new Set(w.messageTypes),this.emit("stateChanged",this.channelType,"registered",this.currentState),x.next=30;break;case 24:return x.next=26,this.removeRegistration();case 26:this.currentState.token=y.token,this.currentState.notificationId=y.notificationId,this.currentState.messageTypes.clear(),this.emit("stateChanged",this.channelType,"unregistered",this.currentState);case 30:x.next=35;break;case 32:throw x.prev=32,x.t0=x.catch(8),x.t0;case 35:return x.prev=35,this._hasActiveAttempt=!1,x.finish(35);case 38:case"end":return x.stop()}}),_callee,this,[[8,32,35,38]])}))),function commitChanges(){return c.apply(this,arguments)})}]),Connector}(EventEmitter);function _createSuper$2(r){var c=function _isNativeReflectConstruct$2(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Oe.default(r);if(c){var y=Oe.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Se.default(this,u)}}var Ye={min:2e3,max:12e4,randomness:.2},Xe=function(r){we.default(RegistrarConnector,r);var c,u,p,y=_createSuper$2(RegistrarConnector);function RegistrarConnector(r,c,u,p){var w;return ge.default(this,RegistrarConnector),w=y.call(this,r),je.default(Ie.default(w),"registrationId",null),w.context=c,w.twilsock=u,w.registrarUrl=p,w}return ve.default(RegistrarConnector,[{key:"updateRegistration",value:(p=he.default(Pe.default.mark((function _callee(r,c){var u,p,y,w,x,k=this;return Pe.default.wrap((function _callee$(E){for(;;)switch(E.prev=E.next){case 0:if(!c.has("notificationId")){E.next=3;break}return E.next=3,this.removeRegistration();case 3:if(r.notificationId&amp;&amp;r.notificationId.length){E.next=6;break}throw We.error("No push notification ID for registration"),new Error("No push notification ID for registration");case 6:return We.trace("Registering",this.channelType,r),u={endpoint_platform:this.context.platform,channel_type:this.channelType,version:this.context.protocolVersion.toString(),message_types:Array.from(r.messageTypes),data:{registration_id:r.notificationId}},p=this.context.productId,y="".concat(this.registrarUrl,"?productId=").concat(p),w={"Content-Type":"application/json"},We.trace("Creating registration for channel ".concat(this.channelType)),E.prev=12,E.next=15,new ae.AsyncRetrier(Ye).run((function(){return k.twilsock.post(y,w,u,p)}));case 15:x=E.sent,this.registrationId=x.body.id,We.debug("Registration created: ",x),E.next=24;break;case 20:throw E.prev=20,E.t0=E.catch(12),We.error("Registration failed: ",E.t0),E.t0;case 24:return E.abrupt("return",r);case 25:case"end":return E.stop()}}),_callee,this,[[12,20]])}))),function updateRegistration(r,c){return p.apply(this,arguments)})},{key:"removeRegistration",value:(u=he.default(Pe.default.mark((function _callee2(){var r,c,u,p=this;return Pe.default.wrap((function _callee2$(y){for(;;)switch(y.prev=y.next){case 0:if(this.registrationId){y.next=2;break}return y.abrupt("return");case 2:return r=this.context.productId,c="".concat(this.registrarUrl,"/").concat(this.registrationId,"?productId=").concat(r),u={"Content-Type":"application/json"},We.trace("Removing registration for ".concat(this.channelType)),y.prev=6,y.next=9,new ae.AsyncRetrier(Object.assign(Ye,{maxAttemptsCount:3})).run((function(){return p.twilsock.delete(c,u,{},r)}));case 9:this.registrationId=null,this.currentState.notificationId="",We.debug("Registration removed for ".concat(this.channelType)),y.next=18;break;case 14:throw y.prev=14,y.t0=y.catch(6),We.error("Failed to remove registration ",this.channelType,y.t0),y.t0;case 18:case"end":return y.stop()}}),_callee2,this,[[6,14]])}))),function removeRegistration(){return u.apply(this,arguments)})},{key:"sendDeviceRemoveRequest",value:(c=he.default(Pe.default.mark((function _callee3(r){var c,u,p,y,w=this;return Pe.default.wrap((function _callee3$(x){for(;;)switch(x.prev=x.next){case 0:if(""!==r){x.next=2;break}throw new Error("Empty registration ID");case 2:return c=this.context.productId,u="".concat(this.registrarUrl,"?productId=").concat(c),p={"Content-Type":"application/json"},y={binding_type:this.channelType,address:r},x.prev=6,We.trace("Removing old registrations for ".concat(this.channelType)),x.next=10,new ae.AsyncRetrier(Object.assign(Ye,{maxAttemptsCount:3})).run((function(){return w.twilsock.delete(u,p,y,c)}));case 10:this.registrationId=null,this.currentState.notificationId="",We.debug("Registration removed for ".concat(this.channelType)),x.next=19;break;case 15:throw x.prev=15,x.t0=x.catch(6),We.error("Failed to remove registration ",this.channelType,x.t0),x.t0;case 19:case"end":return x.stop()}}),_callee3,this,[[6,15]])}))),function sendDeviceRemoveRequest(r){return c.apply(this,arguments)})}]),RegistrarConnector}(Je);function _createSuper$1(r){var c=function _isNativeReflectConstruct$1(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Oe.default(r);if(c){var y=Oe.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Se.default(this,u)}}var Qe,et=function(r){we.default(TwilsockConnector,r);var c,u,p,y=_createSuper$1(TwilsockConnector);function TwilsockConnector(r,c,u){var p;return ge.default(this,TwilsockConnector),p=y.call(this,"twilsock"),je.default(Ie.default(p),"contextId",Ze.v4()),p.productId=r,p.platform=c,p.twilsock=u,p}return ve.default(TwilsockConnector,[{key:"updateRegistration",value:(p=he.default(Pe.default.mark((function _callee(r,c){var u,p;return Pe.default.wrap((function _callee$(y){for(;;)switch(y.prev=y.next){case 0:if(c.has("messageType")){y.next=2;break}return y.abrupt("return",r);case 2:return u=Array.from(r.messageTypes),p={product_id:this.productId,notification_protocol_version:4,endpoint_platform:this.platform,message_types:u},y.prev=4,y.next=7,this.twilsock.setNotificationsContext(this.contextId,p);case 7:y.next=13;break;case 9:throw y.prev=9,y.t0=y.catch(4),We.error("Failed to update twilsock notification context: ".concat(y.t0)),y.t0;case 13:return y.abrupt("return",r);case 14:case"end":return y.stop()}}),_callee,this,[[4,9]])}))),function updateRegistration(r,c){return p.apply(this,arguments)})},{key:"removeRegistration",value:(u=he.default(Pe.default.mark((function _callee2(){return Pe.default.wrap((function _callee2$(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,this.twilsock.removeNotificationsContext(this.contextId);case 3:r.next=9;break;case 5:throw r.prev=5,r.t0=r.catch(0),We.error("Failed to remove twilsock notification context: ".concat(r.t0)),r.t0;case 9:case"end":return r.stop()}}),_callee2,this,[[0,5]])}))),function removeRegistration(){return u.apply(this,arguments)})},{key:"sendDeviceRemoveRequest",value:(c=he.default(Pe.default.mark((function _callee3(r){return Pe.default.wrap((function _callee3$(r){for(;;)switch(r.prev=r.next){case 0:case"end":return r.stop()}}),_callee3)}))),function sendDeviceRemoveRequest(r){return c.apply(this,arguments)})}]),TwilsockConnector}(Je);function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Oe.default(r);if(c){var y=Oe.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Se.default(this,u)}}var rt=de.literal("apn","fcm","twilsock");c.Notifications=Qe=function(r){we.default(Client,r);var c,u,p,y=_createSuper(Client);function Client(r){var c,u,p,w,x,k,E,I=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};ge.default(this,Client),E=y.call(this),I.logLevel=null!==(c=I.logLevel)&amp;&amp;void 0!==c?c:"error",We.setLevel(I.logLevel);var K=null!==(u=I.productId)&amp;&amp;void 0!==u?u:"notifications",oe=!I.twilsockClient,ie=I.twilsockClient=null!==(p=I.twilsockClient)&amp;&amp;void 0!==p?p:new J.TwilsockClient(r,K,I),ae=null!==(w=I.notifications)&amp;&amp;void 0!==w?w:{},se=null!==(x=null!==(k=ae.region)&amp;&amp;void 0!==k?k:I.region)&amp;&amp;void 0!==x?x:"us1",ue="https://ers.".concat(se,".twilio.com/v1/registrations"),le=ae.ersUrl||ue;E.connectors=new Map;var pe=Qe._detectPlatform();return E.connectors.set("apn",new Xe("apn",{protocolVersion:4,productId:K,platform:pe},ie,le)),E.connectors.set("fcm",new Xe("fcm",{protocolVersion:3,productId:K,platform:pe},ie,le)),E.connectors.set("twilsock",new et(K,pe,ie)),ie.on("stateChanged",(function(r){return E.emit("transportState",r)})),E._connector("twilsock").on("stateChanged",(function(r,c,u){return E.emit("stateChanged",r,c,u)})),E._connector("apn").on("stateChanged",(function(r,c,u){return E.emit("stateChanged",r,c,u)})),E._connector("fcm").on("stateChanged",(function(r,c,u){return E.emit("stateChanged",r,c,u)})),ie.on("message",(function(r,c){return E._routeMessage(r,c)})),E.updateToken(r),oe&amp;&amp;(ie.connect(),E.twilsock=ie),E}return ve.default(Client,[{key:"shutdown",value:(p=he.default(Pe.default.mark((function _callee(){return Pe.default.wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:if(this.connectors.clear(),!this.twilsock){r.next=4;break}return r.next=4,this.twilsock.disconnect();case 4:case"end":return r.stop()}}),_callee,this)}))),function shutdown(){return p.apply(this,arguments)})},{key:"setPushRegistrationId",value:function setPushRegistrationId(r,c){We.debug("Set ".concat(r," push registration id '").concat(c,"'")),this._connector(r).setNotificationId(c)}},{key:"subscribe",value:function subscribe(r,c){We.debug("Add ".concat(r," subscriptions for message type ").concat(c)),this._connector(r).subscribe(c)}},{key:"unsubscribe",value:function unsubscribe(r,c){We.debug("Remove ".concat(r," subscriptions for message type ").concat(c)),this._connector(r).unsubscribe(c)}},{key:"updateToken",value:function updateToken(r){this.connectors.forEach((function(c){return c.updateToken(r)}))}},{key:"commitChanges",value:(u=he.default(Pe.default.mark((function _callee2(){var r;return Pe.default.wrap((function _callee2$(c){for(;;)switch(c.prev=c.next){case 0:return r=[],this.connectors.forEach((function(c){c.isActive()&amp;&amp;r.push(c.commitChanges())})),c.next=4,Promise.all(r);case 4:case"end":return c.stop()}}),_callee2,this)}))),function commitChanges(){return u.apply(this,arguments)})},{key:"removeRegistrations",value:(c=he.default(Pe.default.mark((function _callee3(r,c){return Pe.default.wrap((function _callee3$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this._connector(r).sendDeviceRemoveRequest(c);case 2:case"end":return u.stop()}}),_callee3,this)}))),function removeRegistrations(r,u){return c.apply(this,arguments)})},{key:"handlePushNotification",value:function handlePushNotification(r){return{messageType:r.twi_message_type,payload:r.payload}}},{key:"_routeMessage",value:function _routeMessage(r,c){We.debug("Notification message arrived: ",r,c),this.emit("message",r,c)}},{key:"_connector",value:function _connector(r){var c=this.connectors.get(r);if(!c)throw new Error("Unknown channel type: ".concat(r));return c}}],[{key:"_detectPlatform",value:function _detectPlatform(){var r="";return"undefined"!=typeof navigator?(r="unknown",void 0!==navigator.product&amp;&amp;(r=navigator.product),void 0!==navigator.userAgent&amp;&amp;(r=navigator.userAgent)):r="web",r.substring(0,128)}}]),Client}(EventEmitter),__decorate([de.validateTypes(rt,de.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String,String]),__metadata("design:returntype",void 0)],c.Notifications.prototype,"setPushRegistrationId",null),__decorate([de.validateTypes(rt,de.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String,String]),__metadata("design:returntype",void 0)],c.Notifications.prototype,"subscribe",null),__decorate([de.validateTypes(rt,de.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String,String]),__metadata("design:returntype",void 0)],c.Notifications.prototype,"unsubscribe",null),__decorate([de.validateTypes(de.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",void 0)],c.Notifications.prototype,"updateToken",null),__decorate([de.validateTypesAsync(rt,de.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String,String]),__metadata("design:returntype",Promise)],c.Notifications.prototype,"removeRegistrations",null),c.Notifications=Qe=__decorate([de.validateConstructorTypes(de.nonEmptyString,[de.pureObject,"undefined",de.literal(null)]),__metadata("design:paramtypes",[String,Object])],c.Notifications)},89575:function(r,c,u){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),u(81299),u(12419);var p=u(562),y=u(84852),w=u(84568),x=u(33582),k=u(39447),E=u(43896),I=u(41280);function _interopDefaultLegacy(r){return r&amp;&amp;"object"==typeof r&amp;&amp;"default"in r?r:{default:r}}u(41539),u(88674);var K=_interopDefaultLegacy(p),J=_interopDefaultLegacy(y),oe=_interopDefaultLegacy(w),ie=_interopDefaultLegacy(x),ae=_interopDefaultLegacy(k),se=_interopDefaultLegacy(E),ue=_interopDefaultLegacy(I);function EventHandlers(){}function EventEmitter(){EventEmitter.init.call(this)}function $getMaxListeners(r){return void 0===r._maxListeners?EventEmitter.defaultMaxListeners:r._maxListeners}function _addListener(r,c,u,p){var y,w,x;if("function"!=typeof u)throw new TypeError('"listener" argument must be a function');if((w=r._events)?(w.newListener&amp;&amp;(r.emit("newListener",c,u.listener?u.listener:u),w=r._events),x=w[c]):(w=r._events=new EventHandlers,r._eventsCount=0),x){if("function"==typeof x?x=w[c]=p?[u,x]:[x,u]:p?x.unshift(u):x.push(u),!x.warned&amp;&amp;(y=$getMaxListeners(r))&amp;&amp;y&gt;0&amp;&amp;x.length&gt;y){x.warned=!0;var k=new Error("Possible EventEmitter memory leak detected. "+x.length+" "+c+" listeners added. Use emitter.setMaxListeners() to increase limit");k.name="MaxListenersExceededWarning",k.emitter=r,k.type=c,k.count=x.length,function emitWarning(r){"function"==typeof console.warn?console.warn(r):console.log(r)}(k)}}else x=w[c]=u,++r._eventsCount;return r}function _onceWrap(r,c,u){var p=!1;function g(){r.removeListener(c,g),p||(p=!0,u.apply(r,arguments))}return g.listener=u,g}function listenerCount(r){var c=this._events;if(c){var u=c[r];if("function"==typeof u)return 1;if(u)return u.length}return 0}function arrayClone(r,c){for(var u=new Array(c);c--;)u[c]=r[c];return u}function _createSuper$1(r){var c=function _isNativeReflectConstruct$1(){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(r){return!1}}();return function _createSuperInternal(){var u,p=se.default(r);if(c){var y=se.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return ae.default(this,u)}}EventHandlers.prototype=Object.create(null),EventEmitter.EventEmitter=EventEmitter,EventEmitter.usingDomains=!1,EventEmitter.prototype.domain=void 0,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.init=function(){this.domain=null,EventEmitter.usingDomains&amp;&amp;undefined.active,this._events&amp;&amp;this._events!==Object.getPrototypeOf(this)._events||(this._events=new EventHandlers,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter.prototype.setMaxListeners=function setMaxListeners(r){if("number"!=typeof r||r&lt;0||isNaN(r))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=r,this},EventEmitter.prototype.getMaxListeners=function getMaxListeners(){return $getMaxListeners(this)},EventEmitter.prototype.emit=function emit(r){var c,u,p,y,w,x,k,E="error"===r;if(x=this._events)E=E&amp;&amp;null==x.error;else if(!E)return!1;if(k=this.domain,E){if(c=arguments[1],!k){if(c instanceof Error)throw c;var I=new Error('Uncaught, unspecified "error" event. ('+c+")");throw I.context=c,I}return c||(c=new Error('Uncaught, unspecified "error" event')),c.domainEmitter=this,c.domain=k,c.domainThrown=!1,k.emit("error",c),!1}if(!(u=x[r]))return!1;var K="function"==typeof u;switch(p=arguments.length){case 1:!function emitNone(r,c,u){if(c)r.call(u);else for(var p=r.length,y=arrayClone(r,p),w=0;w&lt;p;++w)y[w].call(u)}(u,K,this);break;case 2:!function emitOne(r,c,u,p){if(c)r.call(u,p);else for(var y=r.length,w=arrayClone(r,y),x=0;x&lt;y;++x)w[x].call(u,p)}(u,K,this,arguments[1]);break;case 3:!function emitTwo(r,c,u,p,y){if(c)r.call(u,p,y);else for(var w=r.length,x=arrayClone(r,w),k=0;k&lt;w;++k)x[k].call(u,p,y)}(u,K,this,arguments[1],arguments[2]);break;case 4:!function emitThree(r,c,u,p,y,w){if(c)r.call(u,p,y,w);else for(var x=r.length,k=arrayClone(r,x),E=0;E&lt;x;++E)k[E].call(u,p,y,w)}(u,K,this,arguments[1],arguments[2],arguments[3]);break;default:for(y=new Array(p-1),w=1;w&lt;p;w++)y[w-1]=arguments[w];!function emitMany(r,c,u,p){if(c)r.apply(u,p);else for(var y=r.length,w=arrayClone(r,y),x=0;x&lt;y;++x)w[x].apply(u,p)}(u,K,this,y)}return!0},EventEmitter.prototype.addListener=function addListener(r,c){return _addListener(this,r,c,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function prependListener(r,c){return _addListener(this,r,c,!0)},EventEmitter.prototype.once=function once(r,c){if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');return this.on(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.prependOnceListener=function prependOnceListener(r,c){if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');return this.prependListener(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.removeListener=function removeListener(r,c){var u,p,y,w,x;if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');if(!(p=this._events))return this;if(!(u=p[r]))return this;if(u===c||u.listener&amp;&amp;u.listener===c)0==--this._eventsCount?this._events=new EventHandlers:(delete p[r],p.removeListener&amp;&amp;this.emit("removeListener",r,u.listener||c));else if("function"!=typeof u){for(y=-1,w=u.length;w-- &gt;0;)if(u[w]===c||u[w].listener&amp;&amp;u[w].listener===c){x=u[w].listener,y=w;break}if(y&lt;0)return this;if(1===u.length){if(u[0]=void 0,0==--this._eventsCount)return this._events=new EventHandlers,this;delete p[r]}else!function spliceOne(r,c){for(var u=c,p=u+1,y=r.length;p&lt;y;u+=1,p+=1)r[u]=r[p];r.pop()}(u,y);p.removeListener&amp;&amp;this.emit("removeListener",r,x||c)}return this},EventEmitter.prototype.off=function(r,c){return this.removeListener(r,c)},EventEmitter.prototype.removeAllListeners=function removeAllListeners(r){var c,u;if(!(u=this._events))return this;if(!u.removeListener)return 0===arguments.length?(this._events=new EventHandlers,this._eventsCount=0):u[r]&amp;&amp;(0==--this._eventsCount?this._events=new EventHandlers:delete u[r]),this;if(0===arguments.length){for(var p,y=Object.keys(u),w=0;w&lt;y.length;++w)"removeListener"!==(p=y[w])&amp;&amp;this.removeAllListeners(p);return this.removeAllListeners("removeListener"),this._events=new EventHandlers,this._eventsCount=0,this}if("function"==typeof(c=u[r]))this.removeListener(r,c);else if(c)do{this.removeListener(r,c[c.length-1])}while(c[0]);return this},EventEmitter.prototype.listeners=function listeners(r){var c,u=this._events;return u&amp;&amp;(c=u[r])?"function"==typeof c?[c.listener||c]:function unwrapListeners(r){for(var c=new Array(r.length),u=0;u&lt;c.length;++u)c[u]=r[u].listener||r[u];return c}(c):[]},EventEmitter.listenerCount=function(r,c){return"function"==typeof r.listenerCount?r.listenerCount(c):listenerCount.call(r,c)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount&gt;0?Reflect.ownKeys(this._events):[]};var le=function(r){ie.default(Retrier,r);var c=_createSuper$1(Retrier);function Retrier(r){var u;return K.default(this,Retrier),u=c.call(this),ue.default(oe.default(u),"timeout",null),ue.default(oe.default(u),"startTimestamp",-1),u.minDelay=r.min,u.maxDelay=r.max,u.initialDelay=r.initial||0,u.maxAttemptsCount=r.maxAttemptsCount||0,u.maxAttemptsTime=r.maxAttemptsTime||0,u.randomness=r.randomness||0,u.inProgress=!1,u.attemptNum=0,u.prevDelay=0,u.currDelay=0,u}return J.default(Retrier,[{key:"attempt",value:function attempt(){this.timeout&amp;&amp;(clearTimeout(this.timeout),this.timeout=null),this.attemptNum++,this.emit("attempt",this)}},{key:"nextDelay",value:function nextDelay(r){if("number"==typeof r)return this.prevDelay=0,this.currDelay=r,r;if(0==this.attemptNum)return this.initialDelay;if(1==this.attemptNum)return this.currDelay=this.minDelay,this.currDelay;this.prevDelay=this.currDelay;var c=this.currDelay+this.prevDelay;return this.maxDelay&amp;&amp;c&gt;this.maxDelay&amp;&amp;(this.currDelay=this.maxDelay,c=this.maxDelay),this.currDelay=c,c}},{key:"randomize",value:function randomize(r){var c=r*this.randomness,u=Math.round(Math.random()*c*2-c);return Math.max(0,r+u)}},{key:"scheduleAttempt",value:function scheduleAttempt(r){var c=this;if(this.maxAttemptsCount&amp;&amp;this.attemptNum&gt;=this.maxAttemptsCount)return this.cleanup(),void this.emit("failed",new Error("Maximum attempt count limit reached"));var u=this.nextDelay(r);if(u=this.randomize(u),this.maxAttemptsTime&amp;&amp;this.startTimestamp+this.maxAttemptsTime&lt;Date.now()+u)return this.cleanup(),void this.emit("failed",new Error("Maximum attempt time limit reached"));this.timeout=setTimeout((function(){return c.attempt()}),u)}},{key:"cleanup",value:function cleanup(){this.timeout&amp;&amp;(clearTimeout(this.timeout),this.timeout=null),this.inProgress=!1,this.attemptNum=0,this.prevDelay=0,this.currDelay=0}},{key:"start",value:function start(){if(this.inProgress)throw new Error("Retrier is already in progress");this.inProgress=!0,this.startTimestamp=Date.now(),this.scheduleAttempt(this.initialDelay)}},{key:"cancel",value:function cancel(){this.timeout&amp;&amp;(clearTimeout(this.timeout),this.timeout=null,this.inProgress=!1,this.emit("cancelled"))}},{key:"succeeded",value:function succeeded(r){this.emit("succeeded",r)}},{key:"failed",value:function failed(r,c){if(this.timeout)throw new Error("Retrier attempt is already in progress");this.scheduleAttempt(c)}}]),Retrier}(EventEmitter),pe=function(r){ie.default(AsyncRetrier,r);var c=_createSuper$1(AsyncRetrier);function AsyncRetrier(r){var u;return K.default(this,AsyncRetrier),u=c.call(this),ue.default(oe.default(u),"resolve",(function(){})),ue.default(oe.default(u),"reject",(function(){})),u.retrier=new le(r),u}return J.default(AsyncRetrier,[{key:"run",value:function run(r){var c=this;return this.retrier.on("attempt",(function(){r().then((function(r){return c.retrier.succeeded(r)})).catch((function(r){return c.retrier.failed(r)}))})),this.retrier.on("succeeded",(function(r){return c.resolve(r)})),this.retrier.on("cancelled",(function(){return c.reject(new Error("Cancelled"))})),this.retrier.on("failed",(function(r){return c.reject(r)})),new Promise((function(r,u){c.resolve=r,c.reject=u,c.retrier.start()}))}},{key:"cancel",value:function cancel(){this.retrier.cancel()}}]),AsyncRetrier}(EventEmitter);function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=se.default(r);if(c){var y=se.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return ae.default(this,u)}}function isDef(r){return null!=r}var de=function(r){ie.default(Backoff,r);var c=_createSuper(Backoff);function Backoff(r){var u;K.default(this,Backoff),u=c.call(this),ue.default(oe.default(u),"backoffDelay",0),ue.default(oe.default(u),"nextBackoffDelay",0),ue.default(oe.default(u),"backoffNumber",0),ue.default(oe.default(u),"timeoutID",null),ue.default(oe.default(u),"maxNumberOfRetry",-1);var p=r=r||{},y=p.initialDelay,w=p.maxDelay,x=p.randomisationFactor,k=p.factor;if(isDef(y)&amp;&amp;y&lt;1)throw new Error("The initial timeout must be equal to or greater than 1.");if(isDef(w)&amp;&amp;w&lt;=1)throw new Error("The maximal timeout must be greater than 1.");if(isDef(x)&amp;&amp;(x&lt;0||x&gt;1))throw new Error("The randomisation factor must be between 0 and 1.");if(isDef(k)&amp;&amp;k&lt;=1)throw new Error("Exponential factor should be greater than 1.");if(u.initialDelay=y||100,u.maxDelay=w||1e4,u.maxDelay&lt;=u.initialDelay)throw new Error("The maximal backoff delay must be greater than the initial backoff delay.");return u.randomisationFactor=x||0,u.factor=k||2,u.reset(),u}return J.default(Backoff,[{key:"backoff",value:function backoff(r){null==this.timeoutID&amp;&amp;(this.backoffNumber===this.maxNumberOfRetry?(this.emit("fail",r),this.reset()):(this.backoffDelay=this.next(),this.timeoutID=setTimeout(this.onBackoff.bind(this),this.backoffDelay),this.emit("backoff",this.backoffNumber,this.backoffDelay,r)))}},{key:"reset",value:function reset(){this.backoffDelay=0,this.nextBackoffDelay=this.initialDelay,this.backoffNumber=0,this.timeoutID&amp;&amp;clearTimeout(this.timeoutID),this.timeoutID=null}},{key:"failAfter",value:function failAfter(r){if(r&lt;=0)throw new Error("Expected a maximum number of retry greater than 0 but got ".concat(r));this.maxNumberOfRetry=r}},{key:"next",value:function next(){this.backoffDelay=Math.min(this.nextBackoffDelay,this.maxDelay),this.nextBackoffDelay=this.backoffDelay*this.factor;var r=1+Math.random()*this.randomisationFactor;return Math.min(this.maxDelay,Math.round(this.backoffDelay*r))}},{key:"onBackoff",value:function onBackoff(){this.timeoutID=null,this.emit("ready",this.backoffNumber,this.backoffDelay),this.backoffNumber++}}],[{key:"exponential",value:function exponential(r){return new Backoff(r)}}]),Backoff}(EventEmitter);c.AsyncRetrier=pe,c.Backoff=de,c.Retrier=le},95400:function(r,c,u){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var p=u(45315),y=u(37463),w=u(35020),x=u(66380),k=u(10521),E=u(80829),I=u(77512),K=u(48293),J=u(69355);function _interopDefaultLegacy(r){return r&amp;&amp;"object"==typeof r&amp;&amp;"default"in r?r:{default:r}}var oe=_interopDefaultLegacy(p),ie=_interopDefaultLegacy(y),ae=_interopDefaultLegacy(w),se=_interopDefaultLegacy(x),ue=_interopDefaultLegacy(k),le=_interopDefaultLegacy(E),pe=_interopDefaultLegacy(I),de=_interopDefaultLegacy(K),he=_interopDefaultLegacy(J);function EventHandlers(){}function EventEmitter(){EventEmitter.init.call(this)}function $getMaxListeners(r){return void 0===r._maxListeners?EventEmitter.defaultMaxListeners:r._maxListeners}function _addListener(r,c,u,p){var y,w,x;if("function"!=typeof u)throw new TypeError('"listener" argument must be a function');if((w=r._events)?(w.newListener&amp;&amp;(r.emit("newListener",c,u.listener?u.listener:u),w=r._events),x=w[c]):(w=r._events=new EventHandlers,r._eventsCount=0),x){if("function"==typeof x?x=w[c]=p?[u,x]:[x,u]:p?x.unshift(u):x.push(u),!x.warned&amp;&amp;(y=$getMaxListeners(r))&amp;&amp;y&gt;0&amp;&amp;x.length&gt;y){x.warned=!0;var k=new Error("Possible EventEmitter memory leak detected. "+x.length+" "+c+" listeners added. Use emitter.setMaxListeners() to increase limit");k.name="MaxListenersExceededWarning",k.emitter=r,k.type=c,k.count=x.length,function emitWarning(r){"function"==typeof console.warn?console.warn(r):console.log(r)}(k)}}else x=w[c]=u,++r._eventsCount;return r}function _onceWrap(r,c,u){var p=!1;function g(){r.removeListener(c,g),p||(p=!0,u.apply(r,arguments))}return g.listener=u,g}function listenerCount(r){var c=this._events;if(c){var u=c[r];if("function"==typeof u)return 1;if(u)return u.length}return 0}function arrayClone(r,c){for(var u=new Array(c);c--;)u[c]=r[c];return u}function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=de.default(r);if(c){var y=de.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return pe.default(this,u)}}EventHandlers.prototype=Object.create(null),EventEmitter.EventEmitter=EventEmitter,EventEmitter.usingDomains=!1,EventEmitter.prototype.domain=void 0,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.init=function(){this.domain=null,EventEmitter.usingDomains&amp;&amp;undefined.active,this._events&amp;&amp;this._events!==Object.getPrototypeOf(this)._events||(this._events=new EventHandlers,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter.prototype.setMaxListeners=function setMaxListeners(r){if("number"!=typeof r||r&lt;0||isNaN(r))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=r,this},EventEmitter.prototype.getMaxListeners=function getMaxListeners(){return $getMaxListeners(this)},EventEmitter.prototype.emit=function emit(r){var c,u,p,y,w,x,k,E="error"===r;if(x=this._events)E=E&amp;&amp;null==x.error;else if(!E)return!1;if(k=this.domain,E){if(c=arguments[1],!k){if(c instanceof Error)throw c;var I=new Error('Uncaught, unspecified "error" event. ('+c+")");throw I.context=c,I}return c||(c=new Error('Uncaught, unspecified "error" event')),c.domainEmitter=this,c.domain=k,c.domainThrown=!1,k.emit("error",c),!1}if(!(u=x[r]))return!1;var K="function"==typeof u;switch(p=arguments.length){case 1:!function emitNone(r,c,u){if(c)r.call(u);else for(var p=r.length,y=arrayClone(r,p),w=0;w&lt;p;++w)y[w].call(u)}(u,K,this);break;case 2:!function emitOne(r,c,u,p){if(c)r.call(u,p);else for(var y=r.length,w=arrayClone(r,y),x=0;x&lt;y;++x)w[x].call(u,p)}(u,K,this,arguments[1]);break;case 3:!function emitTwo(r,c,u,p,y){if(c)r.call(u,p,y);else for(var w=r.length,x=arrayClone(r,w),k=0;k&lt;w;++k)x[k].call(u,p,y)}(u,K,this,arguments[1],arguments[2]);break;case 4:!function emitThree(r,c,u,p,y,w){if(c)r.call(u,p,y,w);else for(var x=r.length,k=arrayClone(r,x),E=0;E&lt;x;++E)k[E].call(u,p,y,w)}(u,K,this,arguments[1],arguments[2],arguments[3]);break;default:for(y=new Array(p-1),w=1;w&lt;p;w++)y[w-1]=arguments[w];!function emitMany(r,c,u,p){if(c)r.apply(u,p);else for(var y=r.length,w=arrayClone(r,y),x=0;x&lt;y;++x)w[x].apply(u,p)}(u,K,this,y)}return!0},EventEmitter.prototype.addListener=function addListener(r,c){return _addListener(this,r,c,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function prependListener(r,c){return _addListener(this,r,c,!0)},EventEmitter.prototype.once=function once(r,c){if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');return this.on(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.prependOnceListener=function prependOnceListener(r,c){if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');return this.prependListener(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.removeListener=function removeListener(r,c){var u,p,y,w,x;if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');if(!(p=this._events))return this;if(!(u=p[r]))return this;if(u===c||u.listener&amp;&amp;u.listener===c)0==--this._eventsCount?this._events=new EventHandlers:(delete p[r],p.removeListener&amp;&amp;this.emit("removeListener",r,u.listener||c));else if("function"!=typeof u){for(y=-1,w=u.length;w-- &gt;0;)if(u[w]===c||u[w].listener&amp;&amp;u[w].listener===c){x=u[w].listener,y=w;break}if(y&lt;0)return this;if(1===u.length){if(u[0]=void 0,0==--this._eventsCount)return this._events=new EventHandlers,this;delete p[r]}else!function spliceOne(r,c){for(var u=c,p=u+1,y=r.length;p&lt;y;u+=1,p+=1)r[u]=r[p];r.pop()}(u,y);p.removeListener&amp;&amp;this.emit("removeListener",r,x||c)}return this},EventEmitter.prototype.off=function(r,c){return this.removeListener(r,c)},EventEmitter.prototype.removeAllListeners=function removeAllListeners(r){var c,u;if(!(u=this._events))return this;if(!u.removeListener)return 0===arguments.length?(this._events=new EventHandlers,this._eventsCount=0):u[r]&amp;&amp;(0==--this._eventsCount?this._events=new EventHandlers:delete u[r]),this;if(0===arguments.length){for(var p,y=Object.keys(u),w=0;w&lt;y.length;++w)"removeListener"!==(p=y[w])&amp;&amp;this.removeAllListeners(p);return this.removeAllListeners("removeListener"),this._events=new EventHandlers,this._eventsCount=0,this}if("function"==typeof(c=u[r]))this.removeListener(r,c);else if(c)do{this.removeListener(r,c[c.length-1])}while(c[0]);return this},EventEmitter.prototype.listeners=function listeners(r){var c,u=this._events;return u&amp;&amp;(c=u[r])?"function"==typeof c?[c.listener||c]:function unwrapListeners(r){for(var c=new Array(r.length),u=0;u&lt;c.length;++u)c[u]=r[u].listener||r[u];return c}(c):[]},EventEmitter.listenerCount=function(r,c){return"function"==typeof r.listenerCount?r.listenerCount(c):listenerCount.call(r,c)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount&gt;0?Reflect.ownKeys(this._events):[]};var ge=function(r){le.default(ReplayEventEmitter,r);var c=_createSuper(ReplayEventEmitter);function ReplayEventEmitter(){var r;return ie.default(this,ReplayEventEmitter),r=c.call(this),he.default(se.default(r),"eventHistory",new Map),r}return ae.default(ReplayEventEmitter,[{key:"on",value:function on(r,c){return ue.default(de.default(ReplayEventEmitter.prototype),"on",this).call(this,r,c)}},{key:"once",value:function once(r,c){return ue.default(de.default(ReplayEventEmitter.prototype),"once",this).call(this,r,c)}},{key:"off",value:function off(r,c){return ue.default(de.default(ReplayEventEmitter.prototype),"off",this).call(this,r,c)}},{key:"emit",value:function emit(r){for(var c,u=arguments.length,p=new Array(u&gt;1?u-1:0),y=1;y&lt;u;y++)p[y-1]=arguments[y];return this.eventHistory.set(r,p),(c=ue.default(de.default(ReplayEventEmitter.prototype),"emit",this)).call.apply(c,[this,r].concat(p))}},{key:"addListener",value:function addListener(r,c){return ue.default(de.default(ReplayEventEmitter.prototype),"addListener",this).call(this,r,c)}},{key:"removeListener",value:function removeListener(r,c){return ue.default(de.default(ReplayEventEmitter.prototype),"removeListener",this).call(this,r,c)}},{key:"addListenerWithReplay",value:function addListenerWithReplay(r,c){var u=this.eventHistory.get(r);return void 0!==u&amp;&amp;c.apply(void 0,oe.default(u)),this.addListener(r,c)}},{key:"onWithReplay",value:function onWithReplay(r,c){return this.addListenerWithReplay(r,c)}},{key:"onceWithReplay",value:function onceWithReplay(r,c){var u=this.eventHistory.get(r);return void 0!==u?(c.apply(void 0,oe.default(u)),this):ue.default(de.default(ReplayEventEmitter.prototype),"once",this).call(this,r,c)}}]),ReplayEventEmitter}(EventEmitter);c.ReplayEventEmitter=ge},23889:function(r,c,u){r.exports=u(92397).default},92397:function(r,c,u){"use strict";c.default=axiosRetry;var p=function _interopRequireDefault(r){return r&amp;&amp;r.__esModule?r:{default:r}}(u(29367));var y="axios-retry";function isNetworkError(r){return!r.response&amp;&amp;Boolean(r.code)&amp;&amp;"ECONNABORTED"!==r.code&amp;&amp;(0,p.default)(r)}var w=["get","head","options"],x=w.concat(["put","delete"]);function isRetryableError(r){return"ECONNABORTED"!==r.code&amp;&amp;(!r.response||r.response.status&gt;=500&amp;&amp;r.response.status&lt;=599)}function isSafeRequestError(r){return!!r.config&amp;&amp;(isRetryableError(r)&amp;&amp;-1!==w.indexOf(r.config.method))}function isIdempotentRequestError(r){return!!r.config&amp;&amp;(isRetryableError(r)&amp;&amp;-1!==x.indexOf(r.config.method))}function isNetworkOrIdempotentRequestError(r){return isNetworkError(r)||isIdempotentRequestError(r)}function noDelay(){return 0}function exponentialDelay(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:0,c=100*Math.pow(2,r);return c+.2*c*Math.random()}function getCurrentState(r){var c=r[y]||{};return c.retryCount=c.retryCount||0,r[y]=c,c}function axiosRetry(r,c){r.interceptors.request.use((function(r){return getCurrentState(r).lastRequestTime=Date.now(),r})),r.interceptors.response.use(null,(function(u){var p=u.config;if(!p)return Promise.reject(u);var w=function getRequestOptions(r,c){return Object.assign({},c,r[y])}(p,c),x=w.retries,k=void 0===x?3:x,E=w.retryCondition,I=void 0===E?isNetworkOrIdempotentRequestError:E,K=w.retryDelay,J=void 0===K?noDelay:K,oe=w.shouldResetTimeout,ie=void 0!==oe&amp;&amp;oe,ae=getCurrentState(p);if(I(u)&amp;&amp;ae.retryCount&lt;k){ae.retryCount+=1;var se=J(ae.retryCount,u);if(function fixConfig(r,c){r.defaults.agent===c.agent&amp;&amp;delete c.agent,r.defaults.httpAgent===c.httpAgent&amp;&amp;delete c.httpAgent,r.defaults.httpsAgent===c.httpsAgent&amp;&amp;delete c.httpsAgent}(r,p),!ie&amp;&amp;p.timeout&amp;&amp;ae.lastRequestTime){var ue=Date.now()-ae.lastRequestTime;p.timeout=Math.max(p.timeout-ue-se,1)}return p.transformRequest=[function(r){return r}],new Promise((function(c){return setTimeout((function(){return c(r(p))}),se)}))}return Promise.reject(u)}))}axiosRetry.isNetworkError=isNetworkError,axiosRetry.isSafeRequestError=isSafeRequestError,axiosRetry.isIdempotentRequestError=isIdempotentRequestError,axiosRetry.isNetworkOrIdempotentRequestError=isNetworkOrIdempotentRequestError,axiosRetry.exponentialDelay=exponentialDelay,axiosRetry.isRetryableError=isRetryableError},37498:function(r,c,u){"use strict";u.d(c,{O4:function(){return p}});u(43371),Object.freeze({APPLE:"apple",DEV:"dev",FACEBOOK:"facebook",GENERIC:"generic",INSTAGRAM:"instagram",INTERCOM:"intercom",SMOOCH:"smooch",TELEGRAM:"telegram",TWITTER:"twitter",WEBCHAT:"webchat",WECHAT:"wechat",WHATSAPP:"whatsapp"});var p=Object.freeze({TEXT:"text",POSTBACK:"postback",AUDIO:"audio",IMAGE:"image",VIDEO:"video",DOCUMENT:"document",LOCATION:"location",CONTACT:"contact",BUTTON_MESSAGE:"buttonmessage",CAROUSEL:"carousel",CUSTOM:"custom",WEBCHAT_SETTINGS:"webchatsettings",WHATSAPP_TEMPLATE:"whatsapptemplate",RAW:"raw",CHAT_EVENT:"chatevent"});Object.freeze({WAITING:"status_waiting",ATTENDING:"status_attending",IDLE:"status_idle",RESOLVED:"status_resolved"}),Object.freeze({OK:"result_ok",NOK:"result_nok",NOT_SOLVED:"result_not_solved",BANNED:"result_banned"}),Object.freeze({Messaging:{APPLE:"apple",FACEBOOK:"facebook",GENERIC:"generic",IMBEE:"imbee",INSTAGRAM:"instagram",INTERCOM:"intercom",SMOOCH_WEB:"smooch_web",SMOOCH:"smooch",TELEGRAM:"telegram",TWITTER:"twitter",WEBCHAT:"webchat",WECHAT:"wechat",WHATSAPP:"whatsapp"}})},61228:function(r,c,u){"use strict";u.d(c,{UG:function(){return x},Vb:function(){return getWebpackEnvVar},jU:function(){return k},kI:function(){return cloneObject},tq:function(){return E},xW:function(){return I}});var p=u(29439),y=u(30926),w=(u(19601),u(69600),u(21249),u(69720),u(92222),void 0),x=function isNode(){return(0,y.Z)(this,w),!1}.bind(void 0),k=function isBrowser(){return(0,y.Z)(this,w),!0}.bind(void 0);function getWebpackEnvVar(r,c,u){return r||"undefined"!=typeof process&amp;&amp;"MISSING_ENV_VAR"[c]||u}var E=function isMobile(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:460;if(k()&amp;&amp;Math.max(document.documentElement.clientWidth,window.innerWidth||0)&lt;r)return!0;return!1};function cloneObject(r){return r?Object.assign({},r):{}}var I=function params2queryString(r){var c=this;return(0,y.Z)(this,w),Object.entries(r).map(function(r){(0,y.Z)(this,c);var u=(0,p.Z)(r,2),w=u[0],x=u[1];return"".concat(encodeURIComponent(w),"=").concat(encodeURIComponent(x))}.bind(this)).join("&amp;")}.bind(void 0);(function dirname(r){return(0,y.Z)(this,w),function join(){for(var r=[],c=arguments.length,u=new Array(c),p=0;p&lt;c;p++)u[p]=arguments[p];for(var y=0,w=u.length;y&lt;w;y++)r=r.concat(u[y].split("/"));for(var x=[],k=0,E=r.length;k&lt;E;k++){var I=r[k];I&amp;&amp;"."!==I&amp;&amp;(".."===I?x.pop():x.push(I))}return""===r[0]&amp;&amp;x.unshift(""),x.join("/")||(x.length?"/":".")}(r,"..")}).bind(void 0)},55637:function(r,c,u){"use strict";u.d(c,{B:function(){return ie}});var p=u(87462),y=u(30926),w=u(61228),x=u(37498),k=u(67294),E=u(30305),I=u(755),K=u(65309),J=void 0,oe=function serialize(r){return(0,y.Z)(this,J),{audio:r.src}}.bind(void 0),ie=function Audio(r){(0,y.Z)(this,J);var c=(0,(0,k.useContext)(E.L).getThemeProperty)(I.e2.CUSTOM_PROPERTIES.customAudio,void 0),u=r.children;return(0,w.jU)()&amp;&amp;(u=c?k.createElement(c,(0,p.Z)({},r,{"data-qa":"CustomAudio"})):k.createElement("audio",{style:{maxWidth:"100%"},id:"myAudio",controls:!0,"aria-label":"This is a voice attachment","data-qa":"audio"},k.createElement("source",{src:r.src,type:"audio/mpeg","data-qa":"source"}),"Your browser does not support this audio format.")),k.createElement(K.v,(0,p.Z)({"data-qa":I.K$.AUDIO_MESSAGE,json:oe(r)},r,{type:x.O4.AUDIO}),u)}.bind(void 0);ie.serialize=oe},72276:function(r,c,u){"use strict";u.d(c,{z:function(){return de}});u(47941),u(82526),u(38880),u(54747),u(49337);var p,y=u(87462),w=u(4942),x=u(29439),k=u(30926),E=u(30168),I=(u(57327),u(41539),u(92222),u(68309),u(37498)),K=u(61228),J=u(67294),oe=u(18117),ie=u(755),ae=u(30305),se=u(78827),ue=u(20829),le=void 0;function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,w.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var pe=oe.ZP.button(p||(p=(0,E.Z)(["\n  display: flex;\n  width: 100%;\n  max-height: 80px;\n  font-size: 14px;\n  text-align: center;\n  align-content: center;\n  justify-content: center;\n  padding: 12px 32px;\n  font-family: inherit;\n  border: none;\n  border: 1px solid ",";\n  cursor: pointer;\n  outline: 0;\n  border-top-right-radius: ",";\n  border-top-left-radius: ",";\n  border-bottom-right-radius: ",";\n  border-bottom-left-radius: ",";\n  overflow: hidden;\n"])),ie.DM.SEASHELL_WHITE,function(r){return(0,k.Z)(this,le),r.top||"0px"}.bind(void 0),function(r){return(0,k.Z)(this,le),r.top||"0px"}.bind(void 0),function(r){return(0,k.Z)(this,le),r.bottom||"0px"}.bind(void 0),function(r){return(0,k.Z)(this,le),r.bottom||"0px"}.bind(void 0)),de=function Button(r){var c=this;(0,k.Z)(this,le);var u=(0,J.useContext)(ae.L),p=u.webchatState,w=u.openWebview,E=u.sendPayload,oe=u.sendInput,de=u.getThemeProperty,he=u.updateMessage,ge=(0,J.useState)(!1),ve=(0,x.Z)(ge,2),we=ve[0],Se=ve[1],Oe=p.theme,Pe=ue.M.resolveDisabling(p.theme,r),Le=Pe.autoDisable,Ie=Pe.disabledStyle,je=function handleClick(u){var y=this;(0,k.Z)(this,c),u.preventDefault();var x=de(ie.e2.CUSTOM_PROPERTIES.buttonMessageType,I.O4.TEXT);if(r.webview?w(r.webview,r.params):r.path?x==I.O4.POSTBACK?E("__PATH_PAYLOAD__".concat(r.path)):oe({type:I.O4.TEXT,data:String(r.children),text:String(r.children),payload:"__PATH_PAYLOAD__".concat(r.path)}):r.payload?x==I.O4.POSTBACK?E(r.payload):oe({type:I.O4.TEXT,data:String(r.children),text:String(r.children),payload:r.payload}):r.url&amp;&amp;window.open(r.url,r.target||"_blank"),r.onClick&amp;&amp;r.onClick(),r.setDisabled){r.setDisabled(!0);var K=p.messagesJSON.filter(function(c){return(0,k.Z)(this,y),c.id==r.parentId}.bind(this))[0],J=ue.M.getUpdatedMessage(K,{autoDisable:Le,disabledStyle:Ie});he(J)}}.bind(this),De=function getClassName(){return arguments.length&gt;0&amp;&amp;void 0!==arguments[0]&amp;&amp;arguments[0]?"button-custom":r.payload?"button-payload":r.url?"button-url":r.webview?"button-webview":r.path?"button-path":""},Ue=function renderBrowser(){var u=this;(0,k.Z)(this,c);var p=de(ie.e2.CUSTOM_PROPERTIES.buttonStyle),y=de(ie.e2.CUSTOM_PROPERTIES.customButton);if(y)return J.createElement("div",{className:De(!0),onClick:function(r){return(0,k.Z)(this,u),je(r)}.bind(this)},J.createElement(y,{"data-qa":"CustomButton"},r.children));var w=we?de(ie.e2.CUSTOM_PROPERTIES.buttonHoverBackground,ie.DM.CONCRETE_WHITE):de(ie.e2.CUSTOM_PROPERTIES.buttonStyleBackground,ie.DM.SOLID_WHITE),x=de(we?ie.e2.CUSTOM_PROPERTIES.buttonHoverTextColor:ie.e2.CUSTOM_PROPERTIES.buttonStyleColor,ie.DM.SOLID_BLACK);return J.createElement(pe,{className:De(),theme:Oe,onMouseEnter:function(){return(0,k.Z)(this,u),Se(!0)}.bind(this),onMouseLeave:function(){return(0,k.Z)(this,u),Se(!1)}.bind(this),onClick:function(r){return(0,k.Z)(this,u),je(r)}.bind(this),style:_objectSpread(_objectSpread({},p),{},{color:x,backgroundColor:w},r.disabled&amp;&amp;Le&amp;&amp;Ie),bottom:r.bottomRadius,"data-qa":"StyledButton"},r.children)}.bind(this),Fe=function renderNode(){(0,k.Z)(this,c);var u=ue.M.constructNodeProps(r);if(r.webview){var p=r.webview,w="";return r.params&amp;&amp;(w=(0,K.xW)(r.params)),J.createElement("button",(0,y.Z)({url:"/webviews/".concat(p.name,"?").concat(w)},u,{"data-qa":"button"}),r.children)}if(r.path){var x="__PATH_PAYLOAD__".concat(r.path);return J.createElement("button",(0,y.Z)({payload:x},u,{"data-qa":"button"}),r.children)}if(r.payload)return J.createElement("button",(0,y.Z)({payload:r.payload},u,{"data-qa":"button"}),r.children);if(r.url)return J.createElement("button",(0,y.Z)({url:r.url,target:r.target},u,{"data-qa":"button"}),r.children);if(r.onClick)return null;throw new Error("Button missing payload, path, webviews, url or onClick")}.bind(this);return(0,se.SO)({renderBrowser:Ue,renderNode:Fe})}.bind(void 0);de.serialize=function(r){(0,k.Z)(this,le);var c=r.payload;return r.path&amp;&amp;(c="__PATH_PAYLOAD__".concat(r.path)),{button:_objectSpread({payload:c,url:r.url,target:r.target,webview:r.webview&amp;&amp;String(r.webview),title:r.children&amp;&amp;String(r.children)},ue.M.withDisabledProps(r))}}.bind(void 0)},20829:function(r,c,u){"use strict";u.d(c,{M:function(){return ie}});u(47941),u(82526),u(57327),u(41539),u(38880),u(54747),u(49337);var p=u(30926),y=u(4942),w=u(15671),x=u(43144),k=(u(21249),u(72276)),E=u(755),I=u(71097),K=u(10553),J=u(78827),oe=u(36350);function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,y.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var ie=function(){function ButtonsDisabler(){(0,w.Z)(this,ButtonsDisabler)}return(0,x.Z)(ButtonsDisabler,null,[{key:"constructBrowserProps",value:function constructBrowserProps(r){var c={disabled:r.disabled};return void 0!==r.autodisable&amp;&amp;(c.autodisable=(0,K.UC)(r.autodisable)),void 0!==r.disabledstyle&amp;&amp;(c.disabledstyle=r.disabledstyle),c}},{key:"constructNodeProps",value:function constructNodeProps(r){var c={};return void 0!==r.autodisable&amp;&amp;(c.autodisable=String(r.autodisable)),void 0!==r.disabledstyle&amp;&amp;(c.disabledstyle=JSON.stringify(r.disabledstyle)),c}},{key:"withDisabledProps",value:function withDisabledProps(r){return{disabled:r.disabled,autodisable:r.autodisable,disabledstyle:r.disabledstyle}}},{key:"resolveDisabling",value:function resolveDisabling(r,c){var u=(0,oe.rr)(r),p=void 0!==c.autodisable?c.autodisable:u(E.e2.CUSTOM_PROPERTIES.buttonAutoDisable,E.e2.DEFAULTS.BUTTON_AUTO_DISABLE),y=void 0!==c.disabledstyle?c.disabledstyle:u(E.e2.CUSTOM_PROPERTIES.buttonDisabledStyle,{});return{autoDisable:p,disabledStyle:_objectSpread(_objectSpread({},E.e2.DEFAULTS.BUTTON_DISABLED_STYLE),y)}}},{key:"updateChildrenButtons",value:function updateChildrenButtons(r){var c=this,u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:void 0;return(0,J.$r)(r,function(r){return(0,p.Z)(this,c),r.type===k.z?this.updateButtons(r,u):r}.bind(this))}},{key:"updateButtons",value:function updateButtons(r,c){return c=c?{disabled:!0===r.props.disabled?r.props.disabled:c.disabled,setDisabled:c.setDisabled,parentId:c.parentId}:{},_objectSpread(_objectSpread({},r),{},{props:_objectSpread(_objectSpread({},r.props),c)})}},{key:"getUpdatedMessage",value:function getUpdatedMessage(r,c){var u=this,y=(c.autoDisable,c.disabledStyle,function updateMsgButton(r){return(0,p.Z)(this,u),_objectSpread(_objectSpread({},r),{disabled:!0})}.bind(this));return(0,I.C2)(r)&amp;&amp;r.data&amp;&amp;r.data.elements?(r.data.elements=r.data.elements.map(function(r){return(0,p.Z)(this,u),_objectSpread(_objectSpread({},r),{buttons:r.buttons.map(y)})}.bind(this)),r):_objectSpread(_objectSpread({},r),{buttons:r.buttons.map(y)})}}]),ButtonsDisabler}()},98216:function(r,c,u){"use strict";u.d(c,{J:function(){return Se}});var p=u(4942),y=u(44925),w=u(87462),x=u(30926),k=(u(68309),u(41539),u(88674),u(57327),u(47941),u(82526),u(38880),u(54747),u(49337),u(37498)),E=u(72378),I=u.n(E),K=u(67294),J=u(755),oe=(u(12419),u(15671)),ie=u(43144),ae=u(60136),se=u(73930),ue=u(61120),le=u(61228),pe=u(18422);function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,p.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=(0,ue.Z)(r);if(c){var y=(0,ue.Z)(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return(0,se.Z)(this,u)}}u(92222);var de=u(10553);function warnDeprecatedProps(r,c){var u=this;[{legacy:"enableTimestamps",new:"enabletimestamps"},{legacy:"imageStyle",new:"imagestyle"}].forEach(function(p){(0,x.Z)(this,u),void 0!==(0,de.$s)(r,p.legacy)&amp;&amp;function warnDeprecated(r,c){var u=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:void 0;console.warn("".concat(u||""," '").concat(r,"' is deprecated. Use '").concat(c,"' instead."))}(p.legacy,p.new,c)}.bind(this))}var he=u(78827),ge=u(65309),ve=u(38200),we=["id","children"];function custom_message_ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function custom_message_objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?custom_message_ownKeys(Object(u),!0).forEach((function(c){(0,p.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):custom_message_ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var Se=function customMessage(r){var c=this;(0,x.Z)(this,undefined);var u=r.name,p=r.component,E=r.defaultProps,se=void 0===E?{}:E,ue=r.errorBoundary,de=void 0===ue?function createErrorBoundary(){var r=this,c=(arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{}).errorComponent,u=void 0===c?function(c){return(0,x.Z)(this,r),K.createElement(pe.x,{"data-qa":"Text"},"The message cannot be displayed")}.bind(this):c;return function(r){(0,ae.Z)(ErrorBoundary,r);var c=_createSuper(ErrorBoundary);function ErrorBoundary(r){var u;return(0,oe.Z)(this,ErrorBoundary),(u=c.call(this,r)).state={error:null},u}return(0,ie.Z)(ErrorBoundary,[{key:"componentDidCatch",value:function componentDidCatch(r,c){(0,le.UG)()&amp;&amp;console.error("Failure at:",r)}},{key:"render",value:function render(){return this.state.error?u(_objectSpread(_objectSpread({},this.props),{},{errorMessage:this.state.error.message})):this.props.children}}],[{key:"getDerivedStateFromError",value:function getDerivedStateFromError(r){return{error:r}}}]),ErrorBoundary}(K.Component)}():ue,Se=function CustomMessage(r){return(0,x.Z)(this,c),warnDeprecatedProps(se,"customMessage:"),se.from===J.vw.user&amp;&amp;(se.ack=1),K.createElement(ge.v,(0,w.Z)({},I()((0,he.uw)(se),r),{type:k.O4.CUSTOM,"data-qa":"Message"}))}.bind(this),Oe=function splitChildren(r){var u=this;(0,x.Z)(this,c);var p=r.children,y=function isReply(r){return(0,x.Z)(this,u),r.type===ve.j}.bind(this);try{if(!Array.isArray(p)&amp;&amp;!y(p))return{replies:null,childrenWithoutReplies:p};var w=K.Children.toArray(p);return{replies:w.filter(y),childrenWithoutReplies:w.filter(function(r){return(0,x.Z)(this,u),!y(r)}.bind(this))}}catch(r){return{replies:null,childrenWithoutReplies:p}}}.bind(this),Pe=function WrappedComponent(r){(0,x.Z)(this,c);var k=r.id,E=(r.children,(0,y.Z)(r,we)),I=Oe(r),J=I.replies,oe=I.childrenWithoutReplies;return K.createElement(Se,{id:k,json:custom_message_objectSpread(custom_message_objectSpread({},E),{},{id:k,children:oe,customTypeName:u}),"data-qa":"CustomMessage"},K.createElement(de,(0,w.Z)({key:"errorBoundary"},E,{"data-qa":"ErrorBoundary"}),K.createElement(p,(0,w.Z)({},E,{"data-qa":"CustomMessageComponent"}),oe)),J)}.bind(this);return Pe.customTypeName=u,Pe.deserialize=function(r){return(0,x.Z)(this,c),K.createElement(Pe,(0,w.Z)({id:r.id,key:r.key,json:r.data},r.data,{"data-qa":"WrappedComponent"}))}.bind(this),Pe}.bind(void 0)},15400:function(r,c,u){"use strict";u.d(c,{B:function(){return pe}});u(47941),u(82526),u(57327),u(41539),u(38880),u(54747),u(49337);var p,y=u(87462),w=u(4942),x=u(30926),k=u(30168),E=u(61228),I=u(37498),K=u(67294),J=u(18117),oe=u(755),ie=u(30305),ae=u(65309),se=void 0;function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,w.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var ue=J.ZP.a(p||(p=(0,k.Z)(["\n  display: block;\n  height: 25px;\n  background-color: #f0f0f0;\n  padding: 10px;\n  text-align: center;\n  border-radius: 5px;\n  color: black;\n  font-weight: bold;\n  line-height: 25px;\n  text-decoration: none;\n  border: 1px solid black;\n  opacity: 0.9;\n  &amp;:hover {\n    opacity: 1;\n  }\n"]))),le=function serialize(r){return(0,x.Z)(this,se),{document:r.src}}.bind(void 0),pe=function Document(r){(0,x.Z)(this,se);var c=r.children,u=(0,(0,K.useContext)(ie.L).getThemeProperty)(oe.e2.CUSTOM_PROPERTIES.documentDownload,{});return"function"==typeof u&amp;&amp;(u=u(r.from)),(0,E.jU)()&amp;&amp;(c=K.createElement(ue,{href:r.src,target:"_blank",rel:"noreferrer",style:_objectSpread({},u.style),"aria-label":"This is a document attachment","data-qa":"StyledButton"},u.text||"Download")),K.createElement(ae.v,(0,y.Z)({"data-qa":oe.K$.DOCUMENT_MESSAGE,json:le(r)},r,{type:I.O4.DOCUMENT}),c)}.bind(void 0);pe.serialize=le},84209:function(r,c,u){"use strict";u.d(c,{W:function(){return ie}});var p,y=u(93433),w=u(30926),x=u(30168),k=(u(19601),u(92222),u(21249),u(57327),u(41539),u(68309),u(67294)),E=u(18117),I=u(755),K=u(78827),J=void 0,oe=E.ZP.div(p||(p=(0,x.Z)(["\n  display: flex;\n  flex-direction: column;\n  width: ","px;\n  margin-right: ","px;\n  border-radius: 6px;\n  border: 1px solid ",";\n  overflow: hidden;\n  justify-content: space-between;\n"])),I.e2.DEFAULTS.ELEMENT_WIDTH,I.e2.DEFAULTS.ELEMENT_MARGIN_RIGHT,I.DM.SEASHELL_WHITE),ie=function Element(r){var c=this;(0,w.Z)(this,J);var u=function renderBrowser(){return(0,w.Z)(this,c),k.createElement(oe,{"data-qa":"ElementContainer"},r.children)}.bind(this),p=function renderNode(){return(0,w.Z)(this,c),k.createElement("element",{"data-qa":"element"},r.children)}.bind(this);return(0,K.SO)({renderBrowser:u,renderNode:p})}.bind(void 0);ie.serialize=function(r){var c=this;(0,w.Z)(this,J);var u=Object.assign.apply(Object,[{}].concat((0,y.Z)(r.children.filter(function(r){return(0,w.Z)(this,c),r&amp;&amp;r.type&amp;&amp;"Button"!=r.type.name}.bind(this)).map(function(r){return(0,w.Z)(this,c),r.type.serialize&amp;&amp;r.type.serialize(r.props)}.bind(this)))));return u.buttons=(0,y.Z)(r.children.filter(function(r){return(0,w.Z)(this,c),r instanceof Array||r&amp;&amp;r.type&amp;&amp;"Button"==r.type.name}.bind(this)).map(function(r){var u=this;return(0,w.Z)(this,c),r instanceof Array?r.map(function(r){return(0,w.Z)(this,u),r&amp;&amp;r.type&amp;&amp;r.type.serialize&amp;&amp;r.type.serialize(r.props).button}.bind(this)):r&amp;&amp;r.type&amp;&amp;r.type.serialize&amp;&amp;r.type.serialize(r.props).button}.bind(this))),u.buttons[0]instanceof Array&amp;&amp;(u.buttons=u.buttons[0]),u}.bind(void 0)},40413:function(r,c,u){"use strict";u.d(c,{E:function(){return pe}});var p,y=u(87462),w=u(29439),x=u(30926),k=u(30168),E=u(61228),I=u(37498),K=u(67294),J=u(18117),oe=u(755),ie=u(30305),ae=u(65309),se=void 0,ue=J.ZP.img(p||(p=(0,k.Z)(["\n  border-radius: 8px;\n  max-width: 150px;\n  max-height: 150px;\n  margin: -3px -6px;\n  cursor: ",";\n"])),function(r){return(0,x.Z)(this,se),r.hasPreviewer?"pointer":"auto"}.bind(void 0)),le=function serialize(r){return(0,x.Z)(this,se),{image:r.src}}.bind(void 0),pe=function Image(r){var c=this;(0,x.Z)(this,se);var u=r.children,p=(0,K.useState)(!1),k=(0,w.Z)(p,2),J=k[0],pe=k[1],de=function openPreviewer(){return(0,x.Z)(this,c),pe(!0)}.bind(this),he=function closePreviewer(){return(0,x.Z)(this,c),pe(!1)}.bind(this),ge=(0,(0,K.useContext)(ie.L).getThemeProperty)(oe.e2.CUSTOM_PROPERTIES.imagePreviewer,null);return(0,E.jU)()&amp;&amp;(u=K.createElement(K.Fragment,null,K.createElement(ue,{src:r.src,onClick:de,hasPreviewer:Boolean(ge),alt:"This is a image attachment","aria-label":"This is a image attachment","data-qa":"StyledImage"}),ge&amp;&amp;K.createElement(ge,{src:r.src,isPreviewerOpened:J,openPreviewer:de,closePreviewer:he,"data-qa":"ImagePreviewer"}))),K.createElement(ae.v,(0,y.Z)({"data-qa":oe.K$.IMAGE_MESSAGE,json:le(r)},r,{type:I.O4.IMAGE}),u)}.bind(void 0);pe.serialize=le},56358:function(r,c,u){"use strict";u.d(c,{F3:function(){return he},IV:function(){return ge},YQ:function(){return pe},ap:function(){return ue},vM:function(){return de}});var p=u(30926),y=(u(24603),u(74916),u(39714),u(69600),u(21249),u(15306),u(57327),u(41539),u(92222),u(9980)),w=u.n(y),x=void 0,k="&lt;br/&gt;",E=new RegExp("&lt;br\\s*/?&gt;","g"),I="&amp;lt;br&amp;gt;",K=new RegExp(I,"g"),J=function isLineBreakElement(r){return(0,p.Z)(this,x),"br"===r.type}.bind(void 0),oe=function withLinksTarget(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"_blank",u=r.renderer.rules.link_open||function(r,c,u,p,y){return y.renderToken(r,c,u)};r.renderer.rules.link_open=function(r,p,y,w,x){var k=r[p].attrIndex("target");return k&lt;0?r[p].attrPush(["target",c]):r[p].attrs[k][1]=c,u(r,p,y,w,x)}},ie=function configureLinksRenderer(){(0,p.Z)(this,x);var r=new(w())("zero",{linkify:!0}).enable(["linkify"]);return oe(r),r}.bind(void 0),ae=function configureMarkdownRenderer(){(0,p.Z)(this,x);var r=new(w())({html:!0,linkify:!0,typographer:!0});return oe(r),r}.bind(void 0),se=ae(),ue=function renderMarkdown(r){var c=this;return(0,p.Z)(this,x),r=r.map(function(r){return(0,p.Z)(this,c),J(r)?k:"string"==typeof r?r.replace(E,k).replace(K,k).replace(/\r?\n/g,k):String(r)}.bind(this)).join(""),se.render(r)}.bind(void 0),le=ie(),pe=function renderLinks(r){return(0,p.Z)(this,x),le.render(r)}.bind(void 0),de=function serializeMarkdown(r){var c=this;return(0,p.Z)(this,x),(r=Array.isArray(r)?r:[r]).filter(function(r){return(0,p.Z)(this,c),J(r)||!r.type}.bind(this)).map(function(r){return(0,p.Z)(this,c),Array.isArray(r)?de(r):J(r)?I:String(r).replace(E,I)}.bind(this)).join("")}.bind(void 0),he=function toMarkdownChildren(r){var c=this;return(0,p.Z)(this,x),r.map(function(r){return(0,p.Z)(this,c),J(r)?I:r}.bind(this))}.bind(void 0),ge=function getMarkdownStyle(r,c){return(0,p.Z)(this,x),r("markdownStyle",ve(c))}.bind(void 0),ve=function getDefaultMarkdownStyle(r){return(0,p.Z)(this,x),"\n*{\n  margin: 0px;\n}\n\na {\n  text-decoration:none;\n}\n\na:link{\n  color:".concat(r,"; \n}\n\na:visited {\n  color:").concat(r,";\n}\n\na:hover {\n  text-shadow: 0px 1px black;\n}\n\nblockquote {\n  margin: 0;\n  padding-left: 1.4rem;\n  border-left: 4px solid #dadada; \n}\n\npre code {\n  margin: 0;\n  padding: 0;\n  white-space: pre;\n  border: none;\n  background: transparent; \n}\n\npre {\n  background-color: #f8f8f8;\n  border: 1px solid #cccccc;\n  font-size: 13px;\n  line-height: 19px;\n  overflow: auto;\n  padding: 6px 10px;\n  border-radius: 3px; \n}\n\ncode, tt {\n  margin: 0 2px;\n  padding: 0 5px;\n  white-space: nowrap;\n  border: 1px solid #eaeaea;\n  background-color: #f8f8f8;\n  border-radius: 3px; \n}\n\npre {\n  background-color: #f8f8f8;\n  border: 1px solid #cccccc;\n  font-size: 13px;\n  line-height: 19px;\n  overflow: auto;\n  padding: 6px 10px;\n  border-radius: 3px; \n}\n\npre code, pre tt {\n  background-color: transparent;\n  border: none; \n}\n  \ntable, td, th {\n  border: 1px solid black;\n  padding:10px;\n}\n")}.bind(void 0)},65309:function(r,c,u){"use strict";u.d(c,{v:function(){return it}});var p,y,w=u(87462),x=u(4942),k=u(29439),E=u(44925),I=u(30926),K=u(30168),J=(u(26699),u(32023),u(57327),u(41539),u(88674),u(21249),u(69826),u(92222),u(47941),u(82526),u(38880),u(54747),u(49337),u(37498)),oe=u(61228),ie=u(67294),ae=u(19470),se=u.n(ae),ue=u(18117),le=u(78381),pe=u(755),de=u(30305),he=u(52086),ge=u(78827),ve=u(72276),we=u(20829),Se=u(56358),Oe=u(38200),Pe=void 0;function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,x.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var Le,Ie,je,De,Ue,Fe,Ze=function resolveMessageTimestamps(r,c){(0,I.Z)(this,Pe);var u=r("message.timestamps.format"),p=r("message.timestamps.style");return{timestampsEnabled:Boolean(void 0!==c?c:r("message.timestamps.enable",Boolean(p)||Boolean(u)||!1)),getFormattedTimestamp:u&amp;&amp;u()||(new Date).toLocaleString(void 0,{month:"short",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),timestampStyle:p}}.bind(void 0),$e=ue.ZP.div(p||(p=(0,K.Z)(["\n  display: flex;\n  position: relative;\n  align-items: flex-start;\n"]))),Ge=ue.ZP.div(y||(y=(0,K.Z)(["\n  @import url('https://fonts.googleapis.com/css?family=Lato');\n  font-family: Lato;\n  font-size: 10px;\n  color: ",";\n  width: 100%;\n  text-align: ",";\n  padding: ",";\n  margin-bottom: 5px;\n"])),pe.DM.SOLID_BLACK,function(r){return(0,I.Z)(this,Pe),r.isfromuser?"right":"left"}.bind(void 0),function(r){return(0,I.Z)(this,Pe),r.isfromuser?"0px 15px":"0px 50px"}.bind(void 0)),We=function MessageTimestamp(r){(0,I.Z)(this,Pe);var c=r.timestamp,u=r.style,p=r.isfromuser,y=p?"user":"bot";return ie.createElement($e,{className:"botonic-timestamp-".concat(y),"data-qa":"TimestampContainer"},ie.createElement(Ge,{isfromuser:p,style:_objectSpread({},u),"data-qa":"TimestampText"},c))}.bind(void 0),Ke=["type","blob","from","delay","typing","children","enabletimestamps","json","style","imagestyle"],Je=["blob","json"],Ye=void 0;function message_ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function message_objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?message_ownKeys(Object(u),!0).forEach((function(c){(0,x.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):message_ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var Xe=ue.ZP.div(Le||(Le=(0,K.Z)(["\n  display: flex;\n  justify-content: ",";\n  position: relative;\n  padding: 0px 6px;\n"])),function(r){return(0,I.Z)(this,Ye),r.isfromuser?"flex-end":"flex-start"}.bind(void 0)),Qe=ue.ZP.div(Ie||(Ie=(0,K.Z)(["\n  width: 28px;\n  padding: 12px 4px;\n  flex: none;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n"]))),et=ue.ZP.div(je||(je=(0,K.Z)(["\n  position: relative;\n  margin: 8px;\n  border-radius: 8px;\n  background-color: ",";\n  color: ",";\n  max-width: ",";\n  ","\n"])),function(r){return(0,I.Z)(this,Ye),r.bgcolor}.bind(void 0),function(r){return(0,I.Z)(this,Ye),r.color}.bind(void 0),function(r){return(0,I.Z)(this,Ye),r.blob?r.blobwidth?r.blobwidth:"60%":"calc(100% - 16px)"}.bind(void 0),function(r){return(0,I.Z)(this,Ye),[J.O4.AUDIO].includes(r.type)?"flex: 1;":""}.bind(void 0)),rt=ue.ZP.div(De||(De=(0,K.Z)(["\n  padding: ",";\n  display: flex;\n  flex-direction: column;\n  white-space: pre-line;\n  ","\n"])),function(r){return(0,I.Z)(this,Ye),r.blob?"8px 12px":"0px"}.bind(void 0),function(r){return(0,I.Z)(this,Ye),r.markdownstyle}.bind(void 0)),nt=ue.ZP.div(Ue||(Ue=(0,K.Z)(["\n  position: absolute;\n  box-sizing: border-box;\n  height: 100%;\n  padding: 18px 0px 18px 0px;\n  display: flex;\n  top: 0;\n  align-items: center;\n"]))),ot=ue.ZP.div(Fe||(Fe=(0,K.Z)(["\n  position: relative;\n  margin: -","px 0px;\n  border: ","px solid ",";\n"])),function(r){return(0,I.Z)(this,Ye),r.pointerSize}.bind(void 0),function(r){return(0,I.Z)(this,Ye),r.pointerSize}.bind(void 0),pe.DM.TRANSPARENT),it=function Message(r){var c=this;(0,I.Z)(this,Ye);var u=(0,ie.useContext)(de.f),p=u.defaultTyping,y=u.defaultDelay,x=r.type,K=void 0===x?"":x,ae=r.blob,ue=void 0===ae||ae,Pe=r.from,Le=void 0===Pe?pe.vw.bot:Pe,Ie=r.delay,je=void 0===Ie?y:Ie,De=r.typing,Ue=void 0===De?p:De,Fe=r.children,$e=r.enabletimestamps,Ge=void 0===$e?r.enabletimestamps||r.enableTimestamps:$e,it=r.json,st=r.style,ct=r.imagestyle,ut=void 0===ct?r.imagestyle||r.imageStyle:ct,lt=(0,E.Z)(r,Ke),pt=Le===pe.vw.user,dt=Le===pe.vw.bot,ft=r.markdown,ht=(0,ie.useContext)(de.L),mt=ht.webchatState,yt=ht.addMessage,gt=ht.updateReplies,vt=ht.getThemeProperty,bt=(0,ie.useState)({id:r.id||(0,le.Z)()}),_t=(0,k.Z)(bt,2),wt=_t[0],xt=(_t[1],(0,ie.useState)(!1)),kt=(0,k.Z)(xt,2),St=kt[0],Et=kt[1];Fe=we.M.updateChildrenButtons(Fe,{parentId:wt.id,disabled:St,setDisabled:Et});var Tt=ie.Children.toArray(Fe).filter(function(r){return(0,I.Z)(this,c),r.type===Oe.j}.bind(this)),Ot=ie.Children.toArray(Fe).filter(function(r){return(0,I.Z)(this,c),r.type===ve.z}.bind(this)),Ct=ie.Children.toArray(Fe).filter(function(r){return(0,I.Z)(this,c),![ve.z,Oe.j].includes(r.type)}.bind(this));pt&amp;&amp;(Ct=Ct.map(function(r){return(0,I.Z)(this,c),"string"==typeof r?(0,Se.YQ)(r):r}.bind(this)));var At=Ze(vt,Ge),Pt=At.timestampsEnabled,Lt=At.getFormattedTimestamp,It=At.timestampStyle,Rt=function getEnvAck(){return(0,I.Z)(this,c),he.r8?1:pt?void 0!==r.ack?r.ack:0:1}.bind(this)();(0,oe.jU)()&amp;&amp;((0,ie.useEffect)(function(){var u=this;(0,I.Z)(this,c);var p=it,y={id:wt.id,type:K,data:p||Ct,timestamp:r.timestamp||Lt,markdown:ft,from:Le,buttons:Ot.map(function(r){return(0,I.Z)(this,u),message_objectSpread({parentId:r.props.parentId,payload:r.props.payload,path:r.props.path,url:r.props.url,target:r.props.target,webview:r.props.webview&amp;&amp;String(r.props.webview),title:r.props.children},we.M.withDisabledProps(r.props))}.bind(this)),delay:je,typing:Ue,replies:Tt.map(function(r){return(0,I.Z)(this,u),{payload:r.props.payload,path:r.props.path,url:r.props.url,text:r.props.children}}.bind(this)),display:je+Ue==0,customTypeName:p.customTypeName,ack:Rt};yt(y)}.bind(this),[]),(0,ie.useEffect)(function(){var r=this;(0,I.Z)(this,c);var u=mt.messagesJSON.find(function(c){return(0,I.Z)(this,r),c.id===wt.id}.bind(this));u&amp;&amp;u.display&amp;&amp;0==mt.messagesJSON.filter(function(c){return(0,I.Z)(this,r),!c.display}.bind(this)).length&amp;&amp;gt(Tt)}.bind(this),[mt.messagesJSON]));var jt=vt(pe.e2.CUSTOM_PROPERTIES.brandColor,pe.DM.BOTONIC_BLUE),Nt=function getBgColor(){return(0,I.Z)(this,c),ue?pt?vt(pe.e2.CUSTOM_PROPERTIES.userMessageBackground,jt):vt(pe.e2.CUSTOM_PROPERTIES.botMessageBackground,pe.DM.SEASHELL_WHITE):pe.DM.TRANSPARENT}.bind(this),Dt=function getMessageStyle(){return(0,I.Z)(this,c),vt(dt?pe.e2.CUSTOM_PROPERTIES.botMessageStyle:pe.e2.CUSTOM_PROPERTIES.userMessageStyle)}.bind(this),Mt=function hasBlobTick(){return(0,I.Z)(this,c),vt("message.".concat(Le,".blobTick"),!0)}.bind(this),Ut=function renderBrowser(){var u,p=this;(0,I.Z)(this,c);var y=mt.messagesJSON.find(function(r){return(0,I.Z)(this,p),r.id===wt.id}.bind(this));if(!y||!y.display)return ie.createElement(ie.Fragment,null);var x=function getBlobTick(r){(0,I.Z)(this,p);var c=5==r?Nt():vt("message.".concat(Le,".style.borderColor"),pe.DM.TRANSPARENT),u=message_objectSpread({},vt("message.".concat(Le,".blobTickStyle"))),y={};return pt?(u.right=0,u.marginRight=-r,y.borderRight=0,y.borderLeftColor=c):(u.left=0,u.marginLeft=-r,y.borderLeft=0,y.borderRightColor=c),ie.createElement(nt,{style:u,"data-qa":"BlobTickContainer"},ie.createElement(ot,{pointerSize:r,style:y,"data-qa":"BlobTick"}))}.bind(this),k=vt(pe.e2.CUSTOM_PROPERTIES.botMessageImage,vt(pe.e2.CUSTOM_PROPERTIES.brandImage,pe.e2.DEFAULTS.LOGO)),E=vt(pe.e2.CUSTOM_PROPERTIES.enableAnimations,!0),oe=function resolveCustomTypeName(){return(0,I.Z)(this,p),dt&amp;&amp;K===J.O4.CUSTOM?" ".concat(y.customTypeName):""}.bind(this),ae="".concat(K,"-").concat(Le).concat(oe());return ie.createElement(ge.M2,{condition:E,wrapper:function(r){return(0,I.Z)(this,p),ie.createElement(se(),{"data-qa":"Fade"},r)}.bind(this),"data-qa":"ConditionalWrapper"},ie.createElement(ie.Fragment,null,ie.createElement(Xe,{isfromuser:pt,style:message_objectSpread({},vt(pe.e2.CUSTOM_PROPERTIES.messageStyle)),"data-qa":"MessageContainer"},dt&amp;&amp;k&amp;&amp;ie.createElement(Qe,{style:message_objectSpread(message_objectSpread({},vt(pe.e2.CUSTOM_PROPERTIES.botMessageImageStyle)),ut),"data-qa":"BotMessageImageContainer"},ie.createElement("img",{style:{width:"100%"},src:(0,he.rs)(k),alt:"avatar","data-qa":"img"})),ie.createElement(et,(0,w.Z)({className:ae,bgcolor:Nt(),color:pt?pe.DM.SOLID_WHITE:pe.DM.SOLID_BLACK,blobwidth:vt(pe.e2.CUSTOM_PROPERTIES.botMessageBlobWidth),blob:ue,type:r.type,style:message_objectSpread(message_objectSpread(message_objectSpread({},Dt()),st),{opacity:0===Rt?.6:1})},lt,{"data-qa":"Blob"}),ft?vt(pe.e2.CUSTOM_PROPERTIES.userMessageDCECustomRender)&amp;&amp;pt?ie.createElement(rt,{blob:ue,markdownstyle:(0,Se.IV)(vt,pt?pe.DM.SEASHELL_WHITE:jt),"data-qa":"BlobText"},null===(u=vt(pe.e2.CUSTOM_PROPERTIES.userMessageDCECustomRender))||void 0===u?void 0:u(r)):ie.createElement(rt,{blob:ue,dangerouslySetInnerHTML:{__html:(0,Se.ap)(Ct)},markdownstyle:(0,Se.IV)(vt,pt?pe.DM.SEASHELL_WHITE:jt),"data-qa":"BlobText"}):ie.createElement(rt,{blob:ue,"data-qa":"BlobText"},Ct),!!Ot.length&amp;&amp;ie.createElement("div",{className:"message-buttons-container"},Ot),Boolean(ue)&amp;&amp;Mt()&amp;&amp;x(6),Boolean(ue)&amp;&amp;Mt()&amp;&amp;x(5))),Pt&amp;&amp;ie.createElement(We,{timestamp:y.timestamp,style:It,isfromuser:pt,"data-qa":"MessageTimestamp"})))}.bind(this),Ft=(r.blob,r.json),Bt=(0,E.Z)(r,Je),qt=function renderNode(){return(0,I.Z)(this,c),K===J.O4.CUSTOM?ie.createElement("message",(0,w.Z)({json:JSON.stringify(Ft),typing:Ue,delay:je},Bt,{"data-qa":"message"})):ie.createElement("message",(0,w.Z)({typing:Ue,delay:je},Bt,{"data-qa":"message"}),Fe)}.bind(this);return(0,ge.SO)({renderBrowser:Ut,renderNode:qt})}.bind(void 0)},38200:function(r,c,u){"use strict";u.d(c,{j:function(){return ae}});u(47941),u(82526),u(57327),u(41539),u(38880),u(54747),u(49337);var p,y=u(4942),w=u(30926),x=u(30168),k=u(67294),E=u(18117),I=u(755),K=u(30305),J=u(78827),oe=void 0;function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,y.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var ie=E.ZP.button(p||(p=(0,x.Z)(["\n  width: 100%;\n  padding: 4px 8px;\n  font-family: inherit;\n  border-radius: 8px;\n  cursor: pointer;\n  outline: 0;\n"]))),ae=function Reply(r){var c=this;(0,w.Z)(this,oe);var u=(0,k.useContext)(K.L),p=u.sendText,y=u.getThemeProperty,x=function handleClick(u){if((0,w.Z)(this,c),u.preventDefault(),r.children){var y=r.payload;r.path&amp;&amp;(y="__PATH_PAYLOAD__".concat(r.path)),p(r.children,y)}}.bind(this),E=function renderBrowser(){var u=this;(0,w.Z)(this,c);var p=y(I.e2.CUSTOM_PROPERTIES.replyStyle),E=y(I.e2.CUSTOM_PROPERTIES.customReply);return E?k.createElement("div",{onClick:function(r){return(0,w.Z)(this,u),x(r)}.bind(this)},k.createElement(E,{"data-qa":"CustomReply"},r.children)):k.createElement(ie,{style:_objectSpread({border:"1px solid ".concat(y(I.e2.CUSTOM_PROPERTIES.brandColor,I.DM.BOTONIC_BLUE)),color:y(I.e2.CUSTOM_PROPERTIES.brandColor,I.DM.BOTONIC_BLUE)},p),onClick:function(r){return(0,w.Z)(this,u),x(r)}.bind(this),"data-qa":"StyledButton"},r.children)}.bind(this),ae=function renderNode(){if((0,w.Z)(this,c),r.path){var u="__PATH_PAYLOAD__".concat(r.path);return k.createElement("reply",{payload:u,"data-qa":"reply"},r.children)}return k.createElement("reply",{payload:r.payload,"data-qa":"reply"},r.children)}.bind(this);return(0,J.SO)({renderBrowser:E,renderNode:ae})}.bind(void 0);ae.serialize=function(r){(0,w.Z)(this,oe);var c=r.payload;return r.path&amp;&amp;(c="__PATH_PAYLOAD__".concat(r.path)),{reply:{title:r.children,payload:c}}}.bind(void 0)},18422:function(r,c,u){"use strict";u.d(c,{x:function(){return ae}});u(47941),u(82526),u(38880),u(54747),u(49337);var p=u(87462),y=u(4942),w=u(30926),x=(u(69600),u(21249),u(57327),u(41539),u(88674),u(37498)),k=u(67294),E=u(78827),I=u(56358),K=u(65309),J=void 0;function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,y.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var oe=function serializeText(r){var c=this;return(0,w.Z)(this,J),(r=Array.isArray(r)?r:[r]).filter(function(r){return(0,w.Z)(this,c),!r.type}.bind(this)).map(function(r){return(0,w.Z)(this,c),Array.isArray(r)?oe(r):String(r)}.bind(this)).join("")}.bind(void 0),ie=function serialize(r){return(0,w.Z)(this,J),r.markdown?{text:(0,I.vM)(r.children)}:{text:oe(r.children)}}.bind(void 0),ae=function Text(r){(0,w.Z)(this,J);var c={markdown:void 0===r.markdown||r.markdown},u=(0,E.uw)(_objectSpread(_objectSpread(_objectSpread({},r),c),{children:k.Children.toArray(r.children)}));return u.markdown?k.createElement(K.v,(0,p.Z)({json:ie(u)},u,{type:x.O4.TEXT,"data-qa":"Message"}),(0,I.F3)(u.children)):k.createElement(K.v,(0,p.Z)({json:ie(u)},u,{type:x.O4.TEXT,"data-qa":"Message"}),u.children)}.bind(void 0);ae.serialize=ie},452:function(r,c,u){"use strict";u.d(c,{n:function(){return le}});var p,y=u(87462),w=u(30926),x=u(30168),k=u(61228),E=u(37498),I=u(67294),K=u(18117),J=u(755),oe=u(65309),ie=u(30305),ae=void 0,se=K.ZP.video(p||(p=(0,x.Z)(["\n  background-color: ",";\n  border-radius: 8px;\n  max-height: 180px;\n  max-width: 300px;\n  margin: 10px;\n"])),J.DM.SOLID_BLACK_ALPHA_0_5),ue=function serialize(r){return(0,w.Z)(this,ae),{video:r.src}}.bind(void 0),le=function Video(r){(0,w.Z)(this,ae);var c=(0,(0,I.useContext)(ie.L).getThemeProperty)(J.e2.CUSTOM_PROPERTIES.customVideo,void 0),u=r.children;return(0,k.jU)()&amp;&amp;(u=c?I.createElement(c,(0,y.Z)({},r,{"data-qa":"CustomVideo"})):I.createElement(se,{controls:!0,"aria-label":"This is a video attachment","data-qa":"StyledVideo"},I.createElement("source",{src:r.src,"data-qa":"source"}))),I.createElement(oe.v,(0,y.Z)({"data-qa":J.K$.VIDEO_MESSAGE,json:ue(r)},r,{type:E.O4.VIDEO}),u)}.bind(void 0);le.serialize=ue},755:function(r,c,u){"use strict";u.d(c,{DM:function(){return w},zw:function(){return E},Im:function(){return k},K$:function(){return I},vw:function(){return y},e2:function(){return x}});var p=u.p+"assets/botonic_react_logo100x100.png",y={bot:"bot",user:"user"},w={APPLE_GREEN:"rgba(58, 156, 53, 1)",BLEACHED_CEDAR_PURPLE:"rgba(46, 32, 59, 1)",BOTONIC_BLUE:"rgba(0, 153, 255, 1)",CACTUS_GREEN:"rgba(96, 115, 94, 1)",CONCRETE_WHITE:"rgba(243, 243, 243, 1)",CURIOUS_BLUE:"rgba(38, 139, 210, 1)",DAINTREE_BLUE:"rgba(0, 43, 53, 1)",ERROR_RED:"rgba(255, 43, 94)",FRINGY_FLOWER_GREEN:"rgba(198, 231, 192, 1)",GRAY:"rgba(129, 129, 129, 1)",LIGHT_GRAY:"rgba(209, 209, 209, 1)",MID_GRAY:"rgba(105, 105, 115, 1)",PIGEON_POST_BLUE_ALPHA_0_5:"rgba(176, 196, 222, 0.5)",SCORPION_GRAY:"rgba(87, 87, 87, 1)",SEASHELL_WHITE:"rgba(241, 240, 240, 1)",SILVER:"rgba(200, 200, 200, 1)",SOLID_BLACK_ALPHA_0_2:"rgba(0, 0, 0, 0.2)",SOLID_BLACK_ALPHA_0_5:"rgba(0, 0, 0, 0.5)",SOLID_BLACK:"rgba(0, 0, 0, 1)",SOLID_WHITE_ALPHA_0_2:"rgba(255, 255, 255, 0.2)",SOLID_WHITE_ALPHA_0_8:"rgba(255, 255, 255, 0.8)",SOLID_WHITE:"rgba(255, 255, 255, 1)",TASMAN_GRAY:"rgba(209, 216, 207, 1)",TRANSPARENT:"rgba(0, 0, 0, 0)",WILD_SAND_WHITE:"rgba(244, 244, 244, 1)"},x={DEFAULTS:{WIDTH:300,HEIGHT:450,TITLE:"Botonic",LOGO:p,PLACEHOLDER:"Ask me something...",FONT_FAMILY:"'Noto Sans JP', sans-serif",BORDER_RADIUS_TOP_CORNERS:"6px 6px 0px 0px",ELEMENT_WIDTH:222,ELEMENT_MARGIN_RIGHT:6,STORAGE_KEY:"botonicState",HOST_ID:"root",ID:"botonic-webchat",BUTTON_AUTO_DISABLE:!1,BUTTON_DISABLED_STYLE:{opacity:.5,cursor:"auto",pointerEvents:"none"}},SELECTORS:{SCROLLABLE_CONTENT:"#botonic-scrollable-content",SIMPLEBAR_CONTENT:".simplebar-content",SIMPLEBAR_WRAPPER:".simplebar-content-wrapper"},CUSTOM_PROPERTIES:{enableAnimations:"animations.enable",markdownStyle:"markdownStyle",scrollbar:"scrollbar",imagePreviewer:"imagePreviewer",mobileBreakpoint:"mobileBreakpoint",mobileStyle:"mobileStyle",webviewHeaderStyle:"webview.header.style",webviewStyle:"webview.style",brandColor:"brand.color",brandImage:"brand.image",customHeader:"header.custom",headerImage:"header.image",headerStyle:"header.style",headerSubtitle:"header.subtitle",headerTitle:"header.title",botMessageBackground:"message.bot.style.background",botMessageBlobTick:"message.bot.blobTick",botMessageBlobTickStyle:"message.bot.blobTickStyle",botMessageBlobWidth:"message.bot.blobWidth",botMessageBorderColor:"message.bot.style.borderColor",botMessageImage:"message.bot.image",botMessageImageStyle:"message.bot.imageStyle",botMessageStyle:"message.bot.style",customMessageTypes:"message.customTypes",messageStyle:"message.style",userMessageBackground:"message.user.style.background",userMessageBlobTick:"message.user.blobTick",userMessageBlobTickStyle:"message.user.blobTickStyle",userMessageBorderColor:"message.user.style.borderColor",userMessageStyle:"message.user.style",userMessageDCECustomRender:"message.user.dceCustomRender",enableMessageTimestamps:"message.timestamps.enable",messageTimestampsFormat:"message.timestamps.format",messageTimestampsStyle:"message.timestamps.style",customIntro:"intro.custom",introImage:"intro.image",introStyle:"intro.style",buttonHoverBackground:"button.hoverBackground",buttonHoverTextColor:"button.hoverTextColor",buttonMessageType:"button.messageType",buttonStyle:"button.style",buttonDisabledStyle:"button.disabledstyle",buttonAutoDisable:"button.autodisable",buttonStyleBackground:"button.style.background",buttonStyleColor:"button.style.color",customButton:"button.custom",alignReplies:"replies.align",customReply:"reply.custom",replyStyle:"reply.style",wrapReplies:"replies.wrap",customTrigger:"triggerButton.custom",triggerButtonImage:"triggerButton.image",triggerButtonStyle:"triggerButton.style",blockInputs:"userInput.blockInputs",documentDownload:"documentDownload",customMenuButton:"userInput.menuButton.custom",customPersistentMenu:"userInput.menu.custom",customEmojiPicker:"userInput.emojiPicker.custom",customAttachments:"userInput.attachments.custom",customSendButton:"userInput.sendButton.custom",darkBackgroundMenu:"userInput.menu.darkBackground",enableAttachments:"userInput.attachments.enable",enableEmojiPicker:"userInput.emojiPicker.enable",enableSendButton:"userInput.sendButton.enable",enableUserInput:"userInput.enable",persistentMenu:"userInput.persistentMenu",textPlaceholder:"userInput.box.placeholder",textAriaLabel:"userInput.box.ariaLabel",userInputBoxStyle:"userInput.box.style",userInputStyle:"userInput.style",coverComponent:"coverComponent.component",coverComponentProps:"coverComponent.props",customCarouselLeftArrow:"carousel.arrow.left",customCarouselRightArrow:"carousel.arrow.right",enableCarouselArrows:"carousel.enableArrows",customVideo:"attachment.video.custom",customAudio:"attachment.audio.custom",customFeedback:"feedback.custom",customEndChatMessage:"endChatMessage.custom",customTypingIndicator:"typingIndicator.custom"}},k={audio:["audio/mpeg","audio/mp3"],document:["application/pdf"],image:["image/jpeg","image/png"],video:["video/mp4","video/quicktime"]},E=10,I={ATTACHMENT_ICON:"attachment-icon",EMOJI_PICKER_ICON:"emoji-picker-icon",EMOJI_PICKER:"emoji-picker",HEADER:"header",MESSAGE_LIST:"message-list",PERSISTENT_MENU_ICON:"persistent-menu-icon",PERSISTENT_MENU:"persistent-menu",SEND_BUTTON_ICON:"send-button-icon",WEBCHAT:"webchat",TRIGGER_BUTTON:"trigger-button",TYPING_INDICATOR:"typing-indicator",TEXT_BOX:"textbox",WEBVIEW:"webview",WEBVIEW_HEADER:"webview-header",MESSAGE:"message",IMAGE_MESSAGE:"image-message",AUDIO_MESSAGE:"audio-message",VIDEO_MESSAGE:"video-message",DOCUMENT_MESSAGE:"document-message",RAW_MESSAGE:"raw-message"}},30305:function(r,c,u){"use strict";u.d(c,{L:function(){return E},f:function(){return k}});var p=u(30926),y=u(67294),w=u(24979),x=void 0,k=y.createContext({getString:function getString(){return(0,p.Z)(this,x),""}.bind(void 0),setLocale:function setLocale(){return(0,p.Z)(this,x),""}.bind(void 0),session:{},params:{},input:{},defaultDelay:0,defaultTyping:0}),E=y.createContext({sendText:function sendText(r){(0,p.Z)(this,x)}.bind(void 0),sendAttachment:function sendAttachment(r){(0,p.Z)(this,x)}.bind(void 0),sendPayload:function sendPayload(r){(0,p.Z)(this,x)}.bind(void 0),sendInput:function sendInput(r){(0,p.Z)(this,x)}.bind(void 0),setReplies:function setReplies(r){(0,p.Z)(this,x)}.bind(void 0),openWebview:function openWebview(r){(0,p.Z)(this,x)}.bind(void 0),addMessage:function addMessage(r){(0,p.Z)(this,x)}.bind(void 0),updateMessage:function updateMessage(r){(0,p.Z)(this,x)}.bind(void 0),updateReplies:function updateReplies(r){(0,p.Z)(this,x)}.bind(void 0),updateLatestInput:function updateLatestInput(r){(0,p.Z)(this,x)}.bind(void 0),closeWebview:function closeWebview(){(0,p.Z)(this,x)}.bind(void 0),toggleWebchat:function toggleWebchat(){(0,p.Z)(this,x)}.bind(void 0),getThemeProperty:function getThemeProperty(r){(0,p.Z)(this,x)}.bind(void 0),resolveCase:function resolveCase(){(0,p.Z)(this,x)}.bind(void 0),theme:{},webchatState:w.Cl,updateWebchatDevSettings:function updateWebchatDevSettings(r){return(0,p.Z)(this,x),{}}.bind(void 0),updateUser:function updateUser(r){(0,p.Z)(this,x)}.bind(void 0)})},71097:function(r,c,u){"use strict";u.d(c,{C2:function(){return se},F0:function(){return K},Gs:function(){return I},Or:function(){return J},Ru:function(){return le},T3:function(){return de},UK:function(){return ue},V4:function(){return ge},Wv:function(){return oe},iH:function(){return he},nv:function(){return ae},qk:function(){return ie},yd:function(){return ve}});var p=u(29439),y=u(30926),w=(u(41539),u(88674),u(21249),u(57327),u(69720),u(26699),u(32023),u(26833),u(69600),u(37498)),x=u(755),k=void 0,E=function isOfType(r,c){return(0,y.Z)(this,k),r===c}.bind(void 0),I=function isText(r){return(0,y.Z)(this,k),E(r.type,w.O4.TEXT)}.bind(void 0),K=(function isPostback(r){return(0,y.Z)(this,k),E(r.type,w.O4.POSTBACK)}.bind(void 0),function isAudio(r){return(0,y.Z)(this,k),E(r.type,w.O4.AUDIO)}.bind(void 0)),J=function isImage(r){return(0,y.Z)(this,k),E(r.type,w.O4.IMAGE)}.bind(void 0),oe=function isVideo(r){return(0,y.Z)(this,k),E(r.type,w.O4.VIDEO)}.bind(void 0),ie=function isDocument(r){return(0,y.Z)(this,k),E(r.type,w.O4.DOCUMENT)}.bind(void 0),ae=function isLocation(r){return(0,y.Z)(this,k),E(r.type,w.O4.LOCATION)}.bind(void 0),se=(function isContact(r){return(0,y.Z)(this,k),E(r.type,w.O4.CONTACT)}.bind(void 0),function isCarousel(r){return(0,y.Z)(this,k),E(r.type,w.O4.CAROUSEL)}.bind(void 0)),ue=function isCustom(r){return(0,y.Z)(this,k),E(r.type,w.O4.CUSTOM)}.bind(void 0),le=function isButtonMessage(r){return(0,y.Z)(this,k),E(r.type,w.O4.BUTTON_MESSAGE)}.bind(void 0),pe=[w.O4.AUDIO,w.O4.IMAGE,w.O4.VIDEO,w.O4.DOCUMENT],de=function isMedia(r){var c=this;return(0,y.Z)(this,k),pe.some(function(u){return(0,y.Z)(this,c),E(r.type,u)}.bind(this))}.bind(void 0),he=(function readDataURL(r){var c=this;return(0,y.Z)(this,k),new Promise(function(u,p){var w=this;(0,y.Z)(this,c);var x=new FileReader;x.readAsDataURL(r),x.onload=function(){return(0,y.Z)(this,w),u(x.result)}.bind(this),x.onerror=function(r){return(0,y.Z)(this,w),p(r)}.bind(this)}.bind(this))}.bind(void 0),function isAllowedSize(r){return(0,y.Z)(this,k),!(r&gt;1024*x.zw*1024)}.bind(void 0)),ge=function getMediaType(r){var c=this;return(0,y.Z)(this,k),Object.entries(x.Im).filter(function(u){(0,y.Z)(this,c);var w=(0,p.Z)(u,2);w[0];return w[1].includes(r)}.bind(this)).map(function(r){(0,y.Z)(this,c);var u=(0,p.Z)(r,2),w=u[0];u[1];return w}.bind(this))[0]}.bind(void 0),ve=function getFullMimeWhitelist(){var r=this;return(0,y.Z)(this,k),Object.values(x.Im).map(function(c){return(0,y.Z)(this,r),c.join(",")}.bind(this))}.bind(void 0)},45867:function(r,c,u){"use strict";u.d(c,{KE:function(){return k},Og:function(){return E},_Z:function(){return K},b4:function(){return x},oN:function(){return I},xe:function(){return J}});var p=u(30926),y=(u(74916),u(755)),w=void 0,x=function getScrollableContent(r){return(0,p.Z)(this,w),r.querySelector(y.e2.SELECTORS.SCROLLABLE_CONTENT)}.bind(void 0),k=function getScrollableArea(r){var c=this;(0,p.Z)(this,w);var u=function getArea(u){(0,p.Z)(this,c);var y=x(r);return y&amp;&amp;y.querySelector(u)}.bind(this);return{full:u(y.e2.SELECTORS.SIMPLEBAR_CONTENT),visible:u(y.e2.SELECTORS.SIMPLEBAR_WRAPPER)}}.bind(void 0),E=function scrollToBottom(){var r=this,c=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{},u=c.timeout,y=void 0===u?200:u,w=c.behavior,x=void 0===w?"smooth":w,E=c.host,K=I(E);if(K){var J=k(K).visible;J&amp;&amp;setTimeout(function(){return(0,p.Z)(this,r),J.scrollTo({top:J.scrollHeight,behavior:x})}.bind(this),y)}},I=function getWebchatElement(r){return(0,p.Z)(this,w),r&amp;&amp;r.querySelector("#".concat(y.e2.DEFAULTS.ID))}.bind(void 0),K=function onDOMLoaded(r){(0,p.Z)(this,w),/complete|interactive|loaded/.test(document.readyState)?r():document.addEventListener("DOMContentLoaded",r,!1)}.bind(void 0),J=function isShadowDOMSupported(){(0,p.Z)(this,w);try{return document.head.createShadowRoot||document.head.attachShadow}catch(r){return!1}}.bind(void 0)},52086:function(r,c,u){"use strict";u.d(c,{r8:function(){return w},rs:function(){return k}});var p=u(30926),y=(u(74916),u(15306),u(24603),u(39714),void 0),w=!1,x=function staticAsset(r){(0,p.Z)(this,y);try{if(E(r))return r;var c=document.querySelector('script[src$="webchat.botonic.js"]').getAttribute("src"),u=c.split("/").pop();return c.replace("/"+u,"/")+r}catch(c){return console.error("Could not resolve path: '".concat(r,"'")),r}}.bind(void 0),k=function resolveImage(r){return(0,p.Z)(this,y),E(r)?r:x(r)}.bind(void 0),E=function isURL(r){return(0,p.Z)(this,y),!!new RegExp(/^(https?|ftp):\/\/[^\s/$.?#].[^\s]*$/).test(r)}.bind(void 0)},10553:function(r,c,u){"use strict";u.d(c,{$s:function(){return w},UC:function(){return strToBool},Xc:function(){return x}});var p=u(29439),y=u(30926),w=(u(74916),u(41539),u(21249),u(69720),function getProperty(r,c){if((0,y.Z)(this,undefined),c){for(var u=c.split("."),p=0;p&lt;u.length;p++){var w=u[p];if(!r||!r.hasOwnProperty(w))return;r=r[w]}return r}}.bind(void 0));function strToBool(r){return r=String(r),/^\s*(true|1|on)\s*$/i.test(r)}var x=function mapObject(r){var c=this,u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:function(r){(0,y.Z)(this,c);var u=(0,p.Z)(r,2);return[u[0],u[1]]}.bind(this);return r&amp;&amp;Object.entries(r).map(u).reduce((function(r,c){return r[c[0]]=c[1],r}),{})}},78827:function(r,c,u){"use strict";u.d(c,{$r:function(){return ie},M2:function(){return I},SO:function(){return renderComponent},uw:function(){return K}});var p=u(29439),y=u(30926),w=(u(9653),u(41539),u(88674),u(21249),u(19601),u(61228)),x=u(67294),k=u(10553),E=void 0,I=function ConditionalWrapper(r){(0,y.Z)(this,E);var c=r.condition,u=r.wrapper,p=r.children;return c?u(p):p}.bind(void 0);function renderComponent(r){var c=r.renderBrowser,u=r.renderNode;if((0,w.jU)())return c();if((0,w.UG)())return u();throw new Error("Unexpected process type. Not recognized as browser nor node")}var K=function mapObjectNonBooleanValues(r){var c=this;return(0,y.Z)(this,E),(0,k.Xc)(r,function(r){(0,y.Z)(this,c);var u=(0,p.Z)(r,2),w=u[0],x=u[1];return"boolean"==typeof x?[w,Number(x)]:[w,x]}.bind(this))}.bind(void 0),J=function hasChildren(r){return(0,y.Z)(this,E),(0,x.isValidElement)(r)&amp;&amp;Boolean(r.props.children)}.bind(void 0),oe=function hasComplexChildren(r){var c=this;return(0,y.Z)(this,E),J(r)&amp;&amp;x.Children.toArray(r.props.children).reduce(function(r,u){return(0,y.Z)(this,c),r||(0,x.isValidElement)(u)}.bind(this),!1)}.bind(void 0),ie=function deepMapWithIndex(r,c){var u=this;return(0,y.Z)(this,E),x.Children.toArray(r).map(function(p,w){return(0,y.Z)(this,u),(0,x.isValidElement)(p)&amp;&amp;oe(p)?c((0,x.cloneElement)(p,Object.assign(Object.assign({},p.props),{children:ie(p.props.children,c)})),w,r):c(p,w,r)}.bind(this))}.bind(void 0)},36350:function(r,c,u){"use strict";u.d(c,{JQ:function(){return le},WJ:function(){return ue},rr:function(){return ie},wH:function(){return se}});var p=u(29439),y=u(30926),w=(u(69720),u(92222),u(68309),u(47941),u(72378)),x=u.n(w),k=u(42238),E=u.n(k),I=u(78381),K=u(755),J=u(10553),oe=void 0,ie=function _getThemeProperty(r){return(0,y.Z)(this,oe),function(c){for(var u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:void 0,y=0,w=Object.entries(K.e2.CUSTOM_PROPERTIES);y&lt;w.length;y++){var x=(0,p.Z)(w[y],2),k=x[0],E=x[1];if(E==c){var I=(0,J.$s)(r,E);if(void 0!==I)return I;var oe=(0,J.$s)(r,k);return void 0!==oe?oe:u}}}}.bind(void 0),ae=function createUser(){(0,y.Z)(this,oe);var r=(new(E())).getResult(),c="".concat(r.os.name," ").concat(r.browser.name);return r.device&amp;&amp;r.device.type&amp;&amp;(c="".concat(r.device.type," ").concat(c)),{id:(0,I.Z)(),name:c}}.bind(void 0),se=function initSession(r){(0,y.Z)(this,oe),r||(r={});var c=r.user&amp;&amp;void 0!==r.user.id;return r.user&amp;&amp;0!==Object.keys(r.user).length&amp;&amp;c||(r.user=c?ae():x()(r.user,ae())),r}.bind(void 0),ue=function shouldKeepSessionOnReload(r){(0,y.Z)(this,oe);var c=r.initialDevSettings,u=r.devSettings;return!c||u&amp;&amp;u.keepSessionOnReload}.bind(void 0),le=function getServerErrorMessage(r){return(0,y.Z)(this,oe),r&amp;&amp;r.errorMessage?"function"==typeof r.errorMessage?r.errorMessage():r.errorMessage:"Connection issues"}.bind(void 0)},24979:function(r,c,u){"use strict";u.d(c,{IC:function(){return useComponentVisible},Cq:function(){return Ge},D9:function(){return usePrevious},Ph:function(){return useTyping},dF:function(){return useWebchat},Cl:function(){return $e}});u(47941),u(82526),u(38880),u(54747),u(49337);var p=u(4942),y=u(30926),w=u(29439),x=(u(57327),u(41539),u(26699),u(32023),u(67294)),k=u(755),E=u(45867),I="addMessage",K="addMessageComponent",J="updateMessage",oe="updateReplies",ie="updateLatestInput",ae="updateTyping",se="updateWebview",ue="updateSession",le="updateLastRoutePath",pe="updateHandoff",de="updateTheme",he="updateDevSettings",ge="toggleWebchat",ve="toggleEmojiPicker",we="togglePersistentMenu",Se="toggleCoverComponent",Oe="doRenderCustomComponent",Pe="setError",Le="clearMessages",Ie="updateLastMessageDate",je="setCurrentAttachment",De="setOnline",Ue="updateJwt",Fe=u(93433);u(92222),u(21249),u(47042),u(69826);function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,p.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var Ze=function messagesReducer(r,c){switch((0,y.Z)(this,undefined),c.type){case I:return function addMessageReducer(r,c){var u=this;return r.messagesJSON&amp;&amp;r.messagesJSON.find(function(r){return(0,y.Z)(this,u),r.id===c.payload.id}.bind(this))?r:_objectSpread(_objectSpread({},r),{},{messagesJSON:[].concat((0,Fe.Z)(r.messagesJSON||[]),[c.payload])})}(r,c);case K:return _objectSpread(_objectSpread({},r),{},{messagesComponents:[].concat((0,Fe.Z)(r.messagesComponents||[]),[c.payload])});case J:return function updateMessageReducer(r,c){var u=this,p=r.messagesJSON.map(function(r){return(0,y.Z)(this,u),r.id}.bind(this)).indexOf(c.payload.id);if(p&gt;-1){var w=r.messagesComponents[p],x={};if(w){var k=_objectSpread(_objectSpread({},w),{props:_objectSpread(_objectSpread({},w.props),{},{ack:c.payload.ack})});x={messagesComponents:[].concat((0,Fe.Z)(r.messagesComponents.slice(0,p)),[_objectSpread({},k)],(0,Fe.Z)(r.messagesComponents.slice(p+1)))}}return _objectSpread(_objectSpread({},r),{},{messagesJSON:[].concat((0,Fe.Z)(r.messagesJSON.slice(0,p)),[_objectSpread({},c.payload)],(0,Fe.Z)(r.messagesJSON.slice(p+1)))},x)}return r}(r,c);case oe:return _objectSpread(_objectSpread({},r),{},{replies:c.payload});case Le:return _objectSpread(_objectSpread({},r),{},{messagesJSON:[],messagesComponents:[]});case Ie:return _objectSpread(_objectSpread({},r),{},{lastMessageUpdate:c.payload});default:throw new Error}}.bind(void 0);function webchat_reducer_ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function webchat_reducer_objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?webchat_reducer_ownKeys(Object(u),!0).forEach((function(c){(0,p.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):webchat_reducer_ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function webchatReducer(r,c){switch(c.type){case se:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),c.payload);case ue:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{session:webchat_reducer_objectSpread({},c.payload)});case ae:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{typing:c.payload});case de:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),c.payload);case pe:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{handoff:c.payload});case ge:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{isWebchatOpen:c.payload});case ve:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{isEmojiPickerOpen:c.payload});case we:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{isPersistentMenuOpen:c.payload});case Se:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{isCoverComponentOpen:c.payload});case Oe:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{isCustomComponentRendered:c.payload});case Pe:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{error:c.payload||{}});case De:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{online:c.payload});case he:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{devSettings:webchat_reducer_objectSpread({},c.payload)});case ie:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{latestInput:c.payload});case le:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{lastRoutePath:c.payload});case je:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{currentAttachment:c.payload});case Ue:return webchat_reducer_objectSpread(webchat_reducer_objectSpread({},r),{},{jwt:c.payload});default:return Ze(r,c)}}function hooks_ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function hooks_objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?hooks_ownKeys(Object(u),!0).forEach((function(c){(0,p.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):hooks_ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var $e={width:k.e2.DEFAULTS.WIDTH,height:k.e2.DEFAULTS.HEIGHT,messagesJSON:[],messagesComponents:[],replies:[],latestInput:{},typing:!1,webview:null,webviewParams:null,session:{user:null},lastRoutePath:null,handoff:!1,theme:{headerTitle:k.e2.DEFAULTS.TITLE,brandColor:k.DM.BOTONIC_BLUE,brandImage:k.e2.DEFAULTS.LOGO,triggerButtonImage:void 0,textPlaceholder:k.e2.DEFAULTS.PLACEHOLDER,style:{fontFamily:k.e2.DEFAULTS.FONT_FAMILY}},themeUpdates:{},error:{},online:!0,devSettings:{keepSessionOnReload:!1},isWebchatOpen:!1,isEmojiPickerOpen:!1,isPersistentMenuOpen:!1,isCoverComponentOpen:!1,isCustomComponentRendered:!1,lastMessageUpdate:void 0,currentAttachment:void 0,jwt:null};function useWebchat(){var r=this,c=(0,x.useReducer)(webchatReducer,$e),u=(0,w.Z)(c,2),p=u[0],k=u[1],E=function addMessage(c){return(0,y.Z)(this,r),k({type:I,payload:c})}.bind(this),Fe=function addMessageComponent(c){return(0,y.Z)(this,r),k({type:K,payload:c})}.bind(this),Ze=function updateMessage(c){return(0,y.Z)(this,r),k({type:J,payload:c})}.bind(this),Ge=function updateReplies(c){return(0,y.Z)(this,r),k({type:oe,payload:c})}.bind(this),We=function updateLatestInput(c){return(0,y.Z)(this,r),k({type:ie,payload:c})}.bind(this),Ke=function updateTyping(c){return(0,y.Z)(this,r),k({type:ae,payload:c})}.bind(this),Je=function updateWebview(c,u){return(0,y.Z)(this,r),k({type:se,payload:{webview:c,webviewParams:u}})}.bind(this),Ye=function updateSession(c){(0,y.Z)(this,r),k({type:ue,payload:c})}.bind(this),Xe=function updateLastRoutePath(c){return(0,y.Z)(this,r),k({type:le,payload:c})}.bind(this),Qe=function updateHandoff(c){return(0,y.Z)(this,r),k({type:pe,payload:c})}.bind(this),et=function updateDevSettings(c){return(0,y.Z)(this,r),k({type:he,payload:c})}.bind(this),rt=function toggleWebchat(c){return(0,y.Z)(this,r),k({type:ge,payload:c})}.bind(this),nt=function toggleEmojiPicker(c){return(0,y.Z)(this,r),k({type:ve,payload:c})}.bind(this),ot=function togglePersistentMenu(c){return(0,y.Z)(this,r),k({type:we,payload:c})}.bind(this),it=function toggleCoverComponent(c){return(0,y.Z)(this,r),k({type:Se,payload:c})}.bind(this),st=function doRenderCustomComponent(c){return(0,y.Z)(this,r),k({type:Oe,payload:c})}.bind(this),ct=function setError(c){return(0,y.Z)(this,r),k({type:Pe,payload:c})}.bind(this),ut=function setOnline(c){return(0,y.Z)(this,r),k({type:De,payload:c})}.bind(this),lt=function clearMessages(){(0,y.Z)(this,r),k({type:Le})}.bind(this),pt=function updateLastMessageDate(c){(0,y.Z)(this,r),k({type:Ie,payload:c})}.bind(this),dt=function setCurrentAttachment(c){(0,y.Z)(this,r),k({type:je,payload:c})}.bind(this),ft=function updateJwt(c){(0,y.Z)(this,r),k({type:Ue,payload:c})}.bind(this);return{webchatState:p,webchatDispatch:k,addMessage:E,addMessageComponent:Fe,updateMessage:Ze,updateReplies:Ge,updateLatestInput:We,updateTyping:Ke,updateWebview:Je,updateSession:Ye,updateLastRoutePath:Xe,updateHandoff:Qe,updateTheme:function updateTheme(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:void 0;k({type:de,payload:void 0!==c?{theme:r,themeUpdates:c}:{theme:r}})},updateDevSettings:et,toggleWebchat:rt,toggleEmojiPicker:nt,togglePersistentMenu:ot,toggleCoverComponent:it,doRenderCustomComponent:st,setError:ct,setOnline:ut,clearMessages:lt,updateLastMessageDate:pt,setCurrentAttachment:dt,updateJwt:ft}}function useTyping(r){var c=this,u=r.webchatState,p=r.updateTyping,w=r.updateMessage,k=r.host;(0,x.useEffect)(function(){var r,x,I=this;(0,y.Z)(this,c),(0,E.Og)({host:k});try{var K=u.messagesJSON.filter(function(r){return(0,y.Z)(this,I),!r.display}.bind(this))[0];K.delay&amp;&amp;K.typing?r=setTimeout(function(){return(0,y.Z)(this,I),p(!0)}.bind(this),1e3*K.delay):K.typing&amp;&amp;p(!0);var J=K.delay+K.typing;J&amp;&amp;(x=setTimeout(function(){(0,y.Z)(this,I),w(hooks_objectSpread(hooks_objectSpread({},K),{},{display:!0})),p(!1)}.bind(this),1e3*J))}catch(r){}return function(){(0,y.Z)(this,I),clearTimeout(r),clearTimeout(x)}.bind(this)}.bind(this),[u.messagesJSON,u.typing])}function usePrevious(r){var c=this,u=(0,x.useRef)();return(0,x.useEffect)(function(){(0,y.Z)(this,c),u.current=r}.bind(this)),u.current}function useComponentVisible(r,c){var u=this,p=(0,x.useState)(r),k=(0,w.Z)(p,2),E=k[0],I=k[1],K=(0,x.useRef)(null),J=function handleClickOutside(r){(0,y.Z)(this,u);var p=r.composedPath();K.current&amp;&amp;!p.includes(K.current)&amp;&amp;(I(!1),c())}.bind(this);return(0,x.useEffect)(function(){var r=this;return(0,y.Z)(this,u),document.addEventListener("click",J,!1),function(){(0,y.Z)(this,r),document.removeEventListener("click",J,!1)}.bind(this)}.bind(this)),{ref:K,isComponentVisible:E,setIsComponentVisible:I}}var Ge=function useComponentWillMount(r){(0,y.Z)(this,undefined),(0,x.useMemo)(r,[])}.bind(void 0)},7265:function(r,c,u){"use strict";u.d(c,{Z:function(){return ge}});var p=u(99840),y=(u(69600),u(67294)),w=u(4675),x=u(40121),k=u(9023),E=u(93379),I=u.n(E),K=u(7795),J=u.n(K),oe=u(3565),ie=u.n(oe),ae=u(19216),se=u.n(ae),ue=u(44589),le=u.n(ue),pe=u(54316),de={};de.styleTagTransform=le(),de.setAttributes=ie(),de.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},de.domAPI=J(),de.insertStyleElement=se();I()(pe.Z,de);var he=pe.Z&amp;&amp;pe.Z.locals?pe.Z.locals:void 0,ge=function CarouselArrow(r){var c=this;(0,p.Z)(this,undefined);var u=r.scrollCarouselBy,E=r.direction,I=[he.commonArrow,he["".concat(E,"Arrow")]].join(" "),K=E===x.Nm.Left?-w.Z.CAROUSEL_MOVEMENT_DISTANCE:w.Z.CAROUSEL_MOVEMENT_DISTANCE;return y.createElement("button",{type:"button",className:I,onClick:function(){return(0,p.Z)(this,c),u(K)}.bind(this),"data-qa":"button"},y.createElement("img",{alt:"".concat(E," arrow"),className:he["".concat(E,"arrowimage")],src:k.Z,"data-qa":"img"}))}.bind(void 0)},10122:function(r,c,u){"use strict";u.d(c,{Z:function(){return de}});var p=u(99840),y=(u(74916),u(69600),u(67294)),w=u(49323),x=u(93379),k=u.n(x),E=u(7795),I=u.n(E),K=u(3565),J=u.n(K),oe=u(19216),ie=u.n(oe),ae=u(44589),se=u.n(ae),ue=u(11131),le={};le.styleTagTransform=se(),le.setAttributes=J(),le.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},le.domAPI=I(),le.insertStyleElement=ie();k()(ue.Z,le);var pe=ue.Z&amp;&amp;ue.Z.locals?ue.Z.locals:void 0,de=function CustomTipMessage(r){(0,p.Z)(this,undefined);var c=r.type,u={success:w.ZP.t("connectedTip"),error:w.ZP.t("noConnectionTip"),sendMessageError:w.ZP.t("messageSendFailed")},x=/error/gi.test(c||"");return y.createElement("div",{className:[pe.tipMessageContainer,pe["tipMessageContainer-".concat(x?"error":"success")]].join(" ")},y.createElement("div",{className:pe.tipMessage},u[c]||""))}.bind(void 0)},75741:function(r,c,u){"use strict";u.d(c,{Z:function(){return De}});var p=u(53039),y=u(99840),w=(u(21249),u(47042),u(92222),u(67294)),x=u(30305),k=u(84209),E=u(72276),I=u(98216),K=u(4675),J=u(40121),oe=u(55877),ie=u(30908),ae=u(7265),se=u(93379),ue=u.n(se),le=u(7795),pe=u.n(le),de=u(3565),he=u.n(de),ge=u(19216),ve=u.n(ge),we=u(44589),Se=u.n(we),Oe=u(32875),Pe={};Pe.styleTagTransform=Se(),Pe.setAttributes=he(),Pe.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},Pe.domAPI=pe(),Pe.insertStyleElement=ve();ue()(Oe.Z,Pe);var Le=Oe.Z&amp;&amp;Oe.Z.locals?Oe.Z.locals:void 0,Ie=u(25092),je=function Carousel(r){var c=this;(0,y.Z)(this,undefined);var u=r.responses,I=r.carousel,se=r.id,ue=void 0===se?(0,oe.v4)():se,le=r.mediaType,pe=r.timestamp,de=(0,w.useRef)(void 0),he=(0,w.useState)(!1),ge=(0,p.Z)(he,2),ve=ge[0],we=ge[1],Se=(0,w.useState)(I.elements.length&gt;1),Oe=(0,p.Z)(Se,2),Pe=Oe[0],je=Oe[1],De=function setArrowsVisibility(r){(0,y.Z)(this,c);var u=r.currentTarget,p=u.scrollWidth-u.offsetWidth;we(0!==u.scrollLeft),je(u.scrollLeft&lt;p)}.bind(this);(0,w.useEffect)(function(){(0,y.Z)(this,c);var r=de.current;r&amp;&amp;r.addEventListener?r.addEventListener("scroll",De,!1):r&amp;&amp;r.attachEvent&amp;&amp;r.attachEvent("scroll",De)}.bind(this),[de.current]);var Ue=(0,w.useContext)(x.L).webchatState.theme,Fe=function scrollCarouselBy(r){(0,y.Z)(this,c),de.current.scrollBy({left:r,behavior:"smooth"})}.bind(this);return w.createElement(w.Fragment,null,w.createElement(ie.Z,{responses:u,id:ue,"data-qa":"TextBubble"}),w.createElement("div",{ref:de,className:Le.carousel,"data-qa":"carousel"},I.elements.slice(0,K.Z.MAX_ALLOWED_CAROUSEL_CARDS).map(function(r,u){var p,x,I=this;return(0,y.Z)(this,c),w.createElement("div",{className:"".concat(Le.carouselItem," carouselItem"),key:"carousel-".concat(ue,"-").concat(u),"data-qa":"carouselItem-".concat(u)},w.createElement(k.W,{"data-qa":"Element"},r.imageUrl&amp;&amp;w.createElement("div",{className:Le.carouselItemImage,style:{background:"url(".concat(r.imageUrl,") center center / cover no-repeat")},"data-qa":"carouselImage"}),w.createElement("div",{className:Le.carouselItemTitle,"data-qa":"carouselTitle"},r.title),w.createElement("div",{title:r.text,className:Le.carouselItemText,style:null===(p=Ue.carousel)||void 0===p||null===(p=p.text)||void 0===p?void 0:p.style,"data-qa":"carouselText"},r.text),null===(x=r.buttons)||void 0===x?void 0:x.slice(0,K.Z.MAX_ALLOWED_BUTTONS_CAROUSEL).map(function(r,c){return(0,y.Z)(this,I),r.type===J.L$.Payload?w.createElement(E.z,{key:"button-".concat(ue,"-").concat(c),payload:JSON.stringify({payload:r.payload,component_type:le,payload_type:r.type}),"data-qa":"Button"},r.displayText):w.createElement(E.z,{key:"button-".concat(ue,"-").concat(c),url:(0,Ie.Z)(r),target:r.target||"_blank","data-qa":"Button"},r.displayText)}.bind(this))))}.bind(this))),w.createElement("div",null,ve&amp;&amp;w.createElement(ae.Z,{direction:J.Nm.Left,scrollCarouselBy:Fe,"data-qa":"CarouselArrow"}),Pe&amp;&amp;w.createElement(ae.Z,{direction:J.Nm.Right,scrollCarouselBy:Fe,"data-qa":"CarouselArrow"})),w.createElement("div",{className:Le.timestamp},pe))}.bind(void 0),De=(0,I.J)({name:"carousel",component:je,defaultProps:{style:{background:"transparent",maxWidth:"calc(100% - 43px)"},blob:!1,enabletimestamps:!1}})},87841:function(r,c,u){"use strict";var p=u(99840),y=u(67294),w=u(98216),x=u(28151),k=u(30908),E=function CustomText(r){(0,p.Z)(this,undefined);var c=r.responses,u=r.type,w=r.id,E=r.timestamp;return y.createElement(y.Fragment,null,y.createElement(k.Z,{responses:c,type:u,id:w,"data-qa":"TextBubble"}),y.createElement("div",{className:x.Z.timestamp},E))}.bind(void 0);c.Z=(0,w.J)({name:"customText",component:E,defaultProps:{style:{background:"transparent",width:"100%"},blob:!1,enabletimestamps:!1}})},4881:function(r,c,u){"use strict";var p=u(99840),y=u(67294),w=u(98216),x=u(40121),k=u(28151),E=u(30908),I=function HtmlContent(r){(0,p.Z)(this,undefined);var c=r.content,u=r.id,w=r.timestamp;return y.createElement(y.Fragment,null,y.createElement(E.Z,{responses:c,id:u,type:x.DD.HtmlContent,"data-qa":"TextBubble"}),y.createElement("div",{className:k.Z.timestamp},w))}.bind(void 0);c.Z=(0,w.J)({name:"htmlContent",component:I,defaultProps:{style:{background:"transparent",width:"100%"},blob:!1,enabletimestamps:!1}})},93498:function(r,c,u){"use strict";function _objectWithoutProperties(r,c){if(null==r)return{};var u,p,y=function _objectWithoutPropertiesLoose(r,c){if(null==r)return{};var u,p,y={},w=Object.keys(r);for(p=0;p&lt;w.length;p++)u=w[p],c.indexOf(u)&gt;=0||(y[u]=r[u]);return y}(r,c);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(r);for(p=0;p&lt;w.length;p++)u=w[p],c.indexOf(u)&gt;=0||Object.prototype.propertyIsEnumerable.call(r,u)&amp;&amp;(y[u]=r[u])}return y}u.d(c,{Z:function(){return Bt}});var p=u(13659),y=u(99840),w=u(46846),x=u.n(w),k=(u(21249),u(92222),u(67294)),E=u(49323),I=u(55877),K=u(40121),J=u(70714),oe=(u(26699),u(32023),u(26833),u(41539),u(47042),u(4675)),ie=u(1699),ae=u(85829),se=u(35832),ue=void 0,le=function validateButton(r){var c,u;return(0,y.Z)(this,ue),!(!r.type||!r.displayText)&amp;&amp;(!!(r.type!==K.L$.Link||(null!==(c=r.url)&amp;&amp;void 0!==c&amp;&amp;c.length||null!==(u=r.payload)&amp;&amp;void 0!==u&amp;&amp;u.length)&amp;&amp;Object.values(ie.e).includes(r.target))&amp;&amp;!([K.L$.Payload,K.L$.Call].includes(r.type)&amp;&amp;!r.payload.length))}.bind(void 0),pe=function isValidRichMediaMessage(r,c){var u,p,w,x,k,E=this;switch((0,y.Z)(this,ue),(c||{}).mediaType){case K.DD.Buttons:if(null===(u=c.quickActions)||void 0===u||null===(u=u.elements)||void 0===u||!u.length)return se.Z.warn("Empty buttons payload received"),!1;if(!c.quickActions.elements.slice(0,oe.Z.MAX_ALLOWED_BUTTONS).every(le))return se.Z.warn("Wrong buttons payload format received"),!1;break;case K.DD.QuickReplies:if(!c.quickActions||!c.quickActions.elements)return se.Z.warn("Empty quick replies payload received"),!1;if(c.quickActions.elements.some(function(r){return(0,y.Z)(this,E),r.type!==K.L$.Payload||!r.payload||!r.displayText}.bind(this)))return se.Z.warn("Wrong quick reply payload format received"),!1;break;case K.DD.Carousel:return null!==(p=c.carousel)&amp;&amp;void 0!==p&amp;&amp;null!==(p=p.elements)&amp;&amp;void 0!==p&amp;&amp;p.length?c.carousel.elements.every(function(r){var c,u;return(0,y.Z)(this,E),(0,ae.E)(r.title)||null===(c=r.buttons)||void 0===c||!c.length?(se.Z.warn("Wrong carousel payload format received - card title, and one button at least was expected"),!1):null===(u=r.buttons)||void 0===u||!u.length||r.buttons.every(le)}.bind(this)):(se.Z.warn("Empty carousel payload received"),!1);case K.DD.Media:if(null!==(w=c.media)&amp;&amp;void 0!==w&amp;&amp;w.ignoreValid)return!0;var I,J;if(null===(x=c.media)||void 0===x||!x.mediaType||!c.media.url)return se.Z.warn("Missing ".concat(null!==(I=null===(J=c.media)||void 0===J?void 0:J.mediaType)&amp;&amp;void 0!==I?I:""," mediaType or url from Media")),!1;if(!Object.values(K.vW).includes(c.media.mediaType))return!1;break;case K.DD.MultiContent:var ie;return!!c.content||(se.Z.warn("Missing ".concat(null!==(ie=c.mediaType)&amp;&amp;void 0!==ie?ie:""," mediaType")),!1);case K.DD.HtmlContent:return!(null===(k=c.content)||void 0===k||!k.length)||(se.Z.warn("Wrong HTML content payload format received"),!1);case K.DD.CustomText:return!!c.textResponse||(se.Z.warn("Wrong Custom text payload format received"),!1);default:if(!r||0===r.length)return se.Z.warn("An utterance was expected, received null or undefined"),!1}return!0}.bind(void 0),de=u(8247),he=function handleScroll(){var r=this;(0,y.Z)(this,undefined);var c=document.querySelector("#botonic-webchat");c&amp;&amp;((0,de.g)()?c.ontouchmove={}:c.ontouchmove=function(c){return(0,y.Z)(this,r),c.preventDefault()}.bind(this))}.bind(void 0),ge=u(87909),ve=u(98216),we=u(30908),Se=u(93379),Oe=u.n(Se),Pe=u(7795),Le=u.n(Pe),Ie=u(3565),je=u.n(Ie),De=u(19216),Ue=u.n(De),Fe=u(44589),Ze=u.n(Fe),$e=u(40528),Ge={};Ge.styleTagTransform=Ze(),Ge.setAttributes=je(),Ge.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},Ge.domAPI=Le(),Ge.insertStyleElement=Ue();Oe()($e.Z,Ge);var We=$e.Z&amp;&amp;$e.Z.locals?$e.Z.locals:void 0,Ke=function CustomTextWithTimestampUser(r){(0,y.Z)(this,undefined);var c=r.id,u=r.responses,p=r.timestamp;return k.createElement(k.Fragment,null,k.createElement(we.Z,{id:c,responses:u,from:"user","data-qa":"TextBubble"}),k.createElement("div",{className:We.timestamp},p))}.bind(void 0),Je=(0,ve.J)({name:"CustomTextWithTimestampUser",component:Ke,defaultProps:{style:{background:"transparent",width:"100%",margin:"7px 8px 6px 6px"},blob:!1,from:"user",enabletimestamps:!1}}),Ye=u(67090),Xe={};Xe.styleTagTransform=Ze(),Xe.setAttributes=je(),Xe.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},Xe.domAPI=Le(),Xe.insertStyleElement=Ue();Oe()(Ye.Z,Xe);var Qe=Ye.Z&amp;&amp;Ye.Z.locals?Ye.Z.locals:void 0,et=function CustomTextWithTimestampBot(r){(0,y.Z)(this,undefined);var c=r.id,u=r.responses,p=r.timestamp;return k.createElement(k.Fragment,null,k.createElement(we.Z,{id:c,responses:u,from:"bot","data-qa":"TextBubble"}),k.createElement("div",{className:Qe.timestamp},p))}.bind(void 0),rt=(0,ve.J)({name:"CustomTextWithTimestampBot",component:et,defaultProps:{style:{background:"transparent",width:"100%"},blob:!1,enabletimestamps:!1}}),nt=u(39605),ot={};ot.styleTagTransform=Ze(),ot.setAttributes=je(),ot.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},ot.domAPI=Le(),ot.insertStyleElement=Ue();Oe()(nt.Z,ot);var it=nt.Z&amp;&amp;nt.Z.locals?nt.Z.locals:void 0,st=function InactiveChatMessage(){return(0,y.Z)(this,undefined),k.createElement("p",{className:it.text,"data-qa":"p"},E.ZP.t("inactiveChat"))}.bind(void 0),ct=(0,ve.J)({name:"end-chat-message",component:st,defaultProps:{style:{width:"100%",paddingLeft:"12%",position:"relative",background:"rgba(0,0,0,0)",boxSizing:"unset"},imagestyle:{display:"none"},blob:!1,enabletimestamps:!1}}),ut=u.p+"assets/feedback-star-rate.svg",lt=u(70014),pt={};pt.styleTagTransform=Ze(),pt.setAttributes=je(),pt.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},pt.domAPI=Le(),pt.insertStyleElement=Ue();Oe()(lt.Z,pt);var dt=lt.Z&amp;&amp;lt.Z.locals?lt.Z.locals:void 0,ft=function GoingToFeedbackMessage(){return(0,y.Z)(this,undefined),k.createElement("div",{className:dt.feedbackTipBox},k.createElement("div",{className:dt.topBox},k.createElement("img",{alt:"send-button",src:ut,"data-qa":"img"}),k.createElement("div",{className:dt.textBox},k.createElement("p",{"data-qa":"p"},E.ZP.t("goingToFeedback")),k.createElement("hr",{"data-qa":"hr"}))),k.createElement("div",{className:dt.bottomBox},k.createElement("p",{className:dt.gray,"data-qa":"p"},"Â¿Como lo hicimos? Permanezca en el chat y tÃ³mese un momento para responder a nuestra encuesta.")))}.bind(void 0),ht=(0,ve.J)({name:"going-to-feedback-message",component:ft,defaultProps:{style:{maxWidth:"100%",width:"100%",position:"relative",background:"transparent",boxSizing:"unset"},imagestyle:{display:"none"},blob:!1,enabletimestamps:!1}}),mt=u(38200),yt=u(55140),gt=u(18422),vt=function DisplayText(r){var c=this;(0,y.Z)(this,undefined);var u=r.responses,p=r.id,w=r.children,x=r.timestamp;return u.map(function(r,E){return(0,y.Z)(this,c),k.createElement(gt.x,{key:"".concat(p,"-").concat(E),id:"".concat(p,"-").concat(E),timestamp:x,"data-qa":"Text"},(0,yt.Ip)(r),E===u.length-1&amp;&amp;w)}.bind(this))}.bind(void 0),bt=function QuickReplies(r){var c=this;(0,y.Z)(this,undefined);var u=r.responses,p=r.quickActions,w=r.id,x=r.textResponse,E=r.mediaType,I=r.timestamp,K=(0,yt.ZM)(x?[x]:u);return k.createElement(vt,{responses:K,id:w,timestamp:I,"data-qa":"DisplayText"},p.elements.slice(0,oe.Z.MAX_ALLOWED_QUICK_REPLIES).map(function(r,u){return(0,y.Z)(this,c),k.createElement(mt.j,{key:"".concat(w,"-").concat(u),payload:JSON.stringify({payload:r.payload,component_type:E,payload_type:r.type}),"data-qa":"Reply"},r.displayText)}.bind(this)))}.bind(void 0),_t=u(87841),wt=u(72276),xt=u(25092),kt=function Buttons(r){var c=this;(0,y.Z)(this,undefined);var u=r.responses,p=r.quickActions,w=r.id,x=r.mediaType,E=r.textResponse,I=r.timestamp,J=(0,yt.ZM)(E?[E]:u);return k.createElement(vt,{id:w,responses:J,timestamp:I,"data-qa":"DisplayText"},p.elements.slice(0,oe.Z.MAX_ALLOWED_BUTTONS).map(function(r,u){return(0,y.Z)(this,c),r.type===K.L$.Payload?k.createElement(wt.z,{key:"".concat(w,"-").concat(u),payload:JSON.stringify({payload:r.payload,component_type:x,payload_type:r.type}),"data-qa":"Button"},r.displayText):k.createElement(wt.z,{key:"".concat(w,"-").concat(u),url:(0,xt.Z)(r),target:r.target||"_blank","data-qa":"Button"},r.displayText)}.bind(this)))}.bind(void 0),St=u(75741),Et=u(53039),Tt=u(62197),Ot=u(55055),Ct=u(40413),At=u(452),Pt=u(55637),Lt=u(15400),It=u(10738),Rt=u(36464),jt=void 0,Nt=(0,Tt.Z)((0,Tt.Z)((0,Tt.Z)((0,Tt.Z)({},K.vW.Image,function(r){return(0,y.Z)(this,jt),k.createElement(Ct.E,(0,Ot.Z)({},r,{"data-qa":"Image"}))}.bind(void 0)),K.vW.Video,function(r){return(0,y.Z)(this,jt),k.createElement(At.n,(0,Ot.Z)({},r,{"data-qa":"Video"}))}.bind(void 0)),K.vW.Audio,function(r){return(0,y.Z)(this,jt),k.createElement(Pt.B,(0,Ot.Z)({},r,{"data-qa":"Audio"}))}.bind(void 0)),K.vW.File,function(r){return(0,y.Z)(this,jt),k.createElement(Lt.B,(0,Ot.Z)({},r,{"data-qa":"Document"}))}.bind(void 0)),Dt=function Media(r){var c,u=this;(0,y.Z)(this,jt);var p=r.id,w=r.responses,x=r.media,E=r.from,I=r.timestamp,J=r.ack,oe="twilio"===(null==x?void 0:x.provider),ie=(0,k.useState)(!oe&amp;&amp;x.mediaType===K.vW.Image),se=(0,Et.Z)(ie,2),ue=se[0],le=se[1],pe=!w||0===(null==w?void 0:w.length)||w.every(function(r){return(0,y.Z)(this,u),(0,ae.E)(r)}.bind(this)),de=(0,k.useState)(x.url||(null===(c=It.ju.current[p])||void 0===c?void 0:c.currentUrl)),he=(0,Et.Z)(de,2),ge=he[0],ve=he[1];return(0,k.useEffect)(function(){var r=this;(0,y.Z)(this,u);var c=function twilioMediaHandle(c){(0,y.Z)(this,r);var u=c.currentUrl;u&amp;&amp;ve(u)}.bind(this);return oe&amp;&amp;It.ju.on(p,c),function(){(0,y.Z)(this,r),oe&amp;&amp;It.ju.off(p,c)}.bind(this)}.bind(this),[p,oe]),(0,k.useEffect)(function(){var r=this;(0,y.Z)(this,u),!oe&amp;&amp;ue&amp;&amp;(0,Rt.Z)(ge).then(function(){return(0,y.Z)(this,r),le(!1)}.bind(this))}.bind(this),[ge,ue,oe]),ue?null:k.createElement(k.Fragment,null,!pe&amp;&amp;!x.ignoreValid&amp;&amp;k.createElement(_t.Z,{id:p,responses:w,timestamp:I,"data-qa":"CustomText"}),ge&amp;&amp;Nt[x.mediaType]({src:ge,from:E,timestamp:I,ack:J}))}.bind(void 0),Mt=u(4881),Ut=["responses"],Ft=function RichMediaMessage(r){var c=this;(0,y.Z)(this,undefined);var u=r.id,p=r.responses,w=r.payload,x=r.chatIsInactive,oe=r.goingToFeedback,ie=r.from,ae=r.timestamp,se=r.ack,ue=void 0===se?1:se,le=(0,ge.z)(w||{}),de=le.mediaType,ve=le.quickActions,we=le.carousel,Se=le.media,Oe=le.content,Pe=le.textResponse;if(he(),x)return k.createElement(ct,{"data-qa":"InactiveChatMessage"});if(oe)return k.createElement(ht,{"data-qa":"GoingToFeedbackMessage"});if(ae&amp;&amp;de===K.DD.Text){if("user"===ie)return k.createElement(Je,{id:u,responses:p,timestamp:ae,"data-qa":"CustomTextWithTimestampUser"});if("bot"===ie)return k.createElement(rt,{id:u,responses:p,timestamp:ae,"data-qa":"CustomTextWithTimestampBot"})}var Le=ae;if(Le||(Le=(0,J.gs)()),!u)return k.createElement(_t.Z,{responses:[E.ZP.t("invalidId")],id:(0,I.v4)(),timestamp:Le,"data-qa":"CustomText"});if(!pe(p,le))return k.createElement(_t.Z,{responses:[E.ZP.t("invalidRichMedia")],id:u,timestamp:Le,"data-qa":"CustomText"});switch(de){case K.DD.MultiContent:return w.content.map(function(r,p){return(0,y.Z)(this,c),Ft({id:"".concat(u,"-").concat(K.DD.MultiContent,"-").concat(p),responses:[],payload:r,chatIsInactive:x,from:ie,timestamp:ae})}.bind(this));case K.DD.Buttons:return k.createElement(kt,{responses:p,textResponse:Pe,quickActions:ve,id:u,mediaType:K.DD.Buttons,timestamp:Le,"data-qa":"Buttons"});case K.DD.QuickReplies:return k.createElement(bt,{responses:p,textResponse:Pe,quickActions:ve,id:u,mediaType:K.DD.QuickReplies,timestamp:Le,"data-qa":"QuickReplies"});case K.DD.Carousel:return k.createElement(St.Z,{responses:p,carousel:we,id:u,mediaType:K.DD.Carousel,timestamp:Le,"data-qa":"Carousel"});case K.DD.Media:return k.createElement(Dt,{responses:p,media:Se,id:u,from:ie,timestamp:Le,ack:ue,"data-qa":"Media"});case K.DD.HtmlContent:return k.createElement(Mt.Z,{content:Oe,id:u,timestamp:Le,"data-qa":"HtmlContent"});case K.DD.CustomText:return k.createElement(_t.Z,{responses:[Pe],id:u,timestamp:Le,"data-qa":"CustomText"});default:return k.createElement(_t.Z,{responses:p,id:u,timestamp:Le,"data-qa":"CustomText"})}}.bind(void 0);Ft.botonicInit=function(){var r=(0,p.Z)(x().mark((function _callee(r){var c,u,p,y,w,k;return x().wrap((function _callee$(x){for(;;)switch(x.prev=x.next){case 0:if(!(c=r.input).conversationEngine){x.next=4;break}return u=c.conversationEngine,p=u.id,y=u.response,w=y.responses,k=_objectWithoutProperties(y,Ut),x.abrupt("return",{id:p,responses:w,payload:k});case 4:return x.abrupt("return",{id:"",responses:[],payload:{mediaType:K.DD.Text}});case 5:case"end":return x.stop()}}),_callee)})));return function(c){return r.apply(this,arguments)}}(),Ft.defaultProps={chatIsInactive:!1,goingToFeedback:!1,payload:null,from:"bot",timestamp:null,ack:1};var Bt=Ft},30908:function(r,c,u){"use strict";u.d(c,{Z:function(){return Oe}});var p=u(55055),y=u(99840),w=(u(21249),u(69600),u(57327),u(41539),u(92222),u(67294)),x=u(30305),k=u(40121),E=u(85829),I=u(55140),K=u(25113),J=u(93379),oe=u.n(J),ie=u(7795),ae=u.n(ie),se=u(3565),ue=u.n(se),le=u(19216),pe=u.n(le),de=u(44589),he=u.n(de),ge=u(13453),ve={};ve.styleTagTransform=he(),ve.setAttributes=ue(),ve.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},ve.domAPI=ae(),ve.insertStyleElement=pe();oe()(ge.Z,ve);var we=ge.Z&amp;&amp;ge.Z.locals?ge.Z.locals:void 0,Se=function TextBubble(r){var c=this;(0,y.Z)(this,undefined);var u=r.id,J=r.responses,oe=r.type,ie=r.from,ae=(0,w.useContext)(x.L).webchatState.theme;return J.map(function(r,x){var J,se,ue=this;if((0,y.Z)(this,c),(0,E.E)(r))return null;var le="user"===ie,pe=function joinClassNames(r){var c=this;return(0,y.Z)(this,ue),r.filter(function(r){return(0,y.Z)(this,c),!!r}.bind(this)).join(" ")}.bind(this),de={className:pe([we.textBubbleContainer,"user"===ie?we.user:we.bot,oe===k.DD.HtmlContent?we.htmlContentContainer:""]),style:le?null===(J=ae.message)||void 0===J||null===(J=J.user)||void 0===J?void 0:J.style:null===(se=ae.message)||void 0===se||null===(se=se.bot)||void 0===se?void 0:se.style,key:"".concat(u,"-").concat(x),"data-qa":"textBubble-".concat(x)};return oe===k.DD.HtmlContent?w.createElement("div",(0,p.Z)({},de,{dangerouslySetInnerHTML:{__html:(0,I.NV)(r)}})):w.createElement("div",de,w.createElement(K.Z,{target:r,className:le?"custom-user":"custom-bot","data-qa":"TextLink"}))}.bind(this))}.bind(void 0);Se.defaultProps={from:"bot",type:k.DD.Text};var Oe=Se},25113:function(r,c,u){"use strict";u.d(c,{Z:function(){return qt},k:function(){return withUserRender}});var p=u(99840),y=(u(29254),u(67294)),w=u(30305);const x="aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mÃ¶gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",k="ÎµÎ»1Ï…2Ð±Ð³1ÐµÐ»3Ð´ÐµÑ‚Ð¸4ÐµÑŽ2ÐºÐ°Ñ‚Ð¾Ð»Ð¸Ðº6Ð¾Ð¼3Ð¼ÐºÐ´2Ð¾Ð½1ÑÐºÐ²Ð°6Ð¾Ð½Ð»Ð°Ð¹Ð½5Ñ€Ð³3Ñ€ÑƒÑ2Ñ„2ÑÐ°Ð¹Ñ‚3Ñ€Ð±3ÑƒÐºÑ€3Ò›Ð°Ð·3Õ°Õ¡Õµ3×™×©×¨××œ5×§×•×3Ø§Ø¨ÙˆØ¸Ø¨ÙŠ5ØªØµØ§Ù„Ø§Øª6Ø±Ø§Ù…ÙƒÙˆ5Ù„Ø§Ø±Ø¯Ù†4Ø¨Ø­Ø±ÙŠÙ†5Ø¬Ø²Ø§Ø¦Ø±5Ø³Ø¹ÙˆØ¯ÙŠØ©6Ø¹Ù„ÙŠØ§Ù†5Ù…ØºØ±Ø¨5Ù…Ø§Ø±Ø§Øª5ÛŒØ±Ø§Ù†5Ø¨Ø§Ø±Øª2Ø²Ø§Ø±4ÙŠØªÙƒ3Ú¾Ø§Ø±Øª5ØªÙˆÙ†Ø³4Ø³ÙˆØ¯Ø§Ù†3Ø±ÙŠØ©5Ø´Ø¨ÙƒØ©4Ø¹Ø±Ø§Ù‚2Ø¨2Ù…Ø§Ù†4ÙÙ„Ø³Ø·ÙŠÙ†6Ù‚Ø·Ø±3ÙƒØ§Ø«ÙˆÙ„ÙŠÙƒ6ÙˆÙ…3Ù…ØµØ±2Ù„ÙŠØ³ÙŠØ§5ÙˆØ±ÙŠØªØ§Ù†ÙŠØ§7Ù‚Ø¹4Ù‡Ù…Ø±Ø§Ù‡5Ù¾Ø§Ú©Ø³ØªØ§Ù†7Ú€Ø§Ø±Øª4à¤•à¥‰à¤®3à¤¨à¥‡à¤Ÿ3à¤­à¤¾à¤°à¤¤0à¤®à¥3à¥‹à¤¤5à¤¸à¤‚à¤—à¤&nbsp;à¤¨5à¦¬à¦¾à¦‚à¦²à¦¾5à¦­à¦¾à¦°à¦¤2à§°à¦¤4à¨­à¨¾à¨°à¨¤4àª­àª¾àª°àª¤4à¬­à¬¾à¬°à¬¤4à®‡à®¨à¯à®¤à®¿à®¯à®¾6à®²à®™à¯à®•à¯ˆ6à®šà®¿à®™à¯à®•à®ªà¯à®ªà¯‚à®°à¯11à°­à°¾à°°à°¤à±5à²­à²¾à²°à²¤4à´­à´¾à´°à´¤à´‚5à¶½à¶‚à¶šà·4à¸„à¸­à¸¡3à¹„à¸—à¸¢3àº¥àº²àº§3áƒ’áƒ”2ã¿ã‚“ãª3ã‚¢ãƒžã‚¾ãƒ³4ã‚¯ãƒ©ã‚¦ãƒ‰4ã‚°ãƒ¼ã‚°ãƒ«4ã‚³ãƒ&nbsp;2ã‚¹ãƒˆã‚¢3ã‚»ãƒ¼ãƒ«3ãƒ•ã‚¡ãƒƒã‚·ãƒ§ãƒ³6ãƒã‚¤ãƒ³ãƒˆ4ä¸–ç•Œ2ä¸­ä¿¡1å›½1åœ‹1æ–‡ç½‘3äºšé©¬é€Š3ä¼ä¸š2ä½›å±±2ä¿¡æ¯2å¥åº·2å…«å¦2å…¬å¸1ç›Š2å°æ¹¾1ç£2å•†åŸŽ1åº—1æ&nbsp;‡2å˜‰é‡Œ0å¤§é…’åº—5åœ¨çº¿2å¤§æ‹¿2å¤©ä¸»æ•™3å¨±ä¹2å®¶é›»2å¹¿ä¸œ2å¾®åš2æ…ˆå–„2æˆ‘çˆ±ä½&nbsp;3æ‰‹æœº2æ‹›è˜2æ”¿åŠ¡1åºœ2æ–°åŠ&nbsp;å¡2é—»2æ—¶å°š2æ›¸ç±2æœºæž„2æ·¡é©¬é”¡3æ¸¸æˆ2æ¾³é–€2ç‚¹çœ‹2ç§»åŠ¨2ç»„ç»‡æœºæž„4ç½‘å€1åº—1ç«™1ç»œ2è”é€š2è°·æ­Œ2è´­ç‰©2é€šè²©2é›†å›¢2é›»è¨Šç›ˆç§‘4é£žåˆ©æµ¦3é£Ÿå“2é¤åŽ…2é¦™æ&nbsp;¼é‡Œæ‹‰3æ¸¯2ë‹·ë„·1ì»´2ì‚¼ì„±2í•œêµ­2",linkify_es_assign=(r,c)=&gt;{for(const u in c)r[u]=c[u];return r},E="numeric",I="ascii",K="alpha",J="asciinumeric",oe="alphanumeric",ie="domain",ae="emoji",se="scheme",ue="slashscheme",le="whitespace";function registerGroup(r,c){return r in c||(c[r]=[]),c[r]}function addToGroups(r,c,u){c[E]&amp;&amp;(c[J]=!0,c[oe]=!0),c[I]&amp;&amp;(c[J]=!0,c[K]=!0),c[J]&amp;&amp;(c[oe]=!0),c[K]&amp;&amp;(c[oe]=!0),c[oe]&amp;&amp;(c[ie]=!0),c[ae]&amp;&amp;(c[ie]=!0);for(const p in c){const c=registerGroup(p,u);c.indexOf(r)&lt;0&amp;&amp;c.push(r)}}function State(r){void 0===r&amp;&amp;(r=null),this.j={},this.jr=[],this.jd=null,this.t=r}State.groups={},State.prototype={accepts(){return!!this.t},go(r){const c=this,u=c.j[r];if(u)return u;for(let u=0;u&lt;c.jr.length;u++){const p=c.jr[u][0],y=c.jr[u][1];if(y&amp;&amp;p.test(r))return y}return c.jd},has(r,c){return void 0===c&amp;&amp;(c=!1),c?r in this.j:!!this.go(r)},ta(r,c,u,p){for(let y=0;y&lt;r.length;y++)this.tt(r[y],c,u,p)},tr(r,c,u,p){let y;return p=p||State.groups,c&amp;&amp;c.j?y=c:(y=new State(c),u&amp;&amp;p&amp;&amp;addToGroups(c,u,p)),this.jr.push([r,y]),y},ts(r,c,u,p){let y=this;const w=r.length;if(!w)return y;for(let c=0;c&lt;w-1;c++)y=y.tt(r[c]);return y.tt(r[w-1],c,u,p)},tt(r,c,u,p){p=p||State.groups;const y=this;if(c&amp;&amp;c.j)return y.j[r]=c,c;const w=c;let x,k=y.go(r);if(k?(x=new State,linkify_es_assign(x.j,k.j),x.jr.push.apply(x.jr,k.jr),x.jd=k.jd,x.t=k.t):x=new State,w){if(p)if(x.t&amp;&amp;"string"==typeof x.t){const r=linkify_es_assign(function flagsForToken(r,c){const u={};for(const p in c)c[p].indexOf(r)&gt;=0&amp;&amp;(u[p]=!0);return u}(x.t,p),u);addToGroups(w,r,p)}else u&amp;&amp;addToGroups(w,u,p);x.t=w}return y.j[r]=x,x}};const ta=(r,c,u,p,y)=&gt;r.ta(c,u,p,y),tr=(r,c,u,p,y)=&gt;r.tr(c,u,p,y),ts=(r,c,u,p,y)=&gt;r.ts(c,u,p,y),tt=(r,c,u,p,y)=&gt;r.tt(c,u,p,y),pe="WORD",de="UWORD",he="LOCALHOST",ge="TLD",ve="UTLD",we="SCHEME",Se="SLASH_SCHEME",Oe="NUM",Pe="WS",Le="NL",Ie="OPENBRACE",je="OPENBRACKET",De="OPENANGLEBRACKET",Ue="OPENPAREN",Fe="CLOSEBRACE",Ze="CLOSEBRACKET",$e="CLOSEANGLEBRACKET",Ge="CLOSEPAREN",We="AMPERSAND",Ke="APOSTROPHE",Je="ASTERISK",Ye="AT",Xe="BACKSLASH",Qe="BACKTICK",et="CARET",rt="COLON",nt="COMMA",ot="DOLLAR",it="DOT",st="EQUALS",ct="EXCLAMATION",ut="HYPHEN",lt="PERCENT",pt="PIPE",dt="PLUS",ft="POUND",ht="QUERY",mt="QUOTE",yt="SEMI",gt="SLASH",vt="TILDE",bt="UNDERSCORE",_t="EMOJI",wt="SYM";var xt=Object.freeze({__proto__:null,WORD:pe,UWORD:de,LOCALHOST:he,TLD:ge,UTLD:ve,SCHEME:we,SLASH_SCHEME:Se,NUM:Oe,WS:Pe,NL:Le,OPENBRACE:Ie,OPENBRACKET:je,OPENANGLEBRACKET:De,OPENPAREN:Ue,CLOSEBRACE:Fe,CLOSEBRACKET:Ze,CLOSEANGLEBRACKET:$e,CLOSEPAREN:Ge,AMPERSAND:We,APOSTROPHE:Ke,ASTERISK:Je,AT:Ye,BACKSLASH:Xe,BACKTICK:Qe,CARET:et,COLON:rt,COMMA:nt,DOLLAR:ot,DOT:it,EQUALS:st,EXCLAMATION:ct,HYPHEN:ut,PERCENT:lt,PIPE:pt,PLUS:dt,POUND:ft,QUERY:ht,QUOTE:mt,SEMI:yt,SLASH:gt,TILDE:vt,UNDERSCORE:bt,EMOJI:_t,SYM:wt});const kt=/[a-z]/,St=/\p{L}/u,Et=/\p{Emoji}/u,Tt=/\d/,Ot=/\s/;const Ct="\n",At="ï¸",Pt="â€";let Lt=null,It=null;function fastts(r,c,u,p,y){let w;const x=c.length;for(let u=0;u&lt;x-1;u++){const x=c[u];r.j[x]?w=r.j[x]:(w=new State(p),w.jr=y.slice(),r.j[x]=w),r=w}return w=new State(u),w.jr=y.slice(),r.j[c[x-1]]=w,w}function decodeTlds(r){const c=[],u=[];let p=0;for(;p&lt;r.length;){let y=0;for(;"0123456789".indexOf(r[p+y])&gt;=0;)y++;if(y&gt;0){c.push(u.join(""));for(let c=parseInt(r.substring(p,p+y),10);c&gt;0;c--)u.pop();p+=y}else u.push(r[p]),p++}return c}const Rt={defaultProtocol:"http",events:null,format:noop,formatHref:noop,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Options(r,c){void 0===c&amp;&amp;(c=null);let u=linkify_es_assign({},Rt);r&amp;&amp;(u=linkify_es_assign(u,r instanceof Options?r.o:r));const p=u.ignoreTags,y=[];for(let r=0;r&lt;p.length;r++)y.push(p[r].toUpperCase());this.o=u,c&amp;&amp;(this.defaultRender=c),this.ignoreTags=y}function noop(r){return r}Options.prototype={o:Rt,ignoreTags:[],defaultRender(r){return r},check(r){return this.get("validate",r.toString(),r)},get(r,c,u){const p=null!=c;let y=this.o[r];return y?("object"==typeof y?(y=u.t in y?y[u.t]:Rt[r],"function"==typeof y&amp;&amp;p&amp;&amp;(y=y(c,u))):"function"==typeof y&amp;&amp;p&amp;&amp;(y=y(c,u.t,u)),y):y},getObj(r,c,u){let p=this.o[r];return"function"==typeof p&amp;&amp;null!=c&amp;&amp;(p=p(c,u.t,u)),p},render(r){const c=r.render(this);return(this.get("render",null,r)||this.defaultRender)(c,r.t,r)}};var jt=Object.freeze({__proto__:null,defaults:Rt,Options:Options,assign:linkify_es_assign});function MultiToken(r,c){this.t="token",this.v=r,this.tk=c}function createTokenClass(r,c){class Token extends MultiToken{constructor(c,u){super(c,u),this.t=r}}for(const r in c)Token.prototype[r]=c[r];return Token.t=r,Token}MultiToken.prototype={isLink:!1,toString(){return this.v},toHref(r){return this.toString()},toFormattedString(r){const c=this.toString(),u=r.get("truncate",c,this),p=r.get("format",c,this);return u&amp;&amp;p.length&gt;u?p.substring(0,u)+"â€¦":p},toFormattedHref(r){return r.get("formatHref",this.toHref(r.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(r){return void 0===r&amp;&amp;(r=Rt.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(r),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(r){return{type:this.t,value:this.toFormattedString(r),isLink:this.isLink,href:this.toFormattedHref(r),start:this.startIndex(),end:this.endIndex()}},validate(r){return r.get("validate",this.toString(),this)},render(r){const c=this,u=this.toHref(r.get("defaultProtocol")),p=r.get("formatHref",u,this),y=r.get("tagName",u,c),w=this.toFormattedString(r),x={},k=r.get("className",u,c),E=r.get("target",u,c),I=r.get("rel",u,c),K=r.getObj("attributes",u,c),J=r.getObj("events",u,c);return x.href=p,k&amp;&amp;(x.class=k),E&amp;&amp;(x.target=E),I&amp;&amp;(x.rel=I),K&amp;&amp;linkify_es_assign(x,K),{tagName:y,attributes:x,content:w,eventListeners:J}}};const Nt=createTokenClass("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Dt=createTokenClass("text"),Mt=createTokenClass("nl"),Ut=createTokenClass("url",{isLink:!0,toHref(r){return void 0===r&amp;&amp;(r=Rt.defaultProtocol),this.hasProtocol()?this.v:`${r}://${this.v}`},hasProtocol(){const r=this.tk;return r.length&gt;=2&amp;&amp;r[0].t!==he&amp;&amp;r[1].t===rt}});const makeState=r=&gt;new State(r);function initMultiToken(r,c,u){const p=u[0].s,y=u[u.length-1].e;return new r(c.slice(p,y),u)}"undefined"!=typeof console&amp;&amp;console&amp;&amp;console.warn;const Ft={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function init(){Ft.scanner=function init$2(r){void 0===r&amp;&amp;(r=[]);const c={};State.groups=c;const u=new State;null==Lt&amp;&amp;(Lt=decodeTlds(x)),null==It&amp;&amp;(It=decodeTlds(k)),tt(u,"'",Ke),tt(u,"{",Ie),tt(u,"[",je),tt(u,"&lt;",De),tt(u,"(",Ue),tt(u,"}",Fe),tt(u,"]",Ze),tt(u,"&gt;",$e),tt(u,")",Ge),tt(u,"&amp;",We),tt(u,"*",Je),tt(u,"@",Ye),tt(u,"`",Qe),tt(u,"^",et),tt(u,":",rt),tt(u,",",nt),tt(u,"$",ot),tt(u,".",it),tt(u,"=",st),tt(u,"!",ct),tt(u,"-",ut),tt(u,"%",lt),tt(u,"|",pt),tt(u,"+",dt),tt(u,"#",ft),tt(u,"?",ht),tt(u,'"',mt),tt(u,"/",gt),tt(u,";",yt),tt(u,"~",vt),tt(u,"_",bt),tt(u,"\\",Xe);const p=tr(u,Tt,Oe,{[E]:!0});tr(p,Tt,p);const y=tr(u,kt,pe,{[I]:!0});tr(y,kt,y);const w=tr(u,St,de,{[K]:!0});tr(w,kt),tr(w,St,w);const oe=tr(u,Ot,Pe,{[le]:!0});tt(u,Ct,Le,{[le]:!0}),tt(oe,Ct),tr(oe,Ot,oe);const Rt=tr(u,Et,_t,{[ae]:!0});tr(Rt,Et,Rt),tt(Rt,At,Rt);const jt=tt(Rt,Pt);tr(jt,Et,Rt);const Nt=[[kt,y]],Dt=[[kt,null],[St,w]];for(let r=0;r&lt;Lt.length;r++)fastts(u,Lt[r],ge,pe,Nt);for(let r=0;r&lt;It.length;r++)fastts(u,It[r],ve,de,Dt);addToGroups(ge,{tld:!0,ascii:!0},c),addToGroups(ve,{utld:!0,alpha:!0},c),fastts(u,"file",we,pe,Nt),fastts(u,"mailto",we,pe,Nt),fastts(u,"http",Se,pe,Nt),fastts(u,"https",Se,pe,Nt),fastts(u,"ftp",Se,pe,Nt),fastts(u,"ftps",Se,pe,Nt),addToGroups(we,{scheme:!0,ascii:!0},c),addToGroups(Se,{slashscheme:!0,ascii:!0},c),r=r.sort(((r,c)=&gt;r[0]&gt;c[0]?1:-1));for(let c=0;c&lt;r.length;c++){const p=r[c][0],y=r[c][1]?{[se]:!0}:{[ue]:!0};p.indexOf("-")&gt;=0?y[ie]=!0:kt.test(p)?Tt.test(p)?y[J]=!0:y[I]=!0:y[E]=!0,ts(u,p,p,y)}return ts(u,"localhost",he,{ascii:!0}),u.jd=new State(wt),{start:u,tokens:linkify_es_assign({groups:c},xt)}}(Ft.customSchemes);for(let r=0;r&lt;Ft.tokenQueue.length;r++)Ft.tokenQueue[r][1]({scanner:Ft.scanner});Ft.parser=function init$1(r){let{groups:c}=r;const u=c.domain.concat([We,Je,Ye,Xe,Qe,et,ot,st,ut,Oe,lt,pt,dt,ft,gt,wt,vt,bt]),p=[Ke,$e,Fe,Ze,Ge,rt,nt,it,ct,De,Ie,je,Ue,ht,mt,yt],y=[We,Ke,Je,Xe,Qe,et,Fe,ot,st,ut,Ie,lt,pt,dt,ft,ht,gt,wt,vt,bt],w=makeState(),x=tt(w,vt);ta(x,y,x),ta(x,c.domain,x);const k=makeState(),E=makeState(),I=makeState();ta(w,c.domain,k),ta(w,c.scheme,E),ta(w,c.slashscheme,I),ta(k,y,x),ta(k,c.domain,k);const K=tt(k,Ye);tt(x,Ye,K),tt(E,Ye,K),tt(I,Ye,K);const J=tt(x,it);ta(J,y,x),ta(J,c.domain,x);const oe=makeState();ta(K,c.domain,oe),ta(oe,c.domain,oe);const ie=tt(oe,it);ta(ie,c.domain,oe);const ae=makeState(Nt);ta(ie,c.tld,ae),ta(ie,c.utld,ae),tt(K,he,ae);const se=tt(oe,ut);ta(se,c.domain,oe),ta(ae,c.domain,oe),tt(ae,it,ie),tt(ae,ut,se);const ue=tt(ae,rt);ta(ue,c.numeric,Nt);const le=tt(k,ut),pe=tt(k,it);ta(le,c.domain,k),ta(pe,y,x),ta(pe,c.domain,k);const de=makeState(Ut);ta(pe,c.tld,de),ta(pe,c.utld,de),ta(de,c.domain,k),ta(de,y,x),tt(de,it,pe),tt(de,ut,le),tt(de,Ye,K);const ge=tt(de,rt),ve=makeState(Ut);ta(ge,c.numeric,ve);const we=makeState(Ut),Se=makeState();ta(we,u,we),ta(we,p,Se),ta(Se,u,we),ta(Se,p,Se),tt(de,gt,we),tt(ve,gt,we);const Pe=tt(E,rt),_t=tt(I,rt),kt=tt(_t,gt),St=tt(kt,gt);ta(E,c.domain,k),tt(E,it,pe),tt(E,ut,le),ta(I,c.domain,k),tt(I,it,pe),tt(I,ut,le),ta(Pe,c.domain,we),tt(Pe,gt,we),ta(St,c.domain,we),ta(St,u,we),tt(St,gt,we);const Et=tt(we,Ie),Tt=tt(we,je),Ot=tt(we,De),Ct=tt(we,Ue);tt(Se,Ie,Et),tt(Se,je,Tt),tt(Se,De,Ot),tt(Se,Ue,Ct),tt(Et,Fe,we),tt(Tt,Ze,we),tt(Ot,$e,we),tt(Ct,Ge,we),tt(Et,Fe,we);const At=makeState(Ut),Pt=makeState(Ut),Lt=makeState(Ut),It=makeState(Ut);ta(Et,u,At),ta(Tt,u,Pt),ta(Ot,u,Lt),ta(Ct,u,It);const Rt=makeState(),jt=makeState(),Dt=makeState(),Ft=makeState();return ta(Et,p),ta(Tt,p),ta(Ot,p),ta(Ct,p),ta(At,u,At),ta(Pt,u,Pt),ta(Lt,u,Lt),ta(It,u,It),ta(At,p,At),ta(Pt,p,Pt),ta(Lt,p,Lt),ta(It,p,It),ta(Rt,u,Rt),ta(jt,u,Pt),ta(Dt,u,Lt),ta(Ft,u,It),ta(Rt,p,Rt),ta(jt,p,jt),ta(Dt,p,Dt),ta(Ft,p,Ft),tt(Pt,Ze,we),tt(Lt,$e,we),tt(It,Ge,we),tt(At,Fe,we),tt(jt,Ze,we),tt(Dt,$e,we),tt(Ft,Ge,we),tt(Rt,Ge,we),tt(w,he,de),tt(w,Le,Mt),{start:w,tokens:xt}}(Ft.scanner.tokens);for(let r=0;r&lt;Ft.pluginQueue.length;r++)Ft.pluginQueue[r][1]({scanner:Ft.scanner,parser:Ft.parser});Ft.initialized=!0}function tokenize(r){return Ft.initialized||init(),function run(r,c,u){let p=u.length,y=0,w=[],x=[];for(;y&lt;p;){let k=r,E=null,I=null,K=0,J=null,oe=-1;for(;y&lt;p&amp;&amp;!(E=k.go(u[y].t));)x.push(u[y++]);for(;y&lt;p&amp;&amp;(I=E||k.go(u[y].t));)E=null,k=I,k.accepts()?(oe=0,J=k):oe&gt;=0&amp;&amp;oe++,y++,K++;if(oe&lt;0)y-=K,y&lt;p&amp;&amp;(x.push(u[y]),y++);else{x.length&gt;0&amp;&amp;(w.push(initMultiToken(Dt,c,x)),x=[]),y-=oe,K-=oe;const r=J.t,p=u.slice(y-K,y);w.push(initMultiToken(r,c,p))}}return x.length&gt;0&amp;&amp;w.push(initMultiToken(Dt,c,x)),w}(Ft.parser.start,r,function run$1(r,c){const u=function stringToArray(r){const c=[],u=r.length;let p=0;for(;p&lt;u;){let y,w=r.charCodeAt(p),x=w&lt;55296||w&gt;56319||p+1===u||(y=r.charCodeAt(p+1))&lt;56320||y&gt;57343?r[p]:r.slice(p,p+2);c.push(x),p+=x.length}return c}(c.replace(/[A-Z]/g,(r=&gt;r.toLowerCase()))),p=u.length,y=[];let w=0,x=0;for(;x&lt;p;){let k=r,E=null,I=0,K=null,J=-1,oe=-1;for(;x&lt;p&amp;&amp;(E=k.go(u[x]));)k=E,k.accepts()?(J=0,oe=0,K=k):J&gt;=0&amp;&amp;(J+=u[x].length,oe++),I+=u[x].length,w+=u[x].length,x++;w-=J,x-=oe,I-=J,y.push({t:K.t,v:c.slice(w-I,w),s:w-I,e:w})}return y}(Ft.scanner.start,r))}function linkifyReactElement(r,c,u){if(0===y.Children.count(r.props.children))return r;const p=[];y.Children.forEach(r.props.children,(r=&gt;{"string"==typeof r?p.push.apply(p,function stringToElements(r,c,u){const p=tokenize(r),w=[];for(let r=0;r&lt;p.length;r++){const x=p[r];if("nl"===x.t&amp;&amp;c.get("nl2br")){const r="__linkify-el-"+u.elementId++;w.push(y.createElement("br",{key:r}))}else if(x.isLink&amp;&amp;c.check(x)){let r=c.render(x);if(!("key"in r.props)){const c="__linkify-el-"+u.elementId++,p=jt.assign({key:c},r.props);r=y.cloneElement(r,p)}w.push(r)}else w.push(x.toString())}return w}(r,c,u)):y.isValidElement(r)?"string"==typeof r.type&amp;&amp;c.ignoreTags.indexOf(r.type.toUpperCase())&gt;=0?p.push(r):p.push(linkifyReactElement(r,c,u)):p.push(r)}));const w="__linkify-el-"+u.elementId++,x=jt.assign({key:w},r.props);return y.cloneElement(r,x,p)}const Linkify=r=&gt;{let c=0;const u={key:"__linkify-wrapper"};for(const c in r)"options"!==c&amp;&amp;"as"!==c&amp;&amp;"tagName"!==c&amp;&amp;"children"!==c&amp;&amp;(u[c]=r[c]);const p=new Options(r.options,(r=&gt;{let{tagName:u,attributes:p,content:w}=r;return p.key="__linkify-lnk-"+c++,p.class&amp;&amp;(p.className=p.class,delete p.class),y.createElement(u,p,w)})),w=r.as||r.tagName||y.Fragment||"span",x=r.children;return linkifyReactElement(y.createElement(w,u,x),p,{elementId:0})};var Bt=function TextLink(r){var c,u;(0,p.Z)(this,undefined);var x=r.target,k=r.className,E=void 0===k?"custom-bot":k,I=(0,y.useContext)(w.L).webchatState.theme;return x?y.createElement(Linkify,{className:E,as:"span","data-qa":"textLink",options:{defaultProtocol:null==I||null===(c=I.link)||void 0===c?void 0:c.protocol,target:null==I||null===(u=I.link)||void 0===u?void 0:u.target,rel:"noopener noreferrer",attributes:{"data-qa":"textLinkItem"}}},x):null}.bind(void 0);function withUserRender(r){var c=r.children;return y.createElement(Bt,{className:"custom-user",target:c,"data-qa":"TextLink"})}Bt.defaultProps={className:"custom-bot"};var qt=Bt},79629:function(r,c,u){"use strict";u.d(c,{kr:function(){return ve},LP:function(){return he},bG:function(){return ge},dt:function(){return we}});var p=u(99840),y=(u(66992),u(41539),u(78783),u(33948),u(41637),u(60391)),w=u(30926),x=u(15671),k=u(43144),E=u(4942),I=function(){function HttpClient(r){(0,x.Z)(this,HttpClient),(0,E.Z)(this,"axiosInstance",void 0),this.axiosInstance=r}return(0,k.Z)(HttpClient,[{key:"get",value:function get(r,c){var u=this;return this.axiosInstance.get(r,{params:c}).catch(function(r){throw(0,w.Z)(this,u),r}.bind(this))}},{key:"post",value:function post(r,c,u){var p=this,y=u?{Authorization:"Bearer ".concat(u)}:{ContentType:"application/x-www-form-urlencoded"};return this.axiosInstance.post(r,c,{headers:y}).catch(function(r){throw(0,w.Z)(this,p),r}.bind(this))}},{key:"put",value:function put(r,c,u){var p=this,y={Authorization:"Bearer ".concat(u)};return this.axiosInstance.put(r,c,{headers:y}).catch(function(r){throw(0,w.Z)(this,p),r}.bind(this))}}]),HttpClient}(),K=(function processRequest(r,c,u,p){var y=this;return(0,w.Z)(this,undefined),r().then(function(r){(0,w.Z)(this,y),c(r.data),u&amp;&amp;u(!1)}.bind(this)).catch(function(){(0,w.Z)(this,y),p(!0),u&amp;&amp;u(!1)}.bind(this))}.bind(void 0),function mapData(r){return(0,w.Z)(this,undefined),r.data}.bind(void 0)),J=u(62197),oe=u(40121),ie=(0,J.Z)((0,J.Z)((0,J.Z)((0,J.Z)({},oe.yp.Canada,"https://api.talkdeskappca.com/virtual-agent"),oe.yp.Europe,"https://api.talkdeskapp.eu/virtual-agent"),oe.yp.USA,"https://api.talkdeskapp.com/virtual-agent"),oe.yp.UsFed,"https://api.talkdeskapp-pubsec.com/virtual-agent"),ae=function getApiUrl(r){return(0,p.Z)(this,undefined),ie[r]}.bind(void 0),se=void 0,ue=function httpClient(r){return(0,p.Z)(this,se),new I((0,y.H)(ae(r)))}.bind(void 0),le=function httpClientWithNoCaseConvertion(r){return(0,p.Z)(this,se),new I((0,y.w)(ae(r)))}.bind(void 0),pe="/conversation-engine",de={getToken:"".concat(pe,"/auth"),sendMessage:"".concat(pe,"/message"),setContext:"".concat(pe,"/context")},he=function getToken(r){(0,p.Z)(this,se);var c=r.tokenId,u=r.sessionId,y=r.region,w=new URLSearchParams;return w.append("tokenId",c),w.append("sessionId",u),ue(y).post(de.getToken,w).then(K)}.bind(void 0),ge=function sendMessage(r,c,u){return(0,p.Z)(this,se),ue(u).post(de.sendMessage,c,r).then(K)}.bind(void 0),ve=function createContext(r,c,u){return(0,p.Z)(this,se),le(u).post(de.setContext,c,r).then(K)}.bind(void 0),we=function updateContext(r,c,u){return(0,p.Z)(this,se),le(u).put(de.setContext,c,r).then(K)}.bind(void 0)},95700:function(r,c,u){"use strict";u.r(c),u.d(c,{default:function(){return we}});u(47941),u(82526),u(57327),u(41539),u(38880),u(54747),u(49337);var p=u(13659),y=u(82535),w=u(68751),x=u(62197),k=u(99840),E=(u(19601),u(46846)),I=u.n(E),K=u(4675),J=u(45879),oe=u(35832),ie=u(56744),ae=(u(26699),u(32023),u(40121)),se=(0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)({},ae.DD.Text,{id:"e7fe566f-32e9-46c9-8c7a-0ef8e676e173-7fe75e93",responses:["Hi there","How can i help you?"],payloads:[{mediaType:ae.DD.Text}]}),ae.DD.Buttons,{id:"e7fe566f-32e9-46c9-8c7a-0ef8e676e173-7f4245e93",responses:["This is an array of buttons"],payloads:[{mediaType:ae.DD.Buttons,displayText:"This is an array of buttons",quickActions:{elements:[{type:ae.L$.Link,displayText:"Button with link",url:"https://www.talkdesk.com/",target:ae.el.Blank},{type:ae.L$.Payload,displayText:"Button with payload",payload:"The payload"}]}}]}),ae.DD.QuickReplies,{id:"e7fe566f-32e9-46c9-8c7a-0ef8e676e173-7f9780893",responses:["This is an array of replies"],payloads:[{mediaType:ae.DD.QuickReplies,displayText:"This is an array of replies",quickActions:{elements:[{type:ae.L$.Payload,payload:"The payload1",displayText:"Reply 1"},{type:ae.L$.Payload,payload:"The payload2",displayText:"Reply 2"}]}}]}),ae.DD.Carousel,{id:"e7fe566f-32e9-46c9-8c7a-gsdfgsdfg-4234234234",responses:["Sure. A carousel on the way."],payloads:[{mediaType:ae.DD.Carousel,carousel:{elements:[{imageUrl:"https://infra-cloudfront-talkdeskcom.talkdesk.com/talkdesk_com/2020/12/02072707/2_1_2_Retail-and-E-Commerce-435x290.jpg",title:"Retail &amp; E-Commerce",text:"Details - Retail &amp; E-Commerce",buttons:[{type:ae.L$.Payload,displayText:"Click here",payload:"Retail &amp; E-Commerce"}]},{text:"Details - Financial Services &amp; Insurance",imageUrl:"https://infra-cloudfront-talkdeskcom.talkdesk.com/talkdesk_com/2020/12/02072702/2_1_2_Financial-Services-435x290.jpg",buttons:[{type:ae.L$.Link,displayText:"Show me more",url:"https://www.talkdesk.com/call-center-solutions/financial-services/",target:ae.el.Blank}],title:"Financial Services &amp; Insurance"}]}}]}),ae.DD.Media,{id:"e7fe566f-32e9-46c9-8c7a-0ef8e676e173-7fe75e93",responses:["Hi there","How can i help you?"],payloads:[{mediaType:ae.DD.Media,media:{mediaType:ae.vW.Image,url:"image.png"}}]}),ae.DD.HtmlContent,{id:"25e19eb9-4c2d-4439-9e03-7c585491616c-026f388e",responses:["Hi there"],payloads:[{mediaType:ae.DD.HtmlContent,content:['This is a link to &lt;a href="https://www.talkdesk.com/" target="_blank"&gt;Talkesk&lt;/a&gt;',"And this is a &lt;button onclick=\"javascript:alert('You clicked on a button!')\"&gt;Button&lt;/button&gt;"]}]}),ae.DD.CustomText,{id:"25e19eb9-4c2d-4439-9e03-7c585491616c-026f3880",responses:["what is the problem"],payloads:[{mediaType:ae.DD.CustomText,content:[]}]}),ae.DD.MultiContent,{id:"25e19eb9-4c2d-4439-9e03-7c585491616c-026f3888",responses:["what is the problem"],payloads:[{mediaType:ae.DD.MultiContent,content:[(0,x.Z)({},ae.DD.Media,{id:"e7fe566f-32e9-46c9-8c7a-0ef8e676e173-7fe75e93",responses:["Hi there","How can i help you?"],payloads:[{mediaType:ae.DD.Media,media:{mediaType:ae.vW.Image,url:"image.png"}}]})]}]}),ue=function query(r){(0,k.Z)(this,undefined);var c=r.toLocaleLowerCase();return c.includes(K.Z.WEBCHAT_ENGAGEMENT_TEXT.toLocaleLowerCase())?{id:"e7fe566f-32e9-46c9-8c7a-0ef8e676e173-7fe75e93",responses:["This is a response to GetStarted"],payloads:[{mediaType:ae.DD.Text}]}:c.includes("hello")||c.includes("text")?se[ae.DD.Text]:c.includes("button")?se[ae.DD.Buttons]:c.includes("repl")?se[ae.DD.QuickReplies]:c.includes("carousel")?se[ae.DD.Carousel]:c.includes("media")?se[ae.DD.Media]:{id:"e7fe566f-32e9-46c9-8c7a-0ef8e676e173-7fe75e93",responses:["Does not compute!"],payloads:[{mediaType:ae.DD.Text}]}}.bind(void 0),le=u(79629),pe=u(4819),de=u(92502),he=u(71085);function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,x.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var ge=(0,pe.EP)(),ve=function getToken(){return(0,k.Z)(this,undefined),(0,ie.bM)(K.Z.WEBCHAT_TOKEN_KEY)}.bind(void 0),we=function(){function ConversationEngineConnector(r){var c=this;(0,y.Z)(this,ConversationEngineConnector),(0,x.Z)(this,"options",void 0),(0,x.Z)(this,"authToken",void 0),(0,x.Z)(this,"setInitialContext",(0,p.Z)(I().mark((function _callee(){var r;return I().wrap((function _callee$(u){for(;;)switch(u.prev=u.next){case 0:if((0,ie.bM)(K.Z.CONTEXT_ACCOUNT_SET)){u.next=5;break}return r=(0,J.L)(c.authToken),u.next=4,(0,he.Y)(!0,c.authToken,{properties:r},c.options.region);case 4:(0,ie.Ly)(K.Z.CONTEXT_ACCOUNT_SET,!0);case 5:case"end":return u.stop()}}),_callee)})))),(0,x.Z)(this,"mapData",function(r){(0,k.Z)(this,c);var u=r.responses;return _objectSpread(_objectSpread({},r.payloads[0]),{},{responses:u,id:r.id})}.bind(this)),(0,x.Z)(this,"fetch",function(){var r=(0,p.Z)(I().mark((function _callee2(r){var u,p,y,w,x,k,E;return I().wrap((function _callee2$(I){for(;;)switch(I.prev=I.next){case 0:return I.next=2,c.getAuthToken();case 2:if(u=I.sent,p=c.options,y=p.region,w=p.languageCode,x=r.data,k=r.payload,"true"!=="MISSING_ENV_VAR".USE_CONVERSATION_ENGINE_HANDLERS){I.next=9;break}E=ue(x),I.next=12;break;case 9:return I.next=11,(0,le.bG)(u.token,{text:k||x,languageCode:w,timeZone:ge,sessionId:u.sessionId},y);case 11:E=I.sent;case 12:Object.assign(r,_objectSpread(_objectSpread({},r),{},{conversationEngine:{id:E.id,response:c.mapData(E)}}));case 13:case"end":return I.stop()}}),_callee2)})));return function(c){return r.apply(this,arguments)}}()),(0,x.Z)(this,"updateSessionId",function(r){(0,k.Z)(this,c),this.options.sessionId=r.user.id}.bind(this)),(0,x.Z)(this,"pre",function(){var r=(0,p.Z)(I().mark((function _callee3(r){var u,p;return I().wrap((function _callee3$(y){for(;;)switch(y.prev=y.next){case 0:return u=r.input,p=r.session,c.updateSessionId(p),y.prev=2,y.next=5,c.fetch(u);case 5:y.next=14;break;case 7:return y.prev=7,y.t0=y.catch(2),oe.Z.error("string"==typeof y.t0?y.t0:y.t0.message),y.next=12,c.refreshAuthToken();case 12:return y.next=14,c.fetch(u);case 14:case"end":return y.stop()}}),_callee3,null,[[2,7]])})));return function(c){return r.apply(this,arguments)}}()),(0,x.Z)(this,"post",function(){var r=(0,p.Z)(I().mark((function _callee4(r){var c,u,p,y;return I().wrap((function _callee4$(w){for(;;)switch(w.prev=w.next){case 0:return c=r.input,u=r.session,p=r.lastRoutePath,y=r.response,w.abrupt("return",{input:c,session:u,lastRoutePath:p,response:y});case 2:case"end":return w.stop()}}),_callee4)})));return function(c){return r.apply(this,arguments)}}()),this.options=r,this.authToken=ve()}var r,c;return(0,w.Z)(ConversationEngineConnector,[{key:"refreshAuthToken",value:(c=(0,p.Z)(I().mark((function _callee5(){var r,c,u,p;return I().wrap((function _callee5$(y){for(;;)switch(y.prev=y.next){case 0:return r=this.options,c=r.tokenId,u=r.sessionId,y.next=3,(0,de.h)(c,u,this.options.region);case 3:p=y.sent,this.authToken=p,(0,ie.Ly)(K.Z.WEBCHAT_TOKEN_KEY,_objectSpread(_objectSpread({},p),{},{expiresAt:(0,pe.Vo)(p.expiresAt)}));case 6:case"end":return y.stop()}}),_callee5,this)}))),function refreshAuthToken(){return c.apply(this,arguments)})},{key:"getAuthToken",value:(r=(0,p.Z)(I().mark((function _callee6(){return I().wrap((function _callee6$(r){for(;;)switch(r.prev=r.next){case 0:if(this.authToken=ve(),(0,de.D)(this.authToken)){r.next=5;break}return(0,ie.Ly)(K.Z.CONTEXT_ACCOUNT_SET,void 0),r.next=5,this.refreshAuthToken();case 5:return r.next=7,this.setInitialContext();case 7:return r.abrupt("return",this.authToken);case 8:case"end":return r.stop()}}),_callee6,this)}))),function getAuthToken(){return r.apply(this,arguments)})}]),ConversationEngineConnector}()},71085:function(r,c,u){"use strict";u.d(c,{Y:function(){return x}});var p=u(99840),y=(u(68309),u(4675)),w=u(79629),x=function setOnContext(r,c,u,x){(0,p.Z)(this,undefined);var k=u.name,E=void 0===k?"context":k,I=u.life_span,K=u.properties,J={name:E,life_span:I||y.Z.DEFAULT_CONTEXT_LIFE_CYCLES,properties:K,session_id:c.sessionId};return null!=r&amp;&amp;r?(0,w.kr)(c.token,J,x):(0,w.dt)(c.token,J,x)}.bind(void 0)},4819:function(r,c,u){"use strict";u.d(c,{EP:function(){return J},Vo:function(){return ae},nz:function(){return se},ri:function(){return ie},sv:function(){return oe}});var p=u(99840),y=(u(41539),u(39714),u(27484)),w=u.n(y),x=u(70178),k=u.n(x),E=u(29387),I=u.n(E),K=void 0;w().extend(k()),w().extend(I());var J=function getTimezone(){return(0,p.Z)(this,K),w().tz.guess()}.bind(void 0),oe=function getDateWithMinutesOverflow(r){return(0,p.Z)(this,K),w()().add(r,"minute").toString()}.bind(void 0),ie=function dateDifference(r,c){return(0,p.Z)(this,K),w()(r).diff(w()(c))}.bind(void 0),ae=function toMilliseconds(r){return(0,p.Z)(this,K),w()(r).valueOf()}.bind(void 0),se=function toUnixTimestamp(r){return(0,p.Z)(this,K),w()(r).unix()}.bind(void 0)},92502:function(r,c,u){"use strict";u.d(c,{D:function(){return K},h:function(){return I}});var p=u(99840),y=u(13659),w=(u(41539),u(39714),u(46846)),x=u.n(w),k=u(79629),E=u(4819),I=function(){var r=(0,y.Z)(x().mark((function _callee(r,c,u){var p;return x().wrap((function _callee$(y){for(;;)switch(y.prev=y.next){case 0:if("true"!=="MISSING_ENV_VAR".USE_CONVERSATION_ENGINE_HANDLERS){y.next=4;break}p={token:"ac2d8273-eae2-48e0-b0d4-406f3e1015e8",expiresAt:(0,E.sv)(10),sessionId:"ac2d8273-eae2-48e0-b0d4-406f3e1015e8"},y.next=7;break;case 4:return y.next=6,(0,k.LP)({tokenId:r,sessionId:c,region:u});case 6:p=y.sent;case 7:return y.abrupt("return",p);case 8:case"end":return y.stop()}}),_callee)})));return function getAccessToken(c,u,p){return r.apply(this,arguments)}}(),K=function isTokenValid(r){return(0,p.Z)(this,undefined),r.sessionId&amp;&amp;(0,E.ri)(r.expiresAt,(new Date).toString())&gt;0}.bind(void 0)},92035:function(r,c,u){"use strict";u.d(c,{u:function(){return ie}});var p=u(99840),y=u(82535),w=u(68751),x=u(62197),k=(u(66992),u(51532),u(41539),u(78783),u(33948),u(29254),u(17187)),E=u.n(k),__assign=function(){return __assign=Object.assign||function __assign(r){for(var c,u=1,p=arguments.length;u&lt;p;u++)for(var y in c=arguments[u])Object.prototype.hasOwnProperty.call(c,y)&amp;&amp;(r[y]=c[y]);return r},__assign.apply(this,arguments)};function __awaiter(r,c,u,p){return new(u||(u=Promise))((function(y,w){function fulfilled(r){try{step(p.next(r))}catch(r){w(r)}}function rejected(r){try{step(p.throw(r))}catch(r){w(r)}}function step(r){r.done?y(r.value):function adopt(r){return r instanceof u?r:new u((function(c){c(r)}))}(r.value).then(fulfilled,rejected)}step((p=p.apply(r,c||[])).next())}))}function __generator(r,c){var u,p,y,w,x={label:0,sent:function(){if(1&amp;y[0])throw y[1];return y[1]},trys:[],ops:[]};return w={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&amp;&amp;(w[Symbol.iterator]=function(){return this}),w;function verb(k){return function(E){return function step(k){if(u)throw new TypeError("Generator is already executing.");for(;w&amp;&amp;(w=0,k[0]&amp;&amp;(x=0)),x;)try{if(u=1,p&amp;&amp;(y=2&amp;k[0]?p.return:k[0]?p.throw||((y=p.return)&amp;&amp;y.call(p),0):p.next)&amp;&amp;!(y=y.call(p,k[1])).done)return y;switch(p=0,y&amp;&amp;(k=[2&amp;k[0],y.value]),k[0]){case 0:case 1:y=k;break;case 4:return x.label++,{value:k[1],done:!1};case 5:x.label++,p=k[1],k=[0];continue;case 7:k=x.ops.pop(),x.trys.pop();continue;default:if(!(y=x.trys,(y=y.length&gt;0&amp;&amp;y[y.length-1])||6!==k[0]&amp;&amp;2!==k[0])){x=0;continue}if(3===k[0]&amp;&amp;(!y||k[1]&gt;y[0]&amp;&amp;k[1]&lt;y[3])){x.label=k[1];break}if(6===k[0]&amp;&amp;x.label&lt;y[1]){x.label=y[1],y=k;break}if(y&amp;&amp;x.label&lt;y[2]){x.label=y[2],x.ops.push(k);break}y[2]&amp;&amp;x.ops.pop(),x.trys.pop();continue}k=c.call(r,x)}catch(r){k=[6,r],p=0}finally{u=y=0}if(5&amp;k[0])throw k[1];return{value:k[0]?k[1]:void 0,done:!0}}([k,E])}}}"function"==typeof SuppressedError&amp;&amp;SuppressedError;var I=function(){function RPC(r){this.options=r,this._traceId=0,this._methods=new Map,this._emitter=new(E()),this._handlerOnMessageByBound=this.handlerOnMessage.bind(this),this.createService(),this.getListener().addEventListener("message",this._handlerOnMessageByBound,!1)}return RPC.jsonParseData=function(r,c){try{return JSON.parse(r)}catch(r){return c}},RPC.jsonStringifyData=function(r){try{return JSON.stringify(r)}catch(r){return""}},RPC.runHandler=function(r){return __awaiter(this,void 0,void 0,(function(){var c;return __generator(this,(function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,r()];case 1:return[2,{data:u.sent(),error:null}];case 2:return[2,{error:"string"==typeof(c=u.sent())?c:c.message}];case 3:return[2]}}))}))},RPC.prototype.destroy=function(){this._emitter.removeAllListeners(),this._methods.clear(),this.getListener().removeEventListener("message",this._handlerOnMessageByBound,!1)},RPC.prototype.register=function(r,c){this._methods.set(r,c),this.log("Register ".concat(r),this._methods)},RPC.prototype.unregister=function(r){this._methods.delete(r),this.log("Unregister ".concat(r),this._methods)},RPC.prototype.trigger=function(r){for(var c=this,u=[],p=1;p&lt;arguments.length;p++)u[p-1]=arguments[p];return new Promise((function(p){var y=c.createId();c.sendMessage({id:y,method:r,payload:u,type:"request"}),c.log("Trigger ".concat(r," | ").concat(y),u),c._emitter.once("response_".concat(y),(function(u){p(u.payload),c.log("Receive ".concat(r," | ").concat(y),RPC.jsonStringifyData(u))}))}))},RPC.prototype.createId=function(){return"".concat(this.options.name,"_").concat(this._traceId++)},RPC.prototype.createService=function(){var r=this;this._emitter.on(this.options.topic,(function(c){return __awaiter(r,void 0,void 0,(function(){var r,u,p,y,w;return __generator(this,(function(x){switch(x.label){case 0:return r=c.id,u=c.payload,p=c.method,(y=this._methods.get(p))?[4,RPC.runHandler((function(){return y.apply(void 0,u)}))]:[3,2];case 1:return w=x.sent(),this.sendMessage({id:r,method:p,payload:w,type:"response"}),[3,3];case 2:this.sendMessage({id:r,method:p,payload:{error:"No found method in service"},type:"response"}),x.label=3;case 3:return[2]}}))}))}))},RPC.prototype.sendMessage=function(r){var c=this.options,u=c.sender,p=c.origin,y=c.topic,w=RPC.jsonStringifyData(__assign(__assign({},r),{topic:y}));if(!u.postMessage)throw new Error("The sender no found postMessage method please check the sender option");w&amp;&amp;u.postMessage(w,p||"*")},RPC.prototype.handlerOnMessage=function(r){var c=r.data;if(c){var u=RPC.jsonParseData(c,null);if(u&amp;&amp;u.topic===this.options.topic){var p=u.id,y=u.type;"request"===y&amp;&amp;this._emitter.emit(this.options.topic,u),"response"===y&amp;&amp;this._emitter.emit("response_".concat(p),u)}}},RPC.prototype.getListener=function(){return this.options.listener||window},RPC.prototype.log=function(r){for(var c=[],u=1;u&lt;arguments.length;u++)c[u-1]=arguments[u];var p=this.options,y=p.debug,w=p.name;if(y){var x=(new Date).toISOString(),k="[RPC] [".concat(x,"] [").concat(w,"] ").concat(r);console.groupCollapsed(k),(null==c?void 0:c.length)&amp;&amp;console.info.apply(console,c),console.groupEnd()}},Object.defineProperty(RPC.prototype,"methods",{get:function(){return this._methods},enumerable:!1,configurable:!0}),Object.defineProperty(RPC.prototype,"emitter",{get:function(){return this._emitter},enumerable:!1,configurable:!0}),RPC}(),K=u(35832),J=u(94050),oe=function(){function FeedbackSubscriptionProvider(){(0,y.Z)(this,FeedbackSubscriptionProvider),(0,x.Z)(this,"currentLink",void 0),(0,x.Z)(this,"events",void 0),(0,x.Z)(this,"rpc",void 0),(0,x.Z)(this,"timerId",void 0),this.currentLink="",this.events=new Map,this.rpc=null,this.timerId=null,this.handleMessage=this.handleMessage.bind(this),this.reportResult=this.reportResult.bind(this)}return(0,w.Z)(FeedbackSubscriptionProvider,[{key:"on",value:function on(r,c){this.events.set(r,c)}},{key:"off",value:function off(r){this.events.delete(r)}},{key:"emit",value:function emit(r,c){this.currentLink=(null==c?void 0:c.link)||"",this.events.has(r)&amp;&amp;this.events.get(r)(c)}},{key:"reportResult",value:function reportResult(r,c){clearTimeout(this.timerId),c(r)}},{key:"handleMessage",value:function handleMessage(r,c,u){K.Z.info("Received feedback page message",{message:(0,J.r)(r)}),clearTimeout(this.timerId),r&amp;&amp;"string"==typeof r.status&amp;&amp;"string"==typeof r.message?(c.height=r.height,this.reportResult(r,u)):this.reportResult({status:"error",message:"feedbackLoadFailed",height:"0"},u)}},{key:"createIframe",value:function createIframe(r,c,u){var y,w,x=this,k=document.createElement("iframe");return k.src=c,k.setAttribute("data-qa","iframe"),k.setAttribute("frameborder","0"),k.setAttribute("title","feedback"),k.setAttribute("width","100%"),r.appendChild(k),this.timerId=setTimeout(function(){(0,p.Z)(this,x),K.Z.error("Feedback page load timeout",{link:c}),this.reportResult({status:"error",message:"feedbackLoadFailed",height:"0"},u)}.bind(this),15e3),k.addEventListener("load",y=function onLoadFn(){var r=this;(0,p.Z)(this,x),this.rpc&amp;&amp;(this.rpc.destroy(),this.rpc=null),this.rpc=new I({name:"Parent",sender:k.contentWindow,topic:"feedback",debug:!1}),this.rpc.register("feedbackStatusChange",function(c){(0,p.Z)(this,r),this.handleMessage(c,k,u)}.bind(this))}.bind(this)),k.addEventListener("error",w=function onErrorFn(){(0,p.Z)(this,x),K.Z.error("Feedback page load failed",{link:c}),this.reportResult({status:"error",message:"feedbackLoadFailed",height:"0"},u)}.bind(this)),function(){var c,u,E,I,K;(0,p.Z)(this,x),null===(c=this.rpc)||void 0===c||c.unregister("feedbackStatusChange"),clearTimeout(this.timerId),null===(u=k)||void 0===u||u.removeEventListener("load",y),null===(E=k)||void 0===E||E.removeEventListener("error",w),null===(I=this.rpc)||void 0===I||I.destroy(),null==r||r.removeChild(k),null===(K=k)||void 0===K||K.remove(),k=null}.bind(this)}},{key:"link",get:function get(){return this.currentLink}}],[{key:"getInstance",value:function getInstance(){return this.instance||(this.instance=new FeedbackSubscriptionProvider),this.instance}}]),FeedbackSubscriptionProvider}();(0,x.Z)(oe,"instance",void 0);var ie=oe.getInstance()},95195:function(r,c,u){"use strict";u.d(c,{s:function(){return k}});var p=u(82535),y=u(68751),w=u(62197),x=(u(66992),u(51532),u(41539),u(78783),u(33948),function(){function EndChatProvider(){(0,p.Z)(this,EndChatProvider),(0,w.Z)(this,"currentShow",void 0),(0,w.Z)(this,"events",void 0),this.currentShow=!1,this.events=new Map}return(0,y.Z)(EndChatProvider,[{key:"on",value:function on(r,c){this.events.set(r,c)}},{key:"off",value:function off(r){this.events.delete(r)}},{key:"emit",value:function emit(r,c){this.currentShow=(null==c?void 0:c.show)||!1,this.events.has(r)&amp;&amp;this.events.get(r)(c)}},{key:"show",get:function get(){return this.currentShow}}],[{key:"getInstance",value:function getInstance(){return this.instance||(this.instance=new EndChatProvider),this.instance}}]),EndChatProvider}());(0,w.Z)(x,"instance",void 0);var k=x.getInstance()},55140:function(r,c,u){"use strict";u.d(c,{NV:function(){return le},Ip:function(){return ue},ZM:function(){return se}});var p=u(99840),y=(u(73210),u(49323)),w=u(27856),x=u.n(w),k=u(86492),E=u(9980),I=u.n(E),K=void 0,J=function configureLinksRenderer(){(0,p.Z)(this,K);var r=new(I())("zero",{linkify:!0}).enable(["linkify"]);return function withLinksTarget(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"_blank",u=r.renderer.rules.link_open||function(r,c,u,p,y){return y.renderToken(r,c,u)};r.renderer.rules.link_open=function(r,p,y,w,x){var k=r[p].attrIndex("target");return k&lt;0?r[p].attrPush(["target",c]):r[p].attrs[k][1]=c,u(r,p,y,w,x)}}(r),r}.bind(void 0),oe=J(),ie=function renderLinks(r){return(0,p.Z)(this,K),oe.renderInline(r)}.bind(void 0),ae=void 0,se=function getTextResponses(r){return(0,p.Z)(this,ae),(null==r?void 0:r.length)&gt;0?r:[y.ZP.t("yourOptions")]}.bind(void 0),ue=function getSanitizedText(r){return(0,p.Z)(this,ae),ie((0,k.decode)(x().sanitize(r))).trim()}.bind(void 0),le=function getSanitizedRichText(r){return(0,p.Z)(this,ae),(0,k.decode)(x().sanitize(r))}.bind(void 0)},25092:function(r,c,u){"use strict";var p=u(99840),y=u(40121),w=function getUrl(r){(0,p.Z)(this,undefined);var c=r.type,u=r.url,w=r.payload;return c===y.L$.Call?"tel:".concat(null!=w?w:u):null!=w?w:u}.bind(void 0);c.Z=w},56744:function(r,c,u){"use strict";u.d(c,{$P:function(){return ge},DL:function(){return Oe},Ly:function(){return pe},M8:function(){return he},V3:function(){return Se},Xe:function(){return de},bM:function(){return le},dP:function(){return we},eb:function(){return ve}});u(82526),u(57327),u(41539),u(38880),u(54747),u(49337);var p=u(62197),y=u(99840),w=(u(47941),u(44048),u(9653),u(27484)),x=u.n(w),k=u(4675),E=void 0;function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,p.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var I=k.Z.WEBCHAT_CONFIG,K=k.Z.WEBCHAT_LAST_MESSAGE_KEY,J=k.Z.WEBCHAT_LAST_INTERACTION_KEY,oe=k.Z.WEBCHAT_SESSION_UPDATE_MINUTES_INTERVAL,ie=k.Z.WEBCHAT_SESSION_UPDATE_MINUTES_OVERFLOW,ae=k.Z.WEBCHAT_STATE,se=function getConfigLocalStorage(){return(0,y.Z)(this,E),JSON.parse(localStorage.getItem(I))}.bind(void 0),ue=function getStateLocalStorage(){return(0,y.Z)(this,E),JSON.parse(localStorage.getItem(ae))}.bind(void 0),le=function getLocalStorageKey(r){(0,y.Z)(this,E);var c=se();return c?c[r]:null}.bind(void 0),pe=function setLocalStorageKey(r,c){(0,y.Z)(this,E),localStorage.setItem(I,JSON.stringify(_objectSpread(_objectSpread({},se()),{},(0,p.Z)({},r,c))))}.bind(void 0),de=function isLastInteractionExpired(){(0,y.Z)(this,E);var r=le(J);return!!Number.isNaN(r)||x()().subtract(oe+ie,"minute").valueOf()&gt;Number(r)}.bind(void 0),he=function updateLastInteractionTimestamp(){(0,y.Z)(this,E),pe(J,x()().valueOf())}.bind(void 0),ge=function updateLastMessageTimestamp(){(0,y.Z)(this,E),pe(K,x()().valueOf())}.bind(void 0),ve=function getRemainingSessionTime(r){(0,y.Z)(this,E);var c=le(K),u=x()(c).add(r,"minute").valueOf();return x()(u).subtract(x()().valueOf()).valueOf()}.bind(void 0),we=function clearSessionToken(){var r;(0,y.Z)(this,E);var c=_objectSpread(_objectSpread({},null!==(r=se())&amp;&amp;void 0!==r?r:{}),{},{token:{}});localStorage.setItem(I,JSON.stringify(c))}.bind(void 0),Se=(function clearUserSession(){var r;(0,y.Z)(this,E);var c=_objectSpread(_objectSpread({},null!==(r=ue())&amp;&amp;void 0!==r?r:{}),{},{session:{}});localStorage.setItem(I,JSON.stringify(c))}.bind(void 0),function resetConfigsStorage(){(0,y.Z)(this,E),localStorage.removeItem(I)}.bind(void 0)),Oe=function resetLocalStorage(){(0,y.Z)(this,E),localStorage.removeItem(ae),localStorage.removeItem(I)}.bind(void 0)},87909:function(r,c,u){"use strict";u.d(c,{z:function(){return w}});var p=u(12828),y=u.n(p),w=function toCamelCase(r){var c=!(arguments.length&gt;1&amp;&amp;void 0!==arguments[1])||arguments[1];return y()(r,{deep:c})}},1699:function(r,c,u){"use strict";u.d(c,{e:function(){return p}});var p=function(r){return r.Blank="_blank",r.Self="_self",r.Top="_top",r.Parent="_parent",r}({})},22375:function(r,c,u){"use strict";u.d(c,{T:function(){return p}});var p=function(r){return r.VirtualAgent="virtualAgent",r.Livechat="livechat",r}({})},40121:function(r,c,u){"use strict";u.d(c,{L$:function(){return w},Qx:function(){return E},Nm:function(){return k},el:function(){return x.e},vW:function(){return y},DD:function(){return p},yp:function(){return I}});var p=function(r){return r.Text="text",r.CustomText="customtext",r.Buttons="buttons",r.QuickReplies="quickreplies",r.Carousel="carousel",r.Media="media",r.HtmlContent="htmlcontent",r.MultiContent="multicontent",r}({}),y=function(r){return r.Image="image",r.Video="video",r.Audio="audio",r.File="file",r}({}),w=function(r){return r.Call="call",r.Link="link",r.Payload="payload",r}({}),x=u(1699),k=function(r){return r.Left="left",r.Right="right",r}({}),E=function(r){return r.StartNewChat="startNewChat",r}({}),I=function(r){return r.Canada="td-ca-1",r.Europe="td-eu-1",r.USA="td-us-1",r.UsFed="td-usfed-1",r}({})},60391:function(r,c,u){"use strict";u.d(c,{H:function(){return ve},w:function(){return we}});var p=u(30926),y=(u(26699),u(32023),u(71257));var __assign=function(){return __assign=Object.assign||function __assign(r){for(var c,u=1,p=arguments.length;u&lt;p;u++)for(var y in c=arguments[u])Object.prototype.hasOwnProperty.call(c,y)&amp;&amp;(r[y]=c[y]);return r},__assign.apply(this,arguments)};Object.create;Object.create;function lowerCase(r){return r.toLowerCase()}var w=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],x=/[^A-Z0-9]+/gi;function noCase(r,c){void 0===c&amp;&amp;(c={});for(var u=c.splitRegexp,p=void 0===u?w:u,y=c.stripRegexp,k=void 0===y?x:y,E=c.transform,I=void 0===E?lowerCase:E,K=c.delimiter,J=void 0===K?" ":K,oe=replace(replace(r,p,"$1\0$2"),k,"\0"),ie=0,ae=oe.length;"\0"===oe.charAt(ie);)ie++;for(;"\0"===oe.charAt(ae-1);)ae--;return oe.slice(ie,ae).split("\0").map(I).join(J)}function replace(r,c,u){return c instanceof RegExp?r.replace(c,u):c.reduce((function(r,c){return r.replace(c,u)}),r)}function pascalCaseTransform(r,c){var u=r.charAt(0),p=r.substr(1).toLowerCase();return c&gt;0&amp;&amp;u&gt;="0"&amp;&amp;u&lt;="9"?"_"+u+p:""+u.toUpperCase()+p}function camelCaseTransform(r,c){return 0===c?r.toLowerCase():pascalCaseTransform(r,c)}function capitalCaseTransform(r){return function upperCaseFirst(r){return r.charAt(0).toUpperCase()+r.substr(1)}(r.toLowerCase())}function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){_defineProperty(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function _defineProperty(r,c,u){return c in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r}function _typeof(r){return _typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function _typeof(r){return typeof r}:function _typeof(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},_typeof(r)}var k=function isURLSearchParams(r){return"undefined"!=typeof URLSearchParams&amp;&amp;r instanceof URLSearchParams},E=function isFormData(r){return"undefined"!=typeof FormData&amp;&amp;r instanceof FormData},I=function isPlainObject(r){return"object"===_typeof(r)&amp;&amp;null!==r&amp;&amp;"[object Object]"===Object.prototype.toString.call(r)};function transformers_ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function transformers_defineProperty(r,c,u){return c in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r}function _slicedToArray(r,c){return function _arrayWithHoles(r){if(Array.isArray(r))return r}(r)||function _iterableToArrayLimit(r,c){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(r)))return;var u=[],p=!0,y=!1,w=void 0;try{for(var x,k=r[Symbol.iterator]();!(p=(x=k.next()).done)&amp;&amp;(u.push(x.value),!c||u.length!==c);p=!0);}catch(r){y=!0,w=r}finally{try{p||null==k.return||k.return()}finally{if(y)throw w}}return u}(r,c)||_unsupportedIterableToArray(r,c)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _createForOfIteratorHelper(r,c){var u;if("undefined"==typeof Symbol||null==r[Symbol.iterator]){if(Array.isArray(r)||(u=_unsupportedIterableToArray(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=r[Symbol.iterator]()},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _toConsumableArray(r){return function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r)}(r)||function _iterableToArray(r){if("undefined"!=typeof Symbol&amp;&amp;Symbol.iterator in Object(r))return Array.from(r)}(r)||_unsupportedIterableToArray(r)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return _arrayLikeToArray(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?_arrayLikeToArray(r,c):void 0}}function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var K={snake:function snakeCase(r,c){return void 0===c&amp;&amp;(c={}),function dotCase(r,c){return void 0===c&amp;&amp;(c={}),noCase(r,__assign({delimiter:"."},c))}(r,__assign({delimiter:"_"},c))},camel:function camelCase(r,c){return void 0===c&amp;&amp;(c={}),function pascalCase(r,c){return void 0===c&amp;&amp;(c={}),noCase(r,__assign({delimiter:"",transform:pascalCaseTransform},c))}(r,__assign({transform:camelCaseTransform},c))},header:function headerCase(r,c){return void 0===c&amp;&amp;(c={}),function capitalCase(r,c){return void 0===c&amp;&amp;(c={}),noCase(r,__assign({delimiter:" ",transform:capitalCaseTransform},c))}(r,__assign({delimiter:"-"},c))}},J=function transformObjectUsingCallbackRecursive(r,c,u){if(!function isTransformable(r){return Array.isArray(r)||I(r)||E(r)||k(r)}(r))return r;if((E(r)||k(r))&amp;&amp;(!r.entries||u&amp;&amp;!r.delete)){var p=E(r)?"FormData":"URLSearchParams",y=E(r)?"https://github.com/jimmywarting/FormData":"https://github.com/jerrybendy/url-search-params-polyfill";return"undefined"!=typeof navigator&amp;&amp;"ReactNative"===navigator.product?console.warn("Be careful that ".concat(p," cannot be transformed on React Native. If you intentionally implemented, ignore this kind of warning: https://facebook.github.io/react-native/docs/debugging.html")):(r.entries||console.warn("You must use polyfill of ".concat(p,".prototype.entries() on Internet Explorer or Safari: ").concat(y)),u&amp;&amp;!r.delete&amp;&amp;console.warn("You must use polyfill of ".concat(p,".prototype.delete() on Internet Explorer or Safari: ").concat(y))),r}var w,x=Object.getPrototypeOf(r),K=u?r:x?new x.constructor:Object.create(null);if(E(r)||k(r)){if(w=r.entries(),u){var J,oe=_createForOfIteratorHelper(w=_toConsumableArray(w));try{for(oe.s();!(J=oe.n()).done;){var ie=_slicedToArray(J.value,1)[0];r.delete(ie)}}catch(r){oe.e(r)}finally{oe.f()}}}else if(w=Object.entries(r),u&amp;&amp;!Array.isArray(r)){var ae,se=_createForOfIteratorHelper(w);try{for(se.s();!(ae=se.n()).done;){delete r[_slicedToArray(ae.value,1)[0]]}}catch(r){se.e(r)}finally{se.f()}}var ue,le=_createForOfIteratorHelper(w);try{for(le.s();!(ue=le.n()).done;){var pe=_slicedToArray(ue.value,2),de=pe[0],he=pe[1];E(K)||k(K)?K.append(c(de),he):"__proto__"!==de&amp;&amp;(K[c("string"==typeof de?de:"".concat(de))]=transformObjectUsingCallbackRecursive(he,c,u))}}catch(r){le.e(r)}finally{le.f()}return K},oe=function transformObjectUsingCallback(r,c,u){return c=function applyCaseOptions(r,c){return function(u,p){return r(u,_objectSpread(_objectSpread({},c),p))}}(c,function transformers_objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?transformers_ownKeys(Object(u),!0).forEach((function(c){transformers_defineProperty(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):transformers_ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}({stripRegexp:/[^A-Z0-9[\]]+/gi},null==u?void 0:u.caseOptions)),null!=u&amp;&amp;u.preservedKeys&amp;&amp;(c=function preserveSpecificKeys(r,c){var u="function"==typeof c?c:function(r){return c.includes(r)};return function(c,p){return u(c,p)?c:r(c,p)}}(c,u.preservedKeys)),J(r,c,(null==u?void 0:u.overwrite)||!1)},ie=function createObjectTransformerOf(r,c){return function createObjectTransformer(r){return function(c,u){return oe(c,r,u)}}((null==c?void 0:c[r])||K[r])},ae=function createObjectTransformers(r){for(var c={},u=0,p=Object.keys(K);u&lt;p.length;u++){var y=p[u];c[y]=ie(y,r)}return c};function middleware_toConsumableArray(r){return function middleware_arrayWithoutHoles(r){if(Array.isArray(r))return middleware_arrayLikeToArray(r)}(r)||function middleware_iterableToArray(r){if("undefined"!=typeof Symbol&amp;&amp;Symbol.iterator in Object(r))return Array.from(r)}(r)||middleware_unsupportedIterableToArray(r)||function middleware_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function middleware_ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function middleware_objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?middleware_ownKeys(Object(u),!0).forEach((function(c){middleware_defineProperty(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):middleware_ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function middleware_defineProperty(r,c,u){return c in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r}function middleware_slicedToArray(r,c){return function middleware_arrayWithHoles(r){if(Array.isArray(r))return r}(r)||function middleware_iterableToArrayLimit(r,c){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(r)))return;var u=[],p=!0,y=!1,w=void 0;try{for(var x,k=r[Symbol.iterator]();!(p=(x=k.next()).done)&amp;&amp;(u.push(x.value),!c||u.length!==c);p=!0);}catch(r){y=!0,w=r}finally{try{p||null==k.return||k.return()}finally{if(y)throw w}}return u}(r,c)||middleware_unsupportedIterableToArray(r,c)||function middleware_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function middleware_unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return middleware_arrayLikeToArray(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?middleware_arrayLikeToArray(r,c):void 0}}function middleware_arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var se=function createSnakeRequestTransformer(r){var c=ae(null==r?void 0:r.caseFunctions),u=c.snake,p=c.header;return function(c,y){if((null==r||!r.ignoreHeaders)&amp;&amp;I(y))for(var w=0,x=Object.entries(y);w&lt;x.length;w++){var k=middleware_slicedToArray(x[w],2),E=k[0],K=k[1];p(K,middleware_objectSpread({overwrite:!0},r)),["common","delete","get","head","post","put","patch"].includes(E)||(delete y[E],y[Object.keys(p(middleware_defineProperty({},E,null),r))[0]]=K)}return u(c,r)}},ue=function createCamelResponseTransformer(r){var c=ae(null==r?void 0:r.caseFunctions).camel;return function(u,p){return null!=r&amp;&amp;r.ignoreHeaders||c(p,middleware_objectSpread({overwrite:!0},r)),c(u,r)}},le=function applyCaseMiddleware(r,c){var u,p,y;return r.defaults.transformRequest=[(null==c||null===(u=c.caseMiddleware)||void 0===u?void 0:u.requestTransformer)||se(c)].concat(middleware_toConsumableArray(Array.isArray(r.defaults.transformRequest)?r.defaults.transformRequest:void 0!==r.defaults.transformRequest?[r.defaults.transformRequest]:[])),r.defaults.transformResponse=[].concat(middleware_toConsumableArray(Array.isArray(r.defaults.transformResponse)?r.defaults.transformResponse:void 0!==r.defaults.transformResponse?[r.defaults.transformResponse]:[]),[(null==c||null===(p=c.caseMiddleware)||void 0===p?void 0:p.responseTransformer)||ue(c)]),r.interceptors.request.use((null==c||null===(y=c.caseMiddleware)||void 0===y?void 0:y.requestInterceptor)||function createSnakeParamsInterceptor(r){var c=ae(null==r?void 0:r.caseFunctions).snake;return function(u){return u.params&amp;&amp;(u.params=c(u.params,r)),u}}(c)),r},pe=u(23889),de=u.n(pe),he=void 0,ge=function createAxiosInstance(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1],u=y.Z.create({baseURL:r,timeout:1e4});return function allowRetries(r){var c=this,u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:4,y=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:300,w=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:[429];de()(r,{retries:u,retryDelay:function retryDelay(r){return(0,p.Z)(this,c),r*y}.bind(this),retryCondition:function retryCondition(r){(0,p.Z)(this,c);var u=r.response;return u&amp;&amp;w.includes(u.status)}.bind(this)})}(u),c||le(u,{preservedKeys:["accountId","businessHours"]}),u},ve=function getAxiosInstance(r){return(0,p.Z)(this,he),ge(r)}.bind(void 0),we=function getAxiosInstanceWithNoCaseConvertion(r){return(0,p.Z)(this,he),ge(r,!0)}.bind(void 0)},4675:function(r,c,u){"use strict";u(43371);c.Z=Object.freeze({DEFAULT_LANGUAGE_CODE:"en-US",CONTEXT_ACCOUNT_SET:"accountIdOnContext",WEBCHAT_CONFIG:"webchatConfig",WEBCHAT_ENGAGEMENT_TEXT:"GetStarted",WEBCHAT_STATE:"webchatState",WEBCHAT_TOKEN_KEY:"token",WEBCHAT_IS_CHAT_OPEN_KEY:"isChatOpen",WEBCHAT_WAS_CHAT_OPENED:"wasChatOpened",WEBCHAT_LAST_INTERACTION_KEY:"lastInteraction",WEBCHAT_LAST_MESSAGE_KEY:"lastMessage",WEBCHAT_MSG_FROM_USER:"user",WEBCHAT_SESSION_UPDATE_MINUTES_INTERVAL:2,WEBCHAT_SESSION_UPDATE_MINUTES_OVERFLOW:1,DEFAULT_CONTEXT_LIFE_CYCLES:99999999,MAX_ALLOWED_QUICK_REPLIES:10,MAX_ALLOWED_BUTTONS:10,MAX_ALLOWED_BUTTONS_CAROUSEL:3,MAX_ALLOWED_CAROUSEL_CARDS:10,CAROUSEL_MOVEMENT_DISTANCE:245,VIRTUAL_AGENT_ICON:"https://prd-cdn-talkdesk.talkdesk.com/cdn-assets/latest/talkdesk/product/app-icons/virtual-agent.svg",CONVERSATION_ENGINE_CONNECTOR:"conversation-engine-connector",LIVECHAT_CONVERSATION_ENDED:"livechatConversationEnded",TALKDESK_CDN_BASE_URL:"https://prd-cdn-talkdesk.talkdesk.com",TALKDESK_CDN_ICONS:"cdn-assets/latest/talkdesk/product/icons",TWILIO_MEDIA_URL_EXPIRED:3e5,DOCUMENT:"document",VIDEO:"video",IMAGE:"image",AUDIO:"audio",MIME_TYPES_FILE_SUFFIX_MAPPER:{"audio/mpeg":".mp3","audio/mp3":".mp3","image/jpeg":".jpg","image/png":".png","video/mp4":".mp4","video/quicktime":".mov","application/pdf":".pdf"}})},45879:function(r,c,u){"use strict";u.d(c,{L:function(){return x}});var p=u(30926),y=u(22471),w=u(85829),x=function getInitialContextProperties(r){(0,p.Z)(this,undefined);return{accountId:(0,y.mA)(r.token),channelType:"digital",interactionId:(0,w.k)(r.sessionId,"-","")}}.bind(void 0)},94050:function(r,c,u){"use strict";u.d(c,{r:function(){return w}});var p=u(30926),y=u(35832),w=function stringifyJson(r){(0,p.Z)(this,undefined);try{return JSON.stringify(r)}catch(c){return y.Z.error("can not stringify source ".concat(r),c),r}}.bind(void 0)},28485:function(r,c,u){"use strict";var p=u(30926),y=u(15671),w=u(43144),x=u(4942),k=(u(41539),u(54747),u(40561),function(){function EventEmitter(){(0,y.Z)(this,EventEmitter),(0,x.Z)(this,"events",void 0),this.events={}}return(0,w.Z)(EventEmitter,[{key:"emit",value:function emit(r,c){var u=this,y=this.events[r];return Array.isArray(y)?(y.forEach(function(r){(0,p.Z)(this,u),r(c)}.bind(this)),this):this}},{key:"on",value:function on(r,c){return Array.isArray(this.events[r])||(this.events[r]=[]),-1!==this.events[r].indexOf(c)||this.events[r].push(c),this}},{key:"off",value:function off(r,c){if(c){var u=this.events[r]||[],p=u.indexOf(c);-1!==p&amp;&amp;u.splice(p,1)}else this.events[r]=[];return this}}]),EventEmitter}());c.Z=new k},22471:function(r,c,u){"use strict";u.d(c,{mA:function(){return E},$2:function(){return I}});var p=u(30926);function e(r){this.message=r}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var y="undefined"!=typeof window&amp;&amp;window.atob&amp;&amp;window.atob.bind(window)||function(r){var c=String(r).replace(/=+$/,"");if(c.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var u,p,y=0,w=0,x="";p=c.charAt(w++);~p&amp;&amp;(u=y%4?64*u+p:p,y++%4)?x+=String.fromCharCode(255&amp;u&gt;&gt;(-2*y&amp;6)):0)p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(p);return x};function t(r){var c=r.replace(/-/g,"+").replace(/_/g,"/");switch(c.length%4){case 0:break;case 2:c+="==";break;case 3:c+="=";break;default:throw"Illegal base64url string!"}try{return function(r){return decodeURIComponent(y(r).replace(/(.)/g,(function(r,c){var u=c.charCodeAt(0).toString(16).toUpperCase();return u.length&lt;2&amp;&amp;(u="0"+u),"%"+u})))}(c)}catch(r){return y(c)}}function n(r){this.message=r}n.prototype=new Error,n.prototype.name="InvalidTokenError";var w=function o(r,c){if("string"!=typeof r)throw new n("Invalid token specified");var u=!0===(c=c||{}).header?0:1;try{return JSON.parse(t(r.split(".")[u]))}catch(r){throw new n("Invalid token specified: "+r.message)}},x=void 0,k=function getParamFromJwt(r,c){(0,p.Z)(this,x);try{return w(r)[c]}catch(r){return null}}.bind(void 0),E=function getAccountIdFromJwt(r){return(0,p.Z)(this,x),k(r,"aid")}.bind(void 0),I=function getExpiresAtFromJwt(r){return(0,p.Z)(this,x),k(r,"exp")}.bind(void 0)},35832:function(r,c,u){"use strict";u.d(c,{Z:function(){return xo}});u(47941),u(82526),u(57327),u(41539),u(38880),u(54747),u(49337);var p,y=u(44925),w=u(15671),x=u(43144),k=u(4942),E=u(30926);!function(r){r[r.UNSPECIFIED=0]="UNSPECIFIED",r[r.TRACE=1]="TRACE",r[r.TRACE2=2]="TRACE2",r[r.TRACE3=3]="TRACE3",r[r.TRACE4=4]="TRACE4",r[r.DEBUG=5]="DEBUG",r[r.DEBUG2=6]="DEBUG2",r[r.DEBUG3=7]="DEBUG3",r[r.DEBUG4=8]="DEBUG4",r[r.INFO=9]="INFO",r[r.INFO2=10]="INFO2",r[r.INFO3=11]="INFO3",r[r.INFO4=12]="INFO4",r[r.WARN=13]="WARN",r[r.WARN2=14]="WARN2",r[r.WARN3=15]="WARN3",r[r.WARN4=16]="WARN4",r[r.ERROR=17]="ERROR",r[r.ERROR2=18]="ERROR2",r[r.ERROR3=19]="ERROR3",r[r.ERROR4=20]="ERROR4",r[r.FATAL=21]="FATAL",r[r.FATAL2=22]="FATAL2",r[r.FATAL3=23]="FATAL3",r[r.FATAL4=24]="FATAL4"}(p||(p={}));var I="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof u.g?u.g:{},K=Symbol.for("io.opentelemetry.js.api.logs"),J=I;var oe=function(){function NoopLogger(){}return NoopLogger.prototype.emit=function(r){},NoopLogger}(),ie=new oe,ae=new(function(){function NoopLoggerProvider(){}return NoopLoggerProvider.prototype.getLogger=function(r,c,u){return new oe},NoopLoggerProvider}()),se=function(){function LogsAPI(){}return LogsAPI.getInstance=function(){return this._instance||(this._instance=new LogsAPI),this._instance},LogsAPI.prototype.setGlobalLoggerProvider=function(r){return J[K]?this.getLoggerProvider():(J[K]=function makeGetter(r,c,u){return function(p){return p===r?c:u}}(1,r,ae),r)},LogsAPI.prototype.getLoggerProvider=function(){var r,c;return null!==(c=null===(r=J[K])||void 0===r?void 0:r.call(J,1))&amp;&amp;void 0!==c?c:ae},LogsAPI.prototype.getLogger=function(r,c,u){return this.getLoggerProvider().getLogger(r,c,u)},LogsAPI.prototype.disable=function(){delete J[K]},LogsAPI}(),ue=se.getInstance(),le="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof u.g?u.g:{},pe="1.8.0",de=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;var he=function _makeCompatibilityCheck(r){var c=new Set([r]),u=new Set,p=r.match(de);if(!p)return function(){return!1};var y=+p[1],w=+p[2],x=+p[3];if(null!=p[4])return function isExactmatch(c){return c===r};function _reject(r){return u.add(r),!1}function _accept(r){return c.add(r),!0}return function isCompatible(r){if(c.has(r))return!0;if(u.has(r))return!1;var p=r.match(de);if(!p)return _reject(r);var k=+p[1],E=+p[2],I=+p[3];return null!=p[4]||y!==k?_reject(r):0===y?w===E&amp;&amp;x&lt;=I?_accept(r):_reject(r):w&lt;=E?_accept(r):_reject(r)}}(pe),ge=pe.split(".")[0],ve=Symbol.for("opentelemetry.js.api."+ge),we=le;function registerGlobal(r,c,u,p){var y;void 0===p&amp;&amp;(p=!1);var w=we[ve]=null!==(y=we[ve])&amp;&amp;void 0!==y?y:{version:pe};if(!p&amp;&amp;w[r]){var x=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+r);return u.error(x.stack||x.message),!1}if(w.version!==pe){x=new Error("@opentelemetry/api: Registration of version v"+w.version+" for "+r+" does not match previously registered API v"+pe);return u.error(x.stack||x.message),!1}return w[r]=c,u.debug("@opentelemetry/api: Registered a global for "+r+" v"+pe+"."),!0}function getGlobal(r){var c,u,p=null===(c=we[ve])||void 0===c?void 0:c.version;if(p&amp;&amp;he(p))return null===(u=we[ve])||void 0===u?void 0:u[r]}function unregisterGlobal(r,c){c.debug("@opentelemetry/api: Unregistering a global for "+r+" v"+pe+".");var u=we[ve];u&amp;&amp;delete u[r]}var Se,__read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x},__spreadArray=function(r,c,u){if(u||2===arguments.length)for(var p,y=0,w=c.length;y&lt;w;y++)!p&amp;&amp;y in c||(p||(p=Array.prototype.slice.call(c,0,y)),p[y]=c[y]);return r.concat(p||Array.prototype.slice.call(c))},Oe=function(){function DiagComponentLogger(r){this._namespace=r.namespace||"DiagComponentLogger"}return DiagComponentLogger.prototype.debug=function(){for(var r=[],c=0;c&lt;arguments.length;c++)r[c]=arguments[c];return logProxy("debug",this._namespace,r)},DiagComponentLogger.prototype.error=function(){for(var r=[],c=0;c&lt;arguments.length;c++)r[c]=arguments[c];return logProxy("error",this._namespace,r)},DiagComponentLogger.prototype.info=function(){for(var r=[],c=0;c&lt;arguments.length;c++)r[c]=arguments[c];return logProxy("info",this._namespace,r)},DiagComponentLogger.prototype.warn=function(){for(var r=[],c=0;c&lt;arguments.length;c++)r[c]=arguments[c];return logProxy("warn",this._namespace,r)},DiagComponentLogger.prototype.verbose=function(){for(var r=[],c=0;c&lt;arguments.length;c++)r[c]=arguments[c];return logProxy("verbose",this._namespace,r)},DiagComponentLogger}();function logProxy(r,c,u){var p=getGlobal("diag");if(p)return u.unshift(c),p[r].apply(p,__spreadArray([],__read(u),!1))}!function(r){r[r.NONE=0]="NONE",r[r.ERROR=30]="ERROR",r[r.WARN=50]="WARN",r[r.INFO=60]="INFO",r[r.DEBUG=70]="DEBUG",r[r.VERBOSE=80]="VERBOSE",r[r.ALL=9999]="ALL"}(Se||(Se={}));var diag_read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x},diag_spreadArray=function(r,c,u){if(u||2===arguments.length)for(var p,y=0,w=c.length;y&lt;w;y++)!p&amp;&amp;y in c||(p||(p=Array.prototype.slice.call(c,0,y)),p[y]=c[y]);return r.concat(p||Array.prototype.slice.call(c))},Pe=function(){function DiagAPI(){function _logProxy(r){return function(){for(var c=[],u=0;u&lt;arguments.length;u++)c[u]=arguments[u];var p=getGlobal("diag");if(p)return p[r].apply(p,diag_spreadArray([],diag_read(c),!1))}}var r=this;r.setLogger=function(c,u){var p,y,w;if(void 0===u&amp;&amp;(u={logLevel:Se.INFO}),c===r){var x=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return r.error(null!==(p=x.stack)&amp;&amp;void 0!==p?p:x.message),!1}"number"==typeof u&amp;&amp;(u={logLevel:u});var k=getGlobal("diag"),E=function createLogLevelDiagLogger(r,c){function _filterFunc(u,p){var y=c[u];return"function"==typeof y&amp;&amp;r&gt;=p?y.bind(c):function(){}}return r&lt;Se.NONE?r=Se.NONE:r&gt;Se.ALL&amp;&amp;(r=Se.ALL),c=c||{},{error:_filterFunc("error",Se.ERROR),warn:_filterFunc("warn",Se.WARN),info:_filterFunc("info",Se.INFO),debug:_filterFunc("debug",Se.DEBUG),verbose:_filterFunc("verbose",Se.VERBOSE)}}(null!==(y=u.logLevel)&amp;&amp;void 0!==y?y:Se.INFO,c);if(k&amp;&amp;!u.suppressOverrideMessage){var I=null!==(w=(new Error).stack)&amp;&amp;void 0!==w?w:"&lt;failed to generate stacktrace&gt;";k.warn("Current logger will be overwritten from "+I),E.warn("Current logger will overwrite one already registered from "+I)}return registerGlobal("diag",E,r,!0)},r.disable=function(){unregisterGlobal("diag",r)},r.createComponentLogger=function(r){return new Oe(r)},r.verbose=_logProxy("verbose"),r.debug=_logProxy("debug"),r.info=_logProxy("info"),r.warn=_logProxy("warn"),r.error=_logProxy("error")}return DiagAPI.instance=function(){return this._instance||(this._instance=new DiagAPI),this._instance},DiagAPI}(),Le=Symbol("BaggageEntryMetadata"),Ie=Pe.instance();var je,De="=",Ue=";";function parsePairKeyValue(r){var c=r.split(Ue);if(!(c.length&lt;=0)){var u=c.shift();if(u){var p=u.indexOf(De);if(!(p&lt;=0)){var y,w=decodeURIComponent(u.substring(0,p).trim()),x=decodeURIComponent(u.substring(p+1).trim());return c.length&gt;0&amp;&amp;(y=function baggageEntryMetadataFromString(r){return"string"!=typeof r&amp;&amp;(Ie.error("Cannot create baggage metadata from unknown type: "+typeof r),r=""),{__TYPE__:Le,toString:function(){return r}}}(c.join(Ue))),{key:w,value:x,metadata:y}}}}}function parseKeyPairsIntoRecord(r){return"string"!=typeof r||0===r.length?{}:r.split(",").map((function(r){return parsePairKeyValue(r)})).filter((function(r){return void 0!==r&amp;&amp;r.value.length&gt;0})).reduce((function(r,c){return r[c.key]=c.value,r}),{})}!function(r){r.AlwaysOff="always_off",r.AlwaysOn="always_on",r.ParentBasedAlwaysOff="parentbased_always_off",r.ParentBasedAlwaysOn="parentbased_always_on",r.ParentBasedTraceIdRatio="parentbased_traceidratio",r.TraceIdRatio="traceidratio"}(je||(je={}));var Fe="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof u.g?u.g:{},Ze=",",$e=["OTEL_SDK_DISABLED"];function isEnvVarABoolean(r){return $e.indexOf(r)&gt;-1}var Ge=["OTEL_BSP_EXPORT_TIMEOUT","OTEL_BSP_MAX_EXPORT_BATCH_SIZE","OTEL_BSP_MAX_QUEUE_SIZE","OTEL_BSP_SCHEDULE_DELAY","OTEL_BLRP_EXPORT_TIMEOUT","OTEL_BLRP_MAX_EXPORT_BATCH_SIZE","OTEL_BLRP_MAX_QUEUE_SIZE","OTEL_BLRP_SCHEDULE_DELAY","OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_EVENT_COUNT_LIMIT","OTEL_SPAN_LINK_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT","OTEL_EXPORTER_OTLP_TIMEOUT","OTEL_EXPORTER_OTLP_TRACES_TIMEOUT","OTEL_EXPORTER_OTLP_METRICS_TIMEOUT","OTEL_EXPORTER_OTLP_LOGS_TIMEOUT","OTEL_EXPORTER_JAEGER_AGENT_PORT"];function isEnvVarANumber(r){return Ge.indexOf(r)&gt;-1}var We=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS"];function isEnvVarAList(r){return We.indexOf(r)&gt;-1}var Ke=1/0,Je=128,Ye={OTEL_SDK_DISABLED:!1,CONTAINER_NAME:"",ECS_CONTAINER_METADATA_URI_V4:"",ECS_CONTAINER_METADATA_URI:"",HOSTNAME:"",KUBERNETES_SERVICE_HOST:"",NAMESPACE:"",OTEL_BSP_EXPORT_TIMEOUT:3e4,OTEL_BSP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BSP_MAX_QUEUE_SIZE:2048,OTEL_BSP_SCHEDULE_DELAY:5e3,OTEL_BLRP_EXPORT_TIMEOUT:3e4,OTEL_BLRP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BLRP_MAX_QUEUE_SIZE:2048,OTEL_BLRP_SCHEDULE_DELAY:5e3,OTEL_EXPORTER_JAEGER_AGENT_HOST:"",OTEL_EXPORTER_JAEGER_AGENT_PORT:6832,OTEL_EXPORTER_JAEGER_ENDPOINT:"",OTEL_EXPORTER_JAEGER_PASSWORD:"",OTEL_EXPORTER_JAEGER_USER:"",OTEL_EXPORTER_OTLP_ENDPOINT:"",OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:"",OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:"",OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:"",OTEL_EXPORTER_OTLP_HEADERS:"",OTEL_EXPORTER_OTLP_TRACES_HEADERS:"",OTEL_EXPORTER_OTLP_METRICS_HEADERS:"",OTEL_EXPORTER_OTLP_LOGS_HEADERS:"",OTEL_EXPORTER_OTLP_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_TRACES_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_METRICS_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_LOGS_TIMEOUT:1e4,OTEL_EXPORTER_ZIPKIN_ENDPOINT:"http://localhost:9411/api/v2/spans",OTEL_LOG_LEVEL:Se.INFO,OTEL_NO_PATCH_MODULES:[],OTEL_PROPAGATORS:["tracecontext","baggage"],OTEL_RESOURCE_ATTRIBUTES:"",OTEL_SERVICE_NAME:"",OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT:Ke,OTEL_ATTRIBUTE_COUNT_LIMIT:Je,OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT:Ke,OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT:Je,OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT:Ke,OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT:Je,OTEL_SPAN_EVENT_COUNT_LIMIT:128,OTEL_SPAN_LINK_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:128,OTEL_TRACES_EXPORTER:"",OTEL_TRACES_SAMPLER:je.ParentBasedAlwaysOn,OTEL_TRACES_SAMPLER_ARG:"",OTEL_LOGS_EXPORTER:"",OTEL_EXPORTER_OTLP_INSECURE:"",OTEL_EXPORTER_OTLP_TRACES_INSECURE:"",OTEL_EXPORTER_OTLP_METRICS_INSECURE:"",OTEL_EXPORTER_OTLP_LOGS_INSECURE:"",OTEL_EXPORTER_OTLP_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_COMPRESSION:"",OTEL_EXPORTER_OTLP_TRACES_COMPRESSION:"",OTEL_EXPORTER_OTLP_METRICS_COMPRESSION:"",OTEL_EXPORTER_OTLP_LOGS_COMPRESSION:"",OTEL_EXPORTER_OTLP_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_LOGS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:"cumulative"};function parseBoolean(r,c,u){if(void 0!==u[r]){var p=String(u[r]);c[r]="true"===p.toLowerCase()}}function parseNumber(r,c,u,p,y){if(void 0===p&amp;&amp;(p=-1/0),void 0===y&amp;&amp;(y=1/0),void 0!==u[r]){var w=Number(u[r]);isNaN(w)||(c[r]=w&lt;p?p:w&gt;y?y:w)}}function parseStringList(r,c,u,p){void 0===p&amp;&amp;(p=Ze);var y=u[r];"string"==typeof y&amp;&amp;(c[r]=y.split(p).map((function(r){return r.trim()})))}var Xe={ALL:Se.ALL,VERBOSE:Se.VERBOSE,DEBUG:Se.DEBUG,INFO:Se.INFO,WARN:Se.WARN,ERROR:Se.ERROR,NONE:Se.NONE};function setLogLevelFromEnv(r,c,u){var p=u[r];if("string"==typeof p){var y=Xe[p.toUpperCase()];null!=y&amp;&amp;(c[r]=y)}}function parseEnvironment(r){var c={};for(var u in Ye){var p=u;if("OTEL_LOG_LEVEL"===p)setLogLevelFromEnv(p,c,r);else if(isEnvVarABoolean(p))parseBoolean(p,c,r);else if(isEnvVarANumber(p))parseNumber(p,c,r);else if(isEnvVarAList(p))parseStringList(p,c,r);else{var y=r[p];null!=y&amp;&amp;(c[p]=String(y))}}return c}function getEnv(){var r=parseEnvironment(Fe);return Object.assign({},Ye,r)}var Qe,et=Pe.instance(),util_read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x},rt=1e4;function configureExporterTimeout(r){return"number"==typeof r?r&lt;=0?invalidTimeout(r,rt):r:function getExporterTimeoutFromEnv(){var r,c=Number(null!==(r=getEnv().OTEL_EXPORTER_OTLP_TRACES_TIMEOUT)&amp;&amp;void 0!==r?r:getEnv().OTEL_EXPORTER_OTLP_TIMEOUT);return c&lt;=0?invalidTimeout(c,rt):c}()}function invalidTimeout(r,c){return et.warn("Timeout must be greater than 0",r),c}!function(r){r[r.SPANS=0]="SPANS",r[r.METRICS=1]="METRICS",r[r.LOGS=2]="LOGS"}(Qe||(Qe={}));var nt,ot=(nt=function(r,c){return nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(r,c){r.__proto__=c}||function(r,c){for(var u in c)Object.prototype.hasOwnProperty.call(c,u)&amp;&amp;(r[u]=c[u])},nt(r,c)},function(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function __(){this.constructor=r}nt(r,c),r.prototype=null===c?Object.create(c):(__.prototype=c.prototype,new __)}),it=function(r){function OTLPExporterError(c,u,p){var y=r.call(this,c)||this;return y.name="OTLPExporterError",y.data=p,y.code=u,y}return ot(OTLPExporterError,r),OTLPExporterError}(Error),__assign=function(){return __assign=Object.assign||function(r){for(var c,u=1,p=arguments.length;u&lt;p;u++)for(var y in c=arguments[u])Object.prototype.hasOwnProperty.call(c,y)&amp;&amp;(r[y]=c[y]);return r},__assign.apply(this,arguments)},browser_util_read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x};function sendWithXhr(r,c,u,p,y,w){var x,k,E=!1,I=setTimeout((function(){if(clearTimeout(x),E=!0,k.readyState===XMLHttpRequest.DONE){var r=new it("Request Timeout");w(r)}else k.abort()}),p),sendWithRetry=function(p,K){void 0===p&amp;&amp;(p=5),void 0===K&amp;&amp;(K=1e3),(k=new XMLHttpRequest).open("POST",c);Object.entries(__assign(__assign({},{Accept:"application/json","Content-Type":"application/json"}),u)).forEach((function(r){var c=browser_util_read(r,2),u=c[0],p=c[1];k.setRequestHeader(u,p)})),k.send(r),k.onreadystatechange=function(){if(k.readyState===XMLHttpRequest.DONE&amp;&amp;!1===E)if(k.status&gt;=200&amp;&amp;k.status&lt;=299)et.debug("xhr success",r),y(),clearTimeout(I),clearTimeout(x);else if(k.status&amp;&amp;function isExportRetryable(r){return[429,502,503,504].includes(r)}(k.status)&amp;&amp;p&gt;0){var c=void 0;K*=1.5,c=k.getResponseHeader("Retry-After")?function parseRetryAfterToMills(r){if(null==r)return-1;var c=Number.parseInt(r,10);if(Number.isInteger(c))return c&gt;0?1e3*c:-1;var u=new Date(r).getTime()-Date.now();return u&gt;=0?u:0}(k.getResponseHeader("Retry-After")):Math.round(Math.random()*(5e3-K)+K),x=setTimeout((function(){sendWithRetry(p-1,K)}),c)}else{var u=new it("Failed to export with XHR (status: "+k.status+")",k.status);w(u),clearTimeout(I),clearTimeout(x)}},k.onabort=function(){if(E){var r=new it("Request Timeout");w(r)}clearTimeout(I),clearTimeout(x)},k.onerror=function(){if(E){var r=new it("Request Timeout");w(r)}clearTimeout(I),clearTimeout(x)}};sendWithRetry()}var st,ct=function(){function Deferred(){var r=this;this._promise=new Promise((function(c,u){r._resolve=c,r._reject=u}))}return Object.defineProperty(Deferred.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),Deferred.prototype.resolve=function(r){this._resolve(r)},Deferred.prototype.reject=function(r){this._reject(r)},Deferred}(),callback_read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x},callback_spreadArray=function(r,c,u){if(u||2===arguments.length)for(var p,y=0,w=c.length;y&lt;w;y++)!p&amp;&amp;y in c||(p||(p=Array.prototype.slice.call(c,0,y)),p[y]=c[y]);return r.concat(p||Array.prototype.slice.call(c))},ut=function(){function BindOnceFuture(r,c){this._callback=r,this._that=c,this._isCalled=!1,this._deferred=new ct}return Object.defineProperty(BindOnceFuture.prototype,"isCalled",{get:function(){return this._isCalled},enumerable:!1,configurable:!0}),Object.defineProperty(BindOnceFuture.prototype,"promise",{get:function(){return this._deferred.promise},enumerable:!1,configurable:!0}),BindOnceFuture.prototype.call=function(){for(var r,c=this,u=[],p=0;p&lt;arguments.length;p++)u[p]=arguments[p];if(!this._isCalled){this._isCalled=!0;try{Promise.resolve((r=this._callback).call.apply(r,callback_spreadArray([this._that],callback_read(u),!1))).then((function(r){return c._deferred.resolve(r)}),(function(r){return c._deferred.reject(r)}))}catch(r){this._deferred.reject(r)}}return this._deferred.promise},BindOnceFuture}();!function(r){r[r.SUCCESS=0]="SUCCESS",r[r.FAILED=1]="FAILED"}(st||(st={}));var lt=function(){function OTLPExporterBase(r){void 0===r&amp;&amp;(r={}),this._sendingPromises=[],this.url=this.getDefaultUrl(r),"string"==typeof r.hostname&amp;&amp;(this.hostname=r.hostname),this.shutdown=this.shutdown.bind(this),this._shutdownOnce=new ut(this._shutdown,this),this._concurrencyLimit="number"==typeof r.concurrencyLimit?r.concurrencyLimit:30,this.timeoutMillis=configureExporterTimeout(r.timeoutMillis),this.onInit(r)}return OTLPExporterBase.prototype.export=function(r,c){this._shutdownOnce.isCalled?c({code:st.FAILED,error:new Error("Exporter has been shutdown")}):this._sendingPromises.length&gt;=this._concurrencyLimit?c({code:st.FAILED,error:new Error("Concurrent export limit reached")}):this._export(r).then((function(){c({code:st.SUCCESS})})).catch((function(r){c({code:st.FAILED,error:r})}))},OTLPExporterBase.prototype._export=function(r){var c=this;return new Promise((function(u,p){try{et.debug("items to be sent",r),c.send(r,u,p)}catch(r){p(r)}}))},OTLPExporterBase.prototype.shutdown=function(){return this._shutdownOnce.call()},OTLPExporterBase.prototype.forceFlush=function(){return Promise.all(this._sendingPromises).then((function(){}))},OTLPExporterBase.prototype._shutdown=function(){return et.debug("shutdown started"),this.onShutdown(),this.forceFlush()},OTLPExporterBase}(),pt=function(){var extendStatics=function(r,c){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(r,c){r.__proto__=c}||function(r,c){for(var u in c)Object.prototype.hasOwnProperty.call(c,u)&amp;&amp;(r[u]=c[u])},extendStatics(r,c)};return function(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function __(){this.constructor=r}extendStatics(r,c),r.prototype=null===c?Object.create(c):(__.prototype=c.prototype,new __)}}(),dt=function(r){function OTLPExporterBrowserBase(c){void 0===c&amp;&amp;(c={});var u=r.call(this,c)||this;return u._useXHR=!1,u._useXHR=!!c.headers||"function"!=typeof navigator.sendBeacon,u._useXHR?u._headers=Object.assign({},function parseHeaders(r){void 0===r&amp;&amp;(r={});var c={};return Object.entries(r).forEach((function(r){var u=util_read(r,2),p=u[0],y=u[1];void 0!==y?c[p]=String(y):et.warn('Header "'+p+'" has wrong value and will be ignored')})),c}(c.headers),parseKeyPairsIntoRecord(getEnv().OTEL_EXPORTER_OTLP_HEADERS)):u._headers={},u}return pt(OTLPExporterBrowserBase,r),OTLPExporterBrowserBase.prototype.onInit=function(){Fe.addEventListener("unload",this.shutdown)},OTLPExporterBrowserBase.prototype.onShutdown=function(){Fe.removeEventListener("unload",this.shutdown)},OTLPExporterBrowserBase.prototype.send=function(r,c,u){var p=this;if(this._shutdownOnce.isCalled)et.debug("Shutdown already started. Cannot send objects");else{var y=this.convert(r),w=JSON.stringify(y),x=new Promise((function(r,c){p._useXHR?sendWithXhr(w,p.url,p._headers,p.timeoutMillis,r,c):function sendWithBeacon(r,c,u,p,y){navigator.sendBeacon(c,new Blob([r],u))?(et.debug("sendBeacon - can send",r),p()):y(new it("sendBeacon - cannot send "+r))}(w,p.url,{type:"application/json"},r,c)})).then(c,u);this._sendingPromises.push(x);var popPromise=function(){var r=p._sendingPromises.indexOf(x);p._sendingPromises.splice(r,1)};x.then(popPromise,popPromise)}},OTLPExporterBrowserBase}(lt),ft=u(12653);var ht=function(){var extendStatics=function(r,c){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(r,c){r.__proto__=c}||function(r,c){for(var u in c)Object.prototype.hasOwnProperty.call(c,u)&amp;&amp;(r[u]=c[u])},extendStatics(r,c)};return function(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function __(){this.constructor=r}extendStatics(r,c),r.prototype=null===c?Object.create(c):(__.prototype=c.prototype,new __)}}(),OTLPProtoExporterBrowserBase_assign=function(){return OTLPProtoExporterBrowserBase_assign=Object.assign||function(r){for(var c,u=1,p=arguments.length;u&lt;p;u++)for(var y in c=arguments[u])Object.prototype.hasOwnProperty.call(c,y)&amp;&amp;(r[y]=c[y]);return r},OTLPProtoExporterBrowserBase_assign.apply(this,arguments)},mt=function(r){function OTLPProtoExporterBrowserBase(c){return void 0===c&amp;&amp;(c={}),r.call(this,c)||this}return ht(OTLPProtoExporterBrowserBase,r),OTLPProtoExporterBrowserBase.prototype.send=function(r,c,u){if(this._shutdownOnce.isCalled)et.debug("Shutdown already started. Cannot send objects");else{var p=this.convert(r),y=function getExportRequestProto(r){return r===Qe.SPANS?ft.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest:r===Qe.LOGS?ft.opentelemetry.proto.collector.logs.v1.ExportLogsServiceRequest:ft.opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest}(this.getServiceClientType()),w=y.create(p);if(w){var x=y.encode(w).finish();x&amp;&amp;sendWithXhr(new Blob([x],{type:"application/x-protobuf"}),this.url,OTLPProtoExporterBrowserBase_assign(OTLPProtoExporterBrowserBase_assign({},this._headers),{"Content-Type":"application/x-protobuf",Accept:"application/x-protobuf"}),this.timeoutMillis,c,u)}else u(new it("No proto"))}},OTLPProtoExporterBrowserBase}(dt),yt=performance,gt=Math.pow(10,6),vt=Math.pow(10,9);function millisToHrTime(r){var c=r/1e3;return[Math.trunc(c),Math.round(r%1e3*gt)]}function getTimeOrigin(){var r=yt.timeOrigin;if("number"!=typeof r){var c=yt;r=c.timing&amp;&amp;c.timing.fetchStart}return r}function hrTime(r){return function addHrTimes(r,c){var u=[r[0]+c[0],r[1]+c[1]];u[1]&gt;=vt&amp;&amp;(u[1]-=vt,u[0]+=1);return u}(millisToHrTime(getTimeOrigin()),millisToHrTime("number"==typeof r?r:yt.now()))}function timeInputToHrTime(r){if(isTimeInputHrTime(r))return r;if("number"==typeof r)return r&lt;getTimeOrigin()?hrTime(r):millisToHrTime(r);if(r instanceof Date)return millisToHrTime(r.getTime());throw TypeError("Invalid input type")}function isTimeInputHrTime(r){return Array.isArray(r)&amp;&amp;2===r.length&amp;&amp;"number"==typeof r[0]&amp;&amp;"number"==typeof r[1]}function intValue(r){return r&gt;=48&amp;&amp;r&lt;=57?r-48:r&gt;=97&amp;&amp;r&lt;=102?r-87:r-55}function hexToBinary(r){for(var c=new Uint8Array(r.length/2),u=0,p=0;p&lt;r.length;p+=2){var y=intValue(r.charCodeAt(p)),w=intValue(r.charCodeAt(p+1));c[u++]=y&lt;&lt;4|w}return c}var bt=BigInt(1e9);function hrTimeToNanos(r){return BigInt(r[0])*bt+BigInt(r[1])}function encodeAsLongBits(r){return function toLongBits(r){return{low:Number(BigInt.asUintN(32,r)),high:Number(BigInt.asUintN(32,r&gt;&gt;BigInt(32)))}}(hrTimeToNanos(r))}var _t="undefined"!=typeof BigInt?function encodeAsString(r){return hrTimeToNanos(r).toString()}:function hrTimeToNanoseconds(r){return r[0]*vt+r[1]};function identity(r){return r}function optionalHexToBinary(r){if(void 0!==r)return hexToBinary(r)}var wt={encodeHrTime:encodeAsLongBits,encodeSpanContext:hexToBinary,encodeOptionalSpanContext:optionalHexToBinary};var internal_read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x};function toKeyValue(r,c){return{key:r,value:toAnyValue(c)}}function toAnyValue(r){var c=typeof r;return"string"===c?{stringValue:r}:"number"===c?Number.isInteger(r)?{intValue:r}:{doubleValue:r}:"boolean"===c?{boolValue:r}:r instanceof Uint8Array?{bytesValue:r}:Array.isArray(r)?{arrayValue:{values:r.map(toAnyValue)}}:"object"===c&amp;&amp;null!=r?{kvlistValue:{values:Object.entries(r).map((function(r){var c=internal_read(r,2);return toKeyValue(c[0],c[1])}))}}:{}}var __values=function(r){var c="function"==typeof Symbol&amp;&amp;Symbol.iterator,u=c&amp;&amp;r[c],p=0;if(u)return u.call(r);if(r&amp;&amp;"number"==typeof r.length)return{next:function(){return r&amp;&amp;p&gt;=r.length&amp;&amp;(r=void 0),{value:r&amp;&amp;r[p++],done:!r}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},logs_read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x};function createExportLogsServiceRequest(r,c){var u=function getOtlpEncoder(r){var c,u;if(void 0===r)return wt;var p=null===(c=r.useLongBits)||void 0===c||c,y=null!==(u=r.useHex)&amp;&amp;void 0!==u&amp;&amp;u;return{encodeHrTime:p?encodeAsLongBits:_t,encodeSpanContext:y?identity:hexToBinary,encodeOptionalSpanContext:y?identity:optionalHexToBinary}}(c);return{resourceLogs:logRecordsToResourceLogs(r,u)}}function logRecordsToResourceLogs(r,c){var u=function createResourceMap(r){var c,u,p=new Map;try{for(var y=__values(r),w=y.next();!w.done;w=y.next()){var x=w.value,k=x.resource,E=x.instrumentationScope,I=E.name,K=E.version,J=void 0===K?"":K,oe=E.schemaUrl,ie=void 0===oe?"":oe,ae=p.get(k);ae||(ae=new Map,p.set(k,ae));var se=I+"@"+J+":"+ie,ue=ae.get(se);ue||(ue=[],ae.set(se,ue)),ue.push(x)}}catch(r){c={error:r}}finally{try{w&amp;&amp;!w.done&amp;&amp;(u=y.return)&amp;&amp;u.call(y)}finally{if(c)throw c.error}}return p}(r);return Array.from(u,(function(r){var u,p=logs_read(r,2),y=p[0],w=p[1];return{resource:{attributes:(u=y.attributes,Object.keys(u).map((function(r){return toKeyValue(r,u[r])}))),droppedAttributesCount:0},scopeLogs:Array.from(w,(function(r){var u=logs_read(r,2)[1],p=u[0].instrumentationScope,y=p.name,w=p.version,x=p.schemaUrl;return{scope:{name:y,version:w},logRecords:u.map((function(r){return function toLogRecord(r,c){var u,p,y;return{timeUnixNano:c.encodeHrTime(r.hrTime),observedTimeUnixNano:c.encodeHrTime(r.hrTimeObserved),severityNumber:r.severityNumber,severityText:r.severityText,body:toAnyValue(r.body),attributes:toLogAttributes(r.attributes),droppedAttributesCount:r.droppedAttributesCount,flags:null===(u=r.spanContext)||void 0===u?void 0:u.traceFlags,traceId:c.encodeOptionalSpanContext(null===(p=r.spanContext)||void 0===p?void 0:p.traceId),spanId:c.encodeOptionalSpanContext(null===(y=r.spanContext)||void 0===y?void 0:y.spanId)}}(r,c)})),schemaUrl:x}})),schemaUrl:void 0}}))}function toLogAttributes(r){return Object.keys(r).map((function(c){return toKeyValue(c,r[c])}))}var xt=function(){var extendStatics=function(r,c){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(r,c){r.__proto__=c}||function(r,c){for(var u in c)Object.prototype.hasOwnProperty.call(c,u)&amp;&amp;(r[u]=c[u])},extendStatics(r,c)};return function(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function __(){this.constructor=r}extendStatics(r,c),r.prototype=null===c?Object.create(c):(__.prototype=c.prototype,new __)}}(),kt="v1/logs",St="http://localhost:4318/"+kt,Et=function(r){function OTLPLogExporter(c){void 0===c&amp;&amp;(c={});var u=r.call(this,c)||this;return u._headers=Object.assign(u._headers,parseKeyPairsIntoRecord(getEnv().OTEL_EXPORTER_OTLP_LOGS_HEADERS)),u}return xt(OTLPLogExporter,r),OTLPLogExporter.prototype.convert=function(r){return createExportLogsServiceRequest(r)},OTLPLogExporter.prototype.getDefaultUrl=function(r){return"string"==typeof r.url?r.url:getEnv().OTEL_EXPORTER_OTLP_LOGS_ENDPOINT.length&gt;0?function appendRootPathToUrlIfNeeded(r){try{var c=new URL(r);return""===c.pathname&amp;&amp;(c.pathname=c.pathname+"/"),c.toString()}catch(c){return et.warn("Could not parse export URL: '"+r+"'"),r}}(getEnv().OTEL_EXPORTER_OTLP_LOGS_ENDPOINT):getEnv().OTEL_EXPORTER_OTLP_ENDPOINT.length&gt;0?function appendResourcePathToUrl(r,c){return r.endsWith("/")||(r+="/"),r+c}(getEnv().OTEL_EXPORTER_OTLP_ENDPOINT,kt):St},OTLPLogExporter.prototype.getServiceClientType=function(){return Qe.LOGS},OTLPLogExporter}(mt);function createConstMap(r){for(var c={},u=r.length,p=0;p&lt;u;p++){var y=r[p];y&amp;&amp;(c[String(y).toUpperCase().replace(/[-.]/g,"_")]=y)}return c}var Tt,Ot="cloud.provider",Ct="cloud.account.id",At="cloud.region",Pt="cloud.availability_zone",Lt="cloud.platform",It="aws.ecs.container.arn",Rt="aws.ecs.cluster.arn",jt="aws.ecs.launchtype",Nt="aws.ecs.task.arn",Dt="aws.ecs.task.family",Mt="aws.ecs.task.revision",Ut="aws.eks.cluster.arn",Ft="aws.log.group.names",Bt="aws.log.group.arns",qt="aws.log.stream.names",Zt="aws.log.stream.arns",Vt="container.name",Ht="container.id",$t="container.runtime",zt="container.image.name",Gt="container.image.tag",Wt="deployment.environment",Kt="device.id",Jt="device.model.identifier",Yt="device.model.name",Xt="faas.name",Qt="faas.id",er="faas.version",rr="faas.instance",nr="faas.max_memory",or="host.id",ir="host.name",ar="host.type",sr="host.arch",cr="host.image.name",ur="host.image.id",lr="host.image.version",pr="k8s.cluster.name",dr="k8s.node.name",fr="k8s.node.uid",mr="k8s.namespace.name",yr="k8s.pod.uid",gr="k8s.pod.name",vr="k8s.container.name",br="k8s.replicaset.uid",_r="k8s.replicaset.name",wr="k8s.deployment.uid",xr="k8s.deployment.name",kr="k8s.statefulset.uid",Sr="k8s.statefulset.name",Er="k8s.daemonset.uid",Tr="k8s.daemonset.name",Or="k8s.job.uid",Cr="k8s.job.name",Ar="k8s.cronjob.uid",Pr="k8s.cronjob.name",Lr="os.type",Ir="os.description",Rr="os.name",jr="os.version",Nr="process.pid",Dr="process.executable.name",Mr="process.executable.path",Ur="process.command",Fr="process.command_line",Br="process.command_args",qr="process.owner",Zr="process.runtime.name",Vr="process.runtime.version",Hr="process.runtime.description",$r="service.name",zr="service.namespace",Gr="service.instance.id",Wr="service.version",Kr="telemetry.sdk.name",Jr="telemetry.sdk.language",Yr="telemetry.sdk.version",Xr="telemetry.auto.version",Qr="webengine.name",en="webengine.version",tn="webengine.description",rn=$r,nn=createConstMap([Ot,Ct,At,Pt,Lt,It,Rt,jt,Nt,Dt,Mt,Ut,Ft,Bt,qt,Zt,Vt,Ht,$t,zt,Gt,Wt,Kt,Jt,Yt,Xt,Qt,er,rr,nr,or,ir,ar,sr,cr,ur,lr,pr,dr,fr,mr,yr,gr,vr,br,_r,wr,xr,kr,Sr,Er,Tr,Or,Cr,Ar,Pr,Lr,Ir,Rr,jr,Nr,Dr,Mr,Ur,Fr,Br,qr,Zr,Vr,Hr,$r,zr,Gr,Wr,Kr,Jr,Yr,Xr,Qr,en,tn]),an="dotnet",sn="erlang",cn="java",un="nodejs",ln="python",pn="ruby",dn="webjs",fn=createConstMap(["cpp",an,sn,"go",cn,un,"php",ln,pn,dn]),hn=((Tt={})[nn.TELEMETRY_SDK_NAME]="opentelemetry",Tt[nn.PROCESS_RUNTIME_NAME]="browser",Tt[nn.TELEMETRY_SDK_LANGUAGE]=fn.WEBJS,Tt[nn.TELEMETRY_SDK_VERSION]="1.22.0",Tt);var mn,Resource_assign=function(){return Resource_assign=Object.assign||function(r){for(var c,u=1,p=arguments.length;u&lt;p;u++)for(var y in c=arguments[u])Object.prototype.hasOwnProperty.call(c,y)&amp;&amp;(r[y]=c[y]);return r},Resource_assign.apply(this,arguments)},__awaiter=function(r,c,u,p){return new(u||(u=Promise))((function(y,w){function fulfilled(r){try{step(p.next(r))}catch(r){w(r)}}function rejected(r){try{step(p.throw(r))}catch(r){w(r)}}function step(r){r.done?y(r.value):function adopt(r){return r instanceof u?r:new u((function(c){c(r)}))}(r.value).then(fulfilled,rejected)}step((p=p.apply(r,c||[])).next())}))},__generator=function(r,c){var u,p,y,w,x={label:0,sent:function(){if(1&amp;y[0])throw y[1];return y[1]},trys:[],ops:[]};return w={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&amp;&amp;(w[Symbol.iterator]=function(){return this}),w;function verb(w){return function(k){return function step(w){if(u)throw new TypeError("Generator is already executing.");for(;x;)try{if(u=1,p&amp;&amp;(y=2&amp;w[0]?p.return:w[0]?p.throw||((y=p.return)&amp;&amp;y.call(p),0):p.next)&amp;&amp;!(y=y.call(p,w[1])).done)return y;switch(p=0,y&amp;&amp;(w=[2&amp;w[0],y.value]),w[0]){case 0:case 1:y=w;break;case 4:return x.label++,{value:w[1],done:!1};case 5:x.label++,p=w[1],w=[0];continue;case 7:w=x.ops.pop(),x.trys.pop();continue;default:if(!(y=x.trys,(y=y.length&gt;0&amp;&amp;y[y.length-1])||6!==w[0]&amp;&amp;2!==w[0])){x=0;continue}if(3===w[0]&amp;&amp;(!y||w[1]&gt;y[0]&amp;&amp;w[1]&lt;y[3])){x.label=w[1];break}if(6===w[0]&amp;&amp;x.label&lt;y[1]){x.label=y[1],y=w;break}if(y&amp;&amp;x.label&lt;y[2]){x.label=y[2],x.ops.push(w);break}y[2]&amp;&amp;x.ops.pop(),x.trys.pop();continue}w=c.call(r,x)}catch(r){w=[6,r],p=0}finally{u=y=0}if(5&amp;w[0])throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}([w,k])}}},Resource_read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x},yn=function(){function Resource(r,c){var u,p=this;this._attributes=r,this.asyncAttributesPending=null!=c,this._syncAttributes=null!==(u=this._attributes)&amp;&amp;void 0!==u?u:{},this._asyncAttributesPromise=null==c?void 0:c.then((function(r){return p._attributes=Object.assign({},p._attributes,r),p.asyncAttributesPending=!1,r}),(function(r){return et.debug("a resource's async attributes promise rejected: %s",r),p.asyncAttributesPending=!1,{}}))}return Resource.empty=function(){return Resource.EMPTY},Resource.default=function(){var r;return new Resource(((r={})[nn.SERVICE_NAME]="unknown_service",r[nn.TELEMETRY_SDK_LANGUAGE]=hn[nn.TELEMETRY_SDK_LANGUAGE],r[nn.TELEMETRY_SDK_NAME]=hn[nn.TELEMETRY_SDK_NAME],r[nn.TELEMETRY_SDK_VERSION]=hn[nn.TELEMETRY_SDK_VERSION],r))},Object.defineProperty(Resource.prototype,"attributes",{get:function(){var r;return this.asyncAttributesPending&amp;&amp;et.error("Accessing resource attributes before async attributes settled"),null!==(r=this._attributes)&amp;&amp;void 0!==r?r:{}},enumerable:!1,configurable:!0}),Resource.prototype.waitForAsyncAttributes=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){switch(r.label){case 0:return this.asyncAttributesPending?[4,this._asyncAttributesPromise]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))},Resource.prototype.merge=function(r){var c,u=this;if(!r)return this;var p=Resource_assign(Resource_assign({},this._syncAttributes),null!==(c=r._syncAttributes)&amp;&amp;void 0!==c?c:r.attributes);if(!this._asyncAttributesPromise&amp;&amp;!r._asyncAttributesPromise)return new Resource(p);var y=Promise.all([this._asyncAttributesPromise,r._asyncAttributesPromise]).then((function(c){var p,y=Resource_read(c,2),w=y[0],x=y[1];return Resource_assign(Resource_assign(Resource_assign(Resource_assign({},u._syncAttributes),w),null!==(p=r._syncAttributes)&amp;&amp;void 0!==p?p:r.attributes),x)}));return new Resource(p,y)},Resource.EMPTY=new Resource({}),Resource}(),gn="process.runtime.name",vn="service.name",bn="telemetry.sdk.name",_n="telemetry.sdk.language",wn="telemetry.sdk.version",xn=((mn={})[bn]="opentelemetry",mn[gn]="browser",mn[_n]="webjs",mn[wn]="1.21.0",mn);var esm_Resource_assign=function(){return esm_Resource_assign=Object.assign||function(r){for(var c,u=1,p=arguments.length;u&lt;p;u++)for(var y in c=arguments[u])Object.prototype.hasOwnProperty.call(c,y)&amp;&amp;(r[y]=c[y]);return r},esm_Resource_assign.apply(this,arguments)},Resource_awaiter=function(r,c,u,p){return new(u||(u=Promise))((function(y,w){function fulfilled(r){try{step(p.next(r))}catch(r){w(r)}}function rejected(r){try{step(p.throw(r))}catch(r){w(r)}}function step(r){r.done?y(r.value):function adopt(r){return r instanceof u?r:new u((function(c){c(r)}))}(r.value).then(fulfilled,rejected)}step((p=p.apply(r,c||[])).next())}))},Resource_generator=function(r,c){var u,p,y,w,x={label:0,sent:function(){if(1&amp;y[0])throw y[1];return y[1]},trys:[],ops:[]};return w={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&amp;&amp;(w[Symbol.iterator]=function(){return this}),w;function verb(w){return function(k){return function step(w){if(u)throw new TypeError("Generator is already executing.");for(;x;)try{if(u=1,p&amp;&amp;(y=2&amp;w[0]?p.return:w[0]?p.throw||((y=p.return)&amp;&amp;y.call(p),0):p.next)&amp;&amp;!(y=y.call(p,w[1])).done)return y;switch(p=0,y&amp;&amp;(w=[2&amp;w[0],y.value]),w[0]){case 0:case 1:y=w;break;case 4:return x.label++,{value:w[1],done:!1};case 5:x.label++,p=w[1],w=[0];continue;case 7:w=x.ops.pop(),x.trys.pop();continue;default:if(!(y=x.trys,(y=y.length&gt;0&amp;&amp;y[y.length-1])||6!==w[0]&amp;&amp;2!==w[0])){x=0;continue}if(3===w[0]&amp;&amp;(!y||w[1]&gt;y[0]&amp;&amp;w[1]&lt;y[3])){x.label=w[1];break}if(6===w[0]&amp;&amp;x.label&lt;y[1]){x.label=y[1],y=w;break}if(y&amp;&amp;x.label&lt;y[2]){x.label=y[2],x.ops.push(w);break}y[2]&amp;&amp;x.ops.pop(),x.trys.pop();continue}w=c.call(r,x)}catch(r){w=[6,r],p=0}finally{u=y=0}if(5&amp;w[0])throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}([w,k])}}},esm_Resource_read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x},kn=function(){function Resource(r,c){var u,p=this;this._attributes=r,this.asyncAttributesPending=null!=c,this._syncAttributes=null!==(u=this._attributes)&amp;&amp;void 0!==u?u:{},this._asyncAttributesPromise=null==c?void 0:c.then((function(r){return p._attributes=Object.assign({},p._attributes,r),p.asyncAttributesPending=!1,r}),(function(r){return et.debug("a resource's async attributes promise rejected: %s",r),p.asyncAttributesPending=!1,{}}))}return Resource.empty=function(){return Resource.EMPTY},Resource.default=function(){var r;return new Resource(((r={})[vn]="unknown_service",r[_n]=xn[_n],r[bn]=xn[bn],r[wn]=xn[wn],r))},Object.defineProperty(Resource.prototype,"attributes",{get:function(){var r;return this.asyncAttributesPending&amp;&amp;et.error("Accessing resource attributes before async attributes settled"),null!==(r=this._attributes)&amp;&amp;void 0!==r?r:{}},enumerable:!1,configurable:!0}),Resource.prototype.waitForAsyncAttributes=function(){return Resource_awaiter(this,void 0,void 0,(function(){return Resource_generator(this,(function(r){switch(r.label){case 0:return this.asyncAttributesPending?[4,this._asyncAttributesPromise]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))},Resource.prototype.merge=function(r){var c,u=this;if(!r)return this;var p=esm_Resource_assign(esm_Resource_assign({},this._syncAttributes),null!==(c=r._syncAttributes)&amp;&amp;void 0!==c?c:r.attributes);if(!this._asyncAttributesPromise&amp;&amp;!r._asyncAttributesPromise)return new Resource(p);var y=Promise.all([this._asyncAttributesPromise,r._asyncAttributesPromise]).then((function(c){var p,y=esm_Resource_read(c,2),w=y[0],x=y[1];return esm_Resource_assign(esm_Resource_assign(esm_Resource_assign(esm_Resource_assign({},u._syncAttributes),w),null!==(p=r._syncAttributes)&amp;&amp;void 0!==p?p:r.attributes),x)}));return new Resource(p,y)},Resource.EMPTY=new Resource({}),Resource}(),Sn="[object Object]",En="[object Null]",Tn="[object Undefined]",On=Function.prototype.toString,Cn=On.call(Object),An=function overArg(r,c){return function(u){return r(c(u))}}(Object.getPrototypeOf,Object),Pn=Object.prototype,Ln=Pn.hasOwnProperty,In=Symbol?Symbol.toStringTag:void 0,Rn=Pn.toString;function isPlainObject(r){if(!function isObjectLike(r){return null!=r&amp;&amp;"object"==typeof r}(r)||function baseGetTag(r){if(null==r)return void 0===r?Tn:En;return In&amp;&amp;In in Object(r)?function getRawTag(r){var c=Ln.call(r,In),u=r[In],p=!1;try{r[In]=void 0,p=!0}catch(r){}var y=Rn.call(r);p&amp;&amp;(c?r[In]=u:delete r[In]);return y}(r):function objectToString(r){return Rn.call(r)}(r)}(r)!==Sn)return!1;var c=An(r);if(null===c)return!0;var u=Ln.call(c,"constructor")&amp;&amp;c.constructor;return"function"==typeof u&amp;&amp;u instanceof u&amp;&amp;On.call(u)===Cn}var jn=20;function takeValue(r){return isArray(r)?r.slice():r}function mergeTwoObjects(r,c,u,p){var y;if(void 0===u&amp;&amp;(u=0),!(u&gt;jn)){if(u++,isPrimitive(r)||isPrimitive(c)||isFunction(c))y=takeValue(c);else if(isArray(r)){if(y=r.slice(),isArray(c))for(var w=0,x=c.length;w&lt;x;w++)y.push(takeValue(c[w]));else if(isObject(c))for(w=0,x=(k=Object.keys(c)).length;w&lt;x;w++){y[E=k[w]]=takeValue(c[E])}}else if(isObject(r))if(isObject(c)){if(!function shouldMerge(r,c){if(!isPlainObject(r)||!isPlainObject(c))return!1;return!0}(r,c))return c;y=Object.assign({},r);var k;for(w=0,x=(k=Object.keys(c)).length;w&lt;x;w++){var E,I=c[E=k[w]];if(isPrimitive(I))void 0===I?delete y[E]:y[E]=I;else{var K=y[E],J=I;if(wasObjectReferenced(r,E,p)||wasObjectReferenced(c,E,p))delete y[E];else{if(isObject(K)&amp;&amp;isObject(J)){var oe=p.get(K)||[],ie=p.get(J)||[];oe.push({obj:r,key:E}),ie.push({obj:c,key:E}),p.set(K,oe),p.set(J,ie)}y[E]=mergeTwoObjects(y[E],I,u,p)}}}}else y=c;return y}}function wasObjectReferenced(r,c,u){for(var p=u.get(r[c])||[],y=0,w=p.length;y&lt;w;y++){var x=p[y];if(x.key===c&amp;&amp;x.obj===r)return!0}return!1}function isArray(r){return Array.isArray(r)}function isFunction(r){return"function"==typeof r}function isObject(r){return!isPrimitive(r)&amp;&amp;!isArray(r)&amp;&amp;!isFunction(r)&amp;&amp;"object"==typeof r}function isPrimitive(r){return"string"==typeof r||"number"==typeof r||"boolean"==typeof r||void 0===r||r instanceof Date||r instanceof RegExp||null===r}function createContextKey(r){return Symbol.for(r)}var Nn,Dn=function BaseContext(r){var c=this;c._currentContext=r?new Map(r):new Map,c.getValue=function(r){return c._currentContext.get(r)},c.setValue=function(r,u){var p=new BaseContext(c._currentContext);return p._currentContext.set(r,u),p},c.deleteValue=function(r){var u=new BaseContext(c._currentContext);return u._currentContext.delete(r),u}},Mn=new Dn,NoopContextManager_read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x},NoopContextManager_spreadArray=function(r,c,u){if(u||2===arguments.length)for(var p,y=0,w=c.length;y&lt;w;y++)!p&amp;&amp;y in c||(p||(p=Array.prototype.slice.call(c,0,y)),p[y]=c[y]);return r.concat(p||Array.prototype.slice.call(c))},Un=function(){function NoopContextManager(){}return NoopContextManager.prototype.active=function(){return Mn},NoopContextManager.prototype.with=function(r,c,u){for(var p=[],y=3;y&lt;arguments.length;y++)p[y-3]=arguments[y];return c.call.apply(c,NoopContextManager_spreadArray([u],NoopContextManager_read(p),!1))},NoopContextManager.prototype.bind=function(r,c){return c},NoopContextManager.prototype.enable=function(){return this},NoopContextManager.prototype.disable=function(){return this},NoopContextManager}(),context_read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x},context_spreadArray=function(r,c,u){if(u||2===arguments.length)for(var p,y=0,w=c.length;y&lt;w;y++)!p&amp;&amp;y in c||(p||(p=Array.prototype.slice.call(c,0,y)),p[y]=c[y]);return r.concat(p||Array.prototype.slice.call(c))},Fn="context",Bn=new Un,qn=function(){function ContextAPI(){}return ContextAPI.getInstance=function(){return this._instance||(this._instance=new ContextAPI),this._instance},ContextAPI.prototype.setGlobalContextManager=function(r){return registerGlobal(Fn,r,Pe.instance())},ContextAPI.prototype.active=function(){return this._getContextManager().active()},ContextAPI.prototype.with=function(r,c,u){for(var p,y=[],w=3;w&lt;arguments.length;w++)y[w-3]=arguments[w];return(p=this._getContextManager()).with.apply(p,context_spreadArray([r,c,u],context_read(y),!1))},ContextAPI.prototype.bind=function(r,c){return this._getContextManager().bind(r,c)},ContextAPI.prototype._getContextManager=function(){return getGlobal(Fn)||Bn},ContextAPI.prototype.disable=function(){this._getContextManager().disable(),unregisterGlobal(Fn,Pe.instance())},ContextAPI}(),Zn=qn.getInstance();!function(r){r[r.NONE=0]="NONE",r[r.SAMPLED=1]="SAMPLED"}(Nn||(Nn={}));var Vn="0000000000000000",Hn="00000000000000000000000000000000",$n={traceId:Hn,spanId:Vn,traceFlags:Nn.NONE},zn=function(){function NonRecordingSpan(r){void 0===r&amp;&amp;(r=$n),this._spanContext=r}return NonRecordingSpan.prototype.spanContext=function(){return this._spanContext},NonRecordingSpan.prototype.setAttribute=function(r,c){return this},NonRecordingSpan.prototype.setAttributes=function(r){return this},NonRecordingSpan.prototype.addEvent=function(r,c){return this},NonRecordingSpan.prototype.setStatus=function(r){return this},NonRecordingSpan.prototype.updateName=function(r){return this},NonRecordingSpan.prototype.end=function(r){},NonRecordingSpan.prototype.isRecording=function(){return!1},NonRecordingSpan.prototype.recordException=function(r,c){},NonRecordingSpan}(),Gn=createContextKey("OpenTelemetry Context Key SPAN");function getSpan(r){return r.getValue(Gn)||void 0}function getActiveSpan(){return getSpan(qn.getInstance().active())}function setSpan(r,c){return r.setValue(Gn,c)}function deleteSpan(r){return r.deleteValue(Gn)}function setSpanContext(r,c){return setSpan(r,new zn(c))}function getSpanContext(r){var c;return null===(c=getSpan(r))||void 0===c?void 0:c.spanContext()}var Wn=/^([0-9a-f]{32})$/i,Kn=/^[0-9a-f]{16}$/i;function isSpanContextValid(r){return function isValidTraceId(r){return Wn.test(r)&amp;&amp;r!==Hn}(r.traceId)&amp;&amp;function isValidSpanId(r){return Kn.test(r)&amp;&amp;r!==Vn}(r.spanId)}function wrapSpanContext(r){return new zn(r)}var Jn=qn.getInstance(),Yn=function(){function NoopTracer(){}return NoopTracer.prototype.startSpan=function(r,c,u){if(void 0===u&amp;&amp;(u=Jn.active()),Boolean(null==c?void 0:c.root))return new zn;var p=u&amp;&amp;getSpanContext(u);return function isSpanContext(r){return"object"==typeof r&amp;&amp;"string"==typeof r.spanId&amp;&amp;"string"==typeof r.traceId&amp;&amp;"number"==typeof r.traceFlags}(p)&amp;&amp;isSpanContextValid(p)?new zn(p):new zn},NoopTracer.prototype.startActiveSpan=function(r,c,u,p){var y,w,x;if(!(arguments.length&lt;2)){2===arguments.length?x=c:3===arguments.length?(y=c,x=u):(y=c,w=u,x=p);var k=null!=w?w:Jn.active(),E=this.startSpan(r,y,k),I=setSpan(k,E);return Jn.with(I,x,void 0,E)}},NoopTracer}();var Xn=new Yn,Qn=function(){function ProxyTracer(r,c,u,p){this._provider=r,this.name=c,this.version=u,this.options=p}return ProxyTracer.prototype.startSpan=function(r,c,u){return this._getTracer().startSpan(r,c,u)},ProxyTracer.prototype.startActiveSpan=function(r,c,u,p){var y=this._getTracer();return Reflect.apply(y.startActiveSpan,y,arguments)},ProxyTracer.prototype._getTracer=function(){if(this._delegate)return this._delegate;var r=this._provider.getDelegateTracer(this.name,this.version,this.options);return r?(this._delegate=r,this._delegate):Xn},ProxyTracer}(),eo=new(function(){function NoopTracerProvider(){}return NoopTracerProvider.prototype.getTracer=function(r,c,u){return new Yn},NoopTracerProvider}()),to=function(){function ProxyTracerProvider(){}return ProxyTracerProvider.prototype.getTracer=function(r,c,u){var p;return null!==(p=this.getDelegateTracer(r,c,u))&amp;&amp;void 0!==p?p:new Qn(this,r,c,u)},ProxyTracerProvider.prototype.getDelegate=function(){var r;return null!==(r=this._delegate)&amp;&amp;void 0!==r?r:eo},ProxyTracerProvider.prototype.setDelegate=function(r){this._delegate=r},ProxyTracerProvider.prototype.getDelegateTracer=function(r,c,u){var p;return null===(p=this._delegate)||void 0===p?void 0:p.getTracer(r,c,u)},ProxyTracerProvider}(),ro="trace",no=function(){function TraceAPI(){this._proxyTracerProvider=new to,this.wrapSpanContext=wrapSpanContext,this.isSpanContextValid=isSpanContextValid,this.deleteSpan=deleteSpan,this.getSpan=getSpan,this.getActiveSpan=getActiveSpan,this.getSpanContext=getSpanContext,this.setSpan=setSpan,this.setSpanContext=setSpanContext}return TraceAPI.getInstance=function(){return this._instance||(this._instance=new TraceAPI),this._instance},TraceAPI.prototype.setGlobalTracerProvider=function(r){var c=registerGlobal(ro,this._proxyTracerProvider,Pe.instance());return c&amp;&amp;this._proxyTracerProvider.setDelegate(r),c},TraceAPI.prototype.getTracerProvider=function(){return getGlobal(ro)||this._proxyTracerProvider},TraceAPI.prototype.getTracer=function(r,c){return this.getTracerProvider().getTracer(r,c)},TraceAPI.prototype.disable=function(){unregisterGlobal(ro,Pe.instance()),this._proxyTracerProvider=new to},TraceAPI}().getInstance(),attributes_values=function(r){var c="function"==typeof Symbol&amp;&amp;Symbol.iterator,u=c&amp;&amp;r[c],p=0;if(u)return u.call(r);if(r&amp;&amp;"number"==typeof r.length)return{next:function(){return r&amp;&amp;p&gt;=r.length&amp;&amp;(r=void 0),{value:r&amp;&amp;r[p++],done:!r}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};function isAttributeValue(r){return null==r||(Array.isArray(r)?function isHomogeneousAttributeValueArray(r){var c,u,p;try{for(var y=attributes_values(r),w=y.next();!w.done;w=y.next()){var x=w.value;if(null!=x){if(!p){if(isValidPrimitiveAttributeValue(x)){p=typeof x;continue}return!1}if(typeof x!==p)return!1}}}catch(r){c={error:r}}finally{try{w&amp;&amp;!w.done&amp;&amp;(u=y.return)&amp;&amp;u.call(y)}finally{if(c)throw c.error}}return!0}(r):isValidPrimitiveAttributeValue(r))}function isValidPrimitiveAttributeValue(r){switch(typeof r){case"number":case"boolean":case"string":return!0}return!1}var LogRecord_values=function(r){var c="function"==typeof Symbol&amp;&amp;Symbol.iterator,u=c&amp;&amp;r[c],p=0;if(u)return u.call(r);if(r&amp;&amp;"number"==typeof r.length)return{next:function(){return r&amp;&amp;p&gt;=r.length&amp;&amp;(r=void 0),{value:r&amp;&amp;r[p++],done:!r}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},LogRecord_read=function(r,c){var u="function"==typeof Symbol&amp;&amp;r[Symbol.iterator];if(!u)return r;var p,y,w=u.call(r),x=[];try{for(;(void 0===c||c-- &gt;0)&amp;&amp;!(p=w.next()).done;)x.push(p.value)}catch(r){y={error:r}}finally{try{p&amp;&amp;!p.done&amp;&amp;(u=w.return)&amp;&amp;u.call(w)}finally{if(y)throw y.error}}return x},oo=function(){function LogRecord(r,c,u){this.attributes={},this.totalAttributesCount=0,this._isReadonly=!1;var p=u.timestamp,y=u.observedTimestamp,w=u.severityNumber,x=u.severityText,k=u.body,E=u.attributes,I=void 0===E?{}:E,K=u.context,J=Date.now();if(this.hrTime=timeInputToHrTime(null!=p?p:J),this.hrTimeObserved=timeInputToHrTime(null!=y?y:J),K){var oe=no.getSpanContext(K);oe&amp;&amp;isSpanContextValid(oe)&amp;&amp;(this.spanContext=oe)}this.severityNumber=w,this.severityText=x,this.body=k,this.resource=r.resource,this.instrumentationScope=c,this._logRecordLimits=r.logRecordLimits,this.setAttributes(I)}return Object.defineProperty(LogRecord.prototype,"severityText",{get:function(){return this._severityText},set:function(r){this._isLogRecordReadonly()||(this._severityText=r)},enumerable:!1,configurable:!0}),Object.defineProperty(LogRecord.prototype,"severityNumber",{get:function(){return this._severityNumber},set:function(r){this._isLogRecordReadonly()||(this._severityNumber=r)},enumerable:!1,configurable:!0}),Object.defineProperty(LogRecord.prototype,"body",{get:function(){return this._body},set:function(r){this._isLogRecordReadonly()||(this._body=r)},enumerable:!1,configurable:!0}),Object.defineProperty(LogRecord.prototype,"droppedAttributesCount",{get:function(){return this.totalAttributesCount-Object.keys(this.attributes).length},enumerable:!1,configurable:!0}),LogRecord.prototype.setAttribute=function(r,c){return this._isLogRecordReadonly()||null===c?this:0===r.length?(et.warn("Invalid attribute key: "+r),this):isAttributeValue(c)||"object"==typeof c&amp;&amp;!Array.isArray(c)&amp;&amp;Object.keys(c).length&gt;0?(this.totalAttributesCount+=1,Object.keys(this.attributes).length&gt;=this._logRecordLimits.attributeCountLimit&amp;&amp;!Object.prototype.hasOwnProperty.call(this.attributes,r)||(isAttributeValue(c)?this.attributes[r]=this._truncateToSize(c):this.attributes[r]=c),this):(et.warn("Invalid attribute value set for key: "+r),this)},LogRecord.prototype.setAttributes=function(r){var c,u;try{for(var p=LogRecord_values(Object.entries(r)),y=p.next();!y.done;y=p.next()){var w=LogRecord_read(y.value,2),x=w[0],k=w[1];this.setAttribute(x,k)}}catch(r){c={error:r}}finally{try{y&amp;&amp;!y.done&amp;&amp;(u=p.return)&amp;&amp;u.call(p)}finally{if(c)throw c.error}}return this},LogRecord.prototype.setBody=function(r){return this.body=r,this},LogRecord.prototype.setSeverityNumber=function(r){return this.severityNumber=r,this},LogRecord.prototype.setSeverityText=function(r){return this.severityText=r,this},LogRecord.prototype._makeReadonly=function(){this._isReadonly=!0},LogRecord.prototype._truncateToSize=function(r){var c=this,u=this._logRecordLimits.attributeValueLengthLimit;return u&lt;=0?(et.warn("Attribute value limit must be positive, got "+u),r):"string"==typeof r?this._truncateToLimitUtil(r,u):Array.isArray(r)?r.map((function(r){return"string"==typeof r?c._truncateToLimitUtil(r,u):r})):r},LogRecord.prototype._truncateToLimitUtil=function(r,c){return r.length&lt;=c?r:r.substring(0,c)},LogRecord.prototype._isLogRecordReadonly=function(){return this._isReadonly&amp;&amp;et.warn("Can not execute the operation on emitted log record"),this._isReadonly},LogRecord}(),Logger_assign=function(){return Logger_assign=Object.assign||function(r){for(var c,u=1,p=arguments.length;u&lt;p;u++)for(var y in c=arguments[u])Object.prototype.hasOwnProperty.call(c,y)&amp;&amp;(r[y]=c[y]);return r},Logger_assign.apply(this,arguments)},io=function(){function Logger(r,c){this.instrumentationScope=r,this._sharedState=c}return Logger.prototype.emit=function(r){var c=r.context||Zn.active(),u=new oo(this._sharedState,this.instrumentationScope,Logger_assign({context:c},r));this._sharedState.activeProcessor.onEmit(u,c),u._makeReadonly()},Logger}();function reconfigureLimits(r){var c,u,p,y,w,x,k=function getEnvWithoutDefaults(){return"undefined"!=typeof process&amp;&amp;process?parseEnvironment("MISSING_ENV_VAR"):parseEnvironment(Fe)}();return{attributeCountLimit:null!==(p=null!==(u=null!==(c=r.attributeCountLimit)&amp;&amp;void 0!==c?c:k.OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT)&amp;&amp;void 0!==u?u:k.OTEL_ATTRIBUTE_COUNT_LIMIT)&amp;&amp;void 0!==p?p:Je,attributeValueLengthLimit:null!==(x=null!==(w=null!==(y=r.attributeValueLengthLimit)&amp;&amp;void 0!==y?y:k.OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT)&amp;&amp;void 0!==w?w:k.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT)&amp;&amp;void 0!==x?x:Ke}}var ao=function(){var extendStatics=function(r,c){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&amp;&amp;function(r,c){r.__proto__=c}||function(r,c){for(var u in c)Object.prototype.hasOwnProperty.call(c,u)&amp;&amp;(r[u]=c[u])},extendStatics(r,c)};return function(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function __(){this.constructor=r}extendStatics(r,c),r.prototype=null===c?Object.create(c):(__.prototype=c.prototype,new __)}}(),so=function(r){function TimeoutError(c){var u=r.call(this,c)||this;return Object.setPrototypeOf(u,TimeoutError.prototype),u}return ao(TimeoutError,r),TimeoutError}(Error);var MultiLogRecordProcessor_awaiter=function(r,c,u,p){return new(u||(u=Promise))((function(y,w){function fulfilled(r){try{step(p.next(r))}catch(r){w(r)}}function rejected(r){try{step(p.throw(r))}catch(r){w(r)}}function step(r){r.done?y(r.value):function adopt(r){return r instanceof u?r:new u((function(c){c(r)}))}(r.value).then(fulfilled,rejected)}step((p=p.apply(r,c||[])).next())}))},MultiLogRecordProcessor_generator=function(r,c){var u,p,y,w,x={label:0,sent:function(){if(1&amp;y[0])throw y[1];return y[1]},trys:[],ops:[]};return w={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&amp;&amp;(w[Symbol.iterator]=function(){return this}),w;function verb(w){return function(k){return function step(w){if(u)throw new TypeError("Generator is already executing.");for(;x;)try{if(u=1,p&amp;&amp;(y=2&amp;w[0]?p.return:w[0]?p.throw||((y=p.return)&amp;&amp;y.call(p),0):p.next)&amp;&amp;!(y=y.call(p,w[1])).done)return y;switch(p=0,y&amp;&amp;(w=[2&amp;w[0],y.value]),w[0]){case 0:case 1:y=w;break;case 4:return x.label++,{value:w[1],done:!1};case 5:x.label++,p=w[1],w=[0];continue;case 7:w=x.ops.pop(),x.trys.pop();continue;default:if(!(y=x.trys,(y=y.length&gt;0&amp;&amp;y[y.length-1])||6!==w[0]&amp;&amp;2!==w[0])){x=0;continue}if(3===w[0]&amp;&amp;(!y||w[1]&gt;y[0]&amp;&amp;w[1]&lt;y[3])){x.label=w[1];break}if(6===w[0]&amp;&amp;x.label&lt;y[1]){x.label=y[1],y=w;break}if(y&amp;&amp;x.label&lt;y[2]){x.label=y[2],x.ops.push(w);break}y[2]&amp;&amp;x.ops.pop(),x.trys.pop();continue}w=c.call(r,x)}catch(r){w=[6,r],p=0}finally{u=y=0}if(5&amp;w[0])throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}([w,k])}}},co=function(){function MultiLogRecordProcessor(r,c){this.processors=r,this.forceFlushTimeoutMillis=c}return MultiLogRecordProcessor.prototype.forceFlush=function(){return MultiLogRecordProcessor_awaiter(this,void 0,void 0,(function(){var r;return MultiLogRecordProcessor_generator(this,(function(c){switch(c.label){case 0:return r=this.forceFlushTimeoutMillis,[4,Promise.all(this.processors.map((function(c){return function callWithTimeout(r,c){var u,p=new Promise((function timeoutFunction(r,p){u=setTimeout((function timeoutHandler(){p(new so("Operation timed out."))}),c)}));return Promise.race([r,p]).then((function(r){return clearTimeout(u),r}),(function(r){throw clearTimeout(u),r}))}(c.forceFlush(),r)})))];case 1:return c.sent(),[2]}}))}))},MultiLogRecordProcessor.prototype.onEmit=function(r,c){this.processors.forEach((function(u){return u.onEmit(r,c)}))},MultiLogRecordProcessor.prototype.shutdown=function(){return MultiLogRecordProcessor_awaiter(this,void 0,void 0,(function(){return MultiLogRecordProcessor_generator(this,(function(r){switch(r.label){case 0:return[4,Promise.all(this.processors.map((function(r){return r.shutdown()})))];case 1:return r.sent(),[2]}}))}))},MultiLogRecordProcessor}(),uo=function(){function NoopLogRecordProcessor(){}return NoopLogRecordProcessor.prototype.forceFlush=function(){return Promise.resolve()},NoopLogRecordProcessor.prototype.onEmit=function(r,c){},NoopLogRecordProcessor.prototype.shutdown=function(){return Promise.resolve()},NoopLogRecordProcessor}(),lo=function lo(r,c,u){this.resource=r,this.forceFlushTimeoutMillis=c,this.logRecordLimits=u,this.loggers=new Map,this.registeredLogRecordProcessors=[],this.activeProcessor=new uo},po=function(){function LoggerProvider(r){void 0===r&amp;&amp;(r={});var c=function merge(){for(var r=[],c=0;c&lt;arguments.length;c++)r[c]=arguments[c];for(var u=r.shift(),p=new WeakMap;r.length&gt;0;)u=mergeTwoObjects(u,r.shift(),0,p);return u}({},function loadDefaultConfig(){return{forceFlushTimeoutMillis:3e4,logRecordLimits:{attributeValueLengthLimit:getEnv().OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:getEnv().OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT},includeTraceContext:!0}}(),r),u=c.resource,p=void 0===u?kn.default():u,y=c.logRecordLimits,w=c.forceFlushTimeoutMillis;this._sharedState=new lo(p,w,reconfigureLimits(y)),this._shutdownOnce=new ut(this._shutdown,this)}return LoggerProvider.prototype.getLogger=function(r,c,u){if(this._shutdownOnce.isCalled)return et.warn("A shutdown LoggerProvider cannot provide a Logger"),ie;r||et.warn("Logger requested without instrumentation scope name.");var p=r||"unknown",y=p+"@"+(c||"")+":"+((null==u?void 0:u.schemaUrl)||"");return this._sharedState.loggers.has(y)||this._sharedState.loggers.set(y,new io({name:p,version:c,schemaUrl:null==u?void 0:u.schemaUrl},this._sharedState)),this._sharedState.loggers.get(y)},LoggerProvider.prototype.addLogRecordProcessor=function(r){0===this._sharedState.registeredLogRecordProcessors.length&amp;&amp;this._sharedState.activeProcessor.shutdown().catch((function(r){return et.error("Error while trying to shutdown current log record processor",r)})),this._sharedState.registeredLogRecordProcessors.push(r),this._sharedState.activeProcessor=new co(this._sharedState.registeredLogRecordProcessors,this._sharedState.forceFlushTimeoutMillis)},LoggerProvider.prototype.forceFlush=function(){return this._shutdownOnce.isCalled?(et.warn("invalid attempt to force flush after LoggerProvider shutdown"),this._shutdownOnce.promise):this._sharedState.activeProcessor.forceFlush()},LoggerProvider.prototype.shutdown=function(){return this._shutdownOnce.isCalled?(et.warn("shutdown may only be called once per LoggerProvider"),this._shutdownOnce.promise):this._shutdownOnce.call()},LoggerProvider.prototype._shutdown=function(){return this._sharedState.activeProcessor.shutdown()},LoggerProvider}(),fo=createContextKey("OpenTelemetry SDK Context Key SUPPRESS_TRACING");var ho={_export:function _export(r,c){return new Promise((function(u){Zn.with(function suppressTracing(r){return r.setValue(fo,!0)}(Zn.active()),(function(){r.export(c,(function(r){u(r)}))}))}))}};var mo=function loggingErrorHandler(){return function(r){et.error(function stringifyException(r){return"string"==typeof r?r:JSON.stringify(function flattenException(r){var c={},u=r;for(;null!==u;)Object.getOwnPropertyNames(u).forEach((function(r){if(!c[r]){var p=u[r];p&amp;&amp;(c[r]=String(p))}})),u=Object.getPrototypeOf(u);return c}(r))}(r))}}();function globalErrorHandler(r){try{mo(r)}catch(r){}}var SimpleLogRecordProcessor_awaiter=function(r,c,u,p){return new(u||(u=Promise))((function(y,w){function fulfilled(r){try{step(p.next(r))}catch(r){w(r)}}function rejected(r){try{step(p.throw(r))}catch(r){w(r)}}function step(r){r.done?y(r.value):function adopt(r){return r instanceof u?r:new u((function(c){c(r)}))}(r.value).then(fulfilled,rejected)}step((p=p.apply(r,c||[])).next())}))},SimpleLogRecordProcessor_generator=function(r,c){var u,p,y,w,x={label:0,sent:function(){if(1&amp;y[0])throw y[1];return y[1]},trys:[],ops:[]};return w={next:verb(0),throw:verb(1),return:verb(2)},"function"==typeof Symbol&amp;&amp;(w[Symbol.iterator]=function(){return this}),w;function verb(w){return function(k){return function step(w){if(u)throw new TypeError("Generator is already executing.");for(;x;)try{if(u=1,p&amp;&amp;(y=2&amp;w[0]?p.return:w[0]?p.throw||((y=p.return)&amp;&amp;y.call(p),0):p.next)&amp;&amp;!(y=y.call(p,w[1])).done)return y;switch(p=0,y&amp;&amp;(w=[2&amp;w[0],y.value]),w[0]){case 0:case 1:y=w;break;case 4:return x.label++,{value:w[1],done:!1};case 5:x.label++,p=w[1],w=[0];continue;case 7:w=x.ops.pop(),x.trys.pop();continue;default:if(!(y=x.trys,(y=y.length&gt;0&amp;&amp;y[y.length-1])||6!==w[0]&amp;&amp;2!==w[0])){x=0;continue}if(3===w[0]&amp;&amp;(!y||w[1]&gt;y[0]&amp;&amp;w[1]&lt;y[3])){x.label=w[1];break}if(6===w[0]&amp;&amp;x.label&lt;y[1]){x.label=y[1],y=w;break}if(y&amp;&amp;x.label&lt;y[2]){x.label=y[2],x.ops.push(w);break}y[2]&amp;&amp;x.ops.pop(),x.trys.pop();continue}w=c.call(r,x)}catch(r){w=[6,r],p=0}finally{u=y=0}if(5&amp;w[0])throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}([w,k])}}},yo=function(){function SimpleLogRecordProcessor(r){this._exporter=r,this._shutdownOnce=new ut(this._shutdown,this),this._unresolvedExports=new Set}return SimpleLogRecordProcessor.prototype.onEmit=function(r){var c,u,p=this;if(!this._shutdownOnce.isCalled){var doExport=function(){return ho._export(p._exporter,[r]).then((function(r){var c;r.code!==st.SUCCESS&amp;&amp;globalErrorHandler(null!==(c=r.error)&amp;&amp;void 0!==c?c:new Error("SimpleLogRecordProcessor: log record export failed (status "+r+")"))})).catch(globalErrorHandler)};if(r.resource.asyncAttributesPending){var y=null===(u=(c=r.resource).waitForAsyncAttributes)||void 0===u?void 0:u.call(c).then((function(){return p._unresolvedExports.delete(y),doExport()}),globalErrorHandler);null!=y&amp;&amp;this._unresolvedExports.add(y)}else doExport()}},SimpleLogRecordProcessor.prototype.forceFlush=function(){return SimpleLogRecordProcessor_awaiter(this,void 0,void 0,(function(){return SimpleLogRecordProcessor_generator(this,(function(r){switch(r.label){case 0:return[4,Promise.all(Array.from(this._unresolvedExports))];case 1:return r.sent(),[2]}}))}))},SimpleLogRecordProcessor.prototype.shutdown=function(){return this._shutdownOnce.call()},SimpleLogRecordProcessor.prototype._shutdown=function(){return this._exporter.shutdown()},SimpleLogRecordProcessor}(),ConsoleLogRecordExporter_values=function(r){var c="function"==typeof Symbol&amp;&amp;Symbol.iterator,u=c&amp;&amp;r[c],p=0;if(u)return u.call(r);if(r&amp;&amp;"number"==typeof r.length)return{next:function(){return r&amp;&amp;p&gt;=r.length&amp;&amp;(r=void 0),{value:r&amp;&amp;r[p++],done:!r}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")},go=function(){function ConsoleLogRecordExporter(){}return ConsoleLogRecordExporter.prototype.export=function(r,c){this._sendLogRecords(r,c)},ConsoleLogRecordExporter.prototype.shutdown=function(){return Promise.resolve()},ConsoleLogRecordExporter.prototype._exportInfo=function(r){var c,u,p,y;return{timestamp:(y=r.hrTime,1e6*y[0]+y[1]/1e3),traceId:null===(c=r.spanContext)||void 0===c?void 0:c.traceId,spanId:null===(u=r.spanContext)||void 0===u?void 0:u.spanId,traceFlags:null===(p=r.spanContext)||void 0===p?void 0:p.traceFlags,severityText:r.severityText,severityNumber:r.severityNumber,body:r.body,attributes:r.attributes}},ConsoleLogRecordExporter.prototype._sendLogRecords=function(r,c){var u,p;try{for(var y=ConsoleLogRecordExporter_values(r),w=y.next();!w.done;w=y.next()){var x=w.value;console.dir(this._exportInfo(x),{depth:3})}}catch(r){u={error:r}}finally{try{w&amp;&amp;!w.done&amp;&amp;(p=y.return)&amp;&amp;p.call(y)}finally{if(u)throw u.error}}null==c||c({code:st.SUCCESS})},ConsoleLogRecordExporter}(),vo=u(10738),bo=["severityNumber","severityText"];function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,k.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var _o={env:"production",url:"https://wyv31614.live.dynatrace.com/api/v2/otlp",token:function parseToken(r){(0,E.Z)(this,undefined);try{return window.atob(r)}catch(c){return console.warn("Failed to parse reporter token",c),r}}.bind(void 0)("ZHQwYzAxLjQ1WUw2NFdDQzJOU1dRVFVPNEc0WkFDUy5PMlhRR0xEVVhRSEFTNUtaWFM2NUNJM0ZZVkdXS0w2VjNUTFdGQUsyN1dPNE00RjdYRTQ1MlY3VTNDQUJSTDRZ"),serviceName:"webchat-sdk-ui"},wo=function(){function Logger(){var r=this;(0,w.Z)(this,Logger),(0,k.Z)(this,"_initiated",!1),(0,k.Z)(this,"logger",void 0),(0,k.Z)(this,"init",function(c){(0,E.Z)(this,r);var u=this.createExporter();u&amp;&amp;(this._initiated||(this.logger=this.createLogger(u,c),this._initiated=!0))}.bind(this)),(0,k.Z)(this,"info",(function(c){var u,y=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};null===(u=r.escapeLogger)||void 0===u||u.call(r,c,r.createLoggerDetails(p.INFO,y))})),(0,k.Z)(this,"warn",(function(c){var u,y=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};null===(u=r.escapeLogger)||void 0===u||u.call(r,c,r.createLoggerDetails(p.WARN,y))})),(0,k.Z)(this,"error",(function(c){var u,y=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};null===(u=r.escapeLogger)||void 0===u||u.call(r,c,r.createLoggerDetails(p.ERROR,y))})),(0,k.Z)(this,"createExporter",function(){return(0,E.Z)(this,r),new Et({url:"".concat(_o.url,"/v1/logs"),headers:{Authorization:"Api-Token ".concat(_o.token)}})}.bind(this)),(0,k.Z)(this,"createLogger",function(c,u){var p=this;(0,E.Z)(this,r);var w=new yn(_objectSpread((0,k.Z)({},rn,_o.serviceName),u)),x=new po({resource:w});"production"!==_o.env&amp;&amp;x.addLogRecordProcessor(new yo(new go)),x.addLogRecordProcessor(new yo(c)),ue.setGlobalLoggerProvider(x);var I=x.getLogger(_o.serviceName);return function(r,c){(0,E.Z)(this,p);var u=c.severityNumber,w=c.severityText,x=(0,y.Z)(c,bo);I.emit({body:r,severityNumber:u,severityText:w,attributes:x})}.bind(this)}.bind(this)),(0,k.Z)(this,"createLoggerDetails",(function(r){var c,u,y=this,w=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},x=(new Date).toISOString(),k=x,I=x,K=_o.env,J=vo.e$.getAllCredentials(),oe=null===(c=vo.On.sdk)||void 0===c||null===(c=c.selfHostedApp)||void 0===c||null===(c=c.webchatRef)||void 0===c||null===(c=c.current)||void 0===c||null===(u=c.getWebchatState)||void 0===u?void 0:u.call(c),ie=null!=oe&amp;&amp;oe.isWebchatOpen?"on":"off",ae=J.identity||"unknown contact person identity",se=function getCredentials(){(0,E.Z)(this,y);try{var r,c,u,p,w,x,k;return{twilio_conversation_sid:null==J?void 0:J.conversationSid,twilio_client_region:null==J?void 0:J.region,touchpoint_id:null===(r=vo.On.sdk)||void 0===r||null===(r=r.selfHostedApp)||void 0===r?void 0:r.appId,injector_window_href:window.location.href,user_agent:null===(c=navigator)||void 0===c?void 0:c.userAgent,browser_language:(null===(u=navigator)||void 0===u?void 0:u.language)||"unknown",screen_width:(null===(p=window)||void 0===p||null===(p=p.screen)||void 0===p?void 0:p.width)||"unknown",screen_height:(null===(w=window)||void 0===w||null===(w=w.screen)||void 0===w?void 0:w.height)||"unknown",screen_pixel_ratio:(null===(x=window)||void 0===x?void 0:x.devicePixelRatio)||"unknown",document_visibility:(null===(k=document)||void 0===k?void 0:k.visibilityState)||"unknown"}}catch(r){return{errorMsg:"Failed to get credentials: ".concat("string"==typeof r?r:null==r?void 0:r.message)}}}.bind(this);switch(r){case p.INFO:return _objectSpread(_objectSpread(_objectSpread({},se()),w),{},{timestamp:k,occurAt:I,environment:K,severityNumber:r,chatMaximized:ie,contactPersonIdentity:ae,severityText:"INFO"});case p.WARN:return _objectSpread(_objectSpread(_objectSpread({},se()),w),{},{timestamp:k,occurAt:I,environment:K,severityNumber:r,chatMaximized:ie,contactPersonIdentity:ae,severityText:"WARN"});case p.ERROR:return _objectSpread(_objectSpread(_objectSpread({},se()),w),{},{timestamp:k,occurAt:I,environment:K,severityNumber:r,chatMaximized:ie,severityText:"ERROR",contactPersonIdentity:ae,"otel.status_code":"ERROR"});default:return _objectSpread(_objectSpread(_objectSpread({},se()),w),{},{timestamp:k,occurAt:I,environment:K,chatMaximized:ie,contactPersonIdentity:ae})}}))}return(0,x.Z)(Logger,[{key:"escapeLogger",get:function get(){return this.logger||console.error("logger function is not existed!"),this.logger}}]),Logger}(),xo=new wo},8247:function(r,c,u){"use strict";u.d(c,{g:function(){return isIOS}});u(26699),u(32023);function isIOS(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&amp;&amp;"ontouchend"in document}},85829:function(r,c,u){"use strict";u.d(c,{E:function(){return x},k:function(){return w}});var p=u(30926),y=(u(74916),u(15306),u(24603),u(39714),u(73210),void 0),w=function replaceAll(r,c,u){return(0,p.Z)(this,y),r?r.replace(new RegExp(c,"g"),u):r}.bind(void 0),x=function isNullOrEmpty(r){return(0,p.Z)(this,y),!r||!r.trim().length}.bind(void 0)},70714:function(r,c,u){"use strict";u.d(c,{Bj:function(){return x},JB:function(){return p},c_:function(){return y},gs:function(){return w}});var p=[Intl.DateTimeFormat().resolvedOptions().locale,"en-US"],y={hour:"2-digit",minute:"2-digit"},w=function getFormatTimeByLocale(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:(new Date).getTime(),c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:p,u=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:y;try{return new Date(r).toLocaleTimeString(c,u)}catch(r){return new Date((new Date).getTime()).toLocaleTimeString(c,u)}},x=function getDateIOSString(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:new Date;try{return r.toISOString()}catch(r){return""}}},47373:function(r,c,u){"use strict";u.d(c,{A:function(){return Mr},g:function(){return Ur}});var p=u(54734),y=u(99775),w=u(40262),x=u.n(w),k=u(8247),E=u(40121),I=u(7265),K=u(53039),J=u(99840),oe=u(67294),ie=u(93379),ae=u.n(ie),se=u(7795),ue=u.n(se),le=u(3565),pe=u.n(le),de=u(19216),he=u.n(de),ge=u(44589),ve=u.n(ge),we=u(72164),Se={};Se.styleTagTransform=ve(),Se.setAttributes=pe(),Se.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},Se.domAPI=ue(),Se.insertStyleElement=he();ae()(we.Z,Se);var Oe=we.Z&amp;&amp;we.Z.locals?we.Z.locals:void 0,Pe=function(r){var c=this;(0,J.Z)(this,undefined);var u=r.color,p=r.borderColor,y=r.backgroundColor,w=r.children,x=r.hoverBackgroundColor,k=(0,oe.useState)(!1),E=(0,K.Z)(k,2),I=E[0],ie=E[1],ae=I?x:y;return oe.createElement("button",{type:"button",onMouseEnter:function(){return(0,J.Z)(this,c),ie(!0)}.bind(this),onMouseLeave:function(){return(0,J.Z)(this,c),ie(!1)}.bind(this),className:Oe.customReplyContainer,style:{color:u,borderColor:p,backgroundColor:ae},"data-qa":"button"},w)}.bind(void 0),Le=u(62197),Ie=u(86010),je=u.p+"assets/custom-send-button.svg",De=u.p+"assets/send-button-hovered.svg",Ue=u(61604),Fe={};Fe.styleTagTransform=ve(),Fe.setAttributes=pe(),Fe.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},Fe.domAPI=ue(),Fe.insertStyleElement=he();ae()(Ue.Z,Fe);var Ze=Ue.Z&amp;&amp;Ue.Z.locals?Ue.Z.locals:void 0,$e=function SendButton(r){var c=this;(0,J.Z)(this,undefined);var u=r.isDisable,p=(0,oe.useState)(!1),y=(0,K.Z)(p,2),w=y[0],x=y[1],k=w?De:je;return oe.createElement("div",{className:(0,Ie.Z)(Ze.customSendButtonContainer,(0,Le.Z)({},Ze.isDisable,u)),"data-qa":"custom-send-button-icon",onMouseEnter:function(){return(0,J.Z)(this,c),x(!0)}.bind(this),onMouseLeave:function(){return(0,J.Z)(this,c),x(!1)}.bind(this)},oe.createElement("button",{type:"button","data-qa":"send-message","aria-label":"send-message",style:{background:"inherit",border:"none",padding:0,height:"24px"}},oe.createElement("img",{alt:"send-button",src:k,"data-qa":"img"})))}.bind(void 0),Ge=u.p+"assets/custom-emoji-button.svg",We=function CustomEmojiButton(){return(0,J.Z)(this,undefined),oe.createElement("button",{type:"button","aria-label":"add-emoji",style:{padding:0,width:"20px",height:"20px",background:"inherit",border:"none"},"data-qa":"button"},oe.createElement("img",{alt:"add-emoji-button",src:Ge,"data-qa":"img"}))}.bind(void 0),Ke=u.p+"assets/custom-attachment-icon.svg",Je=function CustomAttachmentsButton(){var r=this;return(0,J.Z)(this,undefined),oe.createElement("img",{alt:"attach-file-button",role:"button","aria-label":"attach-file",className:"attach-file-button",src:Ke,tabIndex:0,onClick:function(){return(0,J.Z)(this,r),null}.bind(this),"data-qa":"img"})}.bind(void 0),Ye=u(4675),Xe=u(46373),Qe={};Qe.styleTagTransform=ve(),Qe.setAttributes=pe(),Qe.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},Qe.domAPI=ue(),Qe.insertStyleElement=he();ae()(Xe.Z,Qe);var et=Xe.Z&amp;&amp;Xe.Z.locals?Xe.Z.locals:void 0,rt=function TriggerButton(r){var c=this;(0,J.Z)(this,undefined);var u=r.url,p=void 0===u?Ye.Z.VIRTUAL_AGENT_ICON:u,y=r.cssStyles,w=(0,oe.useState)(!1),x=(0,K.Z)(w,2),k=x[0],E=x[1],I=y.backgroundColor,ie=y.hoverBackgroundColor,ae=y.imageWidth,se=y.imageHeight,ue=y.positionBottom,le=y.positionRight,pe=k?ie:I,de=function addHover(){return(0,J.Z)(this,c),E(!0)}.bind(this),he=function removeHover(){return(0,J.Z)(this,c),E(!1)}.bind(this);return oe.createElement("button",{type:"button",tabIndex:0,onMouseOver:de,onMouseOut:he,onBlur:de,onFocus:he,"data-qa":"trigger-button","aria-label":"open-chat-widget",className:et.triggerButtonContainer,style:{backgroundColor:pe,bottom:ue,right:le}},oe.createElement("img",{alt:"It's a chat",style:{width:ae,height:se},src:p,"data-qa":"img"}))}.bind(void 0),nt=u(75741),ot=u(87841),it=u(4881),st=u(25113),ct=u(55055);var ut=function CustomAudio(r){var c=this,u=r.src,p=(0,oe.useRef)(null);return(0,oe.useEffect)(function(){(0,J.Z)(this,c),p.current&amp;&amp;(p.current.src=u,p.current.controls=!0,p.current.load())}.bind(this),[u]),u?oe.createElement("audio",{style:{maxWidth:"100%"},ref:p,"aria-label":"This is an audio attachment","data-qa":"audio"},oe.createElement("track",(0,ct.Z)({kind:"captions"},r,{"data-qa":"track"})),"Your browser does not support this audio format."):null},lt=u(93942),pt={};pt.styleTagTransform=ve(),pt.setAttributes=pe(),pt.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},pt.domAPI=ue(),pt.insertStyleElement=he();ae()(lt.Z,pt);var dt=lt.Z&amp;&amp;lt.Z.locals?lt.Z.locals:void 0;var ft=function CustomVideo(r){var c=this,u=r.src,p=(0,oe.useRef)(0),y=(0,oe.useRef)(null);return(0,oe.useEffect)(function(){var r=this;(0,J.Z)(this,c),y.current&amp;&amp;u&amp;&amp;(p.current&amp;&amp;(y.current.style.height="".concat(p.current,"px")),y.current.src=u,y.current.controls=!0,y.current.load(),y.current.onloadedmetadata=function(){var c;(0,J.Z)(this,r),!p.current&amp;&amp;null!==(c=y.current)&amp;&amp;void 0!==c&amp;&amp;c.offsetHeight&amp;&amp;(p.current=y.current.offsetHeight)}.bind(this))}.bind(this),[u]),u?oe.createElement("video",{ref:y,className:dt.customVideo,"aria-label":"This is a video attachment","data-qa":"video"},oe.createElement("track",(0,ct.Z)({kind:"captions"},r,{"data-qa":"track"}))):null},ht=(u(29254),u(49323)),mt=u(71525),yt={};yt.styleTagTransform=ve(),yt.setAttributes=pe(),yt.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},yt.domAPI=ue(),yt.insertStyleElement=he();ae()(mt.Z,yt);var gt=mt.Z&amp;&amp;mt.Z.locals?mt.Z.locals:void 0,vt=u(92035),bt=void 0,_t=(0,oe.memo)(function(r){(0,J.Z)(this,bt);var c=r.message;return oe.createElement("div",{className:gt.feedbackMessageContainer},oe.createElement("p",{className:gt.text,"data-qa":"p"},c))}.bind(void 0)),wt=(0,oe.memo)(function(r){var c=this;(0,J.Z)(this,bt);var u=r.link,p=r.scrollToBottom,y=(0,oe.useState)({status:"init",message:"",height:"0"}),w=(0,K.Z)(y,2),x=w[0],k=w[1],E=["error","SURVEY_SUBMITTED","SURVEY_CLOSED","SURVEY_INVALID"].indexOf(x.status)&gt;-1,I="SURVEY_NOT_AVAILABLE"===x.status,ie="init"===x.status,ae=(0,oe.useRef)(null),se=(0,oe.useCallback)(function(r){(0,J.Z)(this,c);var u=r.height,y=r.message,w=r.status;k({height:u,message:ht.ZP.t(y),status:w}),"SURVEY_UNSUBMITTED"===w&amp;&amp;(null==p||p())}.bind(this),[p]);return(0,oe.useEffect)(function(){var r,p,y=this;((0,J.Z)(this,c),ae.current&amp;&amp;(r=vt.u.createIframe(ae.current,u,se)),I||E)&amp;&amp;(null===(p=r)||void 0===p||p());return function(){(0,J.Z)(this,y),r&amp;&amp;r()}.bind(this)}.bind(this),[se,u,E,I]),(0,oe.useEffect)(function(){(0,J.Z)(this,c),u||k({status:"init",message:"",height:"0"})}.bind(this),[u]),!u||I?oe.createElement("div",{"data-qa":"without-link"}):E?oe.createElement(_t,{message:x.message,"data-qa":"FeedbackMessage"}):oe.createElement("div",{className:gt.feedbackContainer,style:{height:ie||I?0:x.height,position:"relative"},"aria-hidden":ie||I,"aria-label":"Feedback",ref:ae})}.bind(void 0)),xt=function Feedback(r){var c=this;(0,J.Z)(this,bt);var u=r.scrollToBottom,p=(0,oe.useState)(vt.u.link),y=(0,K.Z)(p,2),w=y[0],x=y[1],k=(0,oe.useCallback)(function(r){(0,J.Z)(this,c),x(r.link)}.bind(this),[]),E=(0,oe.useCallback)(function(){(0,J.Z)(this,c),x("")}.bind(this),[]);return(0,oe.useEffect)(function(){var r=this;return(0,J.Z)(this,c),vt.u.on("feedbackLinkChange",k),vt.u.on("feedbackReset",E),function(){(0,J.Z)(this,r),vt.u.off("feedbackLinkChange"),vt.u.off("feedbackReset")}.bind(this)}.bind(this),[E,k]),oe.createElement(wt,{link:w,scrollToBottom:u,"data-qa":"FeedbackInfo"})}.bind(void 0),kt=(u(69600),u(30305)),St=u(49448),Et={};Et.styleTagTransform=ve(),Et.setAttributes=pe(),Et.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},Et.domAPI=ue(),Et.insertStyleElement=he();ae()(St.Z,Et);var Tt=St.Z&amp;&amp;St.Z.locals?St.Z.locals:void 0,Ot=u(95195),Ct=void 0,At=(0,oe.memo)(function(r){var c,u;(0,J.Z)(this,Ct);var p=r.show,y=(0,oe.useContext)(kt.L).webchatState.theme;return p?oe.createElement("div",{className:[Tt.container,"end-chat-message"].join(" ")},oe.createElement("p",{className:Tt.text,"data-qa":"p"},null!==(c=null==y||null===(u=y.endConversationScreen)||void 0===u?void 0:u.endedMessageLabel)&amp;&amp;void 0!==c?c:ht.ZP.t("chatEnded"))):null}.bind(void 0)),Pt=function ChatEndedMessage(){var r=this;(0,J.Z)(this,Ct);var c=(0,oe.useState)(Ot.s.show),u=(0,K.Z)(c,2),p=u[0],y=u[1];return(0,oe.useEffect)(function(){var c=this;(0,J.Z)(this,r);var u=function handleEndChatEvent(r){(0,J.Z)(this,c),y(null==r?void 0:r.show)}.bind(this);return Ot.s.on("endChat",u),function(){(0,J.Z)(this,c),Ot.s.off("endChat")}.bind(this)}.bind(this),[]),oe.createElement(At,{show:p,"data-qa":"ChatEndedMessageInfo"})}.bind(void 0),Lt=(u(47941),u(82526),u(57327),u(41539),u(38880),u(54747),u(49337),u(24799)),It={};It.styleTagTransform=ve(),It.setAttributes=pe(),It.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},It.domAPI=ue(),It.insertStyleElement=he();ae()(Lt.Z,It);var Rt=Lt.Z&amp;&amp;Lt.Z.locals?Lt.Z.locals:void 0,jt=u(53869);function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,Le.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var Nt=function CustomTypingIndicator(){var r,c,u,p,y,w;(0,J.Z)(this,undefined);var x=(0,oe.useContext)(kt.L).webchatState.theme;return oe.createElement("div",{className:Rt.typingIndicatorContainer},oe.createElement("div",{className:Rt.customTypingIndicator},oe.createElement("div",{className:Rt.avatarWrapper},oe.createElement("div",{style:_objectSpread(_objectSpread({},null==x||null===(r=x.message)||void 0===r||null===(r=r.bot)||void 0===r?void 0:r.imageStyle),{},{margin:0,background:null==x||null===(c=x.message)||void 0===c||null===(c=c.bot)||void 0===c||null===(c=c.imageStyle)||void 0===c?void 0:c.background})})),oe.createElement("div",{className:Rt.wrapper},oe.createElement("div",{className:Rt.bubbleText,style:{fontSize:null==x||null===(u=x.initialScreen)||void 0===u?void 0:u.customMessageFontSize,color:null==x||null===(p=x.initialScreen)||void 0===p?void 0:p.customMessageColor,fontFamily:null==x||null===(y=x.initialScreen)||void 0===y?void 0:y.customMessageFontFamily,backgroundColor:null==x||null===(w=x.initialScreen)||void 0===w?void 0:w.customMessageBackgroundColor},"data-qa":"test-custom-message"},oe.createElement("span",{"data-qa":"span"}),oe.createElement("span",{"data-qa":"span"}),oe.createElement("span",{"data-qa":"span"}))),oe.createElement("div",{className:jt.Z.placeholder})))}.bind(void 0),Dt=u.p+"assets/virtual-assistant-default.svg",Mt=u(70714),Ut=(u(92222),u(22375)),Ft=function getDefaultBotIcon(r,c){(0,p.Z)(this,undefined);var u=c.avatarBackgroundColor,y=c.avatarForegroundColor,w=c.avatarBorderColor,x=r===Ut.T.Livechat?'&lt;path xmlns="http://www.w3.org/2000/svg" d="M8.964 4l6.073.011c3.846 0 6.963 3.13 6.963 6.99 0 3.617-2.74 6.594-6.251 6.952l-.243.02-3.2 3.683-1.509-1.312 3.784-4.355h.456c2.74 0 4.963-2.232 4.963-4.988 0-2.684-2.108-4.872-4.75-4.985l-.215-.005L8.962 6C6.222 6 4 8.232 4 10.988c0 2.687 2.11 4.883 4.747 4.996l.215.005h1.162v2H8.962C5.117 17.989 2 14.849 2 10.988c0-3.779 2.987-6.857 6.724-6.984L8.964 4zM12 10a1 1 0 110 1.998 1 1 0 010-1.999zm-4 0a1 1 0 110 1.998 1 1 0 010-1.999zm8 0a1 1 0 110 1.998 1 1 0 010-1.999z" transform="translate(4, 4)" fill="'.concat(y,'" /&gt;'):'&lt;path d="M8.963 4l6.077.013c3.837 0 6.96 3.135 6.96 6.988 0 3.696-2.872 6.731-6.492 6.974l-3.201 3.682-1.51-1.313 3.785-4.353h.456c2.736 0 4.962-2.239 4.962-4.99 0-2.751-2.226-4.988-4.962-4.988L8.961 6C6.227 6 4 8.239 4 10.99c0 2.757 2.227 5.001 4.963 5.001h1.161v2H8.963C5.124 17.991 2 14.85 2 10.99 2 7.136 5.124 4 8.963 4zm-.4491 5.5575c.614 1.453 2.03 2.39 3.607 2.39 1.528 0 2.927-.897 3.563-2.287l1.818.832c-.96 2.099-3.072 3.455-5.381 3.455-2.383 0-4.521-1.417-5.449-3.61z" transform="translate(4, 4)" fill="'.concat(y,'" /&gt;'),k='&lt;?xml version="1.0" encoding="UTF-8"?&gt; \n    &lt;svg viewBox="0 0 32 32"  version="1.1" xmlns="http://www.w3.org/2000/svg"&gt; &lt;title&gt;virtual-assistant&lt;/title&gt; \n      &lt;g id="Default-theme" stroke="none" stroke-width="1" fill="'.concat(u,'" fill-rule="evenodd"&gt; \n        &lt;g id="Group"&gt;\n          &lt;circle xmlns="http://www.w3.org/2000/svg" cx="16" cy="16" r="15" stroke="').concat(w,'" stroke-width="2"/&gt;\n            ').concat(x,"\n        &lt;/g&gt;\n      &lt;/g&gt;\n    &lt;/svg&gt;");return"data:image/svg+xml;base64,".concat(window.btoa(k))}.bind(void 0),Bt=u(10738),qt=u(60394),Zt={};Zt.styleTagTransform=ve(),Zt.setAttributes=pe(),Zt.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},Zt.domAPI=ue(),Zt.insertStyleElement=he();ae()(qt.Z,Zt);var Vt=qt.Z&amp;&amp;qt.Z.locals?qt.Z.locals:void 0,Ht=u(81519),$t={};$t.styleTagTransform=ve(),$t.setAttributes=pe(),$t.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},$t.domAPI=ue(),$t.insertStyleElement=he();ae()(Ht.Z,$t);var zt=Ht.Z&amp;&amp;Ht.Z.locals?Ht.Z.locals:void 0,Gt=void 0,Wt=function OperationButton(r){(0,J.Z)(this,Gt);var c=r.children,u=r.onClick,p=r.width,y=r.height,w=r.color,x=r.filter,k=r.cursor,E=r.ariaLabel,I=r.dataQa,K=r.disabled,ie=r.forwardedRef;return oe.createElement("button",{type:"button",ref:ie,"aria-label":E,"data-qa":I,disabled:K,onClick:u,style:{width:p,height:y},className:zt.operationButton},oe.createElement("div",{style:{width:p,height:y,color:w,cursor:k,filter:x}},c))}.bind(void 0);Wt.defaultProps={width:24,height:24,color:"inherit",dataQa:"operation-button",ariaLabel:"operation-button",disabled:!1,cursor:void 0,filter:void 0,children:null,forwardedRef:{current:null},onClick:function onClick(){return(0,J.Z)(this,Gt),!1}.bind(void 0)};var Kt=Wt;u(21249);function useOperationList_ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function useOperationList_objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?useOperationList_ownKeys(Object(u),!0).forEach((function(c){(0,Le.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):useOperationList_ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var Jt=function(r){return r.DOWNLOAD_TRANSCRIPT="Download transcript",r.END_CHAT="End chat",r}(Jt||{}),Yt=function(r){return r.DOWNLOAD_TRANSCRIPT="downloadTranscript",r.END_CHAT="endChat",r}(Yt||{}),Xt=[{label:Yt.DOWNLOAD_TRANSCRIPT,value:Jt.DOWNLOAD_TRANSCRIPT,disabled:!1},{label:Yt.END_CHAT,value:Jt.END_CHAT,disabled:!1}],Qt=function useOperationList(r){var c=this;(0,J.Z)(this,undefined);var u=r.showEndConversationButton,p=r.enableDownloadTranscriptButton,y=r.enableEndConversationButton,w=r.onDownloadTranscript,x=r.onEndConversation,k=(0,oe.useState)(Xt),E=(0,K.Z)(k,2),I=E[0],ie=E[1],ae=function onOperationItemChange(r){switch((0,J.Z)(this,c),r.value){case Jt.DOWNLOAD_TRANSCRIPT:null==w||w();break;case Jt.END_CHAT:null==x||x()}}.bind(this);return(0,oe.useEffect)(function(){var r=this;(0,J.Z)(this,c),ie(function(c){var w=this;return(0,J.Z)(this,r),c.map(function(r){switch((0,J.Z)(this,w),r.value){case Jt.DOWNLOAD_TRANSCRIPT:return useOperationList_objectSpread(useOperationList_objectSpread({},r),{},{disabled:!p});case Jt.END_CHAT:return u?useOperationList_objectSpread(useOperationList_objectSpread({},r),{},{disabled:!y}):null}return r}.bind(this))}.bind(this))}.bind(this),[u,y,p]),{operationList:I.filter(function(r){return(0,J.Z)(this,c),!!r}.bind(this)),onOperationItemChange:ae}}.bind(void 0);function _taggedTemplateLiteral(r,c){return c||(c=r.slice(0)),Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(c)}}))}var er=u(18117),rr=u(9023),nr=function(r){return r.LEFT="left",r.RIGHT="right",r}({}),or=(0,oe.createContext)(null),ir=or.Provider,ar=u(63301),sr={};sr.styleTagTransform=ve(),sr.setAttributes=pe(),sr.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},sr.domAPI=ue(),sr.insertStyleElement=he();ae()(ar.Z,sr);var cr=ar.Z&amp;&amp;ar.Z.locals?ar.Z.locals:void 0,ur=void 0,lr={disabled:!1,placeholder:"Please input...",forwardedRef:{current:null},children:null,onClick:function onClick(){return(0,J.Z)(this,ur),!1}.bind(void 0)},pr=function Input(r){(0,J.Z)(this,ur);var c=r.forwardedRef,u=r.placeholder,p=r.disabled,y=r.onClick,w=r.children,x=(0,oe.useContext)(or).open;return oe.createElement("div",{ref:c,className:cr.fakeInput,"data-focus":!!x,"data-disabled":p,onClick:y},w||oe.createElement("div",{className:cr.placeholder},u),oe.createElement("img",{src:rr.Z,alt:"arrow-icon",width:24,height:24,className:cr.arrowIcon,"data-qa":"img"}))}.bind(void 0);pr.defaultProps=lr;var dr=pr,fr=function Popup(r){(0,J.Z)(this,undefined);var c=r.visible,u=r.forwardedRef,p=r.children,y=[cr.popup,(0,Le.Z)({},cr.popupVisible,!!c)];return oe.createElement("div",{ref:u,className:(0,Ie.Z)(y)},p)}.bind(void 0);fr.defaultProps={visible:!1,forwardedRef:{current:null}};var mr=fr,yr=void 0,gr={value:"",onClickOption:function onClickOption(){return(0,J.Z)(this,yr),!1}.bind(void 0)},vr=function OptionList(r){var c=this;(0,J.Z)(this,yr);var u=r.value,p=r.options,y=r.onClickOption,w=function onclick(r,p){(0,J.Z)(this,c),r.stopPropagation(),r.preventDefault(),p.value!==u&amp;&amp;(null==y||y(p))}.bind(this),x=function transLabel(r){(0,J.Z)(this,c);var u=r.label;return ht.ZP.t(u)}.bind(this);return oe.createElement("ul",{className:cr.optionList,"data-qa":"ul"},p.map(function(r,p){var y=this;return(0,J.Z)(this,c),oe.createElement("li",{key:r.value||p,className:cr.optionItem,"data-disabled":!!r.disabled,"data-active":r.value===u,"data-qa":"li"},oe.createElement("button",{type:"button","aria-label":x(r),"data-qa":x(r),"aria-disabled":r.disabled,disabled:r.disabled,onClick:function(c){return(0,J.Z)(this,y),w(c,r)}.bind(this)},x(r)))}.bind(this)))}.bind(void 0);vr.defaultProps=gr;var br,_r,wr,xr=vr,kr=function useClickOutside(r){var c=this;(0,J.Z)(this,undefined);var u=r.handler,p=r.isExecuted,y=r.nodes;(0,oe.useEffect)(function(){var r=this;if((0,J.Z)(this,c),null==y||!y[0]||!p)return function(){(0,J.Z)(this,r)}.bind(this);var w=function containsNode(c){var u=this;return(0,J.Z)(this,r),y.some(function(r){return(0,J.Z)(this,u),r===c||(null==r?void 0:r.contains(c))}.bind(this))}.bind(this),x=function handleEvent(c){(0,J.Z)(this,r);var p=c.target;p instanceof Node&amp;&amp;w(p)||null==u||u()}.bind(this);return document.addEventListener("click",x),window.addEventListener("blur",x),function(){(0,J.Z)(this,r),document.removeEventListener("click",x),window.removeEventListener("blur",x)}.bind(this)}.bind(this),[p,y,u])}.bind(void 0),Sr=void 0,Er=er.ZP.div(br||(br=_taggedTemplateLiteral(["\n  display: flex;\n  position: relative;\n"]))),Tr=er.ZP.div(_r||(_r=_taggedTemplateLiteral(["\n  position: absolute;\n  z-index: 1000;\n  margin-top: 4px;\n\n  ","\n"])),function(r){(0,J.Z)(this,Sr);var c=r.align,u=r.top;return(0,er.iv)(wr||(wr=_taggedTemplateLiteral(["\n      top: ","px;\n      left: ",";\n      right: ",";\n    "])),u,c===nr.LEFT?0:"auto",c===nr.RIGHT?0:"auto")}.bind(void 0)),Or={option:null,align:nr.LEFT,placeholder:"Please select...",customInput:null,children:null,options:[],onChange:function onChange(){return(0,J.Z)(this,Sr),!1}.bind(void 0)},Cr=function CustomDropdown(r){var c=this;(0,J.Z)(this,Sr);var u=r.option,p=r.options,y=r.align,w=r.placeholder,x=r.customInput,k=r.children,E=r.onChange,I=(0,oe.useState)(null),ie=(0,K.Z)(I,2),ae=ie[0],se=ie[1],ue=(0,oe.useState)(null),le=(0,K.Z)(ue,2),pe=le[0],de=le[1],he=(0,oe.useState)(!1),ge=(0,K.Z)(he,2),ve=ge[0],we=ge[1],Se=(0,oe.useCallback)(function(r){(0,J.Z)(this,c),se(r)}.bind(this),[]),Oe=(0,oe.useCallback)(function(r){(0,J.Z)(this,c),de(r)}.bind(this),[]),Pe=function onClickInput(r){var u=this;(0,J.Z)(this,c),r.stopPropagation(),r.preventDefault(),we(function(r){return(0,J.Z)(this,u),!r}.bind(this))}.bind(this),Ie=function onClickOption(r){(0,J.Z)(this,c),we(!1),null==E||E(r)}.bind(this);return kr({isExecuted:ve,nodes:[ae,pe],handler:function handler(){return(0,J.Z)(this,c),we(!1)}.bind(this)}),oe.createElement(ir,{value:{open:ve,align:y},"data-qa":"CustomDropdownProvider"},oe.createElement(Er,{onClick:function(r){return(0,J.Z)(this,c),r.stopPropagation()}.bind(this),"data-qa":"DropdownWrapper"},x?oe.cloneElement(x,(0,Le.Z)((0,Le.Z)({},"function"==typeof(null==x?void 0:x.type)?"forwardedRef":"ref",Se),"onClick",Pe)):oe.createElement(dr,{placeholder:w,forwardedRef:Se,onClick:Pe,"data-qa":"Input"},null==u?void 0:u.label),oe.createElement(Tr,{align:y,top:null==ae?void 0:ae.clientHeight,"data-qa":"DropdownPopupWrapper"},oe.createElement(mr,{visible:ve,forwardedRef:Oe,"data-qa":"Popup"},"function"==typeof k?k({onClick:Ie}):oe.createElement(xr,{value:null==u?void 0:u.value,options:p,onClickOption:Ie,"data-qa":"OptionList"})))))}.bind(void 0);Cr.defaultProps=Or;var Ar=Cr,Pr=function MinimizeButton(){return(0,J.Z)(this,undefined),oe.createElement("svg",{height:"100%",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor","data-qa":"svg"},oe.createElement("path",{d:"M19 13H5v-2h14z","data-qa":"path"}))}.bind(void 0),Lr=function CloseButton(){return(0,J.Z)(this,undefined),oe.createElement("svg",{height:"100%",viewBox:"0 0 24 24",width:"100%",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor","data-qa":"svg"},oe.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z","data-qa":"path"}))}.bind(void 0),Ir=function MoreButton(){return(0,J.Z)(this,undefined),oe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"currentColor","data-qa":"svg"},oe.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 8C13.1 8 14 7.1 14 6C14 4.9 13.1 4 12 4C10.9 4 10 4.9 10 6C10 7.1 10.9 8 12 8ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM10 18C10 16.9 10.9 16 12 16C13.1 16 14 16.9 14 18C14 19.1 13.1 20 12 20C10.9 20 10 19.1 10 18Z",fill:"currentColor","data-qa":"path"}),oe.createElement("mask",{id:"mask0_197_144733",style:{"mask-type":"alpha"},maskUnits:"userSpaceOnUse",x:"10",y:"4",width:"4",height:"16","data-qa":"mask"},oe.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 8C13.1 8 14 7.1 14 6C14 4.9 13.1 4 12 4C10.9 4 10 4.9 10 6C10 7.1 10.9 8 12 8ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10ZM10 18C10 16.9 10.9 16 12 16C13.1 16 14 16.9 14 18C14 19.1 13.1 20 12 20C10.9 20 10 19.1 10 18Z",fill:"white","data-qa":"path"})),oe.createElement("g",{mask:"url(#mask0_197_144733)","data-qa":"g"}))}.bind(void 0),Rr={image:Ye.Z.VIRTUAL_AGENT_ICON},jr=function CustomHeader(r){var c=this;(0,J.Z)(this,undefined);var u=r.title,p=r.subtitle,y=r.image,w=r.cssStyles,x=r.titleColor,k=r.subtitleColor,E=r.showEndConversationButton,I=r.showDownloadTranscriptButton,K=r.enableEndConversationButton,ie=r.enableDownloadTranscriptButton,ae=w.backgroundColor,se=w.iconHeight,ue=w.iconWidth,le=w.closeIconHeight,pe=w.closeIconWidth,de=w.minimizeButtonColor,he=w.closeButtonColor,ge=function handleOnMinimize(){var r;(0,J.Z)(this,c),null===(r=Bt.On.sdk)||void 0===r||null===(r=r.selfHostedApp)||void 0===r||r.close()}.bind(this),ve=function handleOnDownloadTranscript(){var r,u;(0,J.Z)(this,c),(0,Bt._1)({region:null===(r=Bt.On.sdk)||void 0===r||null===(r=r.selfHostedApp)||void 0===r?void 0:r.region,appId:null===(u=Bt.On.sdk)||void 0===u||null===(u=u.selfHostedApp)||void 0===u?void 0:u.appId})}.bind(this),we=function handleOnEndConversation(){var r;(0,J.Z)(this,c),null===(r=Bt.On.sdk)||void 0===r||null===(r=r.selfHostedApp)||void 0===r||r.alertConversationEnd()}.bind(this),Se=Qt({enableDownloadTranscriptButton:ie,enableEndConversationButton:K,showEndConversationButton:E,onDownloadTranscript:ve,onEndConversation:we}),Oe=Se.operationList,Pe=Se.onOperationItemChange;return oe.createElement("div",{className:Vt.headerWrapper,style:{backgroundColor:ae}},oe.createElement("img",{alt:u,className:Vt.headerIcon,src:y,style:{width:ue,height:se},"data-qa":"img"}),oe.createElement("div",{className:Vt.headerTitleWrapper},oe.createElement("p",{id:Vt.headerTitle,className:Vt.headerTitle,style:{color:x},"data-qa":"p"},u),oe.createElement("p",{className:Vt.headerSubTitle,style:{color:k},"data-qa":"p"},null!=p?p:ht.ZP.t("poweredByTalkdesk"))),oe.createElement(Kt,{ariaLabel:"minimize-chat-widget",dataQa:"minimize-button",width:pe,height:le,color:de,onClick:ge,"data-qa":"OperationButton"},oe.createElement(Pr,{"data-qa":"MinimizeButton"})),I?oe.createElement(Ar,{align:nr.RIGHT,options:Oe,onChange:Pe,customInput:oe.createElement(Kt,{ariaLabel:"more-operations",dataQa:"more-operations-button",width:pe,height:le,color:he,"data-qa":"OperationButton"},oe.createElement(Ir,{"data-qa":"MoreButton"})),"data-qa":"CustomDropdown"}):E?oe.createElement(Kt,{ariaLabel:"end-chat-conversation",dataQa:"end-chat-conversation-button",width:pe,height:le,color:he,filter:K?void 0:"contrast(0.1)",cursor:K?void 0:"not-allowed",disabled:!K,onClick:we,"data-qa":"OperationButton"},oe.createElement(Lr,{"data-qa":"CloseButton"})):null)}.bind(void 0);jr.defaultProps=Rr;var Nr=jr,Dr=u(8310),Mr=function getHeaderTheme(r){var c,u,y,w,x;(0,p.Z)(this,undefined);var k=r.theming,E=r.touchpointConfig,I=r.enableDownloadTranscriptButton,K=void 0===I?Dr.ZP.interactionIdExists():I,J=r.enableEndConversationButton,oe=void 0!==J&amp;&amp;J,ie=null==E||null===(c=E.generalSettings)||void 0===c?void 0:c.showCloseConversationButton,ae=null==E||null===(u=E.generalSettings)||void 0===u?void 0:u.showChatTranscriptsDownloadButton;return Nr({title:k.chatTitle,subtitle:k.chatSubtitle,image:k.chatTitleIcon,cssStyles:{backgroundColor:k.chatThemeColor,iconWidth:k.chatTitleIconWidth,iconHeight:k.chatTitleIconHeight,closeIconHeight:null!==(y=k.chatCloseIconHeight)&amp;&amp;void 0!==y?y:"24px",closeIconWidth:null!==(w=k.chatCloseIconWidth)&amp;&amp;void 0!==w?w:"24px",closeButtonColor:k.chatCloseButtonColor,minimizeButtonColor:k.chatMinimizeButtonColor},titleColor:k.chatTitleTextColor,subtitleColor:k.chatSubtitleTextColor,closeButton:null!==(x=k.chatCloseButton)&amp;&amp;void 0!==x?x:"remove",showEndConversationButton:ie,showDownloadTranscriptButton:ae,enableDownloadTranscriptButton:K,enableEndConversationButton:oe})}.bind(void 0),Ur=function(){var r=(0,y.Z)(x().mark((function _callee(r){var c,u,y,w,K,J,oe,ie,ae,se,ue,le,pe,de=this;return x().wrap((function _callee$(x){for(;;)switch(x.prev=x.next){case 0:return J=r.theming,oe=r.widgetMode,ie=r.touchpointConfig,ae=r.enableEndConversationButton,se=J.avatarBackgroundColor,ue=J.avatarForegroundColor,le=J.avatarBorderColor,pe=Ft(oe,{avatarBackgroundColor:se,avatarForegroundColor:ue,avatarBorderColor:le}),x.abrupt("return",{style:{bottom:J.chatPositionBottom,width:J.chatContainerWidth,height:J.chatContainerHeight,fontFamily:null!==(c=J.chatThemeMainFont)&amp;&amp;void 0!==c?c:"Roboto-Regular, sans-serif"},carousel:{arrow:{left:function left(r){(0,p.Z)(this,de);var c=r.scrollCarouselBy;return(0,I.Z)({scrollCarouselBy:c,direction:E.Nm.Left})}.bind(this),right:function right(r){(0,p.Z)(this,de);var c=r.scrollCarouselBy;return(0,I.Z)({scrollCarouselBy:c,direction:E.Nm.Right})}.bind(this)},text:{style:{color:J.carouselTextColor}}},header:{custom:function custom(){return(0,p.Z)(this,de),Mr({theming:J,touchpointConfig:ie,enableEndConversationButton:ae})}.bind(this)},message:{customTypes:[nt.Z,ot.Z,it.Z],bot:{blobTick:!1,image:J.botIcon||Dt,style:{border:"0px",borderRadius:"8px",maxWidth:"70%",background:J.botBackgroundColor,color:J.botTextColor,anchorTextColor:J.botAnchorTextColor,anchorTextColorActive:J.botAnchorTextColorVisited,whiteSpace:"break-spaces"},imageStyle:{margin:"12px 0 8px 10px",width:null!==(u=J.botIconWidth)&amp;&amp;void 0!==u?u:"32px",height:null!==(y=J.botIconHeight)&amp;&amp;void 0!==y?y:"32px",borderRadius:"50%",padding:"0px",background:"url('".concat(J.botIcon||pe,"')"),backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"}},user:{blobTick:!1,style:{border:"0px",borderRadius:"8px",background:J.userBackgroundColor,color:J.userTextColor,maxWidth:"70%",anchorTextColor:J.userAnchorTextColor,anchorTextColorActive:J.userAnchorTextColorVisited,overflowWrap:"break-word","-webkit-hyphens":"auto",hyphens:"auto",whiteSpace:"break-spaces"},dceCustomRender:st.k},style:{alignItems:"bottom"===J.botIconVerticalAlign?"flex-end":"flex-start",lineHeight:"20px",fontSize:"13px"},timestamps:{format:function format(){return(0,p.Z)(this,de),(new Date).toLocaleTimeString(Mt.JB,Mt.c_)}.bind(this),style:{paddingLeft:"58px",color:"rgb(111, 118, 125)",fontFamily:"-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif"}}},triggerButton:{custom:function custom(){var r,c;return(0,p.Z)(this,de),rt({url:J.chatIcon,cssStyles:{backgroundColor:J.chatThemeColor,hoverBackgroundColor:J.chatHoverThemeColor,imageWidth:null!==(r=J.triggerButtonWidth)&amp;&amp;void 0!==r?r:"35px",imageHeight:null!==(c=J.triggerButtonHeight)&amp;&amp;void 0!==c?c:"35px",positionBottom:J.triggerButtonPositionBottom,positionRight:J.triggerButtonPositionRight}})}.bind(this)},userInput:{style:{borderColor:null!==(w=J.userInputSeparatorColor)&amp;&amp;void 0!==w?w:"#dfdfdf",minHeight:null!==(K=J.userInputHeight)&amp;&amp;void 0!==K?K:"56px",padding:"0"},box:{placeholder:J.chatPlaceholder,style:{fontSize:(0,k.g)()?"16px":"14px",marginLeft:"6px",outline:"1"},ariaLabel:J.chatAriaLabel},sendButton:{custom:$e},emojiPicker:{custom:We},attachments:{custom:Je}},replies:{align:"right"},reply:{custom:function custom(r){(0,p.Z)(this,de);var c=r.children;return Pe({color:J.replyTextColor,borderColor:J.replyBorderColor,backgroundColor:J.replyBackgroundColor,hoverBackgroundColor:J.replyHoverTextColor,children:c})}.bind(this)},button:{style:{color:J.buttonTextColor,background:J.buttonBackgroundColor,border:"none",borderRadius:"8px",margin:"8px 12px 12px",display:"block",width:"calc(100% - 24px)",height:"auto",padding:"8px 16px",fontSize:"13px"},hoverTextColor:J.buttonHoverTextColor,hoverBackground:J.buttonHoverBackgroundColor},startChatButton:{backgroundColor:J.startChatButtonBackgroundColor,hoverBackgroundColor:J.startChatButtonHoverBackgroundColor,textColor:J.startChatButtonTextColor,hoverTextColor:J.startChatButtonHoverTextColor,borderColor:J.startChatButtonBorderColor,hoverBorderColor:J.startChatButtonHoverBorderColor,startNewChatLabel:J.startChatButtonLabel},initialScreen:{welcomeMessageBackgroundColor:J.welcomeMessageBackgroundColor,welcomeMessageTitleFontSize:J.welcomeMessageTitleFontSize,welcomeMessageTitleFontFamily:J.welcomeMessageTitleFontFamily,welcomeMessageTitleColor:J.welcomeMessageTitleColor,welcomeMessageContentFontSize:J.welcomeMessageContentFontSize,welcomeMessageContentFontFamily:J.welcomeMessageContentFontFamily,welcomeMessageContentColor:J.welcomeMessageContentColor,customMessageFontSize:J.customMessageFontSize,customMessageColor:J.customMessageColor,customMessageFontFamily:J.customMessageFontFamily,customMessageBackgroundColor:J.customMessageBackgroundColor,customMessageNoBubbleFontSize:J.customMessageNoBubbleFontSize,customMessageNoBubbleColor:J.customMessageNoBubbleColor,customMessageNoBubbleFontFamily:J.customMessageNoBubbleFontFamily,customFieldLabelFontSize:J.customFieldLabelFontSize,customFieldLabelFontFamily:J.customFieldLabelFontFamily,customFieldLabelColor:J.customFieldLabelColor,customFieldInputFontSize:J.customFieldInputFontSize,customFieldInputFontFamily:J.customFieldInputFontFamily,customFieldInputColor:J.customFieldInputColor,customFieldInputBackgroundColor:J.customFieldInputBackgroundColor,customFieldInputPlaceholder:J.customFieldInputPlaceholder,customFieldPhoneDescription:J.customFieldPhoneDescription,customFieldPhoneInvalidFormatMessage:J.customFieldPhoneInvalidFormatMessage,customFieldEmailInvalidFormatMessage:J.customFieldEmailInvalidFormatMessage,customDropdownLabelFontSize:J.customDropdownLabelFontSize,customDropdownLabelFontFamily:J.customDropdownLabelFontFamily,customDropdownLabelColor:J.customDropdownLabelColor,customDropdownInputFontSize:J.customDropdownInputFontSize,customDropdownInputFontFamily:J.customDropdownInputFontFamily,customDropdownInputColor:J.customDropdownInputColor,customDropdownInputBackgroundColor:J.customDropdownInputBackgroundColor,customDropdownInputPlaceholder:J.customDropdownInputPlaceholder,customButtonFontSize:J.customButtonFontSize,customButtonFontFamily:J.customButtonFontFamily,customButtonColor:J.customButtonColor,customButtonBackgroundColor:J.customButtonBackgroundColor,customButtonBorderColor:J.customButtonBorderColor,customButtonHeight:J.customButtonHeight},endConversationScreen:{endedMessageLabel:J.endedChatMessage},confirmEndChat:{dialogBoxEndChat:J.chatDialogBoxEndChat,dialogBoxFontFamily:J.chatDialogBoxFontFamily,dialogBoxFontSize:J.chatDialogBoxFontSize,dialogBoxFontColor:J.chatDialogBoxFontColor,confirmButtonEndChat:J.chatConfirmButtonEndChat,cancelButtonEndChat:J.chatCancelButtonEndChat,dialogBoxIconColor:J.chatDialogBoxIconColor,primaryButton:{backgroundColor:J.chatConfirmButtonBackgroundColor,textColor:J.chatConfirmButtonFontColor,fontSize:J.chatConfirmButtonFontSize,fontFamily:J.chatConfirmButtonFontFamily},defaultButton:{textColor:J.chatCancelButtonFontColor,fontSize:J.chatCancelButtonFontSize,fontFamily:J.chatCancelButtonFontFamily}},chatCloseButtonColor:J.chatCloseButtonColor,chatMinimizeButtonColor:J.chatMinimizeButtonColor,link:{protocol:J.linkProtocol,target:J.linkTarget},attachment:{audio:{custom:ut},video:{custom:ft}},feedback:{custom:xt},endChatMessage:{custom:Pt},typingIndicator:{custom:Nt}});case 4:case"end":return x.stop()}}),_callee,this)})));return function getTheme(c){return r.apply(this,arguments)}}()},10738:function(r,c,u){"use strict";u.d(c,{Do:function(){return E.Do},Dt:function(){return oe.Z},On:function(){return J.On},Ub:function(){return p.Ub},Wp:function(){return w.Wp},XN:function(){return p.XN},_1:function(){return k._1},aL:function(){return p.aL},c2:function(){return y.c2},de:function(){return J.de},e$:function(){return y.ZP},fE:function(){return p.fE},gS:function(){return p.gS},hA:function(){return K.h},j:function(){return x.j},ju:function(){return I.j},qC:function(){return p.qC}});var p=u(37930),y=u(8310),w=u(90695),x=u(83274),k=u(94297),E=u(35477),I=u(96833),K=u(72639),J=u(53439),oe=u(54778)},53439:function(r,c,u){"use strict";u.d(c,{de:function(){return I},pk:function(){return K},On:function(){return Ie}});var p=u(1578),y=u(15243),w=u(27508),x=u(68742),k=u(21952),E=u.n(k),I=function(r){return r.TWILIO="TWILIO",r}({}),K=function(r){return r.READY="READY",r.PENDING="PENDING",r.DONE="DONE",r.ERROR="ERROR",r}({}),J=(u(12419),u(93985));function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function _setPrototypeOf(r,c){return _setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(r,c){return r.__proto__=c,r},_setPrototypeOf(r,c)}function _typeof(r){return _typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function _typeof(r){return typeof r}:function _typeof(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},_typeof(r)}function _getPrototypeOf(r){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)},_getPrototypeOf(r)}u(41539),u(88674),u(26833),u(69826),u(66992),u(78783),u(33948);var oe=u(52537),ie=function(){function Client(){(0,y.Z)(this,Client),(0,x.Z)(this,"_current",null),(0,x.Z)(this,"_conversation",null),(0,x.Z)(this,"_roomId","")}return(0,w.Z)(Client,[{key:"connection",value:function connection(){}},{key:"getConversation",value:function getConversation(){}},{key:"triggerFlow",value:function triggerFlow(){}},{key:"conversationLeave",value:function conversationLeave(){}},{key:"conversationVirtualLeave",value:function conversationVirtualLeave(){}},{key:"destroy",value:function destroy(){}},{key:"current",get:function get(){return this._current},set:function set(r){this._current=r}},{key:"conversation",get:function get(){return this._conversation},set:function set(r){this._conversation=r}},{key:"roomId",get:function get(){return this._roomId},set:function set(r){this._roomId=r}}]),Client}(),ae=ie,se=u(83274),ue=u(35477),le=u(8310);u(47941),u(82526),u(57327),u(38880),u(54747),u(49337);function _objectWithoutProperties(r,c){if(null==r)return{};var u,p,y=function _objectWithoutPropertiesLoose(r,c){if(null==r)return{};var u,p,y={},w=Object.keys(r);for(p=0;p&lt;w.length;p++)u=w[p],c.indexOf(u)&gt;=0||(y[u]=r[u]);return y}(r,c);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(r);for(p=0;p&lt;w.length;p++)u=w[p],c.indexOf(u)&gt;=0||Object.prototype.propertyIsEnumerable.call(r,u)&amp;&amp;(y[u]=r[u])}return y}var pe=u(94050),de=u(70714),he=u(54778),ge=["raw_message","rawMessage","attachments","templateId"];function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,x.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var ve="Twilio Conversation Heartbeat",we="Twilio Conversation Message Added";var Se=function ObserveTwilioConversation(r){var c=this,u=r.heartbeatTime,y=null,w=null,x=null,k=function getClientInfo(){return(0,J.Z)(this,c),w?{twilio_client_version:w.version,twilio_client_connection_state:w.connectionState}:{}}.bind(this),I=function getConversationInfo(){var r,u,p,w;return(0,J.Z)(this,c),y?{twilio_conversation_sid:y.sid,twilio_conversation_state:null===(r=y.state)||void 0===r?void 0:r.current,twilio_conversation_status:y.status,twilio_conversation_created:(0,de.Bj)(null===(u=y)||void 0===u?void 0:u.dateCreated),twilio_conversation_updated:(0,de.Bj)(null===(p=y)||void 0===p?void 0:p.dateUpdated),twilio_conversation_attributes:(0,pe.r)(null===(w=y)||void 0===w?void 0:w.attributes)}:{}}.bind(this),K=function onHeartbeat(){var r,p=this;(0,J.Z)(this,c);var y=null,w=function loop(){var r=this;(0,J.Z)(this,p),y=setTimeout(function(){(0,J.Z)(this,r),he.Z.reporter(ve,_objectSpread(_objectSpread({},k()),I())),w()}.bind(this),u)}.bind(this);return null!=Ie&amp;&amp;null!==(r=Ie.sdk)&amp;&amp;void 0!==r&amp;&amp;null!==(r=r.selfHostedApp)&amp;&amp;void 0!==r&amp;&amp;null!==(r=r.chatWidgetConfig)&amp;&amp;void 0!==r&amp;&amp;r.observeTwilioConversation&amp;&amp;w(),function(){(0,J.Z)(this,p),y&amp;&amp;(clearTimeout(y),y=null)}.bind(this)}.bind(this),oe=function onListeners(){var r=this;(0,J.Z)(this,c);var u=function handlerOnMessageAdded(c){(0,J.Z)(this,r);var u=(null==c?void 0:c.attributes)||{},p=(u.raw_message,u.rawMessage,u.attachments,u.templateId,_objectWithoutProperties(u,ge));he.Z.reporter(we,_objectSpread(_objectSpread(_objectSpread({},k()),I()),{},{twilio_message_direction:le.ZP.identity("get")===c.author?"outbound":"inbound",twilio_message_sid:c.sid,twilio_message_type:c.type,twilio_message_index:c.index,twilio_message_author:c.author,twilio_message_participant_sid:null==c?void 0:c.participantSid,twilio_message_created:(0,de.Bj)(null==c?void 0:c.dateCreated),twilio_message_updated:(0,de.Bj)(null==c?void 0:c.dateUpdated),twilio_message_attributes:(0,pe.r)(p)}))}.bind(this);return y&amp;&amp;y.on("messageAdded",u),function(){(0,J.Z)(this,r),y&amp;&amp;y.off("messageAdded",u)}.bind(this)}.bind(this),ie=function(){var r=(0,p.Z)(E().mark((function _callee(r,c){var u,p,k=this;return E().wrap((function _callee$(E){for(;;)switch(E.prev=E.next){case 0:return E.prev=0,w=c,E.next=4,r;case 4:if(!(y=E.sent)||!w){E.next=10;break}return u=K(),p=oe(),x=function _unbind(){(0,J.Z)(this,k),u(),p()}.bind(this),E.abrupt("return",!0);case 10:return E.abrupt("return",!1);case 13:return E.prev=13,E.t0=E.catch(0),E.abrupt("return",!1);case 16:case"end":return E.stop()}}),_callee,this,[[0,13]])})));return function init(c,u){return r.apply(this,arguments)}}();return{init:ie,destroy:function destroy(){var r;(0,J.Z)(this,c),null===(r=x)||void 0===r||r(),y=null,w=null}.bind(this)}};function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=_getPrototypeOf(r);if(c){var y=_getPrototypeOf(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return function _possibleConstructorReturn(r,c){return!c||"object"!==_typeof(c)&amp;&amp;"function"!=typeof c?_assertThisInitialized(r):c}(this,u)}}var Oe=function(r){!function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),c&amp;&amp;_setPrototypeOf(r,c)}(Twilio,r);var c,u,k,I,K,ie=_createSuper(Twilio);function Twilio(){var r;return(0,y.Z)(this,Twilio),r=ie.call(this),(0,x.Z)(_assertThisInitialized(r),"_twilioRegions",{US1:"us1",IE1:"ie1"}),(0,x.Z)(_assertThisInitialized(r),"_joinConversationPromise",null),(0,x.Z)(_assertThisInitialized(r),"_observeConversation",void 0),r._observeConversation=Se({heartbeatTime:3e4}),r}return(0,w.Z)(Twilio,[{key:"connection",value:(K=(0,p.Z)(E().mark((function _callee(){var r,c,u,p,y,w,x,k,I;return E().wrap((function _callee$(E){for(;;)switch(E.prev=E.next){case 0:if(Ie.sdk){E.next=2;break}return E.abrupt("return",Promise.reject("Base SDK not initialized"));case 2:return u=null===(r=Ie.sdk.selfHostedApp)||void 0===r?void 0:r.appId,p=null===(c=Ie.sdk.selfHostedApp)||void 0===c?void 0:c.region,y=se.ZP.generateIdentity(),E.next=7,this.fetchCredentials({touchpointId:u,identity:y,region:p});case 7:if(w=E.sent,x=w.token,k=w.conversationSid,I=w.region,x&amp;&amp;k){E.next=13;break}return E.abrupt("return",Promise.reject("Invalid credentials for connection twilio"));case 13:return this.roomId=k,E.next=16,this.fetchClient(x,{region:Object.values(this._twilioRegions).indexOf(I||"")&gt;-1?I:this._twilioRegions.US1});case 16:return this.current=E.sent,E.abrupt("return",this);case 18:case"end":return E.stop()}}),_callee,this)}))),function connection(){return K.apply(this,arguments)})},{key:"getConversation",value:function getConversation(){return this._joinConversationPromise||(this._joinConversationPromise=this.joinConversation(),this._observeConversation.init(this._joinConversationPromise,this.current)),this._joinConversationPromise}},{key:"triggerFlow",value:(I=(0,p.Z)(E().mark((function _callee2(){var r,c,u,p,y=this;return E().wrap((function _callee2$(w){for(;;)switch(w.prev=w.next){case 0:if(le.ZP.conversationEnded()||!this.conversation){w.next=13;break}return r=le.ZP.identity("get"),w.next=4,this.conversation.getParticipants();case 4:if(c=w.sent,!(u=null==c?void 0:c.find(function(c){return(0,J.Z)(this,y),c.identity===r}.bind(this)))){w.next=13;break}if((p=u.attributes||{}).bootstrapped){w.next=13;break}return p.bootstrapped=!0,w.next=12,u.updateAttributes(p);case 12:le.ZP.startConversation();case 13:case"end":return w.stop()}}),_callee2,this)}))),function triggerFlow(){return I.apply(this,arguments)})},{key:"conversationLeave",value:function conversationLeave(){var r;return this.conversation?null===(r=this.conversation)||void 0===r?void 0:r.leave():Promise.reject(new Error("No conversation to leave for twilio provider"))}},{key:"conversationVirtualLeave",value:(k=(0,p.Z)(E().mark((function _callee3(){var r,c,u,p;return E().wrap((function _callee3$(y){for(;;)switch(y.prev=y.next){case 0:if(this.conversation){y.next=2;break}return y.abrupt("return",Promise.reject(new Error("No conversation to leave for twilio provider")));case 2:return r=le.ZP.identity("get"),y.next=5,this.conversation.getParticipantByIdentity(r);case 5:return c=y.sent,y.next=8,null==c?void 0:c.getUser();case 8:if(u=y.sent,p="close_conversation_by_participant",u&amp;&amp;c){y.next=12;break}return y.abrupt("return",Promise.reject(new Error("No user or participant found for twilio provider")));case 12:return Twilio.validateAttributes(u.attributes)&amp;&amp;(u.attributes.update_reasons=p),Twilio.validateAttributes(c.attributes)&amp;&amp;(c.attributes.update_reasons=p),y.abrupt("return",Promise.all([u.updateAttributes(u.attributes),c.updateAttributes(c.attributes)]));case 15:case"end":return y.stop()}}),_callee3,this)}))),function conversationVirtualLeave(){return k.apply(this,arguments)})},{key:"destroy",value:function destroy(){var r;(this._observeConversation.destroy(),this.current)&amp;&amp;(null===(r=this.conversation)||void 0===r||r.removeAllListeners(),this.current.removeAllListeners(),this.current.shutdown());this.roomId="",this.current=null,this.conversation=null,this._joinConversationPromise=null}},{key:"fetchCredentials",value:(u=(0,p.Z)(E().mark((function _callee4(r){var c,u,p,y,w;return E().wrap((function _callee4$(x){for(;;)switch(x.prev=x.next){case 0:if(c=r.touchpointId,u=void 0===c?"":c,p=r.identity,y=r.region,le.ZP.verifyTwilioCredentials()||le.ZP.conversationExists()){x.next=7;break}return x.next=4,se.ZP.startLiveChatInteraction(u,p,y,ue.Do.current);case 4:return w=x.sent,le.ZP.startConversation(),x.abrupt("return",w);case 7:return x.abrupt("return",Promise.resolve(le.ZP.getAllCredentials()));case 8:case"end":return x.stop()}}),_callee4)}))),function fetchCredentials(r){return u.apply(this,arguments)})},{key:"fetchClient",value:function fetchClient(r,c){var u=this;return new Promise(function(p){var y=this;(0,J.Z)(this,u);var w=new oe.KU(r,c);w.once("stateChanged",function(r){(0,J.Z)(this,y);var c="initialized"===r;c||(w.removeAllListeners(),w.shutdown()),p(c?w:null)}.bind(this))}.bind(this))}},{key:"joinConversation",value:(c=(0,p.Z)(E().mark((function _callee5(){return E().wrap((function _callee5$(r){for(;;)switch(r.prev=r.next){case 0:if(this.current){r.next=4;break}this.conversation=null,r.next=7;break;case 4:return r.next=6,this.current.peekConversationBySid(this.roomId);case 6:this.conversation=r.sent;case 7:return r.abrupt("return",this.conversation);case 8:case"end":return r.stop()}}),_callee5,this)}))),function joinConversation(){return c.apply(this,arguments)})},{key:"observeConversation",get:function get(){return this._observeConversation}}],[{key:"validateAttributes",value:function validateAttributes(r){return r&amp;&amp;!Array.isArray(r)}}]),Twilio}(ae),Pe=new Oe,Le=function(){function ClientManager(){(0,y.Z)(this,ClientManager),(0,x.Z)(this,"_providerMapper",(0,x.Z)({},I.TWILIO,Pe)),(0,x.Z)(this,"_item",{provider:null,client:null,state:K.READY,errorMessage:""}),(0,x.Z)(this,"_sdk",void 0),(0,x.Z)(this,"_connectionPromise",null)}var r;return(0,w.Z)(ClientManager,[{key:"reset",value:function reset(r){var c;null===(c=this._item.client)||void 0===c||c.destroy(),this._item.client=null,this._item.state=K.READY,this._item.errorMessage="",this._connectionPromise=null,r&amp;&amp;(this._item.provider=r)}},{key:"getConnection",value:function getConnection(){return this._connectionPromise||(this._connectionPromise=this.connection()),this._connectionPromise}},{key:"connection",value:(r=(0,p.Z)(E().mark((function _callee(){var r;return E().wrap((function _callee$(c){for(;;)switch(c.prev=c.next){case 0:if(this._item.provider){c.next=2;break}throw new Error("Client provider not set");case 2:if(r=this._providerMapper[this._item.provider]){c.next=5;break}throw new Error("Client provider instance not found");case 5:return this._item.state=K.PENDING,c.prev=6,c.next=9,r.connection();case 9:return this._item.client=c.sent,this._item.state=K.DONE,c.abrupt("return",this._item);case 14:throw c.prev=14,c.t0=c.catch(6),this._item.client=null,this._item.state=K.ERROR,this._item.errorMessage=c.t0.message,c.t0;case 20:case"end":return c.stop()}}),_callee,this,[[6,14]])}))),function connection(){return r.apply(this,arguments)})},{key:"sdk",get:function get(){return this._sdk},set:function set(r){this._sdk=r}},{key:"current",get:function get(){return this._item}}]),ClientManager}(),Ie=new Le},35477:function(r,c,u){"use strict";u.d(c,{Do:function(){return k}});var p=u(68742),y=u(93985);u(41539),u(39714),u(54747),u(47941),u(69600),u(82526),u(57327),u(38880),u(49337);function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,p.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var w=1024,x=function(r){return r.string="[object String]",r.object="[object Object]",r.array="[object Array]",r.number="[object Number]",r}(x||{});function getValueType(r){return Object.prototype.toString.call(r)}function filterValue(r){var c="".concat(r);return c.length&gt;w?(console.warn("The ".concat(r," is too long")),c.substring(0,w)):r}var k=function Context(){var r=this,c={},u={},p={},w={};return{setInitialScreenContext:function setInitialScreenContext(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};c=_objectSpread(_objectSpread({},c),r)},setCustomContext:function setCustomContext(c){(0,y.Z)(this,r),c?getValueType(c)===x.object?u=function filterContext(){var r=this,c=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{},u={};return Object.keys(c).forEach(function(p){var w;(0,y.Z)(this,r);var k=null!==(w=c[p])&amp;&amp;void 0!==w?w:"";switch(getValueType(k)){case x.string:case x.number:u[p]=filterValue(k);break;case x.array:u[p]=filterValue(k.join(","));break;case x.object:u[p]=filterValue(JSON.stringify(k));break;default:u[p]=filterValue(k)}}.bind(this)),u}(c):console.error('The parameter of the setContextParam method must be an object such as { "var1": "value1", "var2": "value2", "var3": "value3" }'):console.error("Please pass in the correct parameter for setContextParam method")}.bind(this),setOldFeedbackContext:function setOldFeedbackContext(c){(0,y.Z)(this,r),w=c}.bind(this),get current(){return _objectSpread(_objectSpread(_objectSpread({},u),c),w)},get initialScreenContext(){return c},get customDefaultValue(){return p},setInitialScreenContextByCustomDefault:function setInitialScreenContextByCustomDefault(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};p=r,c=_objectSpread(_objectSpread({},c),r)},resetInitialScreenContext:function resetInitialScreenContext(){c=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{}}}}()},90695:function(r,c,u){"use strict";u.d(c,{Wp:function(){return addStoreEventListenerLivechat},hi:function(){return handleSentMessage}});var p=u(68742),y=u(93985),w=u(1578),x=u(21952),k=u.n(x),E=(u(68309),u(92222),u(47941),u(40561),u(26699),u(32023),u(82526),u(57327),u(41539),u(38880),u(54747),u(49337),u(35832)),I=u(28485),K=u(10122),J=u(94297),oe=u(4675),ie=u(8310),ae=u(37930),se=u(83274),ue=u(53439);function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,p.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var le=!1,pe=null;function addStoreEventListenerLivechat(r,c){return _addStoreEventListenerLivechat.apply(this,arguments)}function _addStoreEventListenerLivechat(){return _addStoreEventListenerLivechat=(0,w.Z)(k().mark((function _callee2(r,c){var u,p,y;return k().wrap((function _callee2$(x){for(;;)switch(x.prev=x.next){case 0:y=function _unloadListener(){var r=ie.ZP.getFeedbackIdentity()||"[]",c=ie.ZP.getFeedbackIdentity("sessionStorage"),u=JSON.parse(r),p=u.indexOf(c);-1!==p&amp;&amp;(u.splice(p,1),ie.ZP.setFeedbackIdentity(JSON.stringify(u)))},p=function _storeListener3(){return(p=(0,w.Z)(k().mark((function _callee(u){var p,y,w,x;return k().wrap((function _callee$(k){for(;;)switch(k.prev=k.next){case 0:if(u.storageArea===localStorage){k.next=2;break}return k.abrupt("return");case 2:if("livechatInit"===u.key&amp;&amp;"true"===u.newValue&amp;&amp;(r.webchatRef.current.closeCoverComponent(),c(!1)),"connectOtherTabs"===u.key&amp;&amp;"true"===u.newValue&amp;&amp;(r.webchatRef.current.closeCoverComponent(),c(!1)),"isParticipantReadyForChat"===u.key&amp;&amp;"true"===u.newValue&amp;&amp;r.webchatRef.current.closeCoverComponent(),"cleanLivechatTD"!==u.key||"true"!==u.newValue){k.next=14;break}if(null==(p=ie.ZP.getLivechatFlow())||!p.includes("feedback")){k.next=12;break}r.webchatRef.current.closeCoverComponent(),r.setUserInput(!0),k.next=14;break;case 12:return k.next=14,(0,ae.NC)(r,!1);case 14:if("blocTextArea"===u.key&amp;&amp;"true"===u.newValue&amp;&amp;r.setShowUserInputContainerLockMask(!0),u.key===oe.Z.WEBCHAT_CONFIG)try{y=JSON.parse(u.newValue),(w=u.oldValue?JSON.parse(u.oldValue):null)&amp;&amp;y.livechatConversationEnded===w.livechatConversationEnded||y.livechatConversationEnded&amp;&amp;(0,se.j)(r)}catch(r){E.Z.error("Failed to update the webchat config in storage",{errorMessage:"string"==typeof r?r:r.message})}"interactionInfo"===u.key&amp;&amp;(x=u.newValue?JSON.parse(u.newValue):null,r.enableHeaderButtons({enableDownloadTranscriptButton:!(null==x||!x.interactionId)}));case 17:case"end":return k.stop()}}),_callee)})))).apply(this,arguments)},u=function _storeListener2(r){return p.apply(this,arguments)},le||(window.addEventListener("storage",u),window.addEventListener("unload",y)),le=!0;case 5:case"end":return x.stop()}}),_callee2)}))),_addStoreEventListenerLivechat.apply(this,arguments)}function createMediaMessage(r){var c=r.name||"";if(!c){var u=(0,J.ky)(r.type),p=oe.Z.MIME_TYPES_FILE_SUFFIX_MAPPER[u.prefix]||"",y=u.prefix;c="".concat(y,"_").concat(Date.now()).concat(p)}var w=new FormData;return w.append("file",r),{formData:w,fileName:c}}function messageSendSuccess(r,c){!function updateMessageAck(r,c){var u=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:1;r.webchatRef.current.updateMessageInfo(c,{id:c,type:"sender_action",ack:u})}(r,c,1)}function messageSendFailed(r,c){var u=this,p=!(arguments.length&gt;2&amp;&amp;void 0!==arguments[2])||arguments[2];pe&amp;&amp;(clearTimeout(pe),pe=null),p&amp;&amp;(r.webchatRef.current.renderCustomComponent((0,K.Z)({type:"sendMessageError"})),pe=setTimeout(function(){return(0,y.Z)(this,u),r.webchatRef.current.unmountCustomComponent()}.bind(this),5e3)),E.Z.error("Failed to send the message",{errorMessage:"string"==typeof c?c:c.message})}function handleSentMessage(r){return _handleSentMessage.apply(this,arguments)}function _handleSentMessage(){return(_handleSentMessage=(0,w.Z)(k().mark((function _callee3(r){var c,u,p,w,x,K,J,ae,le,pe,de,he,ge,ve,we=this;return k().wrap((function _callee3$(k){for(;;)switch(k.prev=k.next){case 0:if(r.data===oe.Z.WEBCHAT_ENGAGEMENT_TEXT){k.next=37;break}if("messageReceived"===r.id){k.next=37;break}if(p=[oe.Z.DOCUMENT,oe.Z.VIDEO,oe.Z.IMAGE,oe.Z.AUDIO].indexOf(r.type)&gt;-1,w=null==r?void 0:r.payload,x={botonic_send_id:r.id},K=ue.On.sdk.selfHostedApp,!(0,ie.oX)()){k.next=10;break}return messageSendFailed(K,new Error("Conversation ended"),!1),(0,se.j)(K),k.abrupt("return",null);case 10:return k.next=12,ue.On.getConnection();case 12:return k.next=14,null===(c=ue.On.current.client)||void 0===c||null===(u=c.getConversation)||void 0===u?void 0:u.call(c);case 14:if(J=k.sent){k.next=19;break}return messageSendFailed(K,new Error("No found client conversation"),!1),(0,se.j)(K),k.abrupt("return",null);case 19:if(!p){k.next=24;break}return ae=createMediaMessage(r.data),le=ae.fileName,pe=ae.formData,de="voiceover",J.sendMessage(pe,x).then(function(){(0,y.Z)(this,we),messageSendSuccess(K,r.id),I.Z.emit(de,{id:r.id,messages:["messageSendAttachmentSuccess"]})}.bind(this)).catch(function(c){(0,y.Z)(this,we),messageSendFailed(K,c),I.Z.emit(de,{id:r.id,messages:["messageSendAttachmentFailed"]})}.bind(this)),k.abrupt("return",{isMedia:!0,target:le});case 24:if(!w){k.next=30;break}he={};try{he=JSON.parse(w)}catch(c){he={},E.Z.error("Failed to parse the message attributes when send to VA",{errorMessage:"string"==typeof c?c:c.message,userInput:r})}J.sendMessage(r.data,_objectSpread(_objectSpread({},x),he)).then(function(){return(0,y.Z)(this,we),messageSendSuccess(K,r.id)}.bind(this)).catch(function(r){return(0,y.Z)(this,we),messageSendFailed(K,r)}.bind(this)),k.next=36;break;case 30:if(ge=ie.ZP.getLivechatFlow(),ve=ie.ZP.getLastMessageFrom(),ie.ZP.setLastMessageFrom("user"),null==ge||!ge.includes("feedback")||"user"!==ve){k.next=35;break}return k.abrupt("return",{target:r.data,isMedia:!1});case 35:J.sendMessage(r.data,x).then(function(){return(0,y.Z)(this,we),messageSendSuccess(K,r.id)}.bind(this)).catch(function(r){return(0,y.Z)(this,we),messageSendFailed(K,r)}.bind(this));case 36:return k.abrupt("return",{target:r.data,isMedia:!1});case 37:return k.abrupt("return",null);case 38:case"end":return k.stop()}}),_callee3,this)})))).apply(this,arguments)}},37930:function(r,c,u){"use strict";u.d(c,{qC:function(){return addChatWelcomeMessages},aL:function(){return connectToTheConversation},XN:function(){return getSendTemporaryDisplayUrl},gS:function(){return handleLivechatMessages},IO:function(){return handleRemoveSelfInParticipants},fE:function(){return initiateLivechatImmediately},EV:function(){return loadMessages},NC:function(){return restartLivechat},Ub:function(){return startConnectionFromTriggerButton},PO:function(){return startFeedbackChat}});var p=u(1578),y=u(93985),w=u(21952),x=u.n(w),k=(u(26699),u(32023),u(92222),u(47941),u(41539),u(54747),u(68309),u(21249),u(57327),u(66992),u(88674),u(78783),u(33948),u(60285),u(41637),u(74916),u(55877)),E=u(40121),I=u(70714),K=u(4675),J=u(28485),oe=u(35832),ie=u(85829),ae=u(87909),se=u(92035),ue=u(95195),le=u(83274),pe=u(35477),de=u(93498),he=u(56744),ge=u(94297),ve=u(90695),we=u(8310),Se=u(96833),Oe=u(72639),Pe=u(68742),Le=(u(69600),void 0),Ie=[E.DD.CustomText,E.DD.HtmlContent,E.DD.Carousel,E.DD.Buttons,E.DD.QuickReplies],je="___sdk-welcome-message___";function appendMessage(r,c){var u=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:[];r.webchatRef.current.addBotResponse({response:(0,de.Z)({id:"".concat(je,"-").concat((0,k.v4)()),from:"bot",payload:c,responses:u})})}var De=(0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)((0,Pe.Z)({},E.DD.CustomText,function(r,c){(0,y.Z)(this,Le),appendMessage(r,{mediaType:E.DD.CustomText,textResponse:c.text_response})}.bind(void 0)),E.DD.HtmlContent,function(r,c){(0,y.Z)(this,Le),appendMessage(r,{mediaType:E.DD.HtmlContent,content:c.content})}.bind(void 0)),E.DD.Carousel,function(r,c){(0,y.Z)(this,Le),appendMessage(r,{mediaType:E.DD.Carousel,carousel:c.carousel})}.bind(void 0)),E.DD.Buttons,function(r,c){(0,y.Z)(this,Le),appendMessage(r,{mediaType:E.DD.Buttons,quickActions:c.quick_actions,textResponse:c.text_response})}.bind(void 0)),E.DD.QuickReplies,function(r,c){(0,y.Z)(this,Le),appendMessage(r,{mediaType:E.DD.QuickReplies,quickActions:c.quick_actions,textResponse:c.text_response})}.bind(void 0));var Ue=u(53439),Fe=u(36464),Ze="0941024",$e=100,Ge="system",We="digital_interaction_assigned",Ke=null;function handleLivechatFlow(r){var c=we.ZP.getLivechatFlow();c?"feedback"===r?we.ZP.setLivechatFlow("feedback"):c.includes(r)||we.ZP.setLivechatFlow("".concat(c,"-").concat(r)):we.ZP.setLivechatFlow(r)}function handleReceivedMessage(r,c,u,p){var w,x,k,ie=this,se=u.attributes,ue=!(null==se||!se.isReachabilityMessage),le=u.author===c,pe=u.author===Ge,he=(null==se||null===(w=se.action)||void 0===w?void 0:w.name)===We,ve=pe&amp;&amp;he,Oe=(null==r||null===(x=r.getMessages)||void 0===x?void 0:x.call(r))||[];if(!ue&amp;&amp;!(ve||le&amp;&amp;Oe.map(function(r){return(0,y.Z)(this,ie),r.id}.bind(this)).indexOf((null==se?void 0:se.botonic_send_id)||"")&gt;-1)){le||r.notifications.handleNewMessage(u.index);var Pe=(0,I.gs)((null===(k=u.state)||void 0===k?void 0:k.timestamp)||u.timestamp);we.ZP.setLastMessageFrom("agent"),null!=se&amp;&amp;se.is_virtual_agent?handleLivechatFlow("va"):null!=se&amp;&amp;se.isAgentMessage&amp;&amp;handleLivechatFlow("agent");var Le=function parseRichMediaMessage(r){var c,u=r.body,p=r.attributes,y=r.type===E.DD.Media,w=(0,ge.ky)(null==r||null===(c=r.media)||void 0===c?void 0:c.contentType).prefix,x=[u],k=y?{mediaType:E.DD.Media,media:{mediaType:[K.Z.VIDEO,K.Z.IMAGE,K.Z.AUDIO].indexOf(w)&gt;-1?w:E.vW.File,ignoreValid:!0,provider:"twilio"}}:{mediaType:E.DD.Text};if(y&amp;&amp;Se.j.push(r,K.Z.TWILIO_MEDIA_URL_EXPIRED),null!=p&amp;&amp;p.is_virtual_agent){var I=JSON.parse(u);x=I.responses,k=I.payloads[0]||k}return{responses:x,payload:k}}(u),Ie=Le.responses,je=Le.payload,De=le?"user":"bot";r.webchatRef.current.addBotResponse({response:(0,de.Z)({id:u.sid,responses:Ie,payload:je,from:De,timestamp:Pe})}),function sendVoiceoverMessage(r){var c=this,u=r.message,p=r.responses,w=r.payload,x=r.from,k=r.isNewMessage;try{var I=u.sid,K=u.type,ie=(0,ae.z)(w||{}),se=ie.mediaType,ue=ie.content,le=K===E.DD.Media;if(!k)return;if(null==p||!p.length)return;if("user"===x)return;var pe="voiceover";if([E.DD.Text,E.DD.QuickReplies].includes(se)&amp;&amp;J.Z.emit(pe,{id:I,messages:p}),se===E.DD.MultiContent){var de=[];null==ue||ue.forEach(function(r){(0,y.Z)(this,c);var u=r;(null==u?void 0:u.mediaType)===E.DD.CustomText&amp;&amp;de.push(u.textResponse)}.bind(this)),J.Z.emit(pe,{id:I,messages:de})}le&amp;&amp;J.Z.emit(pe,{id:I,messages:["attachmentReceived"]})}catch(r){oe.Z.warn("Failed to send voice over message",{errorMessage:"string"==typeof r?r:r.message})}}({message:u,responses:Ie,payload:je,timestamp:Pe,from:De,isNewMessage:p})}}function addChatWelcomeMessages(r){var c,u,p=this,w=null===(c=r.touchPointConfig)||void 0===c||null===(c=c.chat)||void 0===c?void 0:c.messages,x="___chat_welcome_message___";Array.isArray(w)&amp;&amp;w.length&amp;&amp;(((null==r||null===(u=r.getMessages)||void 0===u?void 0:u.call(r))||[]).filter(function(r){return(0,y.Z)(this,p),r.id.indexOf(x)&gt;-1}.bind(this)).length||w.filter(function(r){return(0,y.Z)(this,p),r.value}.bind(this)).forEach(function(c){(0,y.Z)(this,p);var u=c.key,w=c.value;r.webchatRef.current.addBotResponse({response:(0,de.Z)({id:"".concat(x,"_").concat(u),responses:[w],from:"bot"})})}.bind(this)));!function handleOnSdkWelcomeMessage(r){var c,u=this,p=null==r?void 0:r.sdkWelcomeMessages;p&amp;&amp;Array.isArray(p)&amp;&amp;null!=p&amp;&amp;p.length&amp;&amp;(((null==r||null===(c=r.getMessages)||void 0===c?void 0:c.call(r))||[]).filter(function(r){return(0,y.Z)(this,u),r.id.indexOf(je)&gt;-1}.bind(this)).length||p.forEach(function(c){(0,y.Z)(this,u);try{var p;Ie.indexOf(c.media_type)&gt;-1?null===(p=De[c.media_type])||void 0===p||p.call(De,r,c):oe.Z.info("welcome media message type is not supported",{supportedTypes:Ie.join(),item:c})}catch(r){oe.Z.error("Failed to render the welcome message",{item:c,errorMessage:"string"==typeof r?r:r.message})}}.bind(this)))}(r)}function initiateLivechat(){return _initiateLivechat.apply(this,arguments)}function _initiateLivechat(){return(_initiateLivechat=(0,p.Z)(x().mark((function _callee(){var r,c,u,p,w,k,E,I,K,J,ie,ae,se,ue,de,he=this;return x().wrap((function _callee$(x){for(;;)switch(x.prev=x.next){case 0:return c=null===(r=Ue.On.sdk)||void 0===r?void 0:r.selfHostedApp,u=(new Date).getTime(),p={connected:{ts:0,duration:0},created:{ts:0,duration:0},total:{ts:0,duration:0}},x.prev=3,Ue.On.reset(),w=pe.Do.current,x.next=8,Ue.On.getConnection();case 8:return k=x.sent,we.ZP.triggerOtherTabs(),p.connected={ts:(new Date).getTime(),duration:(new Date).getTime()-u},E=we.ZP.identity("get"),x.next=14,le.ZP.createClient();case 14:return I=k.client.current,x.next=17,k.client.getConversation();case 17:return K=x.sent,k.client.triggerFlow(),p.created={ts:(new Date).getTime(),duration:(new Date).getTime()-p.connected.ts},p.total={ts:(new Date).getTime(),duration:(new Date).getTime()-u},Oe.h.init({conversation:K,webChat:c}),K.on("messageAdded",function(r){(0,y.Z)(this,he),Oe.h.switchMode({messageOrMessageList:r,identity:E}),handleReceivedMessage(c,E,r,!0)}.bind(this)),"feedback"!==(null==w?void 0:w.feedback_chat_type)&amp;&amp;(J=we.ZP.getFeedbackIdentity()||"[]",(ie=JSON.parse(J)).unshift(E),we.ZP.setFeedbackIdentity(JSON.stringify(ie)),we.ZP.setFeedbackIdentity(E,"sessionStorage")),x.abrupt("return",{client:I,conversation:K});case 27:x.prev=27,x.t0=x.catch(3),se={errorMessage:"string"==typeof x.t0?x.t0:x.t0.message,touchpointId:c.appId},(null===x.t0||void 0===x.t0||null===(ae=x.t0.response)||void 0===ae||null===(ae=ae.data)||void 0===ae?void 0:ae.code)===Ze?(oe.Z.error("Failed to initialize chat, client is inactive",se),(0,le.j)(c,!0)):(oe.Z.error("Failed to initialize chat",se),(0,le.j)(c));case 31:return x.prev=31,null==c||null===(ue=c.setScreenLoading)||void 0===ue||ue.call(c,!1),null==c||null===(de=c.setShowUserInputContainerLockMask)||void 0===de||de.call(c,!1),oe.Z.info("twilio client connection performance",{connectionDetails:JSON.stringify(p),connectTwilioClientDuration:p.connected.duration,connectTotalDuration:p.total.duration}),x.finish(31);case 36:case"end":return x.stop()}}),_callee,this,[[3,27,31,36]])})))).apply(this,arguments)}function loadMessages(r,c,u){return _loadMessages.apply(this,arguments)}function _loadMessages(){return(_loadMessages=(0,p.Z)(x().mark((function _callee2(r,c,u){var p,w,k=this;return x().wrap((function _callee2$(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,r.getMessages($e);case 2:if(p=x.sent,w=p.items){x.next=6;break}return x.abrupt("return");case 6:Oe.h.switchMode({messageOrMessageList:w,identity:u}),w.forEach(function(r){(0,y.Z)(this,k),handleReceivedMessage(c,u,r.state)}.bind(this));case 8:case"end":return x.stop()}}),_callee2,this)})))).apply(this,arguments)}function sendFirstMessage(r){return _sendFirstMessage.apply(this,arguments)}function _sendFirstMessage(){return(_sendFirstMessage=(0,p.Z)(x().mark((function _callee3(r){var c,u,p,y;return x().wrap((function _callee3$(w){for(;;)switch(w.prev=w.next){case 0:return y=null===(c=Ue.On.sdk)||void 0===c?void 0:c.selfHostedApp,we.ZP.blocTextArea(),null==y||null===(u=y.setScreenLoading)||void 0===u||u.call(y,!0),null==y||null===(p=y.setShowUserInputContainerLockMask)||void 0===p||p.call(y,!0),w.next=6,null==y?void 0:y.onConversationStartWebchat();case 6:return w.next=8,initiateLivechat();case 8:if(!w.sent){w.next=14;break}return y.enableHeaderButtons(),we.ZP.triggerOtherTabs(),w.next=14,(0,ve.hi)(r);case 14:case"end":return w.stop()}}),_callee3)})))).apply(this,arguments)}function initiateLivechatImmediately(){return _initiateLivechatImmediately.apply(this,arguments)}function _initiateLivechatImmediately(){return(_initiateLivechatImmediately=(0,p.Z)(x().mark((function _callee4(){var r,c,u,p,y,w;return x().wrap((function _callee4$(x){for(;;)switch(x.prev=x.next){case 0:return c=null===(r=Ue.On.sdk)||void 0===r?void 0:r.selfHostedApp,x.prev=1,we.ZP.blocTextArea(),null==c||null===(u=c.setScreenLoading)||void 0===u||u.call(c,!0),null==c||null===(p=c.setShowUserInputContainerLockMask)||void 0===p||p.call(c,!0),x.next=7,c.onConversationStartWebchat();case 7:return x.next=9,initiateLivechat();case 9:c.enableHeaderButtons(),x.next=15;break;case 12:x.prev=12,x.t0=x.catch(1),oe.Z.error("Failed to initialized chat immediately",{errorMessage:"string"==typeof x.t0?x.t0:x.t0.message});case 15:return x.prev=15,null==c||null===(y=c.setScreenLoading)||void 0===y||y.call(c,!1),null==c||null===(w=c.setShowUserInputContainerLockMask)||void 0===w||w.call(c,!1),x.finish(15);case 19:case"end":return x.stop()}}),_callee4,null,[[1,12,15,19]])})))).apply(this,arguments)}function startConnectionFromTriggerButton(){var r,c,u=!(arguments.length&gt;0&amp;&amp;void 0!==arguments[0])||arguments[0],p=null===(r=Ue.On.sdk)||void 0===r?void 0:r.selfHostedApp;(null==p?void 0:p.enableConnectionFromTriggerButton)&amp;&amp;(we.ZP.conversationExists()||u&amp;&amp;(null===(c=p.touchPointConfig)||void 0===c||null===(c=c.initialScreen)||void 0===c?void 0:c.showInitialScreen)||initiateLivechatImmediately())}function sendMessage(r){return _sendMessage.apply(this,arguments)}function _sendMessage(){return(_sendMessage=(0,p.Z)(x().mark((function _callee5(r){return x().wrap((function _callee5$(c){for(;;)switch(c.prev=c.next){case 0:if("messageReceived"===r.id){c.next=3;break}return c.next=3,(0,ve.hi)(r);case 3:case"end":return c.stop()}}),_callee5)})))).apply(this,arguments)}function restartLivechat(r){return _restartLivechat.apply(this,arguments)}function _restartLivechat(){return _restartLivechat=(0,p.Z)(x().mark((function _callee6(r){var c,u=arguments;return x().wrap((function _callee6$(p){for(;;)switch(p.prev=p.next){case 0:return c=!(u.length&gt;1&amp;&amp;void 0!==u[1])||u[1],se.u.emit("feedbackReset"),ue.s.emit("endChat",{show:!1}),Oe.h.destroy(),pe.Do.resetInitialScreenContext(pe.Do.customDefaultValue),pe.Do.setOldFeedbackContext({}),c&amp;&amp;(we.ZP.cleanLiveChat(),we.ZP.cleanFeedbackChat(),(0,he.Ly)(K.Z.LIVECHAT_CONVERSATION_ENDED,!1)),p.next=9,Promise.all([r.webchatRef.current.closeCoverComponent(),r.clearMessages()]);case 9:r.setUserInput(r.enableUserInput),r.onOpenInitialScreen(),r.enableHeaderButtons({enableDownloadTranscriptButton:!1,enableEndConversationButton:!1}),Ue.On.reset(),c&amp;&amp;startConnectionFromTriggerButton(),Ke=null;case 15:case"end":return p.stop()}}),_callee6)}))),_restartLivechat.apply(this,arguments)}function startFeedbackChat(r,c){return _startFeedbackChat.apply(this,arguments)}function _startFeedbackChat(){return(_startFeedbackChat=(0,p.Z)(x().mark((function _callee7(r,c){var u,p;return x().wrap((function _callee7$(y){for(;;)switch(y.prev=y.next){case 0:return u=we.ZP.getFeedbackIdentity("sessionStorage"),y.next=3,we.ZP.getFeedbackIdentity();case 3:if(y.t0=y.sent,y.t0){y.next=6;break}y.t0="[]";case 6:if(p=y.t0,JSON.parse(p)[0]===u){y.next=10;break}return y.abrupt("return");case 10:handleLivechatFlow("feedback"),we.ZP.cleanLiveChat(),(0,he.Ly)(K.Z.LIVECHAT_CONVERSATION_ENDED,!1),r.webchatRef.current.closeCoverComponent(),r.setUserInput(!0),r.setShowUserInputContainerLockMask(!0),pe.Do.setOldFeedbackContext({feedback_conversation_sid:c,feedback_interaction_id:c,feedback_chat_type:"feedback"}),sendFirstMessage({data:"feedback",type:"text",id:"feedback",payload:void 0});case 18:case"end":return y.stop()}}),_callee7)})))).apply(this,arguments)}function handleRemoveSelfInParticipants(){return _handleRemoveSelfInParticipants.apply(this,arguments)}function _handleRemoveSelfInParticipants(){return _handleRemoveSelfInParticipants=(0,p.Z)(x().mark((function _callee8(){var r,c,u,p,y,w,k,E=arguments;return x().wrap((function _callee8$(x){for(;;)switch(x.prev=x.next){case 0:return c=!(E.length&gt;0&amp;&amp;void 0!==E[0])||E[0],x.next=3,Ue.On.getConnection();case 3:if(u=x.sent,p=null===(r=Ue.On.sdk)||void 0===r?void 0:r.selfHostedApp,!c){x.next=12;break}return we.ZP.removeAllCredentials(),x.next=9,u.client.conversationLeave();case 9:Ue.On.reset(),x.next=20;break;case 12:return x.next=14,u.client.conversationVirtualLeave();case 14:return oe.Z.info("Self end chat for update attrs"),x.next=17,u.client.getConversation();case 17:w=x.sent,(k=null===(y=w.attributes)||void 0===y?void 0:y.feedback_link)?(0,le.CS)({webChat:p,feedbackLink:k,interactionStage:"END"}):(0,le.j)(p);case 20:return x.abrupt("return",!0);case 21:case"end":return x.stop()}}),_callee8)}))),_handleRemoveSelfInParticipants.apply(this,arguments)}function _originConnectToTheConversation(){return _originConnectToTheConversation=(0,p.Z)(x().mark((function _callee9(){var r,c,u,p,w,E,I,K,J,ae,se,ue,pe,de=this,he=arguments;return x().wrap((function _callee9$(x){for(;;)switch(x.prev=x.next){case 0:return u=he.length&gt;0&amp;&amp;void 0!==he[0]&amp;&amp;he[0],(p=null===(r=Ue.On.sdk)||void 0===r?void 0:r.selfHostedApp).setShowUserInputContainerLockMask(!0),p.setScreenLoading(!0),addChatWelcomeMessages(p),Ue.On.reset(),w=we.ZP.identity("get"),x.next=9,Ue.On.getConnection();case 9:return E=x.sent,I=E.client.current,x.next=13,le.ZP.createClient();case 13:return x.next=15,E.client.getConversation();case 15:return K=x.sent,Oe.h.init({conversation:K,webChat:p}),J=K.attributes,ae=we.ZP.getFeedbackIdentity()||"[]",se=we.ZP.getFeedbackIdentity("sessionStorage"),(ue=JSON.parse(ae)).includes(se)||(pe="widget.".concat(window.location.hostname,"-").concat((0,ie.k)((0,k.v4)(),"-","")),ue.push(pe),we.ZP.setFeedbackIdentity(JSON.stringify(ue)),we.ZP.setFeedbackIdentity(pe,"sessionStorage")),u&amp;&amp;E.client.triggerFlow(),K.on("messageAdded",function(r){(0,y.Z)(this,de),Oe.h.switchMode({messageOrMessageList:r,identity:w}),handleReceivedMessage(p,w,r,!0)}.bind(this)),x.next=26,loadMessages(K,p,w);case 26:if(null!=J&amp;&amp;J.feedback_link&amp;&amp;(0,le.CS)({webChat:p,feedbackLink:J.feedback_link,interactionStage:null==J?void 0:J.interaction_stage}),we.ZP.conversationEnded()){x.next=31;break}p.enableHeaderButtons(),x.next=32;break;case 31:return x.abrupt("return",Promise.reject("Conversation is ended"));case 32:if("WRAP_UP_BY_AGENT"===(null==J?void 0:J.interaction_status)&amp;&amp;handleRemoveSelfInParticipants().catch(function(r){(0,y.Z)(this,de),oe.Z.error("Failed to handleRemoveSelfInParticipants",{errorMessage:"string"==typeof r?r:r.message})}.bind(this)),"active"===(null===(c=K.state)||void 0===c?void 0:c.current)){x.next=35;break}return x.abrupt("return",Promise.reject("Conversation is not active"));case 35:return x.abrupt("return",{client:I,conversation:K});case 36:case"end":return x.stop()}}),_callee9,this)}))),_originConnectToTheConversation.apply(this,arguments)}function connectToTheConversation(){return Ke||(Ke=function originConnectToTheConversation(){return _originConnectToTheConversation.apply(this,arguments)}(arguments.length&gt;0&amp;&amp;void 0!==arguments[0]&amp;&amp;arguments[0])),Ke}function handleLivechatMessages(r,c){return _handleLivechatMessages.apply(this,arguments)}function _handleLivechatMessages(){return(_handleLivechatMessages=(0,p.Z)(x().mark((function _callee10(r,c){return x().wrap((function _callee10$(u){for(;;)switch(u.prev=u.next){case 0:if((null==c?void 0:c.payload)!==E.Qx.StartNewChat){u.next=5;break}return u.next=3,restartLivechat(r);case 3:case 8:u.next=12;break;case 5:if(!we.ZP.conversationExists()){u.next=10;break}return u.next=8,sendMessage(c);case 10:return u.next=12,sendFirstMessage(c);case 12:case"end":return u.stop()}}),_callee10)})))).apply(this,arguments)}function getSendTemporaryDisplayUrl(r){return _getSendTemporaryDisplayUrl.apply(this,arguments)}function _getSendTemporaryDisplayUrl(){return(_getSendTemporaryDisplayUrl=(0,p.Z)(x().mark((function _callee11(r){var c,u;return x().wrap((function _callee11$(p){for(;;)switch(p.prev=p.next){case 0:if(u=URL.createObjectURL(r.data),!/image/gi.test(null===(c=r.data)||void 0===c?void 0:c.type)){p.next=4;break}return p.next=4,(0,Fe.Z)(u);case 4:return p.abrupt("return",u);case 5:case"end":return p.stop()}}),_callee11)})))).apply(this,arguments)}},94297:function(r,c,u){"use strict";u.d(c,{_1:function(){return Se},ky:function(){return pe},is:function(){return getTextAreaElement},OH:function(){return getTriggerButtonElement}});var p=u(1578),y=u(93985);var w=u(14058);function _slicedToArray(r,c){return function _arrayWithHoles(r){if(Array.isArray(r))return r}(r)||function _iterableToArrayLimit(r,c){var u=r&amp;&amp;("undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"]);if(null!=u){var p,y,w=[],x=!0,k=!1;try{for(u=u.call(r);!(x=(p=u.next()).done)&amp;&amp;(w.push(p.value),!c||w.length!==c);x=!0);}catch(r){k=!0,y=r}finally{try{x||null==u.return||u.return()}finally{if(k)throw y}}return w}}(r,c)||(0,w.Z)(r,c)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var x=u(21952),k=u.n(x),E=u(4819),I=u(22471),K=u(30926),J=(u(66992),u(41539),u(78783),u(33948),u(60285),u(41637),function downloadFileByBlobs(r,c){if((0,K.Z)(this,undefined),!r.length)return[];var u=URL.createObjectURL(new Blob(r)),p=document.createElement("a");return p.href=u,p.download=c,p.rel="noopener",document.body.appendChild(p),p.click(),document.body.removeChild(p),URL.revokeObjectURL(u),r}.bind(void 0)),oe=u(99840),ie=(u(83112),u(39714),u(92222),u(27484)),ae=u.n(ie),se=(function getTime(){(0,oe.Z)(this,undefined);var r=new Date,c=r.getHours().toString().padStart(2,"0"),u=r.getMinutes().toString().padStart(2,"0");return"".concat(c,":").concat(u)}.bind(void 0),u(97861)),ue=u(8310),le=void 0;function getTriggerButtonElement(){var r,c=document.querySelector('#tdWebchat &gt; div &gt; div &gt; [data-qa="trigger-button"]');c||(c=null===(r=document.getElementById("tdWebchat"))||void 0===r||null===(r=r.shadowRoot)||void 0===r?void 0:r.querySelector('div &gt; div &gt; [data-qa="trigger-button"]'));return c}function getTextAreaElement(){var r,c=document.getElementById("botonic-webchat");c||(c=null===(r=document.getElementById("tdWebchat"))||void 0===r||null===(r=r.shadowRoot)||void 0===r?void 0:r.getElementById("botonic-webchat"));return c?c.getElementsByTagName("textarea")[0]:null}var pe=function getFileMimes(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"";try{var c=_slicedToArray(r.split("/"),2);return{prefix:c[0],suffix:c[1]}}catch(r){return{prefix:"",suffix:""}}};var de=function buildDownloadTranscriptFilename(){return(0,y.Z)(this,le),"chat-transcript-".concat(function formatTime(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:new Date,c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD";return ae()(r).format(c)}(new Date,"YYYY-MM-DD-HH-mm"),".txt")}.bind(void 0),he=function isValidAccessToken(r){(0,y.Z)(this,le);var c=(0,I.$2)(r);return(0,E.ri)(c,(0,E.nz)(new Date))&gt;0}.bind(void 0),ge=function(){var r=(0,p.Z)(k().mark((function _callee(r){var c,u,p;return k().wrap((function _callee$(y){for(;;)switch(y.prev=y.next){case 0:return c=r.region,u=r.appId,y.next=3,(0,se.M)(c).post("/pas/livechat-auth",{app_id:u});case 3:return p=y.sent,y.abrupt("return",(null==p?void 0:p.data)||{});case 5:case"end":return y.stop()}}),_callee)})));return function fetchTDAuthorizations(c){return r.apply(this,arguments)}}(),ve=function(){var r=(0,p.Z)(k().mark((function _callee2(r){var c,u,p,y,w,x,E;return k().wrap((function _callee2$(k){for(;;)switch(k.prev=k.next){case 0:if(c=r.region,u=r.appId,k.prev=1,y=null!==(p=(0,ue.ZL)())&amp;&amp;void 0!==p?p:{},(w=y.accessToken)&amp;&amp;he(w)){k.next=10;break}return k.next=6,ge({region:c,appId:u});case 6:return x=k.sent,E=x.tdAccessToken,(0,ue.s3)({accessToken:E}),k.abrupt("return",E);case 10:return k.abrupt("return",w);case 13:return k.prev=13,k.t0=k.catch(1),k.abrupt("return","");case 16:case"end":return k.stop()}}),_callee2,null,[[1,13]])})));return function getTDAccessToken(c){return r.apply(this,arguments)}}(),we=function(){var r=(0,p.Z)(k().mark((function _callee3(r){var c,u,p,y,w,x,I,K;return k().wrap((function _callee3$(k){for(;;)switch(k.prev=k.next){case 0:return c=r.region,u=r.appId,k.prev=1,p=(0,ue.yh)(),y=p.interactionId,k.next=5,ve({region:c,appId:u});case 5:return w=k.sent,x="/cds/interactions/".concat(y,"/messages/transcript"),I={timezone:(0,E.EP)()},k.next=10,(0,se.M)(c).get(x,I,{accessToken:w});case 10:return K=k.sent,k.abrupt("return",null==K?void 0:K.data);case 14:return k.prev=14,k.t0=k.catch(1),k.abrupt("return",null);case 17:case"end":return k.stop()}}),_callee3,null,[[1,14]])})));return function getTranscript(c){return r.apply(this,arguments)}}(),Se=function(){var r=(0,p.Z)(k().mark((function _callee4(r){var c,u,p;return k().wrap((function _callee4$(y){for(;;)switch(y.prev=y.next){case 0:return c=r.region,u=r.appId,y.next=3,we({region:c,appId:u});case 3:if(p=y.sent){y.next=6;break}return y.abrupt("return");case 6:J([p],de());case 7:case"end":return y.stop()}}),_callee4)})));return function downloadTranscript(c){return r.apply(this,arguments)}}()},97861:function(r,c,u){"use strict";u.d(c,{M:function(){return oe}});var p=u(15243),y=u(27508),w=u(68742),x=u(93985),k=u(60391),E=u(6557),I=void 0,K=function buildHeaders(r){(0,x.Z)(this,I);var c=r.accessToken;return c?{Authorization:"Bearer ".concat(c)}:{}}.bind(void 0),J=function(){function HttpClientDce(r){(0,p.Z)(this,HttpClientDce),(0,w.Z)(this,"axiosInstance",void 0),this.axiosInstance=r}return(0,y.Z)(HttpClientDce,[{key:"post",value:function post(r,c){var u=(arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{}).accessToken;return this.axiosInstance.post(r,c,{headers:K({accessToken:u})})}},{key:"get",value:function get(r,c){var u=(arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{}).accessToken;return this.axiosInstance.get(r,{params:c,headers:K({accessToken:u})})}}]),HttpClientDce}(),oe=function httpClient(r){return(0,x.Z)(this,I),new J((0,k.H)((0,E.v)(r)))}.bind(void 0)},83274:function(r,c,u){"use strict";u.d(c,{ZP:function(){return st},j:function(){return endChatHandler},tQ:function(){return fetchInitialScreenConfig},CS:function(){return handleFeedback}});u(82526),u(57327),u(41539),u(38880),u(54747),u(49337);var p=u(93985),y=u(68742),w=u(1578),x=u(21952),k=u.n(x),E=(u(47941),u(92222),u(26699),u(32023),u(55877)),I=u(35832),K=u(10122),J=u(92035),oe=u(95195),ie=u(94050),ae=u(85829),se=u(97861),ue=u(56744),le=u(93498),pe=u(53039),de=u(99840),he=u(67294),ge=u(49323),ve=u(30305),we=u(40121),Se=u(93379),Oe=u.n(Se),Pe=u(7795),Le=u.n(Pe),Ie=u(3565),je=u.n(Ie),De=u(19216),Ue=u.n(De),Fe=u(44589),Ze=u.n(Fe),$e=u(29341),Ge={};Ge.styleTagTransform=Ze(),Ge.setAttributes=je(),Ge.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},Ge.domAPI=Le(),Ge.insertStyleElement=Ue();Oe()($e.Z,Ge);var We=$e.Z&amp;&amp;$e.Z.locals?$e.Z.locals:void 0,Ke=function StartChatButton(){var r,c=this;(0,de.Z)(this,undefined);var u=(0,he.useState)(!1),p=(0,pe.Z)(u,2),y=p[0],w=p[1],x=(0,he.useContext)(ve.L),k=x.sendPayload,E=x.webchatState.theme,I=function startNewChat(){(0,de.Z)(this,c),k(we.Qx.StartNewChat)}.bind(this);return he.createElement("div",{className:We.customStartChatButtonWrapper},he.createElement("button",{type:"button",className:We.customStartChatButton,onMouseEnter:function(){return(0,de.Z)(this,c),w(!0)}.bind(this),onMouseLeave:function(){return(0,de.Z)(this,c),w(!1)}.bind(this),style:{color:y?E.startChatButton.hoverTextColor:E.startChatButton.textColor,backgroundColor:y?E.startChatButton.hoverBackgroundColor:E.startChatButton.backgroundColor,borderColor:y?E.startChatButton.hoverBorderColor:E.startChatButton.borderColor},onClick:function(){return(0,de.Z)(this,c),I()}.bind(this),"data-qa":"button"},he.createElement("p",{"data-qa":"p"},null!==(r=E.startChatButton.startNewChatLabel)&amp;&amp;void 0!==r?r:ge.ZP.t("startChat"))))}.bind(void 0),Je=u(4675),Ye=u(8310),Xe=u(6557),Qe=u(37930),et=u(72639),rt=u(53439);function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,y.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var nt,ot=function(){var r=(0,w.Z)(k().mark((function _callee(r,c,u,p){var y,w,x,E,I,K;return k().wrap((function _callee$(k){for(;;)switch(k.prev=k.next){case 0:return y={app_id:r,identity:c,page_url:document.location.href,custom_fields:p&amp;&amp;Object.keys(p).length?p:void 0},k.next=3,(0,se.M)(u).post("".concat((0,Xe.v)(u),"/2019-11/pas/livechats"),y);case 3:return w=k.sent,x=(null==w?void 0:w.data)||{},E=x.accessToken,I=x.conversationSid,K=x.region,Ye.ZP.setTwilioCredentials({accessToken:E,conversationSid:I,region:K}),k.abrupt("return",{token:E,conversationSid:I,region:K});case 7:case"end":return k.stop()}}),_callee)})));return function startLiveChatInteraction(c,u,p,y){return r.apply(this,arguments)}}();function generateIdentity(){if(Ye.ZP.identity("get"))return Ye.ZP.identity("get");var r="widget.".concat(window.location.hostname,"-").concat((0,ae.k)((0,E.v4)(),"-",""));return Ye.ZP.identity("set",r),r}function _startLiveChat(){return(_startLiveChat=(0,w.Z)(k().mark((function _callee2(r,c,u){var p,y,w,x;return k().wrap((function _callee2$(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,generateIdentity();case 2:return p=k.sent,k.next=5,ot(r,p,c,u);case 5:return y=k.sent,w=y.token,x=y.conversationSid,k.next=10,Ye.ZP.startConversation();case 10:return k.abrupt("return",{token:w,conversationSid:x,identity:p});case 11:case"end":return k.stop()}}),_callee2)})))).apply(this,arguments)}function endChatHandler(r,c,u){return _endChatHandler.apply(this,arguments)}function _endChatHandler(){return(_endChatHandler=(0,w.Z)(k().mark((function _callee3(r,c,u){return k().wrap((function _callee3$(p){for(;;)switch(p.prev=p.next){case 0:if(r.setUserInput(!1),!c){p.next=5;break}r.webchatRef.current.addBotResponse({response:(0,le.Z)({id:(0,E.v4)(),responses:[""],chatIsInactive:!0})}),p.next=12;break;case 5:if(!u){p.next=11;break}return r.webchatRef.current.addBotResponse({response:(0,le.Z)({id:(0,E.v4)(),responses:[""],goingToFeedback:!0})}),(0,Qe.PO)(r,u),p.abrupt("return");case 11:oe.s.emit("endChat",{show:!0});case 12:et.h.hideTypingIndicator(),r.updateWebchatSettings({theme:_objectSpread(_objectSpread({},r.theme),{},{coverComponent:Ke})}),r.webchatRef.current.openCoverComponent(),(0,ue.bM)(Je.Z.LIVECHAT_CONVERSATION_ENDED)||(0,ue.Ly)(Je.Z.LIVECHAT_CONVERSATION_ENDED,!0),r.updateReplies(!1),r.enableHeaderButtons({enableEndConversationButton:!1});case 18:case"end":return p.stop()}}),_callee3)})))).apply(this,arguments)}function handleFeedback(r){var c=r.webChat,u=r.feedbackLink,p=r.interactionStage;(!p&amp;&amp;u||"END"===p&amp;&amp;u)&amp;&amp;(J.u.emit("feedbackLinkChange",{link:u}),c.updateWebchatSettings({theme:_objectSpread({},c.theme)}),I.Z.info("End chat after feedback link changed",{feedbackLink:u}),endChatHandler(c))}function getConversationBySid(r,c,u){return _getConversationBySid.apply(this,arguments)}function _getConversationBySid(){return(_getConversationBySid=(0,w.Z)(k().mark((function _callee4(r,c,u){return k().wrap((function _callee4$(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,p.abrupt("return",c.getConversationBySid(u));case 4:return p.prev=4,p.t0=p.catch(0),I.Z.error("Failed to get conversation by sid",{errorMessage:"string"==typeof p.t0?p.t0:p.t0.message,touchpointId:r.appId,conversationSid:u}),endChatHandler(r),p.abrupt("return",p.t0);case 9:case"end":return p.stop()}}),_callee4,null,[[0,4]])})))).apply(this,arguments)}function _updateParticipantReadyForChat(){return(_updateParticipantReadyForChat=(0,w.Z)(k().mark((function _callee5(r,c,u,p){var y,w;return k().wrap((function _callee5$(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,getConversationBySid(r,c,u);case 2:return y=x.sent,x.next=5,y.getParticipantByIdentity(p);case 5:return(w=x.sent).attributes.custom_fields&amp;&amp;(w.attributes.custom_fields=void 0),w.attributes.bootstrapped=!0,x.next=10,w.updateAttributes(w.attributes);case 10:return x.next=12,localStorage.setItem("isParticipantReadyForChat","true");case 12:case"end":return x.stop()}}),_callee5)})))).apply(this,arguments)}function _createClient(){return _createClient=(0,w.Z)(k().mark((function _callee6(){var r,c,u,y,w,x,E,J,oe=this;return k().wrap((function _callee6$(k){for(;;)switch(k.prev=k.next){case 0:return y=null===(r=rt.On.sdk)||void 0===r?void 0:r.selfHostedApp,k.next=3,rt.On.getConnection();case 3:return w=k.sent,k.next=6,w.client.getConversation();case 6:return x=k.sent,E=null===(c=w.client)||void 0===c?void 0:c.roomId,(J=null===(u=w.client)||void 0===u?void 0:u.current).on("connectionStateChanged",function(r){var c,u,k=this;((0,p.Z)(this,oe),I.Z.info("Twilio connection state changed",{twilio_connection_state:r,twilio_conversation_sid:E}),w.state===rt.pk.DONE)&amp;&amp;("connected"===r?((0,Qe.EV)(x,y,Ye.ZP.identity("get")).then(function(){return(0,p.Z)(this,k),I.Z.info("Loaded messages for reconnection twilio client",{twilio_conversation_sid:E})}.bind(this)).catch(function(r){return(0,p.Z)(this,k),I.Z.warn("Failed to load messages for reconnection twilio client",{errorMessage:"string"==typeof r?r:null==r?void 0:r.message})}.bind(this)),null==y||y.enableHeaderButtons({enableEndConversationButton:!0}),null==y||null===(c=y.setShowUserInputContainerLockMask)||void 0===c||c.call(y,!1),y.webchatRef.current.renderCustomComponent((0,K.Z)({type:"success"})),nt=setTimeout(function(){(0,p.Z)(this,k),y.webchatRef.current.unmountCustomComponent()}.bind(this),3e3)):(void 0!==nt&amp;&amp;clearTimeout(nt),null==y||y.enableHeaderButtons({enableEndConversationButton:!1}),null==y||null===(u=y.setShowUserInputContainerLockMask)||void 0===u||u.call(y,!0),y.webchatRef.current.renderCustomComponent((0,K.Z)({type:"error"}))))}.bind(this)),J.on("conversationLeft",function(r){if((0,p.Z)(this,oe),E===r.sid){var c,u,w;I.Z.info("Twilio conversation left",{twilio_conversation_sid:E});var x="active"===(null==r||null===(c=r.state)||void 0===c?void 0:c.current)&amp;&amp;"WRAP_UP_BY_AGENT"!==(null===(u=r.attributes)||void 0===u?void 0:u.interaction_status),k=null===(w=r.attributes)||void 0===w?void 0:w.enable_feedback,K=Ye.ZP.getLivechatFlow();if(k&amp;&amp;!x&amp;&amp;null!=K&amp;&amp;K.includes("agent")){var ie,ae=null===(ie=r.attributes)||void 0===ie?void 0:ie.interaction_id;endChatHandler(y,!1,ae)}else endChatHandler(y);J.removeAllListeners()}}.bind(this)),J.on("conversationUpdated",function(r){var c=this;(0,p.Z)(this,oe);var u=r.conversation,w=r.updateReasons;if(E===u.sid){var x,k;I.Z.info("Twilio conversation updated",{twilio_conversation_sid:E,twilio_conversation_update_reasons:(0,ie.r)(w),twilio_conversation_attributes:(0,ie.r)(null==u?void 0:u.attributes)}),w.includes("attributes")&amp;&amp;null!==(x=u.attributes)&amp;&amp;void 0!==x&amp;&amp;x.original_interaction_id&amp;&amp;((0,Ye.wL)({interactionId:u.attributes.original_interaction_id}),y.enableHeaderButtons({enableDownloadTranscriptButton:!0})),"WRAP_UP_BY_AGENT"===(null===(k=u.attributes)||void 0===k?void 0:k.interaction_status)&amp;&amp;(0,Qe.IO)().catch(function(r){(0,p.Z)(this,c),I.Z.error("Failed to handleRemoveSelfInParticipants when conversation is updated",{errorMessage:"string"==typeof r?r:r.message,twilio_conversation_sid:E})}.bind(this));try{var K,J,ae;if(null!==(K=u.attributes)&amp;&amp;void 0!==K&amp;&amp;K.feedback_link&amp;&amp;w.includes("attributes"))handleFeedback({feedbackLink:null===(J=u.attributes)||void 0===J?void 0:J.feedback_link,webChat:y,interactionStage:null===(ae=u.attributes)||void 0===ae?void 0:ae.interaction_stage})}catch(r){I.Z.error("Failed to handle feedback when conversation is updated",{errorMessage:"string"==typeof r?r:r.message,twilio_conversation_sid:E}),endChatHandler(y)}}}.bind(this)),J.on("tokenExpired",function(){(0,p.Z)(this,oe),endChatHandler(y),I.Z.info("End chat if token is expired for Twilio",{twilio_conversation_sid:E}),J.removeAllListeners()}.bind(this)),k.abrupt("return",J);case 14:case"end":return k.stop()}}),_callee6,this)}))),_createClient.apply(this,arguments)}function fetchInitialScreenConfig(r,c,u){return _fetchInitialScreenConfig.apply(this,arguments)}function _fetchInitialScreenConfig(){return(_fetchInitialScreenConfig=(0,w.Z)(k().mark((function _callee7(r,c,u){var p,y,w,x,E,I,K,J,oe,ie,ae,ue,le;return k().wrap((function _callee7$(k){for(;;)switch(k.prev=k.next){case 0:if(c){k.next=2;break}return k.abrupt("return",{active:!0});case 2:return k.prev=2,k.next=5,(0,se.M)(u).get("".concat((0,Xe.v)(u),"/2019-11/pas/livechats"),{touchpoint_value:r,sdk_version:"v1"});case 5:if(null==(K=k.sent)||null===(p=K.data)||void 0===p||!p.config){k.next=8;break}return k.abrupt("return",{config:JSON.parse(null==K||null===(J=K.data)||void 0===J?void 0:J.config),active:null==K||null===(oe=K.data)||void 0===oe?void 0:oe.active,enableAttachments:null==K||null===(ie=K.data)||void 0===ie?void 0:ie.enableAttachments,feedback_flow_id:null==K||null===(ae=K.data)||void 0===ae?void 0:ae.feedbackFlowId,connectProviderTriggerButton:!(null==K||null===(ue=K.data)||void 0===ue||!ue.connectProviderTriggerButton),observeTwilioConversation:!(null==K||null===(le=K.data)||void 0===le||!le.observeTwilioConversation)});case 8:return k.abrupt("return",{config:null,active:null==K||null===(y=K.data)||void 0===y?void 0:y.active,enableAttachments:null==K||null===(w=K.data)||void 0===w?void 0:w.enableAttachments,feedback_flow_id:null==K||null===(x=K.data)||void 0===x?void 0:x.feedbackFlowId,connectProviderTriggerButton:!(null==K||null===(E=K.data)||void 0===E||!E.connectProviderTriggerButton),observeTwilioConversation:!(null==K||null===(I=K.data)||void 0===I||!I.observeTwilioConversation)});case 11:k.prev=11,k.t0=k.catch(2),console.error("fetch InitialScreenConfig error ",k.t0);case 14:case"end":return k.stop()}}),_callee7,null,[[2,11]])})))).apply(this,arguments)}var it={startLiveChat:function startLiveChat(r,c,u){return _startLiveChat.apply(this,arguments)},createClient:function createClient(){return _createClient.apply(this,arguments)},getConversationBySid:getConversationBySid,updateParticipantReadyForChat:function updateParticipantReadyForChat(r,c,u,p){return _updateParticipantReadyForChat.apply(this,arguments)},fetchInitialScreenConfig:fetchInitialScreenConfig,endChatHandler:endChatHandler,handleFeedback:handleFeedback,generateIdentity:generateIdentity,startLiveChatInteraction:ot},st=it},54778:function(r,c,u){"use strict";u.d(c,{Z:function(){return oe}});u(82526),u(38880),u(54747),u(49337);var p=u(19289);var y=u(14058);function _toConsumableArray(r){return function _arrayWithoutHoles(r){if(Array.isArray(r))return(0,p.Z)(r)}(r)||function _iterableToArray(r){if("undefined"!=typeof Symbol&amp;&amp;null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(r)||(0,y.Z)(r)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var w=u(93985),x=u(15243),k=u(27508),E=u(68742),I=(u(74916),u(15306),u(92222),u(57327),u(41539),u(47941),u(55877)),K=u(35832),J=u(70714);function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){(0,E.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var oe=new(function(){function PageManager(){(0,x.Z)(this,PageManager),(0,E.Z)(this,"_maxPageLimit",50),(0,E.Z)(this,"_initialized",!1),(0,E.Z)(this,"_prefix","__td_observe_pages__"),(0,E.Z)(this,"_unbind",null)}return(0,k.Z)(PageManager,[{key:"init",value:function init(){var r=this;if(!this._initialized){this._initialized=!0,this.createPageId();var c=function handlerOnVisibilitychange(){(0,w.Z)(this,r),"visible"===document.visibilityState&amp;&amp;this.activePage()}.bind(this),u=function handlerOnBeforeunload(){(0,w.Z)(this,r),this.removePage(),this.destroy()}.bind(this);document.addEventListener("visibilitychange",c),window.addEventListener("beforeunload",u),this._unbind=function(){(0,w.Z)(this,r),document.removeEventListener("visibilitychange",c),window.removeEventListener("beforeunload",u)}.bind(this)}}},{key:"reporter",value:function reporter(r,c){this.active&amp;&amp;K.Z.info(r,_objectSpread(_objectSpread({},c),{},{report_time:(0,J.Bj)(),page_id:this.pageId}))}},{key:"destroy",value:function destroy(){var r;null===(r=this._unbind)||void 0===r||r.call(this),this._initialized=!1}},{key:"getStorage",value:function getStorage(r){return r.getItem(this._prefix)}},{key:"setStorage",value:function setStorage(r,c){r.setItem(this._prefix,"string"==typeof c?c:JSON.stringify(c))}},{key:"createPageId",value:function createPageId(){var r=this,c=(0,I.v4)().replace(/-/g,"");try{var u=this.pageIds;return this.setStorage(sessionStorage,c),this.setStorage(localStorage,u&amp;&amp;Array.isArray(u)?u.length&gt;=this._maxPageLimit?[c].concat(_toConsumableArray(this.pageIds.filter(function(c,p){return(0,w.Z)(this,r),p!==u.length-1}.bind(this)))):[c].concat(_toConsumableArray(u)):[c]),c}catch(r){return K.Z.error("Failed to create page id",{errorMsg:null==r?void 0:r.message}),c}}},{key:"activePage",value:function activePage(){var r=this;try{return this.pageId&amp;&amp;this.setStorage(localStorage,JSON.stringify([this.pageId].concat(_toConsumableArray(this.pageIds.filter(function(c,u){return(0,w.Z)(this,r),this.pageIds.length&gt;=this._maxPageLimit?u!==this.pageIds.length-1:c!==this.pageId}.bind(this)))))),!0}catch(r){return K.Z.error("Failed to active page",{errorMsg:null==r?void 0:r.message}),!1}}},{key:"removePage",value:function removePage(){var r=this;try{return this.pageId&amp;&amp;this.setStorage(localStorage,JSON.stringify(this.pageIds.filter(function(c){return(0,w.Z)(this,r),c!==this.pageId}.bind(this)))),!0}catch(r){return K.Z.error("Failed to remove page",{errorMsg:null==r?void 0:r.message}),!1}}},{key:"pageId",get:function get(){try{return this.getStorage(sessionStorage)||""}catch(r){return K.Z.error("Failed to get pageId",{errorMsg:null==r?void 0:r.message}),""}}},{key:"pageIds",get:function get(){try{return JSON.parse(this.getStorage(localStorage)||"[]")}catch(r){return K.Z.error("Failed to get pageIds",{errorMsg:null==r?void 0:r.message}),[]}}},{key:"prefix",get:function get(){return this._prefix}},{key:"active",get:function get(){return!(this.pageIds.length&gt;0)||this.pageId===this.pageIds[0]}}]),PageManager}())},96833:function(r,c,u){"use strict";u.d(c,{j:function(){return K}});var p=u(1578),y=u(93985),w=u(21952),x=u.n(w),k=(u(41539),u(54747),u(74916),u(40561),u(47941),u(35832)),E=u(36464),I=!1;var K=function ProviderTwilioMedia(){var r=this,c={},u={},w=function emit(c,p){var w=this;(0,y.Z)(this,r),!u[c]||u[c].length&lt;=0||u[c].forEach(function(r){return(0,y.Z)(this,w),r(p)}.bind(this))}.bind(this),K=function(){var r=(0,p.Z)(x().mark((function _callee(r){var c,u,p,y,w;return x().wrap((function _callee$(x){for(;;)switch(x.prev=x.next){case 0:return x.prev=0,p=null===(c=r.media)||void 0===c?void 0:c.contentType,y=/image/gi.test(p),x.next=5,null===(u=r.media)||void 0===u?void 0:u.getContentTemporaryUrl();case 5:if(w=x.sent,!y){x.next=10;break}return x.next=9,(0,E.Z)(w);case 9:return x.abrupt("return",x.sent);case 10:return x.abrupt("return",{url:w,error:null});case 13:return x.prev=13,x.t0=x.catch(0),k.Z.warn("Failed to get twilio media content temporary URL",{errorMessage:"string"==typeof x.t0?x.t0:null===x.t0||void 0===x.t0?void 0:x.t0.message,twilio_message_sid:null==r?void 0:r.sid}),x.abrupt("return",{url:"",error:x.t0});case 17:case"end":return x.stop()}}),_callee,null,[[0,13]])})));return function getUrl(c){return r.apply(this,arguments)}}(),J=function push(u,p){return(0,y.Z)(this,r),c[u.sid]||(c[u.sid]={message:u,expired:p,expiredTimeStamp:Date.now(),currentUrl:"",currentError:void 0}),c}.bind(this),oe=function on(c,p){return(0,y.Z)(this,r),u[c]||(u[c]=[]),u[c].push(p),u}.bind(this),ie=function off(c,p){var w=this;return(0,y.Z)(this,r),u[c]&amp;&amp;u[c].length&gt;0&amp;&amp;u[c].forEach(function(r,x){(0,y.Z)(this,w),p===r&amp;&amp;u[c].splice(x,1)}.bind(this)),u}.bind(this),ae=function(){var r=(0,p.Z)(x().mark((function _callee2(r){var u,p,y;return x().wrap((function _callee2$(x){for(;;)switch(x.prev=x.next){case 0:if(!c[r]||!c[r].message){x.next=10;break}return x.next=3,K(c[r].message);case 3:u=x.sent,p=u.url,y=u.error,c[r].currentUrl=p,c[r].currentError=y,p&amp;&amp;(c[r].expiredTimeStamp=Date.now()+c[r].expired),w(r,c[r]);case 10:return x.abrupt("return",c[r]);case 11:case"end":return x.stop()}}),_callee2)})));return function retry(c){return r.apply(this,arguments)}}(),se=function runTime(u){(0,y.Z)(this,r);for(var p=Object.keys(c),x=function _loop(){var r=this,x=p[k],E=c[x],I=E.expiredTimeStamp,J=E.message,oe=E.expired;u&gt;=I&amp;&amp;(c[x].expiredTimeStamp=u+oe,K(J).then(function(u){(0,y.Z)(this,r),c[x].currentUrl=u.url,c[x].currentError=u.error,w(x,c[x])}.bind(this)))},k=0;k&lt;p.length;k+=1)x()}.bind(this),ue=function start(){var c=this;(0,y.Z)(this,r);var u=function timeout(){var r=this;(0,y.Z)(this,c),setTimeout(function(){(0,y.Z)(this,r),se(Date.now()),u()}.bind(this),1e3)}.bind(this);u()}.bind(this);return I||(ue(),I=!0),{push:J,on:oe,off:ie,retry:ae,emit:w,get current(){return c}}}()},8310:function(r,c,u){"use strict";u.d(c,{$0:function(){return Le},ZL:function(){return Se},c2:function(){return se},oX:function(){return ue},s3:function(){return we},wL:function(){return Oe},yh:function(){return Pe}});var p=u(93985),y=(u(47941),u(4675)),w=u(56744),x=void 0,k=function triggerOtherTabs(){(0,p.Z)(this,x),localStorage.setItem("connectOtherTabs","true"),localStorage.removeItem("connectOtherTabs")}.bind(void 0),E=function blocTextArea(){(0,p.Z)(this,x),localStorage.setItem("blocTextArea","true"),localStorage.removeItem("blocTextArea")}.bind(void 0),I=function getAllCredentials(){return(0,p.Z)(this,x),{token:localStorage.getItem("tokenLivechat"),conversationSid:localStorage.getItem("conversationSid"),identity:localStorage.getItem("identity"),region:localStorage.getItem("tdTwilioRegion")}}.bind(void 0),K=function removeAllCredentials(){(0,p.Z)(this,x),localStorage.removeItem("tokenLivechat"),localStorage.removeItem("conversationSid"),localStorage.removeItem("identity"),localStorage.removeItem("tdTwilioRegion")}.bind(void 0),J=function cleanLiveChat(){(0,p.Z)(this,x),K(),localStorage.removeItem("livechatInit"),localStorage.setItem("cleanLivechatTD","true"),localStorage.removeItem("cleanLivechatTD"),localStorage.removeItem("isParticipantReadyForChat"),sessionStorage.removeItem("endChatSession"),localStorage.removeItem("lastReadMessageIndex"),localStorage.removeItem("lastMessageIndex"),localStorage.removeItem("lastMessageFrom"),localStorage.removeItem("TDAuthentications"),localStorage.removeItem("interactionInfo")}.bind(void 0),oe=function cleanFeedbackChat(){(0,p.Z)(this,x),sessionStorage.removeItem("feedbackIdentity"),localStorage.removeItem("feedbackIdentity"),localStorage.removeItem("livechatFlow")}.bind(void 0),ie=function verifyTwilioCredentials(){return(0,p.Z)(this,x),!(!localStorage.getItem("tokenLivechat")||!localStorage.getItem("conversationSid"))}.bind(void 0),ae=function setTwilioCredentials(r){(0,p.Z)(this,x);var c=r||{},u=c.accessToken,y=c.conversationSid,w=c.region,k=void 0===w?"":w;localStorage.setItem("tokenLivechat",u),localStorage.setItem("conversationSid",y),k&amp;&amp;localStorage.setItem("tdTwilioRegion",k)}.bind(void 0),se=function conversationExists(){return(0,p.Z)(this,x),!!localStorage.getItem("livechatInit")}.bind(void 0),ue=function conversationEnded(){return(0,p.Z)(this,x),!!(0,w.bM)(y.Z.LIVECHAT_CONVERSATION_ENDED)}.bind(void 0),le=function startConversation(){(0,p.Z)(this,x),"true"!==localStorage.getItem("livechatInit")&amp;&amp;localStorage.setItem("livechatInit","true")}.bind(void 0),pe=function getLocalStorageToken(){return(0,p.Z)(this,x),!!localStorage.getItem("tokenLivechat")}.bind(void 0),de=function setLivechatFlow(r){(0,p.Z)(this,x),localStorage.setItem("livechatFlow",r)}.bind(void 0),he=function getLivechatFlow(){return(0,p.Z)(this,x),localStorage.getItem("livechatFlow")}.bind(void 0),ge=function setLastMessageFrom(r){(0,p.Z)(this,x),localStorage.setItem("lastMessageFrom",r)}.bind(void 0),ve=function getLastMessageFrom(){return(0,p.Z)(this,x),localStorage.getItem("lastMessageFrom")}.bind(void 0),we=function setTDAuthentications(r){(0,p.Z)(this,x);var c=r.accessToken;localStorage.setItem("TDAuthentications",JSON.stringify({accessToken:c}))}.bind(void 0),Se=function getTDAuthentications(){var r;(0,p.Z)(this,x);var c=localStorage.getItem("TDAuthentications");return null!==(r=JSON.parse(c))&amp;&amp;void 0!==r?r:{}}.bind(void 0),Oe=function setInteractionInfo(r){(0,p.Z)(this,x);var c=r.interactionId;localStorage.setItem("interactionInfo",JSON.stringify({interactionId:c}))}.bind(void 0),Pe=function getInteractionInfo(){var r;(0,p.Z)(this,x);var c=localStorage.getItem("interactionInfo");return null!==(r=JSON.parse(c))&amp;&amp;void 0!==r?r:{}}.bind(void 0),Le=function interactionIdExists(){return(0,p.Z)(this,x),!!Pe().interactionId}.bind(void 0),Ie={triggerOtherTabs:k,blocTextArea:E,getAllCredentials:I,removeAllCredentials:K,cleanLiveChat:J,verifyTwilioCredentials:ie,setTwilioCredentials:ae,identity:function identity(){var r=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:null;return"set"===(arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"get")?(localStorage.setItem("identity",r),r):localStorage.getItem("identity")},startConversation:le,conversationExists:se,conversationEnded:ue,getLocalStorageToken:pe,setLivechatFlow:de,getLivechatFlow:he,setLastMessageFrom:ge,getLastMessageFrom:ve,setFeedbackIdentity:function setFeedbackIdentity(r){"sessionStorage"===(arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"localStorage")?sessionStorage.setItem("feedbackIdentity",r):localStorage.setItem("feedbackIdentity",r)},getFeedbackIdentity:function getFeedbackIdentity(){return"sessionStorage"===(arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"localStorage")?sessionStorage.getItem("feedbackIdentity"):localStorage.getItem("feedbackIdentity")},cleanFeedbackChat:oe,setTDAuthentications:we,getTDAuthentications:Se,setInteractionInfo:Oe,getInteractionInfo:Pe,interactionIdExists:Le};c.ZP=Ie},72639:function(r,c,u){"use strict";u.d(c,{h:function(){return oe}});var p=u(1578),y=u(93985),w=u(15243),x=u(27508),k=u(68742),E=u(21952),I=u.n(E),K=(u(57327),u(41539),u(88674),u(35832)),J=function(){function TypingProvider(){var r=this;(0,w.Z)(this,TypingProvider),(0,k.Z)(this,"_mode","Agent"),(0,k.Z)(this,"timer",null),(0,k.Z)(this,"webChat",null),(0,k.Z)(this,"twilioConversation",null),(0,k.Z)(this,"enableTyping",void 0),(0,k.Z)(this,"init",function(c){var u,p;(0,y.Z)(this,r);var w=c.webChat,x=c.conversation;null!=w&amp;&amp;null!==(u=w.touchPointConfig)&amp;&amp;void 0!==u&amp;&amp;null!==(u=u.generalSettings)&amp;&amp;void 0!==u&amp;&amp;u.showTypingIndicatorButton&amp;&amp;(this.twilioConversation&amp;&amp;(this.twilioConversation.removeListener("typingStarted",this.showTypingIndicator),this.twilioConversation.removeListener("typingEnded",this.hideTypingIndicator)),this.webChat=w,this.twilioConversation=x,this.enableTyping=!(null==w||null===(p=w.touchPointConfig)||void 0===p||null===(p=p.generalSettings)||void 0===p||!p.showTypingIndicatorButton),this.conversation.addListener("typingStarted",this.showTypingIndicator),this.conversation.addListener("typingEnded",this.hideTypingIndicator))}.bind(this)),(0,k.Z)(this,"switchMode",function(c){var u,p,w=this;(0,y.Z)(this,r);var x=c.messageOrMessageList,k=void 0===x?[]:x,E=c.identity;if(this.enableTyping){var I;if(Array.isArray(k)){var K=k.filter(function(r){return(0,y.Z)(this,w),r.author!==E}.bind(this));I=K.length&gt;0?K[K.length-1]:{}}else I=k;(null===(u=I)||void 0===u?void 0:u.author)!==E&amp;&amp;(clearTimeout(this.timer),this._mode=null!==(p=I.attributes||{})&amp;&amp;void 0!==p&amp;&amp;p.is_virtual_agent?"VA":"Agent")}}.bind(this)),(0,k.Z)(this,"destroy",function(){(0,y.Z)(this,r),this.enableTyping&amp;&amp;(this.conversation.removeListener("typingStarted",this.showTypingIndicator),this.conversation.removeListener("typingEnded",this.hideTypingIndicator),clearTimeout(this.timer),this._mode="Agent",this.webChat=null,this.twilioConversation=null)}.bind(this)),(0,k.Z)(this,"showTypingIndicator",function(){var c=(0,p.Z)(I().mark((function _callee(c){var u,p;return I().wrap((function _callee$(y){for(;;)switch(y.prev=y.next){case 0:if(r.enableTyping){y.next=2;break}return y.abrupt("return");case 2:return y.prev=2,u=localStorage.getItem("identity"),y.next=6,r.conversation.getParticipantByIdentity(u);case 6:if((null==(p=y.sent)?void 0:p.sid)!==(null==c?void 0:c.sid)){y.next=9;break}return y.abrupt("return");case 9:r.webChatApp.setTyping(!0),y.next=15;break;case 12:y.prev=12,y.t0=y.catch(2),K.Z.error("Failed to show typing indicator",{errorMessage:"string"==typeof y.t0?y.t0:y.t0.message});case 15:case"end":return y.stop()}}),_callee,null,[[2,12]])})));return function(r){return c.apply(this,arguments)}}()),(0,k.Z)(this,"hideTypingIndicator",function(){(0,y.Z)(this,r),this.enableTyping&amp;&amp;this.webChatApp.setTyping(!1)}.bind(this)),(0,k.Z)(this,"vaTyping",function(){var c=this;(0,y.Z)(this,r),this.enableTyping&amp;&amp;"VA"===this._mode&amp;&amp;(clearTimeout(this.timer),this.showTypingIndicator(),this.timer=setTimeout(function(){(0,y.Z)(this,c),this.hideTypingIndicator()}.bind(this),5e3))}.bind(this)),(0,k.Z)(this,"typing",function(){var c,u=this;((0,y.Z)(this,r),this.enableTyping)&amp;&amp;("Agent"===this._mode&amp;&amp;(null===(c=this.conversation.typing())||void 0===c||c.catch(function(){(0,y.Z)(this,u)}.bind(this))))}.bind(this)),this._mode="VA",this.timer=null,this.webChat=null,this.twilioConversation=null,this.enableTyping=!1}return(0,x.Z)(TypingProvider,[{key:"webChatApp",get:function get(){var r=this;return this.webChat?this.webChat:{setTyping:function setTyping(){(0,y.Z)(this,r)}.bind(this)}}},{key:"conversation",get:function get(){var r,c=this,u={removeListener:function removeListener(){(0,y.Z)(this,c)}.bind(this),addListener:function addListener(){(0,y.Z)(this,c)}.bind(this),typing:function typing(){return(0,y.Z)(this,c),Promise.resolve()}.bind(this),getParticipantByIdentity:function getParticipantByIdentity(){return(0,y.Z)(this,c),Promise.resolve({sid:null})}.bind(this)};return this.twilioConversation?"active"!==(null===(r=this.twilioConversation.state)||void 0===r?void 0:r.current)?u:this.twilioConversation:u}}],[{key:"getInstance",value:function getInstance(){return this.instance||(this.instance=new TypingProvider),this.instance}}]),TypingProvider}();(0,k.Z)(J,"instance",null);var oe=J.getInstance()},6557:function(r,c,u){"use strict";u.d(c,{v:function(){return k}});var p=u(93985),y=u(68742),w=u(40121),x=(0,y.Z)((0,y.Z)((0,y.Z)((0,y.Z)({},w.yp.USA,"https://api.talkdeskapp.com"),w.yp.Europe,"https://api.talkdeskapp.eu"),w.yp.Canada,"https://api.talkdeskappca.com"),w.yp.UsFed,"https://api.talkdeskapp-pubsec.com"),k=function getGatewayUrl(r){return(0,p.Z)(this,undefined),x[r]}.bind(void 0)},36464:function(r,c,u){"use strict";var p=u(93985),y=(u(41539),u(88674),function preImageLoad(r){var c=this;return(0,p.Z)(this,undefined),new Promise(function(u){var y=this;(0,p.Z)(this,c);var w=new Image;w.src=r,w.onload=function(){(0,p.Z)(this,y),u({url:r,error:null}),w.remove()}.bind(this),w.onerror=function(){(0,p.Z)(this,y),u({url:r,error:new Error("pre load image error ".concat(r))}),w.remove()}.bind(this)}.bind(this))}.bind(void 0));c.Z=y},12828:function(r,c,u){"use strict";const p=u(79588),y=u(80834),w=u(61269),x=new w({maxSize:1e5}),isObject=r=&gt;!("object"!=typeof r||null===r||r instanceof RegExp||r instanceof Error||r instanceof Date),camelCaseConvert=(r,c)=&gt;{if(!isObject(r))return r;c={deep:!1,pascalCase:!1,...c};const{exclude:u,pascalCase:w,stopPaths:k,deep:E}=c,I=new Set(k),makeMapper=r=&gt;(c,k)=&gt;{if(E&amp;&amp;isObject(k)){const u=void 0===r?c:`${r}.${c}`;I.has(u)||(k=p(k,makeMapper(u)))}if(!u||!((r,c)=&gt;r.some((r=&gt;"string"==typeof r?r===c:(r.lastIndex=0,r.test(c)))))(u,c)){const r=w?`${c}_`:c;if(x.has(r))c=x.get(r);else{const u=y(c,{pascalCase:w});c.length&lt;100&amp;&amp;x.set(r,u),c=u}}return[c,k]};return p(r,makeMapper(void 0))};r.exports=(r,c)=&gt;Array.isArray(r)?Object.keys(r).map((u=&gt;camelCaseConvert(r[u],c))):camelCaseConvert(r,c)},80834:function(r){"use strict";const camelCase=(r,c)=&gt;{if("string"!=typeof r&amp;&amp;!Array.isArray(r))throw new TypeError("Expected the input to be `string | string[]`");if(c={pascalCase:!1,preserveConsecutiveUppercase:!1,...c},0===(r=Array.isArray(r)?r.map((r=&gt;r.trim())).filter((r=&gt;r.length)).join("-"):r.trim()).length)return"";if(1===r.length)return c.pascalCase?r.toLocaleUpperCase(c.locale):r.toLocaleLowerCase(c.locale);return r!==r.toLocaleLowerCase(c.locale)&amp;&amp;(r=((r,c)=&gt;{let u=!1,p=!1,y=!1;for(let w=0;w&lt;r.length;w++){const x=r[w];u&amp;&amp;/[\p{Lu}]/u.test(x)?(r=r.slice(0,w)+"-"+r.slice(w),u=!1,y=p,p=!0,w++):p&amp;&amp;y&amp;&amp;/[\p{Ll}]/u.test(x)?(r=r.slice(0,w-1)+"-"+r.slice(w-1),y=p,p=!1,u=!0):(u=x.toLocaleLowerCase(c)===x&amp;&amp;x.toLocaleUpperCase(c)!==x,y=p,p=x.toLocaleUpperCase(c)===x&amp;&amp;x.toLocaleLowerCase(c)!==x)}return r})(r,c.locale)),r=r.replace(/^[_.\- ]+/,""),r=c.preserveConsecutiveUppercase?(r=&gt;r.replace(/^[\p{Lu}](?![\p{Lu}])/gu,(r=&gt;r.toLowerCase())))(r):r.toLocaleLowerCase(),c.pascalCase&amp;&amp;(r=r.charAt(0).toLocaleUpperCase(c.locale)+r.slice(1)),((r,c)=&gt;r.replace(/[_.\- ]+([\p{Alpha}\p{N}_]|$)/gu,((r,u)=&gt;u.toLocaleUpperCase(c.locale))).replace(/\d+([\p{Alpha}\p{N}_]|$)/gu,(r=&gt;r.toLocaleUpperCase(c.locale))))(r,c)};r.exports=camelCase,r.exports.default=camelCase},79588:function(r){"use strict";const isObject=r=&gt;"object"==typeof r&amp;&amp;null!==r,c=Symbol("skip"),isObjectCustom=r=&gt;isObject(r)&amp;&amp;!(r instanceof RegExp)&amp;&amp;!(r instanceof Error)&amp;&amp;!(r instanceof Date),mapObject=(r,u,p,y=new WeakMap)=&gt;{if(p={deep:!1,target:{},...p},y.has(r))return y.get(r);y.set(r,p.target);const{target:w}=p;delete p.target;const mapArray=r=&gt;r.map((r=&gt;isObjectCustom(r)?mapObject(r,u,p,y):r));if(Array.isArray(r))return mapArray(r);for(const[x,k]of Object.entries(r)){const E=u(x,k,r);if(E===c)continue;let[I,K,{shouldRecurse:J=!0}={}]=E;"__proto__"!==I&amp;&amp;(p.deep&amp;&amp;J&amp;&amp;isObjectCustom(K)&amp;&amp;(K=Array.isArray(K)?mapArray(K):mapObject(K,u,p,y)),w[I]=K)}return w};r.exports=(r,c,u)=&gt;{if(!isObject(r))throw new TypeError(`Expected an object, got \`${r}\` (${typeof r})`);return mapObject(r,c,u)},r.exports.mapObjectSkip=c},86010:function(r,c,u){"use strict";function toVal(r){var c,u,p="";if("string"==typeof r||"number"==typeof r)p+=r;else if("object"==typeof r)if(Array.isArray(r))for(c=0;c&lt;r.length;c++)r[c]&amp;&amp;(u=toVal(r[c]))&amp;&amp;(p&amp;&amp;(p+=" "),p+=u);else for(c in r)r[c]&amp;&amp;(p&amp;&amp;(p+=" "),p+=c);return p}function __WEBPACK_DEFAULT_EXPORT__(){for(var r,c,u=0,p="";u&lt;arguments.length;)(r=arguments[u++])&amp;&amp;(c=toVal(r))&amp;&amp;(p&amp;&amp;(p+=" "),p+=c);return p}u.d(c,{Z:function(){return __WEBPACK_DEFAULT_EXPORT__}})},19662:function(r,c,u){var p=u(60614),y=u(66330),w=TypeError;r.exports=function(r){if(p(r))return r;throw w(y(r)+" is not a function")}},39483:function(r,c,u){var p=u(4411),y=u(66330),w=TypeError;r.exports=function(r){if(p(r))return r;throw w(y(r)+" is not a constructor")}},96077:function(r,c,u){var p=u(60614),y=String,w=TypeError;r.exports=function(r){if("object"==typeof r||p(r))return r;throw w("Can't set "+y(r)+" as a prototype")}},51223:function(r,c,u){var p=u(5112),y=u(70030),w=u(3070).f,x=p("unscopables"),k=Array.prototype;null==k[x]&amp;&amp;w(k,x,{configurable:!0,value:y(null)}),r.exports=function(r){k[x][r]=!0}},31530:function(r,c,u){"use strict";var p=u(28710).charAt;r.exports=function(r,c,u){return c+(u?p(r,c).length:1)}},25787:function(r,c,u){var p=u(47976),y=TypeError;r.exports=function(r,c){if(p(c,r))return r;throw y("Incorrect invocation")}},19670:function(r,c,u){var p=u(70111),y=String,w=TypeError;r.exports=function(r){if(p(r))return r;throw w(y(r)+" is not an object")}},23013:function(r){r.exports="undefined"!=typeof ArrayBuffer&amp;&amp;"undefined"!=typeof DataView},7556:function(r,c,u){var p=u(47293);r.exports=p((function(){if("function"==typeof ArrayBuffer){var r=new ArrayBuffer(8);Object.isExtensible(r)&amp;&amp;Object.defineProperty(r,"a",{value:8})}}))},90260:function(r,c,u){"use strict";var p,y,w,x=u(23013),k=u(19781),E=u(17854),I=u(60614),K=u(70111),J=u(92597),oe=u(70648),ie=u(66330),ae=u(68880),se=u(98052),ue=u(47045),le=u(47976),pe=u(79518),de=u(27674),he=u(5112),ge=u(69711),ve=u(29909),we=ve.enforce,Se=ve.get,Oe=E.Int8Array,Pe=Oe&amp;&amp;Oe.prototype,Le=E.Uint8ClampedArray,Ie=Le&amp;&amp;Le.prototype,je=Oe&amp;&amp;pe(Oe),De=Pe&amp;&amp;pe(Pe),Ue=Object.prototype,Fe=E.TypeError,Ze=he("toStringTag"),$e=ge("TYPED_ARRAY_TAG"),Ge="TypedArrayConstructor",We=x&amp;&amp;!!de&amp;&amp;"Opera"!==oe(E.opera),Ke=!1,Je={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ye={BigInt64Array:8,BigUint64Array:8},getTypedArrayConstructor=function(r){var c=pe(r);if(K(c)){var u=Se(c);return u&amp;&amp;J(u,Ge)?u[Ge]:getTypedArrayConstructor(c)}},isTypedArray=function(r){if(!K(r))return!1;var c=oe(r);return J(Je,c)||J(Ye,c)};for(p in Je)(w=(y=E[p])&amp;&amp;y.prototype)?we(w)[Ge]=y:We=!1;for(p in Ye)(w=(y=E[p])&amp;&amp;y.prototype)&amp;&amp;(we(w)[Ge]=y);if((!We||!I(je)||je===Function.prototype)&amp;&amp;(je=function TypedArray(){throw Fe("Incorrect invocation")},We))for(p in Je)E[p]&amp;&amp;de(E[p],je);if((!We||!De||De===Ue)&amp;&amp;(De=je.prototype,We))for(p in Je)E[p]&amp;&amp;de(E[p].prototype,De);if(We&amp;&amp;pe(Ie)!==De&amp;&amp;de(Ie,De),k&amp;&amp;!J(De,Ze))for(p in Ke=!0,ue(De,Ze,{configurable:!0,get:function(){return K(this)?this[$e]:void 0}}),Je)E[p]&amp;&amp;ae(E[p],$e,p);r.exports={NATIVE_ARRAY_BUFFER_VIEWS:We,TYPED_ARRAY_TAG:Ke&amp;&amp;$e,aTypedArray:function(r){if(isTypedArray(r))return r;throw Fe("Target is not a typed array")},aTypedArrayConstructor:function(r){if(I(r)&amp;&amp;(!de||le(je,r)))return r;throw Fe(ie(r)+" is not a typed array constructor")},exportTypedArrayMethod:function(r,c,u,p){if(k){if(u)for(var y in Je){var w=E[y];if(w&amp;&amp;J(w.prototype,r))try{delete w.prototype[r]}catch(u){try{w.prototype[r]=c}catch(r){}}}De[r]&amp;&amp;!u||se(De,r,u?c:We&amp;&amp;Pe[r]||c,p)}},exportTypedArrayStaticMethod:function(r,c,u){var p,y;if(k){if(de){if(u)for(p in Je)if((y=E[p])&amp;&amp;J(y,r))try{delete y[r]}catch(r){}if(je[r]&amp;&amp;!u)return;try{return se(je,r,u?c:We&amp;&amp;je[r]||c)}catch(r){}}for(p in Je)!(y=E[p])||y[r]&amp;&amp;!u||se(y,r,c)}},getTypedArrayConstructor:getTypedArrayConstructor,isView:function isView(r){if(!K(r))return!1;var c=oe(r);return"DataView"===c||J(Je,c)||J(Ye,c)},isTypedArray:isTypedArray,TypedArray:je,TypedArrayPrototype:De}},13331:function(r,c,u){"use strict";var p=u(17854),y=u(1702),w=u(19781),x=u(23013),k=u(76530),E=u(68880),I=u(47045),K=u(89190),J=u(47293),oe=u(25787),ie=u(19303),ae=u(17466),se=u(57067),ue=u(11179),le=u(79518),pe=u(27674),de=u(8006).f,he=u(21285),ge=u(41589),ve=u(58003),we=u(29909),Se=k.PROPER,Oe=k.CONFIGURABLE,Pe="ArrayBuffer",Le="DataView",Ie="prototype",je="Wrong index",De=we.getterFor(Pe),Ue=we.getterFor(Le),Fe=we.set,Ze=p[Pe],$e=Ze,Ge=$e&amp;&amp;$e[Ie],We=p[Le],Ke=We&amp;&amp;We[Ie],Je=Object.prototype,Ye=p.Array,Xe=p.RangeError,Qe=y(he),et=y([].reverse),rt=ue.pack,nt=ue.unpack,packInt8=function(r){return[255&amp;r]},packInt16=function(r){return[255&amp;r,r&gt;&gt;8&amp;255]},packInt32=function(r){return[255&amp;r,r&gt;&gt;8&amp;255,r&gt;&gt;16&amp;255,r&gt;&gt;24&amp;255]},unpackInt32=function(r){return r[3]&lt;&lt;24|r[2]&lt;&lt;16|r[1]&lt;&lt;8|r[0]},packFloat32=function(r){return rt(r,23,4)},packFloat64=function(r){return rt(r,52,8)},addGetter=function(r,c,u){I(r[Ie],c,{configurable:!0,get:function(){return u(this)[c]}})},get=function(r,c,u,p){var y=se(u),w=Ue(r);if(y+c&gt;w.byteLength)throw Xe(je);var x=w.bytes,k=y+w.byteOffset,E=ge(x,k,k+c);return p?E:et(E)},set=function(r,c,u,p,y,w){var x=se(u),k=Ue(r);if(x+c&gt;k.byteLength)throw Xe(je);for(var E=k.bytes,I=x+k.byteOffset,K=p(+y),J=0;J&lt;c;J++)E[I+J]=K[w?J:c-J-1]};if(x){var ot=Se&amp;&amp;Ze.name!==Pe;if(J((function(){Ze(1)}))&amp;&amp;J((function(){new Ze(-1)}))&amp;&amp;!J((function(){return new Ze,new Ze(1.5),new Ze(NaN),1!=Ze.length||ot&amp;&amp;!Oe})))ot&amp;&amp;Oe&amp;&amp;E(Ze,"name",Pe);else{($e=function ArrayBuffer(r){return oe(this,Ge),new Ze(se(r))})[Ie]=Ge;for(var it,st=de(Ze),ct=0;st.length&gt;ct;)(it=st[ct++])in $e||E($e,it,Ze[it]);Ge.constructor=$e}pe&amp;&amp;le(Ke)!==Je&amp;&amp;pe(Ke,Je);var ut=new We(new $e(2)),lt=y(Ke.setInt8);ut.setInt8(0,2147483648),ut.setInt8(1,2147483649),!ut.getInt8(0)&amp;&amp;ut.getInt8(1)||K(Ke,{setInt8:function setInt8(r,c){lt(this,r,c&lt;&lt;24&gt;&gt;24)},setUint8:function setUint8(r,c){lt(this,r,c&lt;&lt;24&gt;&gt;24)}},{unsafe:!0})}else Ge=($e=function ArrayBuffer(r){oe(this,Ge);var c=se(r);Fe(this,{type:Pe,bytes:Qe(Ye(c),0),byteLength:c}),w||(this.byteLength=c,this.detached=!1)})[Ie],Ke=(We=function DataView(r,c,u){oe(this,Ke),oe(r,Ge);var p=De(r),y=p.byteLength,x=ie(c);if(x&lt;0||x&gt;y)throw Xe("Wrong offset");if(x+(u=void 0===u?y-x:ae(u))&gt;y)throw Xe("Wrong length");Fe(this,{type:Le,buffer:r,byteLength:u,byteOffset:x,bytes:p.bytes}),w||(this.buffer=r,this.byteLength=u,this.byteOffset=x)})[Ie],w&amp;&amp;(addGetter($e,"byteLength",De),addGetter(We,"buffer",Ue),addGetter(We,"byteLength",Ue),addGetter(We,"byteOffset",Ue)),K(Ke,{getInt8:function getInt8(r){return get(this,1,r)[0]&lt;&lt;24&gt;&gt;24},getUint8:function getUint8(r){return get(this,1,r)[0]},getInt16:function getInt16(r){var c=get(this,2,r,arguments.length&gt;1?arguments[1]:void 0);return(c[1]&lt;&lt;8|c[0])&lt;&lt;16&gt;&gt;16},getUint16:function getUint16(r){var c=get(this,2,r,arguments.length&gt;1?arguments[1]:void 0);return c[1]&lt;&lt;8|c[0]},getInt32:function getInt32(r){return unpackInt32(get(this,4,r,arguments.length&gt;1?arguments[1]:void 0))},getUint32:function getUint32(r){return unpackInt32(get(this,4,r,arguments.length&gt;1?arguments[1]:void 0))&gt;&gt;&gt;0},getFloat32:function getFloat32(r){return nt(get(this,4,r,arguments.length&gt;1?arguments[1]:void 0),23)},getFloat64:function getFloat64(r){return nt(get(this,8,r,arguments.length&gt;1?arguments[1]:void 0),52)},setInt8:function setInt8(r,c){set(this,1,r,packInt8,c)},setUint8:function setUint8(r,c){set(this,1,r,packInt8,c)},setInt16:function setInt16(r,c){set(this,2,r,packInt16,c,arguments.length&gt;2?arguments[2]:void 0)},setUint16:function setUint16(r,c){set(this,2,r,packInt16,c,arguments.length&gt;2?arguments[2]:void 0)},setInt32:function setInt32(r,c){set(this,4,r,packInt32,c,arguments.length&gt;2?arguments[2]:void 0)},setUint32:function setUint32(r,c){set(this,4,r,packInt32,c,arguments.length&gt;2?arguments[2]:void 0)},setFloat32:function setFloat32(r,c){set(this,4,r,packFloat32,c,arguments.length&gt;2?arguments[2]:void 0)},setFloat64:function setFloat64(r,c){set(this,8,r,packFloat64,c,arguments.length&gt;2?arguments[2]:void 0)}});ve($e,Pe),ve(We,Le),r.exports={ArrayBuffer:$e,DataView:We}},1048:function(r,c,u){"use strict";var p=u(47908),y=u(51400),w=u(26244),x=u(85117),k=Math.min;r.exports=[].copyWithin||function copyWithin(r,c){var u=p(this),E=w(u),I=y(r,E),K=y(c,E),J=arguments.length&gt;2?arguments[2]:void 0,oe=k((void 0===J?E:y(J,E))-K,E-I),ie=1;for(K&lt;I&amp;&amp;I&lt;K+oe&amp;&amp;(ie=-1,K+=oe-1,I+=oe-1);oe-- &gt;0;)K in u?u[I]=u[K]:x(u,I),I+=ie,K+=ie;return u}},21285:function(r,c,u){"use strict";var p=u(47908),y=u(51400),w=u(26244);r.exports=function fill(r){for(var c=p(this),u=w(c),x=arguments.length,k=y(x&gt;1?arguments[1]:void 0,u),E=x&gt;2?arguments[2]:void 0,I=void 0===E?u:y(E,u);I&gt;k;)c[k++]=r;return c}},18533:function(r,c,u){"use strict";var p=u(42092).forEach,y=u(9341)("forEach");r.exports=y?[].forEach:function forEach(r){return p(this,r,arguments.length&gt;1?arguments[1]:void 0)}},97745:function(r,c,u){var p=u(26244);r.exports=function(r,c){for(var u=0,y=p(c),w=new r(y);y&gt;u;)w[u]=c[u++];return w}},48457:function(r,c,u){"use strict";var p=u(49974),y=u(46916),w=u(47908),x=u(53411),k=u(97659),E=u(4411),I=u(26244),K=u(86135),J=u(18554),oe=u(71246),ie=Array;r.exports=function from(r){var c=w(r),u=E(this),ae=arguments.length,se=ae&gt;1?arguments[1]:void 0,ue=void 0!==se;ue&amp;&amp;(se=p(se,ae&gt;2?arguments[2]:void 0));var le,pe,de,he,ge,ve,we=oe(c),Se=0;if(!we||this===ie&amp;&amp;k(we))for(le=I(c),pe=u?new this(le):ie(le);le&gt;Se;Se++)ve=ue?se(c[Se],Se):c[Se],K(pe,Se,ve);else for(ge=(he=J(c,we)).next,pe=u?new this:[];!(de=y(ge,he)).done;Se++)ve=ue?x(he,se,[de.value,Se],!0):de.value,K(pe,Se,ve);return pe.length=Se,pe}},41318:function(r,c,u){var p=u(45656),y=u(51400),w=u(26244),createMethod=function(r){return function(c,u,x){var k,E=p(c),I=w(E),K=y(x,I);if(r&amp;&amp;u!=u){for(;I&gt;K;)if((k=E[K++])!=k)return!0}else for(;I&gt;K;K++)if((r||K in E)&amp;&amp;E[K]===u)return r||K||0;return!r&amp;&amp;-1}};r.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},42092:function(r,c,u){var p=u(49974),y=u(1702),w=u(68361),x=u(47908),k=u(26244),E=u(65417),I=y([].push),createMethod=function(r){var c=1==r,u=2==r,y=3==r,K=4==r,J=6==r,oe=7==r,ie=5==r||J;return function(ae,se,ue,le){for(var pe,de,he=x(ae),ge=w(he),ve=p(se,ue),we=k(ge),Se=0,Oe=le||E,Pe=c?Oe(ae,we):u||oe?Oe(ae,0):void 0;we&gt;Se;Se++)if((ie||Se in ge)&amp;&amp;(de=ve(pe=ge[Se],Se,he),r))if(c)Pe[Se]=de;else if(de)switch(r){case 3:return!0;case 5:return pe;case 6:return Se;case 2:I(Pe,pe)}else switch(r){case 4:return!1;case 7:I(Pe,pe)}return J?-1:y||K?K:Pe}};r.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6),filterReject:createMethod(7)}},86583:function(r,c,u){"use strict";var p=u(22104),y=u(45656),w=u(19303),x=u(26244),k=u(9341),E=Math.min,I=[].lastIndexOf,K=!!I&amp;&amp;1/[1].lastIndexOf(1,-0)&lt;0,J=k("lastIndexOf"),oe=K||!J;r.exports=oe?function lastIndexOf(r){if(K)return p(I,this,arguments)||0;var c=y(this),u=x(c),k=u-1;for(arguments.length&gt;1&amp;&amp;(k=E(k,w(arguments[1]))),k&lt;0&amp;&amp;(k=u+k);k&gt;=0;k--)if(k in c&amp;&amp;c[k]===r)return k||0;return-1}:I},81194:function(r,c,u){var p=u(47293),y=u(5112),w=u(7392),x=y("species");r.exports=function(r){return w&gt;=51||!p((function(){var c=[];return(c.constructor={})[x]=function(){return{foo:1}},1!==c[r](Boolean).foo}))}},9341:function(r,c,u){"use strict";var p=u(47293);r.exports=function(r,c){var u=[][r];return!!u&amp;&amp;p((function(){u.call(null,c||function(){return 1},1)}))}},53671:function(r,c,u){var p=u(19662),y=u(47908),w=u(68361),x=u(26244),k=TypeError,createMethod=function(r){return function(c,u,E,I){p(u);var K=y(c),J=w(K),oe=x(K),ie=r?oe-1:0,ae=r?-1:1;if(E&lt;2)for(;;){if(ie in J){I=J[ie],ie+=ae;break}if(ie+=ae,r?ie&lt;0:oe&lt;=ie)throw k("Reduce of empty array with no initial value")}for(;r?ie&gt;=0:oe&gt;ie;ie+=ae)ie in J&amp;&amp;(I=u(I,J[ie],ie,K));return I}};r.exports={left:createMethod(!1),right:createMethod(!0)}},83658:function(r,c,u){"use strict";var p=u(19781),y=u(43157),w=TypeError,x=Object.getOwnPropertyDescriptor,k=p&amp;&amp;!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}();r.exports=k?function(r,c){if(y(r)&amp;&amp;!x(r,"length").writable)throw w("Cannot set read only .length");return r.length=c}:function(r,c){return r.length=c}},41589:function(r,c,u){var p=u(51400),y=u(26244),w=u(86135),x=Array,k=Math.max;r.exports=function(r,c,u){for(var E=y(r),I=p(c,E),K=p(void 0===u?E:u,E),J=x(k(K-I,0)),oe=0;I&lt;K;I++,oe++)w(J,oe,r[I]);return J.length=oe,J}},50206:function(r,c,u){var p=u(1702);r.exports=p([].slice)},94362:function(r,c,u){var p=u(41589),y=Math.floor,mergeSort=function(r,c){var u=r.length,w=y(u/2);return u&lt;8?insertionSort(r,c):merge(r,mergeSort(p(r,0,w),c),mergeSort(p(r,w),c),c)},insertionSort=function(r,c){for(var u,p,y=r.length,w=1;w&lt;y;){for(p=w,u=r[w];p&amp;&amp;c(r[p-1],u)&gt;0;)r[p]=r[--p];p!==w++&amp;&amp;(r[p]=u)}return r},merge=function(r,c,u,p){for(var y=c.length,w=u.length,x=0,k=0;x&lt;y||k&lt;w;)r[x+k]=x&lt;y&amp;&amp;k&lt;w?p(c[x],u[k])&lt;=0?c[x++]:u[k++]:x&lt;y?c[x++]:u[k++];return r};r.exports=mergeSort},77475:function(r,c,u){var p=u(43157),y=u(4411),w=u(70111),x=u(5112)("species"),k=Array;r.exports=function(r){var c;return p(r)&amp;&amp;(c=r.constructor,(y(c)&amp;&amp;(c===k||p(c.prototype))||w(c)&amp;&amp;null===(c=c[x]))&amp;&amp;(c=void 0)),void 0===c?k:c}},65417:function(r,c,u){var p=u(77475);r.exports=function(r,c){return new(p(r))(0===c?0:c)}},53411:function(r,c,u){var p=u(19670),y=u(99212);r.exports=function(r,c,u,w){try{return w?c(p(u)[0],u[1]):c(u)}catch(c){y(r,"throw",c)}}},17072:function(r,c,u){var p=u(5112)("iterator"),y=!1;try{var w=0,x={next:function(){return{done:!!w++}},return:function(){y=!0}};x[p]=function(){return this},Array.from(x,(function(){throw 2}))}catch(r){}r.exports=function(r,c){if(!c&amp;&amp;!y)return!1;var u=!1;try{var w={};w[p]=function(){return{next:function(){return{done:u=!0}}}},r(w)}catch(r){}return u}},84326:function(r,c,u){var p=u(1702),y=p({}.toString),w=p("".slice);r.exports=function(r){return w(y(r),8,-1)}},70648:function(r,c,u){var p=u(51694),y=u(60614),w=u(84326),x=u(5112)("toStringTag"),k=Object,E="Arguments"==w(function(){return arguments}());r.exports=p?w:function(r){var c,u,p;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(u=function(r,c){try{return r[c]}catch(r){}}(c=k(r),x))?u:E?w(c):"Object"==(p=w(c))&amp;&amp;y(c.callee)?"Arguments":p}},95631:function(r,c,u){"use strict";var p=u(70030),y=u(47045),w=u(89190),x=u(49974),k=u(25787),E=u(68554),I=u(20408),K=u(51656),J=u(76178),oe=u(96340),ie=u(19781),ae=u(62423).fastKey,se=u(29909),ue=se.set,le=se.getterFor;r.exports={getConstructor:function(r,c,u,K){var J=r((function(r,y){k(r,oe),ue(r,{type:c,index:p(null),first:void 0,last:void 0,size:0}),ie||(r.size=0),E(y)||I(y,r[K],{that:r,AS_ENTRIES:u})})),oe=J.prototype,se=le(c),define=function(r,c,u){var p,y,w=se(r),x=getEntry(r,c);return x?x.value=u:(w.last=x={index:y=ae(c,!0),key:c,value:u,previous:p=w.last,next:void 0,removed:!1},w.first||(w.first=x),p&amp;&amp;(p.next=x),ie?w.size++:r.size++,"F"!==y&amp;&amp;(w.index[y]=x)),r},getEntry=function(r,c){var u,p=se(r),y=ae(c);if("F"!==y)return p.index[y];for(u=p.first;u;u=u.next)if(u.key==c)return u};return w(oe,{clear:function clear(){for(var r=se(this),c=r.index,u=r.first;u;)u.removed=!0,u.previous&amp;&amp;(u.previous=u.previous.next=void 0),delete c[u.index],u=u.next;r.first=r.last=void 0,ie?r.size=0:this.size=0},delete:function(r){var c=this,u=se(c),p=getEntry(c,r);if(p){var y=p.next,w=p.previous;delete u.index[p.index],p.removed=!0,w&amp;&amp;(w.next=y),y&amp;&amp;(y.previous=w),u.first==p&amp;&amp;(u.first=y),u.last==p&amp;&amp;(u.last=w),ie?u.size--:c.size--}return!!p},forEach:function forEach(r){for(var c,u=se(this),p=x(r,arguments.length&gt;1?arguments[1]:void 0);c=c?c.next:u.first;)for(p(c.value,c.key,this);c&amp;&amp;c.removed;)c=c.previous},has:function has(r){return!!getEntry(this,r)}}),w(oe,u?{get:function get(r){var c=getEntry(this,r);return c&amp;&amp;c.value},set:function set(r,c){return define(this,0===r?0:r,c)}}:{add:function add(r){return define(this,r=0===r?0:r,r)}}),ie&amp;&amp;y(oe,"size",{configurable:!0,get:function(){return se(this).size}}),J},setStrong:function(r,c,u){var p=c+" Iterator",y=le(c),w=le(p);K(r,c,(function(r,c){ue(this,{type:p,target:r,state:y(r),kind:c,last:void 0})}),(function(){for(var r=w(this),c=r.kind,u=r.last;u&amp;&amp;u.removed;)u=u.previous;return r.target&amp;&amp;(r.last=u=u?u.next:r.state.first)?J("keys"==c?u.key:"values"==c?u.value:[u.key,u.value],!1):(r.target=void 0,J(void 0,!0))}),u?"entries":"values",!u,!0),oe(c)}}},77710:function(r,c,u){"use strict";var p=u(82109),y=u(17854),w=u(1702),x=u(54705),k=u(98052),E=u(62423),I=u(20408),K=u(25787),J=u(60614),oe=u(68554),ie=u(70111),ae=u(47293),se=u(17072),ue=u(58003),le=u(79587);r.exports=function(r,c,u){var pe=-1!==r.indexOf("Map"),de=-1!==r.indexOf("Weak"),he=pe?"set":"add",ge=y[r],ve=ge&amp;&amp;ge.prototype,we=ge,Se={},fixMethod=function(r){var c=w(ve[r]);k(ve,r,"add"==r?function add(r){return c(this,0===r?0:r),this}:"delete"==r?function(r){return!(de&amp;&amp;!ie(r))&amp;&amp;c(this,0===r?0:r)}:"get"==r?function get(r){return de&amp;&amp;!ie(r)?void 0:c(this,0===r?0:r)}:"has"==r?function has(r){return!(de&amp;&amp;!ie(r))&amp;&amp;c(this,0===r?0:r)}:function set(r,u){return c(this,0===r?0:r,u),this})};if(x(r,!J(ge)||!(de||ve.forEach&amp;&amp;!ae((function(){(new ge).entries().next()})))))we=u.getConstructor(c,r,pe,he),E.enable();else if(x(r,!0)){var Oe=new we,Pe=Oe[he](de?{}:-0,1)!=Oe,Le=ae((function(){Oe.has(1)})),Ie=se((function(r){new ge(r)})),je=!de&amp;&amp;ae((function(){for(var r=new ge,c=5;c--;)r[he](c,c);return!r.has(-0)}));Ie||((we=c((function(r,c){K(r,ve);var u=le(new ge,r,we);return oe(c)||I(c,u[he],{that:u,AS_ENTRIES:pe}),u}))).prototype=ve,ve.constructor=we),(Le||je)&amp;&amp;(fixMethod("delete"),fixMethod("has"),pe&amp;&amp;fixMethod("get")),(je||Pe)&amp;&amp;fixMethod(he),de&amp;&amp;ve.clear&amp;&amp;delete ve.clear}return Se[r]=we,p({global:!0,constructor:!0,forced:we!=ge},Se),ue(we,r),de||u.setStrong(we,r,pe),we}},99920:function(r,c,u){var p=u(92597),y=u(53887),w=u(31236),x=u(3070);r.exports=function(r,c,u){for(var k=y(c),E=x.f,I=w.f,K=0;K&lt;k.length;K++){var J=k[K];p(r,J)||u&amp;&amp;p(u,J)||E(r,J,I(c,J))}}},84964:function(r,c,u){var p=u(5112)("match");r.exports=function(r){var c=/./;try{"/./"[r](c)}catch(u){try{return c[p]=!1,"/./"[r](c)}catch(r){}}return!1}},49920:function(r,c,u){var p=u(47293);r.exports=!p((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype}))},14230:function(r,c,u){var p=u(1702),y=u(84488),w=u(41340),x=/"/g,k=p("".replace);r.exports=function(r,c,u,p){var E=w(y(r)),I="&lt;"+c;return""!==u&amp;&amp;(I+=" "+u+'="'+k(w(p),x,"&amp;quot;")+'"'),I+"&gt;"+E+"&lt;/"+c+"&gt;"}},76178:function(r){r.exports=function(r,c){return{value:r,done:c}}},68880:function(r,c,u){var p=u(19781),y=u(3070),w=u(79114);r.exports=p?function(r,c,u){return y.f(r,c,w(1,u))}:function(r,c,u){return r[c]=u,r}},79114:function(r){r.exports=function(r,c){return{enumerable:!(1&amp;r),configurable:!(2&amp;r),writable:!(4&amp;r),value:c}}},86135:function(r,c,u){"use strict";var p=u(34948),y=u(3070),w=u(79114);r.exports=function(r,c,u){var x=p(c);x in r?y.f(r,x,w(0,u)):r[x]=u}},47045:function(r,c,u){var p=u(56339),y=u(3070);r.exports=function(r,c,u){return u.get&amp;&amp;p(u.get,c,{getter:!0}),u.set&amp;&amp;p(u.set,c,{setter:!0}),y.f(r,c,u)}},98052:function(r,c,u){var p=u(60614),y=u(3070),w=u(56339),x=u(13072);r.exports=function(r,c,u,k){k||(k={});var E=k.enumerable,I=void 0!==k.name?k.name:c;if(p(u)&amp;&amp;w(u,I,k),k.global)E?r[c]=u:x(c,u);else{try{k.unsafe?r[c]&amp;&amp;(E=!0):delete r[c]}catch(r){}E?r[c]=u:y.f(r,c,{value:u,enumerable:!1,configurable:!k.nonConfigurable,writable:!k.nonWritable})}return r}},89190:function(r,c,u){var p=u(98052);r.exports=function(r,c,u){for(var y in c)p(r,y,c[y],u);return r}},13072:function(r,c,u){var p=u(17854),y=Object.defineProperty;r.exports=function(r,c){try{y(p,r,{value:c,configurable:!0,writable:!0})}catch(u){p[r]=c}return c}},85117:function(r,c,u){"use strict";var p=u(66330),y=TypeError;r.exports=function(r,c){if(!delete r[c])throw y("Cannot delete property "+p(c)+" of "+p(r))}},19781:function(r,c,u){var p=u(47293);r.exports=!p((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(r){var c="object"==typeof document&amp;&amp;document.all,u=void 0===c&amp;&amp;void 0!==c;r.exports={all:c,IS_HTMLDDA:u}},80317:function(r,c,u){var p=u(17854),y=u(70111),w=p.document,x=y(w)&amp;&amp;y(w.createElement);r.exports=function(r){return x?w.createElement(r):{}}},7207:function(r){var c=TypeError;r.exports=function(r){if(r&gt;9007199254740991)throw c("Maximum allowed index exceeded");return r}},48324:function(r){r.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:function(r,c,u){var p=u(80317)("span").classList,y=p&amp;&amp;p.constructor&amp;&amp;p.constructor.prototype;r.exports=y===Object.prototype?void 0:y},68886:function(r,c,u){var p=u(88113).match(/firefox\/(\d+)/i);r.exports=!!p&amp;&amp;+p[1]},7871:function(r,c,u){var p=u(83823),y=u(35268);r.exports=!p&amp;&amp;!y&amp;&amp;"object"==typeof window&amp;&amp;"object"==typeof document},83823:function(r){r.exports="object"==typeof Deno&amp;&amp;Deno&amp;&amp;"object"==typeof Deno.version},30256:function(r,c,u){var p=u(88113);r.exports=/MSIE|Trident/.test(p)},71528:function(r,c,u){var p=u(88113);r.exports=/ipad|iphone|ipod/i.test(p)&amp;&amp;"undefined"!=typeof Pebble},6833:function(r,c,u){var p=u(88113);r.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(p)},35268:function(r,c,u){var p=u(84326);r.exports="undefined"!=typeof process&amp;&amp;"process"==p(process)},71036:function(r,c,u){var p=u(88113);r.exports=/web0s(?!.*chrome)/i.test(p)},88113:function(r){r.exports="undefined"!=typeof navigator&amp;&amp;String(navigator.userAgent)||""},7392:function(r,c,u){var p,y,w=u(17854),x=u(88113),k=w.process,E=w.Deno,I=k&amp;&amp;k.versions||E&amp;&amp;E.version,K=I&amp;&amp;I.v8;K&amp;&amp;(y=(p=K.split("."))[0]&gt;0&amp;&amp;p[0]&lt;4?1:+(p[0]+p[1])),!y&amp;&amp;x&amp;&amp;(!(p=x.match(/Edge\/(\d+)/))||p[1]&gt;=74)&amp;&amp;(p=x.match(/Chrome\/(\d+)/))&amp;&amp;(y=+p[1]),r.exports=y},98008:function(r,c,u){var p=u(88113).match(/AppleWebKit\/(\d+)\./);r.exports=!!p&amp;&amp;+p[1]},80748:function(r){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:function(r,c,u){var p=u(17854),y=u(31236).f,w=u(68880),x=u(98052),k=u(13072),E=u(99920),I=u(54705);r.exports=function(r,c){var u,K,J,oe,ie,ae=r.target,se=r.global,ue=r.stat;if(u=se?p:ue?p[ae]||k(ae,{}):(p[ae]||{}).prototype)for(K in c){if(oe=c[K],J=r.dontCallGetSet?(ie=y(u,K))&amp;&amp;ie.value:u[K],!I(se?K:ae+(ue?".":"#")+K,r.forced)&amp;&amp;void 0!==J){if(typeof oe==typeof J)continue;E(oe,J)}(r.sham||J&amp;&amp;J.sham)&amp;&amp;w(oe,"sham",!0),x(u,K,oe,r)}}},47293:function(r){r.exports=function(r){try{return!!r()}catch(r){return!0}}},27007:function(r,c,u){"use strict";u(74916);var p=u(21470),y=u(98052),w=u(22261),x=u(47293),k=u(5112),E=u(68880),I=k("species"),K=RegExp.prototype;r.exports=function(r,c,u,J){var oe=k(r),ie=!x((function(){var c={};return c[oe]=function(){return 7},7!=""[r](c)})),ae=ie&amp;&amp;!x((function(){var c=!1,u=/a/;return"split"===r&amp;&amp;((u={}).constructor={},u.constructor[I]=function(){return u},u.flags="",u[oe]=/./[oe]),u.exec=function(){return c=!0,null},u[oe](""),!c}));if(!ie||!ae||u){var se=p(/./[oe]),ue=c(oe,""[r],(function(r,c,u,y,x){var k=p(r),E=c.exec;return E===w||E===K.exec?ie&amp;&amp;!x?{done:!0,value:se(c,u,y)}:{done:!0,value:k(u,c,y)}:{done:!1}}));y(String.prototype,r,ue[0]),y(K,oe,ue[1])}J&amp;&amp;E(K[oe],"sham",!0)}},76677:function(r,c,u){var p=u(47293);r.exports=!p((function(){return Object.isExtensible(Object.preventExtensions({}))}))},22104:function(r,c,u){var p=u(34374),y=Function.prototype,w=y.apply,x=y.call;r.exports="object"==typeof Reflect&amp;&amp;Reflect.apply||(p?x.bind(w):function(){return x.apply(w,arguments)})},49974:function(r,c,u){var p=u(21470),y=u(19662),w=u(34374),x=p(p.bind);r.exports=function(r,c){return y(r),void 0===c?r:w?x(r,c):function(){return r.apply(c,arguments)}}},34374:function(r,c,u){var p=u(47293);r.exports=!p((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")}))},27065:function(r,c,u){"use strict";var p=u(1702),y=u(19662),w=u(70111),x=u(92597),k=u(50206),E=u(34374),I=Function,K=p([].concat),J=p([].join),oe={};r.exports=E?I.bind:function bind(r){var c=y(this),u=c.prototype,p=k(arguments,1),E=function bound(){var u=K(p,k(arguments));return this instanceof E?function(r,c,u){if(!x(oe,c)){for(var p=[],y=0;y&lt;c;y++)p[y]="a["+y+"]";oe[c]=I("C,a","return new C("+J(p,",")+")")}return oe[c](r,u)}(c,u.length,u):c.apply(r,u)};return w(u)&amp;&amp;(E.prototype=u),E}},46916:function(r,c,u){var p=u(34374),y=Function.prototype.call;r.exports=p?y.bind(y):function(){return y.apply(y,arguments)}},76530:function(r,c,u){var p=u(19781),y=u(92597),w=Function.prototype,x=p&amp;&amp;Object.getOwnPropertyDescriptor,k=y(w,"name"),E=k&amp;&amp;"something"===function something(){}.name,I=k&amp;&amp;(!p||p&amp;&amp;x(w,"name").configurable);r.exports={EXISTS:k,PROPER:E,CONFIGURABLE:I}},75668:function(r,c,u){var p=u(1702),y=u(19662);r.exports=function(r,c,u){try{return p(y(Object.getOwnPropertyDescriptor(r,c)[u]))}catch(r){}}},21470:function(r,c,u){var p=u(84326),y=u(1702);r.exports=function(r){if("Function"===p(r))return y(r)}},1702:function(r,c,u){var p=u(34374),y=Function.prototype,w=y.call,x=p&amp;&amp;y.bind.bind(w,w);r.exports=p?x:function(r){return function(){return w.apply(r,arguments)}}},35005:function(r,c,u){var p=u(17854),y=u(60614);r.exports=function(r,c){return arguments.length&lt;2?(u=p[r],y(u)?u:void 0):p[r]&amp;&amp;p[r][c];var u}},71246:function(r,c,u){var p=u(70648),y=u(58173),w=u(68554),x=u(97497),k=u(5112)("iterator");r.exports=function(r){if(!w(r))return y(r,k)||y(r,"@@iterator")||x[p(r)]}},18554:function(r,c,u){var p=u(46916),y=u(19662),w=u(19670),x=u(66330),k=u(71246),E=TypeError;r.exports=function(r,c){var u=arguments.length&lt;2?k(r):c;if(y(u))return w(p(u,r));throw E(x(r)+" is not iterable")}},88044:function(r,c,u){var p=u(1702),y=u(43157),w=u(60614),x=u(84326),k=u(41340),E=p([].push);r.exports=function(r){if(w(r))return r;if(y(r)){for(var c=r.length,u=[],p=0;p&lt;c;p++){var I=r[p];"string"==typeof I?E(u,I):"number"!=typeof I&amp;&amp;"Number"!=x(I)&amp;&amp;"String"!=x(I)||E(u,k(I))}var K=u.length,J=!0;return function(r,c){if(J)return J=!1,c;if(y(this))return c;for(var p=0;p&lt;K;p++)if(u[p]===r)return c}}}},58173:function(r,c,u){var p=u(19662),y=u(68554);r.exports=function(r,c){var u=r[c];return y(u)?void 0:p(u)}},10647:function(r,c,u){var p=u(1702),y=u(47908),w=Math.floor,x=p("".charAt),k=p("".replace),E=p("".slice),I=/\$([$&amp;'`]|\d{1,2}|&lt;[^&gt;]*&gt;)/g,K=/\$([$&amp;'`]|\d{1,2})/g;r.exports=function(r,c,u,p,J,oe){var ie=u+r.length,ae=p.length,se=K;return void 0!==J&amp;&amp;(J=y(J),se=I),k(oe,se,(function(y,k){var I;switch(x(k,0)){case"$":return"$";case"&amp;":return r;case"`":return E(c,0,u);case"'":return E(c,ie);case"&lt;":I=J[E(k,1,-1)];break;default:var K=+k;if(0===K)return y;if(K&gt;ae){var oe=w(K/10);return 0===oe?y:oe&lt;=ae?void 0===p[oe-1]?x(k,1):p[oe-1]+x(k,1):y}I=p[K-1]}return void 0===I?"":I}))}},17854:function(r,c,u){var check=function(r){return r&amp;&amp;r.Math==Math&amp;&amp;r};r.exports=check("object"==typeof globalThis&amp;&amp;globalThis)||check("object"==typeof window&amp;&amp;window)||check("object"==typeof self&amp;&amp;self)||check("object"==typeof u.g&amp;&amp;u.g)||function(){return this}()||this||Function("return this")()},92597:function(r,c,u){var p=u(1702),y=u(47908),w=p({}.hasOwnProperty);r.exports=Object.hasOwn||function hasOwn(r,c){return w(y(r),c)}},3501:function(r){r.exports={}},842:function(r){r.exports=function(r,c){try{1==arguments.length?console.error(r):console.error(r,c)}catch(r){}}},60490:function(r,c,u){var p=u(35005);r.exports=p("document","documentElement")},64664:function(r,c,u){var p=u(19781),y=u(47293),w=u(80317);r.exports=!p&amp;&amp;!y((function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a}))},11179:function(r){var c=Array,u=Math.abs,p=Math.pow,y=Math.floor,w=Math.log,x=Math.LN2;r.exports={pack:function(r,k,E){var I,K,J,oe=c(E),ie=8*E-k-1,ae=(1&lt;&lt;ie)-1,se=ae&gt;&gt;1,ue=23===k?p(2,-24)-p(2,-77):0,le=r&lt;0||0===r&amp;&amp;1/r&lt;0?1:0,pe=0;for((r=u(r))!=r||r===1/0?(K=r!=r?1:0,I=ae):(I=y(w(r)/x),r*(J=p(2,-I))&lt;1&amp;&amp;(I--,J*=2),(r+=I+se&gt;=1?ue/J:ue*p(2,1-se))*J&gt;=2&amp;&amp;(I++,J/=2),I+se&gt;=ae?(K=0,I=ae):I+se&gt;=1?(K=(r*J-1)*p(2,k),I+=se):(K=r*p(2,se-1)*p(2,k),I=0));k&gt;=8;)oe[pe++]=255&amp;K,K/=256,k-=8;for(I=I&lt;&lt;k|K,ie+=k;ie&gt;0;)oe[pe++]=255&amp;I,I/=256,ie-=8;return oe[--pe]|=128*le,oe},unpack:function(r,c){var u,y=r.length,w=8*y-c-1,x=(1&lt;&lt;w)-1,k=x&gt;&gt;1,E=w-7,I=y-1,K=r[I--],J=127&amp;K;for(K&gt;&gt;=7;E&gt;0;)J=256*J+r[I--],E-=8;for(u=J&amp;(1&lt;&lt;-E)-1,J&gt;&gt;=-E,E+=c;E&gt;0;)u=256*u+r[I--],E-=8;if(0===J)J=1-k;else{if(J===x)return u?NaN:K?-1/0:1/0;u+=p(2,c),J-=k}return(K?-1:1)*u*p(2,J-c)}}},68361:function(r,c,u){var p=u(1702),y=u(47293),w=u(84326),x=Object,k=p("".split);r.exports=y((function(){return!x("z").propertyIsEnumerable(0)}))?function(r){return"String"==w(r)?k(r,""):x(r)}:x},79587:function(r,c,u){var p=u(60614),y=u(70111),w=u(27674);r.exports=function(r,c,u){var x,k;return w&amp;&amp;p(x=c.constructor)&amp;&amp;x!==u&amp;&amp;y(k=x.prototype)&amp;&amp;k!==u.prototype&amp;&amp;w(r,k),r}},42788:function(r,c,u){var p=u(1702),y=u(60614),w=u(5465),x=p(Function.toString);y(w.inspectSource)||(w.inspectSource=function(r){return x(r)}),r.exports=w.inspectSource},62423:function(r,c,u){var p=u(82109),y=u(1702),w=u(3501),x=u(70111),k=u(92597),E=u(3070).f,I=u(8006),K=u(1156),J=u(52050),oe=u(69711),ie=u(76677),ae=!1,se=oe("meta"),ue=0,setMetadata=function(r){E(r,se,{value:{objectID:"O"+ue++,weakData:{}}})},le=r.exports={enable:function(){le.enable=function(){},ae=!0;var r=I.f,c=y([].splice),u={};u[se]=1,r(u).length&amp;&amp;(I.f=function(u){for(var p=r(u),y=0,w=p.length;y&lt;w;y++)if(p[y]===se){c(p,y,1);break}return p},p({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:K.f}))},fastKey:function(r,c){if(!x(r))return"symbol"==typeof r?r:("string"==typeof r?"S":"P")+r;if(!k(r,se)){if(!J(r))return"F";if(!c)return"E";setMetadata(r)}return r[se].objectID},getWeakData:function(r,c){if(!k(r,se)){if(!J(r))return!0;if(!c)return!1;setMetadata(r)}return r[se].weakData},onFreeze:function(r){return ie&amp;&amp;ae&amp;&amp;J(r)&amp;&amp;!k(r,se)&amp;&amp;setMetadata(r),r}};w[se]=!0},29909:function(r,c,u){var p,y,w,x=u(94811),k=u(17854),E=u(70111),I=u(68880),K=u(92597),J=u(5465),oe=u(6200),ie=u(3501),ae="Object already initialized",se=k.TypeError,ue=k.WeakMap;if(x||J.state){var le=J.state||(J.state=new ue);le.get=le.get,le.has=le.has,le.set=le.set,p=function(r,c){if(le.has(r))throw se(ae);return c.facade=r,le.set(r,c),c},y=function(r){return le.get(r)||{}},w=function(r){return le.has(r)}}else{var pe=oe("state");ie[pe]=!0,p=function(r,c){if(K(r,pe))throw se(ae);return c.facade=r,I(r,pe,c),c},y=function(r){return K(r,pe)?r[pe]:{}},w=function(r){return K(r,pe)}}r.exports={set:p,get:y,has:w,enforce:function(r){return w(r)?y(r):p(r,{})},getterFor:function(r){return function(c){var u;if(!E(c)||(u=y(c)).type!==r)throw se("Incompatible receiver, "+r+" required");return u}}}},97659:function(r,c,u){var p=u(5112),y=u(97497),w=p("iterator"),x=Array.prototype;r.exports=function(r){return void 0!==r&amp;&amp;(y.Array===r||x[w]===r)}},43157:function(r,c,u){var p=u(84326);r.exports=Array.isArray||function isArray(r){return"Array"==p(r)}},44067:function(r,c,u){var p=u(70648);r.exports=function(r){var c=p(r);return"BigInt64Array"==c||"BigUint64Array"==c}},60614:function(r,c,u){var p=u(4154),y=p.all;r.exports=p.IS_HTMLDDA?function(r){return"function"==typeof r||r===y}:function(r){return"function"==typeof r}},4411:function(r,c,u){var p=u(1702),y=u(47293),w=u(60614),x=u(70648),k=u(35005),E=u(42788),noop=function(){},I=[],K=k("Reflect","construct"),J=/^\s*(?:class|function)\b/,oe=p(J.exec),ie=!J.exec(noop),ae=function isConstructor(r){if(!w(r))return!1;try{return K(noop,I,r),!0}catch(r){return!1}},se=function isConstructor(r){if(!w(r))return!1;switch(x(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ie||!!oe(J,E(r))}catch(r){return!0}};se.sham=!0,r.exports=!K||y((function(){var r;return ae(ae.call)||!ae(Object)||!ae((function(){r=!0}))||r}))?se:ae},54705:function(r,c,u){var p=u(47293),y=u(60614),w=/#|\.prototype\./,isForced=function(r,c){var u=k[x(r)];return u==I||u!=E&amp;&amp;(y(c)?p(c):!!c)},x=isForced.normalize=function(r){return String(r).replace(w,".").toLowerCase()},k=isForced.data={},E=isForced.NATIVE="N",I=isForced.POLYFILL="P";r.exports=isForced},55988:function(r,c,u){var p=u(70111),y=Math.floor;r.exports=Number.isInteger||function isInteger(r){return!p(r)&amp;&amp;isFinite(r)&amp;&amp;y(r)===r}},68554:function(r){r.exports=function(r){return null==r}},70111:function(r,c,u){var p=u(60614),y=u(4154),w=y.all;r.exports=y.IS_HTMLDDA?function(r){return"object"==typeof r?null!==r:p(r)||r===w}:function(r){return"object"==typeof r?null!==r:p(r)}},31913:function(r){r.exports=!1},47850:function(r,c,u){var p=u(70111),y=u(84326),w=u(5112)("match");r.exports=function(r){var c;return p(r)&amp;&amp;(void 0!==(c=r[w])?!!c:"RegExp"==y(r))}},52190:function(r,c,u){var p=u(35005),y=u(60614),w=u(47976),x=u(43307),k=Object;r.exports=x?function(r){return"symbol"==typeof r}:function(r){var c=p("Symbol");return y(c)&amp;&amp;w(c.prototype,k(r))}},20408:function(r,c,u){var p=u(49974),y=u(46916),w=u(19670),x=u(66330),k=u(97659),E=u(26244),I=u(47976),K=u(18554),J=u(71246),oe=u(99212),ie=TypeError,Result=function(r,c){this.stopped=r,this.result=c},ae=Result.prototype;r.exports=function(r,c,u){var se,ue,le,pe,de,he,ge,ve=u&amp;&amp;u.that,we=!(!u||!u.AS_ENTRIES),Se=!(!u||!u.IS_RECORD),Oe=!(!u||!u.IS_ITERATOR),Pe=!(!u||!u.INTERRUPTED),Le=p(c,ve),stop=function(r){return se&amp;&amp;oe(se,"normal",r),new Result(!0,r)},callFn=function(r){return we?(w(r),Pe?Le(r[0],r[1],stop):Le(r[0],r[1])):Pe?Le(r,stop):Le(r)};if(Se)se=r.iterator;else if(Oe)se=r;else{if(!(ue=J(r)))throw ie(x(r)+" is not iterable");if(k(ue)){for(le=0,pe=E(r);pe&gt;le;le++)if((de=callFn(r[le]))&amp;&amp;I(ae,de))return de;return new Result(!1)}se=K(r,ue)}for(he=Se?r.next:se.next;!(ge=y(he,se)).done;){try{de=callFn(ge.value)}catch(r){oe(se,"throw",r)}if("object"==typeof de&amp;&amp;de&amp;&amp;I(ae,de))return de}return new Result(!1)}},99212:function(r,c,u){var p=u(46916),y=u(19670),w=u(58173);r.exports=function(r,c,u){var x,k;y(r);try{if(!(x=w(r,"return"))){if("throw"===c)throw u;return u}x=p(x,r)}catch(r){k=!0,x=r}if("throw"===c)throw u;if(k)throw x;return y(x),u}},63061:function(r,c,u){"use strict";var p=u(13383).IteratorPrototype,y=u(70030),w=u(79114),x=u(58003),k=u(97497),returnThis=function(){return this};r.exports=function(r,c,u,E){var I=c+" Iterator";return r.prototype=y(p,{next:w(+!E,u)}),x(r,I,!1,!0),k[I]=returnThis,r}},51656:function(r,c,u){"use strict";var p=u(82109),y=u(46916),w=u(31913),x=u(76530),k=u(60614),E=u(63061),I=u(79518),K=u(27674),J=u(58003),oe=u(68880),ie=u(98052),ae=u(5112),se=u(97497),ue=u(13383),le=x.PROPER,pe=x.CONFIGURABLE,de=ue.IteratorPrototype,he=ue.BUGGY_SAFARI_ITERATORS,ge=ae("iterator"),ve="keys",we="values",Se="entries",returnThis=function(){return this};r.exports=function(r,c,u,x,ae,ue,Oe){E(u,c,x);var Pe,Le,Ie,getIterationMethod=function(r){if(r===ae&amp;&amp;Ze)return Ze;if(!he&amp;&amp;r in Ue)return Ue[r];switch(r){case ve:return function keys(){return new u(this,r)};case we:return function values(){return new u(this,r)};case Se:return function entries(){return new u(this,r)}}return function(){return new u(this)}},je=c+" Iterator",De=!1,Ue=r.prototype,Fe=Ue[ge]||Ue["@@iterator"]||ae&amp;&amp;Ue[ae],Ze=!he&amp;&amp;Fe||getIterationMethod(ae),$e="Array"==c&amp;&amp;Ue.entries||Fe;if($e&amp;&amp;(Pe=I($e.call(new r)))!==Object.prototype&amp;&amp;Pe.next&amp;&amp;(w||I(Pe)===de||(K?K(Pe,de):k(Pe[ge])||ie(Pe,ge,returnThis)),J(Pe,je,!0,!0),w&amp;&amp;(se[je]=returnThis)),le&amp;&amp;ae==we&amp;&amp;Fe&amp;&amp;Fe.name!==we&amp;&amp;(!w&amp;&amp;pe?oe(Ue,"name",we):(De=!0,Ze=function values(){return y(Fe,this)})),ae)if(Le={values:getIterationMethod(we),keys:ue?Ze:getIterationMethod(ve),entries:getIterationMethod(Se)},Oe)for(Ie in Le)(he||De||!(Ie in Ue))&amp;&amp;ie(Ue,Ie,Le[Ie]);else p({target:c,proto:!0,forced:he||De},Le);return w&amp;&amp;!Oe||Ue[ge]===Ze||ie(Ue,ge,Ze,{name:ae}),se[c]=Ze,Le}},13383:function(r,c,u){"use strict";var p,y,w,x=u(47293),k=u(60614),E=u(70111),I=u(70030),K=u(79518),J=u(98052),oe=u(5112),ie=u(31913),ae=oe("iterator"),se=!1;[].keys&amp;&amp;("next"in(w=[].keys())?(y=K(K(w)))!==Object.prototype&amp;&amp;(p=y):se=!0),!E(p)||x((function(){var r={};return p[ae].call(r)!==r}))?p={}:ie&amp;&amp;(p=I(p)),k(p[ae])||J(p,ae,(function(){return this})),r.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:se}},97497:function(r){r.exports={}},26244:function(r,c,u){var p=u(17466);r.exports=function(r){return p(r.length)}},56339:function(r,c,u){var p=u(1702),y=u(47293),w=u(60614),x=u(92597),k=u(19781),E=u(76530).CONFIGURABLE,I=u(42788),K=u(29909),J=K.enforce,oe=K.get,ie=String,ae=Object.defineProperty,se=p("".slice),ue=p("".replace),le=p([].join),pe=k&amp;&amp;!y((function(){return 8!==ae((function(){}),"length",{value:8}).length})),de=String(String).split("String"),he=r.exports=function(r,c,u){"Symbol("===se(ie(c),0,7)&amp;&amp;(c="["+ue(ie(c),/^Symbol\(([^)]*)\)/,"$1")+"]"),u&amp;&amp;u.getter&amp;&amp;(c="get "+c),u&amp;&amp;u.setter&amp;&amp;(c="set "+c),(!x(r,"name")||E&amp;&amp;r.name!==c)&amp;&amp;(k?ae(r,"name",{value:c,configurable:!0}):r.name=c),pe&amp;&amp;u&amp;&amp;x(u,"arity")&amp;&amp;r.length!==u.arity&amp;&amp;ae(r,"length",{value:u.arity});try{u&amp;&amp;x(u,"constructor")&amp;&amp;u.constructor?k&amp;&amp;ae(r,"prototype",{writable:!1}):r.prototype&amp;&amp;(r.prototype=void 0)}catch(r){}var p=J(r);return x(p,"source")||(p.source=le(de,"string"==typeof c?c:"")),r};Function.prototype.toString=he((function toString(){return w(this)&amp;&amp;oe(this).source||I(this)}),"toString")},74758:function(r){var c=Math.ceil,u=Math.floor;r.exports=Math.trunc||function trunc(r){var p=+r;return(p&gt;0?u:c)(p)}},95948:function(r,c,u){var p,y,w,x,k,E=u(17854),I=u(49974),K=u(31236).f,J=u(20261).set,oe=u(18572),ie=u(6833),ae=u(71528),se=u(71036),ue=u(35268),le=E.MutationObserver||E.WebKitMutationObserver,pe=E.document,de=E.process,he=E.Promise,ge=K(E,"queueMicrotask"),ve=ge&amp;&amp;ge.value;if(!ve){var we=new oe,flush=function(){var r,c;for(ue&amp;&amp;(r=de.domain)&amp;&amp;r.exit();c=we.get();)try{c()}catch(r){throw we.head&amp;&amp;p(),r}r&amp;&amp;r.enter()};ie||ue||se||!le||!pe?!ae&amp;&amp;he&amp;&amp;he.resolve?((x=he.resolve(void 0)).constructor=he,k=I(x.then,x),p=function(){k(flush)}):ue?p=function(){de.nextTick(flush)}:(J=I(J,E),p=function(){J(flush)}):(y=!0,w=pe.createTextNode(""),new le(flush).observe(w,{characterData:!0}),p=function(){w.data=y=!y}),ve=function(r){we.head||p(),we.add(r)}}r.exports=ve},78523:function(r,c,u){"use strict";var p=u(19662),y=TypeError,PromiseCapability=function(r){var c,u;this.promise=new r((function(r,p){if(void 0!==c||void 0!==u)throw y("Bad Promise constructor");c=r,u=p})),this.resolve=p(c),this.reject=p(u)};r.exports.f=function(r){return new PromiseCapability(r)}},3929:function(r,c,u){var p=u(47850),y=TypeError;r.exports=function(r){if(p(r))throw y("The method doesn't accept regular expressions");return r}},21574:function(r,c,u){"use strict";var p=u(19781),y=u(1702),w=u(46916),x=u(47293),k=u(81956),E=u(25181),I=u(55296),K=u(47908),J=u(68361),oe=Object.assign,ie=Object.defineProperty,ae=y([].concat);r.exports=!oe||x((function(){if(p&amp;&amp;1!==oe({b:1},oe(ie({},"a",{enumerable:!0,get:function(){ie(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var r={},c={},u=Symbol(),y="abcdefghijklmnopqrst";return r[u]=7,y.split("").forEach((function(r){c[r]=r})),7!=oe({},r)[u]||k(oe({},c)).join("")!=y}))?function assign(r,c){for(var u=K(r),y=arguments.length,x=1,oe=E.f,ie=I.f;y&gt;x;)for(var se,ue=J(arguments[x++]),le=oe?ae(k(ue),oe(ue)):k(ue),pe=le.length,de=0;pe&gt;de;)se=le[de++],p&amp;&amp;!w(ie,ue,se)||(u[se]=ue[se]);return u}:oe},70030:function(r,c,u){var p,y=u(19670),w=u(36048),x=u(80748),k=u(3501),E=u(60490),I=u(80317),K=u(6200),J="prototype",oe="script",ie=K("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(r){return"&lt;"+oe+"&gt;"+r+"&lt;/"+oe+"&gt;"},NullProtoObjectViaActiveX=function(r){r.write(scriptTag("")),r.close();var c=r.parentWindow.Object;return r=null,c},NullProtoObject=function(){try{p=new ActiveXObject("htmlfile")}catch(r){}var r,c,u;NullProtoObject="undefined"!=typeof document?document.domain&amp;&amp;p?NullProtoObjectViaActiveX(p):(c=I("iframe"),u="java"+oe+":",c.style.display="none",E.appendChild(c),c.src=String(u),(r=c.contentWindow.document).open(),r.write(scriptTag("document.F=Object")),r.close(),r.F):NullProtoObjectViaActiveX(p);for(var y=x.length;y--;)delete NullProtoObject[J][x[y]];return NullProtoObject()};k[ie]=!0,r.exports=Object.create||function create(r,c){var u;return null!==r?(EmptyConstructor[J]=y(r),u=new EmptyConstructor,EmptyConstructor[J]=null,u[ie]=r):u=NullProtoObject(),void 0===c?u:w.f(u,c)}},36048:function(r,c,u){var p=u(19781),y=u(3353),w=u(3070),x=u(19670),k=u(45656),E=u(81956);c.f=p&amp;&amp;!y?Object.defineProperties:function defineProperties(r,c){x(r);for(var u,p=k(c),y=E(c),I=y.length,K=0;I&gt;K;)w.f(r,u=y[K++],p[u]);return r}},3070:function(r,c,u){var p=u(19781),y=u(64664),w=u(3353),x=u(19670),k=u(34948),E=TypeError,I=Object.defineProperty,K=Object.getOwnPropertyDescriptor,J="enumerable",oe="configurable",ie="writable";c.f=p?w?function defineProperty(r,c,u){if(x(r),c=k(c),x(u),"function"==typeof r&amp;&amp;"prototype"===c&amp;&amp;"value"in u&amp;&amp;ie in u&amp;&amp;!u[ie]){var p=K(r,c);p&amp;&amp;p[ie]&amp;&amp;(r[c]=u.value,u={configurable:oe in u?u[oe]:p[oe],enumerable:J in u?u[J]:p[J],writable:!1})}return I(r,c,u)}:I:function defineProperty(r,c,u){if(x(r),c=k(c),x(u),y)try{return I(r,c,u)}catch(r){}if("get"in u||"set"in u)throw E("Accessors not supported");return"value"in u&amp;&amp;(r[c]=u.value),r}},31236:function(r,c,u){var p=u(19781),y=u(46916),w=u(55296),x=u(79114),k=u(45656),E=u(34948),I=u(92597),K=u(64664),J=Object.getOwnPropertyDescriptor;c.f=p?J:function getOwnPropertyDescriptor(r,c){if(r=k(r),c=E(c),K)try{return J(r,c)}catch(r){}if(I(r,c))return x(!y(w.f,r,c),r[c])}},1156:function(r,c,u){var p=u(84326),y=u(45656),w=u(8006).f,x=u(41589),k="object"==typeof window&amp;&amp;window&amp;&amp;Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];r.exports.f=function getOwnPropertyNames(r){return k&amp;&amp;"Window"==p(r)?function(r){try{return w(r)}catch(r){return x(k)}}(r):w(y(r))}},8006:function(r,c,u){var p=u(16324),y=u(80748).concat("length","prototype");c.f=Object.getOwnPropertyNames||function getOwnPropertyNames(r){return p(r,y)}},25181:function(r,c){c.f=Object.getOwnPropertySymbols},79518:function(r,c,u){var p=u(92597),y=u(60614),w=u(47908),x=u(6200),k=u(49920),E=x("IE_PROTO"),I=Object,K=I.prototype;r.exports=k?I.getPrototypeOf:function(r){var c=w(r);if(p(c,E))return c[E];var u=c.constructor;return y(u)&amp;&amp;c instanceof u?u.prototype:c instanceof I?K:null}},52050:function(r,c,u){var p=u(47293),y=u(70111),w=u(84326),x=u(7556),k=Object.isExtensible,E=p((function(){k(1)}));r.exports=E||x?function isExtensible(r){return!!y(r)&amp;&amp;((!x||"ArrayBuffer"!=w(r))&amp;&amp;(!k||k(r)))}:k},47976:function(r,c,u){var p=u(1702);r.exports=p({}.isPrototypeOf)},16324:function(r,c,u){var p=u(1702),y=u(92597),w=u(45656),x=u(41318).indexOf,k=u(3501),E=p([].push);r.exports=function(r,c){var u,p=w(r),I=0,K=[];for(u in p)!y(k,u)&amp;&amp;y(p,u)&amp;&amp;E(K,u);for(;c.length&gt;I;)y(p,u=c[I++])&amp;&amp;(~x(K,u)||E(K,u));return K}},81956:function(r,c,u){var p=u(16324),y=u(80748);r.exports=Object.keys||function keys(r){return p(r,y)}},55296:function(r,c){"use strict";var u={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&amp;&amp;!u.call({1:2},1);c.f=y?function propertyIsEnumerable(r){var c=p(this,r);return!!c&amp;&amp;c.enumerable}:u},27674:function(r,c,u){var p=u(75668),y=u(19670),w=u(96077);r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var r,c=!1,u={};try{(r=p(Object.prototype,"__proto__","set"))(u,[]),c=u instanceof Array}catch(r){}return function setPrototypeOf(u,p){return y(u),w(p),c?r(u,p):u.__proto__=p,u}}():void 0)},44699:function(r,c,u){var p=u(19781),y=u(47293),w=u(1702),x=u(79518),k=u(81956),E=u(45656),I=w(u(55296).f),K=w([].push),J=p&amp;&amp;y((function(){var r=Object.create(null);return r[2]=2,!I(r,2)})),createMethod=function(r){return function(c){for(var u,y=E(c),w=k(y),oe=J&amp;&amp;null===x(y),ie=w.length,ae=0,se=[];ie&gt;ae;)u=w[ae++],p&amp;&amp;!(oe?u in y:I(y,u))||K(se,r?[u,y[u]]:y[u]);return se}};r.exports={entries:createMethod(!0),values:createMethod(!1)}},90288:function(r,c,u){"use strict";var p=u(51694),y=u(70648);r.exports=p?{}.toString:function toString(){return"[object "+y(this)+"]"}},92140:function(r,c,u){var p=u(46916),y=u(60614),w=u(70111),x=TypeError;r.exports=function(r,c){var u,k;if("string"===c&amp;&amp;y(u=r.toString)&amp;&amp;!w(k=p(u,r)))return k;if(y(u=r.valueOf)&amp;&amp;!w(k=p(u,r)))return k;if("string"!==c&amp;&amp;y(u=r.toString)&amp;&amp;!w(k=p(u,r)))return k;throw x("Can't convert object to primitive value")}},53887:function(r,c,u){var p=u(35005),y=u(1702),w=u(8006),x=u(25181),k=u(19670),E=y([].concat);r.exports=p("Reflect","ownKeys")||function ownKeys(r){var c=w.f(k(r)),u=x.f;return u?E(c,u(r)):c}},40857:function(r,c,u){var p=u(17854);r.exports=p},12534:function(r){r.exports=function(r){try{return{error:!1,value:r()}}catch(r){return{error:!0,value:r}}}},63702:function(r,c,u){var p=u(17854),y=u(2492),w=u(60614),x=u(54705),k=u(42788),E=u(5112),I=u(7871),K=u(83823),J=u(31913),oe=u(7392),ie=y&amp;&amp;y.prototype,ae=E("species"),se=!1,ue=w(p.PromiseRejectionEvent),le=x("Promise",(function(){var r=k(y),c=r!==String(y);if(!c&amp;&amp;66===oe)return!0;if(J&amp;&amp;(!ie.catch||!ie.finally))return!0;if(!oe||oe&lt;51||!/native code/.test(r)){var u=new y((function(r){r(1)})),FakePromise=function(r){r((function(){}),(function(){}))};if((u.constructor={})[ae]=FakePromise,!(se=u.then((function(){}))instanceof FakePromise))return!0}return!c&amp;&amp;(I||K)&amp;&amp;!ue}));r.exports={CONSTRUCTOR:le,REJECTION_EVENT:ue,SUBCLASSING:se}},2492:function(r,c,u){var p=u(17854);r.exports=p.Promise},69478:function(r,c,u){var p=u(19670),y=u(70111),w=u(78523);r.exports=function(r,c){if(p(r),y(c)&amp;&amp;c.constructor===r)return c;var u=w.f(r);return(0,u.resolve)(c),u.promise}},80612:function(r,c,u){var p=u(2492),y=u(17072),w=u(63702).CONSTRUCTOR;r.exports=w||!y((function(r){p.all(r).then(void 0,(function(){}))}))},2626:function(r,c,u){var p=u(3070).f;r.exports=function(r,c,u){u in r||p(r,u,{configurable:!0,get:function(){return c[u]},set:function(r){c[u]=r}})}},18572:function(r){var Queue=function(){this.head=null,this.tail=null};Queue.prototype={add:function(r){var c={item:r,next:null},u=this.tail;u?u.next=c:this.head=c,this.tail=c},get:function(){var r=this.head;if(r)return null===(this.head=r.next)&amp;&amp;(this.tail=null),r.item}},r.exports=Queue},97651:function(r,c,u){var p=u(46916),y=u(19670),w=u(60614),x=u(84326),k=u(22261),E=TypeError;r.exports=function(r,c){var u=r.exec;if(w(u)){var I=p(u,r,c);return null!==I&amp;&amp;y(I),I}if("RegExp"===x(r))return p(k,r,c);throw E("RegExp#exec called on incompatible receiver")}},22261:function(r,c,u){"use strict";var p,y,w=u(46916),x=u(1702),k=u(41340),E=u(67066),I=u(52999),K=u(72309),J=u(70030),oe=u(29909).get,ie=u(9441),ae=u(38173),se=K("native-string-replace",String.prototype.replace),ue=RegExp.prototype.exec,le=ue,pe=x("".charAt),de=x("".indexOf),he=x("".replace),ge=x("".slice),ve=(y=/b*/g,w(ue,p=/a/,"a"),w(ue,y,"a"),0!==p.lastIndex||0!==y.lastIndex),we=I.BROKEN_CARET,Se=void 0!==/()??/.exec("")[1];(ve||Se||we||ie||ae)&amp;&amp;(le=function exec(r){var c,u,p,y,x,I,K,ie=this,ae=oe(ie),Oe=k(r),Pe=ae.raw;if(Pe)return Pe.lastIndex=ie.lastIndex,c=w(le,Pe,Oe),ie.lastIndex=Pe.lastIndex,c;var Le=ae.groups,Ie=we&amp;&amp;ie.sticky,je=w(E,ie),De=ie.source,Ue=0,Fe=Oe;if(Ie&amp;&amp;(je=he(je,"y",""),-1===de(je,"g")&amp;&amp;(je+="g"),Fe=ge(Oe,ie.lastIndex),ie.lastIndex&gt;0&amp;&amp;(!ie.multiline||ie.multiline&amp;&amp;"\n"!==pe(Oe,ie.lastIndex-1))&amp;&amp;(De="(?: "+De+")",Fe=" "+Fe,Ue++),u=new RegExp("^(?:"+De+")",je)),Se&amp;&amp;(u=new RegExp("^"+De+"$(?!\\s)",je)),ve&amp;&amp;(p=ie.lastIndex),y=w(ue,Ie?u:ie,Fe),Ie?y?(y.input=ge(y.input,Ue),y[0]=ge(y[0],Ue),y.index=ie.lastIndex,ie.lastIndex+=y[0].length):ie.lastIndex=0:ve&amp;&amp;y&amp;&amp;(ie.lastIndex=ie.global?y.index+y[0].length:p),Se&amp;&amp;y&amp;&amp;y.length&gt;1&amp;&amp;w(se,y[0],u,(function(){for(x=1;x&lt;arguments.length-2;x++)void 0===arguments[x]&amp;&amp;(y[x]=void 0)})),y&amp;&amp;Le)for(y.groups=I=J(null),x=0;x&lt;Le.length;x++)I[(K=Le[x])[0]]=y[K[1]];return y}),r.exports=le},67066:function(r,c,u){"use strict";var p=u(19670);r.exports=function(){var r=p(this),c="";return r.hasIndices&amp;&amp;(c+="d"),r.global&amp;&amp;(c+="g"),r.ignoreCase&amp;&amp;(c+="i"),r.multiline&amp;&amp;(c+="m"),r.dotAll&amp;&amp;(c+="s"),r.unicode&amp;&amp;(c+="u"),r.unicodeSets&amp;&amp;(c+="v"),r.sticky&amp;&amp;(c+="y"),c}},34706:function(r,c,u){var p=u(46916),y=u(92597),w=u(47976),x=u(67066),k=RegExp.prototype;r.exports=function(r){var c=r.flags;return void 0!==c||"flags"in k||y(r,"flags")||!w(k,r)?c:p(x,r)}},52999:function(r,c,u){var p=u(47293),y=u(17854).RegExp,w=p((function(){var r=y("a","y");return r.lastIndex=2,null!=r.exec("abcd")})),x=w||p((function(){return!y("a","y").sticky})),k=w||p((function(){var r=y("^r","gy");return r.lastIndex=2,null!=r.exec("str")}));r.exports={BROKEN_CARET:k,MISSED_STICKY:x,UNSUPPORTED_Y:w}},9441:function(r,c,u){var p=u(47293),y=u(17854).RegExp;r.exports=p((function(){var r=y(".","s");return!(r.dotAll&amp;&amp;r.exec("\n")&amp;&amp;"s"===r.flags)}))},38173:function(r,c,u){var p=u(47293),y=u(17854).RegExp;r.exports=p((function(){var r=y("(?&lt;a&gt;b)","g");return"b"!==r.exec("b").groups.a||"bc"!=="b".replace(r,"$&lt;a&gt;c")}))},84488:function(r,c,u){var p=u(68554),y=TypeError;r.exports=function(r){if(p(r))throw y("Can't call method on "+r);return r}},81150:function(r){r.exports=Object.is||function is(r,c){return r===c?0!==r||1/r==1/c:r!=r&amp;&amp;c!=c}},96340:function(r,c,u){"use strict";var p=u(35005),y=u(47045),w=u(5112),x=u(19781),k=w("species");r.exports=function(r){var c=p(r);x&amp;&amp;c&amp;&amp;!c[k]&amp;&amp;y(c,k,{configurable:!0,get:function(){return this}})}},58003:function(r,c,u){var p=u(3070).f,y=u(92597),w=u(5112)("toStringTag");r.exports=function(r,c,u){r&amp;&amp;!u&amp;&amp;(r=r.prototype),r&amp;&amp;!y(r,w)&amp;&amp;p(r,w,{configurable:!0,value:c})}},6200:function(r,c,u){var p=u(72309),y=u(69711),w=p("keys");r.exports=function(r){return w[r]||(w[r]=y(r))}},5465:function(r,c,u){var p=u(17854),y=u(13072),w="__core-js_shared__",x=p[w]||y(w,{});r.exports=x},72309:function(r,c,u){var p=u(31913),y=u(5465);(r.exports=function(r,c){return y[r]||(y[r]=void 0!==c?c:{})})("versions",[]).push({version:"3.31.0",mode:p?"pure":"global",copyright:"Â© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"})},36707:function(r,c,u){var p=u(19670),y=u(39483),w=u(68554),x=u(5112)("species");r.exports=function(r,c){var u,k=p(r).constructor;return void 0===k||w(u=p(k)[x])?c:y(u)}},43429:function(r,c,u){var p=u(47293);r.exports=function(r){return p((function(){var c=""[r]('"');return c!==c.toLowerCase()||c.split('"').length&gt;3}))}},28710:function(r,c,u){var p=u(1702),y=u(19303),w=u(41340),x=u(84488),k=p("".charAt),E=p("".charCodeAt),I=p("".slice),createMethod=function(r){return function(c,u){var p,K,J=w(x(c)),oe=y(u),ie=J.length;return oe&lt;0||oe&gt;=ie?r?"":void 0:(p=E(J,oe))&lt;55296||p&gt;56319||oe+1===ie||(K=E(J,oe+1))&lt;56320||K&gt;57343?r?k(J,oe):p:r?I(J,oe,oe+2):K-56320+(p-55296&lt;&lt;10)+65536}};r.exports={codeAt:createMethod(!1),charAt:createMethod(!0)}},54986:function(r,c,u){var p=u(88113);r.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(p)},76650:function(r,c,u){var p=u(1702),y=u(17466),w=u(41340),x=u(38415),k=u(84488),E=p(x),I=p("".slice),K=Math.ceil,createMethod=function(r){return function(c,u,p){var x,J,oe=w(k(c)),ie=y(u),ae=oe.length,se=void 0===p?" ":w(p);return ie&lt;=ae||""==se?oe:((J=E(se,K((x=ie-ae)/se.length))).length&gt;x&amp;&amp;(J=I(J,0,x)),r?oe+J:J+oe)}};r.exports={start:createMethod(!1),end:createMethod(!0)}},33197:function(r,c,u){var p=u(1702),y=2147483647,w=/[^\0-\u007E]/,x=/[.\u3002\uFF0E\uFF61]/g,k="Overflow: input needs wider integers to process",E=RangeError,I=p(x.exec),K=Math.floor,J=String.fromCharCode,oe=p("".charCodeAt),ie=p([].join),ae=p([].push),se=p("".replace),ue=p("".split),le=p("".toLowerCase),digitToBasic=function(r){return r+22+75*(r&lt;26)},adapt=function(r,c,u){var p=0;for(r=u?K(r/700):r&gt;&gt;1,r+=K(r/c);r&gt;455;)r=K(r/35),p+=36;return K(p+36*r/(r+38))},encode=function(r){var c=[];r=function(r){for(var c=[],u=0,p=r.length;u&lt;p;){var y=oe(r,u++);if(y&gt;=55296&amp;&amp;y&lt;=56319&amp;&amp;u&lt;p){var w=oe(r,u++);56320==(64512&amp;w)?ae(c,((1023&amp;y)&lt;&lt;10)+(1023&amp;w)+65536):(ae(c,y),u--)}else ae(c,y)}return c}(r);var u,p,w=r.length,x=128,I=0,se=72;for(u=0;u&lt;r.length;u++)(p=r[u])&lt;128&amp;&amp;ae(c,J(p));var ue=c.length,le=ue;for(ue&amp;&amp;ae(c,"-");le&lt;w;){var pe=y;for(u=0;u&lt;r.length;u++)(p=r[u])&gt;=x&amp;&amp;p&lt;pe&amp;&amp;(pe=p);var de=le+1;if(pe-x&gt;K((y-I)/de))throw E(k);for(I+=(pe-x)*de,x=pe,u=0;u&lt;r.length;u++){if((p=r[u])&lt;x&amp;&amp;++I&gt;y)throw E(k);if(p==x){for(var he=I,ge=36;;){var ve=ge&lt;=se?1:ge&gt;=se+26?26:ge-se;if(he&lt;ve)break;var we=he-ve,Se=36-ve;ae(c,J(digitToBasic(ve+we%Se))),he=K(we/Se),ge+=36}ae(c,J(digitToBasic(he))),se=adapt(I,de,le==ue),I=0,le++}}I++,x++}return ie(c,"")};r.exports=function(r){var c,u,p=[],y=ue(se(le(r),x,"."),".");for(c=0;c&lt;y.length;c++)u=y[c],ae(p,I(w,u)?"xn--"+encode(u):u);return ie(p,".")}},38415:function(r,c,u){"use strict";var p=u(19303),y=u(41340),w=u(84488),x=RangeError;r.exports=function repeat(r){var c=y(w(this)),u="",k=p(r);if(k&lt;0||k==1/0)throw x("Wrong number of repetitions");for(;k&gt;0;(k&gt;&gt;&gt;=1)&amp;&amp;(c+=c))1&amp;k&amp;&amp;(u+=c);return u}},76091:function(r,c,u){var p=u(76530).PROPER,y=u(47293),w=u(81361);r.exports=function(r){return y((function(){return!!w[r]()||"â€‹Â…á&nbsp;Ž"!=="â€‹Â…á&nbsp;Ž"[r]()||p&amp;&amp;w[r].name!==r}))}},53111:function(r,c,u){var p=u(1702),y=u(84488),w=u(41340),x=u(81361),k=p("".replace),E=RegExp("^["+x+"]+"),I=RegExp("(^|[^"+x+"])["+x+"]+$"),createMethod=function(r){return function(c){var u=w(y(c));return 1&amp;r&amp;&amp;(u=k(u,E,"")),2&amp;r&amp;&amp;(u=k(u,I,"$1")),u}};r.exports={start:createMethod(1),end:createMethod(2),trim:createMethod(3)}},36293:function(r,c,u){var p=u(7392),y=u(47293),w=u(17854).String;r.exports=!!Object.getOwnPropertySymbols&amp;&amp;!y((function(){var r=Symbol();return!w(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&amp;&amp;p&amp;&amp;p&lt;41}))},56532:function(r,c,u){var p=u(46916),y=u(35005),w=u(5112),x=u(98052);r.exports=function(){var r=y("Symbol"),c=r&amp;&amp;r.prototype,u=c&amp;&amp;c.valueOf,k=w("toPrimitive");c&amp;&amp;!c[k]&amp;&amp;x(c,k,(function(r){return p(u,this)}),{arity:1})}},2015:function(r,c,u){var p=u(36293);r.exports=p&amp;&amp;!!Symbol.for&amp;&amp;!!Symbol.keyFor},20261:function(r,c,u){var p,y,w,x,k=u(17854),E=u(22104),I=u(49974),K=u(60614),J=u(92597),oe=u(47293),ie=u(60490),ae=u(50206),se=u(80317),ue=u(48053),le=u(6833),pe=u(35268),de=k.setImmediate,he=k.clearImmediate,ge=k.process,ve=k.Dispatch,we=k.Function,Se=k.MessageChannel,Oe=k.String,Pe=0,Le={},Ie="onreadystatechange";oe((function(){p=k.location}));var run=function(r){if(J(Le,r)){var c=Le[r];delete Le[r],c()}},runner=function(r){return function(){run(r)}},eventListener=function(r){run(r.data)},globalPostMessageDefer=function(r){k.postMessage(Oe(r),p.protocol+"//"+p.host)};de&amp;&amp;he||(de=function setImmediate(r){ue(arguments.length,1);var c=K(r)?r:we(r),u=ae(arguments,1);return Le[++Pe]=function(){E(c,void 0,u)},y(Pe),Pe},he=function clearImmediate(r){delete Le[r]},pe?y=function(r){ge.nextTick(runner(r))}:ve&amp;&amp;ve.now?y=function(r){ve.now(runner(r))}:Se&amp;&amp;!le?(x=(w=new Se).port2,w.port1.onmessage=eventListener,y=I(x.postMessage,x)):k.addEventListener&amp;&amp;K(k.postMessage)&amp;&amp;!k.importScripts&amp;&amp;p&amp;&amp;"file:"!==p.protocol&amp;&amp;!oe(globalPostMessageDefer)?(y=globalPostMessageDefer,k.addEventListener("message",eventListener,!1)):y=Ie in se("script")?function(r){ie.appendChild(se("script"))[Ie]=function(){ie.removeChild(this),run(r)}}:function(r){setTimeout(runner(r),0)}),r.exports={set:de,clear:he}},50863:function(r,c,u){var p=u(1702);r.exports=p(1..valueOf)},51400:function(r,c,u){var p=u(19303),y=Math.max,w=Math.min;r.exports=function(r,c){var u=p(r);return u&lt;0?y(u+c,0):w(u,c)}},64599:function(r,c,u){var p=u(57593),y=TypeError;r.exports=function(r){var c=p(r,"number");if("number"==typeof c)throw y("Can't convert number to bigint");return BigInt(c)}},57067:function(r,c,u){var p=u(19303),y=u(17466),w=RangeError;r.exports=function(r){if(void 0===r)return 0;var c=p(r),u=y(c);if(c!==u)throw w("Wrong length or index");return u}},45656:function(r,c,u){var p=u(68361),y=u(84488);r.exports=function(r){return p(y(r))}},19303:function(r,c,u){var p=u(74758);r.exports=function(r){var c=+r;return c!=c||0===c?0:p(c)}},17466:function(r,c,u){var p=u(19303),y=Math.min;r.exports=function(r){return r&gt;0?y(p(r),9007199254740991):0}},47908:function(r,c,u){var p=u(84488),y=Object;r.exports=function(r){return y(p(r))}},84590:function(r,c,u){var p=u(73002),y=RangeError;r.exports=function(r,c){var u=p(r);if(u%c)throw y("Wrong offset");return u}},73002:function(r,c,u){var p=u(19303),y=RangeError;r.exports=function(r){var c=p(r);if(c&lt;0)throw y("The argument can't be less than 0");return c}},57593:function(r,c,u){var p=u(46916),y=u(70111),w=u(52190),x=u(58173),k=u(92140),E=u(5112),I=TypeError,K=E("toPrimitive");r.exports=function(r,c){if(!y(r)||w(r))return r;var u,E=x(r,K);if(E){if(void 0===c&amp;&amp;(c="default"),u=p(E,r,c),!y(u)||w(u))return u;throw I("Can't convert object to primitive value")}return void 0===c&amp;&amp;(c="number"),k(r,c)}},34948:function(r,c,u){var p=u(57593),y=u(52190);r.exports=function(r){var c=p(r,"string");return y(c)?c:c+""}},51694:function(r,c,u){var p={};p[u(5112)("toStringTag")]="z",r.exports="[object z]"===String(p)},41340:function(r,c,u){var p=u(70648),y=String;r.exports=function(r){if("Symbol"===p(r))throw TypeError("Cannot convert a Symbol value to a string");return y(r)}},66330:function(r){var c=String;r.exports=function(r){try{return c(r)}catch(r){return"Object"}}},19843:function(r,c,u){"use strict";var p=u(82109),y=u(17854),w=u(46916),x=u(19781),k=u(63832),E=u(90260),I=u(13331),K=u(25787),J=u(79114),oe=u(68880),ie=u(55988),ae=u(17466),se=u(57067),ue=u(84590),le=u(34948),pe=u(92597),de=u(70648),he=u(70111),ge=u(52190),ve=u(70030),we=u(47976),Se=u(27674),Oe=u(8006).f,Pe=u(97321),Le=u(42092).forEach,Ie=u(96340),je=u(47045),De=u(3070),Ue=u(31236),Fe=u(29909),Ze=u(79587),$e=Fe.get,Ge=Fe.set,We=Fe.enforce,Ke=De.f,Je=Ue.f,Ye=Math.round,Xe=y.RangeError,Qe=I.ArrayBuffer,et=Qe.prototype,rt=I.DataView,nt=E.NATIVE_ARRAY_BUFFER_VIEWS,ot=E.TYPED_ARRAY_TAG,it=E.TypedArray,st=E.TypedArrayPrototype,ct=E.aTypedArrayConstructor,ut=E.isTypedArray,lt="BYTES_PER_ELEMENT",pt="Wrong length",fromList=function(r,c){ct(r);for(var u=0,p=c.length,y=new r(p);p&gt;u;)y[u]=c[u++];return y},addGetter=function(r,c){je(r,c,{configurable:!0,get:function(){return $e(this)[c]}})},isArrayBuffer=function(r){var c;return we(et,r)||"ArrayBuffer"==(c=de(r))||"SharedArrayBuffer"==c},isTypedArrayIndex=function(r,c){return ut(r)&amp;&amp;!ge(c)&amp;&amp;c in r&amp;&amp;ie(+c)&amp;&amp;c&gt;=0},dt=function getOwnPropertyDescriptor(r,c){return c=le(c),isTypedArrayIndex(r,c)?J(2,r[c]):Je(r,c)},ft=function defineProperty(r,c,u){return c=le(c),!(isTypedArrayIndex(r,c)&amp;&amp;he(u)&amp;&amp;pe(u,"value"))||pe(u,"get")||pe(u,"set")||u.configurable||pe(u,"writable")&amp;&amp;!u.writable||pe(u,"enumerable")&amp;&amp;!u.enumerable?Ke(r,c,u):(r[c]=u.value,r)};x?(nt||(Ue.f=dt,De.f=ft,addGetter(st,"buffer"),addGetter(st,"byteOffset"),addGetter(st,"byteLength"),addGetter(st,"length")),p({target:"Object",stat:!0,forced:!nt},{getOwnPropertyDescriptor:dt,defineProperty:ft}),r.exports=function(r,c,u){var x=r.match(/\d+/)[0]/8,E=r+(u?"Clamped":"")+"Array",I="get"+r,J="set"+r,ie=y[E],le=ie,pe=le&amp;&amp;le.prototype,de={},addElement=function(r,c){Ke(r,c,{get:function(){return function(r,c){var u=$e(r);return u.view[I](c*x+u.byteOffset,!0)}(this,c)},set:function(r){return function(r,c,p){var y=$e(r);u&amp;&amp;(p=(p=Ye(p))&lt;0?0:p&gt;255?255:255&amp;p),y.view[J](c*x+y.byteOffset,p,!0)}(this,c,r)},enumerable:!0})};nt?k&amp;&amp;(le=c((function(r,c,u,p){return K(r,pe),Ze(he(c)?isArrayBuffer(c)?void 0!==p?new ie(c,ue(u,x),p):void 0!==u?new ie(c,ue(u,x)):new ie(c):ut(c)?fromList(le,c):w(Pe,le,c):new ie(se(c)),r,le)})),Se&amp;&amp;Se(le,it),Le(Oe(ie),(function(r){r in le||oe(le,r,ie[r])})),le.prototype=pe):(le=c((function(r,c,u,p){K(r,pe);var y,k,E,I=0,J=0;if(he(c)){if(!isArrayBuffer(c))return ut(c)?fromList(le,c):w(Pe,le,c);y=c,J=ue(u,x);var oe=c.byteLength;if(void 0===p){if(oe%x)throw Xe(pt);if((k=oe-J)&lt;0)throw Xe(pt)}else if((k=ae(p)*x)+J&gt;oe)throw Xe(pt);E=k/x}else E=se(c),y=new Qe(k=E*x);for(Ge(r,{buffer:y,byteOffset:J,byteLength:k,length:E,view:new rt(y)});I&lt;E;)addElement(r,I++)})),Se&amp;&amp;Se(le,it),pe=le.prototype=ve(st)),pe.constructor!==le&amp;&amp;oe(pe,"constructor",le),We(pe).TypedArrayConstructor=le,ot&amp;&amp;oe(pe,ot,E);var ge=le!=ie;de[E]=le,p({global:!0,constructor:!0,forced:ge,sham:!nt},de),lt in le||oe(le,lt,x),lt in pe||oe(pe,lt,x),Ie(E)}):r.exports=function(){}},63832:function(r,c,u){var p=u(17854),y=u(47293),w=u(17072),x=u(90260).NATIVE_ARRAY_BUFFER_VIEWS,k=p.ArrayBuffer,E=p.Int8Array;r.exports=!x||!y((function(){E(1)}))||!y((function(){new E(-1)}))||!w((function(r){new E,new E(null),new E(1.5),new E(r)}),!0)||y((function(){return 1!==new E(new k(2),1,void 0).length}))},43074:function(r,c,u){var p=u(97745),y=u(66304);r.exports=function(r,c){return p(y(r),c)}},97321:function(r,c,u){var p=u(49974),y=u(46916),w=u(39483),x=u(47908),k=u(26244),E=u(18554),I=u(71246),K=u(97659),J=u(44067),oe=u(90260).aTypedArrayConstructor,ie=u(64599);r.exports=function from(r){var c,u,ae,se,ue,le,pe,de,he=w(this),ge=x(r),ve=arguments.length,we=ve&gt;1?arguments[1]:void 0,Se=void 0!==we,Oe=I(ge);if(Oe&amp;&amp;!K(Oe))for(de=(pe=E(ge,Oe)).next,ge=[];!(le=y(de,pe)).done;)ge.push(le.value);for(Se&amp;&amp;ve&gt;2&amp;&amp;(we=p(we,arguments[2])),u=k(ge),ae=new(oe(he))(u),se=J(ae),c=0;u&gt;c;c++)ue=Se?we(ge[c],c):ge[c],ae[c]=se?ie(ue):+ue;return ae}},66304:function(r,c,u){var p=u(90260),y=u(36707),w=p.aTypedArrayConstructor,x=p.getTypedArrayConstructor;r.exports=function(r){return w(y(r,x(r)))}},69711:function(r,c,u){var p=u(1702),y=0,w=Math.random(),x=p(1..toString);r.exports=function(r){return"Symbol("+(void 0===r?"":r)+")_"+x(++y+w,36)}},85143:function(r,c,u){var p=u(47293),y=u(5112),w=u(19781),x=u(31913),k=y("iterator");r.exports=!p((function(){var r=new URL("b?a=1&amp;b=2&amp;c=3","http://a"),c=r.searchParams,u=new URLSearchParams("a=1&amp;a=2"),p="";return r.pathname="c%20d",c.forEach((function(r,u){c.delete("b"),p+=u+r})),u.delete("a",2),x&amp;&amp;(!r.toJSON||!u.has("a",1)||u.has("a",2))||!c.size&amp;&amp;(x||!w)||!c.sort||"http://a/c%20d?a=1&amp;c=3"!==r.href||"3"!==c.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!c[k]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://Ñ‚ÐµÑÑ‚").host||"#%D0%B1"!==new URL("http://a#Ð±").hash||"a1c3"!==p||"x"!==new URL("http://x",void 0).host}))},43307:function(r,c,u){var p=u(36293);r.exports=p&amp;&amp;!Symbol.sham&amp;&amp;"symbol"==typeof Symbol.iterator},3353:function(r,c,u){var p=u(19781),y=u(47293);r.exports=p&amp;&amp;y((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},48053:function(r){var c=TypeError;r.exports=function(r,u){if(r&lt;u)throw c("Not enough arguments");return r}},94811:function(r,c,u){var p=u(17854),y=u(60614),w=p.WeakMap;r.exports=y(w)&amp;&amp;/native code/.test(String(w))},26800:function(r,c,u){var p=u(40857),y=u(92597),w=u(6061),x=u(3070).f;r.exports=function(r){var c=p.Symbol||(p.Symbol={});y(c,r)||x(c,r,{value:w.f(r)})}},6061:function(r,c,u){var p=u(5112);c.f=p},5112:function(r,c,u){var p=u(17854),y=u(72309),w=u(92597),x=u(69711),k=u(36293),E=u(43307),I=p.Symbol,K=y("wks"),J=E?I.for||I:I&amp;&amp;I.withoutSetter||x;r.exports=function(r){return w(K,r)||(K[r]=k&amp;&amp;w(I,r)?I[r]:J("Symbol."+r)),K[r]}},81361:function(r){r.exports="\t\n\v\f\r Â&nbsp;áš€â€€â€â€‚â€ƒâ€„â€…â€†â€‡â€ˆâ€‰â€Šâ€¯âŸã€€\u2028\u2029\ufeff"},18264:function(r,c,u){"use strict";var p=u(82109),y=u(17854),w=u(13331),x=u(96340),k="ArrayBuffer",E=w[k];p({global:!0,constructor:!0,forced:y[k]!==E},{ArrayBuffer:E}),x(k)},92222:function(r,c,u){"use strict";var p=u(82109),y=u(47293),w=u(43157),x=u(70111),k=u(47908),E=u(26244),I=u(7207),K=u(86135),J=u(65417),oe=u(81194),ie=u(5112),ae=u(7392),se=ie("isConcatSpreadable"),ue=ae&gt;=51||!y((function(){var r=[];return r[se]=!1,r.concat()[0]!==r})),isConcatSpreadable=function(r){if(!x(r))return!1;var c=r[se];return void 0!==c?!!c:w(r)};p({target:"Array",proto:!0,arity:1,forced:!ue||!oe("concat")},{concat:function concat(r){var c,u,p,y,w,x=k(this),oe=J(x,0),ie=0;for(c=-1,p=arguments.length;c&lt;p;c++)if(isConcatSpreadable(w=-1===c?x:arguments[c]))for(y=E(w),I(ie+y),u=0;u&lt;y;u++,ie++)u in w&amp;&amp;K(oe,ie,w[u]);else I(ie+1),K(oe,ie++,w);return oe.length=ie,oe}})},57327:function(r,c,u){"use strict";var p=u(82109),y=u(42092).filter;p({target:"Array",proto:!0,forced:!u(81194)("filter")},{filter:function filter(r){return y(this,r,arguments.length&gt;1?arguments[1]:void 0)}})},69826:function(r,c,u){"use strict";var p=u(82109),y=u(42092).find,w=u(51223),x="find",k=!0;x in[]&amp;&amp;Array(1)[x]((function(){k=!1})),p({target:"Array",proto:!0,forced:k},{find:function find(r){return y(this,r,arguments.length&gt;1?arguments[1]:void 0)}}),w(x)},91038:function(r,c,u){var p=u(82109),y=u(48457);p({target:"Array",stat:!0,forced:!u(17072)((function(r){Array.from(r)}))},{from:y})},26699:function(r,c,u){"use strict";var p=u(82109),y=u(41318).includes,w=u(47293),x=u(51223);p({target:"Array",proto:!0,forced:w((function(){return!Array(1).includes()}))},{includes:function includes(r){return y(this,r,arguments.length&gt;1?arguments[1]:void 0)}}),x("includes")},66992:function(r,c,u){"use strict";var p=u(45656),y=u(51223),w=u(97497),x=u(29909),k=u(3070).f,E=u(51656),I=u(76178),K=u(31913),J=u(19781),oe="Array Iterator",ie=x.set,ae=x.getterFor(oe);r.exports=E(Array,"Array",(function(r,c){ie(this,{type:oe,target:p(r),index:0,kind:c})}),(function(){var r=ae(this),c=r.target,u=r.kind,p=r.index++;return!c||p&gt;=c.length?(r.target=void 0,I(void 0,!0)):I("keys"==u?p:"values"==u?c[p]:[p,c[p]],!1)}),"values");var se=w.Arguments=w.Array;if(y("keys"),y("values"),y("entries"),!K&amp;&amp;J&amp;&amp;"values"!==se.name)try{k(se,"name",{value:"values"})}catch(r){}},69600:function(r,c,u){"use strict";var p=u(82109),y=u(1702),w=u(68361),x=u(45656),k=u(9341),E=y([].join);p({target:"Array",proto:!0,forced:w!=Object||!k("join",",")},{join:function join(r){return E(x(this),void 0===r?",":r)}})},21249:function(r,c,u){"use strict";var p=u(82109),y=u(42092).map;p({target:"Array",proto:!0,forced:!u(81194)("map")},{map:function map(r){return y(this,r,arguments.length&gt;1?arguments[1]:void 0)}})},47042:function(r,c,u){"use strict";var p=u(82109),y=u(43157),w=u(4411),x=u(70111),k=u(51400),E=u(26244),I=u(45656),K=u(86135),J=u(5112),oe=u(81194),ie=u(50206),ae=oe("slice"),se=J("species"),ue=Array,le=Math.max;p({target:"Array",proto:!0,forced:!ae},{slice:function slice(r,c){var u,p,J,oe=I(this),ae=E(oe),pe=k(r,ae),de=k(void 0===c?ae:c,ae);if(y(oe)&amp;&amp;(u=oe.constructor,(w(u)&amp;&amp;(u===ue||y(u.prototype))||x(u)&amp;&amp;null===(u=u[se]))&amp;&amp;(u=void 0),u===ue||void 0===u))return ie(oe,pe,de);for(p=new(void 0===u?ue:u)(le(de-pe,0)),J=0;pe&lt;de;pe++,J++)pe in oe&amp;&amp;K(p,J,oe[pe]);return p.length=J,p}})},2707:function(r,c,u){"use strict";var p=u(82109),y=u(1702),w=u(19662),x=u(47908),k=u(26244),E=u(85117),I=u(41340),K=u(47293),J=u(94362),oe=u(9341),ie=u(68886),ae=u(30256),se=u(7392),ue=u(98008),le=[],pe=y(le.sort),de=y(le.push),he=K((function(){le.sort(void 0)})),ge=K((function(){le.sort(null)})),ve=oe("sort"),we=!K((function(){if(se)return se&lt;70;if(!(ie&amp;&amp;ie&gt;3)){if(ae)return!0;if(ue)return ue&lt;603;var r,c,u,p,y="";for(r=65;r&lt;76;r++){switch(c=String.fromCharCode(r),r){case 66:case 69:case 70:case 72:u=3;break;case 68:case 71:u=4;break;default:u=2}for(p=0;p&lt;47;p++)le.push({k:c+p,v:u})}for(le.sort((function(r,c){return c.v-r.v})),p=0;p&lt;le.length;p++)c=le[p].k.charAt(0),y.charAt(y.length-1)!==c&amp;&amp;(y+=c);return"DGBEFHACIJK"!==y}}));p({target:"Array",proto:!0,forced:he||!ge||!ve||!we},{sort:function sort(r){void 0!==r&amp;&amp;w(r);var c=x(this);if(we)return void 0===r?pe(c):pe(c,r);var u,p,y=[],K=k(c);for(p=0;p&lt;K;p++)p in c&amp;&amp;de(y,c[p]);for(J(y,function(r){return function(c,u){return void 0===u?-1:void 0===c?1:void 0!==r?+r(c,u)||0:I(c)&gt;I(u)?1:-1}}(r)),u=k(y),p=0;p&lt;u;)c[p]=y[p++];for(;p&lt;K;)E(c,p++);return c}})},40561:function(r,c,u){"use strict";var p=u(82109),y=u(47908),w=u(51400),x=u(19303),k=u(26244),E=u(83658),I=u(7207),K=u(65417),J=u(86135),oe=u(85117),ie=u(81194)("splice"),ae=Math.max,se=Math.min;p({target:"Array",proto:!0,forced:!ie},{splice:function splice(r,c){var u,p,ie,ue,le,pe,de=y(this),he=k(de),ge=w(r,he),ve=arguments.length;for(0===ve?u=p=0:1===ve?(u=0,p=he-ge):(u=ve-2,p=se(ae(x(c),0),he-ge)),I(he+u-p),ie=K(de,p),ue=0;ue&lt;p;ue++)(le=ge+ue)in de&amp;&amp;J(ie,ue,de[le]);if(ie.length=p,u&lt;p){for(ue=ge;ue&lt;he-p;ue++)pe=ue+u,(le=ue+p)in de?de[pe]=de[le]:oe(de,pe);for(ue=he;ue&gt;he-p+u;ue--)oe(de,ue-1)}else if(u&gt;p)for(ue=he-p;ue&gt;ge;ue--)pe=ue+u-1,(le=ue+p-1)in de?de[pe]=de[le]:oe(de,pe);for(ue=0;ue&lt;u;ue++)de[ue+ge]=arguments[ue+2];return E(de,he-p+u),ie}})},68309:function(r,c,u){var p=u(19781),y=u(76530).EXISTS,w=u(1702),x=u(47045),k=Function.prototype,E=w(k.toString),I=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,K=w(I.exec);p&amp;&amp;!y&amp;&amp;x(k,"name",{configurable:!0,get:function(){try{return K(I,E(this))[1]}catch(r){return""}}})},38862:function(r,c,u){var p=u(82109),y=u(35005),w=u(22104),x=u(46916),k=u(1702),E=u(47293),I=u(60614),K=u(52190),J=u(50206),oe=u(88044),ie=u(36293),ae=String,se=y("JSON","stringify"),ue=k(/./.exec),le=k("".charAt),pe=k("".charCodeAt),de=k("".replace),he=k(1..toString),ge=/[\uD800-\uDFFF]/g,ve=/^[\uD800-\uDBFF]$/,we=/^[\uDC00-\uDFFF]$/,Se=!ie||E((function(){var r=y("Symbol")();return"[null]"!=se([r])||"{}"!=se({a:r})||"{}"!=se(Object(r))})),Oe=E((function(){return'"\\udf06\\ud834"'!==se("\udf06\ud834")||'"\\udead"'!==se("\udead")})),stringifyWithSymbolsFix=function(r,c){var u=J(arguments),p=oe(c);if(I(p)||void 0!==r&amp;&amp;!K(r))return u[1]=function(r,c){if(I(p)&amp;&amp;(c=x(p,this,ae(r),c)),!K(c))return c},w(se,null,u)},fixIllFormed=function(r,c,u){var p=le(u,c-1),y=le(u,c+1);return ue(ve,r)&amp;&amp;!ue(we,y)||ue(we,r)&amp;&amp;!ue(ve,p)?"\\u"+he(pe(r,0),16):r};se&amp;&amp;p({target:"JSON",stat:!0,arity:3,forced:Se||Oe},{stringify:function stringify(r,c,u){var p=J(arguments),y=w(Se?stringifyWithSymbolsFix:se,null,p);return Oe&amp;&amp;"string"==typeof y?de(y,ge,fixIllFormed):y}})},69098:function(r,c,u){"use strict";u(77710)("Map",(function(r){return function Map(){return r(this,arguments.length?arguments[0]:void 0)}}),u(95631))},51532:function(r,c,u){u(69098)},9653:function(r,c,u){"use strict";var p=u(82109),y=u(31913),w=u(19781),x=u(17854),k=u(40857),E=u(1702),I=u(54705),K=u(92597),J=u(79587),oe=u(47976),ie=u(52190),ae=u(57593),se=u(47293),ue=u(8006).f,le=u(31236).f,pe=u(3070).f,de=u(50863),he=u(53111).trim,ge="Number",ve=x[ge],we=k[ge],Se=ve.prototype,Oe=x.TypeError,Pe=E("".slice),Le=E("".charCodeAt),toNumber=function(r){var c,u,p,y,w,x,k,E,I=ae(r,"number");if(ie(I))throw Oe("Cannot convert a Symbol value to a number");if("string"==typeof I&amp;&amp;I.length&gt;2)if(I=he(I),43===(c=Le(I,0))||45===c){if(88===(u=Le(I,2))||120===u)return NaN}else if(48===c){switch(Le(I,1)){case 66:case 98:p=2,y=49;break;case 79:case 111:p=8,y=55;break;default:return+I}for(x=(w=Pe(I,2)).length,k=0;k&lt;x;k++)if((E=Le(w,k))&lt;48||E&gt;y)return NaN;return parseInt(w,p)}return+I},Ie=I(ge,!ve(" 0o1")||!ve("0b1")||ve("+0x1")),je=function Number(r){var c,u=arguments.length&lt;1?0:ve(function(r){var c=ae(r,"number");return"bigint"==typeof c?c:toNumber(c)}(r));return oe(Se,c=this)&amp;&amp;se((function(){de(c)}))?J(Object(u),this,je):u};je.prototype=Se,Ie&amp;&amp;!y&amp;&amp;(Se.constructor=je),p({global:!0,constructor:!0,wrap:!0,forced:Ie},{Number:je});var copyConstructorProperties=function(r,c){for(var u,p=w?ue(c):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),y=0;p.length&gt;y;y++)K(c,u=p[y])&amp;&amp;!K(r,u)&amp;&amp;pe(r,u,le(c,u))};y&amp;&amp;we&amp;&amp;copyConstructorProperties(k[ge],we),(Ie||y)&amp;&amp;copyConstructorProperties(k[ge],ve)},33161:function(r,c,u){u(82109)({target:"Number",stat:!0},{isInteger:u(55988)})},44048:function(r,c,u){u(82109)({target:"Number",stat:!0},{isNaN:function isNaN(r){return r!=r}})},19601:function(r,c,u){var p=u(82109),y=u(21574);p({target:"Object",stat:!0,arity:2,forced:Object.assign!==y},{assign:y})},69720:function(r,c,u){var p=u(82109),y=u(44699).entries;p({target:"Object",stat:!0},{entries:function entries(r){return y(r)}})},43371:function(r,c,u){var p=u(82109),y=u(76677),w=u(47293),x=u(70111),k=u(62423).onFreeze,E=Object.freeze;p({target:"Object",stat:!0,forced:w((function(){E(1)})),sham:!y},{freeze:function freeze(r){return E&amp;&amp;x(r)?E(k(r)):r}})},38880:function(r,c,u){var p=u(82109),y=u(47293),w=u(45656),x=u(31236).f,k=u(19781);p({target:"Object",stat:!0,forced:!k||y((function(){x(1)})),sham:!k},{getOwnPropertyDescriptor:function getOwnPropertyDescriptor(r,c){return x(w(r),c)}})},49337:function(r,c,u){var p=u(82109),y=u(19781),w=u(53887),x=u(45656),k=u(31236),E=u(86135);p({target:"Object",stat:!0,sham:!y},{getOwnPropertyDescriptors:function getOwnPropertyDescriptors(r){for(var c,u,p=x(r),y=k.f,I=w(p),K={},J=0;I.length&gt;J;)void 0!==(u=y(p,c=I[J++]))&amp;&amp;E(K,c,u);return K}})},29660:function(r,c,u){var p=u(82109),y=u(36293),w=u(47293),x=u(25181),k=u(47908);p({target:"Object",stat:!0,forced:!y||w((function(){x.f(1)}))},{getOwnPropertySymbols:function getOwnPropertySymbols(r){var c=x.f;return c?c(k(r)):[]}})},47941:function(r,c,u){var p=u(82109),y=u(47908),w=u(81956);p({target:"Object",stat:!0,forced:u(47293)((function(){w(1)}))},{keys:function keys(r){return w(y(r))}})},41539:function(r,c,u){var p=u(51694),y=u(98052),w=u(90288);p||y(Object.prototype,"toString",w,{unsafe:!0})},26833:function(r,c,u){var p=u(82109),y=u(44699).values;p({target:"Object",stat:!0},{values:function values(r){return y(r)}})},70821:function(r,c,u){"use strict";var p=u(82109),y=u(46916),w=u(19662),x=u(78523),k=u(12534),E=u(20408);p({target:"Promise",stat:!0,forced:u(80612)},{all:function all(r){var c=this,u=x.f(c),p=u.resolve,I=u.reject,K=k((function(){var u=w(c.resolve),x=[],k=0,K=1;E(r,(function(r){var w=k++,E=!1;K++,y(u,c,r).then((function(r){E||(E=!0,x[w]=r,--K||p(x))}),I)})),--K||p(x)}));return K.error&amp;&amp;I(K.value),u.promise}})},94164:function(r,c,u){"use strict";var p=u(82109),y=u(31913),w=u(63702).CONSTRUCTOR,x=u(2492),k=u(35005),E=u(60614),I=u(98052),K=x&amp;&amp;x.prototype;if(p({target:"Promise",proto:!0,forced:w,real:!0},{catch:function(r){return this.then(void 0,r)}}),!y&amp;&amp;E(x)){var J=k("Promise").prototype.catch;K.catch!==J&amp;&amp;I(K,"catch",J,{unsafe:!0})}},43401:function(r,c,u){"use strict";var p,y,w,x=u(82109),k=u(31913),E=u(35268),I=u(17854),K=u(46916),J=u(98052),oe=u(27674),ie=u(58003),ae=u(96340),se=u(19662),ue=u(60614),le=u(70111),pe=u(25787),de=u(36707),he=u(20261).set,ge=u(95948),ve=u(842),we=u(12534),Se=u(18572),Oe=u(29909),Pe=u(2492),Le=u(63702),Ie=u(78523),je="Promise",De=Le.CONSTRUCTOR,Ue=Le.REJECTION_EVENT,Fe=Le.SUBCLASSING,Ze=Oe.getterFor(je),$e=Oe.set,Ge=Pe&amp;&amp;Pe.prototype,We=Pe,Ke=Ge,Je=I.TypeError,Ye=I.document,Xe=I.process,Qe=Ie.f,et=Qe,rt=!!(Ye&amp;&amp;Ye.createEvent&amp;&amp;I.dispatchEvent),nt="unhandledrejection",isThenable=function(r){var c;return!(!le(r)||!ue(c=r.then))&amp;&amp;c},callReaction=function(r,c){var u,p,y,w=c.value,x=1==c.state,k=x?r.ok:r.fail,E=r.resolve,I=r.reject,J=r.domain;try{k?(x||(2===c.rejection&amp;&amp;onHandleUnhandled(c),c.rejection=1),!0===k?u=w:(J&amp;&amp;J.enter(),u=k(w),J&amp;&amp;(J.exit(),y=!0)),u===r.promise?I(Je("Promise-chain cycle")):(p=isThenable(u))?K(p,u,E,I):E(u)):I(w)}catch(r){J&amp;&amp;!y&amp;&amp;J.exit(),I(r)}},notify=function(r,c){r.notified||(r.notified=!0,ge((function(){for(var u,p=r.reactions;u=p.get();)callReaction(u,r);r.notified=!1,c&amp;&amp;!r.rejection&amp;&amp;onUnhandled(r)})))},dispatchEvent=function(r,c,u){var p,y;rt?((p=Ye.createEvent("Event")).promise=c,p.reason=u,p.initEvent(r,!1,!0),I.dispatchEvent(p)):p={promise:c,reason:u},!Ue&amp;&amp;(y=I["on"+r])?y(p):r===nt&amp;&amp;ve("Unhandled promise rejection",u)},onUnhandled=function(r){K(he,I,(function(){var c,u=r.facade,p=r.value;if(isUnhandled(r)&amp;&amp;(c=we((function(){E?Xe.emit("unhandledRejection",p,u):dispatchEvent(nt,u,p)})),r.rejection=E||isUnhandled(r)?2:1,c.error))throw c.value}))},isUnhandled=function(r){return 1!==r.rejection&amp;&amp;!r.parent},onHandleUnhandled=function(r){K(he,I,(function(){var c=r.facade;E?Xe.emit("rejectionHandled",c):dispatchEvent("rejectionhandled",c,r.value)}))},bind=function(r,c,u){return function(p){r(c,p,u)}},internalReject=function(r,c,u){r.done||(r.done=!0,u&amp;&amp;(r=u),r.value=c,r.state=2,notify(r,!0))},internalResolve=function(r,c,u){if(!r.done){r.done=!0,u&amp;&amp;(r=u);try{if(r.facade===c)throw Je("Promise can't be resolved itself");var p=isThenable(c);p?ge((function(){var u={done:!1};try{K(p,c,bind(internalResolve,u,r),bind(internalReject,u,r))}catch(c){internalReject(u,c,r)}})):(r.value=c,r.state=1,notify(r,!1))}catch(c){internalReject({done:!1},c,r)}}};if(De&amp;&amp;(Ke=(We=function Promise(r){pe(this,Ke),se(r),K(p,this);var c=Ze(this);try{r(bind(internalResolve,c),bind(internalReject,c))}catch(r){internalReject(c,r)}}).prototype,(p=function Promise(r){$e(this,{type:je,done:!1,notified:!1,parent:!1,reactions:new Se,rejection:!1,state:0,value:void 0})}).prototype=J(Ke,"then",(function then(r,c){var u=Ze(this),p=Qe(de(this,We));return u.parent=!0,p.ok=!ue(r)||r,p.fail=ue(c)&amp;&amp;c,p.domain=E?Xe.domain:void 0,0==u.state?u.reactions.add(p):ge((function(){callReaction(p,u)})),p.promise})),y=function(){var r=new p,c=Ze(r);this.promise=r,this.resolve=bind(internalResolve,c),this.reject=bind(internalReject,c)},Ie.f=Qe=function(r){return r===We||undefined===r?new y(r):et(r)},!k&amp;&amp;ue(Pe)&amp;&amp;Ge!==Object.prototype)){w=Ge.then,Fe||J(Ge,"then",(function then(r,c){var u=this;return new We((function(r,c){K(w,u,r,c)})).then(r,c)}),{unsafe:!0});try{delete Ge.constructor}catch(r){}oe&amp;&amp;oe(Ge,Ke)}x({global:!0,constructor:!0,wrap:!0,forced:De},{Promise:We}),ie(We,je,!1,!0),ae(je)},88674:function(r,c,u){u(43401),u(70821),u(94164),u(6027),u(60683),u(96294)},6027:function(r,c,u){"use strict";var p=u(82109),y=u(46916),w=u(19662),x=u(78523),k=u(12534),E=u(20408);p({target:"Promise",stat:!0,forced:u(80612)},{race:function race(r){var c=this,u=x.f(c),p=u.reject,I=k((function(){var x=w(c.resolve);E(r,(function(r){y(x,c,r).then(u.resolve,p)}))}));return I.error&amp;&amp;p(I.value),u.promise}})},60683:function(r,c,u){"use strict";var p=u(82109),y=u(46916),w=u(78523);p({target:"Promise",stat:!0,forced:u(63702).CONSTRUCTOR},{reject:function reject(r){var c=w.f(this);return y(c.reject,void 0,r),c.promise}})},96294:function(r,c,u){"use strict";var p=u(82109),y=u(35005),w=u(31913),x=u(2492),k=u(63702).CONSTRUCTOR,E=u(69478),I=y("Promise"),K=w&amp;&amp;!k;p({target:"Promise",stat:!0,forced:w||k},{resolve:function resolve(r){return E(K&amp;&amp;this===I?x:this,r)}})},12419:function(r,c,u){var p=u(82109),y=u(35005),w=u(22104),x=u(27065),k=u(39483),E=u(19670),I=u(70111),K=u(70030),J=u(47293),oe=y("Reflect","construct"),ie=Object.prototype,ae=[].push,se=J((function(){function F(){}return!(oe((function(){}),[],F)instanceof F)})),ue=!J((function(){oe((function(){}))})),le=se||ue;p({target:"Reflect",stat:!0,forced:le,sham:le},{construct:function construct(r,c){k(r),E(c);var u=arguments.length&lt;3?r:k(arguments[2]);if(ue&amp;&amp;!se)return oe(r,c,u);if(r==u){switch(c.length){case 0:return new r;case 1:return new r(c[0]);case 2:return new r(c[0],c[1]);case 3:return new r(c[0],c[1],c[2]);case 4:return new r(c[0],c[1],c[2],c[3])}var p=[null];return w(ae,p,c),new(w(x,r,p))}var y=u.prototype,J=K(I(y)?y:ie),le=w(r,J,c);return I(le)?le:J}})},81299:function(r,c,u){var p=u(82109),y=u(17854),w=u(58003);p({global:!0},{Reflect:{}}),w(y.Reflect,"Reflect",!0)},24603:function(r,c,u){var p=u(19781),y=u(17854),w=u(1702),x=u(54705),k=u(79587),E=u(68880),I=u(8006).f,K=u(47976),J=u(47850),oe=u(41340),ie=u(34706),ae=u(52999),se=u(2626),ue=u(98052),le=u(47293),pe=u(92597),de=u(29909).enforce,he=u(96340),ge=u(5112),ve=u(9441),we=u(38173),Se=ge("match"),Oe=y.RegExp,Pe=Oe.prototype,Le=y.SyntaxError,Ie=w(Pe.exec),je=w("".charAt),De=w("".replace),Ue=w("".indexOf),Fe=w("".slice),Ze=/^\?&lt;[^\s\d!#%&amp;*+&lt;=&gt;@^][^\s!#%&amp;*+&lt;=&gt;@^]*&gt;/,$e=/a/g,Ge=/a/g,We=new Oe($e)!==$e,Ke=ae.MISSED_STICKY,Je=ae.UNSUPPORTED_Y,Ye=p&amp;&amp;(!We||Ke||ve||we||le((function(){return Ge[Se]=!1,Oe($e)!=$e||Oe(Ge)==Ge||"/a/i"!=Oe($e,"i")})));if(x("RegExp",Ye)){for(var Xe=function RegExp(r,c){var u,p,y,w,x,I,ae=K(Pe,this),se=J(r),ue=void 0===c,le=[],he=r;if(!ae&amp;&amp;se&amp;&amp;ue&amp;&amp;r.constructor===Xe)return r;if((se||K(Pe,r))&amp;&amp;(r=r.source,ue&amp;&amp;(c=ie(he))),r=void 0===r?"":oe(r),c=void 0===c?"":oe(c),he=r,ve&amp;&amp;"dotAll"in $e&amp;&amp;(p=!!c&amp;&amp;Ue(c,"s")&gt;-1)&amp;&amp;(c=De(c,/s/g,"")),u=c,Ke&amp;&amp;"sticky"in $e&amp;&amp;(y=!!c&amp;&amp;Ue(c,"y")&gt;-1)&amp;&amp;Je&amp;&amp;(c=De(c,/y/g,"")),we&amp;&amp;(w=function(r){for(var c,u=r.length,p=0,y="",w=[],x={},k=!1,E=!1,I=0,K="";p&lt;=u;p++){if("\\"===(c=je(r,p)))c+=je(r,++p);else if("]"===c)k=!1;else if(!k)switch(!0){case"["===c:k=!0;break;case"("===c:Ie(Ze,Fe(r,p+1))&amp;&amp;(p+=2,E=!0),y+=c,I++;continue;case"&gt;"===c&amp;&amp;E:if(""===K||pe(x,K))throw new Le("Invalid capture group name");x[K]=!0,w[w.length]=[K,I],E=!1,K="";continue}E?K+=c:y+=c}return[y,w]}(r),r=w[0],le=w[1]),x=k(Oe(r,c),ae?this:Pe,Xe),(p||y||le.length)&amp;&amp;(I=de(x),p&amp;&amp;(I.dotAll=!0,I.raw=Xe(function(r){for(var c,u=r.length,p=0,y="",w=!1;p&lt;=u;p++)"\\"!==(c=je(r,p))?w||"."!==c?("["===c?w=!0:"]"===c&amp;&amp;(w=!1),y+=c):y+="[\\s\\S]":y+=c+je(r,++p);return y}(r),u)),y&amp;&amp;(I.sticky=!0),le.length&amp;&amp;(I.groups=le)),r!==he)try{E(x,"source",""===he?"(?:)":he)}catch(r){}return x},Qe=I(Oe),et=0;Qe.length&gt;et;)se(Xe,Oe,Qe[et++]);Pe.constructor=Xe,Xe.prototype=Pe,ue(y,"RegExp",Xe,{constructor:!0})}he("RegExp")},74916:function(r,c,u){"use strict";var p=u(82109),y=u(22261);p({target:"RegExp",proto:!0,forced:/./.exec!==y},{exec:y})},77601:function(r,c,u){"use strict";u(74916);var p,y,w=u(82109),x=u(46916),k=u(60614),E=u(19670),I=u(41340),K=(p=!1,(y=/[ac]/).exec=function(){return p=!0,/./.exec.apply(this,arguments)},!0===y.test("abc")&amp;&amp;p),J=/./.test;w({target:"RegExp",proto:!0,forced:!K},{test:function(r){var c=E(this),u=I(r),p=c.exec;if(!k(p))return x(J,c,u);var y=x(p,c,u);return null!==y&amp;&amp;(E(y),!0)}})},39714:function(r,c,u){"use strict";var p=u(76530).PROPER,y=u(98052),w=u(19670),x=u(41340),k=u(47293),E=u(34706),I="toString",K=RegExp.prototype[I],J=k((function(){return"/a/b"!=K.call({source:"a",flags:"b"})})),oe=p&amp;&amp;K.name!=I;(J||oe)&amp;&amp;y(RegExp.prototype,I,(function toString(){var r=w(this);return"/"+x(r.source)+"/"+x(E(r))}),{unsafe:!0})},37227:function(r,c,u){"use strict";u(77710)("Set",(function(r){return function Set(){return r(this,arguments.length?arguments[0]:void 0)}}),u(95631))},70189:function(r,c,u){u(37227)},32023:function(r,c,u){"use strict";var p=u(82109),y=u(1702),w=u(3929),x=u(84488),k=u(41340),E=u(84964),I=y("".indexOf);p({target:"String",proto:!0,forced:!E("includes")},{includes:function includes(r){return!!~I(k(x(this)),k(w(r)),arguments.length&gt;1?arguments[1]:void 0)}})},78783:function(r,c,u){"use strict";var p=u(28710).charAt,y=u(41340),w=u(29909),x=u(51656),k=u(76178),E="String Iterator",I=w.set,K=w.getterFor(E);x(String,"String",(function(r){I(this,{type:E,string:y(r),index:0})}),(function next(){var r,c=K(this),u=c.string,y=c.index;return y&gt;=u.length?k(void 0,!0):(r=p(u,y),c.index+=r.length,k(r,!1))}))},29254:function(r,c,u){"use strict";var p=u(82109),y=u(14230);p({target:"String",proto:!0,forced:u(43429)("link")},{link:function link(r){return y(this,"a","href",r)}})},4723:function(r,c,u){"use strict";var p=u(46916),y=u(27007),w=u(19670),x=u(68554),k=u(17466),E=u(41340),I=u(84488),K=u(58173),J=u(31530),oe=u(97651);y("match",(function(r,c,u){return[function match(c){var u=I(this),y=x(c)?void 0:K(c,r);return y?p(y,c,u):new RegExp(c)[r](E(u))},function(r){var p=w(this),y=E(r),x=u(c,p,y);if(x.done)return x.value;if(!p.global)return oe(p,y);var I=p.unicode;p.lastIndex=0;for(var K,ie=[],ae=0;null!==(K=oe(p,y));){var se=E(K[0]);ie[ae]=se,""===se&amp;&amp;(p.lastIndex=J(y,k(p.lastIndex),I)),ae++}return 0===ae?null:ie}]}))},83112:function(r,c,u){"use strict";var p=u(82109),y=u(76650).start;p({target:"String",proto:!0,forced:u(54986)},{padStart:function padStart(r){return y(this,r,arguments.length&gt;1?arguments[1]:void 0)}})},15306:function(r,c,u){"use strict";var p=u(22104),y=u(46916),w=u(1702),x=u(27007),k=u(47293),E=u(19670),I=u(60614),K=u(68554),J=u(19303),oe=u(17466),ie=u(41340),ae=u(84488),se=u(31530),ue=u(58173),le=u(10647),pe=u(97651),de=u(5112)("replace"),he=Math.max,ge=Math.min,ve=w([].concat),we=w([].push),Se=w("".indexOf),Oe=w("".slice),Pe="$0"==="a".replace(/./,"$0"),Le=!!/./[de]&amp;&amp;""===/./[de]("a","$0");x("replace",(function(r,c,u){var w=Le?"$":"$0";return[function replace(r,u){var p=ae(this),w=K(r)?void 0:ue(r,de);return w?y(w,r,p,u):y(c,ie(p),r,u)},function(r,y){var x=E(this),k=ie(r);if("string"==typeof y&amp;&amp;-1===Se(y,w)&amp;&amp;-1===Se(y,"$&lt;")){var K=u(c,x,k,y);if(K.done)return K.value}var ae=I(y);ae||(y=ie(y));var ue=x.global;if(ue){var de=x.unicode;x.lastIndex=0}for(var Pe=[];;){var Le=pe(x,k);if(null===Le)break;if(we(Pe,Le),!ue)break;""===ie(Le[0])&amp;&amp;(x.lastIndex=se(k,oe(x.lastIndex),de))}for(var Ie,je="",De=0,Ue=0;Ue&lt;Pe.length;Ue++){for(var Fe=ie((Le=Pe[Ue])[0]),Ze=he(ge(J(Le.index),k.length),0),$e=[],Ge=1;Ge&lt;Le.length;Ge++)we($e,void 0===(Ie=Le[Ge])?Ie:String(Ie));var We=Le.groups;if(ae){var Ke=ve([Fe],$e,Ze,k);void 0!==We&amp;&amp;we(Ke,We);var Je=ie(p(y,void 0,Ke))}else Je=le(Fe,k,Ze,$e,We,y);Ze&gt;=De&amp;&amp;(je+=Oe(k,De,Ze)+Je,De=Ze+Fe.length)}return je+Oe(k,De)}]}),!!k((function(){var r=/./;return r.exec=function(){var r=[];return r.groups={a:"7"},r},"7"!=="".replace(r,"$&lt;a&gt;")}))||!Pe||Le)},64765:function(r,c,u){"use strict";var p=u(46916),y=u(27007),w=u(19670),x=u(68554),k=u(84488),E=u(81150),I=u(41340),K=u(58173),J=u(97651);y("search",(function(r,c,u){return[function search(c){var u=k(this),y=x(c)?void 0:K(c,r);return y?p(y,c,u):new RegExp(c)[r](I(u))},function(r){var p=w(this),y=I(r),x=u(c,p,y);if(x.done)return x.value;var k=p.lastIndex;E(k,0)||(p.lastIndex=0);var K=J(p,y);return E(p.lastIndex,k)||(p.lastIndex=k),null===K?-1:K.index}]}))},23123:function(r,c,u){"use strict";var p=u(22104),y=u(46916),w=u(1702),x=u(27007),k=u(19670),E=u(68554),I=u(47850),K=u(84488),J=u(36707),oe=u(31530),ie=u(17466),ae=u(41340),se=u(58173),ue=u(41589),le=u(97651),pe=u(22261),de=u(52999),he=u(47293),ge=de.UNSUPPORTED_Y,ve=4294967295,we=Math.min,Se=[].push,Oe=w(/./.exec),Pe=w(Se),Le=w("".slice),Ie=!he((function(){var r=/(?:)/,c=r.exec;r.exec=function(){return c.apply(this,arguments)};var u="ab".split(r);return 2!==u.length||"a"!==u[0]||"b"!==u[1]}));x("split",(function(r,c,u){var w;return w="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length&gt;1||"".split(/.?/).length?function(r,u){var w=ae(K(this)),x=void 0===u?ve:u&gt;&gt;&gt;0;if(0===x)return[];if(void 0===r)return[w];if(!I(r))return y(c,w,r,x);for(var k,E,J,oe=[],ie=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(r.sticky?"y":""),se=0,le=new RegExp(r.source,ie+"g");(k=y(pe,le,w))&amp;&amp;!((E=le.lastIndex)&gt;se&amp;&amp;(Pe(oe,Le(w,se,k.index)),k.length&gt;1&amp;&amp;k.index&lt;w.length&amp;&amp;p(Se,oe,ue(k,1)),J=k[0].length,se=E,oe.length&gt;=x));)le.lastIndex===k.index&amp;&amp;le.lastIndex++;return se===w.length?!J&amp;&amp;Oe(le,"")||Pe(oe,""):Pe(oe,Le(w,se)),oe.length&gt;x?ue(oe,0,x):oe}:"0".split(void 0,0).length?function(r,u){return void 0===r&amp;&amp;0===u?[]:y(c,this,r,u)}:c,[function split(c,u){var p=K(this),x=E(c)?void 0:se(c,r);return x?y(x,c,p,u):y(w,ae(p),c,u)},function(r,p){var y=k(this),x=ae(r),E=u(w,y,x,p,w!==c);if(E.done)return E.value;var I=J(y,RegExp),K=y.unicode,se=(y.ignoreCase?"i":"")+(y.multiline?"m":"")+(y.unicode?"u":"")+(ge?"g":"y"),ue=new I(ge?"^(?:"+y.source+")":y,se),pe=void 0===p?ve:p&gt;&gt;&gt;0;if(0===pe)return[];if(0===x.length)return null===le(ue,x)?[x]:[];for(var de=0,he=0,Se=[];he&lt;x.length;){ue.lastIndex=ge?0:he;var Oe,Ie=le(ue,ge?Le(x,he):x);if(null===Ie||(Oe=we(ie(ue.lastIndex+(ge?he:0)),x.length))===de)he=oe(x,he,K);else{if(Pe(Se,Le(x,de,he)),Se.length===pe)return Se;for(var je=1;je&lt;=Ie.length-1;je++)if(Pe(Se,Ie[je]),Se.length===pe)return Se;he=de=Oe}}return Pe(Se,Le(x,de)),Se}]}),!Ie,ge)},23157:function(r,c,u){"use strict";var p,y=u(82109),w=u(21470),x=u(31236).f,k=u(17466),E=u(41340),I=u(3929),K=u(84488),J=u(84964),oe=u(31913),ie=w("".startsWith),ae=w("".slice),se=Math.min,ue=J("startsWith");y({target:"String",proto:!0,forced:!!(oe||ue||(p=x(String.prototype,"startsWith"),!p||p.writable))&amp;&amp;!ue},{startsWith:function startsWith(r){var c=E(K(this));I(r);var u=k(se(arguments.length&gt;1?arguments[1]:void 0,c.length)),p=E(r);return ie?ie(c,p,u):ae(c,u,u+p.length)===p}})},73210:function(r,c,u){"use strict";var p=u(82109),y=u(53111).trim;p({target:"String",proto:!0,forced:u(76091)("trim")},{trim:function trim(){return y(this)}})},4032:function(r,c,u){"use strict";var p=u(82109),y=u(17854),w=u(46916),x=u(1702),k=u(31913),E=u(19781),I=u(36293),K=u(47293),J=u(92597),oe=u(47976),ie=u(19670),ae=u(45656),se=u(34948),ue=u(41340),le=u(79114),pe=u(70030),de=u(81956),he=u(8006),ge=u(1156),ve=u(25181),we=u(31236),Se=u(3070),Oe=u(36048),Pe=u(55296),Le=u(98052),Ie=u(47045),je=u(72309),De=u(6200),Ue=u(3501),Fe=u(69711),Ze=u(5112),$e=u(6061),Ge=u(26800),We=u(56532),Ke=u(58003),Je=u(29909),Ye=u(42092).forEach,Xe=De("hidden"),Qe="Symbol",et="prototype",rt=Je.set,nt=Je.getterFor(Qe),ot=Object[et],it=y.Symbol,st=it&amp;&amp;it[et],ct=y.TypeError,ut=y.QObject,lt=we.f,pt=Se.f,dt=ge.f,ft=Pe.f,ht=x([].push),mt=je("symbols"),yt=je("op-symbols"),gt=je("wks"),vt=!ut||!ut[et]||!ut[et].findChild,bt=E&amp;&amp;K((function(){return 7!=pe(pt({},"a",{get:function(){return pt(this,"a",{value:7}).a}})).a}))?function(r,c,u){var p=lt(ot,c);p&amp;&amp;delete ot[c],pt(r,c,u),p&amp;&amp;r!==ot&amp;&amp;pt(ot,c,p)}:pt,wrap=function(r,c){var u=mt[r]=pe(st);return rt(u,{type:Qe,tag:r,description:c}),E||(u.description=c),u},_t=function defineProperty(r,c,u){r===ot&amp;&amp;_t(yt,c,u),ie(r);var p=se(c);return ie(u),J(mt,p)?(u.enumerable?(J(r,Xe)&amp;&amp;r[Xe][p]&amp;&amp;(r[Xe][p]=!1),u=pe(u,{enumerable:le(0,!1)})):(J(r,Xe)||pt(r,Xe,le(1,{})),r[Xe][p]=!0),bt(r,p,u)):pt(r,p,u)},wt=function defineProperties(r,c){ie(r);var u=ae(c),p=de(u).concat($getOwnPropertySymbols(u));return Ye(p,(function(c){E&amp;&amp;!w(xt,u,c)||_t(r,c,u[c])})),r},xt=function propertyIsEnumerable(r){var c=se(r),u=w(ft,this,c);return!(this===ot&amp;&amp;J(mt,c)&amp;&amp;!J(yt,c))&amp;&amp;(!(u||!J(this,c)||!J(mt,c)||J(this,Xe)&amp;&amp;this[Xe][c])||u)},kt=function getOwnPropertyDescriptor(r,c){var u=ae(r),p=se(c);if(u!==ot||!J(mt,p)||J(yt,p)){var y=lt(u,p);return!y||!J(mt,p)||J(u,Xe)&amp;&amp;u[Xe][p]||(y.enumerable=!0),y}},St=function getOwnPropertyNames(r){var c=dt(ae(r)),u=[];return Ye(c,(function(r){J(mt,r)||J(Ue,r)||ht(u,r)})),u},$getOwnPropertySymbols=function(r){var c=r===ot,u=dt(c?yt:ae(r)),p=[];return Ye(u,(function(r){!J(mt,r)||c&amp;&amp;!J(ot,r)||ht(p,mt[r])})),p};I||(it=function Symbol(){if(oe(st,this))throw ct("Symbol is not a constructor");var r=arguments.length&amp;&amp;void 0!==arguments[0]?ue(arguments[0]):void 0,c=Fe(r),setter=function(r){this===ot&amp;&amp;w(setter,yt,r),J(this,Xe)&amp;&amp;J(this[Xe],c)&amp;&amp;(this[Xe][c]=!1),bt(this,c,le(1,r))};return E&amp;&amp;vt&amp;&amp;bt(ot,c,{configurable:!0,set:setter}),wrap(c,r)},Le(st=it[et],"toString",(function toString(){return nt(this).tag})),Le(it,"withoutSetter",(function(r){return wrap(Fe(r),r)})),Pe.f=xt,Se.f=_t,Oe.f=wt,we.f=kt,he.f=ge.f=St,ve.f=$getOwnPropertySymbols,$e.f=function(r){return wrap(Ze(r),r)},E&amp;&amp;(Ie(st,"description",{configurable:!0,get:function description(){return nt(this).description}}),k||Le(ot,"propertyIsEnumerable",xt,{unsafe:!0}))),p({global:!0,constructor:!0,wrap:!0,forced:!I,sham:!I},{Symbol:it}),Ye(de(gt),(function(r){Ge(r)})),p({target:Qe,stat:!0,forced:!I},{useSetter:function(){vt=!0},useSimple:function(){vt=!1}}),p({target:"Object",stat:!0,forced:!I,sham:!E},{create:function create(r,c){return void 0===c?pe(r):wt(pe(r),c)},defineProperty:_t,defineProperties:wt,getOwnPropertyDescriptor:kt}),p({target:"Object",stat:!0,forced:!I},{getOwnPropertyNames:St}),We(),Ke(it,Qe),Ue[Xe]=!0},41817:function(r,c,u){"use strict";var p=u(82109),y=u(19781),w=u(17854),x=u(1702),k=u(92597),E=u(60614),I=u(47976),K=u(41340),J=u(47045),oe=u(99920),ie=w.Symbol,ae=ie&amp;&amp;ie.prototype;if(y&amp;&amp;E(ie)&amp;&amp;(!("description"in ae)||void 0!==ie().description)){var se={},ue=function Symbol(){var r=arguments.length&lt;1||void 0===arguments[0]?void 0:K(arguments[0]),c=I(ae,this)?new ie(r):void 0===r?ie():ie(r);return""===r&amp;&amp;(se[c]=!0),c};oe(ue,ie),ue.prototype=ae,ae.constructor=ue;var le="Symbol(test)"==String(ie("test")),pe=x(ae.valueOf),de=x(ae.toString),he=/^Symbol\((.*)\)[^)]+$/,ge=x("".replace),ve=x("".slice);J(ae,"description",{configurable:!0,get:function description(){var r=pe(this);if(k(se,r))return"";var c=de(r),u=le?ve(c,7,-1):ge(c,he,"$1");return""===u?void 0:u}}),p({global:!0,constructor:!0,forced:!0},{Symbol:ue})}},40763:function(r,c,u){var p=u(82109),y=u(35005),w=u(92597),x=u(41340),k=u(72309),E=u(2015),I=k("string-to-symbol-registry"),K=k("symbol-to-string-registry");p({target:"Symbol",stat:!0,forced:!E},{for:function(r){var c=x(r);if(w(I,c))return I[c];var u=y("Symbol")(c);return I[c]=u,K[u]=c,u}})},32165:function(r,c,u){u(26800)("iterator")},82526:function(r,c,u){u(4032),u(40763),u(26620),u(38862),u(29660)},26620:function(r,c,u){var p=u(82109),y=u(92597),w=u(52190),x=u(66330),k=u(72309),E=u(2015),I=k("symbol-to-string-registry");p({target:"Symbol",stat:!0,forced:!E},{keyFor:function keyFor(r){if(!w(r))throw TypeError(x(r)+" is not a symbol");if(y(I,r))return I[r]}})},48675:function(r,c,u){"use strict";var p=u(90260),y=u(26244),w=u(19303),x=p.aTypedArray;(0,p.exportTypedArrayMethod)("at",(function at(r){var c=x(this),u=y(c),p=w(r),k=p&gt;=0?p:u+p;return k&lt;0||k&gt;=u?void 0:c[k]}))},92990:function(r,c,u){"use strict";var p=u(1702),y=u(90260),w=p(u(1048)),x=y.aTypedArray;(0,y.exportTypedArrayMethod)("copyWithin",(function copyWithin(r,c){return w(x(this),r,c,arguments.length&gt;2?arguments[2]:void 0)}))},18927:function(r,c,u){"use strict";var p=u(90260),y=u(42092).every,w=p.aTypedArray;(0,p.exportTypedArrayMethod)("every",(function every(r){return y(w(this),r,arguments.length&gt;1?arguments[1]:void 0)}))},33105:function(r,c,u){"use strict";var p=u(90260),y=u(21285),w=u(64599),x=u(70648),k=u(46916),E=u(1702),I=u(47293),K=p.aTypedArray,J=p.exportTypedArrayMethod,oe=E("".slice);J("fill",(function fill(r){var c=arguments.length;K(this);var u="Big"===oe(x(this),0,3)?w(r):+r;return k(y,this,u,c&gt;1?arguments[1]:void 0,c&gt;2?arguments[2]:void 0)}),I((function(){var r=0;return new Int8Array(2).fill({valueOf:function(){return r++}}),1!==r})))},35035:function(r,c,u){"use strict";var p=u(90260),y=u(42092).filter,w=u(43074),x=p.aTypedArray;(0,p.exportTypedArrayMethod)("filter",(function filter(r){var c=y(x(this),r,arguments.length&gt;1?arguments[1]:void 0);return w(this,c)}))},7174:function(r,c,u){"use strict";var p=u(90260),y=u(42092).findIndex,w=p.aTypedArray;(0,p.exportTypedArrayMethod)("findIndex",(function findIndex(r){return y(w(this),r,arguments.length&gt;1?arguments[1]:void 0)}))},74345:function(r,c,u){"use strict";var p=u(90260),y=u(42092).find,w=p.aTypedArray;(0,p.exportTypedArrayMethod)("find",(function find(r){return y(w(this),r,arguments.length&gt;1?arguments[1]:void 0)}))},32846:function(r,c,u){"use strict";var p=u(90260),y=u(42092).forEach,w=p.aTypedArray;(0,p.exportTypedArrayMethod)("forEach",(function forEach(r){y(w(this),r,arguments.length&gt;1?arguments[1]:void 0)}))},44731:function(r,c,u){"use strict";var p=u(90260),y=u(41318).includes,w=p.aTypedArray;(0,p.exportTypedArrayMethod)("includes",(function includes(r){return y(w(this),r,arguments.length&gt;1?arguments[1]:void 0)}))},77209:function(r,c,u){"use strict";var p=u(90260),y=u(41318).indexOf,w=p.aTypedArray;(0,p.exportTypedArrayMethod)("indexOf",(function indexOf(r){return y(w(this),r,arguments.length&gt;1?arguments[1]:void 0)}))},96319:function(r,c,u){"use strict";var p=u(17854),y=u(47293),w=u(1702),x=u(90260),k=u(66992),E=u(5112)("iterator"),I=p.Uint8Array,K=w(k.values),J=w(k.keys),oe=w(k.entries),ie=x.aTypedArray,ae=x.exportTypedArrayMethod,se=I&amp;&amp;I.prototype,ue=!y((function(){se[E].call([1])})),le=!!se&amp;&amp;se.values&amp;&amp;se[E]===se.values&amp;&amp;"values"===se.values.name,pe=function values(){return K(ie(this))};ae("entries",(function entries(){return oe(ie(this))}),ue),ae("keys",(function keys(){return J(ie(this))}),ue),ae("values",pe,ue||!le,{name:"values"}),ae(E,pe,ue||!le,{name:"values"})},58867:function(r,c,u){"use strict";var p=u(90260),y=u(1702),w=p.aTypedArray,x=p.exportTypedArrayMethod,k=y([].join);x("join",(function join(r){return k(w(this),r)}))},37789:function(r,c,u){"use strict";var p=u(90260),y=u(22104),w=u(86583),x=p.aTypedArray;(0,p.exportTypedArrayMethod)("lastIndexOf",(function lastIndexOf(r){var c=arguments.length;return y(w,x(this),c&gt;1?[r,arguments[1]]:[r])}))},33739:function(r,c,u){"use strict";var p=u(90260),y=u(42092).map,w=u(66304),x=p.aTypedArray;(0,p.exportTypedArrayMethod)("map",(function map(r){return y(x(this),r,arguments.length&gt;1?arguments[1]:void 0,(function(r,c){return new(w(r))(c)}))}))},14483:function(r,c,u){"use strict";var p=u(90260),y=u(53671).right,w=p.aTypedArray;(0,p.exportTypedArrayMethod)("reduceRight",(function reduceRight(r){var c=arguments.length;return y(w(this),r,c,c&gt;1?arguments[1]:void 0)}))},29368:function(r,c,u){"use strict";var p=u(90260),y=u(53671).left,w=p.aTypedArray;(0,p.exportTypedArrayMethod)("reduce",(function reduce(r){var c=arguments.length;return y(w(this),r,c,c&gt;1?arguments[1]:void 0)}))},12056:function(r,c,u){"use strict";var p=u(90260),y=p.aTypedArray,w=p.exportTypedArrayMethod,x=Math.floor;w("reverse",(function reverse(){for(var r,c=this,u=y(c).length,p=x(u/2),w=0;w&lt;p;)r=c[w],c[w++]=c[--u],c[u]=r;return c}))},3462:function(r,c,u){"use strict";var p=u(17854),y=u(46916),w=u(90260),x=u(26244),k=u(84590),E=u(47908),I=u(47293),K=p.RangeError,J=p.Int8Array,oe=J&amp;&amp;J.prototype,ie=oe&amp;&amp;oe.set,ae=w.aTypedArray,se=w.exportTypedArrayMethod,ue=!I((function(){var r=new Uint8ClampedArray(2);return y(ie,r,{length:1,0:3},1),3!==r[1]})),le=ue&amp;&amp;w.NATIVE_ARRAY_BUFFER_VIEWS&amp;&amp;I((function(){var r=new J(2);return r.set(1),r.set("2",1),0!==r[0]||2!==r[1]}));se("set",(function set(r){ae(this);var c=k(arguments.length&gt;1?arguments[1]:void 0,1),u=E(r);if(ue)return y(ie,this,u,c);var p=this.length,w=x(u),I=0;if(w+c&gt;p)throw K("Wrong length");for(;I&lt;w;)this[c+I]=u[I++]}),!ue||le)},30678:function(r,c,u){"use strict";var p=u(90260),y=u(66304),w=u(47293),x=u(50206),k=p.aTypedArray;(0,p.exportTypedArrayMethod)("slice",(function slice(r,c){for(var u=x(k(this),r,c),p=y(this),w=0,E=u.length,I=new p(E);E&gt;w;)I[w]=u[w++];return I}),w((function(){new Int8Array(1).slice()})))},27462:function(r,c,u){"use strict";var p=u(90260),y=u(42092).some,w=p.aTypedArray;(0,p.exportTypedArrayMethod)("some",(function some(r){return y(w(this),r,arguments.length&gt;1?arguments[1]:void 0)}))},33824:function(r,c,u){"use strict";var p=u(17854),y=u(21470),w=u(47293),x=u(19662),k=u(94362),E=u(90260),I=u(68886),K=u(30256),J=u(7392),oe=u(98008),ie=E.aTypedArray,ae=E.exportTypedArrayMethod,se=p.Uint16Array,ue=se&amp;&amp;y(se.prototype.sort),le=!(!ue||w((function(){ue(new se(2),null)}))&amp;&amp;w((function(){ue(new se(2),{})}))),pe=!!ue&amp;&amp;!w((function(){if(J)return J&lt;74;if(I)return I&lt;67;if(K)return!0;if(oe)return oe&lt;602;var r,c,u=new se(516),p=Array(516);for(r=0;r&lt;516;r++)c=r%4,u[r]=515-r,p[r]=r-2*c+3;for(ue(u,(function(r,c){return(r/4|0)-(c/4|0)})),r=0;r&lt;516;r++)if(u[r]!==p[r])return!0}));ae("sort",(function sort(r){return void 0!==r&amp;&amp;x(r),pe?ue(this,r):k(ie(this),function(r){return function(c,u){return void 0!==r?+r(c,u)||0:u!=u?-1:c!=c?1:0===c&amp;&amp;0===u?1/c&gt;0&amp;&amp;1/u&lt;0?1:-1:c&gt;u}}(r))}),!pe||le)},55021:function(r,c,u){"use strict";var p=u(90260),y=u(17466),w=u(51400),x=u(66304),k=p.aTypedArray;(0,p.exportTypedArrayMethod)("subarray",(function subarray(r,c){var u=k(this),p=u.length,E=w(r,p);return new(x(u))(u.buffer,u.byteOffset+E*u.BYTES_PER_ELEMENT,y((void 0===c?p:w(c,p))-E))}))},12974:function(r,c,u){"use strict";var p=u(17854),y=u(22104),w=u(90260),x=u(47293),k=u(50206),E=p.Int8Array,I=w.aTypedArray,K=w.exportTypedArrayMethod,J=[].toLocaleString,oe=!!E&amp;&amp;x((function(){J.call(new E(1))}));K("toLocaleString",(function toLocaleString(){return y(J,oe?k(I(this)):I(this),k(arguments))}),x((function(){return[1,2].toLocaleString()!=new E([1,2]).toLocaleString()}))||!x((function(){E.prototype.toLocaleString.call([1,2])})))},15016:function(r,c,u){"use strict";var p=u(90260).exportTypedArrayMethod,y=u(47293),w=u(17854),x=u(1702),k=w.Uint8Array,E=k&amp;&amp;k.prototype||{},I=[].toString,K=x([].join);y((function(){I.call({})}))&amp;&amp;(I=function toString(){return K(this)});var J=E.toString!=I;p("toString",I,J)},82472:function(r,c,u){u(19843)("Uint8",(function(r){return function Uint8Array(c,u,p){return r(this,c,u,p)}}))},54747:function(r,c,u){var p=u(17854),y=u(48324),w=u(98509),x=u(18533),k=u(68880),handlePrototype=function(r){if(r&amp;&amp;r.forEach!==x)try{k(r,"forEach",x)}catch(c){r.forEach=x}};for(var E in y)y[E]&amp;&amp;handlePrototype(p[E]&amp;&amp;p[E].prototype);handlePrototype(w)},33948:function(r,c,u){var p=u(17854),y=u(48324),w=u(98509),x=u(66992),k=u(68880),E=u(5112),I=E("iterator"),K=E("toStringTag"),J=x.values,handlePrototype=function(r,c){if(r){if(r[I]!==J)try{k(r,I,J)}catch(c){r[I]=J}if(r[K]||k(r,K,c),y[c])for(var u in x)if(r[u]!==x[u])try{k(r,u,x[u])}catch(c){r[u]=x[u]}}};for(var oe in y)handlePrototype(p[oe]&amp;&amp;p[oe].prototype,oe);handlePrototype(w,"DOMTokenList")},65556:function(r,c,u){"use strict";u(66992);var p=u(82109),y=u(17854),w=u(46916),x=u(1702),k=u(19781),E=u(85143),I=u(98052),K=u(47045),J=u(89190),oe=u(58003),ie=u(63061),ae=u(29909),se=u(25787),ue=u(60614),le=u(92597),pe=u(49974),de=u(70648),he=u(19670),ge=u(70111),ve=u(41340),we=u(70030),Se=u(79114),Oe=u(18554),Pe=u(71246),Le=u(48053),Ie=u(5112),je=u(94362),De=Ie("iterator"),Ue="URLSearchParams",Fe=Ue+"Iterator",Ze=ae.set,$e=ae.getterFor(Ue),Ge=ae.getterFor(Fe),We=Object.getOwnPropertyDescriptor,safeGetBuiltIn=function(r){if(!k)return y[r];var c=We(y,r);return c&amp;&amp;c.value},Ke=safeGetBuiltIn("fetch"),Je=safeGetBuiltIn("Request"),Ye=safeGetBuiltIn("Headers"),Xe=Je&amp;&amp;Je.prototype,Qe=Ye&amp;&amp;Ye.prototype,et=y.RegExp,rt=y.TypeError,nt=y.decodeURIComponent,ot=y.encodeURIComponent,it=x("".charAt),st=x([].join),ct=x([].push),ut=x("".replace),lt=x([].shift),pt=x([].splice),dt=x("".split),ft=x("".slice),ht=/\+/g,mt=Array(4),percentSequence=function(r){return mt[r-1]||(mt[r-1]=et("((?:%[\\da-f]{2}){"+r+"})","gi"))},percentDecode=function(r){try{return nt(r)}catch(c){return r}},deserialize=function(r){var c=ut(r,ht," "),u=4;try{return nt(c)}catch(r){for(;u;)c=ut(c,percentSequence(u--),percentDecode);return c}},yt=/[!'()~]|%20/g,gt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},replacer=function(r){return gt[r]},serialize=function(r){return ut(ot(r),yt,replacer)},vt=ie((function Iterator(r,c){Ze(this,{type:Fe,iterator:Oe($e(r).entries),kind:c})}),"Iterator",(function next(){var r=Ge(this),c=r.kind,u=r.iterator.next(),p=u.value;return u.done||(u.value="keys"===c?p.key:"values"===c?p.value:[p.key,p.value]),u}),!0),URLSearchParamsState=function(r){this.entries=[],this.url=null,void 0!==r&amp;&amp;(ge(r)?this.parseObject(r):this.parseQuery("string"==typeof r?"?"===it(r,0)?ft(r,1):r:ve(r)))};URLSearchParamsState.prototype={type:Ue,bindURL:function(r){this.url=r,this.update()},parseObject:function(r){var c,u,p,y,x,k,E,I=Pe(r);if(I)for(u=(c=Oe(r,I)).next;!(p=w(u,c)).done;){if(x=(y=Oe(he(p.value))).next,(k=w(x,y)).done||(E=w(x,y)).done||!w(x,y).done)throw rt("Expected sequence with length 2");ct(this.entries,{key:ve(k.value),value:ve(E.value)})}else for(var K in r)le(r,K)&amp;&amp;ct(this.entries,{key:K,value:ve(r[K])})},parseQuery:function(r){if(r)for(var c,u,p=dt(r,"&amp;"),y=0;y&lt;p.length;)(c=p[y++]).length&amp;&amp;(u=dt(c,"="),ct(this.entries,{key:deserialize(lt(u)),value:deserialize(st(u,"="))}))},serialize:function(){for(var r,c=this.entries,u=[],p=0;p&lt;c.length;)r=c[p++],ct(u,serialize(r.key)+"="+serialize(r.value));return st(u,"&amp;")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&amp;&amp;this.url.update()}};var bt=function URLSearchParams(){se(this,_t);var r=Ze(this,new URLSearchParamsState(arguments.length&gt;0?arguments[0]:void 0));k||(this.size=r.entries.length)},_t=bt.prototype;if(J(_t,{append:function append(r,c){var u=$e(this);Le(arguments.length,2),ct(u.entries,{key:ve(r),value:ve(c)}),k||this.length++,u.updateURL()},delete:function(r){for(var c=$e(this),u=Le(arguments.length,1),p=c.entries,y=ve(r),w=u&lt;2?void 0:arguments[1],x=void 0===w?w:ve(w),E=0;E&lt;p.length;){var I=p[E];if(I.key!==y||void 0!==x&amp;&amp;I.value!==x)E++;else if(pt(p,E,1),void 0!==x)break}k||(this.size=p.length),c.updateURL()},get:function get(r){var c=$e(this).entries;Le(arguments.length,1);for(var u=ve(r),p=0;p&lt;c.length;p++)if(c[p].key===u)return c[p].value;return null},getAll:function getAll(r){var c=$e(this).entries;Le(arguments.length,1);for(var u=ve(r),p=[],y=0;y&lt;c.length;y++)c[y].key===u&amp;&amp;ct(p,c[y].value);return p},has:function has(r){for(var c=$e(this).entries,u=Le(arguments.length,1),p=ve(r),y=u&lt;2?void 0:arguments[1],w=void 0===y?y:ve(y),x=0;x&lt;c.length;){var k=c[x++];if(k.key===p&amp;&amp;(void 0===w||k.value===w))return!0}return!1},set:function set(r,c){var u=$e(this);Le(arguments.length,1);for(var p,y=u.entries,w=!1,x=ve(r),E=ve(c),I=0;I&lt;y.length;I++)(p=y[I]).key===x&amp;&amp;(w?pt(y,I--,1):(w=!0,p.value=E));w||ct(y,{key:x,value:E}),k||(this.size=y.length),u.updateURL()},sort:function sort(){var r=$e(this);je(r.entries,(function(r,c){return r.key&gt;c.key?1:-1})),r.updateURL()},forEach:function forEach(r){for(var c,u=$e(this).entries,p=pe(r,arguments.length&gt;1?arguments[1]:void 0),y=0;y&lt;u.length;)p((c=u[y++]).value,c.key,this)},keys:function keys(){return new vt(this,"keys")},values:function values(){return new vt(this,"values")},entries:function entries(){return new vt(this,"entries")}},{enumerable:!0}),I(_t,De,_t.entries,{name:"entries"}),I(_t,"toString",(function toString(){return $e(this).serialize()}),{enumerable:!0}),k&amp;&amp;K(_t,"size",{get:function size(){return $e(this).entries.length},configurable:!0,enumerable:!0}),oe(bt,Ue),p({global:!0,constructor:!0,forced:!E},{URLSearchParams:bt}),!E&amp;&amp;ue(Ye)){var wt=x(Qe.has),xt=x(Qe.set),wrapRequestOptions=function(r){if(ge(r)){var c,u=r.body;if(de(u)===Ue)return c=r.headers?new Ye(r.headers):new Ye,wt(c,"content-type")||xt(c,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),we(r,{body:Se(0,ve(u)),headers:Se(0,c)})}return r};if(ue(Ke)&amp;&amp;p({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function fetch(r){return Ke(r,arguments.length&gt;1?wrapRequestOptions(arguments[1]):{})}}),ue(Je)){var kt=function Request(r){return se(this,Xe),new Je(r,arguments.length&gt;1?wrapRequestOptions(arguments[1]):{})};Xe.constructor=kt,kt.prototype=Xe,p({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}r.exports={URLSearchParams:bt,getState:$e}},41637:function(r,c,u){u(65556)},68789:function(r,c,u){"use strict";u(78783);var p,y=u(82109),w=u(19781),x=u(85143),k=u(17854),E=u(49974),I=u(1702),K=u(98052),J=u(47045),oe=u(25787),ie=u(92597),ae=u(21574),se=u(48457),ue=u(41589),le=u(28710).codeAt,pe=u(33197),de=u(41340),he=u(58003),ge=u(48053),ve=u(65556),we=u(29909),Se=we.set,Oe=we.getterFor("URL"),Pe=ve.URLSearchParams,Le=ve.getState,Ie=k.URL,je=k.TypeError,De=k.parseInt,Ue=Math.floor,Fe=Math.pow,Ze=I("".charAt),$e=I(/./.exec),Ge=I([].join),We=I(1..toString),Ke=I([].pop),Je=I([].push),Ye=I("".replace),Xe=I([].shift),Qe=I("".split),et=I("".slice),rt=I("".toLowerCase),nt=I([].unshift),ot="Invalid scheme",it="Invalid host",st="Invalid port",ct=/[a-z]/i,ut=/[\d+-.a-z]/i,lt=/\d/,pt=/^0x/i,dt=/^[0-7]+$/,ft=/^\d+$/,ht=/^[\da-f]+$/i,mt=/[\0\t\n\r #%/:&lt;&gt;?@[\\\]^|]/,yt=/[\0\t\n\r #/:&lt;&gt;?@[\\\]^|]/,gt=/^[\u0000-\u0020]+/,vt=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,bt=/[\t\n\r]/g,serializeHost=function(r){var c,u,p,y;if("number"==typeof r){for(c=[],u=0;u&lt;4;u++)nt(c,r%256),r=Ue(r/256);return Ge(c,".")}if("object"==typeof r){for(c="",p=function(r){for(var c=null,u=1,p=null,y=0,w=0;w&lt;8;w++)0!==r[w]?(y&gt;u&amp;&amp;(c=p,u=y),p=null,y=0):(null===p&amp;&amp;(p=w),++y);return y&gt;u&amp;&amp;(c=p,u=y),c}(r),u=0;u&lt;8;u++)y&amp;&amp;0===r[u]||(y&amp;&amp;(y=!1),p===u?(c+=u?":":"::",y=!0):(c+=We(r[u],16),u&lt;7&amp;&amp;(c+=":")));return"["+c+"]"}return r},_t={},wt=ae({},_t,{" ":1,'"':1,"&lt;":1,"&gt;":1,"`":1}),xt=ae({},wt,{"#":1,"?":1,"{":1,"}":1}),kt=ae({},xt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),percentEncode=function(r,c){var u=le(r,0);return u&gt;32&amp;&amp;u&lt;127&amp;&amp;!ie(c,r)?r:encodeURIComponent(r)},St={ftp:21,file:null,http:80,https:443,ws:80,wss:443},isWindowsDriveLetter=function(r,c){var u;return 2==r.length&amp;&amp;$e(ct,Ze(r,0))&amp;&amp;(":"==(u=Ze(r,1))||!c&amp;&amp;"|"==u)},startsWithWindowsDriveLetter=function(r){var c;return r.length&gt;1&amp;&amp;isWindowsDriveLetter(et(r,0,2))&amp;&amp;(2==r.length||"/"===(c=Ze(r,2))||"\\"===c||"?"===c||"#"===c)},isSingleDot=function(r){return"."===r||"%2e"===rt(r)},Et={},Tt={},Ot={},Ct={},At={},Pt={},Lt={},It={},Rt={},jt={},Nt={},Dt={},Mt={},Ut={},Ft={},Bt={},qt={},Zt={},Vt={},Ht={},$t={},URLState=function(r,c,u){var p,y,w,x=de(r);if(c){if(y=this.parse(x))throw je(y);this.searchParams=null}else{if(void 0!==u&amp;&amp;(p=new URLState(u,!0)),y=this.parse(x,null,p))throw je(y);(w=Le(new Pe)).bindURL(this),this.searchParams=w}};URLState.prototype={type:"URL",parse:function(r,c,u){var y,w,x,k,E,I=this,K=c||Et,J=0,oe="",ae=!1,le=!1,pe=!1;for(r=de(r),c||(I.scheme="",I.username="",I.password="",I.host=null,I.port=null,I.path=[],I.query=null,I.fragment=null,I.cannotBeABaseURL=!1,r=Ye(r,gt,""),r=Ye(r,vt,"$1")),r=Ye(r,bt,""),y=se(r);J&lt;=y.length;){switch(w=y[J],K){case Et:if(!w||!$e(ct,w)){if(c)return ot;K=Ot;continue}oe+=rt(w),K=Tt;break;case Tt:if(w&amp;&amp;($e(ut,w)||"+"==w||"-"==w||"."==w))oe+=rt(w);else{if(":"!=w){if(c)return ot;oe="",K=Ot,J=0;continue}if(c&amp;&amp;(I.isSpecial()!=ie(St,oe)||"file"==oe&amp;&amp;(I.includesCredentials()||null!==I.port)||"file"==I.scheme&amp;&amp;!I.host))return;if(I.scheme=oe,c)return void(I.isSpecial()&amp;&amp;St[I.scheme]==I.port&amp;&amp;(I.port=null));oe="","file"==I.scheme?K=Ut:I.isSpecial()&amp;&amp;u&amp;&amp;u.scheme==I.scheme?K=Ct:I.isSpecial()?K=It:"/"==y[J+1]?(K=At,J++):(I.cannotBeABaseURL=!0,Je(I.path,""),K=Vt)}break;case Ot:if(!u||u.cannotBeABaseURL&amp;&amp;"#"!=w)return ot;if(u.cannotBeABaseURL&amp;&amp;"#"==w){I.scheme=u.scheme,I.path=ue(u.path),I.query=u.query,I.fragment="",I.cannotBeABaseURL=!0,K=$t;break}K="file"==u.scheme?Ut:Pt;continue;case Ct:if("/"!=w||"/"!=y[J+1]){K=Pt;continue}K=Rt,J++;break;case At:if("/"==w){K=jt;break}K=Zt;continue;case Pt:if(I.scheme=u.scheme,w==p)I.username=u.username,I.password=u.password,I.host=u.host,I.port=u.port,I.path=ue(u.path),I.query=u.query;else if("/"==w||"\\"==w&amp;&amp;I.isSpecial())K=Lt;else if("?"==w)I.username=u.username,I.password=u.password,I.host=u.host,I.port=u.port,I.path=ue(u.path),I.query="",K=Ht;else{if("#"!=w){I.username=u.username,I.password=u.password,I.host=u.host,I.port=u.port,I.path=ue(u.path),I.path.length--,K=Zt;continue}I.username=u.username,I.password=u.password,I.host=u.host,I.port=u.port,I.path=ue(u.path),I.query=u.query,I.fragment="",K=$t}break;case Lt:if(!I.isSpecial()||"/"!=w&amp;&amp;"\\"!=w){if("/"!=w){I.username=u.username,I.password=u.password,I.host=u.host,I.port=u.port,K=Zt;continue}K=jt}else K=Rt;break;case It:if(K=Rt,"/"!=w||"/"!=Ze(oe,J+1))continue;J++;break;case Rt:if("/"!=w&amp;&amp;"\\"!=w){K=jt;continue}break;case jt:if("@"==w){ae&amp;&amp;(oe="%40"+oe),ae=!0,x=se(oe);for(var he=0;he&lt;x.length;he++){var ge=x[he];if(":"!=ge||pe){var ve=percentEncode(ge,kt);pe?I.password+=ve:I.username+=ve}else pe=!0}oe=""}else if(w==p||"/"==w||"?"==w||"#"==w||"\\"==w&amp;&amp;I.isSpecial()){if(ae&amp;&amp;""==oe)return"Invalid authority";J-=se(oe).length+1,oe="",K=Nt}else oe+=w;break;case Nt:case Dt:if(c&amp;&amp;"file"==I.scheme){K=Bt;continue}if(":"!=w||le){if(w==p||"/"==w||"?"==w||"#"==w||"\\"==w&amp;&amp;I.isSpecial()){if(I.isSpecial()&amp;&amp;""==oe)return it;if(c&amp;&amp;""==oe&amp;&amp;(I.includesCredentials()||null!==I.port))return;if(k=I.parseHost(oe))return k;if(oe="",K=qt,c)return;continue}"["==w?le=!0:"]"==w&amp;&amp;(le=!1),oe+=w}else{if(""==oe)return it;if(k=I.parseHost(oe))return k;if(oe="",K=Mt,c==Dt)return}break;case Mt:if(!$e(lt,w)){if(w==p||"/"==w||"?"==w||"#"==w||"\\"==w&amp;&amp;I.isSpecial()||c){if(""!=oe){var we=De(oe,10);if(we&gt;65535)return st;I.port=I.isSpecial()&amp;&amp;we===St[I.scheme]?null:we,oe=""}if(c)return;K=qt;continue}return st}oe+=w;break;case Ut:if(I.scheme="file","/"==w||"\\"==w)K=Ft;else{if(!u||"file"!=u.scheme){K=Zt;continue}if(w==p)I.host=u.host,I.path=ue(u.path),I.query=u.query;else if("?"==w)I.host=u.host,I.path=ue(u.path),I.query="",K=Ht;else{if("#"!=w){startsWithWindowsDriveLetter(Ge(ue(y,J),""))||(I.host=u.host,I.path=ue(u.path),I.shortenPath()),K=Zt;continue}I.host=u.host,I.path=ue(u.path),I.query=u.query,I.fragment="",K=$t}}break;case Ft:if("/"==w||"\\"==w){K=Bt;break}u&amp;&amp;"file"==u.scheme&amp;&amp;!startsWithWindowsDriveLetter(Ge(ue(y,J),""))&amp;&amp;(isWindowsDriveLetter(u.path[0],!0)?Je(I.path,u.path[0]):I.host=u.host),K=Zt;continue;case Bt:if(w==p||"/"==w||"\\"==w||"?"==w||"#"==w){if(!c&amp;&amp;isWindowsDriveLetter(oe))K=Zt;else if(""==oe){if(I.host="",c)return;K=qt}else{if(k=I.parseHost(oe))return k;if("localhost"==I.host&amp;&amp;(I.host=""),c)return;oe="",K=qt}continue}oe+=w;break;case qt:if(I.isSpecial()){if(K=Zt,"/"!=w&amp;&amp;"\\"!=w)continue}else if(c||"?"!=w)if(c||"#"!=w){if(w!=p&amp;&amp;(K=Zt,"/"!=w))continue}else I.fragment="",K=$t;else I.query="",K=Ht;break;case Zt:if(w==p||"/"==w||"\\"==w&amp;&amp;I.isSpecial()||!c&amp;&amp;("?"==w||"#"==w)){if(".."===(E=rt(E=oe))||"%2e."===E||".%2e"===E||"%2e%2e"===E?(I.shortenPath(),"/"==w||"\\"==w&amp;&amp;I.isSpecial()||Je(I.path,"")):isSingleDot(oe)?"/"==w||"\\"==w&amp;&amp;I.isSpecial()||Je(I.path,""):("file"==I.scheme&amp;&amp;!I.path.length&amp;&amp;isWindowsDriveLetter(oe)&amp;&amp;(I.host&amp;&amp;(I.host=""),oe=Ze(oe,0)+":"),Je(I.path,oe)),oe="","file"==I.scheme&amp;&amp;(w==p||"?"==w||"#"==w))for(;I.path.length&gt;1&amp;&amp;""===I.path[0];)Xe(I.path);"?"==w?(I.query="",K=Ht):"#"==w&amp;&amp;(I.fragment="",K=$t)}else oe+=percentEncode(w,xt);break;case Vt:"?"==w?(I.query="",K=Ht):"#"==w?(I.fragment="",K=$t):w!=p&amp;&amp;(I.path[0]+=percentEncode(w,_t));break;case Ht:c||"#"!=w?w!=p&amp;&amp;("'"==w&amp;&amp;I.isSpecial()?I.query+="%27":I.query+="#"==w?"%23":percentEncode(w,_t)):(I.fragment="",K=$t);break;case $t:w!=p&amp;&amp;(I.fragment+=percentEncode(w,wt))}J++}},parseHost:function(r){var c,u,p;if("["==Ze(r,0)){if("]"!=Ze(r,r.length-1))return it;if(c=function(r){var c,u,p,y,w,x,k,E=[0,0,0,0,0,0,0,0],I=0,K=null,J=0,chr=function(){return Ze(r,J)};if(":"==chr()){if(":"!=Ze(r,1))return;J+=2,K=++I}for(;chr();){if(8==I)return;if(":"!=chr()){for(c=u=0;u&lt;4&amp;&amp;$e(ht,chr());)c=16*c+De(chr(),16),J++,u++;if("."==chr()){if(0==u)return;if(J-=u,I&gt;6)return;for(p=0;chr();){if(y=null,p&gt;0){if(!("."==chr()&amp;&amp;p&lt;4))return;J++}if(!$e(lt,chr()))return;for(;$e(lt,chr());){if(w=De(chr(),10),null===y)y=w;else{if(0==y)return;y=10*y+w}if(y&gt;255)return;J++}E[I]=256*E[I]+y,2!=++p&amp;&amp;4!=p||I++}if(4!=p)return;break}if(":"==chr()){if(J++,!chr())return}else if(chr())return;E[I++]=c}else{if(null!==K)return;J++,K=++I}}if(null!==K)for(x=I-K,I=7;0!=I&amp;&amp;x&gt;0;)k=E[I],E[I--]=E[K+x-1],E[K+--x]=k;else if(8!=I)return;return E}(et(r,1,-1)),!c)return it;this.host=c}else if(this.isSpecial()){if(r=pe(r),$e(mt,r))return it;if(c=function(r){var c,u,p,y,w,x,k,E=Qe(r,".");if(E.length&amp;&amp;""==E[E.length-1]&amp;&amp;E.length--,(c=E.length)&gt;4)return r;for(u=[],p=0;p&lt;c;p++){if(""==(y=E[p]))return r;if(w=10,y.length&gt;1&amp;&amp;"0"==Ze(y,0)&amp;&amp;(w=$e(pt,y)?16:8,y=et(y,8==w?1:2)),""===y)x=0;else{if(!$e(10==w?ft:8==w?dt:ht,y))return r;x=De(y,w)}Je(u,x)}for(p=0;p&lt;c;p++)if(x=u[p],p==c-1){if(x&gt;=Fe(256,5-c))return null}else if(x&gt;255)return null;for(k=Ke(u),p=0;p&lt;u.length;p++)k+=u[p]*Fe(256,3-p);return k}(r),null===c)return it;this.host=c}else{if($e(yt,r))return it;for(c="",u=se(r),p=0;p&lt;u.length;p++)c+=percentEncode(u[p],_t);this.host=c}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return ie(St,this.scheme)},shortenPath:function(){var r=this.path,c=r.length;!c||"file"==this.scheme&amp;&amp;1==c&amp;&amp;isWindowsDriveLetter(r[0],!0)||r.length--},serialize:function(){var r=this,c=r.scheme,u=r.username,p=r.password,y=r.host,w=r.port,x=r.path,k=r.query,E=r.fragment,I=c+":";return null!==y?(I+="//",r.includesCredentials()&amp;&amp;(I+=u+(p?":"+p:"")+"@"),I+=serializeHost(y),null!==w&amp;&amp;(I+=":"+w)):"file"==c&amp;&amp;(I+="//"),I+=r.cannotBeABaseURL?x[0]:x.length?"/"+Ge(x,"/"):"",null!==k&amp;&amp;(I+="?"+k),null!==E&amp;&amp;(I+="#"+E),I},setHref:function(r){var c=this.parse(r);if(c)throw je(c);this.searchParams.update()},getOrigin:function(){var r=this.scheme,c=this.port;if("blob"==r)try{return new zt(r.path[0]).origin}catch(r){return"null"}return"file"!=r&amp;&amp;this.isSpecial()?r+"://"+serializeHost(this.host)+(null!==c?":"+c:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(r){this.parse(de(r)+":",Et)},getUsername:function(){return this.username},setUsername:function(r){var c=se(de(r));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var u=0;u&lt;c.length;u++)this.username+=percentEncode(c[u],kt)}},getPassword:function(){return this.password},setPassword:function(r){var c=se(de(r));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var u=0;u&lt;c.length;u++)this.password+=percentEncode(c[u],kt)}},getHost:function(){var r=this.host,c=this.port;return null===r?"":null===c?serializeHost(r):serializeHost(r)+":"+c},setHost:function(r){this.cannotBeABaseURL||this.parse(r,Nt)},getHostname:function(){var r=this.host;return null===r?"":serializeHost(r)},setHostname:function(r){this.cannotBeABaseURL||this.parse(r,Dt)},getPort:function(){var r=this.port;return null===r?"":de(r)},setPort:function(r){this.cannotHaveUsernamePasswordPort()||(""==(r=de(r))?this.port=null:this.parse(r,Mt))},getPathname:function(){var r=this.path;return this.cannotBeABaseURL?r[0]:r.length?"/"+Ge(r,"/"):""},setPathname:function(r){this.cannotBeABaseURL||(this.path=[],this.parse(r,qt))},getSearch:function(){var r=this.query;return r?"?"+r:""},setSearch:function(r){""==(r=de(r))?this.query=null:("?"==Ze(r,0)&amp;&amp;(r=et(r,1)),this.query="",this.parse(r,Ht)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var r=this.fragment;return r?"#"+r:""},setHash:function(r){""!=(r=de(r))?("#"==Ze(r,0)&amp;&amp;(r=et(r,1)),this.fragment="",this.parse(r,$t)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var zt=function URL(r){var c=oe(this,Gt),u=ge(arguments.length,1)&gt;1?arguments[1]:void 0,p=Se(c,new URLState(r,!1,u));w||(c.href=p.serialize(),c.origin=p.getOrigin(),c.protocol=p.getProtocol(),c.username=p.getUsername(),c.password=p.getPassword(),c.host=p.getHost(),c.hostname=p.getHostname(),c.port=p.getPort(),c.pathname=p.getPathname(),c.search=p.getSearch(),c.searchParams=p.getSearchParams(),c.hash=p.getHash())},Gt=zt.prototype,accessorDescriptor=function(r,c){return{get:function(){return Oe(this)[r]()},set:c&amp;&amp;function(r){return Oe(this)[c](r)},configurable:!0,enumerable:!0}};if(w&amp;&amp;(J(Gt,"href",accessorDescriptor("serialize","setHref")),J(Gt,"origin",accessorDescriptor("getOrigin")),J(Gt,"protocol",accessorDescriptor("getProtocol","setProtocol")),J(Gt,"username",accessorDescriptor("getUsername","setUsername")),J(Gt,"password",accessorDescriptor("getPassword","setPassword")),J(Gt,"host",accessorDescriptor("getHost","setHost")),J(Gt,"hostname",accessorDescriptor("getHostname","setHostname")),J(Gt,"port",accessorDescriptor("getPort","setPort")),J(Gt,"pathname",accessorDescriptor("getPathname","setPathname")),J(Gt,"search",accessorDescriptor("getSearch","setSearch")),J(Gt,"searchParams",accessorDescriptor("getSearchParams")),J(Gt,"hash",accessorDescriptor("getHash","setHash"))),K(Gt,"toJSON",(function toJSON(){return Oe(this).serialize()}),{enumerable:!0}),K(Gt,"toString",(function toString(){return Oe(this).serialize()}),{enumerable:!0}),Ie){var Wt=Ie.createObjectURL,Kt=Ie.revokeObjectURL;Wt&amp;&amp;K(zt,"createObjectURL",E(Wt,Ie)),Kt&amp;&amp;K(zt,"revokeObjectURL",E(Kt,Ie))}he(zt,"URL"),y({global:!0,constructor:!0,forced:!x,sham:!w},{URL:zt})},60285:function(r,c,u){u(68789)},54316:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.commonArrow_UCYqH {\n  position: absolute;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  top: calc(50% + 10px);\n  background: white;\n  display: -webkit-inline-box;\n  display: -ms-inline-flexbox;\n  display: inline-flex;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n  -webkit-box-pack: center;\n      -ms-flex-pack: center;\n          justify-content: center;\n  cursor: pointer;\n  border: none;\n  outline: none;\n  border-radius: 20px;\n  height: 40px;\n  width: 40px;\n  -webkit-box-shadow: 0 2px 4px 0 rgb(0 0 0 / 15%);\n          box-shadow: 0 2px 4px 0 rgb(0 0 0 / 15%);\n}\n\n.leftArrow_XNmiT {\n  left: -50px;\n}\n\n.rightArrow_aW7pV {\n  right: 11px;\n}\n\n.rightarrowimage_zpXFd {\n  width: 18px;\n  height: 18px;\n}\n\n.leftarrowimage_GPaOG {\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n",""]),x.locals={commonArrow:"commonArrow_UCYqH",leftArrow:"leftArrow_XNmiT",rightArrow:"rightArrow_aW7pV",rightarrowimage:"rightarrowimage_zpXFd",leftarrowimage:"leftarrowimage_GPaOG rightarrowimage_zpXFd"},c.Z=x},49448:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.text_ZxMww {\n  color: rgb(150, 150, 150);\n  font-size: 0.8em;\n  text-align: center;\n  margin: 0;\n}\n\n.container_QA6bn {\n  border-radius: 8px;\n  background: rgba(0, 0, 0, 0);\n  color: rgb(0, 0, 0);\n  white-space: break-spaces;\n  padding: 0 16px;\n  position: relative;\n  -webkit-box-sizing: unset;\n          box-sizing: unset;\n  opacity: 1;\n  -webkit-box-align: start;\n      -ms-flex-align: start;\n          align-items: flex-start;\n  line-height: 20px;\n  font-size: 13px;\n  margin: 16px 0;\n}\n",""]),x.locals={text:"text_ZxMww",container:"container_QA6bn"},c.Z=x},63301:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,".fakeInput_jblNG {\n  width: 100%;\n  min-width: 150px;\n  height: 32px;\n  line-height: 32px;\n  text-overflow: ellipsis;\n  overflow: hidden;\n  white-space: nowrap;\n  text-align: left;\n  -ms-touch-action: manipulation;\n      touch-action: manipulation;\n  background-color: #fff;\n  position: relative;\n  padding: 0 8px;\n  border-radius: 4px;\n  border: 1px solid #d7dbde;\n  -webkit-transition: border 0.2s ease;\n  transition: border 0.2s ease;\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-pack: justify;\n      -ms-flex-pack: justify;\n          justify-content: space-between;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n  font-size: 14px;\n  cursor: pointer;\n  color: #202830;\n}\n\n.fakeInput_jblNG:hover {\n  border-color: #aeb3b8;\n}\n\n.fakeInput_jblNG[data-focus='true'] {\n  border-color: #3e048b;\n  -webkit-box-shadow: 0 0 0 1px #8635f2;\n          box-shadow: 0 0 0 1px #8635f2;\n}\n\n.fakeInput_jblNG &gt; .placeholder_rHqek {\n  color: #d7dbde;\n}\n\n.fakeInput_jblNG &gt; .arrowIcon_t33yg {\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n  -webkit-transition: -webkit-transform 0.2s ease;\n  transition: -webkit-transform 0.2s ease;\n  transition: transform 0.2s ease;\n  transition: transform 0.2s ease, -webkit-transform 0.2s ease;\n}\n\n.fakeInput_jblNG[data-focus='true'] &gt; .arrowIcon_t33yg {\n  -webkit-transform: rotate(-90deg);\n          transform: rotate(-90deg);\n}\n\n.popup_JxgV0 {\n  background-color: #fff;\n  color: #202830;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);\n          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);\n  border-radius: 4px;\n  visibility: hidden;\n  opacity: 0;\n  height: 0;\n  -webkit-transition: all 0.1s ease-in-out;\n  transition: all 0.1s ease-in-out;\n}\n\n.popupVisible_BN1WX {\n  opacity: 1;\n  visibility: visible;\n  height: auto;\n}\n\n.optionList_K6Lbw {\n  width: 160px;\n  max-height: 250px;\n  overflow: auto;\n  padding: 8px;\n  margin: 0;\n  list-style: none;\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-orient: vertical;\n  -webkit-box-direction: normal;\n      -ms-flex-flow: column nowrap;\n          flex-flow: column nowrap;\n  -webkit-box-flex: 1;\n      -ms-flex-positive: 1;\n          flex-grow: 1;\n  -ms-flex-negative: 0;\n      flex-shrink: 0;\n  gap: 4px;\n  background-color: #fff;\n  border-radius: 4px;\n}\n\n.optionItem_POkF0 {\n  width: 100%;\n  -webkit-box-flex: 1;\n      -ms-flex: 1;\n          flex: 1;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  -webkit-transition-property: background-color, color;\n  transition-property: background-color, color;\n  -webkit-transition-duration: 0.2s;\n          transition-duration: 0.2s;\n  -webkit-transition-timing-function: ease;\n          transition-timing-function: ease;\n  white-space: nowrap;\n  text-align: left;\n}\n\n.optionItem_POkF0 button {\n  width: 100%;\n  height: 32px;\n  line-height: 32px;\n  font-size: 14px;\n  padding: 0 8px;\n  border: none;\n  text-align: left;\n  background: unset;\n  cursor: pointer;\n  color: #202830;\n}\n\n.optionItem_POkF0:hover,\n.optionItem_POkF0:focus {\n  border-radius: 4px;\n  background-color: #f2f4f5;\n}\n\n.optionItem_POkF0:active {\n  color: #6f767d;\n  background-color: #f2f4f5;\n  border-radius: 4px;\n}\n\n.optionItem_POkF0[data-disabled='true'] {\n  opacity: 0.4;\n  pointer-events: none;\n}\n\n.optionItem_POkF0[data-disabled='true'] button {\n  cursor: not-allowed;\n}\n\n.optionItem_POkF0[data-active='true'] {\n  background-color: #f1edf8;\n  color: #3e048b;\n}\n",""]),x.locals={fakeInput:"fakeInput_jblNG",placeholder:"placeholder_rHqek",arrowIcon:"arrowIcon_t33yg",popup:"popup_JxgV0",popupVisible:"popupVisible_BN1WX",optionList:"optionList_K6Lbw",optionItem:"optionItem_POkF0"},c.Z=x},60394:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n.headerWrapper_ITaQO {\n  border-radius: 8px 8px 0 0;\n  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);\n          box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);\n  height: 56px;\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n  color: #fff;\n  padding: 0 12px;\n}\n\n.headerIcon_ui9PC {\n  margin: 12px 14px 12px 6px;\n  width: 32px;\n  height: 32px;\n  border-radius: 50%;\n}\n\n.headerTitleWrapper_x4L1L {\n  width: 100%;\n}\n\n#headerTitle_ADYYP.headerTitle_ADYYP {\n  font-family: Roboto-Regular, sans-serif;\n  font-size: 14px;\n  height: 16px;\n  margin: 0;\n}\n\n.headerSubTitle_aTxw6 {\n  font-size: 10px;\n  height: 11px;\n  color: #a1acc9;\n  margin: 0;\n}\n",""]),x.locals={headerWrapper:"headerWrapper_ITaQO",headerIcon:"headerIcon_ui9PC",headerTitleWrapper:"headerTitleWrapper_x4L1L",headerTitle:"headerTitle_ADYYP",headerSubTitle:"headerSubTitle_aTxw6"},c.Z=x},81519:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n.operationButton_zeVGi {\n  background: inherit;\n  border: none;\n  color: inherit;\n  cursor: pointer;\n  font-size: 16px;\n  padding: 0;\n  margin: 0 4px;\n}\n",""]),x.locals={operationButton:"operationButton_zeVGi"},c.Z=x},93942:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n.customVideo_rc21c {\n  background-color: rgba(0, 0, 0, 0.5);\n  border-radius: 8px;\n  max-height: 180px;\n  max-width: 300px;\n}\n",""]),x.locals={customVideo:"customVideo_rc21c"},c.Z=x},72164:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.customReplyContainer_ZNX8A {\n  border: 1px solid;\n  border-radius: 8px;\n  padding: 7px 12px;\n  cursor: pointer;\n  font-size: 13px;\n}\n",""]),x.locals={customReplyContainer:"customReplyContainer_ZNX8A"},c.Z=x},61604:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.customSendButtonContainer_e0Dik {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n  padding-right: 15px;\n  cursor: pointer;\n  margin-bottom: 3px;\n}\n\n.isDisable_flxln {\n  cursor: not-allowed;\n  opacity: 0.5;\n}\n",""]),x.locals={customSendButtonContainer:"customSendButtonContainer_e0Dik",isDisable:"isDisable_flxln"},c.Z=x},29341:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.customStartChatButtonWrapper_m1vTZ {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-pack: center;\n      -ms-flex-pack: center;\n          justify-content: center;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n  padding-bottom: 10px;\n}\n\n.customStartChatButton_stj3O {\n  cursor: pointer;\n  height: 32px;\n  width: 91%;\n  font-size: 14px;\n  text-align: center;\n  border: 1px solid rgb(84, 5, 189);\n  border-radius: 8px;\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-pack: center;\n      -ms-flex-pack: center;\n          justify-content: center;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n}\n",""]),x.locals={customStartChatButtonWrapper:"customStartChatButtonWrapper_m1vTZ",customStartChatButton:"customStartChatButton_stj3O"},c.Z=x},67090:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.timestamp_RqZhf {\n  /* stylelint-disable declaration-colon-newline-after, value-list-comma-newline-after  */\n  font-family: -apple-system, BlinkMacSystemFont, 'avenir next', avenir, 'segoe ui',\n    'helvetica neue', helvetica, Ubuntu, roboto, noto, arial, sans-serif;\n  font-size: 10px;\n  color: rgb(111, 118, 125);\n  width: 100%;\n  text-align: left;\n  line-height: normal;\n  margin-top: 10px;\n  margin-left: 4px;\n}\n",""]),x.locals={timestamp:"timestamp_RqZhf"},c.Z=x},40528:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.timestamp_QMgaV {\n  /* stylelint-disable declaration-colon-newline-after, value-list-comma-newline-after  */\n  font-family: -apple-system, BlinkMacSystemFont, 'avenir next', avenir, 'segoe ui',\n    'helvetica neue', helvetica, Ubuntu, roboto, noto, arial, sans-serif;\n  font-size: 10px;\n  color: rgb(111, 118, 125);\n  width: 100%;\n  text-align: right;\n  line-height: normal;\n  margin-top: 10px;\n  margin-left: -1px;\n}\n",""]),x.locals={timestamp:"timestamp_QMgaV"},c.Z=x},11131:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.tipMessageContainer_HmfFo {\n  position: absolute;\n  left: 10px;\n  right: 10px;\n  top: 66px;\n  padding: 12px 14px;\n  border-radius: 4px;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n  color: #fff;\n}\n\n.tipMessageContainer-success_BCW3K {\n  background-color: #00874f;\n}\n\n.tipMessageContainer-error_TxLSe {\n  background-color: #db362a;\n}\n\n.tipMessage_yAkg0 {\n  font-family: Roboto, sans-serif;\n  font-style: normal;\n  font-weight: 400;\n  font-size: 14px;\n  line-height: 142%;\n}\n",""]),x.locals={tipMessageContainer:"tipMessageContainer_HmfFo","tipMessageContainer-success":"tipMessageContainer-success_BCW3K","tipMessageContainer-error":"tipMessageContainer-error_TxLSe",tipMessage:"tipMessage_yAkg0"},c.Z=x},24799:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n@-webkit-keyframes blink_FpmhY {\n  50% {\n    opacity: 1;\n  }\n}\n\n@keyframes blink_FpmhY {\n  50% {\n    opacity: 1;\n  }\n}\n\n.typingIndicatorContainer_Ti6bz {\n  margin: 8px;\n}\n\n.customTypingIndicator_N7thE {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-pack: center;\n      -ms-flex-pack: center;\n          justify-content: center;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n}\n\n.avatarWrapper_Diuc0 {\n  -ms-flex-item-align: end;\n      align-self: flex-end;\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  width: 52px;\n  -webkit-box-pack: center;\n      -ms-flex-pack: center;\n          justify-content: center;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n}\n\n.wrapper_YKMFo {\n  width: 0;\n  -webkit-box-flex: 1;\n      -ms-flex: 1;\n          flex: 1;\n}\n\n.bubbleText_N7CMq {\n  will-change: transform;\n  width: 44px;\n  line-height: 0px;\n  border-radius: 8px;\n  padding: 14px 0;\n  text-align: center;\n  display: block;\n  position: relative;\n}\n\n.bubbleText_N7CMq span {\n  height: 6px;\n  width: 6px;\n  margin: 0 1px;\n  background-color: #9e9ea1;\n  display: inline-block;\n  border-radius: 50%;\n  opacity: 0.4;\n\n  &amp;:nth-of-type(1) {\n    -webkit-animation: 1s blink_FpmhY infinite 0.3333s;\n            animation: 1s blink_FpmhY infinite 0.3333s;\n  }\n\n  &amp;:nth-of-type(2) {\n    -webkit-animation: 1s blink_FpmhY infinite 0.6666s;\n            animation: 1s blink_FpmhY infinite 0.6666s;\n  }\n\n  &amp;:nth-of-type(3) {\n    -webkit-animation: 1s blink_FpmhY infinite 0.9999s;\n            animation: 1s blink_FpmhY infinite 0.9999s;\n  }\n}\n",""]),x.locals={typingIndicatorContainer:"typingIndicatorContainer_Ti6bz",customTypingIndicator:"customTypingIndicator_N7thE",avatarWrapper:"avatarWrapper_Diuc0",wrapper:"wrapper_YKMFo",bubbleText:"bubbleText_N7CMq",blink:"blink_FpmhY"},c.Z=x},70014:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.textBox_card7 {\n  -webkit-box-flex: 1;\n      -ms-flex: 1;\n          flex: 1;\n  color: rgb(111, 118, 125);\n  font-size: 12px;\n  text-align: left;\n}\n\n.topBox_ps2g1 {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-pack: center;\n      -ms-flex-pack: center;\n          justify-content: center;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n}\n\n.textBox_card7 hr {\n  margin: 0;\n  border: none;\n  border-bottom: 1px dashed #e8eaeb;\n}\n\n.bottomBox_uKE9o {\n  padding-left: 50px;\n  overflow: hidden;\n}\n\n.gray_se1UL {\n  color: #aeb3b8;\n}\n\n.feedbackTipBox_p78j0 {\n  padding: 0 12px 0 0;\n  border: 1px solid #e8eaeb;\n  border-radius: 4px;\n}\n\n.feedbackTipBox_p78j0 p {\n  font-size: 12px;\n}\n\n.feedbackTipBox_p78j0 img {\n  width: 20px;\n  height: 20px;\n  padding: 15px;\n}\n",""]),x.locals={textBox:"textBox_card7",topBox:"topBox_ps2g1",bottomBox:"bottomBox_uKE9o",gray:"gray_se1UL",feedbackTipBox:"feedbackTipBox_p78j0"},c.Z=x},39605:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.text_lW3qT {\n  color: rgb(150, 150, 150);\n  font-size: 0.8em;\n  text-align: center;\n}\n",""]),x.locals={text:"text_lW3qT"},c.Z=x},34381:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.placeholder_x4I_2 {\n  width: 52px;\n}\n\n.isError_AeBAp {\n  border: 2px solid #db362a !important;\n}\n\n.isError_AeBAp:hover {\n  border-color: #ff6459 !important;\n}\n\n.isError_AeBAp:focus {\n  border-color: #ff6459 !important;\n}\n\n.isRequired_QuOtt {\n  color: red;\n}\n",""]),x.locals={placeholder:"placeholder_x4I_2",isError:"isError_AeBAp",isRequired:"isRequired_QuOtt"},c.Z=x},32875:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.carousel_Pt7Jh {\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -ms-flex-wrap: nowrap;\n      flex-wrap: nowrap;\n  overflow-x: hidden;\n  -webkit-overflow-scrolling: touch;\n  min-width: 300px;\n  margin-left: -60px;\n  padding-left: 56px;\n}\n\n@media only screen and (max-width: 620px), (max-height: 620px) {\n  .carousel_Pt7Jh {\n    overflow-x: auto;\n  }\n}\n\n.carouselItem_reo9a {\n  -webkit-box-flex: 0;\n      -ms-flex: 0 0 auto;\n          flex: 0 0 auto;\n}\n\n.carouselItem_reo9a &gt; div {\n  -webkit-box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.25);\n          box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.25);\n  margin: 5px 12px 7px 4px;\n  border-radius: 10px;\n  border: 0;\n  width: 223px;\n}\n\n.carouselItem_reo9a:last-child &gt; div {\n  margin-right: 76px;\n}\n\n.carouselItemTitle_edutM {\n  font-weight: 500;\n  padding: 13px 0 4px 12px;\n  font-size: 14px;\n}\n\n.carouselItemText_DGT7u {\n  font-size: 12px;\n  padding: 0 12px 0 12px;\n  margin-bottom: 5px;\n  line-height: 16px;\n  display: -webkit-box;\n  -webkit-line-clamp: 2;\n  -webkit-box-orient: vertical;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n.carouselItemImage_fgWNQ {\n  height: 129px;\n}\n\n.timestamp_xRXVy {\n  /* stylelint-disable declaration-colon-newline-after, value-list-comma-newline-after  */\n  font-family: -apple-system, BlinkMacSystemFont, 'avenir next', avenir, 'segoe ui',\n    'helvetica neue', helvetica, Ubuntu, roboto, noto, arial, sans-serif;\n  font-size: 10px;\n  color: rgb(111, 118, 125);\n  width: 100%;\n  text-align: left;\n  line-height: normal;\n  margin-top: 10px;\n  margin-left: 4px;\n}\n",""]),x.locals={carousel:"carousel_Pt7Jh",carouselItem:"carouselItem_reo9a",carouselItemTitle:"carouselItemTitle_edutM",carouselItemText:"carouselItemText_DGT7u",carouselItemImage:"carouselItemImage_fgWNQ",timestamp:"timestamp_xRXVy"},c.Z=x},51402:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,".timestamp_flcrO {\n  /* stylelint-disable declaration-colon-newline-after, value-list-comma-newline-after  */\n  font-family: -apple-system, BlinkMacSystemFont, 'avenir next', avenir, 'segoe ui',\n    'helvetica neue', helvetica, Ubuntu, roboto, noto, arial, sans-serif;\n  font-size: 10px;\n  color: rgb(111, 118, 125);\n  width: 100%;\n  text-align: left;\n  line-height: normal;\n  margin-top: 10px;\n  margin-left: 4px;\n}\n",""]),x.locals={timestamp:"timestamp_flcrO"},c.Z=x},71525:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,".text_rRWR6 {\n  color: rgb(150, 150, 150);\n  font-size: 0.8em;\n  text-align: center;\n  margin: 0;\n}\n\n.feedbackMessageContainer_zH9dL {\n  border-radius: 8px;\n  background: rgba(0, 0, 0, 0);\n  color: rgb(0, 0, 0);\n  white-space: break-spaces;\n  padding: 0 16px;\n  position: relative;\n  -webkit-box-sizing: unset;\n          box-sizing: unset;\n  opacity: 1;\n  -webkit-box-align: start;\n      -ms-flex-align: start;\n          align-items: flex-start;\n  line-height: 20px;\n  font-size: 13px;\n  margin-bottom: 16px;\n}\n\n.feedbackContainer_gPxha {\n  width: calc(100% - 32px);\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-pack: center;\n      -ms-flex-pack: center;\n          justify-content: center;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n}\n\n.feedbackContainer_gPxha iframe {\n  width: 100%;\n  height: 100%;\n  -webkit-box-sizing: border-box;\n          box-sizing: border-box;\n}\n\n.feedbackContainer_gPxha[aria-hidden='true'] {\n  height: 0;\n}\n\n.feedbackContainer_gPxha[aria-hidden='false'] {\n  margin: 0 16px 16px;\n  background-color: #fafafa;\n}\n",""]),x.locals={text:"text_rRWR6",feedbackMessageContainer:"feedbackMessageContainer_zH9dL",feedbackContainer:"feedbackContainer_gPxha"},c.Z=x},13453:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.textBubbleContainer_ICsxB {\n  padding: 8px 12px;\n  margin-bottom: 2px;\n  max-width: 90% !important;\n  overflow-wrap: break-word;\n  -webkit-hyphens: auto;\n      -ms-hyphens: auto;\n          hyphens: auto;\n}\n\n.user_QkJUh {\n  -ms-flex-item-align: end;\n      align-self: flex-end;\n}\n\n.bot_OE0Bm {\n  -ms-flex-item-align: start;\n      align-self: flex-start;\n}\n\n/* stylelint-disable selector-pseudo-class-no-unknown */\n.htmlContentContainer_iloSg {\n  padding: auto;\n}\n\n.htmlContentContainer_iloSg img,\n.htmlContentContainer_iloSg video,\n.htmlContentContainer_iloSg iframe {\n  max-width: 100%;\n  height: auto;\n}\n\n.htmlContentContainer_iloSg table {\n  display: block;\n  overflow-x: auto;\n  white-space: nowrap;\n}\n\n.htmlContentContainer_iloSg [data-qa='km-wrapper-div'] {\n  white-space: normal;\n}\n\n.htmlContentContainer_iloSg [data-qa='km-wrapper-div'] &gt; * {\n  margin-top: 0;\n}\n",""]),x.locals={textBubbleContainer:"textBubbleContainer_ICsxB",user:"user_QkJUh",bot:"bot_OE0Bm",htmlContentContainer:"htmlContentContainer_iloSg"},c.Z=x},46373:function(r,c,u){"use strict";var p=u(8081),y=u.n(p),w=u(23645),x=u.n(w)()(y());x.push([r.id,"/*\n * Talkdesk Confidential\n *\n * Copyright (C) Talkdesk Inc. 2022\n *\n * The source code for this program is not published or otherwise divested\n * of its trade secrets, irrespective of what has been deposited with the\n * U.S. Copyright Office. Unauthorized copying of this file, via any medium\n * is strictly prohibited.\n */\n\n.triggerButtonContainer_Y6_HL {\n  height: 64px;\n  width: 64px;\n  cursor: pointer;\n  position: fixed;\n  border-radius: 50%;\n  display: -webkit-box;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-box-align: center;\n      -ms-flex-align: center;\n          align-items: center;\n  -webkit-box-pack: center;\n      -ms-flex-pack: center;\n          justify-content: center;\n  bottom: 20px;\n  right: 10px;\n  -webkit-box-orient: vertical;\n  -webkit-box-direction: normal;\n      -ms-flex-direction: column;\n          flex-direction: column;\n  text-align: center;\n  z-index: 9999;\n  padding: 0;\n  border: none;\n}\n",""]),x.locals={triggerButtonContainer:"triggerButtonContainer_Y6_HL"},c.Z=x},23645:function(r){"use strict";r.exports=function(r){var c=[];return c.toString=function toString(){return this.map((function(c){var u="",p=void 0!==c[5];return c[4]&amp;&amp;(u+="@supports (".concat(c[4],") {")),c[2]&amp;&amp;(u+="@media ".concat(c[2]," {")),p&amp;&amp;(u+="@layer".concat(c[5].length&gt;0?" ".concat(c[5]):""," {")),u+=r(c),p&amp;&amp;(u+="}"),c[2]&amp;&amp;(u+="}"),c[4]&amp;&amp;(u+="}"),u})).join("")},c.i=function i(r,u,p,y,w){"string"==typeof r&amp;&amp;(r=[[null,r,void 0]]);var x={};if(p)for(var k=0;k&lt;this.length;k++){var E=this[k][0];null!=E&amp;&amp;(x[E]=!0)}for(var I=0;I&lt;r.length;I++){var K=[].concat(r[I]);p&amp;&amp;x[K[0]]||(void 0!==w&amp;&amp;(void 0===K[5]||(K[1]="@layer".concat(K[5].length&gt;0?" ".concat(K[5]):""," {").concat(K[1],"}")),K[5]=w),u&amp;&amp;(K[2]?(K[1]="@media ".concat(K[2]," {").concat(K[1],"}"),K[2]=u):K[2]=u),y&amp;&amp;(K[4]?(K[1]="@supports (".concat(K[4],") {").concat(K[1],"}"),K[4]=y):K[4]="".concat(y)),c.push(K))}},c}},8081:function(r){"use strict";r.exports=function(r){return r[1]}},27484:function(r){r.exports=function(){"use strict";var r="millisecond",c="second",u="minute",p="hour",y="day",w="week",x="month",k="quarter",E="year",I="date",K=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,J=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,oe={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},$=function(r,c,u){var p=String(r);return!p||p.length&gt;=c?r:""+Array(c+1-p.length).join(u)+r},ie={s:$,z:function(r){var c=-r.utcOffset(),u=Math.abs(c),p=Math.floor(u/60),y=u%60;return(c&lt;=0?"+":"-")+$(p,2,"0")+":"+$(y,2,"0")},m:function t(r,c){if(r.date()&lt;c.date())return-t(c,r);var u=12*(c.year()-r.year())+(c.month()-r.month()),p=r.clone().add(u,x),y=c-p&lt;0,w=r.clone().add(u+(y?-1:1),x);return+(-(u+(c-p)/(y?p-w:w-p))||0)},a:function(r){return r&lt;0?Math.ceil(r)||0:Math.floor(r)},p:function(K){return{M:x,y:E,w:w,d:y,D:I,h:p,m:u,s:c,ms:r,Q:k}[K]||String(K||"").toLowerCase().replace(/s$/,"")},u:function(r){return void 0===r}},ae="en",se={};se[ae]=oe;var m=function(r){return r instanceof le},D=function(r,c,u){var p;if(!r)return ae;if("string"==typeof r)se[r]&amp;&amp;(p=r),c&amp;&amp;(se[r]=c,p=r);else{var y=r.name;se[y]=r,p=y}return!u&amp;&amp;p&amp;&amp;(ae=p),p||!u&amp;&amp;ae},v=function(r,c){if(m(r))return r.clone();var u="object"==typeof c?c:{};return u.date=r,u.args=arguments,new le(u)},ue=ie;ue.l=D,ue.i=m,ue.w=function(r,c){return v(r,{locale:c.$L,utc:c.$u,x:c.$x,$offset:c.$offset})};var le=function(){function d(r){this.$L=D(r.locale,null,!0),this.parse(r)}var oe=d.prototype;return oe.parse=function(r){this.$d=function(r){var c=r.date,u=r.utc;if(null===c)return new Date(NaN);if(ue.u(c))return new Date;if(c instanceof Date)return new Date(c);if("string"==typeof c&amp;&amp;!/Z$/i.test(c)){var p=c.match(K);if(p){var y=p[2]-1||0,w=(p[7]||"0").substring(0,3);return u?new Date(Date.UTC(p[1],y,p[3]||1,p[4]||0,p[5]||0,p[6]||0,w)):new Date(p[1],y,p[3]||1,p[4]||0,p[5]||0,p[6]||0,w)}}return new Date(c)}(r),this.$x=r.x||{},this.init()},oe.init=function(){var r=this.$d;this.$y=r.getFullYear(),this.$M=r.getMonth(),this.$D=r.getDate(),this.$W=r.getDay(),this.$H=r.getHours(),this.$m=r.getMinutes(),this.$s=r.getSeconds(),this.$ms=r.getMilliseconds()},oe.$utils=function(){return ue},oe.isValid=function(){return!("Invalid Date"===this.$d.toString())},oe.isSame=function(r,c){var u=v(r);return this.startOf(c)&lt;=u&amp;&amp;u&lt;=this.endOf(c)},oe.isAfter=function(r,c){return v(r)&lt;this.startOf(c)},oe.isBefore=function(r,c){return this.endOf(c)&lt;v(r)},oe.$g=function(r,c,u){return ue.u(r)?this[c]:this.set(u,r)},oe.unix=function(){return Math.floor(this.valueOf()/1e3)},oe.valueOf=function(){return this.$d.getTime()},oe.startOf=function(r,k){var K=this,J=!!ue.u(k)||k,oe=ue.p(r),$=function(r,c){var u=ue.w(K.$u?Date.UTC(K.$y,c,r):new Date(K.$y,c,r),K);return J?u:u.endOf(y)},l=function(r,c){return ue.w(K.toDate()[r].apply(K.toDate("s"),(J?[0,0,0,0]:[23,59,59,999]).slice(c)),K)},ie=this.$W,ae=this.$M,se=this.$D,le="set"+(this.$u?"UTC":"");switch(oe){case E:return J?$(1,0):$(31,11);case x:return J?$(1,ae):$(0,ae+1);case w:var pe=this.$locale().weekStart||0,de=(ie&lt;pe?ie+7:ie)-pe;return $(J?se-de:se+(6-de),ae);case y:case I:return l(le+"Hours",0);case p:return l(le+"Minutes",1);case u:return l(le+"Seconds",2);case c:return l(le+"Milliseconds",3);default:return this.clone()}},oe.endOf=function(r){return this.startOf(r,!1)},oe.$set=function(w,k){var K,J=ue.p(w),oe="set"+(this.$u?"UTC":""),ie=(K={},K[y]=oe+"Date",K[I]=oe+"Date",K[x]=oe+"Month",K[E]=oe+"FullYear",K[p]=oe+"Hours",K[u]=oe+"Minutes",K[c]=oe+"Seconds",K[r]=oe+"Milliseconds",K)[J],ae=J===y?this.$D+(k-this.$W):k;if(J===x||J===E){var se=this.clone().set(I,1);se.$d[ie](ae),se.init(),this.$d=se.set(I,Math.min(this.$D,se.daysInMonth())).$d}else ie&amp;&amp;this.$d[ie](ae);return this.init(),this},oe.set=function(r,c){return this.clone().$set(r,c)},oe.get=function(r){return this[ue.p(r)]()},oe.add=function(r,k){var I,K=this;r=Number(r);var J=ue.p(k),d=function(c){var u=v(K);return ue.w(u.date(u.date()+Math.round(c*r)),K)};if(J===x)return this.set(x,this.$M+r);if(J===E)return this.set(E,this.$y+r);if(J===y)return d(1);if(J===w)return d(7);var oe=(I={},I[u]=6e4,I[p]=36e5,I[c]=1e3,I)[J]||1,ie=this.$d.getTime()+r*oe;return ue.w(ie,this)},oe.subtract=function(r,c){return this.add(-1*r,c)},oe.format=function(r){var c=this;if(!this.isValid())return"Invalid Date";var u=r||"YYYY-MM-DDTHH:mm:ssZ",p=ue.z(this),y=this.$locale(),w=this.$H,x=this.$m,k=this.$M,E=y.weekdays,I=y.months,h=function(r,p,y,w){return r&amp;&amp;(r[p]||r(c,u))||y[p].substr(0,w)},d=function(r){return ue.s(w%12||12,r,"0")},K=y.meridiem||function(r,c,u){var p=r&lt;12?"AM":"PM";return u?p.toLowerCase():p},oe={YY:String(this.$y).slice(-2),YYYY:this.$y,M:k+1,MM:ue.s(k+1,2,"0"),MMM:h(y.monthsShort,k,I,3),MMMM:h(I,k),D:this.$D,DD:ue.s(this.$D,2,"0"),d:String(this.$W),dd:h(y.weekdaysMin,this.$W,E,2),ddd:h(y.weekdaysShort,this.$W,E,3),dddd:E[this.$W],H:String(w),HH:ue.s(w,2,"0"),h:d(1),hh:d(2),a:K(w,x,!0),A:K(w,x,!1),m:String(x),mm:ue.s(x,2,"0"),s:String(this.$s),ss:ue.s(this.$s,2,"0"),SSS:ue.s(this.$ms,3,"0"),Z:p};return u.replace(J,(function(r,c){return c||oe[r]||p.replace(":","")}))},oe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},oe.diff=function(r,I,K){var J,oe=ue.p(I),ie=v(r),ae=6e4*(ie.utcOffset()-this.utcOffset()),se=this-ie,le=ue.m(this,ie);return le=(J={},J[E]=le/12,J[x]=le,J[k]=le/3,J[w]=(se-ae)/6048e5,J[y]=(se-ae)/864e5,J[p]=se/36e5,J[u]=se/6e4,J[c]=se/1e3,J)[oe]||se,K?le:ue.a(le)},oe.daysInMonth=function(){return this.endOf(x).$D},oe.$locale=function(){return se[this.$L]},oe.locale=function(r,c){if(!r)return this.$L;var u=this.clone(),p=D(r,c,!0);return p&amp;&amp;(u.$L=p),u},oe.clone=function(){return ue.w(this.$d,this)},oe.toDate=function(){return new Date(this.valueOf())},oe.toJSON=function(){return this.isValid()?this.toISOString():null},oe.toISOString=function(){return this.$d.toISOString()},oe.toString=function(){return this.$d.toUTCString()},d}(),pe=le.prototype;return v.prototype=pe,[["$ms",r],["$s",c],["$m",u],["$H",p],["$W",y],["$M",x],["$y",E],["$D",I]].forEach((function(r){pe[r[1]]=function(c){return this.$g(c,r[0],r[1])}})),v.extend=function(r,c){return r.$i||(r(c,le,v),r.$i=!0),v},v.locale=D,v.isDayjs=m,v.unix=function(r){return v(1e3*r)},v.en=se[ae],v.Ls=se,v.p={},v}()},29387:function(r){r.exports=function(){"use strict";var r={year:0,month:1,day:2,hour:3,minute:4,second:5},c={};return function(u,p,y){var w,x=y().utcOffset(),a=function(r,u,p){void 0===p&amp;&amp;(p={});var y=new Date(r);return function(r,u){void 0===u&amp;&amp;(u={});var p=u.timeZoneName||"short",y=r+"|"+p,w=c[y];return w||(w=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:p}),c[y]=w),w}(u,p).formatToParts(y)},f=function(c,u){for(var p=a(c,u),w=[],x=0;x&lt;p.length;x+=1){var k=p[x],E=k.type,I=k.value,K=r[E];K&gt;=0&amp;&amp;(w[K]=parseInt(I,10))}var J=w[3],oe=24===J?0:J,ie=w[0]+"-"+w[1]+"-"+w[2]+" "+oe+":"+w[4]+":"+w[5]+":000",ae=+c;return(y.utc(ie).valueOf()-(ae-=ae%1e3))/6e4},k=p.prototype;k.tz=function(r,c){void 0===r&amp;&amp;(r=w);var u=this.utcOffset(),p=this.toDate().toLocaleString("en-US",{timeZone:r}),k=Math.round((this.toDate()-new Date(p))/1e3/60),E=y(p).$set("millisecond",this.$ms).utcOffset(x-k,!0);if(c){var I=E.utcOffset();E=E.add(u-I,"minute")}return E.$x.$timezone=r,E},k.offsetName=function(r){var c=this.$x.$timezone||y.tz.guess(),u=a(this.valueOf(),c,{timeZoneName:r}).find((function(r){return"timezonename"===r.type.toLowerCase()}));return u&amp;&amp;u.value};var E=k.startOf;k.startOf=function(r,c){if(!this.$x||!this.$x.$timezone)return E.call(this,r,c);var u=y(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return E.call(u,r,c).tz(this.$x.$timezone,!0)},y.tz=function(r,c,u){var p=u&amp;&amp;c,x=u||c||w,k=f(+y(),x);if("string"!=typeof r)return y(r).tz(x);var E=function(r,c,u){var p=r-60*c*1e3,y=f(p,u);if(c===y)return[p,c];var w=f(p-=60*(y-c)*1e3,u);return y===w?[p,y]:[r-60*Math.min(y,w)*1e3,Math.max(y,w)]}(y.utc(r,p).valueOf(),k,x),I=E[0],K=E[1],J=y(I).utcOffset(K);return J.$x.$timezone=x,J},y.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},y.tz.setDefault=function(r){w=r}}}()},70178:function(r){r.exports=function(){"use strict";return function(r,c,u){var p=c.prototype;u.utc=function(r){return new c({date:r,utc:!0,args:arguments})},p.utc=function(r){var c=u(this.toDate(),{locale:this.$L,utc:!0});return r?c.add(this.utcOffset(),"minute"):c},p.local=function(){return u(this.toDate(),{locale:this.$L,utc:!1})};var y=p.parse;p.parse=function(r){r.utc&amp;&amp;(this.$u=!0),this.$utils().u(r.$offset)||(this.$offset=r.$offset),y.call(this,r)};var w=p.init;p.init=function(){if(this.$u){var r=this.$d;this.$y=r.getUTCFullYear(),this.$M=r.getUTCMonth(),this.$D=r.getUTCDate(),this.$W=r.getUTCDay(),this.$H=r.getUTCHours(),this.$m=r.getUTCMinutes(),this.$s=r.getUTCSeconds(),this.$ms=r.getUTCMilliseconds()}else w.call(this)};var x=p.utcOffset;p.utcOffset=function(r,c){var u=this.$utils().u;if(u(r))return this.$u?0:u(this.$offset)?x.call(this):this.$offset;var p=Math.abs(r)&lt;=16?60*r:r,y=this;if(c)return y.$offset=p,y.$u=0===r,y;if(0!==r){var w=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(y=this.local().add(p+w,"minute")).$offset=p,y.$x.$localOffset=w}else y=this.utc();return y};var k=p.format;p.format=function(r){var c=r||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return k.call(this,c)},p.valueOf=function(){var r=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*r},p.isUTC=function(){return!!this.$u},p.toISOString=function(){return this.toDate().toISOString()},p.toString=function(){return this.toDate().toUTCString()};var E=p.toDate;p.toDate=function(r){return"s"===r&amp;&amp;this.$offset?u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():E.call(this)};var I=p.diff;p.diff=function(r,c,p){if(r&amp;&amp;this.$u===r.$u)return I.call(this,r,c,p);var y=this.local(),w=u(r).local();return I.call(y,w,c,p)}}}()},27856:function(r){r.exports=function(){"use strict";function _toConsumableArray(r){if(Array.isArray(r)){for(var c=0,u=Array(r.length);c&lt;r.length;c++)u[c]=r[c];return u}return Array.from(r)}var r=Object.hasOwnProperty,c=Object.setPrototypeOf,u=Object.isFrozen,p=Object.getPrototypeOf,y=Object.getOwnPropertyDescriptor,w=Object.freeze,x=Object.seal,k=Object.create,E="undefined"!=typeof Reflect&amp;&amp;Reflect,I=E.apply,K=E.construct;I||(I=function apply(r,c,u){return r.apply(c,u)}),w||(w=function freeze(r){return r}),x||(x=function seal(r){return r}),K||(K=function construct(r,c){return new(Function.prototype.bind.apply(r,[null].concat(_toConsumableArray(c))))});var J=unapply(Array.prototype.forEach),oe=unapply(Array.prototype.pop),ie=unapply(Array.prototype.push),ae=unapply(String.prototype.toLowerCase),se=unapply(String.prototype.match),ue=unapply(String.prototype.replace),le=unapply(String.prototype.indexOf),pe=unapply(String.prototype.trim),de=unapply(RegExp.prototype.test),he=unconstruct(TypeError);function unapply(r){return function(c){for(var u=arguments.length,p=Array(u&gt;1?u-1:0),y=1;y&lt;u;y++)p[y-1]=arguments[y];return I(r,c,p)}}function unconstruct(r){return function(){for(var c=arguments.length,u=Array(c),p=0;p&lt;c;p++)u[p]=arguments[p];return K(r,u)}}function addToSet(r,p){c&amp;&amp;c(r,null);for(var y=p.length;y--;){var w=p[y];if("string"==typeof w){var x=ae(w);x!==w&amp;&amp;(u(p)||(p[y]=x),w=x)}r[w]=!0}return r}function clone(c){var u=k(null),p=void 0;for(p in c)I(r,c,[p])&amp;&amp;(u[p]=c[p]);return u}function lookupGetter(r,c){for(;null!==r;){var u=y(r,c);if(u){if(u.get)return unapply(u.get);if("function"==typeof u.value)return unapply(u.value)}r=p(r)}function fallbackValue(r){return console.warn("fallback value for",r),null}return fallbackValue}var ge=w(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),ve=w(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),we=w(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Se=w(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Oe=w(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),Pe=w(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Le=w(["#text"]),Ie=w(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),je=w(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),De=w(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ue=w(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Fe=x(/\{\{[\s\S]*|[\s\S]*\}\}/gm),Ze=x(/&lt;%[\s\S]*|[\s\S]*%&gt;/gm),$e=x(/^data-[\-\w.\u00B7-\uFFFF]/),Ge=x(/^aria-[\-\w]+$/),We=x(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ke=x(/^(?:\w+script|data):/i),Je=x(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ye="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r};function _toConsumableArray$1(r){if(Array.isArray(r)){for(var c=0,u=Array(r.length);c&lt;r.length;c++)u[c]=r[c];return u}return Array.from(r)}var Xe=function getGlobal(){return"undefined"==typeof window?null:window},Qe=function _createTrustedTypesPolicy(r,c){if("object"!==(void 0===r?"undefined":Ye(r))||"function"!=typeof r.createPolicy)return null;var u=null,p="data-tt-policy-suffix";c.currentScript&amp;&amp;c.currentScript.hasAttribute(p)&amp;&amp;(u=c.currentScript.getAttribute(p));var y="dompurify"+(u?"#"+u:"");try{return r.createPolicy(y,{createHTML:function createHTML(r){return r}})}catch(r){return console.warn("TrustedTypes policy "+y+" could not be created."),null}};function createDOMPurify(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:Xe(),c=function DOMPurify(r){return createDOMPurify(r)};if(c.version="2.3.0",c.removed=[],!r||!r.document||9!==r.document.nodeType)return c.isSupported=!1,c;var u=r.document,p=r.document,y=r.DocumentFragment,x=r.HTMLTemplateElement,k=r.Node,E=r.Element,I=r.NodeFilter,K=r.NamedNodeMap,et=void 0===K?r.NamedNodeMap||r.MozNamedAttrMap:K,rt=r.Text,nt=r.Comment,ot=r.DOMParser,it=r.trustedTypes,st=E.prototype,ct=lookupGetter(st,"cloneNode"),ut=lookupGetter(st,"nextSibling"),lt=lookupGetter(st,"childNodes"),pt=lookupGetter(st,"parentNode");if("function"==typeof x){var dt=p.createElement("template");dt.content&amp;&amp;dt.content.ownerDocument&amp;&amp;(p=dt.content.ownerDocument)}var ft=Qe(it,u),ht=ft&amp;&amp;zt?ft.createHTML(""):"",mt=p,yt=mt.implementation,gt=mt.createNodeIterator,vt=mt.createDocumentFragment,bt=mt.getElementsByTagName,_t=u.importNode,wt={};try{wt=clone(p).documentMode?p.documentMode:{}}catch(r){}var xt={};c.isSupported="function"==typeof pt&amp;&amp;yt&amp;&amp;void 0!==yt.createHTMLDocument&amp;&amp;9!==wt;var kt=Fe,St=Ze,Et=$e,Tt=Ge,Ot=Ke,Ct=Je,At=We,Pt=null,Lt=addToSet({},[].concat(_toConsumableArray$1(ge),_toConsumableArray$1(ve),_toConsumableArray$1(we),_toConsumableArray$1(Oe),_toConsumableArray$1(Le))),It=null,Rt=addToSet({},[].concat(_toConsumableArray$1(Ie),_toConsumableArray$1(je),_toConsumableArray$1(De),_toConsumableArray$1(Ue))),jt=null,Nt=null,Dt=!0,Mt=!0,Ut=!1,Ft=!1,Bt=!1,qt=!1,Zt=!1,Vt=!1,Ht=!1,$t=!0,zt=!1,Gt=!0,Wt=!0,Kt=!1,Jt={},Yt=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Xt=null,Qt=addToSet({},["audio","video","img","source","image","track"]),er=null,rr=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),nr="http://www.w3.org/1998/Math/MathML",or="http://www.w3.org/2000/svg",ir="http://www.w3.org/1999/xhtml",ar=ir,sr=!1,cr=null,ur=p.createElement("form"),lr=function _parseConfig(r){cr&amp;&amp;cr===r||(r&amp;&amp;"object"===(void 0===r?"undefined":Ye(r))||(r={}),r=clone(r),Pt="ALLOWED_TAGS"in r?addToSet({},r.ALLOWED_TAGS):Lt,It="ALLOWED_ATTR"in r?addToSet({},r.ALLOWED_ATTR):Rt,er="ADD_URI_SAFE_ATTR"in r?addToSet(clone(rr),r.ADD_URI_SAFE_ATTR):rr,Xt="ADD_DATA_URI_TAGS"in r?addToSet(clone(Qt),r.ADD_DATA_URI_TAGS):Qt,jt="FORBID_TAGS"in r?addToSet({},r.FORBID_TAGS):{},Nt="FORBID_ATTR"in r?addToSet({},r.FORBID_ATTR):{},Jt="USE_PROFILES"in r&amp;&amp;r.USE_PROFILES,Dt=!1!==r.ALLOW_ARIA_ATTR,Mt=!1!==r.ALLOW_DATA_ATTR,Ut=r.ALLOW_UNKNOWN_PROTOCOLS||!1,Ft=r.SAFE_FOR_TEMPLATES||!1,Bt=r.WHOLE_DOCUMENT||!1,Vt=r.RETURN_DOM||!1,Ht=r.RETURN_DOM_FRAGMENT||!1,$t=!1!==r.RETURN_DOM_IMPORT,zt=r.RETURN_TRUSTED_TYPE||!1,Zt=r.FORCE_BODY||!1,Gt=!1!==r.SANITIZE_DOM,Wt=!1!==r.KEEP_CONTENT,Kt=r.IN_PLACE||!1,At=r.ALLOWED_URI_REGEXP||At,ar=r.NAMESPACE||ir,Ft&amp;&amp;(Mt=!1),Ht&amp;&amp;(Vt=!0),Jt&amp;&amp;(Pt=addToSet({},[].concat(_toConsumableArray$1(Le))),It=[],!0===Jt.html&amp;&amp;(addToSet(Pt,ge),addToSet(It,Ie)),!0===Jt.svg&amp;&amp;(addToSet(Pt,ve),addToSet(It,je),addToSet(It,Ue)),!0===Jt.svgFilters&amp;&amp;(addToSet(Pt,we),addToSet(It,je),addToSet(It,Ue)),!0===Jt.mathMl&amp;&amp;(addToSet(Pt,Oe),addToSet(It,De),addToSet(It,Ue))),r.ADD_TAGS&amp;&amp;(Pt===Lt&amp;&amp;(Pt=clone(Pt)),addToSet(Pt,r.ADD_TAGS)),r.ADD_ATTR&amp;&amp;(It===Rt&amp;&amp;(It=clone(It)),addToSet(It,r.ADD_ATTR)),r.ADD_URI_SAFE_ATTR&amp;&amp;addToSet(er,r.ADD_URI_SAFE_ATTR),Wt&amp;&amp;(Pt["#text"]=!0),Bt&amp;&amp;addToSet(Pt,["html","head","body"]),Pt.table&amp;&amp;(addToSet(Pt,["tbody"]),delete jt.tbody),w&amp;&amp;w(r),cr=r)},pr=addToSet({},["mi","mo","mn","ms","mtext"]),dr=addToSet({},["foreignobject","desc","title","annotation-xml"]),fr=addToSet({},ve);addToSet(fr,we),addToSet(fr,Se);var mr=addToSet({},Oe);addToSet(mr,Pe);var yr=function _checkValidNamespace(r){var c=pt(r);c&amp;&amp;c.tagName||(c={namespaceURI:ir,tagName:"template"});var u=ae(r.tagName),p=ae(c.tagName);if(r.namespaceURI===or)return c.namespaceURI===ir?"svg"===u:c.namespaceURI===nr?"svg"===u&amp;&amp;("annotation-xml"===p||pr[p]):Boolean(fr[u]);if(r.namespaceURI===nr)return c.namespaceURI===ir?"math"===u:c.namespaceURI===or?"math"===u&amp;&amp;dr[p]:Boolean(mr[u]);if(r.namespaceURI===ir){if(c.namespaceURI===or&amp;&amp;!dr[p])return!1;if(c.namespaceURI===nr&amp;&amp;!pr[p])return!1;var y=addToSet({},["title","style","font","a","script"]);return!mr[u]&amp;&amp;(y[u]||!fr[u])}return!1},gr=function _forceRemove(r){ie(c.removed,{element:r});try{r.parentNode.removeChild(r)}catch(c){try{r.outerHTML=ht}catch(c){r.remove()}}},vr=function _removeAttribute(r,u){try{ie(c.removed,{attribute:u.getAttributeNode(r),from:u})}catch(r){ie(c.removed,{attribute:null,from:u})}if(u.removeAttribute(r),"is"===r&amp;&amp;!It[r])if(Vt||Ht)try{gr(u)}catch(r){}else try{u.setAttribute(r,"")}catch(r){}},br=function _initDocument(r){var c=void 0,u=void 0;if(Zt)r="&lt;remove&gt;&lt;/remove&gt;"+r;else{var y=se(r,/^[\r\n\t ]+/);u=y&amp;&amp;y[0]}var w=ft?ft.createHTML(r):r;if(ar===ir)try{c=(new ot).parseFromString(w,"text/html")}catch(r){}if(!c||!c.documentElement){c=yt.createDocument(ar,"template",null);try{c.documentElement.innerHTML=sr?"":w}catch(r){}}var x=c.body||c.documentElement;return r&amp;&amp;u&amp;&amp;x.insertBefore(p.createTextNode(u),x.childNodes[0]||null),ar===ir?bt.call(c,Bt?"html":"body")[0]:Bt?c.documentElement:x},_r=function _createIterator(r){return gt.call(r.ownerDocument||r,r,I.SHOW_ELEMENT|I.SHOW_COMMENT|I.SHOW_TEXT,null,!1)},wr=function _isClobbered(r){return!(r instanceof rt||r instanceof nt||"string"==typeof r.nodeName&amp;&amp;"string"==typeof r.textContent&amp;&amp;"function"==typeof r.removeChild&amp;&amp;r.attributes instanceof et&amp;&amp;"function"==typeof r.removeAttribute&amp;&amp;"function"==typeof r.setAttribute&amp;&amp;"string"==typeof r.namespaceURI&amp;&amp;"function"==typeof r.insertBefore)},xr=function _isNode(r){return"object"===(void 0===k?"undefined":Ye(k))?r instanceof k:r&amp;&amp;"object"===(void 0===r?"undefined":Ye(r))&amp;&amp;"number"==typeof r.nodeType&amp;&amp;"string"==typeof r.nodeName},kr=function _executeHook(r,u,p){xt[r]&amp;&amp;J(xt[r],(function(r){r.call(c,u,p,cr)}))},Sr=function _sanitizeElements(r){var u=void 0;if(kr("beforeSanitizeElements",r,null),wr(r))return gr(r),!0;if(se(r.nodeName,/[\u0080-\uFFFF]/))return gr(r),!0;var p=ae(r.nodeName);if(kr("uponSanitizeElement",r,{tagName:p,allowedTags:Pt}),!xr(r.firstElementChild)&amp;&amp;(!xr(r.content)||!xr(r.content.firstElementChild))&amp;&amp;de(/&lt;[/\w]/g,r.innerHTML)&amp;&amp;de(/&lt;[/\w]/g,r.textContent))return gr(r),!0;if(!Pt[p]||jt[p]){if(Wt&amp;&amp;!Yt[p]){var y=pt(r)||r.parentNode,w=lt(r)||r.childNodes;if(w&amp;&amp;y)for(var x=w.length-1;x&gt;=0;--x)y.insertBefore(ct(w[x],!0),ut(r))}return gr(r),!0}return r instanceof E&amp;&amp;!yr(r)?(gr(r),!0):"noscript"!==p&amp;&amp;"noembed"!==p||!de(/&lt;\/no(script|embed)/i,r.innerHTML)?(Ft&amp;&amp;3===r.nodeType&amp;&amp;(u=r.textContent,u=ue(u,kt," "),u=ue(u,St," "),r.textContent!==u&amp;&amp;(ie(c.removed,{element:r.cloneNode()}),r.textContent=u)),kr("afterSanitizeElements",r,null),!1):(gr(r),!0)},Er=function _isValidAttribute(r,c,u){if(Gt&amp;&amp;("id"===c||"name"===c)&amp;&amp;(u in p||u in ur))return!1;if(Mt&amp;&amp;!Nt[c]&amp;&amp;de(Et,c));else if(Dt&amp;&amp;de(Tt,c));else{if(!It[c]||Nt[c])return!1;if(er[c]);else if(de(At,ue(u,Ct,"")));else if("src"!==c&amp;&amp;"xlink:href"!==c&amp;&amp;"href"!==c||"script"===r||0!==le(u,"data:")||!Xt[r])if(Ut&amp;&amp;!de(Ot,ue(u,Ct,"")));else if(u)return!1}return!0},Tr=function _sanitizeAttributes(r){var u=void 0,p=void 0,y=void 0,w=void 0;kr("beforeSanitizeAttributes",r,null);var x=r.attributes;if(x){var k={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:It};for(w=x.length;w--;){var E=u=x[w],I=E.name,K=E.namespaceURI;if(p=pe(u.value),y=ae(I),k.attrName=y,k.attrValue=p,k.keepAttr=!0,k.forceKeepAttr=void 0,kr("uponSanitizeAttribute",r,k),p=k.attrValue,!k.forceKeepAttr&amp;&amp;(vr(I,r),k.keepAttr))if(de(/\/&gt;/i,p))vr(I,r);else{Ft&amp;&amp;(p=ue(p,kt," "),p=ue(p,St," "));var J=r.nodeName.toLowerCase();if(Er(J,y,p))try{K?r.setAttributeNS(K,I,p):r.setAttribute(I,p),oe(c.removed)}catch(r){}}}kr("afterSanitizeAttributes",r,null)}},Or=function _sanitizeShadowDOM(r){var c=void 0,u=_r(r);for(kr("beforeSanitizeShadowDOM",r,null);c=u.nextNode();)kr("uponSanitizeShadowNode",c,null),Sr(c)||(c.content instanceof y&amp;&amp;_sanitizeShadowDOM(c.content),Tr(c));kr("afterSanitizeShadowDOM",r,null)};return c.sanitize=function(p,w){var x=void 0,E=void 0,I=void 0,K=void 0,J=void 0;if((sr=!p)&amp;&amp;(p="\x3c!--\x3e"),"string"!=typeof p&amp;&amp;!xr(p)){if("function"!=typeof p.toString)throw he("toString is not a function");if("string"!=typeof(p=p.toString()))throw he("dirty is not a string, aborting")}if(!c.isSupported){if("object"===Ye(r.toStaticHTML)||"function"==typeof r.toStaticHTML){if("string"==typeof p)return r.toStaticHTML(p);if(xr(p))return r.toStaticHTML(p.outerHTML)}return p}if(qt||lr(w),c.removed=[],"string"==typeof p&amp;&amp;(Kt=!1),Kt);else if(p instanceof k)1===(E=(x=br("\x3c!----\x3e")).ownerDocument.importNode(p,!0)).nodeType&amp;&amp;"BODY"===E.nodeName||"HTML"===E.nodeName?x=E:x.appendChild(E);else{if(!Vt&amp;&amp;!Ft&amp;&amp;!Bt&amp;&amp;-1===p.indexOf("&lt;"))return ft&amp;&amp;zt?ft.createHTML(p):p;if(!(x=br(p)))return Vt?null:ht}x&amp;&amp;Zt&amp;&amp;gr(x.firstChild);for(var oe=_r(Kt?p:x);I=oe.nextNode();)3===I.nodeType&amp;&amp;I===K||Sr(I)||(I.content instanceof y&amp;&amp;Or(I.content),Tr(I),K=I);if(K=null,Kt)return p;if(Vt){if(Ht)for(J=vt.call(x.ownerDocument);x.firstChild;)J.appendChild(x.firstChild);else J=x;return $t&amp;&amp;(J=_t.call(u,J,!0)),J}var ie=Bt?x.outerHTML:x.innerHTML;return Ft&amp;&amp;(ie=ue(ie,kt," "),ie=ue(ie,St," ")),ft&amp;&amp;zt?ft.createHTML(ie):ie},c.setConfig=function(r){lr(r),qt=!0},c.clearConfig=function(){cr=null,qt=!1},c.isValidAttribute=function(r,c,u){cr||lr({});var p=ae(r),y=ae(c);return Er(p,y,u)},c.addHook=function(r,c){"function"==typeof c&amp;&amp;(xt[r]=xt[r]||[],ie(xt[r],c))},c.removeHook=function(r){xt[r]&amp;&amp;oe(xt[r])},c.removeHooks=function(r){xt[r]&amp;&amp;(xt[r]=[])},c.removeAllHooks=function(){xt={}},c}return createDOMPurify()}()},17187:function(r){"use strict";var c,u="object"==typeof Reflect?Reflect:null,p=u&amp;&amp;"function"==typeof u.apply?u.apply:function ReflectApply(r,c,u){return Function.prototype.apply.call(r,c,u)};c=u&amp;&amp;"function"==typeof u.ownKeys?u.ownKeys:Object.getOwnPropertySymbols?function ReflectOwnKeys(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:function ReflectOwnKeys(r){return Object.getOwnPropertyNames(r)};var y=Number.isNaN||function NumberIsNaN(r){return r!=r};function EventEmitter(){EventEmitter.init.call(this)}r.exports=EventEmitter,r.exports.once=function once(r,c){return new Promise((function(u,p){function errorListener(u){r.removeListener(c,resolver),p(u)}function resolver(){"function"==typeof r.removeListener&amp;&amp;r.removeListener("error",errorListener),u([].slice.call(arguments))}eventTargetAgnosticAddListener(r,c,resolver,{once:!0}),"error"!==c&amp;&amp;function addErrorHandlerIfEventEmitter(r,c,u){"function"==typeof r.on&amp;&amp;eventTargetAgnosticAddListener(r,"error",c,u)}(r,errorListener,{once:!0})}))},EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._eventsCount=0,EventEmitter.prototype._maxListeners=void 0;var w=10;function checkListener(r){if("function"!=typeof r)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r)}function _getMaxListeners(r){return void 0===r._maxListeners?EventEmitter.defaultMaxListeners:r._maxListeners}function _addListener(r,c,u,p){var y,w,x;if(checkListener(u),void 0===(w=r._events)?(w=r._events=Object.create(null),r._eventsCount=0):(void 0!==w.newListener&amp;&amp;(r.emit("newListener",c,u.listener?u.listener:u),w=r._events),x=w[c]),void 0===x)x=w[c]=u,++r._eventsCount;else if("function"==typeof x?x=w[c]=p?[u,x]:[x,u]:p?x.unshift(u):x.push(u),(y=_getMaxListeners(r))&gt;0&amp;&amp;x.length&gt;y&amp;&amp;!x.warned){x.warned=!0;var k=new Error("Possible EventEmitter memory leak detected. "+x.length+" "+String(c)+" listeners added. Use emitter.setMaxListeners() to increase limit");k.name="MaxListenersExceededWarning",k.emitter=r,k.type=c,k.count=x.length,function ProcessEmitWarning(r){console&amp;&amp;console.warn&amp;&amp;console.warn(r)}(k)}return r}function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(r,c,u){var p={fired:!1,wrapFn:void 0,target:r,type:c,listener:u},y=onceWrapper.bind(p);return y.listener=u,p.wrapFn=y,y}function _listeners(r,c,u){var p=r._events;if(void 0===p)return[];var y=p[c];return void 0===y?[]:"function"==typeof y?u?[y.listener||y]:[y]:u?function unwrapListeners(r){for(var c=new Array(r.length),u=0;u&lt;c.length;++u)c[u]=r[u].listener||r[u];return c}(y):arrayClone(y,y.length)}function listenerCount(r){var c=this._events;if(void 0!==c){var u=c[r];if("function"==typeof u)return 1;if(void 0!==u)return u.length}return 0}function arrayClone(r,c){for(var u=new Array(c),p=0;p&lt;c;++p)u[p]=r[p];return u}function eventTargetAgnosticAddListener(r,c,u,p){if("function"==typeof r.on)p.once?r.once(c,u):r.on(c,u);else{if("function"!=typeof r.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r);r.addEventListener(c,(function wrapListener(y){p.once&amp;&amp;r.removeEventListener(c,wrapListener),u(y)}))}}Object.defineProperty(EventEmitter,"defaultMaxListeners",{enumerable:!0,get:function(){return w},set:function(r){if("number"!=typeof r||r&lt;0||y(r))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+r+".");w=r}}),EventEmitter.init=function(){void 0!==this._events&amp;&amp;this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter.prototype.setMaxListeners=function setMaxListeners(r){if("number"!=typeof r||r&lt;0||y(r))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+r+".");return this._maxListeners=r,this},EventEmitter.prototype.getMaxListeners=function getMaxListeners(){return _getMaxListeners(this)},EventEmitter.prototype.emit=function emit(r){for(var c=[],u=1;u&lt;arguments.length;u++)c.push(arguments[u]);var y="error"===r,w=this._events;if(void 0!==w)y=y&amp;&amp;void 0===w.error;else if(!y)return!1;if(y){var x;if(c.length&gt;0&amp;&amp;(x=c[0]),x instanceof Error)throw x;var k=new Error("Unhandled error."+(x?" ("+x.message+")":""));throw k.context=x,k}var E=w[r];if(void 0===E)return!1;if("function"==typeof E)p(E,this,c);else{var I=E.length,K=arrayClone(E,I);for(u=0;u&lt;I;++u)p(K[u],this,c)}return!0},EventEmitter.prototype.addListener=function addListener(r,c){return _addListener(this,r,c,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function prependListener(r,c){return _addListener(this,r,c,!0)},EventEmitter.prototype.once=function once(r,c){return checkListener(c),this.on(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.prependOnceListener=function prependOnceListener(r,c){return checkListener(c),this.prependListener(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.removeListener=function removeListener(r,c){var u,p,y,w,x;if(checkListener(c),void 0===(p=this._events))return this;if(void 0===(u=p[r]))return this;if(u===c||u.listener===c)0==--this._eventsCount?this._events=Object.create(null):(delete p[r],p.removeListener&amp;&amp;this.emit("removeListener",r,u.listener||c));else if("function"!=typeof u){for(y=-1,w=u.length-1;w&gt;=0;w--)if(u[w]===c||u[w].listener===c){x=u[w].listener,y=w;break}if(y&lt;0)return this;0===y?u.shift():function spliceOne(r,c){for(;c+1&lt;r.length;c++)r[c]=r[c+1];r.pop()}(u,y),1===u.length&amp;&amp;(p[r]=u[0]),void 0!==p.removeListener&amp;&amp;this.emit("removeListener",r,x||c)}return this},EventEmitter.prototype.off=EventEmitter.prototype.removeListener,EventEmitter.prototype.removeAllListeners=function removeAllListeners(r){var c,u,p;if(void 0===(u=this._events))return this;if(void 0===u.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==u[r]&amp;&amp;(0==--this._eventsCount?this._events=Object.create(null):delete u[r]),this;if(0===arguments.length){var y,w=Object.keys(u);for(p=0;p&lt;w.length;++p)"removeListener"!==(y=w[p])&amp;&amp;this.removeAllListeners(y);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(c=u[r]))this.removeListener(r,c);else if(void 0!==c)for(p=c.length-1;p&gt;=0;p--)this.removeListener(r,c[p]);return this},EventEmitter.prototype.listeners=function listeners(r){return _listeners(this,r,!0)},EventEmitter.prototype.rawListeners=function rawListeners(r){return _listeners(this,r,!1)},EventEmitter.listenerCount=function(r,c){return"function"==typeof r.listenerCount?r.listenerCount(c):listenerCount.call(r,c)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount&gt;0?c(this._events):[]}},9023:function(r,c,u){"use strict";c.Z=u.p+"assets/right-arrow.svg"},86492:function(r,c,u){var p;r=u.nmd(r),function(y){var w=c,x=(r&amp;&amp;r.exports,"object"==typeof u.g&amp;&amp;u.g);x.global!==x&amp;&amp;x.window;var k=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,E=/[\x01-\x7F]/g,I=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,K=/&lt;\u20D2|=\u20E5|&gt;\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,J={"Â­":"shy","â€Œ":"zwnj","â€":"zwj","â€Ž":"lrm","â£":"ic","â¢":"it","â¡":"af","â€":"rlm","â€‹":"ZeroWidthSpace","â&nbsp;":"NoBreak","Ì‘":"DownBreve","âƒ›":"tdot","âƒœ":"DotDot","\t":"Tab","\n":"NewLine","â€ˆ":"puncsp","âŸ":"MediumSpace","â€‰":"thinsp","â€Š":"hairsp","â€„":"emsp13","â€‚":"ensp","â€…":"emsp14","â€ƒ":"emsp","â€‡":"numsp","Â&nbsp;":"nbsp","âŸâ€Š":"ThickSpace","â€¾":"oline",_:"lowbar","â€":"dash","â€“":"ndash","â€”":"mdash","â€•":"horbar",",":"comma",";":"semi","â":"bsemi",":":"colon","â©´":"Colone","!":"excl","Â¡":"iexcl","?":"quest","Â¿":"iquest",".":"period","â€¥":"nldr","â€¦":"mldr","Â·":"middot","'":"apos","â€˜":"lsquo","â€™":"rsquo","â€š":"sbquo","â€¹":"lsaquo","â€º":"rsaquo",'"':"quot","â€œ":"ldquo","â€":"rdquo","â€ž":"bdquo","Â«":"laquo","Â»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","âŒˆ":"lceil","âŒ‰":"rceil","âŒŠ":"lfloor","âŒ‹":"rfloor","â¦…":"lopar","â¦†":"ropar","â¦‹":"lbrke","â¦Œ":"rbrke","â¦":"lbrkslu","â¦Ž":"rbrksld","â¦":"lbrksld","â¦":"rbrkslu","â¦‘":"langd","â¦’":"rangd","â¦“":"lparlt","â¦”":"rpargt","â¦•":"gtlPar","â¦–":"ltrPar","âŸ¦":"lobrk","âŸ§":"robrk","âŸ¨":"lang","âŸ©":"rang","âŸª":"Lang","âŸ«":"Rang","âŸ¬":"loang","âŸ­":"roang","â²":"lbbrk","â³":"rbbrk","â€–":"Vert","Â§":"sect","Â¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&amp;":"amp","#":"num","%":"percnt","â€°":"permil","â€±":"pertenk","â€&nbsp;":"dagger","â€¡":"Dagger","â€¢":"bull","âƒ":"hybull","â€²":"prime","â€³":"Prime","â€´":"tprime","â—":"qprime","â€µ":"bprime","â":"caret","`":"grave","Â´":"acute","Ëœ":"tilde","^":"Hat","Â¯":"macr","Ë˜":"breve","Ë™":"dot","Â¨":"die","Ëš":"ring","Ë":"dblac","Â¸":"cedil","Ë›":"ogon","Ë†":"circ","Ë‡":"caron","Â°":"deg","Â©":"copy","Â®":"reg","â„—":"copysr","â„˜":"wp","â„ž":"rx","â„§":"mho","â„©":"iiota","â†":"larr","â†š":"nlarr","â†’":"rarr","â†›":"nrarr","â†‘":"uarr","â†“":"darr","â†”":"harr","â†®":"nharr","â†•":"varr","â†–":"nwarr","â†—":"nearr","â†˜":"searr","â†™":"swarr","â†":"rarrw","â†Ì¸":"nrarrw","â†ž":"Larr","â†Ÿ":"Uarr","â†&nbsp;":"Rarr","â†¡":"Darr","â†¢":"larrtl","â†£":"rarrtl","â†¤":"mapstoleft","â†¥":"mapstoup","â†¦":"map","â†§":"mapstodown","â†©":"larrhk","â†ª":"rarrhk","â†«":"larrlp","â†¬":"rarrlp","â†­":"harrw","â†°":"lsh","â†±":"rsh","â†²":"ldsh","â†³":"rdsh","â†µ":"crarr","â†¶":"cularr","â†·":"curarr","â†º":"olarr","â†»":"orarr","â†¼":"lharu","â†½":"lhard","â†¾":"uharr","â†¿":"uharl","â‡€":"rharu","â‡":"rhard","â‡‚":"dharr","â‡ƒ":"dharl","â‡„":"rlarr","â‡…":"udarr","â‡†":"lrarr","â‡‡":"llarr","â‡ˆ":"uuarr","â‡‰":"rrarr","â‡Š":"ddarr","â‡‹":"lrhar","â‡Œ":"rlhar","â‡":"lArr","â‡":"nlArr","â‡‘":"uArr","â‡’":"rArr","â‡":"nrArr","â‡“":"dArr","â‡”":"iff","â‡Ž":"nhArr","â‡•":"vArr","â‡–":"nwArr","â‡—":"neArr","â‡˜":"seArr","â‡™":"swArr","â‡š":"lAarr","â‡›":"rAarr","â‡":"zigrarr","â‡¤":"larrb","â‡¥":"rarrb","â‡µ":"duarr","â‡½":"loarr","â‡¾":"roarr","â‡¿":"hoarr","âˆ€":"forall","âˆ":"comp","âˆ‚":"part","âˆ‚Ì¸":"npart","âˆƒ":"exist","âˆ„":"nexist","âˆ…":"empty","âˆ‡":"Del","âˆˆ":"in","âˆ‰":"notin","âˆ‹":"ni","âˆŒ":"notni","Ï¶":"bepsi","âˆ":"prod","âˆ":"coprod","âˆ‘":"sum","+":"plus","Â±":"pm","Ã·":"div","Ã—":"times","&lt;":"lt","â‰®":"nlt","&lt;âƒ’":"nvlt","=":"equals","â‰&nbsp;":"ne","=âƒ¥":"bne","â©µ":"Equal","&gt;":"gt","â‰¯":"ngt","&gt;âƒ’":"nvgt","Â¬":"not","|":"vert","Â¦":"brvbar","âˆ’":"minus","âˆ“":"mp","âˆ”":"plusdo","â„":"frasl","âˆ–":"setmn","âˆ—":"lowast","âˆ˜":"compfn","âˆš":"Sqrt","âˆ":"prop","âˆž":"infin","âˆŸ":"angrt","âˆ&nbsp;":"ang","âˆ&nbsp;âƒ’":"nang","âˆ¡":"angmsd","âˆ¢":"angsph","âˆ£":"mid","âˆ¤":"nmid","âˆ¥":"par","âˆ¦":"npar","âˆ§":"and","âˆ¨":"or","âˆ©":"cap","âˆ©ï¸€":"caps","âˆª":"cup","âˆªï¸€":"cups","âˆ«":"int","âˆ¬":"Int","âˆ­":"tint","â¨Œ":"qint","âˆ®":"oint","âˆ¯":"Conint","âˆ°":"Cconint","âˆ±":"cwint","âˆ²":"cwconint","âˆ³":"awconint","âˆ´":"there4","âˆµ":"becaus","âˆ¶":"ratio","âˆ·":"Colon","âˆ¸":"minusd","âˆº":"mDDot","âˆ»":"homtht","âˆ¼":"sim","â‰":"nsim","âˆ¼âƒ’":"nvsim","âˆ½":"bsim","âˆ½Ì±":"race","âˆ¾":"ac","âˆ¾Ì³":"acE","âˆ¿":"acd","â‰€":"wr","â‰‚":"esim","â‰‚Ì¸":"nesim","â‰ƒ":"sime","â‰„":"nsime","â‰…":"cong","â‰‡":"ncong","â‰†":"simne","â‰ˆ":"ap","â‰‰":"nap","â‰Š":"ape","â‰‹":"apid","â‰‹Ì¸":"napid","â‰Œ":"bcong","â‰":"CupCap","â‰­":"NotCupCap","â‰âƒ’":"nvap","â‰Ž":"bump","â‰ŽÌ¸":"nbump","â‰":"bumpe","â‰Ì¸":"nbumpe","â‰":"doteq","â‰Ì¸":"nedot","â‰‘":"eDot","â‰’":"efDot","â‰“":"erDot","â‰”":"colone","â‰•":"ecolon","â‰–":"ecir","â‰—":"cire","â‰™":"wedgeq","â‰š":"veeeq","â‰œ":"trie","â‰Ÿ":"equest","â‰¡":"equiv","â‰¢":"nequiv","â‰¡âƒ¥":"bnequiv","â‰¤":"le","â‰°":"nle","â‰¤âƒ’":"nvle","â‰¥":"ge","â‰±":"nge","â‰¥âƒ’":"nvge","â‰¦":"lE","â‰¦Ì¸":"nlE","â‰§":"gE","â‰§Ì¸":"ngE","â‰¨ï¸€":"lvnE","â‰¨":"lnE","â‰©":"gnE","â‰©ï¸€":"gvnE","â‰ª":"ll","â‰ªÌ¸":"nLtv","â‰ªâƒ’":"nLt","â‰«":"gg","â‰«Ì¸":"nGtv","â‰«âƒ’":"nGt","â‰¬":"twixt","â‰²":"lsim","â‰´":"nlsim","â‰³":"gsim","â‰µ":"ngsim","â‰¶":"lg","â‰¸":"ntlg","â‰·":"gl","â‰¹":"ntgl","â‰º":"pr","âŠ€":"npr","â‰»":"sc","âŠ":"nsc","â‰¼":"prcue","â‹&nbsp;":"nprcue","â‰½":"sccue","â‹¡":"nsccue","â‰¾":"prsim","â‰¿":"scsim","â‰¿Ì¸":"NotSucceedsTilde","âŠ‚":"sub","âŠ„":"nsub","âŠ‚âƒ’":"vnsub","âŠƒ":"sup","âŠ…":"nsup","âŠƒâƒ’":"vnsup","âŠ†":"sube","âŠˆ":"nsube","âŠ‡":"supe","âŠ‰":"nsupe","âŠŠï¸€":"vsubne","âŠŠ":"subne","âŠ‹ï¸€":"vsupne","âŠ‹":"supne","âŠ":"cupdot","âŠŽ":"uplus","âŠ":"sqsub","âŠÌ¸":"NotSquareSubset","âŠ":"sqsup","âŠÌ¸":"NotSquareSuperset","âŠ‘":"sqsube","â‹¢":"nsqsube","âŠ’":"sqsupe","â‹£":"nsqsupe","âŠ“":"sqcap","âŠ“ï¸€":"sqcaps","âŠ”":"sqcup","âŠ”ï¸€":"sqcups","âŠ•":"oplus","âŠ–":"ominus","âŠ—":"otimes","âŠ˜":"osol","âŠ™":"odot","âŠš":"ocir","âŠ›":"oast","âŠ":"odash","âŠž":"plusb","âŠŸ":"minusb","âŠ&nbsp;":"timesb","âŠ¡":"sdotb","âŠ¢":"vdash","âŠ¬":"nvdash","âŠ£":"dashv","âŠ¤":"top","âŠ¥":"bot","âŠ§":"models","âŠ¨":"vDash","âŠ­":"nvDash","âŠ©":"Vdash","âŠ®":"nVdash","âŠª":"Vvdash","âŠ«":"VDash","âŠ¯":"nVDash","âŠ°":"prurel","âŠ²":"vltri","â‹ª":"nltri","âŠ³":"vrtri","â‹«":"nrtri","âŠ´":"ltrie","â‹¬":"nltrie","âŠ´âƒ’":"nvltrie","âŠµ":"rtrie","â‹­":"nrtrie","âŠµâƒ’":"nvrtrie","âŠ¶":"origof","âŠ·":"imof","âŠ¸":"mumap","âŠ¹":"hercon","âŠº":"intcal","âŠ»":"veebar","âŠ½":"barvee","âŠ¾":"angrtvb","âŠ¿":"lrtri","â‹€":"Wedge","â‹":"Vee","â‹‚":"xcap","â‹ƒ":"xcup","â‹„":"diam","â‹…":"sdot","â‹†":"Star","â‹‡":"divonx","â‹ˆ":"bowtie","â‹‰":"ltimes","â‹Š":"rtimes","â‹‹":"lthree","â‹Œ":"rthree","â‹":"bsime","â‹Ž":"cuvee","â‹":"cuwed","â‹":"Sub","â‹‘":"Sup","â‹’":"Cap","â‹“":"Cup","â‹”":"fork","â‹•":"epar","â‹–":"ltdot","â‹—":"gtdot","â‹˜":"Ll","â‹˜Ì¸":"nLl","â‹™":"Gg","â‹™Ì¸":"nGg","â‹šï¸€":"lesg","â‹š":"leg","â‹›":"gel","â‹›ï¸€":"gesl","â‹ž":"cuepr","â‹Ÿ":"cuesc","â‹¦":"lnsim","â‹§":"gnsim","â‹¨":"prnsim","â‹©":"scnsim","â‹®":"vellip","â‹¯":"ctdot","â‹°":"utdot","â‹±":"dtdot","â‹²":"disin","â‹³":"isinsv","â‹´":"isins","â‹µ":"isindot","â‹µÌ¸":"notindot","â‹¶":"notinvc","â‹·":"notinvb","â‹¹":"isinE","â‹¹Ì¸":"notinE","â‹º":"nisd","â‹»":"xnis","â‹¼":"nis","â‹½":"notnivc","â‹¾":"notnivb","âŒ…":"barwed","âŒ†":"Barwed","âŒŒ":"drcrop","âŒ":"dlcrop","âŒŽ":"urcrop","âŒ":"ulcrop","âŒ":"bnot","âŒ’":"profline","âŒ“":"profsurf","âŒ•":"telrec","âŒ–":"target","âŒœ":"ulcorn","âŒ":"urcorn","âŒž":"dlcorn","âŒŸ":"drcorn","âŒ¢":"frown","âŒ£":"smile","âŒ­":"cylcty","âŒ®":"profalar","âŒ¶":"topbot","âŒ½":"ovbar","âŒ¿":"solbar","â¼":"angzarr","âŽ°":"lmoust","âŽ±":"rmoust","âŽ´":"tbrk","âŽµ":"bbrk","âŽ¶":"bbrktbrk","âœ":"OverParenthesis","â":"UnderParenthesis","âž":"OverBrace","âŸ":"UnderBrace","â¢":"trpezium","â§":"elinters","â£":"blank","â”€":"boxh","â”‚":"boxv","â”Œ":"boxdr","â”":"boxdl","â””":"boxur","â”˜":"boxul","â”œ":"boxvr","â”¤":"boxvl","â”¬":"boxhd","â”´":"boxhu","â”¼":"boxvh","â•":"boxH","â•‘":"boxV","â•’":"boxdR","â•“":"boxDr","â•”":"boxDR","â••":"boxdL","â•–":"boxDl","â•—":"boxDL","â•˜":"boxuR","â•™":"boxUr","â•š":"boxUR","â•›":"boxuL","â•œ":"boxUl","â•":"boxUL","â•ž":"boxvR","â•Ÿ":"boxVr","â•&nbsp;":"boxVR","â•¡":"boxvL","â•¢":"boxVl","â•£":"boxVL","â•¤":"boxHd","â•¥":"boxhD","â•¦":"boxHD","â•§":"boxHu","â•¨":"boxhU","â•©":"boxHU","â•ª":"boxvH","â•«":"boxVh","â•¬":"boxVH","â–€":"uhblk","â–„":"lhblk","â–ˆ":"block","â–‘":"blk14","â–’":"blk12","â–“":"blk34","â–¡":"squ","â–ª":"squf","â–«":"EmptyVerySmallSquare","â–­":"rect","â–®":"marker","â–±":"fltns","â–³":"xutri","â–´":"utrif","â–µ":"utri","â–¸":"rtrif","â–¹":"rtri","â–½":"xdtri","â–¾":"dtrif","â–¿":"dtri","â—‚":"ltrif","â—ƒ":"ltri","â—Š":"loz","â—‹":"cir","â—¬":"tridot","â—¯":"xcirc","â—¸":"ultri","â—¹":"urtri","â—º":"lltri","â—»":"EmptySmallSquare","â—¼":"FilledSmallSquare","â˜…":"starf","â˜†":"star","â˜Ž":"phone","â™€":"female","â™‚":"male","â™&nbsp;":"spades","â™£":"clubs","â™¥":"hearts","â™¦":"diams","â™ª":"sung","âœ“":"check","âœ—":"cross","âœ&nbsp;":"malt","âœ¶":"sext","â˜":"VerticalSeparator","âŸˆ":"bsolhsub","âŸ‰":"suphsol","âŸµ":"xlarr","âŸ¶":"xrarr","âŸ·":"xharr","âŸ¸":"xlArr","âŸ¹":"xrArr","âŸº":"xhArr","âŸ¼":"xmap","âŸ¿":"dzigrarr","â¤‚":"nvlArr","â¤ƒ":"nvrArr","â¤„":"nvHarr","â¤…":"Map","â¤Œ":"lbarr","â¤":"rbarr","â¤Ž":"lBarr","â¤":"rBarr","â¤":"RBarr","â¤‘":"DDotrahd","â¤’":"UpArrowBar","â¤“":"DownArrowBar","â¤–":"Rarrtl","â¤™":"latail","â¤š":"ratail","â¤›":"lAtail","â¤œ":"rAtail","â¤":"larrfs","â¤ž":"rarrfs","â¤Ÿ":"larrbfs","â¤&nbsp;":"rarrbfs","â¤£":"nwarhk","â¤¤":"nearhk","â¤¥":"searhk","â¤¦":"swarhk","â¤§":"nwnear","â¤¨":"toea","â¤©":"tosa","â¤ª":"swnwar","â¤³":"rarrc","â¤³Ì¸":"nrarrc","â¤µ":"cudarrr","â¤¶":"ldca","â¤·":"rdca","â¤¸":"cudarrl","â¤¹":"larrpl","â¤¼":"curarrm","â¤½":"cularrp","â¥…":"rarrpl","â¥ˆ":"harrcir","â¥‰":"Uarrocir","â¥Š":"lurdshar","â¥‹":"ldrushar","â¥Ž":"LeftRightVector","â¥":"RightUpDownVector","â¥":"DownLeftRightVector","â¥‘":"LeftUpDownVector","â¥’":"LeftVectorBar","â¥“":"RightVectorBar","â¥”":"RightUpVectorBar","â¥•":"RightDownVectorBar","â¥–":"DownLeftVectorBar","â¥—":"DownRightVectorBar","â¥˜":"LeftUpVectorBar","â¥™":"LeftDownVectorBar","â¥š":"LeftTeeVector","â¥›":"RightTeeVector","â¥œ":"RightUpTeeVector","â¥":"RightDownTeeVector","â¥ž":"DownLeftTeeVector","â¥Ÿ":"DownRightTeeVector","â¥&nbsp;":"LeftUpTeeVector","â¥¡":"LeftDownTeeVector","â¥¢":"lHar","â¥£":"uHar","â¥¤":"rHar","â¥¥":"dHar","â¥¦":"luruhar","â¥§":"ldrdhar","â¥¨":"ruluhar","â¥©":"rdldhar","â¥ª":"lharul","â¥«":"llhard","â¥¬":"rharul","â¥­":"lrhard","â¥®":"udhar","â¥¯":"duhar","â¥°":"RoundImplies","â¥±":"erarr","â¥²":"simrarr","â¥³":"larrsim","â¥´":"rarrsim","â¥µ":"rarrap","â¥¶":"ltlarr","â¥¸":"gtrarr","â¥¹":"subrarr","â¥»":"suplarr","â¥¼":"lfisht","â¥½":"rfisht","â¥¾":"ufisht","â¥¿":"dfisht","â¦š":"vzigzag","â¦œ":"vangrt","â¦":"angrtvbd","â¦¤":"ange","â¦¥":"range","â¦¦":"dwangle","â¦§":"uwangle","â¦¨":"angmsdaa","â¦©":"angmsdab","â¦ª":"angmsdac","â¦«":"angmsdad","â¦¬":"angmsdae","â¦­":"angmsdaf","â¦®":"angmsdag","â¦¯":"angmsdah","â¦°":"bemptyv","â¦±":"demptyv","â¦²":"cemptyv","â¦³":"raemptyv","â¦´":"laemptyv","â¦µ":"ohbar","â¦¶":"omid","â¦·":"opar","â¦¹":"operp","â¦»":"olcross","â¦¼":"odsold","â¦¾":"olcir","â¦¿":"ofcir","â§€":"olt","â§":"ogt","â§‚":"cirscir","â§ƒ":"cirE","â§„":"solb","â§…":"bsolb","â§‰":"boxbox","â§":"trisb","â§Ž":"rtriltri","â§":"LeftTriangleBar","â§Ì¸":"NotLeftTriangleBar","â§":"RightTriangleBar","â§Ì¸":"NotRightTriangleBar","â§œ":"iinfin","â§":"infintie","â§ž":"nvinfin","â§£":"eparsl","â§¤":"smeparsl","â§¥":"eqvparsl","â§«":"lozf","â§´":"RuleDelayed","â§¶":"dsol","â¨€":"xodot","â¨":"xoplus","â¨‚":"xotime","â¨„":"xuplus","â¨†":"xsqcup","â¨":"fpartint","â¨":"cirfnint","â¨‘":"awint","â¨’":"rppolint","â¨“":"scpolint","â¨”":"npolint","â¨•":"pointint","â¨–":"quatint","â¨—":"intlarhk","â¨¢":"pluscir","â¨£":"plusacir","â¨¤":"simplus","â¨¥":"plusdu","â¨¦":"plussim","â¨§":"plustwo","â¨©":"mcomma","â¨ª":"minusdu","â¨­":"loplus","â¨®":"roplus","â¨¯":"Cross","â¨°":"timesd","â¨±":"timesbar","â¨³":"smashp","â¨´":"lotimes","â¨µ":"rotimes","â¨¶":"otimesas","â¨·":"Otimes","â¨¸":"odiv","â¨¹":"triplus","â¨º":"triminus","â¨»":"tritime","â¨¼":"iprod","â¨¿":"amalg","â©€":"capdot","â©‚":"ncup","â©ƒ":"ncap","â©„":"capand","â©…":"cupor","â©†":"cupcap","â©‡":"capcup","â©ˆ":"cupbrcap","â©‰":"capbrcup","â©Š":"cupcup","â©‹":"capcap","â©Œ":"ccups","â©":"ccaps","â©":"ccupssm","â©“":"And","â©”":"Or","â©•":"andand","â©–":"oror","â©—":"orslope","â©˜":"andslope","â©š":"andv","â©›":"orv","â©œ":"andd","â©":"ord","â©Ÿ":"wedbar","â©¦":"sdote","â©ª":"simdot","â©­":"congdot","â©­Ì¸":"ncongdot","â©®":"easter","â©¯":"apacir","â©°":"apE","â©°Ì¸":"napE","â©±":"eplus","â©²":"pluse","â©³":"Esim","â©·":"eDDot","â©¸":"equivDD","â©¹":"ltcir","â©º":"gtcir","â©»":"ltquest","â©¼":"gtquest","â©½":"les","â©½Ì¸":"nles","â©¾":"ges","â©¾Ì¸":"nges","â©¿":"lesdot","âª€":"gesdot","âª":"lesdoto","âª‚":"gesdoto","âªƒ":"lesdotor","âª„":"gesdotol","âª…":"lap","âª†":"gap","âª‡":"lne","âªˆ":"gne","âª‰":"lnap","âªŠ":"gnap","âª‹":"lEg","âªŒ":"gEl","âª":"lsime","âªŽ":"gsime","âª":"lsimg","âª":"gsiml","âª‘":"lgE","âª’":"glE","âª“":"lesges","âª”":"gesles","âª•":"els","âª–":"egs","âª—":"elsdot","âª˜":"egsdot","âª™":"el","âªš":"eg","âª":"siml","âªž":"simg","âªŸ":"simlE","âª&nbsp;":"simgE","âª¡":"LessLess","âª¡Ì¸":"NotNestedLessLess","âª¢":"GreaterGreater","âª¢Ì¸":"NotNestedGreaterGreater","âª¤":"glj","âª¥":"gla","âª¦":"ltcc","âª§":"gtcc","âª¨":"lescc","âª©":"gescc","âªª":"smt","âª«":"lat","âª¬":"smte","âª¬ï¸€":"smtes","âª­":"late","âª­ï¸€":"lates","âª®":"bumpE","âª¯":"pre","âª¯Ì¸":"npre","âª°":"sce","âª°Ì¸":"nsce","âª³":"prE","âª´":"scE","âªµ":"prnE","âª¶":"scnE","âª·":"prap","âª¸":"scap","âª¹":"prnap","âªº":"scnap","âª»":"Pr","âª¼":"Sc","âª½":"subdot","âª¾":"supdot","âª¿":"subplus","â«€":"supplus","â«":"submult","â«‚":"supmult","â«ƒ":"subedot","â«„":"supedot","â«…":"subE","â«…Ì¸":"nsubE","â«†":"supE","â«†Ì¸":"nsupE","â«‡":"subsim","â«ˆ":"supsim","â«‹ï¸€":"vsubnE","â«‹":"subnE","â«Œï¸€":"vsupnE","â«Œ":"supnE","â«":"csub","â«":"csup","â«‘":"csube","â«’":"csupe","â«“":"subsup","â«”":"supsub","â«•":"subsub","â«–":"supsup","â«—":"suphsub","â«˜":"supdsub","â«™":"forkv","â«š":"topfork","â«›":"mlcp","â«¤":"Dashv","â«¦":"Vdashl","â«§":"Barv","â«¨":"vBar","â«©":"vBarv","â««":"Vbar","â«¬":"Not","â«­":"bNot","â«®":"rnmid","â«¯":"cirmid","â«°":"midcir","â«±":"topcir","â«²":"nhpar","â«³":"parsim","â«½":"parsl","â«½âƒ¥":"nparsl","â™­":"flat","â™®":"natur","â™¯":"sharp","Â¤":"curren","Â¢":"cent",$:"dollar","Â£":"pound","Â¥":"yen","â‚¬":"euro","Â¹":"sup1","Â½":"half","â…“":"frac13","Â¼":"frac14","â…•":"frac15","â…™":"frac16","â…›":"frac18","Â²":"sup2","â…”":"frac23","â…–":"frac25","Â³":"sup3","Â¾":"frac34","â…—":"frac35","â…œ":"frac38","â…˜":"frac45","â…š":"frac56","â…":"frac58","â…ž":"frac78","ð’¶":"ascr","ð•’":"aopf","ð”ž":"afr","ð”¸":"Aopf","ð”„":"Afr","ð’œ":"Ascr","Âª":"ordf","Ã¡":"aacute","Ã":"Aacute","Ã&nbsp;":"agrave","Ã€":"Agrave","Äƒ":"abreve","Ä‚":"Abreve","Ã¢":"acirc","Ã‚":"Acirc","Ã¥":"aring","Ã…":"angst","Ã¤":"auml","Ã„":"Auml","Ã£":"atilde","Ãƒ":"Atilde","Ä…":"aogon","Ä„":"Aogon","Ä":"amacr","Ä€":"Amacr","Ã¦":"aelig","Ã†":"AElig","ð’·":"bscr","ð•“":"bopf","ð”Ÿ":"bfr","ð”¹":"Bopf","â„¬":"Bscr","ð”…":"Bfr","ð”&nbsp;":"cfr","ð’¸":"cscr","ð•”":"copf","â„­":"Cfr","ð’ž":"Cscr","â„‚":"Copf","Ä‡":"cacute","Ä†":"Cacute","Ä‰":"ccirc","Äˆ":"Ccirc","Ä":"ccaron","ÄŒ":"Ccaron","Ä‹":"cdot","ÄŠ":"Cdot","Ã§":"ccedil","Ã‡":"Ccedil","â„…":"incare","ð”¡":"dfr","â…†":"dd","ð••":"dopf","ð’¹":"dscr","ð’Ÿ":"Dscr","ð”‡":"Dfr","â……":"DD","ð”»":"Dopf","Ä":"dcaron","ÄŽ":"Dcaron","Ä‘":"dstrok","Ä":"Dstrok","Ã°":"eth","Ã":"ETH","â…‡":"ee","â„¯":"escr","ð”¢":"efr","ð•–":"eopf","â„°":"Escr","ð”ˆ":"Efr","ð”¼":"Eopf","Ã©":"eacute","Ã‰":"Eacute","Ã¨":"egrave","Ãˆ":"Egrave","Ãª":"ecirc","ÃŠ":"Ecirc","Ä›":"ecaron","Äš":"Ecaron","Ã«":"euml","Ã‹":"Euml","Ä—":"edot","Ä–":"Edot","Ä™":"eogon","Ä˜":"Eogon","Ä“":"emacr","Ä’":"Emacr","ð”£":"ffr","ð•—":"fopf","ð’»":"fscr","ð”‰":"Ffr","ð”½":"Fopf","â„±":"Fscr","ï¬€":"fflig","ï¬ƒ":"ffilig","ï¬„":"ffllig","ï¬":"filig",fj:"fjlig","ï¬‚":"fllig","Æ’":"fnof","â„Š":"gscr","ð•˜":"gopf","ð”¤":"gfr","ð’¢":"Gscr","ð”¾":"Gopf","ð”Š":"Gfr","Çµ":"gacute","ÄŸ":"gbreve","Äž":"Gbreve","Ä":"gcirc","Äœ":"Gcirc","Ä¡":"gdot","Ä&nbsp;":"Gdot","Ä¢":"Gcedil","ð”¥":"hfr","â„Ž":"planckh","ð’½":"hscr","ð•™":"hopf","â„‹":"Hscr","â„Œ":"Hfr","â„":"Hopf","Ä¥":"hcirc","Ä¤":"Hcirc","â„":"hbar","Ä§":"hstrok","Ä¦":"Hstrok","ð•š":"iopf","ð”¦":"ifr","ð’¾":"iscr","â…ˆ":"ii","ð•€":"Iopf","â„":"Iscr","â„‘":"Im","Ã­":"iacute","Ã":"Iacute","Ã¬":"igrave","ÃŒ":"Igrave","Ã®":"icirc","ÃŽ":"Icirc","Ã¯":"iuml","Ã":"Iuml","Ä©":"itilde","Ä¨":"Itilde","Ä°":"Idot","Ä¯":"iogon","Ä®":"Iogon","Ä«":"imacr","Äª":"Imacr","Ä³":"ijlig","Ä²":"IJlig","Ä±":"imath","ð’¿":"jscr","ð•›":"jopf","ð”§":"jfr","ð’¥":"Jscr","ð”":"Jfr","ð•":"Jopf","Äµ":"jcirc","Ä´":"Jcirc","È·":"jmath","ð•œ":"kopf","ð“€":"kscr","ð”¨":"kfr","ð’¦":"Kscr","ð•‚":"Kopf","ð”Ž":"Kfr","Ä·":"kcedil","Ä¶":"Kcedil","ð”©":"lfr","ð“":"lscr","â„“":"ell","ð•":"lopf","â„’":"Lscr","ð”":"Lfr","ð•ƒ":"Lopf","Äº":"lacute","Ä¹":"Lacute","Ä¾":"lcaron","Ä½":"Lcaron","Ä¼":"lcedil","Ä»":"Lcedil","Å‚":"lstrok","Å":"Lstrok","Å€":"lmidot","Ä¿":"Lmidot","ð”ª":"mfr","ð•ž":"mopf","ð“‚":"mscr","ð”":"Mfr","ð•„":"Mopf","â„³":"Mscr","ð”«":"nfr","ð•Ÿ":"nopf","ð“ƒ":"nscr","â„•":"Nopf","ð’©":"Nscr","ð”‘":"Nfr","Å„":"nacute","Åƒ":"Nacute","Åˆ":"ncaron","Å‡":"Ncaron","Ã±":"ntilde","Ã‘":"Ntilde","Å†":"ncedil","Å…":"Ncedil","â„–":"numero","Å‹":"eng","ÅŠ":"ENG","ð•&nbsp;":"oopf","ð”¬":"ofr","â„´":"oscr","ð’ª":"Oscr","ð”’":"Ofr","ð•†":"Oopf","Âº":"ordm","Ã³":"oacute","Ã“":"Oacute","Ã²":"ograve","Ã’":"Ograve","Ã´":"ocirc","Ã”":"Ocirc","Ã¶":"ouml","Ã–":"Ouml","Å‘":"odblac","Å":"Odblac","Ãµ":"otilde","Ã•":"Otilde","Ã¸":"oslash","Ã˜":"Oslash","Å":"omacr","ÅŒ":"Omacr","Å“":"oelig","Å’":"OElig","ð”­":"pfr","ð“…":"pscr","ð•¡":"popf","â„™":"Popf","ð”“":"Pfr","ð’«":"Pscr","ð•¢":"qopf","ð”®":"qfr","ð“†":"qscr","ð’¬":"Qscr","ð””":"Qfr","â„š":"Qopf","Ä¸":"kgreen","ð”¯":"rfr","ð•£":"ropf","ð“‡":"rscr","â„›":"Rscr","â„œ":"Re","â„":"Ropf","Å•":"racute","Å”":"Racute","Å™":"rcaron","Å˜":"Rcaron","Å—":"rcedil","Å–":"Rcedil","ð•¤":"sopf","ð“ˆ":"sscr","ð”°":"sfr","ð•Š":"Sopf","ð”–":"Sfr","ð’®":"Sscr","â“ˆ":"oS","Å›":"sacute","Åš":"Sacute","Å":"scirc","Åœ":"Scirc","Å¡":"scaron","Å&nbsp;":"Scaron","ÅŸ":"scedil","Åž":"Scedil","ÃŸ":"szlig","ð”±":"tfr","ð“‰":"tscr","ð•¥":"topf","ð’¯":"Tscr","ð”—":"Tfr","ð•‹":"Topf","Å¥":"tcaron","Å¤":"Tcaron","Å£":"tcedil","Å¢":"Tcedil","â„¢":"trade","Å§":"tstrok","Å¦":"Tstrok","ð“Š":"uscr","ð•¦":"uopf","ð”²":"ufr","ð•Œ":"Uopf","ð”˜":"Ufr","ð’°":"Uscr","Ãº":"uacute","Ãš":"Uacute","Ã¹":"ugrave","Ã™":"Ugrave","Å­":"ubreve","Å¬":"Ubreve","Ã»":"ucirc","Ã›":"Ucirc","Å¯":"uring","Å®":"Uring","Ã¼":"uuml","Ãœ":"Uuml","Å±":"udblac","Å°":"Udblac","Å©":"utilde","Å¨":"Utilde","Å³":"uogon","Å²":"Uogon","Å«":"umacr","Åª":"Umacr","ð”³":"vfr","ð•§":"vopf","ð“‹":"vscr","ð”™":"Vfr","ð•":"Vopf","ð’±":"Vscr","ð•¨":"wopf","ð“Œ":"wscr","ð”´":"wfr","ð’²":"Wscr","ð•Ž":"Wopf","ð”š":"Wfr","Åµ":"wcirc","Å´":"Wcirc","ð”µ":"xfr","ð“":"xscr","ð•©":"xopf","ð•":"Xopf","ð”›":"Xfr","ð’³":"Xscr","ð”¶":"yfr","ð“Ž":"yscr","ð•ª":"yopf","ð’´":"Yscr","ð”œ":"Yfr","ð•":"Yopf","Ã½":"yacute","Ã":"Yacute","Å·":"ycirc","Å¶":"Ycirc","Ã¿":"yuml","Å¸":"Yuml","ð“":"zscr","ð”·":"zfr","ð•«":"zopf","â„¨":"Zfr","â„¤":"Zopf","ð’µ":"Zscr","Åº":"zacute","Å¹":"Zacute","Å¾":"zcaron","Å½":"Zcaron","Å¼":"zdot","Å»":"Zdot","Æµ":"imped","Ã¾":"thorn","Ãž":"THORN","Å‰":"napos","Î±":"alpha","Î‘":"Alpha","Î²":"beta","Î’":"Beta","Î³":"gamma","Î“":"Gamma","Î´":"delta","Î”":"Delta","Îµ":"epsi","Ïµ":"epsiv","Î•":"Epsilon","Ï":"gammad","Ïœ":"Gammad","Î¶":"zeta","Î–":"Zeta","Î·":"eta","Î—":"Eta","Î¸":"theta","Ï‘":"thetav","Î˜":"Theta","Î¹":"iota","Î™":"Iota","Îº":"kappa","Ï°":"kappav","Îš":"Kappa","Î»":"lambda","Î›":"Lambda","Î¼":"mu","Âµ":"micro","Îœ":"Mu","Î½":"nu","Î":"Nu","Î¾":"xi","Îž":"Xi","Î¿":"omicron","ÎŸ":"Omicron","Ï€":"pi","Ï–":"piv","Î&nbsp;":"Pi","Ï":"rho","Ï±":"rhov","Î¡":"Rho","Ïƒ":"sigma","Î£":"Sigma","Ï‚":"sigmaf","Ï„":"tau","Î¤":"Tau","Ï…":"upsi","Î¥":"Upsilon","Ï’":"Upsi","Ï†":"phi","Ï•":"phiv","Î¦":"Phi","Ï‡":"chi","Î§":"Chi","Ïˆ":"psi","Î¨":"Psi","Ï‰":"omega","Î©":"ohm","Ð°":"acy","Ð":"Acy","Ð±":"bcy","Ð‘":"Bcy","Ð²":"vcy","Ð’":"Vcy","Ð³":"gcy","Ð“":"Gcy","Ñ“":"gjcy","Ðƒ":"GJcy","Ð´":"dcy","Ð”":"Dcy","Ñ’":"djcy","Ð‚":"DJcy","Ðµ":"iecy","Ð•":"IEcy","Ñ‘":"iocy","Ð":"IOcy","Ñ”":"jukcy","Ð„":"Jukcy","Ð¶":"zhcy","Ð–":"ZHcy","Ð·":"zcy","Ð—":"Zcy","Ñ•":"dscy","Ð…":"DScy","Ð¸":"icy","Ð˜":"Icy","Ñ–":"iukcy","Ð†":"Iukcy","Ñ—":"yicy","Ð‡":"YIcy","Ð¹":"jcy","Ð™":"Jcy","Ñ˜":"jsercy","Ðˆ":"Jsercy","Ðº":"kcy","Ðš":"Kcy","Ñœ":"kjcy","ÐŒ":"KJcy","Ð»":"lcy","Ð›":"Lcy","Ñ™":"ljcy","Ð‰":"LJcy","Ð¼":"mcy","Ðœ":"Mcy","Ð½":"ncy","Ð":"Ncy","Ñš":"njcy","ÐŠ":"NJcy","Ð¾":"ocy","Ðž":"Ocy","Ð¿":"pcy","ÐŸ":"Pcy","Ñ€":"rcy","Ð&nbsp;":"Rcy","Ñ":"scy","Ð¡":"Scy","Ñ‚":"tcy","Ð¢":"Tcy","Ñ›":"tshcy","Ð‹":"TSHcy","Ñƒ":"ucy","Ð£":"Ucy","Ñž":"ubrcy","ÐŽ":"Ubrcy","Ñ„":"fcy","Ð¤":"Fcy","Ñ…":"khcy","Ð¥":"KHcy","Ñ†":"tscy","Ð¦":"TScy","Ñ‡":"chcy","Ð§":"CHcy","ÑŸ":"dzcy","Ð":"DZcy","Ñˆ":"shcy","Ð¨":"SHcy","Ñ‰":"shchcy","Ð©":"SHCHcy","ÑŠ":"hardcy","Ðª":"HARDcy","Ñ‹":"ycy","Ð«":"Ycy","ÑŒ":"softcy","Ð¬":"SOFTcy","Ñ":"ecy","Ð­":"Ecy","ÑŽ":"yucy","Ð®":"YUcy","Ñ":"yacy","Ð¯":"YAcy","â„µ":"aleph","â„¶":"beth","â„·":"gimel","â„¸":"daleth"},oe=/["&amp;'&lt;&gt;`]/g,ie={'"':"&amp;quot;","&amp;":"&amp;amp;","'":"&amp;#x27;","&lt;":"&amp;lt;","&gt;":"&amp;gt;","`":"&amp;#x60;"},ae=/&amp;#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,se=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ue=/&amp;(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&amp;(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&amp;#([0-9]+)(;?)|&amp;#[xX]([a-fA-F0-9]+)(;?)|&amp;([0-9a-zA-Z]+)/g,le={aacute:"Ã¡",Aacute:"Ã",abreve:"Äƒ",Abreve:"Ä‚",ac:"âˆ¾",acd:"âˆ¿",acE:"âˆ¾Ì³",acirc:"Ã¢",Acirc:"Ã‚",acute:"Â´",acy:"Ð°",Acy:"Ð",aelig:"Ã¦",AElig:"Ã†",af:"â¡",afr:"ð”ž",Afr:"ð”„",agrave:"Ã&nbsp;",Agrave:"Ã€",alefsym:"â„µ",aleph:"â„µ",alpha:"Î±",Alpha:"Î‘",amacr:"Ä",Amacr:"Ä€",amalg:"â¨¿",amp:"&amp;",AMP:"&amp;",and:"âˆ§",And:"â©“",andand:"â©•",andd:"â©œ",andslope:"â©˜",andv:"â©š",ang:"âˆ&nbsp;",ange:"â¦¤",angle:"âˆ&nbsp;",angmsd:"âˆ¡",angmsdaa:"â¦¨",angmsdab:"â¦©",angmsdac:"â¦ª",angmsdad:"â¦«",angmsdae:"â¦¬",angmsdaf:"â¦­",angmsdag:"â¦®",angmsdah:"â¦¯",angrt:"âˆŸ",angrtvb:"âŠ¾",angrtvbd:"â¦",angsph:"âˆ¢",angst:"Ã…",angzarr:"â¼",aogon:"Ä…",Aogon:"Ä„",aopf:"ð•’",Aopf:"ð”¸",ap:"â‰ˆ",apacir:"â©¯",ape:"â‰Š",apE:"â©°",apid:"â‰‹",apos:"'",ApplyFunction:"â¡",approx:"â‰ˆ",approxeq:"â‰Š",aring:"Ã¥",Aring:"Ã…",ascr:"ð’¶",Ascr:"ð’œ",Assign:"â‰”",ast:"*",asymp:"â‰ˆ",asympeq:"â‰",atilde:"Ã£",Atilde:"Ãƒ",auml:"Ã¤",Auml:"Ã„",awconint:"âˆ³",awint:"â¨‘",backcong:"â‰Œ",backepsilon:"Ï¶",backprime:"â€µ",backsim:"âˆ½",backsimeq:"â‹",Backslash:"âˆ–",Barv:"â«§",barvee:"âŠ½",barwed:"âŒ…",Barwed:"âŒ†",barwedge:"âŒ…",bbrk:"âŽµ",bbrktbrk:"âŽ¶",bcong:"â‰Œ",bcy:"Ð±",Bcy:"Ð‘",bdquo:"â€ž",becaus:"âˆµ",because:"âˆµ",Because:"âˆµ",bemptyv:"â¦°",bepsi:"Ï¶",bernou:"â„¬",Bernoullis:"â„¬",beta:"Î²",Beta:"Î’",beth:"â„¶",between:"â‰¬",bfr:"ð”Ÿ",Bfr:"ð”…",bigcap:"â‹‚",bigcirc:"â—¯",bigcup:"â‹ƒ",bigodot:"â¨€",bigoplus:"â¨",bigotimes:"â¨‚",bigsqcup:"â¨†",bigstar:"â˜…",bigtriangledown:"â–½",bigtriangleup:"â–³",biguplus:"â¨„",bigvee:"â‹",bigwedge:"â‹€",bkarow:"â¤",blacklozenge:"â§«",blacksquare:"â–ª",blacktriangle:"â–´",blacktriangledown:"â–¾",blacktriangleleft:"â—‚",blacktriangleright:"â–¸",blank:"â£",blk12:"â–’",blk14:"â–‘",blk34:"â–“",block:"â–ˆ",bne:"=âƒ¥",bnequiv:"â‰¡âƒ¥",bnot:"âŒ",bNot:"â«­",bopf:"ð•“",Bopf:"ð”¹",bot:"âŠ¥",bottom:"âŠ¥",bowtie:"â‹ˆ",boxbox:"â§‰",boxdl:"â”",boxdL:"â••",boxDl:"â•–",boxDL:"â•—",boxdr:"â”Œ",boxdR:"â•’",boxDr:"â•“",boxDR:"â•”",boxh:"â”€",boxH:"â•",boxhd:"â”¬",boxhD:"â•¥",boxHd:"â•¤",boxHD:"â•¦",boxhu:"â”´",boxhU:"â•¨",boxHu:"â•§",boxHU:"â•©",boxminus:"âŠŸ",boxplus:"âŠž",boxtimes:"âŠ&nbsp;",boxul:"â”˜",boxuL:"â•›",boxUl:"â•œ",boxUL:"â•",boxur:"â””",boxuR:"â•˜",boxUr:"â•™",boxUR:"â•š",boxv:"â”‚",boxV:"â•‘",boxvh:"â”¼",boxvH:"â•ª",boxVh:"â•«",boxVH:"â•¬",boxvl:"â”¤",boxvL:"â•¡",boxVl:"â•¢",boxVL:"â•£",boxvr:"â”œ",boxvR:"â•ž",boxVr:"â•Ÿ",boxVR:"â•&nbsp;",bprime:"â€µ",breve:"Ë˜",Breve:"Ë˜",brvbar:"Â¦",bscr:"ð’·",Bscr:"â„¬",bsemi:"â",bsim:"âˆ½",bsime:"â‹",bsol:"\\",bsolb:"â§…",bsolhsub:"âŸˆ",bull:"â€¢",bullet:"â€¢",bump:"â‰Ž",bumpe:"â‰",bumpE:"âª®",bumpeq:"â‰",Bumpeq:"â‰Ž",cacute:"Ä‡",Cacute:"Ä†",cap:"âˆ©",Cap:"â‹’",capand:"â©„",capbrcup:"â©‰",capcap:"â©‹",capcup:"â©‡",capdot:"â©€",CapitalDifferentialD:"â……",caps:"âˆ©ï¸€",caret:"â",caron:"Ë‡",Cayleys:"â„­",ccaps:"â©",ccaron:"Ä",Ccaron:"ÄŒ",ccedil:"Ã§",Ccedil:"Ã‡",ccirc:"Ä‰",Ccirc:"Äˆ",Cconint:"âˆ°",ccups:"â©Œ",ccupssm:"â©",cdot:"Ä‹",Cdot:"ÄŠ",cedil:"Â¸",Cedilla:"Â¸",cemptyv:"â¦²",cent:"Â¢",centerdot:"Â·",CenterDot:"Â·",cfr:"ð”&nbsp;",Cfr:"â„­",chcy:"Ñ‡",CHcy:"Ð§",check:"âœ“",checkmark:"âœ“",chi:"Ï‡",Chi:"Î§",cir:"â—‹",circ:"Ë†",circeq:"â‰—",circlearrowleft:"â†º",circlearrowright:"â†»",circledast:"âŠ›",circledcirc:"âŠš",circleddash:"âŠ",CircleDot:"âŠ™",circledR:"Â®",circledS:"â“ˆ",CircleMinus:"âŠ–",CirclePlus:"âŠ•",CircleTimes:"âŠ—",cire:"â‰—",cirE:"â§ƒ",cirfnint:"â¨",cirmid:"â«¯",cirscir:"â§‚",ClockwiseContourIntegral:"âˆ²",CloseCurlyDoubleQuote:"â€",CloseCurlyQuote:"â€™",clubs:"â™£",clubsuit:"â™£",colon:":",Colon:"âˆ·",colone:"â‰”",Colone:"â©´",coloneq:"â‰”",comma:",",commat:"@",comp:"âˆ",compfn:"âˆ˜",complement:"âˆ",complexes:"â„‚",cong:"â‰…",congdot:"â©­",Congruent:"â‰¡",conint:"âˆ®",Conint:"âˆ¯",ContourIntegral:"âˆ®",copf:"ð•”",Copf:"â„‚",coprod:"âˆ",Coproduct:"âˆ",copy:"Â©",COPY:"Â©",copysr:"â„—",CounterClockwiseContourIntegral:"âˆ³",crarr:"â†µ",cross:"âœ—",Cross:"â¨¯",cscr:"ð’¸",Cscr:"ð’ž",csub:"â«",csube:"â«‘",csup:"â«",csupe:"â«’",ctdot:"â‹¯",cudarrl:"â¤¸",cudarrr:"â¤µ",cuepr:"â‹ž",cuesc:"â‹Ÿ",cularr:"â†¶",cularrp:"â¤½",cup:"âˆª",Cup:"â‹“",cupbrcap:"â©ˆ",cupcap:"â©†",CupCap:"â‰",cupcup:"â©Š",cupdot:"âŠ",cupor:"â©…",cups:"âˆªï¸€",curarr:"â†·",curarrm:"â¤¼",curlyeqprec:"â‹ž",curlyeqsucc:"â‹Ÿ",curlyvee:"â‹Ž",curlywedge:"â‹",curren:"Â¤",curvearrowleft:"â†¶",curvearrowright:"â†·",cuvee:"â‹Ž",cuwed:"â‹",cwconint:"âˆ²",cwint:"âˆ±",cylcty:"âŒ­",dagger:"â€&nbsp;",Dagger:"â€¡",daleth:"â„¸",darr:"â†“",dArr:"â‡“",Darr:"â†¡",dash:"â€",dashv:"âŠ£",Dashv:"â«¤",dbkarow:"â¤",dblac:"Ë",dcaron:"Ä",Dcaron:"ÄŽ",dcy:"Ð´",Dcy:"Ð”",dd:"â…†",DD:"â……",ddagger:"â€¡",ddarr:"â‡Š",DDotrahd:"â¤‘",ddotseq:"â©·",deg:"Â°",Del:"âˆ‡",delta:"Î´",Delta:"Î”",demptyv:"â¦±",dfisht:"â¥¿",dfr:"ð”¡",Dfr:"ð”‡",dHar:"â¥¥",dharl:"â‡ƒ",dharr:"â‡‚",DiacriticalAcute:"Â´",DiacriticalDot:"Ë™",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ëœ",diam:"â‹„",diamond:"â‹„",Diamond:"â‹„",diamondsuit:"â™¦",diams:"â™¦",die:"Â¨",DifferentialD:"â…†",digamma:"Ï",disin:"â‹²",div:"Ã·",divide:"Ã·",divideontimes:"â‹‡",divonx:"â‹‡",djcy:"Ñ’",DJcy:"Ð‚",dlcorn:"âŒž",dlcrop:"âŒ",dollar:"$",dopf:"ð••",Dopf:"ð”»",dot:"Ë™",Dot:"Â¨",DotDot:"âƒœ",doteq:"â‰",doteqdot:"â‰‘",DotEqual:"â‰",dotminus:"âˆ¸",dotplus:"âˆ”",dotsquare:"âŠ¡",doublebarwedge:"âŒ†",DoubleContourIntegral:"âˆ¯",DoubleDot:"Â¨",DoubleDownArrow:"â‡“",DoubleLeftArrow:"â‡",DoubleLeftRightArrow:"â‡”",DoubleLeftTee:"â«¤",DoubleLongLeftArrow:"âŸ¸",DoubleLongLeftRightArrow:"âŸº",DoubleLongRightArrow:"âŸ¹",DoubleRightArrow:"â‡’",DoubleRightTee:"âŠ¨",DoubleUpArrow:"â‡‘",DoubleUpDownArrow:"â‡•",DoubleVerticalBar:"âˆ¥",downarrow:"â†“",Downarrow:"â‡“",DownArrow:"â†“",DownArrowBar:"â¤“",DownArrowUpArrow:"â‡µ",DownBreve:"Ì‘",downdownarrows:"â‡Š",downharpoonleft:"â‡ƒ",downharpoonright:"â‡‚",DownLeftRightVector:"â¥",DownLeftTeeVector:"â¥ž",DownLeftVector:"â†½",DownLeftVectorBar:"â¥–",DownRightTeeVector:"â¥Ÿ",DownRightVector:"â‡",DownRightVectorBar:"â¥—",DownTee:"âŠ¤",DownTeeArrow:"â†§",drbkarow:"â¤",drcorn:"âŒŸ",drcrop:"âŒŒ",dscr:"ð’¹",Dscr:"ð’Ÿ",dscy:"Ñ•",DScy:"Ð…",dsol:"â§¶",dstrok:"Ä‘",Dstrok:"Ä",dtdot:"â‹±",dtri:"â–¿",dtrif:"â–¾",duarr:"â‡µ",duhar:"â¥¯",dwangle:"â¦¦",dzcy:"ÑŸ",DZcy:"Ð",dzigrarr:"âŸ¿",eacute:"Ã©",Eacute:"Ã‰",easter:"â©®",ecaron:"Ä›",Ecaron:"Äš",ecir:"â‰–",ecirc:"Ãª",Ecirc:"ÃŠ",ecolon:"â‰•",ecy:"Ñ",Ecy:"Ð­",eDDot:"â©·",edot:"Ä—",eDot:"â‰‘",Edot:"Ä–",ee:"â…‡",efDot:"â‰’",efr:"ð”¢",Efr:"ð”ˆ",eg:"âªš",egrave:"Ã¨",Egrave:"Ãˆ",egs:"âª–",egsdot:"âª˜",el:"âª™",Element:"âˆˆ",elinters:"â§",ell:"â„“",els:"âª•",elsdot:"âª—",emacr:"Ä“",Emacr:"Ä’",empty:"âˆ…",emptyset:"âˆ…",EmptySmallSquare:"â—»",emptyv:"âˆ…",EmptyVerySmallSquare:"â–«",emsp:"â€ƒ",emsp13:"â€„",emsp14:"â€…",eng:"Å‹",ENG:"ÅŠ",ensp:"â€‚",eogon:"Ä™",Eogon:"Ä˜",eopf:"ð•–",Eopf:"ð”¼",epar:"â‹•",eparsl:"â§£",eplus:"â©±",epsi:"Îµ",epsilon:"Îµ",Epsilon:"Î•",epsiv:"Ïµ",eqcirc:"â‰–",eqcolon:"â‰•",eqsim:"â‰‚",eqslantgtr:"âª–",eqslantless:"âª•",Equal:"â©µ",equals:"=",EqualTilde:"â‰‚",equest:"â‰Ÿ",Equilibrium:"â‡Œ",equiv:"â‰¡",equivDD:"â©¸",eqvparsl:"â§¥",erarr:"â¥±",erDot:"â‰“",escr:"â„¯",Escr:"â„°",esdot:"â‰",esim:"â‰‚",Esim:"â©³",eta:"Î·",Eta:"Î—",eth:"Ã°",ETH:"Ã",euml:"Ã«",Euml:"Ã‹",euro:"â‚¬",excl:"!",exist:"âˆƒ",Exists:"âˆƒ",expectation:"â„°",exponentiale:"â…‡",ExponentialE:"â…‡",fallingdotseq:"â‰’",fcy:"Ñ„",Fcy:"Ð¤",female:"â™€",ffilig:"ï¬ƒ",fflig:"ï¬€",ffllig:"ï¬„",ffr:"ð”£",Ffr:"ð”‰",filig:"ï¬",FilledSmallSquare:"â—¼",FilledVerySmallSquare:"â–ª",fjlig:"fj",flat:"â™­",fllig:"ï¬‚",fltns:"â–±",fnof:"Æ’",fopf:"ð•—",Fopf:"ð”½",forall:"âˆ€",ForAll:"âˆ€",fork:"â‹”",forkv:"â«™",Fouriertrf:"â„±",fpartint:"â¨",frac12:"Â½",frac13:"â…“",frac14:"Â¼",frac15:"â…•",frac16:"â…™",frac18:"â…›",frac23:"â…”",frac25:"â…–",frac34:"Â¾",frac35:"â…—",frac38:"â…œ",frac45:"â…˜",frac56:"â…š",frac58:"â…",frac78:"â…ž",frasl:"â„",frown:"âŒ¢",fscr:"ð’»",Fscr:"â„±",gacute:"Çµ",gamma:"Î³",Gamma:"Î“",gammad:"Ï",Gammad:"Ïœ",gap:"âª†",gbreve:"ÄŸ",Gbreve:"Äž",Gcedil:"Ä¢",gcirc:"Ä",Gcirc:"Äœ",gcy:"Ð³",Gcy:"Ð“",gdot:"Ä¡",Gdot:"Ä&nbsp;",ge:"â‰¥",gE:"â‰§",gel:"â‹›",gEl:"âªŒ",geq:"â‰¥",geqq:"â‰§",geqslant:"â©¾",ges:"â©¾",gescc:"âª©",gesdot:"âª€",gesdoto:"âª‚",gesdotol:"âª„",gesl:"â‹›ï¸€",gesles:"âª”",gfr:"ð”¤",Gfr:"ð”Š",gg:"â‰«",Gg:"â‹™",ggg:"â‹™",gimel:"â„·",gjcy:"Ñ“",GJcy:"Ðƒ",gl:"â‰·",gla:"âª¥",glE:"âª’",glj:"âª¤",gnap:"âªŠ",gnapprox:"âªŠ",gne:"âªˆ",gnE:"â‰©",gneq:"âªˆ",gneqq:"â‰©",gnsim:"â‹§",gopf:"ð•˜",Gopf:"ð”¾",grave:"`",GreaterEqual:"â‰¥",GreaterEqualLess:"â‹›",GreaterFullEqual:"â‰§",GreaterGreater:"âª¢",GreaterLess:"â‰·",GreaterSlantEqual:"â©¾",GreaterTilde:"â‰³",gscr:"â„Š",Gscr:"ð’¢",gsim:"â‰³",gsime:"âªŽ",gsiml:"âª",gt:"&gt;",Gt:"â‰«",GT:"&gt;",gtcc:"âª§",gtcir:"â©º",gtdot:"â‹—",gtlPar:"â¦•",gtquest:"â©¼",gtrapprox:"âª†",gtrarr:"â¥¸",gtrdot:"â‹—",gtreqless:"â‹›",gtreqqless:"âªŒ",gtrless:"â‰·",gtrsim:"â‰³",gvertneqq:"â‰©ï¸€",gvnE:"â‰©ï¸€",Hacek:"Ë‡",hairsp:"â€Š",half:"Â½",hamilt:"â„‹",hardcy:"ÑŠ",HARDcy:"Ðª",harr:"â†”",hArr:"â‡”",harrcir:"â¥ˆ",harrw:"â†­",Hat:"^",hbar:"â„",hcirc:"Ä¥",Hcirc:"Ä¤",hearts:"â™¥",heartsuit:"â™¥",hellip:"â€¦",hercon:"âŠ¹",hfr:"ð”¥",Hfr:"â„Œ",HilbertSpace:"â„‹",hksearow:"â¤¥",hkswarow:"â¤¦",hoarr:"â‡¿",homtht:"âˆ»",hookleftarrow:"â†©",hookrightarrow:"â†ª",hopf:"ð•™",Hopf:"â„",horbar:"â€•",HorizontalLine:"â”€",hscr:"ð’½",Hscr:"â„‹",hslash:"â„",hstrok:"Ä§",Hstrok:"Ä¦",HumpDownHump:"â‰Ž",HumpEqual:"â‰",hybull:"âƒ",hyphen:"â€",iacute:"Ã­",Iacute:"Ã",ic:"â£",icirc:"Ã®",Icirc:"ÃŽ",icy:"Ð¸",Icy:"Ð˜",Idot:"Ä°",iecy:"Ðµ",IEcy:"Ð•",iexcl:"Â¡",iff:"â‡”",ifr:"ð”¦",Ifr:"â„‘",igrave:"Ã¬",Igrave:"ÃŒ",ii:"â…ˆ",iiiint:"â¨Œ",iiint:"âˆ­",iinfin:"â§œ",iiota:"â„©",ijlig:"Ä³",IJlig:"Ä²",Im:"â„‘",imacr:"Ä«",Imacr:"Äª",image:"â„‘",ImaginaryI:"â…ˆ",imagline:"â„",imagpart:"â„‘",imath:"Ä±",imof:"âŠ·",imped:"Æµ",Implies:"â‡’",in:"âˆˆ",incare:"â„…",infin:"âˆž",infintie:"â§",inodot:"Ä±",int:"âˆ«",Int:"âˆ¬",intcal:"âŠº",integers:"â„¤",Integral:"âˆ«",intercal:"âŠº",Intersection:"â‹‚",intlarhk:"â¨—",intprod:"â¨¼",InvisibleComma:"â£",InvisibleTimes:"â¢",iocy:"Ñ‘",IOcy:"Ð",iogon:"Ä¯",Iogon:"Ä®",iopf:"ð•š",Iopf:"ð•€",iota:"Î¹",Iota:"Î™",iprod:"â¨¼",iquest:"Â¿",iscr:"ð’¾",Iscr:"â„",isin:"âˆˆ",isindot:"â‹µ",isinE:"â‹¹",isins:"â‹´",isinsv:"â‹³",isinv:"âˆˆ",it:"â¢",itilde:"Ä©",Itilde:"Ä¨",iukcy:"Ñ–",Iukcy:"Ð†",iuml:"Ã¯",Iuml:"Ã",jcirc:"Äµ",Jcirc:"Ä´",jcy:"Ð¹",Jcy:"Ð™",jfr:"ð”§",Jfr:"ð”",jmath:"È·",jopf:"ð•›",Jopf:"ð•",jscr:"ð’¿",Jscr:"ð’¥",jsercy:"Ñ˜",Jsercy:"Ðˆ",jukcy:"Ñ”",Jukcy:"Ð„",kappa:"Îº",Kappa:"Îš",kappav:"Ï°",kcedil:"Ä·",Kcedil:"Ä¶",kcy:"Ðº",Kcy:"Ðš",kfr:"ð”¨",Kfr:"ð”Ž",kgreen:"Ä¸",khcy:"Ñ…",KHcy:"Ð¥",kjcy:"Ñœ",KJcy:"ÐŒ",kopf:"ð•œ",Kopf:"ð•‚",kscr:"ð“€",Kscr:"ð’¦",lAarr:"â‡š",lacute:"Äº",Lacute:"Ä¹",laemptyv:"â¦´",lagran:"â„’",lambda:"Î»",Lambda:"Î›",lang:"âŸ¨",Lang:"âŸª",langd:"â¦‘",langle:"âŸ¨",lap:"âª…",Laplacetrf:"â„’",laquo:"Â«",larr:"â†",lArr:"â‡",Larr:"â†ž",larrb:"â‡¤",larrbfs:"â¤Ÿ",larrfs:"â¤",larrhk:"â†©",larrlp:"â†«",larrpl:"â¤¹",larrsim:"â¥³",larrtl:"â†¢",lat:"âª«",latail:"â¤™",lAtail:"â¤›",late:"âª­",lates:"âª­ï¸€",lbarr:"â¤Œ",lBarr:"â¤Ž",lbbrk:"â²",lbrace:"{",lbrack:"[",lbrke:"â¦‹",lbrksld:"â¦",lbrkslu:"â¦",lcaron:"Ä¾",Lcaron:"Ä½",lcedil:"Ä¼",Lcedil:"Ä»",lceil:"âŒˆ",lcub:"{",lcy:"Ð»",Lcy:"Ð›",ldca:"â¤¶",ldquo:"â€œ",ldquor:"â€ž",ldrdhar:"â¥§",ldrushar:"â¥‹",ldsh:"â†²",le:"â‰¤",lE:"â‰¦",LeftAngleBracket:"âŸ¨",leftarrow:"â†",Leftarrow:"â‡",LeftArrow:"â†",LeftArrowBar:"â‡¤",LeftArrowRightArrow:"â‡†",leftarrowtail:"â†¢",LeftCeiling:"âŒˆ",LeftDoubleBracket:"âŸ¦",LeftDownTeeVector:"â¥¡",LeftDownVector:"â‡ƒ",LeftDownVectorBar:"â¥™",LeftFloor:"âŒŠ",leftharpoondown:"â†½",leftharpoonup:"â†¼",leftleftarrows:"â‡‡",leftrightarrow:"â†”",Leftrightarrow:"â‡”",LeftRightArrow:"â†”",leftrightarrows:"â‡†",leftrightharpoons:"â‡‹",leftrightsquigarrow:"â†­",LeftRightVector:"â¥Ž",LeftTee:"âŠ£",LeftTeeArrow:"â†¤",LeftTeeVector:"â¥š",leftthreetimes:"â‹‹",LeftTriangle:"âŠ²",LeftTriangleBar:"â§",LeftTriangleEqual:"âŠ´",LeftUpDownVector:"â¥‘",LeftUpTeeVector:"â¥&nbsp;",LeftUpVector:"â†¿",LeftUpVectorBar:"â¥˜",LeftVector:"â†¼",LeftVectorBar:"â¥’",leg:"â‹š",lEg:"âª‹",leq:"â‰¤",leqq:"â‰¦",leqslant:"â©½",les:"â©½",lescc:"âª¨",lesdot:"â©¿",lesdoto:"âª",lesdotor:"âªƒ",lesg:"â‹šï¸€",lesges:"âª“",lessapprox:"âª…",lessdot:"â‹–",lesseqgtr:"â‹š",lesseqqgtr:"âª‹",LessEqualGreater:"â‹š",LessFullEqual:"â‰¦",LessGreater:"â‰¶",lessgtr:"â‰¶",LessLess:"âª¡",lesssim:"â‰²",LessSlantEqual:"â©½",LessTilde:"â‰²",lfisht:"â¥¼",lfloor:"âŒŠ",lfr:"ð”©",Lfr:"ð”",lg:"â‰¶",lgE:"âª‘",lHar:"â¥¢",lhard:"â†½",lharu:"â†¼",lharul:"â¥ª",lhblk:"â–„",ljcy:"Ñ™",LJcy:"Ð‰",ll:"â‰ª",Ll:"â‹˜",llarr:"â‡‡",llcorner:"âŒž",Lleftarrow:"â‡š",llhard:"â¥«",lltri:"â—º",lmidot:"Å€",Lmidot:"Ä¿",lmoust:"âŽ°",lmoustache:"âŽ°",lnap:"âª‰",lnapprox:"âª‰",lne:"âª‡",lnE:"â‰¨",lneq:"âª‡",lneqq:"â‰¨",lnsim:"â‹¦",loang:"âŸ¬",loarr:"â‡½",lobrk:"âŸ¦",longleftarrow:"âŸµ",Longleftarrow:"âŸ¸",LongLeftArrow:"âŸµ",longleftrightarrow:"âŸ·",Longleftrightarrow:"âŸº",LongLeftRightArrow:"âŸ·",longmapsto:"âŸ¼",longrightarrow:"âŸ¶",Longrightarrow:"âŸ¹",LongRightArrow:"âŸ¶",looparrowleft:"â†«",looparrowright:"â†¬",lopar:"â¦…",lopf:"ð•",Lopf:"ð•ƒ",loplus:"â¨­",lotimes:"â¨´",lowast:"âˆ—",lowbar:"_",LowerLeftArrow:"â†™",LowerRightArrow:"â†˜",loz:"â—Š",lozenge:"â—Š",lozf:"â§«",lpar:"(",lparlt:"â¦“",lrarr:"â‡†",lrcorner:"âŒŸ",lrhar:"â‡‹",lrhard:"â¥­",lrm:"â€Ž",lrtri:"âŠ¿",lsaquo:"â€¹",lscr:"ð“",Lscr:"â„’",lsh:"â†°",Lsh:"â†°",lsim:"â‰²",lsime:"âª",lsimg:"âª",lsqb:"[",lsquo:"â€˜",lsquor:"â€š",lstrok:"Å‚",Lstrok:"Å",lt:"&lt;",Lt:"â‰ª",LT:"&lt;",ltcc:"âª¦",ltcir:"â©¹",ltdot:"â‹–",lthree:"â‹‹",ltimes:"â‹‰",ltlarr:"â¥¶",ltquest:"â©»",ltri:"â—ƒ",ltrie:"âŠ´",ltrif:"â—‚",ltrPar:"â¦–",lurdshar:"â¥Š",luruhar:"â¥¦",lvertneqq:"â‰¨ï¸€",lvnE:"â‰¨ï¸€",macr:"Â¯",male:"â™‚",malt:"âœ&nbsp;",maltese:"âœ&nbsp;",map:"â†¦",Map:"â¤…",mapsto:"â†¦",mapstodown:"â†§",mapstoleft:"â†¤",mapstoup:"â†¥",marker:"â–®",mcomma:"â¨©",mcy:"Ð¼",Mcy:"Ðœ",mdash:"â€”",mDDot:"âˆº",measuredangle:"âˆ¡",MediumSpace:"âŸ",Mellintrf:"â„³",mfr:"ð”ª",Mfr:"ð”",mho:"â„§",micro:"Âµ",mid:"âˆ£",midast:"*",midcir:"â«°",middot:"Â·",minus:"âˆ’",minusb:"âŠŸ",minusd:"âˆ¸",minusdu:"â¨ª",MinusPlus:"âˆ“",mlcp:"â«›",mldr:"â€¦",mnplus:"âˆ“",models:"âŠ§",mopf:"ð•ž",Mopf:"ð•„",mp:"âˆ“",mscr:"ð“‚",Mscr:"â„³",mstpos:"âˆ¾",mu:"Î¼",Mu:"Îœ",multimap:"âŠ¸",mumap:"âŠ¸",nabla:"âˆ‡",nacute:"Å„",Nacute:"Åƒ",nang:"âˆ&nbsp;âƒ’",nap:"â‰‰",napE:"â©°Ì¸",napid:"â‰‹Ì¸",napos:"Å‰",napprox:"â‰‰",natur:"â™®",natural:"â™®",naturals:"â„•",nbsp:"Â&nbsp;",nbump:"â‰ŽÌ¸",nbumpe:"â‰Ì¸",ncap:"â©ƒ",ncaron:"Åˆ",Ncaron:"Å‡",ncedil:"Å†",Ncedil:"Å…",ncong:"â‰‡",ncongdot:"â©­Ì¸",ncup:"â©‚",ncy:"Ð½",Ncy:"Ð",ndash:"â€“",ne:"â‰&nbsp;",nearhk:"â¤¤",nearr:"â†—",neArr:"â‡—",nearrow:"â†—",nedot:"â‰Ì¸",NegativeMediumSpace:"â€‹",NegativeThickSpace:"â€‹",NegativeThinSpace:"â€‹",NegativeVeryThinSpace:"â€‹",nequiv:"â‰¢",nesear:"â¤¨",nesim:"â‰‚Ì¸",NestedGreaterGreater:"â‰«",NestedLessLess:"â‰ª",NewLine:"\n",nexist:"âˆ„",nexists:"âˆ„",nfr:"ð”«",Nfr:"ð”‘",nge:"â‰±",ngE:"â‰§Ì¸",ngeq:"â‰±",ngeqq:"â‰§Ì¸",ngeqslant:"â©¾Ì¸",nges:"â©¾Ì¸",nGg:"â‹™Ì¸",ngsim:"â‰µ",ngt:"â‰¯",nGt:"â‰«âƒ’",ngtr:"â‰¯",nGtv:"â‰«Ì¸",nharr:"â†®",nhArr:"â‡Ž",nhpar:"â«²",ni:"âˆ‹",nis:"â‹¼",nisd:"â‹º",niv:"âˆ‹",njcy:"Ñš",NJcy:"ÐŠ",nlarr:"â†š",nlArr:"â‡",nldr:"â€¥",nle:"â‰°",nlE:"â‰¦Ì¸",nleftarrow:"â†š",nLeftarrow:"â‡",nleftrightarrow:"â†®",nLeftrightarrow:"â‡Ž",nleq:"â‰°",nleqq:"â‰¦Ì¸",nleqslant:"â©½Ì¸",nles:"â©½Ì¸",nless:"â‰®",nLl:"â‹˜Ì¸",nlsim:"â‰´",nlt:"â‰®",nLt:"â‰ªâƒ’",nltri:"â‹ª",nltrie:"â‹¬",nLtv:"â‰ªÌ¸",nmid:"âˆ¤",NoBreak:"â&nbsp;",NonBreakingSpace:"Â&nbsp;",nopf:"ð•Ÿ",Nopf:"â„•",not:"Â¬",Not:"â«¬",NotCongruent:"â‰¢",NotCupCap:"â‰­",NotDoubleVerticalBar:"âˆ¦",NotElement:"âˆ‰",NotEqual:"â‰&nbsp;",NotEqualTilde:"â‰‚Ì¸",NotExists:"âˆ„",NotGreater:"â‰¯",NotGreaterEqual:"â‰±",NotGreaterFullEqual:"â‰§Ì¸",NotGreaterGreater:"â‰«Ì¸",NotGreaterLess:"â‰¹",NotGreaterSlantEqual:"â©¾Ì¸",NotGreaterTilde:"â‰µ",NotHumpDownHump:"â‰ŽÌ¸",NotHumpEqual:"â‰Ì¸",notin:"âˆ‰",notindot:"â‹µÌ¸",notinE:"â‹¹Ì¸",notinva:"âˆ‰",notinvb:"â‹·",notinvc:"â‹¶",NotLeftTriangle:"â‹ª",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangleEqual:"â‹¬",NotLess:"â‰®",NotLessEqual:"â‰°",NotLessGreater:"â‰¸",NotLessLess:"â‰ªÌ¸",NotLessSlantEqual:"â©½Ì¸",NotLessTilde:"â‰´",NotNestedGreaterGreater:"âª¢Ì¸",NotNestedLessLess:"âª¡Ì¸",notni:"âˆŒ",notniva:"âˆŒ",notnivb:"â‹¾",notnivc:"â‹½",NotPrecedes:"âŠ€",NotPrecedesEqual:"âª¯Ì¸",NotPrecedesSlantEqual:"â‹&nbsp;",NotReverseElement:"âˆŒ",NotRightTriangle:"â‹«",NotRightTriangleBar:"â§Ì¸",NotRightTriangleEqual:"â‹­",NotSquareSubset:"âŠÌ¸",NotSquareSubsetEqual:"â‹¢",NotSquareSuperset:"âŠÌ¸",NotSquareSupersetEqual:"â‹£",NotSubset:"âŠ‚âƒ’",NotSubsetEqual:"âŠˆ",NotSucceeds:"âŠ",NotSucceedsEqual:"âª°Ì¸",NotSucceedsSlantEqual:"â‹¡",NotSucceedsTilde:"â‰¿Ì¸",NotSuperset:"âŠƒâƒ’",NotSupersetEqual:"âŠ‰",NotTilde:"â‰",NotTildeEqual:"â‰„",NotTildeFullEqual:"â‰‡",NotTildeTilde:"â‰‰",NotVerticalBar:"âˆ¤",npar:"âˆ¦",nparallel:"âˆ¦",nparsl:"â«½âƒ¥",npart:"âˆ‚Ì¸",npolint:"â¨”",npr:"âŠ€",nprcue:"â‹&nbsp;",npre:"âª¯Ì¸",nprec:"âŠ€",npreceq:"âª¯Ì¸",nrarr:"â†›",nrArr:"â‡",nrarrc:"â¤³Ì¸",nrarrw:"â†Ì¸",nrightarrow:"â†›",nRightarrow:"â‡",nrtri:"â‹«",nrtrie:"â‹­",nsc:"âŠ",nsccue:"â‹¡",nsce:"âª°Ì¸",nscr:"ð“ƒ",Nscr:"ð’©",nshortmid:"âˆ¤",nshortparallel:"âˆ¦",nsim:"â‰",nsime:"â‰„",nsimeq:"â‰„",nsmid:"âˆ¤",nspar:"âˆ¦",nsqsube:"â‹¢",nsqsupe:"â‹£",nsub:"âŠ„",nsube:"âŠˆ",nsubE:"â«…Ì¸",nsubset:"âŠ‚âƒ’",nsubseteq:"âŠˆ",nsubseteqq:"â«…Ì¸",nsucc:"âŠ",nsucceq:"âª°Ì¸",nsup:"âŠ…",nsupe:"âŠ‰",nsupE:"â«†Ì¸",nsupset:"âŠƒâƒ’",nsupseteq:"âŠ‰",nsupseteqq:"â«†Ì¸",ntgl:"â‰¹",ntilde:"Ã±",Ntilde:"Ã‘",ntlg:"â‰¸",ntriangleleft:"â‹ª",ntrianglelefteq:"â‹¬",ntriangleright:"â‹«",ntrianglerighteq:"â‹­",nu:"Î½",Nu:"Î",num:"#",numero:"â„–",numsp:"â€‡",nvap:"â‰âƒ’",nvdash:"âŠ¬",nvDash:"âŠ­",nVdash:"âŠ®",nVDash:"âŠ¯",nvge:"â‰¥âƒ’",nvgt:"&gt;âƒ’",nvHarr:"â¤„",nvinfin:"â§ž",nvlArr:"â¤‚",nvle:"â‰¤âƒ’",nvlt:"&lt;âƒ’",nvltrie:"âŠ´âƒ’",nvrArr:"â¤ƒ",nvrtrie:"âŠµâƒ’",nvsim:"âˆ¼âƒ’",nwarhk:"â¤£",nwarr:"â†–",nwArr:"â‡–",nwarrow:"â†–",nwnear:"â¤§",oacute:"Ã³",Oacute:"Ã“",oast:"âŠ›",ocir:"âŠš",ocirc:"Ã´",Ocirc:"Ã”",ocy:"Ð¾",Ocy:"Ðž",odash:"âŠ",odblac:"Å‘",Odblac:"Å",odiv:"â¨¸",odot:"âŠ™",odsold:"â¦¼",oelig:"Å“",OElig:"Å’",ofcir:"â¦¿",ofr:"ð”¬",Ofr:"ð”’",ogon:"Ë›",ograve:"Ã²",Ograve:"Ã’",ogt:"â§",ohbar:"â¦µ",ohm:"Î©",oint:"âˆ®",olarr:"â†º",olcir:"â¦¾",olcross:"â¦»",oline:"â€¾",olt:"â§€",omacr:"Å",Omacr:"ÅŒ",omega:"Ï‰",Omega:"Î©",omicron:"Î¿",Omicron:"ÎŸ",omid:"â¦¶",ominus:"âŠ–",oopf:"ð•&nbsp;",Oopf:"ð•†",opar:"â¦·",OpenCurlyDoubleQuote:"â€œ",OpenCurlyQuote:"â€˜",operp:"â¦¹",oplus:"âŠ•",or:"âˆ¨",Or:"â©”",orarr:"â†»",ord:"â©",order:"â„´",orderof:"â„´",ordf:"Âª",ordm:"Âº",origof:"âŠ¶",oror:"â©–",orslope:"â©—",orv:"â©›",oS:"â“ˆ",oscr:"â„´",Oscr:"ð’ª",oslash:"Ã¸",Oslash:"Ã˜",osol:"âŠ˜",otilde:"Ãµ",Otilde:"Ã•",otimes:"âŠ—",Otimes:"â¨·",otimesas:"â¨¶",ouml:"Ã¶",Ouml:"Ã–",ovbar:"âŒ½",OverBar:"â€¾",OverBrace:"âž",OverBracket:"âŽ´",OverParenthesis:"âœ",par:"âˆ¥",para:"Â¶",parallel:"âˆ¥",parsim:"â«³",parsl:"â«½",part:"âˆ‚",PartialD:"âˆ‚",pcy:"Ð¿",Pcy:"ÐŸ",percnt:"%",period:".",permil:"â€°",perp:"âŠ¥",pertenk:"â€±",pfr:"ð”­",Pfr:"ð”“",phi:"Ï†",Phi:"Î¦",phiv:"Ï•",phmmat:"â„³",phone:"â˜Ž",pi:"Ï€",Pi:"Î&nbsp;",pitchfork:"â‹”",piv:"Ï–",planck:"â„",planckh:"â„Ž",plankv:"â„",plus:"+",plusacir:"â¨£",plusb:"âŠž",pluscir:"â¨¢",plusdo:"âˆ”",plusdu:"â¨¥",pluse:"â©²",PlusMinus:"Â±",plusmn:"Â±",plussim:"â¨¦",plustwo:"â¨§",pm:"Â±",Poincareplane:"â„Œ",pointint:"â¨•",popf:"ð•¡",Popf:"â„™",pound:"Â£",pr:"â‰º",Pr:"âª»",prap:"âª·",prcue:"â‰¼",pre:"âª¯",prE:"âª³",prec:"â‰º",precapprox:"âª·",preccurlyeq:"â‰¼",Precedes:"â‰º",PrecedesEqual:"âª¯",PrecedesSlantEqual:"â‰¼",PrecedesTilde:"â‰¾",preceq:"âª¯",precnapprox:"âª¹",precneqq:"âªµ",precnsim:"â‹¨",precsim:"â‰¾",prime:"â€²",Prime:"â€³",primes:"â„™",prnap:"âª¹",prnE:"âªµ",prnsim:"â‹¨",prod:"âˆ",Product:"âˆ",profalar:"âŒ®",profline:"âŒ’",profsurf:"âŒ“",prop:"âˆ",Proportion:"âˆ·",Proportional:"âˆ",propto:"âˆ",prsim:"â‰¾",prurel:"âŠ°",pscr:"ð“…",Pscr:"ð’«",psi:"Ïˆ",Psi:"Î¨",puncsp:"â€ˆ",qfr:"ð”®",Qfr:"ð””",qint:"â¨Œ",qopf:"ð•¢",Qopf:"â„š",qprime:"â—",qscr:"ð“†",Qscr:"ð’¬",quaternions:"â„",quatint:"â¨–",quest:"?",questeq:"â‰Ÿ",quot:'"',QUOT:'"',rAarr:"â‡›",race:"âˆ½Ì±",racute:"Å•",Racute:"Å”",radic:"âˆš",raemptyv:"â¦³",rang:"âŸ©",Rang:"âŸ«",rangd:"â¦’",range:"â¦¥",rangle:"âŸ©",raquo:"Â»",rarr:"â†’",rArr:"â‡’",Rarr:"â†&nbsp;",rarrap:"â¥µ",rarrb:"â‡¥",rarrbfs:"â¤&nbsp;",rarrc:"â¤³",rarrfs:"â¤ž",rarrhk:"â†ª",rarrlp:"â†¬",rarrpl:"â¥…",rarrsim:"â¥´",rarrtl:"â†£",Rarrtl:"â¤–",rarrw:"â†",ratail:"â¤š",rAtail:"â¤œ",ratio:"âˆ¶",rationals:"â„š",rbarr:"â¤",rBarr:"â¤",RBarr:"â¤",rbbrk:"â³",rbrace:"}",rbrack:"]",rbrke:"â¦Œ",rbrksld:"â¦Ž",rbrkslu:"â¦",rcaron:"Å™",Rcaron:"Å˜",rcedil:"Å—",Rcedil:"Å–",rceil:"âŒ‰",rcub:"}",rcy:"Ñ€",Rcy:"Ð&nbsp;",rdca:"â¤·",rdldhar:"â¥©",rdquo:"â€",rdquor:"â€",rdsh:"â†³",Re:"â„œ",real:"â„œ",realine:"â„›",realpart:"â„œ",reals:"â„",rect:"â–­",reg:"Â®",REG:"Â®",ReverseElement:"âˆ‹",ReverseEquilibrium:"â‡‹",ReverseUpEquilibrium:"â¥¯",rfisht:"â¥½",rfloor:"âŒ‹",rfr:"ð”¯",Rfr:"â„œ",rHar:"â¥¤",rhard:"â‡",rharu:"â‡€",rharul:"â¥¬",rho:"Ï",Rho:"Î¡",rhov:"Ï±",RightAngleBracket:"âŸ©",rightarrow:"â†’",Rightarrow:"â‡’",RightArrow:"â†’",RightArrowBar:"â‡¥",RightArrowLeftArrow:"â‡„",rightarrowtail:"â†£",RightCeiling:"âŒ‰",RightDoubleBracket:"âŸ§",RightDownTeeVector:"â¥",RightDownVector:"â‡‚",RightDownVectorBar:"â¥•",RightFloor:"âŒ‹",rightharpoondown:"â‡",rightharpoonup:"â‡€",rightleftarrows:"â‡„",rightleftharpoons:"â‡Œ",rightrightarrows:"â‡‰",rightsquigarrow:"â†",RightTee:"âŠ¢",RightTeeArrow:"â†¦",RightTeeVector:"â¥›",rightthreetimes:"â‹Œ",RightTriangle:"âŠ³",RightTriangleBar:"â§",RightTriangleEqual:"âŠµ",RightUpDownVector:"â¥",RightUpTeeVector:"â¥œ",RightUpVector:"â†¾",RightUpVectorBar:"â¥”",RightVector:"â‡€",RightVectorBar:"â¥“",ring:"Ëš",risingdotseq:"â‰“",rlarr:"â‡„",rlhar:"â‡Œ",rlm:"â€",rmoust:"âŽ±",rmoustache:"âŽ±",rnmid:"â«®",roang:"âŸ­",roarr:"â‡¾",robrk:"âŸ§",ropar:"â¦†",ropf:"ð•£",Ropf:"â„",roplus:"â¨®",rotimes:"â¨µ",RoundImplies:"â¥°",rpar:")",rpargt:"â¦”",rppolint:"â¨’",rrarr:"â‡‰",Rrightarrow:"â‡›",rsaquo:"â€º",rscr:"ð“‡",Rscr:"â„›",rsh:"â†±",Rsh:"â†±",rsqb:"]",rsquo:"â€™",rsquor:"â€™",rthree:"â‹Œ",rtimes:"â‹Š",rtri:"â–¹",rtrie:"âŠµ",rtrif:"â–¸",rtriltri:"â§Ž",RuleDelayed:"â§´",ruluhar:"â¥¨",rx:"â„ž",sacute:"Å›",Sacute:"Åš",sbquo:"â€š",sc:"â‰»",Sc:"âª¼",scap:"âª¸",scaron:"Å¡",Scaron:"Å&nbsp;",sccue:"â‰½",sce:"âª°",scE:"âª´",scedil:"ÅŸ",Scedil:"Åž",scirc:"Å",Scirc:"Åœ",scnap:"âªº",scnE:"âª¶",scnsim:"â‹©",scpolint:"â¨“",scsim:"â‰¿",scy:"Ñ",Scy:"Ð¡",sdot:"â‹…",sdotb:"âŠ¡",sdote:"â©¦",searhk:"â¤¥",searr:"â†˜",seArr:"â‡˜",searrow:"â†˜",sect:"Â§",semi:";",seswar:"â¤©",setminus:"âˆ–",setmn:"âˆ–",sext:"âœ¶",sfr:"ð”°",Sfr:"ð”–",sfrown:"âŒ¢",sharp:"â™¯",shchcy:"Ñ‰",SHCHcy:"Ð©",shcy:"Ñˆ",SHcy:"Ð¨",ShortDownArrow:"â†“",ShortLeftArrow:"â†",shortmid:"âˆ£",shortparallel:"âˆ¥",ShortRightArrow:"â†’",ShortUpArrow:"â†‘",shy:"Â­",sigma:"Ïƒ",Sigma:"Î£",sigmaf:"Ï‚",sigmav:"Ï‚",sim:"âˆ¼",simdot:"â©ª",sime:"â‰ƒ",simeq:"â‰ƒ",simg:"âªž",simgE:"âª&nbsp;",siml:"âª",simlE:"âªŸ",simne:"â‰†",simplus:"â¨¤",simrarr:"â¥²",slarr:"â†",SmallCircle:"âˆ˜",smallsetminus:"âˆ–",smashp:"â¨³",smeparsl:"â§¤",smid:"âˆ£",smile:"âŒ£",smt:"âªª",smte:"âª¬",smtes:"âª¬ï¸€",softcy:"ÑŒ",SOFTcy:"Ð¬",sol:"/",solb:"â§„",solbar:"âŒ¿",sopf:"ð•¤",Sopf:"ð•Š",spades:"â™&nbsp;",spadesuit:"â™&nbsp;",spar:"âˆ¥",sqcap:"âŠ“",sqcaps:"âŠ“ï¸€",sqcup:"âŠ”",sqcups:"âŠ”ï¸€",Sqrt:"âˆš",sqsub:"âŠ",sqsube:"âŠ‘",sqsubset:"âŠ",sqsubseteq:"âŠ‘",sqsup:"âŠ",sqsupe:"âŠ’",sqsupset:"âŠ",sqsupseteq:"âŠ’",squ:"â–¡",square:"â–¡",Square:"â–¡",SquareIntersection:"âŠ“",SquareSubset:"âŠ",SquareSubsetEqual:"âŠ‘",SquareSuperset:"âŠ",SquareSupersetEqual:"âŠ’",SquareUnion:"âŠ”",squarf:"â–ª",squf:"â–ª",srarr:"â†’",sscr:"ð“ˆ",Sscr:"ð’®",ssetmn:"âˆ–",ssmile:"âŒ£",sstarf:"â‹†",star:"â˜†",Star:"â‹†",starf:"â˜…",straightepsilon:"Ïµ",straightphi:"Ï•",strns:"Â¯",sub:"âŠ‚",Sub:"â‹",subdot:"âª½",sube:"âŠ†",subE:"â«…",subedot:"â«ƒ",submult:"â«",subne:"âŠŠ",subnE:"â«‹",subplus:"âª¿",subrarr:"â¥¹",subset:"âŠ‚",Subset:"â‹",subseteq:"âŠ†",subseteqq:"â«…",SubsetEqual:"âŠ†",subsetneq:"âŠŠ",subsetneqq:"â«‹",subsim:"â«‡",subsub:"â«•",subsup:"â«“",succ:"â‰»",succapprox:"âª¸",succcurlyeq:"â‰½",Succeeds:"â‰»",SucceedsEqual:"âª°",SucceedsSlantEqual:"â‰½",SucceedsTilde:"â‰¿",succeq:"âª°",succnapprox:"âªº",succneqq:"âª¶",succnsim:"â‹©",succsim:"â‰¿",SuchThat:"âˆ‹",sum:"âˆ‘",Sum:"âˆ‘",sung:"â™ª",sup:"âŠƒ",Sup:"â‹‘",sup1:"Â¹",sup2:"Â²",sup3:"Â³",supdot:"âª¾",supdsub:"â«˜",supe:"âŠ‡",supE:"â«†",supedot:"â«„",Superset:"âŠƒ",SupersetEqual:"âŠ‡",suphsol:"âŸ‰",suphsub:"â«—",suplarr:"â¥»",supmult:"â«‚",supne:"âŠ‹",supnE:"â«Œ",supplus:"â«€",supset:"âŠƒ",Supset:"â‹‘",supseteq:"âŠ‡",supseteqq:"â«†",supsetneq:"âŠ‹",supsetneqq:"â«Œ",supsim:"â«ˆ",supsub:"â«”",supsup:"â«–",swarhk:"â¤¦",swarr:"â†™",swArr:"â‡™",swarrow:"â†™",swnwar:"â¤ª",szlig:"ÃŸ",Tab:"\t",target:"âŒ–",tau:"Ï„",Tau:"Î¤",tbrk:"âŽ´",tcaron:"Å¥",Tcaron:"Å¤",tcedil:"Å£",Tcedil:"Å¢",tcy:"Ñ‚",Tcy:"Ð¢",tdot:"âƒ›",telrec:"âŒ•",tfr:"ð”±",Tfr:"ð”—",there4:"âˆ´",therefore:"âˆ´",Therefore:"âˆ´",theta:"Î¸",Theta:"Î˜",thetasym:"Ï‘",thetav:"Ï‘",thickapprox:"â‰ˆ",thicksim:"âˆ¼",ThickSpace:"âŸâ€Š",thinsp:"â€‰",ThinSpace:"â€‰",thkap:"â‰ˆ",thksim:"âˆ¼",thorn:"Ã¾",THORN:"Ãž",tilde:"Ëœ",Tilde:"âˆ¼",TildeEqual:"â‰ƒ",TildeFullEqual:"â‰…",TildeTilde:"â‰ˆ",times:"Ã—",timesb:"âŠ&nbsp;",timesbar:"â¨±",timesd:"â¨°",tint:"âˆ­",toea:"â¤¨",top:"âŠ¤",topbot:"âŒ¶",topcir:"â«±",topf:"ð•¥",Topf:"ð•‹",topfork:"â«š",tosa:"â¤©",tprime:"â€´",trade:"â„¢",TRADE:"â„¢",triangle:"â–µ",triangledown:"â–¿",triangleleft:"â—ƒ",trianglelefteq:"âŠ´",triangleq:"â‰œ",triangleright:"â–¹",trianglerighteq:"âŠµ",tridot:"â—¬",trie:"â‰œ",triminus:"â¨º",TripleDot:"âƒ›",triplus:"â¨¹",trisb:"â§",tritime:"â¨»",trpezium:"â¢",tscr:"ð“‰",Tscr:"ð’¯",tscy:"Ñ†",TScy:"Ð¦",tshcy:"Ñ›",TSHcy:"Ð‹",tstrok:"Å§",Tstrok:"Å¦",twixt:"â‰¬",twoheadleftarrow:"â†ž",twoheadrightarrow:"â†&nbsp;",uacute:"Ãº",Uacute:"Ãš",uarr:"â†‘",uArr:"â‡‘",Uarr:"â†Ÿ",Uarrocir:"â¥‰",ubrcy:"Ñž",Ubrcy:"ÐŽ",ubreve:"Å­",Ubreve:"Å¬",ucirc:"Ã»",Ucirc:"Ã›",ucy:"Ñƒ",Ucy:"Ð£",udarr:"â‡…",udblac:"Å±",Udblac:"Å°",udhar:"â¥®",ufisht:"â¥¾",ufr:"ð”²",Ufr:"ð”˜",ugrave:"Ã¹",Ugrave:"Ã™",uHar:"â¥£",uharl:"â†¿",uharr:"â†¾",uhblk:"â–€",ulcorn:"âŒœ",ulcorner:"âŒœ",ulcrop:"âŒ",ultri:"â—¸",umacr:"Å«",Umacr:"Åª",uml:"Â¨",UnderBar:"_",UnderBrace:"âŸ",UnderBracket:"âŽµ",UnderParenthesis:"â",Union:"â‹ƒ",UnionPlus:"âŠŽ",uogon:"Å³",Uogon:"Å²",uopf:"ð•¦",Uopf:"ð•Œ",uparrow:"â†‘",Uparrow:"â‡‘",UpArrow:"â†‘",UpArrowBar:"â¤’",UpArrowDownArrow:"â‡…",updownarrow:"â†•",Updownarrow:"â‡•",UpDownArrow:"â†•",UpEquilibrium:"â¥®",upharpoonleft:"â†¿",upharpoonright:"â†¾",uplus:"âŠŽ",UpperLeftArrow:"â†–",UpperRightArrow:"â†—",upsi:"Ï…",Upsi:"Ï’",upsih:"Ï’",upsilon:"Ï…",Upsilon:"Î¥",UpTee:"âŠ¥",UpTeeArrow:"â†¥",upuparrows:"â‡ˆ",urcorn:"âŒ",urcorner:"âŒ",urcrop:"âŒŽ",uring:"Å¯",Uring:"Å®",urtri:"â—¹",uscr:"ð“Š",Uscr:"ð’°",utdot:"â‹°",utilde:"Å©",Utilde:"Å¨",utri:"â–µ",utrif:"â–´",uuarr:"â‡ˆ",uuml:"Ã¼",Uuml:"Ãœ",uwangle:"â¦§",vangrt:"â¦œ",varepsilon:"Ïµ",varkappa:"Ï°",varnothing:"âˆ…",varphi:"Ï•",varpi:"Ï–",varpropto:"âˆ",varr:"â†•",vArr:"â‡•",varrho:"Ï±",varsigma:"Ï‚",varsubsetneq:"âŠŠï¸€",varsubsetneqq:"â«‹ï¸€",varsupsetneq:"âŠ‹ï¸€",varsupsetneqq:"â«Œï¸€",vartheta:"Ï‘",vartriangleleft:"âŠ²",vartriangleright:"âŠ³",vBar:"â«¨",Vbar:"â««",vBarv:"â«©",vcy:"Ð²",Vcy:"Ð’",vdash:"âŠ¢",vDash:"âŠ¨",Vdash:"âŠ©",VDash:"âŠ«",Vdashl:"â«¦",vee:"âˆ¨",Vee:"â‹",veebar:"âŠ»",veeeq:"â‰š",vellip:"â‹®",verbar:"|",Verbar:"â€–",vert:"|",Vert:"â€–",VerticalBar:"âˆ£",VerticalLine:"|",VerticalSeparator:"â˜",VerticalTilde:"â‰€",VeryThinSpace:"â€Š",vfr:"ð”³",Vfr:"ð”™",vltri:"âŠ²",vnsub:"âŠ‚âƒ’",vnsup:"âŠƒâƒ’",vopf:"ð•§",Vopf:"ð•",vprop:"âˆ",vrtri:"âŠ³",vscr:"ð“‹",Vscr:"ð’±",vsubne:"âŠŠï¸€",vsubnE:"â«‹ï¸€",vsupne:"âŠ‹ï¸€",vsupnE:"â«Œï¸€",Vvdash:"âŠª",vzigzag:"â¦š",wcirc:"Åµ",Wcirc:"Å´",wedbar:"â©Ÿ",wedge:"âˆ§",Wedge:"â‹€",wedgeq:"â‰™",weierp:"â„˜",wfr:"ð”´",Wfr:"ð”š",wopf:"ð•¨",Wopf:"ð•Ž",wp:"â„˜",wr:"â‰€",wreath:"â‰€",wscr:"ð“Œ",Wscr:"ð’²",xcap:"â‹‚",xcirc:"â—¯",xcup:"â‹ƒ",xdtri:"â–½",xfr:"ð”µ",Xfr:"ð”›",xharr:"âŸ·",xhArr:"âŸº",xi:"Î¾",Xi:"Îž",xlarr:"âŸµ",xlArr:"âŸ¸",xmap:"âŸ¼",xnis:"â‹»",xodot:"â¨€",xopf:"ð•©",Xopf:"ð•",xoplus:"â¨",xotime:"â¨‚",xrarr:"âŸ¶",xrArr:"âŸ¹",xscr:"ð“",Xscr:"ð’³",xsqcup:"â¨†",xuplus:"â¨„",xutri:"â–³",xvee:"â‹",xwedge:"â‹€",yacute:"Ã½",Yacute:"Ã",yacy:"Ñ",YAcy:"Ð¯",ycirc:"Å·",Ycirc:"Å¶",ycy:"Ñ‹",Ycy:"Ð«",yen:"Â¥",yfr:"ð”¶",Yfr:"ð”œ",yicy:"Ñ—",YIcy:"Ð‡",yopf:"ð•ª",Yopf:"ð•",yscr:"ð“Ž",Yscr:"ð’´",yucy:"ÑŽ",YUcy:"Ð®",yuml:"Ã¿",Yuml:"Å¸",zacute:"Åº",Zacute:"Å¹",zcaron:"Å¾",Zcaron:"Å½",zcy:"Ð·",Zcy:"Ð—",zdot:"Å¼",Zdot:"Å»",zeetrf:"â„¨",ZeroWidthSpace:"â€‹",zeta:"Î¶",Zeta:"Î–",zfr:"ð”·",Zfr:"â„¨",zhcy:"Ð¶",ZHcy:"Ð–",zigrarr:"â‡",zopf:"ð•«",Zopf:"â„¤",zscr:"ð“",Zscr:"ð’µ",zwj:"â€",zwnj:"â€Œ"},pe={aacute:"Ã¡",Aacute:"Ã",acirc:"Ã¢",Acirc:"Ã‚",acute:"Â´",aelig:"Ã¦",AElig:"Ã†",agrave:"Ã&nbsp;",Agrave:"Ã€",amp:"&amp;",AMP:"&amp;",aring:"Ã¥",Aring:"Ã…",atilde:"Ã£",Atilde:"Ãƒ",auml:"Ã¤",Auml:"Ã„",brvbar:"Â¦",ccedil:"Ã§",Ccedil:"Ã‡",cedil:"Â¸",cent:"Â¢",copy:"Â©",COPY:"Â©",curren:"Â¤",deg:"Â°",divide:"Ã·",eacute:"Ã©",Eacute:"Ã‰",ecirc:"Ãª",Ecirc:"ÃŠ",egrave:"Ã¨",Egrave:"Ãˆ",eth:"Ã°",ETH:"Ã",euml:"Ã«",Euml:"Ã‹",frac12:"Â½",frac14:"Â¼",frac34:"Â¾",gt:"&gt;",GT:"&gt;",iacute:"Ã­",Iacute:"Ã",icirc:"Ã®",Icirc:"ÃŽ",iexcl:"Â¡",igrave:"Ã¬",Igrave:"ÃŒ",iquest:"Â¿",iuml:"Ã¯",Iuml:"Ã",laquo:"Â«",lt:"&lt;",LT:"&lt;",macr:"Â¯",micro:"Âµ",middot:"Â·",nbsp:"Â&nbsp;",not:"Â¬",ntilde:"Ã±",Ntilde:"Ã‘",oacute:"Ã³",Oacute:"Ã“",ocirc:"Ã´",Ocirc:"Ã”",ograve:"Ã²",Ograve:"Ã’",ordf:"Âª",ordm:"Âº",oslash:"Ã¸",Oslash:"Ã˜",otilde:"Ãµ",Otilde:"Ã•",ouml:"Ã¶",Ouml:"Ã–",para:"Â¶",plusmn:"Â±",pound:"Â£",quot:'"',QUOT:'"',raquo:"Â»",reg:"Â®",REG:"Â®",sect:"Â§",shy:"Â­",sup1:"Â¹",sup2:"Â²",sup3:"Â³",szlig:"ÃŸ",thorn:"Ã¾",THORN:"Ãž",times:"Ã—",uacute:"Ãº",Uacute:"Ãš",ucirc:"Ã»",Ucirc:"Ã›",ugrave:"Ã¹",Ugrave:"Ã™",uml:"Â¨",uuml:"Ã¼",Uuml:"Ãœ",yacute:"Ã½",Yacute:"Ã",yen:"Â¥",yuml:"Ã¿"},de={0:"ï¿½",128:"â‚¬",130:"â€š",131:"Æ’",132:"â€ž",133:"â€¦",134:"â€&nbsp;",135:"â€¡",136:"Ë†",137:"â€°",138:"Å&nbsp;",139:"â€¹",140:"Å’",142:"Å½",145:"â€˜",146:"â€™",147:"â€œ",148:"â€",149:"â€¢",150:"â€“",151:"â€”",152:"Ëœ",153:"â„¢",154:"Å¡",155:"â€º",156:"Å“",158:"Å¾",159:"Å¸"},he=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],ge=String.fromCharCode,ve={}.hasOwnProperty,has=function(r,c){return ve.call(r,c)},merge=function(r,c){if(!r)return c;var u,p={};for(u in c)p[u]=has(r,u)?r[u]:c[u];return p},codePointToSymbol=function(r,c){var u="";return r&gt;=55296&amp;&amp;r&lt;=57343||r&gt;1114111?(c&amp;&amp;parseError("character reference outside the permissible Unicode range"),"ï¿½"):has(de,r)?(c&amp;&amp;parseError("disallowed character reference"),de[r]):(c&amp;&amp;function(r,c){for(var u=-1,p=r.length;++u&lt;p;)if(r[u]==c)return!0;return!1}(he,r)&amp;&amp;parseError("disallowed character reference"),r&gt;65535&amp;&amp;(u+=ge((r-=65536)&gt;&gt;&gt;10&amp;1023|55296),r=56320|1023&amp;r),u+=ge(r))},hexEscape=function(r){return"&amp;#x"+r.toString(16).toUpperCase()+";"},decEscape=function(r){return"&amp;#"+r+";"},parseError=function(r){throw Error("Parse error: "+r)},encode=function(r,c){(c=merge(c,encode.options)).strict&amp;&amp;se.test(r)&amp;&amp;parseError("forbidden code point");var u=c.encodeEverything,p=c.useNamedReferences,y=c.allowUnsafeSymbols,w=c.decimal?decEscape:hexEscape,escapeBmpSymbol=function(r){return w(r.charCodeAt(0))};return u?(r=r.replace(E,(function(r){return p&amp;&amp;has(J,r)?"&amp;"+J[r]+";":escapeBmpSymbol(r)})),p&amp;&amp;(r=r.replace(/&amp;gt;\u20D2/g,"&amp;nvgt;").replace(/&amp;lt;\u20D2/g,"&amp;nvlt;").replace(/&amp;#x66;&amp;#x6A;/g,"&amp;fjlig;")),p&amp;&amp;(r=r.replace(K,(function(r){return"&amp;"+J[r]+";"})))):p?(y||(r=r.replace(oe,(function(r){return"&amp;"+J[r]+";"}))),r=(r=r.replace(/&amp;gt;\u20D2/g,"&amp;nvgt;").replace(/&amp;lt;\u20D2/g,"&amp;nvlt;")).replace(K,(function(r){return"&amp;"+J[r]+";"}))):y||(r=r.replace(oe,escapeBmpSymbol)),r.replace(k,(function(r){var c=r.charCodeAt(0),u=r.charCodeAt(1);return w(1024*(c-55296)+u-56320+65536)})).replace(I,escapeBmpSymbol)};encode.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var decode=function(r,c){var u=(c=merge(c,decode.options)).strict;return u&amp;&amp;ae.test(r)&amp;&amp;parseError("malformed character reference"),r.replace(ue,(function(r,p,y,w,x,k,E,I,K){var J,oe,ie,ae,se,ue;return p?le[se=p]:y?(se=y,(ue=w)&amp;&amp;c.isAttributeValue?(u&amp;&amp;"="==ue&amp;&amp;parseError("`&amp;` did not start a character reference"),r):(u&amp;&amp;parseError("named character reference was not terminated by a semicolon"),pe[se]+(ue||""))):x?(ie=x,oe=k,u&amp;&amp;!oe&amp;&amp;parseError("character reference was not terminated by a semicolon"),J=parseInt(ie,10),codePointToSymbol(J,u)):E?(ae=E,oe=I,u&amp;&amp;!oe&amp;&amp;parseError("character reference was not terminated by a semicolon"),J=parseInt(ae,16),codePointToSymbol(J,u)):(u&amp;&amp;parseError("named character reference was not terminated by a semicolon"),r)}))};decode.options={isAttributeValue:!1,strict:!1};var we={version:"1.2.0",encode:encode,decode:decode,escape:function(r){return r.replace(oe,(function(r){return ie[r]}))},unescape:decode};void 0===(p=function(){return we}.call(c,u,c,r))||(r.exports=p)}()},8679:function(r,c,u){"use strict";var p=u(59864),y={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},w={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},x={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},k={};function getStatics(r){return p.isMemo(r)?x:k[r.$$typeof]||y}k[p.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},k[p.Memo]=x;var E=Object.defineProperty,I=Object.getOwnPropertyNames,K=Object.getOwnPropertySymbols,J=Object.getOwnPropertyDescriptor,oe=Object.getPrototypeOf,ie=Object.prototype;r.exports=function hoistNonReactStatics(r,c,u){if("string"!=typeof c){if(ie){var p=oe(c);p&amp;&amp;p!==ie&amp;&amp;hoistNonReactStatics(r,p,u)}var y=I(c);K&amp;&amp;(y=y.concat(K(c)));for(var x=getStatics(r),k=getStatics(c),ae=0;ae&lt;y.length;++ae){var se=y[ae];if(!(w[se]||u&amp;&amp;u[se]||k&amp;&amp;k[se]||x&amp;&amp;x[se])){var ue=J(c,se);try{E(r,se,ue)}catch(r){}}}}return r}},29367:function(r){"use strict";var c=["ETIMEDOUT","ECONNRESET","EADDRINUSE","ESOCKETTIMEDOUT","ECONNREFUSED","EPIPE","EHOSTUNREACH","EAI_AGAIN"],u=["ENOTFOUND","ENETUNREACH","UNABLE_TO_GET_ISSUER_CERT","UNABLE_TO_GET_CRL","UNABLE_TO_DECRYPT_CERT_SIGNATURE","UNABLE_TO_DECRYPT_CRL_SIGNATURE","UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY","CERT_SIGNATURE_FAILURE","CRL_SIGNATURE_FAILURE","CERT_NOT_YET_VALID","CERT_HAS_EXPIRED","CRL_NOT_YET_VALID","CRL_HAS_EXPIRED","ERROR_IN_CERT_NOT_BEFORE_FIELD","ERROR_IN_CERT_NOT_AFTER_FIELD","ERROR_IN_CRL_LAST_UPDATE_FIELD","ERROR_IN_CRL_NEXT_UPDATE_FIELD","OUT_OF_MEM","DEPTH_ZERO_SELF_SIGNED_CERT","SELF_SIGNED_CERT_IN_CHAIN","UNABLE_TO_GET_ISSUER_CERT_LOCALLY","UNABLE_TO_VERIFY_LEAF_SIGNATURE","CERT_CHAIN_TOO_LONG","CERT_REVOKED","INVALID_CA","PATH_LENGTH_EXCEEDED","INVALID_PURPOSE","CERT_UNTRUSTED","CERT_REJECTED"];r.exports=function(r){return!r||!r.code||(-1!==c.indexOf(r.code)||-1===u.indexOf(r.code))}},42604:function(r,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var u="\\d+(?:[\\.,]\\d+)?",p="P(?:"+("("+u+"W)")+"|"+("("+u+"Y)?("+u+"M)?("+u+"D)?")+"(?:"+("T("+u+"H)?("+u+"M)?("+u+"S)?")+")?)",y=["weeks","years","months","days","hours","minutes","seconds"],w=c.pattern=new RegExp(p),x=c.parse=function parse(r){return r.match(w).slice(1).reduce((function(r,c,u){return r[y[u]]=parseFloat(c)||0,r}),{})},k=c.end=function end(r,c){var u=c?c.getTime():Date.now(),p=new Date(u);return p.setFullYear(p.getFullYear()+r.years),p.setMonth(p.getMonth()+r.months),p.setDate(p.getDate()+r.days),p.setHours(p.getHours()+r.hours),p.setMinutes(p.getMinutes()+r.minutes),p.setMilliseconds(p.getMilliseconds()+1e3*r.seconds),p.setDate(p.getDate()+7*r.weeks),p},E=c.toSeconds=function toSeconds(r,c){var u=c?c.getTime():Date.now(),p=new Date(u);return(k(r,p).getTime()-p.getTime())/1e3};c.default={end:k,toSeconds:E,pattern:w,parse:x}},57514:function(r){r.exports=window.FormData},84907:function(r){!function webpackUniversalModuleDefinition(c,u){r.exports=u()}(0,(function(){return function(r){var c={};function __nested_webpack_require_563__(u){if(c[u])return c[u].exports;var p=c[u]={i:u,l:!1,exports:{}};return r[u].call(p.exports,p,p.exports,__nested_webpack_require_563__),p.l=!0,p.exports}return __nested_webpack_require_563__.m=r,__nested_webpack_require_563__.c=c,__nested_webpack_require_563__.i=function(r){return r},__nested_webpack_require_563__.d=function(r,c,u){__nested_webpack_require_563__.o(r,c)||Object.defineProperty(r,c,{configurable:!1,enumerable:!0,get:u})},__nested_webpack_require_563__.n=function(r){var c=r&amp;&amp;r.__esModule?function getDefault(){return r.default}:function getModuleExports(){return r};return __nested_webpack_require_563__.d(c,"a",c),c},__nested_webpack_require_563__.o=function(r,c){return Object.prototype.hasOwnProperty.call(r,c)},__nested_webpack_require_563__.p="",__nested_webpack_require_563__(__nested_webpack_require_563__.s=5)}([function(r,c,u){"use strict";r.exports=function(r,c){var u,p,y;for(u=1;u&lt;arguments.length;u++)for(y in p=arguments[u])p.hasOwnProperty(y)&amp;&amp;(r[y]=p[y]);return r}},function(r,c,u){"use strict";var p=u(0);r.exports={build:function(r,c){var u,y,w,x=c.plugins;for(u=0,y=x.length;u&lt;y;u++)(w=x[u]).methods&amp;&amp;p(r,w.methods),w.properties&amp;&amp;Object.defineProperties(r,w.properties)},hook:function(r,c,u){var p,y,w,x,k=r.config.plugins,E=[r.context];for(u&amp;&amp;(E=E.concat(u)),p=0,y=k.length;p&lt;y;p++)x=k[p],(w=k[p][c])&amp;&amp;w.apply(x,E)}}},function(r,c,u){"use strict";function camelize(r){if(0===r.length)return r;var c,u,p=r.split(/[_-]/);if(1===p.length&amp;&amp;p[0][0].toLowerCase()===p[0][0])return r;for(u=p[0].toLowerCase(),c=1;c&lt;p.length;c++)u=u+p[c].charAt(0).toUpperCase()+p[c].substring(1).toLowerCase();return u}camelize.prepended=function(r,c){return r+(c=camelize(c))[0].toUpperCase()+c.substring(1)},r.exports=camelize},function(r,c,u){"use strict";var p=u(0),y=u(2);function Config(r,c){r=r||{},this.options=r,this.defaults=c.defaults,this.states=[],this.transitions=[],this.map={},this.lifecycle=this.configureLifecycle(),this.init=this.configureInitTransition(r.init),this.data=this.configureData(r.data),this.methods=this.configureMethods(r.methods),this.map[this.defaults.wildcard]={},this.configureTransitions(r.transitions||[]),this.plugins=this.configurePlugins(r.plugins,c.plugin)}p(Config.prototype,{addState:function(r){this.map[r]||(this.states.push(r),this.addStateLifecycleNames(r),this.map[r]={})},addStateLifecycleNames:function(r){this.lifecycle.onEnter[r]=y.prepended("onEnter",r),this.lifecycle.onLeave[r]=y.prepended("onLeave",r),this.lifecycle.on[r]=y.prepended("on",r)},addTransition:function(r){this.transitions.indexOf(r)&lt;0&amp;&amp;(this.transitions.push(r),this.addTransitionLifecycleNames(r))},addTransitionLifecycleNames:function(r){this.lifecycle.onBefore[r]=y.prepended("onBefore",r),this.lifecycle.onAfter[r]=y.prepended("onAfter",r),this.lifecycle.on[r]=y.prepended("on",r)},mapTransition:function(r){var c=r.name,u=r.from,p=r.to;return this.addState(u),"function"!=typeof p&amp;&amp;this.addState(p),this.addTransition(c),this.map[u][c]=r,r},configureLifecycle:function(){return{onBefore:{transition:"onBeforeTransition"},onAfter:{transition:"onAfterTransition"},onEnter:{state:"onEnterState"},onLeave:{state:"onLeaveState"},on:{transition:"onTransition"}}},configureInitTransition:function(r){return"string"==typeof r?this.mapTransition(p({},this.defaults.init,{to:r,active:!0})):"object"==typeof r?this.mapTransition(p({},this.defaults.init,r,{active:!0})):(this.addState(this.defaults.init.from),this.defaults.init)},configureData:function(r){return"function"==typeof r?r:"object"==typeof r?function(){return r}:function(){return{}}},configureMethods:function(r){return r||{}},configurePlugins:function(r,c){var u,p,y;for(u=0,p=(r=r||[]).length;u&lt;p;u++)"function"==typeof(y=r[u])&amp;&amp;(r[u]=y=y()),y.configure&amp;&amp;y.configure(this);return r},configureTransitions:function(r){var c,u,p,y,w,x=this.defaults.wildcard;for(u=0;u&lt;r.length;u++)for(p=r[u],y=Array.isArray(p.from)?p.from:[p.from||x],w=p.to||x,c=0;c&lt;y.length;c++)this.mapTransition({name:p.name,from:y[c],to:w})},transitionFor:function(r,c){var u=this.defaults.wildcard;return this.map[r][c]||this.map[u][c]},transitionsFor:function(r){var c=this.defaults.wildcard;return Object.keys(this.map[r]).concat(Object.keys(this.map[c]))},allStates:function(){return this.states},allTransitions:function(){return this.transitions}}),r.exports=Config},function(r,c,u){var p=u(0),y=u(6),w=u(1),x=[null,[]];function JSM(r,c){this.context=r,this.config=c,this.state=c.init.from,this.observers=[r]}p(JSM.prototype,{init:function(r){if(p(this.context,this.config.data.apply(this.context,r)),w.hook(this,"init"),this.config.init.active)return this.fire(this.config.init.name,[])},is:function(r){return Array.isArray(r)?r.indexOf(this.state)&gt;=0:this.state===r},isPending:function(){return this.pending},can:function(r){return!this.isPending()&amp;&amp;!!this.seek(r)},cannot:function(r){return!this.can(r)},allStates:function(){return this.config.allStates()},allTransitions:function(){return this.config.allTransitions()},transitions:function(){return this.config.transitionsFor(this.state)},seek:function(r,c){var u=this.config.defaults.wildcard,p=this.config.transitionFor(this.state,r),y=p&amp;&amp;p.to;return"function"==typeof y?y.apply(this.context,c):y===u?this.state:y},fire:function(r,c){return this.transit(r,this.state,this.seek(r,c),c)},transit:function(r,c,u,p){var y=this.config.lifecycle,w=this.config.options.observeUnchangedState||c!==u;return u?this.isPending()?this.context.onPendingTransition(r,c,u):(this.config.addState(u),this.beginTransit(),p.unshift({transition:r,from:c,to:u,fsm:this.context}),this.observeEvents([this.observersForEvent(y.onBefore.transition),this.observersForEvent(y.onBefore[r]),w?this.observersForEvent(y.onLeave.state):x,w?this.observersForEvent(y.onLeave[c]):x,this.observersForEvent(y.on.transition),w?["doTransit",[this]]:x,w?this.observersForEvent(y.onEnter.state):x,w?this.observersForEvent(y.onEnter[u]):x,w?this.observersForEvent(y.on[u]):x,this.observersForEvent(y.onAfter.transition),this.observersForEvent(y.onAfter[r]),this.observersForEvent(y.on[r])],p)):this.context.onInvalidTransition(r,c,u)},beginTransit:function(){this.pending=!0},endTransit:function(r){return this.pending=!1,r},failTransit:function(r){throw this.pending=!1,r},doTransit:function(r){this.state=r.to},observe:function(r){if(2===r.length){var c={};c[r[0]]=r[1],this.observers.push(c)}else this.observers.push(r[0])},observersForEvent:function(r){for(var c,u=0,p=this.observers.length,y=[];u&lt;p;u++)(c=this.observers[u])[r]&amp;&amp;y.push(c);return[r,y,!0]},observeEvents:function(r,c,u,p){if(0===r.length)return this.endTransit(void 0===p||p);var y=r[0][0],x=r[0][1],k=r[0][2];if(c[0].event=y,y&amp;&amp;k&amp;&amp;y!==u&amp;&amp;w.hook(this,"lifecycle",c),0===x.length)return r.shift(),this.observeEvents(r,c,y,p);var E=x.shift(),I=E[y].apply(E,c);return I&amp;&amp;"function"==typeof I.then?I.then(this.observeEvents.bind(this,r,c,y)).catch(this.failTransit.bind(this)):!1===I?this.endTransit(!1):this.observeEvents(r,c,y,I)},onInvalidTransition:function(r,c,u){throw new y("transition is invalid in current state",r,c,u,this.state)},onPendingTransition:function(r,c,u){throw new y("transition is invalid while previous transition is still in progress",r,c,u,this.state)}}),r.exports=JSM},function(r,c,u){"use strict";var p=u(0),y=u(2),w=u(1),x=u(3),k=u(4),E={is:function(r){return this._fsm.is(r)},can:function(r){return this._fsm.can(r)},cannot:function(r){return this._fsm.cannot(r)},observe:function(){return this._fsm.observe(arguments)},transitions:function(){return this._fsm.transitions()},allTransitions:function(){return this._fsm.allTransitions()},allStates:function(){return this._fsm.allStates()},onInvalidTransition:function(r,c,u){return this._fsm.onInvalidTransition(r,c,u)},onPendingTransition:function(r,c,u){return this._fsm.onPendingTransition(r,c,u)}},I={state:{configurable:!1,enumerable:!0,get:function(){return this._fsm.state},set:function(r){throw Error("use transitions to change state")}}};function StateMachine(r){return apply(this||{},r)}function apply(r,c){return build(r,new x(c,StateMachine)),r._fsm(),r}function build(r,c){if("object"!=typeof r||Array.isArray(r))throw Error("StateMachine can only be applied to objects");w.build(r,c),Object.defineProperties(r,I),p(r,E),p(r,c.methods),c.allTransitions().forEach((function(c){r[y(c)]=function(){return this._fsm.fire(c,[].slice.call(arguments))}})),r._fsm=function(){this._fsm=new k(this,c),this._fsm.init(arguments)}}StateMachine.version="3.0.1",StateMachine.factory=function factory(){var r,c;"function"==typeof arguments[0]?(r=arguments[0],c=arguments[1]||{}):(r=function(){this._fsm.apply(this,arguments)},c=arguments[0]||{});var u=new x(c,StateMachine);return build(r.prototype,u),r.prototype._fsm.config=u,r},StateMachine.apply=apply,StateMachine.defaults={wildcard:"*",init:{name:"init",from:"none"}},r.exports=StateMachine},function(r,c,u){"use strict";r.exports=function(r,c,u,p,y){this.message=r,this.transition=c,this.from=u,this.to=p,this.current=y}}])}))},68337:function(r,c,u){"use strict";function assign(r){return Array.prototype.slice.call(arguments,1).forEach((function(c){c&amp;&amp;Object.keys(c).forEach((function(u){r[u]=c[u]}))})),r}function _class(r){return Object.prototype.toString.call(r)}function isFunction(r){return"[object Function]"===_class(r)}function escapeRE(r){return r.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&amp;")}var p={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var y={"http:":{validate:function(r,c,u){var p=r.slice(c);return u.re.http||(u.re.http=new RegExp("^\\/\\/"+u.re.src_auth+u.re.src_host_port_strict+u.re.src_path,"i")),u.re.http.test(p)?p.match(u.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(r,c,u){var p=r.slice(c);return u.re.no_http||(u.re.no_http=new RegExp("^"+u.re.src_auth+"(?:localhost|(?:(?:"+u.re.src_domain+")\\.)+"+u.re.src_domain_root+")"+u.re.src_port+u.re.src_host_terminator+u.re.src_path,"i")),u.re.no_http.test(p)?c&gt;=3&amp;&amp;":"===r[c-3]||c&gt;=3&amp;&amp;"/"===r[c-3]?0:p.match(u.re.no_http)[0].length:0}},"mailto:":{validate:function(r,c,u){var p=r.slice(c);return u.re.mailto||(u.re.mailto=new RegExp("^"+u.re.src_email_name+"@"+u.re.src_host_strict,"i")),u.re.mailto.test(p)?p.match(u.re.mailto)[0].length:0}}},w="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",x="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|Ñ€Ñ„".split("|");function compile(r){var c=r.re=u(36066)(r.__opts__),p=r.__tlds__.slice();function untpl(r){return r.replace("%TLDS%",c.src_tlds)}r.onCompile(),r.__tlds_replaced__||p.push(w),p.push(c.src_xn),c.src_tlds=p.join("|"),c.email_fuzzy=RegExp(untpl(c.tpl_email_fuzzy),"i"),c.link_fuzzy=RegExp(untpl(c.tpl_link_fuzzy),"i"),c.link_no_ip_fuzzy=RegExp(untpl(c.tpl_link_no_ip_fuzzy),"i"),c.host_fuzzy_test=RegExp(untpl(c.tpl_host_fuzzy_test),"i");var y=[];function schemaError(r,c){throw new Error('(LinkifyIt) Invalid schema "'+r+'": '+c)}r.__compiled__={},Object.keys(r.__schemas__).forEach((function(c){var u=r.__schemas__[c];if(null!==u){var p={validate:null,link:null};if(r.__compiled__[c]=p,function isObject(r){return"[object Object]"===_class(r)}(u))return!function isRegExp(r){return"[object RegExp]"===_class(r)}(u.validate)?isFunction(u.validate)?p.validate=u.validate:schemaError(c,u):p.validate=function createValidator(r){return function(c,u){var p=c.slice(u);return r.test(p)?p.match(r)[0].length:0}}(u.validate),void(isFunction(u.normalize)?p.normalize=u.normalize:u.normalize?schemaError(c,u):p.normalize=function(r,c){c.normalize(r)});!function isString(r){return"[object String]"===_class(r)}(u)?schemaError(c,u):y.push(c)}})),y.forEach((function(c){r.__compiled__[r.__schemas__[c]]&amp;&amp;(r.__compiled__[c].validate=r.__compiled__[r.__schemas__[c]].validate,r.__compiled__[c].normalize=r.__compiled__[r.__schemas__[c]].normalize)})),r.__compiled__[""]={validate:null,normalize:function(r,c){c.normalize(r)}};var x=Object.keys(r.__compiled__).filter((function(c){return c.length&gt;0&amp;&amp;r.__compiled__[c]})).map(escapeRE).join("|");r.re.schema_test=RegExp("(^|(?!_)(?:[&gt;&lt;ï½œ]|"+c.src_ZPCc+"))("+x+")","i"),r.re.schema_search=RegExp("(^|(?!_)(?:[&gt;&lt;ï½œ]|"+c.src_ZPCc+"))("+x+")","ig"),r.re.pretest=RegExp("("+r.re.schema_test.source+")|("+r.re.host_fuzzy_test.source+")|@","i"),function resetScanCache(r){r.__index__=-1,r.__text_cache__=""}(r)}function Match(r,c){var u=r.__index__,p=r.__last_index__,y=r.__text_cache__.slice(u,p);this.schema=r.__schema__.toLowerCase(),this.index=u+c,this.lastIndex=p+c,this.raw=y,this.text=y,this.url=y}function createMatch(r,c){var u=new Match(r,c);return r.__compiled__[u.schema].normalize(u,r),u}function LinkifyIt(r,c){if(!(this instanceof LinkifyIt))return new LinkifyIt(r,c);c||function isOptionsObj(r){return Object.keys(r||{}).reduce((function(r,c){return r||p.hasOwnProperty(c)}),!1)}(r)&amp;&amp;(c=r,r={}),this.__opts__=assign({},p,c),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=assign({},y,r),this.__compiled__={},this.__tlds__=x,this.__tlds_replaced__=!1,this.re={},compile(this)}LinkifyIt.prototype.add=function add(r,c){return this.__schemas__[r]=c,compile(this),this},LinkifyIt.prototype.set=function set(r){return this.__opts__=assign(this.__opts__,r),this},LinkifyIt.prototype.test=function test(r){if(this.__text_cache__=r,this.__index__=-1,!r.length)return!1;var c,u,p,y,w,x,k,E;if(this.re.schema_test.test(r))for((k=this.re.schema_search).lastIndex=0;null!==(c=k.exec(r));)if(y=this.testSchemaAt(r,c[2],k.lastIndex)){this.__schema__=c[2],this.__index__=c.index+c[1].length,this.__last_index__=c.index+c[0].length+y;break}return this.__opts__.fuzzyLink&amp;&amp;this.__compiled__["http:"]&amp;&amp;(E=r.search(this.re.host_fuzzy_test))&gt;=0&amp;&amp;(this.__index__&lt;0||E&lt;this.__index__)&amp;&amp;null!==(u=r.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&amp;&amp;(w=u.index+u[1].length,(this.__index__&lt;0||w&lt;this.__index__)&amp;&amp;(this.__schema__="",this.__index__=w,this.__last_index__=u.index+u[0].length)),this.__opts__.fuzzyEmail&amp;&amp;this.__compiled__["mailto:"]&amp;&amp;r.indexOf("@")&gt;=0&amp;&amp;null!==(p=r.match(this.re.email_fuzzy))&amp;&amp;(w=p.index+p[1].length,x=p.index+p[0].length,(this.__index__&lt;0||w&lt;this.__index__||w===this.__index__&amp;&amp;x&gt;this.__last_index__)&amp;&amp;(this.__schema__="mailto:",this.__index__=w,this.__last_index__=x)),this.__index__&gt;=0},LinkifyIt.prototype.pretest=function pretest(r){return this.re.pretest.test(r)},LinkifyIt.prototype.testSchemaAt=function testSchemaAt(r,c,u){return this.__compiled__[c.toLowerCase()]?this.__compiled__[c.toLowerCase()].validate(r,u,this):0},LinkifyIt.prototype.match=function match(r){var c=0,u=[];this.__index__&gt;=0&amp;&amp;this.__text_cache__===r&amp;&amp;(u.push(createMatch(this,c)),c=this.__last_index__);for(var p=c?r.slice(c):r;this.test(p);)u.push(createMatch(this,c)),p=p.slice(this.__last_index__),c+=this.__last_index__;return u.length?u:null},LinkifyIt.prototype.tlds=function tlds(r,c){return r=Array.isArray(r)?r:[r],c?(this.__tlds__=this.__tlds__.concat(r).sort().filter((function(r,c,u){return r!==u[c-1]})).reverse(),compile(this),this):(this.__tlds__=r.slice(),this.__tlds_replaced__=!0,compile(this),this)},LinkifyIt.prototype.normalize=function normalize(r){r.schema||(r.url="http://"+r.url),"mailto:"!==r.schema||/^mailto:/i.test(r.url)||(r.url="mailto:"+r.url)},LinkifyIt.prototype.onCompile=function onCompile(){},r.exports=LinkifyIt},36066:function(r,c,u){"use strict";r.exports=function(r){var c={};c.src_Any=u(29369).source,c.src_Cc=u(99413).source,c.src_Z=u(35045).source,c.src_P=u(73189).source,c.src_ZPCc=[c.src_Z,c.src_P,c.src_Cc].join("|"),c.src_ZCc=[c.src_Z,c.src_Cc].join("|");var p="[&gt;&lt;ï½œ]";return c.src_pseudo_letter="(?:(?![&gt;&lt;ï½œ]|"+c.src_ZPCc+")"+c.src_Any+")",c.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",c.src_auth="(?:(?:(?!"+c.src_ZCc+"|[@/\\[\\]()]).)+@)?",c.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",c.src_host_terminator="(?=$|[&gt;&lt;ï½œ]|"+c.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+c.src_ZPCc+"))",c.src_path="(?:[/?#](?:(?!"+c.src_ZCc+"|"+p+"|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+c.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+c.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+c.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+c.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+c.src_ZCc+"|[']).)+\\'|\\'(?="+c.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&amp;]|\\.(?!"+c.src_ZCc+"|[.]).|"+(r&amp;&amp;r["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+c.src_ZCc+").|\\!+(?!"+c.src_ZCc+"|[!]).|\\?(?!"+c.src_ZCc+"|[?]).)+|\\/)?",c.src_email_name='[\\-;:&amp;=\\+\\$,\\.a-zA-Z0-9_][\\-;:&amp;=\\+\\$,\\"\\.a-zA-Z0-9_]*',c.src_xn="xn--[a-z0-9\\-]{1,59}",c.src_domain_root="(?:"+c.src_xn+"|"+c.src_pseudo_letter+"{1,63})",c.src_domain="(?:"+c.src_xn+"|(?:"+c.src_pseudo_letter+")|(?:"+c.src_pseudo_letter+"(?:-|"+c.src_pseudo_letter+"){0,61}"+c.src_pseudo_letter+"))",c.src_host="(?:(?:(?:(?:"+c.src_domain+")\\.)*"+c.src_domain+"))",c.tpl_host_fuzzy="(?:"+c.src_ip4+"|(?:(?:(?:"+c.src_domain+")\\.)+(?:%TLDS%)))",c.tpl_host_no_ip_fuzzy="(?:(?:(?:"+c.src_domain+")\\.)+(?:%TLDS%))",c.src_host_strict=c.src_host+c.src_host_terminator,c.tpl_host_fuzzy_strict=c.tpl_host_fuzzy+c.src_host_terminator,c.src_host_port_strict=c.src_host+c.src_port+c.src_host_terminator,c.tpl_host_port_fuzzy_strict=c.tpl_host_fuzzy+c.src_port+c.src_host_terminator,c.tpl_host_port_no_ip_fuzzy_strict=c.tpl_host_no_ip_fuzzy+c.src_port+c.src_host_terminator,c.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+c.src_ZPCc+"|&gt;|$))",c.tpl_email_fuzzy='(^|[&gt;&lt;ï½œ]|"|\\(|'+c.src_ZCc+")("+c.src_email_name+"@"+c.tpl_host_fuzzy_strict+")",c.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+&lt;=&gt;^`|ï½œ]|"+c.src_ZPCc+"))((?![$+&lt;=&gt;^`|ï½œ])"+c.tpl_host_port_fuzzy_strict+c.src_path+")",c.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+&lt;=&gt;^`|ï½œ]|"+c.src_ZPCc+"))((?![$+&lt;=&gt;^`|ï½œ])"+c.tpl_host_port_no_ip_fuzzy_strict+c.src_path+")",c}},72307:function(r,c,u){r=u.nmd(r);var p="__lodash_hash_undefined__",y=1,w=2,x=9007199254740991,k="[object Arguments]",E="[object Array]",I="[object AsyncFunction]",K="[object Boolean]",J="[object Date]",oe="[object Error]",ie="[object Function]",ae="[object GeneratorFunction]",se="[object Map]",ue="[object Number]",le="[object Null]",pe="[object Object]",de="[object Promise]",he="[object Proxy]",ge="[object RegExp]",ve="[object Set]",we="[object String]",Se="[object Symbol]",Oe="[object Undefined]",Pe="[object WeakMap]",Le="[object ArrayBuffer]",Ie="[object DataView]",je=/^\[object .+?Constructor\]$/,De=/^(?:0|[1-9]\d*)$/,Ue={};Ue["[object Float32Array]"]=Ue["[object Float64Array]"]=Ue["[object Int8Array]"]=Ue["[object Int16Array]"]=Ue["[object Int32Array]"]=Ue["[object Uint8Array]"]=Ue["[object Uint8ClampedArray]"]=Ue["[object Uint16Array]"]=Ue["[object Uint32Array]"]=!0,Ue[k]=Ue[E]=Ue[Le]=Ue[K]=Ue[Ie]=Ue[J]=Ue[oe]=Ue[ie]=Ue[se]=Ue[ue]=Ue[pe]=Ue[ge]=Ue[ve]=Ue[we]=Ue[Pe]=!1;var Fe="object"==typeof u.g&amp;&amp;u.g&amp;&amp;u.g.Object===Object&amp;&amp;u.g,Ze="object"==typeof self&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,$e=Fe||Ze||Function("return this")(),Ge=c&amp;&amp;!c.nodeType&amp;&amp;c,We=Ge&amp;&amp;r&amp;&amp;!r.nodeType&amp;&amp;r,Ke=We&amp;&amp;We.exports===Ge,Je=Ke&amp;&amp;Fe.process,Ye=function(){try{return Je&amp;&amp;Je.binding&amp;&amp;Je.binding("util")}catch(r){}}(),Xe=Ye&amp;&amp;Ye.isTypedArray;function arraySome(r,c){for(var u=-1,p=null==r?0:r.length;++u&lt;p;)if(c(r[u],u,r))return!0;return!1}function mapToArray(r){var c=-1,u=Array(r.size);return r.forEach((function(r,p){u[++c]=[p,r]})),u}function setToArray(r){var c=-1,u=Array(r.size);return r.forEach((function(r){u[++c]=r})),u}var Qe,et=Array.prototype,rt=Function.prototype,nt=Object.prototype,ot=$e["__core-js_shared__"],it=rt.toString,st=nt.hasOwnProperty,ct=(Qe=/[^.]+$/.exec(ot&amp;&amp;ot.keys&amp;&amp;ot.keys.IE_PROTO||""))?"Symbol(src)_1."+Qe:"",ut=nt.toString,lt=RegExp("^"+it.call(st).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&amp;").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pt=Ke?$e.Buffer:void 0,dt=$e.Symbol,ft=$e.Uint8Array,ht=nt.propertyIsEnumerable,mt=et.splice,yt=dt?dt.toStringTag:void 0,gt=Object.getOwnPropertySymbols,vt=pt?pt.isBuffer:void 0,bt=function overArg(r,c){return function(u){return r(c(u))}}(Object.keys,Object),_t=getNative($e,"DataView"),wt=getNative($e,"Map"),xt=getNative($e,"Promise"),kt=getNative($e,"Set"),St=getNative($e,"WeakMap"),Et=getNative(Object,"create"),Tt=toSource(_t),Ot=toSource(wt),Ct=toSource(xt),At=toSource(kt),Pt=toSource(St),Lt=dt?dt.prototype:void 0,It=Lt?Lt.valueOf:void 0;function Hash(r){var c=-1,u=null==r?0:r.length;for(this.clear();++c&lt;u;){var p=r[c];this.set(p[0],p[1])}}function ListCache(r){var c=-1,u=null==r?0:r.length;for(this.clear();++c&lt;u;){var p=r[c];this.set(p[0],p[1])}}function MapCache(r){var c=-1,u=null==r?0:r.length;for(this.clear();++c&lt;u;){var p=r[c];this.set(p[0],p[1])}}function SetCache(r){var c=-1,u=null==r?0:r.length;for(this.__data__=new MapCache;++c&lt;u;)this.add(r[c])}function Stack(r){var c=this.__data__=new ListCache(r);this.size=c.size}function arrayLikeKeys(r,c){var u=Dt(r),p=!u&amp;&amp;Nt(r),y=!u&amp;&amp;!p&amp;&amp;Mt(r),w=!u&amp;&amp;!p&amp;&amp;!y&amp;&amp;Ut(r),x=u||p||y||w,k=x?function baseTimes(r,c){for(var u=-1,p=Array(r);++u&lt;r;)p[u]=c(u);return p}(r.length,String):[],E=k.length;for(var I in r)!c&amp;&amp;!st.call(r,I)||x&amp;&amp;("length"==I||y&amp;&amp;("offset"==I||"parent"==I)||w&amp;&amp;("buffer"==I||"byteLength"==I||"byteOffset"==I)||isIndex(I,E))||k.push(I);return k}function assocIndexOf(r,c){for(var u=r.length;u--;)if(eq(r[u][0],c))return u;return-1}function baseGetTag(r){return null==r?void 0===r?Oe:le:yt&amp;&amp;yt in Object(r)?function getRawTag(r){var c=st.call(r,yt),u=r[yt];try{r[yt]=void 0;var p=!0}catch(r){}var y=ut.call(r);p&amp;&amp;(c?r[yt]=u:delete r[yt]);return y}(r):function objectToString(r){return ut.call(r)}(r)}function baseIsArguments(r){return isObjectLike(r)&amp;&amp;baseGetTag(r)==k}function baseIsEqual(r,c,u,p,x){return r===c||(null==r||null==c||!isObjectLike(r)&amp;&amp;!isObjectLike(c)?r!=r&amp;&amp;c!=c:function baseIsEqualDeep(r,c,u,p,x,I){var ie=Dt(r),ae=Dt(c),le=ie?E:jt(r),de=ae?E:jt(c),he=(le=le==k?pe:le)==pe,Oe=(de=de==k?pe:de)==pe,Pe=le==de;if(Pe&amp;&amp;Mt(r)){if(!Mt(c))return!1;ie=!0,he=!1}if(Pe&amp;&amp;!he)return I||(I=new Stack),ie||Ut(r)?equalArrays(r,c,u,p,x,I):function equalByTag(r,c,u,p,x,k,E){switch(u){case Ie:if(r.byteLength!=c.byteLength||r.byteOffset!=c.byteOffset)return!1;r=r.buffer,c=c.buffer;case Le:return!(r.byteLength!=c.byteLength||!k(new ft(r),new ft(c)));case K:case J:case ue:return eq(+r,+c);case oe:return r.name==c.name&amp;&amp;r.message==c.message;case ge:case we:return r==c+"";case se:var I=mapToArray;case ve:var ie=p&amp;y;if(I||(I=setToArray),r.size!=c.size&amp;&amp;!ie)return!1;var ae=E.get(r);if(ae)return ae==c;p|=w,E.set(r,c);var le=equalArrays(I(r),I(c),p,x,k,E);return E.delete(r),le;case Se:if(It)return It.call(r)==It.call(c)}return!1}(r,c,le,u,p,x,I);if(!(u&amp;y)){var je=he&amp;&amp;st.call(r,"__wrapped__"),De=Oe&amp;&amp;st.call(c,"__wrapped__");if(je||De){var Ue=je?r.value():r,Fe=De?c.value():c;return I||(I=new Stack),x(Ue,Fe,u,p,I)}}if(!Pe)return!1;return I||(I=new Stack),function equalObjects(r,c,u,p,w,x){var k=u&amp;y,E=getAllKeys(r),I=E.length,K=getAllKeys(c),J=K.length;if(I!=J&amp;&amp;!k)return!1;var oe=I;for(;oe--;){var ie=E[oe];if(!(k?ie in c:st.call(c,ie)))return!1}var ae=x.get(r);if(ae&amp;&amp;x.get(c))return ae==c;var se=!0;x.set(r,c),x.set(c,r);var ue=k;for(;++oe&lt;I;){var le=r[ie=E[oe]],pe=c[ie];if(p)var de=k?p(pe,le,ie,c,r,x):p(le,pe,ie,r,c,x);if(!(void 0===de?le===pe||w(le,pe,u,p,x):de)){se=!1;break}ue||(ue="constructor"==ie)}if(se&amp;&amp;!ue){var he=r.constructor,ge=c.constructor;he==ge||!("constructor"in r)||!("constructor"in c)||"function"==typeof he&amp;&amp;he instanceof he&amp;&amp;"function"==typeof ge&amp;&amp;ge instanceof ge||(se=!1)}return x.delete(r),x.delete(c),se}(r,c,u,p,x,I)}(r,c,u,p,baseIsEqual,x))}function baseIsNative(r){return!(!isObject(r)||function isMasked(r){return!!ct&amp;&amp;ct in r}(r))&amp;&amp;(isFunction(r)?lt:je).test(toSource(r))}function baseKeys(r){if(!function isPrototype(r){var c=r&amp;&amp;r.constructor,u="function"==typeof c&amp;&amp;c.prototype||nt;return r===u}(r))return bt(r);var c=[];for(var u in Object(r))st.call(r,u)&amp;&amp;"constructor"!=u&amp;&amp;c.push(u);return c}function equalArrays(r,c,u,p,x,k){var E=u&amp;y,I=r.length,K=c.length;if(I!=K&amp;&amp;!(E&amp;&amp;K&gt;I))return!1;var J=k.get(r);if(J&amp;&amp;k.get(c))return J==c;var oe=-1,ie=!0,ae=u&amp;w?new SetCache:void 0;for(k.set(r,c),k.set(c,r);++oe&lt;I;){var se=r[oe],ue=c[oe];if(p)var le=E?p(ue,se,oe,c,r,k):p(se,ue,oe,r,c,k);if(void 0!==le){if(le)continue;ie=!1;break}if(ae){if(!arraySome(c,(function(r,c){if(y=c,!ae.has(y)&amp;&amp;(se===r||x(se,r,u,p,k)))return ae.push(c);var y}))){ie=!1;break}}else if(se!==ue&amp;&amp;!x(se,ue,u,p,k)){ie=!1;break}}return k.delete(r),k.delete(c),ie}function getAllKeys(r){return function baseGetAllKeys(r,c,u){var p=c(r);return Dt(r)?p:function arrayPush(r,c){for(var u=-1,p=c.length,y=r.length;++u&lt;p;)r[y+u]=c[u];return r}(p,u(r))}(r,keys,Rt)}function getMapData(r,c){var u=r.__data__;return function isKeyable(r){var c=typeof r;return"string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==r:null===r}(c)?u["string"==typeof c?"string":"hash"]:u.map}function getNative(r,c){var u=function getValue(r,c){return null==r?void 0:r[c]}(r,c);return baseIsNative(u)?u:void 0}Hash.prototype.clear=function hashClear(){this.__data__=Et?Et(null):{},this.size=0},Hash.prototype.delete=function hashDelete(r){var c=this.has(r)&amp;&amp;delete this.__data__[r];return this.size-=c?1:0,c},Hash.prototype.get=function hashGet(r){var c=this.__data__;if(Et){var u=c[r];return u===p?void 0:u}return st.call(c,r)?c[r]:void 0},Hash.prototype.has=function hashHas(r){var c=this.__data__;return Et?void 0!==c[r]:st.call(c,r)},Hash.prototype.set=function hashSet(r,c){var u=this.__data__;return this.size+=this.has(r)?0:1,u[r]=Et&amp;&amp;void 0===c?p:c,this},ListCache.prototype.clear=function listCacheClear(){this.__data__=[],this.size=0},ListCache.prototype.delete=function listCacheDelete(r){var c=this.__data__,u=assocIndexOf(c,r);return!(u&lt;0)&amp;&amp;(u==c.length-1?c.pop():mt.call(c,u,1),--this.size,!0)},ListCache.prototype.get=function listCacheGet(r){var c=this.__data__,u=assocIndexOf(c,r);return u&lt;0?void 0:c[u][1]},ListCache.prototype.has=function listCacheHas(r){return assocIndexOf(this.__data__,r)&gt;-1},ListCache.prototype.set=function listCacheSet(r,c){var u=this.__data__,p=assocIndexOf(u,r);return p&lt;0?(++this.size,u.push([r,c])):u[p][1]=c,this},MapCache.prototype.clear=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(wt||ListCache),string:new Hash}},MapCache.prototype.delete=function mapCacheDelete(r){var c=getMapData(this,r).delete(r);return this.size-=c?1:0,c},MapCache.prototype.get=function mapCacheGet(r){return getMapData(this,r).get(r)},MapCache.prototype.has=function mapCacheHas(r){return getMapData(this,r).has(r)},MapCache.prototype.set=function mapCacheSet(r,c){var u=getMapData(this,r),p=u.size;return u.set(r,c),this.size+=u.size==p?0:1,this},SetCache.prototype.add=SetCache.prototype.push=function setCacheAdd(r){return this.__data__.set(r,p),this},SetCache.prototype.has=function setCacheHas(r){return this.__data__.has(r)},Stack.prototype.clear=function stackClear(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function stackDelete(r){var c=this.__data__,u=c.delete(r);return this.size=c.size,u},Stack.prototype.get=function stackGet(r){return this.__data__.get(r)},Stack.prototype.has=function stackHas(r){return this.__data__.has(r)},Stack.prototype.set=function stackSet(r,c){var u=this.__data__;if(u instanceof ListCache){var p=u.__data__;if(!wt||p.length&lt;199)return p.push([r,c]),this.size=++u.size,this;u=this.__data__=new MapCache(p)}return u.set(r,c),this.size=u.size,this};var Rt=gt?function(r){return null==r?[]:(r=Object(r),function arrayFilter(r,c){for(var u=-1,p=null==r?0:r.length,y=0,w=[];++u&lt;p;){var x=r[u];c(x,u,r)&amp;&amp;(w[y++]=x)}return w}(gt(r),(function(c){return ht.call(r,c)})))}:function stubArray(){return[]},jt=baseGetTag;function isIndex(r,c){return!!(c=null==c?x:c)&amp;&amp;("number"==typeof r||De.test(r))&amp;&amp;r&gt;-1&amp;&amp;r%1==0&amp;&amp;r&lt;c}function toSource(r){if(null!=r){try{return it.call(r)}catch(r){}try{return r+""}catch(r){}}return""}function eq(r,c){return r===c||r!=r&amp;&amp;c!=c}(_t&amp;&amp;jt(new _t(new ArrayBuffer(1)))!=Ie||wt&amp;&amp;jt(new wt)!=se||xt&amp;&amp;jt(xt.resolve())!=de||kt&amp;&amp;jt(new kt)!=ve||St&amp;&amp;jt(new St)!=Pe)&amp;&amp;(jt=function(r){var c=baseGetTag(r),u=c==pe?r.constructor:void 0,p=u?toSource(u):"";if(p)switch(p){case Tt:return Ie;case Ot:return se;case Ct:return de;case At:return ve;case Pt:return Pe}return c});var Nt=baseIsArguments(function(){return arguments}())?baseIsArguments:function(r){return isObjectLike(r)&amp;&amp;st.call(r,"callee")&amp;&amp;!ht.call(r,"callee")},Dt=Array.isArray;var Mt=vt||function stubFalse(){return!1};function isFunction(r){if(!isObject(r))return!1;var c=baseGetTag(r);return c==ie||c==ae||c==I||c==he}function isLength(r){return"number"==typeof r&amp;&amp;r&gt;-1&amp;&amp;r%1==0&amp;&amp;r&lt;=x}function isObject(r){var c=typeof r;return null!=r&amp;&amp;("object"==c||"function"==c)}function isObjectLike(r){return null!=r&amp;&amp;"object"==typeof r}var Ut=Xe?function baseUnary(r){return function(c){return r(c)}}(Xe):function baseIsTypedArray(r){return isObjectLike(r)&amp;&amp;isLength(r.length)&amp;&amp;!!Ue[baseGetTag(r)]};function keys(r){return function isArrayLike(r){return null!=r&amp;&amp;isLength(r.length)&amp;&amp;!isFunction(r)}(r)?arrayLikeKeys(r):baseKeys(r)}r.exports=function isEqual(r,c){return baseIsEqual(r,c)}},72378:function(r,c,u){r=u.nmd(r);var p="__lodash_hash_undefined__",y=9007199254740991,w="[object Arguments]",x="[object AsyncFunction]",k="[object Function]",E="[object GeneratorFunction]",I="[object Null]",K="[object Object]",J="[object Proxy]",oe="[object Undefined]",ie=/^\[object .+?Constructor\]$/,ae=/^(?:0|[1-9]\d*)$/,se={};se["[object Float32Array]"]=se["[object Float64Array]"]=se["[object Int8Array]"]=se["[object Int16Array]"]=se["[object Int32Array]"]=se["[object Uint8Array]"]=se["[object Uint8ClampedArray]"]=se["[object Uint16Array]"]=se["[object Uint32Array]"]=!0,se[w]=se["[object Array]"]=se["[object ArrayBuffer]"]=se["[object Boolean]"]=se["[object DataView]"]=se["[object Date]"]=se["[object Error]"]=se[k]=se["[object Map]"]=se["[object Number]"]=se[K]=se["[object RegExp]"]=se["[object Set]"]=se["[object String]"]=se["[object WeakMap]"]=!1;var ue="object"==typeof u.g&amp;&amp;u.g&amp;&amp;u.g.Object===Object&amp;&amp;u.g,le="object"==typeof self&amp;&amp;self&amp;&amp;self.Object===Object&amp;&amp;self,pe=ue||le||Function("return this")(),de=c&amp;&amp;!c.nodeType&amp;&amp;c,he=de&amp;&amp;r&amp;&amp;!r.nodeType&amp;&amp;r,ge=he&amp;&amp;he.exports===de,ve=ge&amp;&amp;ue.process,we=function(){try{var r=he&amp;&amp;he.require&amp;&amp;he.require("util").types;return r||ve&amp;&amp;ve.binding&amp;&amp;ve.binding("util")}catch(r){}}(),Se=we&amp;&amp;we.isTypedArray;var Oe,Pe=Array.prototype,Le=Function.prototype,Ie=Object.prototype,je=pe["__core-js_shared__"],De=Le.toString,Ue=Ie.hasOwnProperty,Fe=(Oe=/[^.]+$/.exec(je&amp;&amp;je.keys&amp;&amp;je.keys.IE_PROTO||""))?"Symbol(src)_1."+Oe:"",Ze=Ie.toString,$e=De.call(Object),Ge=RegExp("^"+De.call(Ue).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&amp;").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),We=ge?pe.Buffer:void 0,Ke=pe.Symbol,Je=pe.Uint8Array,Ye=We?We.allocUnsafe:void 0,Xe=function overArg(r,c){return function(u){return r(c(u))}}(Object.getPrototypeOf,Object),Qe=Object.create,et=Ie.propertyIsEnumerable,rt=Pe.splice,nt=Ke?Ke.toStringTag:void 0,ot=function(){try{var r=getNative(Object,"defineProperty");return r({},"",{}),r}catch(r){}}(),it=We?We.isBuffer:void 0,st=Math.max,ct=Date.now,ut=getNative(pe,"Map"),lt=getNative(Object,"create"),pt=function(){function object(){}return function(r){if(!isObject(r))return{};if(Qe)return Qe(r);object.prototype=r;var c=new object;return object.prototype=void 0,c}}();function Hash(r){var c=-1,u=null==r?0:r.length;for(this.clear();++c&lt;u;){var p=r[c];this.set(p[0],p[1])}}function ListCache(r){var c=-1,u=null==r?0:r.length;for(this.clear();++c&lt;u;){var p=r[c];this.set(p[0],p[1])}}function MapCache(r){var c=-1,u=null==r?0:r.length;for(this.clear();++c&lt;u;){var p=r[c];this.set(p[0],p[1])}}function Stack(r){var c=this.__data__=new ListCache(r);this.size=c.size}function arrayLikeKeys(r,c){var u=mt(r),p=!u&amp;&amp;ht(r),y=!u&amp;&amp;!p&amp;&amp;yt(r),w=!u&amp;&amp;!p&amp;&amp;!y&amp;&amp;gt(r),x=u||p||y||w,k=x?function baseTimes(r,c){for(var u=-1,p=Array(r);++u&lt;r;)p[u]=c(u);return p}(r.length,String):[],E=k.length;for(var I in r)!c&amp;&amp;!Ue.call(r,I)||x&amp;&amp;("length"==I||y&amp;&amp;("offset"==I||"parent"==I)||w&amp;&amp;("buffer"==I||"byteLength"==I||"byteOffset"==I)||isIndex(I,E))||k.push(I);return k}function assignMergeValue(r,c,u){(void 0!==u&amp;&amp;!eq(r[c],u)||void 0===u&amp;&amp;!(c in r))&amp;&amp;baseAssignValue(r,c,u)}function assignValue(r,c,u){var p=r[c];Ue.call(r,c)&amp;&amp;eq(p,u)&amp;&amp;(void 0!==u||c in r)||baseAssignValue(r,c,u)}function assocIndexOf(r,c){for(var u=r.length;u--;)if(eq(r[u][0],c))return u;return-1}function baseAssignValue(r,c,u){"__proto__"==c&amp;&amp;ot?ot(r,c,{configurable:!0,enumerable:!0,value:u,writable:!0}):r[c]=u}Hash.prototype.clear=function hashClear(){this.__data__=lt?lt(null):{},this.size=0},Hash.prototype.delete=function hashDelete(r){var c=this.has(r)&amp;&amp;delete this.__data__[r];return this.size-=c?1:0,c},Hash.prototype.get=function hashGet(r){var c=this.__data__;if(lt){var u=c[r];return u===p?void 0:u}return Ue.call(c,r)?c[r]:void 0},Hash.prototype.has=function hashHas(r){var c=this.__data__;return lt?void 0!==c[r]:Ue.call(c,r)},Hash.prototype.set=function hashSet(r,c){var u=this.__data__;return this.size+=this.has(r)?0:1,u[r]=lt&amp;&amp;void 0===c?p:c,this},ListCache.prototype.clear=function listCacheClear(){this.__data__=[],this.size=0},ListCache.prototype.delete=function listCacheDelete(r){var c=this.__data__,u=assocIndexOf(c,r);return!(u&lt;0)&amp;&amp;(u==c.length-1?c.pop():rt.call(c,u,1),--this.size,!0)},ListCache.prototype.get=function listCacheGet(r){var c=this.__data__,u=assocIndexOf(c,r);return u&lt;0?void 0:c[u][1]},ListCache.prototype.has=function listCacheHas(r){return assocIndexOf(this.__data__,r)&gt;-1},ListCache.prototype.set=function listCacheSet(r,c){var u=this.__data__,p=assocIndexOf(u,r);return p&lt;0?(++this.size,u.push([r,c])):u[p][1]=c,this},MapCache.prototype.clear=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(ut||ListCache),string:new Hash}},MapCache.prototype.delete=function mapCacheDelete(r){var c=getMapData(this,r).delete(r);return this.size-=c?1:0,c},MapCache.prototype.get=function mapCacheGet(r){return getMapData(this,r).get(r)},MapCache.prototype.has=function mapCacheHas(r){return getMapData(this,r).has(r)},MapCache.prototype.set=function mapCacheSet(r,c){var u=getMapData(this,r),p=u.size;return u.set(r,c),this.size+=u.size==p?0:1,this},Stack.prototype.clear=function stackClear(){this.__data__=new ListCache,this.size=0},Stack.prototype.delete=function stackDelete(r){var c=this.__data__,u=c.delete(r);return this.size=c.size,u},Stack.prototype.get=function stackGet(r){return this.__data__.get(r)},Stack.prototype.has=function stackHas(r){return this.__data__.has(r)},Stack.prototype.set=function stackSet(r,c){var u=this.__data__;if(u instanceof ListCache){var p=u.__data__;if(!ut||p.length&lt;199)return p.push([r,c]),this.size=++u.size,this;u=this.__data__=new MapCache(p)}return u.set(r,c),this.size=u.size,this};var dt=function createBaseFor(r){return function(c,u,p){for(var y=-1,w=Object(c),x=p(c),k=x.length;k--;){var E=x[r?k:++y];if(!1===u(w[E],E,w))break}return c}}();function baseGetTag(r){return null==r?void 0===r?oe:I:nt&amp;&amp;nt in Object(r)?function getRawTag(r){var c=Ue.call(r,nt),u=r[nt];try{r[nt]=void 0;var p=!0}catch(r){}var y=Ze.call(r);p&amp;&amp;(c?r[nt]=u:delete r[nt]);return y}(r):function objectToString(r){return Ze.call(r)}(r)}function baseIsArguments(r){return isObjectLike(r)&amp;&amp;baseGetTag(r)==w}function baseIsNative(r){return!(!isObject(r)||function isMasked(r){return!!Fe&amp;&amp;Fe in r}(r))&amp;&amp;(isFunction(r)?Ge:ie).test(function toSource(r){if(null!=r){try{return De.call(r)}catch(r){}try{return r+""}catch(r){}}return""}(r))}function baseKeysIn(r){if(!isObject(r))return function nativeKeysIn(r){var c=[];if(null!=r)for(var u in Object(r))c.push(u);return c}(r);var c=isPrototype(r),u=[];for(var p in r)("constructor"!=p||!c&amp;&amp;Ue.call(r,p))&amp;&amp;u.push(p);return u}function baseMerge(r,c,u,p,y){r!==c&amp;&amp;dt(c,(function(w,x){if(y||(y=new Stack),isObject(w))!function baseMergeDeep(r,c,u,p,y,w,x){var k=safeGet(r,u),E=safeGet(c,u),I=x.get(E);if(I)return void assignMergeValue(r,u,I);var J=w?w(k,E,u+"",r,c,x):void 0,oe=void 0===J;if(oe){var ie=mt(E),ae=!ie&amp;&amp;yt(E),se=!ie&amp;&amp;!ae&amp;&amp;gt(E);J=E,ie||ae||se?mt(k)?J=k:!function isArrayLikeObject(r){return isObjectLike(r)&amp;&amp;isArrayLike(r)}(k)?ae?(oe=!1,J=function cloneBuffer(r,c){if(c)return r.slice();var u=r.length,p=Ye?Ye(u):new r.constructor(u);return r.copy(p),p}(E,!0)):se?(oe=!1,J=function cloneTypedArray(r,c){var u=c?function cloneArrayBuffer(r){var c=new r.constructor(r.byteLength);return new Je(c).set(new Je(r)),c}(r.buffer):r.buffer;return new r.constructor(u,r.byteOffset,r.length)}(E,!0)):J=[]:J=function copyArray(r,c){var u=-1,p=r.length;c||(c=Array(p));for(;++u&lt;p;)c[u]=r[u];return c}(k):function isPlainObject(r){if(!isObjectLike(r)||baseGetTag(r)!=K)return!1;var c=Xe(r);if(null===c)return!0;var u=Ue.call(c,"constructor")&amp;&amp;c.constructor;return"function"==typeof u&amp;&amp;u instanceof u&amp;&amp;De.call(u)==$e}(E)||ht(E)?(J=k,ht(k)?J=function toPlainObject(r){return function copyObject(r,c,u,p){var y=!u;u||(u={});var w=-1,x=c.length;for(;++w&lt;x;){var k=c[w],E=p?p(u[k],r[k],k,u,r):void 0;void 0===E&amp;&amp;(E=r[k]),y?baseAssignValue(u,k,E):assignValue(u,k,E)}return u}(r,keysIn(r))}(k):isObject(k)&amp;&amp;!isFunction(k)||(J=function initCloneObject(r){return"function"!=typeof r.constructor||isPrototype(r)?{}:pt(Xe(r))}(E))):oe=!1}oe&amp;&amp;(x.set(E,J),y(J,E,p,w,x),x.delete(E));assignMergeValue(r,u,J)}(r,c,x,u,baseMerge,p,y);else{var k=p?p(safeGet(r,x),w,x+"",r,c,y):void 0;void 0===k&amp;&amp;(k=w),assignMergeValue(r,x,k)}}),keysIn)}function baseRest(r,c){return ft(function overRest(r,c,u){return c=st(void 0===c?r.length-1:c,0),function(){for(var p=arguments,y=-1,w=st(p.length-c,0),x=Array(w);++y&lt;w;)x[y]=p[c+y];y=-1;for(var k=Array(c+1);++y&lt;c;)k[y]=p[y];return k[c]=u(x),function apply(r,c,u){switch(u.length){case 0:return r.call(c);case 1:return r.call(c,u[0]);case 2:return r.call(c,u[0],u[1]);case 3:return r.call(c,u[0],u[1],u[2])}return r.apply(c,u)}(r,this,k)}}(r,c,identity),r+"")}function getMapData(r,c){var u=r.__data__;return function isKeyable(r){var c=typeof r;return"string"==c||"number"==c||"symbol"==c||"boolean"==c?"__proto__"!==r:null===r}(c)?u["string"==typeof c?"string":"hash"]:u.map}function getNative(r,c){var u=function getValue(r,c){return null==r?void 0:r[c]}(r,c);return baseIsNative(u)?u:void 0}function isIndex(r,c){var u=typeof r;return!!(c=null==c?y:c)&amp;&amp;("number"==u||"symbol"!=u&amp;&amp;ae.test(r))&amp;&amp;r&gt;-1&amp;&amp;r%1==0&amp;&amp;r&lt;c}function isPrototype(r){var c=r&amp;&amp;r.constructor;return r===("function"==typeof c&amp;&amp;c.prototype||Ie)}function safeGet(r,c){if(("constructor"!==c||"function"!=typeof r[c])&amp;&amp;"__proto__"!=c)return r[c]}var ft=function shortOut(r){var c=0,u=0;return function(){var p=ct(),y=16-(p-u);if(u=p,y&gt;0){if(++c&gt;=800)return arguments[0]}else c=0;return r.apply(void 0,arguments)}}(ot?function(r,c){return ot(r,"toString",{configurable:!0,enumerable:!1,value:(u=c,function(){return u}),writable:!0});var u}:identity);function eq(r,c){return r===c||r!=r&amp;&amp;c!=c}var ht=baseIsArguments(function(){return arguments}())?baseIsArguments:function(r){return isObjectLike(r)&amp;&amp;Ue.call(r,"callee")&amp;&amp;!et.call(r,"callee")},mt=Array.isArray;function isArrayLike(r){return null!=r&amp;&amp;isLength(r.length)&amp;&amp;!isFunction(r)}var yt=it||function stubFalse(){return!1};function isFunction(r){if(!isObject(r))return!1;var c=baseGetTag(r);return c==k||c==E||c==x||c==J}function isLength(r){return"number"==typeof r&amp;&amp;r&gt;-1&amp;&amp;r%1==0&amp;&amp;r&lt;=y}function isObject(r){var c=typeof r;return null!=r&amp;&amp;("object"==c||"function"==c)}function isObjectLike(r){return null!=r&amp;&amp;"object"==typeof r}var gt=Se?function baseUnary(r){return function(c){return r(c)}}(Se):function baseIsTypedArray(r){return isObjectLike(r)&amp;&amp;isLength(r.length)&amp;&amp;!!se[baseGetTag(r)]};function keysIn(r){return isArrayLike(r)?arrayLikeKeys(r,!0):baseKeysIn(r)}var vt=function createAssigner(r){return baseRest((function(c,u){var p=-1,y=u.length,w=y&gt;1?u[y-1]:void 0,x=y&gt;2?u[2]:void 0;for(w=r.length&gt;3&amp;&amp;"function"==typeof w?(y--,w):void 0,x&amp;&amp;function isIterateeCall(r,c,u){if(!isObject(u))return!1;var p=typeof c;if("number"==p?isArrayLike(u)&amp;&amp;isIndex(c,u.length):"string"==p&amp;&amp;c in u)return eq(u[c],r);return!1}(u[0],u[1],x)&amp;&amp;(w=y&lt;3?void 0:w,y=1),c=Object(c);++p&lt;y;){var k=u[p];k&amp;&amp;r(c,k,p,w)}return c}))}((function(r,c,u){baseMerge(r,c,u)}));function identity(r){return r}r.exports=vt},2043:function(r,c,u){var p,y;!function(w,x){"use strict";p=function(){var noop=function(){},r="undefined",c=typeof window!==r&amp;&amp;typeof window.navigator!==r&amp;&amp;/Trident\/|MSIE /.test(window.navigator.userAgent),u=["trace","debug","info","warn","error"];function bindMethod(r,c){var u=r[c];if("function"==typeof u.bind)return u.bind(r);try{return Function.prototype.bind.call(u,r)}catch(c){return function(){return Function.prototype.apply.apply(u,[r,arguments])}}}function traceForIE(){console.log&amp;&amp;(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&amp;&amp;console.trace()}function realMethod(u){return"debug"===u&amp;&amp;(u="log"),typeof console!==r&amp;&amp;("trace"===u&amp;&amp;c?traceForIE:void 0!==console[u]?bindMethod(console,u):void 0!==console.log?bindMethod(console,"log"):noop)}function replaceLoggingMethods(r,c){for(var p=0;p&lt;u.length;p++){var y=u[p];this[y]=p&lt;r?noop:this.methodFactory(y,r,c)}this.log=this.debug}function enableLoggingWhenConsoleArrives(c,u,p){return function(){typeof console!==r&amp;&amp;(replaceLoggingMethods.call(this,u,p),this[c].apply(this,arguments))}}function defaultMethodFactory(r,c,u){return realMethod(r)||enableLoggingWhenConsoleArrives.apply(this,arguments)}function Logger(c,p,y){var w,x=this;p=null==p?"WARN":p;var k="loglevel";function persistLevelIfPossible(c){var p=(u[c]||"silent").toUpperCase();if(typeof window!==r&amp;&amp;k){try{return void(window.localStorage[k]=p)}catch(r){}try{window.document.cookie=encodeURIComponent(k)+"="+p+";"}catch(r){}}}function getPersistedLevel(){var c;if(typeof window!==r&amp;&amp;k){try{c=window.localStorage[k]}catch(r){}if(typeof c===r)try{var u=window.document.cookie,p=u.indexOf(encodeURIComponent(k)+"=");-1!==p&amp;&amp;(c=/^([^;]+)/.exec(u.slice(p))[1])}catch(r){}return void 0===x.levels[c]&amp;&amp;(c=void 0),c}}function clearPersistedLevel(){if(typeof window!==r&amp;&amp;k){try{return void window.localStorage.removeItem(k)}catch(r){}try{window.document.cookie=encodeURIComponent(k)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(r){}}}"string"==typeof c?k+=":"+c:"symbol"==typeof c&amp;&amp;(k=void 0),x.name=c,x.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},x.methodFactory=y||defaultMethodFactory,x.getLevel=function(){return w},x.setLevel=function(u,p){if("string"==typeof u&amp;&amp;void 0!==x.levels[u.toUpperCase()]&amp;&amp;(u=x.levels[u.toUpperCase()]),!("number"==typeof u&amp;&amp;u&gt;=0&amp;&amp;u&lt;=x.levels.SILENT))throw"log.setLevel() called with invalid level: "+u;if(w=u,!1!==p&amp;&amp;persistLevelIfPossible(u),replaceLoggingMethods.call(x,u,c),typeof console===r&amp;&amp;u&lt;x.levels.SILENT)return"No console available for logging"},x.setDefaultLevel=function(r){p=r,getPersistedLevel()||x.setLevel(r,!1)},x.resetLevel=function(){x.setLevel(p,!1),clearPersistedLevel()},x.enableAll=function(r){x.setLevel(x.levels.TRACE,r)},x.disableAll=function(r){x.setLevel(x.levels.SILENT,r)};var E=getPersistedLevel();null==E&amp;&amp;(E=p),x.setLevel(E,!1)}var p=new Logger,y={};p.getLogger=function getLogger(r){if("symbol"!=typeof r&amp;&amp;"string"!=typeof r||""===r)throw new TypeError("You must supply a name when creating a logger.");var c=y[r];return c||(c=y[r]=new Logger(r,p.getLevel(),p.methodFactory)),c};var w=typeof window!==r?window.log:void 0;return p.noConflict=function(){return typeof window!==r&amp;&amp;window.log===p&amp;&amp;(window.log=w),p},p.getLoggers=function getLoggers(){return y},p.default=p,p},void 0===(y="function"==typeof p?p.call(c,u,c,r):p)||(r.exports=y)}()},9980:function(r,c,u){"use strict";r.exports=u(17024)},26233:function(r,c,u){"use strict";r.exports=u(95485)},40813:function(r){"use strict";r.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},51947:function(r){"use strict";var c="&lt;[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=&lt;&gt;`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?&gt;",u="&lt;\\/[A-Za-z][A-Za-z0-9\\-]*\\s*&gt;",p=new RegExp("^(?:"+c+"|"+u+"|\x3c!----\x3e|\x3c!--(?:-?[^&gt;-])(?:-?[^-])*--\x3e|&lt;[?][\\s\\S]*?[?]&gt;|&lt;![A-Z]+\\s+[^&gt;]*&gt;|&lt;!\\[CDATA\\[[\\s\\S]*?\\]\\]&gt;)"),y=new RegExp("^(?:"+c+"|"+u+")");r.exports.n=p,r.exports.q=y},67022:function(r,c,u){"use strict";var p=Object.prototype.hasOwnProperty;function has(r,c){return p.call(r,c)}function isValidEntityCode(r){return!(r&gt;=55296&amp;&amp;r&lt;=57343)&amp;&amp;(!(r&gt;=64976&amp;&amp;r&lt;=65007)&amp;&amp;(65535!=(65535&amp;r)&amp;&amp;65534!=(65535&amp;r)&amp;&amp;(!(r&gt;=0&amp;&amp;r&lt;=8)&amp;&amp;(11!==r&amp;&amp;(!(r&gt;=14&amp;&amp;r&lt;=31)&amp;&amp;(!(r&gt;=127&amp;&amp;r&lt;=159)&amp;&amp;!(r&gt;1114111)))))))}function fromCodePoint(r){if(r&gt;65535){var c=55296+((r-=65536)&gt;&gt;10),u=56320+(1023&amp;r);return String.fromCharCode(c,u)}return String.fromCharCode(r)}var y=/\\([!"#$%&amp;'()*+,\-.\/:;&lt;=&gt;?@[\\\]^_`{|}~])/g,w=new RegExp(y.source+"|"+/&amp;([a-z#][a-z0-9]{1,31});/gi.source,"gi"),x=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,k=u(26233);var E=/[&amp;&lt;&gt;"]/,I=/[&amp;&lt;&gt;"]/g,K={"&amp;":"&amp;amp;","&lt;":"&amp;lt;","&gt;":"&amp;gt;",'"':"&amp;quot;"};function replaceUnsafeChar(r){return K[r]}var J=/[.?*+^$[\]\\(){}|-]/g;var oe=u(73189);c.lib={},c.lib.mdurl=u(48765),c.lib.ucmicro=u(84205),c.assign=function assign(r){return Array.prototype.slice.call(arguments,1).forEach((function(c){if(c){if("object"!=typeof c)throw new TypeError(c+"must be object");Object.keys(c).forEach((function(u){r[u]=c[u]}))}})),r},c.isString=function isString(r){return"[object String]"===function _class(r){return Object.prototype.toString.call(r)}(r)},c.has=has,c.unescapeMd=function unescapeMd(r){return r.indexOf("\\")&lt;0?r:r.replace(y,"$1")},c.unescapeAll=function unescapeAll(r){return r.indexOf("\\")&lt;0&amp;&amp;r.indexOf("&amp;")&lt;0?r:r.replace(w,(function(r,c,u){return c||function replaceEntityPattern(r,c){var u=0;return has(k,c)?k[c]:35===c.charCodeAt(0)&amp;&amp;x.test(c)&amp;&amp;isValidEntityCode(u="x"===c[1].toLowerCase()?parseInt(c.slice(2),16):parseInt(c.slice(1),10))?fromCodePoint(u):r}(r,u)}))},c.isValidEntityCode=isValidEntityCode,c.fromCodePoint=fromCodePoint,c.escapeHtml=function escapeHtml(r){return E.test(r)?r.replace(I,replaceUnsafeChar):r},c.arrayReplaceAt=function arrayReplaceAt(r,c,u){return[].concat(r.slice(0,c),u,r.slice(c+1))},c.isSpace=function isSpace(r){switch(r){case 9:case 32:return!0}return!1},c.isWhiteSpace=function isWhiteSpace(r){if(r&gt;=8192&amp;&amp;r&lt;=8202)return!0;switch(r){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},c.isMdAsciiPunct=function isMdAsciiPunct(r){switch(r){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},c.isPunctChar=function isPunctChar(r){return oe.test(r)},c.escapeRE=function escapeRE(r){return r.replace(J,"\\$&amp;")},c.normalizeReference=function normalizeReference(r){return r=r.trim().replace(/\s+/g," "),"á¹¾"==="áºž".toLowerCase()&amp;&amp;(r=r.replace(/áºž/g,"ÃŸ")),r.toLowerCase().toUpperCase()}},51685:function(r,c,u){"use strict";c.parseLinkLabel=u(33595),c.parseLinkDestination=u(12548),c.parseLinkTitle=u(88040)},12548:function(r,c,u){"use strict";var p=u(67022).unescapeAll;r.exports=function parseLinkDestination(r,c,u){var y,w,x=c,k={ok:!1,pos:0,lines:0,str:""};if(60===r.charCodeAt(c)){for(c++;c&lt;u;){if(10===(y=r.charCodeAt(c)))return k;if(60===y)return k;if(62===y)return k.pos=c+1,k.str=p(r.slice(x+1,c)),k.ok=!0,k;92===y&amp;&amp;c+1&lt;u?c+=2:c++}return k}for(w=0;c&lt;u&amp;&amp;32!==(y=r.charCodeAt(c))&amp;&amp;!(y&lt;32||127===y);)if(92===y&amp;&amp;c+1&lt;u){if(32===r.charCodeAt(c+1))break;c+=2}else{if(40===y&amp;&amp;++w&gt;32)return k;if(41===y){if(0===w)break;w--}c++}return x===c||0!==w||(k.str=p(r.slice(x,c)),k.lines=0,k.pos=c,k.ok=!0),k}},33595:function(r){"use strict";r.exports=function parseLinkLabel(r,c,u){var p,y,w,x,k=-1,E=r.posMax,I=r.pos;for(r.pos=c+1,p=1;r.pos&lt;E;){if(93===(w=r.src.charCodeAt(r.pos))&amp;&amp;0===--p){y=!0;break}if(x=r.pos,r.md.inline.skipToken(r),91===w)if(x===r.pos-1)p++;else if(u)return r.pos=I,-1}return y&amp;&amp;(k=r.pos),r.pos=I,k}},88040:function(r,c,u){"use strict";var p=u(67022).unescapeAll;r.exports=function parseLinkTitle(r,c,u){var y,w,x=0,k=c,E={ok:!1,pos:0,lines:0,str:""};if(c&gt;=u)return E;if(34!==(w=r.charCodeAt(c))&amp;&amp;39!==w&amp;&amp;40!==w)return E;for(c++,40===w&amp;&amp;(w=41);c&lt;u;){if((y=r.charCodeAt(c))===w)return E.pos=c+1,E.lines=x,E.str=p(r.slice(k+1,c)),E.ok=!0,E;if(40===y&amp;&amp;41===w)return E;10===y?x++:92===y&amp;&amp;c+1&lt;u&amp;&amp;(c++,10===r.charCodeAt(c)&amp;&amp;x++),c++}return E}},17024:function(r,c,u){"use strict";var p=u(67022),y=u(51685),w=u(77529),x=u(17346),k=u(82471),E=u(94485),I=u(68337),K=u(48765),J=u(3689),oe={default:u(84218),zero:u(873),commonmark:u(6895)},ie=/^(vbscript|javascript|file|data):/,ae=/^data:image\/(gif|png|jpeg|webp);/;function validateLink(r){var c=r.trim().toLowerCase();return!ie.test(c)||!!ae.test(c)}var se=["http:","https:","mailto:"];function normalizeLink(r){var c=K.parse(r,!0);if(c.hostname&amp;&amp;(!c.protocol||se.indexOf(c.protocol)&gt;=0))try{c.hostname=J.toASCII(c.hostname)}catch(r){}return K.encode(K.format(c))}function normalizeLinkText(r){var c=K.parse(r,!0);if(c.hostname&amp;&amp;(!c.protocol||se.indexOf(c.protocol)&gt;=0))try{c.hostname=J.toUnicode(c.hostname)}catch(r){}return K.decode(K.format(c),K.decode.defaultChars+"%")}function MarkdownIt(r,c){if(!(this instanceof MarkdownIt))return new MarkdownIt(r,c);c||p.isString(r)||(c=r||{},r="default"),this.inline=new E,this.block=new k,this.core=new x,this.renderer=new w,this.linkify=new I,this.validateLink=validateLink,this.normalizeLink=normalizeLink,this.normalizeLinkText=normalizeLinkText,this.utils=p,this.helpers=p.assign({},y),this.options={},this.configure(r),c&amp;&amp;this.set(c)}MarkdownIt.prototype.set=function(r){return p.assign(this.options,r),this},MarkdownIt.prototype.configure=function(r){var c,u=this;if(p.isString(r)&amp;&amp;!(r=oe[c=r]))throw new Error('Wrong `markdown-it` preset "'+c+'", check name');if(!r)throw new Error("Wrong `markdown-it` preset, can't be empty");return r.options&amp;&amp;u.set(r.options),r.components&amp;&amp;Object.keys(r.components).forEach((function(c){r.components[c].rules&amp;&amp;u[c].ruler.enableOnly(r.components[c].rules),r.components[c].rules2&amp;&amp;u[c].ruler2.enableOnly(r.components[c].rules2)})),this},MarkdownIt.prototype.enable=function(r,c){var u=[];Array.isArray(r)||(r=[r]),["core","block","inline"].forEach((function(c){u=u.concat(this[c].ruler.enable(r,!0))}),this),u=u.concat(this.inline.ruler2.enable(r,!0));var p=r.filter((function(r){return u.indexOf(r)&lt;0}));if(p.length&amp;&amp;!c)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+p);return this},MarkdownIt.prototype.disable=function(r,c){var u=[];Array.isArray(r)||(r=[r]),["core","block","inline"].forEach((function(c){u=u.concat(this[c].ruler.disable(r,!0))}),this),u=u.concat(this.inline.ruler2.disable(r,!0));var p=r.filter((function(r){return u.indexOf(r)&lt;0}));if(p.length&amp;&amp;!c)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+p);return this},MarkdownIt.prototype.use=function(r){var c=[this].concat(Array.prototype.slice.call(arguments,1));return r.apply(r,c),this},MarkdownIt.prototype.parse=function(r,c){if("string"!=typeof r)throw new Error("Input data should be a String");var u=new this.core.State(r,this,c);return this.core.process(u),u.tokens},MarkdownIt.prototype.render=function(r,c){return c=c||{},this.renderer.render(this.parse(r,c),this.options,c)},MarkdownIt.prototype.parseInline=function(r,c){var u=new this.core.State(r,this,c);return u.inlineMode=!0,this.core.process(u),u.tokens},MarkdownIt.prototype.renderInline=function(r,c){return c=c||{},this.renderer.render(this.parseInline(r,c),this.options,c)},r.exports=MarkdownIt},82471:function(r,c,u){"use strict";var p=u(79580),y=[["table",u(91785),["paragraph","reference"]],["code",u(38768)],["fence",u(13542),["paragraph","reference","blockquote","list"]],["blockquote",u(45258),["paragraph","reference","blockquote","list"]],["hr",u(35634),["paragraph","reference","blockquote","list"]],["list",u(18532),["paragraph","reference","blockquote"]],["reference",u(43804)],["html_block",u(76329),["paragraph","reference","blockquote"]],["heading",u(61630),["paragraph","reference","blockquote"]],["lheading",u(56850)],["paragraph",u(96864)]];function ParserBlock(){this.ruler=new p;for(var r=0;r&lt;y.length;r++)this.ruler.push(y[r][0],y[r][1],{alt:(y[r][2]||[]).slice()})}ParserBlock.prototype.tokenize=function(r,c,u){for(var p,y=this.ruler.getRules(""),w=y.length,x=c,k=!1,E=r.md.options.maxNesting;x&lt;u&amp;&amp;(r.line=x=r.skipEmptyLines(x),!(x&gt;=u))&amp;&amp;!(r.sCount[x]&lt;r.blkIndent);){if(r.level&gt;=E){r.line=u;break}for(p=0;p&lt;w&amp;&amp;!y[p](r,x,u,!1);p++);r.tight=!k,r.isEmpty(r.line-1)&amp;&amp;(k=!0),(x=r.line)&lt;u&amp;&amp;r.isEmpty(x)&amp;&amp;(k=!0,x++,r.line=x)}},ParserBlock.prototype.parse=function(r,c,u,p){var y;r&amp;&amp;(y=new this.State(r,c,u,p),this.tokenize(y,y.line,y.lineMax))},ParserBlock.prototype.State=u(62948),r.exports=ParserBlock},17346:function(r,c,u){"use strict";var p=u(79580),y=[["normalize",u(74129)],["block",u(20898)],["inline",u(79827)],["linkify",u(17830)],["replacements",u(2834)],["smartquotes",u(58450)]];function Core(){this.ruler=new p;for(var r=0;r&lt;y.length;r++)this.ruler.push(y[r][0],y[r][1])}Core.prototype.process=function(r){var c,u,p;for(c=0,u=(p=this.ruler.getRules("")).length;c&lt;u;c++)p[c](r)},Core.prototype.State=u(16480),r.exports=Core},94485:function(r,c,u){"use strict";var p=u(79580),y=[["text",u(39941)],["newline",u(43905)],["escape",u(1917)],["backticks",u(79755)],["strikethrough",u(44814).w],["emphasis",u(97894).w],["link",u(81727)],["image",u(83006)],["autolink",u(43420)],["html_inline",u(81779)],["entity",u(99391)]],w=[["balance_pairs",u(89354)],["strikethrough",u(44814).g],["emphasis",u(97894).g],["text_collapse",u(28996)]];function ParserInline(){var r;for(this.ruler=new p,r=0;r&lt;y.length;r++)this.ruler.push(y[r][0],y[r][1]);for(this.ruler2=new p,r=0;r&lt;w.length;r++)this.ruler2.push(w[r][0],w[r][1])}ParserInline.prototype.skipToken=function(r){var c,u,p=r.pos,y=this.ruler.getRules(""),w=y.length,x=r.md.options.maxNesting,k=r.cache;if(void 0===k[p]){if(r.level&lt;x)for(u=0;u&lt;w&amp;&amp;(r.level++,c=y[u](r,!0),r.level--,!c);u++);else r.pos=r.posMax;c||r.pos++,k[p]=r.pos}else r.pos=k[p]},ParserInline.prototype.tokenize=function(r){for(var c,u,p=this.ruler.getRules(""),y=p.length,w=r.posMax,x=r.md.options.maxNesting;r.pos&lt;w;){if(r.level&lt;x)for(u=0;u&lt;y&amp;&amp;!(c=p[u](r,!1));u++);if(c){if(r.pos&gt;=w)break}else r.pending+=r.src[r.pos++]}r.pending&amp;&amp;r.pushPending()},ParserInline.prototype.parse=function(r,c,u,p){var y,w,x,k=new this.State(r,c,u,p);for(this.tokenize(k),x=(w=this.ruler2.getRules("")).length,y=0;y&lt;x;y++)w[y](k)},ParserInline.prototype.State=u(50670),r.exports=ParserInline},6895:function(r){"use strict";r.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"â€œâ€â€˜â€™",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},84218:function(r){"use strict";r.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"â€œâ€â€˜â€™",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},873:function(r){"use strict";r.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"â€œâ€â€˜â€™",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},77529:function(r,c,u){"use strict";var p=u(67022).assign,y=u(67022).unescapeAll,w=u(67022).escapeHtml,x={};function Renderer(){this.rules=p({},x)}x.code_inline=function(r,c,u,p,y){var x=r[c];return"&lt;code"+y.renderAttrs(x)+"&gt;"+w(r[c].content)+"&lt;/code&gt;"},x.code_block=function(r,c,u,p,y){var x=r[c];return"&lt;pre"+y.renderAttrs(x)+"&gt;&lt;code&gt;"+w(r[c].content)+"&lt;/code&gt;&lt;/pre&gt;\n"},x.fence=function(r,c,u,p,x){var k,E,I,K,J,oe=r[c],ie=oe.info?y(oe.info).trim():"",ae="",se="";return ie&amp;&amp;(ae=(I=ie.split(/(\s+)/g))[0],se=I.slice(2).join("")),0===(k=u.highlight&amp;&amp;u.highlight(oe.content,ae,se)||w(oe.content)).indexOf("&lt;pre")?k+"\n":ie?(E=oe.attrIndex("class"),K=oe.attrs?oe.attrs.slice():[],E&lt;0?K.push(["class",u.langPrefix+ae]):(K[E]=K[E].slice(),K[E][1]+=" "+u.langPrefix+ae),J={attrs:K},"&lt;pre&gt;&lt;code"+x.renderAttrs(J)+"&gt;"+k+"&lt;/code&gt;&lt;/pre&gt;\n"):"&lt;pre&gt;&lt;code"+x.renderAttrs(oe)+"&gt;"+k+"&lt;/code&gt;&lt;/pre&gt;\n"},x.image=function(r,c,u,p,y){var w=r[c];return w.attrs[w.attrIndex("alt")][1]=y.renderInlineAsText(w.children,u,p),y.renderToken(r,c,u)},x.hardbreak=function(r,c,u){return u.xhtmlOut?"&lt;br /&gt;\n":"&lt;br&gt;\n"},x.softbreak=function(r,c,u){return u.breaks?u.xhtmlOut?"&lt;br /&gt;\n":"&lt;br&gt;\n":"\n"},x.text=function(r,c){return w(r[c].content)},x.html_block=function(r,c){return r[c].content},x.html_inline=function(r,c){return r[c].content},Renderer.prototype.renderAttrs=function renderAttrs(r){var c,u,p;if(!r.attrs)return"";for(p="",c=0,u=r.attrs.length;c&lt;u;c++)p+=" "+w(r.attrs[c][0])+'="'+w(r.attrs[c][1])+'"';return p},Renderer.prototype.renderToken=function renderToken(r,c,u){var p,y="",w=!1,x=r[c];return x.hidden?"":(x.block&amp;&amp;-1!==x.nesting&amp;&amp;c&amp;&amp;r[c-1].hidden&amp;&amp;(y+="\n"),y+=(-1===x.nesting?"&lt;/":"&lt;")+x.tag,y+=this.renderAttrs(x),0===x.nesting&amp;&amp;u.xhtmlOut&amp;&amp;(y+=" /"),x.block&amp;&amp;(w=!0,1===x.nesting&amp;&amp;c+1&lt;r.length&amp;&amp;("inline"===(p=r[c+1]).type||p.hidden||-1===p.nesting&amp;&amp;p.tag===x.tag)&amp;&amp;(w=!1)),y+=w?"&gt;\n":"&gt;")},Renderer.prototype.renderInline=function(r,c,u){for(var p,y="",w=this.rules,x=0,k=r.length;x&lt;k;x++)void 0!==w[p=r[x].type]?y+=w[p](r,x,c,u,this):y+=this.renderToken(r,x,c);return y},Renderer.prototype.renderInlineAsText=function(r,c,u){for(var p="",y=0,w=r.length;y&lt;w;y++)"text"===r[y].type?p+=r[y].content:"image"===r[y].type?p+=this.renderInlineAsText(r[y].children,c,u):"softbreak"===r[y].type&amp;&amp;(p+="\n");return p},Renderer.prototype.render=function(r,c,u){var p,y,w,x="",k=this.rules;for(p=0,y=r.length;p&lt;y;p++)"inline"===(w=r[p].type)?x+=this.renderInline(r[p].children,c,u):void 0!==k[w]?x+=k[r[p].type](r,p,c,u,this):x+=this.renderToken(r,p,c,u);return x},r.exports=Renderer},79580:function(r){"use strict";function Ruler(){this.__rules__=[],this.__cache__=null}Ruler.prototype.__find__=function(r){for(var c=0;c&lt;this.__rules__.length;c++)if(this.__rules__[c].name===r)return c;return-1},Ruler.prototype.__compile__=function(){var r=this,c=[""];r.__rules__.forEach((function(r){r.enabled&amp;&amp;r.alt.forEach((function(r){c.indexOf(r)&lt;0&amp;&amp;c.push(r)}))})),r.__cache__={},c.forEach((function(c){r.__cache__[c]=[],r.__rules__.forEach((function(u){u.enabled&amp;&amp;(c&amp;&amp;u.alt.indexOf(c)&lt;0||r.__cache__[c].push(u.fn))}))}))},Ruler.prototype.at=function(r,c,u){var p=this.__find__(r),y=u||{};if(-1===p)throw new Error("Parser rule not found: "+r);this.__rules__[p].fn=c,this.__rules__[p].alt=y.alt||[],this.__cache__=null},Ruler.prototype.before=function(r,c,u,p){var y=this.__find__(r),w=p||{};if(-1===y)throw new Error("Parser rule not found: "+r);this.__rules__.splice(y,0,{name:c,enabled:!0,fn:u,alt:w.alt||[]}),this.__cache__=null},Ruler.prototype.after=function(r,c,u,p){var y=this.__find__(r),w=p||{};if(-1===y)throw new Error("Parser rule not found: "+r);this.__rules__.splice(y+1,0,{name:c,enabled:!0,fn:u,alt:w.alt||[]}),this.__cache__=null},Ruler.prototype.push=function(r,c,u){var p=u||{};this.__rules__.push({name:r,enabled:!0,fn:c,alt:p.alt||[]}),this.__cache__=null},Ruler.prototype.enable=function(r,c){Array.isArray(r)||(r=[r]);var u=[];return r.forEach((function(r){var p=this.__find__(r);if(p&lt;0){if(c)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[p].enabled=!0,u.push(r)}),this),this.__cache__=null,u},Ruler.prototype.enableOnly=function(r,c){Array.isArray(r)||(r=[r]),this.__rules__.forEach((function(r){r.enabled=!1})),this.enable(r,c)},Ruler.prototype.disable=function(r,c){Array.isArray(r)||(r=[r]);var u=[];return r.forEach((function(r){var p=this.__find__(r);if(p&lt;0){if(c)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[p].enabled=!1,u.push(r)}),this),this.__cache__=null,u},Ruler.prototype.getRules=function(r){return null===this.__cache__&amp;&amp;this.__compile__(),this.__cache__[r]||[]},r.exports=Ruler},45258:function(r,c,u){"use strict";var p=u(67022).isSpace;r.exports=function blockquote(r,c,u,y){var w,x,k,E,I,K,J,oe,ie,ae,se,ue,le,pe,de,he,ge,ve,we,Se,Oe=r.lineMax,Pe=r.bMarks[c]+r.tShift[c],Le=r.eMarks[c];if(r.sCount[c]-r.blkIndent&gt;=4)return!1;if(62!==r.src.charCodeAt(Pe++))return!1;if(y)return!0;for(E=ie=r.sCount[c]+1,32===r.src.charCodeAt(Pe)?(Pe++,E++,ie++,w=!1,he=!0):9===r.src.charCodeAt(Pe)?(he=!0,(r.bsCount[c]+ie)%4==3?(Pe++,E++,ie++,w=!1):w=!0):he=!1,ae=[r.bMarks[c]],r.bMarks[c]=Pe;Pe&lt;Le&amp;&amp;(x=r.src.charCodeAt(Pe),p(x));)9===x?ie+=4-(ie+r.bsCount[c]+(w?1:0))%4:ie++,Pe++;for(se=[r.bsCount[c]],r.bsCount[c]=r.sCount[c]+1+(he?1:0),K=Pe&gt;=Le,pe=[r.sCount[c]],r.sCount[c]=ie-E,de=[r.tShift[c]],r.tShift[c]=Pe-r.bMarks[c],ve=r.md.block.ruler.getRules("blockquote"),le=r.parentType,r.parentType="blockquote",oe=c+1;oe&lt;u&amp;&amp;(Se=r.sCount[oe]&lt;r.blkIndent,!((Pe=r.bMarks[oe]+r.tShift[oe])&gt;=(Le=r.eMarks[oe])));oe++)if(62!==r.src.charCodeAt(Pe++)||Se){if(K)break;for(ge=!1,k=0,I=ve.length;k&lt;I;k++)if(ve[k](r,oe,u,!0)){ge=!0;break}if(ge){r.lineMax=oe,0!==r.blkIndent&amp;&amp;(ae.push(r.bMarks[oe]),se.push(r.bsCount[oe]),de.push(r.tShift[oe]),pe.push(r.sCount[oe]),r.sCount[oe]-=r.blkIndent);break}ae.push(r.bMarks[oe]),se.push(r.bsCount[oe]),de.push(r.tShift[oe]),pe.push(r.sCount[oe]),r.sCount[oe]=-1}else{for(E=ie=r.sCount[oe]+1,32===r.src.charCodeAt(Pe)?(Pe++,E++,ie++,w=!1,he=!0):9===r.src.charCodeAt(Pe)?(he=!0,(r.bsCount[oe]+ie)%4==3?(Pe++,E++,ie++,w=!1):w=!0):he=!1,ae.push(r.bMarks[oe]),r.bMarks[oe]=Pe;Pe&lt;Le&amp;&amp;(x=r.src.charCodeAt(Pe),p(x));)9===x?ie+=4-(ie+r.bsCount[oe]+(w?1:0))%4:ie++,Pe++;K=Pe&gt;=Le,se.push(r.bsCount[oe]),r.bsCount[oe]=r.sCount[oe]+1+(he?1:0),pe.push(r.sCount[oe]),r.sCount[oe]=ie-E,de.push(r.tShift[oe]),r.tShift[oe]=Pe-r.bMarks[oe]}for(ue=r.blkIndent,r.blkIndent=0,(we=r.push("blockquote_open","blockquote",1)).markup="&gt;",we.map=J=[c,0],r.md.block.tokenize(r,c,oe),(we=r.push("blockquote_close","blockquote",-1)).markup="&gt;",r.lineMax=Oe,r.parentType=le,J[1]=r.line,k=0;k&lt;de.length;k++)r.bMarks[k+c]=ae[k],r.tShift[k+c]=de[k],r.sCount[k+c]=pe[k],r.bsCount[k+c]=se[k];return r.blkIndent=ue,!0}},38768:function(r){"use strict";r.exports=function code(r,c,u){var p,y,w;if(r.sCount[c]-r.blkIndent&lt;4)return!1;for(y=p=c+1;p&lt;u;)if(r.isEmpty(p))p++;else{if(!(r.sCount[p]-r.blkIndent&gt;=4))break;y=++p}return r.line=y,(w=r.push("code_block","code",0)).content=r.getLines(c,y,4+r.blkIndent,!1)+"\n",w.map=[c,r.line],!0}},13542:function(r){"use strict";r.exports=function fence(r,c,u,p){var y,w,x,k,E,I,K,J=!1,oe=r.bMarks[c]+r.tShift[c],ie=r.eMarks[c];if(r.sCount[c]-r.blkIndent&gt;=4)return!1;if(oe+3&gt;ie)return!1;if(126!==(y=r.src.charCodeAt(oe))&amp;&amp;96!==y)return!1;if(E=oe,(w=(oe=r.skipChars(oe,y))-E)&lt;3)return!1;if(K=r.src.slice(E,oe),x=r.src.slice(oe,ie),96===y&amp;&amp;x.indexOf(String.fromCharCode(y))&gt;=0)return!1;if(p)return!0;for(k=c;!(++k&gt;=u)&amp;&amp;!((oe=E=r.bMarks[k]+r.tShift[k])&lt;(ie=r.eMarks[k])&amp;&amp;r.sCount[k]&lt;r.blkIndent);)if(r.src.charCodeAt(oe)===y&amp;&amp;!(r.sCount[k]-r.blkIndent&gt;=4||(oe=r.skipChars(oe,y))-E&lt;w||(oe=r.skipSpaces(oe))&lt;ie)){J=!0;break}return w=r.sCount[c],r.line=k+(J?1:0),(I=r.push("fence","code",0)).info=x,I.content=r.getLines(c+1,k,w,!0),I.markup=K,I.map=[c,r.line],!0}},61630:function(r,c,u){"use strict";var p=u(67022).isSpace;r.exports=function heading(r,c,u,y){var w,x,k,E,I=r.bMarks[c]+r.tShift[c],K=r.eMarks[c];if(r.sCount[c]-r.blkIndent&gt;=4)return!1;if(35!==(w=r.src.charCodeAt(I))||I&gt;=K)return!1;for(x=1,w=r.src.charCodeAt(++I);35===w&amp;&amp;I&lt;K&amp;&amp;x&lt;=6;)x++,w=r.src.charCodeAt(++I);return!(x&gt;6||I&lt;K&amp;&amp;!p(w))&amp;&amp;(y||(K=r.skipSpacesBack(K,I),(k=r.skipCharsBack(K,35,I))&gt;I&amp;&amp;p(r.src.charCodeAt(k-1))&amp;&amp;(K=k),r.line=c+1,(E=r.push("heading_open","h"+String(x),1)).markup="########".slice(0,x),E.map=[c,r.line],(E=r.push("inline","",0)).content=r.src.slice(I,K).trim(),E.map=[c,r.line],E.children=[],(E=r.push("heading_close","h"+String(x),-1)).markup="########".slice(0,x)),!0)}},35634:function(r,c,u){"use strict";var p=u(67022).isSpace;r.exports=function hr(r,c,u,y){var w,x,k,E,I=r.bMarks[c]+r.tShift[c],K=r.eMarks[c];if(r.sCount[c]-r.blkIndent&gt;=4)return!1;if(42!==(w=r.src.charCodeAt(I++))&amp;&amp;45!==w&amp;&amp;95!==w)return!1;for(x=1;I&lt;K;){if((k=r.src.charCodeAt(I++))!==w&amp;&amp;!p(k))return!1;k===w&amp;&amp;x++}return!(x&lt;3)&amp;&amp;(y||(r.line=c+1,(E=r.push("hr","hr",0)).map=[c,r.line],E.markup=Array(x+1).join(String.fromCharCode(w))),!0)}},76329:function(r,c,u){"use strict";var p=u(40813),y=u(51947).q,w=[[/^&lt;(script|pre|style|textarea)(?=(\s|&gt;|$))/i,/&lt;\/(script|pre|style|textarea)&gt;/i,!0],[/^&lt;!--/,/--&gt;/,!0],[/^&lt;\?/,/\?&gt;/,!0],[/^&lt;![A-Z]/,/&gt;/,!0],[/^&lt;!\[CDATA\[/,/\]\]&gt;/,!0],[new RegExp("^&lt;/?("+p.join("|")+")(?=(\\s|/?&gt;|$))","i"),/^$/,!0],[new RegExp(y.source+"\\s*$"),/^$/,!1]];r.exports=function html_block(r,c,u,p){var y,x,k,E,I=r.bMarks[c]+r.tShift[c],K=r.eMarks[c];if(r.sCount[c]-r.blkIndent&gt;=4)return!1;if(!r.md.options.html)return!1;if(60!==r.src.charCodeAt(I))return!1;for(E=r.src.slice(I,K),y=0;y&lt;w.length&amp;&amp;!w[y][0].test(E);y++);if(y===w.length)return!1;if(p)return w[y][2];if(x=c+1,!w[y][1].test(E))for(;x&lt;u&amp;&amp;!(r.sCount[x]&lt;r.blkIndent);x++)if(I=r.bMarks[x]+r.tShift[x],K=r.eMarks[x],E=r.src.slice(I,K),w[y][1].test(E)){0!==E.length&amp;&amp;x++;break}return r.line=x,(k=r.push("html_block","",0)).map=[c,x],k.content=r.getLines(c,x,r.blkIndent,!0),!0}},56850:function(r){"use strict";r.exports=function lheading(r,c,u){var p,y,w,x,k,E,I,K,J,oe,ie=c+1,ae=r.md.block.ruler.getRules("paragraph");if(r.sCount[c]-r.blkIndent&gt;=4)return!1;for(oe=r.parentType,r.parentType="paragraph";ie&lt;u&amp;&amp;!r.isEmpty(ie);ie++)if(!(r.sCount[ie]-r.blkIndent&gt;3)){if(r.sCount[ie]&gt;=r.blkIndent&amp;&amp;(E=r.bMarks[ie]+r.tShift[ie])&lt;(I=r.eMarks[ie])&amp;&amp;(45===(J=r.src.charCodeAt(E))||61===J)&amp;&amp;(E=r.skipChars(E,J),(E=r.skipSpaces(E))&gt;=I)){K=61===J?1:2;break}if(!(r.sCount[ie]&lt;0)){for(y=!1,w=0,x=ae.length;w&lt;x;w++)if(ae[w](r,ie,u,!0)){y=!0;break}if(y)break}}return!!K&amp;&amp;(p=r.getLines(c,ie,r.blkIndent,!1).trim(),r.line=ie+1,(k=r.push("heading_open","h"+String(K),1)).markup=String.fromCharCode(J),k.map=[c,r.line],(k=r.push("inline","",0)).content=p,k.map=[c,r.line-1],k.children=[],(k=r.push("heading_close","h"+String(K),-1)).markup=String.fromCharCode(J),r.parentType=oe,!0)}},18532:function(r,c,u){"use strict";var p=u(67022).isSpace;function skipBulletListMarker(r,c){var u,y,w,x;return y=r.bMarks[c]+r.tShift[c],w=r.eMarks[c],42!==(u=r.src.charCodeAt(y++))&amp;&amp;45!==u&amp;&amp;43!==u||y&lt;w&amp;&amp;(x=r.src.charCodeAt(y),!p(x))?-1:y}function skipOrderedListMarker(r,c){var u,y=r.bMarks[c]+r.tShift[c],w=y,x=r.eMarks[c];if(w+1&gt;=x)return-1;if((u=r.src.charCodeAt(w++))&lt;48||u&gt;57)return-1;for(;;){if(w&gt;=x)return-1;if(!((u=r.src.charCodeAt(w++))&gt;=48&amp;&amp;u&lt;=57)){if(41===u||46===u)break;return-1}if(w-y&gt;=10)return-1}return w&lt;x&amp;&amp;(u=r.src.charCodeAt(w),!p(u))?-1:w}r.exports=function list(r,c,u,p){var y,w,x,k,E,I,K,J,oe,ie,ae,se,ue,le,pe,de,he,ge,ve,we,Se,Oe,Pe,Le,Ie,je,De,Ue,Fe=!1,Ze=!0;if(r.sCount[c]-r.blkIndent&gt;=4)return!1;if(r.listIndent&gt;=0&amp;&amp;r.sCount[c]-r.listIndent&gt;=4&amp;&amp;r.sCount[c]&lt;r.blkIndent)return!1;if(p&amp;&amp;"paragraph"===r.parentType&amp;&amp;r.sCount[c]&gt;=r.blkIndent&amp;&amp;(Fe=!0),(Pe=skipOrderedListMarker(r,c))&gt;=0){if(K=!0,Ie=r.bMarks[c]+r.tShift[c],ue=Number(r.src.slice(Ie,Pe-1)),Fe&amp;&amp;1!==ue)return!1}else{if(!((Pe=skipBulletListMarker(r,c))&gt;=0))return!1;K=!1}if(Fe&amp;&amp;r.skipSpaces(Pe)&gt;=r.eMarks[c])return!1;if(se=r.src.charCodeAt(Pe-1),p)return!0;for(ae=r.tokens.length,K?(Ue=r.push("ordered_list_open","ol",1),1!==ue&amp;&amp;(Ue.attrs=[["start",ue]])):Ue=r.push("bullet_list_open","ul",1),Ue.map=ie=[c,0],Ue.markup=String.fromCharCode(se),pe=c,Le=!1,De=r.md.block.ruler.getRules("list"),ge=r.parentType,r.parentType="list";pe&lt;u;){for(Oe=Pe,le=r.eMarks[pe],I=de=r.sCount[pe]+Pe-(r.bMarks[c]+r.tShift[c]);Oe&lt;le;){if(9===(y=r.src.charCodeAt(Oe)))de+=4-(de+r.bsCount[pe])%4;else{if(32!==y)break;de++}Oe++}if((E=(w=Oe)&gt;=le?1:de-I)&gt;4&amp;&amp;(E=1),k=I+E,(Ue=r.push("list_item_open","li",1)).markup=String.fromCharCode(se),Ue.map=J=[c,0],K&amp;&amp;(Ue.info=r.src.slice(Ie,Pe-1)),Se=r.tight,we=r.tShift[c],ve=r.sCount[c],he=r.listIndent,r.listIndent=r.blkIndent,r.blkIndent=k,r.tight=!0,r.tShift[c]=w-r.bMarks[c],r.sCount[c]=de,w&gt;=le&amp;&amp;r.isEmpty(c+1)?r.line=Math.min(r.line+2,u):r.md.block.tokenize(r,c,u,!0),r.tight&amp;&amp;!Le||(Ze=!1),Le=r.line-c&gt;1&amp;&amp;r.isEmpty(r.line-1),r.blkIndent=r.listIndent,r.listIndent=he,r.tShift[c]=we,r.sCount[c]=ve,r.tight=Se,(Ue=r.push("list_item_close","li",-1)).markup=String.fromCharCode(se),pe=c=r.line,J[1]=pe,w=r.bMarks[c],pe&gt;=u)break;if(r.sCount[pe]&lt;r.blkIndent)break;if(r.sCount[c]-r.blkIndent&gt;=4)break;for(je=!1,x=0,oe=De.length;x&lt;oe;x++)if(De[x](r,pe,u,!0)){je=!0;break}if(je)break;if(K){if((Pe=skipOrderedListMarker(r,pe))&lt;0)break;Ie=r.bMarks[pe]+r.tShift[pe]}else if((Pe=skipBulletListMarker(r,pe))&lt;0)break;if(se!==r.src.charCodeAt(Pe-1))break}return(Ue=K?r.push("ordered_list_close","ol",-1):r.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(se),ie[1]=pe,r.line=pe,r.parentType=ge,Ze&amp;&amp;function markTightParagraphs(r,c){var u,p,y=r.level+2;for(u=c+2,p=r.tokens.length-2;u&lt;p;u++)r.tokens[u].level===y&amp;&amp;"paragraph_open"===r.tokens[u].type&amp;&amp;(r.tokens[u+2].hidden=!0,r.tokens[u].hidden=!0,u+=2)}(r,ae),!0}},96864:function(r){"use strict";r.exports=function paragraph(r,c){var u,p,y,w,x,k,E=c+1,I=r.md.block.ruler.getRules("paragraph"),K=r.lineMax;for(k=r.parentType,r.parentType="paragraph";E&lt;K&amp;&amp;!r.isEmpty(E);E++)if(!(r.sCount[E]-r.blkIndent&gt;3||r.sCount[E]&lt;0)){for(p=!1,y=0,w=I.length;y&lt;w;y++)if(I[y](r,E,K,!0)){p=!0;break}if(p)break}return u=r.getLines(c,E,r.blkIndent,!1).trim(),r.line=E,(x=r.push("paragraph_open","p",1)).map=[c,r.line],(x=r.push("inline","",0)).content=u,x.map=[c,r.line],x.children=[],x=r.push("paragraph_close","p",-1),r.parentType=k,!0}},43804:function(r,c,u){"use strict";var p=u(67022).normalizeReference,y=u(67022).isSpace;r.exports=function reference(r,c,u,w){var x,k,E,I,K,J,oe,ie,ae,se,ue,le,pe,de,he,ge,ve=0,we=r.bMarks[c]+r.tShift[c],Se=r.eMarks[c],Oe=c+1;if(r.sCount[c]-r.blkIndent&gt;=4)return!1;if(91!==r.src.charCodeAt(we))return!1;for(;++we&lt;Se;)if(93===r.src.charCodeAt(we)&amp;&amp;92!==r.src.charCodeAt(we-1)){if(we+1===Se)return!1;if(58!==r.src.charCodeAt(we+1))return!1;break}for(I=r.lineMax,he=r.md.block.ruler.getRules("reference"),se=r.parentType,r.parentType="reference";Oe&lt;I&amp;&amp;!r.isEmpty(Oe);Oe++)if(!(r.sCount[Oe]-r.blkIndent&gt;3||r.sCount[Oe]&lt;0)){for(de=!1,J=0,oe=he.length;J&lt;oe;J++)if(he[J](r,Oe,I,!0)){de=!0;break}if(de)break}for(Se=(pe=r.getLines(c,Oe,r.blkIndent,!1).trim()).length,we=1;we&lt;Se;we++){if(91===(x=pe.charCodeAt(we)))return!1;if(93===x){ae=we;break}(10===x||92===x&amp;&amp;++we&lt;Se&amp;&amp;10===pe.charCodeAt(we))&amp;&amp;ve++}if(ae&lt;0||58!==pe.charCodeAt(ae+1))return!1;for(we=ae+2;we&lt;Se;we++)if(10===(x=pe.charCodeAt(we)))ve++;else if(!y(x))break;if(!(ue=r.md.helpers.parseLinkDestination(pe,we,Se)).ok)return!1;if(K=r.md.normalizeLink(ue.str),!r.md.validateLink(K))return!1;for(k=we=ue.pos,E=ve+=ue.lines,le=we;we&lt;Se;we++)if(10===(x=pe.charCodeAt(we)))ve++;else if(!y(x))break;for(ue=r.md.helpers.parseLinkTitle(pe,we,Se),we&lt;Se&amp;&amp;le!==we&amp;&amp;ue.ok?(ge=ue.str,we=ue.pos,ve+=ue.lines):(ge="",we=k,ve=E);we&lt;Se&amp;&amp;(x=pe.charCodeAt(we),y(x));)we++;if(we&lt;Se&amp;&amp;10!==pe.charCodeAt(we)&amp;&amp;ge)for(ge="",we=k,ve=E;we&lt;Se&amp;&amp;(x=pe.charCodeAt(we),y(x));)we++;return!(we&lt;Se&amp;&amp;10!==pe.charCodeAt(we))&amp;&amp;(!!(ie=p(pe.slice(1,ae)))&amp;&amp;(w||(void 0===r.env.references&amp;&amp;(r.env.references={}),void 0===r.env.references[ie]&amp;&amp;(r.env.references[ie]={title:ge,href:K}),r.parentType=se,r.line=c+ve+1),!0))}},62948:function(r,c,u){"use strict";var p=u(75872),y=u(67022).isSpace;function StateBlock(r,c,u,p){var w,x,k,E,I,K,J,oe;for(this.src=r,this.md=c,this.env=u,this.tokens=p,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",oe=!1,k=E=K=J=0,I=(x=this.src).length;E&lt;I;E++){if(w=x.charCodeAt(E),!oe){if(y(w)){K++,9===w?J+=4-J%4:J++;continue}oe=!0}10!==w&amp;&amp;E!==I-1||(10!==w&amp;&amp;E++,this.bMarks.push(k),this.eMarks.push(E),this.tShift.push(K),this.sCount.push(J),this.bsCount.push(0),oe=!1,K=0,J=0,k=E+1)}this.bMarks.push(x.length),this.eMarks.push(x.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}StateBlock.prototype.push=function(r,c,u){var y=new p(r,c,u);return y.block=!0,u&lt;0&amp;&amp;this.level--,y.level=this.level,u&gt;0&amp;&amp;this.level++,this.tokens.push(y),y},StateBlock.prototype.isEmpty=function isEmpty(r){return this.bMarks[r]+this.tShift[r]&gt;=this.eMarks[r]},StateBlock.prototype.skipEmptyLines=function skipEmptyLines(r){for(var c=this.lineMax;r&lt;c&amp;&amp;!(this.bMarks[r]+this.tShift[r]&lt;this.eMarks[r]);r++);return r},StateBlock.prototype.skipSpaces=function skipSpaces(r){for(var c,u=this.src.length;r&lt;u&amp;&amp;(c=this.src.charCodeAt(r),y(c));r++);return r},StateBlock.prototype.skipSpacesBack=function skipSpacesBack(r,c){if(r&lt;=c)return r;for(;r&gt;c;)if(!y(this.src.charCodeAt(--r)))return r+1;return r},StateBlock.prototype.skipChars=function skipChars(r,c){for(var u=this.src.length;r&lt;u&amp;&amp;this.src.charCodeAt(r)===c;r++);return r},StateBlock.prototype.skipCharsBack=function skipCharsBack(r,c,u){if(r&lt;=u)return r;for(;r&gt;u;)if(c!==this.src.charCodeAt(--r))return r+1;return r},StateBlock.prototype.getLines=function getLines(r,c,u,p){var w,x,k,E,I,K,J,oe=r;if(r&gt;=c)return"";for(K=new Array(c-r),w=0;oe&lt;c;oe++,w++){for(x=0,J=E=this.bMarks[oe],I=oe+1&lt;c||p?this.eMarks[oe]+1:this.eMarks[oe];E&lt;I&amp;&amp;x&lt;u;){if(k=this.src.charCodeAt(E),y(k))9===k?x+=4-(x+this.bsCount[oe])%4:x++;else{if(!(E-J&lt;this.tShift[oe]))break;x++}E++}K[w]=x&gt;u?new Array(x-u+1).join(" ")+this.src.slice(E,I):this.src.slice(E,I)}return K.join("")},StateBlock.prototype.Token=p,r.exports=StateBlock},91785:function(r,c,u){"use strict";var p=u(67022).isSpace;function getLine(r,c){var u=r.bMarks[c]+r.tShift[c],p=r.eMarks[c];return r.src.substr(u,p-u)}function escapedSplit(r){var c,u=[],p=0,y=r.length,w=!1,x=0,k="";for(c=r.charCodeAt(p);p&lt;y;)124===c&amp;&amp;(w?(k+=r.substring(x,p-1),x=p):(u.push(k+r.substring(x,p)),k="",x=p+1)),w=92===c,p++,c=r.charCodeAt(p);return u.push(k+r.substring(x)),u}r.exports=function table(r,c,u,y){var w,x,k,E,I,K,J,oe,ie,ae,se,ue,le,pe,de,he,ge,ve;if(c+2&gt;u)return!1;if(K=c+1,r.sCount[K]&lt;r.blkIndent)return!1;if(r.sCount[K]-r.blkIndent&gt;=4)return!1;if((k=r.bMarks[K]+r.tShift[K])&gt;=r.eMarks[K])return!1;if(124!==(ge=r.src.charCodeAt(k++))&amp;&amp;45!==ge&amp;&amp;58!==ge)return!1;if(k&gt;=r.eMarks[K])return!1;if(124!==(ve=r.src.charCodeAt(k++))&amp;&amp;45!==ve&amp;&amp;58!==ve&amp;&amp;!p(ve))return!1;if(45===ge&amp;&amp;p(ve))return!1;for(;k&lt;r.eMarks[K];){if(124!==(w=r.src.charCodeAt(k))&amp;&amp;45!==w&amp;&amp;58!==w&amp;&amp;!p(w))return!1;k++}for(J=(x=getLine(r,c+1)).split("|"),ae=[],E=0;E&lt;J.length;E++){if(!(se=J[E].trim())){if(0===E||E===J.length-1)continue;return!1}if(!/^:?-+:?$/.test(se))return!1;58===se.charCodeAt(se.length-1)?ae.push(58===se.charCodeAt(0)?"center":"right"):58===se.charCodeAt(0)?ae.push("left"):ae.push("")}if(-1===(x=getLine(r,c).trim()).indexOf("|"))return!1;if(r.sCount[c]-r.blkIndent&gt;=4)return!1;if((J=escapedSplit(x)).length&amp;&amp;""===J[0]&amp;&amp;J.shift(),J.length&amp;&amp;""===J[J.length-1]&amp;&amp;J.pop(),0===(oe=J.length)||oe!==ae.length)return!1;if(y)return!0;for(pe=r.parentType,r.parentType="table",he=r.md.block.ruler.getRules("blockquote"),(ie=r.push("table_open","table",1)).map=ue=[c,0],(ie=r.push("thead_open","thead",1)).map=[c,c+1],(ie=r.push("tr_open","tr",1)).map=[c,c+1],E=0;E&lt;J.length;E++)ie=r.push("th_open","th",1),ae[E]&amp;&amp;(ie.attrs=[["style","text-align:"+ae[E]]]),(ie=r.push("inline","",0)).content=J[E].trim(),ie.children=[],ie=r.push("th_close","th",-1);for(ie=r.push("tr_close","tr",-1),ie=r.push("thead_close","thead",-1),K=c+2;K&lt;u&amp;&amp;!(r.sCount[K]&lt;r.blkIndent);K++){for(de=!1,E=0,I=he.length;E&lt;I;E++)if(he[E](r,K,u,!0)){de=!0;break}if(de)break;if(!(x=getLine(r,K).trim()))break;if(r.sCount[K]-r.blkIndent&gt;=4)break;for((J=escapedSplit(x)).length&amp;&amp;""===J[0]&amp;&amp;J.shift(),J.length&amp;&amp;""===J[J.length-1]&amp;&amp;J.pop(),K===c+2&amp;&amp;((ie=r.push("tbody_open","tbody",1)).map=le=[c+2,0]),(ie=r.push("tr_open","tr",1)).map=[K,K+1],E=0;E&lt;oe;E++)ie=r.push("td_open","td",1),ae[E]&amp;&amp;(ie.attrs=[["style","text-align:"+ae[E]]]),(ie=r.push("inline","",0)).content=J[E]?J[E].trim():"",ie.children=[],ie=r.push("td_close","td",-1);ie=r.push("tr_close","tr",-1)}return le&amp;&amp;(ie=r.push("tbody_close","tbody",-1),le[1]=K),ie=r.push("table_close","table",-1),ue[1]=K,r.parentType=pe,r.line=K,!0}},20898:function(r){"use strict";r.exports=function block(r){var c;r.inlineMode?((c=new r.Token("inline","",0)).content=r.src,c.map=[0,1],c.children=[],r.tokens.push(c)):r.md.block.parse(r.src,r.md,r.env,r.tokens)}},79827:function(r){"use strict";r.exports=function inline(r){var c,u,p,y=r.tokens;for(u=0,p=y.length;u&lt;p;u++)"inline"===(c=y[u]).type&amp;&amp;r.md.inline.parse(c.content,r.md,r.env,c.children)}},17830:function(r,c,u){"use strict";var p=u(67022).arrayReplaceAt;function isLinkClose(r){return/^&lt;\/a\s*&gt;/i.test(r)}r.exports=function linkify(r){var c,u,y,w,x,k,E,I,K,J,oe,ie,ae,se,ue,le,pe,de,he=r.tokens;if(r.md.options.linkify)for(u=0,y=he.length;u&lt;y;u++)if("inline"===he[u].type&amp;&amp;r.md.linkify.pretest(he[u].content))for(ae=0,c=(w=he[u].children).length-1;c&gt;=0;c--)if("link_close"!==(k=w[c]).type){if("html_inline"===k.type&amp;&amp;(de=k.content,/^&lt;a[&gt;\s]/i.test(de)&amp;&amp;ae&gt;0&amp;&amp;ae--,isLinkClose(k.content)&amp;&amp;ae++),!(ae&gt;0)&amp;&amp;"text"===k.type&amp;&amp;r.md.linkify.test(k.content)){for(K=k.content,pe=r.md.linkify.match(K),E=[],ie=k.level,oe=0,I=0;I&lt;pe.length;I++)se=pe[I].url,ue=r.md.normalizeLink(se),r.md.validateLink(ue)&amp;&amp;(le=pe[I].text,le=pe[I].schema?"mailto:"!==pe[I].schema||/^mailto:/i.test(le)?r.md.normalizeLinkText(le):r.md.normalizeLinkText("mailto:"+le).replace(/^mailto:/,""):r.md.normalizeLinkText("http://"+le).replace(/^http:\/\//,""),(J=pe[I].index)&gt;oe&amp;&amp;((x=new r.Token("text","",0)).content=K.slice(oe,J),x.level=ie,E.push(x)),(x=new r.Token("link_open","a",1)).attrs=[["href",ue]],x.level=ie++,x.markup="linkify",x.info="auto",E.push(x),(x=new r.Token("text","",0)).content=le,x.level=ie,E.push(x),(x=new r.Token("link_close","a",-1)).level=--ie,x.markup="linkify",x.info="auto",E.push(x),oe=pe[I].lastIndex);oe&lt;K.length&amp;&amp;((x=new r.Token("text","",0)).content=K.slice(oe),x.level=ie,E.push(x)),he[u].children=w=p(w,c,E)}}else for(c--;w[c].level!==k.level&amp;&amp;"link_open"!==w[c].type;)c--}},74129:function(r){"use strict";var c=/\r\n?|\n/g,u=/\0/g;r.exports=function normalize(r){var p;p=(p=r.src.replace(c,"\n")).replace(u,"ï¿½"),r.src=p}},2834:function(r){"use strict";var c=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,u=/\((c|tm|r|p)\)/i,p=/\((c|tm|r|p)\)/gi,y={c:"Â©",r:"Â®",p:"Â§",tm:"â„¢"};function replaceFn(r,c){return y[c.toLowerCase()]}function replace_scoped(r){var c,u,y=0;for(c=r.length-1;c&gt;=0;c--)"text"!==(u=r[c]).type||y||(u.content=u.content.replace(p,replaceFn)),"link_open"===u.type&amp;&amp;"auto"===u.info&amp;&amp;y--,"link_close"===u.type&amp;&amp;"auto"===u.info&amp;&amp;y++}function replace_rare(r){var u,p,y=0;for(u=r.length-1;u&gt;=0;u--)"text"!==(p=r[u]).type||y||c.test(p.content)&amp;&amp;(p.content=p.content.replace(/\+-/g,"Â±").replace(/\.{2,}/g,"â€¦").replace(/([?!])â€¦/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1â€”").replace(/(^|\s)--(?=\s|$)/gm,"$1â€“").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1â€“")),"link_open"===p.type&amp;&amp;"auto"===p.info&amp;&amp;y--,"link_close"===p.type&amp;&amp;"auto"===p.info&amp;&amp;y++}r.exports=function replace(r){var p;if(r.md.options.typographer)for(p=r.tokens.length-1;p&gt;=0;p--)"inline"===r.tokens[p].type&amp;&amp;(u.test(r.tokens[p].content)&amp;&amp;replace_scoped(r.tokens[p].children),c.test(r.tokens[p].content)&amp;&amp;replace_rare(r.tokens[p].children))}},58450:function(r,c,u){"use strict";var p=u(67022).isWhiteSpace,y=u(67022).isPunctChar,w=u(67022).isMdAsciiPunct,x=/['"]/,k=/['"]/g;function replaceAt(r,c,u){return r.substr(0,c)+u+r.substr(c+1)}function process_inlines(r,c){var u,x,E,I,K,J,oe,ie,ae,se,ue,le,pe,de,he,ge,ve,we,Se,Oe,Pe;for(Se=[],u=0;u&lt;r.length;u++){for(x=r[u],oe=r[u].level,ve=Se.length-1;ve&gt;=0&amp;&amp;!(Se[ve].level&lt;=oe);ve--);if(Se.length=ve+1,"text"===x.type){K=0,J=(E=x.content).length;e:for(;K&lt;J&amp;&amp;(k.lastIndex=K,I=k.exec(E));){if(he=ge=!0,K=I.index+1,we="'"===I[0],ae=32,I.index-1&gt;=0)ae=E.charCodeAt(I.index-1);else for(ve=u-1;ve&gt;=0&amp;&amp;("softbreak"!==r[ve].type&amp;&amp;"hardbreak"!==r[ve].type);ve--)if(r[ve].content){ae=r[ve].content.charCodeAt(r[ve].content.length-1);break}if(se=32,K&lt;J)se=E.charCodeAt(K);else for(ve=u+1;ve&lt;r.length&amp;&amp;("softbreak"!==r[ve].type&amp;&amp;"hardbreak"!==r[ve].type);ve++)if(r[ve].content){se=r[ve].content.charCodeAt(0);break}if(ue=w(ae)||y(String.fromCharCode(ae)),le=w(se)||y(String.fromCharCode(se)),pe=p(ae),(de=p(se))?he=!1:le&amp;&amp;(pe||ue||(he=!1)),pe?ge=!1:ue&amp;&amp;(de||le||(ge=!1)),34===se&amp;&amp;'"'===I[0]&amp;&amp;ae&gt;=48&amp;&amp;ae&lt;=57&amp;&amp;(ge=he=!1),he&amp;&amp;ge&amp;&amp;(he=ue,ge=le),he||ge){if(ge)for(ve=Se.length-1;ve&gt;=0&amp;&amp;(ie=Se[ve],!(Se[ve].level&lt;oe));ve--)if(ie.single===we&amp;&amp;Se[ve].level===oe){ie=Se[ve],we?(Oe=c.md.options.quotes[2],Pe=c.md.options.quotes[3]):(Oe=c.md.options.quotes[0],Pe=c.md.options.quotes[1]),x.content=replaceAt(x.content,I.index,Pe),r[ie.token].content=replaceAt(r[ie.token].content,ie.pos,Oe),K+=Pe.length-1,ie.token===u&amp;&amp;(K+=Oe.length-1),J=(E=x.content).length,Se.length=ve;continue e}he?Se.push({token:u,pos:I.index,single:we,level:oe}):ge&amp;&amp;we&amp;&amp;(x.content=replaceAt(x.content,I.index,"â€™"))}else we&amp;&amp;(x.content=replaceAt(x.content,I.index,"â€™"))}}}}r.exports=function smartquotes(r){var c;if(r.md.options.typographer)for(c=r.tokens.length-1;c&gt;=0;c--)"inline"===r.tokens[c].type&amp;&amp;x.test(r.tokens[c].content)&amp;&amp;process_inlines(r.tokens[c].children,r)}},16480:function(r,c,u){"use strict";var p=u(75872);function StateCore(r,c,u){this.src=r,this.env=u,this.tokens=[],this.inlineMode=!1,this.md=c}StateCore.prototype.Token=p,r.exports=StateCore},43420:function(r){"use strict";var c=/^([a-zA-Z0-9.!#$%&amp;'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,u=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^&lt;&gt;\x00-\x20]*)$/;r.exports=function autolink(r,p){var y,w,x,k,E,I,K=r.pos;if(60!==r.src.charCodeAt(K))return!1;for(E=r.pos,I=r.posMax;;){if(++K&gt;=I)return!1;if(60===(k=r.src.charCodeAt(K)))return!1;if(62===k)break}return y=r.src.slice(E+1,K),u.test(y)?(w=r.md.normalizeLink(y),!!r.md.validateLink(w)&amp;&amp;(p||((x=r.push("link_open","a",1)).attrs=[["href",w]],x.markup="autolink",x.info="auto",(x=r.push("text","",0)).content=r.md.normalizeLinkText(y),(x=r.push("link_close","a",-1)).markup="autolink",x.info="auto"),r.pos+=y.length+2,!0)):!!c.test(y)&amp;&amp;(w=r.md.normalizeLink("mailto:"+y),!!r.md.validateLink(w)&amp;&amp;(p||((x=r.push("link_open","a",1)).attrs=[["href",w]],x.markup="autolink",x.info="auto",(x=r.push("text","",0)).content=r.md.normalizeLinkText(y),(x=r.push("link_close","a",-1)).markup="autolink",x.info="auto"),r.pos+=y.length+2,!0))}},79755:function(r){"use strict";r.exports=function backtick(r,c){var u,p,y,w,x,k,E,I,K=r.pos;if(96!==r.src.charCodeAt(K))return!1;for(u=K,K++,p=r.posMax;K&lt;p&amp;&amp;96===r.src.charCodeAt(K);)K++;if(E=(y=r.src.slice(u,K)).length,r.backticksScanned&amp;&amp;(r.backticks[E]||0)&lt;=u)return c||(r.pending+=y),r.pos+=E,!0;for(x=k=K;-1!==(x=r.src.indexOf("`",k));){for(k=x+1;k&lt;p&amp;&amp;96===r.src.charCodeAt(k);)k++;if((I=k-x)===E)return c||((w=r.push("code_inline","code",0)).markup=y,w.content=r.src.slice(K,x).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),r.pos=k,!0;r.backticks[I]=x}return r.backticksScanned=!0,c||(r.pending+=y),r.pos+=E,!0}},89354:function(r){"use strict";function processDelimiters(r,c){var u,p,y,w,x,k,E,I,K={},J=c.length;if(J){var oe=0,ie=-2,ae=[];for(u=0;u&lt;J;u++)if(y=c[u],ae.push(0),c[oe].marker===y.marker&amp;&amp;ie===y.token-1||(oe=u),ie=y.token,y.length=y.length||0,y.close){for(K.hasOwnProperty(y.marker)||(K[y.marker]=[-1,-1,-1,-1,-1,-1]),x=K[y.marker][(y.open?3:0)+y.length%3],k=p=oe-ae[oe]-1;p&gt;x;p-=ae[p]+1)if((w=c[p]).marker===y.marker&amp;&amp;w.open&amp;&amp;w.end&lt;0&amp;&amp;(E=!1,(w.close||y.open)&amp;&amp;(w.length+y.length)%3==0&amp;&amp;(w.length%3==0&amp;&amp;y.length%3==0||(E=!0)),!E)){I=p&gt;0&amp;&amp;!c[p-1].open?ae[p-1]+1:0,ae[u]=u-p+I,ae[p]=I,y.open=!1,w.end=u,w.close=!1,k=-1,ie=-2;break}-1!==k&amp;&amp;(K[y.marker][(y.open?3:0)+(y.length||0)%3]=k)}}}r.exports=function link_pairs(r){var c,u=r.tokens_meta,p=r.tokens_meta.length;for(processDelimiters(0,r.delimiters),c=0;c&lt;p;c++)u[c]&amp;&amp;u[c].delimiters&amp;&amp;processDelimiters(0,u[c].delimiters)}},97894:function(r){"use strict";function postProcess(r,c){var u,p,y,w,x,k;for(u=c.length-1;u&gt;=0;u--)95!==(p=c[u]).marker&amp;&amp;42!==p.marker||-1!==p.end&amp;&amp;(y=c[p.end],k=u&gt;0&amp;&amp;c[u-1].end===p.end+1&amp;&amp;c[u-1].marker===p.marker&amp;&amp;c[u-1].token===p.token-1&amp;&amp;c[p.end+1].token===y.token+1,x=String.fromCharCode(p.marker),(w=r.tokens[p.token]).type=k?"strong_open":"em_open",w.tag=k?"strong":"em",w.nesting=1,w.markup=k?x+x:x,w.content="",(w=r.tokens[y.token]).type=k?"strong_close":"em_close",w.tag=k?"strong":"em",w.nesting=-1,w.markup=k?x+x:x,w.content="",k&amp;&amp;(r.tokens[c[u-1].token].content="",r.tokens[c[p.end+1].token].content="",u--))}r.exports.w=function emphasis(r,c){var u,p,y=r.pos,w=r.src.charCodeAt(y);if(c)return!1;if(95!==w&amp;&amp;42!==w)return!1;for(p=r.scanDelims(r.pos,42===w),u=0;u&lt;p.length;u++)r.push("text","",0).content=String.fromCharCode(w),r.delimiters.push({marker:w,length:p.length,token:r.tokens.length-1,end:-1,open:p.can_open,close:p.can_close});return r.pos+=p.length,!0},r.exports.g=function emphasis(r){var c,u=r.tokens_meta,p=r.tokens_meta.length;for(postProcess(r,r.delimiters),c=0;c&lt;p;c++)u[c]&amp;&amp;u[c].delimiters&amp;&amp;postProcess(r,u[c].delimiters)}},99391:function(r,c,u){"use strict";var p=u(26233),y=u(67022).has,w=u(67022).isValidEntityCode,x=u(67022).fromCodePoint,k=/^&amp;#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,E=/^&amp;([a-z][a-z0-9]{1,31});/i;r.exports=function entity(r,c){var u,I,K=r.pos,J=r.posMax;if(38!==r.src.charCodeAt(K))return!1;if(K+1&lt;J)if(35===r.src.charCodeAt(K+1)){if(I=r.src.slice(K).match(k))return c||(u="x"===I[1][0].toLowerCase()?parseInt(I[1].slice(1),16):parseInt(I[1],10),r.pending+=w(u)?x(u):x(65533)),r.pos+=I[0].length,!0}else if((I=r.src.slice(K).match(E))&amp;&amp;y(p,I[1]))return c||(r.pending+=p[I[1]]),r.pos+=I[0].length,!0;return c||(r.pending+="&amp;"),r.pos++,!0}},1917:function(r,c,u){"use strict";for(var p=u(67022).isSpace,y=[],w=0;w&lt;256;w++)y.push(0);"\\!\"#$%&amp;'()*+,./:;&lt;=&gt;?@[]^_`{|}~-".split("").forEach((function(r){y[r.charCodeAt(0)]=1})),r.exports=function escape(r,c){var u,w=r.pos,x=r.posMax;if(92!==r.src.charCodeAt(w))return!1;if(++w&lt;x){if((u=r.src.charCodeAt(w))&lt;256&amp;&amp;0!==y[u])return c||(r.pending+=r.src[w]),r.pos+=2,!0;if(10===u){for(c||r.push("hardbreak","br",0),w++;w&lt;x&amp;&amp;(u=r.src.charCodeAt(w),p(u));)w++;return r.pos=w,!0}}return c||(r.pending+="\\"),r.pos++,!0}},81779:function(r,c,u){"use strict";var p=u(51947).n;r.exports=function html_inline(r,c){var u,y,w,x=r.pos;return!!r.md.options.html&amp;&amp;(w=r.posMax,!(60!==r.src.charCodeAt(x)||x+2&gt;=w)&amp;&amp;(!(33!==(u=r.src.charCodeAt(x+1))&amp;&amp;63!==u&amp;&amp;47!==u&amp;&amp;!function isLetter(r){var c=32|r;return c&gt;=97&amp;&amp;c&lt;=122}(u))&amp;&amp;(!!(y=r.src.slice(x).match(p))&amp;&amp;(c||(r.push("html_inline","",0).content=r.src.slice(x,x+y[0].length)),r.pos+=y[0].length,!0))))}},83006:function(r,c,u){"use strict";var p=u(67022).normalizeReference,y=u(67022).isSpace;r.exports=function image(r,c){var u,w,x,k,E,I,K,J,oe,ie,ae,se,ue,le="",pe=r.pos,de=r.posMax;if(33!==r.src.charCodeAt(r.pos))return!1;if(91!==r.src.charCodeAt(r.pos+1))return!1;if(I=r.pos+2,(E=r.md.helpers.parseLinkLabel(r,r.pos+1,!1))&lt;0)return!1;if((K=E+1)&lt;de&amp;&amp;40===r.src.charCodeAt(K)){for(K++;K&lt;de&amp;&amp;(w=r.src.charCodeAt(K),y(w)||10===w);K++);if(K&gt;=de)return!1;for(ue=K,(oe=r.md.helpers.parseLinkDestination(r.src,K,r.posMax)).ok&amp;&amp;(le=r.md.normalizeLink(oe.str),r.md.validateLink(le)?K=oe.pos:le=""),ue=K;K&lt;de&amp;&amp;(w=r.src.charCodeAt(K),y(w)||10===w);K++);if(oe=r.md.helpers.parseLinkTitle(r.src,K,r.posMax),K&lt;de&amp;&amp;ue!==K&amp;&amp;oe.ok)for(ie=oe.str,K=oe.pos;K&lt;de&amp;&amp;(w=r.src.charCodeAt(K),y(w)||10===w);K++);else ie="";if(K&gt;=de||41!==r.src.charCodeAt(K))return r.pos=pe,!1;K++}else{if(void 0===r.env.references)return!1;if(K&lt;de&amp;&amp;91===r.src.charCodeAt(K)?(ue=K+1,(K=r.md.helpers.parseLinkLabel(r,K))&gt;=0?k=r.src.slice(ue,K++):K=E+1):K=E+1,k||(k=r.src.slice(I,E)),!(J=r.env.references[p(k)]))return r.pos=pe,!1;le=J.href,ie=J.title}return c||(x=r.src.slice(I,E),r.md.inline.parse(x,r.md,r.env,se=[]),(ae=r.push("image","img",0)).attrs=u=[["src",le],["alt",""]],ae.children=se,ae.content=x,ie&amp;&amp;u.push(["title",ie])),r.pos=K,r.posMax=de,!0}},81727:function(r,c,u){"use strict";var p=u(67022).normalizeReference,y=u(67022).isSpace;r.exports=function link(r,c){var u,w,x,k,E,I,K,J,oe="",ie="",ae=r.pos,se=r.posMax,ue=r.pos,le=!0;if(91!==r.src.charCodeAt(r.pos))return!1;if(E=r.pos+1,(k=r.md.helpers.parseLinkLabel(r,r.pos,!0))&lt;0)return!1;if((I=k+1)&lt;se&amp;&amp;40===r.src.charCodeAt(I)){for(le=!1,I++;I&lt;se&amp;&amp;(w=r.src.charCodeAt(I),y(w)||10===w);I++);if(I&gt;=se)return!1;if(ue=I,(K=r.md.helpers.parseLinkDestination(r.src,I,r.posMax)).ok){for(oe=r.md.normalizeLink(K.str),r.md.validateLink(oe)?I=K.pos:oe="",ue=I;I&lt;se&amp;&amp;(w=r.src.charCodeAt(I),y(w)||10===w);I++);if(K=r.md.helpers.parseLinkTitle(r.src,I,r.posMax),I&lt;se&amp;&amp;ue!==I&amp;&amp;K.ok)for(ie=K.str,I=K.pos;I&lt;se&amp;&amp;(w=r.src.charCodeAt(I),y(w)||10===w);I++);}(I&gt;=se||41!==r.src.charCodeAt(I))&amp;&amp;(le=!0),I++}if(le){if(void 0===r.env.references)return!1;if(I&lt;se&amp;&amp;91===r.src.charCodeAt(I)?(ue=I+1,(I=r.md.helpers.parseLinkLabel(r,I))&gt;=0?x=r.src.slice(ue,I++):I=k+1):I=k+1,x||(x=r.src.slice(E,k)),!(J=r.env.references[p(x)]))return r.pos=ae,!1;oe=J.href,ie=J.title}return c||(r.pos=E,r.posMax=k,r.push("link_open","a",1).attrs=u=[["href",oe]],ie&amp;&amp;u.push(["title",ie]),r.md.inline.tokenize(r),r.push("link_close","a",-1)),r.pos=I,r.posMax=se,!0}},43905:function(r,c,u){"use strict";var p=u(67022).isSpace;r.exports=function newline(r,c){var u,y,w,x=r.pos;if(10!==r.src.charCodeAt(x))return!1;if(u=r.pending.length-1,y=r.posMax,!c)if(u&gt;=0&amp;&amp;32===r.pending.charCodeAt(u))if(u&gt;=1&amp;&amp;32===r.pending.charCodeAt(u-1)){for(w=u-1;w&gt;=1&amp;&amp;32===r.pending.charCodeAt(w-1);)w--;r.pending=r.pending.slice(0,w),r.push("hardbreak","br",0)}else r.pending=r.pending.slice(0,-1),r.push("softbreak","br",0);else r.push("softbreak","br",0);for(x++;x&lt;y&amp;&amp;p(r.src.charCodeAt(x));)x++;return r.pos=x,!0}},50670:function(r,c,u){"use strict";var p=u(75872),y=u(67022).isWhiteSpace,w=u(67022).isPunctChar,x=u(67022).isMdAsciiPunct;function StateInline(r,c,u,p){this.src=r,this.env=u,this.md=c,this.tokens=p,this.tokens_meta=Array(p.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}StateInline.prototype.pushPending=function(){var r=new p("text","",0);return r.content=this.pending,r.level=this.pendingLevel,this.tokens.push(r),this.pending="",r},StateInline.prototype.push=function(r,c,u){this.pending&amp;&amp;this.pushPending();var y=new p(r,c,u),w=null;return u&lt;0&amp;&amp;(this.level--,this.delimiters=this._prev_delimiters.pop()),y.level=this.level,u&gt;0&amp;&amp;(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],w={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(y),this.tokens_meta.push(w),y},StateInline.prototype.scanDelims=function(r,c){var u,p,k,E,I,K,J,oe,ie,ae=r,se=!0,ue=!0,le=this.posMax,pe=this.src.charCodeAt(r);for(u=r&gt;0?this.src.charCodeAt(r-1):32;ae&lt;le&amp;&amp;this.src.charCodeAt(ae)===pe;)ae++;return k=ae-r,p=ae&lt;le?this.src.charCodeAt(ae):32,J=x(u)||w(String.fromCharCode(u)),ie=x(p)||w(String.fromCharCode(p)),K=y(u),(oe=y(p))?se=!1:ie&amp;&amp;(K||J||(se=!1)),K?ue=!1:J&amp;&amp;(oe||ie||(ue=!1)),c?(E=se,I=ue):(E=se&amp;&amp;(!ue||J),I=ue&amp;&amp;(!se||ie)),{can_open:E,can_close:I,length:k}},StateInline.prototype.Token=p,r.exports=StateInline},44814:function(r){"use strict";function postProcess(r,c){var u,p,y,w,x,k=[],E=c.length;for(u=0;u&lt;E;u++)126===(y=c[u]).marker&amp;&amp;-1!==y.end&amp;&amp;(w=c[y.end],(x=r.tokens[y.token]).type="s_open",x.tag="s",x.nesting=1,x.markup="~~",x.content="",(x=r.tokens[w.token]).type="s_close",x.tag="s",x.nesting=-1,x.markup="~~",x.content="","text"===r.tokens[w.token-1].type&amp;&amp;"~"===r.tokens[w.token-1].content&amp;&amp;k.push(w.token-1));for(;k.length;){for(p=(u=k.pop())+1;p&lt;r.tokens.length&amp;&amp;"s_close"===r.tokens[p].type;)p++;u!==--p&amp;&amp;(x=r.tokens[p],r.tokens[p]=r.tokens[u],r.tokens[u]=x)}}r.exports.w=function strikethrough(r,c){var u,p,y,w,x=r.pos,k=r.src.charCodeAt(x);if(c)return!1;if(126!==k)return!1;if(y=(p=r.scanDelims(r.pos,!0)).length,w=String.fromCharCode(k),y&lt;2)return!1;for(y%2&amp;&amp;(r.push("text","",0).content=w,y--),u=0;u&lt;y;u+=2)r.push("text","",0).content=w+w,r.delimiters.push({marker:k,length:0,token:r.tokens.length-1,end:-1,open:p.can_open,close:p.can_close});return r.pos+=p.length,!0},r.exports.g=function strikethrough(r){var c,u=r.tokens_meta,p=r.tokens_meta.length;for(postProcess(r,r.delimiters),c=0;c&lt;p;c++)u[c]&amp;&amp;u[c].delimiters&amp;&amp;postProcess(r,u[c].delimiters)}},39941:function(r){"use strict";function isTerminatorChar(r){switch(r){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}r.exports=function text(r,c){for(var u=r.pos;u&lt;r.posMax&amp;&amp;!isTerminatorChar(r.src.charCodeAt(u));)u++;return u!==r.pos&amp;&amp;(c||(r.pending+=r.src.slice(r.pos,u)),r.pos=u,!0)}},28996:function(r){"use strict";r.exports=function text_collapse(r){var c,u,p=0,y=r.tokens,w=r.tokens.length;for(c=u=0;c&lt;w;c++)y[c].nesting&lt;0&amp;&amp;p--,y[c].level=p,y[c].nesting&gt;0&amp;&amp;p++,"text"===y[c].type&amp;&amp;c+1&lt;w&amp;&amp;"text"===y[c+1].type?y[c+1].content=y[c].content+y[c+1].content:(c!==u&amp;&amp;(y[u]=y[c]),u++);c!==u&amp;&amp;(y.length=u)}},75872:function(r){"use strict";function Token(r,c,u){this.type=r,this.tag=c,this.attrs=null,this.map=null,this.nesting=u,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Token.prototype.attrIndex=function attrIndex(r){var c,u,p;if(!this.attrs)return-1;for(u=0,p=(c=this.attrs).length;u&lt;p;u++)if(c[u][0]===r)return u;return-1},Token.prototype.attrPush=function attrPush(r){this.attrs?this.attrs.push(r):this.attrs=[r]},Token.prototype.attrSet=function attrSet(r,c){var u=this.attrIndex(r),p=[r,c];u&lt;0?this.attrPush(p):this.attrs[u]=p},Token.prototype.attrGet=function attrGet(r){var c=this.attrIndex(r),u=null;return c&gt;=0&amp;&amp;(u=this.attrs[c][1]),u},Token.prototype.attrJoin=function attrJoin(r,c){var u=this.attrIndex(r);u&lt;0?this.attrPush([r,c]):this.attrs[u][1]=this.attrs[u][1]+" "+c},r.exports=Token},83122:function(r){"use strict";var c={};function decode(r,u){var p;return"string"!=typeof u&amp;&amp;(u=decode.defaultChars),p=function getDecodeCache(r){var u,p,y=c[r];if(y)return y;for(y=c[r]=[],u=0;u&lt;128;u++)p=String.fromCharCode(u),y.push(p);for(u=0;u&lt;r.length;u++)y[p=r.charCodeAt(u)]="%"+("0"+p.toString(16).toUpperCase()).slice(-2);return y}(u),r.replace(/(%[a-f0-9]{2})+/gi,(function(r){var c,u,y,w,x,k,E,I="";for(c=0,u=r.length;c&lt;u;c+=3)(y=parseInt(r.slice(c+1,c+3),16))&lt;128?I+=p[y]:192==(224&amp;y)&amp;&amp;c+3&lt;u&amp;&amp;128==(192&amp;(w=parseInt(r.slice(c+4,c+6),16)))?(I+=(E=y&lt;&lt;6&amp;1984|63&amp;w)&lt;128?"ï¿½ï¿½":String.fromCharCode(E),c+=3):224==(240&amp;y)&amp;&amp;c+6&lt;u&amp;&amp;(w=parseInt(r.slice(c+4,c+6),16),x=parseInt(r.slice(c+7,c+9),16),128==(192&amp;w)&amp;&amp;128==(192&amp;x))?(I+=(E=y&lt;&lt;12&amp;61440|w&lt;&lt;6&amp;4032|63&amp;x)&lt;2048||E&gt;=55296&amp;&amp;E&lt;=57343?"ï¿½ï¿½ï¿½":String.fromCharCode(E),c+=6):240==(248&amp;y)&amp;&amp;c+9&lt;u&amp;&amp;(w=parseInt(r.slice(c+4,c+6),16),x=parseInt(r.slice(c+7,c+9),16),k=parseInt(r.slice(c+10,c+12),16),128==(192&amp;w)&amp;&amp;128==(192&amp;x)&amp;&amp;128==(192&amp;k))?((E=y&lt;&lt;18&amp;1835008|w&lt;&lt;12&amp;258048|x&lt;&lt;6&amp;4032|63&amp;k)&lt;65536||E&gt;1114111?I+="ï¿½ï¿½ï¿½ï¿½":(E-=65536,I+=String.fromCharCode(55296+(E&gt;&gt;10),56320+(1023&amp;E))),c+=9):I+="ï¿½";return I}))}decode.defaultChars=";/?:@&amp;=+$,#",decode.componentChars="",r.exports=decode},70729:function(r){"use strict";var c={};function encode(r,u,p){var y,w,x,k,E,I="";for("string"!=typeof u&amp;&amp;(p=u,u=encode.defaultChars),void 0===p&amp;&amp;(p=!0),E=function getEncodeCache(r){var u,p,y=c[r];if(y)return y;for(y=c[r]=[],u=0;u&lt;128;u++)p=String.fromCharCode(u),/^[0-9a-z]$/i.test(p)?y.push(p):y.push("%"+("0"+u.toString(16).toUpperCase()).slice(-2));for(u=0;u&lt;r.length;u++)y[r.charCodeAt(u)]=r[u];return y}(u),y=0,w=r.length;y&lt;w;y++)if(x=r.charCodeAt(y),p&amp;&amp;37===x&amp;&amp;y+2&lt;w&amp;&amp;/^[0-9a-f]{2}$/i.test(r.slice(y+1,y+3)))I+=r.slice(y,y+3),y+=2;else if(x&lt;128)I+=E[x];else if(x&gt;=55296&amp;&amp;x&lt;=57343){if(x&gt;=55296&amp;&amp;x&lt;=56319&amp;&amp;y+1&lt;w&amp;&amp;(k=r.charCodeAt(y+1))&gt;=56320&amp;&amp;k&lt;=57343){I+=encodeURIComponent(r[y]+r[y+1]),y++;continue}I+="%EF%BF%BD"}else I+=encodeURIComponent(r[y]);return I}encode.defaultChars=";/?:@&amp;=+$,-_.!~*'()#",encode.componentChars="-_.!~*'()",r.exports=encode},2201:function(r){"use strict";r.exports=function format(r){var c="";return c+=r.protocol||"",c+=r.slashes?"//":"",c+=r.auth?r.auth+"@":"",r.hostname&amp;&amp;-1!==r.hostname.indexOf(":")?c+="["+r.hostname+"]":c+=r.hostname||"",c+=r.port?":"+r.port:"",c+=r.pathname||"",c+=r.search||"",c+=r.hash||""}},48765:function(r,c,u){"use strict";r.exports.encode=u(70729),r.exports.decode=u(83122),r.exports.format=u(2201),r.exports.parse=u(9553)},9553:function(r){"use strict";function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var c=/^([a-z0-9.+-]+:)/i,u=/:[0-9]*$/,p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,y=["{","}","|","\\","^","`"].concat(["&lt;","&gt;",'"',"`"," ","\r","\n","\t"]),w=["'"].concat(y),x=["%","/","?",";","#"].concat(w),k=["/","?","#"],E=/^[+a-z0-9A-Z_-]{0,63}$/,I=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,K={javascript:!0,"javascript:":!0},J={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};Url.prototype.parse=function(r,u){var y,w,oe,ie,ae,se=r;if(se=se.trim(),!u&amp;&amp;1===r.split("#").length){var ue=p.exec(se);if(ue)return this.pathname=ue[1],ue[2]&amp;&amp;(this.search=ue[2]),this}var le=c.exec(se);if(le&amp;&amp;(oe=(le=le[0]).toLowerCase(),this.protocol=le,se=se.substr(le.length)),(u||le||se.match(/^\/\/[^@\/]+@[^@\/]+/))&amp;&amp;(!(ae="//"===se.substr(0,2))||le&amp;&amp;K[le]||(se=se.substr(2),this.slashes=!0)),!K[le]&amp;&amp;(ae||le&amp;&amp;!J[le])){var pe,de,he=-1;for(y=0;y&lt;k.length;y++)-1!==(ie=se.indexOf(k[y]))&amp;&amp;(-1===he||ie&lt;he)&amp;&amp;(he=ie);for(-1!==(de=-1===he?se.lastIndexOf("@"):se.lastIndexOf("@",he))&amp;&amp;(pe=se.slice(0,de),se=se.slice(de+1),this.auth=pe),he=-1,y=0;y&lt;x.length;y++)-1!==(ie=se.indexOf(x[y]))&amp;&amp;(-1===he||ie&lt;he)&amp;&amp;(he=ie);-1===he&amp;&amp;(he=se.length),":"===se[he-1]&amp;&amp;he--;var ge=se.slice(0,he);se=se.slice(he),this.parseHost(ge),this.hostname=this.hostname||"";var ve="["===this.hostname[0]&amp;&amp;"]"===this.hostname[this.hostname.length-1];if(!ve){var we=this.hostname.split(/\./);for(y=0,w=we.length;y&lt;w;y++){var Se=we[y];if(Se&amp;&amp;!Se.match(E)){for(var Oe="",Pe=0,Le=Se.length;Pe&lt;Le;Pe++)Se.charCodeAt(Pe)&gt;127?Oe+="x":Oe+=Se[Pe];if(!Oe.match(E)){var Ie=we.slice(0,y),je=we.slice(y+1),De=Se.match(I);De&amp;&amp;(Ie.push(De[1]),je.unshift(De[2])),je.length&amp;&amp;(se=je.join(".")+se),this.hostname=Ie.join(".");break}}}}this.hostname.length&gt;255&amp;&amp;(this.hostname=""),ve&amp;&amp;(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var Ue=se.indexOf("#");-1!==Ue&amp;&amp;(this.hash=se.substr(Ue),se=se.slice(0,Ue));var Fe=se.indexOf("?");return-1!==Fe&amp;&amp;(this.search=se.substr(Fe),se=se.slice(0,Fe)),se&amp;&amp;(this.pathname=se),J[oe]&amp;&amp;this.hostname&amp;&amp;!this.pathname&amp;&amp;(this.pathname=""),this},Url.prototype.parseHost=function(r){var c=u.exec(r);c&amp;&amp;(":"!==(c=c[0])&amp;&amp;(this.port=c.substr(1)),r=r.substr(0,r.length-c.length)),r&amp;&amp;(this.hostname=r)},r.exports=function urlParse(r,c){if(r&amp;&amp;r instanceof Url)return r;var u=new Url;return u.parse(r,c),u}},27418:function(r){"use strict";var c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;r.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de","5"===Object.getOwnPropertyNames(r)[0])return!1;for(var c={},u=0;u&lt;10;u++)c["_"+String.fromCharCode(u)]=u;if("0123456789"!==Object.getOwnPropertyNames(c).map((function(r){return c[r]})).join(""))return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach((function(r){p[r]=r})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},p)).join("")}catch(r){return!1}}()?Object.assign:function(r,y){for(var w,x,k=function toObject(r){if(null==r)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}(r),E=1;E&lt;arguments.length;E++){for(var I in w=Object(arguments[E]))u.call(w,I)&amp;&amp;(k[I]=w[I]);if(c){x=c(w);for(var K=0;K&lt;x.length;K++)p.call(w,x[K])&amp;&amp;(k[x[K]]=w[x[K]])}}return k}},31795:function(r,c,u){var p;r=u.nmd(r),function(){"use strict";var y={function:!0,object:!0},w=y[typeof window]&amp;&amp;window||this,x=y[typeof c]&amp;&amp;c,k=y.object&amp;&amp;r&amp;&amp;!r.nodeType&amp;&amp;r,E=x&amp;&amp;k&amp;&amp;"object"==typeof u.g&amp;&amp;u.g;!E||E.global!==E&amp;&amp;E.window!==E&amp;&amp;E.self!==E||(w=E);var I=Math.pow(2,53)-1,K=/\bOpera/,J=Object.prototype,oe=J.hasOwnProperty,ie=J.toString;function capitalize(r){return(r=String(r)).charAt(0).toUpperCase()+r.slice(1)}function format(r){return r=trim(r),/^(?:webOS|i(?:OS|P))/.test(r)?r:capitalize(r)}function forOwn(r,c){for(var u in r)oe.call(r,u)&amp;&amp;c(r[u],u,r)}function getClassOf(r){return null==r?capitalize(r):ie.call(r).slice(8,-1)}function qualify(r){return String(r).replace(/([ -])(?!$)/g,"$1?")}function reduce(r,c){var u=null;return function each(r,c){var u=-1,p=r?r.length:0;if("number"==typeof p&amp;&amp;p&gt;-1&amp;&amp;p&lt;=I)for(;++u&lt;p;)c(r[u],u,r);else forOwn(r,c)}(r,(function(p,y){u=c(u,p,y,r)})),u}function trim(r){return String(r).replace(/^ +| +$/g,"")}var ae=function parse(r){var c=w,u=r&amp;&amp;"object"==typeof r&amp;&amp;"String"!=getClassOf(r);u&amp;&amp;(c=r,r=null);var p=c.navigator||{},y=p.userAgent||"";r||(r=y);var x,k,E=u?!!p.likeChrome:/\bChrome\b/.test(r)&amp;&amp;!/internal|\n/i.test(ie.toString()),I="Object",J=u?I:"ScriptBridgingProxyObject",oe=u?I:"Environment",ae=u&amp;&amp;c.java?"JavaPackage":getClassOf(c.java),se=u?I:"RuntimeObject",ue=/\bJava/.test(ae)&amp;&amp;c.java,le=ue&amp;&amp;getClassOf(c.environment)==oe,pe=ue?"a":"Î±",de=ue?"b":"Î²",he=c.document||{},ge=c.operamini||c.opera,ve=K.test(ve=u&amp;&amp;ge?ge["[[Class]]"]:getClassOf(ge))?ve:ge=null,we=r,Se=[],Oe=null,Pe=r==y,Le=Pe&amp;&amp;ge&amp;&amp;"function"==typeof ge.version&amp;&amp;ge.version(),Ie=function getLayout(c){return reduce(c,(function(c,u){return c||RegExp("\\b"+(u.pattern||qualify(u))+"\\b","i").exec(r)&amp;&amp;(u.label||u)}))}([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),je=function getName(c){return reduce(c,(function(c,u){return c||RegExp("\\b"+(u.pattern||qualify(u))+"\\b","i").exec(r)&amp;&amp;(u.label||u)}))}(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),De=getProduct([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),Ue=function getManufacturer(c){return reduce(c,(function(c,u,p){return c||(u[De]||u[/^[a-z]+(?: +[a-z]+\b)*/i.exec(De)]||RegExp("\\b"+qualify(p)+"(?:\\b|\\w*\\d)","i").exec(r))&amp;&amp;p}))}({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes &amp; Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}}),Fe=function getOS(c){return reduce(c,(function(c,u){var p=u.pattern||qualify(u);return!c&amp;&amp;(c=RegExp("\\b"+p+"(?:/[\\d.]+|[ \\w.]*)","i").exec(r))&amp;&amp;(c=function cleanupOS(r,c,u){var p={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return c&amp;&amp;u&amp;&amp;/^Win/i.test(r)&amp;&amp;!/^Windows Phone /i.test(r)&amp;&amp;(p=p[/[\d.]+$/.exec(r)])&amp;&amp;(r="Windows "+p),r=String(r),c&amp;&amp;u&amp;&amp;(r=r.replace(RegExp(c,"i"),u)),format(r.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}(c,p,u.label||u)),c}))}(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function getProduct(c){return reduce(c,(function(c,u){var p=u.pattern||qualify(u);return!c&amp;&amp;(c=RegExp("\\b"+p+" *\\d+[.\\w_]*","i").exec(r)||RegExp("\\b"+p+" *\\w+-[\\w]*","i").exec(r)||RegExp("\\b"+p+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(r))&amp;&amp;((c=String(u.label&amp;&amp;!RegExp(p,"i").test(u.label)?u.label:c).split("/"))[1]&amp;&amp;!/[\d.]+/.test(c[0])&amp;&amp;(c[0]+=" "+c[1]),u=u.label||u,c=format(c[0].replace(RegExp(p,"i"),u).replace(RegExp("; *(?:"+u+"[_-])?","i")," ").replace(RegExp("("+u+")[-_.]?(\\w)","i"),"$1 $2"))),c}))}function getVersion(c){return reduce(c,(function(c,u){return c||(RegExp(u+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(r)||0)[1]||null}))}if(Ie&amp;&amp;(Ie=[Ie]),/\bAndroid\b/.test(Fe)&amp;&amp;!De&amp;&amp;(x=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(r))&amp;&amp;(De=trim(x[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Ue&amp;&amp;!De?De=getProduct([Ue]):Ue&amp;&amp;De&amp;&amp;(De=De.replace(RegExp("^("+qualify(Ue)+")[-_.\\s]","i"),Ue+" ").replace(RegExp("^("+qualify(Ue)+")[-_.]?(\\w)","i"),Ue+" $2")),(x=/\bGoogle TV\b/.exec(De))&amp;&amp;(De=x[0]),/\bSimulator\b/i.test(r)&amp;&amp;(De=(De?De+" ":"")+"Simulator"),"Opera Mini"==je&amp;&amp;/\bOPiOS\b/.test(r)&amp;&amp;Se.push("running in Turbo/Uncompressed mode"),"IE"==je&amp;&amp;/\blike iPhone OS\b/.test(r)?(Ue=(x=parse(r.replace(/like iPhone OS/,""))).manufacturer,De=x.product):/^iP/.test(De)?(je||(je="Safari"),Fe="iOS"+((x=/ OS ([\d_]+)/i.exec(r))?" "+x[1].replace(/_/g,"."):"")):"Konqueror"==je&amp;&amp;/^Linux\b/i.test(Fe)?Fe="Kubuntu":Ue&amp;&amp;"Google"!=Ue&amp;&amp;(/Chrome/.test(je)&amp;&amp;!/\bMobile Safari\b/i.test(r)||/\bVita\b/.test(De))||/\bAndroid\b/.test(Fe)&amp;&amp;/^Chrome/.test(je)&amp;&amp;/\bVersion\//i.test(r)?(je="Android Browser",Fe=/\bAndroid\b/.test(Fe)?Fe:"Android"):"Silk"==je?(/\bMobi/i.test(r)||(Fe="Android",Se.unshift("desktop mode")),/Accelerated *= *true/i.test(r)&amp;&amp;Se.unshift("accelerated")):"UC Browser"==je&amp;&amp;/\bUCWEB\b/.test(r)?Se.push("speed mode"):"PaleMoon"==je&amp;&amp;(x=/\bFirefox\/([\d.]+)\b/.exec(r))?Se.push("identifying as Firefox "+x[1]):"Firefox"==je&amp;&amp;(x=/\b(Mobile|Tablet|TV)\b/i.exec(r))?(Fe||(Fe="Firefox OS"),De||(De=x[1])):!je||(x=!/\bMinefield\b/i.test(r)&amp;&amp;/\b(?:Firefox|Safari)\b/.exec(je))?(je&amp;&amp;!De&amp;&amp;/[\/,]|^[^(]+?\)/.test(r.slice(r.indexOf(x+"/")+8))&amp;&amp;(je=null),(x=De||Ue||Fe)&amp;&amp;(De||Ue||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Fe))&amp;&amp;(je=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Fe)?Fe:x)+" Browser")):"Electron"==je&amp;&amp;(x=(/\bChrome\/([\d.]+)\b/.exec(r)||0)[1])&amp;&amp;Se.push("Chromium "+x),Le||(Le=getVersion(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",qualify(je),"(?:Firefox|Minefield|NetFront)"])),(x=("iCab"==Ie&amp;&amp;parseFloat(Le)&gt;3?"WebKit":/\bOpera\b/.test(je)&amp;&amp;(/\bOPR\b/.test(r)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(r)&amp;&amp;!/^(?:Trident|EdgeHTML)$/.test(Ie)&amp;&amp;"WebKit"||!Ie&amp;&amp;/\bMSIE\b/i.test(r)&amp;&amp;("Mac OS"==Fe?"Tasman":"Trident")||"WebKit"==Ie&amp;&amp;/\bPlayStation\b(?! Vita\b)/i.test(je)&amp;&amp;"NetFront")&amp;&amp;(Ie=[x]),"IE"==je&amp;&amp;(x=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(r)||0)[1])?(je+=" Mobile",Fe="Windows Phone "+(/\+$/.test(x)?x:x+".x"),Se.unshift("desktop mode")):/\bWPDesktop\b/i.test(r)?(je="IE Mobile",Fe="Windows Phone 8.x",Se.unshift("desktop mode"),Le||(Le=(/\brv:([\d.]+)/.exec(r)||0)[1])):"IE"!=je&amp;&amp;"Trident"==Ie&amp;&amp;(x=/\brv:([\d.]+)/.exec(r))&amp;&amp;(je&amp;&amp;Se.push("identifying as "+je+(Le?" "+Le:"")),je="IE",Le=x[1]),Pe){if(function isHostType(r,c){var u=null!=r?typeof r[c]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(u)||"object"==u&amp;&amp;!r[c])}(c,"global"))if(ue&amp;&amp;(we=(x=ue.lang.System).getProperty("os.arch"),Fe=Fe||x.getProperty("os.name")+" "+x.getProperty("os.version")),le){try{Le=c.require("ringo/engine").version.join("."),je="RingoJS"}catch(r){(x=c.system)&amp;&amp;x.global.system==c.system&amp;&amp;(je="Narwhal",Fe||(Fe=x[0].os||null))}je||(je="Rhino")}else"object"==typeof c.process&amp;&amp;!c.process.browser&amp;&amp;(x=c.process)&amp;&amp;("object"==typeof x.versions&amp;&amp;("string"==typeof x.versions.electron?(Se.push("Node "+x.versions.node),je="Electron",Le=x.versions.electron):"string"==typeof x.versions.nw&amp;&amp;(Se.push("Chromium "+Le,"Node "+x.versions.node),je="NW.js",Le=x.versions.nw)),je||(je="Node.js",we=x.arch,Fe=x.platform,Le=(Le=/[\d.]+/.exec(x.version))?Le[0]:null));else getClassOf(x=c.runtime)==J?(je="Adobe AIR",Fe=x.flash.system.Capabilities.os):getClassOf(x=c.phantom)==se?(je="PhantomJS",Le=(x=x.version||null)&amp;&amp;x.major+"."+x.minor+"."+x.patch):"number"==typeof he.documentMode&amp;&amp;(x=/\bTrident\/(\d+)/i.exec(r))?(Le=[Le,he.documentMode],(x=+x[1]+4)!=Le[1]&amp;&amp;(Se.push("IE "+Le[1]+" mode"),Ie&amp;&amp;(Ie[1]=""),Le[1]=x),Le="IE"==je?String(Le[1].toFixed(1)):Le[0]):"number"==typeof he.documentMode&amp;&amp;/^(?:Chrome|Firefox)\b/.test(je)&amp;&amp;(Se.push("masking as "+je+" "+Le),je="IE",Le="11.0",Ie=["Trident"],Fe="Windows");Fe=Fe&amp;&amp;format(Fe)}if(Le&amp;&amp;(x=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(Le)||/(?:alpha|beta)(?: ?\d)?/i.exec(r+";"+(Pe&amp;&amp;p.appMinorVersion))||/\bMinefield\b/i.test(r)&amp;&amp;"a")&amp;&amp;(Oe=/b/i.test(x)?"beta":"alpha",Le=Le.replace(RegExp(x+"\\+?$"),"")+("beta"==Oe?de:pe)+(/\d+\+?/.exec(x)||"")),"Fennec"==je||"Firefox"==je&amp;&amp;/\b(?:Android|Firefox OS|KaiOS)\b/.test(Fe))je="Firefox Mobile";else if("Maxthon"==je&amp;&amp;Le)Le=Le.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(De))"Xbox 360"==De&amp;&amp;(Fe=null),"Xbox 360"==De&amp;&amp;/\bIEMobile\b/.test(r)&amp;&amp;Se.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(je)&amp;&amp;(!je||De||/Browser|Mobi/.test(je))||"Windows CE"!=Fe&amp;&amp;!/Mobi/i.test(r))if("IE"==je&amp;&amp;Pe)try{null===c.external&amp;&amp;Se.unshift("platform preview")}catch(r){Se.unshift("embedded")}else(/\bBlackBerry\b/.test(De)||/\bBB10\b/.test(r))&amp;&amp;(x=(RegExp(De.replace(/ +/g," *")+"/([.\\d]+)","i").exec(r)||0)[1]||Le)?(Fe=((x=[x,/BB10/.test(r)])[1]?(De=null,Ue="BlackBerry"):"Device Software")+" "+x[0],Le=null):this!=forOwn&amp;&amp;"Wii"!=De&amp;&amp;(Pe&amp;&amp;ge||/Opera/.test(je)&amp;&amp;/\b(?:MSIE|Firefox)\b/i.test(r)||"Firefox"==je&amp;&amp;/\bOS X (?:\d+\.){2,}/.test(Fe)||"IE"==je&amp;&amp;(Fe&amp;&amp;!/^Win/.test(Fe)&amp;&amp;Le&gt;5.5||/\bWindows XP\b/.test(Fe)&amp;&amp;Le&gt;8||8==Le&amp;&amp;!/\bTrident\b/.test(r)))&amp;&amp;!K.test(x=parse.call(forOwn,r.replace(K,"")+";"))&amp;&amp;x.name&amp;&amp;(x="ing as "+x.name+((x=x.version)?" "+x:""),K.test(je)?(/\bIE\b/.test(x)&amp;&amp;"Mac OS"==Fe&amp;&amp;(Fe=null),x="identify"+x):(x="mask"+x,je=ve?format(ve.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(x)&amp;&amp;(Fe=null),Pe||(Le=null)),Ie=["Presto"],Se.push(x));else je+=" Mobile";(x=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(r)||0)[1])&amp;&amp;(x=[parseFloat(x.replace(/\.(\d)$/,".0$1")),x],"Safari"==je&amp;&amp;"+"==x[1].slice(-1)?(je="WebKit Nightly",Oe="alpha",Le=x[1].slice(0,-1)):Le!=x[1]&amp;&amp;Le!=(x[2]=(/\bSafari\/([\d.]+\+?)/i.exec(r)||0)[1])||(Le=null),x[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(r)||0)[1],537.36==x[0]&amp;&amp;537.36==x[2]&amp;&amp;parseFloat(x[1])&gt;=28&amp;&amp;"WebKit"==Ie&amp;&amp;(Ie=["Blink"]),Pe&amp;&amp;(E||x[1])?(Ie&amp;&amp;(Ie[1]="like Chrome"),x=x[1]||((x=x[0])&lt;530?1:x&lt;532?2:x&lt;532.05?3:x&lt;533?4:x&lt;534.03?5:x&lt;534.07?6:x&lt;534.1?7:x&lt;534.13?8:x&lt;534.16?9:x&lt;534.24?10:x&lt;534.3?11:x&lt;535.01?12:x&lt;535.02?"13+":x&lt;535.07?15:x&lt;535.11?16:x&lt;535.19?17:x&lt;536.05?18:x&lt;536.1?19:x&lt;537.01?20:x&lt;537.11?"21+":x&lt;537.13?23:x&lt;537.18?24:x&lt;537.24?25:x&lt;537.36?26:"Blink"!=Ie?"27":"28")):(Ie&amp;&amp;(Ie[1]="like Safari"),x=(x=x[0])&lt;400?1:x&lt;500?2:x&lt;526?3:x&lt;533?4:x&lt;534?"4+":x&lt;535?5:x&lt;537?6:x&lt;538?7:x&lt;601?8:x&lt;602?9:x&lt;604?10:x&lt;606?11:x&lt;608?12:"12"),Ie&amp;&amp;(Ie[1]+=" "+(x+="number"==typeof x?".x":/[.+]/.test(x)?"":"+")),"Safari"==je&amp;&amp;(!Le||parseInt(Le)&gt;45)?Le=x:"Chrome"==je&amp;&amp;/\bHeadlessChrome/i.test(r)&amp;&amp;Se.unshift("headless")),"Opera"==je&amp;&amp;(x=/\bzbov|zvav$/.exec(Fe))?(je+=" ",Se.unshift("desktop mode"),"zvav"==x?(je+="Mini",Le=null):je+="Mobile",Fe=Fe.replace(RegExp(" *"+x+"$"),"")):"Safari"==je&amp;&amp;/\bChrome\b/.exec(Ie&amp;&amp;Ie[1])?(Se.unshift("desktop mode"),je="Chrome Mobile",Le=null,/\bOS X\b/.test(Fe)?(Ue="Apple",Fe="iOS 4.3+"):Fe=null):/\bSRWare Iron\b/.test(je)&amp;&amp;!Le&amp;&amp;(Le=getVersion("Chrome")),Le&amp;&amp;0==Le.indexOf(x=/[\d.]+$/.exec(Fe))&amp;&amp;r.indexOf("/"+x+"-")&gt;-1&amp;&amp;(Fe=trim(Fe.replace(x,""))),Fe&amp;&amp;-1!=Fe.indexOf(je)&amp;&amp;!RegExp(je+" OS").test(Fe)&amp;&amp;(Fe=Fe.replace(RegExp(" *"+qualify(je)+" *"),"")),Ie&amp;&amp;!/\b(?:Avant|Nook)\b/.test(je)&amp;&amp;(/Browser|Lunascape|Maxthon/.test(je)||"Safari"!=je&amp;&amp;/^iOS/.test(Fe)&amp;&amp;/\bSafari\b/.test(Ie[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(je)&amp;&amp;Ie[1])&amp;&amp;(x=Ie[Ie.length-1])&amp;&amp;Se.push(x),Se.length&amp;&amp;(Se=["("+Se.join("; ")+")"]),Ue&amp;&amp;De&amp;&amp;De.indexOf(Ue)&lt;0&amp;&amp;Se.push("on "+Ue),De&amp;&amp;Se.push((/^on /.test(Se[Se.length-1])?"":"on ")+De),Fe&amp;&amp;(x=/ ([\d.+]+)$/.exec(Fe),k=x&amp;&amp;"/"==Fe.charAt(Fe.length-x[0].length-1),Fe={architecture:32,family:x&amp;&amp;!k?Fe.replace(x[0],""):Fe,version:x?x[1]:null,toString:function(){var r=this.version;return this.family+(r&amp;&amp;!k?" "+r:"")+(64==this.architecture?" 64-bit":"")}}),(x=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(we))&amp;&amp;!/\bi686\b/i.test(we)?(Fe&amp;&amp;(Fe.architecture=64,Fe.family=Fe.family.replace(RegExp(" *"+x),"")),je&amp;&amp;(/\bWOW64\b/i.test(r)||Pe&amp;&amp;/\w(?:86|32)$/.test(p.cpuClass||p.platform)&amp;&amp;!/\bWin64; x64\b/i.test(r))&amp;&amp;Se.unshift("32-bit")):Fe&amp;&amp;/^OS X/.test(Fe.family)&amp;&amp;"Chrome"==je&amp;&amp;parseFloat(Le)&gt;=39&amp;&amp;(Fe.architecture=64),r||(r=null);var Ze={};return Ze.description=r,Ze.layout=Ie&amp;&amp;Ie[0],Ze.manufacturer=Ue,Ze.name=je,Ze.prerelease=Oe,Ze.product=De,Ze.ua=r,Ze.version=je&amp;&amp;Le,Ze.os=Fe||{architecture:null,family:null,version:null,toString:function(){return"null"}},Ze.parse=parse,Ze.toString=function toStringPlatform(){return this.description||""},Ze.version&amp;&amp;Se.unshift(Le),Ze.name&amp;&amp;Se.unshift(je),Fe&amp;&amp;je&amp;&amp;(Fe!=String(Fe).split(" ")[0]||Fe!=je.split(" ")[0]&amp;&amp;!De)&amp;&amp;Se.push(De?"("+Fe+")":"on "+Fe),Se.length&amp;&amp;(Ze.description=Se.join(" ")),Ze}();w.platform=ae,void 0===(p=function(){return ae}.call(c,u,c,r))||(r.exports=p)}.call(this)},92703:function(r,c,u){"use strict";var p=u(50414);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,r.exports=function(){function shim(r,c,u,y,w,x){if(x!==p){var k=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw k.name="Invariant Violation",k}}function getShim(){return shim}shim.isRequired=shim;var r={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return r.PropTypes=r,r}},45697:function(r,c,u){r.exports=u(92703)()},50414:function(r){"use strict";r.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},62100:function(r,c,u){"use strict";r.exports=u(89482)},89482:function(r,c,u){"use strict";var p=c;function configure(){p.util._configure(),p.Writer._configure(p.BufferWriter),p.Reader._configure(p.BufferReader)}p.build="minimal",p.Writer=u(41173),p.BufferWriter=u(43155),p.Reader=u(51408),p.BufferReader=u(50593),p.util=u(99693),p.rpc=u(35994),p.roots=u(85054),p.configure=configure,configure()},51408:function(r,c,u){"use strict";r.exports=Reader;var p,y=u(99693),w=y.LongBits,x=y.utf8;function indexOutOfRange(r,c){return RangeError("index out of range: "+r.pos+" + "+(c||1)+" &gt; "+r.len)}function Reader(r){this.buf=r,this.pos=0,this.len=r.length}var k="undefined"!=typeof Uint8Array?function create_typed_array(r){if(r instanceof Uint8Array||Array.isArray(r))return new Reader(r);throw Error("illegal buffer")}:function create_array(r){if(Array.isArray(r))return new Reader(r);throw Error("illegal buffer")},E=function create(){return y.Buffer?function create_buffer_setup(r){return(Reader.create=function create_buffer(r){return y.Buffer.isBuffer(r)?new p(r):k(r)})(r)}:k};function readLongVarint(){var r=new w(0,0),c=0;if(!(this.len-this.pos&gt;4)){for(;c&lt;3;++c){if(this.pos&gt;=this.len)throw indexOutOfRange(this);if(r.lo=(r.lo|(127&amp;this.buf[this.pos])&lt;&lt;7*c)&gt;&gt;&gt;0,this.buf[this.pos++]&lt;128)return r}return r.lo=(r.lo|(127&amp;this.buf[this.pos++])&lt;&lt;7*c)&gt;&gt;&gt;0,r}for(;c&lt;4;++c)if(r.lo=(r.lo|(127&amp;this.buf[this.pos])&lt;&lt;7*c)&gt;&gt;&gt;0,this.buf[this.pos++]&lt;128)return r;if(r.lo=(r.lo|(127&amp;this.buf[this.pos])&lt;&lt;28)&gt;&gt;&gt;0,r.hi=(r.hi|(127&amp;this.buf[this.pos])&gt;&gt;4)&gt;&gt;&gt;0,this.buf[this.pos++]&lt;128)return r;if(c=0,this.len-this.pos&gt;4){for(;c&lt;5;++c)if(r.hi=(r.hi|(127&amp;this.buf[this.pos])&lt;&lt;7*c+3)&gt;&gt;&gt;0,this.buf[this.pos++]&lt;128)return r}else for(;c&lt;5;++c){if(this.pos&gt;=this.len)throw indexOutOfRange(this);if(r.hi=(r.hi|(127&amp;this.buf[this.pos])&lt;&lt;7*c+3)&gt;&gt;&gt;0,this.buf[this.pos++]&lt;128)return r}throw Error("invalid varint encoding")}function readFixed32_end(r,c){return(r[c-4]|r[c-3]&lt;&lt;8|r[c-2]&lt;&lt;16|r[c-1]&lt;&lt;24)&gt;&gt;&gt;0}function readFixed64(){if(this.pos+8&gt;this.len)throw indexOutOfRange(this,8);return new w(readFixed32_end(this.buf,this.pos+=4),readFixed32_end(this.buf,this.pos+=4))}Reader.create=E(),Reader.prototype._slice=y.Array.prototype.subarray||y.Array.prototype.slice,Reader.prototype.uint32=function read_uint32_setup(){var r=4294967295;return function read_uint32(){if(r=(127&amp;this.buf[this.pos])&gt;&gt;&gt;0,this.buf[this.pos++]&lt;128)return r;if(r=(r|(127&amp;this.buf[this.pos])&lt;&lt;7)&gt;&gt;&gt;0,this.buf[this.pos++]&lt;128)return r;if(r=(r|(127&amp;this.buf[this.pos])&lt;&lt;14)&gt;&gt;&gt;0,this.buf[this.pos++]&lt;128)return r;if(r=(r|(127&amp;this.buf[this.pos])&lt;&lt;21)&gt;&gt;&gt;0,this.buf[this.pos++]&lt;128)return r;if(r=(r|(15&amp;this.buf[this.pos])&lt;&lt;28)&gt;&gt;&gt;0,this.buf[this.pos++]&lt;128)return r;if((this.pos+=5)&gt;this.len)throw this.pos=this.len,indexOutOfRange(this,10);return r}}(),Reader.prototype.int32=function read_int32(){return 0|this.uint32()},Reader.prototype.sint32=function read_sint32(){var r=this.uint32();return r&gt;&gt;&gt;1^-(1&amp;r)|0},Reader.prototype.bool=function read_bool(){return 0!==this.uint32()},Reader.prototype.fixed32=function read_fixed32(){if(this.pos+4&gt;this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)},Reader.prototype.sfixed32=function read_sfixed32(){if(this.pos+4&gt;this.len)throw indexOutOfRange(this,4);return 0|readFixed32_end(this.buf,this.pos+=4)},Reader.prototype.float=function read_float(){if(this.pos+4&gt;this.len)throw indexOutOfRange(this,4);var r=y.float.readFloatLE(this.buf,this.pos);return this.pos+=4,r},Reader.prototype.double=function read_double(){if(this.pos+8&gt;this.len)throw indexOutOfRange(this,4);var r=y.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,r},Reader.prototype.bytes=function read_bytes(){var r=this.uint32(),c=this.pos,u=this.pos+r;if(u&gt;this.len)throw indexOutOfRange(this,r);if(this.pos+=r,Array.isArray(this.buf))return this.buf.slice(c,u);if(c===u){var p=y.Buffer;return p?p.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,c,u)},Reader.prototype.string=function read_string(){var r=this.bytes();return x.read(r,0,r.length)},Reader.prototype.skip=function skip(r){if("number"==typeof r){if(this.pos+r&gt;this.len)throw indexOutOfRange(this,r);this.pos+=r}else do{if(this.pos&gt;=this.len)throw indexOutOfRange(this)}while(128&amp;this.buf[this.pos++]);return this},Reader.prototype.skipType=function(r){switch(r){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(r=7&amp;this.uint32());)this.skipType(r);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+r+" at offset "+this.pos)}return this},Reader._configure=function(r){p=r,Reader.create=E(),p._configure();var c=y.Long?"toLong":"toNumber";y.merge(Reader.prototype,{int64:function read_int64(){return readLongVarint.call(this)[c](!1)},uint64:function read_uint64(){return readLongVarint.call(this)[c](!0)},sint64:function read_sint64(){return readLongVarint.call(this).zzDecode()[c](!1)},fixed64:function read_fixed64(){return readFixed64.call(this)[c](!0)},sfixed64:function read_sfixed64(){return readFixed64.call(this)[c](!1)}})}},50593:function(r,c,u){"use strict";r.exports=BufferReader;var p=u(51408);(BufferReader.prototype=Object.create(p.prototype)).constructor=BufferReader;var y=u(99693);function BufferReader(r){p.call(this,r)}BufferReader._configure=function(){y.Buffer&amp;&amp;(BufferReader.prototype._slice=y.Buffer.prototype.slice)},BufferReader.prototype.string=function read_string_buffer(){var r=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+r,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+r,this.len))},BufferReader._configure()},85054:function(r){"use strict";r.exports={}},35994:function(r,c,u){"use strict";c.Service=u(77948)},77948:function(r,c,u){"use strict";r.exports=Service;var p=u(99693);function Service(r,c,u){if("function"!=typeof r)throw TypeError("rpcImpl must be a function");p.EventEmitter.call(this),this.rpcImpl=r,this.requestDelimited=Boolean(c),this.responseDelimited=Boolean(u)}(Service.prototype=Object.create(p.EventEmitter.prototype)).constructor=Service,Service.prototype.rpcCall=function rpcCall(r,c,u,y,w){if(!y)throw TypeError("request must be specified");var x=this;if(!w)return p.asPromise(rpcCall,x,r,c,u,y);if(x.rpcImpl)try{return x.rpcImpl(r,c[x.requestDelimited?"encodeDelimited":"encode"](y).finish(),(function rpcCallback(c,p){if(c)return x.emit("error",c,r),w(c);if(null!==p){if(!(p instanceof u))try{p=u[x.responseDelimited?"decodeDelimited":"decode"](p)}catch(c){return x.emit("error",c,r),w(c)}return x.emit("data",p,r),w(null,p)}x.end(!0)}))}catch(c){return x.emit("error",c,r),void setTimeout((function(){w(c)}),0)}else setTimeout((function(){w(Error("already ended"))}),0)},Service.prototype.end=function end(r){return this.rpcImpl&amp;&amp;(r||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},1945:function(r,c,u){"use strict";r.exports=LongBits;var p=u(99693);function LongBits(r,c){this.lo=r&gt;&gt;&gt;0,this.hi=c&gt;&gt;&gt;0}var y=LongBits.zero=new LongBits(0,0);y.toNumber=function(){return 0},y.zzEncode=y.zzDecode=function(){return this},y.length=function(){return 1};var w=LongBits.zeroHash="\0\0\0\0\0\0\0\0";LongBits.fromNumber=function fromNumber(r){if(0===r)return y;var c=r&lt;0;c&amp;&amp;(r=-r);var u=r&gt;&gt;&gt;0,p=(r-u)/4294967296&gt;&gt;&gt;0;return c&amp;&amp;(p=~p&gt;&gt;&gt;0,u=~u&gt;&gt;&gt;0,++u&gt;4294967295&amp;&amp;(u=0,++p&gt;4294967295&amp;&amp;(p=0))),new LongBits(u,p)},LongBits.from=function from(r){if("number"==typeof r)return LongBits.fromNumber(r);if(p.isString(r)){if(!p.Long)return LongBits.fromNumber(parseInt(r,10));r=p.Long.fromString(r)}return r.low||r.high?new LongBits(r.low&gt;&gt;&gt;0,r.high&gt;&gt;&gt;0):y},LongBits.prototype.toNumber=function toNumber(r){if(!r&amp;&amp;this.hi&gt;&gt;&gt;31){var c=1+~this.lo&gt;&gt;&gt;0,u=~this.hi&gt;&gt;&gt;0;return c||(u=u+1&gt;&gt;&gt;0),-(c+4294967296*u)}return this.lo+4294967296*this.hi},LongBits.prototype.toLong=function toLong(r){return p.Long?new p.Long(0|this.lo,0|this.hi,Boolean(r)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(r)}};var x=String.prototype.charCodeAt;LongBits.fromHash=function fromHash(r){return r===w?y:new LongBits((x.call(r,0)|x.call(r,1)&lt;&lt;8|x.call(r,2)&lt;&lt;16|x.call(r,3)&lt;&lt;24)&gt;&gt;&gt;0,(x.call(r,4)|x.call(r,5)&lt;&lt;8|x.call(r,6)&lt;&lt;16|x.call(r,7)&lt;&lt;24)&gt;&gt;&gt;0)},LongBits.prototype.toHash=function toHash(){return String.fromCharCode(255&amp;this.lo,this.lo&gt;&gt;&gt;8&amp;255,this.lo&gt;&gt;&gt;16&amp;255,this.lo&gt;&gt;&gt;24,255&amp;this.hi,this.hi&gt;&gt;&gt;8&amp;255,this.hi&gt;&gt;&gt;16&amp;255,this.hi&gt;&gt;&gt;24)},LongBits.prototype.zzEncode=function zzEncode(){var r=this.hi&gt;&gt;31;return this.hi=((this.hi&lt;&lt;1|this.lo&gt;&gt;&gt;31)^r)&gt;&gt;&gt;0,this.lo=(this.lo&lt;&lt;1^r)&gt;&gt;&gt;0,this},LongBits.prototype.zzDecode=function zzDecode(){var r=-(1&amp;this.lo);return this.lo=((this.lo&gt;&gt;&gt;1|this.hi&lt;&lt;31)^r)&gt;&gt;&gt;0,this.hi=(this.hi&gt;&gt;&gt;1^r)&gt;&gt;&gt;0,this},LongBits.prototype.length=function length(){var r=this.lo,c=(this.lo&gt;&gt;&gt;28|this.hi&lt;&lt;4)&gt;&gt;&gt;0,u=this.hi&gt;&gt;&gt;24;return 0===u?0===c?r&lt;16384?r&lt;128?1:2:r&lt;2097152?3:4:c&lt;16384?c&lt;128?5:6:c&lt;2097152?7:8:u&lt;128?9:10}},99693:function(r,c,u){"use strict";var p=c;function merge(r,c,u){for(var p=Object.keys(c),y=0;y&lt;p.length;++y)void 0!==r[p[y]]&amp;&amp;u||(r[p[y]]=c[p[y]]);return r}function newError(r){function CustomError(r,c){if(!(this instanceof CustomError))return new CustomError(r,c);Object.defineProperty(this,"message",{get:function(){return r}}),Error.captureStackTrace?Error.captureStackTrace(this,CustomError):Object.defineProperty(this,"stack",{value:(new Error).stack||""}),c&amp;&amp;merge(this,c)}return CustomError.prototype=Object.create(Error.prototype,{constructor:{value:CustomError,writable:!0,enumerable:!1,configurable:!0},name:{get:function get(){return r},set:void 0,enumerable:!1,configurable:!0},toString:{value:function value(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),CustomError}p.asPromise=u(34537),p.base64=u(97419),p.EventEmitter=u(19211),p.float=u(10945),p.inquire=u(67199),p.utf8=u(94997),p.pool=u(76662),p.LongBits=u(1945),p.isNode=Boolean(void 0!==u.g&amp;&amp;u.g&amp;&amp;u.g.process&amp;&amp;u.g.process.versions&amp;&amp;u.g.process.versions.node),p.global=p.isNode&amp;&amp;u.g||"undefined"!=typeof window&amp;&amp;window||"undefined"!=typeof self&amp;&amp;self||this,p.emptyArray=Object.freeze?Object.freeze([]):[],p.emptyObject=Object.freeze?Object.freeze({}):{},p.isInteger=Number.isInteger||function isInteger(r){return"number"==typeof r&amp;&amp;isFinite(r)&amp;&amp;Math.floor(r)===r},p.isString=function isString(r){return"string"==typeof r||r instanceof String},p.isObject=function isObject(r){return r&amp;&amp;"object"==typeof r},p.isset=p.isSet=function isSet(r,c){var u=r[c];return!(null==u||!r.hasOwnProperty(c))&amp;&amp;("object"!=typeof u||(Array.isArray(u)?u.length:Object.keys(u).length)&gt;0)},p.Buffer=function(){try{var r=p.inquire("buffer").Buffer;return r.prototype.utf8Write?r:null}catch(r){return null}}(),p._Buffer_from=null,p._Buffer_allocUnsafe=null,p.newBuffer=function newBuffer(r){return"number"==typeof r?p.Buffer?p._Buffer_allocUnsafe(r):new p.Array(r):p.Buffer?p._Buffer_from(r):"undefined"==typeof Uint8Array?r:new Uint8Array(r)},p.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,p.Long=p.global.dcodeIO&amp;&amp;p.global.dcodeIO.Long||p.global.Long||p.inquire("long"),p.key2Re=/^true|false|0|1$/,p.key32Re=/^-?(?:0|[1-9][0-9]*)$/,p.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,p.longToHash=function longToHash(r){return r?p.LongBits.from(r).toHash():p.LongBits.zeroHash},p.longFromHash=function longFromHash(r,c){var u=p.LongBits.fromHash(r);return p.Long?p.Long.fromBits(u.lo,u.hi,c):u.toNumber(Boolean(c))},p.merge=merge,p.lcFirst=function lcFirst(r){return r.charAt(0).toLowerCase()+r.substring(1)},p.newError=newError,p.ProtocolError=newError("ProtocolError"),p.oneOfGetter=function getOneOf(r){for(var c={},u=0;u&lt;r.length;++u)c[r[u]]=1;return function(){for(var r=Object.keys(this),u=r.length-1;u&gt;-1;--u)if(1===c[r[u]]&amp;&amp;void 0!==this[r[u]]&amp;&amp;null!==this[r[u]])return r[u]}},p.oneOfSetter=function setOneOf(r){return function(c){for(var u=0;u&lt;r.length;++u)r[u]!==c&amp;&amp;delete this[r[u]]}},p.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},p._configure=function(){var r=p.Buffer;r?(p._Buffer_from=r.from!==Uint8Array.from&amp;&amp;r.from||function Buffer_from(c,u){return new r(c,u)},p._Buffer_allocUnsafe=r.allocUnsafe||function Buffer_allocUnsafe(c){return new r(c)}):p._Buffer_from=p._Buffer_allocUnsafe=null}},41173:function(r,c,u){"use strict";r.exports=Writer;var p,y=u(99693),w=y.LongBits,x=y.base64,k=y.utf8;function Op(r,c,u){this.fn=r,this.len=c,this.next=void 0,this.val=u}function noop(){}function State(r){this.head=r.head,this.tail=r.tail,this.len=r.len,this.next=r.states}function Writer(){this.len=0,this.head=new Op(noop,0,0),this.tail=this.head,this.states=null}var E=function create(){return y.Buffer?function create_buffer_setup(){return(Writer.create=function create_buffer(){return new p})()}:function create_array(){return new Writer}};function writeByte(r,c,u){c[u]=255&amp;r}function VarintOp(r,c){this.len=r,this.next=void 0,this.val=c}function writeVarint64(r,c,u){for(;r.hi;)c[u++]=127&amp;r.lo|128,r.lo=(r.lo&gt;&gt;&gt;7|r.hi&lt;&lt;25)&gt;&gt;&gt;0,r.hi&gt;&gt;&gt;=7;for(;r.lo&gt;127;)c[u++]=127&amp;r.lo|128,r.lo=r.lo&gt;&gt;&gt;7;c[u++]=r.lo}function writeFixed32(r,c,u){c[u]=255&amp;r,c[u+1]=r&gt;&gt;&gt;8&amp;255,c[u+2]=r&gt;&gt;&gt;16&amp;255,c[u+3]=r&gt;&gt;&gt;24}Writer.create=E(),Writer.alloc=function alloc(r){return new y.Array(r)},y.Array!==Array&amp;&amp;(Writer.alloc=y.pool(Writer.alloc,y.Array.prototype.subarray)),Writer.prototype._push=function push(r,c,u){return this.tail=this.tail.next=new Op(r,c,u),this.len+=c,this},VarintOp.prototype=Object.create(Op.prototype),VarintOp.prototype.fn=function writeVarint32(r,c,u){for(;r&gt;127;)c[u++]=127&amp;r|128,r&gt;&gt;&gt;=7;c[u]=r},Writer.prototype.uint32=function write_uint32(r){return this.len+=(this.tail=this.tail.next=new VarintOp((r&gt;&gt;&gt;=0)&lt;128?1:r&lt;16384?2:r&lt;2097152?3:r&lt;268435456?4:5,r)).len,this},Writer.prototype.int32=function write_int32(r){return r&lt;0?this._push(writeVarint64,10,w.fromNumber(r)):this.uint32(r)},Writer.prototype.sint32=function write_sint32(r){return this.uint32((r&lt;&lt;1^r&gt;&gt;31)&gt;&gt;&gt;0)},Writer.prototype.uint64=function write_uint64(r){var c=w.from(r);return this._push(writeVarint64,c.length(),c)},Writer.prototype.int64=Writer.prototype.uint64,Writer.prototype.sint64=function write_sint64(r){var c=w.from(r).zzEncode();return this._push(writeVarint64,c.length(),c)},Writer.prototype.bool=function write_bool(r){return this._push(writeByte,1,r?1:0)},Writer.prototype.fixed32=function write_fixed32(r){return this._push(writeFixed32,4,r&gt;&gt;&gt;0)},Writer.prototype.sfixed32=Writer.prototype.fixed32,Writer.prototype.fixed64=function write_fixed64(r){var c=w.from(r);return this._push(writeFixed32,4,c.lo)._push(writeFixed32,4,c.hi)},Writer.prototype.sfixed64=Writer.prototype.fixed64,Writer.prototype.float=function write_float(r){return this._push(y.float.writeFloatLE,4,r)},Writer.prototype.double=function write_double(r){return this._push(y.float.writeDoubleLE,8,r)};var I=y.Array.prototype.set?function writeBytes_set(r,c,u){c.set(r,u)}:function writeBytes_for(r,c,u){for(var p=0;p&lt;r.length;++p)c[u+p]=r[p]};Writer.prototype.bytes=function write_bytes(r){var c=r.length&gt;&gt;&gt;0;if(!c)return this._push(writeByte,1,0);if(y.isString(r)){var u=Writer.alloc(c=x.length(r));x.decode(r,u,0),r=u}return this.uint32(c)._push(I,c,r)},Writer.prototype.string=function write_string(r){var c=k.length(r);return c?this.uint32(c)._push(k.write,c,r):this._push(writeByte,1,0)},Writer.prototype.fork=function fork(){return this.states=new State(this),this.head=this.tail=new Op(noop,0,0),this.len=0,this},Writer.prototype.reset=function reset(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new Op(noop,0,0),this.len=0),this},Writer.prototype.ldelim=function ldelim(){var r=this.head,c=this.tail,u=this.len;return this.reset().uint32(u),u&amp;&amp;(this.tail.next=r.next,this.tail=c,this.len+=u),this},Writer.prototype.finish=function finish(){for(var r=this.head.next,c=this.constructor.alloc(this.len),u=0;r;)r.fn(r.val,c,u),u+=r.len,r=r.next;return c},Writer._configure=function(r){p=r,Writer.create=E(),p._configure()}},43155:function(r,c,u){"use strict";r.exports=BufferWriter;var p=u(41173);(BufferWriter.prototype=Object.create(p.prototype)).constructor=BufferWriter;var y=u(99693);function BufferWriter(){p.call(this)}function writeStringBuffer(r,c,u){r.length&lt;40?y.utf8.write(r,c,u):c.utf8Write?c.utf8Write(r,u):c.write(r,u)}BufferWriter._configure=function(){BufferWriter.alloc=y._Buffer_allocUnsafe,BufferWriter.writeBytesBuffer=y.Buffer&amp;&amp;y.Buffer.prototype instanceof Uint8Array&amp;&amp;"set"===y.Buffer.prototype.set.name?function writeBytesBuffer_set(r,c,u){c.set(r,u)}:function writeBytesBuffer_copy(r,c,u){if(r.copy)r.copy(c,u,0,r.length);else for(var p=0;p&lt;r.length;)c[u++]=r[p++]}},BufferWriter.prototype.bytes=function write_bytes_buffer(r){y.isString(r)&amp;&amp;(r=y._Buffer_from(r,"base64"));var c=r.length&gt;&gt;&gt;0;return this.uint32(c),c&amp;&amp;this._push(BufferWriter.writeBytesBuffer,c,r),this},BufferWriter.prototype.string=function write_string_buffer(r){var c=y.Buffer.byteLength(r);return this.uint32(c),c&amp;&amp;this._push(writeStringBuffer,c,r),this},BufferWriter._configure()},3689:function(r,c,u){"use strict";u.r(c),u.d(c,{decode:function(){return decode},encode:function(){return encode},toASCII:function(){return toASCII},toUnicode:function(){return toUnicode},ucs2decode:function(){return ucs2decode},ucs2encode:function(){return ucs2encode}});const p=2147483647,y=36,w=/^xn--/,x=/[^\0-\x7F]/,k=/[\x2E\u3002\uFF0E\uFF61]/g,E={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input &gt;= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=Math.floor,K=String.fromCharCode;function error(r){throw new RangeError(E[r])}function mapDomain(r,c){const u=r.split("@");let p="";u.length&gt;1&amp;&amp;(p=u[0]+"@",r=u[1]);const y=function map(r,c){const u=[];let p=r.length;for(;p--;)u[p]=c(r[p]);return u}((r=r.replace(k,".")).split("."),c).join(".");return p+y}function ucs2decode(r){const c=[];let u=0;const p=r.length;for(;u&lt;p;){const y=r.charCodeAt(u++);if(y&gt;=55296&amp;&amp;y&lt;=56319&amp;&amp;u&lt;p){const p=r.charCodeAt(u++);56320==(64512&amp;p)?c.push(((1023&amp;y)&lt;&lt;10)+(1023&amp;p)+65536):(c.push(y),u--)}else c.push(y)}return c}const ucs2encode=r=&gt;String.fromCodePoint(...r),digitToBasic=function(r,c){return r+22+75*(r&lt;26)-((0!=c)&lt;&lt;5)},adapt=function(r,c,u){let p=0;for(r=u?I(r/700):r&gt;&gt;1,r+=I(r/c);r&gt;455;p+=y)r=I(r/35);return I(p+36*r/(r+38))},decode=function(r){const c=[],u=r.length;let w=0,x=128,k=72,E=r.lastIndexOf("-");E&lt;0&amp;&amp;(E=0);for(let u=0;u&lt;E;++u)r.charCodeAt(u)&gt;=128&amp;&amp;error("not-basic"),c.push(r.charCodeAt(u));for(let J=E&gt;0?E+1:0;J&lt;u;){const E=w;for(let c=1,x=y;;x+=y){J&gt;=u&amp;&amp;error("invalid-input");const E=(K=r.charCodeAt(J++))&gt;=48&amp;&amp;K&lt;58?K-48+26:K&gt;=65&amp;&amp;K&lt;91?K-65:K&gt;=97&amp;&amp;K&lt;123?K-97:y;E&gt;=y&amp;&amp;error("invalid-input"),E&gt;I((p-w)/c)&amp;&amp;error("overflow"),w+=E*c;const oe=x&lt;=k?1:x&gt;=k+26?26:x-k;if(E&lt;oe)break;const ie=y-oe;c&gt;I(p/ie)&amp;&amp;error("overflow"),c*=ie}const oe=c.length+1;k=adapt(w-E,oe,0==E),I(w/oe)&gt;p-x&amp;&amp;error("overflow"),x+=I(w/oe),w%=oe,c.splice(w++,0,x)}var K;return String.fromCodePoint(...c)},encode=function(r){const c=[],u=(r=ucs2decode(r)).length;let w=128,x=0,k=72;for(const u of r)u&lt;128&amp;&amp;c.push(K(u));const E=c.length;let J=E;for(E&amp;&amp;c.push("-");J&lt;u;){let u=p;for(const c of r)c&gt;=w&amp;&amp;c&lt;u&amp;&amp;(u=c);const oe=J+1;u-w&gt;I((p-x)/oe)&amp;&amp;error("overflow"),x+=(u-w)*oe,w=u;for(const u of r)if(u&lt;w&amp;&amp;++x&gt;p&amp;&amp;error("overflow"),u===w){let r=x;for(let u=y;;u+=y){const p=u&lt;=k?1:u&gt;=k+26?26:u-k;if(r&lt;p)break;const w=r-p,x=y-p;c.push(K(digitToBasic(p+w%x,0))),r=I(w/x)}c.push(K(digitToBasic(r,0))),k=adapt(x,oe,J===E),x=0,++J}++x,++w}return c.join("")},toUnicode=function(r){return mapDomain(r,(function(r){return w.test(r)?decode(r.slice(4).toLowerCase()):r}))},toASCII=function(r){return mapDomain(r,(function(r){return x.test(r)?"xn--"+encode(r):r}))},J={version:"2.1.0",ucs2:{decode:ucs2decode,encode:ucs2encode},decode:decode,encode:encode,toASCII:toASCII,toUnicode:toUnicode};c.default=J},61269:function(r){"use strict";class QuickLRU{constructor(r={}){if(!(r.maxSize&amp;&amp;r.maxSize&gt;0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=r.maxSize,this.onEviction=r.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(r,c){if(this.cache.set(r,c),this._size++,this._size&gt;=this.maxSize){if(this._size=0,"function"==typeof this.onEviction)for(const[r,c]of this.oldCache.entries())this.onEviction(r,c);this.oldCache=this.cache,this.cache=new Map}}get(r){if(this.cache.has(r))return this.cache.get(r);if(this.oldCache.has(r)){const c=this.oldCache.get(r);return this.oldCache.delete(r),this._set(r,c),c}}set(r,c){return this.cache.has(r)?this.cache.set(r,c):this._set(r,c),this}has(r){return this.cache.has(r)||this.oldCache.has(r)}peek(r){return this.cache.has(r)?this.cache.get(r):this.oldCache.has(r)?this.oldCache.get(r):void 0}delete(r){const c=this.cache.delete(r);return c&amp;&amp;this._size--,this.oldCache.delete(r)||c}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}*keys(){for(const[r]of this)yield r}*values(){for(const[,r]of this)yield r}*[Symbol.iterator](){for(const r of this.cache)yield r;for(const r of this.oldCache){const[c]=r;this.cache.has(c)||(yield r)}}get size(){let r=0;for(const c of this.oldCache.keys())this.cache.has(c)||r++;return Math.min(this._size+r,this.maxSize)}}r.exports=QuickLRU},69921:function(r,c){"use strict";var u="function"==typeof Symbol&amp;&amp;Symbol.for,p=u?Symbol.for("react.element"):60103,y=u?Symbol.for("react.portal"):60106,w=u?Symbol.for("react.fragment"):60107,x=u?Symbol.for("react.strict_mode"):60108,k=u?Symbol.for("react.profiler"):60114,E=u?Symbol.for("react.provider"):60109,I=u?Symbol.for("react.context"):60110,K=u?Symbol.for("react.async_mode"):60111,J=u?Symbol.for("react.concurrent_mode"):60111,oe=u?Symbol.for("react.forward_ref"):60112,ie=u?Symbol.for("react.suspense"):60113,ae=u?Symbol.for("react.suspense_list"):60120,se=u?Symbol.for("react.memo"):60115,ue=u?Symbol.for("react.lazy"):60116,le=u?Symbol.for("react.block"):60121,pe=u?Symbol.for("react.fundamental"):60117,de=u?Symbol.for("react.responder"):60118,he=u?Symbol.for("react.scope"):60119;function z(r){if("object"==typeof r&amp;&amp;null!==r){var c=r.$$typeof;switch(c){case p:switch(r=r.type){case K:case J:case w:case k:case x:case ie:return r;default:switch(r=r&amp;&amp;r.$$typeof){case I:case oe:case ue:case se:case E:return r;default:return c}}case y:return c}}}function A(r){return z(r)===J}c.AsyncMode=K,c.ConcurrentMode=J,c.ContextConsumer=I,c.ContextProvider=E,c.Element=p,c.ForwardRef=oe,c.Fragment=w,c.Lazy=ue,c.Memo=se,c.Portal=y,c.Profiler=k,c.StrictMode=x,c.Suspense=ie,c.isAsyncMode=function(r){return A(r)||z(r)===K},c.isConcurrentMode=A,c.isContextConsumer=function(r){return z(r)===I},c.isContextProvider=function(r){return z(r)===E},c.isElement=function(r){return"object"==typeof r&amp;&amp;null!==r&amp;&amp;r.$$typeof===p},c.isForwardRef=function(r){return z(r)===oe},c.isFragment=function(r){return z(r)===w},c.isLazy=function(r){return z(r)===ue},c.isMemo=function(r){return z(r)===se},c.isPortal=function(r){return z(r)===y},c.isProfiler=function(r){return z(r)===k},c.isStrictMode=function(r){return z(r)===x},c.isSuspense=function(r){return z(r)===ie},c.isValidElementType=function(r){return"string"==typeof r||"function"==typeof r||r===w||r===J||r===k||r===x||r===ie||r===ae||"object"==typeof r&amp;&amp;null!==r&amp;&amp;(r.$$typeof===ue||r.$$typeof===se||r.$$typeof===E||r.$$typeof===I||r.$$typeof===oe||r.$$typeof===pe||r.$$typeof===de||r.$$typeof===he||r.$$typeof===le)},c.typeOf=z},59864:function(r,c,u){"use strict";r.exports=u(69921)},19470:function(r,c,u){"use strict";function make(r,c){var u=c.distance,p=c.left,w=c.right,x=c.up,E=c.down,I=c.top,K=c.bottom,J=c.big,oe=c.mirror,ie=c.opposite,ae=(u?u.toString():0)+((p?1:0)|(w?2:0)|(I||E?4:0)|(K||x?8:0)|(oe?16:0)|(ie?32:0)|(r?64:0)|(J?128:0));if(k.hasOwnProperty(ae))return k[ae];var se=p||w||x||E||I||K,ue=void 0,le=void 0;if(se){if(!oe!=!(r&amp;&amp;ie)){var pe=[w,p,K,I,E,x];p=pe[0],w=pe[1],I=pe[2],K=pe[3],x=pe[4],E=pe[5]}var de=u||(J?"2000px":"100%");ue=p?"-"+de:w?de:"0",le=E||I?"-"+de:x||K?de:"0"}return k[ae]=(0,y.animation)((r?"to":"from")+" {opacity: 0;"+(se?" transform: translate3d("+ue+", "+le+", 0);":"")+"}\n     "+(r?"from":"to")+" {opacity: 1;transform: none;} "),k[ae]}function Fade(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:y.defaults,c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1],u=r.children,p=(r.out,r.forever),x=r.timeout,k=r.duration,E=void 0===k?y.defaults.duration:k,I=r.delay,K=void 0===I?y.defaults.delay:I,J=r.count,oe=void 0===J?y.defaults.count:J,ie=function _objectWithoutProperties(r,c){var u={};for(var p in r)c.indexOf(p)&gt;=0||Object.prototype.hasOwnProperty.call(r,p)&amp;&amp;(u[p]=r[p]);return u}(r,["children","out","forever","timeout","duration","delay","count"]),ae={make:make,duration:void 0===x?E:x,delay:K,forever:p,count:oe,style:{animationFillMode:"both"},reverse:ie.left};return c?(0,w.default)(ie,ae,ae,u):ae}Object.defineProperty(c,"__esModule",{value:!0});var p=u(45697),y=u(11017),w=function _interopRequireDefault(r){return r&amp;&amp;r.__esModule?r:{default:r}}(u(42580)),x={out:p.bool,left:p.bool,right:p.bool,top:p.bool,bottom:p.bool,big:p.bool,mirror:p.bool,opposite:p.bool,duration:p.number,timeout:p.number,distance:p.string,delay:p.number,count:p.number,forever:p.bool},k={};Fade.propTypes=x,c.default=Fade,r.exports=c.default},25792:function(r,c,u){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var p="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},_slicedToArray=function(r,c){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return function e(r,c){var u=[],p=!0,y=!1,w=void 0;try{for(var x,k=r[Symbol.iterator]();!(p=(x=k.next()).done)&amp;&amp;(u.push(x.value),!c||u.length!==c);p=!0);}catch(r){y=!0,w=r}finally{try{!p&amp;&amp;k.return&amp;&amp;k.return()}finally{if(y)throw w}}return u}(r,c);throw new TypeError("Invalid attempt to destructure non-iterable instance")},y=Object.assign||function(r){for(var c=1;c&lt;arguments.length;c++){var u=arguments[c];for(var p in u)Object.prototype.hasOwnProperty.call(u,p)&amp;&amp;(r[p]=u[p])}return r},w=function(){function e(r,c){for(var u=0;u&lt;c.length;u++){var p=c[u];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&amp;&amp;(p.writable=!0),Object.defineProperty(r,p.key,p)}}return function(r,c,u){return c&amp;&amp;e(r.prototype,c),u&amp;&amp;e(r,u),r}}(),x=function _interopRequireDefault(r){return r&amp;&amp;r.__esModule?r:{default:r}}(u(67294)),k=u(45697),E=u(11017),I=(0,k.shape)({make:k.func,duration:k.number.isRequired,delay:k.number.isRequired,forever:k.bool,count:k.number.isRequired,style:k.object.isRequired,reverse:k.bool}),K={collapse:k.bool,collapseEl:k.element,cascade:k.bool,wait:k.number,force:k.bool,disabled:k.bool,appear:k.bool,enter:k.bool,exit:k.bool,fraction:k.number,refProp:k.string,innerRef:k.func,onReveal:k.func,unmountOnExit:k.bool,mountOnEnter:k.bool,inEffect:I.isRequired,outEffect:(0,k.oneOfType)([I,(0,k.oneOf)([!1])]).isRequired,ssrReveal:k.bool,collapseOnly:k.bool,ssrFadeout:k.bool},J={transitionGroup:k.object},oe=function(r){function t(r,c){!function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")}(this,t);var u=function _possibleConstructorReturn(r,c){if(!r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!c||"object"!=typeof c&amp;&amp;"function"!=typeof c?r:c}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,r,c));return u.isOn=void 0===r.when||!!r.when,u.state={collapse:r.collapse?t.getInitialCollapseStyle(r):void 0,style:{opacity:u.isOn&amp;&amp;!r.ssrReveal||!r.outEffect?void 0:0}},u.savedChild=!1,u.isShown=!1,E.observerMode?u.handleObserve=u.handleObserve.bind(u):(u.revealHandler=u.makeHandler(u.reveal),u.resizeHandler=u.makeHandler(u.resize)),u.saveRef=u.saveRef.bind(u),u}return function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function, not "+typeof c);r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c&amp;&amp;(Object.setPrototypeOf?Object.setPrototypeOf(r,c):r.__proto__=c)}(t,r),w(t,[{key:"saveRef",value:function(r){this.childRef&amp;&amp;this.childRef(r),this.props.innerRef&amp;&amp;this.props.innerRef(r),this.el!==r&amp;&amp;(this.el=r&amp;&amp;"offsetHeight"in r?r:void 0,this.observe(this.props,!0))}},{key:"invisible",value:function(){this&amp;&amp;this.el&amp;&amp;(this.savedChild=!1,this.isShown||(this.setState({hasExited:!0,collapse:this.props.collapse?y({},this.state.collapse,{visibility:"hidden"}):null,style:{opacity:0}}),!E.observerMode&amp;&amp;this.props.collapse&amp;&amp;window.document.dispatchEvent(E.collapseend)))}},{key:"animationEnd",value:function(r,c,u){var p=this,y=u.forever,w=u.count,x=u.delay,k=u.duration;if(!y){this.animationEndTimeout=window.setTimeout((function(){p&amp;&amp;p.el&amp;&amp;(p.animationEndTimeout=void 0,r.call(p))}),x+(k+(c?k:0)*w))}}},{key:"getDimensionValue",value:function(){return this.el.offsetHeight+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-top"),10)+parseInt(window.getComputedStyle(this.el,null).getPropertyValue("margin-bottom"),10)}},{key:"collapse",value:function(r,c,u){var p=u.duration+(c.cascade?u.duration:0),y=this.isOn?this.getDimensionValue():0,w=void 0,x=void 0;if(c.collapseOnly)w=u.duration/3,x=u.delay;else{var k=p&gt;&gt;2,E=k&gt;&gt;1;w=k,x=u.delay+(this.isOn?0:p-k-E),r.style.animationDuration=p-k+(this.isOn?E:-E)+"ms",r.style.animationDelay=u.delay+(this.isOn?k-E:0)+"ms"}return r.collapse={height:y,transition:"height "+w+"ms ease "+x+"ms",overflow:c.collapseOnly?"hidden":void 0},r}},{key:"animate",value:function(r){if(this&amp;&amp;this.el&amp;&amp;(this.unlisten(),this.isShown!==this.isOn)){this.isShown=this.isOn;var c=!this.isOn&amp;&amp;r.outEffect,u=r[c?"outEffect":"inEffect"],p="style"in u&amp;&amp;u.style.animationName||void 0,w=void 0;r.collapseOnly?w={hasAppeared:!0,hasExited:!1,style:{opacity:1}}:((r.outEffect||this.isOn)&amp;&amp;u.make&amp;&amp;(p=u.make),w={hasAppeared:!0,hasExited:!1,collapse:void 0,style:y({},u.style,{animationDuration:u.duration+"ms",animationDelay:u.delay+"ms",animationIterationCount:u.forever?"infinite":u.count,opacity:1,animationName:p}),className:u.className}),this.setState(r.collapse?this.collapse(w,r,u):w),c?(this.savedChild=x.default.cloneElement(this.getChild()),this.animationEnd(this.invisible,r.cascade,u)):this.savedChild=!1,this.onReveal(r)}}},{key:"onReveal",value:function(r){r.onReveal&amp;&amp;this.isOn&amp;&amp;(this.onRevealTimeout&amp;&amp;(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),r.wait?this.onRevealTimeout=window.setTimeout(r.onReveal,r.wait):r.onReveal())}},{key:"componentWillUnmount",value:function(){this.unlisten(),E.ssr&amp;&amp;(0,E.disableSsr)()}},{key:"handleObserve",value:function(r,c){_slicedToArray(r,1)[0].intersectionRatio&gt;0&amp;&amp;(c.disconnect(),this.observer=null,this.reveal(this.props,!0))}},{key:"observe",value:function(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1];if(this.el&amp;&amp;E.observerMode){if(this.observer){if(!c)return;this.observer.disconnect()}else if(c)return;this.observer=new IntersectionObserver(this.handleObserve,{threshold:r.fraction}),this.observer.observe(this.el)}}},{key:"reveal",value:function(r){var c=this,u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1];E.globalHide||(0,E.hideAll)(),this&amp;&amp;this.el&amp;&amp;(r||(r=this.props),E.ssr&amp;&amp;(0,E.disableSsr)(),this.isOn&amp;&amp;this.isShown&amp;&amp;void 0!==r.spy?(this.isShown=!1,this.setState({style:{}}),window.setTimeout((function(){return c.reveal(r)}),200)):u||this.inViewport(r)||r.force?this.animate(r):E.observerMode?this.observe(r):this.listen())}},{key:"componentDidMount",value:function(){var r=this;if(this.el&amp;&amp;!this.props.disabled){this.props.collapseOnly||("make"in this.props.inEffect&amp;&amp;this.props.inEffect.make(!1,this.props),void 0!==this.props.when&amp;&amp;this.props.outEffect&amp;&amp;"make"in this.props.outEffect&amp;&amp;this.props.outEffect.make(!0,this.props));var c=this.context.transitionGroup,u=c&amp;&amp;!c.isMounting?!("enter"in this.props&amp;&amp;!1===this.props.enter):this.props.appear;return this.isOn&amp;&amp;((void 0!==this.props.when||void 0!==this.props.spy)&amp;&amp;!u||E.ssr&amp;&amp;!E.fadeOutEnabled&amp;&amp;!this.props.ssrFadeout&amp;&amp;this.props.outEffect&amp;&amp;!this.props.ssrReveal&amp;&amp;t.getTop(this.el)&lt;window.pageYOffset+window.innerHeight)?(this.isShown=!0,this.setState({hasAppeared:!0,collapse:this.props.collapse?{height:this.getDimensionValue()}:this.state.collapse,style:{opacity:1}}),void this.onReveal(this.props)):E.ssr&amp;&amp;(E.fadeOutEnabled||this.props.ssrFadeout)&amp;&amp;this.props.outEffect&amp;&amp;t.getTop(this.el)&lt;window.pageYOffset+window.innerHeight?(this.setState({style:{opacity:0,transition:"opacity 1000ms 1000ms"}}),void window.setTimeout((function(){return r.reveal(r.props,!0)}),2e3)):void(this.isOn&amp;&amp;(this.props.force?this.animate(this.props):this.reveal(this.props)))}}},{key:"cascade",value:function(r){var c=this,u=void 0;u="string"==typeof r?r.split("").map((function(r,c){return x.default.createElement("span",{key:c,style:{display:"inline-block",whiteSpace:"pre"}},r)})):x.default.Children.toArray(r);var w=this.props[this.isOn||!this.props.outEffect?"inEffect":"outEffect"],k=w.duration,I=w.reverse,K=u.length,J=2*k;this.props.collapse&amp;&amp;(J=parseInt(this.state.style.animationDuration,10),k=J/2);var oe=I?K:0;return u.map((function(r){return"object"===(void 0===r?"undefined":p(r))&amp;&amp;r?x.default.cloneElement(r,{style:y({},r.props.style,c.state.style,{animationDuration:Math.round((0,E.cascade)(I?oe--:oe++,0,K,k,J))+"ms"})}):r}))}},{key:"componentWillReceiveProps",value:function(r){void 0!==r.when&amp;&amp;(this.isOn=!!r.when),r.fraction!==this.props.fraction&amp;&amp;this.observe(r,!0),!this.isOn&amp;&amp;r.onExited&amp;&amp;"exit"in r&amp;&amp;!1===r.exit?r.onExited():r.disabled||(r.collapse&amp;&amp;!this.props.collapse&amp;&amp;(this.setState({style:{},collapse:t.getInitialCollapseStyle(r)}),this.isShown=!1),r.when===this.props.when&amp;&amp;r.spy===this.props.spy||this.reveal(r),this.onRevealTimeout&amp;&amp;!this.isOn&amp;&amp;(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)))}},{key:"getChild",value:function(){if(this.savedChild&amp;&amp;!this.props.disabled)return this.savedChild;if("object"===p(this.props.children)){var r=x.default.Children.only(this.props.children);return"type"in r&amp;&amp;"string"==typeof r.type||"ref"!==this.props.refProp?r:x.default.createElement("div",null,r)}return x.default.createElement("div",null,this.props.children)}},{key:"render",value:function(){var r;r=this.state.hasAppeared?!this.props.unmountOnExit||!this.state.hasExited||this.isOn:!this.props.mountOnEnter||this.isOn;var c=this.getChild();"function"==typeof c.ref&amp;&amp;(this.childRef=c.ref);var u=!1,p=c.props,w=p.style,k=p.className,I=p.children,K=this.props.disabled?k:(this.props.outEffect?E.namespace:"")+(this.state.className?" "+this.state.className:"")+(k?" "+k:"")||void 0,J=void 0;"function"==typeof this.state.style.animationName&amp;&amp;(this.state.style.animationName=this.state.style.animationName(!this.isOn,this.props)),this.props.cascade&amp;&amp;!this.props.disabled&amp;&amp;I&amp;&amp;this.state.style.animationName?(u=this.cascade(I),J=y({},w,{opacity:1})):J=this.props.disabled?w:y({},w,this.state.style);var oe=y({},this.props.props,function _defineProperty(r,c,u){return c in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r}({className:K,style:J},this.props.refProp,this.saveRef)),ie=x.default.cloneElement(c,oe,r?u||I:void 0);return void 0!==this.props.collapse?this.props.collapseEl?x.default.cloneElement(this.props.collapseEl,{style:y({},this.props.collapseEl.style,this.props.disabled?void 0:this.state.collapse),children:ie}):x.default.createElement("div",{style:this.props.disabled?void 0:this.state.collapse,children:ie}):ie}},{key:"makeHandler",value:function(r){var c=this,i=function(){r.call(c,c.props),c.ticking=!1};return function(){c.ticking||((0,E.raf)(i),c.ticking=!0)}}},{key:"inViewport",value:function(r){if(!this.el||window.document.hidden)return!1;var c=this.el.offsetHeight,u=window.pageYOffset-t.getTop(this.el),p=Math.min(c,window.innerHeight)*(E.globalHide?r.fraction:0);return u&gt;p-window.innerHeight&amp;&amp;u&lt;c-p}},{key:"resize",value:function(r){this&amp;&amp;this.el&amp;&amp;this.isOn&amp;&amp;this.inViewport(r)&amp;&amp;(this.unlisten(),this.isShown=this.isOn,this.setState({hasExited:!this.isOn,hasAppeared:!0,collapse:void 0,style:{opacity:this.isOn||!r.outEffect?1:0}}),this.onReveal(r))}},{key:"listen",value:function(){E.observerMode||this.isListener||(this.isListener=!0,window.addEventListener("scroll",this.revealHandler,{passive:!0}),window.addEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.addEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.addEventListener("collapseend",this.revealHandler,{passive:!0}),window.addEventListener("resize",this.resizeHandler,{passive:!0}))}},{key:"unlisten",value:function(){!E.observerMode&amp;&amp;this.isListener&amp;&amp;(window.removeEventListener("scroll",this.revealHandler,{passive:!0}),window.removeEventListener("orientationchange",this.revealHandler,{passive:!0}),window.document.removeEventListener("visibilitychange",this.revealHandler,{passive:!0}),window.document.removeEventListener("collapseend",this.revealHandler,{passive:!0}),window.removeEventListener("resize",this.resizeHandler,{passive:!0}),this.isListener=!1),this.onRevealTimeout&amp;&amp;(this.onRevealTimeout=window.clearTimeout(this.onRevealTimeout)),this.animationEndTimeout&amp;&amp;(this.animationEndTimeout=window.clearTimeout(this.animationEndTimeout))}}],[{key:"getInitialCollapseStyle",value:function(r){return{height:0,visibility:r.when?void 0:"hidden"}}},{key:"getTop",value:function(r){for(;void 0===r.offsetTop;)r=r.parentNode;for(var c=r.offsetTop;r.offsetParent;c+=r.offsetTop)r=r.offsetParent;return c}}]),t}(x.default.Component);oe.propTypes=K,oe.defaultProps={fraction:.2,refProp:"ref"},oe.contextTypes=J,oe.displayName="RevealBase",c.default=oe,r.exports=c.default},11017:function(r,c){"use strict";function insertRule(r){try{return J.insertRule(r,J.cssRules.length)}catch(r){console.warn("react-reveal - animation failed")}}function hideAll(){k||(c.globalHide=k=!0,window.removeEventListener("scroll",hideAll,!0),insertRule("."+u+" { opacity: 0; }"),window.removeEventListener("orientationchange",hideAll,!0),window.document.removeEventListener("visibilitychange",hideAll))}Object.defineProperty(c,"__esModule",{value:!0}),c.insertRule=insertRule,c.cascade=function cascade(r,c,u,p,y){var w=Math.log(p),x=(Math.log(y)-w)/(u-c);return Math.exp(w+x*(r-c))},c.animation=function animation(r){if(!J)return"";var c="@keyframes "+(oe+I)+"{"+r+"}",u=K[r];return u?""+oe+u:(J.insertRule(c,J.cssRules.length),K[r]=I,""+oe+I++)},c.hideAll=hideAll,c.default=function config(r){var u=r.ssrFadeout;c.fadeOutEnabled=u};var u=c.namespace="react-reveal",p=(c.defaults={duration:1e3,delay:0,count:1},c.ssr=!0),y=c.observerMode=!1,w=c.raf=function(r){return window.setTimeout(r,66)},x=c.disableSsr=function(){return c.ssr=p=!1},k=(c.fadeOutEnabled=!1,c.ssrFadeout=function(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]&amp;&amp;arguments[0];return c.fadeOutEnabled=r},c.globalHide=!1),E=(c.ie10=!1,c.collapseend=void 0),I=1,K={},J=!1,oe=u+"-"+Math.floor(1e15*Math.random())+"-";if("undefined"!=typeof window&amp;&amp;"nodejs"!==window.name&amp;&amp;window.document&amp;&amp;"undefined"!=typeof navigator){c.observerMode=y="IntersectionObserver"in window&amp;&amp;"IntersectionObserverEntry"in window&amp;&amp;"intersectionRatio"in window.IntersectionObserverEntry.prototype&amp;&amp;/\{\s*\[native code\]\s*\}/.test(""+IntersectionObserver),c.raf=w=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||w,c.ssr=p=window.document.querySelectorAll("div[data-reactroot]").length&gt;0,-1!==navigator.appVersion.indexOf("MSIE 10")&amp;&amp;(c.ie10=!0),p&amp;&amp;"performance"in window&amp;&amp;"timing"in window.performance&amp;&amp;"domContentLoadedEventEnd"in window.performance.timing&amp;&amp;window.performance.timing.domLoading&amp;&amp;Date.now()-window.performance.timing.domLoading&lt;300&amp;&amp;(c.ssr=p=!1),p&amp;&amp;window.setTimeout(x,1500),y||(c.collapseend=E=document.createEvent("Event"),E.initEvent("collapseend",!0,!0));var ie=document.createElement("style");document.head.appendChild(ie),ie.sheet&amp;&amp;ie.sheet.cssRules&amp;&amp;ie.sheet.insertRule&amp;&amp;(J=ie.sheet,window.addEventListener("scroll",hideAll,!0),window.addEventListener("orientationchange",hideAll,!0),window.document.addEventListener("visibilitychange",hideAll))}},42580:function(r,c,u){"use strict";function _interopRequireDefault(r){return r&amp;&amp;r.__esModule?r:{default:r}}Object.defineProperty(c,"__esModule",{value:!0});var p=Object.assign||function(r){for(var c=1;c&lt;arguments.length;c++){var u=arguments[c];for(var p in u)Object.prototype.hasOwnProperty.call(u,p)&amp;&amp;(r[p]=u[p])}return r};c.default=function wrap(r,c,u,x){return"in"in r&amp;&amp;(r.when=r.in),y.default.Children.count(x)&lt;2?y.default.createElement(w.default,p({},r,{inEffect:c,outEffect:u,children:x})):(x=y.default.Children.map(x,(function(x){return y.default.createElement(w.default,p({},r,{inEffect:c,outEffect:u,children:x}))})),"Fragment"in y.default?y.default.createElement(y.default.Fragment,null,x):y.default.createElement("span",null,x))};var y=_interopRequireDefault(u(67294)),w=_interopRequireDefault(u(25792));r.exports=c.default},72408:function(r,c,u){"use strict";var p=u(27418),y="function"==typeof Symbol&amp;&amp;Symbol.for,w=y?Symbol.for("react.element"):60103,x=y?Symbol.for("react.portal"):60106,k=y?Symbol.for("react.fragment"):60107,E=y?Symbol.for("react.strict_mode"):60108,I=y?Symbol.for("react.profiler"):60114,K=y?Symbol.for("react.provider"):60109,J=y?Symbol.for("react.context"):60110,oe=y?Symbol.for("react.forward_ref"):60112,ie=y?Symbol.for("react.suspense"):60113,ae=y?Symbol.for("react.memo"):60115,se=y?Symbol.for("react.lazy"):60116,ue="function"==typeof Symbol&amp;&amp;Symbol.iterator;function C(r){for(var c="https://reactjs.org/docs/error-decoder.html?invariant="+r,u=1;u&lt;arguments.length;u++)c+="&amp;args[]="+encodeURIComponent(arguments[u]);return"Minified React error #"+r+"; visit "+c+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var le={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pe={};function F(r,c,u){this.props=r,this.context=c,this.refs=pe,this.updater=u||le}function G(){}function H(r,c,u){this.props=r,this.context=c,this.refs=pe,this.updater=u||le}F.prototype.isReactComponent={},F.prototype.setState=function(r,c){if("object"!=typeof r&amp;&amp;"function"!=typeof r&amp;&amp;null!=r)throw Error(C(85));this.updater.enqueueSetState(this,r,c,"setState")},F.prototype.forceUpdate=function(r){this.updater.enqueueForceUpdate(this,r,"forceUpdate")},G.prototype=F.prototype;var de=H.prototype=new G;de.constructor=H,p(de,F.prototype),de.isPureReactComponent=!0;var he={current:null},ge=Object.prototype.hasOwnProperty,ve={key:!0,ref:!0,__self:!0,__source:!0};function M(r,c,u){var p,y={},x=null,k=null;if(null!=c)for(p in void 0!==c.ref&amp;&amp;(k=c.ref),void 0!==c.key&amp;&amp;(x=""+c.key),c)ge.call(c,p)&amp;&amp;!ve.hasOwnProperty(p)&amp;&amp;(y[p]=c[p]);var E=arguments.length-2;if(1===E)y.children=u;else if(1&lt;E){for(var I=Array(E),K=0;K&lt;E;K++)I[K]=arguments[K+2];y.children=I}if(r&amp;&amp;r.defaultProps)for(p in E=r.defaultProps)void 0===y[p]&amp;&amp;(y[p]=E[p]);return{$$typeof:w,type:r,key:x,ref:k,props:y,_owner:he.current}}function O(r){return"object"==typeof r&amp;&amp;null!==r&amp;&amp;r.$$typeof===w}var we=/\/+/g,Se=[];function R(r,c,u,p){if(Se.length){var y=Se.pop();return y.result=r,y.keyPrefix=c,y.func=u,y.context=p,y.count=0,y}return{result:r,keyPrefix:c,func:u,context:p,count:0}}function S(r){r.result=null,r.keyPrefix=null,r.func=null,r.context=null,r.count=0,10&gt;Se.length&amp;&amp;Se.push(r)}function T(r,c,u,p){var y=typeof r;"undefined"!==y&amp;&amp;"boolean"!==y||(r=null);var k=!1;if(null===r)k=!0;else switch(y){case"string":case"number":k=!0;break;case"object":switch(r.$$typeof){case w:case x:k=!0}}if(k)return u(p,r,""===c?"."+U(r,0):c),1;if(k=0,c=""===c?".":c+":",Array.isArray(r))for(var E=0;E&lt;r.length;E++){var I=c+U(y=r[E],E);k+=T(y,I,u,p)}else if(null===r||"object"!=typeof r?I=null:I="function"==typeof(I=ue&amp;&amp;r[ue]||r["@@iterator"])?I:null,"function"==typeof I)for(r=I.call(r),E=0;!(y=r.next()).done;)k+=T(y=y.value,I=c+U(y,E++),u,p);else if("object"===y)throw u=""+r,Error(C(31,"[object Object]"===u?"object with keys {"+Object.keys(r).join(", ")+"}":u,""));return k}function V(r,c,u){return null==r?0:T(r,"",c,u)}function U(r,c){return"object"==typeof r&amp;&amp;null!==r&amp;&amp;null!=r.key?function escape(r){var c={"=":"=0",":":"=2"};return"$"+(""+r).replace(/[=:]/g,(function(r){return c[r]}))}(r.key):c.toString(36)}function W(r,c){r.func.call(r.context,c,r.count++)}function aa(r,c,u){var p=r.result,y=r.keyPrefix;r=r.func.call(r.context,c,r.count++),Array.isArray(r)?X(r,p,u,(function(r){return r})):null!=r&amp;&amp;(O(r)&amp;&amp;(r=function N(r,c){return{$$typeof:w,type:r.type,key:c,ref:r.ref,props:r.props,_owner:r._owner}}(r,y+(!r.key||c&amp;&amp;c.key===r.key?"":(""+r.key).replace(we,"$&amp;/")+"/")+u)),p.push(r))}function X(r,c,u,p,y){var w="";null!=u&amp;&amp;(w=(""+u).replace(we,"$&amp;/")+"/"),V(r,aa,c=R(c,w,p,y)),S(c)}var Oe={current:null};function Z(){var r=Oe.current;if(null===r)throw Error(C(321));return r}var Pe={ReactCurrentDispatcher:Oe,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:he,IsSomeRendererActing:{current:!1},assign:p};c.Children={map:function(r,c,u){if(null==r)return r;var p=[];return X(r,p,null,c,u),p},forEach:function(r,c,u){if(null==r)return r;V(r,W,c=R(null,null,c,u)),S(c)},count:function(r){return V(r,(function(){return null}),null)},toArray:function(r){var c=[];return X(r,c,null,(function(r){return r})),c},only:function(r){if(!O(r))throw Error(C(143));return r}},c.Component=F,c.Fragment=k,c.Profiler=I,c.PureComponent=H,c.StrictMode=E,c.Suspense=ie,c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Pe,c.cloneElement=function(r,c,u){if(null==r)throw Error(C(267,r));var y=p({},r.props),x=r.key,k=r.ref,E=r._owner;if(null!=c){if(void 0!==c.ref&amp;&amp;(k=c.ref,E=he.current),void 0!==c.key&amp;&amp;(x=""+c.key),r.type&amp;&amp;r.type.defaultProps)var I=r.type.defaultProps;for(K in c)ge.call(c,K)&amp;&amp;!ve.hasOwnProperty(K)&amp;&amp;(y[K]=void 0===c[K]&amp;&amp;void 0!==I?I[K]:c[K])}var K=arguments.length-2;if(1===K)y.children=u;else if(1&lt;K){I=Array(K);for(var J=0;J&lt;K;J++)I[J]=arguments[J+2];y.children=I}return{$$typeof:w,type:r.type,key:x,ref:k,props:y,_owner:E}},c.createContext=function(r,c){return void 0===c&amp;&amp;(c=null),(r={$$typeof:J,_calculateChangedBits:c,_currentValue:r,_currentValue2:r,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:K,_context:r},r.Consumer=r},c.createElement=M,c.createFactory=function(r){var c=M.bind(null,r);return c.type=r,c},c.createRef=function(){return{current:null}},c.forwardRef=function(r){return{$$typeof:oe,render:r}},c.isValidElement=O,c.lazy=function(r){return{$$typeof:se,_ctor:r,_status:-1,_result:null}},c.memo=function(r,c){return{$$typeof:ae,type:r,compare:void 0===c?null:c}},c.useCallback=function(r,c){return Z().useCallback(r,c)},c.useContext=function(r,c){return Z().useContext(r,c)},c.useDebugValue=function(){},c.useEffect=function(r,c){return Z().useEffect(r,c)},c.useImperativeHandle=function(r,c,u){return Z().useImperativeHandle(r,c,u)},c.useLayoutEffect=function(r,c){return Z().useLayoutEffect(r,c)},c.useMemo=function(r,c){return Z().useMemo(r,c)},c.useReducer=function(r,c,u){return Z().useReducer(r,c,u)},c.useRef=function(r){return Z().useRef(r)},c.useState=function(r){return Z().useState(r)},c.version="16.14.0"},67294:function(r,c,u){"use strict";r.exports=u(72408)},35666:function(r){var c=function(r){"use strict";var c,u=Object.prototype,p=u.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},w=y.iterator||"@@iterator",x=y.asyncIterator||"@@asyncIterator",k=y.toStringTag||"@@toStringTag";function define(r,c,u){return Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}),r[c]}try{define({},"")}catch(r){define=function(r,c,u){return r[c]=u}}function wrap(r,c,u,p){var y=c&amp;&amp;c.prototype instanceof Generator?c:Generator,w=Object.create(y.prototype),x=new Context(p||[]);return w._invoke=function makeInvokeMethod(r,c,u){var p=E;return function invoke(y,w){if(p===K)throw new Error("Generator is already running");if(p===J){if("throw"===y)throw w;return doneResult()}for(u.method=y,u.arg=w;;){var x=u.delegate;if(x){var k=maybeInvokeDelegate(x,u);if(k){if(k===oe)continue;return k}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if(p===E)throw p=J,u.arg;u.dispatchException(u.arg)}else"return"===u.method&amp;&amp;u.abrupt("return",u.arg);p=K;var ie=tryCatch(r,c,u);if("normal"===ie.type){if(p=u.done?J:I,ie.arg===oe)continue;return{value:ie.arg,done:u.done}}"throw"===ie.type&amp;&amp;(p=J,u.method="throw",u.arg=ie.arg)}}}(r,u,x),w}function tryCatch(r,c,u){try{return{type:"normal",arg:r.call(c,u)}}catch(r){return{type:"throw",arg:r}}}r.wrap=wrap;var E="suspendedStart",I="suspendedYield",K="executing",J="completed",oe={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var ie={};ie[w]=function(){return this};var ae=Object.getPrototypeOf,se=ae&amp;&amp;ae(ae(values([])));se&amp;&amp;se!==u&amp;&amp;p.call(se,w)&amp;&amp;(ie=se);var ue=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(ie);function defineIteratorMethods(r){["next","throw","return"].forEach((function(c){define(r,c,(function(r){return this._invoke(c,r)}))}))}function AsyncIterator(r,c){function invoke(u,y,w,x){var k=tryCatch(r[u],r,y);if("throw"!==k.type){var E=k.arg,I=E.value;return I&amp;&amp;"object"==typeof I&amp;&amp;p.call(I,"__await")?c.resolve(I.__await).then((function(r){invoke("next",r,w,x)}),(function(r){invoke("throw",r,w,x)})):c.resolve(I).then((function(r){E.value=r,w(E)}),(function(r){return invoke("throw",r,w,x)}))}x(k.arg)}var u;this._invoke=function enqueue(r,p){function callInvokeWithMethodAndArg(){return new c((function(c,u){invoke(r,p,c,u)}))}return u=u?u.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(r,u){var p=r.iterator[u.method];if(p===c){if(u.delegate=null,"throw"===u.method){if(r.iterator.return&amp;&amp;(u.method="return",u.arg=c,maybeInvokeDelegate(r,u),"throw"===u.method))return oe;u.method="throw",u.arg=new TypeError("The iterator does not provide a 'throw' method")}return oe}var y=tryCatch(p,r.iterator,u.arg);if("throw"===y.type)return u.method="throw",u.arg=y.arg,u.delegate=null,oe;var w=y.arg;return w?w.done?(u[r.resultName]=w.value,u.next=r.nextLoc,"return"!==u.method&amp;&amp;(u.method="next",u.arg=c),u.delegate=null,oe):w:(u.method="throw",u.arg=new TypeError("iterator result is not an object"),u.delegate=null,oe)}function pushTryEntry(r){var c={tryLoc:r[0]};1 in r&amp;&amp;(c.catchLoc=r[1]),2 in r&amp;&amp;(c.finallyLoc=r[2],c.afterLoc=r[3]),this.tryEntries.push(c)}function resetTryEntry(r){var c=r.completion||{};c.type="normal",delete c.arg,r.completion=c}function Context(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(pushTryEntry,this),this.reset(!0)}function values(r){if(r){var u=r[w];if(u)return u.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var y=-1,x=function next(){for(;++y&lt;r.length;)if(p.call(r,y))return next.value=r[y],next.done=!1,next;return next.value=c,next.done=!0,next};return x.next=x}}return{next:doneResult}}function doneResult(){return{value:c,done:!0}}return GeneratorFunction.prototype=ue.constructor=GeneratorFunctionPrototype,GeneratorFunctionPrototype.constructor=GeneratorFunction,GeneratorFunction.displayName=define(GeneratorFunctionPrototype,k,"GeneratorFunction"),r.isGeneratorFunction=function(r){var c="function"==typeof r&amp;&amp;r.constructor;return!!c&amp;&amp;(c===GeneratorFunction||"GeneratorFunction"===(c.displayName||c.name))},r.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,GeneratorFunctionPrototype):(r.__proto__=GeneratorFunctionPrototype,define(r,k,"GeneratorFunction")),r.prototype=Object.create(ue),r},r.awrap=function(r){return{__await:r}},defineIteratorMethods(AsyncIterator.prototype),AsyncIterator.prototype[x]=function(){return this},r.AsyncIterator=AsyncIterator,r.async=function(c,u,p,y,w){void 0===w&amp;&amp;(w=Promise);var x=new AsyncIterator(wrap(c,u,p,y),w);return r.isGeneratorFunction(u)?x:x.next().then((function(r){return r.done?r.value:x.next()}))},defineIteratorMethods(ue),define(ue,k,"Generator"),ue[w]=function(){return this},ue.toString=function(){return"[object Generator]"},r.keys=function(r){var c=[];for(var u in r)c.push(u);return c.reverse(),function next(){for(;c.length;){var u=c.pop();if(u in r)return next.value=u,next.done=!1,next}return next.done=!0,next}},r.values=values,Context.prototype={constructor:Context,reset:function(r){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(resetTryEntry),!r)for(var u in this)"t"===u.charAt(0)&amp;&amp;p.call(this,u)&amp;&amp;!isNaN(+u.slice(1))&amp;&amp;(this[u]=c)},stop:function(){this.done=!0;var r=this.tryEntries[0].completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var u=this;function handle(p,y){return x.type="throw",x.arg=r,u.next=p,y&amp;&amp;(u.method="next",u.arg=c),!!y}for(var y=this.tryEntries.length-1;y&gt;=0;--y){var w=this.tryEntries[y],x=w.completion;if("root"===w.tryLoc)return handle("end");if(w.tryLoc&lt;=this.prev){var k=p.call(w,"catchLoc"),E=p.call(w,"finallyLoc");if(k&amp;&amp;E){if(this.prev&lt;w.catchLoc)return handle(w.catchLoc,!0);if(this.prev&lt;w.finallyLoc)return handle(w.finallyLoc)}else if(k){if(this.prev&lt;w.catchLoc)return handle(w.catchLoc,!0)}else{if(!E)throw new Error("try statement without catch or finally");if(this.prev&lt;w.finallyLoc)return handle(w.finallyLoc)}}}},abrupt:function(r,c){for(var u=this.tryEntries.length-1;u&gt;=0;--u){var y=this.tryEntries[u];if(y.tryLoc&lt;=this.prev&amp;&amp;p.call(y,"finallyLoc")&amp;&amp;this.prev&lt;y.finallyLoc){var w=y;break}}w&amp;&amp;("break"===r||"continue"===r)&amp;&amp;w.tryLoc&lt;=c&amp;&amp;c&lt;=w.finallyLoc&amp;&amp;(w=null);var x=w?w.completion:{};return x.type=r,x.arg=c,w?(this.method="next",this.next=w.finallyLoc,oe):this.complete(x)},complete:function(r,c){if("throw"===r.type)throw r.arg;return"break"===r.type||"continue"===r.type?this.next=r.arg:"return"===r.type?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):"normal"===r.type&amp;&amp;c&amp;&amp;(this.next=c),oe},finish:function(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),resetTryEntry(u),oe}},catch:function(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.tryLoc===r){var p=u.completion;if("throw"===p.type){var y=p.arg;resetTryEntry(u)}return y}}throw new Error("illegal catch attempt")},delegateYield:function(r,u,p){return this.delegate={iterator:values(r),resultName:u,nextLoc:p},"next"===this.method&amp;&amp;(this.arg=c),oe}},r}(r.exports);try{regeneratorRuntime=c}catch(r){Function("r","regeneratorRuntime = r")(c)}},96774:function(r){r.exports=function shallowEqual(r,c,u,p){var y=u?u.call(p,r,c):void 0;if(void 0!==y)return!!y;if(r===c)return!0;if("object"!=typeof r||!r||"object"!=typeof c||!c)return!1;var w=Object.keys(r),x=Object.keys(c);if(w.length!==x.length)return!1;for(var k=Object.prototype.hasOwnProperty.bind(c),E=0;E&lt;w.length;E++){var I=w[E];if(!k(I))return!1;var K=r[I],J=c[I];if(!1===(y=u?u.call(p,K,J,I):void 0)||void 0===y&amp;&amp;K!==J)return!1}return!0}},53869:function(r,c,u){"use strict";var p=u(93379),y=u.n(p),w=u(7795),x=u.n(w),k=u(3565),E=u.n(k),I=u(19216),K=u.n(I),J=u(44589),oe=u.n(J),ie=u(34381),ae={};ae.styleTagTransform=oe(),ae.setAttributes=E(),ae.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},ae.domAPI=x(),ae.insertStyleElement=K();y()(ie.Z,ae);c.Z=ie.Z&amp;&amp;ie.Z.locals?ie.Z.locals:void 0},28151:function(r,c,u){"use strict";var p=u(93379),y=u.n(p),w=u(7795),x=u.n(w),k=u(3565),E=u.n(k),I=u(19216),K=u.n(I),J=u(44589),oe=u.n(J),ie=u(51402),ae={};ae.styleTagTransform=oe(),ae.setAttributes=E(),ae.insert=function(r){window._botonicInsertStyles||(window._botonicInsertStyles=[]),window._botonicInsertStyles.push(r)},ae.domAPI=x(),ae.insertStyleElement=K();y()(ie.Z,ae);c.Z=ie.Z&amp;&amp;ie.Z.locals?ie.Z.locals:void 0},93379:function(r){"use strict";var c=[];function getIndexByIdentifier(r){for(var u=-1,p=0;p&lt;c.length;p++)if(c[p].identifier===r){u=p;break}return u}function modulesToDom(r,u){for(var p={},y=[],w=0;w&lt;r.length;w++){var x=r[w],k=u.base?x[0]+u.base:x[0],E=p[k]||0,I="".concat(k," ").concat(E);p[k]=E+1;var K=getIndexByIdentifier(I),J={css:x[1],media:x[2],sourceMap:x[3],supports:x[4],layer:x[5]};if(-1!==K)c[K].references++,c[K].updater(J);else{var oe=addElementStyle(J,u);u.byIndex=w,c.splice(w,0,{identifier:I,updater:oe,references:1})}y.push(I)}return y}function addElementStyle(r,c){var u=c.domAPI(c);u.update(r);return function updater(c){if(c){if(c.css===r.css&amp;&amp;c.media===r.media&amp;&amp;c.sourceMap===r.sourceMap&amp;&amp;c.supports===r.supports&amp;&amp;c.layer===r.layer)return;u.update(r=c)}else u.remove()}}r.exports=function(r,u){var p=modulesToDom(r=r||[],u=u||{});return function update(r){r=r||[];for(var y=0;y&lt;p.length;y++){var w=getIndexByIdentifier(p[y]);c[w].references--}for(var x=modulesToDom(r,u),k=0;k&lt;p.length;k++){var E=getIndexByIdentifier(p[k]);0===c[E].references&amp;&amp;(c[E].updater(),c.splice(E,1))}p=x}}},19216:function(r){"use strict";r.exports=function insertStyleElement(r){var c=document.createElement("style");return r.setAttributes(c,r.attributes),r.insert(c,r.options),c}},3565:function(r,c,u){"use strict";r.exports=function setAttributesWithoutAttributes(r){var c=u.nc;c&amp;&amp;r.setAttribute("nonce",c)}},7795:function(r){"use strict";r.exports=function domAPI(r){if("undefined"==typeof document)return{update:function update(){},remove:function remove(){}};var c=r.insertStyleElement(r);return{update:function update(u){!function apply(r,c,u){var p="";u.supports&amp;&amp;(p+="@supports (".concat(u.supports,") {")),u.media&amp;&amp;(p+="@media ".concat(u.media," {"));var y=void 0!==u.layer;y&amp;&amp;(p+="@layer".concat(u.layer.length&gt;0?" ".concat(u.layer):""," {")),p+=u.css,y&amp;&amp;(p+="}"),u.media&amp;&amp;(p+="}"),u.supports&amp;&amp;(p+="}");var w=u.sourceMap;w&amp;&amp;"undefined"!=typeof btoa&amp;&amp;(p+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(w))))," */")),c.styleTagTransform(p,r,c.options)}(c,r,u)},remove:function remove(){!function removeStyleElement(r){if(null===r.parentNode)return!1;r.parentNode.removeChild(r)}(c)}}}},44589:function(r){"use strict";r.exports=function styleTagTransform(r,c){if(c.styleSheet)c.styleSheet.cssText=r;else{for(;c.firstChild;)c.removeChild(c.firstChild);c.appendChild(document.createTextNode(r))}}},18117:function(r,c,u){"use strict";u.d(c,{LC:function(){return ye},iv:function(){return Ce},ZP:function(){return it}});var p=u(59864),y=u(67294),w=u(96774),x=u.n(w);var k=function stylis_min(r){function M(r,p,y,w,x){for(var k,J,ie,ae,se,ue=0,le=0,we=0,Oe=0,Le=0,Ie=0,je=ie=k=0,De=0,Ue=0,Fe=0,Ze=0,$e=y.length,Ge=$e-1,We="",Ke="",Je="",Ye="";De&lt;$e;){if(J=y.charCodeAt(De),De===Ge&amp;&amp;0!==le+Oe+we+ue&amp;&amp;(0!==le&amp;&amp;(J=47===le?10:47),Oe=we=ue=0,$e++,Ge++),0===le+Oe+we+ue){if(De===Ge&amp;&amp;(0&lt;Ue&amp;&amp;(We=We.replace(u,"")),0&lt;We.trim().length)){switch(J){case 32:case 9:case 59:case 13:case 10:break;default:We+=y.charAt(De)}J=59}switch(J){case 123:for(k=(We=We.trim()).charCodeAt(0),ie=1,Ze=++De;De&lt;$e;){switch(J=y.charCodeAt(De)){case 123:ie++;break;case 125:ie--;break;case 47:switch(J=y.charCodeAt(De+1)){case 42:case 47:e:{for(je=De+1;je&lt;Ge;++je)switch(y.charCodeAt(je)){case 47:if(42===J&amp;&amp;42===y.charCodeAt(je-1)&amp;&amp;De+2!==je){De=je+1;break e}break;case 10:if(47===J){De=je+1;break e}}De=je}}break;case 91:J++;case 40:J++;case 34:case 39:for(;De++&lt;Ge&amp;&amp;y.charCodeAt(De)!==J;);}if(0===ie)break;De++}if(ie=y.substring(Ze,De),0===k&amp;&amp;(k=(We=We.replace(c,"").trim()).charCodeAt(0)),64===k){switch(0&lt;Ue&amp;&amp;(We=We.replace(u,"")),J=We.charCodeAt(1)){case 100:case 109:case 115:case 45:Ue=p;break;default:Ue=ve}if(Ze=(ie=M(p,Ue,ie,J,x+1)).length,0&lt;Se&amp;&amp;(se=H(3,ie,Ue=X(ve,We,Fe),p,de,pe,Ze,J,x,w),We=Ue.join(""),void 0!==se&amp;&amp;0===(Ze=(ie=se.trim()).length)&amp;&amp;(J=0,ie="")),0&lt;Ze)switch(J){case 115:We=We.replace(oe,ea);case 100:case 109:case 45:ie=We+"{"+ie+"}";break;case 107:ie=(We=We.replace(E,"$1 $2"))+"{"+ie+"}",ie=1===ge||2===ge&amp;&amp;L("@"+ie,3)?"@-webkit-"+ie+"@"+ie:"@"+ie;break;default:ie=We+ie,112===w&amp;&amp;(Ke+=ie,ie="")}else ie=""}else ie=M(p,X(p,We,Fe),ie,w,x+1);Je+=ie,ie=Fe=Ue=je=k=0,We="",J=y.charCodeAt(++De);break;case 125:case 59:if(1&lt;(Ze=(We=(0&lt;Ue?We.replace(u,""):We).trim()).length))switch(0===je&amp;&amp;(k=We.charCodeAt(0),45===k||96&lt;k&amp;&amp;123&gt;k)&amp;&amp;(Ze=(We=We.replace(" ",":")).length),0&lt;Se&amp;&amp;void 0!==(se=H(1,We,p,r,de,pe,Ke.length,w,x,w))&amp;&amp;0===(Ze=(We=se.trim()).length)&amp;&amp;(We="\0\0"),k=We.charCodeAt(0),J=We.charCodeAt(1),k){case 0:break;case 64:if(105===J||99===J){Ye+=We+y.charAt(De);break}default:58!==We.charCodeAt(Ze-1)&amp;&amp;(Ke+=P(We,k,J,We.charCodeAt(2)))}Fe=Ue=je=k=0,We="",J=y.charCodeAt(++De)}}switch(J){case 13:case 10:47===le?le=0:0===1+k&amp;&amp;107!==w&amp;&amp;0&lt;We.length&amp;&amp;(Ue=1,We+="\0"),0&lt;Se*Pe&amp;&amp;H(0,We,p,r,de,pe,Ke.length,w,x,w),pe=1,de++;break;case 59:case 125:if(0===le+Oe+we+ue){pe++;break}default:switch(pe++,ae=y.charAt(De),J){case 9:case 32:if(0===Oe+ue+le)switch(Le){case 44:case 58:case 9:case 32:ae="";break;default:32!==J&amp;&amp;(ae=" ")}break;case 0:ae="\\0";break;case 12:ae="\\f";break;case 11:ae="\\v";break;case 38:0===Oe+le+ue&amp;&amp;(Ue=Fe=1,ae="\f"+ae);break;case 108:if(0===Oe+le+ue+he&amp;&amp;0&lt;je)switch(De-je){case 2:112===Le&amp;&amp;58===y.charCodeAt(De-3)&amp;&amp;(he=Le);case 8:111===Ie&amp;&amp;(he=Ie)}break;case 58:0===Oe+le+ue&amp;&amp;(je=De);break;case 44:0===le+we+Oe+ue&amp;&amp;(Ue=1,ae+="\r");break;case 34:case 39:0===le&amp;&amp;(Oe=Oe===J?0:0===Oe?J:Oe);break;case 91:0===Oe+le+we&amp;&amp;ue++;break;case 93:0===Oe+le+we&amp;&amp;ue--;break;case 41:0===Oe+le+ue&amp;&amp;we--;break;case 40:if(0===Oe+le+ue){if(0===k)if(2*Le+3*Ie==533);else k=1;we++}break;case 64:0===le+we+Oe+ue+je+ie&amp;&amp;(ie=1);break;case 42:case 47:if(!(0&lt;Oe+ue+we))switch(le){case 0:switch(2*J+3*y.charCodeAt(De+1)){case 235:le=47;break;case 220:Ze=De,le=42}break;case 42:47===J&amp;&amp;42===Le&amp;&amp;Ze+2!==De&amp;&amp;(33===y.charCodeAt(Ze+2)&amp;&amp;(Ke+=y.substring(Ze,De+1)),ae="",le=0)}}0===le&amp;&amp;(We+=ae)}Ie=Le,Le=J,De++}if(0&lt;(Ze=Ke.length)){if(Ue=p,0&lt;Se&amp;&amp;(void 0!==(se=H(2,Ke,Ue,r,de,pe,Ze,w,x,w))&amp;&amp;0===(Ke=se).length))return Ye+Ke+Je;if(Ke=Ue.join(",")+"{"+Ke+"}",0!=ge*he){switch(2!==ge||L(Ke,2)||(he=0),he){case 111:Ke=Ke.replace(K,":-moz-$1")+Ke;break;case 112:Ke=Ke.replace(I,"::-webkit-input-$1")+Ke.replace(I,"::-moz-$1")+Ke.replace(I,":-ms-input-$1")+Ke}he=0}}return Ye+Ke+Je}function X(r,c,u){var p=c.trim().split(x);c=p;var y=p.length,w=r.length;switch(w){case 0:case 1:var k=0;for(r=0===w?"":r[0]+" ";k&lt;y;++k)c[k]=Z(r,c[k],u).trim();break;default:var E=k=0;for(c=[];k&lt;y;++k)for(var I=0;I&lt;w;++I)c[E++]=Z(r[I]+" ",p[k],u).trim()}return c}function Z(r,c,u){var p=c.charCodeAt(0);switch(33&gt;p&amp;&amp;(p=(c=c.trim()).charCodeAt(0)),p){case 38:return c.replace(k,"$1"+r.trim());case 58:return r.trim()+c.replace(k,"$1"+r.trim());default:if(0&lt;1*u&amp;&amp;0&lt;c.indexOf("\f"))return c.replace(k,(58===r.charCodeAt(0)?"":"$1")+r.trim())}return r+c}function P(r,c,u,x){var k=r+";",E=2*c+3*u+4*x;if(944===E){r=k.indexOf(":",9)+1;var I=k.substring(r,k.length-1).trim();return I=k.substring(0,r).trim()+I+";",1===ge||2===ge&amp;&amp;L(I,1)?"-webkit-"+I+I:I}if(0===ge||2===ge&amp;&amp;!L(k,1))return k;switch(E){case 1015:return 97===k.charCodeAt(10)?"-webkit-"+k+k:k;case 951:return 116===k.charCodeAt(3)?"-webkit-"+k+k:k;case 963:return 110===k.charCodeAt(5)?"-webkit-"+k+k:k;case 1009:if(100!==k.charCodeAt(4))break;case 969:case 942:return"-webkit-"+k+k;case 978:return"-webkit-"+k+"-moz-"+k+k;case 1019:case 983:return"-webkit-"+k+"-moz-"+k+"-ms-"+k+k;case 883:if(45===k.charCodeAt(8))return"-webkit-"+k+k;if(0&lt;k.indexOf("image-set(",11))return k.replace(le,"$1-webkit-$2")+k;break;case 932:if(45===k.charCodeAt(4))switch(k.charCodeAt(5)){case 103:return"-webkit-box-"+k.replace("-grow","")+"-webkit-"+k+"-ms-"+k.replace("grow","positive")+k;case 115:return"-webkit-"+k+"-ms-"+k.replace("shrink","negative")+k;case 98:return"-webkit-"+k+"-ms-"+k.replace("basis","preferred-size")+k}return"-webkit-"+k+"-ms-"+k+k;case 964:return"-webkit-"+k+"-ms-flex-"+k+k;case 1023:if(99!==k.charCodeAt(8))break;return"-webkit-box-pack"+(I=k.substring(k.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+k+"-ms-flex-pack"+I+k;case 1005:return y.test(k)?k.replace(p,":-webkit-")+k.replace(p,":-moz-")+k:k;case 1e3:switch(c=(I=k.substring(13).trim()).indexOf("-")+1,I.charCodeAt(0)+I.charCodeAt(c)){case 226:I=k.replace(J,"tb");break;case 232:I=k.replace(J,"tb-rl");break;case 220:I=k.replace(J,"lr");break;default:return k}return"-webkit-"+k+"-ms-"+I+k;case 1017:if(-1===k.indexOf("sticky",9))break;case 975:switch(c=(k=r).length-10,E=(I=(33===k.charCodeAt(c)?k.substring(0,c):k).substring(r.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|I.charCodeAt(7))){case 203:if(111&gt;I.charCodeAt(8))break;case 115:k=k.replace(I,"-webkit-"+I)+";"+k;break;case 207:case 102:k=k.replace(I,"-webkit-"+(102&lt;E?"inline-":"")+"box")+";"+k.replace(I,"-webkit-"+I)+";"+k.replace(I,"-ms-"+I+"box")+";"+k}return k+";";case 938:if(45===k.charCodeAt(5))switch(k.charCodeAt(6)){case 105:return I=k.replace("-items",""),"-webkit-"+k+"-webkit-box-"+I+"-ms-flex-"+I+k;case 115:return"-webkit-"+k+"-ms-flex-item-"+k.replace(ae,"")+k;default:return"-webkit-"+k+"-ms-flex-line-pack"+k.replace("align-content","").replace(ae,"")+k}break;case 973:case 989:if(45!==k.charCodeAt(3)||122===k.charCodeAt(4))break;case 931:case 953:if(!0===ue.test(r))return 115===(I=r.substring(r.indexOf(":")+1)).charCodeAt(0)?P(r.replace("stretch","fill-available"),c,u,x).replace(":fill-available",":stretch"):k.replace(I,"-webkit-"+I)+k.replace(I,"-moz-"+I.replace("fill-",""))+k;break;case 962:if(k="-webkit-"+k+(102===k.charCodeAt(5)?"-ms-"+k:"")+k,211===u+x&amp;&amp;105===k.charCodeAt(13)&amp;&amp;0&lt;k.indexOf("transform",10))return k.substring(0,k.indexOf(";",27)+1).replace(w,"$1-webkit-$2")+k}return k}function L(r,c){var u=r.indexOf(1===c?":":"{"),p=r.substring(0,3!==c?u:10);return u=r.substring(u+1,r.length-1),Oe(2!==c?p:p.replace(se,"$1"),u,c)}function ea(r,c){var u=P(c,c.charCodeAt(0),c.charCodeAt(1),c.charCodeAt(2));return u!==c+";"?u.replace(ie," or ($1)").substring(4):"("+c+")"}function H(r,c,u,p,y,w,x,k,E,I){for(var K,J=0,oe=c;J&lt;Se;++J)switch(K=we[J].call(B,r,oe,u,p,y,w,x,k,E,I)){case void 0:case!1:case!0:case null:break;default:oe=K}if(oe!==c)return oe}function U(r){return void 0!==(r=r.prefix)&amp;&amp;(Oe=null,r?"function"!=typeof r?ge=1:(ge=2,Oe=r):ge=0),U}function B(r,c){var u=r;if(33&gt;u.charCodeAt(0)&amp;&amp;(u=u.trim()),u=[u],0&lt;Se){var p=H(-1,c,u,u,de,pe,0,0,0,0);void 0!==p&amp;&amp;"string"==typeof p&amp;&amp;(c=p)}var y=M(ve,u,c,0,0);return 0&lt;Se&amp;&amp;(void 0!==(p=H(-2,y,u,u,de,pe,y.length,0,0,0))&amp;&amp;(y=p)),"",he=0,pe=de=1,y}var c=/^\0+/g,u=/[\0\r\f]/g,p=/: */g,y=/zoo|gra/,w=/([,: ])(transform)/g,x=/,\r+?/g,k=/([\t\r\n ])*\f?&amp;/g,E=/@(k\w+)\s*(\S*)\s*/,I=/::(place)/g,K=/:(read-only)/g,J=/[svh]\w+-[tblr]{2}/,oe=/\(\s*(.*)\s*\)/g,ie=/([\s\S]*?);/g,ae=/-self|flex-/g,se=/[^]*?(:[rp][el]a[\w-]+)[^]*/,ue=/stretch|:\s*\w+\-(?:conte|avail)/,le=/([^-])(image-set\()/,pe=1,de=1,he=0,ge=1,ve=[],we=[],Se=0,Oe=null,Pe=0;return B.use=function T(r){switch(r){case void 0:case null:Se=we.length=0;break;default:if("function"==typeof r)we[Se++]=r;else if("object"==typeof r)for(var c=0,u=r.length;c&lt;u;++c)T(r[c]);else Pe=0|!!r}return T},B.set=U,void 0!==r&amp;&amp;U(r),B},E={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},I=u(58594),K=u(8679),J=u.n(K);function v(){return(v=Object.assign||function(r){for(var c=1;c&lt;arguments.length;c++){var u=arguments[c];for(var p in u)Object.prototype.hasOwnProperty.call(u,p)&amp;&amp;(r[p]=u[p])}return r}).apply(this,arguments)}var g=function(r,c){for(var u=[r[0]],p=0,y=c.length;p&lt;y;p+=1)u.push(c[p],r[p+1]);return u},S=function(r){return null!==r&amp;&amp;"object"==typeof r&amp;&amp;"[object Object]"===(r.toString?r.toString():Object.prototype.toString.call(r))&amp;&amp;!(0,p.typeOf)(r)},oe=Object.freeze([]),ie=Object.freeze({});function b(r){return"function"==typeof r}function _(r){return r.displayName||r.name||"Component"}function N(r){return r&amp;&amp;"string"==typeof r.styledComponentId}var ae="undefined"!=typeof process&amp;&amp;("MISSING_ENV_VAR".REACT_APP_SC_ATTR||"MISSING_ENV_VAR".SC_ATTR)||"data-styled",se="undefined"!=typeof window&amp;&amp;"HTMLElement"in window,ue=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&amp;&amp;void 0!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&amp;&amp;""!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY?"false"!=="MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY&amp;&amp;"MISSING_ENV_VAR".REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&amp;&amp;void 0!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&amp;&amp;""!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&amp;&amp;("false"!=="MISSING_ENV_VAR".SC_DISABLE_SPEEDY&amp;&amp;"MISSING_ENV_VAR".SC_DISABLE_SPEEDY));function j(r){for(var c=arguments.length,u=new Array(c&gt;1?c-1:0),p=1;p&lt;c;p++)u[p-1]=arguments[p];throw new Error("An error occurred. See https://git.io/JUIaE#"+r+" for more information."+(u.length&gt;0?" Args: "+u.join(", "):""))}var le=function(){function e(r){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=r}var r=e.prototype;return r.indexOfGroup=function(r){for(var c=0,u=0;u&lt;r;u++)c+=this.groupSizes[u];return c},r.insertRules=function(r,c){if(r&gt;=this.groupSizes.length){for(var u=this.groupSizes,p=u.length,y=p;r&gt;=y;)(y&lt;&lt;=1)&lt;0&amp;&amp;j(16,""+r);this.groupSizes=new Uint32Array(y),this.groupSizes.set(u),this.length=y;for(var w=p;w&lt;y;w++)this.groupSizes[w]=0}for(var x=this.indexOfGroup(r+1),k=0,E=c.length;k&lt;E;k++)this.tag.insertRule(x,c[k])&amp;&amp;(this.groupSizes[r]++,x++)},r.clearGroup=function(r){if(r&lt;this.length){var c=this.groupSizes[r],u=this.indexOfGroup(r),p=u+c;this.groupSizes[r]=0;for(var y=u;y&lt;p;y++)this.tag.deleteRule(u)}},r.getGroup=function(r){var c="";if(r&gt;=this.length||0===this.groupSizes[r])return c;for(var u=this.groupSizes[r],p=this.indexOfGroup(r),y=p+u,w=p;w&lt;y;w++)c+=this.tag.getRule(w)+"/*!sc*/\n";return c},e}(),pe=new Map,de=new Map,he=1,B=function(r){if(pe.has(r))return pe.get(r);for(;de.has(he);)he++;var c=he++;return pe.set(r,c),de.set(c,r),c},z=function(r){return de.get(r)},M=function(r,c){c&gt;=he&amp;&amp;(he=c+1),pe.set(r,c),de.set(c,r)},ge="style["+ae+'][data-styled-version="5.3.3"]',ve=new RegExp("^"+ae+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),F=function(r,c,u){for(var p,y=u.split(","),w=0,x=y.length;w&lt;x;w++)(p=y[w])&amp;&amp;r.registerName(c,p)},Y=function(r,c){for(var u=(c.textContent||"").split("/*!sc*/\n"),p=[],y=0,w=u.length;y&lt;w;y++){var x=u[y].trim();if(x){var k=x.match(ve);if(k){var E=0|parseInt(k[1],10),I=k[2];0!==E&amp;&amp;(M(I,E),F(r,I,k[3]),r.getTag().insertRules(E,p)),p.length=0}else p.push(x)}}},q=function(){return"undefined"!=typeof window&amp;&amp;void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},H=function(r){var c=document.head,u=r||c,p=document.createElement("style"),y=function(r){for(var c=r.childNodes,u=c.length;u&gt;=0;u--){var p=c[u];if(p&amp;&amp;1===p.nodeType&amp;&amp;p.hasAttribute(ae))return p}}(u),w=void 0!==y?y.nextSibling:null;p.setAttribute(ae,"active"),p.setAttribute("data-styled-version","5.3.3");var x=q();return x&amp;&amp;p.setAttribute("nonce",x),u.insertBefore(p,w),p},we=function(){function e(r){var c=this.element=H(r);c.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var c=document.styleSheets,u=0,p=c.length;u&lt;p;u++){var y=c[u];if(y.ownerNode===r)return y}j(17)}(c),this.length=0}var r=e.prototype;return r.insertRule=function(r,c){try{return this.sheet.insertRule(c,r),this.length++,!0}catch(r){return!1}},r.deleteRule=function(r){this.sheet.deleteRule(r),this.length--},r.getRule=function(r){var c=this.sheet.cssRules[r];return void 0!==c&amp;&amp;"string"==typeof c.cssText?c.cssText:""},e}(),Se=function(){function e(r){var c=this.element=H(r);this.nodes=c.childNodes,this.length=0}var r=e.prototype;return r.insertRule=function(r,c){if(r&lt;=this.length&amp;&amp;r&gt;=0){var u=document.createTextNode(c),p=this.nodes[r];return this.element.insertBefore(u,p||null),this.length++,!0}return!1},r.deleteRule=function(r){this.element.removeChild(this.nodes[r]),this.length--},r.getRule=function(r){return r&lt;this.length?this.nodes[r].textContent:""},e}(),Oe=function(){function e(r){this.rules=[],this.length=0}var r=e.prototype;return r.insertRule=function(r,c){return r&lt;=this.length&amp;&amp;(this.rules.splice(r,0,c),this.length++,!0)},r.deleteRule=function(r){this.rules.splice(r,1),this.length--},r.getRule=function(r){return r&lt;this.length?this.rules[r]:""},e}(),Pe=se,Le={isServer:!se,useCSSOMInjection:!ue},Ie=function(){function e(r,c,u){void 0===r&amp;&amp;(r=ie),void 0===c&amp;&amp;(c={}),this.options=v({},Le,{},r),this.gs=c,this.names=new Map(u),this.server=!!r.isServer,!this.server&amp;&amp;se&amp;&amp;Pe&amp;&amp;(Pe=!1,function(r){for(var c=document.querySelectorAll(ge),u=0,p=c.length;u&lt;p;u++){var y=c[u];y&amp;&amp;"active"!==y.getAttribute(ae)&amp;&amp;(Y(r,y),y.parentNode&amp;&amp;y.parentNode.removeChild(y))}}(this))}e.registerId=function(r){return B(r)};var r=e.prototype;return r.reconstructWithOptions=function(r,c){return void 0===c&amp;&amp;(c=!0),new e(v({},this.options,{},r),this.gs,c&amp;&amp;this.names||void 0)},r.allocateGSInstance=function(r){return this.gs[r]=(this.gs[r]||0)+1},r.getTag=function(){return this.tag||(this.tag=(u=(c=this.options).isServer,p=c.useCSSOMInjection,y=c.target,r=u?new Oe(y):p?new we(y):new Se(y),new le(r)));var r,c,u,p,y},r.hasNameForId=function(r,c){return this.names.has(r)&amp;&amp;this.names.get(r).has(c)},r.registerName=function(r,c){if(B(r),this.names.has(r))this.names.get(r).add(c);else{var u=new Set;u.add(c),this.names.set(r,u)}},r.insertRules=function(r,c,u){this.registerName(r,c),this.getTag().insertRules(B(r),u)},r.clearNames=function(r){this.names.has(r)&amp;&amp;this.names.get(r).clear()},r.clearRules=function(r){this.getTag().clearGroup(B(r)),this.clearNames(r)},r.clearTag=function(){this.tag=void 0},r.toString=function(){return function(r){for(var c=r.getTag(),u=c.length,p="",y=0;y&lt;u;y++){var w=z(y);if(void 0!==w){var x=r.names.get(w),k=c.getGroup(y);if(x&amp;&amp;k&amp;&amp;x.size){var E=ae+".g"+y+'[id="'+w+'"]',I="";void 0!==x&amp;&amp;x.forEach((function(r){r.length&gt;0&amp;&amp;(I+=r+",")})),p+=""+k+E+'{content:"'+I+'"}/*!sc*/\n'}}}return p}(this)},e}(),je=/(a)(d)/gi,Q=function(r){return String.fromCharCode(r+(r&gt;25?39:97))};function ee(r){var c,u="";for(c=Math.abs(r);c&gt;52;c=c/52|0)u=Q(c%52)+u;return(Q(c%52)+u).replace(je,"$1-$2")}var te=function(r,c){for(var u=c.length;u;)r=33*r^c.charCodeAt(--u);return r},ne=function(r){return te(5381,r)};function re(r){for(var c=0;c&lt;r.length;c+=1){var u=r[c];if(b(u)&amp;&amp;!N(u))return!1}return!0}var De=ne("5.3.3"),Ue=function(){function e(r,c,u){this.rules=r,this.staticRulesId="",this.isStatic=(void 0===u||u.isStatic)&amp;&amp;re(r),this.componentId=c,this.baseHash=te(De,c),this.baseStyle=u,Ie.registerId(c)}return e.prototype.generateAndInjectStyles=function(r,c,u){var p=this.componentId,y=[];if(this.baseStyle&amp;&amp;y.push(this.baseStyle.generateAndInjectStyles(r,c,u)),this.isStatic&amp;&amp;!u.hash)if(this.staticRulesId&amp;&amp;c.hasNameForId(p,this.staticRulesId))y.push(this.staticRulesId);else{var w=Ne(this.rules,r,c,u).join(""),x=ee(te(this.baseHash,w)&gt;&gt;&gt;0);if(!c.hasNameForId(p,x)){var k=u(w,"."+x,void 0,p);c.insertRules(p,x,k)}y.push(x),this.staticRulesId=x}else{for(var E=this.rules.length,I=te(this.baseHash,u.hash),K="",J=0;J&lt;E;J++){var oe=this.rules[J];if("string"==typeof oe)K+=oe;else if(oe){var ie=Ne(oe,r,c,u),ae=Array.isArray(ie)?ie.join(""):ie;I=te(I,ae+J),K+=ae}}if(K){var se=ee(I&gt;&gt;&gt;0);if(!c.hasNameForId(p,se)){var ue=u(K,"."+se,void 0,p);c.insertRules(p,se,ue)}y.push(se)}}return y.join(" ")},e}(),Fe=/^\s*\/\/.*$/gm,Ze=[":","[",".","#"];function ce(r){var c,u,p,y,w=void 0===r?ie:r,x=w.options,E=void 0===x?ie:x,I=w.plugins,K=void 0===I?oe:I,J=new k(E),ae=[],se=function(r){function t(c){if(c)try{r(c+"}")}catch(r){}}return function(c,u,p,y,w,x,k,E,I,K){switch(c){case 1:if(0===I&amp;&amp;64===u.charCodeAt(0))return r(u+";"),"";break;case 2:if(0===E)return u+"/*|*/";break;case 3:switch(E){case 102:case 112:return r(p[0]+u),"";default:return u+(0===K?"/*|*/":"")}case-2:u.split("/*|*/}").forEach(t)}}}((function(r){ae.push(r)})),f=function(r,p,w){return 0===p&amp;&amp;-1!==Ze.indexOf(w[u.length])||w.match(y)?r:"."+c};function m(r,w,x,k){void 0===k&amp;&amp;(k="&amp;");var E=r.replace(Fe,""),I=w&amp;&amp;x?x+" "+w+" { "+E+" }":E;return c=k,u=w,p=new RegExp("\\"+u+"\\b","g"),y=new RegExp("(\\"+u+"\\b){2,}"),J(x||!w?"":w,I)}return J.use([].concat(K,[function(r,c,y){2===r&amp;&amp;y.length&amp;&amp;y[0].lastIndexOf(u)&gt;0&amp;&amp;(y[0]=y[0].replace(p,f))},se,function(r){if(-2===r){var c=ae;return ae=[],c}}])),m.hash=K.length?K.reduce((function(r,c){return c.name||j(15),te(r,c.name)}),5381).toString():"",m}var $e=y.createContext(),Ge=($e.Consumer,y.createContext()),We=(Ge.Consumer,new Ie),Ke=ce();function fe(){return(0,y.useContext)($e)||We}function me(){return(0,y.useContext)(Ge)||Ke}function ye(r){var c=(0,y.useState)(r.stylisPlugins),u=c[0],p=c[1],w=fe(),k=(0,y.useMemo)((function(){var c=w;return r.sheet?c=r.sheet:r.target&amp;&amp;(c=c.reconstructWithOptions({target:r.target},!1)),r.disableCSSOMInjection&amp;&amp;(c=c.reconstructWithOptions({useCSSOMInjection:!1})),c}),[r.disableCSSOMInjection,r.sheet,r.target]),E=(0,y.useMemo)((function(){return ce({options:{prefix:!r.disableVendorPrefixes},plugins:u})}),[r.disableVendorPrefixes,u]);return(0,y.useEffect)((function(){x()(u,r.stylisPlugins)||p(r.stylisPlugins)}),[r.stylisPlugins]),y.createElement($e.Provider,{value:k},y.createElement(Ge.Provider,{value:E},r.children))}var Je=function(){function e(r,c){var u=this;this.inject=function(r,c){void 0===c&amp;&amp;(c=Ke);var p=u.name+c.hash;r.hasNameForId(u.id,p)||r.insertRules(u.id,p,c(u.rules,p,"@keyframes"))},this.toString=function(){return j(12,String(u.name))},this.name=r,this.id="sc-keyframes-"+r,this.rules=c}return e.prototype.getName=function(r){return void 0===r&amp;&amp;(r=Ke),this.name+r.hash},e}(),Ye=/([A-Z])/,Xe=/([A-Z])/g,Qe=/^ms-/,Ee=function(r){return"-"+r.toLowerCase()};function be(r){return Ye.test(r)?r.replace(Xe,Ee).replace(Qe,"-ms-"):r}var _e=function(r){return null==r||!1===r||""===r};function Ne(r,c,u,p){if(Array.isArray(r)){for(var y,w=[],x=0,k=r.length;x&lt;k;x+=1)""!==(y=Ne(r[x],c,u,p))&amp;&amp;(Array.isArray(y)?w.push.apply(w,y):w.push(y));return w}return _e(r)?"":N(r)?"."+r.styledComponentId:b(r)?"function"!=typeof(I=r)||I.prototype&amp;&amp;I.prototype.isReactComponent||!c?r:Ne(r(c),c,u,p):r instanceof Je?u?(r.inject(u,p),r.getName(p)):r:S(r)?function e(r,c){var u,p,y=[];for(var w in r)r.hasOwnProperty(w)&amp;&amp;!_e(r[w])&amp;&amp;(Array.isArray(r[w])&amp;&amp;r[w].isCss||b(r[w])?y.push(be(w)+":",r[w],";"):S(r[w])?y.push.apply(y,e(r[w],w)):y.push(be(w)+": "+(u=w,(null==(p=r[w])||"boolean"==typeof p||""===p?"":"number"!=typeof p||0===p||u in E?String(p).trim():p+"px")+";")));return c?[c+" {"].concat(y,["}"]):y}(r):r.toString();var I}var Ae=function(r){return Array.isArray(r)&amp;&amp;(r.isCss=!0),r};function Ce(r){for(var c=arguments.length,u=new Array(c&gt;1?c-1:0),p=1;p&lt;c;p++)u[p-1]=arguments[p];return b(r)||S(r)?Ae(Ne(g(oe,[r].concat(u)))):0===u.length&amp;&amp;1===r.length&amp;&amp;"string"==typeof r[0]?r:Ae(Ne(g(r,u)))}new Set;var Re=function(r,c,u){return void 0===u&amp;&amp;(u=ie),r.theme!==u.theme&amp;&amp;r.theme||c||u.theme},et=/[!"#$%&amp;'()*+,./:;&lt;=&gt;?@[\\\]^`{|}~-]+/g,rt=/(^-|-$)/g;function Te(r){return r.replace(et,"-").replace(rt,"")}var xe=function(r){return ee(ne(r)&gt;&gt;&gt;0)};function ke(r){return"string"==typeof r&amp;&amp;!0}var Ve=function(r){return"function"==typeof r||"object"==typeof r&amp;&amp;null!==r&amp;&amp;!Array.isArray(r)},Be=function(r){return"__proto__"!==r&amp;&amp;"constructor"!==r&amp;&amp;"prototype"!==r};function ze(r,c,u){var p=r[u];Ve(c)&amp;&amp;Ve(p)?Me(p,c):r[u]=c}function Me(r){for(var c=arguments.length,u=new Array(c&gt;1?c-1:0),p=1;p&lt;c;p++)u[p-1]=arguments[p];for(var y=0,w=u;y&lt;w.length;y++){var x=w[y];if(Ve(x))for(var k in x)Be(k)&amp;&amp;ze(r,x[k],k)}return r}var nt=y.createContext();nt.Consumer;var ot={};function qe(r,c,u){var p=N(r),w=!ke(r),x=c.attrs,k=void 0===x?oe:x,E=c.componentId,K=void 0===E?function(r,c){var u="string"!=typeof r?"sc":Te(r);ot[u]=(ot[u]||0)+1;var p=u+"-"+xe("5.3.3"+u+ot[u]);return c?c+"-"+p:p}(c.displayName,c.parentComponentId):E,ae=c.displayName,se=void 0===ae?function(r){return ke(r)?"styled."+r:"Styled("+_(r)+")"}(r):ae,ue=c.displayName&amp;&amp;c.componentId?Te(c.displayName)+"-"+c.componentId:c.componentId||K,le=p&amp;&amp;r.attrs?Array.prototype.concat(r.attrs,k).filter(Boolean):k,pe=c.shouldForwardProp;p&amp;&amp;r.shouldForwardProp&amp;&amp;(pe=c.shouldForwardProp?function(u,p,y){return r.shouldForwardProp(u,p,y)&amp;&amp;c.shouldForwardProp(u,p,y)}:r.shouldForwardProp);var de,he=new Ue(u,ue,p?r.componentStyle:void 0),ge=he.isStatic&amp;&amp;0===k.length,O=function(r,c){return function(r,c,u,p){var w=r.attrs,x=r.componentStyle,k=r.defaultProps,E=r.foldedComponentIds,K=r.shouldForwardProp,J=r.styledComponentId,oe=r.target,ae=function(r,c,u){void 0===r&amp;&amp;(r=ie);var p=v({},c,{theme:r}),y={};return u.forEach((function(r){var c,u,w,x=r;for(c in b(x)&amp;&amp;(x=x(p)),x)p[c]=y[c]="className"===c?(u=y[c],w=x[c],u&amp;&amp;w?u+" "+w:u||w):x[c]})),[p,y]}(Re(c,(0,y.useContext)(nt),k)||ie,c,w),se=ae[0],ue=ae[1],le=function(r,c,u,p){var y=fe(),w=me();return c?r.generateAndInjectStyles(ie,y,w):r.generateAndInjectStyles(u,y,w)}(x,p,se),pe=u,de=ue.$as||c.$as||ue.as||c.as||oe,he=ke(de),ge=ue!==c?v({},c,{},ue):c,ve={};for(var we in ge)"$"!==we[0]&amp;&amp;"as"!==we&amp;&amp;("forwardedAs"===we?ve.as=ge[we]:(K?K(we,I.Z,de):!he||(0,I.Z)(we))&amp;&amp;(ve[we]=ge[we]));return c.style&amp;&amp;ue.style!==c.style&amp;&amp;(ve.style=v({},c.style,{},ue.style)),ve.className=Array.prototype.concat(E,J,le!==J?le:null,c.className,ue.className).filter(Boolean).join(" "),ve.ref=pe,(0,y.createElement)(de,ve)}(de,r,c,ge)};return O.displayName=se,(de=y.forwardRef(O)).attrs=le,de.componentStyle=he,de.displayName=se,de.shouldForwardProp=pe,de.foldedComponentIds=p?Array.prototype.concat(r.foldedComponentIds,r.styledComponentId):oe,de.styledComponentId=ue,de.target=p?r.target:r,de.withComponent=function(r){var p=c.componentId,y=function(r,c){if(null==r)return{};var u,p,y={},w=Object.keys(r);for(p=0;p&lt;w.length;p++)u=w[p],c.indexOf(u)&gt;=0||(y[u]=r[u]);return y}(c,["componentId"]),w=p&amp;&amp;p+"-"+(ke(r)?r:Te(_(r)));return qe(r,v({},y,{attrs:le,componentId:w}),u)},Object.defineProperty(de,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(c){this._foldedDefaultProps=p?Me({},r.defaultProps,c):c}}),de.toString=function(){return"."+de.styledComponentId},w&amp;&amp;J()(de,r,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),de}var He=function(r){return function e(r,c,u){if(void 0===u&amp;&amp;(u=ie),!(0,p.isValidElementType)(c))return j(1,String(c));var s=function(){return r(c,u,Ce.apply(void 0,arguments))};return s.withConfig=function(p){return e(r,c,v({},u,{},p))},s.attrs=function(p){return e(r,c,v({},u,{attrs:Array.prototype.concat(u.attrs,p).filter(Boolean)}))},s}(qe,r)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(r){He[r]=He(r)}));!function(){function e(r,c){this.rules=r,this.componentId=c,this.isStatic=re(r),Ie.registerId(this.componentId+1)}var r=e.prototype;r.createStyles=function(r,c,u,p){var y=p(Ne(this.rules,c,u,p).join(""),""),w=this.componentId+r;u.insertRules(w,w,y)},r.removeStyles=function(r,c){c.clearRules(this.componentId+r)},r.renderStyles=function(r,c,u,p){r&gt;2&amp;&amp;Ie.registerId(this.componentId+r),this.removeStyles(r,u),this.createStyles(r,c,u,p)}}();!function(){function e(){var r=this;this._emitSheetCSS=function(){var c=r.instance.toString();if(!c)return"";var u=q();return"&lt;style "+[u&amp;&amp;'nonce="'+u+'"',ae+'="true"','data-styled-version="5.3.3"'].filter(Boolean).join(" ")+"&gt;"+c+"&lt;/style&gt;"},this.getStyleTags=function(){return r.sealed?j(2):r._emitSheetCSS()},this.getStyleElement=function(){var c;if(r.sealed)return j(2);var u=((c={})[ae]="",c["data-styled-version"]="5.3.3",c.dangerouslySetInnerHTML={__html:r.instance.toString()},c),p=q();return p&amp;&amp;(u.nonce=p),[y.createElement("style",v({},u,{key:"sc-0-0"}))]},this.seal=function(){r.sealed=!0},this.instance=new Ie({isServer:!0}),this.sealed=!1}var r=e.prototype;r.collectStyles=function(r){return this.sealed?j(2):y.createElement(ye,{sheet:this.instance},r)},r.interleaveWithNodeStream=function(r){return j(3)}}();var it=He},34929:function(r,c,u){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),u(47941),u(82526),u(57327),u(38880),u(54747),u(49337),u(12419);var p=u(68779),y=u(15826),w=u(43137),x=u(67801),k=u(82199),E=u(82156),I=u(18486),K=u(62140);u(21249),u(41539),u(88674);var J=u(6727),oe=u(31227),ie=u(48261),ae=u(7766);u(69600);var se=u(58684);u(68309),u(92222),u(26699),u(91038),u(78783);var ue=u(15602);u(47042),u(41817),u(32165);var le=u(78890);u(66992),u(51532),u(33948),u(19601),u(74916),u(4723);var pe=u(89575);u(15306);var de=u(55877),he=u(97468);u(9653);var ge=u(31795);function _interopDefaultLegacy(r){return r&amp;&amp;"object"==typeof r&amp;&amp;"default"in r?r:{default:r}}function _interopNamespace(r){if(r&amp;&amp;r.__esModule)return r;var c=Object.create(null);return r&amp;&amp;Object.keys(r).forEach((function(u){if("default"!==u){var p=Object.getOwnPropertyDescriptor(r,u);Object.defineProperty(c,u,p.get?p:{enumerable:!0,get:function(){return r[u]}})}})),c.default=r,Object.freeze(c)}var ve=_interopDefaultLegacy(p),we=_interopDefaultLegacy(y),Se=_interopDefaultLegacy(w),Oe=_interopDefaultLegacy(x),Pe=_interopDefaultLegacy(k),Le=_interopDefaultLegacy(E),Ie=_interopDefaultLegacy(I),je=_interopDefaultLegacy(K),De=_interopDefaultLegacy(J),Ue=_interopDefaultLegacy(oe),Fe=_interopDefaultLegacy(se),Ze=_interopNamespace(ue),$e=_interopDefaultLegacy(le),Ge=_interopNamespace(de),We=_interopDefaultLegacy(he),Ke=_interopNamespace(ge);function __decorate(r,c,u,p){var y,w=arguments.length,x=w&lt;3?c:null===p?p=Object.getOwnPropertyDescriptor(c,u):p;if("object"===("undefined"==typeof Reflect?"undefined":Ue.default(Reflect))&amp;&amp;"function"==typeof Reflect.decorate)x=Reflect.decorate(r,c,u,p);else for(var k=r.length-1;k&gt;=0;k--)(y=r[k])&amp;&amp;(x=(w&lt;3?y(x):w&gt;3?y(c,u,x):y(c,u))||x);return w&gt;3&amp;&amp;x&amp;&amp;Object.defineProperty(c,u,x),x}function __metadata(r,c){if("object"===("undefined"==typeof Reflect?"undefined":Ue.default(Reflect))&amp;&amp;"function"==typeof Reflect.metadata)return Reflect.metadata(r,c)}function EventHandlers(){}function EventEmitter(){EventEmitter.init.call(this)}function $getMaxListeners(r){return void 0===r._maxListeners?EventEmitter.defaultMaxListeners:r._maxListeners}function _addListener(r,c,u,p){var y,w,x;if("function"!=typeof u)throw new TypeError('"listener" argument must be a function');if((w=r._events)?(w.newListener&amp;&amp;(r.emit("newListener",c,u.listener?u.listener:u),w=r._events),x=w[c]):(w=r._events=new EventHandlers,r._eventsCount=0),x){if("function"==typeof x?x=w[c]=p?[u,x]:[x,u]:p?x.unshift(u):x.push(u),!x.warned&amp;&amp;(y=$getMaxListeners(r))&amp;&amp;y&gt;0&amp;&amp;x.length&gt;y){x.warned=!0;var k=new Error("Possible EventEmitter memory leak detected. "+x.length+" "+c+" listeners added. Use emitter.setMaxListeners() to increase limit");k.name="MaxListenersExceededWarning",k.emitter=r,k.type=c,k.count=x.length,function emitWarning(r){"function"==typeof console.warn?console.warn(r):console.log(r)}(k)}}else x=w[c]=u,++r._eventsCount;return r}function _onceWrap(r,c,u){var p=!1;function g(){r.removeListener(c,g),p||(p=!0,u.apply(r,arguments))}return g.listener=u,g}function listenerCount(r){var c=this._events;if(c){var u=c[r];if("function"==typeof u)return 1;if(u)return u.length}return 0}function arrayClone(r,c){for(var u=new Array(c);c--;)u[c]=r[c];return u}EventHandlers.prototype=Object.create(null),EventEmitter.EventEmitter=EventEmitter,EventEmitter.usingDomains=!1,EventEmitter.prototype.domain=void 0,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.init=function(){this.domain=null,EventEmitter.usingDomains&amp;&amp;undefined.active,this._events&amp;&amp;this._events!==Object.getPrototypeOf(this)._events||(this._events=new EventHandlers,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter.prototype.setMaxListeners=function setMaxListeners(r){if("number"!=typeof r||r&lt;0||isNaN(r))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=r,this},EventEmitter.prototype.getMaxListeners=function getMaxListeners(){return $getMaxListeners(this)},EventEmitter.prototype.emit=function emit(r){var c,u,p,y,w,x,k,E="error"===r;if(x=this._events)E=E&amp;&amp;null==x.error;else if(!E)return!1;if(k=this.domain,E){if(c=arguments[1],!k){if(c instanceof Error)throw c;var I=new Error('Uncaught, unspecified "error" event. ('+c+")");throw I.context=c,I}return c||(c=new Error('Uncaught, unspecified "error" event')),c.domainEmitter=this,c.domain=k,c.domainThrown=!1,k.emit("error",c),!1}if(!(u=x[r]))return!1;var K="function"==typeof u;switch(p=arguments.length){case 1:!function emitNone(r,c,u){if(c)r.call(u);else for(var p=r.length,y=arrayClone(r,p),w=0;w&lt;p;++w)y[w].call(u)}(u,K,this);break;case 2:!function emitOne(r,c,u,p){if(c)r.call(u,p);else for(var y=r.length,w=arrayClone(r,y),x=0;x&lt;y;++x)w[x].call(u,p)}(u,K,this,arguments[1]);break;case 3:!function emitTwo(r,c,u,p,y){if(c)r.call(u,p,y);else for(var w=r.length,x=arrayClone(r,w),k=0;k&lt;w;++k)x[k].call(u,p,y)}(u,K,this,arguments[1],arguments[2]);break;case 4:!function emitThree(r,c,u,p,y,w){if(c)r.call(u,p,y,w);else for(var x=r.length,k=arrayClone(r,x),E=0;E&lt;x;++E)k[E].call(u,p,y,w)}(u,K,this,arguments[1],arguments[2],arguments[3]);break;default:for(y=new Array(p-1),w=1;w&lt;p;w++)y[w-1]=arguments[w];!function emitMany(r,c,u,p){if(c)r.apply(u,p);else for(var y=r.length,w=arrayClone(r,y),x=0;x&lt;y;++x)w[x].apply(u,p)}(u,K,this,y)}return!0},EventEmitter.prototype.addListener=function addListener(r,c){return _addListener(this,r,c,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function prependListener(r,c){return _addListener(this,r,c,!0)},EventEmitter.prototype.once=function once(r,c){if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');return this.on(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.prependOnceListener=function prependOnceListener(r,c){if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');return this.prependListener(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.removeListener=function removeListener(r,c){var u,p,y,w,x;if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');if(!(p=this._events))return this;if(!(u=p[r]))return this;if(u===c||u.listener&amp;&amp;u.listener===c)0==--this._eventsCount?this._events=new EventHandlers:(delete p[r],p.removeListener&amp;&amp;this.emit("removeListener",r,u.listener||c));else if("function"!=typeof u){for(y=-1,w=u.length;w-- &gt;0;)if(u[w]===c||u[w].listener&amp;&amp;u[w].listener===c){x=u[w].listener,y=w;break}if(y&lt;0)return this;if(1===u.length){if(u[0]=void 0,0==--this._eventsCount)return this._events=new EventHandlers,this;delete p[r]}else!function spliceOne(r,c){for(var u=c,p=u+1,y=r.length;p&lt;y;u+=1,p+=1)r[u]=r[p];r.pop()}(u,y);p.removeListener&amp;&amp;this.emit("removeListener",r,x||c)}return this},EventEmitter.prototype.off=function(r,c){return this.removeListener(r,c)},EventEmitter.prototype.removeAllListeners=function removeAllListeners(r){var c,u;if(!(u=this._events))return this;if(!u.removeListener)return 0===arguments.length?(this._events=new EventHandlers,this._eventsCount=0):u[r]&amp;&amp;(0==--this._eventsCount?this._events=new EventHandlers:delete u[r]),this;if(0===arguments.length){for(var p,y=Object.keys(u),w=0;w&lt;y.length;++w)"removeListener"!==(p=y[w])&amp;&amp;this.removeAllListeners(p);return this.removeAllListeners("removeListener"),this._events=new EventHandlers,this._eventsCount=0,this}if("function"==typeof(c=u[r]))this.removeListener(r,c);else if(c)do{this.removeListener(r,c[c.length-1])}while(c[0]);return this},EventEmitter.prototype.listeners=function listeners(r){var c,u=this._events;return u&amp;&amp;(c=u[r])?"function"==typeof c?[c.listener||c]:function unwrapListeners(r){for(var c=new Array(r.length),u=0;u&lt;c.length;++u)c[u]=r[u].listener||r[u];return c}(c):[]},EventEmitter.listenerCount=function(r,c){return"function"==typeof r.listenerCount?r.listenerCount(c):listenerCount.call(r,c)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount&gt;0?Reflect.ownKeys(this._events):[]};var Je=function(){function UriBuilder(r){we.default(this,UriBuilder),this.base=r,this.args=new Array,this.paths=new Array}return Se.default(UriBuilder,[{key:"pathSegment",value:function pathSegment(r){return this.paths.push(encodeURIComponent(r)),this}},{key:"queryParam",value:function queryParam(r,c){return void 0!==c&amp;&amp;this.args.push(encodeURIComponent(r)+"="+encodeURIComponent(c)),this}},{key:"build",value:function build(){var r=this.base;return this.paths.length&amp;&amp;(r+="/"+this.paths.join("/")),this.args.length&amp;&amp;(r+="?"+this.args.join("&amp;")),r}}]),UriBuilder}();function _createSuper$7(r){var c=function _isNativeReflectConstruct$7(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var Ye=function(r){Pe.default(SyncError,r);var c=_createSuper$7(SyncError);function SyncError(r){var u,p=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:0,y=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:0;return we.default(this,SyncError),(u=c.call(this)).name=u.constructor.name,u.message="".concat(r," (status: ").concat(p,", code: ").concat(y,")"),u.status=p,u.code=y,u}return SyncError}(Fe.default(Error)),Xe=function(r){Pe.default(SyncNetworkError,r);var c=_createSuper$7(SyncNetworkError);function SyncNetworkError(r){var u,p=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:0,y=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:0,w=arguments.length&gt;3?arguments[3]:void 0;return we.default(this,SyncNetworkError),(u=c.call(this,r,p,y)).body=w,u}return SyncNetworkError}(Ye);function deepClone(r){return JSON.parse(JSON.stringify(r))}function validatePageSize(r){if(!(void 0===r||isPositiveInteger(r)))throw new Ye("Invalid pageSize parameter. Expected a positive integer, was '".concat(r,"'."),400,20007)}function isPositiveInteger(r){return function isInteger(r){return!isNaN(parseInt(r))&amp;&amp;isFinite(r)}(r)&amp;&amp;r&gt;0}var Qe=Ze.getLogger("twilio-sync");function prepareLine(r,c){return["".concat((new Date).toISOString()," Sync ").concat(r,":")].concat(Array.from(c))}var et=function setLevel(r){Qe.setLevel(r)},rt=function trace(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.trace.apply(null,prepareLine("T",c))},nt=function debug(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.debug.apply(null,prepareLine("D",c))},ot=function warn(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.warn.apply(null,prepareLine("W",c))},it=function error(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Qe.error.apply(null,prepareLine("E",c))};var st=function(){function Configuration(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};we.default(this,Configuration);var c,u,p,y=r.region||"us1",w="https://cds.".concat(y,".twilio.com"),x=r.cdsUri||w;this.settings={subscriptionsUri:x+"/v4/Subscriptions",documentsUri:x+"/v3/Documents",listsUri:x+"/v3/Lists",mapsUri:x+"/v3/Maps",streamsUri:x+"/v3/Streams",insightsUri:x+"/v3/Insights",sessionStorageEnabled:(c=r.Sync,u="enableSessionStorage",p=!0,c&amp;&amp;void 0!==c[u]?c[u]:p),productId:r.productId}}return Se.default(Configuration,[{key:"subscriptionsUri",get:function get(){return this.settings.subscriptionsUri}},{key:"documentsUri",get:function get(){return this.settings.documentsUri}},{key:"listsUri",get:function get(){return this.settings.listsUri}},{key:"mapsUri",get:function get(){return this.settings.mapsUri}},{key:"streamsUri",get:function get(){return this.settings.streamsUri}},{key:"insightsUri",get:function get(){return this.settings.insightsUri}},{key:"backoffConfig",get:function get(){return this.settings.backoffConfig||{}}},{key:"sessionStorageEnabled",get:function get(){return this.settings.sessionStorageEnabled}},{key:"productId",get:function get(){return this.settings.productId}}]),Configuration}();function _createForOfIteratorHelper$3(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$3(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$3(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$3(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$3(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var ct=function(){function SubscribedEntity(r){we.default(this,SubscribedEntity),this.localObject=r,this.pendingCorrelationId=null,this.pendingAction=null,this.established=!1,this.retryCount=0}return Se.default(SubscribedEntity,[{key:"sid",get:function get(){return this.localObject.sid}},{key:"type",get:function get(){return this.localObject.type}},{key:"lastEventId",get:function get(){return this.localObject.lastEventId}},{key:"indexName",get:function get(){return this.localObject.indexName}},{key:"queryString",get:function get(){return this.localObject.queryString}},{key:"isEstablished",get:function get(){return this.established}},{key:"update",value:function update(r,c){this.localObject._update(r,c)}},{key:"updatePending",value:function updatePending(r,c){this.pendingAction=r,this.pendingCorrelationId=c}},{key:"reset",value:function reset(){this.updatePending(null,null),this.retryCount=0,this.established=!1,this.setSubscriptionState("none")}},{key:"markAsFailed",value:function markAsFailed(r){this.rejectedWithError=r.error,this.updatePending(null,null),this.localObject.reportFailure(new Ye("Failed to subscribe on service events: ".concat(r.error.message),r.error.status,r.error.code))}},{key:"complete",value:function complete(r){this.updatePending(null,null),this.established=!0,this.localObject._advanceLastEventId(r)}},{key:"setSubscriptionState",value:function setSubscriptionState(r){this.localObject._setSubscriptionState(r)}}]),SubscribedEntity}(),ut=function(){function Subscriptions(r){var c=this;we.default(this,Subscriptions),je.default(this,"isConnected",!1),je.default(this,"maxBatchSize",100),je.default(this,"subscriptionTtlTimer",null),je.default(this,"pendingPokeReason",null),this.services=r,this.subscriptions=new Map,this.persisted=new Map,this.latestPokeResponseArrivalTimestampByCorrelationId=new Map;this.backoff=pe.Backoff.exponential(Object.assign({randomisationFactor:.2,initialDelay:100,maxDelay:12e4},this.services.config.backoffConfig)),this.backoff.on("ready",(function(){var r=c.getSubscriptionUpdateBatch(),u=r.action,p=r.subscriptions;u?c.applyNewSubscriptionUpdateBatch(u,p):(c.backoff.reset(),nt("All subscriptions resolved."))}))}var r;return Se.default(Subscriptions,[{key:"getSubscriptionUpdateBatch",value:function getSubscriptionUpdateBatch(){function subtract(r,c,u,p){var y,w=[],x=_createForOfIteratorHelper$3(r);try{for(x.s();!(y=x.n()).done;){var k=$e.default(y.value,2),E=k[0],I=k[1];if(!c.get(E)&amp;&amp;u!==I.pendingAction&amp;&amp;!I.rejectedWithError&amp;&amp;(w.push(I),p&amp;&amp;w.length&gt;=p))break}}catch(r){x.e(r)}finally{x.f()}return w}var r=subtract(this.subscriptions,this.persisted,"establish",this.maxBatchSize);if(r.length&gt;0)return{action:"establish",subscriptions:r};var c=subtract(this.persisted,this.subscriptions,"cancel",this.maxBatchSize);return c.length&gt;0?{action:"cancel",subscriptions:c}:{action:null,subscriptions:null}}},{key:"persist",value:function persist(){this.backoff.backoff()}},{key:"applyNewSubscriptionUpdateBatch",value:(r=ve.default(De.default.mark((function _callee(r,c){var u,p,y,w,x,k,E,I,K,J,oe,ie,se=this;return De.default.wrap((function _callee$(ue){for(;;)switch(ue.prev=ue.next){case 0:if(this.isConnected){ue.next=4;break}return nt("Twilsock connection (required for subscription) not ready; waitingâ€¦"),this.backoff.reset(),ue.abrupt("return");case 4:c=this.processLocalActions(r,c),u=(new Date).getTime(),p=_createForOfIteratorHelper$3(c);try{for(p.s();!(y=p.n()).done;)w=y.value,this.recordActionAttemptOn(w,r,u)}catch(r){p.e(r)}finally{p.f()}return x=this.pendingPokeReason,this.pendingPokeReason=null,ue.prev=10,ue.next=13,this.request(r,u,x,c);case 13:k=ue.sent,E=k.body.max_batch_size,!isNaN(parseInt(E))&amp;&amp;isFinite(E)&amp;&amp;E&gt;0&amp;&amp;(this.maxBatchSize=E),this.subscriptionTtlTimer||(I=k.body.ttl_in_s,!isNaN(parseFloat(I))&amp;&amp;isFinite(I)&amp;&amp;I&gt;0&amp;&amp;(this.subscriptionTtlTimer=setTimeout((function(){return se.onSubscriptionTtlElapsed()}),1e3*I))),"establish"===r&amp;&amp;(K=k.body.estimated_delivery_in_ms,!isNaN(parseFloat(K))&amp;&amp;isFinite(K)&amp;&amp;K&gt;0?setTimeout((function(){return se.verifyPokeDelivery(u,K,c)}),K):it("Invalid timeout: ".concat(K)),c.filter((function(r){return r.pendingCorrelationId===u})).forEach((function(r){return r.setSubscriptionState("response_in_flight")}))),this.backoff.reset(),ue.next=26;break;case 21:ue.prev=21,ue.t0=ue.catch(10),J=_createForOfIteratorHelper$3(c);try{for(J.s();!(oe=J.n()).done;)ie=oe.value,this.recordActionFailureOn(ie,r)}catch(r){J.e(r)}finally{J.f()}ue.t0 instanceof ae.TransportUnavailableError?(nt("Twilsock connection (required for subscription) not ready (c:".concat(u,"); waitingâ€¦")),this.backoff.reset()):(nt("Failed an attempt to ".concat(r," subscriptions (c:").concat(u,"); retrying"),ue.t0),this.persist());case 26:case"end":return ue.stop()}}),_callee,this,[[10,21]])}))),function applyNewSubscriptionUpdateBatch(c,u){return r.apply(this,arguments)})},{key:"verifyPokeDelivery",value:function verifyPokeDelivery(r,c,u){var p=this,y=this.latestPokeResponseArrivalTimestampByCorrelationId.get(r),w=y?(new Date).getTime()-y:c;w&gt;=c?(u.filter((function(c){return c.pendingCorrelationId===r})).forEach((function(r){r.updatePending(null,null),r.retryCount++,p.persisted.delete(r.sid)})),this.persist(),this.latestPokeResponseArrivalTimestampByCorrelationId.delete(r)):setTimeout((function(){return p.verifyPokeDelivery(r,c,u)}),c-w)}},{key:"processLocalActions",value:function processLocalActions(r,c){return"cancel"===r?c.filter((function(r){return!r.rejectedWithError})):c}},{key:"recordActionAttemptOn",value:function recordActionAttemptOn(r,c,u){if(r.setSubscriptionState("request_in_flight"),"establish"===c)this.persisted.set(r.sid,r),r.updatePending(c,u);else{var p=this.persisted.get(r.sid);p&amp;&amp;p.updatePending(c,u)}}},{key:"recordActionFailureOn",value:function recordActionFailureOn(r,c){r.setSubscriptionState("none"),r.updatePending(null,null),"establish"===c&amp;&amp;this.persisted.delete(r.sid)}},{key:"request",value:function request(r,c,u,p){var y=p.map((function(c){return{object_sid:c.sid,object_type:c.type,last_event_id:"establish"===r?c.lastEventId:void 0,index_name:"establish"===r?c.indexName:void 0,query_string:"establish"===r?c.queryString:void 0}})),w=p.filter((function(r){return r.retryCount&gt;0})).length;nt("Attempting '".concat(r,"' request (c:").concat(c,"):"),y);var x={event_protocol_version:4,action:r,correlation_id:c,retried_requests:w,ttl_in_s:-1,requests:y};return"ttl"===u&amp;&amp;(x.reason=u),this.services.network.post(this.services.config.subscriptionsUri,x)}},{key:"add",value:function add(r,c){nt("Establishing intent to subscribe to ".concat(r));var u=this.subscriptions.get(r);u&amp;&amp;c&amp;&amp;u.lastEventId===c.lastEventId||(this.persisted.delete(r),this.subscriptions.set(r,new ct(c)),this.persist())}},{key:"remove",value:function remove(r){nt("Establishing intent to unsubscribe from ".concat(r)),this.subscriptions.delete(r)&amp;&amp;this.persist()}},{key:"acceptMessage",value:function acceptMessage(r,c){rt("Subscriptions received",r);var u=r.event_type,p=void 0!==r.events?r.events:[r.event],y=r.correlation_id;y&amp;&amp;this.latestPokeResponseArrivalTimestampByCorrelationId.set(y,(new Date).getTime());var w,x=_createForOfIteratorHelper$3(p);try{for(x.s();!(w=x.n()).done;){var k=w.value,E=void 0;switch(r.event_type){case"subscription_established":this.applySubscriptionEstablishedMessage(k,y);break;case"subscription_canceled":this.applySubscriptionCancelledMessage(k,y);break;case"subscription_failed":this.applySubscriptionFailedMessage(k,y);break;case(E=u.match(/^(?:map|list|document|stream|live_query)_/)||{}).input:var I=void 0;switch(E[0]){case"map_":I=k.map_sid;break;case"list_":I=k.list_sid;break;case"document_":I=k.document_sid;break;case"stream_":I=k.stream_sid;break;case"live_query_":I=k.query_id,c=!1,!0===r.strictly_ordered&amp;&amp;(c=!0);break;default:I=void 0}this.applyEventToSubscribedEntity(I,k,u,c);break;default:nt("Dropping unknown message type ".concat(u))}}}catch(r){x.e(r)}finally{x.f()}}},{key:"applySubscriptionEstablishedMessage",value:function applySubscriptionEstablishedMessage(r,c){var u=r.object_sid,p=this.persisted.get(r.object_sid);p&amp;&amp;p.pendingCorrelationId===c?"interrupted"===r.replay_status?(nt("Event Replay for subscription to ".concat(u," (c:").concat(c,") interrupted; continuing eagerly.")),p.updatePending(null,null),this.persisted.delete(p.sid),this.backoff.reset()):"completed"===r.replay_status&amp;&amp;(nt("Event Replay for subscription to ".concat(u," (c:").concat(c,") completed. Subscription is ready.")),p.complete(r.last_event_id),this.persisted.set(r.object_sid,p),p.setSubscriptionState("established"),this.backoff.reset()):nt("Late message for ".concat(r.object_sid," (c:").concat(c,") dropped.")),this.persist()}},{key:"applySubscriptionCancelledMessage",value:function applySubscriptionCancelledMessage(r,c){var u=this.persisted.get(r.object_sid);u&amp;&amp;u.pendingCorrelationId===c?(u.updatePending(null,null),u.setSubscriptionState("none"),this.persisted.delete(r.object_sid)):nt("Late message for ".concat(r.object_sid," (c:").concat(c,") dropped.")),this.persist()}},{key:"applySubscriptionFailedMessage",value:function applySubscriptionFailedMessage(r,c){var u=r.object_sid,p=this.subscriptions.get(u),y=this.persisted.get(u);p&amp;&amp;y?y.pendingCorrelationId===c&amp;&amp;(it("Failed to subscribe on ".concat(y.sid),r.error),y.markAsFailed(r),y.setSubscriptionState("none")):!p&amp;&amp;y&amp;&amp;(this.persisted.delete(u),y.setSubscriptionState("none")),this.persist()}},{key:"applyEventToSubscribedEntity",value:function applyEventToSubscribedEntity(r,c,u,p){if(r){var y;p=p||(y=this.persisted.get(r))&amp;&amp;y.isEstablished;var w=this.subscriptions.get(r);w?(c.type=u,w.update(c,p)):nt("Message dropped for SID '".concat(r,"', for which there is no subscription."))}}},{key:"onConnectionStateChanged",value:function onConnectionStateChanged(r){this.isConnected=r,r&amp;&amp;this.poke("reconnect")}},{key:"onSubscriptionTtlElapsed",value:function onSubscriptionTtlElapsed(){this.isConnected&amp;&amp;this.poke("ttl")}},{key:"poke",value:function poke(r){nt("Triggering event replay for all subscriptions, reason=".concat(r)),this.pendingPokeReason=r,this.subscriptionTtlTimer&amp;&amp;(clearTimeout(this.subscriptionTtlTimer),this.subscriptionTtlTimer=null);var c,u=[],p=_createForOfIteratorHelper$3(this.persisted.values());try{for(p.s();!(c=p.n()).done;){var y=c.value;y.reset(),y.rejectedWithError&amp;&amp;u.push(y)}}catch(r){p.e(r)}finally{p.f()}this.persisted.clear();for(var w=0,x=u;w&lt;x.length;w++){var k=x[w];this.persisted.set(k.sid,k)}this.persist()}},{key:"shutdown",value:function shutdown(){this.backoff.reset(),this.subscriptions.clear()}}]),Subscriptions}();function messageFromErrorBody(r){if(r.body&amp;&amp;r.body.message)return r.body.message;switch(r.status){case 429:return"Throttled by server";case 404:return"Not found from server";default:return"Error from server"}}function codeFromErrorBody(r){return r.body?r.body.code:0}function mapTransportError(r){return 409===r.status?new Xe(messageFromErrorBody(r),r.status,codeFromErrorBody(r),r.body):r.status?new Ye(messageFromErrorBody(r),r.status,codeFromErrorBody(r)):r instanceof ae.TransportUnavailableError?r:new Ye(r.message,0,0)}var lt=function(){function NetworkService(r,c,u){we.default(this,NetworkService),this.clientInfo=r,this.config=c,this.transport=u}return Se.default(NetworkService,[{key:"createHeaders",value:function createHeaders(){return{"Content-Type":"application/json","Twilio-Sync-Client-Info":JSON.stringify(this.clientInfo),"Twilio-Request-Id":"RQ"+Ge.v4().replace(/-/g,"")}}},{key:"backoffConfig",value:function backoffConfig(){return Object.assign({min:4e3,max:6e4,maxAttemptsTime:9e4,randomness:.2},this.config.backoffConfig)}},{key:"executeWithRetry",value:function executeWithRetry(r){var c=this,u=!(arguments.length&gt;1&amp;&amp;void 0!==arguments[1])||arguments[1];return new Promise((function(p,y){var w=[502,503,504];u&amp;&amp;w.push(429);var x=new pe.Retrier(c.backoffConfig());x.on("attempt",(function(){r().then((function(r){return x.succeeded(r)})).catch((function(r){if(w.includes(r.status)){var c=parseInt(r.headers?r.headers["Retry-After"]:null);x.failed(mapTransportError(r),isNaN(c)?null:1e3*c)}else"Twilsock disconnected"===r.message?x.failed(mapTransportError(r)):(x.removeAllListeners(),x.cancel(),y(mapTransportError(r)))}))})),x.on("succeeded",(function(r){p(r)})),x.on("cancelled",(function(r){return y(mapTransportError(r))})),x.on("failed",(function(r){return y(mapTransportError(r))})),x.start()}))}},{key:"get",value:function get(r){var c=this,u=this.createHeaders();return nt("GET",r,"ID:",u["Twilio-Request-Id"]),this.executeWithRetry((function(){return c.transport.get(r,u,c.config.productId)}),!0)}},{key:"post",value:function post(r,c,u){var p=this,y=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]&amp;&amp;arguments[3],w=this.createHeaders();return null!=u&amp;&amp;(w["If-Match"]=u),nt("POST",r,"ID:",w["Twilio-Request-Id"]),this.executeWithRetry((function(){return p.transport.post(r,w,c,p.config.productId)}),y)}},{key:"put",value:function put(r,c,u){var p=this,y=this.createHeaders();return null!=u&amp;&amp;(y["If-Match"]=u),nt("PUT",r,"ID:",y["Twilio-Request-Id"]),this.executeWithRetry((function(){return p.transport.put(r,y,c,p.config.productId)}),!1)}},{key:"delete",value:function _delete(r){var c=this,u=this.createHeaders();return nt("DELETE",r,"ID:",u["Twilio-Request-Id"]),this.executeWithRetry((function(){return c.transport.delete(r,u,c.config.productId)}),!1)}}]),NetworkService}(),pt=function(){function SessionStorage(r,c){we.default(this,SessionStorage),this.config=r,this.storageId=null;try{this.storage=c||sessionStorage}catch(r){}}return Se.default(SessionStorage,[{key:"storageKey",value:function storageKey(r,c){return"".concat(this.storageId,"::").concat(r,"::").concat(c)}},{key:"isReady",get:function get(){return this.config.sessionStorageEnabled&amp;&amp;!!this.storageId}},{key:"updateStorageId",value:function updateStorageId(r){this.storageId=r}},{key:"store",value:function store(r,c,u){return this.isReady?this._store(this.storageKey(r,c),u):null}},{key:"read",value:function read(r,c){return this.isReady?this._read(this.storageKey(r,c)):null}},{key:"remove",value:function remove(r,c,u){if(!this.isReady)return null;try{this.storage.removeItem(this.storageKey(r,c)),u&amp;&amp;this.storage.removeItem(this.storageKey(r,u))}catch(r){}}},{key:"update",value:function update(r,c,u,p){if(!this.isReady)return null;this._apply(this.storageKey(r,c),p),u&amp;&amp;this._apply(this.storageKey(r,u),p)}},{key:"_store",value:function _store(r,c){try{this.storage.setItem(r,JSON.stringify(c))}catch(r){}}},{key:"_read",value:function _read(r){try{var c=this.storage.getItem(r);if(c)return JSON.parse(c)}catch(r){}return null}},{key:"_apply",value:function _apply(r,c){var u=this._read(r);if(!u)return!1;this._store(r,Object.assign(u,c))}}]),SessionStorage}();function _createForOfIteratorHelper$2(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$2(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$2(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$2(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$2(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var dt=function(){function SyncEntity(r,c){we.default(this,SyncEntity),this.services=r,this.removalHandler=c,this.subscriptionState="none",this._attachedListeners=new Map}return Se.default(SyncEntity,[{key:"_advanceLastEventId",value:function _advanceLastEventId(r,c){}},{key:"reportFailure",value:function reportFailure(r){404===r.status?this.onRemoved(!1):this.broadcastEventToListeners("failure",r)}},{key:"_subscribe",value:function _subscribe(){this.services.router._subscribe(this.sid,this)}},{key:"_unsubscribe",value:function _unsubscribe(){this.services.router._unsubscribe(this.sid)}},{key:"_setSubscriptionState",value:function _setSubscriptionState(r){this.subscriptionState=r,this.broadcastEventToListeners("_subscriptionStateChanged",r)}},{key:"close",value:function close(){this._unsubscribe(),null!=this.removalHandler&amp;&amp;this.removalHandler(this.type,this.sid,this.uniqueName)}},{key:"attach",value:function attach(r){var c=r.listenerUuid;this._attachedListeners.get(c)||(this._attachedListeners.size||this._subscribe(),this._attachedListeners.set(c,r))}},{key:"detach",value:function detach(r){this._attachedListeners.delete(r),this._attachedListeners.size||this.close()}},{key:"broadcastEventToListeners",value:function broadcastEventToListeners(r,c){var u,p=_createForOfIteratorHelper$2(this._attachedListeners.values());try{for(p.s();!(u=p.n()).done;){u.value.emit(r,c)}}catch(r){p.e(r)}finally{p.f()}}}]),SyncEntity}(),ft=function(){function MergingQueue(r){we.default(this,MergingQueue),je.default(this,"queuedRequests",[]),je.default(this,"isRequestInFlight",!1),this.inputMergingFunction=r}return Se.default(MergingQueue,[{key:"add",value:function add(r,c){var u=this,p=new Promise((function(p,y){return u.queuedRequests.push({input:r,requestFunction:c,resolve:p,reject:y})}));return this.wakeupQueue(),p}},{key:"squashAndAdd",value:function squashAndAdd(r,c){var u,p=this.queuedRequests;this.queuedRequests=[],p.length&gt;0?(u=p.map((function(r){return r.input})).reduce(this.inputMergingFunction),u=this.inputMergingFunction(u,r)):u=r;var y=this.add(u,c);return p.forEach((function(r){return y.then(r.resolve,r.reject)})),y}},{key:"isEmpty",value:function isEmpty(){return 0===this.queuedRequests.length&amp;&amp;!this.isRequestInFlight}},{key:"wakeupQueue",value:function wakeupQueue(){var r=this;if(0!==this.queuedRequests.length&amp;&amp;!this.isRequestInFlight){var c=this.queuedRequests.shift();this.isRequestInFlight=!0,c.requestFunction(c.input).then(c.resolve,c.reject).then((function(c){r.isRequestInFlight=!1,r.wakeupQueue()}))}}}]),MergingQueue}(),ht=function(){function NamespacedMergingQueue(r){we.default(this,NamespacedMergingQueue),je.default(this,"queueByNamespaceKey",new Map),this.inputReducer=r}var r,c,u;return Se.default(NamespacedMergingQueue,[{key:"add",value:(u=ve.default(De.default.mark((function _callee(r,c,u){return De.default.wrap((function _callee$(p){for(;;)switch(p.prev=p.next){case 0:return p.abrupt("return",this.invokeQueueMethod(r,(function(r){return r.add(c,u)})));case 1:case"end":return p.stop()}}),_callee,this)}))),function add(r,c,p){return u.apply(this,arguments)})},{key:"squashAndAdd",value:(c=ve.default(De.default.mark((function _callee2(r,c,u){return De.default.wrap((function _callee2$(p){for(;;)switch(p.prev=p.next){case 0:return p.abrupt("return",this.invokeQueueMethod(r,(function(r){return r.squashAndAdd(c,u)})));case 1:case"end":return p.stop()}}),_callee2,this)}))),function squashAndAdd(r,u,p){return c.apply(this,arguments)})},{key:"invokeQueueMethod",value:(r=ve.default(De.default.mark((function _callee3(r,c){var u,p;return De.default.wrap((function _callee3$(y){for(;;)switch(y.prev=y.next){case 0:return this.queueByNamespaceKey.has(r)||this.queueByNamespaceKey.set(r,new ft(this.inputReducer)),u=this.queueByNamespaceKey.get(r),p=c(u),this.queueByNamespaceKey.get(r).isEmpty()&amp;&amp;this.queueByNamespaceKey.delete(r),y.abrupt("return",p);case 5:case"end":return y.stop()}}),_callee3,this)}))),function invokeQueueMethod(c,u){return r.apply(this,arguments)})}]),NamespacedMergingQueue}();function _createSuper$6(r){var c=function _isNativeReflectConstruct$6(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var mt=function(r){Pe.default(Closeable,r);var c=_createSuper$6(Closeable);function Closeable(){var r;return we.default(this,Closeable),(r=c.call(this)).closed=!1,r.uuid=de.v4(),r}return Se.default(Closeable,[{key:"listenerUuid",get:function get(){return this.uuid}},{key:"close",value:function close(){this.removeAllListeners(),this.closed=!0}},{key:"ensureNotClosed",value:function ensureNotClosed(){if(this.closed)throw new Error("Invalid operation on closed object")}}]),Closeable}(EventEmitter);function _createSuper$5(r){var c=function _isNativeReflectConstruct$5(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var yt=function(r){Pe.default(SyncDocumentImpl,r);var c,u,p,y,w,x,k,E,I,K=_createSuper$5(SyncDocumentImpl);function SyncDocumentImpl(r,c,u){var p;we.default(this,SyncDocumentImpl),p=K.call(this,r,u),je.default(Oe.default(p),"isDeleted",!1);return p.updateMergingQueue=new ft((function updateRequestReducer(r,c){return"number"==typeof c.ttl?{ttl:c.ttl}:r})),p.descriptor=c,p.descriptor.data=p.descriptor.data||{},p.descriptor.date_updated=new Date(p.descriptor.date_updated),p}return Se.default(SyncDocumentImpl,[{key:"uri",get:function get(){return this.descriptor.url}},{key:"revision",get:function get(){return this.descriptor.revision}},{key:"lastEventId",get:function get(){return this.descriptor.last_event_id}},{key:"dateExpires",get:function get(){return this.descriptor.date_expires}},{key:"type",get:function get(){return"document"}},{key:"indexName",get:function get(){}},{key:"queryString",get:function get(){}},{key:"sid",get:function get(){return this.descriptor.sid}},{key:"data",get:function get(){return this.descriptor.data}},{key:"dateUpdated",get:function get(){return this.descriptor.date_updated}},{key:"uniqueName",get:function get(){return this.descriptor.unique_name||null}},{key:"_update",value:function _update(r){switch(r.date_created=new Date(r.date_created),r.type){case"document_updated":if(r.id&lt;=this.lastEventId){rt("Document update skipped, current:",this.lastEventId,", remote:",r.id);break}var c=void 0!==this.descriptor.data?deepClone(this.descriptor.data):null;this.descriptor.last_event_id=r.id,this.descriptor.revision=r.document_revision,this.descriptor.date_updated=r.date_created,this.descriptor.data=r.document_data,this.broadcastEventToListeners("updated",{data:r.document_data,isLocal:!1,previousData:c}),this.services.storage.update(this.type,this.sid,this.uniqueName,{last_event_id:r.id,revision:r.document_revision,date_updated:r.date_created,data:r.document_data});break;case"document_removed":this.onRemoved(!1)}}},{key:"set",value:(I=ve.default(De.default.mark((function _callee(r,c){var u,p=this;return De.default.wrap((function _callee$(y){for(;;)switch(y.prev=y.next){case 0:return u=c||{},y.abrupt("return",this.updateMergingQueue.squashAndAdd(u,(function(c){return p._setUnconditionally(r,c.ttl)})));case 2:case"end":return y.stop()}}),_callee,this)}))),function set(r,c){return I.apply(this,arguments)})},{key:"mutate",value:(E=ve.default(De.default.mark((function _callee2(r,c){var u,p=this;return De.default.wrap((function _callee2$(y){for(;;)switch(y.prev=y.next){case 0:return u=c||{},y.abrupt("return",this.updateMergingQueue.add(u,(function(c){return p._setWithIfMatch(r,c.ttl)})));case 2:case"end":return y.stop()}}),_callee2,this)}))),function mutate(r,c){return E.apply(this,arguments)})},{key:"update",value:(k=ve.default(De.default.mark((function _callee3(r,c){return De.default.wrap((function _callee3$(u){for(;;)switch(u.prev=u.next){case 0:return u.abrupt("return",this.mutate((function(c){return Object.assign(c,r)}),c));case 1:case"end":return u.stop()}}),_callee3,this)}))),function update(r,c){return k.apply(this,arguments)})},{key:"setTtl",value:(x=ve.default(De.default.mark((function _callee4(r){var c;return De.default.wrap((function _callee4$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this._postUpdateToServer({ttl:r});case 2:c=u.sent,this.descriptor.date_expires=c.date_expires;case 4:case"end":return u.stop()}}),_callee4,this)}))),function setTtl(r){return x.apply(this,arguments)})},{key:"_setUnconditionally",value:(w=ve.default(De.default.mark((function _callee5(r,c){var u;return De.default.wrap((function _callee5$(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,this._postUpdateToServer({data:r,revision:void 0,ttl:c});case 2:return u=p.sent,this._handleSuccessfulUpdateResult(u),p.abrupt("return",this.descriptor.data);case 5:case"end":return p.stop()}}),_callee5,this)}))),function _setUnconditionally(r,c){return w.apply(this,arguments)})},{key:"_setWithIfMatch",value:(y=ve.default(De.default.mark((function _callee6(r,c){var u,p,y;return De.default.wrap((function _callee6$(w){for(;;)switch(w.prev=w.next){case 0:if(!(u=r(deepClone(this.descriptor.data)))){w.next=22;break}return p=this.revision,w.prev=3,w.next=6,this._postUpdateToServer({data:u,revision:p,ttl:c});case 6:return y=w.sent,this._handleSuccessfulUpdateResult(y),w.abrupt("return",this.descriptor.data);case 11:if(w.prev=11,w.t0=w.catch(3),412!==w.t0.status){w.next=19;break}return w.next=16,this._softSync();case 16:return w.abrupt("return",this._setWithIfMatch(r));case 19:throw w.t0;case 20:w.next=23;break;case 22:return w.abrupt("return",this.descriptor.data);case 23:case"end":return w.stop()}}),_callee6,this,[[3,11]])}))),function _setWithIfMatch(r,c){return y.apply(this,arguments)})},{key:"_handleSuccessfulUpdateResult",value:function _handleSuccessfulUpdateResult(r){if(!(r.last_event_id&lt;=this.descriptor.last_event_id)){var c=void 0!==this.descriptor.data?deepClone(this.descriptor.data):null;this.descriptor.revision=r.revision,this.descriptor.data=r.data,this.descriptor.last_event_id=r.last_event_id,this.descriptor.date_expires=r.date_expires,this.descriptor.date_updated=new Date(r.date_updated),this.services.storage.update(this.type,this.sid,this.uniqueName,{last_event_id:r.last_event_id,revision:r.revision,date_updated:r.date_updated,data:r.data}),this.broadcastEventToListeners("updated",{data:this.descriptor.data,isLocal:!0,previousData:c})}}},{key:"_postUpdateToServer",value:(p=ve.default(De.default.mark((function _callee7(r){var c,u,p;return De.default.wrap((function _callee7$(y){for(;;)switch(y.prev=y.next){case 0:if(this.isDeleted){y.next=17;break}return c={data:r.data},void 0!==r.ttl&amp;&amp;(c.ttl=r.ttl),u=r.revision,y.prev=4,y.next=7,this.services.network.post(this.uri,c,u);case 7:return p=y.sent,y.abrupt("return",{revision:p.body.revision,data:r.data,last_event_id:p.body.last_event_id,date_updated:p.body.date_updated,date_expires:p.body.date_expires});case 11:throw y.prev=11,y.t0=y.catch(4),404===y.t0.status&amp;&amp;this.onRemoved(!1),y.t0;case 15:y.next=18;break;case 17:return y.abrupt("return",Promise.reject(new Ye("The Document has been removed",404,54100)));case 18:case"end":return y.stop()}}),_callee7,this,[[4,11]])}))),function _postUpdateToServer(r){return p.apply(this,arguments)})},{key:"_softSync",value:(u=ve.default(De.default.mark((function _callee8(){var r=this;return De.default.wrap((function _callee8$(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",this.services.network.get(this.uri).then((function(c){var u={type:"document_updated",id:c.body.last_event_id,document_revision:c.body.revision,document_data:c.body.data,date_created:c.body.date_updated};return r._update(u),r})).catch((function(c){404===c.status?r.onRemoved(!1):it("Can't get updates for ".concat(r.sid,":"),c)})));case 1:case"end":return c.stop()}}),_callee8,this)}))),function _softSync(){return u.apply(this,arguments)})},{key:"onRemoved",value:function onRemoved(r){if(!this.isDeleted){var c=void 0!==this.descriptor.data?deepClone(this.descriptor.data):null;this.isDeleted=!0,this._unsubscribe(),this.removalHandler(this.type,this.sid,this.uniqueName),this.broadcastEventToListeners("removed",{isLocal:r,previousData:c})}}},{key:"removeDocument",value:(c=ve.default(De.default.mark((function _callee9(){return De.default.wrap((function _callee9$(r){for(;;)switch(r.prev=r.next){case 0:if(this.isDeleted){r.next=6;break}return r.next=3,this.services.network.delete(this.uri);case 3:this.onRemoved(!0),r.next=7;break;case 6:return r.abrupt("return",Promise.reject(new Ye("The Document has been removed",404,54100)));case 7:case"end":return r.stop()}}),_callee9,this)}))),function removeDocument(){return c.apply(this,arguments)})}],[{key:"type",get:function get(){return"document"}}]),SyncDocumentImpl}(dt),gt=function(r){Pe.default(SyncDocument,r);var c,u,p,y,w,x=_createSuper$5(SyncDocument);function SyncDocument(r){var c;return we.default(this,SyncDocument),(c=x.call(this)).syncDocumentImpl=r,c.syncDocumentImpl.attach(Oe.default(c)),c}return Se.default(SyncDocument,[{key:"uri",get:function get(){return this.syncDocumentImpl.uri}},{key:"revision",get:function get(){return this.syncDocumentImpl.revision}},{key:"lastEventId",get:function get(){return this.syncDocumentImpl.lastEventId}},{key:"dateExpires",get:function get(){return this.syncDocumentImpl.dateExpires}},{key:"type",get:function get(){return yt.type}},{key:"sid",get:function get(){return this.syncDocumentImpl.sid}},{key:"data",get:function get(){return this.syncDocumentImpl.data}},{key:"dateUpdated",get:function get(){return this.syncDocumentImpl.dateUpdated}},{key:"uniqueName",get:function get(){return this.syncDocumentImpl.uniqueName}},{key:"set",value:(w=ve.default(De.default.mark((function _callee10(r,c){return De.default.wrap((function _callee10$(u){for(;;)switch(u.prev=u.next){case 0:return this.ensureNotClosed(),u.abrupt("return",this.syncDocumentImpl.set(r,c));case 2:case"end":return u.stop()}}),_callee10,this)}))),function set(r,c){return w.apply(this,arguments)})},{key:"mutate",value:(y=ve.default(De.default.mark((function _callee11(r,c){return De.default.wrap((function _callee11$(u){for(;;)switch(u.prev=u.next){case 0:return this.ensureNotClosed(),u.abrupt("return",this.syncDocumentImpl.mutate(r,c));case 2:case"end":return u.stop()}}),_callee11,this)}))),function mutate(r,c){return y.apply(this,arguments)})},{key:"update",value:(p=ve.default(De.default.mark((function _callee12(r,c){return De.default.wrap((function _callee12$(u){for(;;)switch(u.prev=u.next){case 0:return this.ensureNotClosed(),u.abrupt("return",this.syncDocumentImpl.update(r,c));case 2:case"end":return u.stop()}}),_callee12,this)}))),function update(r,c){return p.apply(this,arguments)})},{key:"setTtl",value:(u=ve.default(De.default.mark((function _callee13(r){return De.default.wrap((function _callee13$(c){for(;;)switch(c.prev=c.next){case 0:return this.ensureNotClosed(),c.abrupt("return",this.syncDocumentImpl.setTtl(r));case 2:case"end":return c.stop()}}),_callee13,this)}))),function setTtl(r){return u.apply(this,arguments)})},{key:"removeDocument",value:(c=ve.default(De.default.mark((function _callee14(){return De.default.wrap((function _callee14$(r){for(;;)switch(r.prev=r.next){case 0:return this.ensureNotClosed(),r.abrupt("return",this.syncDocumentImpl.removeDocument());case 2:case"end":return r.stop()}}),_callee14,this)}))),function removeDocument(){return c.apply(this,arguments)})},{key:"close",value:function close(){We.default(Ie.default(SyncDocument.prototype),"close",this).call(this),this.syncDocumentImpl.detach(this.listenerUuid)}}],[{key:"type",get:function get(){return yt.type}}]),SyncDocument}(mt);je.default(gt,"removed","removed"),je.default(gt,"updated","updated"),__decorate([ie.validateTypesAsync(ie.pureObject,["undefined",ie.objectSchema("document metadata",{ttl:[ie.nonNegativeInteger,"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object,Object]),__metadata("design:returntype",Promise)],gt.prototype,"set",null),__decorate([ie.validateTypesAsync("function",["undefined",ie.objectSchema("document metadata",{ttl:[ie.nonNegativeInteger,"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Function,Object]),__metadata("design:returntype",Promise)],gt.prototype,"mutate",null),__decorate([ie.validateTypesAsync(ie.pureObject,["undefined",ie.objectSchema("document metadata",{ttl:[ie.nonNegativeInteger,"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object,Object]),__metadata("design:returntype",Promise)],gt.prototype,"update",null),__decorate([ie.validateTypesAsync(ie.nonNegativeInteger),__metadata("design:type",Function),__metadata("design:paramtypes",[Number]),__metadata("design:returntype",Promise)],gt.prototype,"setTtl",null);var vt=function(){function SyncListItem(r){we.default(this,SyncListItem),this.descriptor=r}return Se.default(SyncListItem,[{key:"uri",get:function get(){return this.descriptor.uri}},{key:"revision",get:function get(){return this.descriptor.revision}},{key:"lastEventId",get:function get(){return this.descriptor.lastEventId}},{key:"dateUpdated",get:function get(){return this.descriptor.dateUpdated}},{key:"dateExpires",get:function get(){return this.descriptor.dateExpires}},{key:"index",get:function get(){return this.descriptor.index}},{key:"data",get:function get(){return this.descriptor.data}},{key:"update",value:function update(r,c,u,p){return this.descriptor.lastEventId=r,this.descriptor.revision=c,this.descriptor.data=u,this.descriptor.dateUpdated=p,this}},{key:"updateDateExpires",value:function updateDateExpires(r){this.descriptor.dateExpires=r}}]),SyncListItem}(),bt=function(){function Paginator(r,c,u,p){we.default(this,Paginator),this.prevToken=u,this.nextToken=p,this.items=r,this.source=c}var r,c;return Se.default(Paginator,[{key:"hasNextPage",get:function get(){return!!this.nextToken}},{key:"hasPrevPage",get:function get(){return!!this.prevToken}},{key:"nextPage",value:(c=ve.default(De.default.mark((function _callee(){return De.default.wrap((function _callee$(r){for(;;)switch(r.prev=r.next){case 0:if(this.hasNextPage){r.next=2;break}throw new Error("No next page");case 2:return r.abrupt("return",this.source(this.nextToken));case 3:case"end":return r.stop()}}),_callee,this)}))),function nextPage(){return c.apply(this,arguments)})},{key:"prevPage",value:(r=ve.default(De.default.mark((function _callee2(){return De.default.wrap((function _callee2$(r){for(;;)switch(r.prev=r.next){case 0:if(this.hasPrevPage){r.next=2;break}throw new Error("No previous page");case 2:return r.abrupt("return",this.source(this.prevToken));case 3:case"end":return r.stop()}}),_callee2,this)}))),function prevPage(){return r.apply(this,arguments)})}]),Paginator}();function _createForOfIteratorHelper$1(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$1(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$1(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$1(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$1(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var _t=function(){function Node(r,c){we.default(this,Node),this.balanceFactor=0,this.key=r,this.value=c,this.parent=null,this.left=null,this.right=null}return Se.default(Node,[{key:"isRoot",get:function get(){return null===this.parent}},{key:"isLeaf",get:function get(){return null===this.left&amp;&amp;null===this.right}},{key:"isLeftChild",get:function get(){return this.parent.left===this}},{key:"update",value:function update(r){this.value=r}},{key:"replace",value:function replace(r,c){r&amp;&amp;(this.left===c?this.left=c:this.right===c&amp;&amp;(this.right=c))}}]),Node}(),wt=function(){function TreeMap(r,c){we.default(this,TreeMap),this.isLessThan=r||function(r,c){return r&lt;c},this.isEqual=c||function(r,c){return r===c},this.root=null,this.count=null}return Se.default(TreeMap,[{key:"size",get:function get(){return this.count}},{key:"clear",value:function clear(){this.root=null,this.count=0}},{key:"set",value:function set(r,c){var u=this.getNode(r);u?u.update(c):this.insert(r,c)}},{key:"insert",value:function insert(r,c){var u=new _t(r,c);if(this.count++,this.root){for(var p=this.root;;)if(this.isLessThan(r,p.key)){if(!p.left){p.left=u;break}p=p.left}else{if(!p.right){p.right=u;break}p=p.right}for(u.parent=p,p=u;p.parent;){var y=p.parent,w=y.balanceFactor;if(p.isLeftChild?y.balanceFactor++:y.balanceFactor--,Math.abs(y.balanceFactor)&lt;Math.abs(w))break;if(y.balanceFactor&lt;-1||y.balanceFactor&gt;1){this.rebalance(y);break}p=y}}else this.root=u}},{key:"get",value:function get(r){for(var c=this.root;c;){if(this.isEqual(r,c.key))return c.value;c=this.isLessThan(r,c.key)?c.left:c.right}return null}},{key:"delete",value:function _delete(r){var c=this.getNode(r);if(!c||c.key!==r)return null;var u=c.parent,p=c.left,y=c.right;if(!!p!=!!y){var w=p||y;u||w?u&amp;&amp;!w?this.root=w:(u.replace(c,null),this.rebalance(u)):this.root=null}else{for(var x=c.left;x.right;)x=x.right;if(c.left===x)c.isRoot?(this.root=x,x.parent=null):(c.isLeftChild?c.parent.left=x:c.parent.right=x,x.parent=c.parent),x.right=c.right,x.right.parent=x,x.balanceFactor=c.balanceFactor,c={parent:x,isLeftChild:!0};else{var k=x.parent,E=x.left;k.right=E,E&amp;&amp;(E.parent=k),c.isRoot?(this.root=x,x.parent=null):(c.isLeftChild?c.parent.left=x:c.parent.right=x,x.parent=c.parent),x.right=c.right,x.right.parent=x,x.left=c.left,x.left.parent=x,x.balanceFactor=c.balanceFactor,c={parent:k,isLeftChild:!1}}}for(this.count--;c.parent;){var I=c.parent,K=I.balanceFactor;if(c.isLeftChild?I.balanceFactor-=1:I.balanceFactor+=1,Math.abs(I.balanceFactor)&gt;Math.abs(K)){if(!(I.balanceFactor&lt;-1||I.balanceFactor&gt;1))break;if(this.rebalance(I),0!==I.parent.balanceFactor)break;c=I.parent}else c=I}return null}},{key:"getNode",value:function getNode(r){for(var c=this.root;c;){if(this.isEqual(r,c.key))return c;c=this.isLessThan(r,c.key)?c.left:c.right}return null}},{key:"rebalance",value:function rebalance(r){r.balanceFactor&lt;0?r.right.balanceFactor&gt;0?(this.rotateRight(r.right),this.rotateLeft(r)):this.rotateLeft(r):r.balanceFactor&gt;0&amp;&amp;(r.left.balanceFactor&lt;0?(this.rotateLeft(r.left),this.rotateRight(r)):this.rotateRight(r))}},{key:"rotateLeft",value:function rotateLeft(r){var c=r.right;r.right=c.left,null!==c.left&amp;&amp;(c.left.parent=r),c.parent=r.parent,null===c.parent?this.root=c:r.isLeftChild?c.parent.left=c:c.parent.right=c,c.left=r,r.parent=c,r.balanceFactor=r.balanceFactor+1-Math.min(c.balanceFactor,0),c.balanceFactor=c.balanceFactor+1-Math.max(r.balanceFactor,0)}},{key:"rotateRight",value:function rotateRight(r){var c=r.left;r.left=c.right,null!==c.right&amp;&amp;(c.right.parent=r),c.parent=r.parent,null===c.parent?this.root=c:r.isLeftChild?c.parent.left=c:c.parent.right=c,c.right=r,r.parent=c,r.balanceFactor=r.balanceFactor-1-Math.min(c.balanceFactor,0),c.balanceFactor=c.balanceFactor-1-Math.max(r.balanceFactor,0)}},{key:Symbol.iterator,value:De.default.mark((function value(){var r,c,u;return De.default.wrap((function value$(p){for(;;)switch(p.prev=p.next){case 0:r=_createForOfIteratorHelper$1(this.getIterator()),p.prev=1,r.s();case 3:if((c=r.n()).done){p.next=9;break}return u=c.value,p.next=7,u;case 7:p.next=3;break;case 9:p.next=14;break;case 11:p.prev=11,p.t0=p.catch(1),r.e(p.t0);case 14:return p.prev=14,r.f(),p.finish(14);case 17:case"end":return p.stop()}}),value,this,[[1,11,14,17]])}))},{key:"getIterator",value:De.default.mark((function getIterator(){var r,c,u,p=arguments;return De.default.wrap((function getIterator$(y){for(;;)switch(y.prev=y.next){case 0:r=p.length&gt;0&amp;&amp;void 0!==p[0]?p[0]:null,c=this.root;case 2:if(!c){y.next=8;break}if(!this.isEqual(r,c.key)&amp;&amp;(null!==r||c.left)){y.next=5;break}return y.abrupt("break",8);case 5:c=this.isLessThan(r,c.key)||null===r?c.left:c.right,y.next=2;break;case 8:if(c){y.next=10;break}return y.abrupt("return",null);case 10:u=!0;case 11:if(!u){y.next=29;break}return y.next=14,[c.key,c.value];case 14:if(u=!1,!c.right){y.next=21;break}for(c=c.right;c.left;)c=c.left;u=!0,y.next=27;break;case 21:if(!c.parent){y.next=26;break}u=c.parent.left===c,c=c.parent,y.next=27;break;case 26:return y.abrupt("break",37);case 27:y.next=35;break;case 29:if(!c.parent){y.next=34;break}u=c.parent.left===c,c=c.parent,y.next=35;break;case 34:return y.abrupt("break",37);case 35:y.next=11;break;case 37:return y.abrupt("return",null);case 38:case"end":return y.stop()}}),getIterator,this)}))},{key:"getReverseIterator",value:De.default.mark((function getReverseIterator(){var r,c,u,p=arguments;return De.default.wrap((function getReverseIterator$(y){for(;;)switch(y.prev=y.next){case 0:r=p.length&gt;0&amp;&amp;void 0!==p[0]?p[0]:null,c=this.root;case 2:if(!c){y.next=8;break}if(!this.isEqual(r,c.key)&amp;&amp;(null!==r||c.right)){y.next=5;break}return y.abrupt("break",8);case 5:c=this.isLessThan(r,c.key)&amp;&amp;null!==r?c.left:c.right,y.next=2;break;case 8:if(c){y.next=10;break}return y.abrupt("return",null);case 10:u=!0;case 11:if(!u){y.next=29;break}return y.next=14,[c.key,c.value];case 14:if(u=!1,!c.left){y.next=21;break}for(c=c.left;c.right;)c=c.right;u=!0,y.next=27;break;case 21:if(!c.parent){y.next=26;break}u=c.parent.right===c,c=c.parent,y.next=27;break;case 26:return y.abrupt("break",37);case 27:y.next=35;break;case 29:if(!c.parent){y.next=34;break}u=c.parent.right===c,c=c.parent,y.next=35;break;case 34:return y.abrupt("break",37);case 35:y.next=11;break;case 37:return y.abrupt("return",null);case 38:case"end":return y.stop()}}),getReverseIterator,this)}))}]),TreeMap}();function _createForOfIteratorHelper(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var xt=function(){function Entry(r,c){we.default(this,Entry),this.value=r,this.revision=c||0}return Se.default(Entry,[{key:"isValid",get:function get(){return!0}}]),Entry}(),kt=function(){function Tombstone(r){we.default(this,Tombstone),this.revision=r}return Se.default(Tombstone,[{key:"isValid",get:function get(){return!1}}]),Tombstone}(),St=function(){function Cache(){we.default(this,Cache),this.items=new wt}return Se.default(Cache,[{key:"store",value:function store(r,c,u){var p=this.items.get(r);return p&amp;&amp;p.revision&gt;u?p.isValid?p.value:null:(this.items.set(r,new xt(c,u)),c)}},{key:"delete",value:function _delete(r,c){var u=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]&amp;&amp;arguments[2],p=this.items.get(r);(!p||p.revision&lt;c||p&amp;&amp;!0===u)&amp;&amp;this.items.set(r,new kt(c))}},{key:"isKnown",value:function isKnown(r,c){var u=this.items.get(r);return u&amp;&amp;u.revision&gt;=c}},{key:"get",value:function get(r){var c=this.items.get(r);return c&amp;&amp;c.isValid?c.value:null}},{key:"has",value:function has(r){var c=this.items.get(r);return c&amp;&amp;c.isValid}},{key:"forEach",value:function forEach(r){if(this.items){var c,u=_createForOfIteratorHelper(this.items);try{for(u.s();!(c=u.n()).done;){var p=$e.default(c.value,2),y=p[0],w=p[1];w.isValid&amp;&amp;r(y,w.value)}}catch(r){u.e(r)}finally{u.f()}}}}]),Cache}();function _createSuper$4(r){var c=function _isNativeReflectConstruct$4(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var Et=function(r){Pe.default(SyncListImpl,r);var c,u,p,y,w,x,k,E,I,K,J,oe,ie,ae,se=_createSuper$4(SyncListImpl);function SyncListImpl(r,c,u){var p;we.default(this,SyncListImpl);return(p=se.call(this,r,u)).updateMergingQueue=new ht((function updateRequestReducer(r,c){return"number"==typeof c.ttl?{ttl:c.ttl}:r})),p.cache=new St,p.descriptor=c,p.descriptor.date_updated=new Date(p.descriptor.date_updated),p}return Se.default(SyncListImpl,[{key:"uri",get:function get(){return this.descriptor.url}},{key:"revision",get:function get(){return this.descriptor.revision}},{key:"lastEventId",get:function get(){return this.descriptor.last_event_id}},{key:"links",get:function get(){return this.descriptor.links}},{key:"dateExpires",get:function get(){return this.descriptor.date_expires}},{key:"type",get:function get(){return"list"}},{key:"indexName",get:function get(){}},{key:"queryString",get:function get(){}},{key:"sid",get:function get(){return this.descriptor.sid}},{key:"uniqueName",get:function get(){return this.descriptor.unique_name||null}},{key:"dateUpdated",get:function get(){return this.descriptor.date_updated}},{key:"_addOrUpdateItemOnServer",value:(ae=ve.default(De.default.mark((function _callee(r,c,u,p){var y,w;return De.default.wrap((function _callee$(x){for(;;)switch(x.prev=x.next){case 0:return y={data:c},void 0!==p&amp;&amp;(y.ttl=p),x.next=4,this.services.network.post(r,y,u);case 4:return(w=x.sent).body.data=c,w.body.date_updated=new Date(w.body.date_updated),x.abrupt("return",w.body);case 8:case"end":return x.stop()}}),_callee,this)}))),function _addOrUpdateItemOnServer(r,c,u,p){return ae.apply(this,arguments)})},{key:"push",value:(ie=ve.default(De.default.mark((function _callee2(r,c){var u,p,y;return De.default.wrap((function _callee2$(w){for(;;)switch(w.prev=w.next){case 0:return u=(c||{}).ttl,w.next=3,this._addOrUpdateItemOnServer(this.links.items,r,void 0,u);case 3:return p=w.sent,y=Number(p.index),this._handleItemMutated(y,p.url,p.last_event_id,p.revision,r,p.date_updated,p.date_expires,!0,!1),w.abrupt("return",this.cache.get(y));case 7:case"end":return w.stop()}}),_callee2,this)}))),function push(r,c){return ie.apply(this,arguments)})},{key:"set",value:(oe=ve.default(De.default.mark((function _callee3(r,c,u){var p,y=this;return De.default.wrap((function _callee3$(w){for(;;)switch(w.prev=w.next){case 0:return p=u||{},w.abrupt("return",this.updateMergingQueue.squashAndAdd(r,p,(function(u){return y._updateItemUnconditionally(r,c,u.ttl)})));case 2:case"end":return w.stop()}}),_callee3,this)}))),function set(r,c,u){return oe.apply(this,arguments)})},{key:"_updateItemUnconditionally",value:(J=ve.default(De.default.mark((function _callee4(r,c,u){var p,y;return De.default.wrap((function _callee4$(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.get(r);case 2:return p=w.sent,w.next=5,this._addOrUpdateItemOnServer(p.uri,c,void 0,u);case 5:return y=w.sent,this._handleItemMutated(r,y.url,y.last_event_id,y.revision,y.data,y.date_updated,y.date_expires,!1,!1),w.abrupt("return",this.cache.get(r));case 8:case"end":return w.stop()}}),_callee4,this)}))),function _updateItemUnconditionally(r,c,u){return J.apply(this,arguments)})},{key:"_updateItemWithIfMatch",value:(K=ve.default(De.default.mark((function _callee5(r,c,u){var p,y,w,x;return De.default.wrap((function _callee5$(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,this.get(r);case 2:if(p=k.sent,!(y=c(deepClone(p.data)))){k.next=25;break}return w=p.revision,k.prev=6,k.next=9,this._addOrUpdateItemOnServer(p.uri,y,w,u);case 9:return x=k.sent,this._handleItemMutated(r,x.url,x.last_event_id,x.revision,x.data,x.date_updated,x.date_expires,!1,!1),k.abrupt("return",this.cache.get(r));case 14:if(k.prev=14,k.t0=k.catch(6),412!==k.t0.status){k.next=22;break}return k.next=19,this._getItemFromServer(r);case 19:return k.abrupt("return",this._updateItemWithIfMatch(r,c,u));case 22:throw k.t0;case 23:k.next=26;break;case 25:return k.abrupt("return",p);case 26:case"end":return k.stop()}}),_callee5,this,[[6,14]])}))),function _updateItemWithIfMatch(r,c,u){return K.apply(this,arguments)})},{key:"mutate",value:(I=ve.default(De.default.mark((function _callee6(r,c,u){var p,y=this;return De.default.wrap((function _callee6$(w){for(;;)switch(w.prev=w.next){case 0:return p=u||{},w.abrupt("return",this.updateMergingQueue.add(r,p,(function(u){return y._updateItemWithIfMatch(r,c,u.ttl)})));case 2:case"end":return w.stop()}}),_callee6,this)}))),function mutate(r,c,u){return I.apply(this,arguments)})},{key:"update",value:(E=ve.default(De.default.mark((function _callee7(r,c,u){return De.default.wrap((function _callee7$(p){for(;;)switch(p.prev=p.next){case 0:return p.abrupt("return",this.mutate(r,(function(r){return Object.assign(r,c)}),u));case 1:case"end":return p.stop()}}),_callee7,this)}))),function update(r,c,u){return E.apply(this,arguments)})},{key:"remove",value:(k=ve.default(De.default.mark((function _callee8(r){var c,u,p;return De.default.wrap((function _callee8$(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,this.get(r);case 2:return c=y.sent,u=deepClone(c.data),y.next=6,this.services.network.delete(c.uri);case 6:p=y.sent,this._handleItemRemoved(r,p.body.last_event_id,u,new Date(p.body.date_updated),!1);case 8:case"end":return y.stop()}}),_callee8,this)}))),function remove(r){return k.apply(this,arguments)})},{key:"get",value:function(){var r=ve.default(De.default.mark((function _callee9(r){var c;return De.default.wrap((function _callee9$(u){for(;;)switch(u.prev=u.next){case 0:if(!(c=this.cache.get(r))){u.next=5;break}return u.abrupt("return",c);case 5:return u.abrupt("return",this._getItemFromServer(r));case 6:case"end":return u.stop()}}),_callee9,this)})));return function get(c){return r.apply(this,arguments)}}()},{key:"_getItemFromServer",value:(x=ve.default(De.default.mark((function _callee10(r){var c;return De.default.wrap((function _callee10$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this.queryItems({index:r});case 2:if(!((c=u.sent).items.length&lt;1)){u.next=7;break}throw new Ye("No item with index ".concat(r," found"),404,54151);case 7:return u.abrupt("return",c.items[0]);case 8:case"end":return u.stop()}}),_callee10,this)}))),function _getItemFromServer(r){return x.apply(this,arguments)})},{key:"queryItems",value:function(){var r=ve.default(De.default.mark((function _callee11(r){var c,u,p,y,w=this;return De.default.wrap((function _callee11$(x){for(;;)switch(x.prev=x.next){case 0:return r=r||{},c=new Je(this.links.items).queryParam("From",r.from).queryParam("PageSize",r.limit).queryParam("Index",r.index).queryParam("PageToken",r.pageToken).queryParam("Order",r.order).build(),x.next=4,this.services.network.get(c);case 4:return u=x.sent,p=u.body.items.map((function(r){return r.date_updated=new Date(r.date_updated),w.cache.get(r.index)?w._handleItemMutated(r.index,r.url,r.last_event_id,r.revision,r.data,r.date_updated,r.date_expires,!1,!0):w.cache.store(Number(r.index),new vt({index:Number(r.index),uri:r.url,revision:r.revision,lastEventId:r.last_event_id,dateUpdated:r.date_updated,dateExpires:r.date_expires,data:r.data}),r.last_event_id),w.cache.get(r.index)})),y=u.body.meta,x.abrupt("return",new bt(p,(function(r){return w.queryItems({pageToken:r})}),y.previous_token,y.next_token));case 8:case"end":return x.stop()}}),_callee11,this)})));return function queryItems(c){return r.apply(this,arguments)}}()},{key:"getItems",value:(w=ve.default(De.default.mark((function _callee12(r){return De.default.wrap((function _callee12$(c){for(;;)switch(c.prev=c.next){case 0:return validatePageSize((r=r||{}).pageSize),r.limit=r.pageSize||r.limit||50,r.order=r.order||"asc",c.abrupt("return",this.queryItems(r));case 5:case"end":return c.stop()}}),_callee12,this)}))),function getItems(r){return w.apply(this,arguments)})},{key:"getContext",value:(y=ve.default(De.default.mark((function _callee13(){var r;return De.default.wrap((function _callee13$(c){for(;;)switch(c.prev=c.next){case 0:if(this.context){c.next=5;break}return c.next=3,this.services.network.get(this.links.context);case 3:r=c.sent,this._updateContextIfRequired(r.body.data,r.body.last_event_id);case 5:return c.abrupt("return",this.context);case 6:case"end":return c.stop()}}),_callee13,this)}))),function getContext(){return y.apply(this,arguments)})},{key:"setTtl",value:(p=ve.default(De.default.mark((function _callee14(r){var c,u;return De.default.wrap((function _callee14$(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,c={ttl:r},p.next=4,this.services.network.post(this.uri,c);case 4:u=p.sent,this.descriptor.date_expires=u.body.date_expires,p.next=12;break;case 8:throw p.prev=8,p.t0=p.catch(0),404===p.t0.status&amp;&amp;this.onRemoved(!1),p.t0;case 12:case"end":return p.stop()}}),_callee14,this,[[0,8]])}))),function setTtl(r){return p.apply(this,arguments)})},{key:"setItemTtl",value:(u=ve.default(De.default.mark((function _callee15(r,c){var u,p,y;return De.default.wrap((function _callee15$(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.get(r);case 2:return u=w.sent,p={ttl:c},w.next=6,this.services.network.post(u.uri,p);case 6:y=w.sent,u.updateDateExpires(y.body.date_expires);case 8:case"end":return w.stop()}}),_callee15,this)}))),function setItemTtl(r,c){return u.apply(this,arguments)})},{key:"removeList",value:(c=ve.default(De.default.mark((function _callee16(){return De.default.wrap((function _callee16$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.services.network.delete(this.uri);case 2:this.onRemoved(!0);case 3:case"end":return r.stop()}}),_callee16,this)}))),function removeList(){return c.apply(this,arguments)})},{key:"onRemoved",value:function onRemoved(r){this._unsubscribe(),this.removalHandler(this.type,this.sid,this.uniqueName),this.broadcastEventToListeners("removed",{isLocal:r})}},{key:"shouldIgnoreEvent",value:function shouldIgnoreEvent(r,c){return this.cache.isKnown(r,c)}},{key:"_update",value:function _update(r,c){var u=Number(r.item_index);switch(r.date_created=new Date(r.date_created),r.type){case"list_item_added":case"list_item_updated":this._handleItemMutated(u,r.item_url,r.id,r.item_revision,r.item_data,r.date_created,void 0,"list_item_added"===r.type,!0);break;case"list_item_removed":this._handleItemRemoved(u,r.id,r.item_data,r.date_created,!0);break;case"list_context_updated":this._handleContextUpdate(r.context_data,r.id,r.date_created);break;case"list_removed":this.onRemoved(!1)}c&amp;&amp;this._advanceLastEventId(r.id,r.list_revision)}},{key:"_advanceLastEventId",value:function _advanceLastEventId(r,c){this.lastEventId&lt;r&amp;&amp;(this.descriptor.last_event_id=r,c&amp;&amp;(this.descriptor.revision=c))}},{key:"_updateRootDateUpdated",value:function _updateRootDateUpdated(r){(!this.descriptor.date_updated||r.getTime()&gt;this.descriptor.date_updated.getTime())&amp;&amp;(this.descriptor.date_updated=r,this.services.storage.update(this.type,this.sid,this.uniqueName,{date_updated:r}))}},{key:"_handleItemMutated",value:function _handleItemMutated(r,c,u,p,y,w,x,k,E){if(this.shouldIgnoreEvent(r,u))rt("Item ".concat(r," update skipped, current: ").concat(this.lastEventId,", remote: ").concat(u));else{this._updateRootDateUpdated(w);var I=this.cache.get(r);if(!I){var K=new vt({index:r,uri:c,lastEventId:u,revision:p,data:y,dateUpdated:w,dateExpires:x});return this.cache.store(r,K,u),void this.emitItemMutationEvent(K,E,k)}var J=deepClone(I.data);I.update(u,p,y,w),this.cache.store(r,I,u),void 0!==x&amp;&amp;I.updateDateExpires(x),this.emitItemMutationEvent(I,E,!1,J)}}},{key:"emitItemMutationEvent",value:function emitItemMutationEvent(r,c,u){var p=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:null,y=u?"itemAdded":"itemUpdated",w={item:r,isLocal:!c};u||(w.previousItemData=p),this.broadcastEventToListeners(y,w)}},{key:"_handleItemRemoved",value:function _handleItemRemoved(r,c,u,p,y){this._updateRootDateUpdated(p),this.cache.delete(r,c),this.broadcastEventToListeners("itemRemoved",{index:r,isLocal:!y,previousItemData:u})}},{key:"_handleContextUpdate",value:function _handleContextUpdate(r,c,u){this._updateRootDateUpdated(u),this._updateContextIfRequired(r,c)&amp;&amp;this.broadcastEventToListeners("contextUpdated",{context:r,isLocal:!1})}},{key:"_updateContextIfRequired",value:function _updateContextIfRequired(r,c){return!this.contextEventId||c&gt;this.contextEventId?(this.context=r,this.contextEventId=c,!0):(rt("Context update skipped, current:",this.lastEventId,", remote:",c),!1)}}],[{key:"type",get:function get(){return"list"}}]),SyncListImpl}(dt),Tt=function(r){Pe.default(SyncList,r);var c,u,p,y,w,x,k,E,I,K,J,oe=_createSuper$4(SyncList);function SyncList(r){var c;return we.default(this,SyncList),(c=oe.call(this)).syncListImpl=r,c.syncListImpl.attach(Oe.default(c)),c}return Se.default(SyncList,[{key:"uri",get:function get(){return this.syncListImpl.uri}},{key:"revision",get:function get(){return this.syncListImpl.revision}},{key:"lastEventId",get:function get(){return this.syncListImpl.lastEventId}},{key:"links",get:function get(){return this.syncListImpl.links}},{key:"dateExpires",get:function get(){return this.syncListImpl.dateExpires}},{key:"type",get:function get(){return Et.type}},{key:"sid",get:function get(){return this.syncListImpl.sid}},{key:"uniqueName",get:function get(){return this.syncListImpl.uniqueName}},{key:"dateUpdated",get:function get(){return this.syncListImpl.dateUpdated}},{key:"push",value:(J=ve.default(De.default.mark((function _callee17(r,c){return De.default.wrap((function _callee17$(u){for(;;)switch(u.prev=u.next){case 0:return this.ensureNotClosed(),u.abrupt("return",this.syncListImpl.push(r,c));case 2:case"end":return u.stop()}}),_callee17,this)}))),function push(r,c){return J.apply(this,arguments)})},{key:"set",value:(K=ve.default(De.default.mark((function _callee18(r,c,u){return De.default.wrap((function _callee18$(p){for(;;)switch(p.prev=p.next){case 0:return this.ensureNotClosed(),p.abrupt("return",this.syncListImpl.set(r,c,u));case 2:case"end":return p.stop()}}),_callee18,this)}))),function set(r,c,u){return K.apply(this,arguments)})},{key:"mutate",value:(I=ve.default(De.default.mark((function _callee19(r,c,u){return De.default.wrap((function _callee19$(p){for(;;)switch(p.prev=p.next){case 0:return this.ensureNotClosed(),p.abrupt("return",this.syncListImpl.mutate(r,c,u));case 2:case"end":return p.stop()}}),_callee19,this)}))),function mutate(r,c,u){return I.apply(this,arguments)})},{key:"update",value:(E=ve.default(De.default.mark((function _callee20(r,c,u){return De.default.wrap((function _callee20$(p){for(;;)switch(p.prev=p.next){case 0:return this.ensureNotClosed(),p.abrupt("return",this.syncListImpl.update(r,c,u));case 2:case"end":return p.stop()}}),_callee20,this)}))),function update(r,c,u){return E.apply(this,arguments)})},{key:"remove",value:(k=ve.default(De.default.mark((function _callee21(r){return De.default.wrap((function _callee21$(c){for(;;)switch(c.prev=c.next){case 0:return this.ensureNotClosed(),c.abrupt("return",this.syncListImpl.remove(r));case 2:case"end":return c.stop()}}),_callee21,this)}))),function remove(r){return k.apply(this,arguments)})},{key:"get",value:(x=ve.default(De.default.mark((function _callee22(r){return De.default.wrap((function _callee22$(c){for(;;)switch(c.prev=c.next){case 0:return this.ensureNotClosed(),c.abrupt("return",this.syncListImpl.get(r));case 2:case"end":return c.stop()}}),_callee22,this)}))),function get(r){return x.apply(this,arguments)})},{key:"getContext",value:(w=ve.default(De.default.mark((function _callee23(){return De.default.wrap((function _callee23$(r){for(;;)switch(r.prev=r.next){case 0:return this.ensureNotClosed(),r.abrupt("return",this.syncListImpl.getContext());case 2:case"end":return r.stop()}}),_callee23,this)}))),function getContext(){return w.apply(this,arguments)})},{key:"getItems",value:(y=ve.default(De.default.mark((function _callee24(r){return De.default.wrap((function _callee24$(c){for(;;)switch(c.prev=c.next){case 0:return this.ensureNotClosed(),c.abrupt("return",this.syncListImpl.getItems(r));case 2:case"end":return c.stop()}}),_callee24,this)}))),function getItems(r){return y.apply(this,arguments)})},{key:"setTtl",value:(p=ve.default(De.default.mark((function _callee25(r){return De.default.wrap((function _callee25$(c){for(;;)switch(c.prev=c.next){case 0:return this.ensureNotClosed(),c.abrupt("return",this.syncListImpl.setTtl(r));case 2:case"end":return c.stop()}}),_callee25,this)}))),function setTtl(r){return p.apply(this,arguments)})},{key:"setItemTtl",value:(u=ve.default(De.default.mark((function _callee26(r,c){return De.default.wrap((function _callee26$(u){for(;;)switch(u.prev=u.next){case 0:return this.ensureNotClosed(),u.abrupt("return",this.syncListImpl.setItemTtl(r,c));case 2:case"end":return u.stop()}}),_callee26,this)}))),function setItemTtl(r,c){return u.apply(this,arguments)})},{key:"removeList",value:(c=ve.default(De.default.mark((function _callee27(){return De.default.wrap((function _callee27$(r){for(;;)switch(r.prev=r.next){case 0:return this.ensureNotClosed(),r.abrupt("return",this.syncListImpl.removeList());case 2:case"end":return r.stop()}}),_callee27,this)}))),function removeList(){return c.apply(this,arguments)})},{key:"close",value:function close(){We.default(Ie.default(SyncList.prototype),"close",this).call(this),this.syncListImpl.detach(this.listenerUuid)}}],[{key:"type",get:function get(){return Et.type}}]),SyncList}(mt);je.default(Tt,"itemAdded","itemAdded"),je.default(Tt,"itemUpdated","itemUpdated"),je.default(Tt,"itemRemoved","itemRemoved"),je.default(Tt,"removed","removed"),__decorate([ie.validateTypesAsync(ie.pureObject,["undefined",ie.objectSchema("item metadata",{ttl:[ie.nonNegativeInteger,"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object,Object]),__metadata("design:returntype",Promise)],Tt.prototype,"push",null),__decorate([ie.validateTypesAsync(ie.nonNegativeInteger,ie.pureObject,["undefined",ie.objectSchema("item metadata",{ttl:[ie.nonNegativeInteger,"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Number,Object,Object]),__metadata("design:returntype",Promise)],Tt.prototype,"set",null),__decorate([ie.validateTypesAsync(ie.nonNegativeInteger,"function",["undefined",ie.objectSchema("item metadata",{ttl:[ie.nonNegativeInteger,"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Number,Function,Object]),__metadata("design:returntype",Promise)],Tt.prototype,"mutate",null),__decorate([ie.validateTypesAsync(ie.nonNegativeInteger,ie.pureObject,["undefined",ie.objectSchema("item metadata",{ttl:[ie.nonNegativeInteger,"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Number,Object,Object]),__metadata("design:returntype",Promise)],Tt.prototype,"update",null),__decorate([ie.validateTypesAsync(ie.nonNegativeInteger),__metadata("design:type",Function),__metadata("design:paramtypes",[Number]),__metadata("design:returntype",Promise)],Tt.prototype,"remove",null),__decorate([ie.validateTypesAsync(ie.nonNegativeInteger),__metadata("design:type",Function),__metadata("design:paramtypes",[Number]),__metadata("design:returntype",Promise)],Tt.prototype,"get",null),__decorate([ie.validateTypesAsync(["undefined",ie.objectSchema("query options",{from:[ie.nonNegativeInteger,"undefined"],pageSize:[ie.custom((function(r){return[isPositiveInteger(r),"a positive integer"]})),"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],Tt.prototype,"getItems",null),__decorate([ie.validateTypesAsync(ie.nonNegativeInteger),__metadata("design:type",Function),__metadata("design:paramtypes",[Number]),__metadata("design:returntype",Promise)],Tt.prototype,"setTtl",null),__decorate([ie.validateTypesAsync(ie.nonNegativeInteger,ie.nonNegativeInteger),__metadata("design:type",Function),__metadata("design:paramtypes",[Number,Number]),__metadata("design:returntype",Promise)],Tt.prototype,"setItemTtl",null);var Ot=function(){function SyncMapItem(r){we.default(this,SyncMapItem),this.descriptor=r}return Se.default(SyncMapItem,[{key:"uri",get:function get(){return this.descriptor.url}},{key:"revision",get:function get(){return this.descriptor.revision}},{key:"lastEventId",get:function get(){return this.descriptor.last_event_id}},{key:"dateExpires",get:function get(){return this.descriptor.date_expires}},{key:"key",get:function get(){return this.descriptor.key}},{key:"data",get:function get(){return this.descriptor.data}},{key:"dateUpdated",get:function get(){return this.descriptor.date_updated}},{key:"update",value:function update(r,c,u,p){return this.descriptor.last_event_id=r,this.descriptor.revision=c,this.descriptor.data=u,this.descriptor.date_updated=p,this}},{key:"updateDateExpires",value:function updateDateExpires(r){this.descriptor.date_expires=r}}]),SyncMapItem}();function _createSuper$3(r){var c=function _isNativeReflectConstruct$3(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var Ct=function(r){Pe.default(SyncMapImpl,r);var c,u,p,y,w,x,k,E,I,K,J,oe,ie=_createSuper$3(SyncMapImpl);function SyncMapImpl(r,c,u){var p;we.default(this,SyncMapImpl);return(p=ie.call(this,r,u)).updateMergingQueue=new ht((function updateRequestReducer(r,c){return"number"==typeof c.ttl?{ttl:c.ttl}:r})),p.cache=new St,p.descriptor=c,p.descriptor.date_updated=new Date(p.descriptor.date_updated),c.items&amp;&amp;c.items.forEach((function(r){r.date_updated=new Date(r.date_updated),p.cache.store(r.key,new Ot(r),r.last_event_id)})),p}return Se.default(SyncMapImpl,[{key:"uri",get:function get(){return this.descriptor.url}},{key:"links",get:function get(){return this.descriptor.links}},{key:"revision",get:function get(){return this.descriptor.revision}},{key:"lastEventId",get:function get(){return this.descriptor.last_event_id}},{key:"dateExpires",get:function get(){return this.descriptor.date_expires}},{key:"type",get:function get(){return"map"}},{key:"indexName",get:function get(){}},{key:"queryString",get:function get(){}},{key:"sid",get:function get(){return this.descriptor.sid}},{key:"uniqueName",get:function get(){return this.descriptor.unique_name||null}},{key:"dateUpdated",get:function get(){return this.descriptor.date_updated}},{key:"set",value:(oe=ve.default(De.default.mark((function _callee(r,c,u){var p,y=this;return De.default.wrap((function _callee$(w){for(;;)switch(w.prev=w.next){case 0:return p=u||{},w.abrupt("return",this.updateMergingQueue.squashAndAdd(r,p,(function(u){return y._putItemUnconditionally(r,c,u.ttl)})));case 2:case"end":return w.stop()}}),_callee,this)}))),function set(r,c,u){return oe.apply(this,arguments)})},{key:"get",value:function(){var r=ve.default(De.default.mark((function _callee2(r){return De.default.wrap((function _callee2$(c){for(;;)switch(c.prev=c.next){case 0:if(null!=r){c.next=2;break}throw new Ye("SyncMapItem key may not be empty",400,54209);case 2:if(!this.cache.has(r)){c.next=6;break}return c.abrupt("return",this.cache.get(r));case 6:return c.abrupt("return",this._getItemFromServer(r));case 7:case"end":return c.stop()}}),_callee2,this)})));return function get(c){return r.apply(this,arguments)}}()},{key:"_getItemFromServer",value:(J=ve.default(De.default.mark((function _callee3(r){var c;return De.default.wrap((function _callee3$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this.queryItems({key:r});case 2:if(!((c=u.sent).items.length&lt;1)){u.next=7;break}throw new Ye("The specified Map Item does not exist",404,54201);case 7:return u.abrupt("return",c.items[0]);case 8:case"end":return u.stop()}}),_callee3,this)}))),function _getItemFromServer(r){return J.apply(this,arguments)})},{key:"mutate",value:(K=ve.default(De.default.mark((function _callee4(r,c,u){var p,y=this;return De.default.wrap((function _callee4$(w){for(;;)switch(w.prev=w.next){case 0:return p=u||{},w.abrupt("return",this.updateMergingQueue.add(r,p,(function(u){return y._putItemWithIfMatch(r,c,u.ttl)})));case 2:case"end":return w.stop()}}),_callee4,this)}))),function mutate(r,c,u){return K.apply(this,arguments)})},{key:"update",value:(I=ve.default(De.default.mark((function _callee5(r,c,u){return De.default.wrap((function _callee5$(p){for(;;)switch(p.prev=p.next){case 0:return p.abrupt("return",this.mutate(r,(function(r){return Object.assign(r,c)}),u));case 1:case"end":return p.stop()}}),_callee5,this)}))),function update(r,c,u){return I.apply(this,arguments)})},{key:"_putItemUnconditionally",value:(E=ve.default(De.default.mark((function _callee6(r,c,u){var p,y;return De.default.wrap((function _callee6$(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this._putItemToServer(r,c,void 0,u);case 2:return p=w.sent,y=p.item,this._handleItemMutated(y.key,y.url,y.last_event_id,y.revision,y.data,y.date_updated,y.date_expires,p.added,!1),w.abrupt("return",this.cache.get(y.key));case 6:case"end":return w.stop()}}),_callee6,this)}))),function _putItemUnconditionally(r,c,u){return E.apply(this,arguments)})},{key:"_putItemWithIfMatch",value:(k=ve.default(De.default.mark((function _callee7(r,c,u){var p,y,w,x,k;return De.default.wrap((function _callee7$(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,this.get(r).catch((function(c){if(404===c.status)return new Ot({key:r,data:{},last_event_id:-1,revision:"-1",url:null,date_updated:null,date_expires:null});throw c}));case 2:if(p=E.sent,!(y=c(deepClone(p.data)))){E.next=26;break}return w=p.revision,E.prev=6,E.next=9,this._putItemToServer(r,y,w,u);case 9:return x=E.sent,k=x.item,this._handleItemMutated(k.key,k.url,k.last_event_id,k.revision,k.data,k.date_updated,k.date_expires,x.added,!1),E.abrupt("return",this.cache.get(k.key));case 15:if(E.prev=15,E.t0=E.catch(6),412!==E.t0.status){E.next=23;break}return E.next=20,this._getItemFromServer(r);case 20:return E.abrupt("return",this._putItemWithIfMatch(r,c,u));case 23:throw E.t0;case 24:E.next=27;break;case 26:return E.abrupt("return",p);case 27:case"end":return E.stop()}}),_callee7,this,[[6,15]])}))),function _putItemWithIfMatch(r,c,u){return k.apply(this,arguments)})},{key:"_putItemToServer",value:(x=ve.default(De.default.mark((function _callee8(r,c,u,p){var y,w,x,k,E;return De.default.wrap((function _callee8$(I){for(;;)switch(I.prev=I.next){case 0:return y=new Je(this.links.items).pathSegment(r).build(),w={data:c},void 0!==p&amp;&amp;(w.ttl=p),I.prev=3,I.next=6,this.services.network.put(y,w,u);case 6:return x=I.sent,(k=x.body).data=c,k.date_updated=new Date(k.date_updated),E=201===x.status.code,I.abrupt("return",{added:E,item:k});case 14:throw I.prev=14,I.t0=I.catch(3),404===I.t0.status&amp;&amp;this.onRemoved(!1),I.t0;case 18:case"end":return I.stop()}}),_callee8,this,[[3,14]])}))),function _putItemToServer(r,c,u,p){return x.apply(this,arguments)})},{key:"remove",value:(w=ve.default(De.default.mark((function _callee9(r){var c,u,p;return De.default.wrap((function _callee9$(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,this.get(r);case 2:return c=y.sent,u=deepClone(c.data),y.next=6,this.services.network.delete(c.uri);case 6:p=y.sent,this._handleItemRemoved(r,p.body.last_event_id,u,new Date(p.body.date_updated),!1);case 8:case"end":return y.stop()}}),_callee9,this)}))),function remove(r){return w.apply(this,arguments)})},{key:"queryItems",value:function(){var r=ve.default(De.default.mark((function _callee10(r){var c,u,p,y,w=this;return De.default.wrap((function _callee10$(x){for(;;)switch(x.prev=x.next){case 0:return r=r||{},c=new Je(this.links.items).queryParam("From",r.from).queryParam("PageSize",r.limit).queryParam("Key",r.key).queryParam("PageToken",r.pageToken).queryParam("Order",r.order).build(),x.next=4,this.services.network.get(c);case 4:return u=x.sent,p=u.body.items.map((function(r){return r.date_updated=new Date(r.date_updated),w.cache.get(r.key)?w._handleItemMutated(r.key,r.url,r.last_event_id,r.revision,r.data,r.date_updated,r.date_expires,!1,!0):w.cache.store(r.key,new Ot(r),r.last_event_id),w.cache.get(r.key)})),y=u.body.meta,x.abrupt("return",new bt(p,(function(r){return w.queryItems({pageToken:r})}),y.previous_token,y.next_token));case 8:case"end":return x.stop()}}),_callee10,this)})));return function queryItems(c){return r.apply(this,arguments)}}()},{key:"getItems",value:(y=ve.default(De.default.mark((function _callee11(r){return De.default.wrap((function _callee11$(c){for(;;)switch(c.prev=c.next){case 0:return validatePageSize((r=r||{}).pageSize),r.limit=r.pageSize||r.limit||50,r.order=r.order||"asc",c.abrupt("return",this.queryItems(r));case 5:case"end":return c.stop()}}),_callee11,this)}))),function getItems(r){return y.apply(this,arguments)})},{key:"shouldIgnoreEvent",value:function shouldIgnoreEvent(r,c){return this.cache.isKnown(r,c)}},{key:"_update",value:function _update(r,c){switch(r.date_created=new Date(r.date_created),r.type){case"map_item_added":case"map_item_updated":this._handleItemMutated(r.item_key,r.item_url,r.id,r.item_revision,r.item_data,r.date_created,void 0,"map_item_added"===r.type,!0);break;case"map_item_removed":this._handleItemRemoved(r.item_key,r.id,r.item_data,r.date_created,!0);break;case"map_removed":this.onRemoved(!1)}c&amp;&amp;this._advanceLastEventId(r.id,r.map_revision)}},{key:"_advanceLastEventId",value:function _advanceLastEventId(r,c){this.lastEventId&lt;r&amp;&amp;(this.descriptor.last_event_id=r,c&amp;&amp;(this.descriptor.revision=c))}},{key:"_updateRootDateUpdated",value:function _updateRootDateUpdated(r){(!this.descriptor.date_updated||r.getTime()&gt;this.descriptor.date_updated.getTime())&amp;&amp;(this.descriptor.date_updated=r,this.services.storage.update(this.type,this.sid,this.uniqueName,{date_updated:r}))}},{key:"_handleItemMutated",value:function _handleItemMutated(r,c,u,p,y,w,x,k,E){if(this.shouldIgnoreEvent(r,u))rt("SyncMapItem ",r," update skipped, current:",this.lastEventId,", remote:",u);else{this._updateRootDateUpdated(w);var I=this.cache.get(r);if(!I){var K=new Ot({key:r,url:c,last_event_id:u,revision:p,data:y,date_updated:w,date_expires:x});return this.cache.store(r,K,u),void this.emitItemMutationEvent(K,E,k)}var J=deepClone(I.data);I.update(u,p,y,w),this.cache.store(r,I,u),void 0!==x&amp;&amp;I.updateDateExpires(x),this.emitItemMutationEvent(I,E,!1,J)}}},{key:"emitItemMutationEvent",value:function emitItemMutationEvent(r,c,u){var p=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:null,y=u?"itemAdded":"itemUpdated",w={item:r,isLocal:!c};u||(w.previousItemData=p),this.broadcastEventToListeners(y,w)}},{key:"_handleItemRemoved",value:function _handleItemRemoved(r,c,u,p,y){this._updateRootDateUpdated(p),this.cache.delete(r,c),this.broadcastEventToListeners("itemRemoved",{key:r,isLocal:!y,previousItemData:u})}},{key:"onRemoved",value:function onRemoved(r){this._unsubscribe(),this.removalHandler(this.type,this.sid,this.uniqueName),this.broadcastEventToListeners("removed",{isLocal:r})}},{key:"setTtl",value:(p=ve.default(De.default.mark((function _callee12(r){var c,u;return De.default.wrap((function _callee12$(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,c={ttl:r},p.next=4,this.services.network.post(this.uri,c);case 4:u=p.sent,this.descriptor.date_expires=u.body.date_expires,p.next=12;break;case 8:throw p.prev=8,p.t0=p.catch(0),404===p.t0.status&amp;&amp;this.onRemoved(!1),p.t0;case 12:case"end":return p.stop()}}),_callee12,this,[[0,8]])}))),function setTtl(r){return p.apply(this,arguments)})},{key:"setItemTtl",value:(u=ve.default(De.default.mark((function _callee13(r,c){var u,p,y;return De.default.wrap((function _callee13$(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.get(r);case 2:return u=w.sent,p={ttl:c},w.next=6,this.services.network.post(u.uri,p);case 6:y=w.sent,u.updateDateExpires(y.body.date_expires);case 8:case"end":return w.stop()}}),_callee13,this)}))),function setItemTtl(r,c){return u.apply(this,arguments)})},{key:"removeMap",value:(c=ve.default(De.default.mark((function _callee14(){return De.default.wrap((function _callee14$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.services.network.delete(this.uri);case 2:this.onRemoved(!0);case 3:case"end":return r.stop()}}),_callee14,this)}))),function removeMap(){return c.apply(this,arguments)})}],[{key:"type",get:function get(){return"map"}}]),SyncMapImpl}(dt),At=function(r){Pe.default(SyncMap,r);var c,u,p,y,w,x,k,E,I,K=_createSuper$3(SyncMap);function SyncMap(r){var c;return we.default(this,SyncMap),(c=K.call(this)).syncMapImpl=r,c.syncMapImpl.attach(Oe.default(c)),c}return Se.default(SyncMap,[{key:"uri",get:function get(){return this.syncMapImpl.uri}},{key:"links",get:function get(){return this.syncMapImpl.links}},{key:"revision",get:function get(){return this.syncMapImpl.revision}},{key:"lastEventId",get:function get(){return this.syncMapImpl.lastEventId}},{key:"dateExpires",get:function get(){return this.syncMapImpl.dateExpires}},{key:"type",get:function get(){return Ct.type}},{key:"sid",get:function get(){return this.syncMapImpl.sid}},{key:"uniqueName",get:function get(){return this.syncMapImpl.uniqueName}},{key:"dateUpdated",get:function get(){return this.syncMapImpl.dateUpdated}},{key:"set",value:(I=ve.default(De.default.mark((function _callee15(r,c,u){return De.default.wrap((function _callee15$(p){for(;;)switch(p.prev=p.next){case 0:return this.ensureNotClosed(),p.abrupt("return",this.syncMapImpl.set(r,c,u));case 2:case"end":return p.stop()}}),_callee15,this)}))),function set(r,c,u){return I.apply(this,arguments)})},{key:"get",value:(E=ve.default(De.default.mark((function _callee16(r){return De.default.wrap((function _callee16$(c){for(;;)switch(c.prev=c.next){case 0:return this.ensureNotClosed(),c.abrupt("return",this.syncMapImpl.get(r));case 2:case"end":return c.stop()}}),_callee16,this)}))),function get(r){return E.apply(this,arguments)})},{key:"mutate",value:(k=ve.default(De.default.mark((function _callee17(r,c,u){return De.default.wrap((function _callee17$(p){for(;;)switch(p.prev=p.next){case 0:return this.ensureNotClosed(),p.abrupt("return",this.syncMapImpl.mutate(r,c,u));case 2:case"end":return p.stop()}}),_callee17,this)}))),function mutate(r,c,u){return k.apply(this,arguments)})},{key:"update",value:(x=ve.default(De.default.mark((function _callee18(r,c,u){return De.default.wrap((function _callee18$(p){for(;;)switch(p.prev=p.next){case 0:return this.ensureNotClosed(),p.abrupt("return",this.syncMapImpl.update(r,c,u));case 2:case"end":return p.stop()}}),_callee18,this)}))),function update(r,c,u){return x.apply(this,arguments)})},{key:"remove",value:(w=ve.default(De.default.mark((function _callee19(r){return De.default.wrap((function _callee19$(c){for(;;)switch(c.prev=c.next){case 0:return this.ensureNotClosed(),c.abrupt("return",this.syncMapImpl.remove(r));case 2:case"end":return c.stop()}}),_callee19,this)}))),function remove(r){return w.apply(this,arguments)})},{key:"getItems",value:(y=ve.default(De.default.mark((function _callee20(r){return De.default.wrap((function _callee20$(c){for(;;)switch(c.prev=c.next){case 0:return this.ensureNotClosed(),c.abrupt("return",this.syncMapImpl.getItems(r));case 2:case"end":return c.stop()}}),_callee20,this)}))),function getItems(r){return y.apply(this,arguments)})},{key:"setTtl",value:(p=ve.default(De.default.mark((function _callee21(r){return De.default.wrap((function _callee21$(c){for(;;)switch(c.prev=c.next){case 0:return this.ensureNotClosed(),c.abrupt("return",this.syncMapImpl.setTtl(r));case 2:case"end":return c.stop()}}),_callee21,this)}))),function setTtl(r){return p.apply(this,arguments)})},{key:"setItemTtl",value:(u=ve.default(De.default.mark((function _callee22(r,c){return De.default.wrap((function _callee22$(u){for(;;)switch(u.prev=u.next){case 0:return this.ensureNotClosed(),u.abrupt("return",this.syncMapImpl.setItemTtl(r,c));case 2:case"end":return u.stop()}}),_callee22,this)}))),function setItemTtl(r,c){return u.apply(this,arguments)})},{key:"removeMap",value:(c=ve.default(De.default.mark((function _callee23(){return De.default.wrap((function _callee23$(r){for(;;)switch(r.prev=r.next){case 0:return this.ensureNotClosed(),r.next=3,this.syncMapImpl.removeMap();case 3:case"end":return r.stop()}}),_callee23,this)}))),function removeMap(){return c.apply(this,arguments)})},{key:"close",value:function close(){We.default(Ie.default(SyncMap.prototype),"close",this).call(this),this.syncMapImpl.detach(this.listenerUuid)}}],[{key:"type",get:function get(){return Ct.type}}]),SyncMap}(mt);function _createSuper$2(r){var c=function _isNativeReflectConstruct$2(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}je.default(At,"itemAdded","itemAdded"),je.default(At,"itemUpdated","itemUpdated"),je.default(At,"itemRemoved","itemRemoved"),je.default(At,"removed","removed"),__decorate([ie.validateTypesAsync("string",ie.pureObject,["undefined",ie.objectSchema("item metadata",{ttl:[ie.nonNegativeInteger,"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[String,Object,Object]),__metadata("design:returntype",Promise)],At.prototype,"set",null),__decorate([ie.validateTypesAsync("string"),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],At.prototype,"get",null),__decorate([ie.validateTypesAsync("string","function",["undefined",ie.objectSchema("item metadata",{ttl:[ie.nonNegativeInteger,"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[String,Function,Object]),__metadata("design:returntype",Promise)],At.prototype,"mutate",null),__decorate([ie.validateTypesAsync("string",ie.pureObject,["undefined",ie.objectSchema("item metadata",{ttl:[ie.nonNegativeInteger,"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[String,Object,Object]),__metadata("design:returntype",Promise)],At.prototype,"update",null),__decorate([ie.validateTypesAsync("string"),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],At.prototype,"remove",null),__decorate([ie.validateTypesAsync(["undefined",ie.objectSchema("query options",{from:["string","undefined"],pageSize:[ie.custom((function(r){return[isPositiveInteger(r),"a positive integer"]})),"undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],At.prototype,"getItems",null),__decorate([ie.validateTypesAsync(ie.nonNegativeInteger),__metadata("design:type",Function),__metadata("design:paramtypes",[Number]),__metadata("design:returntype",Promise)],At.prototype,"setTtl",null),__decorate([ie.validateTypesAsync("string",ie.nonNegativeInteger),__metadata("design:type",Function),__metadata("design:paramtypes",[String,Number]),__metadata("design:returntype",Promise)],At.prototype,"setItemTtl",null);var Pt=function(r){Pe.default(SyncStreamImpl,r);var c,u,p,y=_createSuper$2(SyncStreamImpl);function SyncStreamImpl(r,c,u){var p;return we.default(this,SyncStreamImpl),(p=y.call(this,r,u)).descriptor=c,p}return Se.default(SyncStreamImpl,[{key:"uri",get:function get(){return this.descriptor.url}},{key:"links",get:function get(){return this.descriptor.links}},{key:"dateExpires",get:function get(){return this.descriptor.date_expires}},{key:"type",get:function get(){return"stream"}},{key:"lastEventId",get:function get(){return null}},{key:"indexName",get:function get(){}},{key:"queryString",get:function get(){}},{key:"sid",get:function get(){return this.descriptor.sid}},{key:"uniqueName",get:function get(){return this.descriptor.unique_name||null}},{key:"publishMessage",value:(p=ve.default(De.default.mark((function _callee(r){var c,u,p,y;return De.default.wrap((function _callee$(w){for(;;)switch(w.prev=w.next){case 0:return c={data:r},w.next=3,this.services.network.post(this.links.messages,c);case 3:return u=w.sent,p=u.body,y=this._handleMessagePublished(p.sid,r,!1),w.abrupt("return",y);case 7:case"end":return w.stop()}}),_callee,this)}))),function publishMessage(r){return p.apply(this,arguments)})},{key:"setTtl",value:(u=ve.default(De.default.mark((function _callee2(r){var c,u;return De.default.wrap((function _callee2$(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,c={ttl:r},p.next=4,this.services.network.post(this.uri,c);case 4:u=p.sent,this.descriptor.date_expires=u.body.date_expires,p.next=12;break;case 8:throw p.prev=8,p.t0=p.catch(0),404===p.t0.status&amp;&amp;this.onRemoved(!1),p.t0;case 12:case"end":return p.stop()}}),_callee2,this,[[0,8]])}))),function setTtl(r){return u.apply(this,arguments)})},{key:"removeStream",value:(c=ve.default(De.default.mark((function _callee3(){return De.default.wrap((function _callee3$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.services.network.delete(this.uri);case 2:this.onRemoved(!0);case 3:case"end":return r.stop()}}),_callee3,this)}))),function removeStream(){return c.apply(this,arguments)})},{key:"_update",value:function _update(r){switch(r.type){case"stream_message_published":this._handleMessagePublished(r.message_sid,r.message_data,!0);break;case"stream_removed":this.onRemoved(!1)}}},{key:"_handleMessagePublished",value:function _handleMessagePublished(r,c,u){var p={sid:r,data:c};return this.broadcastEventToListeners("messagePublished",{message:p,isLocal:!u}),p}},{key:"onRemoved",value:function onRemoved(r){this._unsubscribe(),this.removalHandler(this.type,this.sid,this.uniqueName),this.broadcastEventToListeners("removed",{isLocal:r})}}],[{key:"type",get:function get(){return"stream"}}]),SyncStreamImpl}(dt);__decorate([ie.validateTypesAsync(ie.pureObject),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],Pt.prototype,"publishMessage",null),__decorate([ie.validateTypesAsync(ie.nonNegativeInteger),__metadata("design:type",Function),__metadata("design:paramtypes",[Number]),__metadata("design:returntype",Promise)],Pt.prototype,"setTtl",null);var Lt=function(r){Pe.default(SyncStream,r);var c,u,p,y=_createSuper$2(SyncStream);function SyncStream(r){var c;return we.default(this,SyncStream),(c=y.call(this)).syncStreamImpl=r,c.syncStreamImpl.attach(Oe.default(c)),c}return Se.default(SyncStream,[{key:"uri",get:function get(){return this.syncStreamImpl.uri}},{key:"links",get:function get(){return this.syncStreamImpl.links}},{key:"dateExpires",get:function get(){return this.syncStreamImpl.dateExpires}},{key:"type",get:function get(){return Pt.type}},{key:"lastEventId",get:function get(){return null}},{key:"sid",get:function get(){return this.syncStreamImpl.sid}},{key:"uniqueName",get:function get(){return this.syncStreamImpl.uniqueName}},{key:"publishMessage",value:(p=ve.default(De.default.mark((function _callee4(r){return De.default.wrap((function _callee4$(c){for(;;)switch(c.prev=c.next){case 0:return this.ensureNotClosed(),c.abrupt("return",this.syncStreamImpl.publishMessage(r));case 2:case"end":return c.stop()}}),_callee4,this)}))),function publishMessage(r){return p.apply(this,arguments)})},{key:"setTtl",value:(u=ve.default(De.default.mark((function _callee5(r){return De.default.wrap((function _callee5$(c){for(;;)switch(c.prev=c.next){case 0:return this.ensureNotClosed(),c.abrupt("return",this.syncStreamImpl.setTtl(r));case 2:case"end":return c.stop()}}),_callee5,this)}))),function setTtl(r){return u.apply(this,arguments)})},{key:"removeStream",value:(c=ve.default(De.default.mark((function _callee6(){return De.default.wrap((function _callee6$(r){for(;;)switch(r.prev=r.next){case 0:return this.ensureNotClosed(),r.abrupt("return",this.syncStreamImpl.removeStream());case 2:case"end":return r.stop()}}),_callee6,this)}))),function removeStream(){return c.apply(this,arguments)})},{key:"close",value:function close(){We.default(Ie.default(SyncStream.prototype),"close",this).call(this),this.syncStreamImpl.detach(this.listenerUuid)}}],[{key:"type",get:function get(){return Pt.type}}]),SyncStream}(mt);je.default(Lt,"messagePublished","messagePublished"),je.default(Lt,"removed","removed"),__decorate([ie.validateTypesAsync(ie.pureObject),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],Lt.prototype,"publishMessage",null),__decorate([ie.validateTypesAsync(ie.nonNegativeInteger),__metadata("design:type",Function),__metadata("design:paramtypes",[Number]),__metadata("design:returntype",Promise)],Lt.prototype,"setTtl",null);var It=function ClientInfo(r){we.default(this,ClientInfo),this.sdk="js",this.sdkVer=r,this.os=Ke.os.family,this.osVer=Ke.os.version,this.pl=Ke.name,this.plVer=Ke.version},Rt=function(){function EntitiesCache(){we.default(this,EntitiesCache),this.names=new Map,this.entities=new Map}return Se.default(EntitiesCache,[{key:"store",value:function store(r){var c=this.entities.get(r.sid);return c||(this.entities.set(r.sid,r),r.uniqueName&amp;&amp;this.names.set(r.type+"::"+r.uniqueName,r.sid),r)}},{key:"getResolved",value:function getResolved(r,c){var u=this.names.get(c+"::"+r);return u?this.entities.get(u):null}},{key:"get",value:function get(r,c){return this.entities.get(r)||this.getResolved(r,c)||null}},{key:"remove",value:function remove(r){var c=this.entities.get(r);c&amp;&amp;(this.entities.delete(r),c.uniqueName&amp;&amp;this.names.delete(c.type+"::"+c.uniqueName))}}]),EntitiesCache}();function _createSuper$1(r){var c=function _isNativeReflectConstruct$1(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var jt=function(r){Pe.default(LiveQueryImpl,r);var c=_createSuper$1(LiveQueryImpl);function LiveQueryImpl(r,u,p,y){var w;return we.default(this,LiveQueryImpl),(w=c.call(this,u,p)).descriptor=r,w.cache=new St,y&amp;&amp;y.forEach((function(r){w.cache.store(r.key,{key:r.key,value:r.data},r.revision)})),w}return Se.default(LiveQueryImpl,[{key:"sid",get:function get(){return this.descriptor.sid}},{key:"uniqueName",get:function get(){return null}},{key:"type",get:function get(){return LiveQueryImpl.type}},{key:"lastEventId",get:function get(){return this.descriptor.last_event_id}},{key:"indexName",get:function get(){return this.descriptor.indexName}},{key:"queryString",get:function get(){return this.descriptor.queryExpression}},{key:"queryUri",get:function get(){return this.descriptor.queryUri}},{key:"liveQueryDescriptor",get:function get(){return this.descriptor}},{key:"onRemoved",value:function onRemoved(){}},{key:"getItems",value:function getItems(){var r={};return this.cache.forEach((function(c,u){r[c]=u.value})),r}},{key:"_update",value:function _update(r,c){switch(r.type){case"live_query_item_updated":this.handleItemMutated(r.item_key,r.item_data,r.item_revision);break;case"live_query_item_removed":this.handleItemRemoved(r.item_key,r.item_revision);break;case"live_query_updated":this.handleBatchUpdate(r.items)}c&amp;&amp;this._advanceLastEventId(r.last_event_id)}},{key:"handleItemMutated",value:function handleItemMutated(r,c,u){if(this.shouldIgnoreEvent(r,u))rt("Item ".concat(r," update skipped, revision: ").concat(u));else{var p={key:r,value:c};this.cache.store(r,p,u),this.broadcastEventToListeners("itemUpdated",p)}}},{key:"handleItemRemoved",value:function handleItemRemoved(r,c){var u=null===c;this.shouldIgnoreEvent(r,c)?rt("Item ".concat(r," delete skipped, revision: ").concat(c)):(this.cache.delete(r,c,u),this.broadcastEventToListeners("itemRemoved",{key:r}))}},{key:"handleBatchUpdate",value:function handleBatchUpdate(r){var c=this,u={};for(var p in null!=r&amp;&amp;r.forEach((function(r){u[r.key]={data:r.data,revision:r.revision}})),this.cache.forEach((function(r,p){var y=u[r];null!=y?c.handleItemMutated(r,y.data,y.revision):c.handleItemRemoved(r,null),delete u[r]})),u)this.handleItemMutated(p,u[p].data,u[p].revision)}},{key:"shouldIgnoreEvent",value:function shouldIgnoreEvent(r,c){return null!=r&amp;&amp;null!=c&amp;&amp;this.cache.isKnown(r,c)}},{key:"_advanceLastEventId",value:function _advanceLastEventId(r,c){this.lastEventId&lt;r&amp;&amp;(this.descriptor.last_event_id=r)}}],[{key:"type",get:function get(){return"live_query"}}]),LiveQueryImpl}(dt);function queryItems(r){return _queryItems.apply(this,arguments)}function _queryItems(){return(_queryItems=ve.default(De.default.mark((function _callee3(r){var c,u,p,y,w,x;return De.default.wrap((function _callee3$(k){for(;;)switch(k.prev=k.next){case 0:if(c=r.network,u=r.queryString,p=r.uri,y=r.type,null!=u){k.next=3;break}throw new Ye("Invalid query",400,54507);case 3:return w={query_string:u},y===Nt.type&amp;&amp;(w.type=y),k.next=7,c.post(p,w,void 0,!0);case 7:return x=k.sent,k.abrupt("return",x.body);case 9:case"end":return k.stop()}}),_callee3)})))).apply(this,arguments)}var Nt=function(r){Pe.default(LiveQuery,r);var c=_createSuper$1(LiveQuery);function LiveQuery(r){var u;return we.default(this,LiveQuery),(u=c.call(this)).liveQueryImpl=r,u.liveQueryImpl.attach(Oe.default(u)),u}return Se.default(LiveQuery,[{key:"type",get:function get(){return jt.type}},{key:"lastEventId",get:function get(){return this.liveQueryImpl.lastEventId}},{key:"sid",get:function get(){return this.liveQueryImpl.sid}},{key:"close",value:function close(){We.default(Ie.default(LiveQuery.prototype),"close",this).call(this),this.liveQueryImpl.detach(this.listenerUuid)}},{key:"getItems",value:function getItems(){return this.ensureNotClosed(),this.liveQueryImpl.getItems()}}],[{key:"type",get:function get(){return jt.type}}]),LiveQuery}(mt);je.default(Nt,"itemUpdated","itemUpdated"),je.default(Nt,"itemRemoved","itemRemoved");var Dt=function(r){Pe.default(InstantQuery,r);var c,u,p=_createSuper$1(InstantQuery);function InstantQuery(r){var c;return we.default(this,InstantQuery),c=p.call(this),je.default(Oe.default(c),"queryExpression",null),je.default(Oe.default(c),"items",{}),Object.assign(Oe.default(c),r),c.updateIndexName(r.indexName),c}return Se.default(InstantQuery,[{key:"type",get:function get(){return InstantQuery.type}},{key:"search",value:(u=ve.default(De.default.mark((function _callee(r){var c=this;return De.default.wrap((function _callee$(u){for(;;)switch(u.prev=u.next){case 0:return this.items={},u.abrupt("return",queryItems({network:this.network,uri:this.queryUri,queryString:r}).then((function(u){c.queryExpression=r,u.items&amp;&amp;u.items.forEach((function(r){c.items[r.key]=r.data})),c.emit("searchResult",c.getItems())})).catch((function(u){throw it("Error '".concat(u.message,"' while executing query '").concat(r,"'")),c.queryExpression=null,u})));case 2:case"end":return u.stop()}}),_callee,this)}))),function search(r){return u.apply(this,arguments)})},{key:"subscribe",value:(c=ve.default(De.default.mark((function _callee2(){return De.default.wrap((function _callee2$(r){for(;;)switch(r.prev=r.next){case 0:if(null!=this.queryExpression){r.next=2;break}return r.abrupt("return",Promise.reject(new Ye("Invalid query",400,54507)));case 2:return r.abrupt("return",this.liveQueryCreator(this.indexName,this.queryExpression));case 3:case"end":return r.stop()}}),_callee2,this)}))),function subscribe(){return c.apply(this,arguments)})},{key:"getItems",value:function getItems(){return this.items}},{key:"updateIndexName",value:function updateIndexName(r){this.indexName=r,this.queryUri=this.generateQueryUri(this.indexName)}},{key:"generateQueryUri",value:function generateQueryUri(r){return new Je(this.insightsUri).pathSegment(r).pathSegment("Items").build()}}],[{key:"type",get:function get(){return"instant_query"}}]),InstantQuery}(EventEmitter);je.default(Dt,"searchResult","searchResult"),__decorate([ie.validateTypesAsync("string"),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],Dt.prototype,"search",null),__decorate([ie.validateTypes(ie.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",void 0)],Dt.prototype,"updateIndexName",null);function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){je.default(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var Mt="3.1.0";function decompose(r){if(r){if("string"==typeof r)return{id:r,mode:"open_or_create"};var c=r.mode||(r.id?"open_or_create":"create_new");return _objectSpread(_objectSpread({},r),{},{mode:c})}return{mode:"create_new"}}var Ut="com.twilio.rtd.cds.document",Ft="com.twilio.rtd.cds.list",Bt="com.twilio.rtd.cds.map",qt="twilio.sync.event",Zt=function(r){Pe.default(Client,r);var c,u,p,y,w,x,k,E,I,K,J,oe,ie,se,ue,le=_createSuper(Client);function Client(r){var c,u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};if(we.default(this,Client),c=le.call(this),!r)throw new Error("Sync library needs a valid Twilio token to be passed");u.hasOwnProperty("logLevel")?et(u.logLevel):et("silent");var p=u.productId=u.productId||"data_sync";u.clientMetadata=u.clientMetadata||{},u.clientMetadata.hasOwnProperty("type")||(u.clientMetadata.type="sync"),u.clientMetadata.hasOwnProperty("sdk")||(u.clientMetadata.sdk="JS",u.clientMetadata.sdkv=Mt);var y=!u.twilsockClient;if(!u.initRegistrations){var w=new ae.InitRegistration(p);Client.populateInitRegistrations(w),u.initRegistrations=[w]}var x=u.twilsockClient=u.twilsockClient||new ae.Twilsock(r,p,u);x.on("tokenAboutToExpire",(function(r){return c.emit("tokenAboutToExpire",r)})),x.on("tokenExpired",(function(){return c.emit("tokenExpired")})),x.on("connectionError",(function(r){return c.emit("connectionError",r)})),x.on("stateChanged",(function(r){c.emit("connectionStateChanged",r),c.services.subscriptions.onConnectionStateChanged("connected"===r)})),x.on("message",(function(r,u){return c._routeMessage(r,u)}));var k=new st(u),E=new lt(new It(Mt),k,x),I=new pt(k);return c.services={config:k,twilsock:x,network:E,storage:I,router:Oe.default(c),subscriptions:null},c.services.subscriptions=new ut(c.services),c.entities=new Rt,y&amp;&amp;x.connect(),c}return Se.default(Client,[{key:"_routeMessage",value:function _routeMessage(r,c){switch(rt("Notification type:",r,"content:",c),r){case Ut:case Ft:case Bt:this.services.subscriptions.acceptMessage(c,!1);break;case qt:this.services.subscriptions.acceptMessage(c,!0)}}},{key:"_subscribe",value:function _subscribe(r,c){this.services.subscriptions.add(r,c)}},{key:"_unsubscribe",value:function _unsubscribe(r){this.services.subscriptions.remove(r)}},{key:"connectionState",get:function get(){return this.services.twilsock.state}},{key:"ensureReady",value:(ue=ve.default(De.default.mark((function _callee(){var r;return De.default.wrap((function _callee$(c){for(;;)switch(c.prev=c.next){case 0:if(this.services.config.sessionStorageEnabled){c.next=2;break}return c.abrupt("return");case 2:return c.prev=2,c.next=5,this.services.twilsock.storageId();case 5:r=c.sent,this.services.storage.updateStorageId(r.id),c.next=12;break;case 9:c.prev=9,c.t0=c.catch(2),ot("Failed to initialize storage",c.t0);case 12:case"end":return c.stop()}}),_callee,this,[[2,9]])}))),function ensureReady(){return ue.apply(this,arguments)})},{key:"storeRootInSessionCache",value:function storeRootInSessionCache(r,c,u){if(this.services.config.sessionStorageEnabled&amp;&amp;c){var p=deepClone(u);r!==Tt.type&amp;&amp;r!==At.type||(p.last_event_id=null,delete p.items),this.services.storage.store(r,c,p)}}},{key:"readRootFromSessionCache",value:function readRootFromSessionCache(r,c){return this.services.config.sessionStorageEnabled&amp;&amp;c?this.services.storage.read(r,c):null}},{key:"_get",value:(se=ve.default(De.default.mark((function _callee2(r,c){var u,p,y,w=arguments;return De.default.wrap((function _callee2$(x){for(;;)switch(x.prev=x.next){case 0:if(u=w.length&gt;2&amp;&amp;void 0!==w[2]&amp;&amp;w[2],c){x.next=3;break}throw new Ye("Cannot get entity without id",404);case 3:return p=new Je(r).pathSegment(c).queryParam("Include",u?"items":void 0).build(),x.next=6,this.services.network.get(p);case 6:return y=x.sent,x.abrupt("return",y.body);case 8:case"end":return x.stop()}}),_callee2,this)}))),function _get(r,c){return se.apply(this,arguments)})},{key:"_createDocument",value:function _createDocument(r,c,u){var p={unique_name:r,data:c||{}};return void 0!==u&amp;&amp;(p.ttl=u),this.services.network.post(this.services.config.documentsUri,p).then((function(r){return r.body.data=p.data,r.body}))}},{key:"_getDocument",value:(ie=ve.default(De.default.mark((function _callee3(r){return De.default.wrap((function _callee3$(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",this.readRootFromSessionCache(gt.type,r)||this._get(this.services.config.documentsUri,r));case 1:case"end":return c.stop()}}),_callee3,this)}))),function _getDocument(r){return ie.apply(this,arguments)})},{key:"_createList",value:function _createList(r,c,u,p){var y={unique_name:r,purpose:c,context:u};return void 0!==p&amp;&amp;(y.ttl=p),this.services.network.post(this.services.config.listsUri,y).then((function(r){return r.body}))}},{key:"_getList",value:(oe=ve.default(De.default.mark((function _callee4(r){return De.default.wrap((function _callee4$(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",this.readRootFromSessionCache(Tt.type,r)||this._get(this.services.config.listsUri,r));case 1:case"end":return c.stop()}}),_callee4,this)}))),function _getList(r){return oe.apply(this,arguments)})},{key:"_createMap",value:function _createMap(r,c){var u={unique_name:r};return void 0!==c&amp;&amp;(u.ttl=c),this.services.network.post(this.services.config.mapsUri,u).then((function(r){return r.body}))}},{key:"_getMap",value:(J=ve.default(De.default.mark((function _callee5(r){var c,u=arguments;return De.default.wrap((function _callee5$(p){for(;;)switch(p.prev=p.next){case 0:return c=u.length&gt;1&amp;&amp;void 0!==u[1]&amp;&amp;u[1],p.abrupt("return",this.readRootFromSessionCache(At.type,r)||this._get(this.services.config.mapsUri,r,c));case 2:case"end":return p.stop()}}),_callee5,this)}))),function _getMap(r){return J.apply(this,arguments)})},{key:"_getStream",value:(K=ve.default(De.default.mark((function _callee6(r){return De.default.wrap((function _callee6$(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",this.readRootFromSessionCache(Lt.type,r)||this._get(this.services.config.streamsUri,r,!1));case 1:case"end":return c.stop()}}),_callee6,this)}))),function _getStream(r){return K.apply(this,arguments)})},{key:"_createStream",value:(I=ve.default(De.default.mark((function _callee7(r,c){var u,p;return De.default.wrap((function _callee7$(y){for(;;)switch(y.prev=y.next){case 0:return u={unique_name:r},void 0!==c&amp;&amp;(u.ttl=c),y.next=4,this.services.network.post(this.services.config.streamsUri,u);case 4:return p=y.sent,y.abrupt("return",p.body);case 6:case"end":return y.stop()}}),_callee7,this)}))),function _createStream(r,c){return I.apply(this,arguments)})},{key:"_getLiveQuery",value:function _getLiveQuery(r){return this.readRootFromSessionCache(Nt.type,r)}},{key:"getCached",value:function getCached(r,c){return r&amp;&amp;this.entities.get(r,c)||null}},{key:"removeFromCacheAndSession",value:function removeFromCacheAndSession(r,c,u){this.entities.remove(c),this.services.config.sessionStorageEnabled&amp;&amp;this.services.storage.remove(r,c,u)}},{key:"document",value:(E=ve.default(De.default.mark((function _callee8(r){var c,u,p,y,w=this;return De.default.wrap((function _callee8$(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,this.ensureReady();case 2:if("create_new"!==(c=decompose(r)).mode){x.next=9;break}return x.next=6,this._createDocument(c.id,c.data,c.ttl);case 6:case 17:case 29:u=x.sent,x.next=39;break;case 9:if(!(p=this.getCached(c.id,gt.type))){x.next=14;break}return x.abrupt("return",new gt(p));case 14:return x.prev=14,x.next=17,this._getDocument(c.id);case 20:if(x.prev=20,x.t0=x.catch(14),404===x.t0.status&amp;&amp;"open_existing"!==c.mode){x.next=26;break}throw x.t0;case 26:return x.prev=26,x.next=29,this._createDocument(c.id,c.data,c.ttl);case 32:if(x.prev=32,x.t1=x.catch(26),409!==x.t1.status){x.next=38;break}return x.abrupt("return",this.document(r));case 38:throw x.t1;case 39:return this.storeRootInSessionCache(gt.type,c.id,u),y=new yt(this.services,u,(function(r,c,u){return w.removeFromCacheAndSession(r,c,u)})),y=this.entities.store(y),x.abrupt("return",new gt(y));case 43:case"end":return x.stop()}}),_callee8,this,[[14,20],[26,32]])}))),function document(r){return E.apply(this,arguments)})},{key:"map",value:(k=ve.default(De.default.mark((function _callee9(r){var c,u,p,y,w=this;return De.default.wrap((function _callee9$(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,this.ensureReady();case 2:if("create_new"!==(c=decompose(r)).mode){x.next=9;break}return x.next=6,this._createMap(c.id,c.ttl);case 6:case 17:case 29:u=x.sent,x.next=39;break;case 9:if(!(p=this.getCached(c.id,At.type))){x.next=14;break}return x.abrupt("return",new At(p));case 14:return x.prev=14,x.next=17,this._getMap(c.id,c.includeItems);case 20:if(x.prev=20,x.t0=x.catch(14),404===x.t0.status&amp;&amp;"open_existing"!==c.mode){x.next=26;break}throw x.t0;case 26:return x.prev=26,x.next=29,this._createMap(c.id,c.ttl);case 32:if(x.prev=32,x.t1=x.catch(26),409!==x.t1.status){x.next=38;break}return x.abrupt("return",this.map(r));case 38:throw x.t1;case 39:return this.storeRootInSessionCache(At.type,c.id,u),y=new Ct(this.services,u,(function(r,c,u){return w.removeFromCacheAndSession(r,c,u)})),y=this.entities.store(y),x.abrupt("return",new At(y));case 43:case"end":return x.stop()}}),_callee9,this,[[14,20],[26,32]])}))),function map(r){return k.apply(this,arguments)})},{key:"list",value:(x=ve.default(De.default.mark((function _callee10(r){var c,u,p,y,w=this;return De.default.wrap((function _callee10$(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,this.ensureReady();case 2:if("create_new"!==(c=decompose(r)).mode){x.next=9;break}return x.next=6,this._createList(c.id,c.purpose,c.context,c.ttl);case 6:case 17:case 29:u=x.sent,x.next=39;break;case 9:if(!(p=this.getCached(c.id,Tt.type))){x.next=14;break}return x.abrupt("return",new Tt(p));case 14:return x.prev=14,x.next=17,this._getList(c.id);case 20:if(x.prev=20,x.t0=x.catch(14),404===x.t0.status&amp;&amp;"open_existing"!==c.mode){x.next=26;break}throw x.t0;case 26:return x.prev=26,x.next=29,this._createList(c.id,c.purpose,c.context,c.ttl);case 32:if(x.prev=32,x.t1=x.catch(26),409!==x.t1.status){x.next=38;break}return x.abrupt("return",this.list(r));case 38:throw x.t1;case 39:return this.storeRootInSessionCache(Tt.type,c.id,u),y=new Et(this.services,u,(function(r,c,u){return w.removeFromCacheAndSession(r,c,u)})),y=this.entities.store(y),x.abrupt("return",new Tt(y));case 43:case"end":return x.stop()}}),_callee10,this,[[14,20],[26,32]])}))),function list(r){return x.apply(this,arguments)})},{key:"stream",value:(w=ve.default(De.default.mark((function _callee11(r){var c,u,p,y,w,x=this;return De.default.wrap((function _callee11$(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,this.ensureReady();case 2:if("create_new"!==(c=decompose(r)).mode){k.next=9;break}return k.next=6,this._createStream(c.id,c.ttl);case 6:case 17:case 29:u=k.sent,k.next=39;break;case 9:if(!(p=this.getCached(c.id,Lt.type))){k.next=14;break}return k.abrupt("return",new Lt(p));case 14:return k.prev=14,k.next=17,this._getStream(c.id);case 20:if(k.prev=20,k.t0=k.catch(14),404===k.t0.status&amp;&amp;"open_existing"!==c.mode){k.next=26;break}throw k.t0;case 26:return k.prev=26,k.next=29,this._createStream(c.id,c.ttl);case 32:if(k.prev=32,k.t1=k.catch(26),409!==k.t1.status){k.next=38;break}return k.abrupt("return",this.stream(r));case 38:throw k.t1;case 39:return this.storeRootInSessionCache(Lt.type,c.id,u),y=function streamRemovalHandler(r,c,u){return x.removeFromCacheAndSession(r,c,u)},w=new Pt(this.services,u,y),w=this.entities.store(w),k.abrupt("return",new Lt(w));case 44:case"end":return k.stop()}}),_callee11,this,[[14,20],[26,32]])}))),function stream(r){return w.apply(this,arguments)})},{key:"shutdown",value:(y=ve.default(De.default.mark((function _callee12(){return De.default.wrap((function _callee12$(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.services.subscriptions.shutdown();case 2:return r.next=4,this.services.twilsock.disconnect();case 4:case"end":return r.stop()}}),_callee12,this)}))),function shutdown(){return y.apply(this,arguments)})},{key:"updateToken",value:(p=ve.default(De.default.mark((function _callee13(r){return De.default.wrap((function _callee13$(c){for(;;)switch(c.prev=c.next){case 0:return c.abrupt("return",this.services.twilsock.updateToken(r).catch((function(r){var c,u=null==r||null===(c=r.reply)||void 0===c?void 0:c.status;if(401===(null==u?void 0:u.code)&amp;&amp;"UNAUTHORIZED"===(null==u?void 0:u.status))throw new Ye("Updated token was rejected by server",400,51130);throw r})));case 1:case"end":return c.stop()}}),_callee13,this)}))),function updateToken(r){return p.apply(this,arguments)})},{key:"liveQuery",value:(u=ve.default(De.default.mark((function _callee14(r,c){var u,p,y,w,x,k=this;return De.default.wrap((function _callee14$(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,this.ensureReady();case 2:return u=new Je(this.services.config.insightsUri).pathSegment(r).pathSegment("Items").build(),E.next=5,queryItems({network:this.services.network,uri:u,queryString:c,type:Nt.type});case 5:return p=E.sent,(y=this.getCached(p.query_id,Nt.type))||((w=this._getLiveQuery(p.query_id))||(w={indexName:r,queryExpression:c,sid:p.query_id,queryUri:u,last_event_id:p.last_event_id}),x=function liveQueryRemovalHandler(r,c,u){return k.removeFromCacheAndSession(r,c,u)},y=new jt(w,this.services,x,p.items)),this.storeRootInSessionCache(Nt.type,p.query_id,y.liveQueryDescriptor),y=this.entities.store(y),E.abrupt("return",new Nt(y));case 11:case"end":return E.stop()}}),_callee14,this)}))),function liveQuery(r,c){return u.apply(this,arguments)})},{key:"instantQuery",value:(c=ve.default(De.default.mark((function _callee15(r){var c,u=this;return De.default.wrap((function _callee15$(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,this.ensureReady();case 2:return c=function liveQueryCreator(r,c){return u.liveQuery(r,c)},p.abrupt("return",new Dt({indexName:r,network:this.services.network,insightsUri:this.services.config.insightsUri,liveQueryCreator:c}));case 4:case"end":return p.stop()}}),_callee15,this)}))),function instantQuery(r){return c.apply(this,arguments)})}],[{key:"populateInitRegistrations",value:function populateInitRegistrations(r){r.populateInitRegistrations([qt,Ut,Ft,Bt])}},{key:"version",get:function get(){return Mt}}]),Client}(EventEmitter);je.default(Zt,"connectionStateChanged","connectionStateChanged"),je.default(Zt,"connectionError","connectionError"),je.default(Zt,"tokenAboutToExpire","tokenAboutToExpire"),je.default(Zt,"tokenExpired","tokenExpired"),__decorate([ie.validateTypesAsync(["undefined","string",ie.objectSchema("open document options",{id:["string","undefined"],mode:[ie.literal("open_or_create","open_existing","create_new"),"undefined"],ttl:[ie.nonNegativeInteger,"undefined"],data:[ie.pureObject,"undefined",ie.literal(null)]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],Zt.prototype,"document",null),__decorate([ie.validateTypesAsync(["undefined","string",ie.objectSchema("open map options",{id:["string","undefined"],mode:[ie.literal("open_or_create","open_existing","create_new"),"undefined"],ttl:[ie.nonNegativeInteger,"undefined"],data:[ie.pureObject,"undefined",ie.literal(null)],includeItems:["boolean","undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],Zt.prototype,"map",null),__decorate([ie.validateTypesAsync(["undefined","string",ie.objectSchema("open list options",{id:["string","undefined"],mode:[ie.literal("open_or_create","open_existing","create_new"),"undefined"],ttl:[ie.nonNegativeInteger,"undefined"],data:[ie.pureObject,"undefined",ie.literal(null)],purpose:["string","undefined"],context:[ie.pureObject,"undefined"],includeItems:["boolean","undefined"]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],Zt.prototype,"list",null),__decorate([ie.validateTypesAsync(["undefined","string",ie.objectSchema("open stream options",{id:["string","undefined"],mode:[ie.literal("open_or_create","open_existing","create_new"),"undefined"],ttl:[ie.nonNegativeInteger,"undefined"],data:[ie.pureObject,"undefined",ie.literal(null)]})]),__metadata("design:type",Function),__metadata("design:paramtypes",[Object]),__metadata("design:returntype",Promise)],Zt.prototype,"stream",null),__decorate([ie.validateTypesAsync(ie.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],Zt.prototype,"updateToken",null),__decorate([ie.validateTypesAsync(ie.nonEmptyString,"string"),__metadata("design:type",Function),__metadata("design:paramtypes",[String,String]),__metadata("design:returntype",Promise)],Zt.prototype,"liveQuery",null),__decorate([ie.validateTypesAsync(ie.nonEmptyString),__metadata("design:type",Function),__metadata("design:paramtypes",[String]),__metadata("design:returntype",Promise)],Zt.prototype,"instantQuery",null),c.Client=Zt,c.InsightsItem=function InsightsItem(){we.default(this,InsightsItem)},c.InstantQuery=Dt,c.LiveQuery=Nt,c.Paginator=bt,c.SyncClient=Zt,c.SyncDocument=gt,c.SyncList=Tt,c.SyncListItem=vt,c.SyncMap=At,c.SyncMapItem=Ot,c.SyncStream=Lt},48261:function(r,c,u){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),u(47042),u(41539),u(91038),u(78783),u(82526),u(41817),u(32165),u(66992),u(33948);var p=u(31227);u(68309),u(33161),u(9653);var y=u(78890);u(69720),u(92222),u(12419);var w=u(73678),x=u(15826),k=u(82199),E=u(82156),I=u(18486);function _interopDefaultLegacy(r){return r&amp;&amp;"object"==typeof r&amp;&amp;"default"in r?r:{default:r}}u(26699),u(88674),u(69600);var K=_interopDefaultLegacy(p),J=_interopDefaultLegacy(y),oe=_interopDefaultLegacy(w),ie=_interopDefaultLegacy(x),ae=_interopDefaultLegacy(k),se=_interopDefaultLegacy(E),ue=_interopDefaultLegacy(I),le=function custom(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return{checks:c}};function _createForOfIteratorHelper$3(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$3(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$3(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$3(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$3(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var pe=function type(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return le((function(r){var u,p=!1,y=[],w=_createForOfIteratorHelper$3(c);try{for(w.s();!(u=w.n()).done;){var x=u.value;"string"!=typeof x?(p=p||r instanceof x,y.push("an instance of ".concat(x.name))):(p=p||K.default(r)===x,y.push("of type ".concat(x)))}}catch(r){w.e(r)}finally{w.f()}return[p,y]}))};function _createForOfIteratorHelper$2(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$2(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$2(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$2(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$2(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var de=le((function(r){return["string"==typeof r&amp;&amp;r.length&gt;0,"a non-empty string"]})),he=le((function(r){return["number"==typeof r&amp;&amp;Number.isInteger(r)&amp;&amp;r&gt;=0,"a non-negative integer"]})),ge=le((function(r){return["object"===K.default(r)&amp;&amp;null!==r&amp;&amp;!Array.isArray(r),"a pure object (non-null and non-array)"]}));function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=ue.default(r);if(c){var y=ue.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return se.default(this,u)}}function _createForOfIteratorHelper$1(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$1(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$1(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$1(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$1(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var ve=function runtimeTypeValidation(r,c){if(c.length&gt;r.length)throw new Error("Expected at most ".concat(r.length," argument(s), but got ").concat(c.length));for(;c.length&lt;r.length;)c.push(void 0);var u,p=_createForOfIteratorHelper$1(c.entries());try{for(p.s();!(u=p.n()).done;){var y=J.default(u.value,2),w=y[0],x=y[1],k=Pe(r[w],x),E=J.default(k,4),I=E[0],K=E[1],oe=E[2],ie=E[3];if(!I)throw new Error("Argument ".concat(w+1," is expected to be ").concat(oe).concat(ie," but got ").concat(K))}}catch(r){p.e(r)}finally{p.f()}},we=function stringifyReceivedType(r){var c,u,p;(["undefined","boolean","number","bigint","string"].includes(K.default(r))&amp;&amp;(u="string"==typeof r?'"'.concat(r,'"'):"".concat(r)),"object"===K.default(r)&amp;&amp;"Object"!==(null==r||null===(c=r.constructor)||void 0===c?void 0:c.name))&amp;&amp;(u=null===r?"null":"instance of ".concat(null==r||null===(p=r.constructor)||void 0===p?void 0:p.name));return u||(u=K.default(r)),u},Se=function convertRuleArguments(r){var c,u=[],p=_createForOfIteratorHelper$1(r);try{for(p.s();!(c=p.n()).done;){var y=c.value;u.push(Oe(y))}}catch(r){p.e(r)}finally{p.f()}return u},Oe=function convertRuleArgument(r){var c,u=[],p=_createForOfIteratorHelper$1(Array.isArray(r)?r:[r]);try{for(p.s();!(c=p.n()).done;){var y=c.value;"string"!=typeof y&amp;&amp;"function"!=typeof y?u.push(y):u.push(pe(y))}}catch(r){p.e(r)}finally{p.f()}return u},Pe=function validateValue(r,c){var u,p,y=[],w=!1,x=_createForOfIteratorHelper$1(r);try{for(x.s();!(p=x.n()).done;){var k,E=_createForOfIteratorHelper$1(p.value.checks);try{for(E.s();!(k=E.n()).done;){var I=(0,k.value)(c),K=J.default(I,3),ie=K[0],ae=K[1],se=K[2];w=w||ie,!u&amp;&amp;se&amp;&amp;(u=se),ae&amp;&amp;(y=[].concat(oe.default(y),"string"==typeof ae?[ae]:oe.default(ae)))}}catch(r){E.e(r)}finally{E.f()}}}catch(r){x.e(r)}finally{x.f()}if(w)return[!0];var ue=u||we(c),le=y.length-1;return[!1,ue,le&gt;0?"".concat(y.slice(0,le).join(", ")," or ").concat(y[le]):y.join(", "),le&gt;1?";":","]};function _createForOfIteratorHelper(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}c.array=function array(r,c){return le((function(u){if(!Array.isArray(u))return[!1,"an array of ".concat(r)];var p,y=_createForOfIteratorHelper(u.entries());try{for(y.s();!(p=y.n()).done;){var w=J.default(p.value,2),x=w[0],k=w[1],E=Pe(Oe(c),k),I=J.default(E,3),K=I[0],oe=I[1],ie=I[2];if(!K)return[!1,"a valid array of ".concat(r," (index ").concat(x," should be ").concat(ie,")"),"malformed array of ".concat(r," (index ").concat(x," is ").concat(oe,")")]}}catch(r){y.e(r)}finally{y.f()}return[!0]}))},c.custom=le,c.literal=function literal(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return le((function(r){var u,p=!1,y=[],w=_createForOfIteratorHelper$2(c);try{for(w.s();!(u=w.n()).done;){var x=u.value;p=p||r===x,y.push("string"==typeof x?'"'.concat(x,'"'):"".concat(x))}}catch(r){w.e(r)}finally{w.f()}return[p,y]}))},c.nonEmptyString=de,c.nonNegativeInteger=he,c.objectSchema=function objectSchema(r,c){return le((function(u){if("object"!==K.default(u)||null===u||Array.isArray(u))return[!1,"valid ".concat(r," (should be a pure object)")];for(var p=0,y=Object.entries(c);p&lt;y.length;p++){var w=J.default(y[p],2),x=w[0],k=w[1],E=Pe(Oe(k),u[x]),I=J.default(E,3),oe=I[0],ie=I[1],ae=I[2];if(!oe)return[!1,"valid ".concat(r,' (key "').concat(x,'" should be ').concat(ae,")"),"malformed ".concat(r,' (key "').concat(x,'" is ').concat(ie,")")]}return[!0]}))},c.pureObject=ge,c.runtimeTypeValidation=ve,c.stringifyReceivedType=we,c.type=pe,c.validateConstructorTypes=function validateConstructorTypes(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];var p=Se(c);return function(r){return function(r){ae.default(_class,r);var c=_createSuper(_class);function _class(){ie.default(this,_class);for(var r=arguments.length,u=new Array(r),y=0;y&lt;r;y++)u[y]=arguments[y];return ve(p,u),c.call.apply(c,[this].concat(u))}return _class}(r)}},c.validateTypes=function validateTypes(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];var p=Se(c);return function(r,c,u){if("function"!=typeof u.value)throw new Error("The validateTypes decorator can only be applied to methods");var y=u.value;u.value=function(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return ve(p,c),y.apply(this,c)}}},c.validateTypesAsync=function validateTypesAsync(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];var p=Se(c);return function(r,c,u){if("function"!=typeof u.value)throw new Error("The validateTypesAsync decorator can only be applied to methods");var y=u.value;u.value=function(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];try{ve(p,c)}catch(r){return Promise.reject(r)}return y.apply(this,c)}}}},15602:function(r,c,u){var p,y;!function(w,x){"use strict";p=function(){var noop=function(){},r="undefined",c=typeof window!==r&amp;&amp;typeof window.navigator!==r&amp;&amp;/Trident\/|MSIE /.test(window.navigator.userAgent),u=["trace","debug","info","warn","error"];function bindMethod(r,c){var u=r[c];if("function"==typeof u.bind)return u.bind(r);try{return Function.prototype.bind.call(u,r)}catch(c){return function(){return Function.prototype.apply.apply(u,[r,arguments])}}}function traceForIE(){console.log&amp;&amp;(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&amp;&amp;console.trace()}function realMethod(u){return"debug"===u&amp;&amp;(u="log"),typeof console!==r&amp;&amp;("trace"===u&amp;&amp;c?traceForIE:void 0!==console[u]?bindMethod(console,u):void 0!==console.log?bindMethod(console,"log"):noop)}function replaceLoggingMethods(r,c){for(var p=0;p&lt;u.length;p++){var y=u[p];this[y]=p&lt;r?noop:this.methodFactory(y,r,c)}this.log=this.debug}function enableLoggingWhenConsoleArrives(c,u,p){return function(){typeof console!==r&amp;&amp;(replaceLoggingMethods.call(this,u,p),this[c].apply(this,arguments))}}function defaultMethodFactory(r,c,u){return realMethod(r)||enableLoggingWhenConsoleArrives.apply(this,arguments)}function Logger(c,p,y){var w,x=this,k="loglevel";function persistLevelIfPossible(c){var p=(u[c]||"silent").toUpperCase();if(typeof window!==r&amp;&amp;k){try{return void(window.localStorage[k]=p)}catch(r){}try{window.document.cookie=encodeURIComponent(k)+"="+p+";"}catch(r){}}}function getPersistedLevel(){var c;if(typeof window!==r&amp;&amp;k){try{c=window.localStorage[k]}catch(r){}if(typeof c===r)try{var u=window.document.cookie,p=u.indexOf(encodeURIComponent(k)+"=");-1!==p&amp;&amp;(c=/^([^;]+)/.exec(u.slice(p))[1])}catch(r){}return void 0===x.levels[c]&amp;&amp;(c=void 0),c}}"string"==typeof c?k+=":"+c:"symbol"==typeof c&amp;&amp;(k=void 0),x.name=c,x.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},x.methodFactory=y||defaultMethodFactory,x.getLevel=function(){return w},x.setLevel=function(u,p){if("string"==typeof u&amp;&amp;void 0!==x.levels[u.toUpperCase()]&amp;&amp;(u=x.levels[u.toUpperCase()]),!("number"==typeof u&amp;&amp;u&gt;=0&amp;&amp;u&lt;=x.levels.SILENT))throw"log.setLevel() called with invalid level: "+u;if(w=u,!1!==p&amp;&amp;persistLevelIfPossible(u),replaceLoggingMethods.call(x,u,c),typeof console===r&amp;&amp;u&lt;x.levels.SILENT)return"No console available for logging"},x.setDefaultLevel=function(r){getPersistedLevel()||x.setLevel(r,!1)},x.enableAll=function(r){x.setLevel(x.levels.TRACE,r)},x.disableAll=function(r){x.setLevel(x.levels.SILENT,r)};var E=getPersistedLevel();null==E&amp;&amp;(E=null==p?"WARN":p),x.setLevel(E,!1)}var p=new Logger,y={};p.getLogger=function getLogger(r){if("symbol"!=typeof r&amp;&amp;"string"!=typeof r||""===r)throw new TypeError("You must supply a name when creating a logger.");var c=y[r];return c||(c=y[r]=new Logger(r,p.getLevel(),p.methodFactory)),c};var w=typeof window!==r?window.log:void 0;return p.noConflict=function(){return typeof window!==r&amp;&amp;window.log===p&amp;&amp;(window.log=w),p},p.getLoggers=function getLoggers(){return y},p.default=p,p},void 0===(y="function"==typeof p?p.call(c,u,c,r):p)||(r.exports=y)}()},7766:function(r,c,u){"use strict";var p=void 0!==p?p:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};Object.defineProperty(c,"__esModule",{value:!0}),u(12419);var y=u(99939),w=u(68982),x=u(56353),k=u(68830),E=u(47237),I=u(57555),K=u(20766),J=u(16194),oe=u(7654),ie=u(66832);u(92222),u(41539),u(39714),u(69600),u(21249);var ae=u(78349),se=u(15131);u(91038),u(78783);var ue=u(43891);u(66992),u(70189),u(33948),u(82526),u(41817),u(88674);var le=u(84907),pe=u(55877);u(74916),u(15306),u(9653),u(82472),u(92990),u(18927),u(33105),u(35035),u(74345),u(7174),u(32846),u(44731),u(77209),u(96319),u(58867),u(37789),u(33739),u(29368),u(14483),u(12056),u(3462),u(30678),u(27462),u(33824),u(55021),u(12974),u(15016),u(23123);var de=u(33242);u(47941),u(57327),u(38880),u(54747),u(49337);var he=u(89575);u(51532);var ge=u(31795);function _interopDefaultLegacy(r){return r&amp;&amp;"object"==typeof r&amp;&amp;"default"in r?r:{default:r}}function _interopNamespace(r){if(r&amp;&amp;r.__esModule)return r;var c=Object.create(null);return r&amp;&amp;Object.keys(r).forEach((function(u){if("default"!==u){var p=Object.getOwnPropertyDescriptor(r,u);Object.defineProperty(c,u,p.get?p:{enumerable:!0,get:function(){return r[u]}})}})),c.default=r,Object.freeze(c)}u(4723),u(64765),u(40561);var ve=_interopDefaultLegacy(y),we=_interopDefaultLegacy(w),Se=_interopDefaultLegacy(x),Oe=_interopDefaultLegacy(k),Pe=_interopDefaultLegacy(E),Le=_interopDefaultLegacy(I),Ie=_interopDefaultLegacy(K),je=_interopDefaultLegacy(J),De=_interopDefaultLegacy(oe),Ue=_interopDefaultLegacy(ie),Fe=_interopDefaultLegacy(ae),Ze=_interopNamespace(ue),$e=_interopNamespace(le),Ge=_interopDefaultLegacy(de),We=_interopNamespace(ge);function EventHandlers(){}function EventEmitter(){EventEmitter.init.call(this)}function $getMaxListeners(r){return void 0===r._maxListeners?EventEmitter.defaultMaxListeners:r._maxListeners}function _addListener(r,c,u,p){var y,w,x;if("function"!=typeof u)throw new TypeError('"listener" argument must be a function');if((w=r._events)?(w.newListener&amp;&amp;(r.emit("newListener",c,u.listener?u.listener:u),w=r._events),x=w[c]):(w=r._events=new EventHandlers,r._eventsCount=0),x){if("function"==typeof x?x=w[c]=p?[u,x]:[x,u]:p?x.unshift(u):x.push(u),!x.warned&amp;&amp;(y=$getMaxListeners(r))&amp;&amp;y&gt;0&amp;&amp;x.length&gt;y){x.warned=!0;var k=new Error("Possible EventEmitter memory leak detected. "+x.length+" "+c+" listeners added. Use emitter.setMaxListeners() to increase limit");k.name="MaxListenersExceededWarning",k.emitter=r,k.type=c,k.count=x.length,function emitWarning(r){"function"==typeof console.warn?console.warn(r):console.log(r)}(k)}}else x=w[c]=u,++r._eventsCount;return r}function _onceWrap(r,c,u){var p=!1;function g(){r.removeListener(c,g),p||(p=!0,u.apply(r,arguments))}return g.listener=u,g}function listenerCount(r){var c=this._events;if(c){var u=c[r];if("function"==typeof u)return 1;if(u)return u.length}return 0}function arrayClone(r,c){for(var u=new Array(c);c--;)u[c]=r[c];return u}EventHandlers.prototype=Object.create(null),EventEmitter.EventEmitter=EventEmitter,EventEmitter.usingDomains=!1,EventEmitter.prototype.domain=void 0,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.init=function(){this.domain=null,EventEmitter.usingDomains&amp;&amp;undefined.active,this._events&amp;&amp;this._events!==Object.getPrototypeOf(this)._events||(this._events=new EventHandlers,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},EventEmitter.prototype.setMaxListeners=function setMaxListeners(r){if("number"!=typeof r||r&lt;0||isNaN(r))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=r,this},EventEmitter.prototype.getMaxListeners=function getMaxListeners(){return $getMaxListeners(this)},EventEmitter.prototype.emit=function emit(r){var c,u,p,y,w,x,k,E="error"===r;if(x=this._events)E=E&amp;&amp;null==x.error;else if(!E)return!1;if(k=this.domain,E){if(c=arguments[1],!k){if(c instanceof Error)throw c;var I=new Error('Uncaught, unspecified "error" event. ('+c+")");throw I.context=c,I}return c||(c=new Error('Uncaught, unspecified "error" event')),c.domainEmitter=this,c.domain=k,c.domainThrown=!1,k.emit("error",c),!1}if(!(u=x[r]))return!1;var K="function"==typeof u;switch(p=arguments.length){case 1:!function emitNone(r,c,u){if(c)r.call(u);else for(var p=r.length,y=arrayClone(r,p),w=0;w&lt;p;++w)y[w].call(u)}(u,K,this);break;case 2:!function emitOne(r,c,u,p){if(c)r.call(u,p);else for(var y=r.length,w=arrayClone(r,y),x=0;x&lt;y;++x)w[x].call(u,p)}(u,K,this,arguments[1]);break;case 3:!function emitTwo(r,c,u,p,y){if(c)r.call(u,p,y);else for(var w=r.length,x=arrayClone(r,w),k=0;k&lt;w;++k)x[k].call(u,p,y)}(u,K,this,arguments[1],arguments[2]);break;case 4:!function emitThree(r,c,u,p,y,w){if(c)r.call(u,p,y,w);else for(var x=r.length,k=arrayClone(r,x),E=0;E&lt;x;++E)k[E].call(u,p,y,w)}(u,K,this,arguments[1],arguments[2],arguments[3]);break;default:for(y=new Array(p-1),w=1;w&lt;p;w++)y[w-1]=arguments[w];!function emitMany(r,c,u,p){if(c)r.apply(u,p);else for(var y=r.length,w=arrayClone(r,y),x=0;x&lt;y;++x)w[x].apply(u,p)}(u,K,this,y)}return!0},EventEmitter.prototype.addListener=function addListener(r,c){return _addListener(this,r,c,!1)},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.prependListener=function prependListener(r,c){return _addListener(this,r,c,!0)},EventEmitter.prototype.once=function once(r,c){if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');return this.on(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.prependOnceListener=function prependOnceListener(r,c){if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');return this.prependListener(r,_onceWrap(this,r,c)),this},EventEmitter.prototype.removeListener=function removeListener(r,c){var u,p,y,w,x;if("function"!=typeof c)throw new TypeError('"listener" argument must be a function');if(!(p=this._events))return this;if(!(u=p[r]))return this;if(u===c||u.listener&amp;&amp;u.listener===c)0==--this._eventsCount?this._events=new EventHandlers:(delete p[r],p.removeListener&amp;&amp;this.emit("removeListener",r,u.listener||c));else if("function"!=typeof u){for(y=-1,w=u.length;w-- &gt;0;)if(u[w]===c||u[w].listener&amp;&amp;u[w].listener===c){x=u[w].listener,y=w;break}if(y&lt;0)return this;if(1===u.length){if(u[0]=void 0,0==--this._eventsCount)return this._events=new EventHandlers,this;delete p[r]}else!function spliceOne(r,c){for(var u=c,p=u+1,y=r.length;p&lt;y;u+=1,p+=1)r[u]=r[p];r.pop()}(u,y);p.removeListener&amp;&amp;this.emit("removeListener",r,x||c)}return this},EventEmitter.prototype.off=function(r,c){return this.removeListener(r,c)},EventEmitter.prototype.removeAllListeners=function removeAllListeners(r){var c,u;if(!(u=this._events))return this;if(!u.removeListener)return 0===arguments.length?(this._events=new EventHandlers,this._eventsCount=0):u[r]&amp;&amp;(0==--this._eventsCount?this._events=new EventHandlers:delete u[r]),this;if(0===arguments.length){for(var p,y=Object.keys(u),w=0;w&lt;y.length;++w)"removeListener"!==(p=y[w])&amp;&amp;this.removeAllListeners(p);return this.removeAllListeners("removeListener"),this._events=new EventHandlers,this._eventsCount=0,this}if("function"==typeof(c=u[r]))this.removeListener(r,c);else if(c)do{this.removeListener(r,c[c.length-1])}while(c[0]);return this},EventEmitter.prototype.listeners=function listeners(r){var c,u=this._events;return u&amp;&amp;(c=u[r])?"function"==typeof c?[c.listener||c]:function unwrapListeners(r){for(var c=new Array(r.length),u=0;u&lt;c.length;++u)c[u]=r[u].listener||r[u];return c}(c):[]},EventEmitter.listenerCount=function(r,c){return"function"==typeof r.listenerCount?r.listenerCount(c):listenerCount.call(r,c)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount&gt;0?Reflect.ownKeys(this._events):[]};var Ke=Ze.getLogger("twilsock");function prepareLine(r,c){return["".concat((new Date).toISOString()," Twilsock ").concat(r,":")].concat(Array.from(c))}var Je=function(){function Logger(r){je.default(this,Logger),De.default(this,"prefix",""),this.prefix=null!=r&amp;&amp;r.length&gt;0?" "+r+":":""}return we.default(Logger,[{key:"setLevel",value:function setLevel(r){Ke.setLevel(r)}},{key:"trace",value:function trace(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Ke.trace.apply(null,prepareLine("T",c))}},{key:"debug",value:function debug(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Ke.debug.apply(null,prepareLine("D",c))}},{key:"info",value:function info(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Ke.info.apply(null,prepareLine("I",c))}},{key:"warn",value:function warn(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Ke.warn.apply(null,prepareLine("W",c))}},{key:"error",value:function error(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Ke.error.apply(null,prepareLine("E",c))}}],[{key:"setLevel",value:function setLevel(r){Ke.setLevel(r)}},{key:"trace",value:function trace(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Ke.trace.apply(null,prepareLine("T",c))}},{key:"debug",value:function debug(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Ke.debug.apply(null,prepareLine("D",c))}},{key:"info",value:function info(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Ke.info.apply(null,prepareLine("I",c))}},{key:"warn",value:function warn(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Ke.warn.apply(null,prepareLine("W",c))}},{key:"error",value:function error(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];Ke.error.apply(null,prepareLine("E",c))}}]),Logger}(),Ye=new Je(""),Xe="0.12.2",Qe=function(){function Configuration(r,c,u){je.default(this,Configuration),De.default(this,"confirmedCapabilities",new Set),this.activeGrant=c,this._token=r;var p=u.region||"us1",y="wss://tsock.".concat(p,".twilio.com/v3/wsconnect"),w=u.twilsock||u.Twilsock||{};this.url=w.uri||y,this._continuationToken=u.continuationToken?u.continuationToken:null,this.logLevel=u.logLevel?u.logLevel:"error",this.retryPolicy=u.retryPolicy?u.retryPolicy:{min:1e3,max:12e4,randomness:.2},this.clientMetadata=u.clientMetadata?u.clientMetadata:{},this.clientMetadata.ver=Xe,this.initRegistrations=u.initRegistrations?u.initRegistrations:null,this.tweaks=u.tweaks?u.tweaks:null}return we.default(Configuration,[{key:"token",get:function get(){return this._token}},{key:"continuationToken",get:function get(){return this._continuationToken}},{key:"updateToken",value:function updateToken(r){this._token=r}},{key:"updateContinuationToken",value:function updateContinuationToken(r){this._continuationToken=r}}]),Configuration}(),et=function AbstractMessage(r){je.default(this,AbstractMessage),this.id=r||"TM".concat(pe.v4())};function _createSuper$f(r){var c=function _isNativeReflectConstruct$f(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var rt=function(r){Pe.default(Init,r);var c=_createSuper$f(Init);function Init(r,u,p,y,w){var x;return je.default(this,Init),x=c.call(this),De.default(Se.default(x),"method","init"),x.token=r,x.continuation_token=u,x.metadata=p,x.registrations=y,x.tweaks=w,x.capabilities=["client_update","offline_storage","telemetry.v1"],x}return Init}(et);function _createSuper$e(r){var c=function _isNativeReflectConstruct$e(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var nt=function(r){Pe.default(InitReply,r);var c=_createSuper$e(InitReply);function InitReply(r,u,p,y,w,x,k){var E;return je.default(this,InitReply),(E=c.call(this,r)).continuationToken=u,E.continuationTokenStatus=y,E.offlineStorage=w,E.initRegistrations=x,E.debugInfo=k,E.confirmedCapabilities=p,E}return InitReply}(et);function _createSuper$d(r){var c=function _isNativeReflectConstruct$d(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var ot=function(r){Pe.default(Update,r);var c=_createSuper$d(Update);function Update(r){var u;return je.default(this,Update),u=c.call(this),De.default(Se.default(u),"method","update"),u.token=r,u}return Update}(et);function _createSuper$c(r){var c=function _isNativeReflectConstruct$c(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var it=function(r){Pe.default(Message,r);var c=_createSuper$c(Message);function Message(r,u,p){var y;return je.default(this,Message),y=c.call(this),De.default(Se.default(y),"method","message"),y.active_grant=r,y.payload_type=u,y.http_request=p,y}return Message}(et);function _createSuper$b(r){var c=function _isNativeReflectConstruct$b(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var st=function(r){Pe.default(Reply,r);var c=_createSuper$b(Reply);function Reply(r){var u;return je.default(this,Reply),u=c.call(this,r),De.default(Se.default(u),"method","reply"),De.default(Se.default(u),"payload_type","application/json"),De.default(Se.default(u),"status",{code:200,status:"OK"}),u}return Reply}(et);function _createSuper$a(r){var c=function _isNativeReflectConstruct$a(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var ct=function(r){Pe.default(Close,r);var c=_createSuper$a(Close);function Close(){var r;return je.default(this,Close),r=c.call(this),De.default(Se.default(r),"method","close"),r}return Close}(et);function _createSuper$9(r){var c=function _isNativeReflectConstruct$9(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var ut=function TelemetryEvent(r,c,u,p,y,w){je.default(this,TelemetryEvent),this.start=r,this.end=c,this.title=u,this.details=p,this.id=y,this.type=w},lt=function(r){Pe.default(Telemetry,r);var c=_createSuper$9(Telemetry);function Telemetry(r){var u;return je.default(this,Telemetry),u=c.call(this),De.default(Se.default(u),"method","telemetry.v1"),u.events=r,u}return Telemetry}(et);function byteLength(r){return encodeURIComponent(r).replace(/%([0-9A-F]{2})/g,(function(r,c){return String.fromCharCode(Number("0x"+c))})).length}function uint8ArrayToString(r){var c=Array.prototype.map.call(r,(function(r){return String.fromCharCode(r)})).join("").replace(/(.)/g,(function(r,c){var u=c.charCodeAt(0).toString(16).toUpperCase();return u.length&lt;2&amp;&amp;(u="0"+u),"%"+u}));return decodeURIComponent(c)}function getJsonObject(r){return JSON.parse(uint8ArrayToString(r))}var pt=function(){function Parser(){je.default(this,Parser)}return we.default(Parser,null,[{key:"parse",value:function parse(r){var c,u,p=new Uint8Array(r),y=function getMagic(r){for(var c="",u=0;u&lt;r.length;++u){var p=String.fromCharCode(r[u]);if(c+=p,"\r"===p){u+=2;break}}var y=c.split(" ");return{size:u,protocol:y[0],version:y[1],headerSize:Number(y[2])}}(p);if("TWILSOCK"!==y.protocol||"V3.0"!==y.version)return Ye.error("unsupported protocol: ".concat(y.protocol," ver ").concat(y.version)),null;try{c=getJsonObject(p.subarray(y.size,y.size+y.headerSize))}catch(c){return Ye.error("failed to parse message header",c,r),null}if(Ye.debug("message received: ",c.method),Ye.trace("message received: ",c),c.payload_size&gt;0){var w=2+y.size+y.headerSize,x=c.payload_size;if(c.hasOwnProperty("payload_type")&amp;&amp;0!==c.payload_type.indexOf("application/json"))0===c.payload_type.indexOf("text/plain")&amp;&amp;(u=uint8ArrayToString(p.subarray(w,w+x)));else try{u=getJsonObject(p.subarray(w,w+x))}catch(c){return Ye.error("failed to parse message body",c,r),null}}return{method:c.method,header:c,payload:u}}},{key:"createPacket",value:function createPacket(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"";r.payload_size=byteLength(c);var u=JSON.stringify(r),p="TWILSOCK V3.0 "+byteLength(u);return Ye.debug("send request:",p+u+c),function stringToUint8Array(r){var c=encodeURIComponent(r).replace(/%([0-9A-F]{2})/g,(function(r,c){return String.fromCharCode(Number("0x"+c))})),u=new Uint8Array(c.length);return Array.prototype.forEach.call(c,(function(r,c){u[c]=r.charCodeAt(0)})),u}(p+"\r\n"+u+"\r\n"+c).buffer}}]),Parser}();function _createSuper$8(r){var c=function _isNativeReflectConstruct$8(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var dt=function(r){Pe.default(TwilsockError,r);var c=_createSuper$8(TwilsockError);function TwilsockError(r){return je.default(this,TwilsockError),c.call(this,r)}return TwilsockError}(Ge.default(Error));function _createSuper$7(r){var c=function _isNativeReflectConstruct$7(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var ft=function(r){Pe.default(TwilsockReplyError,r);var c=_createSuper$7(TwilsockReplyError);function TwilsockReplyError(r,u){var p;return je.default(this,TwilsockReplyError),(p=c.call(this,r)).reply=u,p}return TwilsockReplyError}(dt);function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){De.default(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function _createSuper$6(r){var c=function _isNativeReflectConstruct$6(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var ht=function(r){Pe.default(BackoffRetrier,r);var c=_createSuper$6(BackoffRetrier);function BackoffRetrier(r){var u;return je.default(this,BackoffRetrier),u=c.call(this),De.default(Se.default(u),"newBackoff",null),De.default(Se.default(u),"usedBackoff",null),De.default(Se.default(u),"retrier",null),u.options=r?_objectSpread({},r):{},u}return we.default(BackoffRetrier,[{key:"inProgress",get:function get(){return!!this.retrier}},{key:"start",value:function start(){if(this.inProgress)throw new Error("Already waiting for next attempt, call finishAttempt(success : boolean) to finish it");this.createRetrier()}},{key:"stop",value:function stop(){this.cleanRetrier(),this.newBackoff=null,this.usedBackoff=null}},{key:"modifyBackoff",value:function modifyBackoff(r){this.newBackoff=r}},{key:"attemptFailed",value:function attemptFailed(){if(!this.inProgress)throw new Error("No attempt is in progress");var r,c;this.newBackoff?!this.usedBackoff||this.usedBackoff&lt;this.newBackoff?this.createRetrier():null===(r=this.retrier)||void 0===r||r.failed(new Error):null===(c=this.retrier)||void 0===c||c.failed(new Error)}},{key:"cancel",value:function cancel(){var r;null===(r=this.retrier)||void 0===r||r.cancel()}},{key:"cleanRetrier",value:function cleanRetrier(){var r,c;null===(r=this.retrier)||void 0===r||r.removeAllListeners(),null===(c=this.retrier)||void 0===c||c.cancel(),this.retrier=null}},{key:"getRetryPolicy",value:function getRetryPolicy(){var r=_objectSpread({},this.options);return this.newBackoff&amp;&amp;(r.min=this.newBackoff,r.max=this.options.max&amp;&amp;this.options.max&gt;this.newBackoff?this.options.max:this.newBackoff),r.maxAttemptsCount=this.options.maxAttemptsCount?this.options.maxAttemptsCount+1:void 0,r}},{key:"createRetrier",value:function createRetrier(){var r=this;this.cleanRetrier();var c=this.getRetryPolicy();this.retrier=new he.Retrier(c),this.retrier.once("attempt",(function(){var c,u;null===(c=r.retrier)||void 0===c||c.on("attempt",(function(){return r.emit("attempt")})),null===(u=r.retrier)||void 0===u||u.failed(new Error("Skipping first attempt"))})),this.retrier.on("failed",(function(c){return r.emit("failed",c)})),this.usedBackoff=this.newBackoff,this.newBackoff=null,this.retrier.start()}}]),BackoffRetrier}(EventEmitter);function _createSuper$5(r){var c=function _isNativeReflectConstruct$5(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var mt=function(r){Pe.default(TwilsockChannel,r);var c,u,p=_createSuper$5(TwilsockChannel);function TwilsockChannel(r,c,u){var y;je.default(this,TwilsockChannel),y=p.call(this),De.default(Se.default(y),"disconnectingTimer",null),De.default(Se.default(y),"disconnectedPromiseResolve",null),De.default(Se.default(y),"terminalStates",["disconnected","rejected"]),De.default(Se.default(y),"tokenExpiredSasCode",20104),De.default(Se.default(y),"terminationReason","Connection is not initialized"),y.websocket=r,y.websocket.on("connected",(function(){return y.fsm.socketConnected()})),y.websocket.on("disconnected",(function(){return y.fsm.socketClosed()})),y.websocket.on("message",(function(r){return y.onIncomingMessage(r)})),y.websocket.on("socketError",(function(r){return y.emit("connectionError",{terminal:!1,message:"Socket error: ".concat(r.message),httpStatusCode:null,errorCode:null})})),y.transport=c,y.config=u,y.retrier=new ht(u.retryPolicy),y.retrier.on("attempt",(function(){return y.retry()})),y.retrier.on("failed",(function(r){Ye.warn("Retrying failed: ".concat(r.message)),y.disconnect()})),"undefined"!=typeof window&amp;&amp;void 0!==window.addEventListener&amp;&amp;(window.addEventListener("online",(function(){Ye.debug("Browser reported connectivity state: online"),y.resetBackoff(),y.fsm.systemOnline()})),window.addEventListener("offline",(function(){Ye.debug("Browser reported connectivity state: offline"),y.websocket.close(),y.fsm.socketClosed()})));var w=$e.factory({init:"disconnected",transitions:[{name:"userConnect",from:["disconnected","rejected"],to:"connecting"},{name:"userConnect",from:["connecting","connected"]},{name:"userDisconnect",from:["connecting","initialising","connected","updating","retrying","rejected","waitSocketClosed","waitOffloadSocketClosed"],to:"disconnecting"},{name:"userRetry",from:["retrying"],to:"connecting"},{name:"socketConnected",from:["connecting"],to:"initialising"},{name:"socketClosed",from:["connecting","initialising","connected","updating","error","waitOffloadSocketClosed"],to:"retrying"},{name:"socketClosed",from:["disconnecting"],to:"disconnected"},{name:"socketClosed",from:["waitSocketClosed"],to:"disconnected"},{name:"socketClosed",from:["rejected"],to:"rejected"},{name:"initSuccess",from:["initialising"],to:"connected"},{name:"initError",from:["initialising"],to:"error"},{name:"tokenRejected",from:["initialising","updating"],to:"rejected"},{name:"protocolError",from:["initialising","connected","updating"],to:"error"},{name:"receiveClose",from:["initialising","connected","updating"],to:"waitSocketClosed"},{name:"receiveOffload",from:["initialising","connected","updating"],to:"waitOffloadSocketClosed"},{name:"unsupportedProtocol",from:["initialising","connected","updating"],to:"unsupported"},{name:"receiveFatalClose",from:["initialising","connected","updating"],to:"unsupported"},{name:"userUpdateToken",from:["disconnected","rejected","connecting","retrying"],to:"connecting"},{name:"userUpdateToken",from:["connected"],to:"updating"},{name:"updateSuccess",from:["updating"],to:"connected"},{name:"updateError",from:["updating"],to:"error"},{name:"userSend",from:["connected"],to:"connected"},{name:"systemOnline",from:["retrying"],to:"connecting"}],methods:{onConnecting:function onConnecting(){y.setupSocket(),y.emit("connecting")},onEnterInitialising:function onEnterInitialising(){y.sendInit()},onLeaveInitialising:function onLeaveInitialising(){y.cancelInit()},onEnterUpdating:function onEnterUpdating(){y.sendUpdate()},onLeaveUpdating:function onLeaveUpdating(){y.cancelUpdate()},onEnterRetrying:function onEnterRetrying(){y.initRetry(),y.emit("connecting")},onEnterConnected:function onEnterConnected(){y.resetBackoff(),y.onConnected()},onUserUpdateToken:function onUserUpdateToken(){y.resetBackoff()},onTokenRejected:function onTokenRejected(){y.resetBackoff(),y.closeSocket(!0),y.finalizeSocket()},onUserDisconnect:function onUserDisconnect(){y.closeSocket(!0)},onEnterDisconnecting:function onEnterDisconnecting(){y.startDisconnectTimer()},onLeaveDisconnecting:function onLeaveDisconnecting(){y.cancelDisconnectTimer()},onEnterWaitSocketClosed:function onEnterWaitSocketClosed(){y.startDisconnectTimer()},onLeaveWaitSocketClosed:function onLeaveWaitSocketClosed(){y.cancelDisconnectTimer()},onEnterWaitOffloadSocketClosed:function onEnterWaitOffloadSocketClosed(){y.startDisconnectTimer()},onLeaveWaitOffloadSocketClosed:function onLeaveWaitOffloadSocketClosed(){y.cancelDisconnectTimer()},onDisconnected:function onDisconnected(){y.resetBackoff(),y.finalizeSocket()},onReceiveClose:function onReceiveClose(){y.onCloseReceived()},onReceiveOffload:function onReceiveOffload(r,c){Ye.debug("onreceiveoffload: ",c),y.modifyBackoff(c.body),y.onCloseReceived()},onUnsupported:function onUnsupported(){y.closeSocket(!0),y.finalizeSocket()},onError:function onError(r,c){y.closeSocket(c),y.finalizeSocket()},onEnterState:function onEnterState(r){"none"!==r.from&amp;&amp;y.changeState(r)},onInvalidTransition:function onInvalidTransition(r,c,u){Ye.warn("FSM: unexpected transition",c,u)}}});return y.fsm=new w,y}return we.default(TwilsockChannel,[{key:"changeState",value:function changeState(r){Ye.debug("FSM: ".concat(r.transition,": ").concat(r.from," --\x3e ").concat(r.to)),this.lastEmittedState!==this.state&amp;&amp;(this.lastEmittedState=this.state,this.emit("stateChanged",this.state))}},{key:"resetBackoff",value:function resetBackoff(){Ye.trace("resetBackoff"),this.retrier.stop()}},{key:"modifyBackoff",value:function modifyBackoff(r){Ye.trace("modifyBackoff",r);var c=r?r.backoff_policy:null;c&amp;&amp;"number"==typeof c.reconnect_min_ms&amp;&amp;this.retrier.modifyBackoff(c.reconnect_min_ms)}},{key:"startDisconnectTimer",value:function startDisconnectTimer(){var r=this;Ye.trace("startDisconnectTimer"),this.disconnectingTimer&amp;&amp;(clearTimeout(this.disconnectingTimer),this.disconnectingTimer=null),this.disconnectingTimer=setTimeout((function(){Ye.debug("disconnecting is timed out"),r.closeSocket(!0)}),3e3)}},{key:"cancelDisconnectTimer",value:function cancelDisconnectTimer(){Ye.trace("cancelDisconnectTimer"),this.disconnectingTimer&amp;&amp;(clearTimeout(this.disconnectingTimer),this.disconnectingTimer=null)}},{key:"isConnected",get:function get(){return"connected"===this.state&amp;&amp;this.websocket.isConnected}},{key:"state",get:function get(){switch(this.fsm.state){case"connecting":case"initialising":case"retrying":case"error":return"connecting";case"updating":case"connected":return"connected";case"rejected":return"denied";case"disconnecting":case"waitSocketClosed":case"waitOffloadSocketClosed":return"disconnecting";default:return"disconnected"}}},{key:"initRetry",value:function initRetry(){Ye.debug("initRetry"),this.retrier.inProgress?this.retrier.attemptFailed():this.retrier.start()}},{key:"retry",value:function retry(){"connecting"!=this.fsm.state?(Ye.trace("retry"),this.websocket.close(),this.fsm.userRetry()):Ye.trace("can\t retry as already connecting")}},{key:"onConnected",value:function onConnected(){this.emit("connected")}},{key:"finalizeSocket",value:function finalizeSocket(){Ye.trace("finalizeSocket"),this.websocket.close(),this.emit("disconnected"),this.disconnectedPromiseResolve&amp;&amp;(this.disconnectedPromiseResolve(),this.disconnectedPromiseResolve=null)}},{key:"setupSocket",value:function setupSocket(){Ye.trace("setupSocket:",this.config.token),this.emit("beforeConnect"),this.websocket.connect()}},{key:"onIncomingMessage",value:function onIncomingMessage(r){var c=pt.parse(r);if(c){var u=c.method,p=c.header,y=c.payload;if("reply"!==u&amp;&amp;this.confirmReceiving(p),"notification"===u)this.emit("message",p.message_type,y);else if("reply"===p.method)this.transport.processReply({id:p.id,status:p.status,header:p,body:y});else if("client_update"===p.method)"token_about_to_expire"===p.client_update_type&amp;&amp;this.emit("tokenAboutToExpire");else if("close"===p.method)if(308===p.status.code)Ye.debug("Connection has been offloaded"),this.fsm.receiveOffload({status:p.status.status,body:y});else if(406===p.status.code){var w="Server closed connection because can't parse protocol: ".concat(JSON.stringify(p.status));this.emitReplyConnectionError(w,p,!0),Ye.error(w),this.fsm.receiveFatalClose()}else 417===p.status.code?(Ye.error("Server closed connection because can't parse client reply: ".concat(JSON.stringify(p.status))),this.fsm.receiveFatalClose(p.status.status)):410===p.status.code?(Ye.warn("Server closed connection: ".concat(JSON.stringify(p.status))),this.fsm.receiveClose(p.status.status),this.emit("tokenExpired")):401===p.status.code?(Ye.error("Server closed connection: ".concat(JSON.stringify(p.status))),this.fsm.receiveClose(p.status.status)):(Ye.warn("unexpected message: ",p.status),this.fsm.receiveOffload({status:p.status.status,body:null}))}}},{key:"sendInit",value:(u=ve.default(Ue.default.mark((function _callee(){var r,c;return Ue.default.wrap((function _callee$(u){for(;;)switch(u.prev=u.next){case 0:return Ye.trace("sendInit"),u.prev=1,this.emit("beforeSendInit"),u.next=5,this.transport.sendInit();case 5:r=u.sent,this.config.updateContinuationToken(r.continuationToken),this.config.confirmedCapabilities=r.confirmedCapabilities,this.fsm.initSuccess(r),this.emit("initialized",r),this.emit("tokenUpdated"),u.next=17;break;case 13:u.prev=13,u.t0=u.catch(1),u.t0 instanceof ft?(c=!1,Ye.warn("Init rejected by server: ".concat(JSON.stringify(u.t0.reply.status))),this.emit("sendInitFailed"),401===u.t0.reply.status.code||403===u.t0.reply.status.code?(c=!0,this.fsm.tokenRejected(u.t0.reply.status),u.t0.reply.status.errorCode===this.tokenExpiredSasCode&amp;&amp;this.emit("tokenExpired")):429===u.t0.reply.status.code?(this.modifyBackoff(u.t0.reply.body),this.fsm.initError(!0)):500===u.t0.reply.status.code?this.fsm.initError(!1):this.fsm.initError(!0),this.emitReplyConnectionError(u.t0.message,u.t0.reply,c)):(this.terminationReason=u.t0.message,this.emit("connectionError",{terminal:!0,message:"Unknown error during connection initialisation: ".concat(u.t0.message,"\n").concat(JSON.stringify(u.t0,null,2)),httpStatusCode:null,errorCode:null}),this.fsm.initError(!0)),this.emit("tokenUpdated",u.t0);case 17:case"end":return u.stop()}}),_callee,this,[[1,13]])}))),function sendInit(){return u.apply(this,arguments)})},{key:"sendUpdate",value:(c=ve.default(Ue.default.mark((function _callee2(){var r,c,u;return Ue.default.wrap((function _callee2$(p){for(;;)switch(p.prev=p.next){case 0:return Ye.trace("sendUpdate"),r=new ot(this.config.token),p.prev=2,p.next=5,this.transport.sendWithReply(r);case 5:c=p.sent,this.fsm.updateSuccess(c.body),this.emit("tokenUpdated"),p.next=14;break;case 10:p.prev=10,p.t0=p.catch(2),p.t0 instanceof ft?(u=!1,Ye.warn("Token update rejected by server: ".concat(JSON.stringify(p.t0.reply.status))),401===p.t0.reply.status.code||403===p.t0.reply.status.code?(u=!0,this.fsm.tokenRejected(p.t0.reply.status),p.t0.reply.status.errorCode===this.tokenExpiredSasCode&amp;&amp;this.emit("tokenExpired")):429===p.t0.reply.status.code?(this.modifyBackoff(p.t0.reply.body),this.fsm.updateError(p.t0.reply.status)):this.fsm.updateError(p.t0.reply.status),this.emitReplyConnectionError(p.t0.message,p.t0.reply,u)):(this.emit("error",!1,p.t0.message,null,null),this.fsm.updateError(p.t0)),this.emit("tokenUpdated",p.t0);case 14:case"end":return p.stop()}}),_callee2,this,[[2,10]])}))),function sendUpdate(){return c.apply(this,arguments)})},{key:"emitReplyConnectionError",value:function emitReplyConnectionError(r,c,u){var p=c.status&amp;&amp;c.status.description?c.status.description:r,y=c.status.code,w=c.status&amp;&amp;c.status.errorCode?c.status.errorCode:null;u&amp;&amp;(this.terminationReason=p),this.emit("connectionError",{terminal:u,message:"Connection error: ".concat(p),httpStatusCode:y,errorCode:w})}},{key:"cancelInit",value:function cancelInit(){Ye.trace("cancelInit")}},{key:"cancelUpdate",value:function cancelUpdate(){Ye.trace("cancelUpdate")}},{key:"confirmReceiving",value:function confirmReceiving(r){Ye.trace("confirmReceiving");try{this.transport.send(new st(r.id))}catch(r){Ye.debug("failed to confirm packet receiving",r)}}},{key:"closeSocket",value:function closeSocket(r){var c=this;Ye.trace("closeSocket (graceful: ".concat(r,")")),r&amp;&amp;this.transport.isConnected&amp;&amp;this.transport.sendClose(),this.websocket.close(),function trampoline(r){setTimeout(r,0)}((function(){return c.fsm.socketClosed()}))}},{key:"connect",value:function connect(){Ye.trace("connect"),this.fsm.userConnect()}},{key:"disconnect",value:function disconnect(){var r=this;return Ye.trace("disconnect"),this.fsm.is("disconnected")?Promise.resolve():new Promise((function(c){r.disconnectedPromiseResolve=c,r.fsm.userDisconnect()}))}},{key:"updateToken",value:function updateToken(r){var c=this;return Ye.trace("updateToken:",r),new Promise((function(r,u){c.once("tokenUpdated",(function(c){c?u(c):r()})),c.fsm.userUpdateToken()}))}},{key:"isTerminalState",get:function get(){return-1!==this.terminalStates.indexOf(this.fsm.state)}},{key:"getTerminationReason",get:function get(){return this.terminationReason}},{key:"onCloseReceived",value:function onCloseReceived(){this.websocket.close()}}]),TwilsockChannel}(EventEmitter),yt=function(){function Metadata(){je.default(this,Metadata)}return we.default(Metadata,null,[{key:"getMetadata",value:function getMetadata(r){var c,u,p,y,w,x,k,E,I=r&amp;&amp;r.clientMetadata?r.clientMetadata:{},K={env:null!==(c=We.name)&amp;&amp;void 0!==c?c:"unknown",envv:null!==(u=We.version)&amp;&amp;void 0!==u?u:"unknown",os:null!==(p=null===(y=We.os)||void 0===y?void 0:y.family)&amp;&amp;void 0!==p?p:"unknown",osv:null!==(w=null===(x=We.os)||void 0===x?void 0:x.version)&amp;&amp;void 0!==w?w:"unknown",osa:null!==(k=null===(E=We.os)||void 0===E?void 0:E.architecture)&amp;&amp;void 0!==k?k:"unknown",sdk:"js-default"},J={};return["ver","env","envv","os","osv","osa","type","sdk","sdkv","dev","devv","devt","app","appv"].filter((function(r){return r in I||r in K})).forEach((function(r){return J[r]=r in I?I[r]:K[r]})),J}}]),Metadata}();var gt=function(){function PacketInterface(r,c){var u=this;je.default(this,PacketInterface),this.config=c,this.activeRequests=new Map,this.channel=r,this.channel.on("reply",(function(r){return u.processReply(r)})),this.channel.on("disconnected",(function(){u.activeRequests.forEach((function(r){clearTimeout(r.timeout),r.reject(new dt("disconnected"))})),u.activeRequests.clear()}))}var r;return we.default(PacketInterface,[{key:"isConnected",get:function get(){return this.channel.isConnected}},{key:"processReply",value:function processReply(r){var c=this.activeRequests.get(r.id);c&amp;&amp;(clearTimeout(c.timeout),this.activeRequests.delete(r.id),!function isHttpSuccess$1(r){return r&gt;=200&amp;&amp;r&lt;300}(r.status.code)?(c.reject(new ft("Transport failure: "+r.status.status,r)),Ye.trace("message rejected")):c.resolve(r))}},{key:"storeRequest",value:function storeRequest(r,c,u){var p={resolve:c,reject:u,timeout:setTimeout((function(){Ye.trace("request",r,"is timed out"),u(new dt("Twilsock: request timeout: "+r))}),3e4)};this.activeRequests.set(r,p)}},{key:"shutdown",value:function shutdown(){this.activeRequests.forEach((function(r){clearTimeout(r.timeout),r.reject(new dt("Twilsock: request cancelled by user"))})),this.activeRequests.clear()}},{key:"sendInit",value:(r=ve.default(Ue.default.mark((function _callee(){var r,c,u;return Ue.default.wrap((function _callee$(p){for(;;)switch(p.prev=p.next){case 0:return Ye.trace("sendInit"),r=yt.getMetadata(this.config),c=new rt(this.config.token,this.config.continuationToken,r,this.config.initRegistrations,this.config.tweaks),p.next=5,this.sendWithReply(c);case 5:return u=p.sent,p.abrupt("return",new nt(u.id,u.header.continuation_token,new Set(u.header.capabilities),u.header.continuation_token_status,u.header.offline_storage,u.header.init_registrations,u.header.debug_info));case 7:case"end":return p.stop()}}),_callee,this)}))),function sendInit(){return r.apply(this,arguments)})},{key:"sendClose",value:function sendClose(){var r=new ct;this.send(r)}},{key:"sendWithReply",value:function sendWithReply(r,c){var u=this;return new Promise((function(p,y){var w=u.send(r,c);u.storeRequest(w,p,y)}))}},{key:"send",value:function send(r,c){r.id=r.id||"TM".concat(pe.v4());var u=pt.createPacket(r,function preparePayload(r){switch(Fe.default(r)){case"undefined":return"";case"object":return JSON.stringify(r);default:return r}}(c));try{return this.channel.send(u),r.id}catch(c){throw Ye.debug("failed to send ",r,c),Ye.trace(c.stack),c}}}]),PacketInterface}();function _createSuper$4(r){var c=function _isNativeReflectConstruct$4(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var vt=function(r){Pe.default(WebSocketChannel,r);var c=_createSuper$4(WebSocketChannel);function WebSocketChannel(r){var u;return je.default(this,WebSocketChannel),u=c.call(this),De.default(Se.default(u),"socket",null),u.url=r,u.url=r,u.WebSocket=p.WebSocket||p.MozWebSocket||{},u}return we.default(WebSocketChannel,[{key:"isConnected",get:function get(){return!!this.socket&amp;&amp;1===this.socket.readyState}},{key:"connect",value:function connect(){var r,c=this;Ye.trace("connecting to socket");try{r=new this.WebSocket(this.url)}catch(r){return Ye.debug("Socket error: ".concat(this.url)),void this.emit("socketError",r)}r.binaryType="arraybuffer",r.onopen=function(){Ye.debug("socket opened ".concat(c.url)),c.emit("connected")},r.onclose=function(r){Ye.debug("socket closed",r),c.emit("disconnected",r)},r.onerror=function(r){Ye.debug("Socket error:",r),c.emit("socketError",r)},r.onmessage=function(r){c.emit("message",r.data)},this.socket=r}},{key:"send",value:function send(r){return this.socket&amp;&amp;this.socket.send(r)}},{key:"close",value:function close(){if(Ye.trace("closing socket"),this.socket){this.socket.onopen=null,this.socket.onclose=null,this.socket.onerror=null,this.socket.onmessage=null;try{this.socket.close()}finally{}}}}]),WebSocketChannel}(EventEmitter);function _createSuper$3(r){var c=function _isNativeReflectConstruct$3(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var bt=function(r){Pe.default(Registrations,r);var c,u,p,y,w,x,k=_createSuper$3(Registrations);function Registrations(r){var c;return je.default(this,Registrations),(c=k.call(this)).transport=r,c.registrations=new Map,c.registrationsInProgress=new Map,c}return we.default(Registrations,[{key:"putNotificationContext",value:(x=ve.default(Ue.default.mark((function _callee(r,c){var u;return Ue.default.wrap((function _callee$(p){for(;;)switch(p.prev=p.next){case 0:return u={method:"put_notification_ctx",notification_ctx_id:r},p.next=3,this.transport.sendWithReply(u,c);case 3:case"end":return p.stop()}}),_callee,this)}))),function putNotificationContext(r,c){return x.apply(this,arguments)})},{key:"deleteNotificationContext",value:(w=ve.default(Ue.default.mark((function _callee2(r){var c;return Ue.default.wrap((function _callee2$(u){for(;;)switch(u.prev=u.next){case 0:return c={method:"delete_notification_ctx",notification_ctx_id:r},u.next=3,this.transport.sendWithReply(c);case 3:case"end":return u.stop()}}),_callee2,this)}))),function deleteNotificationContext(r){return w.apply(this,arguments)})},{key:"updateRegistration",value:(y=ve.default(Ue.default.mark((function _callee3(r,c){var u,p;return Ue.default.wrap((function _callee3$(y){for(;;)switch(y.prev=y.next){case 0:return Ye.debug("update registration for context",r),(u=this.registrationsInProgress.get(r))||(u=new Set,this.registrationsInProgress.set(r,u)),p=pe.v4(),u.add(p),y.prev=5,y.next=8,this.putNotificationContext(r,c);case 8:Ye.debug("registration attempt succeeded for context",c),u.delete(p),0===u.size&amp;&amp;(this.registrationsInProgress.delete(r),this.emit("registered",r)),y.next=19;break;case 13:y.prev=13,y.t0=y.catch(5),Ye.warn("registration attempt failed for context",c),Ye.debug(y.t0),u.delete(p),0===u.size&amp;&amp;(this.registrationsInProgress.delete(r),this.emit("registrationFailed",r,y.t0));case 19:case"end":return y.stop()}}),_callee3,this,[[5,13]])}))),function updateRegistration(r,c){return y.apply(this,arguments)})},{key:"updateRegistrations",value:(p=ve.default(Ue.default.mark((function _callee4(){var r,c=this;return Ue.default.wrap((function _callee4$(u){for(;;)switch(u.prev=u.next){case 0:return Ye.trace("refreshing ".concat(this.registrations.size," registrations")),r=[],this.registrations.forEach((function(u,p){r.push(c.updateRegistration(p,u))})),u.next=5,Promise.all(r);case 5:case"end":return u.stop()}}),_callee4,this)}))),function updateRegistrations(){return p.apply(this,arguments)})},{key:"setNotificationsContext",value:(u=ve.default(Ue.default.mark((function _callee5(r,c){return Ue.default.wrap((function _callee5$(u){for(;;)switch(u.prev=u.next){case 0:if(r&amp;&amp;c){u.next=2;break}throw new dt("Invalid arguments provided");case 2:return this.registrations.set(r,c),u.next=5,this.updateRegistration(r,c);case 5:return u.abrupt("return",u.sent);case 6:case"end":return u.stop()}}),_callee5,this)}))),function setNotificationsContext(r,c){return u.apply(this,arguments)})},{key:"removeNotificationsContext",value:(c=ve.default(Ue.default.mark((function _callee6(r){return Ue.default.wrap((function _callee6$(c){for(;;)switch(c.prev=c.next){case 0:if(this.registrations.has(r)){c.next=2;break}return c.abrupt("return");case 2:return c.next=4,this.deleteNotificationContext(r);case 4:this.transport.isConnected&amp;&amp;this.registrations.delete(r);case 5:case"end":return c.stop()}}),_callee6,this)}))),function removeNotificationsContext(r){return c.apply(this,arguments)})}]),Registrations}(EventEmitter);function _createSuper$2(r){var c=function _isNativeReflectConstruct$2(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var _t=function(r){Pe.default(TwilsockUpstreamError,r);var c=_createSuper$2(TwilsockUpstreamError);function TwilsockUpstreamError(r,u,p){var y;return je.default(this,TwilsockUpstreamError),(y=c.call(this,u)).status=r,y.description=u,y.body=p,y}return TwilsockUpstreamError}(dt);function _createSuper$1(r){var c=function _isNativeReflectConstruct$1(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var wt=function(r){Pe.default(TransportUnavailableError,r);var c=_createSuper$1(TransportUnavailableError);function TransportUnavailableError(r){return je.default(this,TransportUnavailableError),c.call(this,r)}return TransportUnavailableError}(dt);function twilsockAddress(r,c){var u=function parseUri(r){var c=r.match(/^(https?\:)\/\/(([^:\/?#]*)(?:\:([0-9]+))?)(\/[^?#]*)(\?[^#]*|)(#.*|)$/);if(c){var u={protocol:c[1],host:c[2],hostname:c[3],port:c[4],pathname:c[5],search:c[6],hash:c[7],params:{}};if(u.search.length&gt;0){var p=u.search.substring(1);u.params=p.split("&amp;").map((function(r){return r.split("=")})).reduce((function(r,c){return r.hasOwnProperty(c[0])?Array.isArray(r[c[0]])?r[c[0]].push(c[1]):r[c[0]]=[r[c[0]],c[1]]:r[c[0]]=c[1],r}),{})}return u}throw new dt("Incorrect URI: "+r)}(c),p={method:r,host:u.host,path:u.pathname};return u.params&amp;&amp;(p.params=u.params),p}var xt=function(){function Upstream(r,c,u){je.default(this,Upstream),this.config=u,this.transport=r,this.pendingMessages=[],this.twilsock=c}var r;return we.default(Upstream,[{key:"saveMessage",value:function saveMessage(r){var c=this;return new Promise((function(u,p){var y={message:r,resolve:u,reject:p,alreadyRejected:!1,timeout:setTimeout((function(){Ye.debug("request is timed out"),p(new dt("request '".concat(r.to.method,"' to '").concat(r.to.host,"' timed out"))),y.alreadyRejected=!0}),2e4)};c.pendingMessages.push(y)}))}},{key:"sendPendingMessages",value:function sendPendingMessages(){for(var r=this,c=function _loop(){var c=r.pendingMessages[0];if(!c.alreadyRejected)try{var u=c.message;r.actualSend(u).then((function(r){return c.resolve(r)})).catch((function(r){return c.reject(r)})),clearTimeout(c.timeout)}catch(r){return Ye.debug("Failed to send pending message",r),"break"}r.pendingMessages.splice(0,1)};this.pendingMessages.length&gt;0;){if("break"===c())break}}},{key:"rejectPendingMessages",value:function rejectPendingMessages(){var r=this;this.pendingMessages.forEach((function(c){c.reject(new wt("Unable to connect: "+r.twilsock.getTerminationReason)),c.alreadyRejected=!0,clearTimeout(c.timeout)})),this.pendingMessages.splice(0,this.pendingMessages.length)}},{key:"actualSend",value:(r=ve.default(Ue.default.mark((function _callee(r){var c,u,p,y,w,x,k,E;return Ue.default.wrap((function _callee$(I){for(;;)switch(I.prev=I.next){case 0:return u=r.to,p=r.headers,y=r.body,w=null!==(c=r.grant)&amp;&amp;void 0!==c?c:this.config.activeGrant,x={host:u.host,path:u.path,method:u.method,params:u.params,headers:p},k=new it(w,p["Content-Type"]||"application/json",x),Ye.trace("Sending upstream message",k),I.next=9,this.transport.sendWithReply(k,y);case 9:if(E=I.sent,Ye.trace("Received upstream message response",E),!((J=E)&amp;&amp;J.header&amp;&amp;J.header.http_status)||(K=E.header.http_status.code)&gt;=200&amp;&amp;K&lt;300){I.next=13;break}throw new _t(E.header.http_status.code,E.header.http_status.status,E.body);case 13:return I.abrupt("return",{status:E.header.http_status,headers:E.header.http_headers,body:E.body});case 14:case"end":return I.stop()}var K,J}),_callee,this)}))),function actualSend(c){return r.apply(this,arguments)})},{key:"send",value:function send(r,c){var u=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{},p=arguments.length&gt;3?arguments[3]:void 0,y=arguments.length&gt;4?arguments[4]:void 0;if(this.twilsock.isTerminalState)return Promise.reject(new wt("Unable to connect: "+this.twilsock.getTerminationReason));var w=function twilsockParams(r,c,u,p,y){return{to:twilsockAddress(r,c),headers:u,body:p,grant:y}}(r,c,u,p,y);return this.twilsock.isConnected?this.actualSend(w):this.saveMessage(w)}}]),Upstream}(),kt=function(){function Deferred(){var r=this;je.default(this,Deferred),this._promise=new Promise((function(c,u){r._resolve=c,r._reject=u}))}return we.default(Deferred,[{key:"promise",get:function get(){return this._promise}},{key:"update",value:function update(r){this._resolve(r)}},{key:"set",value:function set(r){this._resolve(r)}},{key:"fail",value:function fail(r){this._reject(r)}}]),Deferred}(),St=function(){function OfflineProductStorage(r){je.default(this,OfflineProductStorage),this.id=r}return we.default(OfflineProductStorage,null,[{key:"create",value:function create(r){if(r instanceof Object&amp;&amp;"storage_id"in r)return new OfflineProductStorage(r.storage_id);throw new dt('Field "storage_id" is missing')}}]),OfflineProductStorage}(),Et=function(){function TokenStorage(){return je.default(this,TokenStorage),De.default(this,"initializedFlag","twilio_twilsock_token_storage"),De.default(this,"tokenStoragePrefix","twilio_continuation_token_"),TokenStorage._instance||(this.initialize(),TokenStorage._instance=this),TokenStorage._instance}return we.default(TokenStorage,[{key:"sessionStorage",value:function sessionStorage(){try{return p.sessionStorage}catch(r){return null}}},{key:"window",value:function window(){try{return p.window}catch(r){return null}}},{key:"storeToken",value:function storeToken(r,c){this.canStore()&amp;&amp;this.sessionStorage.setItem(this.getKeyName(c),r)}},{key:"getStoredToken",value:function getStoredToken(r){return this.canStore()?this.sessionStorage.getItem(this.getKeyName(r)):null}},{key:"initialize",value:function initialize(){var r=this;if(this.canStore()){this.sessionStorage.getItem(this.initializedFlag)&amp;&amp;this.clear(),this.sessionStorage.setItem(this.initializedFlag,"true");var c=this.sessionStorage.removeItem;this.window.addEventListener("unload",(function(){c(r.initializedFlag)}))}}},{key:"clear",value:function clear(){if(this.canStore()){for(var r=[],c=0;c&lt;this.sessionStorage.length;c++){var u=this.sessionStorage.key(c);u&amp;&amp;0===u.indexOf(this.tokenStoragePrefix)&amp;&amp;r.push(u)}var p=this.sessionStorage.removeItem;r.forEach((function(r){return p(r)})),p(this.initializedFlag)}}},{key:"getKeyName",value:function getKeyName(r){return"".concat(this.tokenStoragePrefix).concat(r)}},{key:"canStore",value:function canStore(){return!!(this.sessionStorage&amp;&amp;this.sessionStorage.length&amp;&amp;this.window)}}]),TokenStorage}();De.default(Et,"_instance",null);var Tt,Ot,Ct=new Et,At=function(){function TelemetryEventDescription(r,c,u,p,y,w){je.default(this,TelemetryEventDescription),this.title=r,this.details=c,this.start=u,this.type=y,this.id=w,this.end=p}return we.default(TelemetryEventDescription,[{key:"toTelemetryEvent",value:function toTelemetryEvent(){var r=new Date,c=this.start,u=this.end?this.end:r;if(u&lt;c){var p=u;u=c,c=p}var y=c.getTime()-r.getTime(),w=u.getTime()-r.getTime();return new ut(y,w,this.title,this.details,this.id,this.type)}}]),TelemetryEventDescription}();c.TelemetryPoint=void 0,(Tt=c.TelemetryPoint||(c.TelemetryPoint={}))[Tt.Start=0]="Start",Tt[Tt.End=1]="End",c.EventSendingLimitation=void 0,(Ot=c.EventSendingLimitation||(c.EventSendingLimitation={}))[Ot.MinEventsPortion=0]="MinEventsPortion",Ot[Ot.AnyEvents=1]="AnyEvents",Ot[Ot.AnyEventsIncludingUnfinished=2]="AnyEventsIncludingUnfinished";var Pt=function(){function TelemetryTracker(r,c){je.default(this,TelemetryTracker),De.default(this,"minEventsPortionToSend",50),De.default(this,"maxEventsPortionToSend",100),De.default(this,"pendingEvents",new Map),De.default(this,"readyEvents",[]),De.default(this,"hasInitializationFinished",!1),De.default(this,"_canSendTelemetry",!1),this.config=r,this.packetInterface=c}return we.default(TelemetryTracker,[{key:"isTelemetryEnabled",get:function get(){return this.config.confirmedCapabilities.has("telemetry.v1")}},{key:"canSendTelemetry",get:function get(){return this._canSendTelemetry&amp;&amp;this.isTelemetryEnabled},set:function set(r){Ye.debug("TelemetryTracker.canSendTelemetry: ".concat(r," TelemetryTracker.isTelemetryEnabled: ").concat(this.isTelemetryEnabled)),this._canSendTelemetry&amp;&amp;!r&amp;&amp;(this.pendingEvents.clear(),this.readyEvents=[]),this._canSendTelemetry=r,r&amp;&amp;this.sendTelemetry(c.EventSendingLimitation.AnyEvents),r&amp;&amp;!this.hasInitializationFinished&amp;&amp;(this.hasInitializationFinished=!0)}},{key:"addTelemetryEvent",value:function addTelemetryEvent(r){!this.canSendTelemetry&amp;&amp;this.hasInitializationFinished||this.readyEvents.push(r)}},{key:"addPartialEvent",value:function addPartialEvent(r,u,p){Ye.debug("Adding ".concat(p===c.TelemetryPoint.Start?"starting":"ending"," timepoint for '").concat(u,"' event"));var y=this.pendingEvents.has(u);if(p===c.TelemetryPoint.Start)y&amp;&amp;Ye.debug("Overwriting starting point for '".concat(u,"' event")),this.pendingEvents.set(u,r);else{if(!y)return void Ye.info("Could not find started event for '".concat(u,"' event"));this.addTelemetryEvent(this.merge(this.pendingEvents.get(u),r)),this.pendingEvents.delete(u)}}},{key:"getTelemetryToSend",value:function getTelemetryToSend(r){return this.canSendTelemetry&amp;&amp;0!=this.readyEvents.length?r==c.EventSendingLimitation.MinEventsPortion&amp;&amp;this.readyEvents.length&lt;this.minEventsPortionToSend?[]:this.getTelemetryPortion(r==c.EventSendingLimitation.AnyEventsIncludingUnfinished):[]}},{key:"getTelemetryPortion",value:function getTelemetryPortion(r){var c=this,u=Math.min(this.readyEvents.length,this.maxEventsPortionToSend),p=this.readyEvents.splice(0,u);return r&amp;&amp;p.length&lt;this.maxEventsPortionToSend&amp;&amp;this.pendingEvents.forEach((function(r,u){if(!(p.length&gt;=c.maxEventsPortionToSend)){var y=c.pendingEvents.get(u);c.pendingEvents.delete(u),p.push(new At("[UNFINISHED] ".concat(y.title),y.details,y.start,null,y.type,y.id))}})),p}},{key:"merge",value:function merge(r,c){return new At(c.title?c.title:r.title,c.details?c.details:r.details,r.start,c.end,c.type?c.type:r.type,c.id?c.id:r.id)}},{key:"sendTelemetryIfMinimalPortionCollected",value:function sendTelemetryIfMinimalPortionCollected(){this.sendTelemetry(c.EventSendingLimitation.MinEventsPortion)}},{key:"sendTelemetry",value:function sendTelemetry(r){var c=this.getTelemetryToSend(r);if(0!==c.length)try{this.packetInterface.send(new lt(c.map((function(r){return r.toTelemetryEvent()}))))}catch(r){Ye.debug("Error while sending ".concat(c.length," telemetry events due to ").concat(r,"; they will be resubmitted")),this.readyEvents=this.readyEvents.concat(c)}}}]),TelemetryTracker}();function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=Ie.default(r);if(c){var y=Ie.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return Le.default(this,u)}}var Lt=function TelemetryEvents(){je.default(this,TelemetryEvents)};De.default(Lt,"TWILSOCK_CONNECT","twilsock.sdk.connect"),De.default(Lt,"TWILSOCK_INIT","twilsock.sdk.init"),c.TwilsockClient=function(r){Pe.default(TwilsockClient,r);var u,p,y,w,x,k,E,I,K=_createSuper(TwilsockClient);function TwilsockClient(r,u,p){var y;je.default(this,TwilsockClient),y=K.call(this),De.default(Se.default(y),"version",Xe),De.default(Se.default(y),"offlineStorageDeferred",new kt),p.continuationToken=p.continuationToken?p.continuationToken:Ct.getStoredToken(u);var w=y.config=new Qe(r,u,p);Ye.setLevel(w.logLevel);var x=new vt(w.url),k=new gt(x,w);return y.channel=new mt(x,k,w),y.registrations=new bt(k),y.upstream=new xt(k,y.channel,w),y.telemetryTracker=new Pt(w,k),y.channel.on("initialized",(function(){return y.telemetryTracker.canSendTelemetry=!0})),x.on("disconnected",(function(){return y.telemetryTracker.canSendTelemetry=!1})),y.registrations.on("registered",(function(r){return y.emit("registered",r)})),y.channel.on("message",(function(r,c){return setTimeout((function(){return y.emit("message",r,c)}),0)})),y.channel.on("stateChanged",(function(r){return setTimeout((function(){return y.emit("stateChanged",r)}),0)})),y.channel.on("connectionError",(function(r){return setTimeout((function(){return y.emit("connectionError",r)}),0)})),y.channel.on("tokenAboutToExpire",(function(){return setTimeout((function(){return y.emit("tokenAboutToExpire")}),0)})),y.channel.on("tokenExpired",(function(){return setTimeout((function(){return y.emit("tokenExpired")}),0)})),y.channel.on("connected",(function(){return y.registrations.updateRegistrations()})),y.channel.on("connected",(function(){return y.upstream.sendPendingMessages()})),y.channel.on("connected",(function(){return setTimeout((function(){return y.emit("connected")}),0)})),y.channel.on("beforeConnect",(function(){return y.telemetryTracker.addPartialEvent(new At("Establish WebSocket connection","",new Date),Lt.TWILSOCK_CONNECT,c.TelemetryPoint.Start)})),y.channel.on("connected",(function(){return y.telemetryTracker.addPartialEvent(new At("Establish WebSocket connection","",new Date,new Date),Lt.TWILSOCK_CONNECT,c.TelemetryPoint.End)})),y.channel.on("beforeSendInit",(function(){return y.telemetryTracker.addPartialEvent(new At("Send Twilsock init","",new Date),Lt.TWILSOCK_INIT,c.TelemetryPoint.Start)})),y.channel.on("initialized",(function(){return y.telemetryTracker.addPartialEvent(new At("Send Twilsock init","Succeeded",new Date,new Date),Lt.TWILSOCK_INIT,c.TelemetryPoint.End)})),y.channel.on("sendInitFailed",(function(){return y.telemetryTracker.addPartialEvent(new At("Send Twilsock init","Failed",new Date,new Date),Lt.TWILSOCK_INIT,c.TelemetryPoint.End)})),y.channel.on("initialized",(function(r){y.handleStorageId(u,r),Ct.storeToken(r.continuationToken,u),setTimeout((function(){return y.emit("initialized",r)}),0)})),y.channel.on("disconnected",(function(){return setTimeout((function(){return y.emit("disconnected")}),0)})),y.channel.on("disconnected",(function(){return y.upstream.rejectPendingMessages()})),y.channel.on("disconnected",(function(){return y.offlineStorageDeferred.fail(new dt("Client disconnected"))})),y.offlineStorageDeferred.promise.catch((function(){})),y}return we.default(TwilsockClient,[{key:"emit",value:function emit(r){for(var c,u=arguments.length,p=new Array(u&gt;1?u-1:0),y=1;y&lt;u;y++)p[y-1]=arguments[y];return Ye.debug("Emitting ".concat(r.toString(),"(").concat(p.map((function(r){return JSON.stringify(r)})).join(", "),")")),(c=Oe.default(Ie.default(TwilsockClient.prototype),"emit",this)).call.apply(c,[this,r].concat(p))}},{key:"handleStorageId",value:function handleStorageId(r,c){if(c.offlineStorage)if(c.offlineStorage.hasOwnProperty(r))try{this.offlineStorageDeferred.set(St.create(c.offlineStorage[r])),Ye.debug("Offline storage for '".concat(r,"' product: ").concat(JSON.stringify(c.offlineStorage[r]),"."))}catch(u){this.offlineStorageDeferred.fail(new dt("Failed to parse offline storage for ".concat(r," ").concat(JSON.stringify(c.offlineStorage[r]),". ").concat(u,".")))}else this.offlineStorageDeferred.fail(new dt("No offline storage id for '".concat(r,"' product: ").concat(JSON.stringify(c.offlineStorage))));else this.offlineStorageDeferred.fail(new dt("No offline storage id"))}},{key:"storageId",value:function storageId(){return this.offlineStorageDeferred.promise}},{key:"isConnected",get:function get(){return this.channel.isConnected}},{key:"state",get:function get(){return this.channel.state}},{key:"updateToken",value:(I=ve.default(Ue.default.mark((function _callee(r){return Ue.default.wrap((function _callee$(c){for(;;)switch(c.prev=c.next){case 0:if(Ye.trace("updating token '".concat(r,"'")),this.config.token!==r){c.next=3;break}return c.abrupt("return");case 3:return this.config.updateToken(r),c.next=6,this.channel.updateToken(r);case 6:return c.abrupt("return",c.sent);case 7:case"end":return c.stop()}}),_callee,this)}))),function updateToken(r){return I.apply(this,arguments)})},{key:"setNotificationsContext",value:(E=ve.default(Ue.default.mark((function _callee2(r,c){return Ue.default.wrap((function _callee2$(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,this.registrations.setNotificationsContext(r,c);case 2:case"end":return u.stop()}}),_callee2,this)}))),function setNotificationsContext(r,c){return E.apply(this,arguments)})},{key:"removeNotificationsContext",value:(k=ve.default(Ue.default.mark((function _callee3(r){return Ue.default.wrap((function _callee3$(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,this.registrations.removeNotificationsContext(r);case 2:case"end":return c.stop()}}),_callee3,this)}))),function removeNotificationsContext(r){return k.apply(this,arguments)})},{key:"connect",value:function connect(){return this.channel.connect()}},{key:"disconnect",value:(x=ve.default(Ue.default.mark((function _callee4(){return Ue.default.wrap((function _callee4$(r){for(;;)switch(r.prev=r.next){case 0:return this.telemetryTracker.sendTelemetry(c.EventSendingLimitation.AnyEventsIncludingUnfinished),r.next=3,this.channel.disconnect();case 3:return r.abrupt("return",r.sent);case 4:case"end":return r.stop()}}),_callee4,this)}))),function disconnect(){return x.apply(this,arguments)})},{key:"get",value:(w=ve.default(Ue.default.mark((function _callee5(r,u,p){return Ue.default.wrap((function _callee5$(y){for(;;)switch(y.prev=y.next){case 0:return this.telemetryTracker.sendTelemetry(c.EventSendingLimitation.AnyEvents),y.next=3,this.upstream.send("GET",r,u,void 0,p);case 3:return y.abrupt("return",y.sent);case 4:case"end":return y.stop()}}),_callee5,this)}))),function get(r,c,u){return w.apply(this,arguments)})},{key:"post",value:(y=ve.default(Ue.default.mark((function _callee6(r,u,p,y){return Ue.default.wrap((function _callee6$(w){for(;;)switch(w.prev=w.next){case 0:return this.telemetryTracker.sendTelemetry(c.EventSendingLimitation.AnyEvents),w.next=3,this.upstream.send("POST",r,u,p,y);case 3:return w.abrupt("return",w.sent);case 4:case"end":return w.stop()}}),_callee6,this)}))),function post(r,c,u,p){return y.apply(this,arguments)})},{key:"put",value:(p=ve.default(Ue.default.mark((function _callee7(r,u,p,y){return Ue.default.wrap((function _callee7$(w){for(;;)switch(w.prev=w.next){case 0:return this.telemetryTracker.sendTelemetry(c.EventSendingLimitation.AnyEvents),w.next=3,this.upstream.send("PUT",r,u,p,y);case 3:return w.abrupt("return",w.sent);case 4:case"end":return w.stop()}}),_callee7,this)}))),function put(r,c,u,y){return p.apply(this,arguments)})},{key:"delete",value:(u=ve.default(Ue.default.mark((function _callee8(r,u,p,y){return Ue.default.wrap((function _callee8$(w){for(;;)switch(w.prev=w.next){case 0:return this.telemetryTracker.sendTelemetry(c.EventSendingLimitation.AnyEvents),w.next=3,this.upstream.send("DELETE",r,u,p,y);case 3:return w.abrupt("return",w.sent);case 4:case"end":return w.stop()}}),_callee8,this)}))),function _delete(r,c,p,y){return u.apply(this,arguments)})},{key:"addTelemetryEvent",value:function addTelemetryEvent(r){this.telemetryTracker.addTelemetryEvent(r),this.telemetryTracker.sendTelemetryIfMinimalPortionCollected()}},{key:"addPartialTelemetryEvent",value:function addPartialTelemetryEvent(r,u,p){this.telemetryTracker.addPartialEvent(r,u,p),p===c.TelemetryPoint.End&amp;&amp;this.telemetryTracker.sendTelemetryIfMinimalPortionCollected()}}]),TwilsockClient}(EventEmitter),c.TwilsockClient=function __decorate(r,c,u,p){var y,w=arguments.length,x=w&lt;3?c:null===p?p=Object.getOwnPropertyDescriptor(c,u):p;if("object"===("undefined"==typeof Reflect?"undefined":Fe.default(Reflect))&amp;&amp;"function"==typeof Reflect.decorate)x=Reflect.decorate(r,c,u,p);else for(var k=r.length-1;k&gt;=0;k--)(y=r[k])&amp;&amp;(x=(w&lt;3?y(x):w&gt;3?y(c,u,x):y(c,u))||x);return w&gt;3&amp;&amp;x&amp;&amp;Object.defineProperty(c,u,x),x}([se.validateConstructorTypes(se.nonEmptyString,se.nonEmptyString,[se.pureObject,"undefined",se.literal(null)]),function __metadata(r,c){if("object"===("undefined"==typeof Reflect?"undefined":Fe.default(Reflect))&amp;&amp;"function"==typeof Reflect.metadata)return Reflect.metadata(r,c)}("design:paramtypes",[String,String,Object])],c.TwilsockClient);var It=function(){function InitRegistration(r){je.default(this,InitRegistration),this.product=r,this.type="ers",this.notification_protocol_version=0,this.message_types=[]}return we.default(InitRegistration,[{key:"populateInitRegistrations",value:function populateInitRegistrations(r){var c=new Set(this.message_types);for(var u in r)c.add(r[u]);this.message_types=Array.from(c)}}]),InitRegistration}();c.InitRegistration=It,c.TelemetryEventDescription=At,c.TelemetryTracker=Pt,c.TransportUnavailableError=wt,c.Twilsock=c.TwilsockClient,c.TwilsockError=dt},15131:function(r,c,u){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),u(47042),u(41539),u(91038),u(78783),u(82526),u(41817),u(32165),u(66992),u(33948);var p=u(78349);u(68309),u(33161),u(9653);var y=u(88861);u(69720),u(92222),u(12419);var w=u(63192),x=u(16194),k=u(47237),E=u(57555),I=u(20766);function _interopDefaultLegacy(r){return r&amp;&amp;"object"==typeof r&amp;&amp;"default"in r?r:{default:r}}u(26699),u(88674),u(69600);var K=_interopDefaultLegacy(p),J=_interopDefaultLegacy(y),oe=_interopDefaultLegacy(w),ie=_interopDefaultLegacy(x),ae=_interopDefaultLegacy(k),se=_interopDefaultLegacy(E),ue=_interopDefaultLegacy(I),le=function custom(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return{checks:c}};function _createForOfIteratorHelper$3(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$3(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$3(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$3(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$3(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var pe=function type(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return le((function(r){var u,p=!1,y=[],w=_createForOfIteratorHelper$3(c);try{for(w.s();!(u=w.n()).done;){var x=u.value;"string"!=typeof x?(p=p||r instanceof x,y.push("an instance of ".concat(x.name))):(p=p||K.default(r)===x,y.push("of type ".concat(x)))}}catch(r){w.e(r)}finally{w.f()}return[p,y]}))};function _createForOfIteratorHelper$2(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$2(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$2(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$2(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$2(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var de=le((function(r){return["string"==typeof r&amp;&amp;r.length&gt;0,"a non-empty string"]})),he=le((function(r){return["number"==typeof r&amp;&amp;Number.isInteger(r)&amp;&amp;r&gt;=0,"a non-negative integer"]})),ge=le((function(r){return["object"===K.default(r)&amp;&amp;null!==r&amp;&amp;!Array.isArray(r),"a pure object (non-null and non-array)"]}));function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=ue.default(r);if(c){var y=ue.default(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return se.default(this,u)}}function _createForOfIteratorHelper$1(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray$1(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray$1(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray$1(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray$1(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}var ve=function runtimeTypeValidation(r,c){if(c.length&gt;r.length)throw new Error("Expected at most ".concat(r.length," argument(s), but got ").concat(c.length));for(;c.length&lt;r.length;)c.push(void 0);var u,p=_createForOfIteratorHelper$1(c.entries());try{for(p.s();!(u=p.n()).done;){var y=J.default(u.value,2),w=y[0],x=y[1],k=Pe(r[w],x),E=J.default(k,4),I=E[0],K=E[1],oe=E[2],ie=E[3];if(!I)throw new Error("Argument ".concat(w+1," is expected to be ").concat(oe).concat(ie," but got ").concat(K))}}catch(r){p.e(r)}finally{p.f()}},we=function stringifyReceivedType(r){var c,u,p;(["undefined","boolean","number","bigint","string"].includes(K.default(r))&amp;&amp;(u="string"==typeof r?'"'.concat(r,'"'):"".concat(r)),"object"===K.default(r)&amp;&amp;"Object"!==(null==r||null===(c=r.constructor)||void 0===c?void 0:c.name))&amp;&amp;(u=null===r?"null":"instance of ".concat(null==r||null===(p=r.constructor)||void 0===p?void 0:p.name));return u||(u=K.default(r)),u},Se=function convertRuleArguments(r){var c,u=[],p=_createForOfIteratorHelper$1(r);try{for(p.s();!(c=p.n()).done;){var y=c.value;u.push(Oe(y))}}catch(r){p.e(r)}finally{p.f()}return u},Oe=function convertRuleArgument(r){var c,u=[],p=_createForOfIteratorHelper$1(Array.isArray(r)?r:[r]);try{for(p.s();!(c=p.n()).done;){var y=c.value;"string"!=typeof y&amp;&amp;"function"!=typeof y?u.push(y):u.push(pe(y))}}catch(r){p.e(r)}finally{p.f()}return u},Pe=function validateValue(r,c){var u,p,y=[],w=!1,x=_createForOfIteratorHelper$1(r);try{for(x.s();!(p=x.n()).done;){var k,E=_createForOfIteratorHelper$1(p.value.checks);try{for(E.s();!(k=E.n()).done;){var I=(0,k.value)(c),K=J.default(I,3),ie=K[0],ae=K[1],se=K[2];w=w||ie,!u&amp;&amp;se&amp;&amp;(u=se),ae&amp;&amp;(y=[].concat(oe.default(y),"string"==typeof ae?[ae]:oe.default(ae)))}}catch(r){E.e(r)}finally{E.f()}}}catch(r){x.e(r)}finally{x.f()}if(w)return[!0];var ue=u||we(c),le=y.length-1;return[!1,ue,le&gt;0?"".concat(y.slice(0,le).join(", ")," or ").concat(y[le]):y.join(", "),le&gt;1?";":","]};function _createForOfIteratorHelper(r,c){var u="undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(!u){if(Array.isArray(r)||(u=function _unsupportedIterableToArray(r,c){if(!r)return;if("string"==typeof r)return _arrayLikeToArray(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name);if("Map"===u||"Set"===u)return Array.from(r);if("Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return _arrayLikeToArray(r,c)}(r))||c&amp;&amp;r&amp;&amp;"number"==typeof r.length){u&amp;&amp;(r=u);var p=0,y=function F(){};return{s:y,n:function n(){return p&gt;=r.length?{done:!0}:{done:!1,value:r[p++]}},e:function e(r){throw r},f:y}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var w,x=!0,k=!1;return{s:function s(){u=u.call(r)},n:function n(){var r=u.next();return x=r.done,r},e:function e(r){k=!0,w=r},f:function f(){try{x||null==u.return||u.return()}finally{if(k)throw w}}}}function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}c.array=function array(r,c){return le((function(u){if(!Array.isArray(u))return[!1,"an array of ".concat(r)];var p,y=_createForOfIteratorHelper(u.entries());try{for(y.s();!(p=y.n()).done;){var w=J.default(p.value,2),x=w[0],k=w[1],E=Pe(Oe(c),k),I=J.default(E,3),K=I[0],oe=I[1],ie=I[2];if(!K)return[!1,"a valid array of ".concat(r," (index ").concat(x," should be ").concat(ie,")"),"malformed array of ".concat(r," (index ").concat(x," is ").concat(oe,")")]}}catch(r){y.e(r)}finally{y.f()}return[!0]}))},c.custom=le,c.literal=function literal(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return le((function(r){var u,p=!1,y=[],w=_createForOfIteratorHelper$2(c);try{for(w.s();!(u=w.n()).done;){var x=u.value;p=p||r===x,y.push("string"==typeof x?'"'.concat(x,'"'):"".concat(x))}}catch(r){w.e(r)}finally{w.f()}return[p,y]}))},c.nonEmptyString=de,c.nonNegativeInteger=he,c.objectSchema=function objectSchema(r,c){return le((function(u){if("object"!==K.default(u)||null===u||Array.isArray(u))return[!1,"valid ".concat(r," (should be a pure object)")];for(var p=0,y=Object.entries(c);p&lt;y.length;p++){var w=J.default(y[p],2),x=w[0],k=w[1],E=Pe(Oe(k),u[x]),I=J.default(E,3),oe=I[0],ie=I[1],ae=I[2];if(!oe)return[!1,"valid ".concat(r,' (key "').concat(x,'" should be ').concat(ae,")"),"malformed ".concat(r,' (key "').concat(x,'" is ').concat(ie,")")]}return[!0]}))},c.pureObject=ge,c.runtimeTypeValidation=ve,c.stringifyReceivedType=we,c.type=pe,c.validateConstructorTypes=function validateConstructorTypes(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];var p=Se(c);return function(r){return function(r){ae.default(_class,r);var c=_createSuper(_class);function _class(){ie.default(this,_class);for(var r=arguments.length,u=new Array(r),y=0;y&lt;r;y++)u[y]=arguments[y];return ve(p,u),c.call.apply(c,[this].concat(u))}return _class}(r)}},c.validateTypes=function validateTypes(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];var p=Se(c);return function(r,c,u){if("function"!=typeof u.value)throw new Error("The validateTypes decorator can only be applied to methods");var y=u.value;u.value=function(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return ve(p,c),y.apply(this,c)}}},c.validateTypesAsync=function validateTypesAsync(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];var p=Se(c);return function(r,c,u){if("function"!=typeof u.value)throw new Error("The validateTypesAsync decorator can only be applied to methods");var y=u.value;u.value=function(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];try{ve(p,c)}catch(r){return Promise.reject(r)}return y.apply(this,c)}}}},43891:function(r,c,u){var p,y;!function(w,x){"use strict";p=function(){var noop=function(){},r="undefined",c=typeof window!==r&amp;&amp;typeof window.navigator!==r&amp;&amp;/Trident\/|MSIE /.test(window.navigator.userAgent),u=["trace","debug","info","warn","error"];function bindMethod(r,c){var u=r[c];if("function"==typeof u.bind)return u.bind(r);try{return Function.prototype.bind.call(u,r)}catch(c){return function(){return Function.prototype.apply.apply(u,[r,arguments])}}}function traceForIE(){console.log&amp;&amp;(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&amp;&amp;console.trace()}function realMethod(u){return"debug"===u&amp;&amp;(u="log"),typeof console!==r&amp;&amp;("trace"===u&amp;&amp;c?traceForIE:void 0!==console[u]?bindMethod(console,u):void 0!==console.log?bindMethod(console,"log"):noop)}function replaceLoggingMethods(r,c){for(var p=0;p&lt;u.length;p++){var y=u[p];this[y]=p&lt;r?noop:this.methodFactory(y,r,c)}this.log=this.debug}function enableLoggingWhenConsoleArrives(c,u,p){return function(){typeof console!==r&amp;&amp;(replaceLoggingMethods.call(this,u,p),this[c].apply(this,arguments))}}function defaultMethodFactory(r,c,u){return realMethod(r)||enableLoggingWhenConsoleArrives.apply(this,arguments)}function Logger(c,p,y){var w,x=this,k="loglevel";function persistLevelIfPossible(c){var p=(u[c]||"silent").toUpperCase();if(typeof window!==r&amp;&amp;k){try{return void(window.localStorage[k]=p)}catch(r){}try{window.document.cookie=encodeURIComponent(k)+"="+p+";"}catch(r){}}}function getPersistedLevel(){var c;if(typeof window!==r&amp;&amp;k){try{c=window.localStorage[k]}catch(r){}if(typeof c===r)try{var u=window.document.cookie,p=u.indexOf(encodeURIComponent(k)+"=");-1!==p&amp;&amp;(c=/^([^;]+)/.exec(u.slice(p))[1])}catch(r){}return void 0===x.levels[c]&amp;&amp;(c=void 0),c}}"string"==typeof c?k+=":"+c:"symbol"==typeof c&amp;&amp;(k=void 0),x.name=c,x.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},x.methodFactory=y||defaultMethodFactory,x.getLevel=function(){return w},x.setLevel=function(u,p){if("string"==typeof u&amp;&amp;void 0!==x.levels[u.toUpperCase()]&amp;&amp;(u=x.levels[u.toUpperCase()]),!("number"==typeof u&amp;&amp;u&gt;=0&amp;&amp;u&lt;=x.levels.SILENT))throw"log.setLevel() called with invalid level: "+u;if(w=u,!1!==p&amp;&amp;persistLevelIfPossible(u),replaceLoggingMethods.call(x,u,c),typeof console===r&amp;&amp;u&lt;x.levels.SILENT)return"No console available for logging"},x.setDefaultLevel=function(r){getPersistedLevel()||x.setLevel(r,!1)},x.enableAll=function(r){x.setLevel(x.levels.TRACE,r)},x.disableAll=function(r){x.setLevel(x.levels.SILENT,r)};var E=getPersistedLevel();null==E&amp;&amp;(E=null==p?"WARN":p),x.setLevel(E,!1)}var p=new Logger,y={};p.getLogger=function getLogger(r){if("symbol"!=typeof r&amp;&amp;"string"!=typeof r||""===r)throw new TypeError("You must supply a name when creating a logger.");var c=y[r];return c||(c=y[r]=new Logger(r,p.getLevel(),p.methodFactory)),c};var w=typeof window!==r?window.log:void 0;return p.noConflict=function(){return typeof window!==r&amp;&amp;window.log===p&amp;&amp;(window.log=w),p},p.getLoggers=function getLoggers(){return y},p.default=p,p},void 0===(y="function"==typeof p?p.call(c,u,c,r):p)||(r.exports=y)}()},42238:function(r,c,u){var p;!function(y,w){"use strict";var x="function",k="undefined",E="object",I="string",K="model",J="name",oe="type",ie="vendor",ae="version",se="architecture",ue="console",le="mobile",pe="tablet",de="smarttv",he="wearable",ge="embedded",ve="Amazon",we="Apple",Se="ASUS",Oe="BlackBerry",Pe="Browser",Le="Chrome",Ie="Firefox",je="Google",De="Huawei",Ue="LG",Fe="Microsoft",Ze="Motorola",$e="Opera",Ge="Samsung",We="Sharp",Ke="Sony",Je="Xiaomi",Ye="Zebra",Xe="Facebook",enumerize=function(r){for(var c={},u=0;u&lt;r.length;u++)c[r[u].toUpperCase()]=r[u];return c},has=function(r,c){return typeof r===I&amp;&amp;-1!==lowerize(c).indexOf(lowerize(r))},lowerize=function(r){return r.toLowerCase()},trim=function(r,c){if(typeof r===I)return r=r.replace(/^\s\s*/,""),typeof c===k?r:r.substring(0,350)},rgxMapper=function(r,c){for(var u,p,y,k,I,K,J=0;J&lt;c.length&amp;&amp;!I;){var oe=c[J],ie=c[J+1];for(u=p=0;u&lt;oe.length&amp;&amp;!I;)if(I=oe[u++].exec(r))for(y=0;y&lt;ie.length;y++)K=I[++p],typeof(k=ie[y])===E&amp;&amp;k.length&gt;0?2===k.length?typeof k[1]==x?this[k[0]]=k[1].call(this,K):this[k[0]]=k[1]:3===k.length?typeof k[1]!==x||k[1].exec&amp;&amp;k[1].test?this[k[0]]=K?K.replace(k[1],k[2]):w:this[k[0]]=K?k[1].call(this,K,k[2]):w:4===k.length&amp;&amp;(this[k[0]]=K?k[3].call(this,K.replace(k[1],k[2])):w):this[k]=K||w;J+=2}},strMapper=function(r,c){for(var u in c)if(typeof c[u]===E&amp;&amp;c[u].length&gt;0){for(var p=0;p&lt;c[u].length;p++)if(has(c[u][p],r))return"?"===u?w:u}else if(has(c[u],r))return"?"===u?w:u;return r},Qe={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},et={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[ae,[J,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[ae,[J,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[J,ae],[/opios[\/ ]+([\w\.]+)/i],[ae,[J,$e+" Mini"]],[/\bopr\/([\w\.]+)/i],[ae,[J,$e]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[J,ae],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[ae,[J,"UC"+Pe]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[ae,[J,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[ae,[J,"WeChat"]],[/konqueror\/([\w\.]+)/i],[ae,[J,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[ae,[J,"IE"]],[/yabrowser\/([\w\.]+)/i],[ae,[J,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[J,/(.+)/,"$1 Secure "+Pe],ae],[/\bfocus\/([\w\.]+)/i],[ae,[J,Ie+" Focus"]],[/\bopt\/([\w\.]+)/i],[ae,[J,$e+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[ae,[J,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[ae,[J,"Dolphin"]],[/coast\/([\w\.]+)/i],[ae,[J,$e+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[ae,[J,"MIUI "+Pe]],[/fxios\/([-\w\.]+)/i],[ae,[J,Ie]],[/\bqihu|(qi?ho?o?|360)browser/i],[[J,"360 "+Pe]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[J,/(.+)/,"$1 "+Pe],ae],[/(comodo_dragon)\/([\w\.]+)/i],[[J,/_/g," "],ae],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[J,ae],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[J],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[J,Xe],ae],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[J,ae],[/\bgsa\/([\w\.]+) .*safari\//i],[ae,[J,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[ae,[J,Le+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[J,Le+" WebView"],ae],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[ae,[J,"Android "+Pe]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[J,ae],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[ae,[J,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[ae,J],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[J,[ae,strMapper,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[J,ae],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[J,"Netscape"],ae],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[ae,[J,Ie+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[J,ae],[/(cobalt)\/([\w\.]+)/i],[J,[ae,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[se,"amd64"]],[/(ia32(?=;))/i],[[se,lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[se,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[se,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[se,"armhf"]],[/windows (ce|mobile); ppc;/i],[[se,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[se,/ower/,"",lowerize]],[/(sun4\w)[;\)]/i],[[se,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[se,lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[K,[ie,Ge],[oe,pe]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[K,[ie,Ge],[oe,le]],[/\((ip(?:hone|od)[\w ]*);/i],[K,[ie,we],[oe,le]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[K,[ie,we],[oe,pe]],[/(macintosh);/i],[K,[ie,we]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[K,[ie,De],[oe,pe]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[K,[ie,De],[oe,le]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[K,/_/g," "],[ie,Je],[oe,le]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[K,/_/g," "],[ie,Je],[oe,pe]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[K,[ie,"OPPO"],[oe,le]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[K,[ie,"Vivo"],[oe,le]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[K,[ie,"Realme"],[oe,le]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[K,[ie,Ze],[oe,le]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[K,[ie,Ze],[oe,pe]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[K,[ie,Ue],[oe,pe]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[K,[ie,Ue],[oe,le]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[K,[ie,"Lenovo"],[oe,pe]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[K,/_/g," "],[ie,"Nokia"],[oe,le]],[/(pixel c)\b/i],[K,[ie,je],[oe,pe]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[K,[ie,je],[oe,le]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[K,[ie,Ke],[oe,le]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[K,"Xperia Tablet"],[ie,Ke],[oe,pe]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[K,[ie,"OnePlus"],[oe,le]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[K,[ie,ve],[oe,pe]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[K,/(.+)/g,"Fire Phone $1"],[ie,ve],[oe,le]],[/(playbook);[-\w\),; ]+(rim)/i],[K,ie,[oe,pe]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[K,[ie,Oe],[oe,le]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[K,[ie,Se],[oe,pe]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[K,[ie,Se],[oe,le]],[/(nexus 9)/i],[K,[ie,"HTC"],[oe,pe]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[ie,[K,/_/g," "],[oe,le]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[K,[ie,"Acer"],[oe,pe]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[K,[ie,"Meizu"],[oe,le]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[K,[ie,We],[oe,le]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[ie,K,[oe,le]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[ie,K,[oe,pe]],[/(surface duo)/i],[K,[ie,Fe],[oe,pe]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[K,[ie,"Fairphone"],[oe,le]],[/(u304aa)/i],[K,[ie,"AT&amp;T"],[oe,le]],[/\bsie-(\w*)/i],[K,[ie,"Siemens"],[oe,le]],[/\b(rct\w+) b/i],[K,[ie,"RCA"],[oe,pe]],[/\b(venue[\d ]{2,7}) b/i],[K,[ie,"Dell"],[oe,pe]],[/\b(q(?:mv|ta)\w+) b/i],[K,[ie,"Verizon"],[oe,pe]],[/\b(?:barnes[&amp; ]+noble |bn[rt])([\w\+ ]*) b/i],[K,[ie,"Barnes &amp; Noble"],[oe,pe]],[/\b(tm\d{3}\w+) b/i],[K,[ie,"NuVision"],[oe,pe]],[/\b(k88) b/i],[K,[ie,"ZTE"],[oe,pe]],[/\b(nx\d{3}j) b/i],[K,[ie,"ZTE"],[oe,le]],[/\b(gen\d{3}) b.+49h/i],[K,[ie,"Swiss"],[oe,le]],[/\b(zur\d{3}) b/i],[K,[ie,"Swiss"],[oe,pe]],[/\b((zeki)?tb.*\b) b/i],[K,[ie,"Zeki"],[oe,pe]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[ie,"Dragon Touch"],K,[oe,pe]],[/\b(ns-?\w{0,9}) b/i],[K,[ie,"Insignia"],[oe,pe]],[/\b((nxa|next)-?\w{0,9}) b/i],[K,[ie,"NextBook"],[oe,pe]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[ie,"Voice"],K,[oe,le]],[/\b(lvtel\-)?(v1[12]) b/i],[[ie,"LvTel"],K,[oe,le]],[/\b(ph-1) /i],[K,[ie,"Essential"],[oe,le]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[K,[ie,"Envizen"],[oe,pe]],[/\b(trio[-\w\. ]+) b/i],[K,[ie,"MachSpeed"],[oe,pe]],[/\btu_(1491) b/i],[K,[ie,"Rotor"],[oe,pe]],[/(shield[\w ]+) b/i],[K,[ie,"Nvidia"],[oe,pe]],[/(sprint) (\w+)/i],[ie,K,[oe,le]],[/(kin\.[onetw]{3})/i],[[K,/\./g," "],[ie,Fe],[oe,le]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[K,[ie,Ye],[oe,pe]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[K,[ie,Ye],[oe,le]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[ie,K,[oe,ue]],[/droid.+; (shield) bui/i],[K,[ie,"Nvidia"],[oe,ue]],[/(playstation [345portablevi]+)/i],[K,[ie,Ke],[oe,ue]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[K,[ie,Fe],[oe,ue]],[/smart-tv.+(samsung)/i],[ie,[oe,de]],[/hbbtv.+maple;(\d+)/i],[[K,/^/,"SmartTV"],[ie,Ge],[oe,de]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[ie,Ue],[oe,de]],[/(apple) ?tv/i],[ie,[K,we+" TV"],[oe,de]],[/crkey/i],[[K,Le+"cast"],[ie,je],[oe,de]],[/droid.+aft(\w)( bui|\))/i],[K,[ie,ve],[oe,de]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[K,[ie,We],[oe,de]],[/(bravia[\w ]+)( bui|\))/i],[K,[ie,Ke],[oe,de]],[/(mitv-\w{5}) bui/i],[K,[ie,Je],[oe,de]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[ie,trim],[K,trim],[oe,de]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[oe,de]],[/((pebble))app/i],[ie,K,[oe,he]],[/droid.+; (glass) \d/i],[K,[ie,je],[oe,he]],[/droid.+; (wt63?0{2,3})\)/i],[K,[ie,Ye],[oe,he]],[/(quest( 2)?)/i],[K,[ie,Xe],[oe,he]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[ie,[oe,ge]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[K,[oe,le]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[K,[oe,pe]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[oe,pe]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[oe,le]],[/(android[-\w\. ]{0,9});.+buil/i],[K,[ie,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[ae,[J,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[ae,[J,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[J,ae],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[ae,J]],os:[[/microsoft (windows) (vista|xp)/i],[J,ae],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[J,[ae,strMapper,Qe]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[J,"Windows"],[ae,strMapper,Qe]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[ae,/_/g,"."],[J,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[J,"Mac OS"],[ae,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[ae,J],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[J,ae],[/\(bb(10);/i],[ae,[J,Oe]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[ae,[J,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[ae,[J,Ie+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[ae,[J,"webOS"]],[/crkey\/([\d\.]+)/i],[ae,[J,Le+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[J,"Chromium OS"],ae],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[J,ae],[/(sunos) ?([\w\.\d]*)/i],[[J,"Solaris"],ae],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[J,ae]]},UAParser=function(r,c){if(typeof r===E&amp;&amp;(c=r,r=w),!(this instanceof UAParser))return new UAParser(r,c).getResult();var u=r||(typeof y!==k&amp;&amp;y.navigator&amp;&amp;y.navigator.userAgent?y.navigator.userAgent:""),p=c?function(r,c){var u={};for(var p in r)c[p]&amp;&amp;c[p].length%2==0?u[p]=c[p].concat(r[p]):u[p]=r[p];return u}(et,c):et;return this.getBrowser=function(){var r,c={};return c[J]=w,c[ae]=w,rgxMapper.call(c,u,p.browser),c.major=typeof(r=c.version)===I?r.replace(/[^\d\.]/g,"").split(".")[0]:w,c},this.getCPU=function(){var r={};return r[se]=w,rgxMapper.call(r,u,p.cpu),r},this.getDevice=function(){var r={};return r[ie]=w,r[K]=w,r[oe]=w,rgxMapper.call(r,u,p.device),r},this.getEngine=function(){var r={};return r[J]=w,r[ae]=w,rgxMapper.call(r,u,p.engine),r},this.getOS=function(){var r={};return r[J]=w,r[ae]=w,rgxMapper.call(r,u,p.os),r},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return u},this.setUA=function(r){return u=typeof r===I&amp;&amp;r.length&gt;350?trim(r,350):r,this},this.setUA(u),this};UAParser.VERSION="0.7.33",UAParser.BROWSER=enumerize([J,ae,"major"]),UAParser.CPU=enumerize([se]),UAParser.DEVICE=enumerize([K,ie,oe,ue,le,de,pe,he,ge]),UAParser.ENGINE=UAParser.OS=enumerize([J,ae]),typeof c!==k?(r.exports&amp;&amp;(c=r.exports=UAParser),c.UAParser=UAParser):u.amdO?(p=function(){return UAParser}.call(c,u,c,r))===w||(r.exports=p):typeof y!==k&amp;&amp;(y.UAParser=UAParser);var rt=typeof y!==k&amp;&amp;(y.jQuery||y.Zepto);if(rt&amp;&amp;!rt.ua){var nt=new UAParser;rt.ua=nt.getResult(),rt.ua.get=function(){return nt.getUA()},rt.ua.set=function(r){nt.setUA(r);var c=nt.getResult();for(var u in c)rt.ua[u]=c[u]}}}("object"==typeof window?window:this)},99413:function(r){r.exports=/[\0-\x1F\x7F-\x9F]/},52326:function(r){r.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},73189:function(r){r.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},35045:function(r){r.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},84205:function(r,c,u){"use strict";c.Any=u(29369),c.Cc=u(99413),c.Cf=u(52326),c.P=u(73189),c.Z=u(35045)},29369:function(r){r.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},55877:function(r,c,u){var p=u(23570),y=u(71171),w=y;w.v1=p,w.v4=y,r.exports=w},45327:function(r){for(var c=[],u=0;u&lt;256;++u)c[u]=(u+256).toString(16).substr(1);r.exports=function bytesToUuid(r,u){var p=u||0,y=c;return[y[r[p++]],y[r[p++]],y[r[p++]],y[r[p++]],"-",y[r[p++]],y[r[p++]],"-",y[r[p++]],y[r[p++]],"-",y[r[p++]],y[r[p++]],"-",y[r[p++]],y[r[p++]],y[r[p++]],y[r[p++]],y[r[p++]],y[r[p++]]].join("")}},85217:function(r){var c="undefined"!=typeof crypto&amp;&amp;crypto.getRandomValues&amp;&amp;crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&amp;&amp;"function"==typeof window.msCrypto.getRandomValues&amp;&amp;msCrypto.getRandomValues.bind(msCrypto);if(c){var u=new Uint8Array(16);r.exports=function whatwgRNG(){return c(u),u}}else{var p=new Array(16);r.exports=function mathRNG(){for(var r,c=0;c&lt;16;c++)0==(3&amp;c)&amp;&amp;(r=4294967296*Math.random()),p[c]=r&gt;&gt;&gt;((3&amp;c)&lt;&lt;3)&amp;255;return p}}},23570:function(r,c,u){var p,y,w=u(85217),x=u(45327),k=0,E=0;r.exports=function v1(r,c,u){var I=c&amp;&amp;u||0,K=c||[],J=(r=r||{}).node||p,oe=void 0!==r.clockseq?r.clockseq:y;if(null==J||null==oe){var ie=w();null==J&amp;&amp;(J=p=[1|ie[0],ie[1],ie[2],ie[3],ie[4],ie[5]]),null==oe&amp;&amp;(oe=y=16383&amp;(ie[6]&lt;&lt;8|ie[7]))}var ae=void 0!==r.msecs?r.msecs:(new Date).getTime(),se=void 0!==r.nsecs?r.nsecs:E+1,ue=ae-k+(se-E)/1e4;if(ue&lt;0&amp;&amp;void 0===r.clockseq&amp;&amp;(oe=oe+1&amp;16383),(ue&lt;0||ae&gt;k)&amp;&amp;void 0===r.nsecs&amp;&amp;(se=0),se&gt;=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");k=ae,E=se,y=oe;var le=(1e4*(268435455&amp;(ae+=122192928e5))+se)%4294967296;K[I++]=le&gt;&gt;&gt;24&amp;255,K[I++]=le&gt;&gt;&gt;16&amp;255,K[I++]=le&gt;&gt;&gt;8&amp;255,K[I++]=255&amp;le;var pe=ae/4294967296*1e4&amp;268435455;K[I++]=pe&gt;&gt;&gt;8&amp;255,K[I++]=255&amp;pe,K[I++]=pe&gt;&gt;&gt;24&amp;15|16,K[I++]=pe&gt;&gt;&gt;16&amp;255,K[I++]=oe&gt;&gt;&gt;8|128,K[I++]=255&amp;oe;for(var de=0;de&lt;6;++de)K[I+de]=J[de];return c||x(K)}},71171:function(r,c,u){var p=u(85217),y=u(45327);r.exports=function v4(r,c,u){var w=c&amp;&amp;u||0;"string"==typeof r&amp;&amp;(c="binary"===r?new Array(16):null,r=null);var x=(r=r||{}).random||(r.rng||p)();if(x[6]=15&amp;x[6]|64,x[8]=63&amp;x[8]|128,c)for(var k=0;k&lt;16;++k)c[w+k]=x[k];return c||y(x)}},46846:function(r,c,u){r.exports=u(35666)},40262:function(r,c,u){r.exports=u(35666)},89818:function(r,c,u){var p={"./00961f60b49e42de9bd4ff426349cb59.json":[39734,734],"./6fbe1bc7-14e2-447b-8ec3-03e32b0643a1virtualagent.json":[947,947],"./&lt;aloricatouchpointId&gt;.json":[85470,470],"./a3cfca95cd3a44bf969aad6bef36fe80.json":[62130,130],"./default_livechat.json":[53214],"./default_virtualagent.json":[17483]};function webpackAsyncContext(r){if(!u.o(p,r))return Promise.resolve().then((function(){var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}));var c=p[r],y=c[0];return Promise.all(c.slice(1).map(u.e)).then((function(){return u.t(y,19)}))}webpackAsyncContext.keys=function(){return Object.keys(p)},webpackAsyncContext.id=89818,r.exports=webpackAsyncContext},21952:function(r,c,u){r.exports=u(35666)},32105:function(r){"use strict";r.exports=window[""]},17061:function(r,c,u){var p=u(18698).default;function _regeneratorRuntime(){"use strict";r.exports=_regeneratorRuntime=function _regeneratorRuntime(){return u},r.exports.__esModule=!0,r.exports.default=r.exports;var c,u={},y=Object.prototype,w=y.hasOwnProperty,x=Object.defineProperty||function(r,c,u){r[c]=u.value},k="function"==typeof Symbol?Symbol:{},E=k.iterator||"@@iterator",I=k.asyncIterator||"@@asyncIterator",K=k.toStringTag||"@@toStringTag";function define(r,c,u){return Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}),r[c]}try{define({},"")}catch(c){define=function define(r,c,u){return r[c]=u}}function wrap(r,c,u,p){var y=c&amp;&amp;c.prototype instanceof Generator?c:Generator,w=Object.create(y.prototype),k=new Context(p||[]);return x(w,"_invoke",{value:makeInvokeMethod(r,u,k)}),w}function tryCatch(r,c,u){try{return{type:"normal",arg:r.call(c,u)}}catch(r){return{type:"throw",arg:r}}}u.wrap=wrap;var J="suspendedStart",oe="suspendedYield",ie="executing",ae="completed",se={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var ue={};define(ue,E,(function(){return this}));var le=Object.getPrototypeOf,pe=le&amp;&amp;le(le(values([])));pe&amp;&amp;pe!==y&amp;&amp;w.call(pe,E)&amp;&amp;(ue=pe);var de=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(ue);function defineIteratorMethods(r){["next","throw","return"].forEach((function(c){define(r,c,(function(r){return this._invoke(c,r)}))}))}function AsyncIterator(r,c){function invoke(u,y,x,k){var E=tryCatch(r[u],r,y);if("throw"!==E.type){var I=E.arg,K=I.value;return K&amp;&amp;"object"==p(K)&amp;&amp;w.call(K,"__await")?c.resolve(K.__await).then((function(r){invoke("next",r,x,k)}),(function(r){invoke("throw",r,x,k)})):c.resolve(K).then((function(r){I.value=r,x(I)}),(function(r){return invoke("throw",r,x,k)}))}k(E.arg)}var u;x(this,"_invoke",{value:function value(r,p){function callInvokeWithMethodAndArg(){return new c((function(c,u){invoke(r,p,c,u)}))}return u=u?u.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(r,u,p){var y=J;return function(w,x){if(y===ie)throw new Error("Generator is already running");if(y===ae){if("throw"===w)throw x;return{value:c,done:!0}}for(p.method=w,p.arg=x;;){var k=p.delegate;if(k){var E=maybeInvokeDelegate(k,p);if(E){if(E===se)continue;return E}}if("next"===p.method)p.sent=p._sent=p.arg;else if("throw"===p.method){if(y===J)throw y=ae,p.arg;p.dispatchException(p.arg)}else"return"===p.method&amp;&amp;p.abrupt("return",p.arg);y=ie;var I=tryCatch(r,u,p);if("normal"===I.type){if(y=p.done?ae:oe,I.arg===se)continue;return{value:I.arg,done:p.done}}"throw"===I.type&amp;&amp;(y=ae,p.method="throw",p.arg=I.arg)}}}function maybeInvokeDelegate(r,u){var p=u.method,y=r.iterator[p];if(y===c)return u.delegate=null,"throw"===p&amp;&amp;r.iterator.return&amp;&amp;(u.method="return",u.arg=c,maybeInvokeDelegate(r,u),"throw"===u.method)||"return"!==p&amp;&amp;(u.method="throw",u.arg=new TypeError("The iterator does not provide a '"+p+"' method")),se;var w=tryCatch(y,r.iterator,u.arg);if("throw"===w.type)return u.method="throw",u.arg=w.arg,u.delegate=null,se;var x=w.arg;return x?x.done?(u[r.resultName]=x.value,u.next=r.nextLoc,"return"!==u.method&amp;&amp;(u.method="next",u.arg=c),u.delegate=null,se):x:(u.method="throw",u.arg=new TypeError("iterator result is not an object"),u.delegate=null,se)}function pushTryEntry(r){var c={tryLoc:r[0]};1 in r&amp;&amp;(c.catchLoc=r[1]),2 in r&amp;&amp;(c.finallyLoc=r[2],c.afterLoc=r[3]),this.tryEntries.push(c)}function resetTryEntry(r){var c=r.completion||{};c.type="normal",delete c.arg,r.completion=c}function Context(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(pushTryEntry,this),this.reset(!0)}function values(r){if(r||""===r){var u=r[E];if(u)return u.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var y=-1,x=function next(){for(;++y&lt;r.length;)if(w.call(r,y))return next.value=r[y],next.done=!1,next;return next.value=c,next.done=!0,next};return x.next=x}}throw new TypeError(p(r)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,x(de,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),x(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,K,"GeneratorFunction"),u.isGeneratorFunction=function(r){var c="function"==typeof r&amp;&amp;r.constructor;return!!c&amp;&amp;(c===GeneratorFunction||"GeneratorFunction"===(c.displayName||c.name))},u.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,GeneratorFunctionPrototype):(r.__proto__=GeneratorFunctionPrototype,define(r,K,"GeneratorFunction")),r.prototype=Object.create(de),r},u.awrap=function(r){return{__await:r}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,I,(function(){return this})),u.AsyncIterator=AsyncIterator,u.async=function(r,c,p,y,w){void 0===w&amp;&amp;(w=Promise);var x=new AsyncIterator(wrap(r,c,p,y),w);return u.isGeneratorFunction(c)?x:x.next().then((function(r){return r.done?r.value:x.next()}))},defineIteratorMethods(de),define(de,K,"Generator"),define(de,E,(function(){return this})),define(de,"toString",(function(){return"[object Generator]"})),u.keys=function(r){var c=Object(r),u=[];for(var p in c)u.push(p);return u.reverse(),function next(){for(;u.length;){var r=u.pop();if(r in c)return next.value=r,next.done=!1,next}return next.done=!0,next}},u.values=values,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(resetTryEntry),!r)for(var u in this)"t"===u.charAt(0)&amp;&amp;w.call(this,u)&amp;&amp;!isNaN(+u.slice(1))&amp;&amp;(this[u]=c)},stop:function stop(){this.done=!0;var r=this.tryEntries[0].completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function dispatchException(r){if(this.done)throw r;var u=this;function handle(p,y){return x.type="throw",x.arg=r,u.next=p,y&amp;&amp;(u.method="next",u.arg=c),!!y}for(var p=this.tryEntries.length-1;p&gt;=0;--p){var y=this.tryEntries[p],x=y.completion;if("root"===y.tryLoc)return handle("end");if(y.tryLoc&lt;=this.prev){var k=w.call(y,"catchLoc"),E=w.call(y,"finallyLoc");if(k&amp;&amp;E){if(this.prev&lt;y.catchLoc)return handle(y.catchLoc,!0);if(this.prev&lt;y.finallyLoc)return handle(y.finallyLoc)}else if(k){if(this.prev&lt;y.catchLoc)return handle(y.catchLoc,!0)}else{if(!E)throw new Error("try statement without catch or finally");if(this.prev&lt;y.finallyLoc)return handle(y.finallyLoc)}}}},abrupt:function abrupt(r,c){for(var u=this.tryEntries.length-1;u&gt;=0;--u){var p=this.tryEntries[u];if(p.tryLoc&lt;=this.prev&amp;&amp;w.call(p,"finallyLoc")&amp;&amp;this.prev&lt;p.finallyLoc){var y=p;break}}y&amp;&amp;("break"===r||"continue"===r)&amp;&amp;y.tryLoc&lt;=c&amp;&amp;c&lt;=y.finallyLoc&amp;&amp;(y=null);var x=y?y.completion:{};return x.type=r,x.arg=c,y?(this.method="next",this.next=y.finallyLoc,se):this.complete(x)},complete:function complete(r,c){if("throw"===r.type)throw r.arg;return"break"===r.type||"continue"===r.type?this.next=r.arg:"return"===r.type?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):"normal"===r.type&amp;&amp;c&amp;&amp;(this.next=c),se},finish:function finish(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),resetTryEntry(u),se}},catch:function _catch(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.tryLoc===r){var p=u.completion;if("throw"===p.type){var y=p.arg;resetTryEntry(u)}return y}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(r,u,p){return this.delegate={iterator:values(r),resultName:u,nextLoc:p},"next"===this.method&amp;&amp;(this.arg=c),se}},u}r.exports=_regeneratorRuntime,r.exports.__esModule=!0,r.exports.default=r.exports},18698:function(r){function _typeof(c){return r.exports=_typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},r.exports.__esModule=!0,r.exports.default=r.exports,_typeof(c)}r.exports=_typeof,r.exports.__esModule=!0,r.exports.default=r.exports},64687:function(r,c,u){var p=u(17061)();r.exports=p;try{regeneratorRuntime=p}catch(r){"object"==typeof globalThis?globalThis.regeneratorRuntime=p:Function("r","regeneratorRuntime = r")(p)}},62266:function(r){r.exports=function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p},r.exports.__esModule=!0,r.exports.default=r.exports},7701:function(r){r.exports=function _arrayWithHoles(r){if(Array.isArray(r))return r},r.exports.__esModule=!0,r.exports.default=r.exports},9732:function(r,c,u){var p=u(62266);r.exports=function _arrayWithoutHoles(r){if(Array.isArray(r))return p(r)},r.exports.__esModule=!0,r.exports.default=r.exports},81199:function(r){r.exports=function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r},r.exports.__esModule=!0,r.exports.default=r.exports},39422:function(r){function asyncGeneratorStep(r,c,u,p,y,w,x){try{var k=r[w](x),E=k.value}catch(r){return void u(r)}k.done?c(E):Promise.resolve(E).then(p,y)}r.exports=function _asyncToGenerator(r){return function(){var c=this,u=arguments;return new Promise((function(p,y){var w=r.apply(c,u);function _next(r){asyncGeneratorStep(w,p,y,_next,_throw,"next",r)}function _throw(r){asyncGeneratorStep(w,p,y,_next,_throw,"throw",r)}_next(void 0)}))}},r.exports.__esModule=!0,r.exports.default=r.exports},30523:function(r){r.exports=function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")},r.exports.__esModule=!0,r.exports.default=r.exports},24497:function(r,c,u){var p=u(43993);function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var y=c[u];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&amp;&amp;(y.writable=!0),Object.defineProperty(r,p(y.key),y)}}r.exports=function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r},r.exports.__esModule=!0,r.exports.default=r.exports},36170:function(r,c,u){var p=u(43993);r.exports=function _defineProperty(r,c,u){return(c=p(c))in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r},r.exports.__esModule=!0,r.exports.default=r.exports},4404:function(r){function _getPrototypeOf(c){return r.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)},r.exports.__esModule=!0,r.exports.default=r.exports,_getPrototypeOf(c)}r.exports=_getPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},41506:function(r,c,u){var p=u(40769);r.exports=function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&amp;&amp;p(r,c)},r.exports.__esModule=!0,r.exports.default=r.exports},96471:function(r){r.exports=function _iterableToArray(r){if("undefined"!=typeof Symbol&amp;&amp;null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)},r.exports.__esModule=!0,r.exports.default=r.exports},71689:function(r){r.exports=function _iterableToArrayLimit(r,c){var u=null==r?null:"undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(null!=u){var p,y,w,x,k=[],E=!0,I=!1;try{if(w=(u=u.call(r)).next,0===c){if(Object(u)!==u)return;E=!1}else for(;!(E=(p=w.call(u)).done)&amp;&amp;(k.push(p.value),k.length!==c);E=!0);}catch(r){I=!0,y=r}finally{try{if(!E&amp;&amp;null!=u.return&amp;&amp;(x=u.return(),Object(x)!==x))return}finally{if(I)throw y}}return k}},r.exports.__esModule=!0,r.exports.default=r.exports},27714:function(r){r.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},r.exports.__esModule=!0,r.exports.default=r.exports},34471:function(r){r.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},r.exports.__esModule=!0,r.exports.default=r.exports},12861:function(r,c,u){var p=u(7385).default,y=u(81199);r.exports=function _possibleConstructorReturn(r,c){if(c&amp;&amp;("object"===p(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return y(r)},r.exports.__esModule=!0,r.exports.default=r.exports},53897:function(r,c,u){var p=u(7385).default;function _regeneratorRuntime(){"use strict";r.exports=_regeneratorRuntime=function _regeneratorRuntime(){return c},r.exports.__esModule=!0,r.exports.default=r.exports;var c={},u=Object.prototype,y=u.hasOwnProperty,w=Object.defineProperty||function(r,c,u){r[c]=u.value},x="function"==typeof Symbol?Symbol:{},k=x.iterator||"@@iterator",E=x.asyncIterator||"@@asyncIterator",I=x.toStringTag||"@@toStringTag";function define(r,c,u){return Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}),r[c]}try{define({},"")}catch(r){define=function define(r,c,u){return r[c]=u}}function wrap(r,c,u,p){var y=c&amp;&amp;c.prototype instanceof Generator?c:Generator,x=Object.create(y.prototype),k=new Context(p||[]);return w(x,"_invoke",{value:makeInvokeMethod(r,u,k)}),x}function tryCatch(r,c,u){try{return{type:"normal",arg:r.call(c,u)}}catch(r){return{type:"throw",arg:r}}}c.wrap=wrap;var K={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var J={};define(J,k,(function(){return this}));var oe=Object.getPrototypeOf,ie=oe&amp;&amp;oe(oe(values([])));ie&amp;&amp;ie!==u&amp;&amp;y.call(ie,k)&amp;&amp;(J=ie);var ae=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(J);function defineIteratorMethods(r){["next","throw","return"].forEach((function(c){define(r,c,(function(r){return this._invoke(c,r)}))}))}function AsyncIterator(r,c){function invoke(u,w,x,k){var E=tryCatch(r[u],r,w);if("throw"!==E.type){var I=E.arg,K=I.value;return K&amp;&amp;"object"==p(K)&amp;&amp;y.call(K,"__await")?c.resolve(K.__await).then((function(r){invoke("next",r,x,k)}),(function(r){invoke("throw",r,x,k)})):c.resolve(K).then((function(r){I.value=r,x(I)}),(function(r){return invoke("throw",r,x,k)}))}k(E.arg)}var u;w(this,"_invoke",{value:function value(r,p){function callInvokeWithMethodAndArg(){return new c((function(c,u){invoke(r,p,c,u)}))}return u=u?u.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(r,c,u){var p="suspendedStart";return function(y,w){if("executing"===p)throw new Error("Generator is already running");if("completed"===p){if("throw"===y)throw w;return doneResult()}for(u.method=y,u.arg=w;;){var x=u.delegate;if(x){var k=maybeInvokeDelegate(x,u);if(k){if(k===K)continue;return k}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if("suspendedStart"===p)throw p="completed",u.arg;u.dispatchException(u.arg)}else"return"===u.method&amp;&amp;u.abrupt("return",u.arg);p="executing";var E=tryCatch(r,c,u);if("normal"===E.type){if(p=u.done?"completed":"suspendedYield",E.arg===K)continue;return{value:E.arg,done:u.done}}"throw"===E.type&amp;&amp;(p="completed",u.method="throw",u.arg=E.arg)}}}function maybeInvokeDelegate(r,c){var u=c.method,p=r.iterator[u];if(void 0===p)return c.delegate=null,"throw"===u&amp;&amp;r.iterator.return&amp;&amp;(c.method="return",c.arg=void 0,maybeInvokeDelegate(r,c),"throw"===c.method)||"return"!==u&amp;&amp;(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+u+"' method")),K;var y=tryCatch(p,r.iterator,c.arg);if("throw"===y.type)return c.method="throw",c.arg=y.arg,c.delegate=null,K;var w=y.arg;return w?w.done?(c[r.resultName]=w.value,c.next=r.nextLoc,"return"!==c.method&amp;&amp;(c.method="next",c.arg=void 0),c.delegate=null,K):w:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,K)}function pushTryEntry(r){var c={tryLoc:r[0]};1 in r&amp;&amp;(c.catchLoc=r[1]),2 in r&amp;&amp;(c.finallyLoc=r[2],c.afterLoc=r[3]),this.tryEntries.push(c)}function resetTryEntry(r){var c=r.completion||{};c.type="normal",delete c.arg,r.completion=c}function Context(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(pushTryEntry,this),this.reset(!0)}function values(r){if(r){var c=r[k];if(c)return c.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var u=-1,p=function next(){for(;++u&lt;r.length;)if(y.call(r,u))return next.value=r[u],next.done=!1,next;return next.value=void 0,next.done=!0,next};return p.next=p}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,w(ae,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),w(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,I,"GeneratorFunction"),c.isGeneratorFunction=function(r){var c="function"==typeof r&amp;&amp;r.constructor;return!!c&amp;&amp;(c===GeneratorFunction||"GeneratorFunction"===(c.displayName||c.name))},c.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,GeneratorFunctionPrototype):(r.__proto__=GeneratorFunctionPrototype,define(r,I,"GeneratorFunction")),r.prototype=Object.create(ae),r},c.awrap=function(r){return{__await:r}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,E,(function(){return this})),c.AsyncIterator=AsyncIterator,c.async=function(r,u,p,y,w){void 0===w&amp;&amp;(w=Promise);var x=new AsyncIterator(wrap(r,u,p,y),w);return c.isGeneratorFunction(u)?x:x.next().then((function(r){return r.done?r.value:x.next()}))},defineIteratorMethods(ae),define(ae,I,"Generator"),define(ae,k,(function(){return this})),define(ae,"toString",(function(){return"[object Generator]"})),c.keys=function(r){var c=Object(r),u=[];for(var p in c)u.push(p);return u.reverse(),function next(){for(;u.length;){var r=u.pop();if(r in c)return next.value=r,next.done=!1,next}return next.done=!0,next}},c.values=values,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!r)for(var c in this)"t"===c.charAt(0)&amp;&amp;y.call(this,c)&amp;&amp;!isNaN(+c.slice(1))&amp;&amp;(this[c]=void 0)},stop:function stop(){this.done=!0;var r=this.tryEntries[0].completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function dispatchException(r){if(this.done)throw r;var c=this;function handle(u,p){return w.type="throw",w.arg=r,c.next=u,p&amp;&amp;(c.method="next",c.arg=void 0),!!p}for(var u=this.tryEntries.length-1;u&gt;=0;--u){var p=this.tryEntries[u],w=p.completion;if("root"===p.tryLoc)return handle("end");if(p.tryLoc&lt;=this.prev){var x=y.call(p,"catchLoc"),k=y.call(p,"finallyLoc");if(x&amp;&amp;k){if(this.prev&lt;p.catchLoc)return handle(p.catchLoc,!0);if(this.prev&lt;p.finallyLoc)return handle(p.finallyLoc)}else if(x){if(this.prev&lt;p.catchLoc)return handle(p.catchLoc,!0)}else{if(!k)throw new Error("try statement without catch or finally");if(this.prev&lt;p.finallyLoc)return handle(p.finallyLoc)}}}},abrupt:function abrupt(r,c){for(var u=this.tryEntries.length-1;u&gt;=0;--u){var p=this.tryEntries[u];if(p.tryLoc&lt;=this.prev&amp;&amp;y.call(p,"finallyLoc")&amp;&amp;this.prev&lt;p.finallyLoc){var w=p;break}}w&amp;&amp;("break"===r||"continue"===r)&amp;&amp;w.tryLoc&lt;=c&amp;&amp;c&lt;=w.finallyLoc&amp;&amp;(w=null);var x=w?w.completion:{};return x.type=r,x.arg=c,w?(this.method="next",this.next=w.finallyLoc,K):this.complete(x)},complete:function complete(r,c){if("throw"===r.type)throw r.arg;return"break"===r.type||"continue"===r.type?this.next=r.arg:"return"===r.type?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):"normal"===r.type&amp;&amp;c&amp;&amp;(this.next=c),K},finish:function finish(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),resetTryEntry(u),K}},catch:function _catch(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.tryLoc===r){var p=u.completion;if("throw"===p.type){var y=p.arg;resetTryEntry(u)}return y}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(r,c,u){return this.delegate={iterator:values(r),resultName:c,nextLoc:u},"next"===this.method&amp;&amp;(this.arg=void 0),K}},c}r.exports=_regeneratorRuntime,r.exports.__esModule=!0,r.exports.default=r.exports},40769:function(r){function _setPrototypeOf(c,u){return r.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(r,c){return r.__proto__=c,r},r.exports.__esModule=!0,r.exports.default=r.exports,_setPrototypeOf(c,u)}r.exports=_setPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},99148:function(r,c,u){var p=u(7701),y=u(71689),w=u(7421),x=u(27714);r.exports=function _slicedToArray(r,c){return p(r)||y(r,c)||w(r,c)||x()},r.exports.__esModule=!0,r.exports.default=r.exports},75315:function(r,c,u){var p=u(9732),y=u(96471),w=u(7421),x=u(34471);r.exports=function _toConsumableArray(r){return p(r)||y(r)||w(r)||x()},r.exports.__esModule=!0,r.exports.default=r.exports},40957:function(r,c,u){var p=u(7385).default;r.exports=function _toPrimitive(r,c){if("object"!==p(r)||null===r)return r;var u=r[Symbol.toPrimitive];if(void 0!==u){var y=u.call(r,c||"default");if("object"!==p(y))return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(r)},r.exports.__esModule=!0,r.exports.default=r.exports},43993:function(r,c,u){var p=u(7385).default,y=u(40957);r.exports=function _toPropertyKey(r){var c=y(r,"string");return"symbol"===p(c)?c:String(c)},r.exports.__esModule=!0,r.exports.default=r.exports},7385:function(r){function _typeof(c){return r.exports=_typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},r.exports.__esModule=!0,r.exports.default=r.exports,_typeof(c)}r.exports=_typeof,r.exports.__esModule=!0,r.exports.default=r.exports},7421:function(r,c,u){var p=u(62266);r.exports=function _unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return p(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?p(r,c):void 0}},r.exports.__esModule=!0,r.exports.default=r.exports},75196:function(r,c,u){var p=u(53897)();r.exports=p;try{regeneratorRuntime=p}catch(r){"object"==typeof globalThis?globalThis.regeneratorRuntime=p:Function("r","regeneratorRuntime = r")(p)}},78024:function(r){r.exports=function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p},r.exports.__esModule=!0,r.exports.default=r.exports},70163:function(r){r.exports=function _arrayWithHoles(r){if(Array.isArray(r))return r},r.exports.__esModule=!0,r.exports.default=r.exports},52281:function(r,c,u){var p=u(78024);r.exports=function _arrayWithoutHoles(r){if(Array.isArray(r))return p(r)},r.exports.__esModule=!0,r.exports.default=r.exports},8037:function(r){r.exports=function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r},r.exports.__esModule=!0,r.exports.default=r.exports},70056:function(r){r.exports=function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")},r.exports.__esModule=!0,r.exports.default=r.exports},11783:function(r,c,u){var p=u(47822);function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var y=c[u];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&amp;&amp;(y.writable=!0),Object.defineProperty(r,p(y.key),y)}}r.exports=function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r},r.exports.__esModule=!0,r.exports.default=r.exports},34339:function(r){function _getPrototypeOf(c){return r.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)},r.exports.__esModule=!0,r.exports.default=r.exports,_getPrototypeOf(c)}r.exports=_getPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},22164:function(r,c,u){var p=u(75);r.exports=function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&amp;&amp;p(r,c)},r.exports.__esModule=!0,r.exports.default=r.exports},69473:function(r){r.exports=function _iterableToArray(r){if("undefined"!=typeof Symbol&amp;&amp;null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)},r.exports.__esModule=!0,r.exports.default=r.exports},61046:function(r){r.exports=function _iterableToArrayLimit(r,c){var u=null==r?null:"undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(null!=u){var p,y,w,x,k=[],E=!0,I=!1;try{if(w=(u=u.call(r)).next,0===c){if(Object(u)!==u)return;E=!1}else for(;!(E=(p=w.call(u)).done)&amp;&amp;(k.push(p.value),k.length!==c);E=!0);}catch(r){I=!0,y=r}finally{try{if(!E&amp;&amp;null!=u.return&amp;&amp;(x=u.return(),Object(x)!==x))return}finally{if(I)throw y}}return k}},r.exports.__esModule=!0,r.exports.default=r.exports},10941:function(r){r.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},r.exports.__esModule=!0,r.exports.default=r.exports},59624:function(r){r.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},r.exports.__esModule=!0,r.exports.default=r.exports},66969:function(r,c,u){var p=u(98150).default,y=u(8037);r.exports=function _possibleConstructorReturn(r,c){if(c&amp;&amp;("object"===p(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return y(r)},r.exports.__esModule=!0,r.exports.default=r.exports},75:function(r){function _setPrototypeOf(c,u){return r.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(r,c){return r.__proto__=c,r},r.exports.__esModule=!0,r.exports.default=r.exports,_setPrototypeOf(c,u)}r.exports=_setPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},44680:function(r,c,u){var p=u(70163),y=u(61046),w=u(55267),x=u(10941);r.exports=function _slicedToArray(r,c){return p(r)||y(r,c)||w(r,c)||x()},r.exports.__esModule=!0,r.exports.default=r.exports},63569:function(r,c,u){var p=u(52281),y=u(69473),w=u(55267),x=u(59624);r.exports=function _toConsumableArray(r){return p(r)||y(r)||w(r)||x()},r.exports.__esModule=!0,r.exports.default=r.exports},103:function(r,c,u){var p=u(98150).default;r.exports=function _toPrimitive(r,c){if("object"!==p(r)||null===r)return r;var u=r[Symbol.toPrimitive];if(void 0!==u){var y=u.call(r,c||"default");if("object"!==p(y))return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(r)},r.exports.__esModule=!0,r.exports.default=r.exports},47822:function(r,c,u){var p=u(98150).default,y=u(103);r.exports=function _toPropertyKey(r){var c=y(r,"string");return"symbol"===p(c)?c:String(c)},r.exports.__esModule=!0,r.exports.default=r.exports},98150:function(r){function _typeof(c){return r.exports=_typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},r.exports.__esModule=!0,r.exports.default=r.exports,_typeof(c)}r.exports=_typeof,r.exports.__esModule=!0,r.exports.default=r.exports},55267:function(r,c,u){var p=u(78024);r.exports=function _unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return p(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?p(r,c):void 0}},r.exports.__esModule=!0,r.exports.default=r.exports},96566:function(r){r.exports=function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r},r.exports.__esModule=!0,r.exports.default=r.exports},31451:function(r){function asyncGeneratorStep(r,c,u,p,y,w,x){try{var k=r[w](x),E=k.value}catch(r){return void u(r)}k.done?c(E):Promise.resolve(E).then(p,y)}r.exports=function _asyncToGenerator(r){return function(){var c=this,u=arguments;return new Promise((function(p,y){var w=r.apply(c,u);function _next(r){asyncGeneratorStep(w,p,y,_next,_throw,"next",r)}function _throw(r){asyncGeneratorStep(w,p,y,_next,_throw,"throw",r)}_next(void 0)}))}},r.exports.__esModule=!0,r.exports.default=r.exports},18428:function(r){r.exports=function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")},r.exports.__esModule=!0,r.exports.default=r.exports},21788:function(r,c,u){var p=u(96598),y=u(22408);function _construct(c,u,w){return y()?(r.exports=_construct=Reflect.construct.bind(),r.exports.__esModule=!0,r.exports.default=r.exports):(r.exports=_construct=function _construct(r,c,u){var y=[null];y.push.apply(y,c);var w=new(Function.bind.apply(r,y));return u&amp;&amp;p(w,u.prototype),w},r.exports.__esModule=!0,r.exports.default=r.exports),_construct.apply(null,arguments)}r.exports=_construct,r.exports.__esModule=!0,r.exports.default=r.exports},77044:function(r,c,u){var p=u(5217);function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var y=c[u];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&amp;&amp;(y.writable=!0),Object.defineProperty(r,p(y.key),y)}}r.exports=function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r},r.exports.__esModule=!0,r.exports.default=r.exports},34388:function(r,c,u){var p=u(5217);r.exports=function _defineProperty(r,c,u){return(c=p(c))in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r},r.exports.__esModule=!0,r.exports.default=r.exports},59417:function(r){function _getPrototypeOf(c){return r.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)},r.exports.__esModule=!0,r.exports.default=r.exports,_getPrototypeOf(c)}r.exports=_getPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},85833:function(r,c,u){var p=u(96598);r.exports=function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&amp;&amp;p(r,c)},r.exports.__esModule=!0,r.exports.default=r.exports},75620:function(r){r.exports=function _isNativeFunction(r){return-1!==Function.toString.call(r).indexOf("[native code]")},r.exports.__esModule=!0,r.exports.default=r.exports},22408:function(r){r.exports=function _isNativeReflectConstruct(){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(r){return!1}},r.exports.__esModule=!0,r.exports.default=r.exports},73718:function(r,c,u){var p=u(19485).default,y=u(96566);r.exports=function _possibleConstructorReturn(r,c){if(c&amp;&amp;("object"===p(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return y(r)},r.exports.__esModule=!0,r.exports.default=r.exports},66758:function(r,c,u){var p=u(19485).default;function _regeneratorRuntime(){"use strict";r.exports=_regeneratorRuntime=function _regeneratorRuntime(){return c},r.exports.__esModule=!0,r.exports.default=r.exports;var c={},u=Object.prototype,y=u.hasOwnProperty,w=Object.defineProperty||function(r,c,u){r[c]=u.value},x="function"==typeof Symbol?Symbol:{},k=x.iterator||"@@iterator",E=x.asyncIterator||"@@asyncIterator",I=x.toStringTag||"@@toStringTag";function define(r,c,u){return Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}),r[c]}try{define({},"")}catch(r){define=function define(r,c,u){return r[c]=u}}function wrap(r,c,u,p){var y=c&amp;&amp;c.prototype instanceof Generator?c:Generator,x=Object.create(y.prototype),k=new Context(p||[]);return w(x,"_invoke",{value:makeInvokeMethod(r,u,k)}),x}function tryCatch(r,c,u){try{return{type:"normal",arg:r.call(c,u)}}catch(r){return{type:"throw",arg:r}}}c.wrap=wrap;var K={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var J={};define(J,k,(function(){return this}));var oe=Object.getPrototypeOf,ie=oe&amp;&amp;oe(oe(values([])));ie&amp;&amp;ie!==u&amp;&amp;y.call(ie,k)&amp;&amp;(J=ie);var ae=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(J);function defineIteratorMethods(r){["next","throw","return"].forEach((function(c){define(r,c,(function(r){return this._invoke(c,r)}))}))}function AsyncIterator(r,c){function invoke(u,w,x,k){var E=tryCatch(r[u],r,w);if("throw"!==E.type){var I=E.arg,K=I.value;return K&amp;&amp;"object"==p(K)&amp;&amp;y.call(K,"__await")?c.resolve(K.__await).then((function(r){invoke("next",r,x,k)}),(function(r){invoke("throw",r,x,k)})):c.resolve(K).then((function(r){I.value=r,x(I)}),(function(r){return invoke("throw",r,x,k)}))}k(E.arg)}var u;w(this,"_invoke",{value:function value(r,p){function callInvokeWithMethodAndArg(){return new c((function(c,u){invoke(r,p,c,u)}))}return u=u?u.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(r,c,u){var p="suspendedStart";return function(y,w){if("executing"===p)throw new Error("Generator is already running");if("completed"===p){if("throw"===y)throw w;return doneResult()}for(u.method=y,u.arg=w;;){var x=u.delegate;if(x){var k=maybeInvokeDelegate(x,u);if(k){if(k===K)continue;return k}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if("suspendedStart"===p)throw p="completed",u.arg;u.dispatchException(u.arg)}else"return"===u.method&amp;&amp;u.abrupt("return",u.arg);p="executing";var E=tryCatch(r,c,u);if("normal"===E.type){if(p=u.done?"completed":"suspendedYield",E.arg===K)continue;return{value:E.arg,done:u.done}}"throw"===E.type&amp;&amp;(p="completed",u.method="throw",u.arg=E.arg)}}}function maybeInvokeDelegate(r,c){var u=c.method,p=r.iterator[u];if(void 0===p)return c.delegate=null,"throw"===u&amp;&amp;r.iterator.return&amp;&amp;(c.method="return",c.arg=void 0,maybeInvokeDelegate(r,c),"throw"===c.method)||"return"!==u&amp;&amp;(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+u+"' method")),K;var y=tryCatch(p,r.iterator,c.arg);if("throw"===y.type)return c.method="throw",c.arg=y.arg,c.delegate=null,K;var w=y.arg;return w?w.done?(c[r.resultName]=w.value,c.next=r.nextLoc,"return"!==c.method&amp;&amp;(c.method="next",c.arg=void 0),c.delegate=null,K):w:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,K)}function pushTryEntry(r){var c={tryLoc:r[0]};1 in r&amp;&amp;(c.catchLoc=r[1]),2 in r&amp;&amp;(c.finallyLoc=r[2],c.afterLoc=r[3]),this.tryEntries.push(c)}function resetTryEntry(r){var c=r.completion||{};c.type="normal",delete c.arg,r.completion=c}function Context(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(pushTryEntry,this),this.reset(!0)}function values(r){if(r){var c=r[k];if(c)return c.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var u=-1,p=function next(){for(;++u&lt;r.length;)if(y.call(r,u))return next.value=r[u],next.done=!1,next;return next.value=void 0,next.done=!0,next};return p.next=p}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,w(ae,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),w(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,I,"GeneratorFunction"),c.isGeneratorFunction=function(r){var c="function"==typeof r&amp;&amp;r.constructor;return!!c&amp;&amp;(c===GeneratorFunction||"GeneratorFunction"===(c.displayName||c.name))},c.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,GeneratorFunctionPrototype):(r.__proto__=GeneratorFunctionPrototype,define(r,I,"GeneratorFunction")),r.prototype=Object.create(ae),r},c.awrap=function(r){return{__await:r}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,E,(function(){return this})),c.AsyncIterator=AsyncIterator,c.async=function(r,u,p,y,w){void 0===w&amp;&amp;(w=Promise);var x=new AsyncIterator(wrap(r,u,p,y),w);return c.isGeneratorFunction(u)?x:x.next().then((function(r){return r.done?r.value:x.next()}))},defineIteratorMethods(ae),define(ae,I,"Generator"),define(ae,k,(function(){return this})),define(ae,"toString",(function(){return"[object Generator]"})),c.keys=function(r){var c=Object(r),u=[];for(var p in c)u.push(p);return u.reverse(),function next(){for(;u.length;){var r=u.pop();if(r in c)return next.value=r,next.done=!1,next}return next.done=!0,next}},c.values=values,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!r)for(var c in this)"t"===c.charAt(0)&amp;&amp;y.call(this,c)&amp;&amp;!isNaN(+c.slice(1))&amp;&amp;(this[c]=void 0)},stop:function stop(){this.done=!0;var r=this.tryEntries[0].completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function dispatchException(r){if(this.done)throw r;var c=this;function handle(u,p){return w.type="throw",w.arg=r,c.next=u,p&amp;&amp;(c.method="next",c.arg=void 0),!!p}for(var u=this.tryEntries.length-1;u&gt;=0;--u){var p=this.tryEntries[u],w=p.completion;if("root"===p.tryLoc)return handle("end");if(p.tryLoc&lt;=this.prev){var x=y.call(p,"catchLoc"),k=y.call(p,"finallyLoc");if(x&amp;&amp;k){if(this.prev&lt;p.catchLoc)return handle(p.catchLoc,!0);if(this.prev&lt;p.finallyLoc)return handle(p.finallyLoc)}else if(x){if(this.prev&lt;p.catchLoc)return handle(p.catchLoc,!0)}else{if(!k)throw new Error("try statement without catch or finally");if(this.prev&lt;p.finallyLoc)return handle(p.finallyLoc)}}}},abrupt:function abrupt(r,c){for(var u=this.tryEntries.length-1;u&gt;=0;--u){var p=this.tryEntries[u];if(p.tryLoc&lt;=this.prev&amp;&amp;y.call(p,"finallyLoc")&amp;&amp;this.prev&lt;p.finallyLoc){var w=p;break}}w&amp;&amp;("break"===r||"continue"===r)&amp;&amp;w.tryLoc&lt;=c&amp;&amp;c&lt;=w.finallyLoc&amp;&amp;(w=null);var x=w?w.completion:{};return x.type=r,x.arg=c,w?(this.method="next",this.next=w.finallyLoc,K):this.complete(x)},complete:function complete(r,c){if("throw"===r.type)throw r.arg;return"break"===r.type||"continue"===r.type?this.next=r.arg:"return"===r.type?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):"normal"===r.type&amp;&amp;c&amp;&amp;(this.next=c),K},finish:function finish(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),resetTryEntry(u),K}},catch:function _catch(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.tryLoc===r){var p=u.completion;if("throw"===p.type){var y=p.arg;resetTryEntry(u)}return y}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(r,c,u){return this.delegate={iterator:values(r),resultName:c,nextLoc:u},"next"===this.method&amp;&amp;(this.arg=void 0),K}},c}r.exports=_regeneratorRuntime,r.exports.__esModule=!0,r.exports.default=r.exports},96598:function(r){function _setPrototypeOf(c,u){return r.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(r,c){return r.__proto__=c,r},r.exports.__esModule=!0,r.exports.default=r.exports,_setPrototypeOf(c,u)}r.exports=_setPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},9716:function(r,c,u){var p=u(19485).default;r.exports=function _toPrimitive(r,c){if("object"!==p(r)||null===r)return r;var u=r[Symbol.toPrimitive];if(void 0!==u){var y=u.call(r,c||"default");if("object"!==p(y))return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(r)},r.exports.__esModule=!0,r.exports.default=r.exports},5217:function(r,c,u){var p=u(19485).default,y=u(9716);r.exports=function _toPropertyKey(r){var c=y(r,"string");return"symbol"===p(c)?c:String(c)},r.exports.__esModule=!0,r.exports.default=r.exports},19485:function(r){function _typeof(c){return r.exports=_typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},r.exports.__esModule=!0,r.exports.default=r.exports,_typeof(c)}r.exports=_typeof,r.exports.__esModule=!0,r.exports.default=r.exports},7103:function(r,c,u){var p=u(59417),y=u(96598),w=u(75620),x=u(21788);function _wrapNativeSuper(c){var u="function"==typeof Map?new Map:void 0;return r.exports=_wrapNativeSuper=function _wrapNativeSuper(r){if(null===r||!w(r))return r;if("function"!=typeof r)throw new TypeError("Super expression must either be null or a function");if(void 0!==u){if(u.has(r))return u.get(r);u.set(r,Wrapper)}function Wrapper(){return x(r,arguments,p(this).constructor)}return Wrapper.prototype=Object.create(r.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),y(Wrapper,r)},r.exports.__esModule=!0,r.exports.default=r.exports,_wrapNativeSuper(c)}r.exports=_wrapNativeSuper,r.exports.__esModule=!0,r.exports.default=r.exports},88874:function(r,c,u){var p=u(66758)();r.exports=p;try{regeneratorRuntime=p}catch(r){"object"==typeof globalThis?globalThis.regeneratorRuntime=p:Function("r","regeneratorRuntime = r")(p)}},28493:function(r){r.exports=function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p},r.exports.__esModule=!0,r.exports.default=r.exports},15030:function(r){r.exports=function _arrayWithHoles(r){if(Array.isArray(r))return r},r.exports.__esModule=!0,r.exports.default=r.exports},76385:function(r,c,u){var p=u(28493);r.exports=function _arrayWithoutHoles(r){if(Array.isArray(r))return p(r)},r.exports.__esModule=!0,r.exports.default=r.exports},40337:function(r){r.exports=function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r},r.exports.__esModule=!0,r.exports.default=r.exports},21322:function(r){function asyncGeneratorStep(r,c,u,p,y,w,x){try{var k=r[w](x),E=k.value}catch(r){return void u(r)}k.done?c(E):Promise.resolve(E).then(p,y)}r.exports=function _asyncToGenerator(r){return function(){var c=this,u=arguments;return new Promise((function(p,y){var w=r.apply(c,u);function _next(r){asyncGeneratorStep(w,p,y,_next,_throw,"next",r)}function _throw(r){asyncGeneratorStep(w,p,y,_next,_throw,"throw",r)}_next(void 0)}))}},r.exports.__esModule=!0,r.exports.default=r.exports},78046:function(r){r.exports=function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")},r.exports.__esModule=!0,r.exports.default=r.exports},35459:function(r,c,u){var p=u(62491);function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var y=c[u];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&amp;&amp;(y.writable=!0),Object.defineProperty(r,p(y.key),y)}}r.exports=function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r},r.exports.__esModule=!0,r.exports.default=r.exports},45290:function(r,c,u){var p=u(62491);r.exports=function _defineProperty(r,c,u){return(c=p(c))in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r},r.exports.__esModule=!0,r.exports.default=r.exports},63035:function(r){function _getPrototypeOf(c){return r.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)},r.exports.__esModule=!0,r.exports.default=r.exports,_getPrototypeOf(c)}r.exports=_getPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},66686:function(r,c,u){var p=u(79199);r.exports=function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&amp;&amp;p(r,c)},r.exports.__esModule=!0,r.exports.default=r.exports},64355:function(r){r.exports=function _iterableToArray(r){if("undefined"!=typeof Symbol&amp;&amp;null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)},r.exports.__esModule=!0,r.exports.default=r.exports},50610:function(r){r.exports=function _iterableToArrayLimit(r,c){var u=null==r?null:"undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(null!=u){var p,y,w,x,k=[],E=!0,I=!1;try{if(w=(u=u.call(r)).next,0===c){if(Object(u)!==u)return;E=!1}else for(;!(E=(p=w.call(u)).done)&amp;&amp;(k.push(p.value),k.length!==c);E=!0);}catch(r){I=!0,y=r}finally{try{if(!E&amp;&amp;null!=u.return&amp;&amp;(x=u.return(),Object(x)!==x))return}finally{if(I)throw y}}return k}},r.exports.__esModule=!0,r.exports.default=r.exports},90907:function(r){r.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},r.exports.__esModule=!0,r.exports.default=r.exports},97752:function(r){r.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},r.exports.__esModule=!0,r.exports.default=r.exports},74889:function(r,c,u){var p=u(80020).default,y=u(40337);r.exports=function _possibleConstructorReturn(r,c){if(c&amp;&amp;("object"===p(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return y(r)},r.exports.__esModule=!0,r.exports.default=r.exports},7258:function(r,c,u){var p=u(80020).default;function _regeneratorRuntime(){"use strict";r.exports=_regeneratorRuntime=function _regeneratorRuntime(){return c},r.exports.__esModule=!0,r.exports.default=r.exports;var c={},u=Object.prototype,y=u.hasOwnProperty,w=Object.defineProperty||function(r,c,u){r[c]=u.value},x="function"==typeof Symbol?Symbol:{},k=x.iterator||"@@iterator",E=x.asyncIterator||"@@asyncIterator",I=x.toStringTag||"@@toStringTag";function define(r,c,u){return Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}),r[c]}try{define({},"")}catch(r){define=function define(r,c,u){return r[c]=u}}function wrap(r,c,u,p){var y=c&amp;&amp;c.prototype instanceof Generator?c:Generator,x=Object.create(y.prototype),k=new Context(p||[]);return w(x,"_invoke",{value:makeInvokeMethod(r,u,k)}),x}function tryCatch(r,c,u){try{return{type:"normal",arg:r.call(c,u)}}catch(r){return{type:"throw",arg:r}}}c.wrap=wrap;var K={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var J={};define(J,k,(function(){return this}));var oe=Object.getPrototypeOf,ie=oe&amp;&amp;oe(oe(values([])));ie&amp;&amp;ie!==u&amp;&amp;y.call(ie,k)&amp;&amp;(J=ie);var ae=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(J);function defineIteratorMethods(r){["next","throw","return"].forEach((function(c){define(r,c,(function(r){return this._invoke(c,r)}))}))}function AsyncIterator(r,c){function invoke(u,w,x,k){var E=tryCatch(r[u],r,w);if("throw"!==E.type){var I=E.arg,K=I.value;return K&amp;&amp;"object"==p(K)&amp;&amp;y.call(K,"__await")?c.resolve(K.__await).then((function(r){invoke("next",r,x,k)}),(function(r){invoke("throw",r,x,k)})):c.resolve(K).then((function(r){I.value=r,x(I)}),(function(r){return invoke("throw",r,x,k)}))}k(E.arg)}var u;w(this,"_invoke",{value:function value(r,p){function callInvokeWithMethodAndArg(){return new c((function(c,u){invoke(r,p,c,u)}))}return u=u?u.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(r,c,u){var p="suspendedStart";return function(y,w){if("executing"===p)throw new Error("Generator is already running");if("completed"===p){if("throw"===y)throw w;return doneResult()}for(u.method=y,u.arg=w;;){var x=u.delegate;if(x){var k=maybeInvokeDelegate(x,u);if(k){if(k===K)continue;return k}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if("suspendedStart"===p)throw p="completed",u.arg;u.dispatchException(u.arg)}else"return"===u.method&amp;&amp;u.abrupt("return",u.arg);p="executing";var E=tryCatch(r,c,u);if("normal"===E.type){if(p=u.done?"completed":"suspendedYield",E.arg===K)continue;return{value:E.arg,done:u.done}}"throw"===E.type&amp;&amp;(p="completed",u.method="throw",u.arg=E.arg)}}}function maybeInvokeDelegate(r,c){var u=c.method,p=r.iterator[u];if(void 0===p)return c.delegate=null,"throw"===u&amp;&amp;r.iterator.return&amp;&amp;(c.method="return",c.arg=void 0,maybeInvokeDelegate(r,c),"throw"===c.method)||"return"!==u&amp;&amp;(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+u+"' method")),K;var y=tryCatch(p,r.iterator,c.arg);if("throw"===y.type)return c.method="throw",c.arg=y.arg,c.delegate=null,K;var w=y.arg;return w?w.done?(c[r.resultName]=w.value,c.next=r.nextLoc,"return"!==c.method&amp;&amp;(c.method="next",c.arg=void 0),c.delegate=null,K):w:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,K)}function pushTryEntry(r){var c={tryLoc:r[0]};1 in r&amp;&amp;(c.catchLoc=r[1]),2 in r&amp;&amp;(c.finallyLoc=r[2],c.afterLoc=r[3]),this.tryEntries.push(c)}function resetTryEntry(r){var c=r.completion||{};c.type="normal",delete c.arg,r.completion=c}function Context(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(pushTryEntry,this),this.reset(!0)}function values(r){if(r){var c=r[k];if(c)return c.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var u=-1,p=function next(){for(;++u&lt;r.length;)if(y.call(r,u))return next.value=r[u],next.done=!1,next;return next.value=void 0,next.done=!0,next};return p.next=p}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,w(ae,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),w(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,I,"GeneratorFunction"),c.isGeneratorFunction=function(r){var c="function"==typeof r&amp;&amp;r.constructor;return!!c&amp;&amp;(c===GeneratorFunction||"GeneratorFunction"===(c.displayName||c.name))},c.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,GeneratorFunctionPrototype):(r.__proto__=GeneratorFunctionPrototype,define(r,I,"GeneratorFunction")),r.prototype=Object.create(ae),r},c.awrap=function(r){return{__await:r}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,E,(function(){return this})),c.AsyncIterator=AsyncIterator,c.async=function(r,u,p,y,w){void 0===w&amp;&amp;(w=Promise);var x=new AsyncIterator(wrap(r,u,p,y),w);return c.isGeneratorFunction(u)?x:x.next().then((function(r){return r.done?r.value:x.next()}))},defineIteratorMethods(ae),define(ae,I,"Generator"),define(ae,k,(function(){return this})),define(ae,"toString",(function(){return"[object Generator]"})),c.keys=function(r){var c=Object(r),u=[];for(var p in c)u.push(p);return u.reverse(),function next(){for(;u.length;){var r=u.pop();if(r in c)return next.value=r,next.done=!1,next}return next.done=!0,next}},c.values=values,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!r)for(var c in this)"t"===c.charAt(0)&amp;&amp;y.call(this,c)&amp;&amp;!isNaN(+c.slice(1))&amp;&amp;(this[c]=void 0)},stop:function stop(){this.done=!0;var r=this.tryEntries[0].completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function dispatchException(r){if(this.done)throw r;var c=this;function handle(u,p){return w.type="throw",w.arg=r,c.next=u,p&amp;&amp;(c.method="next",c.arg=void 0),!!p}for(var u=this.tryEntries.length-1;u&gt;=0;--u){var p=this.tryEntries[u],w=p.completion;if("root"===p.tryLoc)return handle("end");if(p.tryLoc&lt;=this.prev){var x=y.call(p,"catchLoc"),k=y.call(p,"finallyLoc");if(x&amp;&amp;k){if(this.prev&lt;p.catchLoc)return handle(p.catchLoc,!0);if(this.prev&lt;p.finallyLoc)return handle(p.finallyLoc)}else if(x){if(this.prev&lt;p.catchLoc)return handle(p.catchLoc,!0)}else{if(!k)throw new Error("try statement without catch or finally");if(this.prev&lt;p.finallyLoc)return handle(p.finallyLoc)}}}},abrupt:function abrupt(r,c){for(var u=this.tryEntries.length-1;u&gt;=0;--u){var p=this.tryEntries[u];if(p.tryLoc&lt;=this.prev&amp;&amp;y.call(p,"finallyLoc")&amp;&amp;this.prev&lt;p.finallyLoc){var w=p;break}}w&amp;&amp;("break"===r||"continue"===r)&amp;&amp;w.tryLoc&lt;=c&amp;&amp;c&lt;=w.finallyLoc&amp;&amp;(w=null);var x=w?w.completion:{};return x.type=r,x.arg=c,w?(this.method="next",this.next=w.finallyLoc,K):this.complete(x)},complete:function complete(r,c){if("throw"===r.type)throw r.arg;return"break"===r.type||"continue"===r.type?this.next=r.arg:"return"===r.type?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):"normal"===r.type&amp;&amp;c&amp;&amp;(this.next=c),K},finish:function finish(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),resetTryEntry(u),K}},catch:function _catch(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.tryLoc===r){var p=u.completion;if("throw"===p.type){var y=p.arg;resetTryEntry(u)}return y}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(r,c,u){return this.delegate={iterator:values(r),resultName:c,nextLoc:u},"next"===this.method&amp;&amp;(this.arg=void 0),K}},c}r.exports=_regeneratorRuntime,r.exports.__esModule=!0,r.exports.default=r.exports},79199:function(r){function _setPrototypeOf(c,u){return r.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(r,c){return r.__proto__=c,r},r.exports.__esModule=!0,r.exports.default=r.exports,_setPrototypeOf(c,u)}r.exports=_setPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},34867:function(r,c,u){var p=u(15030),y=u(50610),w=u(7623),x=u(90907);r.exports=function _slicedToArray(r,c){return p(r)||y(r,c)||w(r,c)||x()},r.exports.__esModule=!0,r.exports.default=r.exports},32234:function(r,c,u){var p=u(76385),y=u(64355),w=u(7623),x=u(97752);r.exports=function _toConsumableArray(r){return p(r)||y(r)||w(r)||x()},r.exports.__esModule=!0,r.exports.default=r.exports},60114:function(r,c,u){var p=u(80020).default;r.exports=function _toPrimitive(r,c){if("object"!==p(r)||null===r)return r;var u=r[Symbol.toPrimitive];if(void 0!==u){var y=u.call(r,c||"default");if("object"!==p(y))return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(r)},r.exports.__esModule=!0,r.exports.default=r.exports},62491:function(r,c,u){var p=u(80020).default,y=u(60114);r.exports=function _toPropertyKey(r){var c=y(r,"string");return"symbol"===p(c)?c:String(c)},r.exports.__esModule=!0,r.exports.default=r.exports},80020:function(r){function _typeof(c){return r.exports=_typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},r.exports.__esModule=!0,r.exports.default=r.exports,_typeof(c)}r.exports=_typeof,r.exports.__esModule=!0,r.exports.default=r.exports},7623:function(r,c,u){var p=u(28493);r.exports=function _unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return p(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?p(r,c):void 0}},r.exports.__esModule=!0,r.exports.default=r.exports},22986:function(r,c,u){var p=u(7258)();r.exports=p;try{regeneratorRuntime=p}catch(r){"object"==typeof globalThis?globalThis.regeneratorRuntime=p:Function("r","regeneratorRuntime = r")(p)}},84568:function(r){r.exports=function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r},r.exports.__esModule=!0,r.exports.default=r.exports},562:function(r){r.exports=function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")},r.exports.__esModule=!0,r.exports.default=r.exports},84852:function(r,c,u){var p=u(84396);function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var y=c[u];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&amp;&amp;(y.writable=!0),Object.defineProperty(r,p(y.key),y)}}r.exports=function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r},r.exports.__esModule=!0,r.exports.default=r.exports},41280:function(r,c,u){var p=u(84396);r.exports=function _defineProperty(r,c,u){return(c=p(c))in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r},r.exports.__esModule=!0,r.exports.default=r.exports},43896:function(r){function _getPrototypeOf(c){return r.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)},r.exports.__esModule=!0,r.exports.default=r.exports,_getPrototypeOf(c)}r.exports=_getPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},33582:function(r,c,u){var p=u(32335);r.exports=function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&amp;&amp;p(r,c)},r.exports.__esModule=!0,r.exports.default=r.exports},39447:function(r,c,u){var p=u(5735).default,y=u(84568);r.exports=function _possibleConstructorReturn(r,c){if(c&amp;&amp;("object"===p(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return y(r)},r.exports.__esModule=!0,r.exports.default=r.exports},32335:function(r){function _setPrototypeOf(c,u){return r.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(r,c){return r.__proto__=c,r},r.exports.__esModule=!0,r.exports.default=r.exports,_setPrototypeOf(c,u)}r.exports=_setPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},73689:function(r,c,u){var p=u(5735).default;r.exports=function _toPrimitive(r,c){if("object"!==p(r)||null===r)return r;var u=r[Symbol.toPrimitive];if(void 0!==u){var y=u.call(r,c||"default");if("object"!==p(y))return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(r)},r.exports.__esModule=!0,r.exports.default=r.exports},84396:function(r,c,u){var p=u(5735).default,y=u(73689);r.exports=function _toPropertyKey(r){var c=y(r,"string");return"symbol"===p(c)?c:String(c)},r.exports.__esModule=!0,r.exports.default=r.exports},5735:function(r){function _typeof(c){return r.exports=_typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},r.exports.__esModule=!0,r.exports.default=r.exports,_typeof(c)}r.exports=_typeof,r.exports.__esModule=!0,r.exports.default=r.exports},44377:function(r){r.exports=function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p},r.exports.__esModule=!0,r.exports.default=r.exports},8758:function(r,c,u){var p=u(44377);r.exports=function _arrayWithoutHoles(r){if(Array.isArray(r))return p(r)},r.exports.__esModule=!0,r.exports.default=r.exports},66380:function(r){r.exports=function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r},r.exports.__esModule=!0,r.exports.default=r.exports},37463:function(r){r.exports=function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")},r.exports.__esModule=!0,r.exports.default=r.exports},35020:function(r,c,u){var p=u(76586);function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var y=c[u];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&amp;&amp;(y.writable=!0),Object.defineProperty(r,p(y.key),y)}}r.exports=function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r},r.exports.__esModule=!0,r.exports.default=r.exports},69355:function(r,c,u){var p=u(76586);r.exports=function _defineProperty(r,c,u){return(c=p(c))in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r},r.exports.__esModule=!0,r.exports.default=r.exports},10521:function(r,c,u){var p=u(9992);function _get(){return"undefined"!=typeof Reflect&amp;&amp;Reflect.get?(r.exports=_get=Reflect.get.bind(),r.exports.__esModule=!0,r.exports.default=r.exports):(r.exports=_get=function _get(r,c,u){var y=p(r,c);if(y){var w=Object.getOwnPropertyDescriptor(y,c);return w.get?w.get.call(arguments.length&lt;3?r:u):w.value}},r.exports.__esModule=!0,r.exports.default=r.exports),_get.apply(this,arguments)}r.exports=_get,r.exports.__esModule=!0,r.exports.default=r.exports},48293:function(r){function _getPrototypeOf(c){return r.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)},r.exports.__esModule=!0,r.exports.default=r.exports,_getPrototypeOf(c)}r.exports=_getPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},80829:function(r,c,u){var p=u(61581);r.exports=function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&amp;&amp;p(r,c)},r.exports.__esModule=!0,r.exports.default=r.exports},74079:function(r){r.exports=function _iterableToArray(r){if("undefined"!=typeof Symbol&amp;&amp;null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)},r.exports.__esModule=!0,r.exports.default=r.exports},78070:function(r){r.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},r.exports.__esModule=!0,r.exports.default=r.exports},77512:function(r,c,u){var p=u(87595).default,y=u(66380);r.exports=function _possibleConstructorReturn(r,c){if(c&amp;&amp;("object"===p(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return y(r)},r.exports.__esModule=!0,r.exports.default=r.exports},61581:function(r){function _setPrototypeOf(c,u){return r.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(r,c){return r.__proto__=c,r},r.exports.__esModule=!0,r.exports.default=r.exports,_setPrototypeOf(c,u)}r.exports=_setPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},9992:function(r,c,u){var p=u(48293);r.exports=function _superPropBase(r,c){for(;!Object.prototype.hasOwnProperty.call(r,c)&amp;&amp;null!==(r=p(r)););return r},r.exports.__esModule=!0,r.exports.default=r.exports},45315:function(r,c,u){var p=u(8758),y=u(74079),w=u(25800),x=u(78070);r.exports=function _toConsumableArray(r){return p(r)||y(r)||w(r)||x()},r.exports.__esModule=!0,r.exports.default=r.exports},45489:function(r,c,u){var p=u(87595).default;r.exports=function _toPrimitive(r,c){if("object"!==p(r)||null===r)return r;var u=r[Symbol.toPrimitive];if(void 0!==u){var y=u.call(r,c||"default");if("object"!==p(y))return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(r)},r.exports.__esModule=!0,r.exports.default=r.exports},76586:function(r,c,u){var p=u(87595).default,y=u(45489);r.exports=function _toPropertyKey(r){var c=y(r,"string");return"symbol"===p(c)?c:String(c)},r.exports.__esModule=!0,r.exports.default=r.exports},87595:function(r){function _typeof(c){return r.exports=_typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},r.exports.__esModule=!0,r.exports.default=r.exports,_typeof(c)}r.exports=_typeof,r.exports.__esModule=!0,r.exports.default=r.exports},25800:function(r,c,u){var p=u(44377);r.exports=function _unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return p(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?p(r,c):void 0}},r.exports.__esModule=!0,r.exports.default=r.exports},18521:function(r){r.exports=function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p},r.exports.__esModule=!0,r.exports.default=r.exports},44207:function(r){r.exports=function _arrayWithHoles(r){if(Array.isArray(r))return r},r.exports.__esModule=!0,r.exports.default=r.exports},13032:function(r,c,u){var p=u(18521);r.exports=function _arrayWithoutHoles(r){if(Array.isArray(r))return p(r)},r.exports.__esModule=!0,r.exports.default=r.exports},67801:function(r){r.exports=function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r},r.exports.__esModule=!0,r.exports.default=r.exports},68779:function(r){function asyncGeneratorStep(r,c,u,p,y,w,x){try{var k=r[w](x),E=k.value}catch(r){return void u(r)}k.done?c(E):Promise.resolve(E).then(p,y)}r.exports=function _asyncToGenerator(r){return function(){var c=this,u=arguments;return new Promise((function(p,y){var w=r.apply(c,u);function _next(r){asyncGeneratorStep(w,p,y,_next,_throw,"next",r)}function _throw(r){asyncGeneratorStep(w,p,y,_next,_throw,"throw",r)}_next(void 0)}))}},r.exports.__esModule=!0,r.exports.default=r.exports},15826:function(r){r.exports=function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")},r.exports.__esModule=!0,r.exports.default=r.exports},74803:function(r,c,u){var p=u(56535),y=u(28546);function _construct(c,u,w){return y()?(r.exports=_construct=Reflect.construct.bind(),r.exports.__esModule=!0,r.exports.default=r.exports):(r.exports=_construct=function _construct(r,c,u){var y=[null];y.push.apply(y,c);var w=new(Function.bind.apply(r,y));return u&amp;&amp;p(w,u.prototype),w},r.exports.__esModule=!0,r.exports.default=r.exports),_construct.apply(null,arguments)}r.exports=_construct,r.exports.__esModule=!0,r.exports.default=r.exports},43137:function(r,c,u){var p=u(53287);function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var y=c[u];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&amp;&amp;(y.writable=!0),Object.defineProperty(r,p(y.key),y)}}r.exports=function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r},r.exports.__esModule=!0,r.exports.default=r.exports},62140:function(r,c,u){var p=u(53287);r.exports=function _defineProperty(r,c,u){return(c=p(c))in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r},r.exports.__esModule=!0,r.exports.default=r.exports},97468:function(r,c,u){var p=u(58454);function _get(){return"undefined"!=typeof Reflect&amp;&amp;Reflect.get?(r.exports=_get=Reflect.get.bind(),r.exports.__esModule=!0,r.exports.default=r.exports):(r.exports=_get=function _get(r,c,u){var y=p(r,c);if(y){var w=Object.getOwnPropertyDescriptor(y,c);return w.get?w.get.call(arguments.length&lt;3?r:u):w.value}},r.exports.__esModule=!0,r.exports.default=r.exports),_get.apply(this,arguments)}r.exports=_get,r.exports.__esModule=!0,r.exports.default=r.exports},18486:function(r){function _getPrototypeOf(c){return r.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)},r.exports.__esModule=!0,r.exports.default=r.exports,_getPrototypeOf(c)}r.exports=_getPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},82199:function(r,c,u){var p=u(56535);r.exports=function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&amp;&amp;p(r,c)},r.exports.__esModule=!0,r.exports.default=r.exports},50148:function(r){r.exports=function _isNativeFunction(r){return-1!==Function.toString.call(r).indexOf("[native code]")},r.exports.__esModule=!0,r.exports.default=r.exports},28546:function(r){r.exports=function _isNativeReflectConstruct(){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(r){return!1}},r.exports.__esModule=!0,r.exports.default=r.exports},85513:function(r){r.exports=function _iterableToArray(r){if("undefined"!=typeof Symbol&amp;&amp;null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)},r.exports.__esModule=!0,r.exports.default=r.exports},82776:function(r){r.exports=function _iterableToArrayLimit(r,c){var u=null==r?null:"undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(null!=u){var p,y,w,x,k=[],E=!0,I=!1;try{if(w=(u=u.call(r)).next,0===c){if(Object(u)!==u)return;E=!1}else for(;!(E=(p=w.call(u)).done)&amp;&amp;(k.push(p.value),k.length!==c);E=!0);}catch(r){I=!0,y=r}finally{try{if(!E&amp;&amp;null!=u.return&amp;&amp;(x=u.return(),Object(x)!==x))return}finally{if(I)throw y}}return k}},r.exports.__esModule=!0,r.exports.default=r.exports},17613:function(r){r.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},r.exports.__esModule=!0,r.exports.default=r.exports},39298:function(r){r.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},r.exports.__esModule=!0,r.exports.default=r.exports},82156:function(r,c,u){var p=u(31227).default,y=u(67801);r.exports=function _possibleConstructorReturn(r,c){if(c&amp;&amp;("object"===p(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return y(r)},r.exports.__esModule=!0,r.exports.default=r.exports},92229:function(r,c,u){var p=u(31227).default;function _regeneratorRuntime(){"use strict";r.exports=_regeneratorRuntime=function _regeneratorRuntime(){return c},r.exports.__esModule=!0,r.exports.default=r.exports;var c={},u=Object.prototype,y=u.hasOwnProperty,w=Object.defineProperty||function(r,c,u){r[c]=u.value},x="function"==typeof Symbol?Symbol:{},k=x.iterator||"@@iterator",E=x.asyncIterator||"@@asyncIterator",I=x.toStringTag||"@@toStringTag";function define(r,c,u){return Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}),r[c]}try{define({},"")}catch(r){define=function define(r,c,u){return r[c]=u}}function wrap(r,c,u,p){var y=c&amp;&amp;c.prototype instanceof Generator?c:Generator,x=Object.create(y.prototype),k=new Context(p||[]);return w(x,"_invoke",{value:makeInvokeMethod(r,u,k)}),x}function tryCatch(r,c,u){try{return{type:"normal",arg:r.call(c,u)}}catch(r){return{type:"throw",arg:r}}}c.wrap=wrap;var K={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var J={};define(J,k,(function(){return this}));var oe=Object.getPrototypeOf,ie=oe&amp;&amp;oe(oe(values([])));ie&amp;&amp;ie!==u&amp;&amp;y.call(ie,k)&amp;&amp;(J=ie);var ae=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(J);function defineIteratorMethods(r){["next","throw","return"].forEach((function(c){define(r,c,(function(r){return this._invoke(c,r)}))}))}function AsyncIterator(r,c){function invoke(u,w,x,k){var E=tryCatch(r[u],r,w);if("throw"!==E.type){var I=E.arg,K=I.value;return K&amp;&amp;"object"==p(K)&amp;&amp;y.call(K,"__await")?c.resolve(K.__await).then((function(r){invoke("next",r,x,k)}),(function(r){invoke("throw",r,x,k)})):c.resolve(K).then((function(r){I.value=r,x(I)}),(function(r){return invoke("throw",r,x,k)}))}k(E.arg)}var u;w(this,"_invoke",{value:function value(r,p){function callInvokeWithMethodAndArg(){return new c((function(c,u){invoke(r,p,c,u)}))}return u=u?u.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(r,c,u){var p="suspendedStart";return function(y,w){if("executing"===p)throw new Error("Generator is already running");if("completed"===p){if("throw"===y)throw w;return doneResult()}for(u.method=y,u.arg=w;;){var x=u.delegate;if(x){var k=maybeInvokeDelegate(x,u);if(k){if(k===K)continue;return k}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if("suspendedStart"===p)throw p="completed",u.arg;u.dispatchException(u.arg)}else"return"===u.method&amp;&amp;u.abrupt("return",u.arg);p="executing";var E=tryCatch(r,c,u);if("normal"===E.type){if(p=u.done?"completed":"suspendedYield",E.arg===K)continue;return{value:E.arg,done:u.done}}"throw"===E.type&amp;&amp;(p="completed",u.method="throw",u.arg=E.arg)}}}function maybeInvokeDelegate(r,c){var u=c.method,p=r.iterator[u];if(void 0===p)return c.delegate=null,"throw"===u&amp;&amp;r.iterator.return&amp;&amp;(c.method="return",c.arg=void 0,maybeInvokeDelegate(r,c),"throw"===c.method)||"return"!==u&amp;&amp;(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+u+"' method")),K;var y=tryCatch(p,r.iterator,c.arg);if("throw"===y.type)return c.method="throw",c.arg=y.arg,c.delegate=null,K;var w=y.arg;return w?w.done?(c[r.resultName]=w.value,c.next=r.nextLoc,"return"!==c.method&amp;&amp;(c.method="next",c.arg=void 0),c.delegate=null,K):w:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,K)}function pushTryEntry(r){var c={tryLoc:r[0]};1 in r&amp;&amp;(c.catchLoc=r[1]),2 in r&amp;&amp;(c.finallyLoc=r[2],c.afterLoc=r[3]),this.tryEntries.push(c)}function resetTryEntry(r){var c=r.completion||{};c.type="normal",delete c.arg,r.completion=c}function Context(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(pushTryEntry,this),this.reset(!0)}function values(r){if(r){var c=r[k];if(c)return c.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var u=-1,p=function next(){for(;++u&lt;r.length;)if(y.call(r,u))return next.value=r[u],next.done=!1,next;return next.value=void 0,next.done=!0,next};return p.next=p}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,w(ae,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),w(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,I,"GeneratorFunction"),c.isGeneratorFunction=function(r){var c="function"==typeof r&amp;&amp;r.constructor;return!!c&amp;&amp;(c===GeneratorFunction||"GeneratorFunction"===(c.displayName||c.name))},c.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,GeneratorFunctionPrototype):(r.__proto__=GeneratorFunctionPrototype,define(r,I,"GeneratorFunction")),r.prototype=Object.create(ae),r},c.awrap=function(r){return{__await:r}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,E,(function(){return this})),c.AsyncIterator=AsyncIterator,c.async=function(r,u,p,y,w){void 0===w&amp;&amp;(w=Promise);var x=new AsyncIterator(wrap(r,u,p,y),w);return c.isGeneratorFunction(u)?x:x.next().then((function(r){return r.done?r.value:x.next()}))},defineIteratorMethods(ae),define(ae,I,"Generator"),define(ae,k,(function(){return this})),define(ae,"toString",(function(){return"[object Generator]"})),c.keys=function(r){var c=Object(r),u=[];for(var p in c)u.push(p);return u.reverse(),function next(){for(;u.length;){var r=u.pop();if(r in c)return next.value=r,next.done=!1,next}return next.done=!0,next}},c.values=values,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!r)for(var c in this)"t"===c.charAt(0)&amp;&amp;y.call(this,c)&amp;&amp;!isNaN(+c.slice(1))&amp;&amp;(this[c]=void 0)},stop:function stop(){this.done=!0;var r=this.tryEntries[0].completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function dispatchException(r){if(this.done)throw r;var c=this;function handle(u,p){return w.type="throw",w.arg=r,c.next=u,p&amp;&amp;(c.method="next",c.arg=void 0),!!p}for(var u=this.tryEntries.length-1;u&gt;=0;--u){var p=this.tryEntries[u],w=p.completion;if("root"===p.tryLoc)return handle("end");if(p.tryLoc&lt;=this.prev){var x=y.call(p,"catchLoc"),k=y.call(p,"finallyLoc");if(x&amp;&amp;k){if(this.prev&lt;p.catchLoc)return handle(p.catchLoc,!0);if(this.prev&lt;p.finallyLoc)return handle(p.finallyLoc)}else if(x){if(this.prev&lt;p.catchLoc)return handle(p.catchLoc,!0)}else{if(!k)throw new Error("try statement without catch or finally");if(this.prev&lt;p.finallyLoc)return handle(p.finallyLoc)}}}},abrupt:function abrupt(r,c){for(var u=this.tryEntries.length-1;u&gt;=0;--u){var p=this.tryEntries[u];if(p.tryLoc&lt;=this.prev&amp;&amp;y.call(p,"finallyLoc")&amp;&amp;this.prev&lt;p.finallyLoc){var w=p;break}}w&amp;&amp;("break"===r||"continue"===r)&amp;&amp;w.tryLoc&lt;=c&amp;&amp;c&lt;=w.finallyLoc&amp;&amp;(w=null);var x=w?w.completion:{};return x.type=r,x.arg=c,w?(this.method="next",this.next=w.finallyLoc,K):this.complete(x)},complete:function complete(r,c){if("throw"===r.type)throw r.arg;return"break"===r.type||"continue"===r.type?this.next=r.arg:"return"===r.type?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):"normal"===r.type&amp;&amp;c&amp;&amp;(this.next=c),K},finish:function finish(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),resetTryEntry(u),K}},catch:function _catch(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.tryLoc===r){var p=u.completion;if("throw"===p.type){var y=p.arg;resetTryEntry(u)}return y}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(r,c,u){return this.delegate={iterator:values(r),resultName:c,nextLoc:u},"next"===this.method&amp;&amp;(this.arg=void 0),K}},c}r.exports=_regeneratorRuntime,r.exports.__esModule=!0,r.exports.default=r.exports},56535:function(r){function _setPrototypeOf(c,u){return r.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(r,c){return r.__proto__=c,r},r.exports.__esModule=!0,r.exports.default=r.exports,_setPrototypeOf(c,u)}r.exports=_setPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},78890:function(r,c,u){var p=u(44207),y=u(82776),w=u(19744),x=u(17613);r.exports=function _slicedToArray(r,c){return p(r)||y(r,c)||w(r,c)||x()},r.exports.__esModule=!0,r.exports.default=r.exports},58454:function(r,c,u){var p=u(18486);r.exports=function _superPropBase(r,c){for(;!Object.prototype.hasOwnProperty.call(r,c)&amp;&amp;null!==(r=p(r)););return r},r.exports.__esModule=!0,r.exports.default=r.exports},73678:function(r,c,u){var p=u(13032),y=u(85513),w=u(19744),x=u(39298);r.exports=function _toConsumableArray(r){return p(r)||y(r)||w(r)||x()},r.exports.__esModule=!0,r.exports.default=r.exports},58649:function(r,c,u){var p=u(31227).default;r.exports=function _toPrimitive(r,c){if("object"!==p(r)||null===r)return r;var u=r[Symbol.toPrimitive];if(void 0!==u){var y=u.call(r,c||"default");if("object"!==p(y))return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(r)},r.exports.__esModule=!0,r.exports.default=r.exports},53287:function(r,c,u){var p=u(31227).default,y=u(58649);r.exports=function _toPropertyKey(r){var c=y(r,"string");return"symbol"===p(c)?c:String(c)},r.exports.__esModule=!0,r.exports.default=r.exports},31227:function(r){function _typeof(c){return r.exports=_typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},r.exports.__esModule=!0,r.exports.default=r.exports,_typeof(c)}r.exports=_typeof,r.exports.__esModule=!0,r.exports.default=r.exports},19744:function(r,c,u){var p=u(18521);r.exports=function _unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return p(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?p(r,c):void 0}},r.exports.__esModule=!0,r.exports.default=r.exports},58684:function(r,c,u){var p=u(18486),y=u(56535),w=u(50148),x=u(74803);function _wrapNativeSuper(c){var u="function"==typeof Map?new Map:void 0;return r.exports=_wrapNativeSuper=function _wrapNativeSuper(r){if(null===r||!w(r))return r;if("function"!=typeof r)throw new TypeError("Super expression must either be null or a function");if(void 0!==u){if(u.has(r))return u.get(r);u.set(r,Wrapper)}function Wrapper(){return x(r,arguments,p(this).constructor)}return Wrapper.prototype=Object.create(r.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),y(Wrapper,r)},r.exports.__esModule=!0,r.exports.default=r.exports,_wrapNativeSuper(c)}r.exports=_wrapNativeSuper,r.exports.__esModule=!0,r.exports.default=r.exports},6727:function(r,c,u){var p=u(92229)();r.exports=p;try{regeneratorRuntime=p}catch(r){"object"==typeof globalThis?globalThis.regeneratorRuntime=p:Function("r","regeneratorRuntime = r")(p)}},91538:function(r){r.exports=function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p},r.exports.__esModule=!0,r.exports.default=r.exports},37182:function(r){r.exports=function _arrayWithHoles(r){if(Array.isArray(r))return r},r.exports.__esModule=!0,r.exports.default=r.exports},68665:function(r,c,u){var p=u(91538);r.exports=function _arrayWithoutHoles(r){if(Array.isArray(r))return p(r)},r.exports.__esModule=!0,r.exports.default=r.exports},56353:function(r){r.exports=function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r},r.exports.__esModule=!0,r.exports.default=r.exports},99939:function(r){function asyncGeneratorStep(r,c,u,p,y,w,x){try{var k=r[w](x),E=k.value}catch(r){return void u(r)}k.done?c(E):Promise.resolve(E).then(p,y)}r.exports=function _asyncToGenerator(r){return function(){var c=this,u=arguments;return new Promise((function(p,y){var w=r.apply(c,u);function _next(r){asyncGeneratorStep(w,p,y,_next,_throw,"next",r)}function _throw(r){asyncGeneratorStep(w,p,y,_next,_throw,"throw",r)}_next(void 0)}))}},r.exports.__esModule=!0,r.exports.default=r.exports},16194:function(r){r.exports=function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")},r.exports.__esModule=!0,r.exports.default=r.exports},31445:function(r,c,u){var p=u(10407),y=u(92414);function _construct(c,u,w){return y()?(r.exports=_construct=Reflect.construct.bind(),r.exports.__esModule=!0,r.exports.default=r.exports):(r.exports=_construct=function _construct(r,c,u){var y=[null];y.push.apply(y,c);var w=new(Function.bind.apply(r,y));return u&amp;&amp;p(w,u.prototype),w},r.exports.__esModule=!0,r.exports.default=r.exports),_construct.apply(null,arguments)}r.exports=_construct,r.exports.__esModule=!0,r.exports.default=r.exports},68982:function(r,c,u){var p=u(31311);function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var y=c[u];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&amp;&amp;(y.writable=!0),Object.defineProperty(r,p(y.key),y)}}r.exports=function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r},r.exports.__esModule=!0,r.exports.default=r.exports},7654:function(r,c,u){var p=u(31311);r.exports=function _defineProperty(r,c,u){return(c=p(c))in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r},r.exports.__esModule=!0,r.exports.default=r.exports},68830:function(r,c,u){var p=u(70955);function _get(){return"undefined"!=typeof Reflect&amp;&amp;Reflect.get?(r.exports=_get=Reflect.get.bind(),r.exports.__esModule=!0,r.exports.default=r.exports):(r.exports=_get=function _get(r,c,u){var y=p(r,c);if(y){var w=Object.getOwnPropertyDescriptor(y,c);return w.get?w.get.call(arguments.length&lt;3?r:u):w.value}},r.exports.__esModule=!0,r.exports.default=r.exports),_get.apply(this,arguments)}r.exports=_get,r.exports.__esModule=!0,r.exports.default=r.exports},20766:function(r){function _getPrototypeOf(c){return r.exports=_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)},r.exports.__esModule=!0,r.exports.default=r.exports,_getPrototypeOf(c)}r.exports=_getPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},47237:function(r,c,u){var p=u(10407);r.exports=function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&amp;&amp;p(r,c)},r.exports.__esModule=!0,r.exports.default=r.exports},97523:function(r){r.exports=function _isNativeFunction(r){return-1!==Function.toString.call(r).indexOf("[native code]")},r.exports.__esModule=!0,r.exports.default=r.exports},92414:function(r){r.exports=function _isNativeReflectConstruct(){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(r){return!1}},r.exports.__esModule=!0,r.exports.default=r.exports},21435:function(r){r.exports=function _iterableToArray(r){if("undefined"!=typeof Symbol&amp;&amp;null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)},r.exports.__esModule=!0,r.exports.default=r.exports},12209:function(r){r.exports=function _iterableToArrayLimit(r,c){var u=null==r?null:"undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(null!=u){var p,y,w,x,k=[],E=!0,I=!1;try{if(w=(u=u.call(r)).next,0===c){if(Object(u)!==u)return;E=!1}else for(;!(E=(p=w.call(u)).done)&amp;&amp;(k.push(p.value),k.length!==c);E=!0);}catch(r){I=!0,y=r}finally{try{if(!E&amp;&amp;null!=u.return&amp;&amp;(x=u.return(),Object(x)!==x))return}finally{if(I)throw y}}return k}},r.exports.__esModule=!0,r.exports.default=r.exports},39038:function(r){r.exports=function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},r.exports.__esModule=!0,r.exports.default=r.exports},60005:function(r){r.exports=function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},r.exports.__esModule=!0,r.exports.default=r.exports},57555:function(r,c,u){var p=u(78349).default,y=u(56353);r.exports=function _possibleConstructorReturn(r,c){if(c&amp;&amp;("object"===p(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return y(r)},r.exports.__esModule=!0,r.exports.default=r.exports},19069:function(r,c,u){var p=u(78349).default;function _regeneratorRuntime(){"use strict";r.exports=_regeneratorRuntime=function _regeneratorRuntime(){return c},r.exports.__esModule=!0,r.exports.default=r.exports;var c={},u=Object.prototype,y=u.hasOwnProperty,w=Object.defineProperty||function(r,c,u){r[c]=u.value},x="function"==typeof Symbol?Symbol:{},k=x.iterator||"@@iterator",E=x.asyncIterator||"@@asyncIterator",I=x.toStringTag||"@@toStringTag";function define(r,c,u){return Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}),r[c]}try{define({},"")}catch(r){define=function define(r,c,u){return r[c]=u}}function wrap(r,c,u,p){var y=c&amp;&amp;c.prototype instanceof Generator?c:Generator,x=Object.create(y.prototype),k=new Context(p||[]);return w(x,"_invoke",{value:makeInvokeMethod(r,u,k)}),x}function tryCatch(r,c,u){try{return{type:"normal",arg:r.call(c,u)}}catch(r){return{type:"throw",arg:r}}}c.wrap=wrap;var K={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var J={};define(J,k,(function(){return this}));var oe=Object.getPrototypeOf,ie=oe&amp;&amp;oe(oe(values([])));ie&amp;&amp;ie!==u&amp;&amp;y.call(ie,k)&amp;&amp;(J=ie);var ae=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(J);function defineIteratorMethods(r){["next","throw","return"].forEach((function(c){define(r,c,(function(r){return this._invoke(c,r)}))}))}function AsyncIterator(r,c){function invoke(u,w,x,k){var E=tryCatch(r[u],r,w);if("throw"!==E.type){var I=E.arg,K=I.value;return K&amp;&amp;"object"==p(K)&amp;&amp;y.call(K,"__await")?c.resolve(K.__await).then((function(r){invoke("next",r,x,k)}),(function(r){invoke("throw",r,x,k)})):c.resolve(K).then((function(r){I.value=r,x(I)}),(function(r){return invoke("throw",r,x,k)}))}k(E.arg)}var u;w(this,"_invoke",{value:function value(r,p){function callInvokeWithMethodAndArg(){return new c((function(c,u){invoke(r,p,c,u)}))}return u=u?u.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(r,c,u){var p="suspendedStart";return function(y,w){if("executing"===p)throw new Error("Generator is already running");if("completed"===p){if("throw"===y)throw w;return doneResult()}for(u.method=y,u.arg=w;;){var x=u.delegate;if(x){var k=maybeInvokeDelegate(x,u);if(k){if(k===K)continue;return k}}if("next"===u.method)u.sent=u._sent=u.arg;else if("throw"===u.method){if("suspendedStart"===p)throw p="completed",u.arg;u.dispatchException(u.arg)}else"return"===u.method&amp;&amp;u.abrupt("return",u.arg);p="executing";var E=tryCatch(r,c,u);if("normal"===E.type){if(p=u.done?"completed":"suspendedYield",E.arg===K)continue;return{value:E.arg,done:u.done}}"throw"===E.type&amp;&amp;(p="completed",u.method="throw",u.arg=E.arg)}}}function maybeInvokeDelegate(r,c){var u=c.method,p=r.iterator[u];if(void 0===p)return c.delegate=null,"throw"===u&amp;&amp;r.iterator.return&amp;&amp;(c.method="return",c.arg=void 0,maybeInvokeDelegate(r,c),"throw"===c.method)||"return"!==u&amp;&amp;(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+u+"' method")),K;var y=tryCatch(p,r.iterator,c.arg);if("throw"===y.type)return c.method="throw",c.arg=y.arg,c.delegate=null,K;var w=y.arg;return w?w.done?(c[r.resultName]=w.value,c.next=r.nextLoc,"return"!==c.method&amp;&amp;(c.method="next",c.arg=void 0),c.delegate=null,K):w:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,K)}function pushTryEntry(r){var c={tryLoc:r[0]};1 in r&amp;&amp;(c.catchLoc=r[1]),2 in r&amp;&amp;(c.finallyLoc=r[2],c.afterLoc=r[3]),this.tryEntries.push(c)}function resetTryEntry(r){var c=r.completion||{};c.type="normal",delete c.arg,r.completion=c}function Context(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(pushTryEntry,this),this.reset(!0)}function values(r){if(r){var c=r[k];if(c)return c.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var u=-1,p=function next(){for(;++u&lt;r.length;)if(y.call(r,u))return next.value=r[u],next.done=!1,next;return next.value=void 0,next.done=!0,next};return p.next=p}}return{next:doneResult}}function doneResult(){return{value:void 0,done:!0}}return GeneratorFunction.prototype=GeneratorFunctionPrototype,w(ae,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),w(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,I,"GeneratorFunction"),c.isGeneratorFunction=function(r){var c="function"==typeof r&amp;&amp;r.constructor;return!!c&amp;&amp;(c===GeneratorFunction||"GeneratorFunction"===(c.displayName||c.name))},c.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,GeneratorFunctionPrototype):(r.__proto__=GeneratorFunctionPrototype,define(r,I,"GeneratorFunction")),r.prototype=Object.create(ae),r},c.awrap=function(r){return{__await:r}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,E,(function(){return this})),c.AsyncIterator=AsyncIterator,c.async=function(r,u,p,y,w){void 0===w&amp;&amp;(w=Promise);var x=new AsyncIterator(wrap(r,u,p,y),w);return c.isGeneratorFunction(u)?x:x.next().then((function(r){return r.done?r.value:x.next()}))},defineIteratorMethods(ae),define(ae,I,"Generator"),define(ae,k,(function(){return this})),define(ae,"toString",(function(){return"[object Generator]"})),c.keys=function(r){var c=Object(r),u=[];for(var p in c)u.push(p);return u.reverse(),function next(){for(;u.length;){var r=u.pop();if(r in c)return next.value=r,next.done=!1,next}return next.done=!0,next}},c.values=values,Context.prototype={constructor:Context,reset:function reset(r){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(resetTryEntry),!r)for(var c in this)"t"===c.charAt(0)&amp;&amp;y.call(this,c)&amp;&amp;!isNaN(+c.slice(1))&amp;&amp;(this[c]=void 0)},stop:function stop(){this.done=!0;var r=this.tryEntries[0].completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function dispatchException(r){if(this.done)throw r;var c=this;function handle(u,p){return w.type="throw",w.arg=r,c.next=u,p&amp;&amp;(c.method="next",c.arg=void 0),!!p}for(var u=this.tryEntries.length-1;u&gt;=0;--u){var p=this.tryEntries[u],w=p.completion;if("root"===p.tryLoc)return handle("end");if(p.tryLoc&lt;=this.prev){var x=y.call(p,"catchLoc"),k=y.call(p,"finallyLoc");if(x&amp;&amp;k){if(this.prev&lt;p.catchLoc)return handle(p.catchLoc,!0);if(this.prev&lt;p.finallyLoc)return handle(p.finallyLoc)}else if(x){if(this.prev&lt;p.catchLoc)return handle(p.catchLoc,!0)}else{if(!k)throw new Error("try statement without catch or finally");if(this.prev&lt;p.finallyLoc)return handle(p.finallyLoc)}}}},abrupt:function abrupt(r,c){for(var u=this.tryEntries.length-1;u&gt;=0;--u){var p=this.tryEntries[u];if(p.tryLoc&lt;=this.prev&amp;&amp;y.call(p,"finallyLoc")&amp;&amp;this.prev&lt;p.finallyLoc){var w=p;break}}w&amp;&amp;("break"===r||"continue"===r)&amp;&amp;w.tryLoc&lt;=c&amp;&amp;c&lt;=w.finallyLoc&amp;&amp;(w=null);var x=w?w.completion:{};return x.type=r,x.arg=c,w?(this.method="next",this.next=w.finallyLoc,K):this.complete(x)},complete:function complete(r,c){if("throw"===r.type)throw r.arg;return"break"===r.type||"continue"===r.type?this.next=r.arg:"return"===r.type?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):"normal"===r.type&amp;&amp;c&amp;&amp;(this.next=c),K},finish:function finish(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.finallyLoc===r)return this.complete(u.completion,u.afterLoc),resetTryEntry(u),K}},catch:function _catch(r){for(var c=this.tryEntries.length-1;c&gt;=0;--c){var u=this.tryEntries[c];if(u.tryLoc===r){var p=u.completion;if("throw"===p.type){var y=p.arg;resetTryEntry(u)}return y}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(r,c,u){return this.delegate={iterator:values(r),resultName:c,nextLoc:u},"next"===this.method&amp;&amp;(this.arg=void 0),K}},c}r.exports=_regeneratorRuntime,r.exports.__esModule=!0,r.exports.default=r.exports},10407:function(r){function _setPrototypeOf(c,u){return r.exports=_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(r,c){return r.__proto__=c,r},r.exports.__esModule=!0,r.exports.default=r.exports,_setPrototypeOf(c,u)}r.exports=_setPrototypeOf,r.exports.__esModule=!0,r.exports.default=r.exports},88861:function(r,c,u){var p=u(37182),y=u(12209),w=u(20960),x=u(39038);r.exports=function _slicedToArray(r,c){return p(r)||y(r,c)||w(r,c)||x()},r.exports.__esModule=!0,r.exports.default=r.exports},70955:function(r,c,u){var p=u(20766);r.exports=function _superPropBase(r,c){for(;!Object.prototype.hasOwnProperty.call(r,c)&amp;&amp;null!==(r=p(r)););return r},r.exports.__esModule=!0,r.exports.default=r.exports},63192:function(r,c,u){var p=u(68665),y=u(21435),w=u(20960),x=u(60005);r.exports=function _toConsumableArray(r){return p(r)||y(r)||w(r)||x()},r.exports.__esModule=!0,r.exports.default=r.exports},42433:function(r,c,u){var p=u(78349).default;r.exports=function _toPrimitive(r,c){if("object"!==p(r)||null===r)return r;var u=r[Symbol.toPrimitive];if(void 0!==u){var y=u.call(r,c||"default");if("object"!==p(y))return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(r)},r.exports.__esModule=!0,r.exports.default=r.exports},31311:function(r,c,u){var p=u(78349).default,y=u(42433);r.exports=function _toPropertyKey(r){var c=y(r,"string");return"symbol"===p(c)?c:String(c)},r.exports.__esModule=!0,r.exports.default=r.exports},78349:function(r){function _typeof(c){return r.exports=_typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},r.exports.__esModule=!0,r.exports.default=r.exports,_typeof(c)}r.exports=_typeof,r.exports.__esModule=!0,r.exports.default=r.exports},20960:function(r,c,u){var p=u(91538);r.exports=function _unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return p(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?p(r,c):void 0}},r.exports.__esModule=!0,r.exports.default=r.exports},33242:function(r,c,u){var p=u(20766),y=u(10407),w=u(97523),x=u(31445);function _wrapNativeSuper(c){var u="function"==typeof Map?new Map:void 0;return r.exports=_wrapNativeSuper=function _wrapNativeSuper(r){if(null===r||!w(r))return r;if("function"!=typeof r)throw new TypeError("Super expression must either be null or a function");if(void 0!==u){if(u.has(r))return u.get(r);u.set(r,Wrapper)}function Wrapper(){return x(r,arguments,p(this).constructor)}return Wrapper.prototype=Object.create(r.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),y(Wrapper,r)},r.exports.__esModule=!0,r.exports.default=r.exports,_wrapNativeSuper(c)}r.exports=_wrapNativeSuper,r.exports.__esModule=!0,r.exports.default=r.exports},66832:function(r,c,u){var p=u(19069)();r.exports=p;try{regeneratorRuntime=p}catch(r){"object"==typeof globalThis?globalThis.regeneratorRuntime=p:Function("r","regeneratorRuntime = r")(p)}},30907:function(r,c,u){"use strict";function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}u.d(c,{Z:function(){return _arrayLikeToArray}})},83878:function(r,c,u){"use strict";function _arrayWithHoles(r){if(Array.isArray(r))return r}u.d(c,{Z:function(){return _arrayWithHoles}})},15861:function(r,c,u){"use strict";function asyncGeneratorStep(r,c,u,p,y,w,x){try{var k=r[w](x),E=k.value}catch(r){return void u(r)}k.done?c(E):Promise.resolve(E).then(p,y)}function _asyncToGenerator(r){return function(){var c=this,u=arguments;return new Promise((function(p,y){var w=r.apply(c,u);function _next(r){asyncGeneratorStep(w,p,y,_next,_throw,"next",r)}function _throw(r){asyncGeneratorStep(w,p,y,_next,_throw,"throw",r)}_next(void 0)}))}}u.d(c,{Z:function(){return _asyncToGenerator}})},15671:function(r,c,u){"use strict";function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")}u.d(c,{Z:function(){return _classCallCheck}})},43144:function(r,c,u){"use strict";u.d(c,{Z:function(){return _createClass}});var p=u(49142);function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var y=c[u];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&amp;&amp;(y.writable=!0),Object.defineProperty(r,(0,p.Z)(y.key),y)}}function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r}},4942:function(r,c,u){"use strict";u.d(c,{Z:function(){return _defineProperty}});var p=u(49142);function _defineProperty(r,c,u){return(c=(0,p.Z)(c))in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r}},87462:function(r,c,u){"use strict";function _extends(){return _extends=Object.assign?Object.assign.bind():function(r){for(var c=1;c&lt;arguments.length;c++){var u=arguments[c];for(var p in u)Object.prototype.hasOwnProperty.call(u,p)&amp;&amp;(r[p]=u[p])}return r},_extends.apply(this,arguments)}u.d(c,{Z:function(){return _extends}})},61120:function(r,c,u){"use strict";function _getPrototypeOf(r){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)},_getPrototypeOf(r)}u.d(c,{Z:function(){return _getPrototypeOf}})},60136:function(r,c,u){"use strict";u.d(c,{Z:function(){return _inherits}});var p=u(89611);function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&amp;&amp;(0,p.Z)(r,c)}},59199:function(r,c,u){"use strict";function _iterableToArray(r){if("undefined"!=typeof Symbol&amp;&amp;null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}u.d(c,{Z:function(){return _iterableToArray}})},30926:function(r,c,u){"use strict";function _newArrowCheck(r,c){if(r!==c)throw new TypeError("Cannot instantiate an arrow function")}u.d(c,{Z:function(){return _newArrowCheck}})},25267:function(r,c,u){"use strict";function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}u.d(c,{Z:function(){return _nonIterableRest}})},44925:function(r,c,u){"use strict";function _objectWithoutProperties(r,c){if(null==r)return{};var u,p,y=function _objectWithoutPropertiesLoose(r,c){if(null==r)return{};var u,p,y={},w=Object.keys(r);for(p=0;p&lt;w.length;p++)u=w[p],c.indexOf(u)&gt;=0||(y[u]=r[u]);return y}(r,c);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(r);for(p=0;p&lt;w.length;p++)u=w[p],c.indexOf(u)&gt;=0||Object.prototype.propertyIsEnumerable.call(r,u)&amp;&amp;(y[u]=r[u])}return y}u.d(c,{Z:function(){return _objectWithoutProperties}})},73930:function(r,c,u){"use strict";u.d(c,{Z:function(){return _possibleConstructorReturn}});var p=u(71002);function _possibleConstructorReturn(r,c){if(c&amp;&amp;("object"===(0,p.Z)(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}(r)}},89611:function(r,c,u){"use strict";function _setPrototypeOf(r,c){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(r,c){return r.__proto__=c,r},_setPrototypeOf(r,c)}u.d(c,{Z:function(){return _setPrototypeOf}})},29439:function(r,c,u){"use strict";u.d(c,{Z:function(){return _slicedToArray}});var p=u(83878);var y=u(40181),w=u(25267);function _slicedToArray(r,c){return(0,p.Z)(r)||function _iterableToArrayLimit(r,c){var u=null==r?null:"undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(null!=u){var p,y,w,x,k=[],E=!0,I=!1;try{if(w=(u=u.call(r)).next,0===c){if(Object(u)!==u)return;E=!1}else for(;!(E=(p=w.call(u)).done)&amp;&amp;(k.push(p.value),k.length!==c);E=!0);}catch(r){I=!0,y=r}finally{try{if(!E&amp;&amp;null!=u.return&amp;&amp;(x=u.return(),Object(x)!==x))return}finally{if(I)throw y}}return k}}(r,c)||(0,y.Z)(r,c)||(0,w.Z)()}},30168:function(r,c,u){"use strict";function _taggedTemplateLiteral(r,c){return c||(c=r.slice(0)),Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(c)}}))}u.d(c,{Z:function(){return _taggedTemplateLiteral}})},93433:function(r,c,u){"use strict";u.d(c,{Z:function(){return _toConsumableArray}});var p=u(30907);var y=u(59199),w=u(40181);function _toConsumableArray(r){return function _arrayWithoutHoles(r){if(Array.isArray(r))return(0,p.Z)(r)}(r)||(0,y.Z)(r)||(0,w.Z)(r)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},49142:function(r,c,u){"use strict";u.d(c,{Z:function(){return _toPropertyKey}});var p=u(71002);function _toPropertyKey(r){var c=function _toPrimitive(r,c){if("object"!==(0,p.Z)(r)||null===r)return r;var u=r[Symbol.toPrimitive];if(void 0!==u){var y=u.call(r,c||"default");if("object"!==(0,p.Z)(y))return y;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(r)}(r,"string");return"symbol"===(0,p.Z)(c)?c:String(c)}},71002:function(r,c,u){"use strict";function _typeof(r){return _typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},_typeof(r)}u.d(c,{Z:function(){return _typeof}})},40181:function(r,c,u){"use strict";u.d(c,{Z:function(){return _unsupportedIterableToArray}});var p=u(30907);function _unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return(0,p.Z)(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?(0,p.Z)(r,c):void 0}}},71257:function(r,c,u){"use strict";u.d(c,{Z:function(){return Tt}});var p={};function bind(r,c){return function wrap(){return r.apply(c,arguments)}}u.r(p),u.d(p,{hasBrowserEnv:function(){return Xe},hasStandardBrowserEnv:function(){return Qe},hasStandardBrowserWebWorkerEnv:function(){return rt}});const{toString:y}=Object.prototype,{getPrototypeOf:w}=Object,x=(k=Object.create(null),r=&gt;{const c=y.call(r);return k[c]||(k[c]=c.slice(8,-1).toLowerCase())});var k;const kindOfTest=r=&gt;(r=r.toLowerCase(),c=&gt;x(c)===r),typeOfTest=r=&gt;c=&gt;typeof c===r,{isArray:E}=Array,I=typeOfTest("undefined");const K=kindOfTest("ArrayBuffer");const J=typeOfTest("string"),oe=typeOfTest("function"),ie=typeOfTest("number"),isObject=r=&gt;null!==r&amp;&amp;"object"==typeof r,isPlainObject=r=&gt;{if("object"!==x(r))return!1;const c=w(r);return!(null!==c&amp;&amp;c!==Object.prototype&amp;&amp;null!==Object.getPrototypeOf(c)||Symbol.toStringTag in r||Symbol.iterator in r)},ae=kindOfTest("Date"),se=kindOfTest("File"),ue=kindOfTest("Blob"),le=kindOfTest("FileList"),pe=kindOfTest("URLSearchParams");function forEach(r,c,{allOwnKeys:u=!1}={}){if(null==r)return;let p,y;if("object"!=typeof r&amp;&amp;(r=[r]),E(r))for(p=0,y=r.length;p&lt;y;p++)c.call(null,r[p],p,r);else{const y=u?Object.getOwnPropertyNames(r):Object.keys(r),w=y.length;let x;for(p=0;p&lt;w;p++)x=y[p],c.call(null,r[x],x,r)}}function findKey(r,c){c=c.toLowerCase();const u=Object.keys(r);let p,y=u.length;for(;y-- &gt;0;)if(p=u[y],c===p.toLowerCase())return p;return null}const de="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,isContextDefined=r=&gt;!I(r)&amp;&amp;r!==de;const he=(ge="undefined"!=typeof Uint8Array&amp;&amp;w(Uint8Array),r=&gt;ge&amp;&amp;r instanceof ge);var ge;const ve=kindOfTest("HTMLFormElement"),we=(({hasOwnProperty:r})=&gt;(c,u)=&gt;r.call(c,u))(Object.prototype),Se=kindOfTest("RegExp"),reduceDescriptors=(r,c)=&gt;{const u=Object.getOwnPropertyDescriptors(r),p={};forEach(u,((u,y)=&gt;{let w;!1!==(w=c(u,y,r))&amp;&amp;(p[y]=w||u)})),Object.defineProperties(r,p)},Oe="abcdefghijklmnopqrstuvwxyz",Pe="0123456789",Le={DIGIT:Pe,ALPHA:Oe,ALPHA_DIGIT:Oe+Oe.toUpperCase()+Pe};const Ie=kindOfTest("AsyncFunction");var je={isArray:E,isArrayBuffer:K,isBuffer:function isBuffer(r){return null!==r&amp;&amp;!I(r)&amp;&amp;null!==r.constructor&amp;&amp;!I(r.constructor)&amp;&amp;oe(r.constructor.isBuffer)&amp;&amp;r.constructor.isBuffer(r)},isFormData:r=&gt;{let c;return r&amp;&amp;("function"==typeof FormData&amp;&amp;r instanceof FormData||oe(r.append)&amp;&amp;("formdata"===(c=x(r))||"object"===c&amp;&amp;oe(r.toString)&amp;&amp;"[object FormData]"===r.toString()))},isArrayBufferView:function isArrayBufferView(r){let c;return c="undefined"!=typeof ArrayBuffer&amp;&amp;ArrayBuffer.isView?ArrayBuffer.isView(r):r&amp;&amp;r.buffer&amp;&amp;K(r.buffer),c},isString:J,isNumber:ie,isBoolean:r=&gt;!0===r||!1===r,isObject:isObject,isPlainObject:isPlainObject,isUndefined:I,isDate:ae,isFile:se,isBlob:ue,isRegExp:Se,isFunction:oe,isStream:r=&gt;isObject(r)&amp;&amp;oe(r.pipe),isURLSearchParams:pe,isTypedArray:he,isFileList:le,forEach:forEach,merge:function merge(){const{caseless:r}=isContextDefined(this)&amp;&amp;this||{},c={},assignValue=(u,p)=&gt;{const y=r&amp;&amp;findKey(c,p)||p;isPlainObject(c[y])&amp;&amp;isPlainObject(u)?c[y]=merge(c[y],u):isPlainObject(u)?c[y]=merge({},u):E(u)?c[y]=u.slice():c[y]=u};for(let r=0,c=arguments.length;r&lt;c;r++)arguments[r]&amp;&amp;forEach(arguments[r],assignValue);return c},extend:(r,c,u,{allOwnKeys:p}={})=&gt;(forEach(c,((c,p)=&gt;{u&amp;&amp;oe(c)?r[p]=bind(c,u):r[p]=c}),{allOwnKeys:p}),r),trim:r=&gt;r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:r=&gt;(65279===r.charCodeAt(0)&amp;&amp;(r=r.slice(1)),r),inherits:(r,c,u,p)=&gt;{r.prototype=Object.create(c.prototype,p),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:c.prototype}),u&amp;&amp;Object.assign(r.prototype,u)},toFlatObject:(r,c,u,p)=&gt;{let y,x,k;const E={};if(c=c||{},null==r)return c;do{for(y=Object.getOwnPropertyNames(r),x=y.length;x-- &gt;0;)k=y[x],p&amp;&amp;!p(k,r,c)||E[k]||(c[k]=r[k],E[k]=!0);r=!1!==u&amp;&amp;w(r)}while(r&amp;&amp;(!u||u(r,c))&amp;&amp;r!==Object.prototype);return c},kindOf:x,kindOfTest:kindOfTest,endsWith:(r,c,u)=&gt;{r=String(r),(void 0===u||u&gt;r.length)&amp;&amp;(u=r.length),u-=c.length;const p=r.indexOf(c,u);return-1!==p&amp;&amp;p===u},toArray:r=&gt;{if(!r)return null;if(E(r))return r;let c=r.length;if(!ie(c))return null;const u=new Array(c);for(;c-- &gt;0;)u[c]=r[c];return u},forEachEntry:(r,c)=&gt;{const u=(r&amp;&amp;r[Symbol.iterator]).call(r);let p;for(;(p=u.next())&amp;&amp;!p.done;){const u=p.value;c.call(r,u[0],u[1])}},matchAll:(r,c)=&gt;{let u;const p=[];for(;null!==(u=r.exec(c));)p.push(u);return p},isHTMLForm:ve,hasOwnProperty:we,hasOwnProp:we,reduceDescriptors:reduceDescriptors,freezeMethods:r=&gt;{reduceDescriptors(r,((c,u)=&gt;{if(oe(r)&amp;&amp;-1!==["arguments","caller","callee"].indexOf(u))return!1;const p=r[u];oe(p)&amp;&amp;(c.enumerable=!1,"writable"in c?c.writable=!1:c.set||(c.set=()=&gt;{throw Error("Can not rewrite read-only method '"+u+"'")}))}))},toObjectSet:(r,c)=&gt;{const u={},define=r=&gt;{r.forEach((r=&gt;{u[r]=!0}))};return E(r)?define(r):define(String(r).split(c)),u},toCamelCase:r=&gt;r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function replacer(r,c,u){return c.toUpperCase()+u})),noop:()=&gt;{},toFiniteNumber:(r,c)=&gt;(r=+r,Number.isFinite(r)?r:c),findKey:findKey,global:de,isContextDefined:isContextDefined,ALPHABET:Le,generateString:(r=16,c=Le.ALPHA_DIGIT)=&gt;{let u="";const{length:p}=c;for(;r--;)u+=c[Math.random()*p|0];return u},isSpecCompliantForm:function isSpecCompliantForm(r){return!!(r&amp;&amp;oe(r.append)&amp;&amp;"FormData"===r[Symbol.toStringTag]&amp;&amp;r[Symbol.iterator])},toJSONObject:r=&gt;{const c=new Array(10),visit=(r,u)=&gt;{if(isObject(r)){if(c.indexOf(r)&gt;=0)return;if(!("toJSON"in r)){c[u]=r;const p=E(r)?[]:{};return forEach(r,((r,c)=&gt;{const y=visit(r,u+1);!I(y)&amp;&amp;(p[c]=y)})),c[u]=void 0,p}}return r};return visit(r,0)},isAsyncFn:Ie,isThenable:r=&gt;r&amp;&amp;(isObject(r)||oe(r))&amp;&amp;oe(r.then)&amp;&amp;oe(r.catch)};function AxiosError(r,c,u,p,y){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=r,this.name="AxiosError",c&amp;&amp;(this.code=c),u&amp;&amp;(this.config=u),p&amp;&amp;(this.request=p),y&amp;&amp;(this.response=y)}je.inherits(AxiosError,Error,{toJSON:function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:je.toJSONObject(this.config),code:this.code,status:this.response&amp;&amp;this.response.status?this.response.status:null}}});const De=AxiosError.prototype,Ue={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((r=&gt;{Ue[r]={value:r}})),Object.defineProperties(AxiosError,Ue),Object.defineProperty(De,"isAxiosError",{value:!0}),AxiosError.from=(r,c,u,p,y,w)=&gt;{const x=Object.create(De);return je.toFlatObject(r,x,(function filter(r){return r!==Error.prototype}),(r=&gt;"isAxiosError"!==r)),AxiosError.call(x,r.message,c,u,p,y),x.cause=r,x.name=r.name,w&amp;&amp;Object.assign(x,w),x};var Fe=AxiosError;function isVisitable(r){return je.isPlainObject(r)||je.isArray(r)}function removeBrackets(r){return je.endsWith(r,"[]")?r.slice(0,-2):r}function renderKey(r,c,u){return r?r.concat(c).map((function each(r,c){return r=removeBrackets(r),!u&amp;&amp;c?"["+r+"]":r})).join(u?".":""):c}const Ze=je.toFlatObject(je,{},null,(function filter(r){return/^is[A-Z]/.test(r)}));var $e=function toFormData(r,c,u){if(!je.isObject(r))throw new TypeError("target must be an object");c=c||new FormData;const p=(u=je.toFlatObject(u,{metaTokens:!0,dots:!1,indexes:!1},!1,(function defined(r,c){return!je.isUndefined(c[r])}))).metaTokens,y=u.visitor||defaultVisitor,w=u.dots,x=u.indexes,k=(u.Blob||"undefined"!=typeof Blob&amp;&amp;Blob)&amp;&amp;je.isSpecCompliantForm(c);if(!je.isFunction(y))throw new TypeError("visitor must be a function");function convertValue(r){if(null===r)return"";if(je.isDate(r))return r.toISOString();if(!k&amp;&amp;je.isBlob(r))throw new Fe("Blob is not supported. Use a Buffer instead.");return je.isArrayBuffer(r)||je.isTypedArray(r)?k&amp;&amp;"function"==typeof Blob?new Blob([r]):Buffer.from(r):r}function defaultVisitor(r,u,y){let k=r;if(r&amp;&amp;!y&amp;&amp;"object"==typeof r)if(je.endsWith(u,"{}"))u=p?u:u.slice(0,-2),r=JSON.stringify(r);else if(je.isArray(r)&amp;&amp;function isFlatArray(r){return je.isArray(r)&amp;&amp;!r.some(isVisitable)}(r)||(je.isFileList(r)||je.endsWith(u,"[]"))&amp;&amp;(k=je.toArray(r)))return u=removeBrackets(u),k.forEach((function each(r,p){!je.isUndefined(r)&amp;&amp;null!==r&amp;&amp;c.append(!0===x?renderKey([u],p,w):null===x?u:u+"[]",convertValue(r))})),!1;return!!isVisitable(r)||(c.append(renderKey(y,u,w),convertValue(r)),!1)}const E=[],I=Object.assign(Ze,{defaultVisitor:defaultVisitor,convertValue:convertValue,isVisitable:isVisitable});if(!je.isObject(r))throw new TypeError("data must be an object");return function build(r,u){if(!je.isUndefined(r)){if(-1!==E.indexOf(r))throw Error("Circular reference detected in "+u.join("."));E.push(r),je.forEach(r,(function each(r,p){!0===(!(je.isUndefined(r)||null===r)&amp;&amp;y.call(c,r,je.isString(p)?p.trim():p,u,I))&amp;&amp;build(r,u?u.concat(p):[p])})),E.pop()}}(r),c};function encode(r){const c={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,(function replacer(r){return c[r]}))}function AxiosURLSearchParams(r,c){this._pairs=[],r&amp;&amp;$e(r,this,c)}const Ge=AxiosURLSearchParams.prototype;Ge.append=function append(r,c){this._pairs.push([r,c])},Ge.toString=function toString(r){const c=r?function(c){return r.call(this,c,encode)}:encode;return this._pairs.map((function each(r){return c(r[0])+"="+c(r[1])}),"").join("&amp;")};var We=AxiosURLSearchParams;function buildURL_encode(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(r,c,u){if(!c)return r;const p=u&amp;&amp;u.encode||buildURL_encode,y=u&amp;&amp;u.serialize;let w;if(w=y?y(c,u):je.isURLSearchParams(c)?c.toString():new We(c,u).toString(p),w){const c=r.indexOf("#");-1!==c&amp;&amp;(r=r.slice(0,c)),r+=(-1===r.indexOf("?")?"?":"&amp;")+w}return r}var Ke=class InterceptorManager{constructor(){this.handlers=[]}use(r,c,u){return this.handlers.push({fulfilled:r,rejected:c,synchronous:!!u&amp;&amp;u.synchronous,runWhen:u?u.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&amp;&amp;(this.handlers[r]=null)}clear(){this.handlers&amp;&amp;(this.handlers=[])}forEach(r){je.forEach(this.handlers,(function forEachHandler(c){null!==c&amp;&amp;r(c)}))}},Je={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ye={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:We,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Xe="undefined"!=typeof window&amp;&amp;"undefined"!=typeof document,Qe=(et="undefined"!=typeof navigator&amp;&amp;navigator.product,Xe&amp;&amp;["ReactNative","NativeScript","NS"].indexOf(et)&lt;0);var et;const rt="undefined"!=typeof WorkerGlobalScope&amp;&amp;self instanceof WorkerGlobalScope&amp;&amp;"function"==typeof self.importScripts;var nt={...p,...Ye};var ot=function formDataToJSON(r){function buildPath(r,c,u,p){let y=r[p++];const w=Number.isFinite(+y),x=p&gt;=r.length;if(y=!y&amp;&amp;je.isArray(u)?u.length:y,x)return je.hasOwnProp(u,y)?u[y]=[u[y],c]:u[y]=c,!w;u[y]&amp;&amp;je.isObject(u[y])||(u[y]=[]);return buildPath(r,c,u[y],p)&amp;&amp;je.isArray(u[y])&amp;&amp;(u[y]=function arrayToObject(r){const c={},u=Object.keys(r);let p;const y=u.length;let w;for(p=0;p&lt;y;p++)w=u[p],c[w]=r[w];return c}(u[y])),!w}if(je.isFormData(r)&amp;&amp;je.isFunction(r.entries)){const c={};return je.forEachEntry(r,((r,u)=&gt;{buildPath(function parsePropPath(r){return je.matchAll(/\w+|\[(\w*)]/g,r).map((r=&gt;"[]"===r[0]?"":r[1]||r[0]))}(r),u,c,0)})),c}return null};const it={transitional:Je,adapter:["xhr","http"],transformRequest:[function transformRequest(r,c){const u=c.getContentType()||"",p=u.indexOf("application/json")&gt;-1,y=je.isObject(r);y&amp;&amp;je.isHTMLForm(r)&amp;&amp;(r=new FormData(r));if(je.isFormData(r))return p&amp;&amp;p?JSON.stringify(ot(r)):r;if(je.isArrayBuffer(r)||je.isBuffer(r)||je.isStream(r)||je.isFile(r)||je.isBlob(r))return r;if(je.isArrayBufferView(r))return r.buffer;if(je.isURLSearchParams(r))return c.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let w;if(y){if(u.indexOf("application/x-www-form-urlencoded")&gt;-1)return function toURLEncodedForm(r,c){return $e(r,new nt.classes.URLSearchParams,Object.assign({visitor:function(r,c,u,p){return nt.isNode&amp;&amp;je.isBuffer(r)?(this.append(c,r.toString("base64")),!1):p.defaultVisitor.apply(this,arguments)}},c))}(r,this.formSerializer).toString();if((w=je.isFileList(r))||u.indexOf("multipart/form-data")&gt;-1){const c=this.env&amp;&amp;this.env.FormData;return $e(w?{"files[]":r}:r,c&amp;&amp;new c,this.formSerializer)}}return y||p?(c.setContentType("application/json",!1),function stringifySafely(r,c,u){if(je.isString(r))try{return(c||JSON.parse)(r),je.trim(r)}catch(r){if("SyntaxError"!==r.name)throw r}return(u||JSON.stringify)(r)}(r)):r}],transformResponse:[function transformResponse(r){const c=this.transitional||it.transitional,u=c&amp;&amp;c.forcedJSONParsing,p="json"===this.responseType;if(r&amp;&amp;je.isString(r)&amp;&amp;(u&amp;&amp;!this.responseType||p)){const u=!(c&amp;&amp;c.silentJSONParsing)&amp;&amp;p;try{return JSON.parse(r)}catch(r){if(u){if("SyntaxError"===r.name)throw Fe.from(r,Fe.ERR_BAD_RESPONSE,this,null,this.response);throw r}}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:nt.classes.FormData,Blob:nt.classes.Blob},validateStatus:function validateStatus(r){return r&gt;=200&amp;&amp;r&lt;300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};je.forEach(["delete","get","head","post","put","patch"],(r=&gt;{it.headers[r]={}}));var st=it;const ct=je.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const ut=Symbol("internals");function normalizeHeader(r){return r&amp;&amp;String(r).trim().toLowerCase()}function normalizeValue(r){return!1===r||null==r?r:je.isArray(r)?r.map(normalizeValue):String(r)}function matchHeaderValue(r,c,u,p,y){return je.isFunction(p)?p.call(this,c,u):(y&amp;&amp;(c=u),je.isString(c)?je.isString(p)?-1!==c.indexOf(p):je.isRegExp(p)?p.test(c):void 0:void 0)}class AxiosHeaders{constructor(r){r&amp;&amp;this.set(r)}set(r,c,u){const p=this;function setHeader(r,c,u){const y=normalizeHeader(c);if(!y)throw new Error("header name must be a non-empty string");const w=je.findKey(p,y);(!w||void 0===p[w]||!0===u||void 0===u&amp;&amp;!1!==p[w])&amp;&amp;(p[w||c]=normalizeValue(r))}const setHeaders=(r,c)=&gt;je.forEach(r,((r,u)=&gt;setHeader(r,u,c)));return je.isPlainObject(r)||r instanceof this.constructor?setHeaders(r,c):je.isString(r)&amp;&amp;(r=r.trim())&amp;&amp;!/^[-_a-zA-Z0-9^`|~,!#$%&amp;'*+.]+$/.test(r.trim())?setHeaders((r=&gt;{const c={};let u,p,y;return r&amp;&amp;r.split("\n").forEach((function parser(r){y=r.indexOf(":"),u=r.substring(0,y).trim().toLowerCase(),p=r.substring(y+1).trim(),!u||c[u]&amp;&amp;ct[u]||("set-cookie"===u?c[u]?c[u].push(p):c[u]=[p]:c[u]=c[u]?c[u]+", "+p:p)})),c})(r),c):null!=r&amp;&amp;setHeader(c,r,u),this}get(r,c){if(r=normalizeHeader(r)){const u=je.findKey(this,r);if(u){const r=this[u];if(!c)return r;if(!0===c)return function parseTokens(r){const c=Object.create(null),u=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let p;for(;p=u.exec(r);)c[p[1]]=p[2];return c}(r);if(je.isFunction(c))return c.call(this,r,u);if(je.isRegExp(c))return c.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,c){if(r=normalizeHeader(r)){const u=je.findKey(this,r);return!(!u||void 0===this[u]||c&amp;&amp;!matchHeaderValue(0,this[u],u,c))}return!1}delete(r,c){const u=this;let p=!1;function deleteHeader(r){if(r=normalizeHeader(r)){const y=je.findKey(u,r);!y||c&amp;&amp;!matchHeaderValue(0,u[y],y,c)||(delete u[y],p=!0)}}return je.isArray(r)?r.forEach(deleteHeader):deleteHeader(r),p}clear(r){const c=Object.keys(this);let u=c.length,p=!1;for(;u--;){const y=c[u];r&amp;&amp;!matchHeaderValue(0,this[y],y,r,!0)||(delete this[y],p=!0)}return p}normalize(r){const c=this,u={};return je.forEach(this,((p,y)=&gt;{const w=je.findKey(u,y);if(w)return c[w]=normalizeValue(p),void delete c[y];const x=r?function formatHeader(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((r,c,u)=&gt;c.toUpperCase()+u))}(y):String(y).trim();x!==y&amp;&amp;delete c[y],c[x]=normalizeValue(p),u[x]=!0})),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const c=Object.create(null);return je.forEach(this,((u,p)=&gt;{null!=u&amp;&amp;!1!==u&amp;&amp;(c[p]=r&amp;&amp;je.isArray(u)?u.join(", "):u)})),c}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([r,c])=&gt;r+": "+c)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...c){const u=new this(r);return c.forEach((r=&gt;u.set(r))),u}static accessor(r){const c=(this[ut]=this[ut]={accessors:{}}).accessors,u=this.prototype;function defineAccessor(r){const p=normalizeHeader(r);c[p]||(!function buildAccessors(r,c){const u=je.toCamelCase(" "+c);["get","set","has"].forEach((p=&gt;{Object.defineProperty(r,p+u,{value:function(r,u,y){return this[p].call(this,c,r,u,y)},configurable:!0})}))}(u,r),c[p]=!0)}return je.isArray(r)?r.forEach(defineAccessor):defineAccessor(r),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),je.reduceDescriptors(AxiosHeaders.prototype,(({value:r},c)=&gt;{let u=c[0].toUpperCase()+c.slice(1);return{get:()=&gt;r,set(r){this[u]=r}}})),je.freezeMethods(AxiosHeaders);var lt=AxiosHeaders;function transformData(r,c){const u=this||st,p=c||u,y=lt.from(p.headers);let w=p.data;return je.forEach(r,(function transform(r){w=r.call(u,w,y.normalize(),c?c.status:void 0)})),y.normalize(),w}function isCancel(r){return!(!r||!r.__CANCEL__)}function CanceledError(r,c,u){Fe.call(this,null==r?"canceled":r,Fe.ERR_CANCELED,c,u),this.name="CanceledError"}je.inherits(CanceledError,Fe,{__CANCEL__:!0});var pt=CanceledError;var dt=nt.hasStandardBrowserEnv?function standardBrowserEnv(){return{write:function write(r,c,u,p,y,w){const x=[];x.push(r+"="+encodeURIComponent(c)),je.isNumber(u)&amp;&amp;x.push("expires="+new Date(u).toGMTString()),je.isString(p)&amp;&amp;x.push("path="+p),je.isString(y)&amp;&amp;x.push("domain="+y),!0===w&amp;&amp;x.push("secure"),document.cookie=x.join("; ")},read:function read(r){const c=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return c?decodeURIComponent(c[3]):null},remove:function remove(r){this.write(r,"",Date.now()-864e5)}}}():{write:function write(){},read:function read(){return null},remove:function remove(){}};function buildFullPath(r,c){return r&amp;&amp;!function isAbsoluteURL(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}(c)?function combineURLs(r,c){return c?r.replace(/\/+$/,"")+"/"+c.replace(/^\/+/,""):r}(r,c):c}var ft=nt.hasStandardBrowserEnv?function standardBrowserEnv(){const r=/(msie|trident)/i.test(navigator.userAgent),c=document.createElement("a");let u;function resolveURL(u){let p=u;return r&amp;&amp;(c.setAttribute("href",p),p=c.href),c.setAttribute("href",p),{href:c.href,protocol:c.protocol?c.protocol.replace(/:$/,""):"",host:c.host,search:c.search?c.search.replace(/^\?/,""):"",hash:c.hash?c.hash.replace(/^#/,""):"",hostname:c.hostname,port:c.port,pathname:"/"===c.pathname.charAt(0)?c.pathname:"/"+c.pathname}}return u=resolveURL(window.location.href),function isURLSameOrigin(r){const c=je.isString(r)?resolveURL(r):r;return c.protocol===u.protocol&amp;&amp;c.host===u.host}}():function isURLSameOrigin(){return!0};var ht=function speedometer(r,c){r=r||10;const u=new Array(r),p=new Array(r);let y,w=0,x=0;return c=void 0!==c?c:1e3,function push(k){const E=Date.now(),I=p[x];y||(y=E),u[w]=k,p[w]=E;let K=x,J=0;for(;K!==w;)J+=u[K++],K%=r;if(w=(w+1)%r,w===x&amp;&amp;(x=(x+1)%r),E-y&lt;c)return;const oe=I&amp;&amp;E-I;return oe?Math.round(1e3*J/oe):void 0}};function progressEventReducer(r,c){let u=0;const p=ht(50,250);return y=&gt;{const w=y.loaded,x=y.lengthComputable?y.total:void 0,k=w-u,E=p(k);u=w;const I={loaded:w,total:x,progress:x?w/x:void 0,bytes:k,rate:E||void 0,estimated:E&amp;&amp;x&amp;&amp;w&lt;=x?(x-w)/E:void 0,event:y};I[c?"download":"upload"]=!0,r(I)}}const mt={http:null,xhr:"undefined"!=typeof XMLHttpRequest&amp;&amp;function(r){return new Promise((function dispatchXhrRequest(c,u){let p=r.data;const y=lt.from(r.headers).normalize(),w=r.responseType;let x,k;function done(){r.cancelToken&amp;&amp;r.cancelToken.unsubscribe(x),r.signal&amp;&amp;r.signal.removeEventListener("abort",x)}if(je.isFormData(p))if(nt.hasStandardBrowserEnv||nt.hasStandardBrowserWebWorkerEnv)y.setContentType(!1);else if(!1!==(k=y.getContentType())){const[r,...c]=k?k.split(";").map((r=&gt;r.trim())).filter(Boolean):[];y.setContentType([r||"multipart/form-data",...c].join("; "))}let E=new XMLHttpRequest;if(r.auth){const c=r.auth.username||"",u=r.auth.password?unescape(encodeURIComponent(r.auth.password)):"";y.set("Authorization","Basic "+btoa(c+":"+u))}const I=buildFullPath(r.baseURL,r.url);function onloadend(){if(!E)return;const p=lt.from("getAllResponseHeaders"in E&amp;&amp;E.getAllResponseHeaders());!function settle(r,c,u){const p=u.config.validateStatus;u.status&amp;&amp;p&amp;&amp;!p(u.status)?c(new Fe("Request failed with status code "+u.status,[Fe.ERR_BAD_REQUEST,Fe.ERR_BAD_RESPONSE][Math.floor(u.status/100)-4],u.config,u.request,u)):r(u)}((function _resolve(r){c(r),done()}),(function _reject(r){u(r),done()}),{data:w&amp;&amp;"text"!==w&amp;&amp;"json"!==w?E.response:E.responseText,status:E.status,statusText:E.statusText,headers:p,config:r,request:E}),E=null}if(E.open(r.method.toUpperCase(),buildURL(I,r.params,r.paramsSerializer),!0),E.timeout=r.timeout,"onloadend"in E?E.onloadend=onloadend:E.onreadystatechange=function handleLoad(){E&amp;&amp;4===E.readyState&amp;&amp;(0!==E.status||E.responseURL&amp;&amp;0===E.responseURL.indexOf("file:"))&amp;&amp;setTimeout(onloadend)},E.onabort=function handleAbort(){E&amp;&amp;(u(new Fe("Request aborted",Fe.ECONNABORTED,r,E)),E=null)},E.onerror=function handleError(){u(new Fe("Network Error",Fe.ERR_NETWORK,r,E)),E=null},E.ontimeout=function handleTimeout(){let c=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const p=r.transitional||Je;r.timeoutErrorMessage&amp;&amp;(c=r.timeoutErrorMessage),u(new Fe(c,p.clarifyTimeoutError?Fe.ETIMEDOUT:Fe.ECONNABORTED,r,E)),E=null},nt.hasStandardBrowserEnv){const c=ft(I)&amp;&amp;r.xsrfCookieName&amp;&amp;dt.read(r.xsrfCookieName);c&amp;&amp;y.set(r.xsrfHeaderName,c)}void 0===p&amp;&amp;y.setContentType(null),"setRequestHeader"in E&amp;&amp;je.forEach(y.toJSON(),(function setRequestHeader(r,c){E.setRequestHeader(c,r)})),je.isUndefined(r.withCredentials)||(E.withCredentials=!!r.withCredentials),w&amp;&amp;"json"!==w&amp;&amp;(E.responseType=r.responseType),"function"==typeof r.onDownloadProgress&amp;&amp;E.addEventListener("progress",progressEventReducer(r.onDownloadProgress,!0)),"function"==typeof r.onUploadProgress&amp;&amp;E.upload&amp;&amp;E.upload.addEventListener("progress",progressEventReducer(r.onUploadProgress)),(r.cancelToken||r.signal)&amp;&amp;(x=c=&gt;{E&amp;&amp;(u(!c||c.type?new pt(null,r,E):c),E.abort(),E=null)},r.cancelToken&amp;&amp;r.cancelToken.subscribe(x),r.signal&amp;&amp;(r.signal.aborted?x():r.signal.addEventListener("abort",x)));const K=function parseProtocol(r){const c=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return c&amp;&amp;c[1]||""}(I);K&amp;&amp;-1===nt.protocols.indexOf(K)?u(new Fe("Unsupported protocol "+K+":",Fe.ERR_BAD_REQUEST,r)):E.send(p||null)}))}};je.forEach(mt,((r,c)=&gt;{if(r){try{Object.defineProperty(r,"name",{value:c})}catch(r){}Object.defineProperty(r,"adapterName",{value:c})}}));const renderReason=r=&gt;`- ${r}`,isResolvedHandle=r=&gt;je.isFunction(r)||null===r||!1===r;var adapters_getAdapter=r=&gt;{r=je.isArray(r)?r:[r];const{length:c}=r;let u,p;const y={};for(let w=0;w&lt;c;w++){let c;if(u=r[w],p=u,!isResolvedHandle(u)&amp;&amp;(p=mt[(c=String(u)).toLowerCase()],void 0===p))throw new Fe(`Unknown adapter '${c}'`);if(p)break;y[c||"#"+w]=p}if(!p){const r=Object.entries(y).map((([r,c])=&gt;`adapter ${r} `+(!1===c?"is not supported by the environment":"is not available in the build")));let u=c?r.length&gt;1?"since :\n"+r.map(renderReason).join("\n"):" "+renderReason(r[0]):"as no adapter specified";throw new Fe("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return p};function throwIfCancellationRequested(r){if(r.cancelToken&amp;&amp;r.cancelToken.throwIfRequested(),r.signal&amp;&amp;r.signal.aborted)throw new pt(null,r)}function dispatchRequest(r){throwIfCancellationRequested(r),r.headers=lt.from(r.headers),r.data=transformData.call(r,r.transformRequest),-1!==["post","put","patch"].indexOf(r.method)&amp;&amp;r.headers.setContentType("application/x-www-form-urlencoded",!1);return adapters_getAdapter(r.adapter||st.adapter)(r).then((function onAdapterResolution(c){return throwIfCancellationRequested(r),c.data=transformData.call(r,r.transformResponse,c),c.headers=lt.from(c.headers),c}),(function onAdapterRejection(c){return isCancel(c)||(throwIfCancellationRequested(r),c&amp;&amp;c.response&amp;&amp;(c.response.data=transformData.call(r,r.transformResponse,c.response),c.response.headers=lt.from(c.response.headers))),Promise.reject(c)}))}const headersToObject=r=&gt;r instanceof lt?r.toJSON():r;function mergeConfig(r,c){c=c||{};const u={};function getMergedValue(r,c,u){return je.isPlainObject(r)&amp;&amp;je.isPlainObject(c)?je.merge.call({caseless:u},r,c):je.isPlainObject(c)?je.merge({},c):je.isArray(c)?c.slice():c}function mergeDeepProperties(r,c,u){return je.isUndefined(c)?je.isUndefined(r)?void 0:getMergedValue(void 0,r,u):getMergedValue(r,c,u)}function valueFromConfig2(r,c){if(!je.isUndefined(c))return getMergedValue(void 0,c)}function defaultToConfig2(r,c){return je.isUndefined(c)?je.isUndefined(r)?void 0:getMergedValue(void 0,r):getMergedValue(void 0,c)}function mergeDirectKeys(u,p,y){return y in c?getMergedValue(u,p):y in r?getMergedValue(void 0,u):void 0}const p={url:valueFromConfig2,method:valueFromConfig2,data:valueFromConfig2,baseURL:defaultToConfig2,transformRequest:defaultToConfig2,transformResponse:defaultToConfig2,paramsSerializer:defaultToConfig2,timeout:defaultToConfig2,timeoutMessage:defaultToConfig2,withCredentials:defaultToConfig2,adapter:defaultToConfig2,responseType:defaultToConfig2,xsrfCookieName:defaultToConfig2,xsrfHeaderName:defaultToConfig2,onUploadProgress:defaultToConfig2,onDownloadProgress:defaultToConfig2,decompress:defaultToConfig2,maxContentLength:defaultToConfig2,maxBodyLength:defaultToConfig2,beforeRedirect:defaultToConfig2,transport:defaultToConfig2,httpAgent:defaultToConfig2,httpsAgent:defaultToConfig2,cancelToken:defaultToConfig2,socketPath:defaultToConfig2,responseEncoding:defaultToConfig2,validateStatus:mergeDirectKeys,headers:(r,c)=&gt;mergeDeepProperties(headersToObject(r),headersToObject(c),!0)};return je.forEach(Object.keys(Object.assign({},r,c)),(function computeConfigValue(y){const w=p[y]||mergeDeepProperties,x=w(r[y],c[y],y);je.isUndefined(x)&amp;&amp;w!==mergeDirectKeys||(u[y]=x)})),u}const yt="1.6.1",gt={};["object","boolean","number","function","string","symbol"].forEach(((r,c)=&gt;{gt[r]=function validator(u){return typeof u===r||"a"+(c&lt;1?"n ":" ")+r}}));const vt={};gt.transitional=function transitional(r,c,u){function formatMessage(r,c){return"[Axios v1.6.1] Transitional option '"+r+"'"+c+(u?". "+u:"")}return(u,p,y)=&gt;{if(!1===r)throw new Fe(formatMessage(p," has been removed"+(c?" in "+c:"")),Fe.ERR_DEPRECATED);return c&amp;&amp;!vt[p]&amp;&amp;(vt[p]=!0,console.warn(formatMessage(p," has been deprecated since v"+c+" and will be removed in the near future"))),!r||r(u,p,y)}};var bt={assertOptions:function assertOptions(r,c,u){if("object"!=typeof r)throw new Fe("options must be an object",Fe.ERR_BAD_OPTION_VALUE);const p=Object.keys(r);let y=p.length;for(;y-- &gt;0;){const w=p[y],x=c[w];if(x){const c=r[w],u=void 0===c||x(c,w,r);if(!0!==u)throw new Fe("option "+w+" must be "+u,Fe.ERR_BAD_OPTION_VALUE)}else if(!0!==u)throw new Fe("Unknown option "+w,Fe.ERR_BAD_OPTION)}},validators:gt};const _t=bt.validators;class Axios{constructor(r){this.defaults=r,this.interceptors={request:new Ke,response:new Ke}}request(r,c){"string"==typeof r?(c=c||{}).url=r:c=r||{},c=mergeConfig(this.defaults,c);const{transitional:u,paramsSerializer:p,headers:y}=c;void 0!==u&amp;&amp;bt.assertOptions(u,{silentJSONParsing:_t.transitional(_t.boolean),forcedJSONParsing:_t.transitional(_t.boolean),clarifyTimeoutError:_t.transitional(_t.boolean)},!1),null!=p&amp;&amp;(je.isFunction(p)?c.paramsSerializer={serialize:p}:bt.assertOptions(p,{encode:_t.function,serialize:_t.function},!0)),c.method=(c.method||this.defaults.method||"get").toLowerCase();let w=y&amp;&amp;je.merge(y.common,y[c.method]);y&amp;&amp;je.forEach(["delete","get","head","post","put","patch","common"],(r=&gt;{delete y[r]})),c.headers=lt.concat(w,y);const x=[];let k=!0;this.interceptors.request.forEach((function unshiftRequestInterceptors(r){"function"==typeof r.runWhen&amp;&amp;!1===r.runWhen(c)||(k=k&amp;&amp;r.synchronous,x.unshift(r.fulfilled,r.rejected))}));const E=[];let I;this.interceptors.response.forEach((function pushResponseInterceptors(r){E.push(r.fulfilled,r.rejected)}));let K,J=0;if(!k){const r=[dispatchRequest.bind(this),void 0];for(r.unshift.apply(r,x),r.push.apply(r,E),K=r.length,I=Promise.resolve(c);J&lt;K;)I=I.then(r[J++],r[J++]);return I}K=x.length;let oe=c;for(J=0;J&lt;K;){const r=x[J++],c=x[J++];try{oe=r(oe)}catch(r){c.call(this,r);break}}try{I=dispatchRequest.call(this,oe)}catch(r){return Promise.reject(r)}for(J=0,K=E.length;J&lt;K;)I=I.then(E[J++],E[J++]);return I}getUri(r){return buildURL(buildFullPath((r=mergeConfig(this.defaults,r)).baseURL,r.url),r.params,r.paramsSerializer)}}je.forEach(["delete","get","head","options"],(function forEachMethodNoData(r){Axios.prototype[r]=function(c,u){return this.request(mergeConfig(u||{},{method:r,url:c,data:(u||{}).data}))}})),je.forEach(["post","put","patch"],(function forEachMethodWithData(r){function generateHTTPMethod(c){return function httpMethod(u,p,y){return this.request(mergeConfig(y||{},{method:r,headers:c?{"Content-Type":"multipart/form-data"}:{},url:u,data:p}))}}Axios.prototype[r]=generateHTTPMethod(),Axios.prototype[r+"Form"]=generateHTTPMethod(!0)}));var wt=Axios;class CancelToken{constructor(r){if("function"!=typeof r)throw new TypeError("executor must be a function.");let c;this.promise=new Promise((function promiseExecutor(r){c=r}));const u=this;this.promise.then((r=&gt;{if(!u._listeners)return;let c=u._listeners.length;for(;c-- &gt;0;)u._listeners[c](r);u._listeners=null})),this.promise.then=r=&gt;{let c;const p=new Promise((r=&gt;{u.subscribe(r),c=r})).then(r);return p.cancel=function reject(){u.unsubscribe(c)},p},r((function cancel(r,p,y){u.reason||(u.reason=new pt(r,p,y),c(u.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){this.reason?r(this.reason):this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const c=this._listeners.indexOf(r);-1!==c&amp;&amp;this._listeners.splice(c,1)}static source(){let r;return{token:new CancelToken((function executor(c){r=c})),cancel:r}}}var xt=CancelToken;const kt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(kt).forEach((([r,c])=&gt;{kt[c]=r}));var St=kt;const Et=function createInstance(r){const c=new wt(r),u=bind(wt.prototype.request,c);return je.extend(u,wt.prototype,c,{allOwnKeys:!0}),je.extend(u,c,null,{allOwnKeys:!0}),u.create=function create(c){return createInstance(mergeConfig(r,c))},u}(st);Et.Axios=wt,Et.CanceledError=pt,Et.CancelToken=xt,Et.isCancel=isCancel,Et.VERSION=yt,Et.toFormData=$e,Et.AxiosError=Fe,Et.Cancel=Et.CanceledError,Et.all=function all(r){return Promise.all(r)},Et.spread=function spread(r){return function wrap(c){return r.apply(null,c)}},Et.isAxiosError=function isAxiosError(r){return je.isObject(r)&amp;&amp;!0===r.isAxiosError},Et.mergeConfig=mergeConfig,Et.AxiosHeaders=lt,Et.formToJSON=r=&gt;ot(je.isHTMLForm(r)?new FormData(r):r),Et.getAdapter=adapters_getAdapter,Et.HttpStatusCode=St,Et.default=Et;var Tt=Et},49323:function(r,c,u){"use strict";function _typeof(r){return _typeof="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&amp;&amp;"function"==typeof Symbol&amp;&amp;r.constructor===Symbol&amp;&amp;r!==Symbol.prototype?"symbol":typeof r},_typeof(r)}function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")}function _toPropertyKey(r){var c=function _toPrimitive(r,c){if("object"!==_typeof(r)||null===r)return r;var u=r[Symbol.toPrimitive];if(void 0!==u){var p=u.call(r,c||"default");if("object"!==_typeof(p))return p;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===c?String:Number)(r)}(r,"string");return"symbol"===_typeof(c)?c:String(c)}function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var p=c[u];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&amp;&amp;(p.writable=!0),Object.defineProperty(r,_toPropertyKey(p.key),p)}}function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),Object.defineProperty(r,"prototype",{writable:!1}),r}function _assertThisInitialized(r){if(void 0===r)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function _setPrototypeOf(r,c){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(r,c){return r.__proto__=c,r},_setPrototypeOf(r,c)}function _inherits(r,c){if("function"!=typeof c&amp;&amp;null!==c)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(c&amp;&amp;c.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),c&amp;&amp;_setPrototypeOf(r,c)}function _possibleConstructorReturn(r,c){if(c&amp;&amp;("object"===_typeof(c)||"function"==typeof c))return c;if(void 0!==c)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(r)}function _getPrototypeOf(r){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(r){return r.__proto__||Object.getPrototypeOf(r)},_getPrototypeOf(r)}function _defineProperty(r,c,u){return(c=_toPropertyKey(c))in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r}function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}function _toArray(r){return function _arrayWithHoles(r){if(Array.isArray(r))return r}(r)||function _iterableToArray(r){if("undefined"!=typeof Symbol&amp;&amp;null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(r)||function _unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return _arrayLikeToArray(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?_arrayLikeToArray(r,c):void 0}}(r)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ownKeys$6(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread$6(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys$6(Object(u),!0).forEach((function(c){_defineProperty(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys$6(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}u.d(c,{ZP:function(){return Se}});var p={type:"logger",log:function log(r){this.output("log",r)},warn:function warn(r){this.output("warn",r)},error:function error(r){this.output("error",r)},output:function output(r,c){console&amp;&amp;console[r]&amp;&amp;console[r].apply(console,c)}},y=function(){function Logger(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,Logger),this.init(r,c)}return _createClass(Logger,[{key:"init",value:function init(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};this.prefix=c.prefix||"i18next:",this.logger=r||p,this.options=c,this.debug=c.debug}},{key:"setDebug",value:function setDebug(r){this.debug=r}},{key:"log",value:function log(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return this.forward(c,"log","",!0)}},{key:"warn",value:function warn(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return this.forward(c,"warn","",!0)}},{key:"error",value:function error(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return this.forward(c,"error","")}},{key:"deprecate",value:function deprecate(){for(var r=arguments.length,c=new Array(r),u=0;u&lt;r;u++)c[u]=arguments[u];return this.forward(c,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function forward(r,c,u,p){return p&amp;&amp;!this.debug?null:("string"==typeof r[0]&amp;&amp;(r[0]="".concat(u).concat(this.prefix," ").concat(r[0])),this.logger[c](r))}},{key:"create",value:function create(r){return new Logger(this.logger,_objectSpread$6(_objectSpread$6({},{prefix:"".concat(this.prefix,":").concat(r,":")}),this.options))}},{key:"clone",value:function clone(r){return(r=r||this.options).prefix=r.prefix||this.prefix,new Logger(this.logger,r)}}]),Logger}(),w=new y,x=function(){function EventEmitter(){_classCallCheck(this,EventEmitter),this.observers={}}return _createClass(EventEmitter,[{key:"on",value:function on(r,c){var u=this;return r.split(" ").forEach((function(r){u.observers[r]=u.observers[r]||[],u.observers[r].push(c)})),this}},{key:"off",value:function off(r,c){this.observers[r]&amp;&amp;(c?this.observers[r]=this.observers[r].filter((function(r){return r!==c})):delete this.observers[r])}},{key:"emit",value:function emit(r){for(var c=arguments.length,u=new Array(c&gt;1?c-1:0),p=1;p&lt;c;p++)u[p-1]=arguments[p];this.observers[r]&amp;&amp;[].concat(this.observers[r]).forEach((function(r){r.apply(void 0,u)}));this.observers["*"]&amp;&amp;[].concat(this.observers["*"]).forEach((function(c){c.apply(c,[r].concat(u))}))}}]),EventEmitter}();function defer(){var r,c,u=new Promise((function(u,p){r=u,c=p}));return u.resolve=r,u.reject=c,u}function makeString(r){return null==r?"":""+r}function getLastOfPath(r,c,u){function cleanKey(r){return r&amp;&amp;r.indexOf("###")&gt;-1?r.replace(/###/g,"."):r}function canNotTraverseDeeper(){return!r||"string"==typeof r}for(var p="string"!=typeof c?[].concat(c):c.split(".");p.length&gt;1;){if(canNotTraverseDeeper())return{};var y=cleanKey(p.shift());!r[y]&amp;&amp;u&amp;&amp;(r[y]=new u),r=Object.prototype.hasOwnProperty.call(r,y)?r[y]:{}}return canNotTraverseDeeper()?{}:{obj:r,k:cleanKey(p.shift())}}function setPath(r,c,u){var p=getLastOfPath(r,c,Object);p.obj[p.k]=u}function getPath(r,c){var u=getLastOfPath(r,c),p=u.obj,y=u.k;if(p)return p[y]}function deepExtend(r,c,u){for(var p in c)"__proto__"!==p&amp;&amp;"constructor"!==p&amp;&amp;(p in r?"string"==typeof r[p]||r[p]instanceof String||"string"==typeof c[p]||c[p]instanceof String?u&amp;&amp;(r[p]=c[p]):deepExtend(r[p],c[p],u):r[p]=c[p]);return r}function regexEscape(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&amp;")}var k={"&amp;":"&amp;amp;","&lt;":"&amp;lt;","&gt;":"&amp;gt;",'"':"&amp;quot;","'":"&amp;#39;","/":"&amp;#x2F;"};function i18next_escape(r){return"string"==typeof r?r.replace(/[&amp;&lt;&gt;"'\/]/g,(function(r){return k[r]})):r}var E="undefined"!=typeof window&amp;&amp;window.navigator&amp;&amp;void 0===window.navigator.userAgentData&amp;&amp;window.navigator.userAgent&amp;&amp;window.navigator.userAgent.indexOf("MSIE")&gt;-1,I=[" ",",","?","!",";"];function deepFind(r,c){var u=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:".";if(r){if(r[c])return r[c];for(var p=c.split(u),y=r,w=0;w&lt;p.length;++w){if(!y)return;if("string"==typeof y[p[w]]&amp;&amp;w+1&lt;p.length)return;if(void 0===y[p[w]]){for(var x=2,k=p.slice(w,w+x).join(u),E=y[k];void 0===E&amp;&amp;p.length&gt;w+x;)x++,E=y[k=p.slice(w,w+x).join(u)];if(void 0===E)return;if(null===E)return null;if(c.endsWith(k)){if("string"==typeof E)return E;if(k&amp;&amp;"string"==typeof E[k])return E[k]}var I=p.slice(w+x).join(u);return I?deepFind(E,I,u):void 0}y=y[p[w]]}return y}}function ownKeys$5(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread$5(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys$5(Object(u),!0).forEach((function(c){_defineProperty(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys$5(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function _createSuper$3(r){var c=function _isNativeReflectConstruct$3(){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(r){return!1}}();return function _createSuperInternal(){var u,p=_getPrototypeOf(r);if(c){var y=_getPrototypeOf(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return _possibleConstructorReturn(this,u)}}var K=function(r){_inherits(ResourceStore,r);var c=_createSuper$3(ResourceStore);function ResourceStore(r){var u,p=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return _classCallCheck(this,ResourceStore),u=c.call(this),E&amp;&amp;x.call(_assertThisInitialized(u)),u.data=r||{},u.options=p,void 0===u.options.keySeparator&amp;&amp;(u.options.keySeparator="."),void 0===u.options.ignoreJSONStructure&amp;&amp;(u.options.ignoreJSONStructure=!0),u}return _createClass(ResourceStore,[{key:"addNamespaces",value:function addNamespaces(r){this.options.ns.indexOf(r)&lt;0&amp;&amp;this.options.ns.push(r)}},{key:"removeNamespaces",value:function removeNamespaces(r){var c=this.options.ns.indexOf(r);c&gt;-1&amp;&amp;this.options.ns.splice(c,1)}},{key:"getResource",value:function getResource(r,c,u){var p=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:{},y=void 0!==p.keySeparator?p.keySeparator:this.options.keySeparator,w=void 0!==p.ignoreJSONStructure?p.ignoreJSONStructure:this.options.ignoreJSONStructure,x=[r,c];u&amp;&amp;"string"!=typeof u&amp;&amp;(x=x.concat(u)),u&amp;&amp;"string"==typeof u&amp;&amp;(x=x.concat(y?u.split(y):u)),r.indexOf(".")&gt;-1&amp;&amp;(x=r.split("."));var k=getPath(this.data,x);return k||!w||"string"!=typeof u?k:deepFind(this.data&amp;&amp;this.data[r]&amp;&amp;this.data[r][c],u,y)}},{key:"addResource",value:function addResource(r,c,u,p){var y=arguments.length&gt;4&amp;&amp;void 0!==arguments[4]?arguments[4]:{silent:!1},w=this.options.keySeparator;void 0===w&amp;&amp;(w=".");var x=[r,c];u&amp;&amp;(x=x.concat(w?u.split(w):u)),r.indexOf(".")&gt;-1&amp;&amp;(p=c,c=(x=r.split("."))[1]),this.addNamespaces(c),setPath(this.data,x,p),y.silent||this.emit("added",r,c,u,p)}},{key:"addResources",value:function addResources(r,c,u){var p=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:{silent:!1};for(var y in u)"string"!=typeof u[y]&amp;&amp;"[object Array]"!==Object.prototype.toString.apply(u[y])||this.addResource(r,c,y,u[y],{silent:!0});p.silent||this.emit("added",r,c,u)}},{key:"addResourceBundle",value:function addResourceBundle(r,c,u,p,y){var w=arguments.length&gt;5&amp;&amp;void 0!==arguments[5]?arguments[5]:{silent:!1},x=[r,c];r.indexOf(".")&gt;-1&amp;&amp;(p=u,u=c,c=(x=r.split("."))[1]),this.addNamespaces(c);var k=getPath(this.data,x)||{};p?deepExtend(k,u,y):k=_objectSpread$5(_objectSpread$5({},k),u),setPath(this.data,x,k),w.silent||this.emit("added",r,c,u)}},{key:"removeResourceBundle",value:function removeResourceBundle(r,c){this.hasResourceBundle(r,c)&amp;&amp;delete this.data[r][c],this.removeNamespaces(c),this.emit("removed",r,c)}},{key:"hasResourceBundle",value:function hasResourceBundle(r,c){return void 0!==this.getResource(r,c)}},{key:"getResourceBundle",value:function getResourceBundle(r,c){return c||(c=this.options.defaultNS),"v1"===this.options.compatibilityAPI?_objectSpread$5(_objectSpread$5({},{}),this.getResource(r,c)):this.getResource(r,c)}},{key:"getDataByLanguage",value:function getDataByLanguage(r){return this.data[r]}},{key:"hasLanguageSomeTranslations",value:function hasLanguageSomeTranslations(r){var c=this.getDataByLanguage(r);return!!(c&amp;&amp;Object.keys(c)||[]).find((function(r){return c[r]&amp;&amp;Object.keys(c[r]).length&gt;0}))}},{key:"toJSON",value:function toJSON(){return this.data}}]),ResourceStore}(x),J={processors:{},addPostProcessor:function addPostProcessor(r){this.processors[r.name]=r},handle:function handle(r,c,u,p,y){var w=this;return r.forEach((function(r){w.processors[r]&amp;&amp;(c=w.processors[r].process(c,u,p,y))})),c}};function ownKeys$4(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread$4(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys$4(Object(u),!0).forEach((function(c){_defineProperty(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys$4(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function _createSuper$2(r){var c=function _isNativeReflectConstruct$2(){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(r){return!1}}();return function _createSuperInternal(){var u,p=_getPrototypeOf(r);if(c){var y=_getPrototypeOf(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return _possibleConstructorReturn(this,u)}}var oe={},ie=function(r){_inherits(Translator,r);var c=_createSuper$2(Translator);function Translator(r){var u,p=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};return _classCallCheck(this,Translator),u=c.call(this),E&amp;&amp;x.call(_assertThisInitialized(u)),function copy(r,c,u){r.forEach((function(r){c[r]&amp;&amp;(u[r]=c[r])}))}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r,_assertThisInitialized(u)),u.options=p,void 0===u.options.keySeparator&amp;&amp;(u.options.keySeparator="."),u.logger=w.create("translator"),u}return _createClass(Translator,[{key:"changeLanguage",value:function changeLanguage(r){r&amp;&amp;(this.language=r)}},{key:"exists",value:function exists(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==r)return!1;var u=this.resolve(r,c);return u&amp;&amp;void 0!==u.res}},{key:"extractFromKey",value:function extractFromKey(r,c){var u=void 0!==c.nsSeparator?c.nsSeparator:this.options.nsSeparator;void 0===u&amp;&amp;(u=":");var p=void 0!==c.keySeparator?c.keySeparator:this.options.keySeparator,y=c.ns||this.options.defaultNS||[],w=u&amp;&amp;r.indexOf(u)&gt;-1,x=!(this.options.userDefinedKeySeparator||c.keySeparator||this.options.userDefinedNsSeparator||c.nsSeparator||function looksLikeObjectPath(r,c,u){c=c||"",u=u||"";var p=I.filter((function(r){return c.indexOf(r)&lt;0&amp;&amp;u.indexOf(r)&lt;0}));if(0===p.length)return!0;var y=new RegExp("(".concat(p.map((function(r){return"?"===r?"\\?":r})).join("|"),")")),w=!y.test(r);if(!w){var x=r.indexOf(u);x&gt;0&amp;&amp;!y.test(r.substring(0,x))&amp;&amp;(w=!0)}return w}(r,u,p));if(w&amp;&amp;!x){var k=r.match(this.interpolator.nestingRegexp);if(k&amp;&amp;k.length&gt;0)return{key:r,namespaces:y};var E=r.split(u);(u!==p||u===p&amp;&amp;this.options.ns.indexOf(E[0])&gt;-1)&amp;&amp;(y=E.shift()),r=E.join(p)}return"string"==typeof y&amp;&amp;(y=[y]),{key:r,namespaces:y}}},{key:"translate",value:function translate(r,c,u){var p=this;if("object"!==_typeof(c)&amp;&amp;this.options.overloadTranslationOptionHandler&amp;&amp;(c=this.options.overloadTranslationOptionHandler(arguments)),"object"===_typeof(c)&amp;&amp;(c=_objectSpread$4({},c)),c||(c={}),null==r)return"";Array.isArray(r)||(r=[String(r)]);var y=void 0!==c.returnDetails?c.returnDetails:this.options.returnDetails,w=void 0!==c.keySeparator?c.keySeparator:this.options.keySeparator,x=this.extractFromKey(r[r.length-1],c),k=x.key,E=x.namespaces,I=E[E.length-1],K=c.lng||this.language,J=c.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(K&amp;&amp;"cimode"===K.toLowerCase()){if(J){var oe=c.nsSeparator||this.options.nsSeparator;return y?{res:"".concat(I).concat(oe).concat(k),usedKey:k,exactUsedKey:k,usedLng:K,usedNS:I}:"".concat(I).concat(oe).concat(k)}return y?{res:k,usedKey:k,exactUsedKey:k,usedLng:K,usedNS:I}:k}var ie=this.resolve(r,c),ae=ie&amp;&amp;ie.res,se=ie&amp;&amp;ie.usedKey||k,ue=ie&amp;&amp;ie.exactUsedKey||k,le=Object.prototype.toString.apply(ae),pe=void 0!==c.joinArrays?c.joinArrays:this.options.joinArrays,de=!this.i18nFormat||this.i18nFormat.handleAsObject;if(de&amp;&amp;ae&amp;&amp;("string"!=typeof ae&amp;&amp;"boolean"!=typeof ae&amp;&amp;"number"!=typeof ae)&amp;&amp;["[object Number]","[object Function]","[object RegExp]"].indexOf(le)&lt;0&amp;&amp;("string"!=typeof pe||"[object Array]"!==le)){if(!c.returnObjects&amp;&amp;!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var he=this.options.returnedObjectHandler?this.options.returnedObjectHandler(se,ae,_objectSpread$4(_objectSpread$4({},c),{},{ns:E})):"key '".concat(k," (").concat(this.language,")' returned an object instead of string.");return y?(ie.res=he,ie):he}if(w){var ge="[object Array]"===le,ve=ge?[]:{},we=ge?ue:se;for(var Se in ae)if(Object.prototype.hasOwnProperty.call(ae,Se)){var Oe="".concat(we).concat(w).concat(Se);ve[Se]=this.translate(Oe,_objectSpread$4(_objectSpread$4({},c),{joinArrays:!1,ns:E})),ve[Se]===Oe&amp;&amp;(ve[Se]=ae[Se])}ae=ve}}else if(de&amp;&amp;"string"==typeof pe&amp;&amp;"[object Array]"===le)(ae=ae.join(pe))&amp;&amp;(ae=this.extendTranslation(ae,r,c,u));else{var Pe=!1,Le=!1,Ie=void 0!==c.count&amp;&amp;"string"!=typeof c.count,je=Translator.hasDefaultValue(c),De=Ie?this.pluralResolver.getSuffix(K,c.count,c):"",Ue=c["defaultValue".concat(De)]||c.defaultValue;!this.isValidLookup(ae)&amp;&amp;je&amp;&amp;(Pe=!0,ae=Ue),this.isValidLookup(ae)||(Le=!0,ae=k);var Fe=(c.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&amp;&amp;Le?void 0:ae,Ze=je&amp;&amp;Ue!==ae&amp;&amp;this.options.updateMissing;if(Le||Pe||Ze){if(this.logger.log(Ze?"updateKey":"missingKey",K,I,k,Ze?Ue:ae),w){var $e=this.resolve(k,_objectSpread$4(_objectSpread$4({},c),{},{keySeparator:!1}));$e&amp;&amp;$e.res&amp;&amp;this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Ge=[],We=this.languageUtils.getFallbackCodes(this.options.fallbackLng,c.lng||this.language);if("fallback"===this.options.saveMissingTo&amp;&amp;We&amp;&amp;We[0])for(var Ke=0;Ke&lt;We.length;Ke++)Ge.push(We[Ke]);else"all"===this.options.saveMissingTo?Ge=this.languageUtils.toResolveHierarchy(c.lng||this.language):Ge.push(c.lng||this.language);var Je=function send(r,u,y){var w=je&amp;&amp;y!==ae?y:Fe;p.options.missingKeyHandler?p.options.missingKeyHandler(r,I,u,w,Ze,c):p.backendConnector&amp;&amp;p.backendConnector.saveMissing&amp;&amp;p.backendConnector.saveMissing(r,I,u,w,Ze,c),p.emit("missingKey",r,I,u,ae)};this.options.saveMissing&amp;&amp;(this.options.saveMissingPlurals&amp;&amp;Ie?Ge.forEach((function(r){p.pluralResolver.getSuffixes(r,c).forEach((function(u){Je([r],k+u,c["defaultValue".concat(u)]||Ue)}))})):Je(Ge,k,Ue))}ae=this.extendTranslation(ae,r,c,ie,u),Le&amp;&amp;ae===k&amp;&amp;this.options.appendNamespaceToMissingKey&amp;&amp;(ae="".concat(I,":").concat(k)),(Le||Pe)&amp;&amp;this.options.parseMissingKeyHandler&amp;&amp;(ae="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(I,":").concat(k):k,Pe?ae:void 0):this.options.parseMissingKeyHandler(ae))}return y?(ie.res=ae,ie):ae}},{key:"extendTranslation",value:function extendTranslation(r,c,u,p,y){var w=this;if(this.i18nFormat&amp;&amp;this.i18nFormat.parse)r=this.i18nFormat.parse(r,_objectSpread$4(_objectSpread$4({},this.options.interpolation.defaultVariables),u),p.usedLng,p.usedNS,p.usedKey,{resolved:p});else if(!u.skipInterpolation){u.interpolation&amp;&amp;this.interpolator.init(_objectSpread$4(_objectSpread$4({},u),{interpolation:_objectSpread$4(_objectSpread$4({},this.options.interpolation),u.interpolation)}));var x,k="string"==typeof r&amp;&amp;(u&amp;&amp;u.interpolation&amp;&amp;void 0!==u.interpolation.skipOnVariables?u.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(k){var E=r.match(this.interpolator.nestingRegexp);x=E&amp;&amp;E.length}var I=u.replace&amp;&amp;"string"!=typeof u.replace?u.replace:u;if(this.options.interpolation.defaultVariables&amp;&amp;(I=_objectSpread$4(_objectSpread$4({},this.options.interpolation.defaultVariables),I)),r=this.interpolator.interpolate(r,I,u.lng||this.language,u),k){var K=r.match(this.interpolator.nestingRegexp);x&lt;(K&amp;&amp;K.length)&amp;&amp;(u.nest=!1)}!u.lng&amp;&amp;"v1"!==this.options.compatibilityAPI&amp;&amp;p&amp;&amp;p.res&amp;&amp;(u.lng=p.usedLng),!1!==u.nest&amp;&amp;(r=this.interpolator.nest(r,(function(){for(var r=arguments.length,p=new Array(r),x=0;x&lt;r;x++)p[x]=arguments[x];return y&amp;&amp;y[0]===p[0]&amp;&amp;!u.context?(w.logger.warn("It seems you are nesting recursively key: ".concat(p[0]," in key: ").concat(c[0])),null):w.translate.apply(w,p.concat([c]))}),u)),u.interpolation&amp;&amp;this.interpolator.reset()}var oe=u.postProcess||this.options.postProcess,ie="string"==typeof oe?[oe]:oe;return null!=r&amp;&amp;ie&amp;&amp;ie.length&amp;&amp;!1!==u.applyPostProcessor&amp;&amp;(r=J.handle(ie,r,c,this.options&amp;&amp;this.options.postProcessPassResolved?_objectSpread$4({i18nResolved:p},u):u,this)),r}},{key:"resolve",value:function resolve(r){var c,u,p,y,w,x=this,k=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};return"string"==typeof r&amp;&amp;(r=[r]),r.forEach((function(r){if(!x.isValidLookup(c)){var E=x.extractFromKey(r,k),I=E.key;u=I;var K=E.namespaces;x.options.fallbackNS&amp;&amp;(K=K.concat(x.options.fallbackNS));var J=void 0!==k.count&amp;&amp;"string"!=typeof k.count,ie=J&amp;&amp;!k.ordinal&amp;&amp;0===k.count&amp;&amp;x.pluralResolver.shouldUseIntlApi(),ae=void 0!==k.context&amp;&amp;("string"==typeof k.context||"number"==typeof k.context)&amp;&amp;""!==k.context,se=k.lngs?k.lngs:x.languageUtils.toResolveHierarchy(k.lng||x.language,k.fallbackLng);K.forEach((function(r){x.isValidLookup(c)||(w=r,!oe["".concat(se[0],"-").concat(r)]&amp;&amp;x.utils&amp;&amp;x.utils.hasLoadedNamespace&amp;&amp;!x.utils.hasLoadedNamespace(w)&amp;&amp;(oe["".concat(se[0],"-").concat(r)]=!0,x.logger.warn('key "'.concat(u,'" for languages "').concat(se.join(", "),'" won\'t get resolved as namespace "').concat(w,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),se.forEach((function(u){if(!x.isValidLookup(c)){y=u;var w,E=[I];if(x.i18nFormat&amp;&amp;x.i18nFormat.addLookupKeys)x.i18nFormat.addLookupKeys(E,I,u,r,k);else{var K;J&amp;&amp;(K=x.pluralResolver.getSuffix(u,k.count,k));var oe="".concat(x.options.pluralSeparator,"zero");if(J&amp;&amp;(E.push(I+K),ie&amp;&amp;E.push(I+oe)),ae){var se="".concat(I).concat(x.options.contextSeparator).concat(k.context);E.push(se),J&amp;&amp;(E.push(se+K),ie&amp;&amp;E.push(se+oe))}}for(;w=E.pop();)x.isValidLookup(c)||(p=w,c=x.getResource(u,r,w,k))}})))}))}})),{res:c,usedKey:u,exactUsedKey:p,usedLng:y,usedNS:w}}},{key:"isValidLookup",value:function isValidLookup(r){return!(void 0===r||!this.options.returnNull&amp;&amp;null===r||!this.options.returnEmptyString&amp;&amp;""===r)}},{key:"getResource",value:function getResource(r,c,u){var p=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&amp;&amp;this.i18nFormat.getResource?this.i18nFormat.getResource(r,c,u,p):this.resourceStore.getResource(r,c,u,p)}}],[{key:"hasDefaultValue",value:function hasDefaultValue(r){var c="defaultValue";for(var u in r)if(Object.prototype.hasOwnProperty.call(r,u)&amp;&amp;c===u.substring(0,12)&amp;&amp;void 0!==r[u])return!0;return!1}}]),Translator}(x);function capitalize(r){return r.charAt(0).toUpperCase()+r.slice(1)}var ae=function(){function LanguageUtil(r){_classCallCheck(this,LanguageUtil),this.options=r,this.supportedLngs=this.options.supportedLngs||!1,this.logger=w.create("languageUtils")}return _createClass(LanguageUtil,[{key:"getScriptPartFromCode",value:function getScriptPartFromCode(r){if(!r||r.indexOf("-")&lt;0)return null;var c=r.split("-");return 2===c.length?null:(c.pop(),"x"===c[c.length-1].toLowerCase()?null:this.formatLanguageCode(c.join("-")))}},{key:"getLanguagePartFromCode",value:function getLanguagePartFromCode(r){if(!r||r.indexOf("-")&lt;0)return r;var c=r.split("-");return this.formatLanguageCode(c[0])}},{key:"formatLanguageCode",value:function formatLanguageCode(r){if("string"==typeof r&amp;&amp;r.indexOf("-")&gt;-1){var c=["hans","hant","latn","cyrl","cans","mong","arab"],u=r.split("-");return this.options.lowerCaseLng?u=u.map((function(r){return r.toLowerCase()})):2===u.length?(u[0]=u[0].toLowerCase(),u[1]=u[1].toUpperCase(),c.indexOf(u[1].toLowerCase())&gt;-1&amp;&amp;(u[1]=capitalize(u[1].toLowerCase()))):3===u.length&amp;&amp;(u[0]=u[0].toLowerCase(),2===u[1].length&amp;&amp;(u[1]=u[1].toUpperCase()),"sgn"!==u[0]&amp;&amp;2===u[2].length&amp;&amp;(u[2]=u[2].toUpperCase()),c.indexOf(u[1].toLowerCase())&gt;-1&amp;&amp;(u[1]=capitalize(u[1].toLowerCase())),c.indexOf(u[2].toLowerCase())&gt;-1&amp;&amp;(u[2]=capitalize(u[2].toLowerCase()))),u.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?r.toLowerCase():r}},{key:"isSupportedCode",value:function isSupportedCode(r){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&amp;&amp;(r=this.getLanguagePartFromCode(r)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(r)&gt;-1}},{key:"getBestMatchFromCodes",value:function getBestMatchFromCodes(r){var c,u=this;return r?(r.forEach((function(r){if(!c){var p=u.formatLanguageCode(r);u.options.supportedLngs&amp;&amp;!u.isSupportedCode(p)||(c=p)}})),!c&amp;&amp;this.options.supportedLngs&amp;&amp;r.forEach((function(r){if(!c){var p=u.getLanguagePartFromCode(r);if(u.isSupportedCode(p))return c=p;c=u.options.supportedLngs.find((function(r){return r===p?r:r.indexOf("-")&lt;0&amp;&amp;p.indexOf("-")&lt;0?void 0:0===r.indexOf(p)?r:void 0}))}})),c||(c=this.getFallbackCodes(this.options.fallbackLng)[0]),c):null}},{key:"getFallbackCodes",value:function getFallbackCodes(r,c){if(!r)return[];if("function"==typeof r&amp;&amp;(r=r(c)),"string"==typeof r&amp;&amp;(r=[r]),"[object Array]"===Object.prototype.toString.apply(r))return r;if(!c)return r.default||[];var u=r[c];return u||(u=r[this.getScriptPartFromCode(c)]),u||(u=r[this.formatLanguageCode(c)]),u||(u=r[this.getLanguagePartFromCode(c)]),u||(u=r.default),u||[]}},{key:"toResolveHierarchy",value:function toResolveHierarchy(r,c){var u=this,p=this.getFallbackCodes(c||this.options.fallbackLng||[],r),y=[],w=function addCode(r){r&amp;&amp;(u.isSupportedCode(r)?y.push(r):u.logger.warn("rejecting language code not found in supportedLngs: ".concat(r)))};return"string"==typeof r&amp;&amp;r.indexOf("-")&gt;-1?("languageOnly"!==this.options.load&amp;&amp;w(this.formatLanguageCode(r)),"languageOnly"!==this.options.load&amp;&amp;"currentOnly"!==this.options.load&amp;&amp;w(this.getScriptPartFromCode(r)),"currentOnly"!==this.options.load&amp;&amp;w(this.getLanguagePartFromCode(r))):"string"==typeof r&amp;&amp;w(this.formatLanguageCode(r)),p.forEach((function(r){y.indexOf(r)&lt;0&amp;&amp;w(u.formatLanguageCode(r))})),y}}]),LanguageUtil}(),se=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],ue={1:function _(r){return Number(r&gt;1)},2:function _(r){return Number(1!=r)},3:function _(r){return 0},4:function _(r){return Number(r%10==1&amp;&amp;r%100!=11?0:r%10&gt;=2&amp;&amp;r%10&lt;=4&amp;&amp;(r%100&lt;10||r%100&gt;=20)?1:2)},5:function _(r){return Number(0==r?0:1==r?1:2==r?2:r%100&gt;=3&amp;&amp;r%100&lt;=10?3:r%100&gt;=11?4:5)},6:function _(r){return Number(1==r?0:r&gt;=2&amp;&amp;r&lt;=4?1:2)},7:function _(r){return Number(1==r?0:r%10&gt;=2&amp;&amp;r%10&lt;=4&amp;&amp;(r%100&lt;10||r%100&gt;=20)?1:2)},8:function _(r){return Number(1==r?0:2==r?1:8!=r&amp;&amp;11!=r?2:3)},9:function _(r){return Number(r&gt;=2)},10:function _(r){return Number(1==r?0:2==r?1:r&lt;7?2:r&lt;11?3:4)},11:function _(r){return Number(1==r||11==r?0:2==r||12==r?1:r&gt;2&amp;&amp;r&lt;20?2:3)},12:function _(r){return Number(r%10!=1||r%100==11)},13:function _(r){return Number(0!==r)},14:function _(r){return Number(1==r?0:2==r?1:3==r?2:3)},15:function _(r){return Number(r%10==1&amp;&amp;r%100!=11?0:r%10&gt;=2&amp;&amp;(r%100&lt;10||r%100&gt;=20)?1:2)},16:function _(r){return Number(r%10==1&amp;&amp;r%100!=11?0:0!==r?1:2)},17:function _(r){return Number(1==r||r%10==1&amp;&amp;r%100!=11?0:1)},18:function _(r){return Number(0==r?0:1==r?1:2)},19:function _(r){return Number(1==r?0:0==r||r%100&gt;1&amp;&amp;r%100&lt;11?1:r%100&gt;10&amp;&amp;r%100&lt;20?2:3)},20:function _(r){return Number(1==r?0:0==r||r%100&gt;0&amp;&amp;r%100&lt;20?1:2)},21:function _(r){return Number(r%100==1?1:r%100==2?2:r%100==3||r%100==4?3:0)},22:function _(r){return Number(1==r?0:2==r?1:(r&lt;0||r&gt;10)&amp;&amp;r%10==0?2:3)}},le=["v1","v2","v3"],pe={zero:0,one:1,two:2,few:3,many:4,other:5};var de=function(){function PluralResolver(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,PluralResolver),this.languageUtils=r,this.options=c,this.logger=w.create("pluralResolver"),this.options.compatibilityJSON&amp;&amp;"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&amp;&amp;Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function createRules(){var r={};return se.forEach((function(c){c.lngs.forEach((function(u){r[u]={numbers:c.nr,plurals:ue[c.fc]}}))})),r}()}return _createClass(PluralResolver,[{key:"addRule",value:function addRule(r,c){this.rules[r]=c}},{key:"getRule",value:function getRule(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(r,{type:c.ordinal?"ordinal":"cardinal"})}catch(r){return}return this.rules[r]||this.rules[this.languageUtils.getLanguagePartFromCode(r)]}},{key:"needsPlural",value:function needsPlural(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},u=this.getRule(r,c);return this.shouldUseIntlApi()?u&amp;&amp;u.resolvedOptions().pluralCategories.length&gt;1:u&amp;&amp;u.numbers.length&gt;1}},{key:"getPluralFormsOfKey",value:function getPluralFormsOfKey(r,c){var u=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(r,u).map((function(r){return"".concat(c).concat(r)}))}},{key:"getSuffixes",value:function getSuffixes(r){var c=this,u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},p=this.getRule(r,u);return p?this.shouldUseIntlApi()?p.resolvedOptions().pluralCategories.sort((function(r,c){return pe[r]-pe[c]})).map((function(r){return"".concat(c.options.prepend).concat(r)})):p.numbers.map((function(p){return c.getSuffix(r,p,u)})):[]}},{key:"getSuffix",value:function getSuffix(r,c){var u=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{},p=this.getRule(r,u);return p?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(p.select(c)):this.getSuffixRetroCompatible(p,c):(this.logger.warn("no plural rule found for: ".concat(r)),"")}},{key:"getSuffixRetroCompatible",value:function getSuffixRetroCompatible(r,c){var u=this,p=r.noAbs?r.plurals(c):r.plurals(Math.abs(c)),y=r.numbers[p];this.options.simplifyPluralSuffix&amp;&amp;2===r.numbers.length&amp;&amp;1===r.numbers[0]&amp;&amp;(2===y?y="plural":1===y&amp;&amp;(y=""));var w=function returnSuffix(){return u.options.prepend&amp;&amp;y.toString()?u.options.prepend+y.toString():y.toString()};return"v1"===this.options.compatibilityJSON?1===y?"":"number"==typeof y?"_plural_".concat(y.toString()):w():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&amp;&amp;2===r.numbers.length&amp;&amp;1===r.numbers[0]?w():this.options.prepend&amp;&amp;p.toString()?this.options.prepend+p.toString():p.toString()}},{key:"shouldUseIntlApi",value:function shouldUseIntlApi(){return!le.includes(this.options.compatibilityJSON)}}]),PluralResolver}();function ownKeys$3(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread$3(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys$3(Object(u),!0).forEach((function(c){_defineProperty(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys$3(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function deepFindWithDefaults(r,c,u){var p=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:".",y=!(arguments.length&gt;4&amp;&amp;void 0!==arguments[4])||arguments[4],w=function getPathWithDefaults(r,c,u){var p=getPath(r,u);return void 0!==p?p:getPath(c,u)}(r,c,u);return!w&amp;&amp;y&amp;&amp;"string"==typeof u&amp;&amp;void 0===(w=deepFind(r,u,p))&amp;&amp;(w=deepFind(c,u,p)),w}var he=function(){function Interpolator(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,Interpolator),this.logger=w.create("interpolator"),this.options=r,this.format=r.interpolation&amp;&amp;r.interpolation.format||function(r){return r},this.init(r)}return _createClass(Interpolator,[{key:"init",value:function init(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};r.interpolation||(r.interpolation={escapeValue:!0});var c=r.interpolation;this.escape=void 0!==c.escape?c.escape:i18next_escape,this.escapeValue=void 0===c.escapeValue||c.escapeValue,this.useRawValueToEscape=void 0!==c.useRawValueToEscape&amp;&amp;c.useRawValueToEscape,this.prefix=c.prefix?regexEscape(c.prefix):c.prefixEscaped||"{{",this.suffix=c.suffix?regexEscape(c.suffix):c.suffixEscaped||"}}",this.formatSeparator=c.formatSeparator?c.formatSeparator:c.formatSeparator||",",this.unescapePrefix=c.unescapeSuffix?"":c.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":c.unescapeSuffix||"",this.nestingPrefix=c.nestingPrefix?regexEscape(c.nestingPrefix):c.nestingPrefixEscaped||regexEscape("$t("),this.nestingSuffix=c.nestingSuffix?regexEscape(c.nestingSuffix):c.nestingSuffixEscaped||regexEscape(")"),this.nestingOptionsSeparator=c.nestingOptionsSeparator?c.nestingOptionsSeparator:c.nestingOptionsSeparator||",",this.maxReplaces=c.maxReplaces?c.maxReplaces:1e3,this.alwaysFormat=void 0!==c.alwaysFormat&amp;&amp;c.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function reset(){this.options&amp;&amp;this.init(this.options)}},{key:"resetRegExp",value:function resetRegExp(){var r="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(r,"g");var c="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(c,"g");var u="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(u,"g")}},{key:"interpolate",value:function interpolate(r,c,u,p){var y,w,x,k=this,E=this.options&amp;&amp;this.options.interpolation&amp;&amp;this.options.interpolation.defaultVariables||{};function regexSafe(r){return r.replace(/\$/g,"$$$$")}var I=function handleFormat(r){if(r.indexOf(k.formatSeparator)&lt;0){var y=deepFindWithDefaults(c,E,r,k.options.keySeparator,k.options.ignoreJSONStructure);return k.alwaysFormat?k.format(y,void 0,u,_objectSpread$3(_objectSpread$3(_objectSpread$3({},p),c),{},{interpolationkey:r})):y}var w=r.split(k.formatSeparator),x=w.shift().trim(),I=w.join(k.formatSeparator).trim();return k.format(deepFindWithDefaults(c,E,x,k.options.keySeparator,k.options.ignoreJSONStructure),I,u,_objectSpread$3(_objectSpread$3(_objectSpread$3({},p),c),{},{interpolationkey:x}))};this.resetRegExp();var K=p&amp;&amp;p.missingInterpolationHandler||this.options.missingInterpolationHandler,J=p&amp;&amp;p.interpolation&amp;&amp;void 0!==p.interpolation.skipOnVariables?p.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function safeValue(r){return regexSafe(r)}},{regex:this.regexp,safeValue:function safeValue(r){return k.escapeValue?regexSafe(k.escape(r)):regexSafe(r)}}].forEach((function(c){for(x=0;y=c.regex.exec(r);){var u=y[1].trim();if(void 0===(w=I(u)))if("function"==typeof K){var E=K(r,y,p);w="string"==typeof E?E:""}else if(p&amp;&amp;Object.prototype.hasOwnProperty.call(p,u))w="";else{if(J){w=y[0];continue}k.logger.warn("missed to pass in variable ".concat(u," for interpolating ").concat(r)),w=""}else"string"==typeof w||k.useRawValueToEscape||(w=makeString(w));var oe=c.safeValue(w);if(r=r.replace(y[0],oe),J?(c.regex.lastIndex+=w.length,c.regex.lastIndex-=y[0].length):c.regex.lastIndex=0,++x&gt;=k.maxReplaces)break}})),r}},{key:"nest",value:function nest(r,c){var u,p,y,w=this,x=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{};function handleHasOptions(r,c){var u=this.nestingOptionsSeparator;if(r.indexOf(u)&lt;0)return r;var p=r.split(new RegExp("".concat(u,"[ ]*{"))),w="{".concat(p[1]);r=p[0];var x=(w=this.interpolate(w,y)).match(/'/g),k=w.match(/"/g);(x&amp;&amp;x.length%2==0&amp;&amp;!k||k.length%2!=0)&amp;&amp;(w=w.replace(/'/g,'"'));try{y=JSON.parse(w),c&amp;&amp;(y=_objectSpread$3(_objectSpread$3({},c),y))}catch(c){return this.logger.warn("failed parsing options string in nesting for key ".concat(r),c),"".concat(r).concat(u).concat(w)}return delete y.defaultValue,r}for(;u=this.nestingRegexp.exec(r);){var k=[];(y=(y=_objectSpread$3({},x)).replace&amp;&amp;"string"!=typeof y.replace?y.replace:y).applyPostProcessor=!1,delete y.defaultValue;var E=!1;if(-1!==u[0].indexOf(this.formatSeparator)&amp;&amp;!/{.*}/.test(u[1])){var I=u[1].split(this.formatSeparator).map((function(r){return r.trim()}));u[1]=I.shift(),k=I,E=!0}if((p=c(handleHasOptions.call(this,u[1].trim(),y),y))&amp;&amp;u[0]===r&amp;&amp;"string"!=typeof p)return p;"string"!=typeof p&amp;&amp;(p=makeString(p)),p||(this.logger.warn("missed to resolve ".concat(u[1]," for nesting ").concat(r)),p=""),E&amp;&amp;(p=k.reduce((function(r,c){return w.format(r,c,x.lng,_objectSpread$3(_objectSpread$3({},x),{},{interpolationkey:u[1].trim()}))}),p.trim())),r=r.replace(u[0],p),this.regexp.lastIndex=0}return r}}]),Interpolator}();function ownKeys$2(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread$2(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys$2(Object(u),!0).forEach((function(c){_defineProperty(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys$2(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function createCachedFormatter(r){var c={};return function invokeFormatter(u,p,y){var w=p+JSON.stringify(y),x=c[w];return x||(x=r(p,y),c[w]=x),x(u)}}var ge=function(){function Formatter(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,Formatter),this.logger=w.create("formatter"),this.options=r,this.formats={number:createCachedFormatter((function(r,c){var u=new Intl.NumberFormat(r,_objectSpread$2({},c));return function(r){return u.format(r)}})),currency:createCachedFormatter((function(r,c){var u=new Intl.NumberFormat(r,_objectSpread$2(_objectSpread$2({},c),{},{style:"currency"}));return function(r){return u.format(r)}})),datetime:createCachedFormatter((function(r,c){var u=new Intl.DateTimeFormat(r,_objectSpread$2({},c));return function(r){return u.format(r)}})),relativetime:createCachedFormatter((function(r,c){var u=new Intl.RelativeTimeFormat(r,_objectSpread$2({},c));return function(r){return u.format(r,c.range||"day")}})),list:createCachedFormatter((function(r,c){var u=new Intl.ListFormat(r,_objectSpread$2({},c));return function(r){return u.format(r)}}))},this.init(r)}return _createClass(Formatter,[{key:"init",value:function init(r){var c=(arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=c.formatSeparator?c.formatSeparator:c.formatSeparator||","}},{key:"add",value:function add(r,c){this.formats[r.toLowerCase().trim()]=c}},{key:"addCached",value:function addCached(r,c){this.formats[r.toLowerCase().trim()]=createCachedFormatter(c)}},{key:"format",value:function format(r,c,u){var p=this,y=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:{};return c.split(this.formatSeparator).reduce((function(r,c){var w=function parseFormatStr(r){var c=r.toLowerCase().trim(),u={};if(r.indexOf("(")&gt;-1){var p=r.split("(");c=p[0].toLowerCase().trim();var y=p[1].substring(0,p[1].length-1);"currency"===c&amp;&amp;y.indexOf(":")&lt;0?u.currency||(u.currency=y.trim()):"relativetime"===c&amp;&amp;y.indexOf(":")&lt;0?u.range||(u.range=y.trim()):y.split(";").forEach((function(r){if(r){var c=_toArray(r.split(":")),p=c[0],y=c.slice(1).join(":").trim().replace(/^'+|'+$/g,"");u[p.trim()]||(u[p.trim()]=y),"false"===y&amp;&amp;(u[p.trim()]=!1),"true"===y&amp;&amp;(u[p.trim()]=!0),isNaN(y)||(u[p.trim()]=parseInt(y,10))}}))}return{formatName:c,formatOptions:u}}(c),x=w.formatName,k=w.formatOptions;if(p.formats[x]){var E=r;try{var I=y&amp;&amp;y.formatParams&amp;&amp;y.formatParams[y.interpolationkey]||{},K=I.locale||I.lng||y.locale||y.lng||u;E=p.formats[x](r,K,_objectSpread$2(_objectSpread$2(_objectSpread$2({},k),y),I))}catch(r){p.logger.warn(r)}return E}return p.logger.warn("there was no format function for ".concat(x)),r}),r)}}]),Formatter}();function ownKeys$1(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread$1(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys$1(Object(u),!0).forEach((function(c){_defineProperty(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys$1(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function _createSuper$1(r){var c=function _isNativeReflectConstruct$1(){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(r){return!1}}();return function _createSuperInternal(){var u,p=_getPrototypeOf(r);if(c){var y=_getPrototypeOf(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return _possibleConstructorReturn(this,u)}}var ve=function(r){_inherits(Connector,r);var c=_createSuper$1(Connector);function Connector(r,u,p){var y,k=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:{};return _classCallCheck(this,Connector),y=c.call(this),E&amp;&amp;x.call(_assertThisInitialized(y)),y.backend=r,y.store=u,y.services=p,y.languageUtils=p.languageUtils,y.options=k,y.logger=w.create("backendConnector"),y.waitingReads=[],y.maxParallelReads=k.maxParallelReads||10,y.readingCalls=0,y.maxRetries=k.maxRetries&gt;=0?k.maxRetries:5,y.retryTimeout=k.retryTimeout&gt;=1?k.retryTimeout:350,y.state={},y.queue=[],y.backend&amp;&amp;y.backend.init&amp;&amp;y.backend.init(p,k.backend,k),y}return _createClass(Connector,[{key:"queueLoad",value:function queueLoad(r,c,u,p){var y=this,w={},x={},k={},E={};return r.forEach((function(r){var p=!0;c.forEach((function(c){var k="".concat(r,"|").concat(c);!u.reload&amp;&amp;y.store.hasResourceBundle(r,c)?y.state[k]=2:y.state[k]&lt;0||(1===y.state[k]?void 0===x[k]&amp;&amp;(x[k]=!0):(y.state[k]=1,p=!1,void 0===x[k]&amp;&amp;(x[k]=!0),void 0===w[k]&amp;&amp;(w[k]=!0),void 0===E[c]&amp;&amp;(E[c]=!0)))})),p||(k[r]=!0)})),(Object.keys(w).length||Object.keys(x).length)&amp;&amp;this.queue.push({pending:x,pendingCount:Object.keys(x).length,loaded:{},errors:[],callback:p}),{toLoad:Object.keys(w),pending:Object.keys(x),toLoadLanguages:Object.keys(k),toLoadNamespaces:Object.keys(E)}}},{key:"loaded",value:function loaded(r,c,u){var p=r.split("|"),y=p[0],w=p[1];c&amp;&amp;this.emit("failedLoading",y,w,c),u&amp;&amp;this.store.addResourceBundle(y,w,u),this.state[r]=c?-1:2;var loaded={};this.queue.forEach((function(u){!function pushPath(r,c,u,p){var y=getLastOfPath(r,c,Object),w=y.obj,x=y.k;w[x]=w[x]||[],p&amp;&amp;(w[x]=w[x].concat(u)),p||w[x].push(u)}(u.loaded,[y],w),function removePending(r,c){void 0!==r.pending[c]&amp;&amp;(delete r.pending[c],r.pendingCount--)}(u,r),c&amp;&amp;u.errors.push(c),0!==u.pendingCount||u.done||(Object.keys(u.loaded).forEach((function(r){loaded[r]||(loaded[r]={});var c=u.loaded[r];c.length&amp;&amp;c.forEach((function(c){void 0===loaded[r][c]&amp;&amp;(loaded[r][c]=!0)}))})),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())})),this.emit("loaded",loaded),this.queue=this.queue.filter((function(r){return!r.done}))}},{key:"read",value:function read(r,c,u){var p=this,y=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:0,w=arguments.length&gt;4&amp;&amp;void 0!==arguments[4]?arguments[4]:this.retryTimeout,x=arguments.length&gt;5?arguments[5]:void 0;if(!r.length)return x(null,{});if(this.readingCalls&gt;=this.maxParallelReads)this.waitingReads.push({lng:r,ns:c,fcName:u,tried:y,wait:w,callback:x});else{this.readingCalls++;var k=function resolver(k,E){if(p.readingCalls--,p.waitingReads.length&gt;0){var I=p.waitingReads.shift();p.read(I.lng,I.ns,I.fcName,I.tried,I.wait,I.callback)}k&amp;&amp;E&amp;&amp;y&lt;p.maxRetries?setTimeout((function(){p.read.call(p,r,c,u,y+1,2*w,x)}),w):x(k,E)},E=this.backend[u].bind(this.backend);if(2!==E.length)return E(r,c,k);try{var I=E(r,c);I&amp;&amp;"function"==typeof I.then?I.then((function(r){return k(null,r)})).catch(k):k(null,I)}catch(r){k(r)}}}},{key:"prepareLoading",value:function prepareLoading(r,c){var u=this,p=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{},y=arguments.length&gt;3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),y&amp;&amp;y();"string"==typeof r&amp;&amp;(r=this.languageUtils.toResolveHierarchy(r)),"string"==typeof c&amp;&amp;(c=[c]);var w=this.queueLoad(r,c,p,y);if(!w.toLoad.length)return w.pending.length||y(),null;w.toLoad.forEach((function(r){u.loadOne(r)}))}},{key:"load",value:function load(r,c,u){this.prepareLoading(r,c,{},u)}},{key:"reload",value:function reload(r,c,u){this.prepareLoading(r,c,{reload:!0},u)}},{key:"loadOne",value:function loadOne(r){var c=this,u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"",p=r.split("|"),y=p[0],w=p[1];this.read(y,w,"read",void 0,void 0,(function(p,x){p&amp;&amp;c.logger.warn("".concat(u,"loading namespace ").concat(w," for language ").concat(y," failed"),p),!p&amp;&amp;x&amp;&amp;c.logger.log("".concat(u,"loaded namespace ").concat(w," for language ").concat(y),x),c.loaded(r,p,x)}))}},{key:"saveMissing",value:function saveMissing(r,c,u,p,y){var w=arguments.length&gt;5&amp;&amp;void 0!==arguments[5]?arguments[5]:{},x=arguments.length&gt;6&amp;&amp;void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&amp;&amp;this.services.utils.hasLoadedNamespace&amp;&amp;!this.services.utils.hasLoadedNamespace(c))this.logger.warn('did not save key "'.concat(u,'" as the namespace "').concat(c,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=u&amp;&amp;""!==u){if(this.backend&amp;&amp;this.backend.create){var k=_objectSpread$1(_objectSpread$1({},w),{},{isUpdate:y}),E=this.backend.create.bind(this.backend);if(E.length&lt;6)try{var I;(I=5===E.length?E(r,c,u,p,k):E(r,c,u,p))&amp;&amp;"function"==typeof I.then?I.then((function(r){return x(null,r)})).catch(x):x(null,I)}catch(r){x(r)}else E(r,c,u,p,x,k)}r&amp;&amp;r[0]&amp;&amp;this.store.addResource(r[0],c,u,p)}}}]),Connector}(x);function get(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function handle(r){var c={};if("object"===_typeof(r[1])&amp;&amp;(c=r[1]),"string"==typeof r[1]&amp;&amp;(c.defaultValue=r[1]),"string"==typeof r[2]&amp;&amp;(c.tDescription=r[2]),"object"===_typeof(r[2])||"object"===_typeof(r[3])){var u=r[3]||r[2];Object.keys(u).forEach((function(r){c[r]=u[r]}))}return c},interpolation:{escapeValue:!0,format:function format(r,c,u,p){return r},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function transformOptions(r){return"string"==typeof r.ns&amp;&amp;(r.ns=[r.ns]),"string"==typeof r.fallbackLng&amp;&amp;(r.fallbackLng=[r.fallbackLng]),"string"==typeof r.fallbackNS&amp;&amp;(r.fallbackNS=[r.fallbackNS]),r.supportedLngs&amp;&amp;r.supportedLngs.indexOf("cimode")&lt;0&amp;&amp;(r.supportedLngs=r.supportedLngs.concat(["cimode"])),r}function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){_defineProperty(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}function _createSuper(r){var c=function _isNativeReflectConstruct(){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(r){return!1}}();return function _createSuperInternal(){var u,p=_getPrototypeOf(r);if(c){var y=_getPrototypeOf(this).constructor;u=Reflect.construct(p,arguments,y)}else u=p.apply(this,arguments);return _possibleConstructorReturn(this,u)}}function noop(){}var we=function(r){_inherits(I18n,r);var c=_createSuper(I18n);function I18n(){var r,u=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{},p=arguments.length&gt;1?arguments[1]:void 0;if(_classCallCheck(this,I18n),r=c.call(this),E&amp;&amp;x.call(_assertThisInitialized(r)),r.options=transformOptions(u),r.services={},r.logger=w,r.modules={external:[]},function bindMemberFunctions(r){Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((function(c){"function"==typeof r[c]&amp;&amp;(r[c]=r[c].bind(r))}))}(_assertThisInitialized(r)),p&amp;&amp;!r.isInitialized&amp;&amp;!u.isClone){if(!r.options.initImmediate)return r.init(u,p),_possibleConstructorReturn(r,_assertThisInitialized(r));setTimeout((function(){r.init(u,p)}),0)}return r}return _createClass(I18n,[{key:"init",value:function init(){var r=this,c=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{},u=arguments.length&gt;1?arguments[1]:void 0;"function"==typeof c&amp;&amp;(u=c,c={}),!c.defaultNS&amp;&amp;!1!==c.defaultNS&amp;&amp;c.ns&amp;&amp;("string"==typeof c.ns?c.defaultNS=c.ns:c.ns.indexOf("translation")&lt;0&amp;&amp;(c.defaultNS=c.ns[0]));var p=get();function createClassOnDemand(r){return r?"function"==typeof r?new r:r:null}if(this.options=_objectSpread(_objectSpread(_objectSpread({},p),this.options),transformOptions(c)),"v1"!==this.options.compatibilityAPI&amp;&amp;(this.options.interpolation=_objectSpread(_objectSpread({},p.interpolation),this.options.interpolation)),void 0!==c.keySeparator&amp;&amp;(this.options.userDefinedKeySeparator=c.keySeparator),void 0!==c.nsSeparator&amp;&amp;(this.options.userDefinedNsSeparator=c.nsSeparator),!this.options.isClone){var y;this.modules.logger?w.init(createClassOnDemand(this.modules.logger),this.options):w.init(null,this.options),this.modules.formatter?y=this.modules.formatter:"undefined"!=typeof Intl&amp;&amp;(y=ge);var x=new ae(this.options);this.store=new K(this.options.resources,this.options);var k=this.services;k.logger=w,k.resourceStore=this.store,k.languageUtils=x,k.pluralResolver=new de(x,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!y||this.options.interpolation.format&amp;&amp;this.options.interpolation.format!==p.interpolation.format||(k.formatter=createClassOnDemand(y),k.formatter.init(k,this.options),this.options.interpolation.format=k.formatter.format.bind(k.formatter)),k.interpolator=new he(this.options),k.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},k.backendConnector=new ve(createClassOnDemand(this.modules.backend),k.resourceStore,k,this.options),k.backendConnector.on("*",(function(c){for(var u=arguments.length,p=new Array(u&gt;1?u-1:0),y=1;y&lt;u;y++)p[y-1]=arguments[y];r.emit.apply(r,[c].concat(p))})),this.modules.languageDetector&amp;&amp;(k.languageDetector=createClassOnDemand(this.modules.languageDetector),k.languageDetector.init&amp;&amp;k.languageDetector.init(k,this.options.detection,this.options)),this.modules.i18nFormat&amp;&amp;(k.i18nFormat=createClassOnDemand(this.modules.i18nFormat),k.i18nFormat.init&amp;&amp;k.i18nFormat.init(this)),this.translator=new ie(this.services,this.options),this.translator.on("*",(function(c){for(var u=arguments.length,p=new Array(u&gt;1?u-1:0),y=1;y&lt;u;y++)p[y-1]=arguments[y];r.emit.apply(r,[c].concat(p))})),this.modules.external.forEach((function(c){c.init&amp;&amp;c.init(r)}))}if(this.format=this.options.interpolation.format,u||(u=noop),this.options.fallbackLng&amp;&amp;!this.services.languageDetector&amp;&amp;!this.options.lng){var E=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);E.length&gt;0&amp;&amp;"dev"!==E[0]&amp;&amp;(this.options.lng=E[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(c){r[c]=function(){var u;return(u=r.store)[c].apply(u,arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(c){r[c]=function(){var u;return(u=r.store)[c].apply(u,arguments),r}}));var I=defer(),J=function load(){var c=function finish(c,p){r.isInitialized&amp;&amp;!r.initializedStoreOnce&amp;&amp;r.logger.warn("init: i18next is already initialized. You should call init just once!"),r.isInitialized=!0,r.options.isClone||r.logger.log("initialized",r.options),r.emit("initialized",r.options),I.resolve(p),u(c,p)};if(r.languages&amp;&amp;"v1"!==r.options.compatibilityAPI&amp;&amp;!r.isInitialized)return c(null,r.t.bind(r));r.changeLanguage(r.options.lng,c)};return this.options.resources||!this.options.initImmediate?J():setTimeout(J,0),I}},{key:"loadResources",value:function loadResources(r){var c=this,u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:noop,p="string"==typeof r?r:this.language;if("function"==typeof r&amp;&amp;(u=r),!this.options.resources||this.options.partialBundledLanguages){if(p&amp;&amp;"cimode"===p.toLowerCase())return u();var y=[],w=function append(r){r&amp;&amp;c.services.languageUtils.toResolveHierarchy(r).forEach((function(r){y.indexOf(r)&lt;0&amp;&amp;y.push(r)}))};if(p)w(p);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(r){return w(r)}));this.options.preload&amp;&amp;this.options.preload.forEach((function(r){return w(r)})),this.services.backendConnector.load(y,this.options.ns,(function(r){r||c.resolvedLanguage||!c.language||c.setResolvedLanguage(c.language),u(r)}))}else u(null)}},{key:"reloadResources",value:function reloadResources(r,c,u){var p=defer();return r||(r=this.languages),c||(c=this.options.ns),u||(u=noop),this.services.backendConnector.reload(r,c,(function(r){p.resolve(),u(r)})),p}},{key:"use",value:function use(r){if(!r)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!r.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===r.type&amp;&amp;(this.modules.backend=r),("logger"===r.type||r.log&amp;&amp;r.warn&amp;&amp;r.error)&amp;&amp;(this.modules.logger=r),"languageDetector"===r.type&amp;&amp;(this.modules.languageDetector=r),"i18nFormat"===r.type&amp;&amp;(this.modules.i18nFormat=r),"postProcessor"===r.type&amp;&amp;J.addPostProcessor(r),"formatter"===r.type&amp;&amp;(this.modules.formatter=r),"3rdParty"===r.type&amp;&amp;this.modules.external.push(r),this}},{key:"setResolvedLanguage",value:function setResolvedLanguage(r){if(r&amp;&amp;this.languages&amp;&amp;!(["cimode","dev"].indexOf(r)&gt;-1))for(var c=0;c&lt;this.languages.length;c++){var u=this.languages[c];if(!(["cimode","dev"].indexOf(u)&gt;-1)&amp;&amp;this.store.hasLanguageSomeTranslations(u)){this.resolvedLanguage=u;break}}}},{key:"changeLanguage",value:function changeLanguage(r,c){var u=this;this.isLanguageChangingTo=r;var p=defer();this.emit("languageChanging",r);var y=function setLngProps(r){u.language=r,u.languages=u.services.languageUtils.toResolveHierarchy(r),u.resolvedLanguage=void 0,u.setResolvedLanguage(r)},w=function setLng(w){r||w||!u.services.languageDetector||(w=[]);var x="string"==typeof w?w:u.services.languageUtils.getBestMatchFromCodes(w);x&amp;&amp;(u.language||y(x),u.translator.language||u.translator.changeLanguage(x),u.services.languageDetector&amp;&amp;u.services.languageDetector.cacheUserLanguage&amp;&amp;u.services.languageDetector.cacheUserLanguage(x)),u.loadResources(x,(function(r){!function done(r,w){w?(y(w),u.translator.changeLanguage(w),u.isLanguageChangingTo=void 0,u.emit("languageChanged",w),u.logger.log("languageChanged",w)):u.isLanguageChangingTo=void 0,p.resolve((function(){return u.t.apply(u,arguments)})),c&amp;&amp;c(r,(function(){return u.t.apply(u,arguments)}))}(r,x)}))};return r||!this.services.languageDetector||this.services.languageDetector.async?!r&amp;&amp;this.services.languageDetector&amp;&amp;this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(w):this.services.languageDetector.detect(w):w(r):w(this.services.languageDetector.detect()),p}},{key:"getFixedT",value:function getFixedT(r,c,u){var p=this,y=function fixedT(r,c){var y;if("object"!==_typeof(c)){for(var w=arguments.length,x=new Array(w&gt;2?w-2:0),k=2;k&lt;w;k++)x[k-2]=arguments[k];y=p.options.overloadTranslationOptionHandler([r,c].concat(x))}else y=_objectSpread({},c);y.lng=y.lng||fixedT.lng,y.lngs=y.lngs||fixedT.lngs,y.ns=y.ns||fixedT.ns,y.keyPrefix=y.keyPrefix||u||fixedT.keyPrefix;var E,I=p.options.keySeparator||".";return E=y.keyPrefix&amp;&amp;Array.isArray(r)?r.map((function(r){return"".concat(y.keyPrefix).concat(I).concat(r)})):y.keyPrefix?"".concat(y.keyPrefix).concat(I).concat(r):r,p.t(E,y)};return"string"==typeof r?y.lng=r:y.lngs=r,y.ns=c,y.keyPrefix=u,y}},{key:"t",value:function t(){var r;return this.translator&amp;&amp;(r=this.translator).translate.apply(r,arguments)}},{key:"exists",value:function exists(){var r;return this.translator&amp;&amp;(r=this.translator).exists.apply(r,arguments)}},{key:"setDefaultNamespace",value:function setDefaultNamespace(r){this.options.defaultNS=r}},{key:"hasLoadedNamespace",value:function hasLoadedNamespace(r){var c=this,u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var p=this.resolvedLanguage||this.languages[0],y=!!this.options&amp;&amp;this.options.fallbackLng,w=this.languages[this.languages.length-1];if("cimode"===p.toLowerCase())return!0;var x=function loadNotPending(r,u){var p=c.services.backendConnector.state["".concat(r,"|").concat(u)];return-1===p||2===p};if(u.precheck){var k=u.precheck(this,x);if(void 0!==k)return k}return!!this.hasResourceBundle(p,r)||(!(this.services.backendConnector.backend&amp;&amp;(!this.options.resources||this.options.partialBundledLanguages))||!(!x(p,r)||y&amp;&amp;!x(w,r)))}},{key:"loadNamespaces",value:function loadNamespaces(r,c){var u=this,p=defer();return this.options.ns?("string"==typeof r&amp;&amp;(r=[r]),r.forEach((function(r){u.options.ns.indexOf(r)&lt;0&amp;&amp;u.options.ns.push(r)})),this.loadResources((function(r){p.resolve(),c&amp;&amp;c(r)})),p):(c&amp;&amp;c(),Promise.resolve())}},{key:"loadLanguages",value:function loadLanguages(r,c){var u=defer();"string"==typeof r&amp;&amp;(r=[r]);var p=this.options.preload||[],y=r.filter((function(r){return p.indexOf(r)&lt;0}));return y.length?(this.options.preload=p.concat(y),this.loadResources((function(r){u.resolve(),c&amp;&amp;c(r)})),u):(c&amp;&amp;c(),Promise.resolve())}},{key:"dir",value:function dir(r){if(r||(r=this.resolvedLanguage||(this.languages&amp;&amp;this.languages.length&gt;0?this.languages[0]:this.language)),!r)return"rtl";var c=this.services&amp;&amp;this.services.languageUtils||new ae(get());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(c.getLanguagePartFromCode(r))&gt;-1||r.toLowerCase().indexOf("-arab")&gt;1?"rtl":"ltr"}},{key:"cloneInstance",value:function cloneInstance(){var r=this,c=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{},u=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:noop,p=_objectSpread(_objectSpread(_objectSpread({},this.options),c),{isClone:!0}),y=new I18n(p);void 0===c.debug&amp;&amp;void 0===c.prefix||(y.logger=y.logger.clone(c));return["store","services","language"].forEach((function(c){y[c]=r[c]})),y.services=_objectSpread({},this.services),y.services.utils={hasLoadedNamespace:y.hasLoadedNamespace.bind(y)},y.translator=new ie(y.services,y.options),y.translator.on("*",(function(r){for(var c=arguments.length,u=new Array(c&gt;1?c-1:0),p=1;p&lt;c;p++)u[p-1]=arguments[p];y.emit.apply(y,[r].concat(u))})),y.init(p,u),y.translator.options=y.options,y.translator.backendConnector.services.utils={hasLoadedNamespace:y.hasLoadedNamespace.bind(y)},y}},{key:"toJSON",value:function toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),I18n}(x);_defineProperty(we,"createInstance",(function(){return new we(arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{},arguments.length&gt;1?arguments[1]:void 0)}));var Se=we.createInstance();Se.createInstance=we.createInstance;Se.createInstance,Se.dir,Se.init,Se.loadResources,Se.reloadResources,Se.use,Se.changeLanguage,Se.getFixedT,Se.t,Se.exists,Se.setDefaultNamespace,Se.hasLoadedNamespace,Se.loadNamespaces,Se.loadLanguages},13659:function(r,c,u){"use strict";function asyncGeneratorStep(r,c,u,p,y,w,x){try{var k=r[w](x),E=k.value}catch(r){return void u(r)}k.done?c(E):Promise.resolve(E).then(p,y)}function _asyncToGenerator(r){return function(){var c=this,u=arguments;return new Promise((function(p,y){var w=r.apply(c,u);function _next(r){asyncGeneratorStep(w,p,y,_next,_throw,"next",r)}function _throw(r){asyncGeneratorStep(w,p,y,_next,_throw,"throw",r)}_next(void 0)}))}}u.d(c,{Z:function(){return _asyncToGenerator}})},82535:function(r,c,u){"use strict";function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")}u.d(c,{Z:function(){return _classCallCheck}})},68751:function(r,c,u){"use strict";function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var p=c[u];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&amp;&amp;(p.writable=!0),Object.defineProperty(r,p.key,p)}}function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),r}u.d(c,{Z:function(){return _createClass}})},62197:function(r,c,u){"use strict";function _defineProperty(r,c,u){return c in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r}u.d(c,{Z:function(){return _defineProperty}})},55055:function(r,c,u){"use strict";function _extends(){return _extends=Object.assign||function(r){for(var c=1;c&lt;arguments.length;c++){var u=arguments[c];for(var p in u)Object.prototype.hasOwnProperty.call(u,p)&amp;&amp;(r[p]=u[p])}return r},_extends.apply(this,arguments)}u.d(c,{Z:function(){return _extends}})},99840:function(r,c,u){"use strict";function _newArrowCheck(r,c){if(r!==c)throw new TypeError("Cannot instantiate an arrow function")}u.d(c,{Z:function(){return _newArrowCheck}})},53039:function(r,c,u){"use strict";function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}function _slicedToArray(r,c){return function _arrayWithHoles(r){if(Array.isArray(r))return r}(r)||function _iterableToArrayLimit(r,c){var u=null==r?null:"undefined"!=typeof Symbol&amp;&amp;r[Symbol.iterator]||r["@@iterator"];if(null!=u){var p,y,w=[],x=!0,k=!1;try{for(u=u.call(r);!(x=(p=u.next()).done)&amp;&amp;(w.push(p.value),!c||w.length!==c);x=!0);}catch(r){k=!0,y=r}finally{try{x||null==u.return||u.return()}finally{if(k)throw y}}return w}}(r,c)||function _unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return _arrayLikeToArray(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?_arrayLikeToArray(r,c):void 0}}(r,c)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}u.d(c,{Z:function(){return _slicedToArray}})},99775:function(r,c,u){"use strict";function asyncGeneratorStep(r,c,u,p,y,w,x){try{var k=r[w](x),E=k.value}catch(r){return void u(r)}k.done?c(E):Promise.resolve(E).then(p,y)}function _asyncToGenerator(r){return function(){var c=this,u=arguments;return new Promise((function(p,y){var w=r.apply(c,u);function _next(r){asyncGeneratorStep(w,p,y,_next,_throw,"next",r)}function _throw(r){asyncGeneratorStep(w,p,y,_next,_throw,"throw",r)}_next(void 0)}))}}u.d(c,{Z:function(){return _asyncToGenerator}})},54734:function(r,c,u){"use strict";function _newArrowCheck(r,c){if(r!==c)throw new TypeError("Cannot instantiate an arrow function")}u.d(c,{Z:function(){return _newArrowCheck}})},19289:function(r,c,u){"use strict";function _arrayLikeToArray(r,c){(null==c||c&gt;r.length)&amp;&amp;(c=r.length);for(var u=0,p=new Array(c);u&lt;c;u++)p[u]=r[u];return p}u.d(c,{Z:function(){return _arrayLikeToArray}})},1578:function(r,c,u){"use strict";function asyncGeneratorStep(r,c,u,p,y,w,x){try{var k=r[w](x),E=k.value}catch(r){return void u(r)}k.done?c(E):Promise.resolve(E).then(p,y)}function _asyncToGenerator(r){return function(){var c=this,u=arguments;return new Promise((function(p,y){var w=r.apply(c,u);function _next(r){asyncGeneratorStep(w,p,y,_next,_throw,"next",r)}function _throw(r){asyncGeneratorStep(w,p,y,_next,_throw,"throw",r)}_next(void 0)}))}}u.d(c,{Z:function(){return _asyncToGenerator}})},15243:function(r,c,u){"use strict";function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")}u.d(c,{Z:function(){return _classCallCheck}})},27508:function(r,c,u){"use strict";function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var p=c[u];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&amp;&amp;(p.writable=!0),Object.defineProperty(r,p.key,p)}}function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),r}u.d(c,{Z:function(){return _createClass}})},68742:function(r,c,u){"use strict";function _defineProperty(r,c,u){return c in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r}u.d(c,{Z:function(){return _defineProperty}})},93985:function(r,c,u){"use strict";function _newArrowCheck(r,c){if(r!==c)throw new TypeError("Cannot instantiate an arrow function")}u.d(c,{Z:function(){return _newArrowCheck}})},14058:function(r,c,u){"use strict";u.d(c,{Z:function(){return _unsupportedIterableToArray}});var p=u(19289);function _unsupportedIterableToArray(r,c){if(r){if("string"==typeof r)return(0,p.Z)(r,c);var u=Object.prototype.toString.call(r).slice(8,-1);return"Object"===u&amp;&amp;r.constructor&amp;&amp;(u=r.constructor.name),"Map"===u||"Set"===u?Array.from(r):"Arguments"===u||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?(0,p.Z)(r,c):void 0}}},95485:function(r){"use strict";r.exports=JSON.parse('{"Aacute":"Ã","aacute":"Ã¡","Abreve":"Ä‚","abreve":"Äƒ","ac":"âˆ¾","acd":"âˆ¿","acE":"âˆ¾Ì³","Acirc":"Ã‚","acirc":"Ã¢","acute":"Â´","Acy":"Ð","acy":"Ð°","AElig":"Ã†","aelig":"Ã¦","af":"â¡","Afr":"ð”„","afr":"ð”ž","Agrave":"Ã€","agrave":"Ã&nbsp;","alefsym":"â„µ","aleph":"â„µ","Alpha":"Î‘","alpha":"Î±","Amacr":"Ä€","amacr":"Ä","amalg":"â¨¿","amp":"&amp;","AMP":"&amp;","andand":"â©•","And":"â©“","and":"âˆ§","andd":"â©œ","andslope":"â©˜","andv":"â©š","ang":"âˆ&nbsp;","ange":"â¦¤","angle":"âˆ&nbsp;","angmsdaa":"â¦¨","angmsdab":"â¦©","angmsdac":"â¦ª","angmsdad":"â¦«","angmsdae":"â¦¬","angmsdaf":"â¦­","angmsdag":"â¦®","angmsdah":"â¦¯","angmsd":"âˆ¡","angrt":"âˆŸ","angrtvb":"âŠ¾","angrtvbd":"â¦","angsph":"âˆ¢","angst":"Ã…","angzarr":"â¼","Aogon":"Ä„","aogon":"Ä…","Aopf":"ð”¸","aopf":"ð•’","apacir":"â©¯","ap":"â‰ˆ","apE":"â©°","ape":"â‰Š","apid":"â‰‹","apos":"\'","ApplyFunction":"â¡","approx":"â‰ˆ","approxeq":"â‰Š","Aring":"Ã…","aring":"Ã¥","Ascr":"ð’œ","ascr":"ð’¶","Assign":"â‰”","ast":"*","asymp":"â‰ˆ","asympeq":"â‰","Atilde":"Ãƒ","atilde":"Ã£","Auml":"Ã„","auml":"Ã¤","awconint":"âˆ³","awint":"â¨‘","backcong":"â‰Œ","backepsilon":"Ï¶","backprime":"â€µ","backsim":"âˆ½","backsimeq":"â‹","Backslash":"âˆ–","Barv":"â«§","barvee":"âŠ½","barwed":"âŒ…","Barwed":"âŒ†","barwedge":"âŒ…","bbrk":"âŽµ","bbrktbrk":"âŽ¶","bcong":"â‰Œ","Bcy":"Ð‘","bcy":"Ð±","bdquo":"â€ž","becaus":"âˆµ","because":"âˆµ","Because":"âˆµ","bemptyv":"â¦°","bepsi":"Ï¶","bernou":"â„¬","Bernoullis":"â„¬","Beta":"Î’","beta":"Î²","beth":"â„¶","between":"â‰¬","Bfr":"ð”…","bfr":"ð”Ÿ","bigcap":"â‹‚","bigcirc":"â—¯","bigcup":"â‹ƒ","bigodot":"â¨€","bigoplus":"â¨","bigotimes":"â¨‚","bigsqcup":"â¨†","bigstar":"â˜…","bigtriangledown":"â–½","bigtriangleup":"â–³","biguplus":"â¨„","bigvee":"â‹","bigwedge":"â‹€","bkarow":"â¤","blacklozenge":"â§«","blacksquare":"â–ª","blacktriangle":"â–´","blacktriangledown":"â–¾","blacktriangleleft":"â—‚","blacktriangleright":"â–¸","blank":"â£","blk12":"â–’","blk14":"â–‘","blk34":"â–“","block":"â–ˆ","bne":"=âƒ¥","bnequiv":"â‰¡âƒ¥","bNot":"â«­","bnot":"âŒ","Bopf":"ð”¹","bopf":"ð•“","bot":"âŠ¥","bottom":"âŠ¥","bowtie":"â‹ˆ","boxbox":"â§‰","boxdl":"â”","boxdL":"â••","boxDl":"â•–","boxDL":"â•—","boxdr":"â”Œ","boxdR":"â•’","boxDr":"â•“","boxDR":"â•”","boxh":"â”€","boxH":"â•","boxhd":"â”¬","boxHd":"â•¤","boxhD":"â•¥","boxHD":"â•¦","boxhu":"â”´","boxHu":"â•§","boxhU":"â•¨","boxHU":"â•©","boxminus":"âŠŸ","boxplus":"âŠž","boxtimes":"âŠ&nbsp;","boxul":"â”˜","boxuL":"â•›","boxUl":"â•œ","boxUL":"â•","boxur":"â””","boxuR":"â•˜","boxUr":"â•™","boxUR":"â•š","boxv":"â”‚","boxV":"â•‘","boxvh":"â”¼","boxvH":"â•ª","boxVh":"â•«","boxVH":"â•¬","boxvl":"â”¤","boxvL":"â•¡","boxVl":"â•¢","boxVL":"â•£","boxvr":"â”œ","boxvR":"â•ž","boxVr":"â•Ÿ","boxVR":"â•&nbsp;","bprime":"â€µ","breve":"Ë˜","Breve":"Ë˜","brvbar":"Â¦","bscr":"ð’·","Bscr":"â„¬","bsemi":"â","bsim":"âˆ½","bsime":"â‹","bsolb":"â§…","bsol":"\\\\","bsolhsub":"âŸˆ","bull":"â€¢","bullet":"â€¢","bump":"â‰Ž","bumpE":"âª®","bumpe":"â‰","Bumpeq":"â‰Ž","bumpeq":"â‰","Cacute":"Ä†","cacute":"Ä‡","capand":"â©„","capbrcup":"â©‰","capcap":"â©‹","cap":"âˆ©","Cap":"â‹’","capcup":"â©‡","capdot":"â©€","CapitalDifferentialD":"â……","caps":"âˆ©ï¸€","caret":"â","caron":"Ë‡","Cayleys":"â„­","ccaps":"â©","Ccaron":"ÄŒ","ccaron":"Ä","Ccedil":"Ã‡","ccedil":"Ã§","Ccirc":"Äˆ","ccirc":"Ä‰","Cconint":"âˆ°","ccups":"â©Œ","ccupssm":"â©","Cdot":"ÄŠ","cdot":"Ä‹","cedil":"Â¸","Cedilla":"Â¸","cemptyv":"â¦²","cent":"Â¢","centerdot":"Â·","CenterDot":"Â·","cfr":"ð”&nbsp;","Cfr":"â„­","CHcy":"Ð§","chcy":"Ñ‡","check":"âœ“","checkmark":"âœ“","Chi":"Î§","chi":"Ï‡","circ":"Ë†","circeq":"â‰—","circlearrowleft":"â†º","circlearrowright":"â†»","circledast":"âŠ›","circledcirc":"âŠš","circleddash":"âŠ","CircleDot":"âŠ™","circledR":"Â®","circledS":"â“ˆ","CircleMinus":"âŠ–","CirclePlus":"âŠ•","CircleTimes":"âŠ—","cir":"â—‹","cirE":"â§ƒ","cire":"â‰—","cirfnint":"â¨","cirmid":"â«¯","cirscir":"â§‚","ClockwiseContourIntegral":"âˆ²","CloseCurlyDoubleQuote":"â€","CloseCurlyQuote":"â€™","clubs":"â™£","clubsuit":"â™£","colon":":","Colon":"âˆ·","Colone":"â©´","colone":"â‰”","coloneq":"â‰”","comma":",","commat":"@","comp":"âˆ","compfn":"âˆ˜","complement":"âˆ","complexes":"â„‚","cong":"â‰…","congdot":"â©­","Congruent":"â‰¡","conint":"âˆ®","Conint":"âˆ¯","ContourIntegral":"âˆ®","copf":"ð•”","Copf":"â„‚","coprod":"âˆ","Coproduct":"âˆ","copy":"Â©","COPY":"Â©","copysr":"â„—","CounterClockwiseContourIntegral":"âˆ³","crarr":"â†µ","cross":"âœ—","Cross":"â¨¯","Cscr":"ð’ž","cscr":"ð’¸","csub":"â«","csube":"â«‘","csup":"â«","csupe":"â«’","ctdot":"â‹¯","cudarrl":"â¤¸","cudarrr":"â¤µ","cuepr":"â‹ž","cuesc":"â‹Ÿ","cularr":"â†¶","cularrp":"â¤½","cupbrcap":"â©ˆ","cupcap":"â©†","CupCap":"â‰","cup":"âˆª","Cup":"â‹“","cupcup":"â©Š","cupdot":"âŠ","cupor":"â©…","cups":"âˆªï¸€","curarr":"â†·","curarrm":"â¤¼","curlyeqprec":"â‹ž","curlyeqsucc":"â‹Ÿ","curlyvee":"â‹Ž","curlywedge":"â‹","curren":"Â¤","curvearrowleft":"â†¶","curvearrowright":"â†·","cuvee":"â‹Ž","cuwed":"â‹","cwconint":"âˆ²","cwint":"âˆ±","cylcty":"âŒ­","dagger":"â€&nbsp;","Dagger":"â€¡","daleth":"â„¸","darr":"â†“","Darr":"â†¡","dArr":"â‡“","dash":"â€","Dashv":"â«¤","dashv":"âŠ£","dbkarow":"â¤","dblac":"Ë","Dcaron":"ÄŽ","dcaron":"Ä","Dcy":"Ð”","dcy":"Ð´","ddagger":"â€¡","ddarr":"â‡Š","DD":"â……","dd":"â…†","DDotrahd":"â¤‘","ddotseq":"â©·","deg":"Â°","Del":"âˆ‡","Delta":"Î”","delta":"Î´","demptyv":"â¦±","dfisht":"â¥¿","Dfr":"ð”‡","dfr":"ð”¡","dHar":"â¥¥","dharl":"â‡ƒ","dharr":"â‡‚","DiacriticalAcute":"Â´","DiacriticalDot":"Ë™","DiacriticalDoubleAcute":"Ë","DiacriticalGrave":"`","DiacriticalTilde":"Ëœ","diam":"â‹„","diamond":"â‹„","Diamond":"â‹„","diamondsuit":"â™¦","diams":"â™¦","die":"Â¨","DifferentialD":"â…†","digamma":"Ï","disin":"â‹²","div":"Ã·","divide":"Ã·","divideontimes":"â‹‡","divonx":"â‹‡","DJcy":"Ð‚","djcy":"Ñ’","dlcorn":"âŒž","dlcrop":"âŒ","dollar":"$","Dopf":"ð”»","dopf":"ð••","Dot":"Â¨","dot":"Ë™","DotDot":"âƒœ","doteq":"â‰","doteqdot":"â‰‘","DotEqual":"â‰","dotminus":"âˆ¸","dotplus":"âˆ”","dotsquare":"âŠ¡","doublebarwedge":"âŒ†","DoubleContourIntegral":"âˆ¯","DoubleDot":"Â¨","DoubleDownArrow":"â‡“","DoubleLeftArrow":"â‡","DoubleLeftRightArrow":"â‡”","DoubleLeftTee":"â«¤","DoubleLongLeftArrow":"âŸ¸","DoubleLongLeftRightArrow":"âŸº","DoubleLongRightArrow":"âŸ¹","DoubleRightArrow":"â‡’","DoubleRightTee":"âŠ¨","DoubleUpArrow":"â‡‘","DoubleUpDownArrow":"â‡•","DoubleVerticalBar":"âˆ¥","DownArrowBar":"â¤“","downarrow":"â†“","DownArrow":"â†“","Downarrow":"â‡“","DownArrowUpArrow":"â‡µ","DownBreve":"Ì‘","downdownarrows":"â‡Š","downharpoonleft":"â‡ƒ","downharpoonright":"â‡‚","DownLeftRightVector":"â¥","DownLeftTeeVector":"â¥ž","DownLeftVectorBar":"â¥–","DownLeftVector":"â†½","DownRightTeeVector":"â¥Ÿ","DownRightVectorBar":"â¥—","DownRightVector":"â‡","DownTeeArrow":"â†§","DownTee":"âŠ¤","drbkarow":"â¤","drcorn":"âŒŸ","drcrop":"âŒŒ","Dscr":"ð’Ÿ","dscr":"ð’¹","DScy":"Ð…","dscy":"Ñ•","dsol":"â§¶","Dstrok":"Ä","dstrok":"Ä‘","dtdot":"â‹±","dtri":"â–¿","dtrif":"â–¾","duarr":"â‡µ","duhar":"â¥¯","dwangle":"â¦¦","DZcy":"Ð","dzcy":"ÑŸ","dzigrarr":"âŸ¿","Eacute":"Ã‰","eacute":"Ã©","easter":"â©®","Ecaron":"Äš","ecaron":"Ä›","Ecirc":"ÃŠ","ecirc":"Ãª","ecir":"â‰–","ecolon":"â‰•","Ecy":"Ð­","ecy":"Ñ","eDDot":"â©·","Edot":"Ä–","edot":"Ä—","eDot":"â‰‘","ee":"â…‡","efDot":"â‰’","Efr":"ð”ˆ","efr":"ð”¢","eg":"âªš","Egrave":"Ãˆ","egrave":"Ã¨","egs":"âª–","egsdot":"âª˜","el":"âª™","Element":"âˆˆ","elinters":"â§","ell":"â„“","els":"âª•","elsdot":"âª—","Emacr":"Ä’","emacr":"Ä“","empty":"âˆ…","emptyset":"âˆ…","EmptySmallSquare":"â—»","emptyv":"âˆ…","EmptyVerySmallSquare":"â–«","emsp13":"â€„","emsp14":"â€…","emsp":"â€ƒ","ENG":"ÅŠ","eng":"Å‹","ensp":"â€‚","Eogon":"Ä˜","eogon":"Ä™","Eopf":"ð”¼","eopf":"ð•–","epar":"â‹•","eparsl":"â§£","eplus":"â©±","epsi":"Îµ","Epsilon":"Î•","epsilon":"Îµ","epsiv":"Ïµ","eqcirc":"â‰–","eqcolon":"â‰•","eqsim":"â‰‚","eqslantgtr":"âª–","eqslantless":"âª•","Equal":"â©µ","equals":"=","EqualTilde":"â‰‚","equest":"â‰Ÿ","Equilibrium":"â‡Œ","equiv":"â‰¡","equivDD":"â©¸","eqvparsl":"â§¥","erarr":"â¥±","erDot":"â‰“","escr":"â„¯","Escr":"â„°","esdot":"â‰","Esim":"â©³","esim":"â‰‚","Eta":"Î—","eta":"Î·","ETH":"Ã","eth":"Ã°","Euml":"Ã‹","euml":"Ã«","euro":"â‚¬","excl":"!","exist":"âˆƒ","Exists":"âˆƒ","expectation":"â„°","exponentiale":"â…‡","ExponentialE":"â…‡","fallingdotseq":"â‰’","Fcy":"Ð¤","fcy":"Ñ„","female":"â™€","ffilig":"ï¬ƒ","fflig":"ï¬€","ffllig":"ï¬„","Ffr":"ð”‰","ffr":"ð”£","filig":"ï¬","FilledSmallSquare":"â—¼","FilledVerySmallSquare":"â–ª","fjlig":"fj","flat":"â™­","fllig":"ï¬‚","fltns":"â–±","fnof":"Æ’","Fopf":"ð”½","fopf":"ð•—","forall":"âˆ€","ForAll":"âˆ€","fork":"â‹”","forkv":"â«™","Fouriertrf":"â„±","fpartint":"â¨","frac12":"Â½","frac13":"â…“","frac14":"Â¼","frac15":"â…•","frac16":"â…™","frac18":"â…›","frac23":"â…”","frac25":"â…–","frac34":"Â¾","frac35":"â…—","frac38":"â…œ","frac45":"â…˜","frac56":"â…š","frac58":"â…","frac78":"â…ž","frasl":"â„","frown":"âŒ¢","fscr":"ð’»","Fscr":"â„±","gacute":"Çµ","Gamma":"Î“","gamma":"Î³","Gammad":"Ïœ","gammad":"Ï","gap":"âª†","Gbreve":"Äž","gbreve":"ÄŸ","Gcedil":"Ä¢","Gcirc":"Äœ","gcirc":"Ä","Gcy":"Ð“","gcy":"Ð³","Gdot":"Ä&nbsp;","gdot":"Ä¡","ge":"â‰¥","gE":"â‰§","gEl":"âªŒ","gel":"â‹›","geq":"â‰¥","geqq":"â‰§","geqslant":"â©¾","gescc":"âª©","ges":"â©¾","gesdot":"âª€","gesdoto":"âª‚","gesdotol":"âª„","gesl":"â‹›ï¸€","gesles":"âª”","Gfr":"ð”Š","gfr":"ð”¤","gg":"â‰«","Gg":"â‹™","ggg":"â‹™","gimel":"â„·","GJcy":"Ðƒ","gjcy":"Ñ“","gla":"âª¥","gl":"â‰·","glE":"âª’","glj":"âª¤","gnap":"âªŠ","gnapprox":"âªŠ","gne":"âªˆ","gnE":"â‰©","gneq":"âªˆ","gneqq":"â‰©","gnsim":"â‹§","Gopf":"ð”¾","gopf":"ð•˜","grave":"`","GreaterEqual":"â‰¥","GreaterEqualLess":"â‹›","GreaterFullEqual":"â‰§","GreaterGreater":"âª¢","GreaterLess":"â‰·","GreaterSlantEqual":"â©¾","GreaterTilde":"â‰³","Gscr":"ð’¢","gscr":"â„Š","gsim":"â‰³","gsime":"âªŽ","gsiml":"âª","gtcc":"âª§","gtcir":"â©º","gt":"&gt;","GT":"&gt;","Gt":"â‰«","gtdot":"â‹—","gtlPar":"â¦•","gtquest":"â©¼","gtrapprox":"âª†","gtrarr":"â¥¸","gtrdot":"â‹—","gtreqless":"â‹›","gtreqqless":"âªŒ","gtrless":"â‰·","gtrsim":"â‰³","gvertneqq":"â‰©ï¸€","gvnE":"â‰©ï¸€","Hacek":"Ë‡","hairsp":"â€Š","half":"Â½","hamilt":"â„‹","HARDcy":"Ðª","hardcy":"ÑŠ","harrcir":"â¥ˆ","harr":"â†”","hArr":"â‡”","harrw":"â†­","Hat":"^","hbar":"â„","Hcirc":"Ä¤","hcirc":"Ä¥","hearts":"â™¥","heartsuit":"â™¥","hellip":"â€¦","hercon":"âŠ¹","hfr":"ð”¥","Hfr":"â„Œ","HilbertSpace":"â„‹","hksearow":"â¤¥","hkswarow":"â¤¦","hoarr":"â‡¿","homtht":"âˆ»","hookleftarrow":"â†©","hookrightarrow":"â†ª","hopf":"ð•™","Hopf":"â„","horbar":"â€•","HorizontalLine":"â”€","hscr":"ð’½","Hscr":"â„‹","hslash":"â„","Hstrok":"Ä¦","hstrok":"Ä§","HumpDownHump":"â‰Ž","HumpEqual":"â‰","hybull":"âƒ","hyphen":"â€","Iacute":"Ã","iacute":"Ã­","ic":"â£","Icirc":"ÃŽ","icirc":"Ã®","Icy":"Ð˜","icy":"Ð¸","Idot":"Ä°","IEcy":"Ð•","iecy":"Ðµ","iexcl":"Â¡","iff":"â‡”","ifr":"ð”¦","Ifr":"â„‘","Igrave":"ÃŒ","igrave":"Ã¬","ii":"â…ˆ","iiiint":"â¨Œ","iiint":"âˆ­","iinfin":"â§œ","iiota":"â„©","IJlig":"Ä²","ijlig":"Ä³","Imacr":"Äª","imacr":"Ä«","image":"â„‘","ImaginaryI":"â…ˆ","imagline":"â„","imagpart":"â„‘","imath":"Ä±","Im":"â„‘","imof":"âŠ·","imped":"Æµ","Implies":"â‡’","incare":"â„…","in":"âˆˆ","infin":"âˆž","infintie":"â§","inodot":"Ä±","intcal":"âŠº","int":"âˆ«","Int":"âˆ¬","integers":"â„¤","Integral":"âˆ«","intercal":"âŠº","Intersection":"â‹‚","intlarhk":"â¨—","intprod":"â¨¼","InvisibleComma":"â£","InvisibleTimes":"â¢","IOcy":"Ð","iocy":"Ñ‘","Iogon":"Ä®","iogon":"Ä¯","Iopf":"ð•€","iopf":"ð•š","Iota":"Î™","iota":"Î¹","iprod":"â¨¼","iquest":"Â¿","iscr":"ð’¾","Iscr":"â„","isin":"âˆˆ","isindot":"â‹µ","isinE":"â‹¹","isins":"â‹´","isinsv":"â‹³","isinv":"âˆˆ","it":"â¢","Itilde":"Ä¨","itilde":"Ä©","Iukcy":"Ð†","iukcy":"Ñ–","Iuml":"Ã","iuml":"Ã¯","Jcirc":"Ä´","jcirc":"Äµ","Jcy":"Ð™","jcy":"Ð¹","Jfr":"ð”","jfr":"ð”§","jmath":"È·","Jopf":"ð•","jopf":"ð•›","Jscr":"ð’¥","jscr":"ð’¿","Jsercy":"Ðˆ","jsercy":"Ñ˜","Jukcy":"Ð„","jukcy":"Ñ”","Kappa":"Îš","kappa":"Îº","kappav":"Ï°","Kcedil":"Ä¶","kcedil":"Ä·","Kcy":"Ðš","kcy":"Ðº","Kfr":"ð”Ž","kfr":"ð”¨","kgreen":"Ä¸","KHcy":"Ð¥","khcy":"Ñ…","KJcy":"ÐŒ","kjcy":"Ñœ","Kopf":"ð•‚","kopf":"ð•œ","Kscr":"ð’¦","kscr":"ð“€","lAarr":"â‡š","Lacute":"Ä¹","lacute":"Äº","laemptyv":"â¦´","lagran":"â„’","Lambda":"Î›","lambda":"Î»","lang":"âŸ¨","Lang":"âŸª","langd":"â¦‘","langle":"âŸ¨","lap":"âª…","Laplacetrf":"â„’","laquo":"Â«","larrb":"â‡¤","larrbfs":"â¤Ÿ","larr":"â†","Larr":"â†ž","lArr":"â‡","larrfs":"â¤","larrhk":"â†©","larrlp":"â†«","larrpl":"â¤¹","larrsim":"â¥³","larrtl":"â†¢","latail":"â¤™","lAtail":"â¤›","lat":"âª«","late":"âª­","lates":"âª­ï¸€","lbarr":"â¤Œ","lBarr":"â¤Ž","lbbrk":"â²","lbrace":"{","lbrack":"[","lbrke":"â¦‹","lbrksld":"â¦","lbrkslu":"â¦","Lcaron":"Ä½","lcaron":"Ä¾","Lcedil":"Ä»","lcedil":"Ä¼","lceil":"âŒˆ","lcub":"{","Lcy":"Ð›","lcy":"Ð»","ldca":"â¤¶","ldquo":"â€œ","ldquor":"â€ž","ldrdhar":"â¥§","ldrushar":"â¥‹","ldsh":"â†²","le":"â‰¤","lE":"â‰¦","LeftAngleBracket":"âŸ¨","LeftArrowBar":"â‡¤","leftarrow":"â†","LeftArrow":"â†","Leftarrow":"â‡","LeftArrowRightArrow":"â‡†","leftarrowtail":"â†¢","LeftCeiling":"âŒˆ","LeftDoubleBracket":"âŸ¦","LeftDownTeeVector":"â¥¡","LeftDownVectorBar":"â¥™","LeftDownVector":"â‡ƒ","LeftFloor":"âŒŠ","leftharpoondown":"â†½","leftharpoonup":"â†¼","leftleftarrows":"â‡‡","leftrightarrow":"â†”","LeftRightArrow":"â†”","Leftrightarrow":"â‡”","leftrightarrows":"â‡†","leftrightharpoons":"â‡‹","leftrightsquigarrow":"â†­","LeftRightVector":"â¥Ž","LeftTeeArrow":"â†¤","LeftTee":"âŠ£","LeftTeeVector":"â¥š","leftthreetimes":"â‹‹","LeftTriangleBar":"â§","LeftTriangle":"âŠ²","LeftTriangleEqual":"âŠ´","LeftUpDownVector":"â¥‘","LeftUpTeeVector":"â¥&nbsp;","LeftUpVectorBar":"â¥˜","LeftUpVector":"â†¿","LeftVectorBar":"â¥’","LeftVector":"â†¼","lEg":"âª‹","leg":"â‹š","leq":"â‰¤","leqq":"â‰¦","leqslant":"â©½","lescc":"âª¨","les":"â©½","lesdot":"â©¿","lesdoto":"âª","lesdotor":"âªƒ","lesg":"â‹šï¸€","lesges":"âª“","lessapprox":"âª…","lessdot":"â‹–","lesseqgtr":"â‹š","lesseqqgtr":"âª‹","LessEqualGreater":"â‹š","LessFullEqual":"â‰¦","LessGreater":"â‰¶","lessgtr":"â‰¶","LessLess":"âª¡","lesssim":"â‰²","LessSlantEqual":"â©½","LessTilde":"â‰²","lfisht":"â¥¼","lfloor":"âŒŠ","Lfr":"ð”","lfr":"ð”©","lg":"â‰¶","lgE":"âª‘","lHar":"â¥¢","lhard":"â†½","lharu":"â†¼","lharul":"â¥ª","lhblk":"â–„","LJcy":"Ð‰","ljcy":"Ñ™","llarr":"â‡‡","ll":"â‰ª","Ll":"â‹˜","llcorner":"âŒž","Lleftarrow":"â‡š","llhard":"â¥«","lltri":"â—º","Lmidot":"Ä¿","lmidot":"Å€","lmoustache":"âŽ°","lmoust":"âŽ°","lnap":"âª‰","lnapprox":"âª‰","lne":"âª‡","lnE":"â‰¨","lneq":"âª‡","lneqq":"â‰¨","lnsim":"â‹¦","loang":"âŸ¬","loarr":"â‡½","lobrk":"âŸ¦","longleftarrow":"âŸµ","LongLeftArrow":"âŸµ","Longleftarrow":"âŸ¸","longleftrightarrow":"âŸ·","LongLeftRightArrow":"âŸ·","Longleftrightarrow":"âŸº","longmapsto":"âŸ¼","longrightarrow":"âŸ¶","LongRightArrow":"âŸ¶","Longrightarrow":"âŸ¹","looparrowleft":"â†«","looparrowright":"â†¬","lopar":"â¦…","Lopf":"ð•ƒ","lopf":"ð•","loplus":"â¨­","lotimes":"â¨´","lowast":"âˆ—","lowbar":"_","LowerLeftArrow":"â†™","LowerRightArrow":"â†˜","loz":"â—Š","lozenge":"â—Š","lozf":"â§«","lpar":"(","lparlt":"â¦“","lrarr":"â‡†","lrcorner":"âŒŸ","lrhar":"â‡‹","lrhard":"â¥­","lrm":"â€Ž","lrtri":"âŠ¿","lsaquo":"â€¹","lscr":"ð“","Lscr":"â„’","lsh":"â†°","Lsh":"â†°","lsim":"â‰²","lsime":"âª","lsimg":"âª","lsqb":"[","lsquo":"â€˜","lsquor":"â€š","Lstrok":"Å","lstrok":"Å‚","ltcc":"âª¦","ltcir":"â©¹","lt":"&lt;","LT":"&lt;","Lt":"â‰ª","ltdot":"â‹–","lthree":"â‹‹","ltimes":"â‹‰","ltlarr":"â¥¶","ltquest":"â©»","ltri":"â—ƒ","ltrie":"âŠ´","ltrif":"â—‚","ltrPar":"â¦–","lurdshar":"â¥Š","luruhar":"â¥¦","lvertneqq":"â‰¨ï¸€","lvnE":"â‰¨ï¸€","macr":"Â¯","male":"â™‚","malt":"âœ&nbsp;","maltese":"âœ&nbsp;","Map":"â¤…","map":"â†¦","mapsto":"â†¦","mapstodown":"â†§","mapstoleft":"â†¤","mapstoup":"â†¥","marker":"â–®","mcomma":"â¨©","Mcy":"Ðœ","mcy":"Ð¼","mdash":"â€”","mDDot":"âˆº","measuredangle":"âˆ¡","MediumSpace":"âŸ","Mellintrf":"â„³","Mfr":"ð”","mfr":"ð”ª","mho":"â„§","micro":"Âµ","midast":"*","midcir":"â«°","mid":"âˆ£","middot":"Â·","minusb":"âŠŸ","minus":"âˆ’","minusd":"âˆ¸","minusdu":"â¨ª","MinusPlus":"âˆ“","mlcp":"â«›","mldr":"â€¦","mnplus":"âˆ“","models":"âŠ§","Mopf":"ð•„","mopf":"ð•ž","mp":"âˆ“","mscr":"ð“‚","Mscr":"â„³","mstpos":"âˆ¾","Mu":"Îœ","mu":"Î¼","multimap":"âŠ¸","mumap":"âŠ¸","nabla":"âˆ‡","Nacute":"Åƒ","nacute":"Å„","nang":"âˆ&nbsp;âƒ’","nap":"â‰‰","napE":"â©°Ì¸","napid":"â‰‹Ì¸","napos":"Å‰","napprox":"â‰‰","natural":"â™®","naturals":"â„•","natur":"â™®","nbsp":"Â&nbsp;","nbump":"â‰ŽÌ¸","nbumpe":"â‰Ì¸","ncap":"â©ƒ","Ncaron":"Å‡","ncaron":"Åˆ","Ncedil":"Å…","ncedil":"Å†","ncong":"â‰‡","ncongdot":"â©­Ì¸","ncup":"â©‚","Ncy":"Ð","ncy":"Ð½","ndash":"â€“","nearhk":"â¤¤","nearr":"â†—","neArr":"â‡—","nearrow":"â†—","ne":"â‰&nbsp;","nedot":"â‰Ì¸","NegativeMediumSpace":"â€‹","NegativeThickSpace":"â€‹","NegativeThinSpace":"â€‹","NegativeVeryThinSpace":"â€‹","nequiv":"â‰¢","nesear":"â¤¨","nesim":"â‰‚Ì¸","NestedGreaterGreater":"â‰«","NestedLessLess":"â‰ª","NewLine":"\\n","nexist":"âˆ„","nexists":"âˆ„","Nfr":"ð”‘","nfr":"ð”«","ngE":"â‰§Ì¸","nge":"â‰±","ngeq":"â‰±","ngeqq":"â‰§Ì¸","ngeqslant":"â©¾Ì¸","nges":"â©¾Ì¸","nGg":"â‹™Ì¸","ngsim":"â‰µ","nGt":"â‰«âƒ’","ngt":"â‰¯","ngtr":"â‰¯","nGtv":"â‰«Ì¸","nharr":"â†®","nhArr":"â‡Ž","nhpar":"â«²","ni":"âˆ‹","nis":"â‹¼","nisd":"â‹º","niv":"âˆ‹","NJcy":"ÐŠ","njcy":"Ñš","nlarr":"â†š","nlArr":"â‡","nldr":"â€¥","nlE":"â‰¦Ì¸","nle":"â‰°","nleftarrow":"â†š","nLeftarrow":"â‡","nleftrightarrow":"â†®","nLeftrightarrow":"â‡Ž","nleq":"â‰°","nleqq":"â‰¦Ì¸","nleqslant":"â©½Ì¸","nles":"â©½Ì¸","nless":"â‰®","nLl":"â‹˜Ì¸","nlsim":"â‰´","nLt":"â‰ªâƒ’","nlt":"â‰®","nltri":"â‹ª","nltrie":"â‹¬","nLtv":"â‰ªÌ¸","nmid":"âˆ¤","NoBreak":"â&nbsp;","NonBreakingSpace":"Â&nbsp;","nopf":"ð•Ÿ","Nopf":"â„•","Not":"â«¬","not":"Â¬","NotCongruent":"â‰¢","NotCupCap":"â‰­","NotDoubleVerticalBar":"âˆ¦","NotElement":"âˆ‰","NotEqual":"â‰&nbsp;","NotEqualTilde":"â‰‚Ì¸","NotExists":"âˆ„","NotGreater":"â‰¯","NotGreaterEqual":"â‰±","NotGreaterFullEqual":"â‰§Ì¸","NotGreaterGreater":"â‰«Ì¸","NotGreaterLess":"â‰¹","NotGreaterSlantEqual":"â©¾Ì¸","NotGreaterTilde":"â‰µ","NotHumpDownHump":"â‰ŽÌ¸","NotHumpEqual":"â‰Ì¸","notin":"âˆ‰","notindot":"â‹µÌ¸","notinE":"â‹¹Ì¸","notinva":"âˆ‰","notinvb":"â‹·","notinvc":"â‹¶","NotLeftTriangleBar":"â§Ì¸","NotLeftTriangle":"â‹ª","NotLeftTriangleEqual":"â‹¬","NotLess":"â‰®","NotLessEqual":"â‰°","NotLessGreater":"â‰¸","NotLessLess":"â‰ªÌ¸","NotLessSlantEqual":"â©½Ì¸","NotLessTilde":"â‰´","NotNestedGreaterGreater":"âª¢Ì¸","NotNestedLessLess":"âª¡Ì¸","notni":"âˆŒ","notniva":"âˆŒ","notnivb":"â‹¾","notnivc":"â‹½","NotPrecedes":"âŠ€","NotPrecedesEqual":"âª¯Ì¸","NotPrecedesSlantEqual":"â‹&nbsp;","NotReverseElement":"âˆŒ","NotRightTriangleBar":"â§Ì¸","NotRightTriangle":"â‹«","NotRightTriangleEqual":"â‹­","NotSquareSubset":"âŠÌ¸","NotSquareSubsetEqual":"â‹¢","NotSquareSuperset":"âŠÌ¸","NotSquareSupersetEqual":"â‹£","NotSubset":"âŠ‚âƒ’","NotSubsetEqual":"âŠˆ","NotSucceeds":"âŠ","NotSucceedsEqual":"âª°Ì¸","NotSucceedsSlantEqual":"â‹¡","NotSucceedsTilde":"â‰¿Ì¸","NotSuperset":"âŠƒâƒ’","NotSupersetEqual":"âŠ‰","NotTilde":"â‰","NotTildeEqual":"â‰„","NotTildeFullEqual":"â‰‡","NotTildeTilde":"â‰‰","NotVerticalBar":"âˆ¤","nparallel":"âˆ¦","npar":"âˆ¦","nparsl":"â«½âƒ¥","npart":"âˆ‚Ì¸","npolint":"â¨”","npr":"âŠ€","nprcue":"â‹&nbsp;","nprec":"âŠ€","npreceq":"âª¯Ì¸","npre":"âª¯Ì¸","nrarrc":"â¤³Ì¸","nrarr":"â†›","nrArr":"â‡","nrarrw":"â†Ì¸","nrightarrow":"â†›","nRightarrow":"â‡","nrtri":"â‹«","nrtrie":"â‹­","nsc":"âŠ","nsccue":"â‹¡","nsce":"âª°Ì¸","Nscr":"ð’©","nscr":"ð“ƒ","nshortmid":"âˆ¤","nshortparallel":"âˆ¦","nsim":"â‰","nsime":"â‰„","nsimeq":"â‰„","nsmid":"âˆ¤","nspar":"âˆ¦","nsqsube":"â‹¢","nsqsupe":"â‹£","nsub":"âŠ„","nsubE":"â«…Ì¸","nsube":"âŠˆ","nsubset":"âŠ‚âƒ’","nsubseteq":"âŠˆ","nsubseteqq":"â«…Ì¸","nsucc":"âŠ","nsucceq":"âª°Ì¸","nsup":"âŠ…","nsupE":"â«†Ì¸","nsupe":"âŠ‰","nsupset":"âŠƒâƒ’","nsupseteq":"âŠ‰","nsupseteqq":"â«†Ì¸","ntgl":"â‰¹","Ntilde":"Ã‘","ntilde":"Ã±","ntlg":"â‰¸","ntriangleleft":"â‹ª","ntrianglelefteq":"â‹¬","ntriangleright":"â‹«","ntrianglerighteq":"â‹­","Nu":"Î","nu":"Î½","num":"#","numero":"â„–","numsp":"â€‡","nvap":"â‰âƒ’","nvdash":"âŠ¬","nvDash":"âŠ­","nVdash":"âŠ®","nVDash":"âŠ¯","nvge":"â‰¥âƒ’","nvgt":"&gt;âƒ’","nvHarr":"â¤„","nvinfin":"â§ž","nvlArr":"â¤‚","nvle":"â‰¤âƒ’","nvlt":"&lt;âƒ’","nvltrie":"âŠ´âƒ’","nvrArr":"â¤ƒ","nvrtrie":"âŠµâƒ’","nvsim":"âˆ¼âƒ’","nwarhk":"â¤£","nwarr":"â†–","nwArr":"â‡–","nwarrow":"â†–","nwnear":"â¤§","Oacute":"Ã“","oacute":"Ã³","oast":"âŠ›","Ocirc":"Ã”","ocirc":"Ã´","ocir":"âŠš","Ocy":"Ðž","ocy":"Ð¾","odash":"âŠ","Odblac":"Å","odblac":"Å‘","odiv":"â¨¸","odot":"âŠ™","odsold":"â¦¼","OElig":"Å’","oelig":"Å“","ofcir":"â¦¿","Ofr":"ð”’","ofr":"ð”¬","ogon":"Ë›","Ograve":"Ã’","ograve":"Ã²","ogt":"â§","ohbar":"â¦µ","ohm":"Î©","oint":"âˆ®","olarr":"â†º","olcir":"â¦¾","olcross":"â¦»","oline":"â€¾","olt":"â§€","Omacr":"ÅŒ","omacr":"Å","Omega":"Î©","omega":"Ï‰","Omicron":"ÎŸ","omicron":"Î¿","omid":"â¦¶","ominus":"âŠ–","Oopf":"ð•†","oopf":"ð•&nbsp;","opar":"â¦·","OpenCurlyDoubleQuote":"â€œ","OpenCurlyQuote":"â€˜","operp":"â¦¹","oplus":"âŠ•","orarr":"â†»","Or":"â©”","or":"âˆ¨","ord":"â©","order":"â„´","orderof":"â„´","ordf":"Âª","ordm":"Âº","origof":"âŠ¶","oror":"â©–","orslope":"â©—","orv":"â©›","oS":"â“ˆ","Oscr":"ð’ª","oscr":"â„´","Oslash":"Ã˜","oslash":"Ã¸","osol":"âŠ˜","Otilde":"Ã•","otilde":"Ãµ","otimesas":"â¨¶","Otimes":"â¨·","otimes":"âŠ—","Ouml":"Ã–","ouml":"Ã¶","ovbar":"âŒ½","OverBar":"â€¾","OverBrace":"âž","OverBracket":"âŽ´","OverParenthesis":"âœ","para":"Â¶","parallel":"âˆ¥","par":"âˆ¥","parsim":"â«³","parsl":"â«½","part":"âˆ‚","PartialD":"âˆ‚","Pcy":"ÐŸ","pcy":"Ð¿","percnt":"%","period":".","permil":"â€°","perp":"âŠ¥","pertenk":"â€±","Pfr":"ð”“","pfr":"ð”­","Phi":"Î¦","phi":"Ï†","phiv":"Ï•","phmmat":"â„³","phone":"â˜Ž","Pi":"Î&nbsp;","pi":"Ï€","pitchfork":"â‹”","piv":"Ï–","planck":"â„","planckh":"â„Ž","plankv":"â„","plusacir":"â¨£","plusb":"âŠž","pluscir":"â¨¢","plus":"+","plusdo":"âˆ”","plusdu":"â¨¥","pluse":"â©²","PlusMinus":"Â±","plusmn":"Â±","plussim":"â¨¦","plustwo":"â¨§","pm":"Â±","Poincareplane":"â„Œ","pointint":"â¨•","popf":"ð•¡","Popf":"â„™","pound":"Â£","prap":"âª·","Pr":"âª»","pr":"â‰º","prcue":"â‰¼","precapprox":"âª·","prec":"â‰º","preccurlyeq":"â‰¼","Precedes":"â‰º","PrecedesEqual":"âª¯","PrecedesSlantEqual":"â‰¼","PrecedesTilde":"â‰¾","preceq":"âª¯","precnapprox":"âª¹","precneqq":"âªµ","precnsim":"â‹¨","pre":"âª¯","prE":"âª³","precsim":"â‰¾","prime":"â€²","Prime":"â€³","primes":"â„™","prnap":"âª¹","prnE":"âªµ","prnsim":"â‹¨","prod":"âˆ","Product":"âˆ","profalar":"âŒ®","profline":"âŒ’","profsurf":"âŒ“","prop":"âˆ","Proportional":"âˆ","Proportion":"âˆ·","propto":"âˆ","prsim":"â‰¾","prurel":"âŠ°","Pscr":"ð’«","pscr":"ð“…","Psi":"Î¨","psi":"Ïˆ","puncsp":"â€ˆ","Qfr":"ð””","qfr":"ð”®","qint":"â¨Œ","qopf":"ð•¢","Qopf":"â„š","qprime":"â—","Qscr":"ð’¬","qscr":"ð“†","quaternions":"â„","quatint":"â¨–","quest":"?","questeq":"â‰Ÿ","quot":"\\"","QUOT":"\\"","rAarr":"â‡›","race":"âˆ½Ì±","Racute":"Å”","racute":"Å•","radic":"âˆš","raemptyv":"â¦³","rang":"âŸ©","Rang":"âŸ«","rangd":"â¦’","range":"â¦¥","rangle":"âŸ©","raquo":"Â»","rarrap":"â¥µ","rarrb":"â‡¥","rarrbfs":"â¤&nbsp;","rarrc":"â¤³","rarr":"â†’","Rarr":"â†&nbsp;","rArr":"â‡’","rarrfs":"â¤ž","rarrhk":"â†ª","rarrlp":"â†¬","rarrpl":"â¥…","rarrsim":"â¥´","Rarrtl":"â¤–","rarrtl":"â†£","rarrw":"â†","ratail":"â¤š","rAtail":"â¤œ","ratio":"âˆ¶","rationals":"â„š","rbarr":"â¤","rBarr":"â¤","RBarr":"â¤","rbbrk":"â³","rbrace":"}","rbrack":"]","rbrke":"â¦Œ","rbrksld":"â¦Ž","rbrkslu":"â¦","Rcaron":"Å˜","rcaron":"Å™","Rcedil":"Å–","rcedil":"Å—","rceil":"âŒ‰","rcub":"}","Rcy":"Ð&nbsp;","rcy":"Ñ€","rdca":"â¤·","rdldhar":"â¥©","rdquo":"â€","rdquor":"â€","rdsh":"â†³","real":"â„œ","realine":"â„›","realpart":"â„œ","reals":"â„","Re":"â„œ","rect":"â–­","reg":"Â®","REG":"Â®","ReverseElement":"âˆ‹","ReverseEquilibrium":"â‡‹","ReverseUpEquilibrium":"â¥¯","rfisht":"â¥½","rfloor":"âŒ‹","rfr":"ð”¯","Rfr":"â„œ","rHar":"â¥¤","rhard":"â‡","rharu":"â‡€","rharul":"â¥¬","Rho":"Î¡","rho":"Ï","rhov":"Ï±","RightAngleBracket":"âŸ©","RightArrowBar":"â‡¥","rightarrow":"â†’","RightArrow":"â†’","Rightarrow":"â‡’","RightArrowLeftArrow":"â‡„","rightarrowtail":"â†£","RightCeiling":"âŒ‰","RightDoubleBracket":"âŸ§","RightDownTeeVector":"â¥","RightDownVectorBar":"â¥•","RightDownVector":"â‡‚","RightFloor":"âŒ‹","rightharpoondown":"â‡","rightharpoonup":"â‡€","rightleftarrows":"â‡„","rightleftharpoons":"â‡Œ","rightrightarrows":"â‡‰","rightsquigarrow":"â†","RightTeeArrow":"â†¦","RightTee":"âŠ¢","RightTeeVector":"â¥›","rightthreetimes":"â‹Œ","RightTriangleBar":"â§","RightTriangle":"âŠ³","RightTriangleEqual":"âŠµ","RightUpDownVector":"â¥","RightUpTeeVector":"â¥œ","RightUpVectorBar":"â¥”","RightUpVector":"â†¾","RightVectorBar":"â¥“","RightVector":"â‡€","ring":"Ëš","risingdotseq":"â‰“","rlarr":"â‡„","rlhar":"â‡Œ","rlm":"â€","rmoustache":"âŽ±","rmoust":"âŽ±","rnmid":"â«®","roang":"âŸ­","roarr":"â‡¾","robrk":"âŸ§","ropar":"â¦†","ropf":"ð•£","Ropf":"â„","roplus":"â¨®","rotimes":"â¨µ","RoundImplies":"â¥°","rpar":")","rpargt":"â¦”","rppolint":"â¨’","rrarr":"â‡‰","Rrightarrow":"â‡›","rsaquo":"â€º","rscr":"ð“‡","Rscr":"â„›","rsh":"â†±","Rsh":"â†±","rsqb":"]","rsquo":"â€™","rsquor":"â€™","rthree":"â‹Œ","rtimes":"â‹Š","rtri":"â–¹","rtrie":"âŠµ","rtrif":"â–¸","rtriltri":"â§Ž","RuleDelayed":"â§´","ruluhar":"â¥¨","rx":"â„ž","Sacute":"Åš","sacute":"Å›","sbquo":"â€š","scap":"âª¸","Scaron":"Å&nbsp;","scaron":"Å¡","Sc":"âª¼","sc":"â‰»","sccue":"â‰½","sce":"âª°","scE":"âª´","Scedil":"Åž","scedil":"ÅŸ","Scirc":"Åœ","scirc":"Å","scnap":"âªº","scnE":"âª¶","scnsim":"â‹©","scpolint":"â¨“","scsim":"â‰¿","Scy":"Ð¡","scy":"Ñ","sdotb":"âŠ¡","sdot":"â‹…","sdote":"â©¦","searhk":"â¤¥","searr":"â†˜","seArr":"â‡˜","searrow":"â†˜","sect":"Â§","semi":";","seswar":"â¤©","setminus":"âˆ–","setmn":"âˆ–","sext":"âœ¶","Sfr":"ð”–","sfr":"ð”°","sfrown":"âŒ¢","sharp":"â™¯","SHCHcy":"Ð©","shchcy":"Ñ‰","SHcy":"Ð¨","shcy":"Ñˆ","ShortDownArrow":"â†“","ShortLeftArrow":"â†","shortmid":"âˆ£","shortparallel":"âˆ¥","ShortRightArrow":"â†’","ShortUpArrow":"â†‘","shy":"Â­","Sigma":"Î£","sigma":"Ïƒ","sigmaf":"Ï‚","sigmav":"Ï‚","sim":"âˆ¼","simdot":"â©ª","sime":"â‰ƒ","simeq":"â‰ƒ","simg":"âªž","simgE":"âª&nbsp;","siml":"âª","simlE":"âªŸ","simne":"â‰†","simplus":"â¨¤","simrarr":"â¥²","slarr":"â†","SmallCircle":"âˆ˜","smallsetminus":"âˆ–","smashp":"â¨³","smeparsl":"â§¤","smid":"âˆ£","smile":"âŒ£","smt":"âªª","smte":"âª¬","smtes":"âª¬ï¸€","SOFTcy":"Ð¬","softcy":"ÑŒ","solbar":"âŒ¿","solb":"â§„","sol":"/","Sopf":"ð•Š","sopf":"ð•¤","spades":"â™&nbsp;","spadesuit":"â™&nbsp;","spar":"âˆ¥","sqcap":"âŠ“","sqcaps":"âŠ“ï¸€","sqcup":"âŠ”","sqcups":"âŠ”ï¸€","Sqrt":"âˆš","sqsub":"âŠ","sqsube":"âŠ‘","sqsubset":"âŠ","sqsubseteq":"âŠ‘","sqsup":"âŠ","sqsupe":"âŠ’","sqsupset":"âŠ","sqsupseteq":"âŠ’","square":"â–¡","Square":"â–¡","SquareIntersection":"âŠ“","SquareSubset":"âŠ","SquareSubsetEqual":"âŠ‘","SquareSuperset":"âŠ","SquareSupersetEqual":"âŠ’","SquareUnion":"âŠ”","squarf":"â–ª","squ":"â–¡","squf":"â–ª","srarr":"â†’","Sscr":"ð’®","sscr":"ð“ˆ","ssetmn":"âˆ–","ssmile":"âŒ£","sstarf":"â‹†","Star":"â‹†","star":"â˜†","starf":"â˜…","straightepsilon":"Ïµ","straightphi":"Ï•","strns":"Â¯","sub":"âŠ‚","Sub":"â‹","subdot":"âª½","subE":"â«…","sube":"âŠ†","subedot":"â«ƒ","submult":"â«","subnE":"â«‹","subne":"âŠŠ","subplus":"âª¿","subrarr":"â¥¹","subset":"âŠ‚","Subset":"â‹","subseteq":"âŠ†","subseteqq":"â«…","SubsetEqual":"âŠ†","subsetneq":"âŠŠ","subsetneqq":"â«‹","subsim":"â«‡","subsub":"â«•","subsup":"â«“","succapprox":"âª¸","succ":"â‰»","succcurlyeq":"â‰½","Succeeds":"â‰»","SucceedsEqual":"âª°","SucceedsSlantEqual":"â‰½","SucceedsTilde":"â‰¿","succeq":"âª°","succnapprox":"âªº","succneqq":"âª¶","succnsim":"â‹©","succsim":"â‰¿","SuchThat":"âˆ‹","sum":"âˆ‘","Sum":"âˆ‘","sung":"â™ª","sup1":"Â¹","sup2":"Â²","sup3":"Â³","sup":"âŠƒ","Sup":"â‹‘","supdot":"âª¾","supdsub":"â«˜","supE":"â«†","supe":"âŠ‡","supedot":"â«„","Superset":"âŠƒ","SupersetEqual":"âŠ‡","suphsol":"âŸ‰","suphsub":"â«—","suplarr":"â¥»","supmult":"â«‚","supnE":"â«Œ","supne":"âŠ‹","supplus":"â«€","supset":"âŠƒ","Supset":"â‹‘","supseteq":"âŠ‡","supseteqq":"â«†","supsetneq":"âŠ‹","supsetneqq":"â«Œ","supsim":"â«ˆ","supsub":"â«”","supsup":"â«–","swarhk":"â¤¦","swarr":"â†™","swArr":"â‡™","swarrow":"â†™","swnwar":"â¤ª","szlig":"ÃŸ","Tab":"\\t","target":"âŒ–","Tau":"Î¤","tau":"Ï„","tbrk":"âŽ´","Tcaron":"Å¤","tcaron":"Å¥","Tcedil":"Å¢","tcedil":"Å£","Tcy":"Ð¢","tcy":"Ñ‚","tdot":"âƒ›","telrec":"âŒ•","Tfr":"ð”—","tfr":"ð”±","there4":"âˆ´","therefore":"âˆ´","Therefore":"âˆ´","Theta":"Î˜","theta":"Î¸","thetasym":"Ï‘","thetav":"Ï‘","thickapprox":"â‰ˆ","thicksim":"âˆ¼","ThickSpace":"âŸâ€Š","ThinSpace":"â€‰","thinsp":"â€‰","thkap":"â‰ˆ","thksim":"âˆ¼","THORN":"Ãž","thorn":"Ã¾","tilde":"Ëœ","Tilde":"âˆ¼","TildeEqual":"â‰ƒ","TildeFullEqual":"â‰…","TildeTilde":"â‰ˆ","timesbar":"â¨±","timesb":"âŠ&nbsp;","times":"Ã—","timesd":"â¨°","tint":"âˆ­","toea":"â¤¨","topbot":"âŒ¶","topcir":"â«±","top":"âŠ¤","Topf":"ð•‹","topf":"ð•¥","topfork":"â«š","tosa":"â¤©","tprime":"â€´","trade":"â„¢","TRADE":"â„¢","triangle":"â–µ","triangledown":"â–¿","triangleleft":"â—ƒ","trianglelefteq":"âŠ´","triangleq":"â‰œ","triangleright":"â–¹","trianglerighteq":"âŠµ","tridot":"â—¬","trie":"â‰œ","triminus":"â¨º","TripleDot":"âƒ›","triplus":"â¨¹","trisb":"â§","tritime":"â¨»","trpezium":"â¢","Tscr":"ð’¯","tscr":"ð“‰","TScy":"Ð¦","tscy":"Ñ†","TSHcy":"Ð‹","tshcy":"Ñ›","Tstrok":"Å¦","tstrok":"Å§","twixt":"â‰¬","twoheadleftarrow":"â†ž","twoheadrightarrow":"â†&nbsp;","Uacute":"Ãš","uacute":"Ãº","uarr":"â†‘","Uarr":"â†Ÿ","uArr":"â‡‘","Uarrocir":"â¥‰","Ubrcy":"ÐŽ","ubrcy":"Ñž","Ubreve":"Å¬","ubreve":"Å­","Ucirc":"Ã›","ucirc":"Ã»","Ucy":"Ð£","ucy":"Ñƒ","udarr":"â‡…","Udblac":"Å°","udblac":"Å±","udhar":"â¥®","ufisht":"â¥¾","Ufr":"ð”˜","ufr":"ð”²","Ugrave":"Ã™","ugrave":"Ã¹","uHar":"â¥£","uharl":"â†¿","uharr":"â†¾","uhblk":"â–€","ulcorn":"âŒœ","ulcorner":"âŒœ","ulcrop":"âŒ","ultri":"â—¸","Umacr":"Åª","umacr":"Å«","uml":"Â¨","UnderBar":"_","UnderBrace":"âŸ","UnderBracket":"âŽµ","UnderParenthesis":"â","Union":"â‹ƒ","UnionPlus":"âŠŽ","Uogon":"Å²","uogon":"Å³","Uopf":"ð•Œ","uopf":"ð•¦","UpArrowBar":"â¤’","uparrow":"â†‘","UpArrow":"â†‘","Uparrow":"â‡‘","UpArrowDownArrow":"â‡…","updownarrow":"â†•","UpDownArrow":"â†•","Updownarrow":"â‡•","UpEquilibrium":"â¥®","upharpoonleft":"â†¿","upharpoonright":"â†¾","uplus":"âŠŽ","UpperLeftArrow":"â†–","UpperRightArrow":"â†—","upsi":"Ï…","Upsi":"Ï’","upsih":"Ï’","Upsilon":"Î¥","upsilon":"Ï…","UpTeeArrow":"â†¥","UpTee":"âŠ¥","upuparrows":"â‡ˆ","urcorn":"âŒ","urcorner":"âŒ","urcrop":"âŒŽ","Uring":"Å®","uring":"Å¯","urtri":"â—¹","Uscr":"ð’°","uscr":"ð“Š","utdot":"â‹°","Utilde":"Å¨","utilde":"Å©","utri":"â–µ","utrif":"â–´","uuarr":"â‡ˆ","Uuml":"Ãœ","uuml":"Ã¼","uwangle":"â¦§","vangrt":"â¦œ","varepsilon":"Ïµ","varkappa":"Ï°","varnothing":"âˆ…","varphi":"Ï•","varpi":"Ï–","varpropto":"âˆ","varr":"â†•","vArr":"â‡•","varrho":"Ï±","varsigma":"Ï‚","varsubsetneq":"âŠŠï¸€","varsubsetneqq":"â«‹ï¸€","varsupsetneq":"âŠ‹ï¸€","varsupsetneqq":"â«Œï¸€","vartheta":"Ï‘","vartriangleleft":"âŠ²","vartriangleright":"âŠ³","vBar":"â«¨","Vbar":"â««","vBarv":"â«©","Vcy":"Ð’","vcy":"Ð²","vdash":"âŠ¢","vDash":"âŠ¨","Vdash":"âŠ©","VDash":"âŠ«","Vdashl":"â«¦","veebar":"âŠ»","vee":"âˆ¨","Vee":"â‹","veeeq":"â‰š","vellip":"â‹®","verbar":"|","Verbar":"â€–","vert":"|","Vert":"â€–","VerticalBar":"âˆ£","VerticalLine":"|","VerticalSeparator":"â˜","VerticalTilde":"â‰€","VeryThinSpace":"â€Š","Vfr":"ð”™","vfr":"ð”³","vltri":"âŠ²","vnsub":"âŠ‚âƒ’","vnsup":"âŠƒâƒ’","Vopf":"ð•","vopf":"ð•§","vprop":"âˆ","vrtri":"âŠ³","Vscr":"ð’±","vscr":"ð“‹","vsubnE":"â«‹ï¸€","vsubne":"âŠŠï¸€","vsupnE":"â«Œï¸€","vsupne":"âŠ‹ï¸€","Vvdash":"âŠª","vzigzag":"â¦š","Wcirc":"Å´","wcirc":"Åµ","wedbar":"â©Ÿ","wedge":"âˆ§","Wedge":"â‹€","wedgeq":"â‰™","weierp":"â„˜","Wfr":"ð”š","wfr":"ð”´","Wopf":"ð•Ž","wopf":"ð•¨","wp":"â„˜","wr":"â‰€","wreath":"â‰€","Wscr":"ð’²","wscr":"ð“Œ","xcap":"â‹‚","xcirc":"â—¯","xcup":"â‹ƒ","xdtri":"â–½","Xfr":"ð”›","xfr":"ð”µ","xharr":"âŸ·","xhArr":"âŸº","Xi":"Îž","xi":"Î¾","xlarr":"âŸµ","xlArr":"âŸ¸","xmap":"âŸ¼","xnis":"â‹»","xodot":"â¨€","Xopf":"ð•","xopf":"ð•©","xoplus":"â¨","xotime":"â¨‚","xrarr":"âŸ¶","xrArr":"âŸ¹","Xscr":"ð’³","xscr":"ð“","xsqcup":"â¨†","xuplus":"â¨„","xutri":"â–³","xvee":"â‹","xwedge":"â‹€","Yacute":"Ã","yacute":"Ã½","YAcy":"Ð¯","yacy":"Ñ","Ycirc":"Å¶","ycirc":"Å·","Ycy":"Ð«","ycy":"Ñ‹","yen":"Â¥","Yfr":"ð”œ","yfr":"ð”¶","YIcy":"Ð‡","yicy":"Ñ—","Yopf":"ð•","yopf":"ð•ª","Yscr":"ð’´","yscr":"ð“Ž","YUcy":"Ð®","yucy":"ÑŽ","yuml":"Ã¿","Yuml":"Å¸","Zacute":"Å¹","zacute":"Åº","Zcaron":"Å½","zcaron":"Å¾","Zcy":"Ð—","zcy":"Ð·","Zdot":"Å»","zdot":"Å¼","zeetrf":"â„¨","ZeroWidthSpace":"â€‹","Zeta":"Î–","zeta":"Î¶","zfr":"ð”·","Zfr":"â„¨","ZHcy":"Ð–","zhcy":"Ð¶","zigrarr":"â‡","zopf":"ð•«","Zopf":"â„¤","Zscr":"ð’µ","zscr":"ð“","zwj":"â€","zwnj":"â€Œ"}')},53214:function(r){"use strict";r.exports=JSON.parse('{"avatarBackgroundColor":"#edf4fc","avatarForegroundColor":"#5c6784","avatarBorderColor":"#edf4fc","botAnchorTextColor":"#3232d6","botAnchorTextColorVisited":"#5405bd","botBackgroundColor":"#f2f4f5","botIcon":"","botTextColor":"#000000","buttonBackgroundColor":"#edf4fc","buttonHoverBackgroundColor":"#edf4fc","buttonTextColor":"#005cde","buttonHoverTextColor":"#005cde","carouselTextColor":"#475059","chatIcon":"https://qa-cdn-talkdesk.talkdeskdev.com/cdn-assets/latest/talkdesk/product/app-icons/sms.svg","chatPlaceholder":"Type a message...","chatAriaLabel":"Type a message","chatThemeColor":"#1e0044","chatHoverThemeColor":"#172241","chatTitle":"Talkdesk Chat","chatTitleIcon":"https://qa-cdn-talkdesk.talkdeskdev.com/cdn-assets/latest/talkdesk/product/app-icons/sms.svg","replyBackgroundColor":"transparent","replyBorderColor":"#005cde","replyHoverTextColor":"#edf4fc","replyTextColor":"#005cde","startChatButtonBackgroundColor":"#1e0044","startChatButtonHoverBackgroundColor":"#1e0044","startChatButtonTextColor":"#ffffff","startChatButtonHoverTextColor":"#ffffff","startChatButtonBorderColor":"#1e0044","startChatButtonHoverBorderColor":"#1e0044","userAnchorTextColor":"#e1ccfe","userAnchorTextColorVisited":"#b681fc","userBackgroundColor":"#5405bd","userTextColor":"#ffffff","welcomeMessageBackgroundColor":"#4d356a","welcomeMessageTitleFontSize":"1.5em","welcomeMessageTitleFontFamily":"Roboto-Regular, sans-serif","welcomeMessageTitleColor":"#fff","welcomeMessageContentFontSize":"1em","welcomeMessageContentFontFamily":"Roboto-Regular, sans-serif","welcomeMessageContentColor":"#fff","customMessageFontSize":"14px","customMessageColor":"#202830","customMessageFontFamily":"Roboto-Regular, sans-serif","customMessageBackgroundColor":"rgb(242, 244, 245)","customMessageNoBubbleFontSize":"14px","customMessageNoBubbleColor":"#202830","customMessageNoBubbleFontFamily":"Roboto-Regular, sans-serif","customFieldLabelFontSize":"14px","customFieldLabelFontFamily":"Roboto, -apple-system, system-ui","customFieldLabelColor":"rgb(32, 40, 48)","customFieldInputFontSize":"","customFieldInputFontFamily":"Roboto, -apple-system, system-ui","customFieldInputColor":"#202830","customFieldInputBackgroundColor":"rgb(255, 255, 255)","customFieldInputPlaceholder":"Type","customFieldPhoneDescription":"Include the country code, avoid spaces and/or symbols (e.g. +1123456789).","customFieldPhoneInvalidFormatMessage":"Please type a valid phone number","customFieldEmailInvalidFormatMessage":"Please type a valid email","customDropdownLabelFontSize":"14px","customDropdownLabelFontFamily":"Roboto, -apple-system, system-ui","customDropdownLabelColor":"rgb(32, 40, 48)","customDropdownInputFontSize":"14px","customDropdownInputFontFamily":"Roboto, -apple-system, system-ui","customDropdownInputColor":"#202830","customDropdownInputBackgroundColor":"#fff","customDropdownInputPlaceholder":"Select","customButtonFontSize":"14px","customButtonFontFamily":"Arial","customButtonColor":"rgb(0, 63, 189)","customButtonBackgroundColor":"#fff","customButtonBorderColor":"rgb(0, 63, 189)","customButtonHeight":"32px","chatConfirmButtonBackgroundColor":"#3E048B","chatConfirmButtonFontColor":"#ffffff","chatConfirmButtonFontSize":"14px","chatConfirmButtonFontFamily":"Roboto-Regular, sans-serif","chatCancelButtonFontColor":"#3E048B","chatCancelButtonFontFamily":"Roboto-Regular, sans-serif","chatCancelButtonFontSize":"14px","chatDialogBoxIconColor":"#AEB3B8","chatDialogBoxEndChat":"Are you sure you want to end this chat?","chatDialogBoxFontFamily":"Roboto-Regular, sans-serif","chatDialogBoxFontSize":"16px","chatDialogBoxFontColor":"#202830","chatConfirmButtonEndChat":"Yes, end chat","chatCancelButtonEndChat":"Cancel","chatCloseButtonColor":"#ffffff","chatMinimizeButtonColor":"#ffffff","chatDialogBoxRetryEndChat":"There was an error while ending the chat.","chatConfirmButtonRetryEndChat":"Try again","chatCancelButtonRetryEndChat":"Dismiss","linkProtocol":"https","linkTarget":"_blank"}')},17483:function(r){"use strict";r.exports=JSON.parse('{"avatarBackgroundColor":"#edf4fc","avatarForegroundColor":"#5c6784","avatarBorderColor":"#edf4fc","botBackgroundColor":"#f2f4f5","botIcon":"","botTextColor":"#000000","buttonBackgroundColor":"#edf4fc","buttonHoverBackgroundColor":"#edf4fc","buttonTextColor":"#005cde","buttonHoverTextColor":"#005cde","carouselTextColor":"#475059","chatIcon":"https://prd-cdn-talkdesk.talkdesk.com/cdn-assets/latest/talkdesk/product/app-icons/virtual-agent.svg","chatPlaceholder":"Type a message...","chatThemeColor":"#1e0044","chatHoverThemeColor":"#172241","chatTitle":"Agent assistant","chatTitleIcon":"https://prd-cdn-talkdesk.talkdesk.com/cdn-assets/latest/talkdesk/product/app-icons/virtual-agent.svg","replyBackgroundColor":"transparent","replyBorderColor":"#005cde","replyHoverTextColor":"#edf4fc","replyTextColor":"#005cde","userBackgroundColor":"#5405bd","userTextColor":"#ffffff"}')}},__webpack_module_cache__={},leafPrototypes,getProto,inProgress,dataWebpackPrefix;function __webpack_require__(r){var c=__webpack_module_cache__[r];if(void 0!==c)return c.exports;var u=__webpack_module_cache__[r]={id:r,loaded:!1,exports:{}};return __webpack_modules__[r].call(u.exports,u,u.exports,__webpack_require__),u.loaded=!0,u.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},__webpack_require__.n=function(r){var c=r&amp;&amp;r.__esModule?function(){return r.default}:function(){return r};return __webpack_require__.d(c,{a:c}),c},getProto=Object.getPrototypeOf?function(r){return Object.getPrototypeOf(r)}:function(r){return r.__proto__},__webpack_require__.t=function(r,c){if(1&amp;c&amp;&amp;(r=this(r)),8&amp;c)return r;if("object"==typeof r&amp;&amp;r){if(4&amp;c&amp;&amp;r.__esModule)return r;if(16&amp;c&amp;&amp;"function"==typeof r.then)return r}var u=Object.create(null);__webpack_require__.r(u);var p={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var y=2&amp;c&amp;&amp;r;"object"==typeof y&amp;&amp;!~leafPrototypes.indexOf(y);y=getProto(y))Object.getOwnPropertyNames(y).forEach((function(c){p[c]=function(){return r[c]}}));return p.default=function(){return r},__webpack_require__.d(u,p),u},__webpack_require__.d=function(r,c){for(var u in c)__webpack_require__.o(c,u)&amp;&amp;!__webpack_require__.o(r,u)&amp;&amp;Object.defineProperty(r,u,{enumerable:!0,get:c[u]})},__webpack_require__.f={},__webpack_require__.e=function(r){return Promise.all(Object.keys(__webpack_require__.f).reduce((function(c,u){return __webpack_require__.f[u](r,c),c}),[]))},__webpack_require__.u=function(r){return r+".talkdeskchatsdk.js"},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(r){if("object"==typeof window)return window}}(),__webpack_require__.o=function(r,c){return Object.prototype.hasOwnProperty.call(r,c)},inProgress={},dataWebpackPrefix="TalkdeskChatSDK:",__webpack_require__.l=function(r,c,u,p){if(inProgress[r])inProgress[r].push(c);else{var y,w;if(void 0!==u)for(var x=document.getElementsByTagName("script"),k=0;k&lt;x.length;k++){var E=x[k];if(E.getAttribute("src")==r||E.getAttribute("data-webpack")==dataWebpackPrefix+u){y=E;break}}y||(w=!0,(y=document.createElement("script")).charset="utf-8",y.timeout=120,__webpack_require__.nc&amp;&amp;y.setAttribute("nonce",__webpack_require__.nc),y.setAttribute("data-webpack",dataWebpackPrefix+u),y.src=r),inProgress[r]=[c];var onScriptComplete=function(c,u){y.onerror=y.onload=null,clearTimeout(I);var p=inProgress[r];if(delete inProgress[r],y.parentNode&amp;&amp;y.parentNode.removeChild(y),p&amp;&amp;p.forEach((function(r){return r(u)})),c)return c(u)},I=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:y}),12e4);y.onerror=onScriptComplete.bind(null,y.onerror),y.onload=onScriptComplete.bind(null,y.onload),w&amp;&amp;document.head.appendChild(y)}},__webpack_require__.r=function(r){"undefined"!=typeof Symbol&amp;&amp;Symbol.toStringTag&amp;&amp;Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},__webpack_require__.nmd=function(r){return r.paths=[],r.children||(r.children=[]),r},function(){var r;__webpack_require__.g.importScripts&amp;&amp;(r=__webpack_require__.g.location+"");var c=__webpack_require__.g.document;if(!r&amp;&amp;c&amp;&amp;(c.currentScript&amp;&amp;(r=c.currentScript.src),!r)){var u=c.getElementsByTagName("script");if(u.length)for(var p=u.length-1;p&gt;-1&amp;&amp;!r;)r=u[p--].src}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),__webpack_require__.p=r}(),function(){__webpack_require__.b=document.baseURI||self.location.href;var r={179:0};__webpack_require__.f.j=function(c,u){var p=__webpack_require__.o(r,c)?r[c]:void 0;if(0!==p)if(p)u.push(p[2]);else{var y=new Promise((function(u,y){p=r[c]=[u,y]}));u.push(p[2]=y);var w=__webpack_require__.p+__webpack_require__.u(c),x=new Error;__webpack_require__.l(w,(function(u){if(__webpack_require__.o(r,c)&amp;&amp;(0!==(p=r[c])&amp;&amp;(r[c]=void 0),p)){var y=u&amp;&amp;("load"===u.type?"missing":u.type),w=u&amp;&amp;u.target&amp;&amp;u.target.src;x.message="Loading chunk "+c+" failed.\n("+y+": "+w+")",x.name="ChunkLoadError",x.type=y,x.request=w,p[1](x)}}),"chunk-"+c,c)}};var webpackJsonpCallback=function(c,u){var p,y,w=u[0],x=u[1],k=u[2],E=0;if(w.some((function(c){return 0!==r[c]}))){for(p in x)__webpack_require__.o(x,p)&amp;&amp;(__webpack_require__.m[p]=x[p]);if(k)k(__webpack_require__)}for(c&amp;&amp;c(u);E&lt;w.length;E++)y=w[E],__webpack_require__.o(r,y)&amp;&amp;r[y]&amp;&amp;r[y][0](),r[y]=0},c=self.webpackChunkTalkdeskChatSDK=self.webpackChunkTalkdeskChatSDK||[];c.forEach(webpackJsonpCallback.bind(null,0)),c.push=webpackJsonpCallback.bind(null,c.push.bind(c))}(),__webpack_require__.nc=void 0;var __webpack_exports__={};!function(){"use strict";__webpack_require__.d(__webpack_exports__,{app:function(){return Ht}});var r=__webpack_require__(30926),c=(__webpack_require__(82526),__webpack_require__(57327),__webpack_require__(38880),__webpack_require__(54747),__webpack_require__(49337),__webpack_require__(29439)),u=__webpack_require__(15861),p=__webpack_require__(43144),y=__webpack_require__(15671),w=__webpack_require__(4942),x=__webpack_require__(64687),k=__webpack_require__.n(x),E=(__webpack_require__(9653),__webpack_require__(21249),__webpack_require__(92222),__webpack_require__(66992),__webpack_require__(41539),__webpack_require__(88674),__webpack_require__(78783),__webpack_require__(33948),__webpack_require__(19601),__webpack_require__(47941),__webpack_require__(74916),__webpack_require__(92502)),I=__webpack_require__(4819),K=__webpack_require__(4675),J=__webpack_require__(56744),oe=__webpack_require__(45879),ie=__webpack_require__(71085),ae=[{id:K.Z.CONVERSATION_ENGINE_CONNECTOR,resolve:__webpack_require__(95700)}],se=__webpack_require__(47373),ue=__webpack_require__(54734),le=function getVirtualAgentConfigurations(r,c){return(0,ue.Z)(this,undefined),Promise.resolve({autotriggerDelay:void 0,enableAnimations:!0,enableAttachments:!1,enableEmojiPicker:!0,enableUserInput:!0,persistentMenu:void 0})}.bind(void 0),pe=function getConfigurations(r){return le(r,arguments.length&gt;1&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1])},de=__webpack_require__(99775),he=__webpack_require__(40262),ge=__webpack_require__.n(he),ve=__webpack_require__(83274),we=null,Se=function(){var r=(0,de.Z)(ge().mark((function _callee(r,c,u){return ge().wrap((function _callee$(p){for(;;)switch(p.prev=p.next){case 0:return we||(we=(0,ve.tQ)(r,c,u)),p.abrupt("return",we);case 2:case"end":return p.stop()}}),_callee)})));return function getTouchpointConfig(c,u,p){return r.apply(this,arguments)}}(),Oe=__webpack_require__(40121),Pe=__webpack_require__(10738),Le=__webpack_require__(49323);function _defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var p=c[u];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&amp;&amp;(p.writable=!0),Object.defineProperty(r,p.key,p)}}function _defineProperty(r,c,u){return c in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r}var Ie=__webpack_require__(67294);function ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function _objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?ownKeys(Object(u),!0).forEach((function(c){_defineProperty(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var je={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0};Ie.createContext();!function(){function ReportNamespaces(){!function _classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")}(this,ReportNamespaces),this.usedNamespaces={}}(function _createClass(r,c,u){return c&amp;&amp;_defineProperties(r.prototype,c),u&amp;&amp;_defineProperties(r,u),r})(ReportNamespaces,[{key:"addUsedNamespaces",value:function addUsedNamespaces(r){var c=this;r.forEach((function(r){c.usedNamespaces[r]||(c.usedNamespaces[r]=!0)}))}},{key:"getUsedNamespaces",value:function getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}])}();var De={type:"3rdParty",init:function init(r){!function setDefaults(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:{};je=_objectSpread(_objectSpread({},je),r)}(r.options.react),function setI18n(r){r}(r)}};function createClass_defineProperties(r,c){for(var u=0;u&lt;c.length;u++){var p=c[u];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&amp;&amp;(p.writable=!0),Object.defineProperty(r,p.key,p)}}var Ue=[],Fe=Ue.forEach,Ze=Ue.slice;var $e=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Ge=function create(r,c,u,p){var y=arguments.length&gt;4&amp;&amp;void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};u&amp;&amp;(y.expires=new Date,y.expires.setTime(y.expires.getTime()+60*u*1e3)),p&amp;&amp;(y.domain=p),document.cookie=function serializeCookie(r,c,u){var p=u||{};p.path=p.path||"/";var y=r+"="+encodeURIComponent(c);if(p.maxAge&gt;0){var w=p.maxAge-0;if(isNaN(w))throw new Error("maxAge should be a Number");y+="; Max-Age="+Math.floor(w)}if(p.domain){if(!$e.test(p.domain))throw new TypeError("option domain is invalid");y+="; Domain="+p.domain}if(p.path){if(!$e.test(p.path))throw new TypeError("option path is invalid");y+="; Path="+p.path}if(p.expires){if("function"!=typeof p.expires.toUTCString)throw new TypeError("option expires is invalid");y+="; Expires="+p.expires.toUTCString()}if(p.httpOnly&amp;&amp;(y+="; HttpOnly"),p.secure&amp;&amp;(y+="; Secure"),p.sameSite)switch("string"==typeof p.sameSite?p.sameSite.toLowerCase():p.sameSite){case!0:y+="; SameSite=Strict";break;case"lax":y+="; SameSite=Lax";break;case"strict":y+="; SameSite=Strict";break;case"none":y+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return y}(r,encodeURIComponent(c),y)},We=function read(r){for(var c=r+"=",u=document.cookie.split(";"),p=0;p&lt;u.length;p++){for(var y=u[p];" "===y.charAt(0);)y=y.substring(1,y.length);if(0===y.indexOf(c))return y.substring(c.length,y.length)}return null},Ke={name:"cookie",lookup:function lookup(r){var c;if(r.lookupCookie&amp;&amp;"undefined"!=typeof document){var u=We(r.lookupCookie);u&amp;&amp;(c=u)}return c},cacheUserLanguage:function cacheUserLanguage(r,c){c.lookupCookie&amp;&amp;"undefined"!=typeof document&amp;&amp;Ge(c.lookupCookie,r,c.cookieMinutes,c.cookieDomain,c.cookieOptions)}},Je={name:"querystring",lookup:function lookup(r){var c;if("undefined"!=typeof window)for(var u=window.location.search.substring(1).split("&amp;"),p=0;p&lt;u.length;p++){var y=u[p].indexOf("=");if(y&gt;0)u[p].substring(0,y)===r.lookupQuerystring&amp;&amp;(c=u[p].substring(y+1))}return c}},Ye=null,Xe=function localStorageAvailable(){if(null!==Ye)return Ye;try{Ye="undefined"!==window&amp;&amp;null!==window.localStorage;var r="i18next.translate.boo";window.localStorage.setItem(r,"foo"),window.localStorage.removeItem(r)}catch(r){Ye=!1}return Ye},Qe={name:"localStorage",lookup:function lookup(r){var c;if(r.lookupLocalStorage&amp;&amp;Xe()){var u=window.localStorage.getItem(r.lookupLocalStorage);u&amp;&amp;(c=u)}return c},cacheUserLanguage:function cacheUserLanguage(r,c){c.lookupLocalStorage&amp;&amp;Xe()&amp;&amp;window.localStorage.setItem(c.lookupLocalStorage,r)}},et=null,rt=function sessionStorageAvailable(){if(null!==et)return et;try{et="undefined"!==window&amp;&amp;null!==window.sessionStorage;var r="i18next.translate.boo";window.sessionStorage.setItem(r,"foo"),window.sessionStorage.removeItem(r)}catch(r){et=!1}return et},nt={name:"sessionStorage",lookup:function lookup(r){var c;if(r.lookupSessionStorage&amp;&amp;rt()){var u=window.sessionStorage.getItem(r.lookupSessionStorage);u&amp;&amp;(c=u)}return c},cacheUserLanguage:function cacheUserLanguage(r,c){c.lookupSessionStorage&amp;&amp;rt()&amp;&amp;window.sessionStorage.setItem(c.lookupSessionStorage,r)}},ot={name:"navigator",lookup:function lookup(r){var c=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var u=0;u&lt;navigator.languages.length;u++)c.push(navigator.languages[u]);navigator.userLanguage&amp;&amp;c.push(navigator.userLanguage),navigator.language&amp;&amp;c.push(navigator.language)}return c.length&gt;0?c:void 0}},it={name:"htmlTag",lookup:function lookup(r){var c,u=r.htmlTag||("undefined"!=typeof document?document.documentElement:null);return u&amp;&amp;"function"==typeof u.getAttribute&amp;&amp;(c=u.getAttribute("lang")),c}},st={name:"path",lookup:function lookup(r){var c;if("undefined"!=typeof window){var u=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(u instanceof Array)if("number"==typeof r.lookupFromPathIndex){if("string"!=typeof u[r.lookupFromPathIndex])return;c=u[r.lookupFromPathIndex].replace("/","")}else c=u[0].replace("/","")}return c}},ct={name:"subdomain",lookup:function lookup(r){var c;if("undefined"!=typeof window){var u=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);u instanceof Array&amp;&amp;(c="number"==typeof r.lookupFromSubdomainIndex?u[r.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):u[0].replace("http://","").replace("https://","").replace(".",""))}return c}};var ut=function(){function Browser(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{};!function classCallCheck_classCallCheck(r,c){if(!(r instanceof c))throw new TypeError("Cannot call a class as a function")}(this,Browser),this.type="languageDetector",this.detectors={},this.init(r,c)}return function createClass_createClass(r,c,u){return c&amp;&amp;createClass_defineProperties(r.prototype,c),u&amp;&amp;createClass_defineProperties(r,u),r}(Browser,[{key:"init",value:function init(r){var c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:{},u=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]?arguments[2]:{};this.services=r,this.options=function defaults(r){return Fe.call(Ze.call(arguments,1),(function(c){if(c)for(var u in c)void 0===r[u]&amp;&amp;(r[u]=c[u])})),r}(c,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&amp;&amp;(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=u,this.addDetector(Ke),this.addDetector(Je),this.addDetector(Qe),this.addDetector(nt),this.addDetector(ot),this.addDetector(it),this.addDetector(st),this.addDetector(ct)}},{key:"addDetector",value:function addDetector(r){this.detectors[r.name]=r}},{key:"detect",value:function detect(r){var c=this;r||(r=this.options.order);var u=[];return r.forEach((function(r){if(c.detectors[r]){var p=c.detectors[r].lookup(c.options);p&amp;&amp;"string"==typeof p&amp;&amp;(p=[p]),p&amp;&amp;(u=u.concat(p))}})),this.services.languageUtils.getBestMatchFromCodes?u:u.length&gt;0?u[0]:null}},{key:"cacheUserLanguage",value:function cacheUserLanguage(r,c){var u=this;c||(c=this.options.caches),c&amp;&amp;(this.options.excludeCacheFor&amp;&amp;this.options.excludeCacheFor.indexOf(r)&gt;-1||c.forEach((function(c){u.detectors[c]&amp;&amp;u.detectors[c].cacheUserLanguage(r,u.options)})))}}]),Browser}();ut.type="languageDetector";var lt=ut,pt={"en-US":{translation:{chatEnded:"This chat has ended",invalidId:"Something went wrong, please try again later... ðŸ˜Š",invalidRichMedia:"Ups! I'm struggling with some technical issues... ðŸ˜Š",poweredByTalkdesk:"powered by Talkdesk",startChat:"Start new chat",customDropdownPlaceholder:"{{select}} {{label}}",customFieldPlaceholder:"{{type}} {{label}}",yourOptions:"Your options",inactiveChat:"This chat is inactive",goingToFeedback:"Thank you for chatting with us. Your feedback is important to us. Please wait a moment for a brief survey.",messageSendFailed:"Your message was not sent. Please refresh the page and try again.",connectedTip:"And we are back!",noConnectionTip:"No connection. Please refresh the page.",customFieldPhoneDescription:"Include the country code, avoid spaces and/or symbols (e.g. +1123456789)",errorEmailAddressWarning:"Please type a valid email",errorPhoneNumberWarning:"Please type a valid phone number",messageSendAttachmentSuccess:"Attachment has been sent successfully",messageSendAttachmentFailed:"Failed to send attachment, please try again",attachmentReceived:"Received an attachment",feedbackLoadFailed:"Failed to load feedback survey",downloadTranscript:"Download transcript",endChat:"End chat"}},"pt-PT":{translation:{chatEnded:"Este chat terminou",invalidId:"Alguma coisa correu mal, por favor tente mais tarde... ðŸ˜Š",invalidRichMedia:"Ups! Estou a ter algumas dificuldades tÃ©cnicas... ðŸ˜Š",poweredByTalkdesk:"desenvolvido por Talkdesk",startChat:"Iniciar novo chat",customDropdownPlaceholder:"{{select}} {{label}}",customFieldPlaceholder:"{{type}} {{label}}",yourOptions:"OpÃ§Ãµes",inactiveChat:"Este chat estÃ¡ inativo",goingToFeedback:"Obrigado por conversar conosco. A sua opiniÃ£o Ã© importante para nÃ³s. Por favor, aguarde um momento para uma breve pesquisa.",messageSendFailed:"Sua mensagem nÃ£o foi enviada. Atualize a pÃ¡gina e tente novamente.",connectedTip:"E estamos de volta!",noConnectionTip:"Sin conexiÃ³n. Actualice la pÃ¡gina.",customFieldPhoneDescription:"Incluir indicativo do paÃ­s e evitar o uso de espaÃ§os e sÃ­mbolos (ex. +351912345678)",errorEmailAddressWarning:"Introduzir um email vÃ¡lido, por favor",errorPhoneNumberWarning:"Introduzir um nÃºmero vÃ¡lido, por favor",messageSendAttachmentSuccess:"Anexo enviado com sucesso",messageSendAttachmentFailed:"Falha ao enviar o anexo, tente novamente",attachmentReceived:"Recebido um anexo",feedbackLoadFailed:"Falha ao carregar a pesquisa de feedback",downloadTranscript:"Transferir transcriÃ§Ã£o",endChat:"Terminar chat"}},"es-ES":{translation:{chatEnded:"Este chat ha finalizado",invalidId:"Algo saliÃ³ mal, por favor intÃ©ntalo de nuevo mÃ¡s tarde... ðŸ˜Š",invalidRichMedia:"Â¡Ups! Estoy teniendo algunos problemas tÃ©cnicos... ðŸ˜Š",poweredByTalkdesk:"desarrollado por Talkdesk",startChat:"Iniciar nuevo chat",customDropdownPlaceholder:"{{select}} {{label}}",customFieldPlaceholder:"{{type}} {{label}}",yourOptions:"Tus opciones",inactiveChat:"Este chat estÃ¡ inactivo",goingToFeedback:"Gracias por chatear con nosotros. Tu opiniÃ³n es importante para nosotros. Por favor, espera un momento para una breve encuesta.",messageSendFailed:"Tu mensaje no fue enviado. Actualiza la pÃ¡gina e intÃ©ntalo de nuevo.",connectedTip:"Â¡Y estamos de vuelta!",noConnectionTip:"Sin conexiÃ³n. Actualiza la pÃ¡gina.",customFieldPhoneDescription:"Incluye el cÃ³digo de paÃ­s, evita espacios y/o sÃ­mbolos (por ejemplo, +34123456789)",errorEmailAddressWarning:"Por favor, introduce un correo electrÃ³nico vÃ¡lido",errorPhoneNumberWarning:"Por favor, introduce un nÃºmero de telÃ©fono vÃ¡lido",messageSendAttachmentSuccess:"El archivo adjunto se ha enviado correctamente",messageSendAttachmentFailed:"Error al enviar el archivo adjunto, por favor intÃ©ntalo de nuevo",attachmentReceived:"Se ha recibido un archivo adjunto",feedbackLoadFailed:"Error al cargar la encuesta de feedback",downloadTranscript:"Descargar transcripciÃ³n",endChat:"Finalizar chat"}},"de-DE":{translation:{chatEnded:"Dieser Chat wurde beendet",invalidId:"Etwas ist schief gelaufen, bitte versuche es spÃ¤ter erneut... ðŸ˜Š",invalidRichMedia:"Ups! Ich habe mit einigen technischen Problemen zu kÃ¤mpfen... ðŸ˜Š",poweredByTalkdesk:"UnterstÃ¼tzt von Talkdesk",startChat:"Neuen Chat starten",customDropdownPlaceholder:"{{select}} {{label}}",customFieldPlaceholder:"{{type}} {{label}}",yourOptions:"Ihre Optionen",inactiveChat:"Dieser Chat ist inaktiv",goingToFeedback:"Vielen Dank fÃ¼r das Chatten mit uns. Ihr Feedback ist wichtig fÃ¼r uns. Bitte warten Sie einen Moment fÃ¼r eine kurze Umfrage.",messageSendFailed:"Ihre Nachricht wurde nicht gesendet. Bitte aktualisieren Sie die Seite und versuchen Sie es erneut.",connectedTip:"Und wir sind zurÃ¼ck!",noConnectionTip:"Keine Verbindung. Bitte aktualisieren Sie die Seite.",customFieldPhoneDescription:"FÃ¼gen Sie die LÃ¤ndervorwahl hinzu, vermeiden Sie Leerzeichen und/oder Symbole (z.B. +1123456789)",errorEmailAddressWarning:"Bitte geben Sie eine gÃ¼ltige E-Mail-Adresse ein",errorPhoneNumberWarning:"Bitte geben Sie eine gÃ¼ltige Telefonnummer ein",messageSendAttachmentSuccess:"Anhang wurde erfolgreich gesendet",messageSendAttachmentFailed:"Fehler beim Senden des Anhangs, bitte versuchen Sie es erneut",attachmentReceived:"Anhang erhalten",feedbackLoadFailed:"Fehler beim Laden der Feedback-Umfrage",downloadTranscript:"Transkript herunterladen",endChat:"Chat beenden"}},"fr-FR":{translation:{chatEnded:"Cette conversation est terminÃ©e",invalidId:"Quelque chose s'est mal passÃ©, veuillez rÃ©essayer plus tard... ðŸ˜Š",invalidRichMedia:"Oups ! Je rencontre quelques problÃ¨mes techniques... ðŸ˜Š",poweredByTalkdesk:"PropulsÃ© par Talkdesk",startChat:"DÃ©marrer un nouveau chat",customDropdownPlaceholder:"{{select}} {{label}}",customFieldPlaceholder:"{{type}} {{label}}",yourOptions:"Vos options",inactiveChat:"Ce chat est inactif",goingToFeedback:"Merci de discuter avec nous. Votre avis est important pour nous. Veuillez attendre un moment pour une brÃ¨ve enquÃªte.",messageSendFailed:"Votre message n'a pas Ã©tÃ© envoyÃ©. Veuillez rafraÃ®chir la page et rÃ©essayer.",connectedTip:"Et nous voilÃ&nbsp; de retour !",noConnectionTip:"Pas de connexion. Veuillez rafraÃ®chir la page.",customFieldPhoneDescription:"Incluez le code pays, Ã©vitez les espaces et/ou les symboles (par exemple, +1123456789)",errorEmailAddressWarning:"Veuillez saisir une adresse e-mail valide",errorPhoneNumberWarning:"Veuillez saisir un numÃ©ro de tÃ©lÃ©phone valide",messageSendAttachmentSuccess:"La piÃ¨ce jointe a Ã©tÃ© envoyÃ©e avec succÃ¨s",messageSendAttachmentFailed:"Ã‰chec de l'envoi de la piÃ¨ce jointe, veuillez rÃ©essayer",attachmentReceived:"RÃ©ception d'une piÃ¨ce jointe",feedbackLoadFailed:"Ã‰chec du chargement de l'enquÃªte de feedback",downloadTranscript:"TÃ©lÃ©charger la transcription",endChat:"Terminer le chat"}},"it-IT":{translation:{chatEnded:"Questa chat Ã¨ terminata",invalidId:"Qualcosa Ã¨ andato storto, per favore riprova piÃ¹ tardi... ðŸ˜Š",invalidRichMedia:"Ops! Sto avendo alcuni problemi tecnici... ðŸ˜Š",poweredByTalkdesk:"Alimentato da Talkdesk",startChat:"Inizia una nuova chat",customDropdownPlaceholder:"{{select}} {{label}}",customFieldPlaceholder:"{{type}} {{label}}",yourOptions:"Le tue opzioni",inactiveChat:"Questa chat Ã¨ inattiva",goingToFeedback:"Grazie per la chat con noi. Il tuo feedback Ã¨ importante per noi. Attendi un momento per un breve sondaggio.",messageSendFailed:"Il tuo messaggio non Ã¨ stato inviato. Aggiorna la pagina e riprova.",connectedTip:"E siamo tornati!",noConnectionTip:"Nessuna connessione. Aggiorna la pagina, per favore.",customFieldPhoneDescription:"Includi il codice del paese, evita spazi e/o simboli (ad esempio, +1123456789)",errorEmailAddressWarning:"Inserisci un indirizzo email valido, per favore",errorPhoneNumberWarning:"Inserisci un numero di telefono valido, per favore",messageSendAttachmentSuccess:"Allegato inviato con successo",messageSendAttachmentFailed:"Impossibile inviare l'allegato, per favore riprova",attachmentReceived:"Ricevuto un allegato",feedbackLoadFailed:"Impossibile caricare il sondaggio di feedback",downloadTranscript:"Scarica la trascrizione",endChat:"Termina la chat"}},"pt-BR":{translation:{chatEnded:"Este chat foi encerrado",invalidId:"Algo deu errado, por favor, tente novamente mais tarde... ðŸ˜Š",invalidRichMedia:"Ops! Estou enfrentando alguns problemas tÃ©cnicos... ðŸ˜Š",poweredByTalkdesk:"Impulsionado por Talkdesk",startChat:"Iniciar nova conversa",customDropdownPlaceholder:"{{select}} {{label}}",customFieldPlaceholder:"{{type}} {{label}}",yourOptions:"Suas opÃ§Ãµes",inactiveChat:"Este chat estÃ¡ inativo",goingToFeedback:"Obrigado por conversar conosco. Seu feedback Ã© importante para nÃ³s. Por favor, aguarde um momento para uma breve pesquisa.",messageSendFailed:"Sua mensagem nÃ£o foi enviada. Atualize a pÃ¡gina e tente novamente.",connectedTip:"E estamos de volta!",noConnectionTip:"Sem conexÃ£o. Atualize a pÃ¡gina, por favor.",customFieldPhoneDescription:"Inclua o cÃ³digo do paÃ­s, evite espaÃ§os e/ou sÃ­mbolos (por exemplo, +1123456789)",errorEmailAddressWarning:"Por favor, digite um e-mail vÃ¡lido",errorPhoneNumberWarning:"Por favor, digite um nÃºmero de telefone vÃ¡lido",messageSendAttachmentSuccess:"Anexo enviado com sucesso",messageSendAttachmentFailed:"Falha ao enviar anexo, por favor, tente novamente",attachmentReceived:"Recebido um anexo",feedbackLoadFailed:"Falha ao carregar pesquisa de feedback",downloadTranscript:"Baixar transcriÃ§Ã£o",endChat:"Encerrar chat"}}},dt=(0,u.Z)(k().mark((function _callee(){var r,c=arguments;return k().wrap((function _callee$(u){for(;;)switch(u.prev=u.next){case 0:return r=c.length&gt;0&amp;&amp;void 0!==c[0]?c[0]:"en-US",u.next=3,Le.ZP.use(lt).use(De).init({resources:pt,fallbackLng:"en-US",supportedLngs:Object.keys(pt),detection:{lookupLocalStorage:"__TD_i18nextLng__"}});case 3:if(r===Le.ZP.language){u.next=6;break}return u.next=6,Le.ZP.changeLanguage(r);case 6:case"end":return u.stop()}}),_callee)}))),ft=__webpack_require__(22375);function defineProperty_defineProperty(r,c,u){return c in r?Object.defineProperty(r,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):r[c]=u,r}var ht,mt=__webpack_require__(17483),yt=__webpack_require__(53214),gt=defineProperty_defineProperty(defineProperty_defineProperty({},ft.T.VirtualAgent,mt),ft.T.Livechat,yt),vt=function(){var r=(0,de.Z)(ge().mark((function _callee(r,c){var u=this;return ge().wrap((function _callee$(p){for(;;)switch(p.prev=p.next){case 0:return p.abrupt("return",__webpack_require__(89818)("./".concat(r,".json")).then(function(r){return(0,ue.Z)(this,u),r.default}.bind(this)).catch(function(){return(0,ue.Z)(this,u),gt[c]}.bind(this)));case 1:case"end":return p.stop()}}),_callee,this)})));return function readFile(c,u){return r.apply(this,arguments)}}(),bt=function(){var r=(0,de.Z)(ge().mark((function _callee2(r,c,u){var p,y;return ge().wrap((function _callee2$(w){for(;;)switch(w.prev=w.next){case 0:return p="".concat(c).concat(u),w.next=3,vt(p,r);case 3:return y=w.sent,w.abrupt("return",y);case 5:case"end":return w.stop()}}),_callee2)})));return function getThemeProps(c,u,p){return r.apply(this,arguments)}}(),_t=__webpack_require__(35832),wt=__webpack_require__(53439),xt=__webpack_require__(8310),kt=__webpack_require__(94050),St=__webpack_require__(93985),Et=__webpack_require__(15243),Tt=__webpack_require__(27508),Ot=__webpack_require__(68742),Ct=__webpack_require__(94297),At=function(){function Notifications(){var r=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"rgb(255, 255, 255)",c=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"rgb(255, 100, 89)";(0,Et.Z)(this,Notifications),(0,Ot.Z)(this,"color",void 0),(0,Ot.Z)(this,"backgroundColor",void 0),(0,Ot.Z)(this,"counter",void 0),this.color=r,this.backgroundColor=c,this.counter=0}return(0,Tt.Z)(Notifications,[{key:"incrementCounterAndRender",value:function incrementCounterAndRender(){this.counter+=1,this.render()}},{key:"resetCounterAndUnmount",value:function resetCounterAndUnmount(){this.counter=0;var r=(0,Ct.OH)();null==r||r.setAttribute("aria-label","open-chat-widget"),this.unmount()}},{key:"render",value:function render(){if(!this.isWidgetOpen()&amp;&amp;0!==this.counter){var r=(0,Ct.OH)();if(this.isRendered())return document.getElementById("notificationsBubble").innerText=String(this.counter),void(null==r||r.setAttribute("aria-label","open-chat-widget-".concat(this.counter)));null==r||r.setAttribute("aria-label","open-chat-widget-".concat(this.counter));var c=document.createElement("p");c.classList.add("notifications-bubble"),c.id="notificationsBubble",c.style.color=this.color,c.style.backgroundColor=this.backgroundColor,c.innerText=String(this.counter),this.addStoreEventListener(),r.appendChild(c)}}},{key:"unmount",value:function unmount(){this.isRendered()&amp;&amp;document.getElementById("notificationsBubble").remove()}},{key:"isRendered",value:function isRendered(){return!!document.getElementById("notificationsBubble")}},{key:"addTriggerButtonEventListener",value:function addTriggerButtonEventListener(){var r=this,c=(0,Ct.OH)();c&amp;&amp;c.addEventListener("click",function(){(0,St.Z)(this,r),this.resetCounterAndUnmount();var c=localStorage.getItem("lastMessageIndex");localStorage.setItem("clearNotifications","true"),localStorage.removeItem("clearNotifications"),localStorage.setItem("lastReadMessageIndex",c)}.bind(this))}},{key:"addTextareaEventListener",value:function addTextareaEventListener(){var r=this,c=(0,Ct.is)();c&amp;&amp;c.addEventListener("focus",function(){(0,St.Z)(this,r),this.counter=0;var c=localStorage.getItem("lastMessageIndex");localStorage.setItem("clearNotifications","true"),localStorage.removeItem("clearNotifications"),localStorage.setItem("lastReadMessageIndex",c)}.bind(this))}},{key:"addStoreEventListener",value:function addStoreEventListener(){var r=this;window.addEventListener("storage",function(c){if((0,St.Z)(this,r),c.storageArea===localStorage&amp;&amp;"clearNotifications"===c.key&amp;&amp;"true"===c.newValue){this.resetCounterAndUnmount();var u=localStorage.getItem("lastMessageIndex");localStorage.setItem("lastReadMessageIndex",u)}}.bind(this))}},{key:"handleNewMessage",value:function handleNewMessage(r){if(localStorage.setItem("lastMessageIndex",String(r)),!(0,Ct.OH)())return localStorage.setItem("clearNotifications","true"),localStorage.removeItem("clearNotifications"),void localStorage.setItem("lastReadMessageIndex",String(r));r&lt;=Number(localStorage.getItem("lastReadMessageIndex"))||(this.counter,this.incrementCounterAndRender())}},{key:"isWidgetOpen",value:function isWidgetOpen(){return!(0,Ct.OH)()}}]),Notifications}(),Pt=At,Lt=__webpack_require__(55877),It=void 0,Rt=function createCustomUserPayload(c){return(0,r.Z)(this,It),{data:c,type:"postback"}}.bind(void 0),jt=function createCustomMessage(c){return(0,r.Z)(this,It),{data:c,type:"text",id:(0,Lt.v4)()}}.bind(void 0),Nt=void 0,Dt=function clearSession(c){(0,r.Z)(this,Nt);var u=c.sessionTimeoutMessage,p=c.selfHostedApp;p&amp;&amp;((0,J.dP)(),p.updateUser({id:(0,Lt.v4)()}),u&amp;&amp;p.addBotMessage(jt(u)))}.bind(void 0),Mt=function setNewTimeout(c,u){var p=this;(0,r.Z)(this,Nt),ht=setTimeout(function(){(0,r.Z)(this,p),Dt(u)}.bind(this),c)}.bind(void 0),Ut=function updateUserSession(c){(0,r.Z)(this,Nt),ht&amp;&amp;clearTimeout(ht),Mt(6e4*c.sessionTimeoutMinutes,c),(0,J.$P)()}.bind(void 0),Ft={appId:void 0,blockInputs:void 0,coverComponent:void 0,defaultDelay:0,enableAnimations:void 0,enableAttachments:void 0,enableEmojiPicker:void 0,enableUserInput:void 0,enableValidation:void 0,defaultTyping:0,getString:void 0,hostId:void 0,onClose:void 0,onInit:void 0,onMessage:void 0,onOpen:void 0,persistentMenu:void 0,shadowDOM:void 0,storage:localStorage,storageKey:K.Z.WEBCHAT_STATE,theme:void 0,visibility:!0,onConversationStart:void 0},Bt=[{path:"DEFAULT",text:/.*/,action:__webpack_require__(93498).Z}];function TalkdeskChatSDK_ownKeys(r,c){var u=Object.keys(r);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(r);c&amp;&amp;(p=p.filter((function(c){return Object.getOwnPropertyDescriptor(r,c).enumerable}))),u.push.apply(u,p)}return u}function TalkdeskChatSDK_objectSpread(r){for(var c=1;c&lt;arguments.length;c++){var u=null!=arguments[c]?arguments[c]:{};c%2?TalkdeskChatSDK_ownKeys(Object(u),!0).forEach((function(c){(0,w.Z)(r,c,u[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(u)):TalkdeskChatSDK_ownKeys(Object(u)).forEach((function(c){Object.defineProperty(r,c,Object.getOwnPropertyDescriptor(u,c))}))}return r}var qt=null,Zt=function initSession(c){var u=this;(0,r.Z)(this,undefined);var p=c.isLiveChat,y=c.sessionTimeoutMinutes,w=K.Z.WEBCHAT_LAST_MESSAGE_KEY,x=K.Z.WEBCHAT_SESSION_UPDATE_MINUTES_INTERVAL;if((0,J.bM)(w)&amp;&amp;!p){var k=(0,J.eb)(y);Mt(k,c)}if((0,J.Xe)()){var E=(0,J.bM)(K.Z.LIVECHAT_CONVERSATION_ENDED);(0,J.V3)(),E&amp;&amp;(0,J.Ly)(K.Z.LIVECHAT_CONVERSATION_ENDED,!0)}(0,J.M8)(),qt&amp;&amp;clearInterval(qt),qt=setInterval(function(){(0,r.Z)(this,u),(0,J.M8)()}.bind(this),1e3*x*60)}.bind(void 0),Vt=(0,p.Z)((function TalkdeskChatSDK(p,x){var ue=this,le=x.flowId,de=x.touchpointId,he=x.accountId,ge=x.region,ve=void 0===ge?Oe.yp.USA:ge,we=x.languageCode,Le=void 0===we?K.Z.DEFAULT_LANGUAGE_CODE:we,Ie=x.shadowDOM,je=void 0===Ie||Ie,De=x.onOpen,Ue=x.onClose,Fe=x.onOpenWebchat;(0,y.Z)(this,TalkdeskChatSDK),(0,w.Z)(this,"injector",void 0),(0,w.Z)(this,"flowId",void 0),(0,w.Z)(this,"accountId",void 0),(0,w.Z)(this,"shadowDOM",void 0),(0,w.Z)(this,"engagement",void 0),(0,w.Z)(this,"notifications",void 0),(0,w.Z)(this,"region",void 0),(0,w.Z)(this,"languageCode",void 0),(0,w.Z)(this,"theming",void 0),(0,w.Z)(this,"onOpen",void 0),(0,w.Z)(this,"onClose",void 0),(0,w.Z)(this,"onOpenWebchat",void 0),(0,w.Z)(this,"onConversationStart",void 0),(0,w.Z)(this,"sessionTimeoutMinutes",void 0),(0,w.Z)(this,"sessionTimeoutMessage",void 0),(0,w.Z)(this,"isLiveChat",void 0),(0,w.Z)(this,"selfHostedApp",null),(0,w.Z)(this,"configs",{}),(0,w.Z)(this,"init",(0,u.Z)(k().mark((function _callee(){var u,p,y,w,x,E,I,J,oe,ie,le,de,he,ge,ve,we,Oe,Le,Ie,je,De,Ue,Fe,Ze,$e,Ge,We,Ke,Je,Ye,Xe,Qe,et,rt,nt,ot=this,it=arguments;return k().wrap((function _callee$(k){for(;;)switch(k.prev=k.next){case 0:if(p=it.length&gt;0&amp;&amp;void 0!==it[0]?it[0]:{},!ue.checkFromUA()){k.next=3;break}return k.abrupt("return");case 3:return ue.configs=TalkdeskChatSDK_objectSpread(TalkdeskChatSDK_objectSpread(TalkdeskChatSDK_objectSpread({},ue.configs),p),{},{styles:TalkdeskChatSDK_objectSpread(TalkdeskChatSDK_objectSpread({},ue.configs.styles),(null==p?void 0:p.styles)||{})}),y=ue.configs,w=y.enableEmoji,x=y.enableValidation,E=void 0!==x&amp;&amp;x,I=y.enableEmojiPicker,J=void 0===I||I,oe=y.enableUserInput,ie=void 0===oe||oe,le=y.enableAttachments,de=void 0===le||le,he=y.sessionTimeoutMinutes,ge=void 0===he?void 0:he,ve=y.sessionTimeoutMessage,we=void 0===ve?void 0:ve,Oe=y.engagement,Le=void 0===Oe?K.Z.WEBCHAT_ENGAGEMENT_TEXT:Oe,Ie=y.styles,je=y.welcomeMessages,De=void 0===je?[]:je,Ue=y.enableConnectionFromTriggerButton,Fe=void 0!==Ue&amp;&amp;Ue,Ze=y.languageCode,$e=y.enableResponsiveLayout,Ge=void 0===$e||$e,Ze&amp;&amp;(ue.languageCode=Ze),ue.engagement=Le,ue.sessionTimeoutMinutes=ge||Number("15"),ue.sessionTimeoutMessage=we,We=ae.map(function(c){return(0,r.Z)(this,ot),c.id===K.Z.CONVERSATION_ENGINE_CONNECTOR?TalkdeskChatSDK_objectSpread(TalkdeskChatSDK_objectSpread({},c),{},{options:{tokenId:"".concat(ue.accountId,":").concat(ue.flowId),region:ue.region,languageCode:ue.languageCode}}):c}.bind(this)),k.next=12,Promise.all([pe(ue.flowId,ue.isLiveChat),Se(ue.flowId,ue.isLiveChat,ue.region),dt(ue.languageCode)]);case 12:return Ke=k.sent,Je=(0,c.Z)(Ke,2),Ye=Je[0],Xe=Je[1],Qe=""===ue.accountId?ft.T.Livechat:ft.T.VirtualAgent,k.t0=Object,k.next=20,bt(Qe,ue.flowId,ue.accountId);case 20:return k.t1=k.sent,k.t2=Ie,ue.theming=k.t0.assign.call(k.t0,k.t1,k.t2),k.next=25,(0,se.g)({widgetMode:Qe,theming:ue.theming,touchpointConfig:null==Xe?void 0:Xe.config,enableEndConversationButton:Pe.On.current.state===wt.pk.DONE&amp;&amp;!(0,xt.oX)()});case 25:if(et=k.sent,Xe){k.next=29;break}return _t.Z.info("touchpoint is not found",{touchpoint_id:ue.flowId}),k.abrupt("return");case 29:if(Xe.active){k.next=32;break}return _t.Z.info("touchpoint is inactive",{touchpoint_id:ue.flowId}),k.abrupt("return");case 32:if(rt="v2"===(null==Xe||null===(u=Xe.config)||void 0===u?void 0:u.sdkVersion)?"error":"normal",_t.Z.info("Chat received configuration touchpointId=".concat(ue.flowId," sdkIntegratedStatus=").concat(rt," appConfigs=").concat((0,kt.r)(ue.configs)," touchpoint=").concat((0,kt.r)(Xe)),{touchpoint_id:ue.flowId}),k.prev=34,ue.selfHostedApp){k.next=40;break}return k.next=38,Promise.all([__webpack_require__.e(516),__webpack_require__.e(123)]).then(__webpack_require__.bind(__webpack_require__,47123));case 38:nt=k.sent.default,ue.selfHostedApp=new nt(TalkdeskChatSDK_objectSpread(TalkdeskChatSDK_objectSpread(TalkdeskChatSDK_objectSpread({},Ft),{},{onInit:function onInit(){return(0,r.Z)(this,ot),ue.onInitWebchat()}.bind(this),onOpen:function onOpen(){return(0,r.Z)(this,ot),ue.onBotonicOpenWebchat()}.bind(this),onClose:function onClose(){return(0,r.Z)(this,ot),ue.onCloseWebchat()}.bind(this),onConversationStartWebchat:function onConversationStartWebchat(){return(0,r.Z)(this,ot),ue.onConversationStartWebchat()}.bind(this),chatWidgetConfig:Xe,touchPointConfig:null==Xe?void 0:Xe.config,onMessage:ue.onMessage,routes:Bt,plugins:We},Ye),{},{theme:et,appId:ue.flowId,livechat:ue.isLiveChat,notifications:ue.notifications,enableEmojiPicker:null!=w?w:J,enableValidation:E,enableUserInput:ie,region:ue.region,shadowDOM:ue.shadowDOM,enableAttachments:de,sdkWelcomeMessages:De,enableConnectionFromTriggerButton:Fe&amp;&amp;(null==Xe?void 0:Xe.connectProviderTriggerButton),enableResponsiveLayout:Ge}));case 40:Pe.On.sdk=ue,ue.selfHostedApp.render(ue.injector,et),k.next=47;break;case 44:k.prev=44,k.t3=k.catch(34),_t.Z.error("Failed to load self-hosted app",{errorMessage:"string"==typeof k.t3?k.t3:k.t3.message,touchpoint_id:ue.flowId});case 47:Zt(ue);case 48:case"end":return k.stop()}}),_callee,this,[[34,44]])})))),(0,w.Z)(this,"onMessage",function(c,u){(0,r.Z)(this,ue);var p=u.from;p!==K.Z.WEBCHAT_MSG_FROM_USER||this.isLiveChat||Ut(this),this.selfHostedApp.setTyping(p===K.Z.WEBCHAT_MSG_FROM_USER)}.bind(this)),(0,w.Z)(this,"onInitWebchat",function(){(0,r.Z)(this,ue),(0,J.bM)(K.Z.WEBCHAT_IS_CHAT_OPEN_KEY)&amp;&amp;this.selfHostedApp.open()}.bind(this)),(0,w.Z)(this,"setUserInputEnabled",function(c){(0,r.Z)(this,ue),this.selfHostedApp.setUserInput(c)}.bind(this)),(0,w.Z)(this,"onBotonicOpenWebchat",function(){(0,r.Z)(this,ue),this.onOpen&amp;&amp;"function"==typeof this.onOpen&amp;&amp;this.onOpen(),this.onOpenWebchat&amp;&amp;"function"==typeof this.onOpenWebchat&amp;&amp;this.onOpenWebchat(),this.notifications.addTextareaEventListener(),(0,xt.oX)()&amp;&amp;this.selfHostedApp.updateReplies(!1),(0,J.Ly)(K.Z.WEBCHAT_IS_CHAT_OPEN_KEY,!0),(0,J.bM)(K.Z.WEBCHAT_WAS_CHAT_OPENED)||((0,J.Ly)(K.Z.WEBCHAT_WAS_CHAT_OPENED,!0),this.isLiveChat||this.selfHostedApp.addUserMessage(Rt(this.engagement)))}.bind(this)),(0,w.Z)(this,"onCloseWebchat",function(){(0,r.Z)(this,ue),this.onClose&amp;&amp;"function"==typeof this.onClose&amp;&amp;this.onClose(),this.notifications.render(),this.notifications.addTriggerButtonEventListener(),(0,J.Ly)(K.Z.WEBCHAT_IS_CHAT_OPEN_KEY,!1)}.bind(this)),(0,w.Z)(this,"onConversationStartWebchat",function(){(0,r.Z)(this,ue),this.onConversationStart&amp;&amp;"function"==typeof this.onConversationStart&amp;&amp;this.onConversationStart()}.bind(this)),(0,w.Z)(this,"getAuthToken",(0,u.Z)(k().mark((function _callee2(){var r,c,u,p;return k().wrap((function _callee2$(y){for(;;)switch(y.prev=y.next){case 0:return c=JSON.parse(localStorage.getItem(K.Z.WEBCHAT_STATE)),u=null==c||null===(r=c.session)||void 0===r||null===(r=r.user)||void 0===r?void 0:r.id,y.next=4,(0,E.h)("".concat(ue.accountId,":").concat(ue.flowId),u,ue.region);case 4:return p=y.sent,(0,J.Ly)(K.Z.WEBCHAT_TOKEN_KEY,TalkdeskChatSDK_objectSpread(TalkdeskChatSDK_objectSpread({},p),{},{expiresAt:(0,I.Vo)(p.expiresAt)})),y.abrupt("return",p);case 7:case"end":return y.stop()}}),_callee2)})))),(0,w.Z)(this,"getToken",(0,u.Z)(k().mark((function _callee3(){var r;return k().wrap((function _callee3$(c){for(;;)switch(c.prev=c.next){case 0:if(r=(0,J.bM)(K.Z.WEBCHAT_TOKEN_KEY),(0,E.D)(r)){c.next=5;break}return c.next=4,ue.getAuthToken();case 4:r=c.sent;case 5:return c.abrupt("return",r);case 6:case"end":return c.stop()}}),_callee3)})))),(0,w.Z)(this,"resetSession",function(){(0,r.Z)(this,ue),Dt(this)}.bind(this)),(0,w.Z)(this,"clearLocalStorage",function(){(0,r.Z)(this,ue),(0,J.DL)()}.bind(this)),(0,w.Z)(this,"setContextParam",function(){var r=(0,u.Z)(k().mark((function _callee4(r,c,u,p){var y,w;return k().wrap((function _callee4$(x){for(;;)switch(x.prev=x.next){case 0:if(ue.isLiveChat){x.next=9;break}return x.next=3,ue.getToken();case 3:return y=x.sent,w=(0,oe.L)(y),x.next=7,(0,ie.Y)(p,y,{name:r,properties:TalkdeskChatSDK_objectSpread(TalkdeskChatSDK_objectSpread({},w),c),lifeSpan:u},ue.region);case 7:x.next=10;break;case 9:Pe.Do.setCustomContext(r);case 10:case"end":return x.stop()}}),_callee4)})));return function(c,u,p,y){return r.apply(this,arguments)}}()),(0,w.Z)(this,"setCustomFieldDefaultValues",function(c){(0,r.Z)(this,ue),Pe.Do.setInitialScreenContextByCustomDefault(c)}.bind(this)),(0,w.Z)(this,"checkFromUA",function(){var c;(0,r.Z)(this,ue);var u=(null===(c=window.navigator)||void 0===c?void 0:c.userAgent)||"";return/googlebot/gi.test(u)}.bind(this)),Pe.Dt.init(),this.injector=p,this.flowId=le||de,this.accountId=he,this.isLiveChat=!he,this.region=ve,this.languageCode=Le,this.notifications=new Pt,this.notifications.render(),this.shadowDOM=!!this.isLiveChat||je,this.onOpen=De,this.onClose=Ue,this.onOpenWebchat=Fe||function(){return(0,r.Z)(this,ue),null}.bind(this),_t.Z.init({talkdeskWidgetHref:window.location.href,talkdeskTouchpointId:this.flowId,talkdeskRegion:this.region})}));document.onkeydown=function(r){if("Enter"===r.key){var c,u,p=null===(c=document.getElementById("tdWebchat"))||void 0===c||null===(c=c.shadowRoot)||void 0===c?void 0:c.activeElement;if("attach-file-button"===(null==p?void 0:p.className))null===(u=document.getElementById("tdWebchat"))||void 0===u||null===(u=u.shadowRoot)||void 0===u||null===(u=u.activeElement)||void 0===u||null===(u=u.parentElement)||void 0===u||u.click(r)}};var Ht=function app(c,u){if((0,r.Z)(this,undefined),!c)throw new Error("Missing injector please using tdWebchat");if("tdWebchat"!==c)throw new Error("Invalid injector please using tdWebchat");return new Vt(document.getElementById(c),u)}.bind(void 0)}(),window.TalkdeskChatSDK=__webpack_exports__.app})();</pre></body></html>