www.flychicago.com
Open in
urlscan Pro
2606:4700::6812:bae
Public Scan
URL:
https://www.flychicago.com/_layouts/15/flychicago/js/widgets/webchat/webchat-es5-fixed.js
Submission: On June 30 via manual from US — Scanned from DE
Submission: On June 30 via manual from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
/*! For license information please see webchat-es5.js.LICENSE.txt */ ! function(e, t) { if ("object" == typeof exports && "object" == typeof module) module.exports = t(); else if ("function" == typeof define && define.amd) define([], t); else { var r = t(); for (var n in r)("object" == typeof exports ? exports : e)[n] = r[n] } }(window, (function() { return function(e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var i = t[n] = { i: n, l: !1, exports: {} }; return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } return r.m = e, r.c = t, r.d = function(e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }, r.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, r.t = function(e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var i in e) r.d(n, i, function(t) { return e[t] }.bind(null, i)); return n }, r.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return r.d(t, "a", t), t }, r.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, r.p = "", r(r.s = 2109) }([function(e, t, r) { window, e.exports = function(e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var i = t[n] = { i: n, l: !1, exports: {} }; return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } return r.m = e, r.c = t, r.d = function(e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }, r.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, r.t = function(e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var i in e) r.d(n, i, function(t) { return e[t] }.bind(null, i)); return n }, r.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return r.d(t, "a", t), t }, r.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, r.p = "", r(r.s = 0) }([function(e, t, r) { "use strict"; var n = r(1); e.exports = void 0 === window.React ? n : window.React }, function(e, t, r) { "use strict"; e.exports = r(2) }, function(e, t, r) { "use strict"; var n = r(3), i = "function" == typeof Symbol && Symbol.for, o = i ? Symbol.for("react.element") : 60103, a = i ? Symbol.for("react.portal") : 60106, s = i ? Symbol.for("react.fragment") : 60107, u = i ? Symbol.for("react.strict_mode") : 60108, c = i ? Symbol.for("react.profiler") : 60114, l = i ? Symbol.for("react.provider") : 60109, f = i ? Symbol.for("react.context") : 60110, p = i ? Symbol.for("react.concurrent_mode") : 60111, d = i ? Symbol.for("react.forward_ref") : 60112, h = i ? Symbol.for("react.suspense") : 60113, v = i ? Symbol.for("react.memo") : 60115, m = i ? Symbol.for("react.lazy") : 60116, y = "function" == typeof Symbol && Symbol.iterator; function b(e, t, r, n, i, o, a, s) { if (!e) { if (e = void 0, void 0 === t) e = Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."); else { var u = [r, n, i, o, a, s], c = 0; (e = Error(t.replace(/%s/g, (function() { return u[c++] })))).name = "Invariant Violation" } throw e.framesToPop = 1, e } } function g(e) { for (var t = arguments.length - 1, r = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 0; n < t; n++) r += "&args[]=" + encodeURIComponent(arguments[n + 1]); b(!1, "Minified React error #" + e + "; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ", r) } var _ = { isMounted: function() { return !1 }, enqueueForceUpdate: function() {}, enqueueReplaceState: function() {}, enqueueSetState: function() {} }, T = {}; function S(e, t, r) { this.props = e, this.context = t, this.refs = T, this.updater = r || _ } function A() {} function E(e, t, r) { this.props = e, this.context = t, this.refs = T, this.updater = r || _ } S.prototype.isReactComponent = {}, S.prototype.setState = function(e, t) { "object" != typeof e && "function" != typeof e && null != e && g("85"), this.updater.enqueueSetState(this, e, t, "setState") }, S.prototype.forceUpdate = function(e) { this.updater.enqueueForceUpdate(this, e, "forceUpdate") }, A.prototype = S.prototype; var C = E.prototype = new A; C.constructor = E, n(C, S.prototype), C.isPureReactComponent = !0; var O = { current: null }, w = { current: null }, I = Object.prototype.hasOwnProperty, P = { key: !0, ref: !0, __self: !0, __source: !0 }; function x(e, t, r) { var n = void 0, i = {}, a = null, s = null; if (null != t) for (n in void 0 !== t.ref && (s = t.ref), void 0 !== t.key && (a = "" + t.key), t) I.call(t, n) && !P.hasOwnProperty(n) && (i[n] = t[n]); var u = arguments.length - 2; if (1 === u) i.children = r; else if (1 < u) { for (var c = Array(u), l = 0; l < u; l++) c[l] = arguments[l + 2]; i.children = c } if (e && e.defaultProps) for (n in u = e.defaultProps) void 0 === i[n] && (i[n] = u[n]); return { $$typeof: o, type: e, key: a, ref: s, props: i, _owner: w.current } } function N(e) { return "object" == typeof e && null !== e && e.$$typeof === o } var k = /\/+/g, R = []; function L(e, t, r, n) { if (R.length) { var i = R.pop(); return i.result = e, i.keyPrefix = t, i.func = r, i.context = n, i.count = 0, i } return { result: e, keyPrefix: t, func: r, context: n, count: 0 } } function M(e) { e.result = null, e.keyPrefix = null, e.func = null, e.context = null, e.count = 0, 10 > R.length && R.push(e) } function j(e, t, r) { return null == e ? 0 : function e(t, r, n, i) { var s = typeof t; "undefined" !== s && "boolean" !== s || (t = null); var u = !1; if (null === t) u = !0; else switch (s) { case "string": case "number": u = !0; break; case "object": switch (t.$$typeof) { case o: case a: u = !0 } } if (u) return n(i, t, "" === r ? "." + D(t, 0) : r), 1; if (u = 0, r = "" === r ? "." : r + ":", Array.isArray(t)) for (var c = 0; c < t.length; c++) { var l = r + D(s = t[c], c); u += e(s, l, n, i) } else if ("function" == typeof(l = null === t || "object" != typeof t ? null : "function" == typeof(l = y && t[y] || t["@@iterator"]) ? l : null)) for (t = l.call(t), c = 0; !(s = t.next()).done;) u += e(s = s.value, l = r + D(s, c++), n, i); else "object" === s && g("31", "[object Object]" == (n = "" + t) ? "object with keys {" + Object.keys(t).join(", ") + "}" : n, ""); return u }(e, "", t, r) } function D(e, t) { return "object" == typeof e && null !== e && null != e.key ? function(e) { var t = { "=": "=0", ":": "=2" }; return "$" + ("" + e).replace(/[=:]/g, (function(e) { return t[e] })) }(e.key) : t.toString(36) } function U(e, t) { e.func.call(e.context, t, e.count++) } function B(e, t, r) { var n = e.result, i = e.keyPrefix; e = e.func.call(e.context, t, e.count++), Array.isArray(e) ? F(e, n, r, (function(e) { return e })) : null != e && (N(e) && (e = function(e, t) { return { $$typeof: o, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner } }(e, i + (!e.key || t && t.key === e.key ? "" : ("" + e.key).replace(k, "$&/") + "/") + r)), n.push(e)) } function F(e, t, r, n, i) { var o = ""; null != r && (o = ("" + r).replace(k, "$&/") + "/"), j(e, B, t = L(t, o, n, i)), M(t) } function z() { var e = O.current; return null === e && g("321"), e } var V = { Children: { map: function(e, t, r) { if (null == e) return e; var n = []; return F(e, n, null, t, r), n }, forEach: function(e, t, r) { if (null == e) return e; j(e, U, t = L(null, null, t, r)), M(t) }, count: function(e) { return j(e, (function() { return null }), null) }, toArray: function(e) { var t = []; return F(e, t, null, (function(e) { return e })), t }, only: function(e) { return N(e) || g("143"), e } }, createRef: function() { return { current: null } }, Component: S, PureComponent: E, createContext: function(e, t) { return void 0 === t && (t = null), (e = { $$typeof: f, _calculateChangedBits: t, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null }).Provider = { $$typeof: l, _context: e }, e.Consumer = e }, forwardRef: function(e) { return { $$typeof: d, render: e } }, lazy: function(e) { return { $$typeof: m, _ctor: e, _status: -1, _result: null } }, memo: function(e, t) { return { $$typeof: v, type: e, compare: void 0 === t ? null : t } }, useCallback: function(e, t) { return z().useCallback(e, t) }, useContext: function(e, t) { return z().useContext(e, t) }, useEffect: function(e, t) { return z().useEffect(e, t) }, useImperativeHandle: function(e, t, r) { return z().useImperativeHandle(e, t, r) }, useDebugValue: function() {}, useLayoutEffect: function(e, t) { return z().useLayoutEffect(e, t) }, useMemo: function(e, t) { return z().useMemo(e, t) }, useReducer: function(e, t, r) { return z().useReducer(e, t, r) }, useRef: function(e) { return z().useRef(e) }, useState: function(e) { return z().useState(e) }, Fragment: s, StrictMode: u, Suspense: h, createElement: x, cloneElement: function(e, t, r) { null == e && g("267", e); var i = void 0, a = n({}, e.props), s = e.key, u = e.ref, c = e._owner; if (null != t) { void 0 !== t.ref && (u = t.ref, c = w.current), void 0 !== t.key && (s = "" + t.key); var l = void 0; for (i in e.type && e.type.defaultProps && (l = e.type.defaultProps), t) I.call(t, i) && !P.hasOwnProperty(i) && (a[i] = void 0 === t[i] && void 0 !== l ? l[i] : t[i]) } if (1 == (i = arguments.length - 2)) a.children = r; else if (1 < i) { l = Array(i); for (var f = 0; f < i; f++) l[f] = arguments[f + 2]; a.children = l } return { $$typeof: o, type: e.type, key: s, ref: u, props: a, _owner: c } }, createFactory: function(e) { var t = x.bind(null, e); return t.type = e, t }, isValidElement: N, version: "16.8.6", unstable_ConcurrentMode: p, unstable_Profiler: c, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { ReactCurrentDispatcher: O, ReactCurrentOwner: w, assign: n } }, G = { default: V }, q = G && V || G; e.exports = q.default || q }, function(e, t, r) { "use strict"; var n = Object.getOwnPropertySymbols, i = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable; function a(e) { if (null == e) throw new TypeError("Object.assign cannot be called with null or undefined"); return Object(e) } e.exports = function() { try { if (!Object.assign) return !1; var e = new String("abc"); if (e[5] = "de", "5" === Object.getOwnPropertyNames(e)[0]) return !1; for (var t = {}, r = 0; r < 10; r++) t["_" + String.fromCharCode(r)] = r; if ("0123456789" !== Object.getOwnPropertyNames(t).map((function(e) { return t[e] })).join("")) return !1; var n = {}; return "abcdefghijklmnopqrst".split("").forEach((function(e) { n[e] = e })), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, n)).join("") } catch (e) { return !1 } }() ? Object.assign : function(e, t) { for (var r, s, u = a(e), c = 1; c < arguments.length; c++) { for (var l in r = Object(arguments[c])) i.call(r, l) && (u[l] = r[l]); if (n) { s = n(r); for (var f = 0; f < s.length; f++) o.call(r, s[f]) && (u[s[f]] = r[s[f]]) } } return u } }]) }, function(e, t, r) { e.exports = r(1105)() }, function(e, t) { "function" == typeof Object.create ? e.exports = function(e, t) { t && (e.super_ = t, e.prototype = Object.create(t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } })) } : e.exports = function(e, t) { if (t) { e.super_ = t; var r = function() {}; r.prototype = t.prototype, e.prototype = new r, e.prototype.constructor = e } } }, function(e, t, r) { var n; ! function() { "use strict"; var r = {}.hasOwnProperty; function i() { for (var e = [], t = 0; t < arguments.length; t++) { var n = arguments[t]; if (n) { var o = typeof n; if ("string" === o || "number" === o) e.push(n); else if (Array.isArray(n) && n.length) { var a = i.apply(null, n); a && e.push(a) } else if ("object" === o) for (var s in n) r.call(n, s) && n[s] && e.push(s) } } return e.join(" ") } e.exports ? (i.default = i, e.exports = i) : void 0 === (n = function() { return i }.apply(t, [])) || (e.exports = n) }() }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, i.useContext)(o.default); if (!e) throw new Error("This hook can only be used on a component that is a descendant of <Composer>"); return e }; var n, i = r(0), o = (n = r(62)) && n.__esModule ? n : { default: n } }, function(e, t) { e.exports = function(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.default)().styleSet] }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.compose = t.merge = t.$ = t.style = t.presets = t.keyframes = t.fontFace = t.insertGlobal = t.insertRule = t.plugins = t.styleSheet = void 0, t.speedy = function(e) { return f.speedy(e) }, t.simulations = function() { var e = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0]; h = !!e }, t.simulate = function() { for (var e = arguments.length, t = Array(e), r = 0; r < e; r++) t[r] = arguments[r]; if (!(t = (0, a.default)(t))) return {}; if (!h) return v || (console.warn("can't simulate without once calling simulations(true)"), v = !0), m || (console.warn("don't use simulation outside dev"), m = !0), {}; return t.reduce((function(e, t) { return e["data-simulate-" + b(t)] = "", e }), {}) }, t.cssLabels = function(e) { y = !!e }, t.isLikeRule = _, t.idFor = T, t.css = V, t.rehydrate = function(e) { (0, n.default)(I, e.reduce((function(e, t) { return e[t] = !0, e }), {})) }, t.flush = function() { I = f.inserted = {}, P = f.registered = {}, N = {}, f.flush(), f.inject() }, t.select = q, t.parent = function(e) { for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n]; return V(l({}, e + " &", r)) }, t.media = function(e) { for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n]; return V(l({}, "@media " + e, r)) }, t.pseudo = H, t.active = function(e) { return H(":active", e) }, t.any = function(e) { return H(":any", e) }, t.checked = function(e) { return H(":checked", e) }, t.disabled = function(e) { return H(":disabled", e) }, t.empty = function(e) { return H(":empty", e) }, t.enabled = function(e) { return H(":enabled", e) }, t._default = function(e) { return H(":default", e) }, t.first = function(e) { return H(":first", e) }, t.firstChild = function(e) { return H(":first-child", e) }, t.firstOfType = function(e) { return H(":first-of-type", e) }, t.fullscreen = function(e) { return H(":fullscreen", e) }, t.focus = function(e) { return H(":focus", e) }, t.hover = function(e) { return H(":hover", e) }, t.indeterminate = function(e) { return H(":indeterminate", e) }, t.inRange = function(e) { return H(":in-range", e) }, t.invalid = function(e) { return H(":invalid", e) }, t.lastChild = function(e) { return H(":last-child", e) }, t.lastOfType = function(e) { return H(":last-of-type", e) }, t.left = function(e) { return H(":left", e) }, t.link = function(e) { return H(":link", e) }, t.onlyChild = function(e) { return H(":only-child", e) }, t.onlyOfType = function(e) { return H(":only-of-type", e) }, t.optional = function(e) { return H(":optional", e) }, t.outOfRange = function(e) { return H(":out-of-range", e) }, t.readOnly = function(e) { return H(":read-only", e) }, t.readWrite = function(e) { return H(":read-write", e) }, t.required = function(e) { return H(":required", e) }, t.right = function(e) { return H(":right", e) }, t.root = function(e) { return H(":root", e) }, t.scope = function(e) { return H(":scope", e) }, t.target = function(e) { return H(":target", e) }, t.valid = function(e) { return H(":valid", e) }, t.visited = function(e) { return H(":visited", e) }, t.dir = function(e, t) { return H(":dir(" + e + ")", t) }, t.lang = function(e, t) { return H(":lang(" + e + ")", t) }, t.not = function(e, t) { var r = e.split(",").map((function(e) { return e.trim() })).map((function(e) { return ":not(" + e + ")" })); if (1 === r.length) return H(":not(" + e + ")", t); return q(r.join(""), t) }, t.nthChild = function(e, t) { return H(":nth-child(" + e + ")", t) }, t.nthLastChild = function(e, t) { return H(":nth-last-child(" + e + ")", t) }, t.nthLastOfType = function(e, t) { return H(":nth-last-of-type(" + e + ")", t) }, t.nthOfType = function(e, t) { return H(":nth-of-type(" + e + ")", t) }, t.after = function(e) { return H("::after", e) }, t.before = function(e) { return H("::before", e) }, t.firstLetter = function(e) { return H("::first-letter", e) }, t.firstLine = function(e) { return H("::first-line", e) }, t.selection = function(e) { return H("::selection", e) }, t.backdrop = function(e) { return H("::backdrop", e) }, t.placeholder = function(e) { return V({ "::placeholder": e }) }, t.cssFor = function() { for (var e = arguments.length, t = Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return (t = (0, a.default)(t)) ? t.map((function(e) { var t = { label: [] }; return j(t, { src: e }), w(g(t), O(t)).join("") })).join("") : "" }, t.attribsFor = function() { for (var e = arguments.length, t = Array(e), r = 0; r < e; r++) t[r] = arguments[r]; var n = (t = (0, a.default)(t)) ? t.map((function(e) { T(e); var t = Object.keys(e)[0]; return t + '="' + (e[t] || "") + '"' })).join(" ") : ""; return n }; var n = c(r(282)), i = r(1077), o = r(500), a = c(r(1086)), s = r(1087), u = c(r(1104)); function c(e) { return e && e.__esModule ? e : { default: e } } function l(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } var f = t.styleSheet = new i.StyleSheet; f.inject(); var p = t.plugins = f.plugins = new s.PluginSet([s.prefixes, s.contentWrap, s.fallbacks]); p.media = new s.PluginSet, p.fontFace = new s.PluginSet, p.keyframes = new s.PluginSet([s.prefixes, s.fallbacks]); var d = "undefined" != typeof window, h = !1, v = !1, m = !1; var y = !1; function b(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : ""; return e.toLowerCase().replace(/[^a-z0-9]/g, t) } function g(e) { var t = JSON.stringify(e), r = (0, u.default)(t).toString(36); return e.label && e.label.length, r } function _(e) { var t = Object.keys(e).filter((function(e) { return "toString" !== e })); return 1 === t.length && !!/data\-css\-([a-zA-Z0-9\-_]+)/.exec(t[0]) } function T(e) { var t = Object.keys(e).filter((function(e) { return "toString" !== e })); if (1 !== t.length) throw new Error("not a rule"); var r = /data\-css\-([a-zA-Z0-9\-_]+)/.exec(t[0]); if (!r) throw new Error("not a rule"); return r[1] } var S = /[(),]|"(?:\\.|[^"\n])*"|'(?:\\.|[^'\n])*'|\/\*[\s\S]*?\*\//g; function A(e) { if (-1 === e.indexOf(",")) return [e]; for (var t, r = [], n = [], i = 0; t = S.exec(e);) switch (t[0]) { case "(": i++; break; case ")": i--; break; case ",": if (i) break; r.push(t.index) } for (t = r.length; t--;) n.unshift(e.slice(r[t] + 1)), e = e.slice(0, r[t]); return n.unshift(e), n } function E(e, t) { if (!e) return t.replace(/\&/g, ""); if (!t) return ".css-" + e + ",[data-css-" + e + "]"; var r = A(t).map((function(t) { return t.indexOf("&") >= 0 ? [t.replace(/\&/gm, ".css-" + e), t.replace(/\&/gm, "[data-css-" + e + "]")].join(",") : ".css-" + e + t + ",[data-css-" + e + "]" + t })).join(","); return h && /^\&\:/.exec(t) && !/\s/.exec(t) && (r += ",.css-" + e + "[data-simulate-" + b(t) + "],[data-css-" + e + "][data-simulate-" + b(t) + "]"), r } function C(e) { var t = e.selector, r = e.style, n = p.transform({ selector: t, style: r }); return n.selector + "{" + (0, o.createMarkupForStyles)(n.style) + "}" } function O(e) { var t = void 0, r = void 0, n = void 0, i = void 0; return Object.keys(e).forEach((function(o) { o.indexOf("&") >= 0 ? (r = r || {})[o] = e[o] : 0 === o.indexOf("@media") ? (n = n || {})[o] = O(e[o]) : 0 === o.indexOf("@supports") ? (i = i || {})[o] = O(e[o]) : "label" === o ? e.label.length > 0 && ((t = t || {}).label = y ? e.label.join(".") : "") : (t = t || {})[o] = e[o] })), { plain: t, selects: r, medias: n, supports: i } } function w(e, t) { var r = [], n = t.plain, i = t.selects, o = t.medias, a = t.supports; return n && r.push(C({ style: n, selector: E(e) })), i && Object.keys(i).forEach((function(t) { return r.push(C({ style: i[t], selector: E(e, t) })) })), o && Object.keys(o).forEach((function(t) { return r.push(t + "{" + w(e, o[t]).join("") + "}") })), a && Object.keys(a).forEach((function(t) { return r.push(t + "{" + w(e, a[t]).join("") + "}") })), r } var I = f.inserted = {}; var P = f.registered = {}; function x(e) { P[e.id] || (P[e.id] = e) } var N = {}; function k(e) { if (x(e), function(e) { if (!I[e.id]) { I[e.id] = !0; var t = O(e.style), r = w(e.id, t); I[e.id] = !!d || r, r.forEach((function(e) { return f.insert(e) })) } }(e), N[e.id]) return N[e.id]; var t = l({}, "data-css-" + e.id, y && e.label || ""); return Object.defineProperty(t, "toString", { enumerable: !1, value: function() { return "css-" + e.id } }), N[e.id] = t, t } function R(e, t) { var r = A(e).map((function(e) { return e.indexOf("&") >= 0 ? e : "&" + e })); return A(t).map((function(e) { return e.indexOf("&") >= 0 ? e : "&" + e })).reduce((function(e, t) { return e.concat(r.map((function(e) { return t.replace(/\&/g, e) }))) }), []).join(",") } function L(e, t) { return e ? "@supports " + e.substring(9) + " and " + t.substring(9) : t } var M = { "::placeholder": ["::-webkit-input-placeholder", "::-moz-placeholder", "::-ms-input-placeholder"], ":fullscreen": [":-webkit-full-screen", ":-moz-full-screen", ":-ms-fullscreen"] }; function j(e, t) { var r = t.selector, n = void 0 === r ? "" : r, i = t.mq, o = void 0 === i ? "" : i, s = t.supp, u = void 0 === s ? "" : s, c = t.src, l = void 0 === c ? {} : c; Array.isArray(l) || (l = [l]), (l = function e(t) { for (var r = [], n = 0; n < t.length; n++) r = Array.isArray(t[n]) ? r.concat(e(t[n])) : r.concat(t[n]); return r }(l)).forEach((function(t) { if (_(t)) { var r = function(e) { if (_(e)) { var t = P[T(e)]; if (null == t) throw new Error("[glamor] an unexpected rule cache miss occurred. This is probably a sign of multiple glamor instances in your app. See https://github.com/threepointone/glamor/issues/79"); return t } return e }(t); if ("css" !== r.type) throw new Error("cannot merge this rule"); t = r.style }(t = (0, a.default)(t)) && t.composes && j(e, { selector: n, mq: o, supp: u, src: t.composes }), Object.keys(t || {}).forEach((function(r) { if (function(e) { for (var t = [":", ".", "[", ">", " "], r = !1, n = e.charAt(0), i = 0; i < t.length; i++) if (n === t[i]) { r = !0; break } return r || e.indexOf("&") >= 0 }(r)) M[r] && M[r].forEach((function(i) { return j(e, { selector: R(n, i), mq: o, supp: u, src: t[r] }) })), j(e, { selector: R(n, r), mq: o, supp: u, src: t[r] }); else if (function(e) { return 0 === e.indexOf("@media") }(r)) j(e, { selector: n, mq: (a = o, s = r, a ? "@media " + a.substring(6) + " and " + s.substring(6) : s), supp: u, src: t[r] }); else if (function(e) { return 0 === e.indexOf("@supports") }(r)) j(e, { selector: n, mq: o, supp: L(u, r), src: t[r] }); else if ("composes" === r); else { var i = e; u && (i[u] = i[u] || {}, i = i[u]), o && (i[o] = i[o] || {}, i = i[o]), n && (i[n] = i[n] || {}, i = i[n]), "label" === r ? y && (e.label = e.label.concat(t.label)) : i[r] = t[r] } var a, s })) })) } function D(e) { var t = { label: [] }; return j(t, { src: e }), k({ id: g(t), style: t, label: y ? t.label.join(".") : "", type: "css" }) } var U = {}; Object.defineProperty(U, "toString", { enumerable: !1, value: function() { return "css-nil" } }); var B = "undefined" != typeof WeakMap ? [U, new WeakMap, new WeakMap, new WeakMap] : [U]; var F, z = "undefined" != typeof WeakMap ? (F = D, function(e) { if (B[e.length]) { for (var t = B[e.length], r = 0; r < e.length - 1;) t.has(e[r]) || t.set(e[r], new WeakMap), t = t.get(e[r]), r++; if (t.has(e[e.length - 1])) { var n = t.get(e[r]); if (P[n.toString().substring(4)]) return n } } var i = F(e); if (B[e.length]) { for (var o = 0, a = B[e.length]; o < e.length - 1;) a = a.get(e[o]), o++; try { a.set(e[o], i) } catch (e) {} } return i }) : D; function V() { for (var e = arguments.length, t = Array(e), r = 0; r < e; r++) t[r] = arguments[r]; if (t[0] && t[0].length && t[0].raw) throw new Error("you forgot to include glamor/babel in your babel plugins."); return (t = (0, a.default)(t)) ? z(t) : U } V.insert = function(e) { var t = { id: g(e), css: e, type: "raw" }; x(t), I[t.id] || (f.insert(t.css), I[t.id] = !!d || [t.css]) }; t.insertRule = V.insert; V.global = function(e, t) { if (t = (0, a.default)(t)) return V.insert(C({ selector: e, style: t })) }; t.insertGlobal = V.global; V.keyframes = function(e, t) { t || (t = e, e = "animation"); var r = { id: g({ name: e, kfs: t = (0, a.default)(t) || {} }), type: "keyframes", name: e, keyframes: t }; return x(r), function(e) { if (!I[e.id]) { var t = Object.keys(e.keyframes).map((function(t) { var r = p.keyframes.transform({ id: e.id, name: t, style: e.keyframes[t] }); return r.name + "{" + (0, o.createMarkupForStyles)(r.style) + "}" })).join(""), r = ["-webkit-", "-moz-", "-o-", ""].map((function(r) { return "@" + r + "keyframes " + e.name + "_" + e.id + "{" + t + "}" })); r.forEach((function(e) { return f.insert(e) })), I[e.id] = !!d || r } }(r), e + "_" + r.id }, V.fontFace = function(e) { var t = { id: g(e = (0, a.default)(e)), type: "font-face", font: e }; return x(t), function(e) { if (!I[e.id]) { var t = "@font-face{" + (0, o.createMarkupForStyles)(e.font) + "}"; f.insert(t), I[e.id] = !!d || [t] } }(t), e.fontFamily }; t.fontFace = V.fontFace, t.keyframes = V.keyframes; t.presets = { mobile: "(min-width: 400px)", Mobile: "@media (min-width: 400px)", phablet: "(min-width: 550px)", Phablet: "@media (min-width: 550px)", tablet: "(min-width: 750px)", Tablet: "@media (min-width: 750px)", desktop: "(min-width: 1000px)", Desktop: "@media (min-width: 1000px)", hd: "(min-width: 1200px)", Hd: "@media (min-width: 1200px)" }; var G = t.style = V; function q(e) { for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n]; return e ? V(l({}, e, r)) : G(r) } t.$ = q; t.merge = V, t.compose = V; function H(e) { for (var t = arguments.length, r = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n]; return V(l({}, e, r)) } }, function(e, t, r) { "use strict"; (function(e) { var n = r(901), i = r(902), o = r(251); function a() { return u.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823 } function s(e, t) { if (a() < t) throw new RangeError("Invalid typed array length"); return u.TYPED_ARRAY_SUPPORT ? (e = new Uint8Array(t)).__proto__ = u.prototype : (null === e && (e = new u(t)), e.length = t), e } function u(e, t, r) { if (!(u.TYPED_ARRAY_SUPPORT || this instanceof u)) return new u(e, t, r); if ("number" == typeof e) { if ("string" == typeof t) throw new Error("If encoding is specified then the first argument must be a string"); return f(this, e) } return c(this, e, t, r) } function c(e, t, r, n) { if ("number" == typeof t) throw new TypeError('"value" argument must not be a number'); return "undefined" != typeof ArrayBuffer && t instanceof ArrayBuffer ? function(e, t, r, n) { if (t.byteLength, r < 0 || t.byteLength < r) throw new RangeError("'offset' is out of bounds"); if (t.byteLength < r + (n || 0)) throw new RangeError("'length' is out of bounds"); t = void 0 === r && void 0 === n ? new Uint8Array(t) : void 0 === n ? new Uint8Array(t, r) : new Uint8Array(t, r, n); u.TYPED_ARRAY_SUPPORT ? (e = t).__proto__ = u.prototype : e = p(e, t); return e }(e, t, r, n) : "string" == typeof t ? function(e, t, r) { "string" == typeof r && "" !== r || (r = "utf8"); if (!u.isEncoding(r)) throw new TypeError('"encoding" must be a valid string encoding'); var n = 0 | h(t, r), i = (e = s(e, n)).write(t, r); i !== n && (e = e.slice(0, i)); return e }(e, t, r) : function(e, t) { if (u.isBuffer(t)) { var r = 0 | d(t.length); return 0 === (e = s(e, r)).length || t.copy(e, 0, 0, r), e } if (t) { if ("undefined" != typeof ArrayBuffer && t.buffer instanceof ArrayBuffer || "length" in t) return "number" != typeof t.length || (n = t.length) != n ? s(e, 0) : p(e, t); if ("Buffer" === t.type && o(t.data)) return p(e, t.data) } var n; throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.") }(e, t) } function l(e) { if ("number" != typeof e) throw new TypeError('"size" argument must be a number'); if (e < 0) throw new RangeError('"size" argument must not be negative') } function f(e, t) { if (l(t), e = s(e, t < 0 ? 0 : 0 | d(t)), !u.TYPED_ARRAY_SUPPORT) for (var r = 0; r < t; ++r) e[r] = 0; return e } function p(e, t) { var r = t.length < 0 ? 0 : 0 | d(t.length); e = s(e, r); for (var n = 0; n < r; n += 1) e[n] = 255 & t[n]; return e } function d(e) { if (e >= a()) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + a().toString(16) + " bytes"); return 0 | e } function h(e, t) { if (u.isBuffer(e)) return e.length; if ("undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer.isView && (ArrayBuffer.isView(e) || e instanceof ArrayBuffer)) return e.byteLength; "string" != typeof e && (e = "" + e); var r = e.length; if (0 === r) return 0; for (var n = !1;;) switch (t) { case "ascii": case "latin1": case "binary": return r; case "utf8": case "utf-8": case void 0: return F(e).length; case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return 2 * r; case "hex": return r >>> 1; case "base64": return z(e).length; default: if (n) return F(e).length; t = ("" + t).toLowerCase(), n = !0 } } function v(e, t, r) { var n = !1; if ((void 0 === t || t < 0) && (t = 0), t > this.length) return ""; if ((void 0 === r || r > this.length) && (r = this.length), r <= 0) return ""; if ((r >>>= 0) <= (t >>>= 0)) return ""; for (e || (e = "utf8");;) switch (e) { case "hex": return P(this, t, r); case "utf8": case "utf-8": return O(this, t, r); case "ascii": return w(this, t, r); case "latin1": case "binary": return I(this, t, r); case "base64": return C(this, t, r); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return x(this, t, r); default: if (n) throw new TypeError("Unknown encoding: " + e); e = (e + "").toLowerCase(), n = !0 } } function m(e, t, r) { var n = e[t]; e[t] = e[r], e[r] = n } function y(e, t, r, n, i) { if (0 === e.length) return -1; if ("string" == typeof r ? (n = r, r = 0) : r > 2147483647 ? r = 2147483647 : r < -2147483648 && (r = -2147483648), r = +r, isNaN(r) && (r = i ? 0 : e.length - 1), r < 0 && (r = e.length + r), r >= e.length) { if (i) return -1; r = e.length - 1 } else if (r < 0) { if (!i) return -1; r = 0 } if ("string" == typeof t && (t = u.from(t, n)), u.isBuffer(t)) return 0 === t.length ? -1 : b(e, t, r, n, i); if ("number" == typeof t) return t &= 255, u.TYPED_ARRAY_SUPPORT && "function" == typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(e, t, r) : Uint8Array.prototype.lastIndexOf.call(e, t, r) : b(e, [t], r, n, i); throw new TypeError("val must be string, number or Buffer") } function b(e, t, r, n, i) { var o, a = 1, s = e.length, u = t.length; if (void 0 !== n && ("ucs2" === (n = String(n).toLowerCase()) || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)) { if (e.length < 2 || t.length < 2) return -1; a = 2, s /= 2, u /= 2, r /= 2 } function c(e, t) { return 1 === a ? e[t] : e.readUInt16BE(t * a) } if (i) { var l = -1; for (o = r; o < s; o++) if (c(e, o) === c(t, -1 === l ? 0 : o - l)) { if (-1 === l && (l = o), o - l + 1 === u) return l * a } else -1 !== l && (o -= o - l), l = -1 } else for (r + u > s && (r = s - u), o = r; o >= 0; o--) { for (var f = !0, p = 0; p < u; p++) if (c(e, o + p) !== c(t, p)) { f = !1; break } if (f) return o } return -1 } function g(e, t, r, n) { r = Number(r) || 0; var i = e.length - r; n ? (n = Number(n)) > i && (n = i) : n = i; var o = t.length; if (o % 2 != 0) throw new TypeError("Invalid hex string"); n > o / 2 && (n = o / 2); for (var a = 0; a < n; ++a) { var s = parseInt(t.substr(2 * a, 2), 16); if (isNaN(s)) return a; e[r + a] = s } return a } function _(e, t, r, n) { return V(F(t, e.length - r), e, r, n) } function T(e, t, r, n) { return V(function(e) { for (var t = [], r = 0; r < e.length; ++r) t.push(255 & e.charCodeAt(r)); return t }(t), e, r, n) } function S(e, t, r, n) { return T(e, t, r, n) } function A(e, t, r, n) { return V(z(t), e, r, n) } function E(e, t, r, n) { return V(function(e, t) { for (var r, n, i, o = [], a = 0; a < e.length && !((t -= 2) < 0); ++a) r = e.charCodeAt(a), n = r >> 8, i = r % 256, o.push(i), o.push(n); return o }(t, e.length - r), e, r, n) } function C(e, t, r) { return 0 === t && r === e.length ? n.fromByteArray(e) : n.fromByteArray(e.slice(t, r)) } function O(e, t, r) { r = Math.min(e.length, r); for (var n = [], i = t; i < r;) { var o, a, s, u, c = e[i], l = null, f = c > 239 ? 4 : c > 223 ? 3 : c > 191 ? 2 : 1; if (i + f <= r) switch (f) { case 1: c < 128 && (l = c); break; case 2: 128 == (192 & (o = e[i + 1])) && (u = (31 & c) << 6 | 63 & o) > 127 && (l = u); break; case 3: o = e[i + 1], a = e[i + 2], 128 == (192 & o) && 128 == (192 & a) && (u = (15 & c) << 12 | (63 & o) << 6 | 63 & a) > 2047 && (u < 55296 || u > 57343) && (l = u); break; case 4: o = e[i + 1], a = e[i + 2], s = e[i + 3], 128 == (192 & o) && 128 == (192 & a) && 128 == (192 & s) && (u = (15 & c) << 18 | (63 & o) << 12 | (63 & a) << 6 | 63 & s) > 65535 && u < 1114112 && (l = u) } null === l ? (l = 65533, f = 1) : l > 65535 && (l -= 65536, n.push(l >>> 10 & 1023 | 55296), l = 56320 | 1023 & l), n.push(l), i += f } return function(e) { var t = e.length; if (t <= 4096) return String.fromCharCode.apply(String, e); var r = "", n = 0; for (; n < t;) r += String.fromCharCode.apply(String, e.slice(n, n += 4096)); return r }(n) } t.Buffer = u, t.SlowBuffer = function(e) { +e != e && (e = 0); return u.alloc(+e) }, t.INSPECT_MAX_BYTES = 50, u.TYPED_ARRAY_SUPPORT = void 0 !== e.TYPED_ARRAY_SUPPORT ? e.TYPED_ARRAY_SUPPORT : function() { try { var e = new Uint8Array(1); return e.__proto__ = { __proto__: Uint8Array.prototype, foo: function() { return 42 } }, 42 === e.foo() && "function" == typeof e.subarray && 0 === e.subarray(1, 1).byteLength } catch (e) { return !1 } }(), t.kMaxLength = a(), u.poolSize = 8192, u._augment = function(e) { return e.__proto__ = u.prototype, e }, u.from = function(e, t, r) { return c(null, e, t, r) }, u.TYPED_ARRAY_SUPPORT && (u.prototype.__proto__ = Uint8Array.prototype, u.__proto__ = Uint8Array, "undefined" != typeof Symbol && Symbol.species && u[Symbol.species] === u && Object.defineProperty(u, Symbol.species, { value: null, configurable: !0 })), u.alloc = function(e, t, r) { return function(e, t, r, n) { return l(t), t <= 0 ? s(e, t) : void 0 !== r ? "string" == typeof n ? s(e, t).fill(r, n) : s(e, t).fill(r) : s(e, t) }(null, e, t, r) }, u.allocUnsafe = function(e) { return f(null, e) }, u.allocUnsafeSlow = function(e) { return f(null, e) }, u.isBuffer = function(e) { return !(null == e || !e._isBuffer) }, u.compare = function(e, t) { if (!u.isBuffer(e) || !u.isBuffer(t)) throw new TypeError("Arguments must be Buffers"); if (e === t) return 0; for (var r = e.length, n = t.length, i = 0, o = Math.min(r, n); i < o; ++i) if (e[i] !== t[i]) { r = e[i], n = t[i]; break } return r < n ? -1 : n < r ? 1 : 0 }, u.isEncoding = function(e) { switch (String(e).toLowerCase()) { case "hex": case "utf8": case "utf-8": case "ascii": case "latin1": case "binary": case "base64": case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return !0; default: return !1 } }, u.concat = function(e, t) { if (!o(e)) throw new TypeError('"list" argument must be an Array of Buffers'); if (0 === e.length) return u.alloc(0); var r; if (void 0 === t) for (t = 0, r = 0; r < e.length; ++r) t += e[r].length; var n = u.allocUnsafe(t), i = 0; for (r = 0; r < e.length; ++r) { var a = e[r]; if (!u.isBuffer(a)) throw new TypeError('"list" argument must be an Array of Buffers'); a.copy(n, i), i += a.length } return n }, u.byteLength = h, u.prototype._isBuffer = !0, u.prototype.swap16 = function() { var e = this.length; if (e % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits"); for (var t = 0; t < e; t += 2) m(this, t, t + 1); return this }, u.prototype.swap32 = function() { var e = this.length; if (e % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits"); for (var t = 0; t < e; t += 4) m(this, t, t + 3), m(this, t + 1, t + 2); return this }, u.prototype.swap64 = function() { var e = this.length; if (e % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits"); for (var t = 0; t < e; t += 8) m(this, t, t + 7), m(this, t + 1, t + 6), m(this, t + 2, t + 5), m(this, t + 3, t + 4); return this }, u.prototype.toString = function() { var e = 0 | this.length; return 0 === e ? "" : 0 === arguments.length ? O(this, 0, e) : v.apply(this, arguments) }, u.prototype.equals = function(e) { if (!u.isBuffer(e)) throw new TypeError("Argument must be a Buffer"); return this === e || 0 === u.compare(this, e) }, u.prototype.inspect = function() { var e = "", r = t.INSPECT_MAX_BYTES; return this.length > 0 && (e = this.toString("hex", 0, r).match(/.{2}/g).join(" "), this.length > r && (e += " ... ")), "<Buffer " + e + ">" }, u.prototype.compare = function(e, t, r, n, i) { if (!u.isBuffer(e)) throw new TypeError("Argument must be a Buffer"); if (void 0 === t && (t = 0), void 0 === r && (r = e ? e.length : 0), void 0 === n && (n = 0), void 0 === i && (i = this.length), t < 0 || r > e.length || n < 0 || i > this.length) throw new RangeError("out of range index"); if (n >= i && t >= r) return 0; if (n >= i) return -1; if (t >= r) return 1; if (this === e) return 0; for (var o = (i >>>= 0) - (n >>>= 0), a = (r >>>= 0) - (t >>>= 0), s = Math.min(o, a), c = this.slice(n, i), l = e.slice(t, r), f = 0; f < s; ++f) if (c[f] !== l[f]) { o = c[f], a = l[f]; break } return o < a ? -1 : a < o ? 1 : 0 }, u.prototype.includes = function(e, t, r) { return -1 !== this.indexOf(e, t, r) }, u.prototype.indexOf = function(e, t, r) { return y(this, e, t, r, !0) }, u.prototype.lastIndexOf = function(e, t, r) { return y(this, e, t, r, !1) }, u.prototype.write = function(e, t, r, n) { if (void 0 === t) n = "utf8", r = this.length, t = 0; else if (void 0 === r && "string" == typeof t) n = t, r = this.length, t = 0; else { if (!isFinite(t)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported"); t |= 0, isFinite(r) ? (r |= 0, void 0 === n && (n = "utf8")) : (n = r, r = void 0) } var i = this.length - t; if ((void 0 === r || r > i) && (r = i), e.length > 0 && (r < 0 || t < 0) || t > this.length) throw new RangeError("Attempt to write outside buffer bounds"); n || (n = "utf8"); for (var o = !1;;) switch (n) { case "hex": return g(this, e, t, r); case "utf8": case "utf-8": return _(this, e, t, r); case "ascii": return T(this, e, t, r); case "latin1": case "binary": return S(this, e, t, r); case "base64": return A(this, e, t, r); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return E(this, e, t, r); default: if (o) throw new TypeError("Unknown encoding: " + n); n = ("" + n).toLowerCase(), o = !0 } }, u.prototype.toJSON = function() { return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) } }; function w(e, t, r) { var n = ""; r = Math.min(e.length, r); for (var i = t; i < r; ++i) n += String.fromCharCode(127 & e[i]); return n } function I(e, t, r) { var n = ""; r = Math.min(e.length, r); for (var i = t; i < r; ++i) n += String.fromCharCode(e[i]); return n } function P(e, t, r) { var n = e.length; (!t || t < 0) && (t = 0), (!r || r < 0 || r > n) && (r = n); for (var i = "", o = t; o < r; ++o) i += B(e[o]); return i } function x(e, t, r) { for (var n = e.slice(t, r), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1]); return i } function N(e, t, r) { if (e % 1 != 0 || e < 0) throw new RangeError("offset is not uint"); if (e + t > r) throw new RangeError("Trying to access beyond buffer length") } function k(e, t, r, n, i, o) { if (!u.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance'); if (t > i || t < o) throw new RangeError('"value" argument is out of bounds'); if (r + n > e.length) throw new RangeError("Index out of range") } function R(e, t, r, n) { t < 0 && (t = 65535 + t + 1); for (var i = 0, o = Math.min(e.length - r, 2); i < o; ++i) e[r + i] = (t & 255 << 8 * (n ? i : 1 - i)) >>> 8 * (n ? i : 1 - i) } function L(e, t, r, n) { t < 0 && (t = 4294967295 + t + 1); for (var i = 0, o = Math.min(e.length - r, 4); i < o; ++i) e[r + i] = t >>> 8 * (n ? i : 3 - i) & 255 } function M(e, t, r, n, i, o) { if (r + n > e.length) throw new RangeError("Index out of range"); if (r < 0) throw new RangeError("Index out of range") } function j(e, t, r, n, o) { return o || M(e, 0, r, 4), i.write(e, t, r, n, 23, 4), r + 4 } function D(e, t, r, n, o) { return o || M(e, 0, r, 8), i.write(e, t, r, n, 52, 8), r + 8 } u.prototype.slice = function(e, t) { var r, n = this.length; if ((e = ~~e) < 0 ? (e += n) < 0 && (e = 0) : e > n && (e = n), (t = void 0 === t ? n : ~~t) < 0 ? (t += n) < 0 && (t = 0) : t > n && (t = n), t < e && (t = e), u.TYPED_ARRAY_SUPPORT)(r = this.subarray(e, t)).__proto__ = u.prototype; else { var i = t - e; r = new u(i, void 0); for (var o = 0; o < i; ++o) r[o] = this[o + e] } return r }, u.prototype.readUIntLE = function(e, t, r) { e |= 0, t |= 0, r || N(e, t, this.length); for (var n = this[e], i = 1, o = 0; ++o < t && (i *= 256);) n += this[e + o] * i; return n }, u.prototype.readUIntBE = function(e, t, r) { e |= 0, t |= 0, r || N(e, t, this.length); for (var n = this[e + --t], i = 1; t > 0 && (i *= 256);) n += this[e + --t] * i; return n }, u.prototype.readUInt8 = function(e, t) { return t || N(e, 1, this.length), this[e] }, u.prototype.readUInt16LE = function(e, t) { return t || N(e, 2, this.length), this[e] | this[e + 1] << 8 }, u.prototype.readUInt16BE = function(e, t) { return t || N(e, 2, this.length), this[e] << 8 | this[e + 1] }, u.prototype.readUInt32LE = function(e, t) { return t || N(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + 16777216 * this[e + 3] }, u.prototype.readUInt32BE = function(e, t) { return t || N(e, 4, this.length), 16777216 * this[e] + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]) }, u.prototype.readIntLE = function(e, t, r) { e |= 0, t |= 0, r || N(e, t, this.length); for (var n = this[e], i = 1, o = 0; ++o < t && (i *= 256);) n += this[e + o] * i; return n >= (i *= 128) && (n -= Math.pow(2, 8 * t)), n }, u.prototype.readIntBE = function(e, t, r) { e |= 0, t |= 0, r || N(e, t, this.length); for (var n = t, i = 1, o = this[e + --n]; n > 0 && (i *= 256);) o += this[e + --n] * i; return o >= (i *= 128) && (o -= Math.pow(2, 8 * t)), o }, u.prototype.readInt8 = function(e, t) { return t || N(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e] }, u.prototype.readInt16LE = function(e, t) { t || N(e, 2, this.length); var r = this[e] | this[e + 1] << 8; return 32768 & r ? 4294901760 | r : r }, u.prototype.readInt16BE = function(e, t) { t || N(e, 2, this.length); var r = this[e + 1] | this[e] << 8; return 32768 & r ? 4294901760 | r : r }, u.prototype.readInt32LE = function(e, t) { return t || N(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24 }, u.prototype.readInt32BE = function(e, t) { return t || N(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3] }, u.prototype.readFloatLE = function(e, t) { return t || N(e, 4, this.length), i.read(this, e, !0, 23, 4) }, u.prototype.readFloatBE = function(e, t) { return t || N(e, 4, this.length), i.read(this, e, !1, 23, 4) }, u.prototype.readDoubleLE = function(e, t) { return t || N(e, 8, this.length), i.read(this, e, !0, 52, 8) }, u.prototype.readDoubleBE = function(e, t) { return t || N(e, 8, this.length), i.read(this, e, !1, 52, 8) }, u.prototype.writeUIntLE = function(e, t, r, n) { (e = +e, t |= 0, r |= 0, n) || k(this, e, t, r, Math.pow(2, 8 * r) - 1, 0); var i = 1, o = 0; for (this[t] = 255 & e; ++o < r && (i *= 256);) this[t + o] = e / i & 255; return t + r }, u.prototype.writeUIntBE = function(e, t, r, n) { (e = +e, t |= 0, r |= 0, n) || k(this, e, t, r, Math.pow(2, 8 * r) - 1, 0); var i = r - 1, o = 1; for (this[t + i] = 255 & e; --i >= 0 && (o *= 256);) this[t + i] = e / o & 255; return t + r }, u.prototype.writeUInt8 = function(e, t, r) { return e = +e, t |= 0, r || k(this, e, t, 1, 255, 0), u.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), this[t] = 255 & e, t + 1 }, u.prototype.writeUInt16LE = function(e, t, r) { return e = +e, t |= 0, r || k(this, e, t, 2, 65535, 0), u.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8) : R(this, e, t, !0), t + 2 }, u.prototype.writeUInt16BE = function(e, t, r) { return e = +e, t |= 0, r || k(this, e, t, 2, 65535, 0), u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = 255 & e) : R(this, e, t, !1), t + 2 }, u.prototype.writeUInt32LE = function(e, t, r) { return e = +e, t |= 0, r || k(this, e, t, 4, 4294967295, 0), u.TYPED_ARRAY_SUPPORT ? (this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = 255 & e) : L(this, e, t, !0), t + 4 }, u.prototype.writeUInt32BE = function(e, t, r) { return e = +e, t |= 0, r || k(this, e, t, 4, 4294967295, 0), u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e) : L(this, e, t, !1), t + 4 }, u.prototype.writeIntLE = function(e, t, r, n) { if (e = +e, t |= 0, !n) { var i = Math.pow(2, 8 * r - 1); k(this, e, t, r, i - 1, -i) } var o = 0, a = 1, s = 0; for (this[t] = 255 & e; ++o < r && (a *= 256);) e < 0 && 0 === s && 0 !== this[t + o - 1] && (s = 1), this[t + o] = (e / a >> 0) - s & 255; return t + r }, u.prototype.writeIntBE = function(e, t, r, n) { if (e = +e, t |= 0, !n) { var i = Math.pow(2, 8 * r - 1); k(this, e, t, r, i - 1, -i) } var o = r - 1, a = 1, s = 0; for (this[t + o] = 255 & e; --o >= 0 && (a *= 256);) e < 0 && 0 === s && 0 !== this[t + o + 1] && (s = 1), this[t + o] = (e / a >> 0) - s & 255; return t + r }, u.prototype.writeInt8 = function(e, t, r) { return e = +e, t |= 0, r || k(this, e, t, 1, 127, -128), u.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), e < 0 && (e = 255 + e + 1), this[t] = 255 & e, t + 1 }, u.prototype.writeInt16LE = function(e, t, r) { return e = +e, t |= 0, r || k(this, e, t, 2, 32767, -32768), u.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8) : R(this, e, t, !0), t + 2 }, u.prototype.writeInt16BE = function(e, t, r) { return e = +e, t |= 0, r || k(this, e, t, 2, 32767, -32768), u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = 255 & e) : R(this, e, t, !1), t + 2 }, u.prototype.writeInt32LE = function(e, t, r) { return e = +e, t |= 0, r || k(this, e, t, 4, 2147483647, -2147483648), u.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24) : L(this, e, t, !0), t + 4 }, u.prototype.writeInt32BE = function(e, t, r) { return e = +e, t |= 0, r || k(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e) : L(this, e, t, !1), t + 4 }, u.prototype.writeFloatLE = function(e, t, r) { return j(this, e, t, !0, r) }, u.prototype.writeFloatBE = function(e, t, r) { return j(this, e, t, !1, r) }, u.prototype.writeDoubleLE = function(e, t, r) { return D(this, e, t, !0, r) }, u.prototype.writeDoubleBE = function(e, t, r) { return D(this, e, t, !1, r) }, u.prototype.copy = function(e, t, r, n) { if (r || (r = 0), n || 0 === n || (n = this.length), t >= e.length && (t = e.length), t || (t = 0), n > 0 && n < r && (n = r), n === r) return 0; if (0 === e.length || 0 === this.length) return 0; if (t < 0) throw new RangeError("targetStart out of bounds"); if (r < 0 || r >= this.length) throw new RangeError("sourceStart out of bounds"); if (n < 0) throw new RangeError("sourceEnd out of bounds"); n > this.length && (n = this.length), e.length - t < n - r && (n = e.length - t + r); var i, o = n - r; if (this === e && r < t && t < n) for (i = o - 1; i >= 0; --i) e[i + t] = this[i + r]; else if (o < 1e3 || !u.TYPED_ARRAY_SUPPORT) for (i = 0; i < o; ++i) e[i + t] = this[i + r]; else Uint8Array.prototype.set.call(e, this.subarray(r, r + o), t); return o }, u.prototype.fill = function(e, t, r, n) { if ("string" == typeof e) { if ("string" == typeof t ? (n = t, t = 0, r = this.length) : "string" == typeof r && (n = r, r = this.length), 1 === e.length) { var i = e.charCodeAt(0); i < 256 && (e = i) } if (void 0 !== n && "string" != typeof n) throw new TypeError("encoding must be a string"); if ("string" == typeof n && !u.isEncoding(n)) throw new TypeError("Unknown encoding: " + n) } else "number" == typeof e && (e &= 255); if (t < 0 || this.length < t || this.length < r) throw new RangeError("Out of range index"); if (r <= t) return this; var o; if (t >>>= 0, r = void 0 === r ? this.length : r >>> 0, e || (e = 0), "number" == typeof e) for (o = t; o < r; ++o) this[o] = e; else { var a = u.isBuffer(e) ? e : F(new u(e, n).toString()), s = a.length; for (o = 0; o < r - t; ++o) this[o + t] = a[o % s] } return this }; var U = /[^+\/0-9A-Za-z-_]/g; function B(e) { return e < 16 ? "0" + e.toString(16) : e.toString(16) } function F(e, t) { var r; t = t || 1 / 0; for (var n = e.length, i = null, o = [], a = 0; a < n; ++a) { if ((r = e.charCodeAt(a)) > 55295 && r < 57344) { if (!i) { if (r > 56319) { (t -= 3) > -1 && o.push(239, 191, 189); continue } if (a + 1 === n) { (t -= 3) > -1 && o.push(239, 191, 189); continue } i = r; continue } if (r < 56320) { (t -= 3) > -1 && o.push(239, 191, 189), i = r; continue } r = 65536 + (i - 55296 << 10 | r - 56320) } else i && (t -= 3) > -1 && o.push(239, 191, 189); if (i = null, r < 128) { if ((t -= 1) < 0) break; o.push(r) } else if (r < 2048) { if ((t -= 2) < 0) break; o.push(r >> 6 | 192, 63 & r | 128) } else if (r < 65536) { if ((t -= 3) < 0) break; o.push(r >> 12 | 224, r >> 6 & 63 | 128, 63 & r | 128) } else { if (!(r < 1114112)) throw new Error("Invalid code point"); if ((t -= 4) < 0) break; o.push(r >> 18 | 240, r >> 12 & 63 | 128, r >> 6 & 63 | 128, 63 & r | 128) } } return o } function z(e) { return n.toByteArray(function(e) { if ((e = function(e) { return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "") }(e).replace(U, "")).length < 2) return ""; for (; e.length % 4 != 0;) e += "="; return e }(e)) } function V(e, t, r, n) { for (var i = 0; i < n && !(i + r >= t.length || i >= e.length); ++i) t[i + r] = e[i]; return i } }).call(this, r(14)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(690); t.AudioConfig = n.AudioConfig; var i = r(346); t.AudioStreamFormat = i.AudioStreamFormat; var o = r(1652); t.AudioInputStream = o.AudioInputStream, t.PullAudioInputStream = o.PullAudioInputStream, t.PushAudioInputStream = o.PushAudioInputStream; var a = r(1653); t.AudioOutputStream = a.AudioOutputStream, t.PullAudioOutputStream = a.PullAudioOutputStream; var s = r(1772); t.CancellationReason = s.CancellationReason; var u = r(1773); t.PullAudioInputStreamCallback = u.PullAudioInputStreamCallback; var c = r(1774); t.KeywordRecognitionModel = c.KeywordRecognitionModel; var l = r(1775); t.SessionEventArgs = l.SessionEventArgs; var f = r(1776); t.RecognitionEventArgs = f.RecognitionEventArgs; var p = r(1777); t.OutputFormat = p.OutputFormat; var d = r(1778); t.IntentRecognitionEventArgs = d.IntentRecognitionEventArgs; var h = r(1779); t.RecognitionResult = h.RecognitionResult; var v = r(1780); t.SpeechRecognitionResult = v.SpeechRecognitionResult; var m = r(1781); t.IntentRecognitionResult = m.IntentRecognitionResult; var y = r(1782); t.LanguageUnderstandingModel = y.LanguageUnderstandingModel; var b = r(1783); t.SpeechRecognitionEventArgs = b.SpeechRecognitionEventArgs; var g = r(1784); t.SpeechRecognitionCanceledEventArgs = g.SpeechRecognitionCanceledEventArgs; var _ = r(1785); t.TranslationRecognitionEventArgs = _.TranslationRecognitionEventArgs; var T = r(1786); t.TranslationSynthesisEventArgs = T.TranslationSynthesisEventArgs; var S = r(1654); t.TranslationRecognitionResult = S.TranslationRecognitionResult; var A = r(1787); t.TranslationSynthesisResult = A.TranslationSynthesisResult; var E = r(1788); t.ResultReason = E.ResultReason; var C = r(1789); t.SpeechConfig = C.SpeechConfig, t.SpeechConfigImpl = C.SpeechConfigImpl; var O = r(1790); t.SpeechTranslationConfig = O.SpeechTranslationConfig; var w = r(1791); t.PropertyCollection = w.PropertyCollection; var I = r(1655); t.PropertyId = I.PropertyId; var P = r(1792); t.Recognizer = P.Recognizer; var x = r(1793); t.SpeechRecognizer = x.SpeechRecognizer; var N = r(1794); t.IntentRecognizer = N.IntentRecognizer; var k = r(1795); t.TranslationRecognizer = k.TranslationRecognizer; var R = r(1796); t.Translations = R.Translations; var L = r(1797); t.NoMatchReason = L.NoMatchReason; var M = r(1798); t.NoMatchDetails = M.NoMatchDetails; var j = r(1799); t.TranslationRecognitionCanceledEventArgs = j.TranslationRecognitionCanceledEventArgs; var D = r(1800); t.IntentRecognitionCanceledEventArgs = D.IntentRecognitionCanceledEventArgs; var U = r(1801); t.CancellationDetails = U.CancellationDetails; var B = r(1802); t.CancellationErrorCode = B.CancellationErrorCode; var F = r(1803); t.ConnectionEventArgs = F.ConnectionEventArgs; var z = r(1804); t.ServiceEventArgs = z.ServiceEventArgs; var V = r(1805); t.Connection = V.Connection; var G = r(1806); t.PhraseListGrammar = G.PhraseListGrammar; var q = r(695); t.DialogServiceConfig = q.DialogServiceConfig; var H = r(1807); t.BotFrameworkConfig = H.BotFrameworkConfig; var W = r(1808); t.CustomCommandsConfig = W.CustomCommandsConfig; var Y = r(1809); t.DialogServiceConnector = Y.DialogServiceConnector; var K = r(1811); t.ActivityReceivedEventArgs = K.ActivityReceivedEventArgs; var $ = r(1812); t.ServicePropertyChannel = $.ServicePropertyChannel; var J = r(1813); t.ProfanityOption = J.ProfanityOption; var X = r(1814); t.BaseAudioPlayer = X.BaseAudioPlayer; var Z = r(1657); t.Conversation = Z.Conversation, t.ConversationExpirationEventArgs = Z.ConversationExpirationEventArgs, t.ConversationParticipantsChangedEventArgs = Z.ConversationParticipantsChangedEventArgs, t.ConversationTranslationCanceledEventArgs = Z.ConversationTranslationCanceledEventArgs, t.ConversationTranslationEventArgs = Z.ConversationTranslationEventArgs, t.ConversationTranslationResult = Z.ConversationTranslationResult, t.ConversationTranslator = Z.ConversationTranslator, t.Participant = Z.Participant, t.ParticipantChangedReason = Z.ParticipantChangedReason, t.User = Z.User }, function(e, t, r) { var n = r(8), i = n.Buffer; function o(e, t) { for (var r in e) t[r] = e[r] } function a(e, t, r) { return i(e, t, r) } i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? e.exports = n : (o(n, t), t.Buffer = a), a.prototype = Object.create(i.prototype), o(i, a), a.from = function(e, t, r) { if ("number" == typeof e) throw new TypeError("Argument must not be a number"); return i(e, t, r) }, a.alloc = function(e, t, r) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); var n = i(e); return void 0 !== t ? "string" == typeof r ? n.fill(t, r) : n.fill(t) : n.fill(0), n }, a.allocUnsafe = function(e) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); return i(e) }, a.allocUnsafeSlow = function(e) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); return n.SlowBuffer(e) } }, function(e, t, r) { "use strict"; var n = r(61), i = r(825), o = r(248), a = r(827), s = function() { function e(e) { this._isScalar = !1, e && (this._subscribe = e) } return e.prototype.lift = function(t) { var r = new e; return r.source = this, r.operator = t, r }, e.prototype.subscribe = function(e, t, r) { var n = this.operator, o = i.toSubscriber(e, t, r); if (n ? n.call(o, this.source) : o.add(this.source || !o.syncErrorThrowable ? this._subscribe(o) : this._trySubscribe(o)), o.syncErrorThrowable && (o.syncErrorThrowable = !1, o.syncErrorThrown)) throw o.syncErrorValue; return o }, e.prototype._trySubscribe = function(e) { try { return this._subscribe(e) } catch (t) { e.syncErrorThrown = !0, e.syncErrorValue = t, e.error(t) } }, e.prototype.forEach = function(e, t) { var r = this; if (t || (n.root.Rx && n.root.Rx.config && n.root.Rx.config.Promise ? t = n.root.Rx.config.Promise : n.root.Promise && (t = n.root.Promise)), !t) throw new Error("no Promise impl found"); return new t((function(t, n) { var i; i = r.subscribe((function(t) { if (i) try { e(t) } catch (e) { n(e), i.unsubscribe() } else e(t) }), n, t) })) }, e.prototype._subscribe = function(e) { return this.source.subscribe(e) }, e.prototype[o.observable] = function() { return this }, e.prototype.pipe = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t - 0] = arguments[t]; return 0 === e.length ? this : a.pipeFromArray(e)(this) }, e.prototype.toPromise = function(e) { var t = this; if (e || (n.root.Rx && n.root.Rx.config && n.root.Rx.config.Promise ? e = n.root.Rx.config.Promise : n.root.Promise && (e = n.root.Promise)), !e) throw new Error("no Promise impl found"); return new e((function(e, r) { var n; t.subscribe((function(e) { return n = e }), (function(e) { return r(e) }), (function() { return e(n) })) })) }, e.create = function(t) { return new e(t) }, e }(); t.Observable = s }, function(e, t, r) { "use strict"; var n = r(67), i = r(1526), o = r(332), a = r(1528), s = function() { function e(e) { this._isScalar = !1, e && (this._subscribe = e) } return e.prototype.lift = function(t) { var r = new e; return r.source = this, r.operator = t, r }, e.prototype.subscribe = function(e, t, r) { var n = this.operator, o = i.toSubscriber(e, t, r); if (n ? n.call(o, this.source) : o.add(this.source || !o.syncErrorThrowable ? this._subscribe(o) : this._trySubscribe(o)), o.syncErrorThrowable && (o.syncErrorThrowable = !1, o.syncErrorThrown)) throw o.syncErrorValue; return o }, e.prototype._trySubscribe = function(e) { try { return this._subscribe(e) } catch (t) { e.syncErrorThrown = !0, e.syncErrorValue = t, e.error(t) } }, e.prototype.forEach = function(e, t) { var r = this; if (t || (n.root.Rx && n.root.Rx.config && n.root.Rx.config.Promise ? t = n.root.Rx.config.Promise : n.root.Promise && (t = n.root.Promise)), !t) throw new Error("no Promise impl found"); return new t((function(t, n) { var i; i = r.subscribe((function(t) { if (i) try { e(t) } catch (e) { n(e), i.unsubscribe() } else e(t) }), n, t) })) }, e.prototype._subscribe = function(e) { return this.source.subscribe(e) }, e.prototype[o.observable] = function() { return this }, e.prototype.pipe = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t - 0] = arguments[t]; return 0 === e.length ? this : a.pipeFromArray(e)(this) }, e.prototype.toPromise = function(e) { var t = this; if (e || (n.root.Rx && n.root.Rx.config && n.root.Rx.config.Promise ? e = n.root.Rx.config.Promise : n.root.Promise && (e = n.root.Promise)), !e) throw new Error("no Promise impl found"); return new e((function(e, r) { var n; t.subscribe((function(e) { return n = e }), (function(e) { return r(e) }), (function() { return e(n) })) })) }, e.create = function(t) { return new e(t) }, e }(); t.Observable = s }, function(e, t, r) { "use strict"; var n = Object.prototype.hasOwnProperty; function i(e, t) { return n.call(e, t) } function o(e) { return !(e >= 55296 && e <= 57343) && (!(e >= 64976 && e <= 65007) && (65535 != (65535 & e) && 65534 != (65535 & e) && (!(e >= 0 && e <= 8) && (11 !== e && (!(e >= 14 && e <= 31) && (!(e >= 127 && e <= 159) && !(e > 1114111))))))) } function a(e) { if (e > 65535) { var t = 55296 + ((e -= 65536) >> 10), r = 56320 + (1023 & e); return String.fromCharCode(t, r) } return String.fromCharCode(e) } var s = /\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g, u = new RegExp(s.source + "|" + /&([a-z#][a-z0-9]{1,31});/gi.source, "gi"), c = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i, l = r(565); var f = /[&<>"]/, p = /[&<>"]/g, d = { "&": "&", "<": "<", ">": ">", '"': """ }; function h(e) { return d[e] } var v = /[.?*+^$[\]\\(){}|-]/g; var m = r(307); t.lib = {}, t.lib.mdurl = r(566), t.lib.ucmicro = r(1250), t.assign = function(e) { var t = Array.prototype.slice.call(arguments, 1); return t.forEach((function(t) { if (t) { if ("object" != typeof t) throw new TypeError(t + "must be object"); Object.keys(t).forEach((function(r) { e[r] = t[r] })) } })), e }, t.isString = function(e) { return "[object String]" === function(e) { return Object.prototype.toString.call(e) }(e) }, t.has = i, t.unescapeMd = function(e) { return e.indexOf("\\") < 0 ? e : e.replace(s, "$1") }, t.unescapeAll = function(e) { return e.indexOf("\\") < 0 && e.indexOf("&") < 0 ? e : e.replace(u, (function(e, t, r) { return t || function(e, t) { var r = 0; return i(l, t) ? l[t] : 35 === t.charCodeAt(0) && c.test(t) && o(r = "x" === t[1].toLowerCase() ? parseInt(t.slice(2), 16) : parseInt(t.slice(1), 10)) ? a(r) : e }(e, r) })) }, t.isValidEntityCode = o, t.fromCodePoint = a, t.escapeHtml = function(e) { return f.test(e) ? e.replace(p, h) : e }, t.arrayReplaceAt = function(e, t, r) { return [].concat(e.slice(0, t), r, e.slice(t + 1)) }, t.isSpace = function(e) { switch (e) { case 9: case 32: return !0 } return !1 }, t.isWhiteSpace = function(e) { if (e >= 8192 && e <= 8202) return !0; switch (e) { 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 }, t.isMdAsciiPunct = function(e) { switch (e) { 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 } }, t.isPunctChar = function(e) { return m.test(e) }, t.escapeRE = function(e) { return e.replace(v, "\\$&") }, t.normalizeReference = function(e) { return e = e.trim().replace(/\s+/g, " "), "\u1e7e" === "\u1e9e".toLowerCase() && (e = e.replace(/\u1e9e/g, "\xdf")), e.toLowerCase().toUpperCase() } }, function(e, t) { var r; r = function() { return this }(); try { r = r || new Function("return this")() } catch (e) { "object" == typeof window && (r = window) } e.exports = r }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.plural, r = (0, o.default)(), i = l(r, 1), u = i[0], p = (0, a.default)(); return (0, n.useCallback)((function(e) { for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++) n[i - 1] = arguments[i]; if (t) { if (!(0, s.default)(e)) throw new Error('useLocalizer: Plural string must pass "id" as a map instead of string.'); if ("string" != typeof e.other) throw new Error('useLocalizer: Plural string must have "id.other" of string.'); if ("number" != typeof n[0]) throw new Error("useLocalizer: Plural string must have first argument as a number."); for (var o = 0, a = ["zero", "one", "two", "few", "many"]; o < a.length; o++) { var d = a[o], h = c(e[d]); if ("string" !== h && "undefined" !== h) throw new Error('useLocalizer: Plural string must have "id.'.concat(d, '" of string or undefined.')) } var v = Object.keys(e).filter((function(e) { return !["zero", "one", "two", "few", "many", "other"].includes(e) })); if (v.length) throw new Error('useLocalizer: Plural string "id" must be either "zero", "one", "two", "few", "many", "other". But not '.concat(v.map((function(e) { return '"'.concat(e, '"') })).join(", "), ".")); e = e[u.plural(n[0])] || e.other } else if ("string" != typeof e) throw new Error('useLocalizer: "id" must be a string.'); return Object.entries(n).reduce((function(e, t) { var r = l(t, 2), n = r[0], i = r[1]; return e.replace("$".concat(+n + 1), i) }), p[e] || f[e] || "") }), [u, p, t]) }; var n = r(0), i = u(r(283)), o = u(r(185)), a = u(r(503)), s = u(r(504)); function u(e) { return e && e.__esModule ? e : { default: e } } function c(e) { return (c = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function l(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var f = (0, i.default)()["en-US"] }, function(e, t) { e.exports = function(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { e.exports = r(385) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(774); Object.keys(n).forEach((function(e) { "default" !== e && Object.defineProperty(t, e, { enumerable: !0, get: function() { return n[e] } }) })) }, function(e, t) { e.exports = function(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.default)()[0].options] }; var n, i = (n = r(6)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; function n(e) { for (var r in e) t.hasOwnProperty(r) || (t[r] = e[r]) } Object.defineProperty(t, "__esModule", { value: !0 }), n(r(1769)), n(r(1770)), n(r(694)), n(r(1771)), n(r(696)), n(r(1823)), n(r(1824)), n(r(1825)), n(r(1656)), n(r(1826)), n(r(1827)), n(r(1828)), n(r(1829)), n(r(1830)), n(r(1831)), n(r(1832)), n(r(1833)), n(r(1834)), n(r(1835)), n(r(1836)), n(r(1837)), n(r(1838)), n(r(1839)), n(r(1840)), n(r(1841)), n(r(1843)), n(r(1844)), n(r(1845)), n(r(1848)), n(r(1849)), t.OutputFormatPropertyName = "OutputFormat", t.CancellationErrorCodePropertyName = "CancellationErrorCode", t.ServicePropertiesPropertyName = "ServiceProperties", t.ForceDictationPropertyName = "ForceDication" }, function(e, t, r) { (function(e) { ! function(e, t) { "use strict"; function n(e, t) { if (!e) throw new Error(t || "Assertion failed") } function i(e, t) { e.super_ = t; var r = function() {}; r.prototype = t.prototype, e.prototype = new r, e.prototype.constructor = e } function o(e, t, r) { if (o.isBN(e)) return e; this.negative = 0, this.words = null, this.length = 0, this.red = null, null !== e && ("le" !== t && "be" !== t || (r = t, t = 10), this._init(e || 0, t || 10, r || "be")) } var a; "object" == typeof e ? e.exports = o : t.BN = o, o.BN = o, o.wordSize = 26; try { a = r(960).Buffer } catch (e) {} function s(e, t, r) { for (var n = 0, i = Math.min(e.length, r), o = t; o < i; o++) { var a = e.charCodeAt(o) - 48; n <<= 4, n |= a >= 49 && a <= 54 ? a - 49 + 10 : a >= 17 && a <= 22 ? a - 17 + 10 : 15 & a } return n } function u(e, t, r, n) { for (var i = 0, o = Math.min(e.length, r), a = t; a < o; a++) { var s = e.charCodeAt(a) - 48; i *= n, i += s >= 49 ? s - 49 + 10 : s >= 17 ? s - 17 + 10 : s } return i } o.isBN = function(e) { return e instanceof o || null !== e && "object" == typeof e && e.constructor.wordSize === o.wordSize && Array.isArray(e.words) }, o.max = function(e, t) { return e.cmp(t) > 0 ? e : t }, o.min = function(e, t) { return e.cmp(t) < 0 ? e : t }, o.prototype._init = function(e, t, r) { if ("number" == typeof e) return this._initNumber(e, t, r); if ("object" == typeof e) return this._initArray(e, t, r); "hex" === t && (t = 16), n(t === (0 | t) && t >= 2 && t <= 36); var i = 0; "-" === (e = e.toString().replace(/\s+/g, ""))[0] && i++, 16 === t ? this._parseHex(e, i) : this._parseBase(e, t, i), "-" === e[0] && (this.negative = 1), this.strip(), "le" === r && this._initArray(this.toArray(), t, r) }, o.prototype._initNumber = function(e, t, r) { e < 0 && (this.negative = 1, e = -e), e < 67108864 ? (this.words = [67108863 & e], this.length = 1) : e < 4503599627370496 ? (this.words = [67108863 & e, e / 67108864 & 67108863], this.length = 2) : (n(e < 9007199254740992), this.words = [67108863 & e, e / 67108864 & 67108863, 1], this.length = 3), "le" === r && this._initArray(this.toArray(), t, r) }, o.prototype._initArray = function(e, t, r) { if (n("number" == typeof e.length), e.length <= 0) return this.words = [0], this.length = 1, this; this.length = Math.ceil(e.length / 3), this.words = new Array(this.length); for (var i = 0; i < this.length; i++) this.words[i] = 0; var o, a, s = 0; if ("be" === r) for (i = e.length - 1, o = 0; i >= 0; i -= 3) a = e[i] | e[i - 1] << 8 | e[i - 2] << 16, this.words[o] |= a << s & 67108863, this.words[o + 1] = a >>> 26 - s & 67108863, (s += 24) >= 26 && (s -= 26, o++); else if ("le" === r) for (i = 0, o = 0; i < e.length; i += 3) a = e[i] | e[i + 1] << 8 | e[i + 2] << 16, this.words[o] |= a << s & 67108863, this.words[o + 1] = a >>> 26 - s & 67108863, (s += 24) >= 26 && (s -= 26, o++); return this.strip() }, o.prototype._parseHex = function(e, t) { this.length = Math.ceil((e.length - t) / 6), this.words = new Array(this.length); for (var r = 0; r < this.length; r++) this.words[r] = 0; var n, i, o = 0; for (r = e.length - 6, n = 0; r >= t; r -= 6) i = s(e, r, r + 6), this.words[n] |= i << o & 67108863, this.words[n + 1] |= i >>> 26 - o & 4194303, (o += 24) >= 26 && (o -= 26, n++); r + 6 !== t && (i = s(e, t, r + 6), this.words[n] |= i << o & 67108863, this.words[n + 1] |= i >>> 26 - o & 4194303), this.strip() }, o.prototype._parseBase = function(e, t, r) { this.words = [0], this.length = 1; for (var n = 0, i = 1; i <= 67108863; i *= t) n++; n--, i = i / t | 0; for (var o = e.length - r, a = o % n, s = Math.min(o, o - a) + r, c = 0, l = r; l < s; l += n) c = u(e, l, l + n, t), this.imuln(i), this.words[0] + c < 67108864 ? this.words[0] += c : this._iaddn(c); if (0 !== a) { var f = 1; for (c = u(e, l, e.length, t), l = 0; l < a; l++) f *= t; this.imuln(f), this.words[0] + c < 67108864 ? this.words[0] += c : this._iaddn(c) } }, o.prototype.copy = function(e) { e.words = new Array(this.length); for (var t = 0; t < this.length; t++) e.words[t] = this.words[t]; e.length = this.length, e.negative = this.negative, e.red = this.red }, o.prototype.clone = function() { var e = new o(null); return this.copy(e), e }, o.prototype._expand = function(e) { for (; this.length < e;) this.words[this.length++] = 0; return this }, o.prototype.strip = function() { for (; this.length > 1 && 0 === this.words[this.length - 1];) this.length--; return this._normSign() }, o.prototype._normSign = function() { return 1 === this.length && 0 === this.words[0] && (this.negative = 0), this }, o.prototype.inspect = function() { return (this.red ? "<BN-R: " : "<BN: ") + this.toString(16) + ">" }; var c = ["", "0", "00", "000", "0000", "00000", "000000", "0000000", "00000000", "000000000", "0000000000", "00000000000", "000000000000", "0000000000000", "00000000000000", "000000000000000", "0000000000000000", "00000000000000000", "000000000000000000", "0000000000000000000", "00000000000000000000", "000000000000000000000", "0000000000000000000000", "00000000000000000000000", "000000000000000000000000", "0000000000000000000000000"], l = [0, 0, 25, 16, 12, 11, 10, 9, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], f = [0, 0, 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, 43046721, 1e7, 19487171, 35831808, 62748517, 7529536, 11390625, 16777216, 24137569, 34012224, 47045881, 64e6, 4084101, 5153632, 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, 243e5, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176]; function p(e, t, r) { r.negative = t.negative ^ e.negative; var n = e.length + t.length | 0; r.length = n, n = n - 1 | 0; var i = 0 | e.words[0], o = 0 | t.words[0], a = i * o, s = 67108863 & a, u = a / 67108864 | 0; r.words[0] = s; for (var c = 1; c < n; c++) { for (var l = u >>> 26, f = 67108863 & u, p = Math.min(c, t.length - 1), d = Math.max(0, c - e.length + 1); d <= p; d++) { var h = c - d | 0; l += (a = (i = 0 | e.words[h]) * (o = 0 | t.words[d]) + f) / 67108864 | 0, f = 67108863 & a } r.words[c] = 0 | f, u = 0 | l } return 0 !== u ? r.words[c] = 0 | u : r.length--, r.strip() } o.prototype.toString = function(e, t) { var r; if (t = 0 | t || 1, 16 === (e = e || 10) || "hex" === e) { r = ""; for (var i = 0, o = 0, a = 0; a < this.length; a++) { var s = this.words[a], u = (16777215 & (s << i | o)).toString(16); r = 0 !== (o = s >>> 24 - i & 16777215) || a !== this.length - 1 ? c[6 - u.length] + u + r : u + r, (i += 2) >= 26 && (i -= 26, a--) } for (0 !== o && (r = o.toString(16) + r); r.length % t != 0;) r = "0" + r; return 0 !== this.negative && (r = "-" + r), r } if (e === (0 | e) && e >= 2 && e <= 36) { var p = l[e], d = f[e]; r = ""; var h = this.clone(); for (h.negative = 0; !h.isZero();) { var v = h.modn(d).toString(e); r = (h = h.idivn(d)).isZero() ? v + r : c[p - v.length] + v + r } for (this.isZero() && (r = "0" + r); r.length % t != 0;) r = "0" + r; return 0 !== this.negative && (r = "-" + r), r } n(!1, "Base should be between 2 and 36") }, o.prototype.toNumber = function() { var e = this.words[0]; return 2 === this.length ? e += 67108864 * this.words[1] : 3 === this.length && 1 === this.words[2] ? e += 4503599627370496 + 67108864 * this.words[1] : this.length > 2 && n(!1, "Number can only safely store up to 53 bits"), 0 !== this.negative ? -e : e }, o.prototype.toJSON = function() { return this.toString(16) }, o.prototype.toBuffer = function(e, t) { return n(void 0 !== a), this.toArrayLike(a, e, t) }, o.prototype.toArray = function(e, t) { return this.toArrayLike(Array, e, t) }, o.prototype.toArrayLike = function(e, t, r) { var i = this.byteLength(), o = r || Math.max(1, i); n(i <= o, "byte array longer than desired length"), n(o > 0, "Requested array length <= 0"), this.strip(); var a, s, u = "le" === t, c = new e(o), l = this.clone(); if (u) { for (s = 0; !l.isZero(); s++) a = l.andln(255), l.iushrn(8), c[s] = a; for (; s < o; s++) c[s] = 0 } else { for (s = 0; s < o - i; s++) c[s] = 0; for (s = 0; !l.isZero(); s++) a = l.andln(255), l.iushrn(8), c[o - s - 1] = a } return c }, Math.clz32 ? o.prototype._countBits = function(e) { return 32 - Math.clz32(e) } : o.prototype._countBits = function(e) { var t = e, r = 0; return t >= 4096 && (r += 13, t >>>= 13), t >= 64 && (r += 7, t >>>= 7), t >= 8 && (r += 4, t >>>= 4), t >= 2 && (r += 2, t >>>= 2), r + t }, o.prototype._zeroBits = function(e) { if (0 === e) return 26; var t = e, r = 0; return 0 == (8191 & t) && (r += 13, t >>>= 13), 0 == (127 & t) && (r += 7, t >>>= 7), 0 == (15 & t) && (r += 4, t >>>= 4), 0 == (3 & t) && (r += 2, t >>>= 2), 0 == (1 & t) && r++, r }, o.prototype.bitLength = function() { var e = this.words[this.length - 1], t = this._countBits(e); return 26 * (this.length - 1) + t }, o.prototype.zeroBits = function() { if (this.isZero()) return 0; for (var e = 0, t = 0; t < this.length; t++) { var r = this._zeroBits(this.words[t]); if (e += r, 26 !== r) break } return e }, o.prototype.byteLength = function() { return Math.ceil(this.bitLength() / 8) }, o.prototype.toTwos = function(e) { return 0 !== this.negative ? this.abs().inotn(e).iaddn(1) : this.clone() }, o.prototype.fromTwos = function(e) { return this.testn(e - 1) ? this.notn(e).iaddn(1).ineg() : this.clone() }, o.prototype.isNeg = function() { return 0 !== this.negative }, o.prototype.neg = function() { return this.clone().ineg() }, o.prototype.ineg = function() { return this.isZero() || (this.negative ^= 1), this }, o.prototype.iuor = function(e) { for (; this.length < e.length;) this.words[this.length++] = 0; for (var t = 0; t < e.length; t++) this.words[t] = this.words[t] | e.words[t]; return this.strip() }, o.prototype.ior = function(e) { return n(0 == (this.negative | e.negative)), this.iuor(e) }, o.prototype.or = function(e) { return this.length > e.length ? this.clone().ior(e) : e.clone().ior(this) }, o.prototype.uor = function(e) { return this.length > e.length ? this.clone().iuor(e) : e.clone().iuor(this) }, o.prototype.iuand = function(e) { var t; t = this.length > e.length ? e : this; for (var r = 0; r < t.length; r++) this.words[r] = this.words[r] & e.words[r]; return this.length = t.length, this.strip() }, o.prototype.iand = function(e) { return n(0 == (this.negative | e.negative)), this.iuand(e) }, o.prototype.and = function(e) { return this.length > e.length ? this.clone().iand(e) : e.clone().iand(this) }, o.prototype.uand = function(e) { return this.length > e.length ? this.clone().iuand(e) : e.clone().iuand(this) }, o.prototype.iuxor = function(e) { var t, r; this.length > e.length ? (t = this, r = e) : (t = e, r = this); for (var n = 0; n < r.length; n++) this.words[n] = t.words[n] ^ r.words[n]; if (this !== t) for (; n < t.length; n++) this.words[n] = t.words[n]; return this.length = t.length, this.strip() }, o.prototype.ixor = function(e) { return n(0 == (this.negative | e.negative)), this.iuxor(e) }, o.prototype.xor = function(e) { return this.length > e.length ? this.clone().ixor(e) : e.clone().ixor(this) }, o.prototype.uxor = function(e) { return this.length > e.length ? this.clone().iuxor(e) : e.clone().iuxor(this) }, o.prototype.inotn = function(e) { n("number" == typeof e && e >= 0); var t = 0 | Math.ceil(e / 26), r = e % 26; this._expand(t), r > 0 && t--; for (var i = 0; i < t; i++) this.words[i] = 67108863 & ~this.words[i]; return r > 0 && (this.words[i] = ~this.words[i] & 67108863 >> 26 - r), this.strip() }, o.prototype.notn = function(e) { return this.clone().inotn(e) }, o.prototype.setn = function(e, t) { n("number" == typeof e && e >= 0); var r = e / 26 | 0, i = e % 26; return this._expand(r + 1), this.words[r] = t ? this.words[r] | 1 << i : this.words[r] & ~(1 << i), this.strip() }, o.prototype.iadd = function(e) { var t, r, n; if (0 !== this.negative && 0 === e.negative) return this.negative = 0, t = this.isub(e), this.negative ^= 1, this._normSign(); if (0 === this.negative && 0 !== e.negative) return e.negative = 0, t = this.isub(e), e.negative = 1, t._normSign(); this.length > e.length ? (r = this, n = e) : (r = e, n = this); for (var i = 0, o = 0; o < n.length; o++) t = (0 | r.words[o]) + (0 | n.words[o]) + i, this.words[o] = 67108863 & t, i = t >>> 26; for (; 0 !== i && o < r.length; o++) t = (0 | r.words[o]) + i, this.words[o] = 67108863 & t, i = t >>> 26; if (this.length = r.length, 0 !== i) this.words[this.length] = i, this.length++; else if (r !== this) for (; o < r.length; o++) this.words[o] = r.words[o]; return this }, o.prototype.add = function(e) { var t; return 0 !== e.negative && 0 === this.negative ? (e.negative = 0, t = this.sub(e), e.negative ^= 1, t) : 0 === e.negative && 0 !== this.negative ? (this.negative = 0, t = e.sub(this), this.negative = 1, t) : this.length > e.length ? this.clone().iadd(e) : e.clone().iadd(this) }, o.prototype.isub = function(e) { if (0 !== e.negative) { e.negative = 0; var t = this.iadd(e); return e.negative = 1, t._normSign() } if (0 !== this.negative) return this.negative = 0, this.iadd(e), this.negative = 1, this._normSign(); var r, n, i = this.cmp(e); if (0 === i) return this.negative = 0, this.length = 1, this.words[0] = 0, this; i > 0 ? (r = this, n = e) : (r = e, n = this); for (var o = 0, a = 0; a < n.length; a++) o = (t = (0 | r.words[a]) - (0 | n.words[a]) + o) >> 26, this.words[a] = 67108863 & t; for (; 0 !== o && a < r.length; a++) o = (t = (0 | r.words[a]) + o) >> 26, this.words[a] = 67108863 & t; if (0 === o && a < r.length && r !== this) for (; a < r.length; a++) this.words[a] = r.words[a]; return this.length = Math.max(this.length, a), r !== this && (this.negative = 1), this.strip() }, o.prototype.sub = function(e) { return this.clone().isub(e) }; var d = function(e, t, r) { var n, i, o, a = e.words, s = t.words, u = r.words, c = 0, l = 0 | a[0], f = 8191 & l, p = l >>> 13, d = 0 | a[1], h = 8191 & d, v = d >>> 13, m = 0 | a[2], y = 8191 & m, b = m >>> 13, g = 0 | a[3], _ = 8191 & g, T = g >>> 13, S = 0 | a[4], A = 8191 & S, E = S >>> 13, C = 0 | a[5], O = 8191 & C, w = C >>> 13, I = 0 | a[6], P = 8191 & I, x = I >>> 13, N = 0 | a[7], k = 8191 & N, R = N >>> 13, L = 0 | a[8], M = 8191 & L, j = L >>> 13, D = 0 | a[9], U = 8191 & D, B = D >>> 13, F = 0 | s[0], z = 8191 & F, V = F >>> 13, G = 0 | s[1], q = 8191 & G, H = G >>> 13, W = 0 | s[2], Y = 8191 & W, K = W >>> 13, $ = 0 | s[3], J = 8191 & $, X = $ >>> 13, Z = 0 | s[4], Q = 8191 & Z, ee = Z >>> 13, te = 0 | s[5], re = 8191 & te, ne = te >>> 13, ie = 0 | s[6], oe = 8191 & ie, ae = ie >>> 13, se = 0 | s[7], ue = 8191 & se, ce = se >>> 13, le = 0 | s[8], fe = 8191 & le, pe = le >>> 13, de = 0 | s[9], he = 8191 & de, ve = de >>> 13; r.negative = e.negative ^ t.negative, r.length = 19; var me = (c + (n = Math.imul(f, z)) | 0) + ((8191 & (i = (i = Math.imul(f, V)) + Math.imul(p, z) | 0)) << 13) | 0; c = ((o = Math.imul(p, V)) + (i >>> 13) | 0) + (me >>> 26) | 0, me &= 67108863, n = Math.imul(h, z), i = (i = Math.imul(h, V)) + Math.imul(v, z) | 0, o = Math.imul(v, V); var ye = (c + (n = n + Math.imul(f, q) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(f, H) | 0) + Math.imul(p, q) | 0)) << 13) | 0; c = ((o = o + Math.imul(p, H) | 0) + (i >>> 13) | 0) + (ye >>> 26) | 0, ye &= 67108863, n = Math.imul(y, z), i = (i = Math.imul(y, V)) + Math.imul(b, z) | 0, o = Math.imul(b, V), n = n + Math.imul(h, q) | 0, i = (i = i + Math.imul(h, H) | 0) + Math.imul(v, q) | 0, o = o + Math.imul(v, H) | 0; var be = (c + (n = n + Math.imul(f, Y) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(f, K) | 0) + Math.imul(p, Y) | 0)) << 13) | 0; c = ((o = o + Math.imul(p, K) | 0) + (i >>> 13) | 0) + (be >>> 26) | 0, be &= 67108863, n = Math.imul(_, z), i = (i = Math.imul(_, V)) + Math.imul(T, z) | 0, o = Math.imul(T, V), n = n + Math.imul(y, q) | 0, i = (i = i + Math.imul(y, H) | 0) + Math.imul(b, q) | 0, o = o + Math.imul(b, H) | 0, n = n + Math.imul(h, Y) | 0, i = (i = i + Math.imul(h, K) | 0) + Math.imul(v, Y) | 0, o = o + Math.imul(v, K) | 0; var ge = (c + (n = n + Math.imul(f, J) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(f, X) | 0) + Math.imul(p, J) | 0)) << 13) | 0; c = ((o = o + Math.imul(p, X) | 0) + (i >>> 13) | 0) + (ge >>> 26) | 0, ge &= 67108863, n = Math.imul(A, z), i = (i = Math.imul(A, V)) + Math.imul(E, z) | 0, o = Math.imul(E, V), n = n + Math.imul(_, q) | 0, i = (i = i + Math.imul(_, H) | 0) + Math.imul(T, q) | 0, o = o + Math.imul(T, H) | 0, n = n + Math.imul(y, Y) | 0, i = (i = i + Math.imul(y, K) | 0) + Math.imul(b, Y) | 0, o = o + Math.imul(b, K) | 0, n = n + Math.imul(h, J) | 0, i = (i = i + Math.imul(h, X) | 0) + Math.imul(v, J) | 0, o = o + Math.imul(v, X) | 0; var _e = (c + (n = n + Math.imul(f, Q) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(f, ee) | 0) + Math.imul(p, Q) | 0)) << 13) | 0; c = ((o = o + Math.imul(p, ee) | 0) + (i >>> 13) | 0) + (_e >>> 26) | 0, _e &= 67108863, n = Math.imul(O, z), i = (i = Math.imul(O, V)) + Math.imul(w, z) | 0, o = Math.imul(w, V), n = n + Math.imul(A, q) | 0, i = (i = i + Math.imul(A, H) | 0) + Math.imul(E, q) | 0, o = o + Math.imul(E, H) | 0, n = n + Math.imul(_, Y) | 0, i = (i = i + Math.imul(_, K) | 0) + Math.imul(T, Y) | 0, o = o + Math.imul(T, K) | 0, n = n + Math.imul(y, J) | 0, i = (i = i + Math.imul(y, X) | 0) + Math.imul(b, J) | 0, o = o + Math.imul(b, X) | 0, n = n + Math.imul(h, Q) | 0, i = (i = i + Math.imul(h, ee) | 0) + Math.imul(v, Q) | 0, o = o + Math.imul(v, ee) | 0; var Te = (c + (n = n + Math.imul(f, re) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(f, ne) | 0) + Math.imul(p, re) | 0)) << 13) | 0; c = ((o = o + Math.imul(p, ne) | 0) + (i >>> 13) | 0) + (Te >>> 26) | 0, Te &= 67108863, n = Math.imul(P, z), i = (i = Math.imul(P, V)) + Math.imul(x, z) | 0, o = Math.imul(x, V), n = n + Math.imul(O, q) | 0, i = (i = i + Math.imul(O, H) | 0) + Math.imul(w, q) | 0, o = o + Math.imul(w, H) | 0, n = n + Math.imul(A, Y) | 0, i = (i = i + Math.imul(A, K) | 0) + Math.imul(E, Y) | 0, o = o + Math.imul(E, K) | 0, n = n + Math.imul(_, J) | 0, i = (i = i + Math.imul(_, X) | 0) + Math.imul(T, J) | 0, o = o + Math.imul(T, X) | 0, n = n + Math.imul(y, Q) | 0, i = (i = i + Math.imul(y, ee) | 0) + Math.imul(b, Q) | 0, o = o + Math.imul(b, ee) | 0, n = n + Math.imul(h, re) | 0, i = (i = i + Math.imul(h, ne) | 0) + Math.imul(v, re) | 0, o = o + Math.imul(v, ne) | 0; var Se = (c + (n = n + Math.imul(f, oe) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(f, ae) | 0) + Math.imul(p, oe) | 0)) << 13) | 0; c = ((o = o + Math.imul(p, ae) | 0) + (i >>> 13) | 0) + (Se >>> 26) | 0, Se &= 67108863, n = Math.imul(k, z), i = (i = Math.imul(k, V)) + Math.imul(R, z) | 0, o = Math.imul(R, V), n = n + Math.imul(P, q) | 0, i = (i = i + Math.imul(P, H) | 0) + Math.imul(x, q) | 0, o = o + Math.imul(x, H) | 0, n = n + Math.imul(O, Y) | 0, i = (i = i + Math.imul(O, K) | 0) + Math.imul(w, Y) | 0, o = o + Math.imul(w, K) | 0, n = n + Math.imul(A, J) | 0, i = (i = i + Math.imul(A, X) | 0) + Math.imul(E, J) | 0, o = o + Math.imul(E, X) | 0, n = n + Math.imul(_, Q) | 0, i = (i = i + Math.imul(_, ee) | 0) + Math.imul(T, Q) | 0, o = o + Math.imul(T, ee) | 0, n = n + Math.imul(y, re) | 0, i = (i = i + Math.imul(y, ne) | 0) + Math.imul(b, re) | 0, o = o + Math.imul(b, ne) | 0, n = n + Math.imul(h, oe) | 0, i = (i = i + Math.imul(h, ae) | 0) + Math.imul(v, oe) | 0, o = o + Math.imul(v, ae) | 0; var Ae = (c + (n = n + Math.imul(f, ue) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(f, ce) | 0) + Math.imul(p, ue) | 0)) << 13) | 0; c = ((o = o + Math.imul(p, ce) | 0) + (i >>> 13) | 0) + (Ae >>> 26) | 0, Ae &= 67108863, n = Math.imul(M, z), i = (i = Math.imul(M, V)) + Math.imul(j, z) | 0, o = Math.imul(j, V), n = n + Math.imul(k, q) | 0, i = (i = i + Math.imul(k, H) | 0) + Math.imul(R, q) | 0, o = o + Math.imul(R, H) | 0, n = n + Math.imul(P, Y) | 0, i = (i = i + Math.imul(P, K) | 0) + Math.imul(x, Y) | 0, o = o + Math.imul(x, K) | 0, n = n + Math.imul(O, J) | 0, i = (i = i + Math.imul(O, X) | 0) + Math.imul(w, J) | 0, o = o + Math.imul(w, X) | 0, n = n + Math.imul(A, Q) | 0, i = (i = i + Math.imul(A, ee) | 0) + Math.imul(E, Q) | 0, o = o + Math.imul(E, ee) | 0, n = n + Math.imul(_, re) | 0, i = (i = i + Math.imul(_, ne) | 0) + Math.imul(T, re) | 0, o = o + Math.imul(T, ne) | 0, n = n + Math.imul(y, oe) | 0, i = (i = i + Math.imul(y, ae) | 0) + Math.imul(b, oe) | 0, o = o + Math.imul(b, ae) | 0, n = n + Math.imul(h, ue) | 0, i = (i = i + Math.imul(h, ce) | 0) + Math.imul(v, ue) | 0, o = o + Math.imul(v, ce) | 0; var Ee = (c + (n = n + Math.imul(f, fe) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(f, pe) | 0) + Math.imul(p, fe) | 0)) << 13) | 0; c = ((o = o + Math.imul(p, pe) | 0) + (i >>> 13) | 0) + (Ee >>> 26) | 0, Ee &= 67108863, n = Math.imul(U, z), i = (i = Math.imul(U, V)) + Math.imul(B, z) | 0, o = Math.imul(B, V), n = n + Math.imul(M, q) | 0, i = (i = i + Math.imul(M, H) | 0) + Math.imul(j, q) | 0, o = o + Math.imul(j, H) | 0, n = n + Math.imul(k, Y) | 0, i = (i = i + Math.imul(k, K) | 0) + Math.imul(R, Y) | 0, o = o + Math.imul(R, K) | 0, n = n + Math.imul(P, J) | 0, i = (i = i + Math.imul(P, X) | 0) + Math.imul(x, J) | 0, o = o + Math.imul(x, X) | 0, n = n + Math.imul(O, Q) | 0, i = (i = i + Math.imul(O, ee) | 0) + Math.imul(w, Q) | 0, o = o + Math.imul(w, ee) | 0, n = n + Math.imul(A, re) | 0, i = (i = i + Math.imul(A, ne) | 0) + Math.imul(E, re) | 0, o = o + Math.imul(E, ne) | 0, n = n + Math.imul(_, oe) | 0, i = (i = i + Math.imul(_, ae) | 0) + Math.imul(T, oe) | 0, o = o + Math.imul(T, ae) | 0, n = n + Math.imul(y, ue) | 0, i = (i = i + Math.imul(y, ce) | 0) + Math.imul(b, ue) | 0, o = o + Math.imul(b, ce) | 0, n = n + Math.imul(h, fe) | 0, i = (i = i + Math.imul(h, pe) | 0) + Math.imul(v, fe) | 0, o = o + Math.imul(v, pe) | 0; var Ce = (c + (n = n + Math.imul(f, he) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(f, ve) | 0) + Math.imul(p, he) | 0)) << 13) | 0; c = ((o = o + Math.imul(p, ve) | 0) + (i >>> 13) | 0) + (Ce >>> 26) | 0, Ce &= 67108863, n = Math.imul(U, q), i = (i = Math.imul(U, H)) + Math.imul(B, q) | 0, o = Math.imul(B, H), n = n + Math.imul(M, Y) | 0, i = (i = i + Math.imul(M, K) | 0) + Math.imul(j, Y) | 0, o = o + Math.imul(j, K) | 0, n = n + Math.imul(k, J) | 0, i = (i = i + Math.imul(k, X) | 0) + Math.imul(R, J) | 0, o = o + Math.imul(R, X) | 0, n = n + Math.imul(P, Q) | 0, i = (i = i + Math.imul(P, ee) | 0) + Math.imul(x, Q) | 0, o = o + Math.imul(x, ee) | 0, n = n + Math.imul(O, re) | 0, i = (i = i + Math.imul(O, ne) | 0) + Math.imul(w, re) | 0, o = o + Math.imul(w, ne) | 0, n = n + Math.imul(A, oe) | 0, i = (i = i + Math.imul(A, ae) | 0) + Math.imul(E, oe) | 0, o = o + Math.imul(E, ae) | 0, n = n + Math.imul(_, ue) | 0, i = (i = i + Math.imul(_, ce) | 0) + Math.imul(T, ue) | 0, o = o + Math.imul(T, ce) | 0, n = n + Math.imul(y, fe) | 0, i = (i = i + Math.imul(y, pe) | 0) + Math.imul(b, fe) | 0, o = o + Math.imul(b, pe) | 0; var Oe = (c + (n = n + Math.imul(h, he) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(h, ve) | 0) + Math.imul(v, he) | 0)) << 13) | 0; c = ((o = o + Math.imul(v, ve) | 0) + (i >>> 13) | 0) + (Oe >>> 26) | 0, Oe &= 67108863, n = Math.imul(U, Y), i = (i = Math.imul(U, K)) + Math.imul(B, Y) | 0, o = Math.imul(B, K), n = n + Math.imul(M, J) | 0, i = (i = i + Math.imul(M, X) | 0) + Math.imul(j, J) | 0, o = o + Math.imul(j, X) | 0, n = n + Math.imul(k, Q) | 0, i = (i = i + Math.imul(k, ee) | 0) + Math.imul(R, Q) | 0, o = o + Math.imul(R, ee) | 0, n = n + Math.imul(P, re) | 0, i = (i = i + Math.imul(P, ne) | 0) + Math.imul(x, re) | 0, o = o + Math.imul(x, ne) | 0, n = n + Math.imul(O, oe) | 0, i = (i = i + Math.imul(O, ae) | 0) + Math.imul(w, oe) | 0, o = o + Math.imul(w, ae) | 0, n = n + Math.imul(A, ue) | 0, i = (i = i + Math.imul(A, ce) | 0) + Math.imul(E, ue) | 0, o = o + Math.imul(E, ce) | 0, n = n + Math.imul(_, fe) | 0, i = (i = i + Math.imul(_, pe) | 0) + Math.imul(T, fe) | 0, o = o + Math.imul(T, pe) | 0; var we = (c + (n = n + Math.imul(y, he) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(y, ve) | 0) + Math.imul(b, he) | 0)) << 13) | 0; c = ((o = o + Math.imul(b, ve) | 0) + (i >>> 13) | 0) + (we >>> 26) | 0, we &= 67108863, n = Math.imul(U, J), i = (i = Math.imul(U, X)) + Math.imul(B, J) | 0, o = Math.imul(B, X), n = n + Math.imul(M, Q) | 0, i = (i = i + Math.imul(M, ee) | 0) + Math.imul(j, Q) | 0, o = o + Math.imul(j, ee) | 0, n = n + Math.imul(k, re) | 0, i = (i = i + Math.imul(k, ne) | 0) + Math.imul(R, re) | 0, o = o + Math.imul(R, ne) | 0, n = n + Math.imul(P, oe) | 0, i = (i = i + Math.imul(P, ae) | 0) + Math.imul(x, oe) | 0, o = o + Math.imul(x, ae) | 0, n = n + Math.imul(O, ue) | 0, i = (i = i + Math.imul(O, ce) | 0) + Math.imul(w, ue) | 0, o = o + Math.imul(w, ce) | 0, n = n + Math.imul(A, fe) | 0, i = (i = i + Math.imul(A, pe) | 0) + Math.imul(E, fe) | 0, o = o + Math.imul(E, pe) | 0; var Ie = (c + (n = n + Math.imul(_, he) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(_, ve) | 0) + Math.imul(T, he) | 0)) << 13) | 0; c = ((o = o + Math.imul(T, ve) | 0) + (i >>> 13) | 0) + (Ie >>> 26) | 0, Ie &= 67108863, n = Math.imul(U, Q), i = (i = Math.imul(U, ee)) + Math.imul(B, Q) | 0, o = Math.imul(B, ee), n = n + Math.imul(M, re) | 0, i = (i = i + Math.imul(M, ne) | 0) + Math.imul(j, re) | 0, o = o + Math.imul(j, ne) | 0, n = n + Math.imul(k, oe) | 0, i = (i = i + Math.imul(k, ae) | 0) + Math.imul(R, oe) | 0, o = o + Math.imul(R, ae) | 0, n = n + Math.imul(P, ue) | 0, i = (i = i + Math.imul(P, ce) | 0) + Math.imul(x, ue) | 0, o = o + Math.imul(x, ce) | 0, n = n + Math.imul(O, fe) | 0, i = (i = i + Math.imul(O, pe) | 0) + Math.imul(w, fe) | 0, o = o + Math.imul(w, pe) | 0; var Pe = (c + (n = n + Math.imul(A, he) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(A, ve) | 0) + Math.imul(E, he) | 0)) << 13) | 0; c = ((o = o + Math.imul(E, ve) | 0) + (i >>> 13) | 0) + (Pe >>> 26) | 0, Pe &= 67108863, n = Math.imul(U, re), i = (i = Math.imul(U, ne)) + Math.imul(B, re) | 0, o = Math.imul(B, ne), n = n + Math.imul(M, oe) | 0, i = (i = i + Math.imul(M, ae) | 0) + Math.imul(j, oe) | 0, o = o + Math.imul(j, ae) | 0, n = n + Math.imul(k, ue) | 0, i = (i = i + Math.imul(k, ce) | 0) + Math.imul(R, ue) | 0, o = o + Math.imul(R, ce) | 0, n = n + Math.imul(P, fe) | 0, i = (i = i + Math.imul(P, pe) | 0) + Math.imul(x, fe) | 0, o = o + Math.imul(x, pe) | 0; var xe = (c + (n = n + Math.imul(O, he) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(O, ve) | 0) + Math.imul(w, he) | 0)) << 13) | 0; c = ((o = o + Math.imul(w, ve) | 0) + (i >>> 13) | 0) + (xe >>> 26) | 0, xe &= 67108863, n = Math.imul(U, oe), i = (i = Math.imul(U, ae)) + Math.imul(B, oe) | 0, o = Math.imul(B, ae), n = n + Math.imul(M, ue) | 0, i = (i = i + Math.imul(M, ce) | 0) + Math.imul(j, ue) | 0, o = o + Math.imul(j, ce) | 0, n = n + Math.imul(k, fe) | 0, i = (i = i + Math.imul(k, pe) | 0) + Math.imul(R, fe) | 0, o = o + Math.imul(R, pe) | 0; var Ne = (c + (n = n + Math.imul(P, he) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(P, ve) | 0) + Math.imul(x, he) | 0)) << 13) | 0; c = ((o = o + Math.imul(x, ve) | 0) + (i >>> 13) | 0) + (Ne >>> 26) | 0, Ne &= 67108863, n = Math.imul(U, ue), i = (i = Math.imul(U, ce)) + Math.imul(B, ue) | 0, o = Math.imul(B, ce), n = n + Math.imul(M, fe) | 0, i = (i = i + Math.imul(M, pe) | 0) + Math.imul(j, fe) | 0, o = o + Math.imul(j, pe) | 0; var ke = (c + (n = n + Math.imul(k, he) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(k, ve) | 0) + Math.imul(R, he) | 0)) << 13) | 0; c = ((o = o + Math.imul(R, ve) | 0) + (i >>> 13) | 0) + (ke >>> 26) | 0, ke &= 67108863, n = Math.imul(U, fe), i = (i = Math.imul(U, pe)) + Math.imul(B, fe) | 0, o = Math.imul(B, pe); var Re = (c + (n = n + Math.imul(M, he) | 0) | 0) + ((8191 & (i = (i = i + Math.imul(M, ve) | 0) + Math.imul(j, he) | 0)) << 13) | 0; c = ((o = o + Math.imul(j, ve) | 0) + (i >>> 13) | 0) + (Re >>> 26) | 0, Re &= 67108863; var Le = (c + (n = Math.imul(U, he)) | 0) + ((8191 & (i = (i = Math.imul(U, ve)) + Math.imul(B, he) | 0)) << 13) | 0; return c = ((o = Math.imul(B, ve)) + (i >>> 13) | 0) + (Le >>> 26) | 0, Le &= 67108863, u[0] = me, u[1] = ye, u[2] = be, u[3] = ge, u[4] = _e, u[5] = Te, u[6] = Se, u[7] = Ae, u[8] = Ee, u[9] = Ce, u[10] = Oe, u[11] = we, u[12] = Ie, u[13] = Pe, u[14] = xe, u[15] = Ne, u[16] = ke, u[17] = Re, u[18] = Le, 0 !== c && (u[19] = c, r.length++), r }; function h(e, t, r) { return (new v).mulp(e, t, r) } function v(e, t) { this.x = e, this.y = t } Math.imul || (d = p), o.prototype.mulTo = function(e, t) { var r = this.length + e.length; return 10 === this.length && 10 === e.length ? d(this, e, t) : r < 63 ? p(this, e, t) : r < 1024 ? function(e, t, r) { r.negative = t.negative ^ e.negative, r.length = e.length + t.length; for (var n = 0, i = 0, o = 0; o < r.length - 1; o++) { var a = i; i = 0; for (var s = 67108863 & n, u = Math.min(o, t.length - 1), c = Math.max(0, o - e.length + 1); c <= u; c++) { var l = o - c, f = (0 | e.words[l]) * (0 | t.words[c]), p = 67108863 & f; s = 67108863 & (p = p + s | 0), i += (a = (a = a + (f / 67108864 | 0) | 0) + (p >>> 26) | 0) >>> 26, a &= 67108863 } r.words[o] = s, n = a, a = i } return 0 !== n ? r.words[o] = n : r.length--, r.strip() }(this, e, t) : h(this, e, t) }, v.prototype.makeRBT = function(e) { for (var t = new Array(e), r = o.prototype._countBits(e) - 1, n = 0; n < e; n++) t[n] = this.revBin(n, r, e); return t }, v.prototype.revBin = function(e, t, r) { if (0 === e || e === r - 1) return e; for (var n = 0, i = 0; i < t; i++) n |= (1 & e) << t - i - 1, e >>= 1; return n }, v.prototype.permute = function(e, t, r, n, i, o) { for (var a = 0; a < o; a++) n[a] = t[e[a]], i[a] = r[e[a]] }, v.prototype.transform = function(e, t, r, n, i, o) { this.permute(o, e, t, r, n, i); for (var a = 1; a < i; a <<= 1) for (var s = a << 1, u = Math.cos(2 * Math.PI / s), c = Math.sin(2 * Math.PI / s), l = 0; l < i; l += s) for (var f = u, p = c, d = 0; d < a; d++) { var h = r[l + d], v = n[l + d], m = r[l + d + a], y = n[l + d + a], b = f * m - p * y; y = f * y + p * m, m = b, r[l + d] = h + m, n[l + d] = v + y, r[l + d + a] = h - m, n[l + d + a] = v - y, d !== s && (b = u * f - c * p, p = u * p + c * f, f = b) } }, v.prototype.guessLen13b = function(e, t) { var r = 1 | Math.max(t, e), n = 1 & r, i = 0; for (r = r / 2 | 0; r; r >>>= 1) i++; return 1 << i + 1 + n }, v.prototype.conjugate = function(e, t, r) { if (!(r <= 1)) for (var n = 0; n < r / 2; n++) { var i = e[n]; e[n] = e[r - n - 1], e[r - n - 1] = i, i = t[n], t[n] = -t[r - n - 1], t[r - n - 1] = -i } }, v.prototype.normalize13b = function(e, t) { for (var r = 0, n = 0; n < t / 2; n++) { var i = 8192 * Math.round(e[2 * n + 1] / t) + Math.round(e[2 * n] / t) + r; e[n] = 67108863 & i, r = i < 67108864 ? 0 : i / 67108864 | 0 } return e }, v.prototype.convert13b = function(e, t, r, i) { for (var o = 0, a = 0; a < t; a++) o += 0 | e[a], r[2 * a] = 8191 & o, o >>>= 13, r[2 * a + 1] = 8191 & o, o >>>= 13; for (a = 2 * t; a < i; ++a) r[a] = 0; n(0 === o), n(0 == (-8192 & o)) }, v.prototype.stub = function(e) { for (var t = new Array(e), r = 0; r < e; r++) t[r] = 0; return t }, v.prototype.mulp = function(e, t, r) { var n = 2 * this.guessLen13b(e.length, t.length), i = this.makeRBT(n), o = this.stub(n), a = new Array(n), s = new Array(n), u = new Array(n), c = new Array(n), l = new Array(n), f = new Array(n), p = r.words; p.length = n, this.convert13b(e.words, e.length, a, n), this.convert13b(t.words, t.length, c, n), this.transform(a, o, s, u, n, i), this.transform(c, o, l, f, n, i); for (var d = 0; d < n; d++) { var h = s[d] * l[d] - u[d] * f[d]; u[d] = s[d] * f[d] + u[d] * l[d], s[d] = h } return this.conjugate(s, u, n), this.transform(s, u, p, o, n, i), this.conjugate(p, o, n), this.normalize13b(p, n), r.negative = e.negative ^ t.negative, r.length = e.length + t.length, r.strip() }, o.prototype.mul = function(e) { var t = new o(null); return t.words = new Array(this.length + e.length), this.mulTo(e, t) }, o.prototype.mulf = function(e) { var t = new o(null); return t.words = new Array(this.length + e.length), h(this, e, t) }, o.prototype.imul = function(e) { return this.clone().mulTo(e, this) }, o.prototype.imuln = function(e) { n("number" == typeof e), n(e < 67108864); for (var t = 0, r = 0; r < this.length; r++) { var i = (0 | this.words[r]) * e, o = (67108863 & i) + (67108863 & t); t >>= 26, t += i / 67108864 | 0, t += o >>> 26, this.words[r] = 67108863 & o } return 0 !== t && (this.words[r] = t, this.length++), this }, o.prototype.muln = function(e) { return this.clone().imuln(e) }, o.prototype.sqr = function() { return this.mul(this) }, o.prototype.isqr = function() { return this.imul(this.clone()) }, o.prototype.pow = function(e) { var t = function(e) { for (var t = new Array(e.bitLength()), r = 0; r < t.length; r++) { var n = r / 26 | 0, i = r % 26; t[r] = (e.words[n] & 1 << i) >>> i } return t }(e); if (0 === t.length) return new o(1); for (var r = this, n = 0; n < t.length && 0 === t[n]; n++, r = r.sqr()); if (++n < t.length) for (var i = r.sqr(); n < t.length; n++, i = i.sqr()) 0 !== t[n] && (r = r.mul(i)); return r }, o.prototype.iushln = function(e) { n("number" == typeof e && e >= 0); var t, r = e % 26, i = (e - r) / 26, o = 67108863 >>> 26 - r << 26 - r; if (0 !== r) { var a = 0; for (t = 0; t < this.length; t++) { var s = this.words[t] & o, u = (0 | this.words[t]) - s << r; this.words[t] = u | a, a = s >>> 26 - r } a && (this.words[t] = a, this.length++) } if (0 !== i) { for (t = this.length - 1; t >= 0; t--) this.words[t + i] = this.words[t]; for (t = 0; t < i; t++) this.words[t] = 0; this.length += i } return this.strip() }, o.prototype.ishln = function(e) { return n(0 === this.negative), this.iushln(e) }, o.prototype.iushrn = function(e, t, r) { var i; n("number" == typeof e && e >= 0), i = t ? (t - t % 26) / 26 : 0; var o = e % 26, a = Math.min((e - o) / 26, this.length), s = 67108863 ^ 67108863 >>> o << o, u = r; if (i -= a, i = Math.max(0, i), u) { for (var c = 0; c < a; c++) u.words[c] = this.words[c]; u.length = a } if (0 === a); else if (this.length > a) for (this.length -= a, c = 0; c < this.length; c++) this.words[c] = this.words[c + a]; else this.words[0] = 0, this.length = 1; var l = 0; for (c = this.length - 1; c >= 0 && (0 !== l || c >= i); c--) { var f = 0 | this.words[c]; this.words[c] = l << 26 - o | f >>> o, l = f & s } return u && 0 !== l && (u.words[u.length++] = l), 0 === this.length && (this.words[0] = 0, this.length = 1), this.strip() }, o.prototype.ishrn = function(e, t, r) { return n(0 === this.negative), this.iushrn(e, t, r) }, o.prototype.shln = function(e) { return this.clone().ishln(e) }, o.prototype.ushln = function(e) { return this.clone().iushln(e) }, o.prototype.shrn = function(e) { return this.clone().ishrn(e) }, o.prototype.ushrn = function(e) { return this.clone().iushrn(e) }, o.prototype.testn = function(e) { n("number" == typeof e && e >= 0); var t = e % 26, r = (e - t) / 26, i = 1 << t; return !(this.length <= r) && !!(this.words[r] & i) }, o.prototype.imaskn = function(e) { n("number" == typeof e && e >= 0); var t = e % 26, r = (e - t) / 26; if (n(0 === this.negative, "imaskn works only with positive numbers"), this.length <= r) return this; if (0 !== t && r++, this.length = Math.min(r, this.length), 0 !== t) { var i = 67108863 ^ 67108863 >>> t << t; this.words[this.length - 1] &= i } return this.strip() }, o.prototype.maskn = function(e) { return this.clone().imaskn(e) }, o.prototype.iaddn = function(e) { return n("number" == typeof e), n(e < 67108864), e < 0 ? this.isubn(-e) : 0 !== this.negative ? 1 === this.length && (0 | this.words[0]) < e ? (this.words[0] = e - (0 | this.words[0]), this.negative = 0, this) : (this.negative = 0, this.isubn(e), this.negative = 1, this) : this._iaddn(e) }, o.prototype._iaddn = function(e) { this.words[0] += e; for (var t = 0; t < this.length && this.words[t] >= 67108864; t++) this.words[t] -= 67108864, t === this.length - 1 ? this.words[t + 1] = 1 : this.words[t + 1]++; return this.length = Math.max(this.length, t + 1), this }, o.prototype.isubn = function(e) { if (n("number" == typeof e), n(e < 67108864), e < 0) return this.iaddn(-e); if (0 !== this.negative) return this.negative = 0, this.iaddn(e), this.negative = 1, this; if (this.words[0] -= e, 1 === this.length && this.words[0] < 0) this.words[0] = -this.words[0], this.negative = 1; else for (var t = 0; t < this.length && this.words[t] < 0; t++) this.words[t] += 67108864, this.words[t + 1] -= 1; return this.strip() }, o.prototype.addn = function(e) { return this.clone().iaddn(e) }, o.prototype.subn = function(e) { return this.clone().isubn(e) }, o.prototype.iabs = function() { return this.negative = 0, this }, o.prototype.abs = function() { return this.clone().iabs() }, o.prototype._ishlnsubmul = function(e, t, r) { var i, o, a = e.length + r; this._expand(a); var s = 0; for (i = 0; i < e.length; i++) { o = (0 | this.words[i + r]) + s; var u = (0 | e.words[i]) * t; s = ((o -= 67108863 & u) >> 26) - (u / 67108864 | 0), this.words[i + r] = 67108863 & o } for (; i < this.length - r; i++) s = (o = (0 | this.words[i + r]) + s) >> 26, this.words[i + r] = 67108863 & o; if (0 === s) return this.strip(); for (n(-1 === s), s = 0, i = 0; i < this.length; i++) s = (o = -(0 | this.words[i]) + s) >> 26, this.words[i] = 67108863 & o; return this.negative = 1, this.strip() }, o.prototype._wordDiv = function(e, t) { var r = (this.length, e.length), n = this.clone(), i = e, a = 0 | i.words[i.length - 1]; 0 !== (r = 26 - this._countBits(a)) && (i = i.ushln(r), n.iushln(r), a = 0 | i.words[i.length - 1]); var s, u = n.length - i.length; if ("mod" !== t) { (s = new o(null)).length = u + 1, s.words = new Array(s.length); for (var c = 0; c < s.length; c++) s.words[c] = 0 } var l = n.clone()._ishlnsubmul(i, 1, u); 0 === l.negative && (n = l, s && (s.words[u] = 1)); for (var f = u - 1; f >= 0; f--) { var p = 67108864 * (0 | n.words[i.length + f]) + (0 | n.words[i.length + f - 1]); for (p = Math.min(p / a | 0, 67108863), n._ishlnsubmul(i, p, f); 0 !== n.negative;) p--, n.negative = 0, n._ishlnsubmul(i, 1, f), n.isZero() || (n.negative ^= 1); s && (s.words[f] = p) } return s && s.strip(), n.strip(), "div" !== t && 0 !== r && n.iushrn(r), { div: s || null, mod: n } }, o.prototype.divmod = function(e, t, r) { return n(!e.isZero()), this.isZero() ? { div: new o(0), mod: new o(0) } : 0 !== this.negative && 0 === e.negative ? (s = this.neg().divmod(e, t), "mod" !== t && (i = s.div.neg()), "div" !== t && (a = s.mod.neg(), r && 0 !== a.negative && a.iadd(e)), { div: i, mod: a }) : 0 === this.negative && 0 !== e.negative ? (s = this.divmod(e.neg(), t), "mod" !== t && (i = s.div.neg()), { div: i, mod: s.mod }) : 0 != (this.negative & e.negative) ? (s = this.neg().divmod(e.neg(), t), "div" !== t && (a = s.mod.neg(), r && 0 !== a.negative && a.isub(e)), { div: s.div, mod: a }) : e.length > this.length || this.cmp(e) < 0 ? { div: new o(0), mod: this } : 1 === e.length ? "div" === t ? { div: this.divn(e.words[0]), mod: null } : "mod" === t ? { div: null, mod: new o(this.modn(e.words[0])) } : { div: this.divn(e.words[0]), mod: new o(this.modn(e.words[0])) } : this._wordDiv(e, t); var i, a, s }, o.prototype.div = function(e) { return this.divmod(e, "div", !1).div }, o.prototype.mod = function(e) { return this.divmod(e, "mod", !1).mod }, o.prototype.umod = function(e) { return this.divmod(e, "mod", !0).mod }, o.prototype.divRound = function(e) { var t = this.divmod(e); if (t.mod.isZero()) return t.div; var r = 0 !== t.div.negative ? t.mod.isub(e) : t.mod, n = e.ushrn(1), i = e.andln(1), o = r.cmp(n); return o < 0 || 1 === i && 0 === o ? t.div : 0 !== t.div.negative ? t.div.isubn(1) : t.div.iaddn(1) }, o.prototype.modn = function(e) { n(e <= 67108863); for (var t = (1 << 26) % e, r = 0, i = this.length - 1; i >= 0; i--) r = (t * r + (0 | this.words[i])) % e; return r }, o.prototype.idivn = function(e) { n(e <= 67108863); for (var t = 0, r = this.length - 1; r >= 0; r--) { var i = (0 | this.words[r]) + 67108864 * t; this.words[r] = i / e | 0, t = i % e } return this.strip() }, o.prototype.divn = function(e) { return this.clone().idivn(e) }, o.prototype.egcd = function(e) { n(0 === e.negative), n(!e.isZero()); var t = this, r = e.clone(); t = 0 !== t.negative ? t.umod(e) : t.clone(); for (var i = new o(1), a = new o(0), s = new o(0), u = new o(1), c = 0; t.isEven() && r.isEven();) t.iushrn(1), r.iushrn(1), ++c; for (var l = r.clone(), f = t.clone(); !t.isZero();) { for (var p = 0, d = 1; 0 == (t.words[0] & d) && p < 26; ++p, d <<= 1); if (p > 0) for (t.iushrn(p); p-- > 0;)(i.isOdd() || a.isOdd()) && (i.iadd(l), a.isub(f)), i.iushrn(1), a.iushrn(1); for (var h = 0, v = 1; 0 == (r.words[0] & v) && h < 26; ++h, v <<= 1); if (h > 0) for (r.iushrn(h); h-- > 0;)(s.isOdd() || u.isOdd()) && (s.iadd(l), u.isub(f)), s.iushrn(1), u.iushrn(1); t.cmp(r) >= 0 ? (t.isub(r), i.isub(s), a.isub(u)) : (r.isub(t), s.isub(i), u.isub(a)) } return { a: s, b: u, gcd: r.iushln(c) } }, o.prototype._invmp = function(e) { n(0 === e.negative), n(!e.isZero()); var t = this, r = e.clone(); t = 0 !== t.negative ? t.umod(e) : t.clone(); for (var i, a = new o(1), s = new o(0), u = r.clone(); t.cmpn(1) > 0 && r.cmpn(1) > 0;) { for (var c = 0, l = 1; 0 == (t.words[0] & l) && c < 26; ++c, l <<= 1); if (c > 0) for (t.iushrn(c); c-- > 0;) a.isOdd() && a.iadd(u), a.iushrn(1); for (var f = 0, p = 1; 0 == (r.words[0] & p) && f < 26; ++f, p <<= 1); if (f > 0) for (r.iushrn(f); f-- > 0;) s.isOdd() && s.iadd(u), s.iushrn(1); t.cmp(r) >= 0 ? (t.isub(r), a.isub(s)) : (r.isub(t), s.isub(a)) } return (i = 0 === t.cmpn(1) ? a : s).cmpn(0) < 0 && i.iadd(e), i }, o.prototype.gcd = function(e) { if (this.isZero()) return e.abs(); if (e.isZero()) return this.abs(); var t = this.clone(), r = e.clone(); t.negative = 0, r.negative = 0; for (var n = 0; t.isEven() && r.isEven(); n++) t.iushrn(1), r.iushrn(1); for (;;) { for (; t.isEven();) t.iushrn(1); for (; r.isEven();) r.iushrn(1); var i = t.cmp(r); if (i < 0) { var o = t; t = r, r = o } else if (0 === i || 0 === r.cmpn(1)) break; t.isub(r) } return r.iushln(n) }, o.prototype.invm = function(e) { return this.egcd(e).a.umod(e) }, o.prototype.isEven = function() { return 0 == (1 & this.words[0]) }, o.prototype.isOdd = function() { return 1 == (1 & this.words[0]) }, o.prototype.andln = function(e) { return this.words[0] & e }, o.prototype.bincn = function(e) { n("number" == typeof e); var t = e % 26, r = (e - t) / 26, i = 1 << t; if (this.length <= r) return this._expand(r + 1), this.words[r] |= i, this; for (var o = i, a = r; 0 !== o && a < this.length; a++) { var s = 0 | this.words[a]; o = (s += o) >>> 26, s &= 67108863, this.words[a] = s } return 0 !== o && (this.words[a] = o, this.length++), this }, o.prototype.isZero = function() { return 1 === this.length && 0 === this.words[0] }, o.prototype.cmpn = function(e) { var t, r = e < 0; if (0 !== this.negative && !r) return -1; if (0 === this.negative && r) return 1; if (this.strip(), this.length > 1) t = 1; else { r && (e = -e), n(e <= 67108863, "Number is too big"); var i = 0 | this.words[0]; t = i === e ? 0 : i < e ? -1 : 1 } return 0 !== this.negative ? 0 | -t : t }, o.prototype.cmp = function(e) { if (0 !== this.negative && 0 === e.negative) return -1; if (0 === this.negative && 0 !== e.negative) return 1; var t = this.ucmp(e); return 0 !== this.negative ? 0 | -t : t }, o.prototype.ucmp = function(e) { if (this.length > e.length) return 1; if (this.length < e.length) return -1; for (var t = 0, r = this.length - 1; r >= 0; r--) { var n = 0 | this.words[r], i = 0 | e.words[r]; if (n !== i) { n < i ? t = -1 : n > i && (t = 1); break } } return t }, o.prototype.gtn = function(e) { return 1 === this.cmpn(e) }, o.prototype.gt = function(e) { return 1 === this.cmp(e) }, o.prototype.gten = function(e) { return this.cmpn(e) >= 0 }, o.prototype.gte = function(e) { return this.cmp(e) >= 0 }, o.prototype.ltn = function(e) { return -1 === this.cmpn(e) }, o.prototype.lt = function(e) { return -1 === this.cmp(e) }, o.prototype.lten = function(e) { return this.cmpn(e) <= 0 }, o.prototype.lte = function(e) { return this.cmp(e) <= 0 }, o.prototype.eqn = function(e) { return 0 === this.cmpn(e) }, o.prototype.eq = function(e) { return 0 === this.cmp(e) }, o.red = function(e) { return new S(e) }, o.prototype.toRed = function(e) { return n(!this.red, "Already a number in reduction context"), n(0 === this.negative, "red works only with positives"), e.convertTo(this)._forceRed(e) }, o.prototype.fromRed = function() { return n(this.red, "fromRed works only with numbers in reduction context"), this.red.convertFrom(this) }, o.prototype._forceRed = function(e) { return this.red = e, this }, o.prototype.forceRed = function(e) { return n(!this.red, "Already a number in reduction context"), this._forceRed(e) }, o.prototype.redAdd = function(e) { return n(this.red, "redAdd works only with red numbers"), this.red.add(this, e) }, o.prototype.redIAdd = function(e) { return n(this.red, "redIAdd works only with red numbers"), this.red.iadd(this, e) }, o.prototype.redSub = function(e) { return n(this.red, "redSub works only with red numbers"), this.red.sub(this, e) }, o.prototype.redISub = function(e) { return n(this.red, "redISub works only with red numbers"), this.red.isub(this, e) }, o.prototype.redShl = function(e) { return n(this.red, "redShl works only with red numbers"), this.red.shl(this, e) }, o.prototype.redMul = function(e) { return n(this.red, "redMul works only with red numbers"), this.red._verify2(this, e), this.red.mul(this, e) }, o.prototype.redIMul = function(e) { return n(this.red, "redMul works only with red numbers"), this.red._verify2(this, e), this.red.imul(this, e) }, o.prototype.redSqr = function() { return n(this.red, "redSqr works only with red numbers"), this.red._verify1(this), this.red.sqr(this) }, o.prototype.redISqr = function() { return n(this.red, "redISqr works only with red numbers"), this.red._verify1(this), this.red.isqr(this) }, o.prototype.redSqrt = function() { return n(this.red, "redSqrt works only with red numbers"), this.red._verify1(this), this.red.sqrt(this) }, o.prototype.redInvm = function() { return n(this.red, "redInvm works only with red numbers"), this.red._verify1(this), this.red.invm(this) }, o.prototype.redNeg = function() { return n(this.red, "redNeg works only with red numbers"), this.red._verify1(this), this.red.neg(this) }, o.prototype.redPow = function(e) { return n(this.red && !e.red, "redPow(normalNum)"), this.red._verify1(this), this.red.pow(this, e) }; var m = { k256: null, p224: null, p192: null, p25519: null }; function y(e, t) { this.name = e, this.p = new o(t, 16), this.n = this.p.bitLength(), this.k = new o(1).iushln(this.n).isub(this.p), this.tmp = this._tmp() } function b() { y.call(this, "k256", "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f") } function g() { y.call(this, "p224", "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001") } function _() { y.call(this, "p192", "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff") } function T() { y.call(this, "25519", "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed") } function S(e) { if ("string" == typeof e) { var t = o._prime(e); this.m = t.p, this.prime = t } else n(e.gtn(1), "modulus must be greater than 1"), this.m = e, this.prime = null } function A(e) { S.call(this, e), this.shift = this.m.bitLength(), this.shift % 26 != 0 && (this.shift += 26 - this.shift % 26), this.r = new o(1).iushln(this.shift), this.r2 = this.imod(this.r.sqr()), this.rinv = this.r._invmp(this.m), this.minv = this.rinv.mul(this.r).isubn(1).div(this.m), this.minv = this.minv.umod(this.r), this.minv = this.r.sub(this.minv) } y.prototype._tmp = function() { var e = new o(null); return e.words = new Array(Math.ceil(this.n / 13)), e }, y.prototype.ireduce = function(e) { var t, r = e; do { this.split(r, this.tmp), t = (r = (r = this.imulK(r)).iadd(this.tmp)).bitLength() } while (t > this.n); var n = t < this.n ? -1 : r.ucmp(this.p); return 0 === n ? (r.words[0] = 0, r.length = 1) : n > 0 ? r.isub(this.p) : r.strip(), r }, y.prototype.split = function(e, t) { e.iushrn(this.n, 0, t) }, y.prototype.imulK = function(e) { return e.imul(this.k) }, i(b, y), b.prototype.split = function(e, t) { for (var r = Math.min(e.length, 9), n = 0; n < r; n++) t.words[n] = e.words[n]; if (t.length = r, e.length <= 9) return e.words[0] = 0, void(e.length = 1); var i = e.words[9]; for (t.words[t.length++] = 4194303 & i, n = 10; n < e.length; n++) { var o = 0 | e.words[n]; e.words[n - 10] = (4194303 & o) << 4 | i >>> 22, i = o } i >>>= 22, e.words[n - 10] = i, 0 === i && e.length > 10 ? e.length -= 10 : e.length -= 9 }, b.prototype.imulK = function(e) { e.words[e.length] = 0, e.words[e.length + 1] = 0, e.length += 2; for (var t = 0, r = 0; r < e.length; r++) { var n = 0 | e.words[r]; t += 977 * n, e.words[r] = 67108863 & t, t = 64 * n + (t / 67108864 | 0) } return 0 === e.words[e.length - 1] && (e.length--, 0 === e.words[e.length - 1] && e.length--), e }, i(g, y), i(_, y), i(T, y), T.prototype.imulK = function(e) { for (var t = 0, r = 0; r < e.length; r++) { var n = 19 * (0 | e.words[r]) + t, i = 67108863 & n; n >>>= 26, e.words[r] = i, t = n } return 0 !== t && (e.words[e.length++] = t), e }, o._prime = function(e) { if (m[e]) return m[e]; var t; if ("k256" === e) t = new b; else if ("p224" === e) t = new g; else if ("p192" === e) t = new _; else { if ("p25519" !== e) throw new Error("Unknown prime " + e); t = new T } return m[e] = t, t }, S.prototype._verify1 = function(e) { n(0 === e.negative, "red works only with positives"), n(e.red, "red works only with red numbers") }, S.prototype._verify2 = function(e, t) { n(0 == (e.negative | t.negative), "red works only with positives"), n(e.red && e.red === t.red, "red works only with red numbers") }, S.prototype.imod = function(e) { return this.prime ? this.prime.ireduce(e)._forceRed(this) : e.umod(this.m)._forceRed(this) }, S.prototype.neg = function(e) { return e.isZero() ? e.clone() : this.m.sub(e)._forceRed(this) }, S.prototype.add = function(e, t) { this._verify2(e, t); var r = e.add(t); return r.cmp(this.m) >= 0 && r.isub(this.m), r._forceRed(this) }, S.prototype.iadd = function(e, t) { this._verify2(e, t); var r = e.iadd(t); return r.cmp(this.m) >= 0 && r.isub(this.m), r }, S.prototype.sub = function(e, t) { this._verify2(e, t); var r = e.sub(t); return r.cmpn(0) < 0 && r.iadd(this.m), r._forceRed(this) }, S.prototype.isub = function(e, t) { this._verify2(e, t); var r = e.isub(t); return r.cmpn(0) < 0 && r.iadd(this.m), r }, S.prototype.shl = function(e, t) { return this._verify1(e), this.imod(e.ushln(t)) }, S.prototype.imul = function(e, t) { return this._verify2(e, t), this.imod(e.imul(t)) }, S.prototype.mul = function(e, t) { return this._verify2(e, t), this.imod(e.mul(t)) }, S.prototype.isqr = function(e) { return this.imul(e, e.clone()) }, S.prototype.sqr = function(e) { return this.mul(e, e) }, S.prototype.sqrt = function(e) { if (e.isZero()) return e.clone(); var t = this.m.andln(3); if (n(t % 2 == 1), 3 === t) { var r = this.m.add(new o(1)).iushrn(2); return this.pow(e, r) } for (var i = this.m.subn(1), a = 0; !i.isZero() && 0 === i.andln(1);) a++, i.iushrn(1); n(!i.isZero()); var s = new o(1).toRed(this), u = s.redNeg(), c = this.m.subn(1).iushrn(1), l = this.m.bitLength(); for (l = new o(2 * l * l).toRed(this); 0 !== this.pow(l, c).cmp(u);) l.redIAdd(u); for (var f = this.pow(l, i), p = this.pow(e, i.addn(1).iushrn(1)), d = this.pow(e, i), h = a; 0 !== d.cmp(s);) { for (var v = d, m = 0; 0 !== v.cmp(s); m++) v = v.redSqr(); n(m < h); var y = this.pow(f, new o(1).iushln(h - m - 1)); p = p.redMul(y), f = y.redSqr(), d = d.redMul(f), h = m } return p }, S.prototype.invm = function(e) { var t = e._invmp(this.m); return 0 !== t.negative ? (t.negative = 0, this.imod(t).redNeg()) : this.imod(t) }, S.prototype.pow = function(e, t) { if (t.isZero()) return new o(1).toRed(this); if (0 === t.cmpn(1)) return e.clone(); var r = new Array(16); r[0] = new o(1).toRed(this), r[1] = e; for (var n = 2; n < r.length; n++) r[n] = this.mul(r[n - 1], e); var i = r[0], a = 0, s = 0, u = t.bitLength() % 26; for (0 === u && (u = 26), n = t.length - 1; n >= 0; n--) { for (var c = t.words[n], l = u - 1; l >= 0; l--) { var f = c >> l & 1; i !== r[0] && (i = this.sqr(i)), 0 !== f || 0 !== a ? (a <<= 1, a |= f, (4 === ++s || 0 === n && 0 === l) && (i = this.mul(i, r[a]), s = 0, a = 0)) : s = 0 } u = 26 } return i }, S.prototype.convertTo = function(e) { var t = e.umod(this.m); return t === e ? t.clone() : t }, S.prototype.convertFrom = function(e) { var t = e.clone(); return t.red = null, t }, o.mont = function(e) { return new A(e) }, i(A, S), A.prototype.convertTo = function(e) { return this.imod(e.ushln(this.shift)) }, A.prototype.convertFrom = function(e) { var t = this.imod(e.mul(this.rinv)); return t.red = null, t }, A.prototype.imul = function(e, t) { if (e.isZero() || t.isZero()) return e.words[0] = 0, e.length = 1, e; var r = e.imul(t), n = r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), i = r.isub(n).iushrn(this.shift), o = i; return i.cmp(this.m) >= 0 ? o = i.isub(this.m) : i.cmpn(0) < 0 && (o = i.iadd(this.m)), o._forceRed(this) }, A.prototype.mul = function(e, t) { if (e.isZero() || t.isZero()) return new o(0)._forceRed(this); var r = e.mul(t), n = r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), i = r.isub(n).iushrn(this.shift), a = i; return i.cmp(this.m) >= 0 ? a = i.isub(this.m) : i.cmpn(0) < 0 && (a = i.iadd(this.m)), a._forceRed(this) }, A.prototype.invm = function(e) { return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this) } }(e, this) }).call(this, r(116)(e)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = u((0, o.default)(), 1)[0], t = u((0, a.default)(), 1)[0]; return [(0, n.useMemo)((function() { return function(e, t) { if ("auto" !== e) return e; if ((0, i.default)().includes(t)) return "rtl"; return "ltr" }(e, t) }), [e, t])] }; var n = r(0), i = s(r(505)), o = s(r(1161)), a = s(r(104)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } }, function(e, t, r) { "use strict"; var n = Object.prototype.hasOwnProperty; function i(e, t) { return n.call(e, t) } function o(e) { return !(e >= 55296 && e <= 57343) && (!(e >= 64976 && e <= 65007) && (65535 != (65535 & e) && 65534 != (65535 & e) && (!(e >= 0 && e <= 8) && (11 !== e && (!(e >= 14 && e <= 31) && (!(e >= 127 && e <= 159) && !(e > 1114111))))))) } function a(e) { if (e > 65535) { var t = 55296 + ((e -= 65536) >> 10), r = 56320 + (1023 & e); return String.fromCharCode(t, r) } return String.fromCharCode(e) } var s = /\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g, u = new RegExp(s.source + "|" + /&([a-z#][a-z0-9]{1,31});/gi.source, "gi"), c = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i, l = r(1705); var f = /[&<>"]/, p = /[&<>"]/g, d = { "&": "&", "<": "<", ">": ">", '"': """ }; function h(e) { return d[e] } var v = /[.?*+^$[\]\\(){}|-]/g; var m = r(721); t.lib = {}, t.lib.mdurl = r(1706), t.lib.ucmicro = r(1997), t.assign = function(e) { var t = Array.prototype.slice.call(arguments, 1); return t.forEach((function(t) { if (t) { if ("object" != typeof t) throw new TypeError(t + "must be object"); Object.keys(t).forEach((function(r) { e[r] = t[r] })) } })), e }, t.isString = function(e) { return "[object String]" === function(e) { return Object.prototype.toString.call(e) }(e) }, t.has = i, t.unescapeMd = function(e) { return e.indexOf("\\") < 0 ? e : e.replace(s, "$1") }, t.unescapeAll = function(e) { return e.indexOf("\\") < 0 && e.indexOf("&") < 0 ? e : e.replace(u, (function(e, t, r) { return t || function(e, t) { var r = 0; return i(l, t) ? l[t] : 35 === t.charCodeAt(0) && c.test(t) && o(r = "x" === t[1].toLowerCase() ? parseInt(t.slice(2), 16) : parseInt(t.slice(1), 10)) ? a(r) : e }(e, r) })) }, t.isValidEntityCode = o, t.fromCodePoint = a, t.escapeHtml = function(e) { return f.test(e) ? e.replace(p, h) : e }, t.arrayReplaceAt = function(e, t, r) { return [].concat(e.slice(0, t), r, e.slice(t + 1)) }, t.isSpace = function(e) { switch (e) { case 9: case 32: return !0 } return !1 }, t.isWhiteSpace = function(e) { if (e >= 8192 && e <= 8202) return !0; switch (e) { 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 }, t.isMdAsciiPunct = function(e) { switch (e) { 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 } }, t.isPunctChar = function(e) { return m.test(e) }, t.escapeRE = function(e) { return e.replace(v, "\\$&") }, t.normalizeReference = function(e) { return e = e.trim().replace(/\s+/g, " "), "\u1e7e" === "\u1e9e".toLowerCase() && (e = e.replace(/\u1e9e/g, "\xdf")), e.toLowerCase().toUpperCase() } }, function(e, t, r) { (function(t) { var r = function(e) { return e && e.Math == Math && e }; e.exports = r("object" == typeof globalThis && globalThis) || r("object" == typeof window && window) || r("object" == typeof self && self) || r("object" == typeof t && t) || Function("return this")() }).call(this, r(14)) }, function(e, t) { var r, n, i = e.exports = {}; function o() { throw new Error("setTimeout has not been defined") } function a() { throw new Error("clearTimeout has not been defined") } function s(e) { if (r === setTimeout) return setTimeout(e, 0); if ((r === o || !r) && setTimeout) return r = setTimeout, setTimeout(e, 0); try { return r(e, 0) } catch (t) { try { return r.call(null, e, 0) } catch (t) { return r.call(this, e, 0) } } }! function() { try { r = "function" == typeof setTimeout ? setTimeout : o } catch (e) { r = o } try { n = "function" == typeof clearTimeout ? clearTimeout : a } catch (e) { n = a } }(); var u, c = [], l = !1, f = -1; function p() { l && u && (l = !1, u.length ? c = u.concat(c) : f = -1, c.length && d()) } function d() { if (!l) { var e = s(p); l = !0; for (var t = c.length; t;) { for (u = c, c = []; ++f < t;) u && u[f].run(); f = -1, t = c.length } u = null, l = !1, function(e) { if (n === clearTimeout) return clearTimeout(e); if ((n === a || !n) && clearTimeout) return n = clearTimeout, clearTimeout(e); try { n(e) } catch (t) { try { return n.call(null, e) } catch (t) { return n.call(this, e) } } }(e) } } function h(e, t) { this.fun = e, this.array = t } function v() {} i.nextTick = function(e) { var t = new Array(arguments.length - 1); if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) t[r - 1] = arguments[r]; c.push(new h(e, t)), 1 !== c.length || l || s(d) }, h.prototype.run = function() { this.fun.apply(null, this.array) }, i.title = "browser", i.browser = !0, i.env = {}, i.argv = [], i.version = "", i.versions = {}, i.on = v, i.addListener = v, i.once = v, i.off = v, i.removeListener = v, i.removeAllListeners = v, i.emit = v, i.prependListener = v, i.prependOnceListener = v, i.listeners = function(e) { return [] }, i.binding = function(e) { throw new Error("process.binding is not supported") }, i.cwd = function() { return "/" }, i.chdir = function(e) { throw new Error("process.chdir is not supported") }, i.umask = function() { return 0 } }, function(e, t, r) { var n = r(25), i = r(203).f, o = r(68), a = r(94), s = r(324), u = r(737), c = r(362); e.exports = function(e, t) { var r, l, f, p, d, h = e.target, v = e.global, m = e.stat; if (r = v ? n : m ? n[h] || s(h, {}) : (n[h] || {}).prototype) for (l in t) { if (p = t[l], f = e.noTargetGet ? (d = i(r, l)) && d.value : r[l], !c(v ? l : h + (m ? "." : "#") + l, e.forced) && void 0 !== f) { if (typeof p == typeof f) continue; u(p, f) }(e.sham || f && f.sham) && o(p, "sham", !0), a(r, l, p, e) } } }, function(e, t, r) { "use strict"; function n(e) { for (var r in e) t.hasOwnProperty(r) || (t[r] = e[r]) } Object.defineProperty(t, "__esModule", { value: !0 }), n(r(1759)), n(r(1760)), n(r(1648)), n(r(1761)), n(r(92)), n(r(1762)), n(r(1649)), n(r(151)), n(r(1763)), n(r(1650)), n(r(691)), n(r(692)), n(r(1651)), n(r(1764)), n(r(1765)), n(r(1766)); var i = r(693); t.TranslationStatus = i.TranslationStatus, n(r(1767)) }, function(e, t, r) { (function(t) { var r = function(e) { return e && e.Math == Math && e }; e.exports = r("object" == typeof globalThis && globalThis) || r("object" == typeof window && window) || r("object" == typeof self && self) || r("object" == typeof t && t) || Function("return this")() }).call(this, r(14)) }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return (0, o.call)(i.default.mark((function t() { var r, n, c, l, f, p; return i.default.wrap((function(t) { for (;;) switch (t.prev = t.next) { case 0: return t.next = 2, (0, o.take)([a.CONNECT_FULFILLING, u.RECONNECT_FULFILLING]); case 2: return r = t.sent, n = r.meta, c = n.userID, l = n.username, f = r.payload.directLine, t.next = 9, (0, o.fork)(e, { directLine: f, userID: c, username: l }); case 9: return p = t.sent, t.next = 12, (0, o.take)([s.DISCONNECT_PENDING, u.RECONNECT_PENDING]); case 12: return t.next = 14, (0, o.cancel)(p); case 14: t.next = 0; break; case 16: case "end": return t.stop() } }), t) }))) }; var i = n(r(17)), o = r(18), a = r(98), s = r(162), u = r(161) }, function(e, t, r) { e.exports = r(1736)() }, function(e, t, r) { var n = r(25), i = r(359), o = r(52), a = r(356), s = r(360), u = r(736), c = i("wks"), l = n.Symbol, f = u ? l : l && l.withoutSetter || a; e.exports = function(e) { return o(c, e) || (s && o(l, e) ? c[e] = l[e] : c[e] = f("Symbol." + e)), c[e] } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "keyboard"; return { type: n, meta: { method: t }, payload: { activity: e } } }, t.POST_ACTIVITY = t.POST_ACTIVITY_REJECTED = t.POST_ACTIVITY_PENDING = t.POST_ACTIVITY_FULFILLED = void 0; var n = "DIRECT_LINE/POST_ACTIVITY"; t.POST_ACTIVITY = n; var i = "".concat(n, "_FULFILLED"); t.POST_ACTIVITY_FULFILLED = i; var o = "".concat(n, "_PENDING"); t.POST_ACTIVITY_PENDING = o; var a = "".concat(n, "_REJECTED"); t.POST_ACTIVITY_REJECTED = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = s(r(3)), o = s(r(1)), a = s(r(0)); function s(e) { return e && e.__esModule ? e : { default: e } } var u = (0, n.css)({ color: "transparent", height: 1, overflow: "hidden", position: "absolute", top: 0, whiteSpace: "nowrap", width: 1 }), c = function(e) { var t = e.id, r = e.text; return a.default.createElement("div", { className: (0, i.default)(u + ""), id: t }, r) }; c.defaultProps = { id: void 0 }, c.propTypes = { id: o.default.string, text: o.default.string.isRequired }; var l = c; t.default = l }, function(e, t, r) { var n = r(57); e.exports = function(e) { if (!n(e)) throw TypeError(String(e) + " is not an object"); return e } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(416), o = r(127), a = r(418), s = r(247), u = function(e) { function t(t, r, n) { switch (e.call(this), this.syncErrorValue = null, this.syncErrorThrown = !1, this.syncErrorThrowable = !1, this.isStopped = !1, arguments.length) { case 0: this.destination = a.empty; break; case 1: if (!t) { this.destination = a.empty; break } if ("object" == typeof t) { if (l(t)) { var i = t[s.rxSubscriber](); this.syncErrorThrowable = i.syncErrorThrowable, this.destination = i, i.add(this) } else this.syncErrorThrowable = !0, this.destination = new c(this, t); break } default: this.syncErrorThrowable = !0, this.destination = new c(this, t, r, n) } } return n(t, e), t.prototype[s.rxSubscriber] = function() { return this }, t.create = function(e, r, n) { var i = new t(e, r, n); return i.syncErrorThrowable = !1, i }, t.prototype.next = function(e) { this.isStopped || this._next(e) }, t.prototype.error = function(e) { this.isStopped || (this.isStopped = !0, this._error(e)) }, t.prototype.complete = function() { this.isStopped || (this.isStopped = !0, this._complete()) }, t.prototype.unsubscribe = function() { this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this)) }, t.prototype._next = function(e) { this.destination.next(e) }, t.prototype._error = function(e) { this.destination.error(e), this.unsubscribe() }, t.prototype._complete = function() { this.destination.complete(), this.unsubscribe() }, t.prototype._unsubscribeAndRecycle = function() { var e = this._parent, t = this._parents; return this._parent = null, this._parents = null, this.unsubscribe(), this.closed = !1, this.isStopped = !1, this._parent = e, this._parents = t, this }, t }(o.Subscription); t.Subscriber = u; var c = function(e) { function t(t, r, n, o) { var s; e.call(this), this._parentSubscriber = t; var u = this; i.isFunction(r) ? s = r : r && (s = r.next, n = r.error, o = r.complete, r !== a.empty && (u = Object.create(r), i.isFunction(u.unsubscribe) && this.add(u.unsubscribe.bind(u)), u.unsubscribe = this.unsubscribe.bind(this))), this._context = u, this._next = s, this._error = n, this._complete = o } return n(t, e), t.prototype.next = function(e) { if (!this.isStopped && this._next) { var t = this._parentSubscriber; t.syncErrorThrowable ? this.__tryOrSetError(t, this._next, e) && this.unsubscribe() : this.__tryOrUnsub(this._next, e) } }, t.prototype.error = function(e) { if (!this.isStopped) { var t = this._parentSubscriber; if (this._error) t.syncErrorThrowable ? (this.__tryOrSetError(t, this._error, e), this.unsubscribe()) : (this.__tryOrUnsub(this._error, e), this.unsubscribe()); else { if (!t.syncErrorThrowable) throw this.unsubscribe(), e; t.syncErrorValue = e, t.syncErrorThrown = !0, this.unsubscribe() } } }, t.prototype.complete = function() { var e = this; if (!this.isStopped) { var t = this._parentSubscriber; if (this._complete) { var r = function() { return e._complete.call(e._context) }; t.syncErrorThrowable ? (this.__tryOrSetError(t, r), this.unsubscribe()) : (this.__tryOrUnsub(r), this.unsubscribe()) } else this.unsubscribe() } }, t.prototype.__tryOrUnsub = function(e, t) { try { e.call(this._context, t) } catch (e) { throw this.unsubscribe(), e } }, t.prototype.__tryOrSetError = function(e, t, r) { try { t.call(this._context, r) } catch (t) { return e.syncErrorValue = t, e.syncErrorThrown = !0, !0 } return !1 }, t.prototype._unsubscribe = function() { var e = this._parentSubscriber; this._context = null, this._parentSubscriber = null, e.unsubscribe() }, t }(u); function l(e) { return e instanceof u || "syncErrorThrowable" in e && e[s.rxSubscriber] } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "localize", { enumerable: !0, get: function() { return l.localize } }), Object.defineProperty(t, "concatMiddleware", { enumerable: !0, get: function() { return P.default } }), Object.defineProperty(t, "connectToWebChat", { enumerable: !0, get: function() { return x.default } }), Object.defineProperty(t, "Context", { enumerable: !0, get: function() { return N.default } }), Object.defineProperty(t, "createCoreActivityMiddleware", { enumerable: !0, get: function() { return k.default } }), Object.defineProperty(t, "createCoreActivityStatusMiddleware", { enumerable: !0, get: function() { return R.default } }), Object.defineProperty(t, "createCoreAttachmentMiddleware", { enumerable: !0, get: function() { return L.default } }), Object.defineProperty(t, "createStyleSet", { enumerable: !0, get: function() { return M.default } }), Object.defineProperty(t, "defaultStyleOptions", { enumerable: !0, get: function() { return j.default } }), Object.defineProperty(t, "getTabIndex", { enumerable: !0, get: function() { return D.default } }), t.hooks = t.version = t.Components = t.default = void 0; var i = z(r(1076)), o = z(r(564)), a = z(r(1492)), s = z(r(318)), u = z(r(584)), c = z(r(627)), l = F(r(628)), f = F(r(609)), p = F(r(553)), d = F(r(607)), h = z(r(611)), v = z(r(614)), m = z(r(615)), y = z(r(622)), b = z(r(617)), g = z(r(619)), _ = z(r(621)), T = z(r(623)), S = z(r(624)), A = F(r(519)), E = F(r(290)), C = F(r(523)), O = F(r(299)), w = F(r(524)), I = F(r(536)), P = z(r(106)), x = z(r(44)), N = z(r(62)), k = z(r(583)), R = z(r(608)), L = z(r(613)), M = z(r(577)), j = z(r(578)), D = z(r(300)), U = F(r(1493)); function B() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return B = function() { return e }, e } function F(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = B(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } return r.default = e, t && t.set(e, r), r } function z(e) { return e && e.__esModule ? e : { default: e } } t.hooks = U; t.version = "4.9.1"; var V = { Composer: o.default, Localize: l.default, AudioContent: v.default, FileContent: m.default, HTMLVideoContent: y.default, ImageContent: b.default, TextContent: g.default, VideoContent: _.default, VimeoContent: T.default, YouTubeContent: S.default, Avatar: a.default, Bubble: s.default, CarouselLayout: u.default, ErrorBox: c.default, SendStatus: f.default, SpeakActivity: p.default, StackedLayout: d.default, Timestamp: h.default, connectSendStatus: f.connectSendStatus, connectSpeakActivity: p.connectSpeakActivity, connectStackedLayout: d.connectStackedLayout, DictationInterims: A.default, MicrophoneButton: E.default, SendButton: C.default, SendTextBox: O.default, SuggestedActions: w.default, UploadButton: I.default, connectDictationInterims: A.connectDictationInterims, connectMicrophoneButton: E.connectMicrophoneButton, connectSendButton: C.connectSendButton, connectSendTextBox: O.connectSendTextBox, connectSuggestedActions: w.connectSuggestedActions, connectUploadButton: I.connectUploadButton }; t.Components = V; var G = i.default; t.default = G }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.useSelector = t.useDispatch = t.default = void 0; var n = r(0), i = r(287), o = (0, n.createContext)(), a = (0, i.createDispatchHook)(o); t.useDispatch = a; var s = (0, i.createSelectorHook)(o); t.useSelector = s, o.displayName = "WebChatReduxContext"; var u = o; t.default = u }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(652), o = r(148), a = r(654), s = r(331), u = function(e) { function t(t, r, n) { switch (e.call(this), this.syncErrorValue = null, this.syncErrorThrown = !1, this.syncErrorThrowable = !1, this.isStopped = !1, arguments.length) { case 0: this.destination = a.empty; break; case 1: if (!t) { this.destination = a.empty; break } if ("object" == typeof t) { if (l(t)) { var i = t[s.rxSubscriber](); this.syncErrorThrowable = i.syncErrorThrowable, this.destination = i, i.add(this) } else this.syncErrorThrowable = !0, this.destination = new c(this, t); break } default: this.syncErrorThrowable = !0, this.destination = new c(this, t, r, n) } } return n(t, e), t.prototype[s.rxSubscriber] = function() { return this }, t.create = function(e, r, n) { var i = new t(e, r, n); return i.syncErrorThrowable = !1, i }, t.prototype.next = function(e) { this.isStopped || this._next(e) }, t.prototype.error = function(e) { this.isStopped || (this.isStopped = !0, this._error(e)) }, t.prototype.complete = function() { this.isStopped || (this.isStopped = !0, this._complete()) }, t.prototype.unsubscribe = function() { this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this)) }, t.prototype._next = function(e) { this.destination.next(e) }, t.prototype._error = function(e) { this.destination.error(e), this.unsubscribe() }, t.prototype._complete = function() { this.destination.complete(), this.unsubscribe() }, t.prototype._unsubscribeAndRecycle = function() { var e = this._parent, t = this._parents; return this._parent = null, this._parents = null, this.unsubscribe(), this.closed = !1, this.isStopped = !1, this._parent = e, this._parents = t, this }, t }(o.Subscription); t.Subscriber = u; var c = function(e) { function t(t, r, n, o) { var s; e.call(this), this._parentSubscriber = t; var u = this; i.isFunction(r) ? s = r : r && (s = r.next, n = r.error, o = r.complete, r !== a.empty && (u = Object.create(r), i.isFunction(u.unsubscribe) && this.add(u.unsubscribe.bind(u)), u.unsubscribe = this.unsubscribe.bind(this))), this._context = u, this._next = s, this._error = n, this._complete = o } return n(t, e), t.prototype.next = function(e) { if (!this.isStopped && this._next) { var t = this._parentSubscriber; t.syncErrorThrowable ? this.__tryOrSetError(t, this._next, e) && this.unsubscribe() : this.__tryOrUnsub(this._next, e) } }, t.prototype.error = function(e) { if (!this.isStopped) { var t = this._parentSubscriber; if (this._error) t.syncErrorThrowable ? (this.__tryOrSetError(t, this._error, e), this.unsubscribe()) : (this.__tryOrUnsub(this._error, e), this.unsubscribe()); else { if (!t.syncErrorThrowable) throw this.unsubscribe(), e; t.syncErrorValue = e, t.syncErrorThrown = !0, this.unsubscribe() } } }, t.prototype.complete = function() { var e = this; if (!this.isStopped) { var t = this._parentSubscriber; if (this._complete) { var r = function() { return e._complete.call(e._context) }; t.syncErrorThrowable ? (this.__tryOrSetError(t, r), this.unsubscribe()) : (this.__tryOrUnsub(r), this.unsubscribe()) } else this.unsubscribe() } }, t.prototype.__tryOrUnsub = function(e, t) { try { e.call(this._context, t) } catch (e) { throw this.unsubscribe(), e } }, t.prototype.__tryOrSetError = function(e, t, r) { try { t.call(this._context, r) } catch (t) { return e.syncErrorValue = t, e.syncErrorThrown = !0, !0 } return !1 }, t.prototype._unsubscribe = function() { var e = this._parentSubscriber; this._context = null, this._parentSubscriber = null, e.unsubscribe() }, t }(u); function l(e) { return e instanceof u || "syncErrorThrowable" in e && e[s.rxSubscriber] } }, function(e, t, r) { var n = r(29), i = r(392), o = r(60), a = r(396), s = r(397), u = r(785), c = i("wks"), l = n.Symbol, f = u ? l : l && l.withoutSetter || a; e.exports = function(e) { return o(c, e) || (s && o(l, e) ? c[e] = l[e] : c[e] = f("Symbol." + e)), c[e] } }, function(e, t, r) { "use strict"; e.exports = function(e) { return i.test("number" == typeof e ? n(e) : e.charAt(0)) }; var n = String.fromCharCode, i = /\s/ }, function(e, t) { function r(e, t) { if (!e) throw new Error(t || "Assertion failed") } e.exports = r, r.equal = function(e, t, r) { if (e != t) throw new Error(r || "Assertion failed: " + e + " != " + t) } }, function(e, t, r) { "use strict"; var n = t, i = r(22), o = r(42), a = r(461); n.assert = o, n.toArray = a.toArray, n.zero2 = a.zero2, n.toHex = a.toHex, n.encode = a.encode, n.getNAF = function(e, t, r) { var n = new Array(Math.max(e.bitLength(), r) + 1); n.fill(0); for (var i = 1 << t + 1, o = e.clone(), a = 0; a < n.length; a++) { var s, u = o.andln(i - 1); o.isOdd() ? (s = u > (i >> 1) - 1 ? (i >> 1) - u : u, o.isubn(s)) : s = 0, n[a] = s, o.iushrn(1) } return n }, n.getJSF = function(e, t) { var r = [ [], [] ]; e = e.clone(), t = t.clone(); for (var n = 0, i = 0; e.cmpn(-n) > 0 || t.cmpn(-i) > 0;) { var o, a, s, u = e.andln(3) + n & 3, c = t.andln(3) + i & 3; if (3 === u && (u = -1), 3 === c && (c = -1), 0 == (1 & u)) o = 0; else o = 3 !== (s = e.andln(7) + n & 7) && 5 !== s || 2 !== c ? u : -u; if (r[0].push(o), 0 == (1 & c)) a = 0; else a = 3 !== (s = t.andln(7) + i & 7) && 5 !== s || 2 !== u ? c : -c; r[1].push(a), 2 * n === o + 1 && (n = 1 - n), 2 * i === a + 1 && (i = 1 - i), e.iushrn(1), t.iushrn(1) } return r }, n.cachedProperty = function(e, t, r) { var n = "_" + t; e.prototype[t] = function() { return void 0 !== this[n] ? this[n] : this[n] = r.call(this) } }, n.parseBytes = function(e) { return "string" == typeof e ? n.toArray(e, "hex") : e }, n.intFromLE = function(e) { return new i(e, "hex", "le") } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = h.apply(void 0, arguments); return function(t) { var r = (0, n.connect)((function(t, r) { var n = r.context, i = c(r, ["context"]); return e(f(f({}, t), n), i) }), null, null, { context: o.default })(t); return function(e) { return i.default.createElement(a.default.Consumer, null, (function(t) { return i.default.createElement(r, u({}, e, { context: t })) })) } } }; var n = r(287), i = s(r(0)), o = s(r(38)), a = s(r(62)); function s(e) { return e && e.__esModule ? e : { default: e } } function u() { return (u = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }).apply(this, arguments) } function c(e, t) { if (null == e) return {}; var r, n, i = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]) } return i } function l(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function f(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? l(Object(r), !0).forEach((function(t) { p(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : l(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function p(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function d(e) { return Object.keys(e).reduce((function(t, r) { var n = e[r]; return void 0 !== n && (t[r] = n), t }), {}) } function h() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return function() { for (var e = arguments.length, r = new Array(e), n = 0; n < e; n++) r[n] = arguments[n]; return t.reduce((function(e, t) { return f(f({}, e), d(t && t.apply(void 0, r) || {})) }), {}) } } }, function(e, t) { e.exports = !1 }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e() {} return e.throwIfNullOrUndefined = function(e, t) { if (null == e) throw new Error("throwIfNullOrUndefined:" + t) }, e.throwIfNull = function(e, t) { if (null === e) throw new Error("throwIfNull:" + t) }, e.throwIfNullOrWhitespace = function(t, r) { if (e.throwIfNullOrUndefined(t, r), ("" + t).trim().length < 1) throw new Error("throwIfNullOrWhitespace:" + r) }, e.throwIfDisposed = function(e) { if (e) throw new Error("the object is already disposed") }, e.throwIfArrayEmptyOrWhitespace = function(t, r) { if (e.throwIfNullOrUndefined(t, r), 0 === t.length) throw new Error("throwIfArrayEmptyOrWhitespace:" + r); for (var n = 0, i = t; n < i.length; n++) { var o = i[n]; e.throwIfNullOrWhitespace(o, r) } }, e.throwIfFileDoesNotExist = function(t, r) { e.throwIfNullOrWhitespace(t, r) }, e }(); t.Contracts = n }, function(e, t) { e.exports = function(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { "use strict"; var n = r(373), i = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "clearSuggestedActions", { enumerable: !0, get: function() { return o.default } }), Object.defineProperty(t, "connect", { enumerable: !0, get: function() { return a.default } }), Object.defineProperty(t, "createStore", { enumerable: !0, get: function() { return s.default } }), Object.defineProperty(t, "disconnect", { enumerable: !0, get: function() { return u.default } }), Object.defineProperty(t, "dismissNotification", { enumerable: !0, get: function() { return c.default } }), Object.defineProperty(t, "emitTypingIndicator", { enumerable: !0, get: function() { return l.default } }), Object.defineProperty(t, "markActivity", { enumerable: !0, get: function() { return f.default } }), Object.defineProperty(t, "postActivity", { enumerable: !0, get: function() { return p.default } }), Object.defineProperty(t, "sendEvent", { enumerable: !0, get: function() { return d.default } }), Object.defineProperty(t, "sendFiles", { enumerable: !0, get: function() { return h.default } }), Object.defineProperty(t, "sendMessage", { enumerable: !0, get: function() { return v.default } }), Object.defineProperty(t, "sendMessageBack", { enumerable: !0, get: function() { return m.default } }), Object.defineProperty(t, "sendPostBack", { enumerable: !0, get: function() { return y.default } }), Object.defineProperty(t, "setDictateInterims", { enumerable: !0, get: function() { return b.default } }), Object.defineProperty(t, "setDictateState", { enumerable: !0, get: function() { return g.default } }), Object.defineProperty(t, "setLanguage", { enumerable: !0, get: function() { return _.default } }), Object.defineProperty(t, "setNotification", { enumerable: !0, get: function() { return T.default } }), Object.defineProperty(t, "setSendBox", { enumerable: !0, get: function() { return S.default } }), Object.defineProperty(t, "setSendTimeout", { enumerable: !0, get: function() { return A.default } }), Object.defineProperty(t, "setSendTypingIndicator", { enumerable: !0, get: function() { return E.default } }), Object.defineProperty(t, "startDictate", { enumerable: !0, get: function() { return C.default } }), Object.defineProperty(t, "startSpeakingActivity", { enumerable: !0, get: function() { return O.default } }), Object.defineProperty(t, "stopDictate", { enumerable: !0, get: function() { return w.default } }), Object.defineProperty(t, "stopSpeakingActivity", { enumerable: !0, get: function() { return I.default } }), Object.defineProperty(t, "submitSendBox", { enumerable: !0, get: function() { return P.default } }), t.version = t.Constants = void 0; var o = i(r(375)), a = i(r(98)), s = i(r(747)), u = i(r(162)), c = i(r(381)), l = i(r(279)), f = i(r(120)), p = i(r(33)), d = i(r(495)), h = i(r(496)), v = i(r(281)), m = i(r(497)), y = i(r(498)), b = i(r(379)), g = i(r(164)), _ = i(r(380)), T = i(r(228)), S = i(r(121)), A = i(r(384)), E = i(r(229)), C = i(r(227)), O = i(r(230)), w = i(r(165)), I = i(r(166)), P = i(r(499)), x = { ActivityClientState: n(r(378)), DictateState: n(r(163)) }; t.Constants = x; t.version = "4.9.1" }, function(e, t, r) { "use strict"; var n, i = ""; e.exports = function(e, t) { if ("string" != typeof e) throw new TypeError("expected a string"); if (1 === t) return e; if (2 === t) return e + e; var r = e.length * t; if (n !== e || void 0 === n) n = e, i = ""; else if (i.length >= r) return i.substr(0, r); for (; r > i.length && t > 1;) 1 & t && (i += e), t >>= 1, e += e; return i = (i += e).substr(0, r) } }, function(e, t) { e.exports = function(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t) { e.exports = function(e) { try { return !!e() } catch (e) { return !0 } } }, function(e, t) { var r = {}.hasOwnProperty; e.exports = function(e, t) { return r.call(e, t) } }, function(e, t) { e.exports = function(e) { if ("function" != typeof e) throw TypeError(String(e) + " is not a function"); return e } }, function(e, t, r) { (function(e) { function r(e) { return Object.prototype.toString.call(e) } t.isArray = function(e) { return Array.isArray ? Array.isArray(e) : "[object Array]" === r(e) }, t.isBoolean = function(e) { return "boolean" == typeof e }, t.isNull = function(e) { return null === e }, t.isNullOrUndefined = function(e) { return null == e }, t.isNumber = function(e) { return "number" == typeof e }, t.isString = function(e) { return "string" == typeof e }, t.isSymbol = function(e) { return "symbol" == typeof e }, t.isUndefined = function(e) { return void 0 === e }, t.isRegExp = function(e) { return "[object RegExp]" === r(e) }, t.isObject = function(e) { return "object" == typeof e && null !== e }, t.isDate = function(e) { return "[object Date]" === r(e) }, t.isError = function(e) { return "[object Error]" === r(e) || e instanceof Error }, t.isFunction = function(e) { return "function" == typeof e }, t.isPrimitive = function(e) { return null === e || "boolean" == typeof e || "number" == typeof e || "string" == typeof e || "symbol" == typeof e || void 0 === e }, t.isBuffer = e.isBuffer }).call(this, r(8).Buffer) }, function(e, t, r) { "use strict"; var n = r(42), i = r(2); function o(e, t) { return 55296 == (64512 & e.charCodeAt(t)) && (!(t < 0 || t + 1 >= e.length) && 56320 == (64512 & e.charCodeAt(t + 1))) } function a(e) { return (e >>> 24 | e >>> 8 & 65280 | e << 8 & 16711680 | (255 & e) << 24) >>> 0 } function s(e) { return 1 === e.length ? "0" + e : e } function u(e) { return 7 === e.length ? "0" + e : 6 === e.length ? "00" + e : 5 === e.length ? "000" + e : 4 === e.length ? "0000" + e : 3 === e.length ? "00000" + e : 2 === e.length ? "000000" + e : 1 === e.length ? "0000000" + e : e } t.inherits = i, t.toArray = function(e, t) { if (Array.isArray(e)) return e.slice(); if (!e) return []; var r = []; if ("string" == typeof e) if (t) { if ("hex" === t) for ((e = e.replace(/[^a-z0-9]+/gi, "")).length % 2 != 0 && (e = "0" + e), i = 0; i < e.length; i += 2) r.push(parseInt(e[i] + e[i + 1], 16)) } else for (var n = 0, i = 0; i < e.length; i++) { var a = e.charCodeAt(i); a < 128 ? r[n++] = a : a < 2048 ? (r[n++] = a >> 6 | 192, r[n++] = 63 & a | 128) : o(e, i) ? (a = 65536 + ((1023 & a) << 10) + (1023 & e.charCodeAt(++i)), r[n++] = a >> 18 | 240, r[n++] = a >> 12 & 63 | 128, r[n++] = a >> 6 & 63 | 128, r[n++] = 63 & a | 128) : (r[n++] = a >> 12 | 224, r[n++] = a >> 6 & 63 | 128, r[n++] = 63 & a | 128) } else for (i = 0; i < e.length; i++) r[i] = 0 | e[i]; return r }, t.toHex = function(e) { for (var t = "", r = 0; r < e.length; r++) t += s(e[r].toString(16)); return t }, t.htonl = a, t.toHex32 = function(e, t) { for (var r = "", n = 0; n < e.length; n++) { var i = e[n]; "little" === t && (i = a(i)), r += u(i.toString(16)) } return r }, t.zero2 = s, t.zero8 = u, t.join32 = function(e, t, r, i) { var o = r - t; n(o % 4 == 0); for (var a = new Array(o / 4), s = 0, u = t; s < a.length; s++, u += 4) { var c; c = "big" === i ? e[u] << 24 | e[u + 1] << 16 | e[u + 2] << 8 | e[u + 3] : e[u + 3] << 24 | e[u + 2] << 16 | e[u + 1] << 8 | e[u], a[s] = c >>> 0 } return a }, t.split32 = function(e, t) { for (var r = new Array(4 * e.length), n = 0, i = 0; n < e.length; n++, i += 4) { var o = e[n]; "big" === t ? (r[i] = o >>> 24, r[i + 1] = o >>> 16 & 255, r[i + 2] = o >>> 8 & 255, r[i + 3] = 255 & o) : (r[i + 3] = o >>> 24, r[i + 2] = o >>> 16 & 255, r[i + 1] = o >>> 8 & 255, r[i] = 255 & o) } return r }, t.rotr32 = function(e, t) { return e >>> t | e << 32 - t }, t.rotl32 = function(e, t) { return e << t | e >>> 32 - t }, t.sum32 = function(e, t) { return e + t >>> 0 }, t.sum32_3 = function(e, t, r) { return e + t + r >>> 0 }, t.sum32_4 = function(e, t, r, n) { return e + t + r + n >>> 0 }, t.sum32_5 = function(e, t, r, n, i) { return e + t + r + n + i >>> 0 }, t.sum64 = function(e, t, r, n) { var i = e[t], o = n + e[t + 1] >>> 0, a = (o < n ? 1 : 0) + r + i; e[t] = a >>> 0, e[t + 1] = o }, t.sum64_hi = function(e, t, r, n) { return (t + n >>> 0 < t ? 1 : 0) + e + r >>> 0 }, t.sum64_lo = function(e, t, r, n) { return t + n >>> 0 }, t.sum64_4_hi = function(e, t, r, n, i, o, a, s) { var u = 0, c = t; return u += (c = c + n >>> 0) < t ? 1 : 0, u += (c = c + o >>> 0) < o ? 1 : 0, e + r + i + a + (u += (c = c + s >>> 0) < s ? 1 : 0) >>> 0 }, t.sum64_4_lo = function(e, t, r, n, i, o, a, s) { return t + n + o + s >>> 0 }, t.sum64_5_hi = function(e, t, r, n, i, o, a, s, u, c) { var l = 0, f = t; return l += (f = f + n >>> 0) < t ? 1 : 0, l += (f = f + o >>> 0) < o ? 1 : 0, l += (f = f + s >>> 0) < s ? 1 : 0, e + r + i + a + u + (l += (f = f + c >>> 0) < c ? 1 : 0) >>> 0 }, t.sum64_5_lo = function(e, t, r, n, i, o, a, s, u, c) { return t + n + o + s + c >>> 0 }, t.rotr64_hi = function(e, t, r) { return (t << 32 - r | e >>> r) >>> 0 }, t.rotr64_lo = function(e, t, r) { return (e << 32 - r | t >>> r) >>> 0 }, t.shr64_hi = function(e, t, r) { return e >>> r }, t.shr64_lo = function(e, t, r) { return (e << 32 - r | t >>> r) >>> 0 } }, function(e, t, r) { var n = r(35), i = r(743), o = r(215), a = r(117), s = r(684), u = r(744), c = function(e, t) { this.stopped = e, this.result = t }; (e.exports = function(e, t, r, l, f) { var p, d, h, v, m, y, b, g = a(t, r, l ? 2 : 1); if (f) p = e; else { if ("function" != typeof(d = s(e))) throw TypeError("Target is not iterable"); if (i(d)) { for (h = 0, v = o(e.length); v > h; h++) if ((m = l ? g(n(b = e[h])[0], b[1]) : g(e[h])) && m instanceof c) return m; return new c(!1) } p = d.call(e) } for (y = p.next; !(b = y.call(p)).done;) if ("object" == typeof(m = u(p, g, b.value, l)) && m && m instanceof c) return m; return new c(!1) }).stop = function(e) { return new c(!0, e) } }, function(e, t) { e.exports = function(e) { return "object" == typeof e ? null !== e : "function" == typeof e } }, function(e, t, r) { var n = r(112), i = r(25), o = function(e) { return "function" == typeof e ? e : void 0 }; e.exports = function(e, t) { return arguments.length < 2 ? o(n[e]) || o(i[e]) : n[e] && n[e][t] || i[e] && i[e][t] } }, function(e, t, r) { var n = r(82); e.exports = function(e) { if (!n(e)) throw TypeError(String(e) + " is not an object"); return e } }, function(e, t) { var r = {}.hasOwnProperty; e.exports = function(e, t) { return r.call(e, t) } }, function(e, t, r) { "use strict"; (function(e) { var r = "undefined" != typeof window && window, n = "undefined" != typeof self && "undefined" != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope && self, i = r || void 0 !== e && e || n; t.root = i, function() { if (!i) throw new Error("RxJS could not find any global context (window, self, global)") }() }).call(this, r(14)) }, function(e, t, r) { "use strict"; var n; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = ((n = r(0)) && n.__esModule ? n : { default: n }).default.createContext({ sendFocusRef: null }); i.displayName = "WebChatUIContext"; var o = i; t.default = o }, function(e, t, r) { "use strict"; var n; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = ((n = r(0)) && n.__esModule ? n : { default: n }).default.createContext({ animating: !1, atBottom: !0, atEnd: !0, atTop: !0, mode: "bottom", sticky: !0 }); i.displayName = "ScrollToBottomStateContext"; var o = i; t.default = o }, function(e, t) { e.exports = function() { for (var e = {}, t = 0; t < arguments.length; t++) { var n = arguments[t]; for (var i in n) r.call(n, i) && (e[i] = n[i]) } return e }; var r = Object.prototype.hasOwnProperty }, function(e, t, r) { var n = r(51); e.exports = !n((function() { return 7 != Object.defineProperty({}, 1, { get: function() { return 7 } })[1] })) }, function(e, t, r) { var n = r(65), i = r(636), o = r(35), a = r(355), s = Object.defineProperty; t.f = n ? s : function(e, t, r) { if (o(e), t = a(t, !0), o(r), i) try { return s(e, t, r) } catch (e) {} if ("get" in r || "set" in r) throw TypeError("Accessors not supported"); return "value" in r && (e[t] = r.value), e } }, function(e, t, r) { "use strict"; (function(e) { var r = "undefined" != typeof window && window, n = "undefined" != typeof self && "undefined" != typeof WorkerGlobalScope && self instanceof WorkerGlobalScope && self, i = r || void 0 !== e && e || n; t.root = i, function() { if (!i) throw new Error("RxJS could not find any global context (window, self, global)") }() }).call(this, r(14)) }, function(e, t, r) { var n = r(65), i = r(66), o = r(156); e.exports = n ? function(e, t, r) { return i.f(e, t, o(1, r)) } : function(e, t, r) { return e[t] = r, e } }, function(e, t, r) { var n = r(80), i = r(81), o = r(168); e.exports = n ? function(e, t, r) { return i.f(e, t, o(1, r)) } : function(e, t, r) { return e[t] = r, e } }, function(e, t) { e.exports = function(e) { try { return !!e() } catch (e) { return !0 } } }, function(e, t, r) { e.exports = i; var n = r(108).EventEmitter; function i() { n.call(this) } r(2)(i, n), i.Readable = r(254), i.Writable = r(920), i.Duplex = r(921), i.Transform = r(922), i.PassThrough = r(923), i.Stream = i, i.prototype.pipe = function(e, t) { var r = this; function i(t) { e.writable && !1 === e.write(t) && r.pause && r.pause() } function o() { r.readable && r.resume && r.resume() } r.on("data", i), e.on("drain", o), e._isStdio || t && !1 === t.end || (r.on("end", s), r.on("close", u)); var a = !1; function s() { a || (a = !0, e.end()) } function u() { a || (a = !0, "function" == typeof e.destroy && e.destroy()) } function c(e) { if (l(), 0 === n.listenerCount(this, "error")) throw e } function l() { r.removeListener("data", i), e.removeListener("drain", o), r.removeListener("end", s), r.removeListener("close", u), r.removeListener("error", c), e.removeListener("error", c), r.removeListener("end", l), r.removeListener("close", l), e.removeListener("close", l) } return r.on("error", c), e.on("error", c), r.on("end", l), r.on("close", l), e.on("close", l), e.emit("pipe", r), e } }, function(e, t, r) { "use strict"; (function(t) { void 0 === t || !t.version || 0 === t.version.indexOf("v0.") || 0 === t.version.indexOf("v1.") && 0 !== t.version.indexOf("v1.8.") ? e.exports = { nextTick: function(e, r, n, i) { if ("function" != typeof e) throw new TypeError('"callback" argument must be a function'); var o, a, s = arguments.length; switch (s) { case 0: case 1: return t.nextTick(e); case 2: return t.nextTick((function() { e.call(null, r) })); case 3: return t.nextTick((function() { e.call(null, r, n) })); case 4: return t.nextTick((function() { e.call(null, r, n, i) })); default: for (o = new Array(s - 1), a = 0; a < o.length;) o[a++] = arguments[a]; return t.nextTick((function() { e.apply(null, o) })) } } } : e.exports = t }).call(this, r(26)) }, function(e, t, r) { var n = r(10).Buffer, i = r(71).Transform, o = r(109).StringDecoder; function a(e) { i.call(this), this.hashMode = "string" == typeof e, this.hashMode ? this[e] = this._finalOrDigest : this.final = this._finalOrDigest, this._final && (this.__final = this._final, this._final = null), this._decoder = null, this._encoding = null } r(2)(a, i), a.prototype.update = function(e, t, r) { "string" == typeof e && (e = n.from(e, t)); var i = this._update(e); return this.hashMode ? this : (r && (i = this._toString(i, r)), i) }, a.prototype.setAutoPadding = function() {}, a.prototype.getAuthTag = function() { throw new Error("trying to get auth tag in unsupported state") }, a.prototype.setAuthTag = function() { throw new Error("trying to set auth tag in unsupported state") }, a.prototype.setAAD = function() { throw new Error("trying to set aad in unsupported state") }, a.prototype._transform = function(e, t, r) { var n; try { this.hashMode ? this._update(e) : this.push(this._update(e)) } catch (e) { n = e } finally { r(n) } }, a.prototype._flush = function(e) { var t; try { this.push(this.__final()) } catch (e) { t = e } e(t) }, a.prototype._finalOrDigest = function(e) { var t = this.__final() || n.alloc(0); return e && (t = this._toString(t, e, !0)), t }, a.prototype._toString = function(e, t, r) { if (this._decoder || (this._decoder = new o(t), this._encoding = t), this._encoding !== t) throw new Error("can't switch encodings"); var n = this._decoder.write(e); return r && (n += this._decoder.end()), n }, e.exports = a }, function(e, t, r) { "use strict"; var n; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = ((n = r(0)) && n.__esModule ? n : { default: n }).default.createContext({ numItems: 0, scrollBarPercentage: "0%", scrollBarWidth: "0%", scrolling: !1, scrollOneLeft: function() { return 0 }, scrollOneRight: function() { return 0 }, scrollTo: function() { return 0 } }); t.default = i }, function(e, t, r) { var n = r(1631), i = r(1735), o = r(1632); e.exports = function(e, t) { return n(e) || i(e, t) || o() } }, function(e, t, r) { (function(t) { var r = function(e) { return e && e.Math == Math && e }; e.exports = r("object" == typeof globalThis && globalThis) || r("object" == typeof window && window) || r("object" == typeof self && self) || r("object" == typeof t && t) || Function("return this")() }).call(this, r(14)) }, function(e, t, r) { var n = r(76), i = r(1680), o = r(97), a = r(1681), s = r(1690), u = r(1953), c = i("wks"), l = n.Symbol, f = u ? l : l && l.withoutSetter || a; e.exports = function(e) { return o(c, e) || (s && o(l, e) ? c[e] = l[e] : c[e] = f("Symbol." + e)), c[e] } }, function(e, t, r) { var n = r(673); function i() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return i = function() { return e }, e } e.exports = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = i(); if (t && t.has(e)) return t.get(e); var r = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var a in e) if (Object.prototype.hasOwnProperty.call(e, a)) { var s = o ? Object.getOwnPropertyDescriptor(e, a) : null; s && (s.get || s.set) ? Object.defineProperty(r, a, s) : r[a] = e[a] } return r.default = e, t && t.set(e, r), r } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "DIRECT_LINE/INCOMING_ACTIVITY", payload: { activity: e } } }, t.INCOMING_ACTIVITY = void 0; t.INCOMING_ACTIVITY = "DIRECT_LINE/INCOMING_ACTIVITY" }, function(e, t, r) { var n = r(70); e.exports = !n((function() { return 7 != Object.defineProperty({}, 1, { get: function() { return 7 } })[1] })) }, function(e, t, r) { var n = r(80), i = r(394), o = r(59), a = r(395), s = Object.defineProperty; t.f = n ? s : function(e, t, r) { if (o(e), t = a(t, !0), o(r), i) try { return s(e, t, r) } catch (e) {} if ("get" in r || "set" in r) throw TypeError("Accessors not supported"); return "value" in r && (e[t] = r.value), e } }, function(e, t) { e.exports = function(e) { return "object" == typeof e ? null !== e : "function" == typeof e } }, function(e, t, r) { var n = r(29), i = r(241).f, o = r(69), a = r(99), s = r(234), u = r(792), c = r(403); e.exports = function(e, t) { var r, l, f, p, d, h = e.target, v = e.global, m = e.stat; if (r = v ? n : m ? n[h] || s(h, {}) : (n[h] || {}).prototype) for (l in t) { if (p = t[l], f = e.noTargetGet ? (d = i(r, l)) && d.value : r[l], !c(v ? l : h + (m ? "." : "#") + l, e.forced) && void 0 !== f) { if (typeof p == typeof f) continue; u(p, f) }(e.sham || f && f.sham) && o(p, "sham", !0), a(r, l, p, e) } } }, function(e, t, r) { var n = r(400), i = r(29), o = function(e) { return "function" == typeof e ? e : void 0 }; e.exports = function(e, t) { return arguments.length < 2 ? o(n[e]) || o(i[e]) : n[e] && n[e][t] || i[e] && i[e][t] } }, function(e, t, r) { "use strict"; var n = r(72), i = Object.keys || function(e) { var t = []; for (var r in e) t.push(r); return t }; e.exports = f; var o = Object.create(r(54)); o.inherits = r(2); var a = r(429), s = r(256); o.inherits(f, a); for (var u = i(s.prototype), c = 0; c < u.length; c++) { var l = u[c]; f.prototype[l] || (f.prototype[l] = s.prototype[l]) } function f(e) { if (!(this instanceof f)) return new f(e); a.call(this, e), s.call(this, e), e && !1 === e.readable && (this.readable = !1), e && !1 === e.writable && (this.writable = !1), this.allowHalfOpen = !0, e && !1 === e.allowHalfOpen && (this.allowHalfOpen = !1), this.once("end", p) } function p() { this.allowHalfOpen || this._writableState.ended || n.nextTick(d, this) } function d(e) { e.end() } Object.defineProperty(f.prototype, "writableHighWaterMark", { enumerable: !1, get: function() { return this._writableState.highWaterMark } }), Object.defineProperty(f.prototype, "destroyed", { get: function() { return void 0 !== this._readableState && void 0 !== this._writableState && (this._readableState.destroyed && this._writableState.destroyed) }, set: function(e) { void 0 !== this._readableState && void 0 !== this._writableState && (this._readableState.destroyed = e, this._writableState.destroyed = e) } }), f.prototype._destroy = function(e, t) { this.push(null), this.end(), n.nextTick(t, e) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e.request = "A", e.response = "B", e.stream = "S", e.cancelAll = "X", e.cancelStream = "C" }(t.PayloadTypes || (t.PayloadTypes = {})) }, function(e, t, r) { "use strict"; var n = r(19); t.__esModule = !0, t.default = t.ReactReduxContext = void 0; var i = n(r(0)).default.createContext(null); t.ReactReduxContext = i; var o = i; t.default = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.default)().disabled] }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().focus }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; var n; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = ((n = r(0)) && n.__esModule ? n : { default: n }).default.createContext({ scrollTo: function() { return 0 }, scrollToBottom: function() { return 0 }, scrollToEnd: function() { return 0 }, scrollToStart: function() { return 0 }, scrollToTop: function() { return 0 } }); i.displayName = "ScrollToBottomFunctionContext"; var o = i; t.default = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e.request = "A", e.response = "B", e.stream = "S", e.cancelAll = "X", e.cancelStream = "C" }(t.PayloadTypes || (t.PayloadTypes = {})) }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t) { var r = e.call(this, t) || this; return r.name = "ArgumentNull", r.message = t, r } return i(t, e), t }(Error); t.ArgumentNullError = o; var a = function(e) { function t(t) { var r = e.call(this, t) || this; return r.name = "InvalidOperation", r.message = t, r } return i(t, e), t }(Error); t.InvalidOperationError = a; var s = function(e) { function t(t, r) { var n = e.call(this, r) || this; return n.name = t + "ObjectDisposed", n.message = r, n } return i(t, e), t }(Error); t.ObjectDisposedError = s }, function(e, t) { e.exports = function(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t, r) { var n = r(25), i = r(68), o = r(52), a = r(324), s = r(326), u = r(110), c = u.get, l = u.enforce, f = String(String).split("String"); (e.exports = function(e, t, r, s) { var u = !!s && !!s.unsafe, c = !!s && !!s.enumerable, p = !!s && !!s.noTargetGet; "function" == typeof r && ("string" != typeof t || o(r, "name") || i(r, "name", t), l(r).source = f.join("string" == typeof t ? t : "")), e !== n ? (u ? !p && e[t] && (c = !0) : delete e[t], c ? e[t] = r : i(e, t, r)) : c ? e[t] = r : a(t, r) })(Function.prototype, "toString", (function() { return "function" == typeof this && c(this).source || s(this) })) }, function(e, t, r) { e.exports = r(358) }, function(e, t) { function r(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } e.exports = function(e) { return function() { var t = this, n = arguments; return new Promise((function(i, o) { var a = e.apply(t, n); function s(e) { r(a, i, o, s, u, "next", e) } function u(e) { r(a, i, o, s, u, "throw", e) } s(void 0) })) } } }, function(e, t) { var r = {}.hasOwnProperty; e.exports = function(e, t) { return r.call(e, t) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.directLine, r = e.userID, i = e.username; return { type: n, payload: { directLine: t, userID: r, username: i } } }, t.CONNECT_STILL_PENDING = t.CONNECT_REJECTED = t.CONNECT_PENDING = t.CONNECT_FULFILLING = t.CONNECT_FULFILLED = t.CONNECT = void 0; var n = "DIRECT_LINE/CONNECT"; t.CONNECT = n; var i = "".concat(n, "_FULFILLED"); t.CONNECT_FULFILLED = i; var o = "".concat(n, "_FULFILLING"); t.CONNECT_FULFILLING = o; var a = "".concat(n, "_PENDING"); t.CONNECT_PENDING = a; var s = "".concat(n, "_REJECTED"); t.CONNECT_REJECTED = s; var u = "".concat(n, "_STILL_PENDING"); t.CONNECT_STILL_PENDING = u }, function(e, t, r) { var n = r(29), i = r(69), o = r(60), a = r(234), s = r(236), u = r(123), c = u.get, l = u.enforce, f = String(String).split("String"); (e.exports = function(e, t, r, s) { var u = !!s && !!s.unsafe, c = !!s && !!s.enumerable, p = !!s && !!s.noTargetGet; "function" == typeof r && ("string" != typeof t || o(r, "name") || i(r, "name", t), l(r).source = f.join("string" == typeof t ? t : "")), e !== n ? (u ? !p && e[t] && (c = !0) : delete e[t], c ? e[t] = r : i(e, t, r)) : c ? e[t] = r : a(t, r) })(Function.prototype, "toString", (function() { return "function" == typeof this && c(this).source || s(this) })) }, function(e, t) { e.exports = function(e) { if ("function" != typeof e) throw TypeError(String(e) + " is not a function"); return e } }, function(e, t, r) { "use strict"; (function(t, n) { var i = r(10).Buffer, o = t.crypto || t.msCrypto; o && o.getRandomValues ? e.exports = function(e, t) { if (e > 4294967295) throw new RangeError("requested too many random bytes"); var r = i.allocUnsafe(e); if (e > 0) if (e > 65536) for (var a = 0; a < e; a += 65536) o.getRandomValues(r.slice(a, a + 65536)); else o.getRandomValues(r); if ("function" == typeof t) return n.nextTick((function() { t(null, r) })); return r } : e.exports = function() { throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11") } }).call(this, r(14), r(26)) }, function(e, t, r) { var n = r(10).Buffer; function i(e, t) { this._block = n.alloc(e), this._finalSize = t, this._blockSize = e, this._len = 0 } i.prototype.update = function(e, t) { "string" == typeof e && (t = t || "utf8", e = n.from(e, t)); for (var r = this._block, i = this._blockSize, o = e.length, a = this._len, s = 0; s < o;) { for (var u = a % i, c = Math.min(o - s, i - u), l = 0; l < c; l++) r[u + l] = e[s + l]; s += c, (a += c) % i == 0 && this._update(r) } return this._len += o, this }, i.prototype.digest = function(e) { var t = this._len % this._blockSize; this._block[t] = 128, this._block.fill(0, t + 1), t >= this._finalSize && (this._update(this._block), this._block.fill(0)); var r = 8 * this._len; if (r <= 4294967295) this._block.writeUInt32BE(r, this._blockSize - 4); else { var n = (4294967295 & r) >>> 0, i = (r - n) / 4294967296; this._block.writeUInt32BE(i, this._blockSize - 8), this._block.writeUInt32BE(n, this._blockSize - 4) } this._update(this._block); var o = this._hash(); return e ? o.toString(e) : o }, i.prototype._update = function() { throw new Error("_update must be implemented by subclass") }, e.exports = i }, function(e, t, r) { "use strict"; var n = r(72), i = Object.keys || function(e) { var t = []; for (var r in e) t.push(r); return t }; e.exports = f; var o = Object.create(r(54)); o.inherits = r(2); var a = r(478), s = r(481); o.inherits(f, a); for (var u = i(s.prototype), c = 0; c < u.length; c++) { var l = u[c]; f.prototype[l] || (f.prototype[l] = s.prototype[l]) } function f(e) { if (!(this instanceof f)) return new f(e); a.call(this, e), s.call(this, e), e && !1 === e.readable && (this.readable = !1), e && !1 === e.writable && (this.writable = !1), this.allowHalfOpen = !0, e && !1 === e.allowHalfOpen && (this.allowHalfOpen = !1), this.once("end", p) } function p() { this.allowHalfOpen || this._writableState.ended || n.nextTick(d, this) } function d(e) { e.end() } Object.defineProperty(f.prototype, "writableHighWaterMark", { enumerable: !1, get: function() { return this._writableState.highWaterMark } }), Object.defineProperty(f.prototype, "destroyed", { get: function() { return void 0 !== this._readableState && void 0 !== this._writableState && (this._readableState.destroyed && this._writableState.destroyed) }, set: function(e) { void 0 !== this._readableState && void 0 !== this._writableState && (this._readableState.destroyed = e, this._writableState.destroyed = e) } }), f.prototype._destroy = function(e, t) { this.push(null), this.end(), n.nextTick(t, e) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = (0, i.default)().language, r = (0, n.default)(); if ("speech" === e) return [r.SPEECH_LANGUAGE || t]; return [t] }; var n = o(r(503)), i = o(r(4)); function o(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { var n = r(1168); function i() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return i = function() { return e }, e } e.exports = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = i(); if (t && t.has(e)) return t.get(e); var r = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var a in e) if (Object.prototype.hasOwnProperty.call(e, a)) { var s = o ? Object.getOwnPropertyDescriptor(e, a) : null; s && (s.get || s.set) ? Object.defineProperty(r, a, s) : r[a] = e[a] } return r.default = e, t && t.set(e, r), r } }, function(e, t, r) { "use strict"; function n(e) { return function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } }(e) || function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) }(e) || function() { throw new TypeError("Invalid attempt to spread non-iterable instance") }() } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return function(e) { var r = t.reduce((function(t, r) { return r ? [].concat(n(t), [r(e)]) : t }), []); return function(e) { var t = r.slice(); return function r(n) { return function() { var i = t[n]; return (i ? i(r(n + 1)) : e).apply(void 0, arguments) } }(0) } } } }, function(e, t) { (t = e.exports = function(e) { return e.replace(/^\s*|\s*$/g, "") }).left = function(e) { return e.replace(/^\s*/, "") }, t.right = function(e) { return e.replace(/\s*$/, "") } }, function(e, t, r) { "use strict"; var n, i = "object" == typeof Reflect ? Reflect : null, o = i && "function" == typeof i.apply ? i.apply : function(e, t, r) { return Function.prototype.apply.call(e, t, r) }; n = i && "function" == typeof i.ownKeys ? i.ownKeys : Object.getOwnPropertySymbols ? function(e) { return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e)) } : function(e) { return Object.getOwnPropertyNames(e) }; var a = Number.isNaN || function(e) { return e != e }; function s() { s.init.call(this) } e.exports = s, s.EventEmitter = s, s.prototype._events = void 0, s.prototype._eventsCount = 0, s.prototype._maxListeners = void 0; var u = 10; function c(e) { return void 0 === e._maxListeners ? s.defaultMaxListeners : e._maxListeners } function l(e, t, r, n) { var i, o, a, s; if ("function" != typeof r) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof r); if (void 0 === (o = e._events) ? (o = e._events = Object.create(null), e._eventsCount = 0) : (void 0 !== o.newListener && (e.emit("newListener", t, r.listener ? r.listener : r), o = e._events), a = o[t]), void 0 === a) a = o[t] = r, ++e._eventsCount; else if ("function" == typeof a ? a = o[t] = n ? [r, a] : [a, r] : n ? a.unshift(r) : a.push(r), (i = c(e)) > 0 && a.length > i && !a.warned) { a.warned = !0; var u = new Error("Possible EventEmitter memory leak detected. " + a.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit"); u.name = "MaxListenersExceededWarning", u.emitter = e, u.type = t, u.count = a.length, s = u, console && console.warn && console.warn(s) } return e } function f() { for (var e = [], t = 0; t < arguments.length; t++) e.push(arguments[t]); this.fired || (this.target.removeListener(this.type, this.wrapFn), this.fired = !0, o(this.listener, this.target, e)) } function p(e, t, r) { var n = { fired: !1, wrapFn: void 0, target: e, type: t, listener: r }, i = f.bind(n); return i.listener = r, n.wrapFn = i, i } function d(e, t, r) { var n = e._events; if (void 0 === n) return []; var i = n[t]; return void 0 === i ? [] : "function" == typeof i ? r ? [i.listener || i] : [i] : r ? function(e) { for (var t = new Array(e.length), r = 0; r < t.length; ++r) t[r] = e[r].listener || e[r]; return t }(i) : v(i, i.length) } function h(e) { var t = this._events; if (void 0 !== t) { var r = t[e]; if ("function" == typeof r) return 1; if (void 0 !== r) return r.length } return 0 } function v(e, t) { for (var r = new Array(t), n = 0; n < t; ++n) r[n] = e[n]; return r } Object.defineProperty(s, "defaultMaxListeners", { enumerable: !0, get: function() { return u }, set: function(e) { if ("number" != typeof e || e < 0 || a(e)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + "."); u = e } }), s.init = function() { void 0 !== this._events && this._events !== Object.getPrototypeOf(this)._events || (this._events = Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0 }, s.prototype.setMaxListeners = function(e) { if ("number" != typeof e || e < 0 || a(e)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + "."); return this._maxListeners = e, this }, s.prototype.getMaxListeners = function() { return c(this) }, s.prototype.emit = function(e) { for (var t = [], r = 1; r < arguments.length; r++) t.push(arguments[r]); var n = "error" === e, i = this._events; if (void 0 !== i) n = n && void 0 === i.error; else if (!n) return !1; if (n) { var a; if (t.length > 0 && (a = t[0]), a instanceof Error) throw a; var s = new Error("Unhandled error." + (a ? " (" + a.message + ")" : "")); throw s.context = a, s } var u = i[e]; if (void 0 === u) return !1; if ("function" == typeof u) o(u, this, t); else { var c = u.length, l = v(u, c); for (r = 0; r < c; ++r) o(l[r], this, t) } return !0 }, s.prototype.addListener = function(e, t) { return l(this, e, t, !1) }, s.prototype.on = s.prototype.addListener, s.prototype.prependListener = function(e, t) { return l(this, e, t, !0) }, s.prototype.once = function(e, t) { if ("function" != typeof t) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof t); return this.on(e, p(this, e, t)), this }, s.prototype.prependOnceListener = function(e, t) { if ("function" != typeof t) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof t); return this.prependListener(e, p(this, e, t)), this }, s.prototype.removeListener = function(e, t) { var r, n, i, o, a; if ("function" != typeof t) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof t); if (void 0 === (n = this._events)) return this; if (void 0 === (r = n[e])) return this; if (r === t || r.listener === t) 0 == --this._eventsCount ? this._events = Object.create(null) : (delete n[e], n.removeListener && this.emit("removeListener", e, r.listener || t)); else if ("function" != typeof r) { for (i = -1, o = r.length - 1; o >= 0; o--) if (r[o] === t || r[o].listener === t) { a = r[o].listener, i = o; break } if (i < 0) return this; 0 === i ? r.shift() : function(e, t) { for (; t + 1 < e.length; t++) e[t] = e[t + 1]; e.pop() }(r, i), 1 === r.length && (n[e] = r[0]), void 0 !== n.removeListener && this.emit("removeListener", e, a || t) } return this }, s.prototype.off = s.prototype.removeListener, s.prototype.removeAllListeners = function(e) { var t, r, n; if (void 0 === (r = this._events)) return this; if (void 0 === r.removeListener) return 0 === arguments.length ? (this._events = Object.create(null), this._eventsCount = 0) : void 0 !== r[e] && (0 == --this._eventsCount ? this._events = Object.create(null) : delete r[e]), this; if (0 === arguments.length) { var i, o = Object.keys(r); for (n = 0; n < o.length; ++n) "removeListener" !== (i = o[n]) && this.removeAllListeners(i); return this.removeAllListeners("removeListener"), this._events = Object.create(null), this._eventsCount = 0, this } if ("function" == typeof(t = r[e])) this.removeListener(e, t); else if (void 0 !== t) for (n = t.length - 1; n >= 0; n--) this.removeListener(e, t[n]); return this }, s.prototype.listeners = function(e) { return d(this, e, !0) }, s.prototype.rawListeners = function(e) { return d(this, e, !1) }, s.listenerCount = function(e, t) { return "function" == typeof e.listenerCount ? e.listenerCount(t) : h.call(e, t) }, s.prototype.listenerCount = h, s.prototype.eventNames = function() { return this._eventsCount > 0 ? n(this._events) : [] } }, function(e, t, r) { "use strict"; var n = r(10).Buffer, i = n.isEncoding || function(e) { switch ((e = "" + e) && e.toLowerCase()) { case "hex": case "utf8": case "utf-8": case "ascii": case "binary": case "base64": case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": case "raw": return !0; default: return !1 } }; function o(e) { var t; switch (this.encoding = function(e) { var t = function(e) { if (!e) return "utf8"; for (var t;;) switch (e) { case "utf8": case "utf-8": return "utf8"; case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": return "utf16le"; case "latin1": case "binary": return "latin1"; case "base64": case "ascii": case "hex": return e; default: if (t) return; e = ("" + e).toLowerCase(), t = !0 } }(e); if ("string" != typeof t && (n.isEncoding === i || !i(e))) throw new Error("Unknown encoding: " + e); return t || e }(e), this.encoding) { case "utf16le": this.text = u, this.end = c, t = 4; break; case "utf8": this.fillLast = s, t = 4; break; case "base64": this.text = l, this.end = f, t = 3; break; default: return this.write = p, void(this.end = d) } this.lastNeed = 0, this.lastTotal = 0, this.lastChar = n.allocUnsafe(t) } function a(e) { return e <= 127 ? 0 : e >> 5 == 6 ? 2 : e >> 4 == 14 ? 3 : e >> 3 == 30 ? 4 : e >> 6 == 2 ? -1 : -2 } function s(e) { var t = this.lastTotal - this.lastNeed, r = function(e, t, r) { if (128 != (192 & t[0])) return e.lastNeed = 0, "\ufffd"; if (e.lastNeed > 1 && t.length > 1) { if (128 != (192 & t[1])) return e.lastNeed = 1, "\ufffd"; if (e.lastNeed > 2 && t.length > 2 && 128 != (192 & t[2])) return e.lastNeed = 2, "\ufffd" } }(this, e); return void 0 !== r ? r : this.lastNeed <= e.length ? (e.copy(this.lastChar, t, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal)) : (e.copy(this.lastChar, t, 0, e.length), void(this.lastNeed -= e.length)) } function u(e, t) { if ((e.length - t) % 2 == 0) { var r = e.toString("utf16le", t); if (r) { var n = r.charCodeAt(r.length - 1); if (n >= 55296 && n <= 56319) return this.lastNeed = 2, this.lastTotal = 4, this.lastChar[0] = e[e.length - 2], this.lastChar[1] = e[e.length - 1], r.slice(0, -1) } return r } return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = e[e.length - 1], e.toString("utf16le", t, e.length - 1) } function c(e) { var t = e && e.length ? this.write(e) : ""; if (this.lastNeed) { var r = this.lastTotal - this.lastNeed; return t + this.lastChar.toString("utf16le", 0, r) } return t } function l(e, t) { var r = (e.length - t) % 3; return 0 === r ? e.toString("base64", t) : (this.lastNeed = 3 - r, this.lastTotal = 3, 1 === r ? this.lastChar[0] = e[e.length - 1] : (this.lastChar[0] = e[e.length - 2], this.lastChar[1] = e[e.length - 1]), e.toString("base64", t, e.length - r)) } function f(e) { var t = e && e.length ? this.write(e) : ""; return this.lastNeed ? t + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : t } function p(e) { return e.toString(this.encoding) } function d(e) { return e && e.length ? this.write(e) : "" } t.StringDecoder = o, o.prototype.write = function(e) { if (0 === e.length) return ""; var t, r; if (this.lastNeed) { if (void 0 === (t = this.fillLast(e))) return ""; r = this.lastNeed, this.lastNeed = 0 } else r = 0; return r < e.length ? t ? t + this.text(e, r) : this.text(e, r) : t || "" }, o.prototype.end = function(e) { var t = e && e.length ? this.write(e) : ""; return this.lastNeed ? t + "\ufffd" : t }, o.prototype.text = function(e, t) { var r = function(e, t, r) { var n = t.length - 1; if (n < r) return 0; var i = a(t[n]); if (i >= 0) return i > 0 && (e.lastNeed = i - 1), i; if (--n < r || -2 === i) return 0; if ((i = a(t[n])) >= 0) return i > 0 && (e.lastNeed = i - 2), i; if (--n < r || -2 === i) return 0; if ((i = a(t[n])) >= 0) return i > 0 && (2 === i ? i = 0 : e.lastNeed = i - 3), i; return 0 }(this, e, t); if (!this.lastNeed) return e.toString("utf8", t); this.lastTotal = r; var n = e.length - (r - this.lastNeed); return e.copy(this.lastChar, 0, n), e.toString("utf8", t, n) }, o.prototype.fillLast = function(e) { if (this.lastNeed <= e.length) return e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal); e.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, e.length), this.lastNeed -= e.length } }, function(e, t, r) { var n, i, o, a = r(1511), s = r(25), u = r(57), c = r(68), l = r(52), f = r(221), p = r(213), d = s.WeakMap; if (a) { var h = new d, v = h.get, m = h.has, y = h.set; n = function(e, t) { return y.call(h, e, t), t }, i = function(e) { return v.call(h, e) || {} }, o = function(e) { return m.call(h, e) } } else { var b = f("state"); p[b] = !0, n = function(e, t) { return c(e, b, t), t }, i = function(e) { return l(e, b) ? e[b] : {} }, o = function(e) { return l(e, b) } } e.exports = { set: n, get: i, has: o, enforce: function(e) { return o(e) ? i(e) : n(e, {}) }, getterFor: function(e) { return function(t) { var r; if (!u(t) || (r = i(t)).type !== e) throw TypeError("Incompatible receiver, " + e + " required"); return r } } } }, function(e, t) { var r = {}.toString; e.exports = function(e) { return r.call(e).slice(8, -1) } }, function(e, t, r) { var n = r(25); e.exports = n }, function(e, t, r) { "use strict"; function n(e) { for (var r in e) t.hasOwnProperty(r) || (t[r] = e[r]) } Object.defineProperty(t, "__esModule", { value: !0 }), n(r(1758)), n(r(1768)), n(r(1860)), n(r(1861)), n(r(1862)), n(r(1663)), n(r(1866)), n(r(1867)) }, function(e, t, r) { var n = r(220); e.exports = function(e) { if (!n(e)) throw TypeError(String(e) + " is not an object"); return e } }, function(e, t, r) { var n = r(112), i = r(52), o = r(2108), a = r(66).f; e.exports = function(e) { var t = n.Symbol || (n.Symbol = {}); i(t, e) || a(t, e, { value: o.f(e) }) } }, function(e, t) { e.exports = function(e) { return e.webpackPolyfill || (e.deprecate = function() {}, e.paths = [], e.children || (e.children = []), Object.defineProperty(e, "loaded", { enumerable: !0, get: function() { return e.l } }), Object.defineProperty(e, "id", { enumerable: !0, get: function() { return e.i } }), e.webpackPolyfill = 1), e } }, function(e, t, r) { var n = r(53); e.exports = function(e, t, r) { if (n(e), void 0 === t) return e; switch (r) { case 0: return function() { return e.call(t) }; case 1: return function(r) { return e.call(t, r) }; case 2: return function(r, n) { return e.call(t, r, n) }; case 3: return function(r, n, i) { return e.call(t, r, n, i) } } return function() { return e.apply(t, arguments) } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function(e) { return "@@redux-saga/" + e }, i = n("CANCEL_PROMISE"), o = n("CHANNEL_END"), a = n("IO"), s = n("MATCH"), u = n("MULTICAST"), c = n("SAGA_ACTION"), l = n("SELF_CANCELLATION"), f = n("TASK"), p = n("TASK_CANCEL"), d = n("TERMINATE"), h = n("LOCATION"); t.CANCEL = i, t.CHANNEL_END_TYPE = o, t.IO = a, t.MATCH = s, t.MULTICAST = u, t.SAGA_ACTION = c, t.SAGA_LOCATION = h, t.SELF_CANCELLATION = l, t.TASK = f, t.TASK_CANCEL = p, t.TERMINATE = d }, function(e, t, r) { e.exports = function() { "use strict"; function e(t) { return (e = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(t) } function t(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } function r(e) { return function() { var r = this, n = arguments; return new Promise((function(i, o) { var a = e.apply(r, n); function s(e) { t(a, i, o, s, u, "next", e) } function u(e) { t(a, i, o, s, u, "throw", e) } s(void 0) })) } } function n(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function i(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function o(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? i(r, !0).forEach((function(t) { n(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : i(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function a(e) { return function(e) { if (Array.isArray(e)) return e }(e) || u(e) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } function s(e) { return function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } }(e) || u(e) || function() { throw new TypeError("Invalid attempt to spread non-iterable instance") }() } function u(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) } var c = Object.is || function(e, t) { return e === t ? 0 !== e || 1 / e == 1 / t : e != e && t != t }; function l(e, t, r) { p(t); var n = function e(t, r) { if (r.length) { var n = a(r), i = n[0], o = n.slice(1); if ("function" == typeof i) { var u = []; if (Array.isArray(t)) for (var c = 0, l = t.length; c < l; c++) i.call(t, t[c], c) && u.push.apply(u, s(e(t, [c].concat(s(o))))); else for (var f in t || {}) i.call(t, t[f], f) && u.push.apply(u, s(e(t, [f].concat(s(o))))); return u } var p = e(void 0 !== t && t[i], o); return p ? p.map((function(e) { return [i].concat(s(e)) })) : [ [i] ] } }(e, t), i = !0, o = !1, u = void 0; try { for (var c, l = n[Symbol.iterator](); !(i = (c = l.next()).done); i = !0) { var f = c.value; e = y(e, f, r ? r(m(e, f)) : void 0) } } catch (e) { o = !0, u = e } finally { try { i || null == l.return || l.return() } finally { if (o) throw u } } return e } function f() { return (f = r(regeneratorRuntime.mark((function e(t, r, n) { var i, o, a, s, u, c, l; return regeneratorRuntime.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return p(r), e.next = 3, h(t, r); case 3: i = e.sent, a = !(o = !0), s = void 0, e.prev = 7, u = i[Symbol.iterator](); case 9: if (o = (c = u.next()).done) { e.next = 26; break } if (l = c.value, e.t0 = y, e.t1 = t, e.t2 = l, n) return e.next = 17, n(m(t, l)); e.next = 20; break; case 17: e.t3 = e.sent, e.next = 21; break; case 20: e.t3 = void 0; case 21: e.t4 = e.t3, t = (0, e.t0)(e.t1, e.t2, e.t4); case 23: o = !0, e.next = 9; break; case 26: e.next = 32; break; case 28: e.prev = 28, e.t5 = e.catch(7), a = !0, s = e.t5; case 32: e.prev = 32, e.prev = 33, o || null == u.return || u.return(); case 35: if (e.prev = 35, a) throw s; e.next = 38; break; case 38: return e.finish(35); case 39: return e.finish(32); case 40: return e.abrupt("return", t); case 41: case "end": return e.stop() } }), e, null, [ [7, 28, 32, 40], [33, , 35, 39] ]) })))).apply(this, arguments) } function p(e) { if (!Array.isArray(e)) throw new Error("path must be an array") } l.updateInAsync = function(e, t, r) { return f.apply(this, arguments) }; var d = ["__proto__", "constructor", "prototype"]; function h(e, t) { return v.apply(this, arguments) } function v() { return (v = r(regeneratorRuntime.mark((function e(t, r) { var n, i, o, u, c, l, f, p; return regeneratorRuntime.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (r.length) { e.next = 2; break } return e.abrupt("return"); case 2: if (n = a(r), i = n[0], o = n.slice(1), "function" != typeof i) { e.next = 43; break } if (u = [], !Array.isArray(t)) { e.next = 25; break } c = 0, l = t.length; case 7: if (c < l) return e.next = 10, i.call(t, t[c], c); e.next = 23; break; case 10: if (e.t0 = e.sent, e.t0) return e.t1 = u.push, e.t2 = u, e.t3 = s, e.next = 17, h(t, [c].concat(s(o))); e.next = 20; break; case 17: e.t4 = e.sent, e.t5 = (0, e.t3)(e.t4), e.t1.apply.call(e.t1, e.t2, e.t5); case 20: c++, e.next = 7; break; case 23: e.next = 42; break; case 25: e.t6 = regeneratorRuntime.keys(t || {}); case 26: if ((e.t7 = e.t6()).done) { e.next = 42; break } return f = e.t7.value, e.next = 30, i.call(t, t[f], f); case 30: if (e.t8 = e.sent, e.t8) return e.t9 = u.push, e.t10 = u, e.t11 = s, e.next = 37, h(t, [f].concat(s(o))); e.next = 40; break; case 37: e.t12 = e.sent, e.t13 = (0, e.t11)(e.t12), e.t9.apply.call(e.t9, e.t10, e.t13); case 40: e.next = 26; break; case 42: return e.abrupt("return", u); case 43: return e.next = 45, h(void 0 !== t && t[i], o); case 45: return p = e.sent, e.abrupt("return", p ? p.map((function(e) { return [i].concat(s(e)) })) : [ [i] ]); case 47: case "end": return e.stop() } }), e) })))).apply(this, arguments) } function m(e, t) { return t.reduce((function(e, t) { return e && e[t] }), e) } function y(t, r, i) { if (!r.length) return i; var u, l = a(r), f = l[0], p = l.slice(1), h = void 0 !== t && t[f], v = t; if (u = f, d.includes(u)) return t; if ("string" != typeof f || "object" === e(v) && !Array.isArray(v) ? "number" != typeof f || Array.isArray(v) || (v = []) : v = {}, "number" == typeof f) { var m = y(h, p, i); return void 0 === m ? void 0 === t ? t : (f in v && (v = s(v)).splice(f, 1), v) : c(m, h) ? t : ((v = s(v))[f] = m, v) } var b = y(h, p, i); return void 0 === b ? void 0 === t ? t : (f in v && delete(v = o({}, v))[f], v) : c(b, h) ? t : o({}, v, n({}, f, b)) } return l }() }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r) { var n = e.id; return { type: "WEB_CHAT/MARK_ACTIVITY", payload: { activityID: n, name: t, value: r } } }, t.MARK_ACTIVITY = void 0; t.MARK_ACTIVITY = "WEB_CHAT/MARK_ACTIVITY" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "WEB_CHAT/SET_SEND_BOX", payload: { text: e } } }, t.SET_SEND_BOX = void 0; t.SET_SEND_BOX = "WEB_CHAT/SET_SEND_BOX" }, function(e, t) { e.exports = !1 }, function(e, t, r) { var n, i, o, a = r(786), s = r(29), u = r(82), c = r(69), l = r(60), f = r(237), p = r(238), d = s.WeakMap; if (a) { var h = new d, v = h.get, m = h.has, y = h.set; n = function(e, t) { return y.call(h, e, t), t }, i = function(e) { return v.call(h, e) || {} }, o = function(e) { return m.call(h, e) } } else { var b = f("state"); p[b] = !0, n = function(e, t) { return c(e, b, t), t }, i = function(e) { return l(e, b) ? e[b] : {} }, o = function(e) { return l(e, b) } } e.exports = { set: n, get: i, has: o, enforce: function(e) { return o(e) ? i(e) : n(e, {}) }, getterFor: function(e) { return function(t) { var r; if (!u(t) || (r = i(t)).type !== e) throw TypeError("Incompatible receiver, " + e + " required"); return r } } } }, function(e, t) { var r = {}.toString; e.exports = function(e) { return r.call(e).slice(8, -1) } }, function(e, t) { e.exports = {} }, function(e, t, r) { "use strict"; var n = r(100), i = function(e) { var t, r; this.promise = new e((function(e, n) { if (void 0 !== t || void 0 !== r) throw TypeError("Bad Promise constructor"); t = e, r = n })), this.resolve = n(t), this.reject = n(r) }; e.exports.f = function(e) { return new i(e) } }, function(e, t, r) { "use strict"; var n = r(173), i = r(417), o = r(416), a = r(246), s = r(174), u = r(826), c = function() { function e(e) { this.closed = !1, this._parent = null, this._parents = null, this._subscriptions = null, e && (this._unsubscribe = e) } var t; return e.prototype.unsubscribe = function() { var e, t = !1; if (!this.closed) { var r = this._parent, c = this._parents, f = this._unsubscribe, p = this._subscriptions; this.closed = !0, this._parent = null, this._parents = null, this._subscriptions = null; for (var d = -1, h = c ? c.length : 0; r;) r.remove(this), r = ++d < h && c[d] || null; if (o.isFunction(f)) a.tryCatch(f).call(this) === s.errorObject && (t = !0, e = e || (s.errorObject.e instanceof u.UnsubscriptionError ? l(s.errorObject.e.errors) : [s.errorObject.e])); if (n.isArray(p)) for (d = -1, h = p.length; ++d < h;) { var v = p[d]; if (i.isObject(v)) if (a.tryCatch(v.unsubscribe).call(v) === s.errorObject) { t = !0, e = e || []; var m = s.errorObject.e; m instanceof u.UnsubscriptionError ? e = e.concat(l(m.errors)) : e.push(m) } } if (t) throw new u.UnsubscriptionError(e) } }, e.prototype.add = function(t) { if (!t || t === e.EMPTY) return e.EMPTY; if (t === this) return this; var r = t; switch (typeof t) { case "function": r = new e(t); case "object": if (r.closed || "function" != typeof r.unsubscribe) return r; if (this.closed) return r.unsubscribe(), r; if ("function" != typeof r._addParent) { var n = r; (r = new e)._subscriptions = [n] } break; default: throw new Error("unrecognized teardown " + t + " added to Subscription.") } return (this._subscriptions || (this._subscriptions = [])).push(r), r._addParent(this), r }, e.prototype.remove = function(e) { var t = this._subscriptions; if (t) { var r = t.indexOf(e); - 1 !== r && t.splice(r, 1) } }, e.prototype._addParent = function(e) { var t = this._parent, r = this._parents; t && t !== e ? r ? -1 === r.indexOf(e) && r.push(e) : this._parents = [e] : this._parent = e }, e.EMPTY = ((t = new e).closed = !0, t), e }(); function l(e) { return e.reduce((function(e, t) { return e.concat(t instanceof u.UnsubscriptionError ? t.errors : t) }), []) } t.Subscription = c }, function(e, t, r) { "use strict"; (function(e) { var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(t) { function r(e) { var r = t.call(this, e) || this; return r.length = 0, r.bufferList = [], r } return i(r, t), r.prototype._write = function(t, r, n) { var i = e.from(t); this.bufferList.push(i), this.length += t.length, this._onData && this._onData(i), n() }, r.prototype._read = function(e) { if (0 === this.bufferList.length) this.push(null); else for (var t = 0; t < e && this.bufferList.length > 0;) { var r = this.bufferList[0]; this.push(r), this.bufferList.splice(0, 1), t += r.length } }, r.prototype.subscribe = function(e) { this._onData = e }, r }(r(71).Duplex); t.SubscribableStream = o }).call(this, r(8).Buffer) }, function(e, t, r) { "use strict"; var n = r(2), i = r(264), o = r(265), a = r(266), s = r(73); function u(e) { s.call(this, "digest"), this._hash = e } n(u, s), u.prototype._update = function(e) { this._hash.update(e) }, u.prototype._final = function() { return this._hash.digest() }, e.exports = function(e) { return "md5" === (e = e.toLowerCase()) ? new i : "rmd160" === e || "ripemd160" === e ? new o : new u(a(e)) } }, function(e, t, r) { (function(t) { e.exports = function(e, r) { for (var n = Math.min(e.length, r.length), i = new t(n), o = 0; o < n; ++o) i[o] = e[o] ^ r[o]; return i } }).call(this, r(8).Buffer) }, function(e, t, r) { "use strict"; var n = r(55), i = r(42); function o() { this.pending = null, this.pendingTotal = 0, this.blockSize = this.constructor.blockSize, this.outSize = this.constructor.outSize, this.hmacStrength = this.constructor.hmacStrength, this.padLength = this.constructor.padLength / 8, this.endian = "big", this._delta8 = this.blockSize / 8, this._delta32 = this.blockSize / 32 } t.BlockHash = o, o.prototype.update = function(e, t) { if (e = n.toArray(e, t), this.pending ? this.pending = this.pending.concat(e) : this.pending = e, this.pendingTotal += e.length, this.pending.length >= this._delta8) { var r = (e = this.pending).length % this._delta8; this.pending = e.slice(e.length - r, e.length), 0 === this.pending.length && (this.pending = null), e = n.join32(e, 0, e.length - r, this.endian); for (var i = 0; i < e.length; i += this._delta32) this._update(e, i, i + this._delta32) } return this }, o.prototype.digest = function(e) { return this.update(this._pad()), i(null === this.pending), this._digest(e) }, o.prototype._pad = function() { var e = this.pendingTotal, t = this._delta8, r = t - (e + this.padLength) % t, n = new Array(r + this.padLength); n[0] = 128; for (var i = 1; i < r; i++) n[i] = 0; if (e <<= 3, "big" === this.endian) { for (var o = 8; o < this.padLength; o++) n[i++] = 0; n[i++] = 0, n[i++] = 0, n[i++] = 0, n[i++] = 0, n[i++] = e >>> 24 & 255, n[i++] = e >>> 16 & 255, n[i++] = e >>> 8 & 255, n[i++] = 255 & e } else for (n[i++] = 255 & e, n[i++] = e >>> 8 & 255, n[i++] = e >>> 16 & 255, n[i++] = e >>> 24 & 255, n[i++] = 0, n[i++] = 0, n[i++] = 0, n[i++] = 0, o = 8; o < this.padLength; o++) n[i++] = 0; return n } }, function(e, t, r) { var n = t; n.bignum = r(22), n.define = r(985).define, n.base = r(133), n.constants = r(467), n.decoders = r(990), n.encoders = r(992) }, function(e, t, r) { var n = t; n.Reporter = r(987).Reporter, n.DecoderBuffer = r(466).DecoderBuffer, n.EncoderBuffer = r(466).EncoderBuffer, n.Node = r(988) }, function(e, t, r) { var n = r(8), i = n.Buffer; function o(e, t) { for (var r in e) t[r] = e[r] } function a(e, t, r) { return i(e, t, r) } i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? e.exports = n : (o(n, t), t.Buffer = a), a.prototype = Object.create(i.prototype), o(i, a), a.from = function(e, t, r) { if ("number" == typeof e) throw new TypeError("Argument must not be a number"); return i(e, t, r) }, a.alloc = function(e, t, r) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); var n = i(e); return void 0 !== t ? "string" == typeof r ? n.fill(t, r) : n.fill(t) : n.fill(0), n }, a.allocUnsafe = function(e) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); return i(e) }, a.allocUnsafeSlow = function(e) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); return n.SlowBuffer(e) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return "string" == typeof e && n.test(e) }; var n = /-webkit-|-moz-|-ms-/; e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, n.useSelector)((function(e) { return e.dictateState }))] }; var n = r(38) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.default)().webSpeechPonyfill] }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().scrollToEnd }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { var r; "function" == typeof CustomEvent ? r = new CustomEvent(e) : (r = document.createEvent("Event")).initEvent(e, !0, !0); return Object.entries(t).forEach((function(e) { var t, n, i = (n = 2, function(e) { if (Array.isArray(e)) return e }(t = e) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(t, n) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }()), o = i[0], a = i[1]; r[o] = a })), r } }, function(e, t, r) { var n, i; ! function(o, a) { "use strict"; void 0 === (i = "function" == typeof(n = function() { var e = function(e, t) { return e = e.replace(/{[0-9a-zA-Z-_. ]+}/g, (function(e) { return e = e.replace(/^{([^}]*)}$/, "$1"), "string" == typeof(r = t[e]) ? r : "number" == typeof r ? "" + r : JSON.stringify(r); var r })) }, t = function(t, r, n) { var i; return r = t + (r ? ": " + e(r, n) : ""), (i = new Error(r)).code = t, function() { var e = arguments[0], t = [].slice.call(arguments, 1); t.forEach((function(t) { var r; for (r in t) e[r] = t[r] })) }(i, n), i }, r = function(e, r, n, i) { if (!n) throw t(e, r, i) }, n = function(e, t) { r("E_MISSING_PARAMETER", "Missing required parameter `{name}`.", void 0 !== e, { name: t }) }, i = function(e, t, n, i) { r("E_INVALID_PAR_TYPE", "Invalid `{name}` parameter ({value}). {expected} expected.", n, { expected: i, name: t, value: e }) }, o = function(e, t) { i(e, t, void 0 === e || "string" == typeof e, "a string") }; function a(e) { if (!(this instanceof a)) return new a(e); n(e, "locale"), o(e, "locale"), this._locale = e } return a.locale = function(e) { return o(e, "locale"), arguments.length && (this._locale = e), this._locale }, a._createError = t, a._formatMessage = e, a._regexpEscape = function(e) { return e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1") }, a._runtimeKey = function(e, t, r, n) { var i; return n = n || function(e) { return JSON.stringify(e, (function(e, t) { return t && t.runtimeKey ? t.runtimeKey : t })) }(r), (i = function(e) { return [].reduce.call(e, (function(e, t) { return 0 | (e = (e << 5) - e + t.charCodeAt(0)) }), 0) }(e + t + n)) > 0 ? "a" + i : "b" + Math.abs(i) }, a._stringPad = function(e, t, r) { var n; "string" != typeof e && (e = String(e)); for (n = e.length; n < t; n += 1) e = r ? e + "0" : "0" + e; return e }, a._validateParameterPresence = n, a._validateParameterTypeString = o, a._validateParameterType = i, a }) ? n.call(t, r, t, e) : n) || (e.exports = i) }() }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = "string" == typeof e ? e.charCodeAt(0) : e; return t >= 48 && t <= 57 } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (n = (0, i.default)(), o = 1, function(e) { if (Array.isArray(e)) return e }(n) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(n, o) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }())[0], t = e.botAvatarImage, r = e.botAvatarInitials; var n, o; return [{ image: t, initials: r }] }; var n, i = (n = r(20)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (n = (0, i.default)(), o = 1, function(e) { if (Array.isArray(e)) return e }(n) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(n, o) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }())[0], t = e.userAvatarImage, r = e.userAvatarInitials; var n, o; return [{ image: t, initials: r }] }; var n, i = (n = r(20)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (t = (0, o.default)(), r = 1, function(e) { if (Array.isArray(e)) return e }(t) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(t, r) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }())[0]; var t, r; return (0, i.useMemo)((function() { return function(t) { return e.dateFormatter({ skeleton: "MMMMdhm" })(new Date(t)) } }), [e]) }; var n, i = r(0), o = (n = r(185)) && n.__esModule ? n : { default: n } }, function(e, t, r) { var n = r(679), i = r(214); e.exports = function(e) { return n(i(e)) } }, function(e, t) { e.exports = {} }, function(e, t, r) { "use strict"; var n = r(53), i = function(e) { var t, r; this.promise = new e((function(e, n) { if (void 0 !== t || void 0 !== r) throw TypeError("Bad Promise constructor"); t = e, r = n })), this.resolve = n(t), this.reject = n(r) }; e.exports.f = function(e) { return new i(e) } }, function(e, t, r) { "use strict"; var n = r(207), i = r(653), o = r(652), a = r(330), s = r(208), u = r(1527), c = function() { function e(e) { this.closed = !1, this._parent = null, this._parents = null, this._subscriptions = null, e && (this._unsubscribe = e) } var t; return e.prototype.unsubscribe = function() { var e, t = !1; if (!this.closed) { var r = this._parent, c = this._parents, f = this._unsubscribe, p = this._subscriptions; this.closed = !0, this._parent = null, this._parents = null, this._subscriptions = null; for (var d = -1, h = c ? c.length : 0; r;) r.remove(this), r = ++d < h && c[d] || null; if (o.isFunction(f)) a.tryCatch(f).call(this) === s.errorObject && (t = !0, e = e || (s.errorObject.e instanceof u.UnsubscriptionError ? l(s.errorObject.e.errors) : [s.errorObject.e])); if (n.isArray(p)) for (d = -1, h = p.length; ++d < h;) { var v = p[d]; if (i.isObject(v)) if (a.tryCatch(v.unsubscribe).call(v) === s.errorObject) { t = !0, e = e || []; var m = s.errorObject.e; m instanceof u.UnsubscriptionError ? e = e.concat(l(m.errors)) : e.push(m) } } if (t) throw new u.UnsubscriptionError(e) } }, e.prototype.add = function(t) { if (!t || t === e.EMPTY) return e.EMPTY; if (t === this) return this; var r = t; switch (typeof t) { case "function": r = new e(t); case "object": if (r.closed || "function" != typeof r.unsubscribe) return r; if (this.closed) return r.unsubscribe(), r; if ("function" != typeof r._addParent) { var n = r; (r = new e)._subscriptions = [n] } break; default: throw new Error("unrecognized teardown " + t + " added to Subscription.") } return (this._subscriptions || (this._subscriptions = [])).push(r), r._addParent(this), r }, e.prototype.remove = function(e) { var t = this._subscriptions; if (t) { var r = t.indexOf(e); - 1 !== r && t.splice(r, 1) } }, e.prototype._addParent = function(e) { var t = this._parent, r = this._parents; t && t !== e ? r ? -1 === r.indexOf(e) && r.push(e) : this._parents = [e] : this._parent = e }, e.EMPTY = ((t = new e).closed = !0, t), e }(); function l(e) { return e.reduce((function(e, t) { return e.concat(t instanceof u.UnsubscriptionError ? t.errors : t) }), []) } t.Subscription = c }, function(e, t, r) { "use strict"; (function(e) { var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(t) { function r(e) { var r = t.call(this, e) || this; return r.length = 0, r.bufferList = [], r } return i(r, t), r.prototype._write = function(t, r, n) { var i = e.from(t); this.bufferList.push(i), this.length += t.length, this._onData && this._onData(i), n() }, r.prototype._read = function(e) { if (0 === this.bufferList.length) this.push(null); else for (var t = 0; t < e && this.bufferList.length > 0;) { var r = this.bufferList[0]; this.push(r), this.bufferList.splice(0, 1), t += r.length } }, r.prototype.subscribe = function(e) { this._onData = e }, r }(r(71).Duplex); t.SubscribableStream = o }).call(this, r(8).Buffer) }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.default)().adaptiveCardsPackage] }; var i = n(r(1635)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { var e = (new Date).getTime(); return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (function(t) { var r = (e + 16 * Math.random()) % 16 | 0; return e = Math.floor(e / 16), ("x" === t ? r : 3 & r | 8).toString(16) })) }; t.createGuid = n; t.createNoDashGuid = function() { return n().replace(new RegExp("-", "g"), "").toUpperCase() } }, function(e, t) { e.exports = function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } }, function(e, t, r) { var n = r(219); e.exports = !n((function() { return 7 != Object.defineProperty({}, 1, { get: function() { return 7 } })[1] })) }, function(e, t, r) { var n = r(153), i = r(155), o = r(704); e.exports = n ? function(e, t, r) { return i.f(e, t, o(1, r)) } : function(e, t, r) { return e[t] = r, e } }, function(e, t, r) { var n = r(153), i = r(1676), o = r(114), a = r(1675), s = Object.defineProperty; t.f = n ? s : function(e, t, r) { if (o(e), t = a(t, !0), o(r), i) try { return s(e, t, r) } catch (e) {} if ("get" in r || "set" in r) throw TypeError("Accessors not supported"); return "value" in r && (e[t] = r.value), e } }, function(e, t) { e.exports = function(e, t) { return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t } } }, function(e, t, r) { var n = r(66).f, i = r(52), o = r(32)("toStringTag"); e.exports = function(e, t, r) { e && !i(e = r ? e : e.prototype, o) && n(e, o, { configurable: !0, value: t }) } }, function(e, t) { function r(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } e.exports = function(e, t, n) { return t && r(e.prototype, t), n && r(e, n), e } }, function(e, t, r) { e.exports = r(1918) }, function(e, t) { function r(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } e.exports = function(e) { return function() { var t = this, n = arguments; return new Promise((function(i, o) { var a = e.apply(t, n); function s(e) { r(a, i, o, s, u, "next", e) } function u(e) { r(a, i, o, s, u, "throw", e) } s(void 0) })) } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.RECONNECT_REJECTED = t.RECONNECT_PENDING = t.RECONNECT_FULFILLING = t.RECONNECT_FULFILLED = t.RECONNECT = void 0; var n = "DIRECT_LINE/RECONNECT"; t.RECONNECT = n; var i = "".concat(n, "_FULFILLED"); t.RECONNECT_FULFILLED = i; var o = "".concat(n, "_FULFILLING"); t.RECONNECT_FULFILLING = o; var a = "".concat(n, "_PENDING"); t.RECONNECT_PENDING = a; var s = "".concat(n, "_REJECTED"); t.RECONNECT_REJECTED = s }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return { type: n } }, t.DISCONNECT_FULFILLED = t.DISCONNECT_REJECTED = t.DISCONNECT_PENDING = t.DISCONNECT = void 0; var n = "DIRECT_LINE/DISCONNECT"; t.DISCONNECT = n; var i = "".concat(n, "_PENDING"); t.DISCONNECT_PENDING = i; var o = "".concat(n, "_REJECTED"); t.DISCONNECT_REJECTED = o; var a = "".concat(n, "_FULFILLED"); t.DISCONNECT_FULFILLED = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.WILL_START = t.STOPPING = t.STARTING = t.IDLE = t.DICTATING = void 0; t.IDLE = 0; t.WILL_START = 1; t.STARTING = 2; t.DICTATING = 3; t.STOPPING = 4 }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "WEB_CHAT/SET_DICTATE_STATE", payload: { dictateState: e } } }, t.SET_DICTATE_STATE = void 0; t.SET_DICTATE_STATE = "WEB_CHAT/SET_DICTATE_STATE" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return { type: "WEB_CHAT/STOP_DICTATE" } }, t.STOP_DICTATE = void 0; t.STOP_DICTATE = "WEB_CHAT/STOP_DICTATE" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return { type: "WEB_CHAT/STOP_SPEAKING" } }, t.STOP_SPEAKING_ACTIVITY = void 0; t.STOP_SPEAKING_ACTIVITY = "WEB_CHAT/STOP_SPEAKING" }, function(e, t) { e.exports = function(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t) { e.exports = function(e, t) { return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t } } }, function(e, t, r) { var n = r(791), i = r(240); e.exports = function(e) { return n(i(e)) } }, function(e, t, r) { var n = r(59), i = r(812), o = r(402), a = r(408), s = r(813), u = r(814), c = function(e, t) { this.stopped = e, this.result = t }; (e.exports = function(e, t, r, l, f) { var p, d, h, v, m, y, b, g = a(t, r, l ? 2 : 1); if (f) p = e; else { if ("function" != typeof(d = s(e))) throw TypeError("Target is not iterable"); if (i(d)) { for (h = 0, v = o(e.length); v > h; h++) if ((m = l ? g(n(b = e[h])[0], b[1]) : g(e[h])) && m instanceof c) return m; return new c(!1) } p = d.call(e) } for (y = p.next; !(b = y.call(p)).done;) if ("object" == typeof(m = u(p, g, b.value, l)) && m && m instanceof c) return m; return new c(!1) }).stop = function(e) { return new c(!0, e) } }, function(e, t) { e.exports = function(e) { try { return { error: !1, value: e() } } catch (e) { return { error: !0, value: e } } } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(11), o = r(36), a = r(127), s = r(419), u = r(829), c = r(247), l = function(e) { function t(t) { e.call(this, t), this.destination = t } return n(t, e), t }(o.Subscriber); t.SubjectSubscriber = l; var f = function(e) { function t() { e.call(this), this.observers = [], this.closed = !1, this.isStopped = !1, this.hasError = !1, this.thrownError = null } return n(t, e), t.prototype[c.rxSubscriber] = function() { return new l(this) }, t.prototype.lift = function(e) { var t = new p(this, this); return t.operator = e, t }, t.prototype.next = function(e) { if (this.closed) throw new s.ObjectUnsubscribedError; if (!this.isStopped) for (var t = this.observers, r = t.length, n = t.slice(), i = 0; i < r; i++) n[i].next(e) }, t.prototype.error = function(e) { if (this.closed) throw new s.ObjectUnsubscribedError; this.hasError = !0, this.thrownError = e, this.isStopped = !0; for (var t = this.observers, r = t.length, n = t.slice(), i = 0; i < r; i++) n[i].error(e); this.observers.length = 0 }, t.prototype.complete = function() { if (this.closed) throw new s.ObjectUnsubscribedError; this.isStopped = !0; for (var e = this.observers, t = e.length, r = e.slice(), n = 0; n < t; n++) r[n].complete(); this.observers.length = 0 }, t.prototype.unsubscribe = function() { this.isStopped = !0, this.closed = !0, this.observers = null }, t.prototype._trySubscribe = function(t) { if (this.closed) throw new s.ObjectUnsubscribedError; return e.prototype._trySubscribe.call(this, t) }, t.prototype._subscribe = function(e) { if (this.closed) throw new s.ObjectUnsubscribedError; return this.hasError ? (e.error(this.thrownError), a.Subscription.EMPTY) : this.isStopped ? (e.complete(), a.Subscription.EMPTY) : (this.observers.push(e), new u.SubjectSubscription(this, e)) }, t.prototype.asObservable = function() { var e = new i.Observable; return e.source = this, e }, t.create = function(e, t) { return new p(e, t) }, t }(i.Observable); t.Subject = f; var p = function(e) { function t(t, r) { e.call(this), this.destination = t, this.source = r } return n(t, e), t.prototype.next = function(e) { var t = this.destination; t && t.next && t.next(e) }, t.prototype.error = function(e) { var t = this.destination; t && t.error && this.destination.error(e) }, t.prototype.complete = function() { var e = this.destination; e && e.complete && this.destination.complete() }, t.prototype._subscribe = function(e) { return this.source ? this.source.subscribe(e) : a.Subscription.EMPTY }, t }(f); t.AnonymousSubject = p }, function(e, t, r) { "use strict"; t.isArray = Array.isArray || function(e) { return e && "number" == typeof e.length } }, function(e, t, r) { "use strict"; t.errorObject = { e: {} } }, function(e, t, r) { "use strict"; var n = r(830), i = r(832); t.async = new i.AsyncScheduler(n.AsyncAction) }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t() { e.apply(this, arguments) } return n(t, e), t.prototype.notifyNext = function(e, t, r, n, i) { this.destination.next(t) }, t.prototype.notifyError = function(e, t) { this.destination.error(e) }, t.prototype.notifyComplete = function(e) { this.destination.complete() }, t }(r(36).Subscriber); t.OuterSubscriber = i }, function(e, t, r) { "use strict"; var n = r(61), i = r(420), o = r(421), a = r(417), s = r(11), u = r(249), c = r(837), l = r(248); t.subscribeToResult = function(e, t, r, f) { var p = new c.InnerSubscriber(e, r, f); if (p.closed) return null; if (t instanceof s.Observable) return t._isScalar ? (p.next(t.value), p.complete(), null) : (p.syncErrorThrowable = !0, t.subscribe(p)); if (i.isArrayLike(t)) { for (var d = 0, h = t.length; d < h && !p.closed; d++) p.next(t[d]); p.closed || p.complete() } else { if (o.isPromise(t)) return t.then((function(e) { p.closed || (p.next(e), p.complete()) }), (function(e) { return p.error(e) })).then(null, (function(e) { n.root.setTimeout((function() { throw e })) })), p; if (t && "function" == typeof t[u.iterator]) for (var v = t[u.iterator]();;) { var m = v.next(); if (m.done) { p.complete(); break } if (p.next(m.value), p.closed) break } else if (t && "function" == typeof t[l.observable]) { var y = t[l.observable](); if ("function" == typeof y.subscribe) return y.subscribe(new c.InnerSubscriber(e, r, f)); p.error(new TypeError("Provided object does not correctly implement Symbol.observable")) } else { var b = "You provided " + (a.isObject(t) ? "an invalid object" : "'" + t + "'") + " where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."; p.error(new TypeError(b)) } } return null } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t) { e.call(this), this.scheduler = t } return n(t, e), t.create = function(e) { return new t(e) }, t.dispatch = function(e) { e.subscriber.complete() }, t.prototype._subscribe = function(e) { var r = this.scheduler; if (r) return r.schedule(t.dispatch, 0, { subscriber: e }); e.complete() }, t }(r(11).Observable); t.EmptyObservable = i }, function(e, t, r) { var n = r(10).Buffer; function i(e) { n.isBuffer(e) || (e = n.from(e)); for (var t = e.length / 4 | 0, r = new Array(t), i = 0; i < t; i++) r[i] = e.readUInt32BE(4 * i); return r } function o(e) { for (; 0 < e.length; e++) e[0] = 0 } function a(e, t, r, n, i) { for (var o, a, s, u, c = r[0], l = r[1], f = r[2], p = r[3], d = e[0] ^ t[0], h = e[1] ^ t[1], v = e[2] ^ t[2], m = e[3] ^ t[3], y = 4, b = 1; b < i; b++) o = c[d >>> 24] ^ l[h >>> 16 & 255] ^ f[v >>> 8 & 255] ^ p[255 & m] ^ t[y++], a = c[h >>> 24] ^ l[v >>> 16 & 255] ^ f[m >>> 8 & 255] ^ p[255 & d] ^ t[y++], s = c[v >>> 24] ^ l[m >>> 16 & 255] ^ f[d >>> 8 & 255] ^ p[255 & h] ^ t[y++], u = c[m >>> 24] ^ l[d >>> 16 & 255] ^ f[h >>> 8 & 255] ^ p[255 & v] ^ t[y++], d = o, h = a, v = s, m = u; return o = (n[d >>> 24] << 24 | n[h >>> 16 & 255] << 16 | n[v >>> 8 & 255] << 8 | n[255 & m]) ^ t[y++], a = (n[h >>> 24] << 24 | n[v >>> 16 & 255] << 16 | n[m >>> 8 & 255] << 8 | n[255 & d]) ^ t[y++], s = (n[v >>> 24] << 24 | n[m >>> 16 & 255] << 16 | n[d >>> 8 & 255] << 8 | n[255 & h]) ^ t[y++], u = (n[m >>> 24] << 24 | n[d >>> 16 & 255] << 16 | n[h >>> 8 & 255] << 8 | n[255 & v]) ^ t[y++], [o >>>= 0, a >>>= 0, s >>>= 0, u >>>= 0] } var s = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], u = function() { for (var e = new Array(256), t = 0; t < 256; t++) e[t] = t < 128 ? t << 1 : t << 1 ^ 283; for (var r = [], n = [], i = [ [], [], [], [] ], o = [ [], [], [], [] ], a = 0, s = 0, u = 0; u < 256; ++u) { var c = s ^ s << 1 ^ s << 2 ^ s << 3 ^ s << 4; c = c >>> 8 ^ 255 & c ^ 99, r[a] = c, n[c] = a; var l = e[a], f = e[l], p = e[f], d = 257 * e[c] ^ 16843008 * c; i[0][a] = d << 24 | d >>> 8, i[1][a] = d << 16 | d >>> 16, i[2][a] = d << 8 | d >>> 24, i[3][a] = d, d = 16843009 * p ^ 65537 * f ^ 257 * l ^ 16843008 * a, o[0][c] = d << 24 | d >>> 8, o[1][c] = d << 16 | d >>> 16, o[2][c] = d << 8 | d >>> 24, o[3][c] = d, 0 === a ? a = s = 1 : (a = l ^ e[e[e[p ^ l]]], s ^= e[e[s]]) } return { SBOX: r, INV_SBOX: n, SUB_MIX: i, INV_SUB_MIX: o } }(); function c(e) { this._key = i(e), this._reset() } c.blockSize = 16, c.keySize = 32, c.prototype.blockSize = c.blockSize, c.prototype.keySize = c.keySize, c.prototype._reset = function() { for (var e = this._key, t = e.length, r = t + 6, n = 4 * (r + 1), i = [], o = 0; o < t; o++) i[o] = e[o]; for (o = t; o < n; o++) { var a = i[o - 1]; o % t == 0 ? (a = a << 8 | a >>> 24, a = u.SBOX[a >>> 24] << 24 | u.SBOX[a >>> 16 & 255] << 16 | u.SBOX[a >>> 8 & 255] << 8 | u.SBOX[255 & a], a ^= s[o / t | 0] << 24) : t > 6 && o % t == 4 && (a = u.SBOX[a >>> 24] << 24 | u.SBOX[a >>> 16 & 255] << 16 | u.SBOX[a >>> 8 & 255] << 8 | u.SBOX[255 & a]), i[o] = i[o - t] ^ a } for (var c = [], l = 0; l < n; l++) { var f = n - l, p = i[f - (l % 4 ? 0 : 4)]; c[l] = l < 4 || f <= 4 ? p : u.INV_SUB_MIX[0][u.SBOX[p >>> 24]] ^ u.INV_SUB_MIX[1][u.SBOX[p >>> 16 & 255]] ^ u.INV_SUB_MIX[2][u.SBOX[p >>> 8 & 255]] ^ u.INV_SUB_MIX[3][u.SBOX[255 & p]] } this._nRounds = r, this._keySchedule = i, this._invKeySchedule = c }, c.prototype.encryptBlockRaw = function(e) { return a(e = i(e), this._keySchedule, u.SUB_MIX, u.SBOX, this._nRounds) }, c.prototype.encryptBlock = function(e) { var t = this.encryptBlockRaw(e), r = n.allocUnsafe(16); return r.writeUInt32BE(t[0], 0), r.writeUInt32BE(t[1], 4), r.writeUInt32BE(t[2], 8), r.writeUInt32BE(t[3], 12), r }, c.prototype.decryptBlock = function(e) { var t = (e = i(e))[1]; e[1] = e[3], e[3] = t; var r = a(e, this._invKeySchedule, u.INV_SUB_MIX, u.INV_SBOX, this._nRounds), o = n.allocUnsafe(16); return o.writeUInt32BE(r[0], 0), o.writeUInt32BE(r[3], 4), o.writeUInt32BE(r[2], 8), o.writeUInt32BE(r[1], 12), o }, c.prototype.scrub = function() { o(this._keySchedule), o(this._invKeySchedule), o(this._key) }, e.exports.AES = c }, function(e, t, r) { var n = r(10).Buffer, i = r(264); e.exports = function(e, t, r, o) { if (n.isBuffer(e) || (e = n.from(e, "binary")), t && (n.isBuffer(t) || (t = n.from(t, "binary")), 8 !== t.length)) throw new RangeError("salt should be Buffer with 8 byte length"); for (var a = r / 8, s = n.alloc(a), u = n.alloc(o || 0), c = n.alloc(0); a > 0 || o > 0;) { var l = new i; l.update(c), l.update(e), t && l.update(t), c = l.digest(); var f = 0; if (a > 0) { var p = s.length - a; f = Math.min(a, c.length), c.copy(s, p, 0, f), a -= f } if (f < c.length && o > 0) { var d = u.length - o, h = Math.min(o, c.length - f); c.copy(u, d, f, f + h), o -= h } } return c.fill(0), { key: s, iv: u } } }, function(e, t, r) { "use strict"; var n = r(22), i = r(43), o = i.getNAF, a = i.getJSF, s = i.assert; function u(e, t) { this.type = e, this.p = new n(t.p, 16), this.red = t.prime ? n.red(t.prime) : n.mont(this.p), this.zero = new n(0).toRed(this.red), this.one = new n(1).toRed(this.red), this.two = new n(2).toRed(this.red), this.n = t.n && new n(t.n, 16), this.g = t.g && this.pointFromJSON(t.g, t.gRed), this._wnafT1 = new Array(4), this._wnafT2 = new Array(4), this._wnafT3 = new Array(4), this._wnafT4 = new Array(4), this._bitLength = this.n ? this.n.bitLength() : 0; var r = this.n && this.p.div(this.n); !r || r.cmpn(100) > 0 ? this.redN = null : (this._maxwellTrick = !0, this.redN = this.n.toRed(this.red)) } function c(e, t) { this.curve = e, this.type = t, this.precomputed = null } e.exports = u, u.prototype.point = function() { throw new Error("Not implemented") }, u.prototype.validate = function() { throw new Error("Not implemented") }, u.prototype._fixedNafMul = function(e, t) { s(e.precomputed); var r = e._getDoubles(), n = o(t, 1, this._bitLength), i = (1 << r.step + 1) - (r.step % 2 == 0 ? 2 : 1); i /= 3; for (var a = [], u = 0; u < n.length; u += r.step) { var c = 0; for (t = u + r.step - 1; t >= u; t--) c = (c << 1) + n[t]; a.push(c) } for (var l = this.jpoint(null, null, null), f = this.jpoint(null, null, null), p = i; p > 0; p--) { for (u = 0; u < a.length; u++) { (c = a[u]) === p ? f = f.mixedAdd(r.points[u]) : c === -p && (f = f.mixedAdd(r.points[u].neg())) } l = l.add(f) } return l.toP() }, u.prototype._wnafMul = function(e, t) { var r = 4, n = e._getNAFPoints(r); r = n.wnd; for (var i = n.points, a = o(t, r, this._bitLength), u = this.jpoint(null, null, null), c = a.length - 1; c >= 0; c--) { for (t = 0; c >= 0 && 0 === a[c]; c--) t++; if (c >= 0 && t++, u = u.dblp(t), c < 0) break; var l = a[c]; s(0 !== l), u = "affine" === e.type ? l > 0 ? u.mixedAdd(i[l - 1 >> 1]) : u.mixedAdd(i[-l - 1 >> 1].neg()) : l > 0 ? u.add(i[l - 1 >> 1]) : u.add(i[-l - 1 >> 1].neg()) } return "affine" === e.type ? u.toP() : u }, u.prototype._wnafMulAdd = function(e, t, r, n, i) { for (var s = this._wnafT1, u = this._wnafT2, c = this._wnafT3, l = 0, f = 0; f < n; f++) { var p = (C = t[f])._getNAFPoints(e); s[f] = p.wnd, u[f] = p.points } for (f = n - 1; f >= 1; f -= 2) { var d = f - 1, h = f; if (1 === s[d] && 1 === s[h]) { var v = [t[d], null, null, t[h]]; 0 === t[d].y.cmp(t[h].y) ? (v[1] = t[d].add(t[h]), v[2] = t[d].toJ().mixedAdd(t[h].neg())) : 0 === t[d].y.cmp(t[h].y.redNeg()) ? (v[1] = t[d].toJ().mixedAdd(t[h]), v[2] = t[d].add(t[h].neg())) : (v[1] = t[d].toJ().mixedAdd(t[h]), v[2] = t[d].toJ().mixedAdd(t[h].neg())); var m = [-3, -1, -5, -7, 0, 7, 5, 1, 3], y = a(r[d], r[h]); l = Math.max(y[0].length, l), c[d] = new Array(l), c[h] = new Array(l); for (var b = 0; b < l; b++) { var g = 0 | y[0][b], _ = 0 | y[1][b]; c[d][b] = m[3 * (g + 1) + (_ + 1)], c[h][b] = 0, u[d] = v } } else c[d] = o(r[d], s[d], this._bitLength), c[h] = o(r[h], s[h], this._bitLength), l = Math.max(c[d].length, l), l = Math.max(c[h].length, l) } var T = this.jpoint(null, null, null), S = this._wnafT4; for (f = l; f >= 0; f--) { for (var A = 0; f >= 0;) { var E = !0; for (b = 0; b < n; b++) S[b] = 0 | c[b][f], 0 !== S[b] && (E = !1); if (!E) break; A++, f-- } if (f >= 0 && A++, T = T.dblp(A), f < 0) break; for (b = 0; b < n; b++) { var C, O = S[b]; 0 !== O && (O > 0 ? C = u[b][O - 1 >> 1] : O < 0 && (C = u[b][-O - 1 >> 1].neg()), T = "affine" === C.type ? T.mixedAdd(C) : T.add(C)) } } for (f = 0; f < n; f++) u[f] = null; return i ? T : T.toP() }, u.BasePoint = c, c.prototype.eq = function() { throw new Error("Not implemented") }, c.prototype.validate = function() { return this.curve.validate(this) }, u.prototype.decodePoint = function(e, t) { e = i.toArray(e, t); var r = this.p.byteLength(); if ((4 === e[0] || 6 === e[0] || 7 === e[0]) && e.length - 1 == 2 * r) return 6 === e[0] ? s(e[e.length - 1] % 2 == 0) : 7 === e[0] && s(e[e.length - 1] % 2 == 1), this.point(e.slice(1, 1 + r), e.slice(1 + r, 1 + 2 * r)); if ((2 === e[0] || 3 === e[0]) && e.length - 1 === r) return this.pointFromX(e.slice(1, 1 + r), 3 === e[0]); throw new Error("Unknown point format") }, c.prototype.encodeCompressed = function(e) { return this.encode(e, !0) }, c.prototype._encode = function(e) { var t = this.curve.p.byteLength(), r = this.getX().toArray("be", t); return e ? [this.getY().isEven() ? 2 : 3].concat(r) : [4].concat(r, this.getY().toArray("be", t)) }, c.prototype.encode = function(e, t) { return i.encode(this._encode(t), e) }, c.prototype.precompute = function(e) { if (this.precomputed) return this; var t = { doubles: null, naf: null, beta: null }; return t.naf = this._getNAFPoints(8), t.doubles = this._getDoubles(4, e), t.beta = this._getBeta(), this.precomputed = t, this }, c.prototype._hasDoubles = function(e) { if (!this.precomputed) return !1; var t = this.precomputed.doubles; return !!t && t.points.length >= Math.ceil((e.bitLength() + 1) / t.step) }, c.prototype._getDoubles = function(e, t) { if (this.precomputed && this.precomputed.doubles) return this.precomputed.doubles; for (var r = [this], n = this, i = 0; i < t; i += e) { for (var o = 0; o < e; o++) n = n.dbl(); r.push(n) } return { step: e, points: r } }, c.prototype._getNAFPoints = function(e) { if (this.precomputed && this.precomputed.naf) return this.precomputed.naf; for (var t = [this], r = (1 << e) - 1, n = 1 === r ? null : this.dbl(), i = 1; i < r; i++) t[i] = t[i - 1].add(n); return { wnd: e, points: t } }, c.prototype._getBeta = function() { return null }, c.prototype.dblp = function(e) { for (var t = this, r = 0; r < e; r++) t = t.dbl(); return t } }, function(e, t, r) { var n = r(984), i = r(995), o = r(996), a = r(268), s = r(448), u = r(10).Buffer; function c(e) { var t; "object" != typeof e || u.isBuffer(e) || (t = e.passphrase, e = e.key), "string" == typeof e && (e = u.from(e)); var r, c, l = o(e, t), f = l.tag, p = l.data; switch (f) { case "CERTIFICATE": c = n.certificate.decode(p, "der").tbsCertificate.subjectPublicKeyInfo; case "PUBLIC KEY": switch (c || (c = n.PublicKey.decode(p, "der")), r = c.algorithm.algorithm.join(".")) { case "1.2.840.113549.1.1.1": return n.RSAPublicKey.decode(c.subjectPublicKey.data, "der"); case "1.2.840.10045.2.1": return c.subjectPrivateKey = c.subjectPublicKey, { type: "ec", data: c }; case "1.2.840.10040.4.1": return c.algorithm.params.pub_key = n.DSAparam.decode(c.subjectPublicKey.data, "der"), { type: "dsa", data: c.algorithm.params }; default: throw new Error("unknown key id " + r) } throw new Error("unknown key type " + f); case "ENCRYPTED PRIVATE KEY": p = function(e, t) { var r = e.algorithm.decrypt.kde.kdeparams.salt, n = parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(), 10), o = i[e.algorithm.decrypt.cipher.algo.join(".")], c = e.algorithm.decrypt.cipher.iv, l = e.subjectPrivateKey, f = parseInt(o.split("-")[1], 10) / 8, p = s.pbkdf2Sync(t, r, n, f, "sha1"), d = a.createDecipheriv(o, p, c), h = []; return h.push(d.update(l)), h.push(d.final()), u.concat(h) }(p = n.EncryptedPrivateKey.decode(p, "der"), t); case "PRIVATE KEY": switch (r = (c = n.PrivateKey.decode(p, "der")).algorithm.algorithm.join(".")) { case "1.2.840.113549.1.1.1": return n.RSAPrivateKey.decode(c.subjectPrivateKey, "der"); case "1.2.840.10045.2.1": return { curve: c.algorithm.curve, privateKey: n.ECPrivateKey.decode(c.subjectPrivateKey, "der").privateKey }; case "1.2.840.10040.4.1": return c.algorithm.params.priv_key = n.DSAparam.decode(c.subjectPrivateKey, "der"), { type: "dsa", params: c.algorithm.params }; default: throw new Error("unknown key id " + r) } throw new Error("unknown key type " + f); case "RSA PUBLIC KEY": return n.RSAPublicKey.decode(p, "der"); case "RSA PRIVATE KEY": return n.RSAPrivateKey.decode(p, "der"); case "DSA PRIVATE KEY": return { type: "dsa", params: n.DSAPrivateKey.decode(p, "der") }; case "EC PRIVATE KEY": return { curve: (p = n.ECPrivateKey.decode(p, "der")).parameters.value, privateKey: p.privateKey }; default: throw new Error("unknown key type " + f) } } e.exports = c, c.signature = n.signature }, function(e, t, r) { (function(e) { var n = Object.getOwnPropertyDescriptors || function(e) { for (var t = Object.keys(e), r = {}, n = 0; n < t.length; n++) r[t[n]] = Object.getOwnPropertyDescriptor(e, t[n]); return r }, i = /%[sdj%]/g; t.format = function(e) { if (!y(e)) { for (var t = [], r = 0; r < arguments.length; r++) t.push(s(arguments[r])); return t.join(" ") } r = 1; for (var n = arguments, o = n.length, a = String(e).replace(i, (function(e) { if ("%%" === e) return "%"; if (r >= o) return e; switch (e) { case "%s": return String(n[r++]); case "%d": return Number(n[r++]); case "%j": try { return JSON.stringify(n[r++]) } catch (e) { return "[Circular]" } default: return e } })), u = n[r]; r < o; u = n[++r]) v(u) || !_(u) ? a += " " + u : a += " " + s(u); return a }, t.deprecate = function(r, n) { if (void 0 !== e && !0 === e.noDeprecation) return r; if (void 0 === e) return function() { return t.deprecate(r, n).apply(this, arguments) }; var i = !1; return function() { if (!i) { if (e.throwDeprecation) throw new Error(n); e.traceDeprecation ? console.trace(n) : console.error(n), i = !0 } return r.apply(this, arguments) } }; var o, a = {}; function s(e, r) { var n = { seen: [], stylize: c }; return arguments.length >= 3 && (n.depth = arguments[2]), arguments.length >= 4 && (n.colors = arguments[3]), h(r) ? n.showHidden = r : r && t._extend(n, r), b(n.showHidden) && (n.showHidden = !1), b(n.depth) && (n.depth = 2), b(n.colors) && (n.colors = !1), b(n.customInspect) && (n.customInspect = !0), n.colors && (n.stylize = u), l(n, e, n.depth) } function u(e, t) { var r = s.styles[t]; return r ? "\x1b[" + s.colors[r][0] + "m" + e + "\x1b[" + s.colors[r][1] + "m" : e } function c(e, t) { return e } function l(e, r, n) { if (e.customInspect && r && A(r.inspect) && r.inspect !== t.inspect && (!r.constructor || r.constructor.prototype !== r)) { var i = r.inspect(n, e); return y(i) || (i = l(e, i, n)), i } var o = function(e, t) { if (b(t)) return e.stylize("undefined", "undefined"); if (y(t)) { var r = "'" + JSON.stringify(t).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'"; return e.stylize(r, "string") } if (m(t)) return e.stylize("" + t, "number"); if (h(t)) return e.stylize("" + t, "boolean"); if (v(t)) return e.stylize("null", "null") }(e, r); if (o) return o; var a = Object.keys(r), s = function(e) { var t = {}; return e.forEach((function(e, r) { t[e] = !0 })), t }(a); if (e.showHidden && (a = Object.getOwnPropertyNames(r)), S(r) && (a.indexOf("message") >= 0 || a.indexOf("description") >= 0)) return f(r); if (0 === a.length) { if (A(r)) { var u = r.name ? ": " + r.name : ""; return e.stylize("[Function" + u + "]", "special") } if (g(r)) return e.stylize(RegExp.prototype.toString.call(r), "regexp"); if (T(r)) return e.stylize(Date.prototype.toString.call(r), "date"); if (S(r)) return f(r) } var c, _ = "", E = !1, C = ["{", "}"]; (d(r) && (E = !0, C = ["[", "]"]), A(r)) && (_ = " [Function" + (r.name ? ": " + r.name : "") + "]"); return g(r) && (_ = " " + RegExp.prototype.toString.call(r)), T(r) && (_ = " " + Date.prototype.toUTCString.call(r)), S(r) && (_ = " " + f(r)), 0 !== a.length || E && 0 != r.length ? n < 0 ? g(r) ? e.stylize(RegExp.prototype.toString.call(r), "regexp") : e.stylize("[Object]", "special") : (e.seen.push(r), c = E ? function(e, t, r, n, i) { for (var o = [], a = 0, s = t.length; a < s; ++a) I(t, String(a)) ? o.push(p(e, t, r, n, String(a), !0)) : o.push(""); return i.forEach((function(i) { i.match(/^\d+$/) || o.push(p(e, t, r, n, i, !0)) })), o }(e, r, n, s, a) : a.map((function(t) { return p(e, r, n, s, t, E) })), e.seen.pop(), function(e, t, r) { if (e.reduce((function(e, t) { return t.indexOf("\n") >= 0 && 0, e + t.replace(/\u001b\[\d\d?m/g, "").length + 1 }), 0) > 60) return r[0] + ("" === t ? "" : t + "\n ") + " " + e.join(",\n ") + " " + r[1]; return r[0] + t + " " + e.join(", ") + " " + r[1] }(c, _, C)) : C[0] + _ + C[1] } function f(e) { return "[" + Error.prototype.toString.call(e) + "]" } function p(e, t, r, n, i, o) { var a, s, u; if ((u = Object.getOwnPropertyDescriptor(t, i) || { value: t[i] }).get ? s = u.set ? e.stylize("[Getter/Setter]", "special") : e.stylize("[Getter]", "special") : u.set && (s = e.stylize("[Setter]", "special")), I(n, i) || (a = "[" + i + "]"), s || (e.seen.indexOf(u.value) < 0 ? (s = v(r) ? l(e, u.value, null) : l(e, u.value, r - 1)).indexOf("\n") > -1 && (s = o ? s.split("\n").map((function(e) { return " " + e })).join("\n").substr(2) : "\n" + s.split("\n").map((function(e) { return " " + e })).join("\n")) : s = e.stylize("[Circular]", "special")), b(a)) { if (o && i.match(/^\d+$/)) return s; (a = JSON.stringify("" + i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (a = a.substr(1, a.length - 2), a = e.stylize(a, "name")) : (a = a.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), a = e.stylize(a, "string")) } return a + ": " + s } function d(e) { return Array.isArray(e) } function h(e) { return "boolean" == typeof e } function v(e) { return null === e } function m(e) { return "number" == typeof e } function y(e) { return "string" == typeof e } function b(e) { return void 0 === e } function g(e) { return _(e) && "[object RegExp]" === E(e) } function _(e) { return "object" == typeof e && null !== e } function T(e) { return _(e) && "[object Date]" === E(e) } function S(e) { return _(e) && ("[object Error]" === E(e) || e instanceof Error) } function A(e) { return "function" == typeof e } function E(e) { return Object.prototype.toString.call(e) } function C(e) { return e < 10 ? "0" + e.toString(10) : e.toString(10) } t.debuglog = function(r) { if (b(o) && (o = e.env.NODE_DEBUG || ""), r = r.toUpperCase(), !a[r]) if (new RegExp("\\b" + r + "\\b", "i").test(o)) { var n = e.pid; a[r] = function() { var e = t.format.apply(t, arguments); console.error("%s %d: %s", r, n, e) } } else a[r] = function() {}; return a[r] }, t.inspect = s, s.colors = { bold: [1, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], white: [37, 39], grey: [90, 39], black: [30, 39], blue: [34, 39], cyan: [36, 39], green: [32, 39], magenta: [35, 39], red: [31, 39], yellow: [33, 39] }, s.styles = { special: "cyan", number: "yellow", boolean: "yellow", undefined: "grey", null: "bold", string: "green", date: "magenta", regexp: "red" }, t.isArray = d, t.isBoolean = h, t.isNull = v, t.isNullOrUndefined = function(e) { return null == e }, t.isNumber = m, t.isString = y, t.isSymbol = function(e) { return "symbol" == typeof e }, t.isUndefined = b, t.isRegExp = g, t.isObject = _, t.isDate = T, t.isError = S, t.isFunction = A, t.isPrimitive = function(e) { return null === e || "boolean" == typeof e || "number" == typeof e || "string" == typeof e || "symbol" == typeof e || void 0 === e }, t.isBuffer = r(1019); var O = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; function w() { var e = new Date, t = [C(e.getHours()), C(e.getMinutes()), C(e.getSeconds())].join(":"); return [e.getDate(), O[e.getMonth()], t].join(" ") } function I(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } t.log = function() { console.log("%s - %s", w(), t.format.apply(t, arguments)) }, t.inherits = r(1020), t._extend = function(e, t) { if (!t || !_(t)) return e; for (var r = Object.keys(t), n = r.length; n--;) e[r[n]] = t[r[n]]; return e }; var P = "undefined" != typeof Symbol ? Symbol("util.promisify.custom") : void 0; function x(e, t) { if (!e) { var r = new Error("Promise was rejected with a falsy value"); r.reason = e, e = r } return t(e) } t.promisify = function(e) { if ("function" != typeof e) throw new TypeError('The "original" argument must be of type Function'); if (P && e[P]) { var t; if ("function" != typeof(t = e[P])) throw new TypeError('The "util.promisify.custom" argument must be of type Function'); return Object.defineProperty(t, P, { value: t, enumerable: !1, writable: !1, configurable: !0 }), t } function t() { for (var t, r, n = new Promise((function(e, n) { t = e, r = n })), i = [], o = 0; o < arguments.length; o++) i.push(arguments[o]); i.push((function(e, n) { e ? r(e) : t(n) })); try { e.apply(this, i) } catch (e) { r(e) } return n } return Object.setPrototypeOf(t, Object.getPrototypeOf(e)), P && Object.defineProperty(t, P, { value: t, enumerable: !1, writable: !1, configurable: !0 }), Object.defineProperties(t, n(e)) }, t.promisify.custom = P, t.callbackify = function(t) { if ("function" != typeof t) throw new TypeError('The "original" argument must be of type Function'); function r() { for (var r = [], n = 0; n < arguments.length; n++) r.push(arguments[n]); var i = r.pop(); if ("function" != typeof i) throw new TypeError("The last argument must be of type Function"); var o = this, a = function() { return i.apply(o, arguments) }; t.apply(this, r).then((function(t) { e.nextTick(a, null, t) }), (function(t) { e.nextTick(x, t, a) })) } return Object.setPrototypeOf(r, Object.getPrototypeOf(t)), Object.defineProperties(r, n(t)), r } }).call(this, r(26)) }, function(e, t) { var r = function(e, t) { Error.call(this, e), Error.captureStackTrace && Error.captureStackTrace(this, this.constructor), this.name = "JsonWebTokenError", this.message = e, t && (this.inner = t) }; (r.prototype = Object.create(Error.prototype)).constructor = r, e.exports = r }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().localizedGlobalizeState }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { e.exports = function() { "use strict"; function e(t) { return (e = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(t) } function t(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } function r(e) { return function() { var r = this, n = arguments; return new Promise((function(i, o) { var a = e.apply(r, n); function s(e) { t(a, i, o, s, u, "next", e) } function u(e) { t(a, i, o, s, u, "throw", e) } s(void 0) })) } } function n(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function i(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function o(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? i(r, !0).forEach((function(t) { n(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : i(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function a(e) { return function(e) { if (Array.isArray(e)) return e }(e) || u(e) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } function s(e) { return function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } }(e) || u(e) || function() { throw new TypeError("Invalid attempt to spread non-iterable instance") }() } function u(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) } var c = Object.is || function(e, t) { return e === t ? 0 !== e || 1 / e == 1 / t : e != e && t != t }; function l(e, t, r) { p(t); var n = function e(t, r) { if (r.length) { var n = a(r), i = n[0], o = n.slice(1); if ("function" == typeof i) { var u = []; if (Array.isArray(t)) for (var c = 0, l = t.length; c < l; c++) i.call(t, t[c], c) && u.push.apply(u, s(e(t, [c].concat(s(o))))); else for (var f in t || {}) i.call(t, t[f], f) && u.push.apply(u, s(e(t, [f].concat(s(o))))); return u } var p = e(void 0 !== t && t[i], o); return p ? p.map((function(e) { return [i].concat(s(e)) })) : [ [i] ] } }(e, t), i = !0, o = !1, u = void 0; try { for (var c, l = n[Symbol.iterator](); !(i = (c = l.next()).done); i = !0) { var f = c.value; e = y(e, f, r ? r(m(e, f)) : void 0) } } catch (e) { o = !0, u = e } finally { try { i || null == l.return || l.return() } finally { if (o) throw u } } return e } function f() { return (f = r(regeneratorRuntime.mark((function e(t, r, n) { var i, o, a, s, u, c, l; return regeneratorRuntime.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return p(r), e.next = 3, h(t, r); case 3: i = e.sent, a = !(o = !0), s = void 0, e.prev = 7, u = i[Symbol.iterator](); case 9: if (o = (c = u.next()).done) { e.next = 26; break } if (l = c.value, e.t0 = y, e.t1 = t, e.t2 = l, n) return e.next = 17, n(m(t, l)); e.next = 20; break; case 17: e.t3 = e.sent, e.next = 21; break; case 20: e.t3 = void 0; case 21: e.t4 = e.t3, t = (0, e.t0)(e.t1, e.t2, e.t4); case 23: o = !0, e.next = 9; break; case 26: e.next = 32; break; case 28: e.prev = 28, e.t5 = e.catch(7), a = !0, s = e.t5; case 32: e.prev = 32, e.prev = 33, o || null == u.return || u.return(); case 35: if (e.prev = 35, a) throw s; e.next = 38; break; case 38: return e.finish(35); case 39: return e.finish(32); case 40: return e.abrupt("return", t); case 41: case "end": return e.stop() } }), e, null, [ [7, 28, 32, 40], [33, , 35, 39] ]) })))).apply(this, arguments) } function p(e) { if (!Array.isArray(e)) throw new Error("path must be an array") } l.updateInAsync = function(e, t, r) { return f.apply(this, arguments) }; var d = ["__proto__", "constructor", "prototype"]; function h(e, t) { return v.apply(this, arguments) } function v() { return (v = r(regeneratorRuntime.mark((function e(t, r) { var n, i, o, u, c, l, f, p; return regeneratorRuntime.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (r.length) { e.next = 2; break } return e.abrupt("return"); case 2: if (n = a(r), i = n[0], o = n.slice(1), "function" != typeof i) { e.next = 43; break } if (u = [], !Array.isArray(t)) { e.next = 25; break } c = 0, l = t.length; case 7: if (c < l) return e.next = 10, i.call(t, t[c], c); e.next = 23; break; case 10: if (e.t0 = e.sent, e.t0) return e.t1 = u.push, e.t2 = u, e.t3 = s, e.next = 17, h(t, [c].concat(s(o))); e.next = 20; break; case 17: e.t4 = e.sent, e.t5 = (0, e.t3)(e.t4), e.t1.apply.call(e.t1, e.t2, e.t5); case 20: c++, e.next = 7; break; case 23: e.next = 42; break; case 25: e.t6 = regeneratorRuntime.keys(t || {}); case 26: if ((e.t7 = e.t6()).done) { e.next = 42; break } return f = e.t7.value, e.next = 30, i.call(t, t[f], f); case 30: if (e.t8 = e.sent, e.t8) return e.t9 = u.push, e.t10 = u, e.t11 = s, e.next = 37, h(t, [f].concat(s(o))); e.next = 40; break; case 37: e.t12 = e.sent, e.t13 = (0, e.t11)(e.t12), e.t9.apply.call(e.t9, e.t10, e.t13); case 40: e.next = 26; break; case 42: return e.abrupt("return", u); case 43: return e.next = 45, h(void 0 !== t && t[i], o); case 45: return p = e.sent, e.abrupt("return", p ? p.map((function(e) { return [i].concat(s(e)) })) : [ [i] ]); case 47: case "end": return e.stop() } }), e) })))).apply(this, arguments) } function m(e, t) { return t.reduce((function(e, t) { return e && e[t] }), e) } function y(t, r, i) { if (!r.length) return i; var u, l = a(r), f = l[0], p = l.slice(1), h = void 0 !== t && t[f], v = t; if (u = f, d.includes(u)) return t; if ("string" != typeof f || "object" === e(v) && !Array.isArray(v) ? "number" != typeof f || Array.isArray(v) || (v = []) : v = {}, "number" == typeof f) { var m = y(h, p, i); return void 0 === m ? void 0 === t ? t : (f in v && (v = s(v)).splice(f, 1), v) : c(m, h) ? t : ((v = s(v))[f] = m, v) } var b = y(h, p, i); return void 0 === b ? void 0 === t ? t : (f in v && delete(v = o({}, v))[f], v) : c(b, h) ? t : o({}, v, n({}, f, b)) } return l }() }, function(e, t) { e.exports = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.useSelector)((function(e) { return e.dictateInterims })) || [], (0, o.default)().setDictateInterims] }; var n, i = r(38), o = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.useSelector)((function(e) { return e.sendBoxValue })), (0, o.default)().setSendBox] }; var n, i = r(38), o = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().stopDictate }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, o.default)().submitSendBox, t = (0, i.default)(); return (0, n.useCallback)((function() { var r = (arguments.length <= 0 ? void 0 : arguments[0]) || "keyboard"; return t("submitSendBox", r), e.apply(void 0, arguments) }), [e, t]) }; var n = r(0), i = a(r(192)), o = a(r(4)); function a(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, a.default)().onTelemetry, t = (0, o.default)(), r = (0, n.useCallback)((function(r, n, o) { if (!n || "string" != typeof n) return console.warn('botframework-webchat: "name" passed to "useTrackEvent" hook must be a string.'); if (void 0 !== o) if (a = o, "[object Object]" === Object.prototype.toString.call(a)) { if (!Object.values(o).every((function(e) { return u(e) }))) return console.warn('botframework-webchat: Every value in "data" map passed to "useTrackEvent" hook must be a non-negative finite number or string.') } else if (!u(o)) return console.warn('botframework-webchat: "data" passed to "useTrackEvent" hook must be a non-negative finite number or string.'); var a; e && e((0, i.default)("event", { data: o, dimensions: t(), level: r, name: n })) }), [e, t]); return (0, n.useMemo)((function() { var e = r.bind(null, "info"); return e.debug = r.bind(null, "debug"), e.error = r.bind(null, "error"), e.info = e, e.warn = r.bind(null, "warn"), e }), [r]) }; var n = r(0), i = s(r(139)), o = s(r(295)), a = s(r(4)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e) { return "number" == typeof e && isFinite(e) && e >= 0 || "string" == typeof e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "Composer", { enumerable: !0, get: function() { return i.default } }), Object.defineProperty(t, "Context", { enumerable: !0, get: function() { return o.default } }), Object.defineProperty(t, "createBasicStyleSet", { enumerable: !0, get: function() { return a.default } }), Object.defineProperty(t, "Dots", { enumerable: !0, get: function() { return s.default } }), Object.defineProperty(t, "FilmStrip", { enumerable: !0, get: function() { return u.default } }), Object.defineProperty(t, "Flipper", { enumerable: !0, get: function() { return c.default } }), Object.defineProperty(t, "ScrollBar", { enumerable: !0, get: function() { return l.default } }), t.default = void 0; var n = f(r(1187)), i = f(r(525)), o = f(r(74)), a = f(r(527)), s = f(r(528)), u = f(r(529)), c = f(r(530)), l = f(r(531)); function f(e) { return e && e.__esModule ? e : { default: e } } var p = n.default; if (t.default = p, "undefined" != typeof document && document.head) { var d = document.createElement("meta"); d.setAttribute("name", "react-film"), d.setAttribute("content", "version=".concat("2.1.0")), document.head.appendChild(d) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 5; return (0, i.default)().toString(36).substr(2, e) }; var n, i = (n = r(298)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, a.default)().onTelemetry, t = (0, o.default)(); return (0, n.useCallback)((function(r) { var n = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1]; if (!(r instanceof Error)) return console.warn('botframework-webchat: "error" passed to "useTrackException" must be specified and of type Error.'); e && e((0, i.default)("exception", { dimensions: c({}, t()), error: r, fatal: !!n })) }), [e, t]) }; var n = r(0), i = s(r(139)), o = s(r(295)), a = s(r(4)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function c(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? u(Object(r), !0).forEach((function(t) { l(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : u(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function l(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, n.useSelector)((function(e) { return e.activities }))] }; var n = r(38) }, function(e, t, r) { "use strict"; var n = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(0)).default.createContext(); t.default = i }, function(e, t, r) { "use strict"; var n = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { var r = e.ponyfill, n = e.speak, l = e.speechSynthesis, f = e.speechSynthesisUtterance, p = e.text, d = (0, o.default)(e, ["ponyfill", "speak", "speechSynthesis", "speechSynthesisUtterance", "text"]); r || !l && !f || (c.ponyfill && (console.warn('react-say: "speechSynthesis" and "speechSynthesisUtterance" props has been renamed to "ponyfill". Please update your code. The deprecated props will be removed in version >= 3.0.0.'), c.ponyfill = !1), r = { speechSynthesis: l, SpeechSynthesisUtterance: f }); t !== a.default && t !== s.default || n && !p && (c.saySpeak && (console.warn('react-say: "speak" prop has been renamed to "text". Please update your code. The deprecated props will be removed in version >= 3.0.0.'), c.saySpeak = !1), p = n); return function(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? u(r, !0).forEach((function(t) { (0, i.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : u(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e }({ ponyfill: r, text: p }, d) }; var i = n(r(302)), o = n(r(303)), a = n(r(301)), s = n(r(557)); function u(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } var c = { ponyfill: !0, saySpeak: !0 } }, function(e, t, r) { var n, i, o; ! function(a, s) { "use strict"; i = [r(140)], void 0 === (o = "function" == typeof(n = function(e) { var t = e._createError, r = (e._regexpEscape, e._runtimeKey), n = e._stringPad, i = e._validateParameterType, o = e._validateParameterPresence, a = e._validateParameterTypeString, s = function(e) { return t("E_UNSUPPORTED", "Unsupported {feature}.", { feature: e }) }, u = function(e, t) { i(e, t, void 0 === e || "number" == typeof e, "Number") }, c = /^([^0]*)(0+)([^0]*)$/, l = function(e, t, r) { var n; return n = Math.ceil(Math.log(Math.abs(e)) / Math.log(10)), r(e, { exponent: n -= t }) }, f = function(e) { return e[0] + e[e.length - 1] !== "''" ? e : "''" === e ? "" : e.replace(/''/g, "'").slice(1, -1) }, p = function(e, t, r) { var i, o, a, u, p, d, h, v, m, y, b, g, _, T, S, A, E, C, O, w, I, P, x; return t[1], d = t[2], p = t[3], a = t[4], h = t[5], u = t[6], S = t[7], b = t[8], A = t[9], T = t[15], o = t[16], v = t[17], C = t[18], m = t[19], i = t[20], isNaN(e) ? v : (e < 0 ? (g = t[12], y = t[13], E = t[14]) : (g = t[11], y = t[0], E = t[10]), isFinite(e) ? (-1 !== g.indexOf("%") ? e *= 100 : -1 !== g.indexOf("\u2030") && (e *= 1e3), i && (P = Math.abs(Math.floor(e)).toString().length - 1, (P = Math.min(P, i.maxExponent)) >= 3 && (O = i[P] && i[P].other), "0" === O ? O = null : O && (I = P - (O.split("0").length - 1 - 1), e /= Math.pow(10, I))), e = isNaN(h * u) ? function(e, t, r, i, o, a) { return e = i ? o(e, a || { exponent: -i }) : o(e), e = String(e), i && /e-/.test(e) && (e = (+e).toFixed(i).replace(/0+$/, "").replace(/\.$/, "")), r && ((e = e.split("."))[1] = n(e[1] || "", r, !0), e = e.join(".")), t && ((e = e.split("."))[0] = n(e[0], t), e = e.join(".")), e }(e, d, p, a, T, S) : function(e, t, r, i) { var o, a; if (t > r && (r = t), e = (+(e = +(o = l(e, t, i)) == +(a = l(e, r, i)) ? o : a)).toString(10), /e/.test(e)) throw s({ feature: "integers out of (1e21, 1e-7)" }); return t - e.replace(/^0+|\./g, "").length > 0 && ((e = e.split("."))[1] = n(e[1] || "", t - e[0].replace(/^0+/, "").length, !0), e = e.join(".")), e }(e, h, u, T), i && O && (x = r ? r(+e) : "other", y += (w = (O = i[P][x] || O).match(c))[1], E = w[3] + E), e = e.replace(/^-/, ""), b && (e = function(e, t, r) { var n, i = t, o = "", a = !!r; for (n = (e = String(e).split("."))[0].length; n > i;) o = e[0].slice(n - i, n) + (o.length ? "," : "") + o, n -= i, a && (i = r, a = !1); return e[0] = e[0].slice(0, n) + (o.length ? "," : "") + o, e.join(".") }(e, b, A)), _ = y, _ += e, (_ += E).replace(/('([^']|'')+'|'')|./g, (function(e, t) { return t ? f(t) : (e = e.replace(/[.,\-+E%\u2030]/, (function(e) { return C[e] })), m && (e = e.replace(/[0-9]/, (function(e) { return m[+e] }))), e) }))) : y + o + E) }, d = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g, h = /[\-\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u2E40\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D\u2212]/g, v = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/g, m = function(e) { return e.replace(d, "").replace(h, "-").replace(v, " ") }, y = function(e, t) { var r, n, i, o, a, s, u, c, l; return r = [ ["nan"], ["prefix", "infinity", "suffix"], ["prefix", "number", "suffix"], ["negativePrefix", "infinity", "negativeSuffix"], ["negativePrefix", "number", "negativeSuffix"] ], i = t[0], n = t[1] || {}, l = t[2], ! function(e, t) { return t.some((function(t) { var r = e; return t.every((function(e) { return null !== r.match(l[e]) && (r = r.replace(l[e], function(e) { return function(t) { switch (t = t.split("").map((function(e) { return i[e] || n[e] || e })).join(""), e) { case "infinity": a = 1 / 0; break; case "nan": a = NaN; break; case "number": t = t.replace(/,/g, ""), a = +t; break; case "prefix": case "negativePrefix": s = t; break; case "suffix": c = t; break; case "negativeSuffix": c = t, o = !0; break; default: throw new Error("Internal error") } return "" } }(e)), !0) })) && !r.length })) }(e = m(e), r) || isNaN(a) ? NaN : (-1 !== (u = "" + s + c).indexOf("%") ? a /= 100 : -1 !== u.indexOf("\u2030") && (a /= 1e3), o && (a *= -1), a) }, b = function(e) { return isNaN(e) ? NaN : Math[e < 0 ? "ceil" : "floor"](e) }; return e._createErrorUnsupportedFeature = s, e._looseMatching = m, e._numberFormat = p, e._numberFormatterFn = function(e, t) { return function(r) { return o(r, "value"), u(r, "value"), p(r, e, t) } }, e._numberParse = y, e._numberParserFn = function(e) { return function(t) { return o(t, "value"), a(t, "value"), y(t, e) } }, e._numberRound = function(e) { return e = "truncate" === (e = e || "round") ? b : Math[e], function(t, r) { var n, i; if (t = +t, isNaN(t)) return NaN; if ("object" == typeof r && r.exponent) { if (i = 1, 0 === (n = +r.exponent)) return e(t); if ("number" != typeof n || n % 1 != 0) return NaN } else { if (1 === (i = +r || 1)) return e(t); if (isNaN(i)) return NaN; n = +(i = i.toExponential().split("e"))[1], i = +i[0] } return (t = t.toString().split("e"))[0] = +t[0] / i, t[1] = t[1] ? +t[1] - n : -n, (t = (t = e(+(t[0] + "e" + t[1]))).toString().split("e"))[0] = +t[0] * i, t[1] = t[1] ? +t[1] + n : n, +(t[0] + "e" + t[1]) } }, e._removeLiteralQuotes = f, e._validateParameterPresence = o, e._validateParameterTypeNumber = u, e._validateParameterTypeString = a, e.numberFormatter = e.prototype.numberFormatter = function(t) { return t = t || {}, function(t) { return e[t].runtimeKey = t, e[t] }(r("numberFormatter", this._locale, [t])) }, e.numberParser = e.prototype.numberParser = function(t) { return t = t || {}, e[r("numberParser", this._locale, [t])] }, e.formatNumber = e.prototype.formatNumber = function(e, t) { return o(e, "value"), u(e, "value"), this.numberFormatter(t)(e) }, e.parseNumber = e.prototype.parseNumber = function(e, t) { return o(e, "value"), a(e, "value"), this.numberParser(t)(e) }, e }) ? n.apply(t, i) : n) || (e.exports = o) }() }, function(e, t, r) { (function(e) { function r(e, t) { for (var r = 0, n = e.length - 1; n >= 0; n--) { var i = e[n]; "." === i ? e.splice(n, 1) : ".." === i ? (e.splice(n, 1), r++) : r && (e.splice(n, 1), r--) } if (t) for (; r--; r) e.unshift(".."); return e } function n(e, t) { if (e.filter) return e.filter(t); for (var r = [], n = 0; n < e.length; n++) t(e[n], n, e) && r.push(e[n]); return r } t.resolve = function() { for (var t = "", i = !1, o = arguments.length - 1; o >= -1 && !i; o--) { var a = o >= 0 ? arguments[o] : e.cwd(); if ("string" != typeof a) throw new TypeError("Arguments to path.resolve must be strings"); a && (t = a + "/" + t, i = "/" === a.charAt(0)) } return (i ? "/" : "") + (t = r(n(t.split("/"), (function(e) { return !!e })), !i).join("/")) || "." }, t.normalize = function(e) { var o = t.isAbsolute(e), a = "/" === i(e, -1); return (e = r(n(e.split("/"), (function(e) { return !!e })), !o).join("/")) || o || (e = "."), e && a && (e += "/"), (o ? "/" : "") + e }, t.isAbsolute = function(e) { return "/" === e.charAt(0) }, t.join = function() { var e = Array.prototype.slice.call(arguments, 0); return t.normalize(n(e, (function(e, t) { if ("string" != typeof e) throw new TypeError("Arguments to path.join must be strings"); return e })).join("/")) }, t.relative = function(e, r) { function n(e) { for (var t = 0; t < e.length && "" === e[t]; t++); for (var r = e.length - 1; r >= 0 && "" === e[r]; r--); return t > r ? [] : e.slice(t, r - t + 1) } e = t.resolve(e).substr(1), r = t.resolve(r).substr(1); for (var i = n(e.split("/")), o = n(r.split("/")), a = Math.min(i.length, o.length), s = a, u = 0; u < a; u++) if (i[u] !== o[u]) { s = u; break } var c = []; for (u = s; u < i.length; u++) c.push(".."); return (c = c.concat(o.slice(s))).join("/") }, t.sep = "/", t.delimiter = ":", t.dirname = function(e) { if ("string" != typeof e && (e += ""), 0 === e.length) return "."; for (var t = e.charCodeAt(0), r = 47 === t, n = -1, i = !0, o = e.length - 1; o >= 1; --o) if (47 === (t = e.charCodeAt(o))) { if (!i) { n = o; break } } else i = !1; return -1 === n ? r ? "/" : "." : r && 1 === n ? "/" : e.slice(0, n) }, t.basename = function(e, t) { var r = function(e) { "string" != typeof e && (e += ""); var t, r = 0, n = -1, i = !0; for (t = e.length - 1; t >= 0; --t) if (47 === e.charCodeAt(t)) { if (!i) { r = t + 1; break } } else -1 === n && (i = !1, n = t + 1); return -1 === n ? "" : e.slice(r, n) }(e); return t && r.substr(-1 * t.length) === t && (r = r.substr(0, r.length - t.length)), r }, t.extname = function(e) { "string" != typeof e && (e += ""); for (var t = -1, r = 0, n = -1, i = !0, o = 0, a = e.length - 1; a >= 0; --a) { var s = e.charCodeAt(a); if (47 !== s) - 1 === n && (i = !1, n = a + 1), 46 === s ? -1 === t ? t = a : 1 !== o && (o = 1) : -1 !== t && (o = -1); else if (!i) { r = a + 1; break } } return -1 === t || -1 === n || 0 === o || 1 === o && t === n - 1 && t === r + 1 ? "" : e.slice(t, n) }; var i = "b" === "ab".substr(-1) ? function(e, t, r) { return e.substr(t, r) } : function(e, t, r) { return t < 0 && (t = e.length + t), e.substr(t, r) } }).call(this, r(26)) }, function(e, t, r) { "use strict"; var n = r(587), i = r(1379), o = r(141), a = r(588), s = r(589), u = r(1380); e.exports = function(e, t) { var r, o, a = {}; t || (t = {}); for (o in p) r = t[o], a[o] = null == r ? p[o] : r; (a.position.indent || a.position.start) && (a.indent = a.position.indent || [], a.position = a.position.start); return function(e, t) { var r, o, a, p, g, _, T, S, A, E, C, O, w, I, P, x, N, k, R, L = t.additional, M = t.nonTerminated, j = t.text, D = t.reference, U = t.warning, B = t.textContext, F = t.referenceContext, z = t.warningContext, V = t.position, G = t.indent || [], q = e.length, H = 0, W = -1, Y = V.column || 1, K = V.line || 1, $ = "", J = []; "string" == typeof L && (L = L.charCodeAt(0)); x = Z(), S = U ? function(e, t) { var r = Z(); r.column += t, r.offset += t, U.call(z, y[e], r, e) } : f, H--, q++; for (; ++H < q;) if (10 === g && (Y = G[W] || 1), 38 === (g = e.charCodeAt(H))) { if (9 === (T = e.charCodeAt(H + 1)) || 10 === T || 12 === T || 32 === T || 38 === T || 60 === T || T != T || L && T === L) { $ += l(g), Y++; continue } for (O = w = H + 1, R = w, 35 === T ? (R = ++O, 88 === (T = e.charCodeAt(R)) || 120 === T ? (I = h, R = ++O) : I = "decimal") : I = d, r = "", C = "", p = "", P = m[I], R--; ++R < q && (T = e.charCodeAt(R), P(T));) p += l(T), I === d && c.call(n, p) && (r = p, C = n[p]); (a = 59 === e.charCodeAt(R)) && (R++, (o = I === d && u(p)) && (r = p, C = o)), k = 1 + R - w, (a || M) && (p ? I === d ? (a && !C ? S(5, 1) : (r !== p && (R = O + r.length, k = 1 + R - O, a = !1), a || (A = r ? 1 : 3, t.attribute ? 61 === (T = e.charCodeAt(R)) ? (S(A, k), C = null) : s(T) ? C = null : S(A, k) : S(A, k))), _ = C) : (a || S(2, k), _ = parseInt(p, v[I]), (X = _) >= 55296 && X <= 57343 || X > 1114111 ? (S(7, k), _ = l(65533)) : _ in i ? (S(6, k), _ = i[_]) : (E = "", b(_) && S(6, k), _ > 65535 && (E += l((_ -= 65536) >>> 10 | 55296), _ = 56320 | 1023 & _), _ = E + l(_))) : I !== d && S(4, k)), _ ? (Q(), x = Z(), H = R - 1, Y += R - w + 1, J.push(_), (N = Z()).offset++, D && D.call(F, _, { start: x, end: N }, e.slice(w - 1, R)), x = N) : (p = e.slice(w - 1, R), $ += p, Y += p.length, H = R - 1) } else 10 === g && (K++, W++, Y = 0), g == g ? ($ += l(g), Y++) : Q(); var X; return J.join(""); function Z() { return { line: K, column: Y, offset: H + (V.offset || 0) } } function Q() { $ && (J.push($), j && j.call(B, $, { start: x, end: Z() }), $ = "") } }(e, a) }; var c = {}.hasOwnProperty, l = String.fromCharCode, f = Function.prototype, p = { warning: null, reference: null, text: null, warningContext: null, referenceContext: null, textContext: null, position: {}, additional: null, attribute: !1, nonTerminated: !0 }, d = "named", h = "hexadecimal", v = { hexadecimal: 16, decimal: 10 }, m = {}; m.named = s, m.decimal = o, m[h] = a; var y = {}; function b(e) { return e >= 1 && e <= 8 || 11 === e || e >= 13 && e <= 31 || e >= 127 && e <= 159 || e >= 64976 && e <= 65007 || 65535 == (65535 & e) || 65534 == (65535 & e) } y[1] = "Named character references must be terminated by a semicolon", y[2] = "Numeric character references must be terminated by a semicolon", y[3] = "Named character references cannot be empty", y[4] = "Numeric character references cannot be empty", y[5] = "Named character references must be known", y[6] = "Numeric character references cannot be disallowed", y[7] = "Numeric character references cannot be outside the permissible Unicode range" }, function(e, t) { e.exports = function(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { var n = r(65), i = r(638), o = r(156), a = r(145), s = r(355), u = r(52), c = r(636), l = Object.getOwnPropertyDescriptor; t.f = n ? l : function(e, t) { if (e = a(e), t = s(t, !0), c) try { return l(e, t) } catch (e) {} if (u(e, t)) return o(!i.f.call(e, t), e[t]) } }, function(e, t, r) { var n = r(35), i = r(53), o = r(32)("species"); e.exports = function(e, t) { var r, a = n(e).constructor; return void 0 === a || null == (r = n(a)[o]) ? t : i(r) } }, function(e, t) { e.exports = function(e) { try { return { error: !1, value: e() } } catch (e) { return { error: !0, value: e } } } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(12), o = r(39), a = r(148), s = r(655), u = r(1530), c = r(331), l = function(e) { function t(t) { e.call(this, t), this.destination = t } return n(t, e), t }(o.Subscriber); t.SubjectSubscriber = l; var f = function(e) { function t() { e.call(this), this.observers = [], this.closed = !1, this.isStopped = !1, this.hasError = !1, this.thrownError = null } return n(t, e), t.prototype[c.rxSubscriber] = function() { return new l(this) }, t.prototype.lift = function(e) { var t = new p(this, this); return t.operator = e, t }, t.prototype.next = function(e) { if (this.closed) throw new s.ObjectUnsubscribedError; if (!this.isStopped) for (var t = this.observers, r = t.length, n = t.slice(), i = 0; i < r; i++) n[i].next(e) }, t.prototype.error = function(e) { if (this.closed) throw new s.ObjectUnsubscribedError; this.hasError = !0, this.thrownError = e, this.isStopped = !0; for (var t = this.observers, r = t.length, n = t.slice(), i = 0; i < r; i++) n[i].error(e); this.observers.length = 0 }, t.prototype.complete = function() { if (this.closed) throw new s.ObjectUnsubscribedError; this.isStopped = !0; for (var e = this.observers, t = e.length, r = e.slice(), n = 0; n < t; n++) r[n].complete(); this.observers.length = 0 }, t.prototype.unsubscribe = function() { this.isStopped = !0, this.closed = !0, this.observers = null }, t.prototype._trySubscribe = function(t) { if (this.closed) throw new s.ObjectUnsubscribedError; return e.prototype._trySubscribe.call(this, t) }, t.prototype._subscribe = function(e) { if (this.closed) throw new s.ObjectUnsubscribedError; return this.hasError ? (e.error(this.thrownError), a.Subscription.EMPTY) : this.isStopped ? (e.complete(), a.Subscription.EMPTY) : (this.observers.push(e), new u.SubjectSubscription(this, e)) }, t.prototype.asObservable = function() { var e = new i.Observable; return e.source = this, e }, t.create = function(e, t) { return new p(e, t) }, t }(i.Observable); t.Subject = f; var p = function(e) { function t(t, r) { e.call(this), this.destination = t, this.source = r } return n(t, e), t.prototype.next = function(e) { var t = this.destination; t && t.next && t.next(e) }, t.prototype.error = function(e) { var t = this.destination; t && t.error && this.destination.error(e) }, t.prototype.complete = function() { var e = this.destination; e && e.complete && this.destination.complete() }, t.prototype._subscribe = function(e) { return this.source ? this.source.subscribe(e) : a.Subscription.EMPTY }, t }(f); t.AnonymousSubject = p }, function(e, t, r) { "use strict"; t.isArray = Array.isArray || function(e) { return e && "number" == typeof e.length } }, function(e, t, r) { "use strict"; t.errorObject = { e: {} } }, function(e, t, r) { "use strict"; var n = r(1531), i = r(1533); t.async = new i.AsyncScheduler(n.AsyncAction) }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t() { e.apply(this, arguments) } return n(t, e), t.prototype.notifyNext = function(e, t, r, n, i) { this.destination.next(t) }, t.prototype.notifyError = function(e, t) { this.destination.error(e) }, t.prototype.notifyComplete = function(e) { this.destination.complete() }, t }(r(39).Subscriber); t.OuterSubscriber = i }, function(e, t, r) { "use strict"; var n = r(67), i = r(656), o = r(657), a = r(653), s = r(12), u = r(333), c = r(1538), l = r(332); t.subscribeToResult = function(e, t, r, f) { var p = new c.InnerSubscriber(e, r, f); if (p.closed) return null; if (t instanceof s.Observable) return t._isScalar ? (p.next(t.value), p.complete(), null) : (p.syncErrorThrowable = !0, t.subscribe(p)); if (i.isArrayLike(t)) { for (var d = 0, h = t.length; d < h && !p.closed; d++) p.next(t[d]); p.closed || p.complete() } else { if (o.isPromise(t)) return t.then((function(e) { p.closed || (p.next(e), p.complete()) }), (function(e) { return p.error(e) })).then(null, (function(e) { n.root.setTimeout((function() { throw e })) })), p; if (t && "function" == typeof t[u.iterator]) for (var v = t[u.iterator]();;) { var m = v.next(); if (m.done) { p.complete(); break } if (p.next(m.value), p.closed) break } else if (t && "function" == typeof t[l.observable]) { var y = t[l.observable](); if ("function" == typeof y.subscribe) return y.subscribe(new c.InnerSubscriber(e, r, f)); p.error(new TypeError("Provided object does not correctly implement Symbol.observable")) } else { var b = "You provided " + (a.isObject(t) ? "an invalid object" : "'" + t + "'") + " where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."; p.error(new TypeError(b)) } } return null } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t) { e.call(this), this.scheduler = t } return n(t, e), t.create = function(e) { return new t(e) }, t.dispatch = function(e) { e.subscriber.complete() }, t.prototype._subscribe = function(e) { var r = this.scheduler; if (r) return r.schedule(t.dispatch, 0, { subscriber: e }); e.complete() }, t }(r(12).Observable); t.EmptyObservable = i }, function(e, t) { e.exports = {} }, function(e, t) { e.exports = function(e) { if (null == e) throw TypeError("Can't call method on " + e); return e } }, function(e, t, r) { var n = r(327), i = Math.min; e.exports = function(e) { return e > 0 ? i(n(e), 9007199254740991) : 0 } }, function(e, t, r) { var n, i = r(35), o = r(1518), a = r(328), s = r(213), u = r(642), c = r(325), l = r(221), f = l("IE_PROTO"), p = function() {}, d = function(e) { return "<script>" + e + "<\/script>" }, h = function() { try { n = document.domain && new ActiveXObject("htmlfile") } catch (e) {} var e, t; h = n ? function(e) { e.write(d("")), e.close(); var t = e.parentWindow.Object; return e = null, t }(n) : ((t = c("iframe")).style.display = "none", u.appendChild(t), t.src = String("javascript:"), (e = t.contentWindow.document).open(), e.write(d("document.F=Object")), e.close(), e.F); for (var r = a.length; r--;) delete h.prototype[a[r]]; return h() }; s[f] = !0, e.exports = Object.create || function(e, t) { var r; return null !== e ? (p.prototype = i(e), r = new p, p.prototype = null, r[f] = e) : r = h(), void 0 === t ? r : o(r, t) } }, function(e, t, r) { "use strict"; var n = r(78), i = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(75)), a = i(r(1738)), s = r(37), u = i(r(1741)), c = i(r(31)), l = n(r(0)), f = i(r(1634)), p = i(r(150)), d = s.Components.ErrorBox, h = s.hooks.useDisabled, v = s.hooks.useLocalizer, m = s.hooks.usePerformCardAction, y = s.hooks.useRenderMarkdownAsHTML, b = s.hooks.useScrollToEnd, g = s.hooks.useStyleSet; function _(e, t) { var r = new Set(e.className.split(" ")); return !r.has(t) && (r.add(t), e.className = Array.from(r).join(" "), !0) } function T(e, t, r) { var n = e.getAttribute(t); if (n !== r) return e.setAttribute(t, r), function() { return n ? e.setAttribute(t, n) : e.removeAttribute(t) } } var S = function(e) { e.preventDefault(), e.stopImmediatePropagation(), e.stopPropagation() }; function A(e, t, r) { var n, i = function(e) { try { r(e) } finally { n() } }; return n = function() { return e.removeEventListener(t, i) }, e.addEventListener(t, i, { once: !0 }), n } function E(e) { var t = [], r = e === document.activeElement, n = e.nodeName.toLowerCase(); switch (n) { case "a": t.push(A(e, "click", S)); break; case "button": case "input": case "select": case "textarea": t.push(T(e, "aria-disabled", "true")), r ? t.push(A(e, "blur", (function() { return t.push(T(e, "disabled", "disabled")) }))) : t.push(T(e, "disabled", "disabled")), "input" === n || "textarea" === n ? (t.push(A(e, "click", S)), t.push(T(e, "readonly", "readonly"))) : "select" === n && t.push.apply(t, (0, a.default)([].map.call(e.querySelectorAll("option"), (function(e) { return T(e, "disabled", "disabled") })))) } return function() { return t.forEach((function(e) { return e && e() })) } } function C(e) { return [].filter.call(e.querySelectorAll(["a", "body", "button", "frame", "iframe", "img", "input", "isindex", "object", "select", "textarea", "[tabindex]"].join(", ")), (function(e) { var t = (0, s.getTabIndex)(e); return "number" == typeof t && t >= 0 })) } var O = function(e) { var t = e.actionPerformedClassName, r = e.adaptiveCard, n = e.disabled, i = e.tapAction, c = g(), S = (0, o.default)(c, 1)[0].adaptiveCardRenderer, A = (0, p.default)(), O = (0, o.default)(A, 1)[0], w = O.GlobalSettings, I = O.HostConfig, P = (0, l.useState)([]), x = (0, o.default)(P, 2), N = x[0], k = x[1], R = (0, f.default)(), L = (0, o.default)(R, 1)[0], M = h(), j = (0, o.default)(M, 1)[0], D = (0, l.useState)([]), U = (0, o.default)(D, 2), B = U[0], F = U[1], z = (0, l.useState)(0), V = (0, o.default)(z, 2), G = V[0], q = V[1], H = (0, l.useRef)(-1), W = (0, l.useRef)(), Y = (0, l.useRef)(), K = (0, l.useRef)([]), $ = v(), J = m(), X = y(), Z = b(), Q = j || n, ee = (0, l.useCallback)((function(e) { var t = e.key, r = e.target, n = e.type, o = Y.current.querySelector('.ac-adaptiveCard[tabindex="0"]'); if (!o) return console.warn("botframework-webchat: No Adaptive Card root container can be found, probably on an unsupported Adaptive Card version."); if ("keypress" === n) { if ("Enter" !== t && " " !== t) return; e.preventDefault() } if (r !== o) { var a = (0, s.getTabIndex)(r); if ("number" == typeof a && a >= 0) return } J(i), Z() }), [Y, J, Z, i]), te = !Q && i ? ee : void 0, re = (0, l.useCallback)((function(e) { return !~N.indexOf(e) && k([].concat((0, a.default)(N), [e])) }), [N, k]), ne = (0, l.useCallback)((function(e) { if (!Q) { re(e); var t = e.getJsonTypeName(); if ("Action.OpenUrl" === t) J({ type: "openUrl", value: e.url }); else if ("Action.Submit" === t) { if (void 0 !== e.data) { var r = e.data; if (r && r.__isBotFrameworkCardAction) { var n = r.cardAction, i = n.displayText, o = n.text, a = n.type, s = n.value; J({ displayText: i, text: o, type: a, value: s }) } else J({ type: "string" == typeof e.data ? "imBack" : "postBack", value: e.data }) } Z() } else console.error("Web Chat: received unknown action from Adaptive Cards"), console.error(e) } }), [re, Q, J, Z]); return (0, l.useLayoutEffect)((function() { var e, t = Y.current; t && r || (H.current = -1, K.current = []), r.constructor.onProcessMarkdown = function(e, t) { X && (t.outputHtml = X(e), t.didProcess = !0) }, L && (r.hostConfig = (e = L, Object.getPrototypeOf(e) === Object.prototype ? new I(L) : L)), w.setTabIndexAtCardRoot = !!i; var n, o = r.validateProperties().failures; if (o.length) return F(o.reduce((function(e, t) { var r = t.errors; return [].concat((0, a.default)(e), (0, a.default)(r.map((function(e) { var t = e.message; return new Error(t) })))) }), [])); try { n = r.render() } catch (e) { return F([e]) } return n ? (F([]), function(e, t) { var r = e.querySelectorAll("input, select, textarea"); [].forEach.call(r, (function(e, r) { var n = t[r]; if (void 0 !== n) { var i = e.tagName, o = e.type; "INPUT" !== i || "checkbox" !== o && "radio" !== o ? e.value = n : e.checked = n } })) }(n, K.current), t.appendChild(n), W.current = n, function(e, t) { var r = C(e)[t]; r && r.focus() }(n, H.current), q(Date.now()), function() { H.current = function(e) { return C(e).indexOf(document.activeElement) }(n), K.current = function(e) { var t = e.querySelectorAll("input, select, textarea"); return [].map.call(t, (function(e) { var t = e.checked, r = e.tagName, n = e.type, i = e.value; return "INPUT" !== r || "checkbox" !== n && "radio" !== n ? i : t })) }(n), t.removeChild(W.current), W.current = void 0 }) : F([new Error("Adaptive Card rendered as empty element")]) }), [r, L, Y, w, I, X, F, i]), (0, l.useEffect)((function() { r.onExecuteAction = Q ? void 0 : ne }), [r, Q, ne]), (0, l.useEffect)((function() { if (Q) return function e(t) { var r = !(arguments.length > 1 && void 0 !== arguments[1]) || arguments[1], n = [].map.call(t.querySelectorAll("a, button, input, select, textarea"), (function(e) { return E(e) })); if (n.push(T(t, "tabindex", "-1")), r) { var i = new MutationObserver((function(t) { return t.forEach((function(t) { var r = t.addedNodes; return n.push.apply(n, (0, a.default)(r.map((function(t) { return e(t, !1) })))) })) })); i.observe(t, { childList: !0, subtree: !0 }), n.push((function() { return i.disconnect() })) } return function() { return n.forEach((function(e) { return e && e() })) } }(W.current) }), [Q, G]), (0, l.useEffect)((function() { k([]) }), [r]), (0, l.useEffect)((function() { if (t) { var e = N.map((function(e) { var r = e.renderedElement; return r && W.current.contains(r) && function(e, t) { if (_(e, t)) { var r = new MutationObserver((function() { return _(e, t) })); return r.observe(e, { attributes: !0, attributeFilter: ["class"] }), function() { var n = new Set(e.className.split(" ")); n.delete(t), e.className = Array.from(n).join(" "), r.disconnect() } } }(r, t) })); return function() { return e.forEach((function(e) { return e && e() })) } } }), [N, t, G]), B.length ? l.default.createElement(d, { message: $("ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER") }, B.map((function(e, t) { var r = e.error, n = e.message; return (l.default.createElement("pre", { key: t }, JSON.stringify({ error: r, message: n }, null, 2))) }))) : l.default.createElement("div", { className: (0, u.default)(S + "", "webchat__adaptive-card-renderer"), onClick: te, onKeyPress: te, ref: Y }) }; O.defaultProps = { actionPerformedClassName: "", disabled: void 0, tapAction: void 0 }, O.propTypes = { actionPerformedClassName: c.default.string, adaptiveCard: c.default.any.isRequired, disabled: c.default.bool, tapAction: c.default.shape({ type: c.default.string.isRequired, value: c.default.string }) }; var w = O; t.default = w }, function(e, t) { e.exports = function(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t) { e.exports = function(e) { try { return !!e() } catch (e) { return !0 } } }, function(e, t) { e.exports = function(e) { return "object" == typeof e ? null !== e : "function" == typeof e } }, function(e, t, r) { var n = r(359), i = r(356), o = n("keys"); e.exports = function(e) { return o[e] || (o[e] = i(e)) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n, i = (n = r(748)) && "object" == typeof n && "default" in n ? n.default : n, o = function() { return Math.random().toString(36).substring(7).split("").join(".") }, a = { INIT: "@@redux/INIT" + o(), REPLACE: "@@redux/REPLACE" + o(), PROBE_UNKNOWN_ACTION: function() { return "@@redux/PROBE_UNKNOWN_ACTION" + o() } }; function s(e) { if ("object" != typeof e || null === e) return !1; for (var t = e; null !== Object.getPrototypeOf(t);) t = Object.getPrototypeOf(t); return Object.getPrototypeOf(e) === t } function u(e, t) { var r = t && t.type; return "Given " + (r && 'action "' + String(r) + '"' || "an action") + ', reducer "' + e + '" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.' } function c(e, t) { return function() { return t(e.apply(this, arguments)) } } function l(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function f(e, t) { var r = Object.keys(e); return Object.getOwnPropertySymbols && r.push.apply(r, Object.getOwnPropertySymbols(e)), t && (r = r.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r } function p(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? f(r, !0).forEach((function(t) { l(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : f(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function d() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return 0 === t.length ? function(e) { return e } : 1 === t.length ? t[0] : t.reduce((function(e, t) { return function() { return e(t.apply(void 0, arguments)) } })) } t.__DO_NOT_USE__ActionTypes = a, t.applyMiddleware = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return function(e) { return function() { var r = e.apply(void 0, arguments), n = function() { throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.") }, i = { getState: r.getState, dispatch: function() { return n.apply(void 0, arguments) } }, o = t.map((function(e) { return e(i) })); return p({}, r, { dispatch: n = d.apply(void 0, o)(r.dispatch) }) } } }, t.bindActionCreators = function(e, t) { if ("function" == typeof e) return c(e, t); if ("object" != typeof e || null === e) throw new Error("bindActionCreators expected an object or a function, instead received " + (null === e ? "null" : typeof e) + '. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?'); var r = {}; for (var n in e) { var i = e[n]; "function" == typeof i && (r[n] = c(i, t)) } return r }, t.combineReducers = function(e) { for (var t = Object.keys(e), r = {}, n = 0; n < t.length; n++) { var i = t[n]; 0, "function" == typeof e[i] && (r[i] = e[i]) } var o, s = Object.keys(r); try { ! function(e) { Object.keys(e).forEach((function(t) { var r = e[t]; if (void 0 === r(void 0, { type: a.INIT })) throw new Error('Reducer "' + t + "\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined."); if (void 0 === r(void 0, { type: a.PROBE_UNKNOWN_ACTION() })) throw new Error('Reducer "' + t + "\" returned undefined when probed with a random type. Don't try to handle " + a.INIT + ' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.') })) }(r) } catch (e) { o = e } return function(e, t) { if (void 0 === e && (e = {}), o) throw o; for (var n = !1, i = {}, a = 0; a < s.length; a++) { var c = s[a], l = r[c], f = e[c], p = l(f, t); if (void 0 === p) { var d = u(c, t); throw new Error(d) } i[c] = p, n = n || p !== f } return n ? i : e } }, t.compose = d, t.createStore = function e(t, r, n) { var o; if ("function" == typeof r && "function" == typeof n || "function" == typeof n && "function" == typeof arguments[3]) throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function."); if ("function" == typeof r && void 0 === n && (n = r, r = void 0), void 0 !== n) { if ("function" != typeof n) throw new Error("Expected the enhancer to be a function."); return n(e)(t, r) } if ("function" != typeof t) throw new Error("Expected the reducer to be a function."); var u = t, c = r, l = [], f = l, p = !1; function d() { f === l && (f = l.slice()) } function h() { if (p) throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store."); return c } function v(e) { if ("function" != typeof e) throw new Error("Expected the listener to be a function."); if (p) throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details."); var t = !0; return d(), f.push(e), function() { if (t) { if (p) throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details."); t = !1, d(); var r = f.indexOf(e); f.splice(r, 1) } } } function m(e) { if (!s(e)) throw new Error("Actions must be plain objects. Use custom middleware for async actions."); if (void 0 === e.type) throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?'); if (p) throw new Error("Reducers may not dispatch actions."); try { p = !0, c = u(c, e) } finally { p = !1 } for (var t = l = f, r = 0; r < t.length; r++) { (0, t[r])() } return e } function y(e) { if ("function" != typeof e) throw new Error("Expected the nextReducer to be a function."); u = e, m({ type: a.REPLACE }) } function b() { var e, t = v; return (e = { subscribe: function(e) { if ("object" != typeof e || null === e) throw new TypeError("Expected the observer to be an object."); function r() { e.next && e.next(h()) } return r(), { unsubscribe: t(r) } } })[i] = function() { return this }, e } return m({ type: a.INIT }), (o = { dispatch: m, subscribe: v, getState: h, replaceReducer: y })[i] = b, o } }, function(e, t) { function r() { return e.exports = r = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }, r.apply(this, arguments) } e.exports = r }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(118), i = function(e) { return "function" == typeof e }, o = function(e) { return "string" == typeof e }, a = Array.isArray, s = function(e) { return e && i(e.take) && i(e.close) }, u = function(e) { return Boolean(e) && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype }; t.array = a, t.buffer = function(e) { return e && i(e.isEmpty) && i(e.take) && i(e.put) }, t.channel = s, t.effect = function(e) { return e && e[n.IO] }, t.func = i, t.iterable = function(e) { return e && i(Symbol) ? i(e[Symbol.iterator]) : a(e) }, t.iterator = function(e) { return e && i(e.next) && i(e.throw) }, t.multicast = function(e) { return s(e) && e[n.MULTICAST] }, t.notUndef = function(e) { return null != e }, t.number = function(e) { return "number" == typeof e }, t.object = function(e) { return e && !a(e) && "object" == typeof e }, t.observable = function(e) { return e && i(e.subscribe) }, t.pattern = function e(t) { return t && (o(t) || u(t) || i(t) || a(t) && t.every(e)) }, t.promise = function(e) { return e && i(e.then) }, t.sagaAction = function(e) { return Boolean(e && e[n.SAGA_ACTION]) }, t.string = o, t.stringableFunc = function(e) { return i(e) && e.hasOwnProperty("toString") }, t.symbol = u, t.task = function(e) { return e && e[n.TASK] }, t.undef = function(e) { return null == e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(118); t.default = function(e, t) { var r; void 0 === t && (t = !0); var i = new Promise((function(n) { r = setTimeout(n, e, t) })); return i[n.CANCEL] = function() { clearTimeout(r) }, i } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return { type: "WEB_CHAT/SAGA_ERROR" } }, t.SAGA_ERROR = void 0; t.SAGA_ERROR = "WEB_CHAT/SAGA_ERROR" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return { type: "WEB_CHAT/START_DICTATE" } }, t.START_DICTATE = void 0; t.START_DICTATE = "WEB_CHAT/START_DICTATE" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.alt, r = e.data, n = e.id, i = e.level, o = e.message; return { type: "WEB_CHAT/SET_NOTIFICATION", payload: { alt: t, data: r, id: n, level: i, message: o } } }, t.SET_NOTIFICATION = void 0; t.SET_NOTIFICATION = "WEB_CHAT/SET_NOTIFICATION" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "WEB_CHAT/SET_SEND_TYPING_INDICATOR", payload: { sendTypingIndicator: !!e } } }, t.SET_SEND_TYPING_INDICATOR = void 0; t.SET_SEND_TYPING_INDICATOR = "WEB_CHAT/SET_SEND_TYPING_INDICATOR" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return { type: "WEB_CHAT/START_SPEAKING" } }, t.START_SPEAKING_ACTIVITY = void 0; t.START_SPEAKING_ACTIVITY = "WEB_CHAT/START_SPEAKING" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : n; return { type: "WEB_CHAT/SET_SUGGESTED_ACTIONS", payload: { suggestedActions: e } } }, t.SET_SUGGESTED_ACTIONS = void 0; var n = []; t.SET_SUGGESTED_ACTIONS = "WEB_CHAT/SET_SUGGESTED_ACTIONS" }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e, t = []; return { push: function(r) { if (e) { var n = e.resolve; e = null, n(r) } else t.push(r) }, shift: function() { return t.length ? Promise.resolve(t.shift()) : (e || (e = (0, i.default)())).promise } } }; var i = n(r(778)) }, function(e, t, r) { var n = {}; n[r(40)("toStringTag")] = "z", e.exports = "[object z]" === String(n) }, function(e, t, r) { var n = r(29), i = r(69); e.exports = function(e, t) { try { i(n, e, t) } catch (r) { n[e] = t } return t } }, function(e, t, r) { var n = r(29), i = r(82), o = n.document, a = i(o) && i(o.createElement); e.exports = function(e) { return a ? o.createElement(e) : {} } }, function(e, t, r) { var n = r(393), i = Function.toString; "function" != typeof n.inspectSource && (n.inspectSource = function(e) { return i.call(e) }), e.exports = n.inspectSource }, function(e, t, r) { var n = r(392), i = r(396), o = n("keys"); e.exports = function(e) { return o[e] || (o[e] = i(e)) } }, function(e, t) { e.exports = {} }, function(e, t) { var r = Math.ceil, n = Math.floor; e.exports = function(e) { return isNaN(e = +e) ? 0 : (e > 0 ? n : r)(e) } }, function(e, t) { e.exports = function(e) { if (null == e) throw TypeError("Can't call method on " + e); return e } }, function(e, t, r) { var n = r(80), i = r(790), o = r(168), a = r(169), s = r(395), u = r(60), c = r(394), l = Object.getOwnPropertyDescriptor; t.f = n ? l : function(e, t) { if (e = a(e), t = s(t, !0), c) try { return l(e, t) } catch (e) {} if (u(e, t)) return o(!i.f.call(e, t), e[t]) } }, function(e, t) { e.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"] }, function(e, t, r) { var n = r(60), i = r(799), o = r(237), a = r(800), s = o("IE_PROTO"), u = Object.prototype; e.exports = a ? Object.getPrototypeOf : function(e) { return e = i(e), n(e, s) ? e[s] : "function" == typeof e.constructor && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? u : null } }, function(e, t, r) { var n, i = r(59), o = r(801), a = r(242), s = r(238), u = r(405), c = r(235), l = r(237), f = l("IE_PROTO"), p = function() {}, d = function(e) { return "<script>" + e + "<\/script>" }, h = function() { try { n = document.domain && new ActiveXObject("htmlfile") } catch (e) {} var e, t; h = n ? function(e) { e.write(d("")), e.close(); var t = e.parentWindow.Object; return e = null, t }(n) : ((t = c("iframe")).style.display = "none", u.appendChild(t), t.src = String("javascript:"), (e = t.contentWindow.document).open(), e.write(d("document.F=Object")), e.close(), e.F); for (var r = a.length; r--;) delete h.prototype[a[r]]; return h() }; s[f] = !0, e.exports = Object.create || function(e, t) { var r; return null !== e ? (p.prototype = i(e), r = new p, p.prototype = null, r[f] = e) : r = h(), void 0 === t ? r : o(r, t) } }, function(e, t, r) { var n = r(81).f, i = r(60), o = r(40)("toStringTag"); e.exports = function(e, t, r) { e && !i(e = r ? e : e.prototype, o) && n(e, o, { configurable: !0, value: t }) } }, function(e, t, r) { "use strict"; var n, i = r(174); function o() { try { return n.apply(this, arguments) } catch (e) { return i.errorObject.e = e, i.errorObject } } t.tryCatch = function(e) { return n = e, o } }, function(e, t, r) { "use strict"; var n = r(61).root.Symbol; t.rxSubscriber = "function" == typeof n && "function" == typeof n.for ? n.for("rxSubscriber") : "@@rxSubscriber", t.$$rxSubscriber = t.rxSubscriber }, function(e, t, r) { "use strict"; var n = r(61); function i(e) { var t, r = e.Symbol; return "function" == typeof r ? r.observable ? t = r.observable : (t = r("observable"), r.observable = t) : t = "@@observable", t } t.getSymbolObservable = i, t.observable = i(n.root), t.$$observable = t.observable }, function(e, t, r) { "use strict"; var n = r(61); function i(e) { var t = e.Symbol; if ("function" == typeof t) return t.iterator || (t.iterator = t("iterator polyfill")), t.iterator; var r = e.Set; if (r && "function" == typeof(new r)["@@iterator"]) return "@@iterator"; var n = e.Map; if (n) for (var i = Object.getOwnPropertyNames(n.prototype), o = 0; o < i.length; ++o) { var a = i[o]; if ("entries" !== a && "size" !== a && n.prototype[a] === n.prototype.entries) return a } return "@@iterator" } t.symbolIteratorPonyfill = i, t.iterator = i(n.root), t.$$iterator = t.iterator }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(11), o = r(422), a = r(178), s = r(841), u = function(e) { function t(t, r) { e.call(this), this.array = t, this.scheduler = r, r || 1 !== t.length || (this._isScalar = !0, this.value = t[0]) } return n(t, e), t.create = function(e, r) { return new t(e, r) }, t.of = function() { for (var e = [], r = 0; r < arguments.length; r++) e[r - 0] = arguments[r]; var n = e[e.length - 1]; s.isScheduler(n) ? e.pop() : n = null; var i = e.length; return i > 1 ? new t(e, n) : 1 === i ? new o.ScalarObservable(e[0], n) : new a.EmptyObservable(n) }, t.dispatch = function(e) { var t = e.array, r = e.index, n = e.count, i = e.subscriber; r >= n ? i.complete() : (i.next(t[r]), i.closed || (e.index = r + 1, this.schedule(e))) }, t.prototype._subscribe = function(e) { var r = this.array, n = r.length, i = this.scheduler; if (i) return i.schedule(t.dispatch, 0, { array: r, index: 0, count: n, subscriber: e }); for (var o = 0; o < n && !e.closed; o++) e.next(r[o]); e.complete() }, t }(i.Observable); t.ArrayObservable = u }, function(e, t) { var r = {}.toString; e.exports = Array.isArray || function(e) { return "[object Array]" == r.call(e) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(253), i = function(e) { this.id = n.generateGuid(), this.content = e, this.description = { id: this.id, type: this.content.headers ? this.content.headers.type : "unknown", length: this.content.headers ? this.content.headers.contentLength : 0 } }; t.HttpContentStream = i; var o = function() { function e(e, t) { this.headers = e, this.stream = t } return e.prototype.getStream = function() { return this.stream }, e }(); t.HttpContent = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(910); t.generateGuid = function() { return n() } }, function(e, t, r) { (t = e.exports = r(429)).Stream = t, t.Readable = t, t.Writable = r(256), t.Duplex = r(85), t.Transform = r(434), t.PassThrough = r(919) }, function(e, t, r) { var n = r(8), i = n.Buffer; function o(e, t) { for (var r in e) t[r] = e[r] } function a(e, t, r) { return i(e, t, r) } i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? e.exports = n : (o(n, t), t.Buffer = a), o(i, a), a.from = function(e, t, r) { if ("number" == typeof e) throw new TypeError("Argument must not be a number"); return i(e, t, r) }, a.alloc = function(e, t, r) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); var n = i(e); return void 0 !== t ? "string" == typeof r ? n.fill(t, r) : n.fill(t) : n.fill(0), n }, a.allocUnsafe = function(e) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); return i(e) }, a.allocUnsafeSlow = function(e) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); return n.SlowBuffer(e) } }, function(e, t, r) { "use strict"; (function(t, n, i) { var o = r(72); function a(e) { var t = this; this.next = null, this.entry = null, this.finish = function() { ! function(e, t, r) { var n = e.entry; e.entry = null; for (; n;) { var i = n.callback; t.pendingcb--, i(r), n = n.next } t.corkedRequestsFree ? t.corkedRequestsFree.next = e : t.corkedRequestsFree = e }(t, e) } } e.exports = b; var s, u = !t.browser && ["v0.10", "v0.9."].indexOf(t.version.slice(0, 5)) > -1 ? n : o.nextTick; b.WritableState = y; var c = Object.create(r(54)); c.inherits = r(2); var l = { deprecate: r(433) }, f = r(430), p = r(255).Buffer, d = i.Uint8Array || function() {}; var h, v = r(431); function m() {} function y(e, t) { s = s || r(85), e = e || {}; var n = t instanceof s; this.objectMode = !!e.objectMode, n && (this.objectMode = this.objectMode || !!e.writableObjectMode); var i = e.highWaterMark, c = e.writableHighWaterMark, l = this.objectMode ? 16 : 16384; this.highWaterMark = i || 0 === i ? i : n && (c || 0 === c) ? c : l, this.highWaterMark = Math.floor(this.highWaterMark), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1; var f = !1 === e.decodeStrings; this.decodeStrings = !f, this.defaultEncoding = e.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(e) { ! function(e, t) { var r = e._writableState, n = r.sync, i = r.writecb; if (function(e) { e.writing = !1, e.writecb = null, e.length -= e.writelen, e.writelen = 0 }(r), t) ! function(e, t, r, n, i) { --t.pendingcb, r ? (o.nextTick(i, n), o.nextTick(E, e, t), e._writableState.errorEmitted = !0, e.emit("error", n)) : (i(n), e._writableState.errorEmitted = !0, e.emit("error", n), E(e, t)) }(e, r, n, t, i); else { var a = S(r); a || r.corked || r.bufferProcessing || !r.bufferedRequest || T(e, r), n ? u(_, e, r, a, i) : _(e, r, a, i) } }(t, e) }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.bufferedRequestCount = 0, this.corkedRequestsFree = new a(this) } function b(e) { if (s = s || r(85), !(h.call(b, this) || this instanceof s)) return new b(e); this._writableState = new y(e, this), this.writable = !0, e && ("function" == typeof e.write && (this._write = e.write), "function" == typeof e.writev && (this._writev = e.writev), "function" == typeof e.destroy && (this._destroy = e.destroy), "function" == typeof e.final && (this._final = e.final)), f.call(this) } function g(e, t, r, n, i, o, a) { t.writelen = n, t.writecb = a, t.writing = !0, t.sync = !0, r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite), t.sync = !1 } function _(e, t, r, n) { r || function(e, t) { 0 === t.length && t.needDrain && (t.needDrain = !1, e.emit("drain")) }(e, t), t.pendingcb--, n(), E(e, t) } function T(e, t) { t.bufferProcessing = !0; var r = t.bufferedRequest; if (e._writev && r && r.next) { var n = t.bufferedRequestCount, i = new Array(n), o = t.corkedRequestsFree; o.entry = r; for (var s = 0, u = !0; r;) i[s] = r, r.isBuf || (u = !1), r = r.next, s += 1; i.allBuffers = u, g(e, t, !0, t.length, i, "", o.finish), t.pendingcb++, t.lastBufferedRequest = null, o.next ? (t.corkedRequestsFree = o.next, o.next = null) : t.corkedRequestsFree = new a(t), t.bufferedRequestCount = 0 } else { for (; r;) { var c = r.chunk, l = r.encoding, f = r.callback; if (g(e, t, !1, t.objectMode ? 1 : c.length, c, l, f), r = r.next, t.bufferedRequestCount--, t.writing) break } null === r && (t.lastBufferedRequest = null) } t.bufferedRequest = r, t.bufferProcessing = !1 } function S(e) { return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing } function A(e, t) { e._final((function(r) { t.pendingcb--, r && e.emit("error", r), t.prefinished = !0, e.emit("prefinish"), E(e, t) })) } function E(e, t) { var r = S(t); return r && (! function(e, t) { t.prefinished || t.finalCalled || ("function" == typeof e._final ? (t.pendingcb++, t.finalCalled = !0, o.nextTick(A, e, t)) : (t.prefinished = !0, e.emit("prefinish"))) }(e, t), 0 === t.pendingcb && (t.finished = !0, e.emit("finish"))), r } c.inherits(b, f), y.prototype.getBuffer = function() { for (var e = this.bufferedRequest, t = []; e;) t.push(e), e = e.next; return t }, function() { try { Object.defineProperty(y.prototype, "buffer", { get: l.deprecate((function() { return this.getBuffer() }), "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003") }) } catch (e) {} }(), "function" == typeof Symbol && Symbol.hasInstance && "function" == typeof Function.prototype[Symbol.hasInstance] ? (h = Function.prototype[Symbol.hasInstance], Object.defineProperty(b, Symbol.hasInstance, { value: function(e) { return !!h.call(this, e) || this === b && (e && e._writableState instanceof y) } })) : h = function(e) { return e instanceof this }, b.prototype.pipe = function() { this.emit("error", new Error("Cannot pipe, not readable")) }, b.prototype.write = function(e, t, r) { var n, i = this._writableState, a = !1, s = !i.objectMode && (n = e, p.isBuffer(n) || n instanceof d); return s && !p.isBuffer(e) && (e = function(e) { return p.from(e) }(e)), "function" == typeof t && (r = t, t = null), s ? t = "buffer" : t || (t = i.defaultEncoding), "function" != typeof r && (r = m), i.ended ? function(e, t) { var r = new Error("write after end"); e.emit("error", r), o.nextTick(t, r) }(this, r) : (s || function(e, t, r, n) { var i = !0, a = !1; return null === r ? a = new TypeError("May not write null values to stream") : "string" == typeof r || void 0 === r || t.objectMode || (a = new TypeError("Invalid non-string/buffer chunk")), a && (e.emit("error", a), o.nextTick(n, a), i = !1), i }(this, i, e, r)) && (i.pendingcb++, a = function(e, t, r, n, i, o) { if (!r) { var a = function(e, t, r) { e.objectMode || !1 === e.decodeStrings || "string" != typeof t || (t = p.from(t, r)); return t }(t, n, i); n !== a && (r = !0, i = "buffer", n = a) } var s = t.objectMode ? 1 : n.length; t.length += s; var u = t.length < t.highWaterMark; u || (t.needDrain = !0); if (t.writing || t.corked) { var c = t.lastBufferedRequest; t.lastBufferedRequest = { chunk: n, encoding: i, isBuf: r, callback: o, next: null }, c ? c.next = t.lastBufferedRequest : t.bufferedRequest = t.lastBufferedRequest, t.bufferedRequestCount += 1 } else g(e, t, !1, s, n, i, o); return u }(this, i, s, e, t, r)), a }, b.prototype.cork = function() { this._writableState.corked++ }, b.prototype.uncork = function() { var e = this._writableState; e.corked && (e.corked--, e.writing || e.corked || e.finished || e.bufferProcessing || !e.bufferedRequest || T(this, e)) }, b.prototype.setDefaultEncoding = function(e) { if ("string" == typeof e && (e = e.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((e + "").toLowerCase()) > -1)) throw new TypeError("Unknown encoding: " + e); return this._writableState.defaultEncoding = e, this }, Object.defineProperty(b.prototype, "writableHighWaterMark", { enumerable: !1, get: function() { return this._writableState.highWaterMark } }), b.prototype._write = function(e, t, r) { r(new Error("_write() is not implemented")) }, b.prototype._writev = null, b.prototype.end = function(e, t, r) { var n = this._writableState; "function" == typeof e ? (r = e, e = null, t = null) : "function" == typeof t && (r = t, t = null), null != e && this.write(e, t), n.corked && (n.corked = 1, this.uncork()), n.ending || n.finished || function(e, t, r) { t.ending = !0, E(e, t), r && (t.finished ? o.nextTick(r) : e.once("finish", r)); t.ended = !0, e.writable = !1 }(this, n, r) }, Object.defineProperty(b.prototype, "destroyed", { get: function() { return void 0 !== this._writableState && this._writableState.destroyed }, set: function(e) { this._writableState && (this._writableState.destroyed = e) } }), b.prototype.destroy = v.destroy, b.prototype._undestroy = v.undestroy, b.prototype._destroy = function(e, t) { this.end(), t(e) } }).call(this, r(26), r(432).setImmediate, r(14)) }, function(e, t, r) { "use strict"; function n(e) { for (var r in e) t.hasOwnProperty(r) || (t[r] = e[r]) } Object.defineProperty(t, "__esModule", { value: !0 }), n(r(258)), n(r(260)), n(r(438)), n(r(86)), n(r(929)), n(r(440)), n(r(260)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(259), i = function() { function e() {} return e.serialize = function(e, t) { t.write(e.payloadType, this.TypeOffset, 1, this.Encoding), t.write(this.Delimiter, this.TypeDelimiterOffset, 1, this.Encoding), t.write(this.headerLengthPadder(e.payloadLength, this.LengthLength, "0"), this.LengthOffset, this.LengthLength, this.Encoding), t.write(this.Delimiter, this.LengthDelimeterOffset, 1, this.Encoding), t.write(e.id, this.IdOffset), t.write(this.Delimiter, this.IdDelimeterOffset, 1, this.Encoding), t.write(e.end ? this.End : this.NotEnd, this.EndOffset), t.write(this.Terminator, this.TerminatorOffset) }, e.deserialize = function(e) { var t = e.toString(this.Encoding), r = t.split(this.Delimiter); if (4 !== r.length) throw Error("Cannot parse header, header is malformed. Header: " + t); var i = r[0], o = r[1], a = r[2], s = r[3], u = { end: "1\n" === s, payloadLength: Number(o), payloadType: i, id: a }; if (!(u.payloadLength <= n.PayloadConstants.MaxPayloadLength && u.payloadLength >= n.PayloadConstants.MinLength)) throw Error("Header length of " + u.payloadLength + " is missing or malformed"); if (u.payloadType.length !== this.TypeDelimiterOffset) throw Error("Header type '" + u.payloadType.length + "' is missing or malformed."); if (!u.id || !u.id.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i) || u.id.length !== this.IdLength) throw Error("Header ID '" + u.id + "' is missing or malformed."); if ("0\n" !== s && "1\n" !== s) throw Error("Header End is missing or not a valid value. Header end: '" + s + "'"); return u }, e.headerLengthPadder = function(e, t, r) { var n = Array(t + 1).join(r), i = e.toString(); return (n + i).slice(i.length) }, e.Delimiter = ".", e.Terminator = "\n", e.End = "1", e.NotEnd = "0", e.TypeOffset = 0, e.TypeDelimiterOffset = 1, e.LengthOffset = 2, e.LengthLength = 6, e.LengthDelimeterOffset = 8, e.IdOffset = 9, e.IdLength = 36, e.IdDelimeterOffset = 45, e.EndOffset = 46, e.TerminatorOffset = 47, e.Encoding = "utf8", e }(); t.HeaderSerializer = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.MaxPayloadLength = 4096] = "MaxPayloadLength", e[e.MaxHeaderLength = 48] = "MaxHeaderLength", e[e.MaxLength = 999999] = "MaxLength", e[e.MinLength = 0] = "MinLength" }(t.PayloadConstants || (t.PayloadConstants = {})) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(439), i = function() { function e(e) { this.activeAssemblers = [], this.onCancelStream = e } return e.prototype.getPayloadAssembler = function(e) { if (this.activeAssemblers[e]) return this.activeAssemblers[e]; var t = new n.PayloadAssembler(this, { id: e }); return this.activeAssemblers[e] = t, t }, e.prototype.getPayloadStream = function(e) { return this.getPayloadAssembler(e.id).getPayloadStream() }, e.prototype.onReceive = function(e, t, r) { this.activeAssemblers[e.id] && this.activeAssemblers[e.id].onReceive(e, t, r) }, e.prototype.closeStream = function(e) { if (this.activeAssemblers[e]) { var t = this.activeAssemblers[e]; this.activeAssemblers.splice(this.activeAssemblers.indexOf(e), 1); var r = t.getPayloadStream(); (t.contentLength && r.length < t.contentLength || !t.end) && this.onCancelStream(t) } }, e }(); t.StreamManager = i }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(128), a = function() { function e(e, t) { this.sender = e, this.id = t } return e.serialize = function(e) { var t = new o.SubscribableStream; return t.write(JSON.stringify(e)), t.end(), { stream: t, streamLength: t.length } }, e.prototype.disassemble = function() { return n(this, void 0, void 0, (function() { var e, t, r; return i(this, (function(n) { switch (n.label) { case 0: return [4, this.getStream()]; case 1: return e = n.sent(), t = e.stream, r = e.streamLength, this.stream = t, this.streamLength = r, [2, this.send()] } })) })) }, e.prototype.send = function() { return n(this, void 0, void 0, (function() { var e; return i(this, (function(t) { return e = { payloadType: this.payloadType, payloadLength: this.streamLength, id: this.id, end: !0 }, this.sender.sendPayload(e, this.stream), [2] })) })) }, e }(); t.PayloadDisassembler = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.reason = e } return e.Empty = new e, e }(); t.TransportDisconnectedEvent = n }, function(e, t, r) { "use strict"; t.randomBytes = t.rng = t.pseudoRandomBytes = t.prng = r(101), t.createHash = t.Hash = r(129), t.createHmac = t.Hmac = r(445); var n = r(942), i = Object.keys(n), o = ["sha1", "sha224", "sha256", "sha384", "sha512", "md5", "rmd160"].concat(i); t.getHashes = function() { return o }; var a = r(448); t.pbkdf2 = a.pbkdf2, t.pbkdf2Sync = a.pbkdf2Sync; var s = r(944); t.Cipher = s.Cipher, t.createCipher = s.createCipher, t.Cipheriv = s.Cipheriv, t.createCipheriv = s.createCipheriv, t.Decipher = s.Decipher, t.createDecipher = s.createDecipher, t.Decipheriv = s.Decipheriv, t.createDecipheriv = s.createDecipheriv, t.getCiphers = s.getCiphers, t.listCiphers = s.listCiphers; var u = r(959); t.DiffieHellmanGroup = u.DiffieHellmanGroup, t.createDiffieHellmanGroup = u.createDiffieHellmanGroup, t.getDiffieHellman = u.getDiffieHellman, t.createDiffieHellman = u.createDiffieHellman, t.DiffieHellman = u.DiffieHellman; var c = r(964); t.createSign = c.createSign, t.Sign = c.Sign, t.createVerify = c.createVerify, t.Verify = c.Verify, t.createECDH = r(998); var l = r(999); t.publicEncrypt = l.publicEncrypt, t.privateEncrypt = l.privateEncrypt, t.publicDecrypt = l.publicDecrypt, t.privateDecrypt = l.privateDecrypt; var f = r(1002); t.randomFill = f.randomFill, t.randomFillSync = f.randomFillSync, t.createCredentials = function() { throw new Error(["sorry, createCredentials is not implemented yet", "we accept pull requests", "https://github.com/crypto-browserify/crypto-browserify"].join("\n")) }, t.constants = { DH_CHECK_P_NOT_SAFE_PRIME: 2, DH_CHECK_P_NOT_PRIME: 1, DH_UNABLE_TO_CHECK_GENERATOR: 4, DH_NOT_SUITABLE_GENERATOR: 8, NPN_ENABLED: 1, ALPN_ENABLED: 1, RSA_PKCS1_PADDING: 1, RSA_SSLV23_PADDING: 2, RSA_NO_PADDING: 3, RSA_PKCS1_OAEP_PADDING: 4, RSA_X931_PADDING: 5, RSA_PKCS1_PSS_PADDING: 6, POINT_CONVERSION_COMPRESSED: 2, POINT_CONVERSION_UNCOMPRESSED: 4, POINT_CONVERSION_HYBRID: 6 } }, function(e, t, r) { "use strict"; var n = r(2), i = r(442), o = r(10).Buffer, a = new Array(16); function s() { i.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878 } function u(e, t) { return e << t | e >>> 32 - t } function c(e, t, r, n, i, o, a) { return u(e + (t & r | ~t & n) + i + o | 0, a) + t | 0 } function l(e, t, r, n, i, o, a) { return u(e + (t & n | r & ~n) + i + o | 0, a) + t | 0 } function f(e, t, r, n, i, o, a) { return u(e + (t ^ r ^ n) + i + o | 0, a) + t | 0 } function p(e, t, r, n, i, o, a) { return u(e + (r ^ (t | ~n)) + i + o | 0, a) + t | 0 } n(s, i), s.prototype._update = function() { for (var e = a, t = 0; t < 16; ++t) e[t] = this._block.readInt32LE(4 * t); var r = this._a, n = this._b, i = this._c, o = this._d; r = c(r, n, i, o, e[0], 3614090360, 7), o = c(o, r, n, i, e[1], 3905402710, 12), i = c(i, o, r, n, e[2], 606105819, 17), n = c(n, i, o, r, e[3], 3250441966, 22), r = c(r, n, i, o, e[4], 4118548399, 7), o = c(o, r, n, i, e[5], 1200080426, 12), i = c(i, o, r, n, e[6], 2821735955, 17), n = c(n, i, o, r, e[7], 4249261313, 22), r = c(r, n, i, o, e[8], 1770035416, 7), o = c(o, r, n, i, e[9], 2336552879, 12), i = c(i, o, r, n, e[10], 4294925233, 17), n = c(n, i, o, r, e[11], 2304563134, 22), r = c(r, n, i, o, e[12], 1804603682, 7), o = c(o, r, n, i, e[13], 4254626195, 12), i = c(i, o, r, n, e[14], 2792965006, 17), r = l(r, n = c(n, i, o, r, e[15], 1236535329, 22), i, o, e[1], 4129170786, 5), o = l(o, r, n, i, e[6], 3225465664, 9), i = l(i, o, r, n, e[11], 643717713, 14), n = l(n, i, o, r, e[0], 3921069994, 20), r = l(r, n, i, o, e[5], 3593408605, 5), o = l(o, r, n, i, e[10], 38016083, 9), i = l(i, o, r, n, e[15], 3634488961, 14), n = l(n, i, o, r, e[4], 3889429448, 20), r = l(r, n, i, o, e[9], 568446438, 5), o = l(o, r, n, i, e[14], 3275163606, 9), i = l(i, o, r, n, e[3], 4107603335, 14), n = l(n, i, o, r, e[8], 1163531501, 20), r = l(r, n, i, o, e[13], 2850285829, 5), o = l(o, r, n, i, e[2], 4243563512, 9), i = l(i, o, r, n, e[7], 1735328473, 14), r = f(r, n = l(n, i, o, r, e[12], 2368359562, 20), i, o, e[5], 4294588738, 4), o = f(o, r, n, i, e[8], 2272392833, 11), i = f(i, o, r, n, e[11], 1839030562, 16), n = f(n, i, o, r, e[14], 4259657740, 23), r = f(r, n, i, o, e[1], 2763975236, 4), o = f(o, r, n, i, e[4], 1272893353, 11), i = f(i, o, r, n, e[7], 4139469664, 16), n = f(n, i, o, r, e[10], 3200236656, 23), r = f(r, n, i, o, e[13], 681279174, 4), o = f(o, r, n, i, e[0], 3936430074, 11), i = f(i, o, r, n, e[3], 3572445317, 16), n = f(n, i, o, r, e[6], 76029189, 23), r = f(r, n, i, o, e[9], 3654602809, 4), o = f(o, r, n, i, e[12], 3873151461, 11), i = f(i, o, r, n, e[15], 530742520, 16), r = p(r, n = f(n, i, o, r, e[2], 3299628645, 23), i, o, e[0], 4096336452, 6), o = p(o, r, n, i, e[7], 1126891415, 10), i = p(i, o, r, n, e[14], 2878612391, 15), n = p(n, i, o, r, e[5], 4237533241, 21), r = p(r, n, i, o, e[12], 1700485571, 6), o = p(o, r, n, i, e[3], 2399980690, 10), i = p(i, o, r, n, e[10], 4293915773, 15), n = p(n, i, o, r, e[1], 2240044497, 21), r = p(r, n, i, o, e[8], 1873313359, 6), o = p(o, r, n, i, e[15], 4264355552, 10), i = p(i, o, r, n, e[6], 2734768916, 15), n = p(n, i, o, r, e[13], 1309151649, 21), r = p(r, n, i, o, e[4], 4149444226, 6), o = p(o, r, n, i, e[11], 3174756917, 10), i = p(i, o, r, n, e[2], 718787259, 15), n = p(n, i, o, r, e[9], 3951481745, 21), this._a = this._a + r | 0, this._b = this._b + n | 0, this._c = this._c + i | 0, this._d = this._d + o | 0 }, s.prototype._digest = function() { this._block[this._blockOffset++] = 128, this._blockOffset > 56 && (this._block.fill(0, this._blockOffset, 64), this._update(), this._blockOffset = 0), this._block.fill(0, this._blockOffset, 56), this._block.writeUInt32LE(this._length[0], 56), this._block.writeUInt32LE(this._length[1], 60), this._update(); var e = o.allocUnsafe(16); return e.writeInt32LE(this._a, 0), e.writeInt32LE(this._b, 4), e.writeInt32LE(this._c, 8), e.writeInt32LE(this._d, 12), e }, e.exports = s }, function(e, t, r) { "use strict"; var n = r(8).Buffer, i = r(2), o = r(442), a = new Array(16), s = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13], u = [5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11], c = [11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6], l = [8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11], f = [0, 1518500249, 1859775393, 2400959708, 2840853838], p = [1352829926, 1548603684, 1836072691, 2053994217, 0]; function d() { o.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520 } function h(e, t) { return e << t | e >>> 32 - t } function v(e, t, r, n, i, o, a, s) { return h(e + (t ^ r ^ n) + o + a | 0, s) + i | 0 } function m(e, t, r, n, i, o, a, s) { return h(e + (t & r | ~t & n) + o + a | 0, s) + i | 0 } function y(e, t, r, n, i, o, a, s) { return h(e + ((t | ~r) ^ n) + o + a | 0, s) + i | 0 } function b(e, t, r, n, i, o, a, s) { return h(e + (t & n | r & ~n) + o + a | 0, s) + i | 0 } function g(e, t, r, n, i, o, a, s) { return h(e + (t ^ (r | ~n)) + o + a | 0, s) + i | 0 } i(d, o), d.prototype._update = function() { for (var e = a, t = 0; t < 16; ++t) e[t] = this._block.readInt32LE(4 * t); for (var r = 0 | this._a, n = 0 | this._b, i = 0 | this._c, o = 0 | this._d, d = 0 | this._e, _ = 0 | this._a, T = 0 | this._b, S = 0 | this._c, A = 0 | this._d, E = 0 | this._e, C = 0; C < 80; C += 1) { var O, w; C < 16 ? (O = v(r, n, i, o, d, e[s[C]], f[0], c[C]), w = g(_, T, S, A, E, e[u[C]], p[0], l[C])) : C < 32 ? (O = m(r, n, i, o, d, e[s[C]], f[1], c[C]), w = b(_, T, S, A, E, e[u[C]], p[1], l[C])) : C < 48 ? (O = y(r, n, i, o, d, e[s[C]], f[2], c[C]), w = y(_, T, S, A, E, e[u[C]], p[2], l[C])) : C < 64 ? (O = b(r, n, i, o, d, e[s[C]], f[3], c[C]), w = m(_, T, S, A, E, e[u[C]], p[3], l[C])) : (O = g(r, n, i, o, d, e[s[C]], f[4], c[C]), w = v(_, T, S, A, E, e[u[C]], p[4], l[C])), r = d, d = o, o = h(i, 10), i = n, n = O, _ = E, E = A, A = h(S, 10), S = T, T = w } var I = this._b + i + A | 0; this._b = this._c + o + E | 0, this._c = this._d + d + _ | 0, this._d = this._e + r + T | 0, this._e = this._a + n + S | 0, this._a = I }, d.prototype._digest = function() { this._block[this._blockOffset++] = 128, this._blockOffset > 56 && (this._block.fill(0, this._blockOffset, 64), this._update(), this._blockOffset = 0), this._block.fill(0, this._blockOffset, 56), this._block.writeUInt32LE(this._length[0], 56), this._block.writeUInt32LE(this._length[1], 60), this._update(); var e = n.alloc ? n.alloc(20) : new n(20); return e.writeInt32LE(this._a, 0), e.writeInt32LE(this._b, 4), e.writeInt32LE(this._c, 8), e.writeInt32LE(this._d, 12), e.writeInt32LE(this._e, 16), e }, e.exports = d }, function(e, t, r) { (t = e.exports = function(e) { e = e.toLowerCase(); var r = t[e]; if (!r) throw new Error(e + " is not supported (we accept pull requests)"); return new r }).sha = r(937), t.sha1 = r(938), t.sha224 = r(939), t.sha256 = r(443), t.sha384 = r(940), t.sha512 = r(444) }, function(e, t, r) { "use strict"; var n = r(42); function i(e) { this.options = e, this.type = this.options.type, this.blockSize = 8, this._init(), this.buffer = new Array(this.blockSize), this.bufferOff = 0 } e.exports = i, i.prototype._init = function() {}, i.prototype.update = function(e) { return 0 === e.length ? [] : "decrypt" === this.type ? this._updateDecrypt(e) : this._updateEncrypt(e) }, i.prototype._buffer = function(e, t) { for (var r = Math.min(this.buffer.length - this.bufferOff, e.length - t), n = 0; n < r; n++) this.buffer[this.bufferOff + n] = e[t + n]; return this.bufferOff += r, r }, i.prototype._flushBuffer = function(e, t) { return this._update(this.buffer, 0, e, t), this.bufferOff = 0, this.blockSize }, i.prototype._updateEncrypt = function(e) { var t = 0, r = 0, n = (this.bufferOff + e.length) / this.blockSize | 0, i = new Array(n * this.blockSize); 0 !== this.bufferOff && (t += this._buffer(e, t), this.bufferOff === this.buffer.length && (r += this._flushBuffer(i, r))); for (var o = e.length - (e.length - t) % this.blockSize; t < o; t += this.blockSize) this._update(e, t, i, r), r += this.blockSize; for (; t < e.length; t++, this.bufferOff++) this.buffer[this.bufferOff] = e[t]; return i }, i.prototype._updateDecrypt = function(e) { for (var t = 0, r = 0, n = Math.ceil((this.bufferOff + e.length) / this.blockSize) - 1, i = new Array(n * this.blockSize); n > 0; n--) t += this._buffer(e, t), r += this._flushBuffer(i, r); return t += this._buffer(e, t), i }, i.prototype.final = function(e) { var t, r; return e && (t = this.update(e)), r = "encrypt" === this.type ? this._finalEncrypt() : this._finalDecrypt(), t ? t.concat(r) : r }, i.prototype._pad = function(e, t) { if (0 === t) return !1; for (; t < e.length;) e[t++] = 0; return !0 }, i.prototype._finalEncrypt = function() { if (!this._pad(this.buffer, this.bufferOff)) return []; var e = new Array(this.blockSize); return this._update(this.buffer, 0, e, 0), e }, i.prototype._unpad = function(e) { return e }, i.prototype._finalDecrypt = function() { n.equal(this.bufferOff, this.blockSize, "Not enough data to decrypt"); var e = new Array(this.blockSize); return this._flushBuffer(e, 0), this._unpad(e) } }, function(e, t, r) { var n = r(949), i = r(957), o = r(456); t.createCipher = t.Cipher = n.createCipher, t.createCipheriv = t.Cipheriv = n.createCipheriv, t.createDecipher = t.Decipher = i.createDecipher, t.createDecipheriv = t.Decipheriv = i.createDecipheriv, t.listCiphers = t.getCiphers = function() { return Object.keys(o) } }, function(e, t, r) { var n = { ECB: r(950), CBC: r(951), CFB: r(952), CFB8: r(953), CFB1: r(954), OFB: r(955), CTR: r(454), GCM: r(454) }, i = r(456); for (var o in i) i[o].module = n[i[o].mode]; e.exports = i }, function(e, t, r) { var n; function i(e) { this.rand = e } if (e.exports = function(e) { return n || (n = new i(null)), n.generate(e) }, e.exports.Rand = i, i.prototype.generate = function(e) { return this._rand(e) }, i.prototype._rand = function(e) { if (this.rand.getBytes) return this.rand.getBytes(e); for (var t = new Uint8Array(e), r = 0; r < t.length; r++) t[r] = this.rand.getByte(); return t }, "object" == typeof self) self.crypto && self.crypto.getRandomValues ? i.prototype._rand = function(e) { var t = new Uint8Array(e); return self.crypto.getRandomValues(t), t } : self.msCrypto && self.msCrypto.getRandomValues ? i.prototype._rand = function(e) { var t = new Uint8Array(e); return self.msCrypto.getRandomValues(t), t } : "object" == typeof window && (i.prototype._rand = function() { throw new Error("Not implemented yet") }); else try { var o = r(961); if ("function" != typeof o.randomBytes) throw new Error("Not supported"); i.prototype._rand = function(e) { return o.randomBytes(e) } } catch (e) {} }, function(e, t, r) { (function(t) { var n = r(22), i = r(101); function o(e, r) { var i = function(e) { var t = a(e); return { blinder: t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(), unblinder: t.invm(e.modulus) } }(r), o = r.modulus.byteLength(), s = (n.mont(r.modulus), new n(e).mul(i.blinder).umod(r.modulus)), u = s.toRed(n.mont(r.prime1)), c = s.toRed(n.mont(r.prime2)), l = r.coefficient, f = r.prime1, p = r.prime2, d = u.redPow(r.exponent1), h = c.redPow(r.exponent2); d = d.fromRed(), h = h.fromRed(); var v = d.isub(h).imul(l).umod(f); return v.imul(p), h.iadd(v), new t(h.imul(i.unblinder).umod(r.modulus).toArray(!1, o)) } function a(e) { for (var t = e.modulus.byteLength(), r = new n(i(t)); r.cmp(e.modulus) >= 0 || !r.umod(e.prime1) || !r.umod(e.prime2);) r = new n(i(t)); return r } e.exports = o, o.getr = a }).call(this, r(8).Buffer) }, function(e, t, r) { "use strict"; var n = t; n.version = r(966).version, n.utils = r(43), n.rand = r(270), n.curve = r(462), n.curves = r(273), n.ec = r(977), n.eddsa = r(981) }, function(e, t, r) { "use strict"; var n, i = t, o = r(274), a = r(462), s = r(43).assert; function u(e) { "short" === e.type ? this.curve = new a.short(e) : "edwards" === e.type ? this.curve = new a.edwards(e) : this.curve = new a.mont(e), this.g = this.curve.g, this.n = this.curve.n, this.hash = e.hash, s(this.g.validate(), "Invalid curve"), s(this.g.mul(this.n).isInfinity(), "Invalid curve, G*N != O") } function c(e, t) { Object.defineProperty(i, e, { configurable: !0, enumerable: !0, get: function() { var r = new u(t); return Object.defineProperty(i, e, { configurable: !0, enumerable: !0, value: r }), r } }) } i.PresetCurve = u, c("p192", { type: "short", prime: "p192", p: "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff", a: "ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc", b: "64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1", n: "ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831", hash: o.sha256, gRed: !1, g: ["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012", "07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"] }), c("p224", { type: "short", prime: "p224", p: "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001", a: "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe", b: "b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4", n: "ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d", hash: o.sha256, gRed: !1, g: ["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21", "bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"] }), c("p256", { type: "short", prime: null, p: "ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff", a: "ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc", b: "5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b", n: "ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551", hash: o.sha256, gRed: !1, g: ["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296", "4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"] }), c("p384", { type: "short", prime: null, p: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff", a: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc", b: "b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef", n: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973", hash: o.sha384, gRed: !1, g: ["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7", "3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"] }), c("p521", { type: "short", prime: null, p: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff", a: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc", b: "00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00", n: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409", hash: o.sha512, gRed: !1, g: ["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66", "00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"] }), c("curve25519", { type: "mont", prime: "p25519", p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed", a: "76d06", b: "1", n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed", hash: o.sha256, gRed: !1, g: ["9"] }), c("ed25519", { type: "edwards", prime: "p25519", p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed", a: "-1", c: "1", d: "52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3", n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed", hash: o.sha256, gRed: !1, g: ["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a", "6666666666666666666666666666666666666666666666666666666666666658"] }); try { n = r(976) } catch (e) { n = void 0 } c("secp256k1", { type: "short", prime: "k256", p: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f", a: "0", b: "7", n: "ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141", h: "1", hash: o.sha256, beta: "7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee", lambda: "5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72", basis: [{ a: "3086d221a7d46bcde86c90e49284eb15", b: "-e4437ed6010e88286f547fa90abfe4c3" }, { a: "114ca50f7a8e2f3f657c1108d9d44cfd8", b: "3086d221a7d46bcde86c90e49284eb15" }], gRed: !1, g: ["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8", n] }) }, function(e, t, r) { var n = t; n.utils = r(55), n.common = r(131), n.sha = r(970), n.ripemd = r(974), n.hmac = r(975), n.sha1 = n.sha.sha1, n.sha256 = n.sha.sha256, n.sha224 = n.sha.sha224, n.sha384 = n.sha.sha384, n.sha512 = n.sha.sha512, n.ripemd160 = n.ripemd.ripemd160 }, function(e, t, r) { var n = r(8), i = n.Buffer; function o(e, t) { for (var r in e) t[r] = e[r] } function a(e, t, r) { return i(e, t, r) } i.from && i.alloc && i.allocUnsafe && i.allocUnsafeSlow ? e.exports = n : (o(n, t), t.Buffer = a), o(i, a), a.from = function(e, t, r) { if ("number" == typeof e) throw new TypeError("Argument must not be a number"); return i(e, t, r) }, a.alloc = function(e, t, r) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); var n = i(e); return void 0 !== t ? "string" == typeof r ? n.fill(t, r) : n.fill(t) : n.fill(0), n }, a.allocUnsafe = function(e) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); return i(e) }, a.allocUnsafeSlow = function(e) { if ("number" != typeof e) throw new TypeError("Argument must be a number"); return n.SlowBuffer(e) } }, function(e, t, r) { "use strict"; (function(e) { var r = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, n = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var i = function() { function t(e) { var t = this; this._socket = e, this._queue = [], this._activeOffset = 0, this._activeReceiveCount = 0, this._socket.setOnMessageHandler((function(e) { t.onReceive(e) })), this._socket.setOnErrorHandler((function(e) { t.onError(e) })), this._socket.setOnCloseHandler((function() { t.onClose() })) } return t.prototype.send = function(e) { return this._socket && this._socket.isConnected ? (this._socket.write(e), e.length) : 0 }, Object.defineProperty(t.prototype, "isConnected", { get: function() { return this._socket.isConnected }, enumerable: !0, configurable: !0 }), t.prototype.close = function() { this._socket && this._socket.isConnected && this._socket.close() }, t.prototype.receive = function(e) { return r(this, void 0, void 0, (function() { var t, r = this; return n(this, (function(n) { if (this._activeReceiveResolve) throw new Error("Cannot call receiveAsync more than once before it has returned."); return this._activeReceiveCount = e, t = new Promise((function(e, t) { r._activeReceiveResolve = e, r._activeReceiveReject = t })), this.trySignalData(), [2, t] })) })) }, t.prototype.onReceive = function(t) { this._queue && t && t.byteLength > 0 && (this._queue.push(e.from(t)), this.trySignalData()) }, t.prototype.onClose = function() { this._activeReceiveReject && this._activeReceiveReject(new Error("Socket was closed.")), this._active = null, this._activeOffset = 0, this._activeReceiveResolve = null, this._activeReceiveReject = null, this._activeReceiveCount = 0, this._socket = null }, t.prototype.onError = function(e) { this._activeReceiveReject && this._activeReceiveReject(e), this.onClose() }, t.prototype.trySignalData = function() { if (this._activeReceiveResolve && (!this._active && this._queue.length > 0 && (this._active = this._queue.shift(), this._activeOffset = 0), this._active)) { if (0 === this._activeOffset && this._active.length === this._activeReceiveCount) { var t = this._active; this._active = null, this._activeReceiveResolve(t) } else { var r = Math.min(this._activeReceiveCount, this._active.length - this._activeOffset); t = e.alloc(r); this._active.copy(t, 0, this._activeOffset, this._activeOffset + r), this._activeOffset += r, this._activeOffset >= this._active.length && (this._active = null, this._activeOffset = 0), this._activeReceiveResolve(t) } this._activeReceiveCount = 0, this._activeReceiveReject = null, this._activeReceiveResolve = null } }, t }(); t.WebSocketTransport = i }).call(this, r(8).Buffer) }, function(e, t, r) { var n = r(1018), i = r(1024); t.ALGORITHMS = ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512"], t.sign = n.sign, t.verify = i.verify, t.decode = i.decode, t.isValid = i.isValid, t.createSign = function(e) { return new n(e) }, t.createVerify = function(e) { return new i(e) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return new Promise((function(t) { return setTimeout(t, e) })) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return { type: "WEB_CHAT/EMIT_TYPING_INDICATOR" } }, t.EMIT_TYPING_INDICATOR = void 0; t.EMIT_TYPING_INDICATOR = "WEB_CHAT/EMIT_TYPING_INDICATOR" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.ofType = t.ofID = t.of = t.default = void 0; var n = function(e) { var t = e.activities; return t }, i = function(e) { return function(t) { return n(t).filter(e) } }; t.of = i; t.ofID = function(e) { return i((function(t) { return t.id === e })) }; t.ofType = function(e) { return i((function(t) { return t.type === e })) }; var o = n; t.default = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, n = r.channelData; return { type: "WEB_CHAT/SEND_MESSAGE", payload: { channelData: n, method: t, text: e } } }, t.SEND_MESSAGE = void 0; t.SEND_MESSAGE = "WEB_CHAT/SEND_MESSAGE" }, function(e, t, r) { "use strict"; var n = Object.getOwnPropertySymbols, i = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable; function a(e) { if (null == e) throw new TypeError("Object.assign cannot be called with null or undefined"); return Object(e) } e.exports = function() { try { if (!Object.assign) return !1; var e = new String("abc"); if (e[5] = "de", "5" === Object.getOwnPropertyNames(e)[0]) return !1; for (var t = {}, r = 0; r < 10; r++) t["_" + String.fromCharCode(r)] = r; if ("0123456789" !== Object.getOwnPropertyNames(t).map((function(e) { return t[e] })).join("")) return !1; var n = {}; return "abcdefghijklmnopqrst".split("").forEach((function(e) { n[e] = e })), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, n)).join("") } catch (e) { return !1 } }() ? Object.assign : function(e, t) { for (var r, s, u = a(e), c = 1; c < arguments.length; c++) { for (var l in r = Object(arguments[c])) i.call(r, l) && (u[l] = r[l]); if (n) { s = n(r); for (var f = 0; f < s.length; f++) o.call(r, s[f]) && (u[s[f]] = r[s[f]]) } } return u } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n, i = ee(r(1109)), o = ee(r(1110)), a = ee(r(1111)), s = ee(r(1112)), u = ee(r(1113)), c = ee(r(1114)), l = ee(r(1115)), f = ee(r(1116)), p = ee(r(1117)), d = ee(r(1118)), h = ee(r(1119)), v = ee(r(1120)), m = ee(r(1121)), y = ee(r(1122)), b = ee(r(1123)), g = ee(r(1124)), _ = ee(r(1125)), T = ee(r(1126)), S = ee(r(1127)), A = ee(r(1128)), E = ee(r(1129)), C = ee(r(1130)), O = ee(r(1131)), w = ee(r(1132)), I = ee(r(1133)), P = ee(r(1134)), x = ee(r(1135)), N = ee(r(1136)), k = ee(r(1137)), R = ee(r(1138)), L = ee(r(1139)), M = ee(r(1140)), j = ee(r(1141)), D = ee(r(1142)), U = ee(r(1143)), B = ee(r(1144)), F = ee(r(1145)), z = ee(r(1146)), V = ee(r(1147)), G = ee(r(1148)), q = ee(r(1149)), H = ee(r(1150)), W = ee(r(1151)), Y = ee(r(1152)), K = ee(r(1153)), $ = ee(r(1154)), J = ee(r(1155)), X = ee(r(1156)), Z = ee(r(1157)), Q = ee(r(1158)); function ee(e) { return e && e.__esModule ? e : { default: e } } var te = function() { return n || (n = (0, Q.default)({ "ar-EG": i.default, "ar-JO": o.default, "ar-SA": a.default, "bg-BG": s.default, "ca-ES": u.default, "cs-CZ": c.default, "da-DK": l.default, "de-DE": f.default, "el-GR": p.default, "en-US": d.default, "es-ES": h.default, "et-EE": v.default, "eu-ES": m.default, "fi-FI": y.default, "fr-FR": b.default, "gl-ES": g.default, "he-IL": _.default, "hi-IN": T.default, "hr-HR": S.default, "hu-HU": A.default, "id-ID": E.default, "it-IT": C.default, "ja-JP": O.default, "kk-KZ": w.default, "ko-KR": I.default, "lt-LT": P.default, "lv-LV": x.default, "ms-MY": N.default, "nb-NO": k.default, "nl-NL": R.default, "pl-PL": L.default, "pt-BR": M.default, "pt-PT": j.default, "ro-RO": D.default, "ru-RU": U.default, "sk-SK": B.default, "sl-SI": F.default, "sr-Cyrl": z.default, "sr-Latn": V.default, "sv-SE": G.default, "th-TH": q.default, "tr-TR": H.default, "uk-UA": W.default, "vi-VN": Y.default, yue: K.default, "zh-Hans": $.default, "zh-Hant": X.default, "zh-Hans-SG": $.default, "zh-Hant-HK": J.default, "zh-Hant-MO": X.default }, Z.default)) }; t.default = te }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(0); function i(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var o = function() { var e = i((0, n.useState)(), 2)[1]; return (0, n.useCallback)((function() { return e({}) }), [e]) }; t.default = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { (0, n.useEffect)((function() { if ("number" == typeof e) { var r = setTimeout(t, Math.max(0, e - Date.now())); return function() { return clearTimeout(r) } } }), [e, t]) }; var n = r(0) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.getEarliestUpdateNotBefore = v, t.default = void 0; var n = r(0), i = l(r(186)), o = l(r(1165)), a = l(r(284)), s = l(r(1166)), u = l(r(20)), c = l(r(285)); function l(e) { return e && e.__esModule ? e : { default: e } } function f(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function p(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? f(Object(r), !0).forEach((function(t) { d(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : f(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function d(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function h(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } function v(e) { return (0, o.default)(Object.values(e).filter((function(e) { return e.outOfDate })).map((function(e) { return e.updateNotBefore }))) } var m = function() { var e = Date.now(), t = h((0, u.default)(), 1)[0].notificationDebounceTimeout, r = h((0, s.default)(), 1)[0], o = (0, n.useRef)({}), l = (0, a.default)(), f = !0, d = !1, m = void 0; try { for (var y, b = Object.keys(o.current).filter((function(e) { return !(e in r) }))[Symbol.iterator](); !(f = (y = b.next()).done); f = !0) { var g = y.value; o.current = (0, i.default)(o.current, [g], (function(t) { if (e < t.updateNotBefore) return p(p({}, t), {}, { outOfDate: !0 }) })) } } catch (e) { d = !0, m = e } finally { try { f || null == b.return || b.return() } finally { if (d) throw m } } for (var _ = function() { var r = h(S[T], 2)[1], n = r.alt, a = r.data, s = r.id, u = r.level, c = r.message, l = r.timestamp; o.current = (0, i.default)(o.current, [s], (function(r) { return r && n === r.alt && Object.is(a, r.data) && u === r.level && c === r.message && l === r.timestamp ? r : r && e < r.updateNotBefore ? p(p({}, r), {}, { outOfDate: !0 }) : p(p({}, r), {}, { alt: n, data: a, id: s, level: u, message: c, outOfDate: !1, timestamp: l, updateNotBefore: e + t }) })) }, T = 0, S = Object.entries(r); T < S.length; T++) _(); return (0, c.default)(v(o.current), l), [o.current] }; t.default = m }, function(e, t, r) { "use strict"; var n = r(19); t.__esModule = !0; var i = n(r(1167)); t.Provider = i.default; var o = n(r(508)); t.connectAdvanced = o.default; var a = r(87); t.ReactReduxContext = a.ReactReduxContext; var s = n(r(1171)); t.connect = s.default; var u = r(1181); t.useDispatch = u.useDispatch, t.createDispatchHook = u.createDispatchHook; var c = r(1182); t.useSelector = c.useSelector, t.createSelectorHook = c.createSelectorHook; var l = r(515); t.useStore = l.useStore, t.createStoreHook = l.createStoreHook; var f = r(507), p = r(1183); t.batch = p.unstable_batchedUpdates; var d = n(r(511)); t.shallowEqual = d.default, (0, f.setBatch)(p.unstable_batchedUpdates) }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = r(507), i = { notify: function() {} }; var o = function() { function e(e, t) { this.store = e, this.parentSub = t, this.unsubscribe = null, this.listeners = i, this.handleChangeWrapper = this.handleChangeWrapper.bind(this) } var t = e.prototype; return t.addNestedSub = function(e) { return this.trySubscribe(), this.listeners.subscribe(e) }, t.notifyNestedSubs = function() { this.listeners.notify() }, t.handleChangeWrapper = function() { this.onStateChange && this.onStateChange() }, t.isSubscribed = function() { return Boolean(this.unsubscribe) }, t.trySubscribe = function() { var e, t, r; this.unsubscribe || (this.unsubscribe = this.parentSub ? this.parentSub.addNestedSub(this.handleChangeWrapper) : this.store.subscribe(this.handleChangeWrapper), this.listeners = (e = (0, n.getBatch)(), t = null, r = null, { clear: function() { t = null, r = null }, notify: function() { e((function() { for (var e = t; e;) e.callback(), e = e.next })) }, get: function() { for (var e = [], r = t; r;) e.push(r), r = r.next; return e }, subscribe: function(e) { var n = !0, i = r = { callback: e, next: null, prev: r }; return i.prev ? i.prev.next = i : t = i, function() { n && null !== t && (n = !1, i.next ? i.next.prev = i.prev : r = i.prev, i.prev ? i.prev.next = i.next : t = i.next) } } })) }, t.tryUnsubscribe = function() { this.unsubscribe && (this.unsubscribe(), this.unsubscribe = null, this.listeners.clear(), this.listeners = i) }, e }(); t.default = o }, function(e, t) { function r() { return e.exports = r = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }, r.apply(this, arguments) } e.exports = r }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.useMicrophoneButtonDisabled = x, t.useMicrophoneButtonClick = t.connectMicrophoneButton = t.default = void 0; var i = r(48), o = r(7), a = C(r(3)), s = C(r(291)), u = C(r(1)), c = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = E(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), l = C(r(44)), f = C(r(292)), p = C(r(1184)), d = C(r(1185)), h = C(r(188)), v = C(r(136)), m = C(r(88)), y = C(r(15)), b = C(r(189)), g = C(r(294)), _ = C(r(522)), T = C(r(190)), S = C(r(6)), A = C(r(137)); function E() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return E = function() { return e }, e } function C(e) { return e && e.__esModule ? e : { default: e } } function O(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var w = i.Constants.DictateState, I = (0, o.css)({ display: "flex", height: "100%", "& > .sr-only": { color: "transparent", height: 1, left: -1e4, overflow: "hidden", position: "absolute", top: 0, whiteSpace: "nowrap", width: 1 } }); t.connectMicrophoneButton = function() { for (var e = (0, s.default)((function(e, t) { if (e && t) { var r = new t(""), n = O(e.getVoices(), 1); r.voice = n[0], e.speak(r) } })), t = arguments.length, r = new Array(t), n = 0; n < t; n++) r[n] = arguments[n]; return l.default.apply(void 0, [function(t) { var r = t.disabled, n = t.dictateInterims, i = t.dictateState, o = t.language, a = t.setSendBox, s = t.startDictate, u = t.stopDictate, c = t.stopSpeakingActivity, l = t.webSpeechPonyfill, f = (l = void 0 === l ? {} : l).speechSynthesis, p = l.SpeechSynthesisUtterance; return { click: function() { i === w.WILL_START ? c() : i === w.DICTATING ? (u(), a(n.join(" "))) : (c(), s()), e(f, p) }, dictating: i === w.DICTATING, disabled: r || i === w.STARTING && i === w.STOPPING, language: o } }].concat(r)) }; var P = function() { var e = O((0, b.default)(), 2)[1], t = O((0, g.default)(), 2)[1], r = O((0, A.default)(), 1)[0], n = (r = void 0 === r ? {} : r).speechSynthesis, i = r.SpeechSynthesisUtterance, o = O((0, h.default)(), 1)[0], a = O((0, v.default)(), 1)[0], u = (0, _.default)(), l = (0, T.default)(), f = (0, c.useState)((function() { return (0, s.default)((function(e, t) { if (e && t) { var r = new t(""), n = O(e.getVoices(), 1); r.voice = n[0], e.speak(r) } })) })), p = O(f, 1)[0]; return (0, c.useCallback)((function() { a === w.WILL_START ? t(!1) : a === w.DICTATING ? (l(), e(o.join(" "))) : (t(!1), u()), p(n, i) }), [o, a, p, e, t, n, i, u, l]) }; function x() { var e = O((0, d.default)(), 1)[0], t = O((0, v.default)(), 1)[0]; return [O((0, m.default)(), 1)[0] || t === w.STARTING || t === w.STOPPING || t === w.DICTATING && !e] } t.useMicrophoneButtonClick = P; var N = function(e) { var t = e.className, r = O((0, S.default)(), 1)[0].microphoneButton, n = O((0, v.default)(), 1)[0], i = O(x(), 1)[0], o = P(), s = (0, y.default)(), u = n === w.DICTATING; return c.default.createElement("div", { "aria-controls": "webchatSendBoxMicrophoneButton", className: (0, a.default)(r + "", I + "", t + "", { dictating: u }) }, c.default.createElement(f.default, { alt: s("TEXT_INPUT_SPEAK_BUTTON_ALT"), disabled: i, onClick: o }, c.default.createElement(p.default, null)), c.default.createElement("div", { "aria-live": "polite", className: "sr-only", id: "webchatSendBoxMicrophoneButton", role: "status" }, s(u ? "SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT" : "SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT"))) }; N.defaultProps = { className: "" }, N.propTypes = { className: u.default.string }; var k = N; t.default = k }, function(e, t, r) { "use strict"; function n(e, t) { if (e.length !== t.length) return !1; for (var r = 0; r < e.length; r++) if (e[r] !== t[r]) return !1; return !0 } e.exports = function(e, t) { var r; void 0 === t && (t = n); var i, o = [], a = !1; return function() { for (var n = [], s = 0; s < arguments.length; s++) n[s] = arguments[s]; return a && r === this && t(n, o) || (i = e.apply(this, n), a = !0, r = this, o = n), i } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = u(r(3)), i = u(r(1)), o = u(r(0)), a = u(r(520)), s = u(r(6)); function u(e) { return e && e.__esModule ? e : { default: e } } function c(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var l = function(e) { var t = e.alt, r = e.children, i = e.className, u = e.disabled, l = e.onClick, f = c((0, s.default)(), 1)[0].sendBoxButton; return o.default.createElement(a.default, { className: (0, n.default)(f + "", "webchat__icon-button", i + ""), disabled: u, onClick: u ? void 0 : l, title: t, type: "button" }, r) }; l.defaultProps = { alt: "", children: void 0, className: "", disabled: !1, onClick: void 0 }, l.propTypes = { alt: i.default.string, children: i.default.any, className: i.default.string, disabled: i.default.bool, onClick: i.default.func }; var f = l; t.default = f }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { (0, n.useEffect)((function() { if (t) { var r = e.current; if (r) { if (document.activeElement !== r) return r.setAttribute("disabled", "disabled"), function() { return r.removeAttribute("disabled") }; var n = i.bind(null, r); return r.addEventListener("blur", n), function() { r.removeAttribute("disabled"), r.removeEventListener("blur", n) } } } }), [t, e]) }; var n = r(0); function i(e) { e.setAttribute("disabled", "disabled") } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, a.default)(), t = e.startSpeakingActivity, r = e.stopSpeakingActivity; return [(0, o.useSelector)((function(e) { return e.shouldSpeakIncomingActivity })), (0, i.useCallback)((function(e) { e ? t() : r() }), [t, r])] }; var n, i = r(0), o = r(38), a = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, o.default)().telemetryDimensionsRef; return (0, i.useCallback)((function() { return function(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? a(Object(r), !0).forEach((function(t) { s(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : a(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e }({}, e.current) }), [e]) }; var n, i = r(0), o = (n = r(4)) && n.__esModule ? n : { default: n }; function a(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function s(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.safari = t.internetExplorer = t.firefox = t.edgeUWP = t.chrome = void 0; var n = navigator.userAgent, i = /Firefox\//.test(n); t.firefox = i; var o = /Edge\//.test(n); t.edgeUWP = o; var a = !o && /Chrome\//.test(n); t.chrome = a; var s = /Trident\//.test(n); t.internetExplorer = s; var u = !(a || o || i || s); t.safari = u }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = (0, i.useMemo)((function() { return (0, o.default)().toString(36).substr(2, 5) }), []); return e = e ? "".concat(e, "--") : "", "".concat(e).concat(t) }; var n, i = r(0), o = (n = r(298)) && n.__esModule ? n : { default: n } }, function(e, t) { e.exports = function(e) { var t = "Uint32Array" in e, r = e.crypto || e.msCrypto, n = r && "function" == typeof r.getRandomValues; if (!(t && n)) return Math.random; var i = new Uint32Array(1), o = Math.pow(2, 32); function a() { return r.getRandomValues(i), i[0] / o } return a.cryptographic = !0, a }("undefined" != typeof self ? self : window) }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.useTextBoxSubmit = C, t.useTextBoxValue = O, t.connectSendTextBox = t.default = void 0; var i = r(7), o = S(r(3)), a = S(r(1)), s = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = T(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), u = r(534), c = S(r(1196)), l = S(r(1197)), f = S(r(44)), p = S(r(88)), d = S(r(89)), h = S(r(15)), v = S(r(138)), m = S(r(189)), y = S(r(190)), b = S(r(20)), g = S(r(6)), _ = S(r(191)); function T() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return T = function() { return e }, e } function S(e) { return e && e.__esModule ? e : { default: e } } function A(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var E = (0, i.css)({ "&.webchat__send-box-text-box": { display: "flex", "& .webchat__send-box-text-box__input, & .webchat__send-box-text-box__text-area-box": { flex: 1 } } }); function C() { var e = A((0, m.default)(), 1)[0], t = (0, d.default)(), r = (0, v.default)(), n = (0, _.default)(); return (0, s.useCallback)((function(i) { return e && (r(), n(), i && (!0 === i ? (console.warn('"botframework-webchat: Passing "true" to "useTextBoxSubmit" is deprecated and will be removed on or after 2022-04-23. Please pass "sendBox" instead."'), t("sendBox")) : t(i))), !!e }), [t, r, e, n]) } function O() { var e = A((0, m.default)(), 2), t = e[0], r = e[1], n = (0, y.default)(); return [t, (0, s.useCallback)((function(e) { r(e), n() }), [r, n])] } t.connectSendTextBox = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return f.default.apply(void 0, [function(e) { var t = e.disabled, r = e.focusSendBox, n = e.language, i = e.scrollToEnd, o = e.sendBoxValue, a = e.setSendBox, s = e.stopDictate, u = e.submitSendBox; return { disabled: t, language: n, onChange: function(e) { var t = e.target.value; a(t), s() }, onKeyPress: function(e) { var t = e.key, n = e.shiftKey; "Enter" !== t || n || (e.preventDefault(), o && (i(), u(), r())) }, onSubmit: function(e) { e.preventDefault(), o && (i(), u()) }, value: o } }].concat(t)) }; var w = function(e) { return e.preventDefault() }, I = function(e) { var t = e.className, r = A((0, b.default)(), 1)[0].sendBoxTextWrap, n = A((0, g.default)(), 1)[0], i = n.sendBoxTextArea, a = n.sendBoxTextBox, f = A((0, p.default)(), 1)[0], d = A(O(), 2), v = d[0], m = d[1], y = (0, h.default)(), _ = C(), T = y("TEXT_INPUT_ALT"), S = y("TEXT_INPUT_PLACEHOLDER"), I = (0, s.useCallback)((function(e) { var t = e.target.value; return m(t) }), [m]), P = (0, s.useCallback)((function(e) { var t = e.key, r = e.shiftKey; "Enter" !== t || r || (e.preventDefault(), _(!0)) }), [_]), x = (0, s.useCallback)((function(e) { e.preventDefault(), _() }), [_]); return s.default.createElement("form", { "aria-disabled": f, className: (0, o.default)(E + "", i + "", a + "", "webchat__send-box-text-box", t + ""), onSubmit: f ? w : x }, s.default.createElement(u.Context.Consumer, null, (function(e) { var t = e.sendFocusRef; return r ? s.default.createElement("div", { className: "webchat__send-box-text-box__text-area-box" }, s.default.createElement(l.default, { "aria-label": T, className: "webchat__send-box-text-box__text-area", "data-id": "webchat-sendbox-input", disabled: f, onChange: f ? void 0 : I, onKeyPress: f ? void 0 : P, placeholder: S, readOnly: f, ref: t, rows: "1", value: v }), s.default.createElement("div", { className: "webchat__send-box-text-box__text-area-doppelganger" }, v + "\n")) : s.default.createElement(c.default, { "aria-label": T, className: "webchat__send-box-text-box__input", "data-id": "webchat-sendbox-input", disabled: f, onChange: f ? void 0 : I, placeholder: S, readOnly: f, ref: t, type: "text", value: v }) })), f && s.default.createElement("div", { className: "webchat__send-box-text-box__glass" })) }; I.defaultProps = { className: "" }, I.propTypes = { className: a.default.string }; var P = I; t.default = P }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.tabIndex; if (a) { var r = e.attributes.getNamedItem("tabindex"); if (!r || !r.specified) return ~i.indexOf(e.nodeName.toLowerCase()) ? 0 : null } else if (!~t) { var n = e.getAttribute("tabindex"); if (null === n || "" === n && !o) return null } return t }; var n = window.navigator.userAgent, i = ["a", "body", "button", "frame", "iframe", "img", "input", "isindex", "object", "select", "textarea"], o = /Firefox\//i.test(n), a = /Trident\//i.test(n) }, function(e, t, r) { "use strict"; var n = r(105), i = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(302)), a = i(r(303)), s = i(r(1224)), u = i(r(1)), c = n(r(0)), l = i(r(304)), f = i(r(197)), p = i(r(558)), d = i(r(198)), h = i(r(559)); function v(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function m(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? v(r, !0).forEach((function(t) { (0, o.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : v(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var y = function e(t) { var r = (0, d.default)(t, e), n = r.lang, i = r.onBoundary, o = r.onEnd, a = r.onError, u = r.onStart, l = r.pitch, v = r.rate, m = r.speak, y = r.text, b = r.voice, g = r.volume, _ = (0, c.useContext)(f.default).ponyfill; m && !y && (console.warn('react-say: "speak" prop is being deprecated and renamed to "text".'), (0, s.default)("text"), y = m); var T = (0, c.useMemo)((function() { return (0, p.default)(_, { lang: n, onBoundary: i, pitch: l, rate: v, text: y, voice: b, volume: g }) }), [n, i, l, _, v, y, b, g]); return c.default.createElement(h.default, { onEnd: o, onError: a, onStart: u, ponyfill: _, utterance: T }) }; y.defaultProps = { children: void 0, lang: void 0, onBoundary: void 0, onEnd: void 0, onError: void 0, onStart: void 0, pitch: void 0, rate: void 0, speak: void 0, voice: void 0, volume: void 0 }, y.propTypes = { children: u.default.any, lang: u.default.string, onBoundary: u.default.func, onEnd: u.default.func, onError: u.default.func, onStart: u.default.func, pitch: u.default.number, rate: u.default.number, speak: u.default.string, text: u.default.string.isRequired, voice: u.default.oneOfType([u.default.any, u.default.func]), volume: u.default.number }; var b = function(e) { var t = e.ponyfill, r = (0, a.default)(e, ["ponyfill"]); return c.default.createElement(l.default, { ponyfill: t }, c.default.createElement(y, r)) }; b.defaultProps = m({}, h.default.defaultProps, { ponyfill: void 0 }), b.propTypes = m({}, h.default.propTypes, { ponyfill: u.default.shape({ speechSynthesis: u.default.any.isRequired, SpeechSynthesisUtterance: u.default.any.isRequired }) }); var g = b; t.default = g }, function(e, t) { e.exports = function(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t, r) { var n = r(187); e.exports = function(e, t) { if (null == e) return {}; var r, i, o = n(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (i = 0; i < a.length; i++) r = a[i], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (o[r] = e[r]) } return o } }, function(e, t, r) { "use strict"; var n = r(105), i = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(305)), a = i(r(1)), s = n(r(0)), u = i(r(197)), c = i(r(1228)), l = i(r(198)), f = i(r(1238)), p = function e(t) { var r = (0, l.default)(t, e), n = r.children, i = r.ponyfill, a = (0, s.useContext)(u.default) || {}, p = a.ponyfill, d = a.synthesize, h = i || p || { speechSynthesis: window.speechSynthesis || window.webkitSpeechSynthesis, SpeechSynthesisUtterance: window.SpeechSynthesisUtterance || window.webkitSpeechSynthesisUtterance }, v = (0, s.useMemo)((function() { return d || (0, c.default)() }), [d]), m = h.speechSynthesis, y = (0, s.useState)(m.getVoices()), b = (0, o.default)(y, 2), g = b[0], _ = b[1]; (0, f.default)(m, "voiceschanged", (function() { return _(m.getVoices()) })); var T = (0, s.useMemo)((function() { return { ponyfill: h, synthesize: v, voices: g } }), [h, v, g]); return s.default.createElement(u.default.Provider, { value: T }, "function" == typeof n ? s.default.createElement(u.default.Consumer, null, (function(e) { return n(e) })) : n) }; p.defaultProps = { children: void 0, ponyfill: void 0 }, p.propTypes = { children: a.default.any, ponyfill: a.default.shape({ speechSynthesis: a.default.any, SpeechSynthesisUtterance: a.default.any }) }; var d = p; t.default = d }, function(e, t, r) { var n = r(1225), i = r(1226), o = r(1227); e.exports = function(e, t) { return n(e) || i(e, t) || o() } }, function(e, t, r) { "use strict"; var n = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { if ("error" === e) { if ("function" == typeof ErrorEvent) return new ErrorEvent(e, t) } else if ("function" == typeof CustomEvent) return new CustomEvent(e, t); var r = document.createEvent("Event"); return r.initEvent(e, !0, !0), Object.entries(t || {}).forEach((function(e) { var t = (0, i.default)(e, 2), n = t[0], o = t[1]; r[n] = o })), r }; var i = n(r(305)) }, function(e, t) { e.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]/ }, function(e, t, r) { "use strict"; function n() { this.__rules__ = [], this.__cache__ = null } n.prototype.__find__ = function(e) { for (var t = 0; t < this.__rules__.length; t++) if (this.__rules__[t].name === e) return t; return -1 }, n.prototype.__compile__ = function() { var e = this, t = [""]; e.__rules__.forEach((function(e) { e.enabled && e.alt.forEach((function(e) { t.indexOf(e) < 0 && t.push(e) })) })), e.__cache__ = {}, t.forEach((function(t) { e.__cache__[t] = [], e.__rules__.forEach((function(r) { r.enabled && (t && r.alt.indexOf(t) < 0 || e.__cache__[t].push(r.fn)) })) })) }, n.prototype.at = function(e, t, r) { var n = this.__find__(e), i = r || {}; if (-1 === n) throw new Error("Parser rule not found: " + e); this.__rules__[n].fn = t, this.__rules__[n].alt = i.alt || [], this.__cache__ = null }, n.prototype.before = function(e, t, r, n) { var i = this.__find__(e), o = n || {}; if (-1 === i) throw new Error("Parser rule not found: " + e); this.__rules__.splice(i, 0, { name: t, enabled: !0, fn: r, alt: o.alt || [] }), this.__cache__ = null }, n.prototype.after = function(e, t, r, n) { var i = this.__find__(e), o = n || {}; if (-1 === i) throw new Error("Parser rule not found: " + e); this.__rules__.splice(i + 1, 0, { name: t, enabled: !0, fn: r, alt: o.alt || [] }), this.__cache__ = null }, n.prototype.push = function(e, t, r) { var n = r || {}; this.__rules__.push({ name: e, enabled: !0, fn: t, alt: n.alt || [] }), this.__cache__ = null }, n.prototype.enable = function(e, t) { Array.isArray(e) || (e = [e]); var r = []; return e.forEach((function(e) { var n = this.__find__(e); if (n < 0) { if (t) return; throw new Error("Rules manager: invalid rule name " + e) } this.__rules__[n].enabled = !0, r.push(e) }), this), this.__cache__ = null, r }, n.prototype.enableOnly = function(e, t) { Array.isArray(e) || (e = [e]), this.__rules__.forEach((function(e) { e.enabled = !1 })), this.enable(e, t) }, n.prototype.disable = function(e, t) { Array.isArray(e) || (e = [e]); var r = []; return e.forEach((function(e) { var n = this.__find__(e); if (n < 0) { if (t) return; throw new Error("Rules manager: invalid rule name " + e) } this.__rules__[n].enabled = !1, r.push(e) }), this), this.__cache__ = null, r }, n.prototype.getRules = function(e) { return null === this.__cache__ && this.__compile__(), this.__cache__[e] || [] }, e.exports = n }, function(e, t, r) { "use strict"; function n(e, t, r) { this.type = e, this.tag = t, this.attrs = null, this.map = null, this.nesting = r, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1 } n.prototype.attrIndex = function(e) { var t, r, n; if (!this.attrs) return -1; for (r = 0, n = (t = this.attrs).length; r < n; r++) if (t[r][0] === e) return r; return -1 }, n.prototype.attrPush = function(e) { this.attrs ? this.attrs.push(e) : this.attrs = [e] }, n.prototype.attrSet = function(e, t) { var r = this.attrIndex(e), n = [e, t]; r < 0 ? this.attrPush(n) : this.attrs[r] = n }, n.prototype.attrGet = function(e) { var t = this.attrIndex(e), r = null; return t >= 0 && (r = this.attrs[t][1]), r }, n.prototype.attrJoin = function(e, t) { var r = this.attrIndex(e); r < 0 ? this.attrPush([e, t]) : this.attrs[r][1] = this.attrs[r][1] + " " + t }, e.exports = n }, function(e, t, r) { var n, i, o; ! function(a, s) { "use strict"; i = [r(140)], void 0 === (o = "function" == typeof(n = function(e) { var t = e._runtimeKey, r = e._validateParameterPresence, n = e._validateParameterType, i = function(e, t) { n(e, t, void 0 === e || "number" == typeof e, "Number") }; return e._pluralGeneratorFn = function(e) { return function(t) { return r(t, "value"), i(t, "value"), e(t) } }, e._validateParameterTypeNumber = i, e.plural = e.prototype.plural = function(e, t) { return r(e, "value"), i(e, "value"), this.pluralGenerator(t)(e) }, e.pluralGenerator = e.prototype.pluralGenerator = function(r) { return r = r || {}, e[t("pluralGenerator", this._locale, [r])] }, e }) ? n.apply(t, i) : n) || (e.exports = o) }() }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }, i = function() { function e(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } return function(t, r, n) { return r && e(t.prototype, r), n && e(t, n), t } }(), o = l(r(1347)), a = l(r(1)), s = l(r(0)), u = l(r(1348)), c = l(r(1349)); function l(e) { return e && e.__esModule ? e : { default: e } } function f(e) { return !!e.abort } function p() { for (var e = arguments.length, t = Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return function() { var e = this, r = arguments; t.forEach((function(t) { return t.apply(e, r) })) } } var d = function(e) { function t(e) { ! function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, t); var r = function(e, t) { if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return !t || "object" != typeof t && "function" != typeof t ? e : t }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e)); return r.createGrammarList = (0, o.default)((function(e, t) { var r = new e; return t && r.addFromString(t, 1), r })), r.createRecognition = (0, o.default)((function(e) { return e && new e })), r.handleAudioEnd = r.handleAudioEnd.bind(r), r.handleAudioStart = r.handleAudioStart.bind(r), r.handleEnd = r.handleEnd.bind(r), r.handleError = r.handleError.bind(r), r.handleRawEvent = r.handleRawEvent.bind(r), r.handleResult = r.handleResult.bind(r), r.handleStart = r.handleStart.bind(r), r.state = { readyState: 0, supported: !!e.speechRecognition }, r } return function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t) }(t, e), i(t, [{ key: "componentWillReceiveProps", value: function(e) { var t = this.recognition, r = void 0; if (e.speechRecognition !== this.props.speechRecognition) { if (t) { if (!f(t)) throw new Error('Cannot change "speechRecognition" prop while the current one is ongoing and is not abortable.'); t.abort() } t = this.recognition = null, r = n({}, r, { supported: !!e.speechRecognition }) } if (e.started !== this.props.started) if (e.started) this.start(e), r = n({}, r, { abortable: f(this.recognition) }); else if (t) { if (!f(t)) throw new Error("Cannot stop recognition while the current one is ongoing and is not abortable."); t.abort() } r && this.setState((function() { return r })) } }, { key: "componentWillUnmount", value: function() { var e = this.recognition; e && (f(e) ? e.abort() : console.warn("react-dictate-button: Component is unmounted but recognition is still ongoing because it is not abortable.")) } }, { key: "handleAudioEnd", value: function() { this.setState((function() { return { readyState: 3 } })) } }, { key: "handleAudioStart", value: function() { this.setState((function() { return { readyState: 2 } })), this.emitDictateOnEnd = !0, this.props.onProgress && this.props.onProgress({ abortable: f(this.recognition) }) } }, { key: "handleEnd", value: function() { this.recognition = null, this.emitDictateOnEnd && this.props.onDictate && this.props.onDictate({}), this.setState((function() { return { readyState: 0 } })) } }, { key: "handleError", value: function(e) { this.setState((function() { return n({ readyState: 0 }, "not-allowed" === e.error && { supported: !1 }) })), this.emitDictateOnEnd = !1, this.recognition = null, this.props.onError && this.props.onError(e) } }, { key: "handleRawEvent", value: function(e) { this.props.onRawEvent && this.props.onRawEvent(e) } }, { key: "handleResult", value: function(e) { var t = this.props, r = e.results; if (r.length) { var n = [].map.call(r, (function(e) { var t = e[0]; return { confidence: t.confidence, transcript: t.transcript } })); r[0].isFinal ? (this.emitDictateOnEnd = !1, this.recognition = null, t.onDictate && t.onDictate({ result: n[0] })) : t.onProgress && t.onProgress({ abortable: f(this.recognition), results: n }) } } }, { key: "handleStart", value: function() { this.setState((function() { return { readyState: 1 } })) } }, { key: "start", value: function(e) { if (this.recognition) { if (!f(this.recognition)) throw new Error("Cannot start a new recognition while the current one is ongoing and is not abortable."); this.recognition.abort() } if (!this.state.supported) throw new Error("Speech recognition is not supported"); var t = this.recognition = this.createRecognition(e.speechRecognition); t.grammars = this.createGrammarList(e.speechGrammarList, e.grammar), t.lang = e.lang, t.interimResults = !0, t.onaudioend = p(this.handleAudioEnd, this.handleRawEvent), t.onaudiostart = p(this.handleAudioStart, this.handleRawEvent), t.onend = p(this.handleEnd, this.handleRawEvent), t.onerror = p(this.handleError, this.handleRawEvent), t.onnomatch = this.handleRawEvent, t.onresult = p(this.handleResult, this.handleRawEvent), t.onsoundend = this.handleRawEvent, t.onsoundstart = this.handleRawEvent, t.onspeechend = this.handleRawEvent, t.onspeechstart = this.handleRawEvent, t.onstart = p(this.handleStart, this.handleRawEvent), e.extra && Object.keys(e.extra).forEach((function(r) { t[r] = e.extra[r] })), t.start() } }, { key: "render", value: function() { var e = this.props, t = this.state, r = e.children; return s.default.createElement(u.default.Provider, { value: t }, s.default.createElement(u.default.Consumer, null, (function(e) { return "function" == typeof r ? r(e) : r }))) } }]), t }(s.default.Component); t.default = d, d.defaultProps = { speechGrammarList: (0, c.default)("SpeechGrammarList"), speechRecognition: (0, c.default)("SpeechRecognition") }, d.propTypes = { extra: a.default.any, lang: a.default.string, onDictate: a.default.func, onError: a.default.func, onProgress: a.default.func, onRawEvent: a.default.func, speechGrammarList: a.default.any, speechRecognition: a.default.any } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = a(r(1)), i = a(r(1359)), o = a(r(1467)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = function(e) { return (0, i.default)().use(o.default).processSync(e).contents }; s.propTypes = { text: n.default.string.isRequired }; var u = s; t.default = u }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = String(e), r = t.length; for (; "\n" === t.charAt(--r);); return t.slice(0, r + 1) } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r, n) { var i, o, a = e.length, s = -1; for (; ++s < a;) if (i = e[s], (void 0 === (o = i[1] || {}).pedantic || o.pedantic === r.options.pedantic) && (void 0 === o.commonmark || o.commonmark === r.options.commonmark) && t[i[0]].apply(r, n)) return !0; return !1 } }, function(e, t, r) { "use strict"; var n = r(1399); e.exports = function(e) { return n(e).toLowerCase() } }, function(e, t, r) { "use strict"; var n = r(1455); e.exports = function(e, t) { if (t || 0 === e.length || i.test(e) || n(e, "(") !== n(e, ")")) return "<" + e + ">"; return e }; var i = /\s/ }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = -1 === e.indexOf('"') ? '"' : "'"; return t + e + t } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = l(r(3)), o = l(r(1)), a = l(r(0)), s = l(r(23)), u = l(r(20)), c = l(r(6)); function l(e) { return e && e.__esModule ? e : { default: e } } function f(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var p = (0, n.css)({ position: "relative", "& > .webchat__bubble__content": { overflow: "hidden" } }); var d = function(e) { var t = e["aria-hidden"], r = e.children, n = e.className, o = e.fromUser, l = e.nub, d = f((0, c.default)(), 1)[0].bubble, h = f((0, u.default)(), 1)[0], v = h.bubbleBorderWidth, m = h.bubbleFromUserBorderWidth, y = h.bubbleFromUserNubSize, b = h.bubbleNubSize, g = h.bubbleNubOffset, _ = h.bubbleFromUserNubOffset, T = o ? { borderWidth: m, nubOffset: _, nubSize: y, side: "user" } : { borderWidth: v, nubOffset: g, nubSize: b, side: "bot" }, S = T.borderWidth, A = T.nubOffset, E = T.nubSize, C = T.side, O = f((0, s.default)(), 1)[0]; return a.default.createElement("div", { "aria-hidden": t, className: (0, i.default)(p + "", "rtl" === O ? "webchat__bubble--rtl" : "", d + "", { "from-user": o, webchat__bubble_has_nub: l }, n + "" || "") }, a.default.createElement("div", { className: "webchat__bubble__content" }, r), l && function(e, t, r) { var n = arguments.length > 3 && void 0 !== arguments[3] && arguments[3]; if (!e) return !1; var i = e / 2, o = t / 2, s = "bot" === r ? "" : "translate(".concat(i, " 0) scale(-1 1) translate(").concat(-i, " 0)"), u = n ? "translate(0 ".concat(i, ") scale(1 -1) translate(0 ").concat(-i, ")") : "", c = [e, o].join(" "), l = [t, o].join(" "), f = [e + t, e + o].join(" "); return a.default.createElement("svg", { className: "webchat__bubble__nub", version: "1.1", viewBox: "0 0 ".concat(e, " ").concat(e), xmlns: "http://www.w3.org/2000/svg" }, a.default.createElement("g", { transform: "".concat(s, " ").concat(u) }, a.default.createElement("path", { d: "M".concat(c, " L").concat(l, " L").concat(f) }))) }(E, S, C, !(1 / A >= 0))) }; d.defaultProps = { "aria-hidden": void 0, children: void 0, className: "", fromUser: !1, nub: !0 }, d.propTypes = { "aria-hidden": o.default.bool, children: o.default.any, className: o.default.string, fromUser: o.default.bool, nub: o.default.bool }; var h = d; t.default = h }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.activity, r = e.nextVisibleActivity, n = (0, i.useContext)(u.default).activityStatusRenderer, c = (A = (0, o.default)(), E = 1, function(e) { if (Array.isArray(e)) return e }(A) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(A, E) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }())[0], l = (0, a.default)(t), h = (0, i.useMemo)((function() { return function(e, t, r) { if (!1 === r) return !0; if (e && t && e.from && t.from && (r = "number" == typeof r ? r : 1 / 0, e.from.role === t.from.role)) { var n = new Date(e.timestamp).getTime(), i = new Date(t.timestamp).getTime(); return Math.abs(n - i) <= r } return !1 }(t, r, c) }), [t, c, r]), v = t.channelData, m = (v = void 0 === v ? {} : v).clientTimestamp, y = void 0 === m ? 0 : m, b = v.state, g = "user" === t.from.role, _ = b !== p && b !== f, T = (0, s.default)(g && !_ ? new Date(y).getTime() + l : 0), S = _ || !g ? d : T ? f : p; var A, E; return (0, i.useCallback)((function() { return n({ activity: t, nextVisibleActivity: r, sameTimestampGroup: h, sendState: S }) }), [t, n, r, h, S]) }; var n = r(48), i = r(0), o = c(r(605)), a = c(r(606)), s = c(r(1468)), u = c(r(62)); function c(e) { return e && e.__esModule ? e : { default: e } } var l = n.Constants.ActivityClientState, f = l.SEND_FAILED, p = l.SENDING, d = l.SENT }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.activity, r = (s = (0, i.default)(), u = 1, function(e) { if (Array.isArray(e)) return e }(s) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(s, u) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }())[0], a = (0, o.default)().avatarRenderer; var s, u; return (0, n.useMemo)((function() { var e = t.from, n = (e = void 0 === e ? {} : e).role, i = a({ activity: t, fromUser: "user" === n, styleOptions: r }); return !1 !== i && "function" != typeof i ? (console.warn("botframework-webchat: avatarMiddleware should return a function to render the avatar, or return false if avatar should be hidden."), function() { return i }) : i }), [t, a, r]) }; var n = r(0), i = a(r(20)), o = a(r(4)); function a(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { return (0, i.default)(t).dateFormatter({ skeleton: "MMMMdhm" })(new Date(e)) }; var n, i = (n = r(574)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; var n = r(202); Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "DirectLineStreaming", { enumerable: !0, get: function() { return p.DirectLineStreaming } }), t.DirectLine = t.ConnectionStatus = void 0; var i = n(r(631)), o = n(r(632)), a = n(r(633)), s = n(r(634)); r(735), r(746); var u = r(651), c = r(12), l = r(209); r(1535), r(1539), r(1543), r(1546), r(1550), r(1553), r(1556), r(1558), r(1560), r(1563), r(1566), r(1571), r(1575), r(1578), r(1580), r(1587), r(1591), r(1593); var f = n(r(1596)), p = r(1601); function d(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function h(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? d(r, !0).forEach((function(t) { (0, s.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : d(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var v; t.ConnectionStatus = v, function(e) { e[e.Uninitialized = 0] = "Uninitialized", e[e.Connecting = 1] = "Connecting", e[e.Online = 2] = "Online", e[e.ExpiredToken = 3] = "ExpiredToken", e[e.FailedToConnect = 4] = "FailedToConnect", e[e.Ended = 5] = "Ended" }(v || (t.ConnectionStatus = v = {})); var m = function(e, t) { var r = function() { throw new Error("not implemented") }; return Object.assign((function(r) { return e(r).catch((function(e) { if (429 === e.status) { var r = e.xhr.getResponseHeader("Retry-After"), n = Number(r); if (!isNaN(n)) return c.Observable.timer(n, t).flatMap((function(r) { return c.Observable.throw(e, t) })) } return c.Observable.throw(e, t) })) }), { get: function(e, t) { return r() }, post: function(e, t, n) { return r() }, put: function(e, t, n) { return r() }, patch: function(e, t, n) { return r() }, delete: function(e, t) { return r() }, getJSON: function(e, t) { return r() } }) }, y = new Error("expired token"), b = new Error("conversation ended"), g = new Error("failed to connect"), _ = function(e) { for (var t, r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++) n[i - 1] = arguments[i]; "undefined" != typeof window && window.botchatDebug && e && (t = console).log.apply(t, [e].concat(n)) }, T = function() { function e(t) { var r, n; (0, o.default)(this, e), (0, s.default)(this, "connectionStatus$", new u.BehaviorSubject(v.Uninitialized)), (0, s.default)(this, "activity$", void 0), (0, s.default)(this, "domain", "https://directline.botframework.com/v3/directline"), (0, s.default)(this, "webSocket", void 0), (0, s.default)(this, "conversationId", void 0), (0, s.default)(this, "expiredTokenExhaustion", void 0), (0, s.default)(this, "secret", void 0), (0, s.default)(this, "token", void 0), (0, s.default)(this, "watermark", ""), (0, s.default)(this, "streamUrl", void 0), (0, s.default)(this, "_botAgent", ""), (0, s.default)(this, "services", void 0), (0, s.default)(this, "_userAgent", void 0), (0, s.default)(this, "referenceGrammarId", void 0), (0, s.default)(this, "botIdHeader", void 0), (0, s.default)(this, "timeout", 2e4), (0, s.default)(this, "retries", void 0), (0, s.default)(this, "pollingInterval", 1e3), (0, s.default)(this, "tokenRefreshSubscription", void 0), this.secret = t.secret, this.token = t.secret || t.token, this.webSocket = (void 0 === t.webSocket || t.webSocket) && "undefined" != typeof WebSocket && void 0 !== WebSocket, t.domain && (this.domain = t.domain), t.conversationId && (this.conversationId = t.conversationId), t.watermark && (this.watermark = t.watermark), t.streamUrl && (t.token && t.conversationId ? this.streamUrl = t.streamUrl : console.warn("DirectLineJS: streamUrl was ignored: you need to provide a token and a conversationid")), void 0 !== t.timeout && (this.timeout = t.timeout), this.retries = 9e5 / this.timeout, this._botAgent = this.getBotAgent(t.botAgent), this.services = { scheduler: n = (r = t).scheduler || l.async, ajax: m(r.ajax || c.Observable.ajax, n), WebSocket: r.WebSocket || WebSocket, random: r.random || Math.random }; var i = ~~t.pollingInterval; i < 200 ? void 0 !== t.pollingInterval && console.warn("DirectLineJS: provided pollingInterval (".concat(t.pollingInterval, ") is under lower bound (200ms), using default of 1000ms")) : this.pollingInterval = i, this.expiredTokenExhaustion = this.setConnectionStatusFallback(v.ExpiredToken, v.FailedToConnect, 5), this.activity$ = (this.webSocket ? this.webSocketActivity$() : this.pollingGetActivity$()).share() } return (0, a.default)(e, [{ key: "checkConnection", value: function() { var e = this, t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], r = this.connectionStatus$.flatMap((function(t) { return t === v.Uninitialized ? (e.connectionStatus$.next(v.Connecting), e.token && e.streamUrl ? (e.connectionStatus$.next(v.Online), c.Observable.of(t, e.services.scheduler)) : e.startConversation().do((function(t) { e.conversationId = t.conversationId, e.token = e.secret || t.token, e.streamUrl = t.streamUrl, e.referenceGrammarId = t.referenceGrammarId, e.secret || e.refreshTokenLoop(), e.connectionStatus$.next(v.Online) }), (function(t) { e.connectionStatus$.next(v.FailedToConnect) })).map((function(e) { return t }))) : c.Observable.of(t, e.services.scheduler) })).filter((function(e) { return e != v.Uninitialized && e != v.Connecting })).flatMap((function(t) { switch (t) { case v.Ended: return c.Observable.throw(b, e.services.scheduler); case v.FailedToConnect: return c.Observable.throw(g, e.services.scheduler); case v.ExpiredToken: default: return c.Observable.of(t, e.services.scheduler) } })); return t ? r.take(1) : r } }, { key: "setConnectionStatusFallback", value: function(e, t) { var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 5; r--; var n = 0, i = null; return function(o) { return o === e && i === o && n >= r ? (n = 0, t) : (n++, i = o, o) } } }, { key: "expiredToken", value: function() { var e = this.connectionStatus$.getValue(); e != v.Ended && e != v.FailedToConnect && this.connectionStatus$.next(v.ExpiredToken); var t = this.expiredTokenExhaustion(this.connectionStatus$.getValue()); this.connectionStatus$.next(t) } }, { key: "startConversation", value: function() { var e = this, t = this.conversationId ? "".concat(this.domain, "/conversations/").concat(this.conversationId, "?watermark=").concat(this.watermark) : "".concat(this.domain, "/conversations"), r = this.conversationId ? "GET" : "POST"; return this.services.ajax({ method: r, url: t, timeout: this.timeout, headers: h({ Accept: "application/json" }, this.commonHeaders()) }).map((function(t) { try { e.botIdHeader || (e.botIdHeader = t.xhr.getResponseHeader("x-ms-bot-id")) } catch (e) {} return t.response })).retryWhen((function(t) { return t.mergeMap((function(t) { return t.status >= 400 && t.status < 600 ? c.Observable.throw(t, e.services.scheduler) : c.Observable.of(t, e.services.scheduler) })).delay(e.timeout, e.services.scheduler).take(e.retries) })) } }, { key: "refreshTokenLoop", value: function() { var e = this; this.tokenRefreshSubscription = c.Observable.interval(9e5, this.services.scheduler).flatMap((function(t) { return e.refreshToken() })).subscribe((function(t) { _("refreshing token", t, "at", new Date), e.token = t })) } }, { key: "refreshToken", value: function() { var e = this; return this.checkConnection(!0).flatMap((function(t) { return e.services.ajax({ method: "POST", url: "".concat(e.domain, "/tokens/refresh"), timeout: e.timeout, headers: h({}, e.commonHeaders()) }).map((function(e) { return e.response.token })).retryWhen((function(t) { return t.mergeMap((function(t) { return 403 === t.status ? (e.expiredToken(), c.Observable.throw(t, e.services.scheduler)) : 404 === t.status ? c.Observable.throw(t, e.services.scheduler) : c.Observable.of(t, e.services.scheduler) })).delay(e.timeout, e.services.scheduler).take(e.retries) })) })) } }, { key: "reconnect", value: function(e) { this.token = e.token, this.streamUrl = e.streamUrl, this.connectionStatus$.getValue() === v.ExpiredToken && this.connectionStatus$.next(v.Online) } }, { key: "end", value: function() { this.tokenRefreshSubscription && this.tokenRefreshSubscription.unsubscribe(); try { this.connectionStatus$.next(v.Ended) } catch (e) { if (e === b) return; throw e } } }, { key: "getSessionId", value: function() { var e = this; return _("getSessionId"), this.checkConnection(!0).flatMap((function(t) { return e.services.ajax({ method: "GET", url: "".concat(e.domain, "/session/getsessionid"), withCredentials: !0, timeout: e.timeout, headers: h({ "Content-Type": "application/json" }, e.commonHeaders()) }).map((function(e) { return e && e.response && e.response.sessionId ? (_("getSessionId response: " + e.response.sessionId), e.response.sessionId) : "" })).catch((function(t) { return _("getSessionId error: " + t.status), c.Observable.of("", e.services.scheduler) })) })).catch((function(t) { return e.catchExpiredToken(t) })) } }, { key: "postActivity", value: function(e) { var t = this; return "message" === e.type && e.attachments && e.attachments.length > 0 ? this.postMessageWithAttachments(e) : (_("postActivity", e), this.checkConnection(!0).flatMap((function(r) { return t.services.ajax({ method: "POST", url: "".concat(t.domain, "/conversations/").concat(t.conversationId, "/activities"), body: e, timeout: t.timeout, headers: h({ "Content-Type": "application/json" }, t.commonHeaders()) }).map((function(e) { return e.response.id })).catch((function(e) { return t.catchPostError(e) })) })).catch((function(e) { return t.catchExpiredToken(e) }))) } }, { key: "postMessageWithAttachments", value: function(e) { var t, r = this, n = e.attachments, o = (0, f.default)(n.map((function(e) { return e.name || "blob" }))), a = n.map((function(e, t) { return h({}, e, { name: o[t] }) })); return this.checkConnection(!0).flatMap((function(n) { return (t = new FormData).append("activity", new Blob([JSON.stringify(h({}, e, { attachments: a.map((function(e) { e.contentUrl; return h({}, (0, i.default)(e, ["contentUrl"])) })) }))], { type: "application/vnd.microsoft.activity" })), c.Observable.from(a, r.services.scheduler).flatMap((function(e) { return r.services.ajax({ method: "GET", url: e.contentUrl, responseType: "arraybuffer" }).do((function(r) { return t.append("file", new Blob([r.response], { type: e.contentType }), e.name) })) })).count() })).flatMap((function(n) { return r.services.ajax({ method: "POST", url: "".concat(r.domain, "/conversations/").concat(r.conversationId, "/upload?userId=").concat(e.from.id), body: t, timeout: r.timeout, headers: h({}, r.commonHeaders()) }).map((function(e) { return e.response.id })).catch((function(e) { return r.catchPostError(e) })) })).catch((function(e) { return r.catchPostError(e) })) } }, { key: "catchPostError", value: function(e) { if (403 === e.status) this.expiredToken(); else if (e.status >= 400 && e.status < 500) return c.Observable.throw(e, this.services.scheduler); return c.Observable.of("retry", this.services.scheduler) } }, { key: "catchExpiredToken", value: function(e) { return e === y ? c.Observable.of("retry", this.services.scheduler) : c.Observable.throw(e, this.services.scheduler) } }, { key: "pollingGetActivity$", value: function() { var e = this, t = c.Observable.create((function(t) { var r = new u.BehaviorSubject({}); r.subscribe((function() { if (e.connectionStatus$.getValue() === v.Online) { var n = Date.now(); e.services.ajax({ headers: h({ Accept: "application/json" }, e.commonHeaders()), method: "GET", url: "".concat(e.domain, "/conversations/").concat(e.conversationId, "/activities?watermark=").concat(e.watermark), timeout: e.timeout }).subscribe((function(i) { t.next(i), setTimeout((function() { return r.next(null) }), Math.max(0, e.pollingInterval - Date.now() + n)) }), (function(n) { switch (n.status) { case 403: e.connectionStatus$.next(v.ExpiredToken), setTimeout((function() { return r.next(null) }), e.pollingInterval); break; case 404: e.connectionStatus$.next(v.Ended); break; default: t.error(n) } })) } })) })); return this.checkConnection().flatMap((function(r) { return t.catch((function() { return c.Observable.empty() })).map((function(e) { return e.response })).flatMap((function(t) { return e.observableFromActivityGroup(t) })) })) } }, { key: "observableFromActivityGroup", value: function(e) { return e.watermark && (this.watermark = e.watermark), c.Observable.from(e.activities, this.services.scheduler) } }, { key: "webSocketActivity$", value: function() { var e = this; return this.checkConnection().flatMap((function(t) { return e.observableWebSocket().retryWhen((function(t) { return t.delay(e.getRetryDelay(), e.services.scheduler).mergeMap((function(t) { return e.reconnectToConversation() })) })) })).flatMap((function(t) { return e.observableFromActivityGroup(t) })) } }, { key: "getRetryDelay", value: function() { return Math.floor(3e3 + 12e3 * this.services.random()) } }, { key: "observableWebSocket", value: function() { var e = this; return c.Observable.create((function(t) { _("creating WebSocket", e.streamUrl); var r, n = new e.services.WebSocket(e.streamUrl); return n.onopen = function(t) { _("WebSocket open", t), r = c.Observable.interval(e.timeout, e.services.scheduler).subscribe((function(e) { try { n.send("") } catch (e) { _("Ping error", e) } })) }, n.onclose = function(e) { _("WebSocket close", e), r && r.unsubscribe(), t.error(e) }, n.onmessage = function(e) { return e.data && t.next(JSON.parse(e.data)) }, function() { 0 !== n.readyState && 1 !== n.readyState || n.close() } })) } }, { key: "reconnectToConversation", value: function() { var e = this; return this.checkConnection(!0).flatMap((function(t) { return e.services.ajax({ method: "GET", url: "".concat(e.domain, "/conversations/").concat(e.conversationId, "?watermark=").concat(e.watermark), timeout: e.timeout, headers: h({ Accept: "application/json" }, e.commonHeaders()) }).do((function(t) { e.secret || (e.token = t.response.token), e.streamUrl = t.response.streamUrl })).map((function(e) { return null })).retryWhen((function(t) { return t.mergeMap((function(t) { if (403 === t.status) e.expiredToken(); else if (404 === t.status) return c.Observable.throw(b, e.services.scheduler); return c.Observable.of(t, e.services.scheduler) })).delay(e.timeout, e.services.scheduler).take(e.retries) })) })) } }, { key: "commonHeaders", value: function() { return Object.assign({ Authorization: "Bearer ".concat(this.token), "x-ms-bot-agent": this._botAgent }, this.botIdHeader ? { "x-ms-bot-id": this.botIdHeader } : null) } }, { key: "getBotAgent", value: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "", t = "directlinejs"; return e && (t += "; ".concat(e)), "".concat("DirectLine/3.0", " (").concat(t, " ").concat("0.12.0", ")") } }]), e }(); t.DirectLine = T }, function(e, t, r) { var n = {}; n[r(32)("toStringTag")] = "z", e.exports = "[object z]" === String(n) }, function(e, t, r) { var n = r(25), i = r(68); e.exports = function(e, t) { try { i(n, e, t) } catch (r) { n[e] = t } return t } }, function(e, t, r) { var n = r(25), i = r(57), o = n.document, a = i(o) && i(o.createElement); e.exports = function(e) { return a ? o.createElement(e) : {} } }, function(e, t, r) { var n = r(635), i = Function.toString; "function" != typeof n.inspectSource && (n.inspectSource = function(e) { return i.call(e) }), e.exports = n.inspectSource }, function(e, t) { var r = Math.ceil, n = Math.floor; e.exports = function(e) { return isNaN(e = +e) ? 0 : (e > 0 ? n : r)(e) } }, function(e, t) { e.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"] }, function(e, t, r) { var n = r(52), i = r(357), o = r(221), a = r(1517), s = o("IE_PROTO"), u = Object.prototype; e.exports = a ? Object.getPrototypeOf : function(e) { return e = i(e), n(e, s) ? e[s] : "function" == typeof e.constructor && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? u : null } }, function(e, t, r) { "use strict"; var n, i = r(208); function o() { try { return n.apply(this, arguments) } catch (e) { return i.errorObject.e = e, i.errorObject } } t.tryCatch = function(e) { return n = e, o } }, function(e, t, r) { "use strict"; var n = r(67).root.Symbol; t.rxSubscriber = "function" == typeof n && "function" == typeof n.for ? n.for("rxSubscriber") : "@@rxSubscriber", t.$$rxSubscriber = t.rxSubscriber }, function(e, t, r) { "use strict"; var n = r(67); function i(e) { var t, r = e.Symbol; return "function" == typeof r ? r.observable ? t = r.observable : (t = r("observable"), r.observable = t) : t = "@@observable", t } t.getSymbolObservable = i, t.observable = i(n.root), t.$$observable = t.observable }, function(e, t, r) { "use strict"; var n = r(67); function i(e) { var t = e.Symbol; if ("function" == typeof t) return t.iterator || (t.iterator = t("iterator polyfill")), t.iterator; var r = e.Set; if (r && "function" == typeof(new r)["@@iterator"]) return "@@iterator"; var n = e.Map; if (n) for (var i = Object.getOwnPropertyNames(n.prototype), o = 0; o < i.length; ++o) { var a = i[o]; if ("entries" !== a && "size" !== a && n.prototype[a] === n.prototype.entries) return a } return "@@iterator" } t.symbolIteratorPonyfill = i, t.iterator = i(n.root), t.$$iterator = t.iterator }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(12), o = r(658), a = r(212), s = r(1542), u = function(e) { function t(t, r) { e.call(this), this.array = t, this.scheduler = r, r || 1 !== t.length || (this._isScalar = !0, this.value = t[0]) } return n(t, e), t.create = function(e, r) { return new t(e, r) }, t.of = function() { for (var e = [], r = 0; r < arguments.length; r++) e[r - 0] = arguments[r]; var n = e[e.length - 1]; s.isScheduler(n) ? e.pop() : n = null; var i = e.length; return i > 1 ? new t(e, n) : 1 === i ? new o.ScalarObservable(e[0], n) : new a.EmptyObservable(n) }, t.dispatch = function(e) { var t = e.array, r = e.index, n = e.count, i = e.subscriber; r >= n ? i.complete() : (i.next(t[r]), i.closed || (e.index = r + 1, this.schedule(e))) }, t.prototype._subscribe = function(e) { var r = this.array, n = r.length, i = this.scheduler; if (i) return i.schedule(t.dispatch, 0, { array: r, index: 0, count: n, subscriber: e }); for (var o = 0; o < n && !e.closed; o++) e.next(r[o]); e.complete() }, t }(i.Observable); t.ArrayObservable = u }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(336), i = function(e) { this.id = n.generateGuid(), this.content = e, this.description = { id: this.id, type: this.content.headers ? this.content.headers.type : "unknown", length: this.content.headers ? this.content.headers.contentLength : 0 } }; t.HttpContentStream = i; var o = function() { function e(e, t) { this.headers = e, this.stream = t } return e.prototype.getStream = function() { return this.stream }, e }(); t.HttpContent = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(1609); t.generateGuid = function() { return n() } }, function(e, t, r) { "use strict"; function n(e) { for (var r in e) t.hasOwnProperty(r) || (t[r] = e[r]) } Object.defineProperty(t, "__esModule", { value: !0 }), n(r(338)), n(r(340)), n(r(668)), n(r(91)), n(r(1619)), n(r(670)), n(r(340)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(339), i = function() { function e() {} return e.serialize = function(e, t) { t.write(e.payloadType, this.TypeOffset, 1, this.Encoding), t.write(this.Delimiter, this.TypeDelimiterOffset, 1, this.Encoding), t.write(this.headerLengthPadder(e.payloadLength, this.LengthLength, "0"), this.LengthOffset, this.LengthLength, this.Encoding), t.write(this.Delimiter, this.LengthDelimeterOffset, 1, this.Encoding), t.write(e.id, this.IdOffset), t.write(this.Delimiter, this.IdDelimeterOffset, 1, this.Encoding), t.write(e.end ? this.End : this.NotEnd, this.EndOffset), t.write(this.Terminator, this.TerminatorOffset) }, e.deserialize = function(e) { var t = e.toString(this.Encoding), r = t.split(this.Delimiter); if (4 !== r.length) throw Error("Cannot parse header, header is malformed. Header: " + t); var i = r[0], o = r[1], a = r[2], s = r[3], u = { end: "1\n" === s, payloadLength: Number(o), payloadType: i, id: a }; if (!(u.payloadLength <= n.PayloadConstants.MaxPayloadLength && u.payloadLength >= n.PayloadConstants.MinLength)) throw Error("Header length of " + u.payloadLength + " is missing or malformed"); if (u.payloadType.length !== this.TypeDelimiterOffset) throw Error("Header type '" + u.payloadType.length + "' is missing or malformed."); if (!u.id || !u.id.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i) || u.id.length !== this.IdLength) throw Error("Header ID '" + u.id + "' is missing or malformed."); if ("0\n" !== s && "1\n" !== s) throw Error("Header End is missing or not a valid value. Header end: '" + s + "'"); return u }, e.headerLengthPadder = function(e, t, r) { var n = Array(t + 1).join(r), i = e.toString(); return (n + i).slice(i.length) }, e.Delimiter = ".", e.Terminator = "\n", e.End = "1", e.NotEnd = "0", e.TypeOffset = 0, e.TypeDelimiterOffset = 1, e.LengthOffset = 2, e.LengthLength = 6, e.LengthDelimeterOffset = 8, e.IdOffset = 9, e.IdLength = 36, e.IdDelimeterOffset = 45, e.EndOffset = 46, e.TerminatorOffset = 47, e.Encoding = "utf8", e }(); t.HeaderSerializer = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.MaxPayloadLength = 4096] = "MaxPayloadLength", e[e.MaxHeaderLength = 48] = "MaxHeaderLength", e[e.MaxLength = 999999] = "MaxLength", e[e.MinLength = 0] = "MinLength" }(t.PayloadConstants || (t.PayloadConstants = {})) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(669), i = function() { function e(e) { this.activeAssemblers = [], this.onCancelStream = e } return e.prototype.getPayloadAssembler = function(e) { if (this.activeAssemblers[e]) return this.activeAssemblers[e]; var t = new n.PayloadAssembler(this, { id: e }); return this.activeAssemblers[e] = t, t }, e.prototype.getPayloadStream = function(e) { return this.getPayloadAssembler(e.id).getPayloadStream() }, e.prototype.onReceive = function(e, t, r) { this.activeAssemblers[e.id] && this.activeAssemblers[e.id].onReceive(e, t, r) }, e.prototype.closeStream = function(e) { if (this.activeAssemblers[e]) { var t = this.activeAssemblers[e]; this.activeAssemblers.splice(this.activeAssemblers.indexOf(e), 1); var r = t.getPayloadStream(); (t.contentLength && r.length < t.contentLength || !t.end) && this.onCancelStream(t) } }, e }(); t.StreamManager = i }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(149), a = function() { function e(e, t) { this.sender = e, this.id = t } return e.serialize = function(e) { var t = new o.SubscribableStream; return t.write(JSON.stringify(e)), t.end(), { stream: t, streamLength: t.length } }, e.prototype.disassemble = function() { return n(this, void 0, void 0, (function() { var e, t, r; return i(this, (function(n) { switch (n.label) { case 0: return [4, this.getStream()]; case 1: return e = n.sent(), t = e.stream, r = e.streamLength, this.stream = t, this.streamLength = r, [2, this.send()] } })) })) }, e.prototype.send = function() { return n(this, void 0, void 0, (function() { var e; return i(this, (function(t) { return e = { payloadType: this.payloadType, payloadLength: this.streamLength, id: this.id, end: !0 }, this.sender.sendPayload(e, this.stream), [2] })) })) }, e }(); t.PayloadDisassembler = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.reason = e } return e.Empty = new e, e }(); t.TransportDisconnectedEvent = n }, function(e, t, r) { "use strict"; (function(e) { var r = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, n = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var i = function() { function t(e) { var t = this; this._socket = e, this._queue = [], this._activeOffset = 0, this._activeReceiveCount = 0, this._socket.setOnMessageHandler((function(e) { t.onReceive(e) })), this._socket.setOnErrorHandler((function(e) { t.onError(e) })), this._socket.setOnCloseHandler((function() { t.onClose() })) } return t.prototype.send = function(e) { return this._socket && this._socket.isConnected ? (this._socket.write(e), e.length) : 0 }, Object.defineProperty(t.prototype, "isConnected", { get: function() { return this._socket.isConnected }, enumerable: !0, configurable: !0 }), t.prototype.close = function() { this._socket && this._socket.isConnected && this._socket.close() }, t.prototype.receive = function(e) { return r(this, void 0, void 0, (function() { var t, r = this; return n(this, (function(n) { if (this._activeReceiveResolve) throw new Error("Cannot call receiveAsync more than once before it has returned."); return this._activeReceiveCount = e, t = new Promise((function(e, t) { r._activeReceiveResolve = e, r._activeReceiveReject = t })), this.trySignalData(), [2, t] })) })) }, t.prototype.onReceive = function(t) { this._queue && t && t.byteLength > 0 && (this._queue.push(e.from(t)), this.trySignalData()) }, t.prototype.onClose = function() { this._activeReceiveReject && this._activeReceiveReject(new Error("Socket was closed.")), this._active = null, this._activeOffset = 0, this._activeReceiveResolve = null, this._activeReceiveReject = null, this._activeReceiveCount = 0, this._socket = null }, t.prototype.onError = function(e) { this._activeReceiveReject && this._activeReceiveReject(e), this.onClose() }, t.prototype.trySignalData = function() { if (this._activeReceiveResolve && (!this._active && this._queue.length > 0 && (this._active = this._queue.shift(), this._activeOffset = 0), this._active)) { if (0 === this._activeOffset && this._active.length === this._activeReceiveCount) { var t = this._active; this._active = null, this._activeReceiveResolve(t) } else { var r = Math.min(this._activeReceiveCount, this._active.length - this._activeOffset); t = e.alloc(r); this._active.copy(t, 0, this._activeOffset, this._activeOffset + r), this._activeOffset += r, this._activeOffset >= this._active.length && (this._active = null, this._activeOffset = 0), this._activeReceiveResolve(t) } this._activeReceiveCount = 0, this._activeReceiveReject = null, this._activeReceiveResolve = null } }, t }(); t.WebSocketTransport = i }).call(this, r(8).Buffer) }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(1743)), o = n(r(1744)), a = n(r(93)), s = r(1638); function u(e, t) { var r, n = e.type; return "imBack" === n || "messageBack" === n || "postBack" === n || "signin" === n && t ? ((r = new s.SubmitAction).data = { __isBotFrameworkCardAction: !0, cardAction: e }, r.title = e.title) : ((r = new s.OpenUrlAction).title = e.title, r.url = "call" === e.type ? "tel:".concat(e.value) : e.value), r } var c = function() { function e(t, r) { var n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "ltr"; (0, i.default)(this, e), (0, a.default)(this, "card", void 0), (0, a.default)(this, "container", void 0), (0, a.default)(this, "styleOptions", void 0), this.card = new t.AdaptiveCard, this.container = new s.Container, this.container.rtl = "rtl" === n, this.styleOptions = r, this.card.addItem(this.container) } return (0, o.default)(e, [{ key: "addColumnSet", value: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.container, r = new s.ColumnSet; return t.addItem(r), e.map((function(e) { var t = new s.Column; return t.width = s.SizeAndUnit.parse(e), r.addColumn(t), t })) } }, { key: "addItems", value: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.container; e.forEach((function(e) { return t.addItem(e) })) } }, { key: "addTextBlock", value: function(e, t) { var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : this.container; if (void 0 !== e) { var n = new s.TextBlock; for (var i in t) n[i] = t[i]; n.text = e, r.addItem(n) } } }, { key: "addButtons", value: function(e, t) { var r = this; e && e.forEach((function(e) { r.card.addAction(u(e, t)) })) } }, { key: "addCommonHeaders", value: function(e) { var t = this.styleOptions.richCardWrapTitle; this.addTextBlock(e.title, { color: s.TextColor.Dark, size: s.TextSize.Medium, weight: s.TextWeight.Bolder, wrap: t }), this.addTextBlock(e.subtitle, { color: s.TextColor.Dark, isSubtle: !0, wrap: t }), this.addTextBlock(e.text, { color: s.TextColor.Dark, wrap: !0 }) } }, { key: "addCommon", value: function(e) { this.addCommonHeaders(e), this.addButtons(e.buttons) } }, { key: "addImage", value: function(e, t, r) { t = t || this.container; var n = new s.Image; n.url = e, n.selectAction = r && u(r), n.size = s.Size.Stretch, t.addItem(n) } }]), e }(); t.default = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e() {} return e.Default = "default", e.Positive = "positive", e.Destructive = "destructive", e }(); t.ActionStyle = n, function(e) { e[e.Auto = 0] = "Auto", e[e.Stretch = 1] = "Stretch", e[e.Small = 2] = "Small", e[e.Medium = 3] = "Medium", e[e.Large = 4] = "Large" }(t.Size || (t.Size = {})), function(e) { e[e.Weight = 0] = "Weight", e[e.Pixel = 1] = "Pixel" }(t.SizeUnit || (t.SizeUnit = {})), function(e) { e[e.Small = 0] = "Small", e[e.Default = 1] = "Default", e[e.Medium = 2] = "Medium", e[e.Large = 3] = "Large", e[e.ExtraLarge = 4] = "ExtraLarge" }(t.TextSize || (t.TextSize = {})), function(e) { e[e.Lighter = 0] = "Lighter", e[e.Default = 1] = "Default", e[e.Bolder = 2] = "Bolder" }(t.TextWeight || (t.TextWeight = {})), function(e) { e[e.Default = 0] = "Default", e[e.Monospace = 1] = "Monospace" }(t.FontType || (t.FontType = {})), function(e) { e[e.None = 0] = "None", e[e.Small = 1] = "Small", e[e.Default = 2] = "Default", e[e.Medium = 3] = "Medium", e[e.Large = 4] = "Large", e[e.ExtraLarge = 5] = "ExtraLarge", e[e.Padding = 6] = "Padding" }(t.Spacing || (t.Spacing = {})), function(e) { e[e.Default = 0] = "Default", e[e.Dark = 1] = "Dark", e[e.Light = 2] = "Light", e[e.Accent = 3] = "Accent", e[e.Good = 4] = "Good", e[e.Warning = 5] = "Warning", e[e.Attention = 6] = "Attention" }(t.TextColor || (t.TextColor = {})), function(e) { e[e.Left = 0] = "Left", e[e.Center = 1] = "Center", e[e.Right = 2] = "Right" }(t.HorizontalAlignment || (t.HorizontalAlignment = {})), function(e) { e[e.Top = 0] = "Top", e[e.Center = 1] = "Center", e[e.Bottom = 2] = "Bottom" }(t.VerticalAlignment || (t.VerticalAlignment = {})), function(e) { e[e.Left = 0] = "Left", e[e.Center = 1] = "Center", e[e.Right = 2] = "Right", e[e.Stretch = 3] = "Stretch" }(t.ActionAlignment || (t.ActionAlignment = {})), function(e) { e[e.Default = 0] = "Default", e[e.Person = 1] = "Person" }(t.ImageStyle || (t.ImageStyle = {})), function(e) { e[e.Inline = 0] = "Inline", e[e.Popup = 1] = "Popup" }(t.ShowCardActionMode || (t.ShowCardActionMode = {})), function(e) { e[e.Horizontal = 0] = "Horizontal", e[e.Vertical = 1] = "Vertical" }(t.Orientation || (t.Orientation = {})), function(e) { e[e.Cover = 0] = "Cover", e[e.RepeatHorizontally = 1] = "RepeatHorizontally", e[e.RepeatVertically = 2] = "RepeatVertically", e[e.Repeat = 3] = "Repeat" }(t.FillMode || (t.FillMode = {})), function(e) { e[e.LeftOfTitle = 0] = "LeftOfTitle", e[e.AboveTitle = 1] = "AboveTitle" }(t.ActionIconPlacement || (t.ActionIconPlacement = {})), function(e) { e[e.Text = 0] = "Text", e[e.Tel = 1] = "Tel", e[e.Url = 2] = "Url", e[e.Email = 3] = "Email" }(t.InputTextStyle || (t.InputTextStyle = {})), function(e) { e[e.Optional = 0] = "Optional", e[e.Required = 1] = "Required", e[e.RequiredWithVisualCue = 2] = "RequiredWithVisualCue" }(t.InputValidationNecessity || (t.InputValidationNecessity = {})); var i = function() { function e() {} return e.Default = "default", e.Emphasis = "emphasis", e.Accent = "accent", e.Good = "good", e.Attention = "attention", e.Warning = "warning", e }(); t.ContainerStyle = i, function(e) { e[e.Hint = 0] = "Hint", e[e.ActionTypeNotAllowed = 1] = "ActionTypeNotAllowed", e[e.CollectionCantBeEmpty = 2] = "CollectionCantBeEmpty", e[e.Deprecated = 3] = "Deprecated", e[e.ElementTypeNotAllowed = 4] = "ElementTypeNotAllowed", e[e.InteractivityNotAllowed = 5] = "InteractivityNotAllowed", e[e.InvalidPropertyValue = 6] = "InvalidPropertyValue", e[e.MissingCardType = 7] = "MissingCardType", e[e.PropertyCantBeNull = 8] = "PropertyCantBeNull", e[e.TooManyActions = 9] = "TooManyActions", e[e.UnknownActionType = 10] = "UnknownActionType", e[e.UnknownElementType = 11] = "UnknownElementType", e[e.UnsupportedCardVersion = 12] = "UnsupportedCardVersion", e[e.DuplicateId = 13] = "DuplicateId" }(t.ValidationError || (t.ValidationError = {})), function(e) { e[e.FullyInContainer = 0] = "FullyInContainer", e[e.Overflowing = 1] = "Overflowing", e[e.FullyOutOfContainer = 2] = "FullyOutOfContainer" }(t.ContainerFitStatus || (t.ContainerFitStatus = {})) }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function() { function e() {} return e.getDefaultInputFormat = function() { return a.getDefaultInputFormat() }, e.getWaveFormatPCM = function(e, t, r) { return new a(e, t, r) }, e }(); t.AudioStreamFormat = o; var a = function(e) { function t(t, r, n) { void 0 === t && (t = 16e3), void 0 === r && (r = 16), void 0 === n && (n = 1); var i = e.call(this) || this; i.setString = function(e, t, r) { for (var n = 0; n < r.length; n++) e.setUint8(t + n, r.charCodeAt(n)) }, i.formatTag = 1, i.bitsPerSample = r, i.samplesPerSec = t, i.channels = n, i.avgBytesPerSec = i.samplesPerSec * i.channels * (i.bitsPerSample / 8), i.blockAlign = i.channels * Math.max(i.bitsPerSample, 8), i.privHeader = new ArrayBuffer(44); var o = new DataView(i.privHeader); return i.setString(o, 0, "RIFF"), o.setUint32(4, 0, !0), i.setString(o, 8, "WAVEfmt "), o.setUint32(16, 16, !0), o.setUint16(20, 1, !0), o.setUint16(22, i.channels, !0), o.setUint32(24, i.samplesPerSec, !0), o.setUint32(28, i.avgBytesPerSec, !0), o.setUint16(32, i.channels * (i.bitsPerSample / 8), !0), o.setUint16(34, i.bitsPerSample, !0), i.setString(o, 36, "data"), o.setUint32(40, 0, !0), i } return i(t, e), t.getDefaultInputFormat = function() { return new t }, t.prototype.close = function() {}, Object.defineProperty(t.prototype, "header", { get: function() { return this.privHeader }, enumerable: !0, configurable: !0 }), t }(o); t.AudioStreamFormatImpl = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(21), i = r(9), o = r(366), a = function() { function e() {} return e.prototype.setCommonUrlParams = function(e, t, r) { this.setUrlParameter(i.PropertyId.SpeechServiceConnection_EnableAudioLogging, o.QueryParameterNames.EnableAudioLogging, e, t, r), this.setUrlParameter(i.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps, o.QueryParameterNames.EnableWordLevelTimestamps, e, t, r), this.setUrlParameter(i.PropertyId.SpeechServiceResponse_ProfanityOption, o.QueryParameterNames.Profanify, e, t, r), this.setUrlParameter(i.PropertyId.SpeechServiceConnection_InitialSilenceTimeoutMs, o.QueryParameterNames.InitialSilenceTimeoutMs, e, t, r), this.setUrlParameter(i.PropertyId.SpeechServiceConnection_EndSilenceTimeoutMs, o.QueryParameterNames.EndSilenceTimeoutMs, e, t, r), this.setUrlParameter(i.PropertyId.SpeechServiceResponse_StablePartialResultThreshold, o.QueryParameterNames.StableIntermediateThreshold, e, t, r); var a = JSON.parse(e.parameters.getProperty(n.ServicePropertiesPropertyName, "{}")); Object.keys(a).forEach((function(e, r, n) { t[e] = a[e] })) }, e.prototype.setUrlParameter = function(e, t, r, n, i) { var o = r.parameters.getProperty(e, void 0); !o || i && -1 !== i.search(t) || (n[t] = o.toLocaleLowerCase()) }, e }(); t.ConnectionFactoryBase = a }, function(e, t, r) { var n = r(1907), i = r(705); e.exports = function(e) { return n(i(e)) } }, function(e, t) { e.exports = function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } }, function(e, t) { e.exports = function(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t) { e.exports = {} }, function(e, t) { e.exports = { Text: "text", Directive: "directive", Comment: "comment", Script: "script", Style: "style", Tag: "tag", CDATA: "cdata", Doctype: "doctype", isTag: function(e) { return "tag" === e.type || "script" === e.type || "style" === e.type } } }, function(e, t) { t.getArg = function(e, t, r) { if (t in e) return e[t]; if (3 === arguments.length) return r; throw new Error('"' + t + '" is a required argument.') }; var r = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/, n = /^data:.+\,.+$/; function i(e) { var t = e.match(r); return t ? { scheme: t[1], auth: t[2], host: t[3], port: t[4], path: t[5] } : null } function o(e) { var t = ""; return e.scheme && (t += e.scheme + ":"), t += "//", e.auth && (t += e.auth + "@"), e.host && (t += e.host), e.port && (t += ":" + e.port), e.path && (t += e.path), t } function a(e) { var r = e, n = i(e); if (n) { if (!n.path) return e; r = n.path } for (var a, s = t.isAbsolute(r), u = r.split(/\/+/), c = 0, l = u.length - 1; l >= 0; l--) "." === (a = u[l]) ? u.splice(l, 1) : ".." === a ? c++ : c > 0 && ("" === a ? (u.splice(l + 1, c), c = 0) : (u.splice(l, 2), c--)); return "" === (r = u.join("/")) && (r = s ? "/" : "."), n ? (n.path = r, o(n)) : r } function s(e, t) { "" === e && (e = "."), "" === t && (t = "."); var r = i(t), s = i(e); if (s && (e = s.path || "/"), r && !r.scheme) return s && (r.scheme = s.scheme), o(r); if (r || t.match(n)) return t; if (s && !s.host && !s.path) return s.host = t, o(s); var u = "/" === t.charAt(0) ? t : a(e.replace(/\/+$/, "") + "/" + t); return s ? (s.path = u, o(s)) : u } t.urlParse = i, t.urlGenerate = o, t.normalize = a, t.join = s, t.isAbsolute = function(e) { return "/" === e.charAt(0) || r.test(e) }, t.relative = function(e, t) { "" === e && (e = "."), e = e.replace(/\/$/, ""); for (var r = 0; 0 !== t.indexOf(e + "/");) { var n = e.lastIndexOf("/"); if (n < 0) return t; if ((e = e.slice(0, n)).match(/^([^\/]+:\/)?\/*$/)) return t; ++r } return Array(r + 1).join("../") + t.substr(e.length + 1) }; var u = !("__proto__" in Object.create(null)); function c(e) { return e } function l(e) { if (!e) return !1; var t = e.length; if (t < 9) return !1; if (95 !== e.charCodeAt(t - 1) || 95 !== e.charCodeAt(t - 2) || 111 !== e.charCodeAt(t - 3) || 116 !== e.charCodeAt(t - 4) || 111 !== e.charCodeAt(t - 5) || 114 !== e.charCodeAt(t - 6) || 112 !== e.charCodeAt(t - 7) || 95 !== e.charCodeAt(t - 8) || 95 !== e.charCodeAt(t - 9)) return !1; for (var r = t - 10; r >= 0; r--) if (36 !== e.charCodeAt(r)) return !1; return !0 } function f(e, t) { return e === t ? 0 : null === e ? 1 : null === t ? -1 : e > t ? 1 : -1 } t.toSetString = u ? c : function(e) { return l(e) ? "$" + e : e }, t.fromSetString = u ? c : function(e) { return l(e) ? e.slice(1) : e }, t.compareByOriginalPositions = function(e, t, r) { var n = f(e.source, t.source); return 0 !== n || 0 !== (n = e.originalLine - t.originalLine) || 0 !== (n = e.originalColumn - t.originalColumn) || r || 0 !== (n = e.generatedColumn - t.generatedColumn) || 0 !== (n = e.generatedLine - t.generatedLine) ? n : f(e.name, t.name) }, t.compareByGeneratedPositionsDeflated = function(e, t, r) { var n = e.generatedLine - t.generatedLine; return 0 !== n || 0 !== (n = e.generatedColumn - t.generatedColumn) || r || 0 !== (n = f(e.source, t.source)) || 0 !== (n = e.originalLine - t.originalLine) || 0 !== (n = e.originalColumn - t.originalColumn) ? n : f(e.name, t.name) }, t.compareByGeneratedPositionsInflated = function(e, t) { var r = e.generatedLine - t.generatedLine; return 0 !== r || 0 !== (r = e.generatedColumn - t.generatedColumn) || 0 !== (r = f(e.source, t.source)) || 0 !== (r = e.originalLine - t.originalLine) || 0 !== (r = e.originalColumn - t.originalColumn) ? r : f(e.name, t.name) }, t.parseSourceMapInput = function(e) { return JSON.parse(e.replace(/^\)]}'[^\n]*\n/, "")) }, t.computeSourceURL = function(e, t, r) { if (t = t || "", e && ("/" !== e[e.length - 1] && "/" !== t[0] && (e += "/"), t = e + t), r) { var n = i(r); if (!n) throw new Error("sourceMapURL could not be parsed"); if (n.path) { var u = n.path.lastIndexOf("/"); u >= 0 && (n.path = n.path.substring(0, u + 1)) } t = s(o(n), t) } return a(t) } }, function(e, t, r) { (function(e, n) { var i; ! function(o) { t && t.nodeType, e && e.nodeType; var a = "object" == typeof n && n; a.global !== a && a.window !== a && a.self; var s, u = 2147483647, c = /^xn--/, l = /[^\x20-\x7E]/, f = /[\x2E\u3002\uFF0E\uFF61]/g, p = { overflow: "Overflow: input needs wider integers to process", "not-basic": "Illegal input >= 0x80 (not a basic code point)", "invalid-input": "Invalid input" }, d = Math.floor, h = String.fromCharCode; function v(e) { throw new RangeError(p[e]) } function m(e, t) { for (var r = e.length, n = []; r--;) n[r] = t(e[r]); return n } function y(e, t) { var r = e.split("@"), n = ""; return r.length > 1 && (n = r[0] + "@", e = r[1]), n + m((e = e.replace(f, ".")).split("."), t).join(".") } function b(e) { for (var t, r, n = [], i = 0, o = e.length; i < o;)(t = e.charCodeAt(i++)) >= 55296 && t <= 56319 && i < o ? 56320 == (64512 & (r = e.charCodeAt(i++))) ? n.push(((1023 & t) << 10) + (1023 & r) + 65536) : (n.push(t), i--) : n.push(t); return n } function g(e) { return m(e, (function(e) { var t = ""; return e > 65535 && (t += h((e -= 65536) >>> 10 & 1023 | 55296), e = 56320 | 1023 & e), t += h(e) })).join("") } function _(e, t) { return e + 22 + 75 * (e < 26) - ((0 != t) << 5) } function T(e, t, r) { var n = 0; for (e = r ? d(e / 700) : e >> 1, e += d(e / t); e > 455; n += 36) e = d(e / 35); return d(n + 36 * e / (e + 38)) } function S(e) { var t, r, n, i, o, a, s, c, l, f, p, h = [], m = e.length, y = 0, b = 128, _ = 72; for ((r = e.lastIndexOf("-")) < 0 && (r = 0), n = 0; n < r; ++n) e.charCodeAt(n) >= 128 && v("not-basic"), h.push(e.charCodeAt(n)); for (i = r > 0 ? r + 1 : 0; i < m;) { for (o = y, a = 1, s = 36; i >= m && v("invalid-input"), ((c = (p = e.charCodeAt(i++)) - 48 < 10 ? p - 22 : p - 65 < 26 ? p - 65 : p - 97 < 26 ? p - 97 : 36) >= 36 || c > d((u - y) / a)) && v("overflow"), y += c * a, !(c < (l = s <= _ ? 1 : s >= _ + 26 ? 26 : s - _)); s += 36) a > d(u / (f = 36 - l)) && v("overflow"), a *= f; _ = T(y - o, t = h.length + 1, 0 == o), d(y / t) > u - b && v("overflow"), b += d(y / t), y %= t, h.splice(y++, 0, b) } return g(h) } function A(e) { var t, r, n, i, o, a, s, c, l, f, p, m, y, g, S, A = []; for (m = (e = b(e)).length, t = 128, r = 0, o = 72, a = 0; a < m; ++a)(p = e[a]) < 128 && A.push(h(p)); for (n = i = A.length, i && A.push("-"); n < m;) { for (s = u, a = 0; a < m; ++a)(p = e[a]) >= t && p < s && (s = p); for (s - t > d((u - r) / (y = n + 1)) && v("overflow"), r += (s - t) * y, t = s, a = 0; a < m; ++a) if ((p = e[a]) < t && ++r > u && v("overflow"), p == t) { for (c = r, l = 36; !(c < (f = l <= o ? 1 : l >= o + 26 ? 26 : l - o)); l += 36) S = c - f, g = 36 - f, A.push(h(_(f + S % g, 0))), c = d(S / g); A.push(h(_(c, 0))), o = T(r, y, n == i), r = 0, ++n }++r, ++t } return A.join("") } s = { version: "1.4.1", ucs2: { decode: b, encode: g }, decode: S, encode: A, toASCII: function(e) { return y(e, (function(e) { return l.test(e) ? "xn--" + A(e) : e })) }, toUnicode: function(e) { return y(e, (function(e) { return c.test(e) ? S(e.slice(4).toLowerCase()) : e })) } }, void 0 === (i = function() { return s }.call(t, r, t, e)) || (e.exports = i) }() }).call(this, r(116)(e), r(14)) }, function(e, t, r) { var n = r(57); e.exports = function(e, t) { if (!n(e)) return e; var r, i; if (t && "function" == typeof(r = e.toString) && !n(i = r.call(e))) return i; if ("function" == typeof(r = e.valueOf) && !n(i = r.call(e))) return i; if (!t && "function" == typeof(r = e.toString) && !n(i = r.call(e))) return i; throw TypeError("Can't convert object to primitive value") } }, function(e, t) { var r = 0, n = Math.random(); e.exports = function(e) { return "Symbol(" + String(void 0 === e ? "" : e) + ")_" + (++r + n).toString(36) } }, function(e, t, r) { var n = r(214); e.exports = function(e) { return Object(n(e)) } }, function(e, t, r) { var n = function(e) { "use strict"; var t = Object.prototype, r = t.hasOwnProperty, n = "function" == typeof Symbol ? Symbol : {}, i = n.iterator || "@@iterator", o = n.asyncIterator || "@@asyncIterator", a = n.toStringTag || "@@toStringTag"; function s(e, t, r, n) { var i = t && t.prototype instanceof l ? t : l, o = Object.create(i.prototype), a = new S(n || []); return o._invoke = function(e, t, r) { var n = "suspendedStart"; return function(i, o) { if ("executing" === n) throw new Error("Generator is already running"); if ("completed" === n) { if ("throw" === i) throw o; return E() } for (r.method = i, r.arg = o;;) { var a = r.delegate; if (a) { var s = g(a, r); if (s) { if (s === c) continue; return s } } if ("next" === r.method) r.sent = r._sent = r.arg; else if ("throw" === r.method) { if ("suspendedStart" === n) throw n = "completed", r.arg; r.dispatchException(r.arg) } else "return" === r.method && r.abrupt("return", r.arg); n = "executing"; var l = u(e, t, r); if ("normal" === l.type) { if (n = r.done ? "completed" : "suspendedYield", l.arg === c) continue; return { value: l.arg, done: r.done } } "throw" === l.type && (n = "completed", r.method = "throw", r.arg = l.arg) } } }(e, r, a), o } function u(e, t, r) { try { return { type: "normal", arg: e.call(t, r) } } catch (e) { return { type: "throw", arg: e } } } e.wrap = s; var c = {}; function l() {} function f() {} function p() {} var d = {}; d[i] = function() { return this }; var h = Object.getPrototypeOf, v = h && h(h(A([]))); v && v !== t && r.call(v, i) && (d = v); var m = p.prototype = l.prototype = Object.create(d); function y(e) { ["next", "throw", "return"].forEach((function(t) { e[t] = function(e) { return this._invoke(t, e) } })) } function b(e, t) { var n; this._invoke = function(i, o) { function a() { return new t((function(n, a) { ! function n(i, o, a, s) { var c = u(e[i], e, o); if ("throw" !== c.type) { var l = c.arg, f = l.value; return f && "object" == typeof f && r.call(f, "__await") ? t.resolve(f.__await).then((function(e) { n("next", e, a, s) }), (function(e) { n("throw", e, a, s) })) : t.resolve(f).then((function(e) { l.value = e, a(l) }), (function(e) { return n("throw", e, a, s) })) } s(c.arg) }(i, o, n, a) })) } return n = n ? n.then(a, a) : a() } } function g(e, t) { var r = e.iterator[t.method]; if (void 0 === r) { if (t.delegate = null, "throw" === t.method) { if (e.iterator.return && (t.method = "return", t.arg = void 0, g(e, t), "throw" === t.method)) return c; t.method = "throw", t.arg = new TypeError("The iterator does not provide a 'throw' method") } return c } var n = u(r, e.iterator, t.arg); if ("throw" === n.type) return t.method = "throw", t.arg = n.arg, t.delegate = null, c; var i = n.arg; return i ? i.done ? (t[e.resultName] = i.value, t.next = e.nextLoc, "return" !== t.method && (t.method = "next", t.arg = void 0), t.delegate = null, c) : i : (t.method = "throw", t.arg = new TypeError("iterator result is not an object"), t.delegate = null, c) } function _(e) { var t = { tryLoc: e[0] }; 1 in e && (t.catchLoc = e[1]), 2 in e && (t.finallyLoc = e[2], t.afterLoc = e[3]), this.tryEntries.push(t) } function T(e) { var t = e.completion || {}; t.type = "normal", delete t.arg, e.completion = t } function S(e) { this.tryEntries = [{ tryLoc: "root" }], e.forEach(_, this), this.reset(!0) } function A(e) { if (e) { var t = e[i]; if (t) return t.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var n = -1, o = function t() { for (; ++n < e.length;) if (r.call(e, n)) return t.value = e[n], t.done = !1, t; return t.value = void 0, t.done = !0, t }; return o.next = o } } return { next: E } } function E() { return { value: void 0, done: !0 } } return f.prototype = m.constructor = p, p.constructor = f, p[a] = f.displayName = "GeneratorFunction", e.isGeneratorFunction = function(e) { var t = "function" == typeof e && e.constructor; return !!t && (t === f || "GeneratorFunction" === (t.displayName || t.name)) }, e.mark = function(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, p) : (e.__proto__ = p, a in e || (e[a] = "GeneratorFunction")), e.prototype = Object.create(m), e }, e.awrap = function(e) { return { __await: e } }, y(b.prototype), b.prototype[o] = function() { return this }, e.AsyncIterator = b, e.async = function(t, r, n, i, o) { void 0 === o && (o = Promise); var a = new b(s(t, r, n, i), o); return e.isGeneratorFunction(r) ? a : a.next().then((function(e) { return e.done ? e.value : a.next() })) }, y(m), m[a] = "Generator", m[i] = function() { return this }, m.toString = function() { return "[object Generator]" }, e.keys = function(e) { var t = []; for (var r in e) t.push(r); return t.reverse(), function r() { for (; t.length;) { var n = t.pop(); if (n in e) return r.value = n, r.done = !1, r } return r.done = !0, r } }, e.values = A, S.prototype = { constructor: S, reset: function(e) { 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(T), !e) for (var t in this) "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0) }, stop: function() { this.done = !0; var e = this.tryEntries[0].completion; if ("throw" === e.type) throw e.arg; return this.rval }, dispatchException: function(e) { if (this.done) throw e; var t = this; function n(r, n) { return a.type = "throw", a.arg = e, t.next = r, n && (t.method = "next", t.arg = void 0), !!n } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var o = this.tryEntries[i], a = o.completion; if ("root" === o.tryLoc) return n("end"); if (o.tryLoc <= this.prev) { var s = r.call(o, "catchLoc"), u = r.call(o, "finallyLoc"); if (s && u) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0); if (this.prev < o.finallyLoc) return n(o.finallyLoc) } else if (s) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0) } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < o.finallyLoc) return n(o.finallyLoc) } } } }, abrupt: function(e, t) { for (var n = this.tryEntries.length - 1; n >= 0; --n) { var i = this.tryEntries[n]; if (i.tryLoc <= this.prev && r.call(i, "finallyLoc") && this.prev < i.finallyLoc) { var o = i; break } } o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null); var a = o ? o.completion : {}; return a.type = e, a.arg = t, o ? (this.method = "next", this.next = o.finallyLoc, c) : this.complete(a) }, complete: function(e, t) { if ("throw" === e.type) throw e.arg; return "break" === e.type || "continue" === e.type ? this.next = e.arg : "return" === e.type ? (this.rval = this.arg = e.arg, this.method = "return", this.next = "end") : "normal" === e.type && t && (this.next = t), c }, finish: function(e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), T(r), c } }, catch: function(e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.tryLoc === e) { var n = r.completion; if ("throw" === n.type) { var i = n.arg; T(r) } return i } } throw new Error("illegal catch attempt") }, delegateYield: function(e, t, r) { return this.delegate = { iterator: A(e), resultName: t, nextLoc: r }, "next" === this.method && (this.arg = void 0), c } }, e }(e.exports); try { regeneratorRuntime = n } catch (e) { Function("r", "regeneratorRuntime = r")(n) } }, function(e, t, r) { var n = r(45), i = r(635); (e.exports = function(e, t) { return i[e] || (i[e] = void 0 !== t ? t : {}) })("versions", []).push({ version: "3.6.4", mode: n ? "pure" : "global", copyright: "\xa9 2020 Denis Pushkarev (zloirock.ru)" }) }, function(e, t, r) { var n = r(51); e.exports = !!Object.getOwnPropertySymbols && !n((function() { return !String(Symbol()) })) }, function(e, t, r) { "use strict"; var n = r(27), i = r(1516), o = r(329), a = r(363), s = r(157), u = r(68), c = r(94), l = r(32), f = r(45), p = r(146), d = r(640), h = d.IteratorPrototype, v = d.BUGGY_SAFARI_ITERATORS, m = l("iterator"), y = function() { return this }; e.exports = function(e, t, r, l, d, b, g) { i(r, t, l); var _, T, S, A = function(e) { if (e === d && I) return I; if (!v && e in O) return O[e]; switch (e) { case "keys": case "values": case "entries": return function() { return new r(this, e) } } return function() { return new r(this) } }, E = t + " Iterator", C = !1, O = e.prototype, w = O[m] || O["@@iterator"] || d && O[d], I = !v && w || A(d), P = "Array" == t && O.entries || w; if (P && (_ = o(P.call(new e)), h !== Object.prototype && _.next && (f || o(_) === h || (a ? a(_, h) : "function" != typeof _[m] && u(_, m, y)), s(_, E, !0, !0), f && (p[E] = y))), "values" == d && w && "values" !== w.name && (C = !0, I = function() { return w.call(this) }), f && !g || O[m] === I || u(O, m, I), p[t] = I, d) if (T = { values: A("values"), keys: b ? I : A("keys"), entries: A("entries") }, g) for (S in T) !v && !C && S in O || c(O, S, T[S]); else n({ target: t, proto: !0, forced: v || C }, T); return T } }, function(e, t, r) { var n = r(51), i = /#|\.prototype\./, o = function(e, t) { var r = s[a(e)]; return r == c || r != u && ("function" == typeof t ? n(t) : !!t) }, a = o.normalize = function(e) { return String(e).replace(i, ".").toLowerCase() }, s = o.data = {}, u = o.NATIVE = "N", c = o.POLYFILL = "P"; e.exports = o }, function(e, t, r) { var n = r(35), i = r(1519); e.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() { var e, t = !1, r = {}; try { (e = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set).call(r, []), t = r instanceof Array } catch (e) {} return function(r, o) { return n(r), i(o), t ? e.call(r, o) : r.__proto__ = o, r } }() : void 0) }, function(e, t, r) { "use strict"; var n = r(78), i = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(75)), a = i(r(31)), s = n(r(0)), u = r(37), c = i(r(344)), l = i(r(217)), f = i(r(150)), p = u.hooks.useDirection, d = u.hooks.useStyleOptions, h = function(e) { var t = e.actionPerformedClassName, r = e.content, n = e.disabled, i = (0, f.default)(), a = (0, o.default)(i, 1)[0], u = p(), h = (0, o.default)(u, 1)[0], v = d(), m = (0, o.default)(v, 1)[0], y = (0, s.useMemo)((function() { if (r) { var e = new c.default(a, m, h); return e.addCommon(r), e.card } }), [a, r, h, m]); return s.default.createElement(l.default, { actionPerformedClassName: t, adaptiveCard: y, disabled: n, tapAction: r && r.tap }) }; h.defaultProps = { actionPerformedClassName: "", disabled: void 0 }, h.propTypes = { actionPerformedClassName: a.default.string, content: a.default.shape({ tap: a.default.any }).isRequired, disabled: a.default.bool }; var v = h; t.default = v }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(345), i = function() { function e() {} return e.setTabIndexAtCardRoot = !0, e }(); t.GlobalSettings = i, t.ContentTypes = { applicationJson: "application/json", applicationXWwwFormUrlencoded: "application/x-www-form-urlencoded" }; var o = function() { function e() { this._isProcessed = !1, this._original = null, this._processed = null } return e.prototype.getReferencedInputs = function(e, t) { if (!t) throw new Error("The referencedInputs parameter cannot be null."); for (var r = 0, n = e; r < n.length; r++) { var i = n[r]; null != new RegExp("\\{{2}(" + i.id + ").value\\}{2}", "gi").exec(this._original) && (t[i.id] = i) } }, e.prototype.substituteInputValues = function(e, r) { this._processed = this._original; for (var n, i = /\{{2}([a-z0-9_$@]+).value\}{2}/gi; null != (n = i.exec(this._original));) { for (var o = null, a = 0, s = Object.keys(e); a < s.length; a++) { var u = s[a]; if (u.toLowerCase() == n[1].toLowerCase()) { o = e[u]; break } } if (o) { var c = ""; o.value && (c = o.value), r === t.ContentTypes.applicationJson ? c = (c = JSON.stringify(c)).slice(1, -1) : r === t.ContentTypes.applicationXWwwFormUrlencoded && (c = encodeURIComponent(c)), this._processed = this._processed.replace(n[0], c) } } this._isProcessed = !0 }, e.prototype.getOriginal = function() { return this._original }, e.prototype.get = function() { return this._isProcessed ? this._processed : this._original }, e.prototype.set = function(e) { this._original = e, this._isProcessed = !1 }, e }(); t.StringWithSubstitutions = o; var a = function(e, t, r, n) { void 0 === e && (e = 0), void 0 === t && (t = 0), void 0 === r && (r = 0), void 0 === n && (n = 0), this.left = 0, this.top = 0, this.right = 0, this.bottom = 0, this.top = e, this.right = t, this.bottom = r, this.left = n }; t.SpacingDefinition = a; var s = function(e, t, r, i) { void 0 === e && (e = n.Spacing.None), void 0 === t && (t = n.Spacing.None), void 0 === r && (r = n.Spacing.None), void 0 === i && (i = n.Spacing.None), this.top = n.Spacing.None, this.right = n.Spacing.None, this.bottom = n.Spacing.None, this.left = n.Spacing.None, this.top = e, this.right = t, this.bottom = r, this.left = i }; t.PaddingDefinition = s; var u = function() { function e(e, t) { this.physicalSize = e, this.unit = t } return e.parse = function(t, r) { void 0 === r && (r = !1); var i = new e(0, n.SizeUnit.Weight); if ("number" == typeof t) return i.physicalSize = t, i; if ("string" == typeof t) { var o = /^([0-9]+)(px|\*)?$/g.exec(t), a = r ? 3 : 2; if (o && o.length >= a) return i.physicalSize = parseInt(o[1]), 3 == o.length && "px" == o[2] && (i.unit = n.SizeUnit.Pixel), i } throw new Error("Invalid size: " + t) }, e }(); t.SizeAndUnit = u; var c = function() { function e() {} return e.generate = function() { var t = 4294967295 * Math.random() | 0, r = 4294967295 * Math.random() | 0, n = 4294967295 * Math.random() | 0, i = 4294967295 * Math.random() | 0; return e.lut[255 & t] + e.lut[t >> 8 & 255] + e.lut[t >> 16 & 255] + e.lut[t >> 24 & 255] + "-" + e.lut[255 & r] + e.lut[r >> 8 & 255] + "-" + e.lut[r >> 16 & 15 | 64] + e.lut[r >> 24 & 255] + "-" + e.lut[63 & n | 128] + e.lut[n >> 8 & 255] + "-" + e.lut[n >> 16 & 255] + e.lut[n >> 24 & 255] + e.lut[255 & i] + e.lut[i >> 8 & 255] + e.lut[i >> 16 & 255] + e.lut[i >> 24 & 255] }, e.initialize = function() { for (var t = 0; t < 256; t++) e.lut[t] = (t < 16 ? "0" : "") + t.toString(16) }, e.lut = [], e }(); t.UUID = c, c.initialize() }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e() {} return Object.defineProperty(e, "TestHooksParamName", { get: function() { return "testhooks" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "ConnectionIdHeader", { get: function() { return "X-ConnectionId" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "DeploymentIdParamName", { get: function() { return "cid" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "FormatParamName", { get: function() { return "format" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "LanguageParamName", { get: function() { return "language" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "TranslationFromParamName", { get: function() { return "from" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "TranslationToParamName", { get: function() { return "to" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "Profanify", { get: function() { return "profanity" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "EnableAudioLogging", { get: function() { return "storeAudio" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "EnableWordLevelTimestamps", { get: function() { return "wordLevelTimestamps" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "InitialSilenceTimeoutMs", { get: function() { return "initialSilenceTimeoutMs" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "EndSilenceTimeoutMs", { get: function() { return "endSilenceTimeoutMs" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "StableIntermediateThreshold", { get: function() { return "stableIntermediateThreshold" }, enumerable: !0, configurable: !0 }), Object.defineProperty(e, "StableTranslation", { get: function() { return "stableTranslation" }, enumerable: !0, configurable: !0 }), e }(); t.QueryParameterNames = n }, function(e, t, r) { "use strict"; function n(e, t) { void 0 === t && (t = {}); var r = function(e) { return void 0 === e && (e = {}), Object.keys(e).map((function(t) { return encodeURIComponent(t) + "=" + encodeURIComponent(e[t]) })).join("&") }(t); return r ? e + (-1 === e.indexOf("?") ? "?" : "&") + r : e } function i(e, t) { return void 0 === t && (t = null), { data: t || e.statusText, headers: e.getAllResponseHeaders(), json: function() { return JSON.parse(t || '"' + e.statusText + '"') }, ok: !1, status: e.status, statusText: e.statusText } } Object.defineProperty(t, "__esModule", { value: !0 }), t.ConversationTranslatorConfig = { apiVersion: "2.0", auth: { placeholderRegion: "westus", placeholderSubscriptionKey: "abcdefghijklmnopqrstuvwxyz012345" }, clientAppId: "FC539C22-1767-4F1F-84BC-B4D811114F15", defaultLanguageCode: "en-US", defaultRequestOptions: { headers: { Accept: "application/json" }, ignoreCache: !1, timeout: 5e3 }, host: "dev.microsofttranslator.com", params: { apiVersion: "api-version", authorization: "Authorization", clientAppId: "X-ClientAppId", correlationId: "X-CorrelationId", languageCode: "language", nickname: "nickname", profanity: "profanity", requestId: "X-RequestId", roomId: "roomid", sessionToken: "token", subscriptionKey: "Ocp-Apim-Subscription-Key", subscriptionRegion: "Ocp-Apim-Subscription-Region", token: "X-CapitoToken" }, restPath: "/capito/room", speechHost: "{region}.s2s.speech.microsoft.com", speechPath: "/speech/translation/cognitiveservices/v1", strings: { authInvalidSubscriptionKey: "You must specify either an authentication token to use, or a Cognitive Speech subscription key.", authInvalidSubscriptionRegion: "You must specify the Cognitive Speech region to use.", invalidArgs: "Required input not found: {arg}.", invalidCreateJoinConversationResponse: "Creating/Joining conversation failed with HTTP {status}.", invalidParticipantRequest: "The requested participant was not found.", permissionDeniedConnect: "Required credentials not found.", permissionDeniedConversation: "Invalid operation: only the host can {command} the conversation.", permissionDeniedParticipant: "Invalid operation: only the host can {command} a participant.", permissionDeniedSend: "Invalid operation: the conversation is not in a connected state.", permissionDeniedStart: "Invalid operation: there is already an active conversation." }, textMessageMaxLength: 1e3, webSocketPath: "/capito/translate" }, t.extractHeaderValue = function(e, t) { var r = ""; try { var n = t.trim().split(/[\r\n]+/), i = {}; n.forEach((function(e) { var t = e.split(": "), r = t.shift().toLowerCase(), n = t.join(": "); i[r] = n })), r = i[e.toLowerCase()] } catch (e) {} return r }, t.request = function(e, r, o, a, s, u) { void 0 === o && (o = {}), void 0 === a && (a = null), void 0 === s && (s = t.ConversationTranslatorConfig.defaultRequestOptions); var c = s.ignoreCache || t.ConversationTranslatorConfig.defaultRequestOptions.ignoreCache, l = s.headers || t.ConversationTranslatorConfig.defaultRequestOptions.headers, f = s.timeout || t.ConversationTranslatorConfig.defaultRequestOptions.timeout, p = new XMLHttpRequest; p.open(e, n(r, o), !0), l && Object.keys(l).forEach((function(e) { return p.setRequestHeader(e, l[e]) })), c && p.setRequestHeader("Cache-Control", "no-cache"), p.timeout = f, p.onload = function(e) { u(function(e) { return { data: e.responseText, headers: e.getAllResponseHeaders(), json: function() { return JSON.parse(e.responseText) }, ok: e.status >= 200 && e.status < 300, status: e.status, statusText: e.statusText } }(p)) }, p.onerror = function(e) { u(i(p, "Failed to make request.")) }, p.ontimeout = function(e) { u(i(p, "Request took longer than expected.")) }, "post" === e && a ? (p.setRequestHeader("Content-Type", "application/json"), p.send(JSON.stringify(a))) : p.send() }, t.PromiseToEmptyCallback = function(e, t, r) { e ? e.continueWith((function(e) { try { e.isError ? r && r(e.error) : t && t() } catch (t) { r && r("'Unhandled error on promise callback: " + t + ". InnerError: " + e.error + "'") } })) : r && r("Null promise") } }, function(e, t, r) { var n = r(76), i = r(154), o = r(97), a = r(706), s = r(1678), u = r(369), c = u.get, l = u.enforce, f = String(String).split("String"); (e.exports = function(e, t, r, s) { var u = !!s && !!s.unsafe, c = !!s && !!s.enumerable, p = !!s && !!s.noTargetGet; "function" == typeof r && ("string" != typeof t || o(r, "name") || i(r, "name", t), l(r).source = f.join("string" == typeof t ? t : "")), e !== n ? (u ? !p && e[t] && (c = !0) : delete e[t], c ? e[t] = r : i(e, t, r)) : c ? e[t] = r : a(t, r) })(Function.prototype, "toString", (function() { return "function" == typeof this && c(this).source || s(this) })) }, function(e, t, r) { var n, i, o, a = r(1908), s = r(76), u = r(220), c = r(154), l = r(97), f = r(707), p = r(709), d = s.WeakMap; if (a) { var h = new d, v = h.get, m = h.has, y = h.set; n = function(e, t) { return y.call(h, e, t), t }, i = function(e) { return v.call(h, e) || {} }, o = function(e) { return m.call(h, e) } } else { var b = f("state"); p[b] = !0, n = function(e, t) { return c(e, b, t), t }, i = function(e) { return l(e, b) ? e[b] : {} }, o = function(e) { return l(e, b) } } e.exports = { set: n, get: i, has: o, enforce: function(e) { return o(e) ? i(e) : n(e, {}) }, getterFor: function(e) { return function(t) { var r; if (!u(t) || (r = i(t)).type !== e) throw TypeError("Incompatible receiver, " + e + " required"); return r } } } }, function(e, t, r) { var n = r(76); e.exports = n }, function(e, t) { function r(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } e.exports = function(e, t, n) { return t && r(e.prototype, t), n && r(e, n), e } }, function(e, t, r) { var n = r(1713), i = r(1715); function o(t, r) { return delete e.exports[t], e.exports[t] = r, r } e.exports = { Parser: n, Tokenizer: r(1714), ElementType: r(352), DomHandler: i, get FeedHandler() { return o("FeedHandler", r(2052)) }, get Stream() { return o("Stream", r(2066)) }, get WritableStream() { return o("WritableStream", r(1721)) }, get ProxyHandler() { return o("ProxyHandler", r(2068)) }, get DomUtils() { return o("DomUtils", r(1717)) }, get CollectingHandler() { return o("CollectingHandler", r(2069)) }, DefaultHandler: i, get RssHandler() { return o("RssHandler", this.FeedHandler) }, parseDOM: function(e, t) { var r = new i(t); return new n(r, t).end(e), r.dom }, parseFeed: function(t, r) { var i = new e.exports.FeedHandler(r); return new n(i, r).end(t), i.dom }, createDomStream: function(e, t, r) { var o = new i(e, t, r); return new n(o, t) }, EVENTS: { attribute: 2, cdatastart: 0, cdataend: 0, text: 1, processinginstruction: 2, comment: 1, commentend: 0, closetag: 1, opentag: 2, opentagname: 1, error: 1, end: 0 } } }, function(e, t, r) { var n = r(374); function i() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return i = function() { return e }, e } e.exports = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = i(); if (t && t.has(e)) return t.get(e); var r = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var a in e) if (Object.prototype.hasOwnProperty.call(e, a)) { var s = o ? Object.getOwnPropertyDescriptor(e, a) : null; s && (s.get || s.set) ? Object.defineProperty(r, a, s) : r[a] = e[a] } return r.default = e, t && t.set(e, r), r } }, function(e, t) { function r(t) { return "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? e.exports = r = function(e) { return typeof e } : e.exports = r = function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e }, r(t) } e.exports = r }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return { type: "WEB_CHAT/CLEAR_SUGGESTED_ACTIONS" } }, t.CLEAR_SUGGESTED_ACTIONS = void 0; t.CLEAR_SUGGESTED_ACTIONS = "WEB_CHAT/CLEAR_SUGGESTED_ACTIONS" }, function(e, t) { e.exports = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i } }, function(e, t, r) { "use strict"; function n(e) { return e && "object" == typeof e && "default" in e ? e.default : e } var i = r(118), o = n(r(223)), a = r(224), s = n(r(225)), u = function(e) { return function() { return e } }(!0); t.noop = function() {}; var c = function(e) { return e }; var l = function(e) { throw e }, f = function(e) { return { value: e, done: !0 } }; var p = function(e) { return Array.apply(null, new Array(e)) }, d = function(e) { return e === i.TERMINATE }, h = function(e) { return e === i.TASK_CANCEL }, v = function(e) { return d(e) || h(e) }; function m(e) { return e[i.SAGA_LOCATION] } var y = { isEmpty: u, put: t.noop, take: t.noop }; function b(e, t) { void 0 === e && (e = 10); var r = new Array(e), n = 0, i = 0, o = 0, a = function(t) { r[i] = t, i = (i + 1) % e, n++ }, s = function() { if (0 != n) { var t = r[o]; return r[o] = null, n--, o = (o + 1) % e, t } }, u = function() { for (var e = []; n;) e.push(s()); return e }; return { isEmpty: function() { return 0 == n }, put: function(s) { var c; if (n < e) a(s); else switch (t) { case 1: throw new Error("Channel's Buffer overflow!"); case 3: r[i] = s, o = i = (i + 1) % e; break; case 4: c = 2 * e, r = u(), n = r.length, i = r.length, o = 0, r.length = c, e = c, a(s) } }, take: s, flush: u } } var g = function() { return y }, _ = function(e) { return b(e, 3) }, T = function(e) { return b(e, 4) }, S = Object.freeze({ __proto__: null, none: g, fixed: function(e) { return b(e, 1) }, dropping: function(e) { return b(e, 2) }, sliding: _, expanding: T }), A = Object.freeze({ __proto__: null, TAKE: "TAKE", PUT: "PUT", ALL: "ALL", RACE: "RACE", CALL: "CALL", CPS: "CPS", FORK: "FORK", JOIN: "JOIN", CANCEL: "CANCEL", SELECT: "SELECT", ACTION_CHANNEL: "ACTION_CHANNEL", CANCELLED: "CANCELLED", FLUSH: "FLUSH", GET_CONTEXT: "GET_CONTEXT", SET_CONTEXT: "SET_CONTEXT" }), E = function(e, t) { var r; return (r = {})[i.IO] = !0, r.combinator = !1, r.type = e, r.payload = t, r }, C = function(e) { return E("FORK", o({}, e.payload, { detached: !0 })) }; function O(e, t) { return void 0 === e && (e = "*"), a.pattern(e) ? E("TAKE", { pattern: e }) : a.multicast(e) && a.notUndef(t) && a.pattern(t) ? E("TAKE", { channel: e, pattern: t }) : a.channel(e) ? E("TAKE", { channel: e }) : void 0 } function w(e, t) { return a.undef(t) && (t = e, e = void 0), E("PUT", { channel: e, action: t }) } function I(e, t) { var r, n = null; return a.func(e) ? r = e : (a.array(e) ? (n = e[0], r = e[1]) : (n = e.context, r = e.fn), n && a.string(r) && a.func(n[r]) && (r = n[r])), { context: n, fn: r, args: t } } function P(e) { for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n]; return E("CALL", I(e, r)) } function x(e) { for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n]; return E("FORK", I(e, r)) } var N = P.bind(null, s); t.ACTION_CHANNEL = "ACTION_CHANNEL", t.ALL = "ALL", t.CALL = "CALL", t.CANCEL = "CANCEL", t.CANCELLED = "CANCELLED", t.CPS = "CPS", t.FLUSH = "FLUSH", t.FORK = "FORK", t.GET_CONTEXT = "GET_CONTEXT", t.JOIN = "JOIN", t.PUT = "PUT", t.RACE = "RACE", t.SELECT = "SELECT", t.SET_CONTEXT = "SET_CONTEXT", t.TAKE = "TAKE", t.actionChannel = function(e, t) { return E("ACTION_CHANNEL", { pattern: e, buffer: t }) }, t.all = function(e) { var t = E("ALL", e); return t.combinator = !0, t }, t.apply = function(e, t, r) { return void 0 === r && (r = []), E("CALL", I([e, t], r)) }, t.assignWithSymbols = function(e, t) { o(e, t), Object.getOwnPropertySymbols && Object.getOwnPropertySymbols(t).forEach((function(r) { e[r] = t[r] })) }, t.buffers = S, t.call = P, t.cancel = function(e) { return void 0 === e && (e = i.SELF_CANCELLATION), E("CANCEL", e) }, t.cancelled = function() { return E("CANCELLED", {}) }, t.cps = function(e) { for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n]; return E("CPS", I(e, r)) }, t.createAllStyleChildCallbacks = function(e, r) { var n, i = Object.keys(e), o = i.length, s = 0, u = a.array(e) ? p(o) : {}, c = {}; return i.forEach((function(e) { var i = function(t, i) { n || (i || v(t) ? (r.cancel(), r(t, i)) : (u[e] = t, ++s === o && (n = !0, r(u)))) }; i.cancel = t.noop, c[e] = i })), r.cancel = function() { n || (n = !0, i.forEach((function(e) { return c[e].cancel() }))) }, c }, t.createEmptyArray = p, t.delay = N, t.detach = C, t.effectTypes = A, t.expanding = T, t.flatMap = function(e, t) { var r; return (r = []).concat.apply(r, t.map(e)) }, t.flush = function(e) { return E("FLUSH", e) }, t.fork = x, t.getContext = function(e) { return E("GET_CONTEXT", e) }, t.getLocation = m, t.getMetaInfo = function(e) { return { name: e.name || "anonymous", location: m(e) } }, t.identity = c, t.join = function(e) { return E("JOIN", e) }, t.kTrue = u, t.logError = function(e, t) { var r = t.sagaStack; console.error(e), console.error(r) }, t.makeIterator = function(e, t, r) { void 0 === t && (t = l), void 0 === r && (r = "iterator"); var n = { meta: { name: r }, next: e, throw: t, return: f, isSagaIterator: !0 }; return "undefined" != typeof Symbol && (n[Symbol.iterator] = function() { return n }), n }, t.none = g, t.once = function(e) { var t = !1; return function() { t || (t = !0, e()) } }, t.put = w, t.putResolve = function() { var e = w.apply(void 0, arguments); return e.payload.resolve = !0, e }, t.race = function(e) { var t = E("RACE", e); return t.combinator = !0, t }, t.remove = function(e, t) { var r = e.indexOf(t); r >= 0 && e.splice(r, 1) }, t.select = function(e) { void 0 === e && (e = c); for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n]; return E("SELECT", { selector: e, args: r }) }, t.setContext = function(e) { return E("SET_CONTEXT", e) }, t.shouldCancel = h, t.shouldComplete = v, t.shouldTerminate = d, t.sliding = _, t.spawn = function(e) { for (var t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n]; return C(x.apply(void 0, [e].concat(r))) }, t.take = O, t.takeMaybe = function() { var e = O.apply(void 0, arguments); return e.payload.maybe = !0, e }, t.wrapSagaDispatch = function(e) { return function(t) { return e(Object.defineProperty(t, i.SAGA_ACTION, { value: !0 })) } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.SENT = t.SENDING = t.SEND_FAILED = void 0; t.SEND_FAILED = "send failed"; t.SENDING = "sending"; t.SENT = "sent" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "WEB_CHAT/SET_DICTATE_INTERIMS", payload: { dictateInterims: e } } }, t.SET_DICTATE_INTERIMS = void 0; t.SET_DICTATE_INTERIMS = "WEB_CHAT/SET_DICTATE_INTERIMS" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "WEB_CHAT/SET_LANGUAGE", payload: { language: e } } }, t.SET_LANGUAGE = void 0; t.SET_LANGUAGE = "WEB_CHAT/SET_LANGUAGE" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.DISMISS_NOTIFICATION = t.default = void 0; t.DISMISS_NOTIFICATION = "WEB_CHAT/DISMISS_NOTIFICATION"; var n = function(e) { return { type: "WEB_CHAT/DISMISS_NOTIFICATION", payload: { id: e } } }; t.default = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "DIRECT_LINE/CONNECTION_STATUS_UPDATE", payload: { connectionStatus: e } } }, t.CONNECTION_STATUS_UPDATE = void 0; t.CONNECTION_STATUS_UPDATE = "DIRECT_LINE/CONNECTION_STATUS_UPDATE" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "WEB_CHAT/SET_REFERENCE_GRAMMAR_ID", payload: { referenceGrammarID: e } } }, t.SET_REFERENCE_GRAMMAR_ID = void 0; t.SET_REFERENCE_GRAMMAR_ID = "WEB_CHAT/SET_REFERENCE_GRAMMAR_ID" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "WEB_CHAT/SET_SEND_TIMEOUT", payload: { sendTimeout: e } } }, t.SET_SEND_TIMEOUT = void 0; t.SET_SEND_TIMEOUT = "WEB_CHAT/SET_SEND_TIMEOUT" }, function(e, t, r) { var n = function(e) { "use strict"; var t = Object.prototype, r = t.hasOwnProperty, n = "function" == typeof Symbol ? Symbol : {}, i = n.iterator || "@@iterator", o = n.asyncIterator || "@@asyncIterator", a = n.toStringTag || "@@toStringTag"; function s(e, t, r, n) { var i = t && t.prototype instanceof l ? t : l, o = Object.create(i.prototype), a = new S(n || []); return o._invoke = function(e, t, r) { var n = "suspendedStart"; return function(i, o) { if ("executing" === n) throw new Error("Generator is already running"); if ("completed" === n) { if ("throw" === i) throw o; return E() } for (r.method = i, r.arg = o;;) { var a = r.delegate; if (a) { var s = g(a, r); if (s) { if (s === c) continue; return s } } if ("next" === r.method) r.sent = r._sent = r.arg; else if ("throw" === r.method) { if ("suspendedStart" === n) throw n = "completed", r.arg; r.dispatchException(r.arg) } else "return" === r.method && r.abrupt("return", r.arg); n = "executing"; var l = u(e, t, r); if ("normal" === l.type) { if (n = r.done ? "completed" : "suspendedYield", l.arg === c) continue; return { value: l.arg, done: r.done } } "throw" === l.type && (n = "completed", r.method = "throw", r.arg = l.arg) } } }(e, r, a), o } function u(e, t, r) { try { return { type: "normal", arg: e.call(t, r) } } catch (e) { return { type: "throw", arg: e } } } e.wrap = s; var c = {}; function l() {} function f() {} function p() {} var d = {}; d[i] = function() { return this }; var h = Object.getPrototypeOf, v = h && h(h(A([]))); v && v !== t && r.call(v, i) && (d = v); var m = p.prototype = l.prototype = Object.create(d); function y(e) { ["next", "throw", "return"].forEach((function(t) { e[t] = function(e) { return this._invoke(t, e) } })) } function b(e, t) { var n; this._invoke = function(i, o) { function a() { return new t((function(n, a) { ! function n(i, o, a, s) { var c = u(e[i], e, o); if ("throw" !== c.type) { var l = c.arg, f = l.value; return f && "object" == typeof f && r.call(f, "__await") ? t.resolve(f.__await).then((function(e) { n("next", e, a, s) }), (function(e) { n("throw", e, a, s) })) : t.resolve(f).then((function(e) { l.value = e, a(l) }), (function(e) { return n("throw", e, a, s) })) } s(c.arg) }(i, o, n, a) })) } return n = n ? n.then(a, a) : a() } } function g(e, t) { var r = e.iterator[t.method]; if (void 0 === r) { if (t.delegate = null, "throw" === t.method) { if (e.iterator.return && (t.method = "return", t.arg = void 0, g(e, t), "throw" === t.method)) return c; t.method = "throw", t.arg = new TypeError("The iterator does not provide a 'throw' method") } return c } var n = u(r, e.iterator, t.arg); if ("throw" === n.type) return t.method = "throw", t.arg = n.arg, t.delegate = null, c; var i = n.arg; return i ? i.done ? (t[e.resultName] = i.value, t.next = e.nextLoc, "return" !== t.method && (t.method = "next", t.arg = void 0), t.delegate = null, c) : i : (t.method = "throw", t.arg = new TypeError("iterator result is not an object"), t.delegate = null, c) } function _(e) { var t = { tryLoc: e[0] }; 1 in e && (t.catchLoc = e[1]), 2 in e && (t.finallyLoc = e[2], t.afterLoc = e[3]), this.tryEntries.push(t) } function T(e) { var t = e.completion || {}; t.type = "normal", delete t.arg, e.completion = t } function S(e) { this.tryEntries = [{ tryLoc: "root" }], e.forEach(_, this), this.reset(!0) } function A(e) { if (e) { var t = e[i]; if (t) return t.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var n = -1, o = function t() { for (; ++n < e.length;) if (r.call(e, n)) return t.value = e[n], t.done = !1, t; return t.value = void 0, t.done = !0, t }; return o.next = o } } return { next: E } } function E() { return { value: void 0, done: !0 } } return f.prototype = m.constructor = p, p.constructor = f, p[a] = f.displayName = "GeneratorFunction", e.isGeneratorFunction = function(e) { var t = "function" == typeof e && e.constructor; return !!t && (t === f || "GeneratorFunction" === (t.displayName || t.name)) }, e.mark = function(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, p) : (e.__proto__ = p, a in e || (e[a] = "GeneratorFunction")), e.prototype = Object.create(m), e }, e.awrap = function(e) { return { __await: e } }, y(b.prototype), b.prototype[o] = function() { return this }, e.AsyncIterator = b, e.async = function(t, r, n, i, o) { void 0 === o && (o = Promise); var a = new b(s(t, r, n, i), o); return e.isGeneratorFunction(r) ? a : a.next().then((function(e) { return e.done ? e.value : a.next() })) }, y(m), m[a] = "Generator", m[i] = function() { return this }, m.toString = function() { return "[object Generator]" }, e.keys = function(e) { var t = []; for (var r in e) t.push(r); return t.reverse(), function r() { for (; t.length;) { var n = t.pop(); if (n in e) return r.value = n, r.done = !1, r } return r.done = !0, r } }, e.values = A, S.prototype = { constructor: S, reset: function(e) { 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(T), !e) for (var t in this) "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0) }, stop: function() { this.done = !0; var e = this.tryEntries[0].completion; if ("throw" === e.type) throw e.arg; return this.rval }, dispatchException: function(e) { if (this.done) throw e; var t = this; function n(r, n) { return a.type = "throw", a.arg = e, t.next = r, n && (t.method = "next", t.arg = void 0), !!n } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var o = this.tryEntries[i], a = o.completion; if ("root" === o.tryLoc) return n("end"); if (o.tryLoc <= this.prev) { var s = r.call(o, "catchLoc"), u = r.call(o, "finallyLoc"); if (s && u) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0); if (this.prev < o.finallyLoc) return n(o.finallyLoc) } else if (s) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0) } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < o.finallyLoc) return n(o.finallyLoc) } } } }, abrupt: function(e, t) { for (var n = this.tryEntries.length - 1; n >= 0; --n) { var i = this.tryEntries[n]; if (i.tryLoc <= this.prev && r.call(i, "finallyLoc") && this.prev < i.finallyLoc) { var o = i; break } } o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null); var a = o ? o.completion : {}; return a.type = e, a.arg = t, o ? (this.method = "next", this.next = o.finallyLoc, c) : this.complete(a) }, complete: function(e, t) { if ("throw" === e.type) throw e.arg; return "break" === e.type || "continue" === e.type ? this.next = e.arg : "return" === e.type ? (this.rval = this.arg = e.arg, this.method = "return", this.next = "end") : "normal" === e.type && t && (this.next = t), c }, finish: function(e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), T(r), c } }, catch: function(e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.tryLoc === e) { var n = r.completion; if ("throw" === n.type) { var i = n.arg; T(r) } return i } } throw new Error("illegal catch attempt") }, delegateYield: function(e, t, r) { return this.delegate = { iterator: A(e), resultName: t, nextLoc: r }, "next" === this.method && (this.arg = void 0), c } }, e }(e.exports); try { regeneratorRuntime = n } catch (e) { Function("r", "regeneratorRuntime = r")(n) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { return (0, o.call)(i.default.mark((function r() { var n, s, u; return i.default.wrap((function(r) { for (;;) switch (r.prev = r.next) { case 0: n = (0, a.default)(), s = e.subscribe({ next: n.push }), r.prev = 2; case 3: return r.next = 5, (0, o.call)(n.shift); case 5: return u = r.sent, r.next = 8, (0, o.call)(t, u); case 8: r.next = 3; break; case 10: return r.prev = 10, s.unsubscribe(), r.finish(10); case 13: case "end": return r.stop() } }), r, null, [ [2, , 10, 13] ]) }))) }; var i = n(r(17)), o = r(18), a = n(r(232)) }, function(e, t, r) { "use strict"; var n = r(167); Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "DirectLineStreaming", { enumerable: !0, get: function() { return p.DirectLineStreaming } }), t.DirectLine = t.ConnectionStatus = void 0; var i = n(r(388)), o = n(r(389)), a = n(r(390)), s = n(r(391)); r(782), r(824); var u = r(415), c = r(11), l = r(175); r(834), r(838), r(842), r(845), r(849), r(852), r(855), r(857), r(859), r(862), r(865), r(870), r(874), r(877), r(879), r(886), r(890), r(892); var f = n(r(895)), p = r(900); function d(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function h(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? d(r, !0).forEach((function(t) { (0, s.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : d(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var v; t.ConnectionStatus = v, function(e) { e[e.Uninitialized = 0] = "Uninitialized", e[e.Connecting = 1] = "Connecting", e[e.Online = 2] = "Online", e[e.ExpiredToken = 3] = "ExpiredToken", e[e.FailedToConnect = 4] = "FailedToConnect", e[e.Ended = 5] = "Ended" }(v || (t.ConnectionStatus = v = {})); var m = function(e, t) { var r = function() { throw new Error("not implemented") }; return Object.assign((function(r) { return e(r).catch((function(e) { if (429 === e.status) { var r = e.xhr.getResponseHeader("Retry-After"), n = Number(r); if (!isNaN(n)) return c.Observable.timer(n, t).flatMap((function(r) { return c.Observable.throw(e, t) })) } return c.Observable.throw(e, t) })) }), { get: function(e, t) { return r() }, post: function(e, t, n) { return r() }, put: function(e, t, n) { return r() }, patch: function(e, t, n) { return r() }, delete: function(e, t) { return r() }, getJSON: function(e, t) { return r() } }) }, y = new Error("expired token"), b = new Error("conversation ended"), g = new Error("failed to connect"), _ = function(e) { for (var t, r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++) n[i - 1] = arguments[i]; "undefined" != typeof window && window.botchatDebug && e && (t = console).log.apply(t, [e].concat(n)) }, T = function() { function e(t) { var r, n; (0, o.default)(this, e), (0, s.default)(this, "connectionStatus$", new u.BehaviorSubject(v.Uninitialized)), (0, s.default)(this, "activity$", void 0), (0, s.default)(this, "domain", "https://directline.botframework.com/v3/directline"), (0, s.default)(this, "webSocket", void 0), (0, s.default)(this, "conversationId", void 0), (0, s.default)(this, "expiredTokenExhaustion", void 0), (0, s.default)(this, "secret", void 0), (0, s.default)(this, "token", void 0), (0, s.default)(this, "watermark", ""), (0, s.default)(this, "streamUrl", void 0), (0, s.default)(this, "_botAgent", ""), (0, s.default)(this, "services", void 0), (0, s.default)(this, "_userAgent", void 0), (0, s.default)(this, "referenceGrammarId", void 0), (0, s.default)(this, "botIdHeader", void 0), (0, s.default)(this, "timeout", 2e4), (0, s.default)(this, "retries", void 0), (0, s.default)(this, "pollingInterval", 1e3), (0, s.default)(this, "tokenRefreshSubscription", void 0), this.secret = t.secret, this.token = t.secret || t.token, this.webSocket = (void 0 === t.webSocket || t.webSocket) && "undefined" != typeof WebSocket && void 0 !== WebSocket, t.domain && (this.domain = t.domain), t.conversationId && (this.conversationId = t.conversationId), t.watermark && (this.watermark = t.watermark), t.streamUrl && (t.token && t.conversationId ? this.streamUrl = t.streamUrl : console.warn("DirectLineJS: streamUrl was ignored: you need to provide a token and a conversationid")), void 0 !== t.timeout && (this.timeout = t.timeout), this.retries = 9e5 / this.timeout, this._botAgent = this.getBotAgent(t.botAgent), this.services = { scheduler: n = (r = t).scheduler || l.async, ajax: m(r.ajax || c.Observable.ajax, n), WebSocket: r.WebSocket || WebSocket, random: r.random || Math.random }; var i = ~~t.pollingInterval; i < 200 ? void 0 !== t.pollingInterval && console.warn("DirectLineJS: provided pollingInterval (".concat(t.pollingInterval, ") is under lower bound (200ms), using default of 1000ms")) : this.pollingInterval = i, this.expiredTokenExhaustion = this.setConnectionStatusFallback(v.ExpiredToken, v.FailedToConnect, 5), this.activity$ = (this.webSocket ? this.webSocketActivity$() : this.pollingGetActivity$()).share() } return (0, a.default)(e, [{ key: "checkConnection", value: function() { var e = this, t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], r = this.connectionStatus$.flatMap((function(t) { return t === v.Uninitialized ? (e.connectionStatus$.next(v.Connecting), e.token && e.streamUrl ? (e.connectionStatus$.next(v.Online), c.Observable.of(t, e.services.scheduler)) : e.startConversation().do((function(t) { e.conversationId = t.conversationId, e.token = e.secret || t.token, e.streamUrl = t.streamUrl, e.referenceGrammarId = t.referenceGrammarId, e.secret || e.refreshTokenLoop(), e.connectionStatus$.next(v.Online) }), (function(t) { e.connectionStatus$.next(v.FailedToConnect) })).map((function(e) { return t }))) : c.Observable.of(t, e.services.scheduler) })).filter((function(e) { return e != v.Uninitialized && e != v.Connecting })).flatMap((function(t) { switch (t) { case v.Ended: return c.Observable.throw(b, e.services.scheduler); case v.FailedToConnect: return c.Observable.throw(g, e.services.scheduler); case v.ExpiredToken: default: return c.Observable.of(t, e.services.scheduler) } })); return t ? r.take(1) : r } }, { key: "setConnectionStatusFallback", value: function(e, t) { var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 5; r--; var n = 0, i = null; return function(o) { return o === e && i === o && n >= r ? (n = 0, t) : (n++, i = o, o) } } }, { key: "expiredToken", value: function() { var e = this.connectionStatus$.getValue(); e != v.Ended && e != v.FailedToConnect && this.connectionStatus$.next(v.ExpiredToken); var t = this.expiredTokenExhaustion(this.connectionStatus$.getValue()); this.connectionStatus$.next(t) } }, { key: "startConversation", value: function() { var e = this, t = this.conversationId ? "".concat(this.domain, "/conversations/").concat(this.conversationId, "?watermark=").concat(this.watermark) : "".concat(this.domain, "/conversations"), r = this.conversationId ? "GET" : "POST"; return this.services.ajax({ method: r, url: t, timeout: this.timeout, headers: h({ Accept: "application/json" }, this.commonHeaders()) }).map((function(t) { try { e.botIdHeader || (e.botIdHeader = t.xhr.getResponseHeader("x-ms-bot-id")) } catch (e) {} return t.response })).retryWhen((function(t) { return t.mergeMap((function(t) { return t.status >= 400 && t.status < 600 ? c.Observable.throw(t, e.services.scheduler) : c.Observable.of(t, e.services.scheduler) })).delay(e.timeout, e.services.scheduler).take(e.retries) })) } }, { key: "refreshTokenLoop", value: function() { var e = this; this.tokenRefreshSubscription = c.Observable.interval(9e5, this.services.scheduler).flatMap((function(t) { return e.refreshToken() })).subscribe((function(t) { _("refreshing token", t, "at", new Date), e.token = t })) } }, { key: "refreshToken", value: function() { var e = this; return this.checkConnection(!0).flatMap((function(t) { return e.services.ajax({ method: "POST", url: "".concat(e.domain, "/tokens/refresh"), timeout: e.timeout, headers: h({}, e.commonHeaders()) }).map((function(e) { return e.response.token })).retryWhen((function(t) { return t.mergeMap((function(t) { return 403 === t.status ? (e.expiredToken(), c.Observable.throw(t, e.services.scheduler)) : 404 === t.status ? c.Observable.throw(t, e.services.scheduler) : c.Observable.of(t, e.services.scheduler) })).delay(e.timeout, e.services.scheduler).take(e.retries) })) })) } }, { key: "reconnect", value: function(e) { this.token = e.token, this.streamUrl = e.streamUrl, this.connectionStatus$.getValue() === v.ExpiredToken && this.connectionStatus$.next(v.Online) } }, { key: "end", value: function() { this.tokenRefreshSubscription && this.tokenRefreshSubscription.unsubscribe(); try { this.connectionStatus$.next(v.Ended) } catch (e) { if (e === b) return; throw e } } }, { key: "getSessionId", value: function() { var e = this; return _("getSessionId"), this.checkConnection(!0).flatMap((function(t) { return e.services.ajax({ method: "GET", url: "".concat(e.domain, "/session/getsessionid"), withCredentials: !0, timeout: e.timeout, headers: h({ "Content-Type": "application/json" }, e.commonHeaders()) }).map((function(e) { return e && e.response && e.response.sessionId ? (_("getSessionId response: " + e.response.sessionId), e.response.sessionId) : "" })).catch((function(t) { return _("getSessionId error: " + t.status), c.Observable.of("", e.services.scheduler) })) })).catch((function(t) { return e.catchExpiredToken(t) })) } }, { key: "postActivity", value: function(e) { var t = this; return "message" === e.type && e.attachments && e.attachments.length > 0 ? this.postMessageWithAttachments(e) : (_("postActivity", e), this.checkConnection(!0).flatMap((function(r) { return t.services.ajax({ method: "POST", url: "".concat(t.domain, "/conversations/").concat(t.conversationId, "/activities"), body: e, timeout: t.timeout, headers: h({ "Content-Type": "application/json" }, t.commonHeaders()) }).map((function(e) { return e.response.id })).catch((function(e) { return t.catchPostError(e) })) })).catch((function(e) { return t.catchExpiredToken(e) }))) } }, { key: "postMessageWithAttachments", value: function(e) { var t, r = this, n = e.attachments, o = (0, f.default)(n.map((function(e) { return e.name || "blob" }))), a = n.map((function(e, t) { return h({}, e, { name: o[t] }) })); return this.checkConnection(!0).flatMap((function(n) { return (t = new FormData).append("activity", new Blob([JSON.stringify(h({}, e, { attachments: a.map((function(e) { e.contentUrl; return h({}, (0, i.default)(e, ["contentUrl"])) })) }))], { type: "application/vnd.microsoft.activity" })), c.Observable.from(a, r.services.scheduler).flatMap((function(e) { return r.services.ajax({ method: "GET", url: e.contentUrl, responseType: "arraybuffer" }).do((function(r) { return t.append("file", new Blob([r.response], { type: e.contentType }), e.name) })) })).count() })).flatMap((function(n) { return r.services.ajax({ method: "POST", url: "".concat(r.domain, "/conversations/").concat(r.conversationId, "/upload?userId=").concat(e.from.id), body: t, timeout: r.timeout, headers: h({}, r.commonHeaders()) }).map((function(e) { return e.response.id })).catch((function(e) { return r.catchPostError(e) })) })).catch((function(e) { return r.catchPostError(e) })) } }, { key: "catchPostError", value: function(e) { if (403 === e.status) this.expiredToken(); else if (e.status >= 400 && e.status < 500) return c.Observable.throw(e, this.services.scheduler); return c.Observable.of("retry", this.services.scheduler) } }, { key: "catchExpiredToken", value: function(e) { return e === y ? c.Observable.of("retry", this.services.scheduler) : c.Observable.throw(e, this.services.scheduler) } }, { key: "pollingGetActivity$", value: function() { var e = this, t = c.Observable.create((function(t) { var r = new u.BehaviorSubject({}); r.subscribe((function() { if (e.connectionStatus$.getValue() === v.Online) { var n = Date.now(); e.services.ajax({ headers: h({ Accept: "application/json" }, e.commonHeaders()), method: "GET", url: "".concat(e.domain, "/conversations/").concat(e.conversationId, "/activities?watermark=").concat(e.watermark), timeout: e.timeout }).subscribe((function(i) { t.next(i), setTimeout((function() { return r.next(null) }), Math.max(0, e.pollingInterval - Date.now() + n)) }), (function(n) { switch (n.status) { case 403: e.connectionStatus$.next(v.ExpiredToken), setTimeout((function() { return r.next(null) }), e.pollingInterval); break; case 404: e.connectionStatus$.next(v.Ended); break; default: t.error(n) } })) } })) })); return this.checkConnection().flatMap((function(r) { return t.catch((function() { return c.Observable.empty() })).map((function(e) { return e.response })).flatMap((function(t) { return e.observableFromActivityGroup(t) })) })) } }, { key: "observableFromActivityGroup", value: function(e) { return e.watermark && (this.watermark = e.watermark), c.Observable.from(e.activities, this.services.scheduler) } }, { key: "webSocketActivity$", value: function() { var e = this; return this.checkConnection().flatMap((function(t) { return e.observableWebSocket().retryWhen((function(t) { return t.delay(e.getRetryDelay(), e.services.scheduler).mergeMap((function(t) { return e.reconnectToConversation() })) })) })).flatMap((function(t) { return e.observableFromActivityGroup(t) })) } }, { key: "getRetryDelay", value: function() { return Math.floor(3e3 + 12e3 * this.services.random()) } }, { key: "observableWebSocket", value: function() { var e = this; return c.Observable.create((function(t) { _("creating WebSocket", e.streamUrl); var r, n = new e.services.WebSocket(e.streamUrl); return n.onopen = function(t) { _("WebSocket open", t), r = c.Observable.interval(e.timeout, e.services.scheduler).subscribe((function(e) { try { n.send("") } catch (e) { _("Ping error", e) } })) }, n.onclose = function(e) { _("WebSocket close", e), r && r.unsubscribe(), t.error(e) }, n.onmessage = function(e) { return e.data && t.next(JSON.parse(e.data)) }, function() { 0 !== n.readyState && 1 !== n.readyState || n.close() } })) } }, { key: "reconnectToConversation", value: function() { var e = this; return this.checkConnection(!0).flatMap((function(t) { return e.services.ajax({ method: "GET", url: "".concat(e.domain, "/conversations/").concat(e.conversationId, "?watermark=").concat(e.watermark), timeout: e.timeout, headers: h({ Accept: "application/json" }, e.commonHeaders()) }).do((function(t) { e.secret || (e.token = t.response.token), e.streamUrl = t.response.streamUrl })).map((function(e) { return null })).retryWhen((function(t) { return t.mergeMap((function(t) { if (403 === t.status) e.expiredToken(); else if (404 === t.status) return c.Observable.throw(b, e.services.scheduler); return c.Observable.of(t, e.services.scheduler) })).delay(e.timeout, e.services.scheduler).take(e.retries) })) })) } }, { key: "commonHeaders", value: function() { return Object.assign({ Authorization: "Bearer ".concat(this.token), "x-ms-bot-agent": this._botAgent }, this.botIdHeader ? { "x-ms-bot-id": this.botIdHeader } : null) } }, { key: "getBotAgent", value: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "", t = "directlinejs"; return e && (t += "; ".concat(e)), "".concat("DirectLine/3.0", " (").concat(t, " ").concat("0.12.0", ")") } }]), e }(); t.DirectLine = T }, function(e, t, r) { var n = r(781); e.exports = function(e, t) { if (null == e) return {}; var r, i, o = n(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (i = 0; i < a.length; i++) r = a[i], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (o[r] = e[r]) } return o } }, function(e, t) { e.exports = function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } }, function(e, t) { function r(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } e.exports = function(e, t, n) { return t && r(e.prototype, t), n && r(e, n), e } }, function(e, t) { e.exports = function(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t, r) { var n = r(122), i = r(393); (e.exports = function(e, t) { return i[e] || (i[e] = void 0 !== t ? t : {}) })("versions", []).push({ version: "3.6.4", mode: n ? "pure" : "global", copyright: "\xa9 2020 Denis Pushkarev (zloirock.ru)" }) }, function(e, t, r) { var n = r(29), i = r(234), o = n["__core-js_shared__"] || i("__core-js_shared__", {}); e.exports = o }, function(e, t, r) { var n = r(80), i = r(70), o = r(235); e.exports = !n && !i((function() { return 7 != Object.defineProperty(o("div"), "a", { get: function() { return 7 } }).a })) }, function(e, t, r) { var n = r(82); e.exports = function(e, t) { if (!n(e)) return e; var r, i; if (t && "function" == typeof(r = e.toString) && !n(i = r.call(e))) return i; if ("function" == typeof(r = e.valueOf) && !n(i = r.call(e))) return i; if (!t && "function" == typeof(r = e.toString) && !n(i = r.call(e))) return i; throw TypeError("Can't convert object to primitive value") } }, function(e, t) { var r = 0, n = Math.random(); e.exports = function(e) { return "Symbol(" + String(void 0 === e ? "" : e) + ")_" + (++r + n).toString(36) } }, function(e, t, r) { var n = r(70); e.exports = !!Object.getOwnPropertySymbols && !n((function() { return !String(Symbol()) })) }, function(e, t, r) { var n = r(233), i = r(124), o = r(40)("toStringTag"), a = "Arguments" == i(function() { return arguments }()); e.exports = n ? i : function(e) { var t, r, n; return void 0 === e ? "Undefined" : null === e ? "Null" : "string" == typeof(r = function(e, t) { try { return e[t] } catch (e) {} }(t = Object(e), o)) ? r : a ? i(t) : "Object" == (n = i(t)) && "function" == typeof t.callee ? "Arguments" : n } }, function(e, t, r) { "use strict"; var n = r(83), i = r(798), o = r(243), a = r(406), s = r(245), u = r(69), c = r(99), l = r(40), f = r(122), p = r(125), d = r(404), h = d.IteratorPrototype, v = d.BUGGY_SAFARI_ITERATORS, m = l("iterator"), y = function() { return this }; e.exports = function(e, t, r, l, d, b, g) { i(r, t, l); var _, T, S, A = function(e) { if (e === d && I) return I; if (!v && e in O) return O[e]; switch (e) { case "keys": case "values": case "entries": return function() { return new r(this, e) } } return function() { return new r(this) } }, E = t + " Iterator", C = !1, O = e.prototype, w = O[m] || O["@@iterator"] || d && O[d], I = !v && w || A(d), P = "Array" == t && O.entries || w; if (P && (_ = o(P.call(new e)), h !== Object.prototype && _.next && (f || o(_) === h || (a ? a(_, h) : "function" != typeof _[m] && u(_, m, y)), s(_, E, !0, !0), f && (p[E] = y))), "values" == d && w && "values" !== w.name && (C = !0, I = function() { return w.call(this) }), f && !g || O[m] === I || u(O, m, I), p[t] = I, d) if (T = { values: A("values"), keys: b ? I : A("keys"), entries: A("entries") }, g) for (S in T) !v && !C && S in O || c(O, S, T[S]); else n({ target: t, proto: !0, forced: v || C }, T); return T } }, function(e, t, r) { var n = r(29); e.exports = n }, function(e, t, r) { var n = r(60), i = r(169), o = r(795).indexOf, a = r(238); e.exports = function(e, t) { var r, s = i(e), u = 0, c = []; for (r in s) !n(a, r) && n(s, r) && c.push(r); for (; t.length > u;) n(s, r = t[u++]) && (~o(c, r) || c.push(r)); return c } }, function(e, t, r) { var n = r(239), i = Math.min; e.exports = function(e) { return e > 0 ? i(n(e), 9007199254740991) : 0 } }, function(e, t, r) { var n = r(70), i = /#|\.prototype\./, o = function(e, t) { var r = s[a(e)]; return r == c || r != u && ("function" == typeof t ? n(t) : !!t) }, a = o.normalize = function(e) { return String(e).replace(i, ".").toLowerCase() }, s = o.data = {}, u = o.NATIVE = "N", c = o.POLYFILL = "P"; e.exports = o }, function(e, t, r) { "use strict"; var n, i, o, a = r(243), s = r(69), u = r(60), c = r(40), l = r(122), f = c("iterator"), p = !1; [].keys && ("next" in (o = [].keys()) ? (i = a(a(o))) !== Object.prototype && (n = i) : p = !0), null == n && (n = {}), l || u(n, f) || s(n, f, (function() { return this })), e.exports = { IteratorPrototype: n, BUGGY_SAFARI_ITERATORS: p } }, function(e, t, r) { var n = r(84); e.exports = n("document", "documentElement") }, function(e, t, r) { var n = r(59), i = r(803); e.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() { var e, t = !1, r = {}; try { (e = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set).call(r, []), t = r instanceof Array } catch (e) {} return function(r, o) { return n(r), i(o), t ? e.call(r, o) : r.__proto__ = o, r } }() : void 0) }, function(e, t, r) { var n = r(29); e.exports = n.Promise }, function(e, t, r) { var n = r(100); e.exports = function(e, t, r) { if (n(e), void 0 === t) return e; switch (r) { case 0: return function() { return e.call(t) }; case 1: return function(r) { return e.call(t, r) }; case 2: return function(r, n) { return e.call(t, r, n) }; case 3: return function(r, n, i) { return e.call(t, r, n, i) } } return function() { return e.apply(t, arguments) } } }, function(e, t, r) { var n = r(59), i = r(100), o = r(40)("species"); e.exports = function(e, t) { var r, a = n(e).constructor; return void 0 === a || null == (r = n(a)[o]) ? t : i(r) } }, function(e, t, r) { var n, i, o, a = r(29), s = r(70), u = r(124), c = r(408), l = r(405), f = r(235), p = r(411), d = a.location, h = a.setImmediate, v = a.clearImmediate, m = a.process, y = a.MessageChannel, b = a.Dispatch, g = 0, _ = {}, T = function(e) { if (_.hasOwnProperty(e)) { var t = _[e]; delete _[e], t() } }, S = function(e) { return function() { T(e) } }, A = function(e) { T(e.data) }, E = function(e) { a.postMessage(e + "", d.protocol + "//" + d.host) }; h && v || (h = function(e) { for (var t = [], r = 1; arguments.length > r;) t.push(arguments[r++]); return _[++g] = function() { ("function" == typeof e ? e : Function(e)).apply(void 0, t) }, n(g), g }, v = function(e) { delete _[e] }, "process" == u(m) ? n = function(e) { m.nextTick(S(e)) } : b && b.now ? n = function(e) { b.now(S(e)) } : y && !p ? (o = (i = new y).port2, i.port1.onmessage = A, n = c(o.postMessage, o, 1)) : !a.addEventListener || "function" != typeof postMessage || a.importScripts || s(E) ? n = "onreadystatechange" in f("script") ? function(e) { l.appendChild(f("script")).onreadystatechange = function() { l.removeChild(this), T(e) } } : function(e) { setTimeout(S(e), 0) } : (n = E, a.addEventListener("message", A, !1))), e.exports = { set: h, clear: v } }, function(e, t, r) { var n = r(412); e.exports = /(iphone|ipod|ipad).*applewebkit/i.test(n) }, function(e, t, r) { var n = r(84); e.exports = n("navigator", "userAgent") || "" }, function(e, t, r) { var n = r(59), i = r(82), o = r(126); e.exports = function(e, t) { if (n(e), i(t) && t.constructor === e) return t; var r = o.f(e); return (0, r.resolve)(t), r.promise } }, function(e, t, r) { "use strict"; var n = r(83), i = r(100), o = r(126), a = r(171), s = r(170); n({ target: "Promise", stat: !0 }, { allSettled: function(e) { var t = this, r = o.f(t), n = r.resolve, u = r.reject, c = a((function() { var r = i(t.resolve), o = [], a = 0, u = 1; s(e, (function(e) { var i = a++, s = !1; o.push(void 0), u++, r.call(t, e).then((function(e) { s || (s = !0, o[i] = { status: "fulfilled", value: e }, --u || n(o)) }), (function(e) { s || (s = !0, o[i] = { status: "rejected", reason: e }, --u || n(o)) })) })), --u || n(o) })); return c.error && u(c.value), r.promise } }) }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(172), o = r(419), a = function(e) { function t(t) { e.call(this), this._value = t } return n(t, e), Object.defineProperty(t.prototype, "value", { get: function() { return this.getValue() }, enumerable: !0, configurable: !0 }), t.prototype._subscribe = function(t) { var r = e.prototype._subscribe.call(this, t); return r && !r.closed && t.next(this._value), r }, t.prototype.getValue = function() { if (this.hasError) throw this.thrownError; if (this.closed) throw new o.ObjectUnsubscribedError; return this._value }, t.prototype.next = function(t) { e.prototype.next.call(this, this._value = t) }, t }(i.Subject); t.BehaviorSubject = a }, function(e, t, r) { "use strict"; t.isFunction = function(e) { return "function" == typeof e } }, function(e, t, r) { "use strict"; t.isObject = function(e) { return null != e && "object" == typeof e } }, function(e, t, r) { "use strict"; t.empty = { closed: !0, next: function(e) {}, error: function(e) { throw e }, complete: function() {} } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t() { var t = e.call(this, "object unsubscribed"); this.name = t.name = "ObjectUnsubscribedError", this.stack = t.stack, this.message = t.message } return n(t, e), t }(Error); t.ObjectUnsubscribedError = i }, function(e, t, r) { "use strict"; t.isArrayLike = function(e) { return e && "number" == typeof e.length } }, function(e, t, r) { "use strict"; t.isPromise = function(e) { return e && "function" != typeof e.subscribe && "function" == typeof e.then } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t, r) { e.call(this), this.value = t, this.scheduler = r, this._isScalar = !0, r && (this._isScalar = !1) } return n(t, e), t.create = function(e, r) { return new t(e, r) }, t.dispatch = function(e) { var t = e.done, r = e.value, n = e.subscriber; t ? n.complete() : (n.next(r), n.closed || (e.done = !0, this.schedule(e))) }, t.prototype._subscribe = function(e) { var r = this.value, n = this.scheduler; if (n) return n.schedule(t.dispatch, 0, { done: !1, value: r, subscriber: e }); e.next(r), e.closed || e.complete() }, t }(r(11).Observable); t.ScalarObservable = i }, function(e, t, r) { "use strict"; var n = r(11), i = function() { function e(e, t, r) { this.kind = e, this.value = t, this.error = r, this.hasValue = "N" === e } return e.prototype.observe = function(e) { switch (this.kind) { case "N": return e.next && e.next(this.value); case "E": return e.error && e.error(this.error); case "C": return e.complete && e.complete() } }, e.prototype.do = function(e, t, r) { switch (this.kind) { case "N": return e && e(this.value); case "E": return t && t(this.error); case "C": return r && r() } }, e.prototype.accept = function(e, t, r) { return e && "function" == typeof e.next ? this.observe(e) : this.do(e, t, r) }, e.prototype.toObservable = function() { switch (this.kind) { case "N": return n.Observable.of(this.value); case "E": return n.Observable.throw(this.error); case "C": return n.Observable.empty() } throw new Error("unexpected notification kind value") }, e.createNext = function(t) { return void 0 !== t ? new e("N", t) : e.undefinedValueNotification }, e.createError = function(t) { return new e("E", void 0, t) }, e.createComplete = function() { return e.completeNotification }, e.completeNotification = new e("C"), e.undefinedValueNotification = new e("N", void 0), e }(); t.Notification = i }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(36); t.map = function(e, t) { return function(r) { if ("function" != typeof e) throw new TypeError("argument is not a function. Are you looking for `mapTo()`?"); return r.lift(new o(e, t)) } }; var o = function() { function e(e, t) { this.project = e, this.thisArg = t } return e.prototype.call = function(e, t) { return t.subscribe(new a(e, this.project, this.thisArg)) }, e }(); t.MapOperator = o; var a = function(e) { function t(t, r, n) { e.call(this, t), this.project = r, this.count = 0, this.thisArg = n || this } return n(t, e), t.prototype._next = function(e) { var t; try { t = this.project.call(this.thisArg, e, this.count++) } catch (e) { return void this.destination.error(e) } this.destination.next(t) }, t }(i.Subscriber) }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(177), o = r(176); t.mergeMap = function(e, t, r) { return void 0 === r && (r = Number.POSITIVE_INFINITY), function(n) { return "number" == typeof t && (r = t, t = null), n.lift(new a(e, t, r)) } }; var a = function() { function e(e, t, r) { void 0 === r && (r = Number.POSITIVE_INFINITY), this.project = e, this.resultSelector = t, this.concurrent = r } return e.prototype.call = function(e, t) { return t.subscribe(new s(e, this.project, this.resultSelector, this.concurrent)) }, e }(); t.MergeMapOperator = a; var s = function(e) { function t(t, r, n, i) { void 0 === i && (i = Number.POSITIVE_INFINITY), e.call(this, t), this.project = r, this.resultSelector = n, this.concurrent = i, this.hasCompleted = !1, this.buffer = [], this.active = 0, this.index = 0 } return n(t, e), t.prototype._next = function(e) { this.active < this.concurrent ? this._tryNext(e) : this.buffer.push(e) }, t.prototype._tryNext = function(e) { var t, r = this.index++; try { t = this.project(e, r) } catch (e) { return void this.destination.error(e) } this.active++, this._innerSub(t, e, r) }, t.prototype._innerSub = function(e, t, r) { this.add(i.subscribeToResult(this, e, t, r)) }, t.prototype._complete = function() { this.hasCompleted = !0, 0 === this.active && 0 === this.buffer.length && this.destination.complete() }, t.prototype.notifyNext = function(e, t, r, n, i) { this.resultSelector ? this._notifyResultSelector(e, t, r, n) : this.destination.next(t) }, t.prototype._notifyResultSelector = function(e, t, r, n) { var i; try { i = this.resultSelector(e, t, r, n) } catch (e) { return void this.destination.error(e) } this.destination.next(i) }, t.prototype.notifyComplete = function(e) { var t = this.buffer; this.remove(e), this.active--, t.length > 0 ? this._next(t.shift()) : 0 === this.active && this.hasCompleted && this.destination.complete() }, t }(o.OuterSubscriber); t.MergeMapSubscriber = s }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(36); t.refCount = function() { return function(e) { return e.lift(new o(e)) } }; var o = function() { function e(e) { this.connectable = e } return e.prototype.call = function(e, t) { var r = this.connectable; r._refCount++; var n = new a(e, r), i = t.subscribe(n); return n.closed || (n.connection = r.connect()), i }, e }(), a = function(e) { function t(t, r) { e.call(this, t), this.connectable = r } return n(t, e), t.prototype._unsubscribe = function() { var e = this.connectable; if (e) { this.connectable = null; var t = e._refCount; if (t <= 0) this.connection = null; else if (e._refCount = t - 1, t > 1) this.connection = null; else { var r = this.connection, n = e._connection; this.connection = null, !n || r && n !== r || n.unsubscribe() } } else this.connection = null }, t }(i.Subscriber) }, function(e, t) { e.exports = function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) } }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = function() { function e(e, t) { if (!t) throw Error("Null Argument Exception"); this.id = e, this.assembler = t } return Object.defineProperty(e.prototype, "contentType", { get: function() { return this.assembler.payloadType }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "length", { get: function() { return this.assembler.contentLength }, enumerable: !0, configurable: !0 }), e.prototype.getStream = function() { return this.stream || (this.stream = this.assembler.getPayloadStream()), this.stream }, e.prototype.cancel = function() { this.assembler.close() }, e.prototype.readAsString = function() { return n(this, void 0, void 0, (function() { return i(this, (function(e) { switch (e.label) { case 0: return [4, this.readAll()]; case 1: return [2, (e.sent().bufferArray || []).map((function(e) { return e.toString("utf8") })).join("")] } })) })) }, e.prototype.readAsJson = function() { return n(this, void 0, void 0, (function() { var e; return i(this, (function(t) { switch (t.label) { case 0: return [4, this.readAsString()]; case 1: e = t.sent(); try { return [2, JSON.parse(e)] } catch (e) { throw e } return [2] } })) })) }, e.prototype.readAll = function() { return n(this, void 0, void 0, (function() { var e, t, r, n, o = this; return i(this, (function(i) { switch (i.label) { case 0: for (e = [], t = 0, r = this.getStream(); t < r.length;) n = r.read(r.length), e.push(n), t += n.length; return t < this.length ? [4, new Promise((function(n) { var i; r.subscribe((i = o, function(r) { e.push(r), (t += r.length) === i.length && n(!0) })) }))] : [3, 2]; case 1: i.sent(), i.label = 2; case 2: return [2, { bufferArray: e, size: t }] } })) })) }, e }(); t.ContentStream = o }, function(e, t, r) { "use strict"; (function(t, n) { var i = r(72); e.exports = g; var o, a = r(251); g.ReadableState = b; r(108).EventEmitter; var s = function(e, t) { return e.listeners(t).length }, u = r(430), c = r(255).Buffer, l = t.Uint8Array || function() {}; var f = Object.create(r(54)); f.inherits = r(2); var p = r(915), d = void 0; d = p && p.debuglog ? p.debuglog("stream") : function() {}; var h, v = r(916), m = r(431); f.inherits(g, u); var y = ["error", "close", "destroy", "pause", "resume"]; function b(e, t) { e = e || {}; var n = t instanceof(o = o || r(85)); this.objectMode = !!e.objectMode, n && (this.objectMode = this.objectMode || !!e.readableObjectMode); var i = e.highWaterMark, a = e.readableHighWaterMark, s = this.objectMode ? 16 : 16384; this.highWaterMark = i || 0 === i ? i : n && (a || 0 === a) ? a : s, this.highWaterMark = Math.floor(this.highWaterMark), this.buffer = new v, this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.destroyed = !1, this.defaultEncoding = e.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, e.encoding && (h || (h = r(109).StringDecoder), this.decoder = new h(e.encoding), this.encoding = e.encoding) } function g(e) { if (o = o || r(85), !(this instanceof g)) return new g(e); this._readableState = new b(e, this), this.readable = !0, e && ("function" == typeof e.read && (this._read = e.read), "function" == typeof e.destroy && (this._destroy = e.destroy)), u.call(this) } function _(e, t, r, n, i) { var o, a = e._readableState; null === t ? (a.reading = !1, function(e, t) { if (t.ended) return; if (t.decoder) { var r = t.decoder.end(); r && r.length && (t.buffer.push(r), t.length += t.objectMode ? 1 : r.length) } t.ended = !0, A(e) }(e, a)) : (i || (o = function(e, t) { var r; n = t, c.isBuffer(n) || n instanceof l || "string" == typeof t || void 0 === t || e.objectMode || (r = new TypeError("Invalid non-string/buffer chunk")); var n; return r }(a, t)), o ? e.emit("error", o) : a.objectMode || t && t.length > 0 ? ("string" == typeof t || a.objectMode || Object.getPrototypeOf(t) === c.prototype || (t = function(e) { return c.from(e) }(t)), n ? a.endEmitted ? e.emit("error", new Error("stream.unshift() after end event")) : T(e, a, t, !0) : a.ended ? e.emit("error", new Error("stream.push() after EOF")) : (a.reading = !1, a.decoder && !r ? (t = a.decoder.write(t), a.objectMode || 0 !== t.length ? T(e, a, t, !1) : C(e, a)) : T(e, a, t, !1))) : n || (a.reading = !1)); return function(e) { return !e.ended && (e.needReadable || e.length < e.highWaterMark || 0 === e.length) }(a) } function T(e, t, r, n) { t.flowing && 0 === t.length && !t.sync ? (e.emit("data", r), e.read(0)) : (t.length += t.objectMode ? 1 : r.length, n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && A(e)), C(e, t) } Object.defineProperty(g.prototype, "destroyed", { get: function() { return void 0 !== this._readableState && this._readableState.destroyed }, set: function(e) { this._readableState && (this._readableState.destroyed = e) } }), g.prototype.destroy = m.destroy, g.prototype._undestroy = m.undestroy, g.prototype._destroy = function(e, t) { this.push(null), t(e) }, g.prototype.push = function(e, t) { var r, n = this._readableState; return n.objectMode ? r = !0 : "string" == typeof e && ((t = t || n.defaultEncoding) !== n.encoding && (e = c.from(e, t), t = ""), r = !0), _(this, e, t, !1, r) }, g.prototype.unshift = function(e) { return _(this, e, null, !0, !1) }, g.prototype.isPaused = function() { return !1 === this._readableState.flowing }, g.prototype.setEncoding = function(e) { return h || (h = r(109).StringDecoder), this._readableState.decoder = new h(e), this._readableState.encoding = e, this }; function S(e, t) { return e <= 0 || 0 === t.length && t.ended ? 0 : t.objectMode ? 1 : e != e ? t.flowing && t.length ? t.buffer.head.data.length : t.length : (e > t.highWaterMark && (t.highWaterMark = function(e) { return e >= 8388608 ? e = 8388608 : (e--, e |= e >>> 1, e |= e >>> 2, e |= e >>> 4, e |= e >>> 8, e |= e >>> 16, e++), e }(e)), e <= t.length ? e : t.ended ? t.length : (t.needReadable = !0, 0)) } function A(e) { var t = e._readableState; t.needReadable = !1, t.emittedReadable || (d("emitReadable", t.flowing), t.emittedReadable = !0, t.sync ? i.nextTick(E, e) : E(e)) } function E(e) { d("emit readable"), e.emit("readable"), P(e) } function C(e, t) { t.readingMore || (t.readingMore = !0, i.nextTick(O, e, t)) } function O(e, t) { for (var r = t.length; !t.reading && !t.flowing && !t.ended && t.length < t.highWaterMark && (d("maybeReadMore read 0"), e.read(0), r !== t.length);) r = t.length; t.readingMore = !1 } function w(e) { d("readable nexttick read 0"), e.read(0) } function I(e, t) { t.reading || (d("resume read 0"), e.read(0)), t.resumeScheduled = !1, t.awaitDrain = 0, e.emit("resume"), P(e), t.flowing && !t.reading && e.read(0) } function P(e) { var t = e._readableState; for (d("flow", t.flowing); t.flowing && null !== e.read();); } function x(e, t) { return 0 === t.length ? null : (t.objectMode ? r = t.buffer.shift() : !e || e >= t.length ? (r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.head.data : t.buffer.concat(t.length), t.buffer.clear()) : r = function(e, t, r) { var n; e < t.head.data.length ? (n = t.head.data.slice(0, e), t.head.data = t.head.data.slice(e)) : n = e === t.head.data.length ? t.shift() : r ? function(e, t) { var r = t.head, n = 1, i = r.data; e -= i.length; for (; r = r.next;) { var o = r.data, a = e > o.length ? o.length : e; if (a === o.length ? i += o : i += o.slice(0, e), 0 === (e -= a)) { a === o.length ? (++n, r.next ? t.head = r.next : t.head = t.tail = null) : (t.head = r, r.data = o.slice(a)); break }++n } return t.length -= n, i }(e, t) : function(e, t) { var r = c.allocUnsafe(e), n = t.head, i = 1; n.data.copy(r), e -= n.data.length; for (; n = n.next;) { var o = n.data, a = e > o.length ? o.length : e; if (o.copy(r, r.length - e, 0, a), 0 === (e -= a)) { a === o.length ? (++i, n.next ? t.head = n.next : t.head = t.tail = null) : (t.head = n, n.data = o.slice(a)); break }++i } return t.length -= i, r }(e, t); return n }(e, t.buffer, t.decoder), r); var r } function N(e) { var t = e._readableState; if (t.length > 0) throw new Error('"endReadable()" called on non-empty stream'); t.endEmitted || (t.ended = !0, i.nextTick(k, t, e)) } function k(e, t) { e.endEmitted || 0 !== e.length || (e.endEmitted = !0, t.readable = !1, t.emit("end")) } function R(e, t) { for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r; return -1 } g.prototype.read = function(e) { d("read", e), e = parseInt(e, 10); var t = this._readableState, r = e; if (0 !== e && (t.emittedReadable = !1), 0 === e && t.needReadable && (t.length >= t.highWaterMark || t.ended)) return d("read: emitReadable", t.length, t.ended), 0 === t.length && t.ended ? N(this) : A(this), null; if (0 === (e = S(e, t)) && t.ended) return 0 === t.length && N(this), null; var n, i = t.needReadable; return d("need readable", i), (0 === t.length || t.length - e < t.highWaterMark) && d("length less than watermark", i = !0), t.ended || t.reading ? d("reading or ended", i = !1) : i && (d("do read"), t.reading = !0, t.sync = !0, 0 === t.length && (t.needReadable = !0), this._read(t.highWaterMark), t.sync = !1, t.reading || (e = S(r, t))), null === (n = e > 0 ? x(e, t) : null) ? (t.needReadable = !0, e = 0) : t.length -= e, 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && N(this)), null !== n && this.emit("data", n), n }, g.prototype._read = function(e) { this.emit("error", new Error("_read() is not implemented")) }, g.prototype.pipe = function(e, t) { var r = this, o = this._readableState; switch (o.pipesCount) { case 0: o.pipes = e; break; case 1: o.pipes = [o.pipes, e]; break; default: o.pipes.push(e) } o.pipesCount += 1, d("pipe count=%d opts=%j", o.pipesCount, t); var u = (!t || !1 !== t.end) && e !== n.stdout && e !== n.stderr ? l : g; function c(t, n) { d("onunpipe"), t === r && n && !1 === n.hasUnpiped && (n.hasUnpiped = !0, d("cleanup"), e.removeListener("close", y), e.removeListener("finish", b), e.removeListener("drain", f), e.removeListener("error", m), e.removeListener("unpipe", c), r.removeListener("end", l), r.removeListener("end", g), r.removeListener("data", v), p = !0, !o.awaitDrain || e._writableState && !e._writableState.needDrain || f()) } function l() { d("onend"), e.end() } o.endEmitted ? i.nextTick(u) : r.once("end", u), e.on("unpipe", c); var f = function(e) { return function() { var t = e._readableState; d("pipeOnDrain", t.awaitDrain), t.awaitDrain && t.awaitDrain--, 0 === t.awaitDrain && s(e, "data") && (t.flowing = !0, P(e)) } }(r); e.on("drain", f); var p = !1; var h = !1; function v(t) { d("ondata"), h = !1, !1 !== e.write(t) || h || ((1 === o.pipesCount && o.pipes === e || o.pipesCount > 1 && -1 !== R(o.pipes, e)) && !p && (d("false write response, pause", r._readableState.awaitDrain), r._readableState.awaitDrain++, h = !0), r.pause()) } function m(t) { d("onerror", t), g(), e.removeListener("error", m), 0 === s(e, "error") && e.emit("error", t) } function y() { e.removeListener("finish", b), g() } function b() { d("onfinish"), e.removeListener("close", y), g() } function g() { d("unpipe"), r.unpipe(e) } return r.on("data", v), function(e, t, r) { if ("function" == typeof e.prependListener) return e.prependListener(t, r); e._events && e._events[t] ? a(e._events[t]) ? e._events[t].unshift(r) : e._events[t] = [r, e._events[t]] : e.on(t, r) }(e, "error", m), e.once("close", y), e.once("finish", b), e.emit("pipe", r), o.flowing || (d("pipe resume"), r.resume()), e }, g.prototype.unpipe = function(e) { var t = this._readableState, r = { hasUnpiped: !1 }; if (0 === t.pipesCount) return this; if (1 === t.pipesCount) return e && e !== t.pipes || (e || (e = t.pipes), t.pipes = null, t.pipesCount = 0, t.flowing = !1, e && e.emit("unpipe", this, r)), this; if (!e) { var n = t.pipes, i = t.pipesCount; t.pipes = null, t.pipesCount = 0, t.flowing = !1; for (var o = 0; o < i; o++) n[o].emit("unpipe", this, r); return this } var a = R(t.pipes, e); return -1 === a || (t.pipes.splice(a, 1), t.pipesCount -= 1, 1 === t.pipesCount && (t.pipes = t.pipes[0]), e.emit("unpipe", this, r)), this }, g.prototype.on = function(e, t) { var r = u.prototype.on.call(this, e, t); if ("data" === e) !1 !== this._readableState.flowing && this.resume(); else if ("readable" === e) { var n = this._readableState; n.endEmitted || n.readableListening || (n.readableListening = n.needReadable = !0, n.emittedReadable = !1, n.reading ? n.length && A(this) : i.nextTick(w, this)) } return r }, g.prototype.addListener = g.prototype.on, g.prototype.resume = function() { var e = this._readableState; return e.flowing || (d("resume"), e.flowing = !0, function(e, t) { t.resumeScheduled || (t.resumeScheduled = !0, i.nextTick(I, e, t)) }(this, e)), this }, g.prototype.pause = function() { return d("call pause flowing=%j", this._readableState.flowing), !1 !== this._readableState.flowing && (d("pause"), this._readableState.flowing = !1, this.emit("pause")), this }, g.prototype.wrap = function(e) { var t = this, r = this._readableState, n = !1; for (var i in e.on("end", (function() { if (d("wrapped end"), r.decoder && !r.ended) { var e = r.decoder.end(); e && e.length && t.push(e) } t.push(null) })), e.on("data", (function(i) { (d("wrapped data"), r.decoder && (i = r.decoder.write(i)), r.objectMode && null == i) || (r.objectMode || i && i.length) && (t.push(i) || (n = !0, e.pause())) })), e) void 0 === this[i] && "function" == typeof e[i] && (this[i] = function(t) { return function() { return e[t].apply(e, arguments) } }(i)); for (var o = 0; o < y.length; o++) e.on(y[o], this.emit.bind(this, y[o])); return this._read = function(t) { d("wrapped _read", t), n && (n = !1, e.resume()) }, this }, Object.defineProperty(g.prototype, "readableHighWaterMark", { enumerable: !1, get: function() { return this._readableState.highWaterMark } }), g._fromList = x }).call(this, r(14), r(26)) }, function(e, t, r) { e.exports = r(108).EventEmitter }, function(e, t, r) { "use strict"; var n = r(72); function i(e, t) { e.emit("error", t) } e.exports = { destroy: function(e, t) { var r = this, o = this._readableState && this._readableState.destroyed, a = this._writableState && this._writableState.destroyed; return o || a ? (t ? t(e) : !e || this._writableState && this._writableState.errorEmitted || n.nextTick(i, this, e), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(e || null, (function(e) { !t && e ? (n.nextTick(i, r, e), r._writableState && (r._writableState.errorEmitted = !0)) : t && t(e) })), this) }, undestroy: function() { this._readableState && (this._readableState.destroyed = !1, this._readableState.reading = !1, this._readableState.ended = !1, this._readableState.endEmitted = !1), this._writableState && (this._writableState.destroyed = !1, this._writableState.ended = !1, this._writableState.ending = !1, this._writableState.finished = !1, this._writableState.errorEmitted = !1) } } }, function(e, t, r) { (function(e) { var n = void 0 !== e && e || "undefined" != typeof self && self || window, i = Function.prototype.apply; function o(e, t) { this._id = e, this._clearFn = t } t.setTimeout = function() { return new o(i.call(setTimeout, n, arguments), clearTimeout) }, t.setInterval = function() { return new o(i.call(setInterval, n, arguments), clearInterval) }, t.clearTimeout = t.clearInterval = function(e) { e && e.close() }, o.prototype.unref = o.prototype.ref = function() {}, o.prototype.close = function() { this._clearFn.call(n, this._id) }, t.enroll = function(e, t) { clearTimeout(e._idleTimeoutId), e._idleTimeout = t }, t.unenroll = function(e) { clearTimeout(e._idleTimeoutId), e._idleTimeout = -1 }, t._unrefActive = t.active = function(e) { clearTimeout(e._idleTimeoutId); var t = e._idleTimeout; t >= 0 && (e._idleTimeoutId = setTimeout((function() { e._onTimeout && e._onTimeout() }), t)) }, r(918), t.setImmediate = "undefined" != typeof self && self.setImmediate || void 0 !== e && e.setImmediate || this && this.setImmediate, t.clearImmediate = "undefined" != typeof self && self.clearImmediate || void 0 !== e && e.clearImmediate || this && this.clearImmediate }).call(this, r(14)) }, function(e, t, r) { (function(t) { function r(e) { try { if (!t.localStorage) return !1 } catch (e) { return !1 } var r = t.localStorage[e]; return null != r && "true" === String(r).toLowerCase() } e.exports = function(e, t) { if (r("noDeprecation")) return e; var n = !1; return function() { if (!n) { if (r("throwDeprecation")) throw new Error(t); r("traceDeprecation") ? console.trace(t) : console.warn(t), n = !0 } return e.apply(this, arguments) } } }).call(this, r(14)) }, function(e, t, r) { "use strict"; e.exports = a; var n = r(85), i = Object.create(r(54)); function o(e, t) { var r = this._transformState; r.transforming = !1; var n = r.writecb; if (!n) return this.emit("error", new Error("write callback called multiple times")); r.writechunk = null, r.writecb = null, null != t && this.push(t), n(e); var i = this._readableState; i.reading = !1, (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) } function a(e) { if (!(this instanceof a)) return new a(e); n.call(this, e), this._transformState = { afterTransform: o.bind(this), needTransform: !1, transforming: !1, writecb: null, writechunk: null, writeencoding: null }, this._readableState.needReadable = !0, this._readableState.sync = !1, e && ("function" == typeof e.transform && (this._transform = e.transform), "function" == typeof e.flush && (this._flush = e.flush)), this.on("prefinish", s) } function s() { var e = this; "function" == typeof this._flush ? this._flush((function(t, r) { u(e, t, r) })) : u(this, null, null) } function u(e, t, r) { if (t) return e.emit("error", t); if (null != r && e.push(r), e._writableState.length) throw new Error("Calling transform done when ws.length != 0"); if (e._transformState.transforming) throw new Error("Calling transform done when still transforming"); return e.push(null) } i.inherits = r(2), i.inherits(a, n), a.prototype.push = function(e, t) { return this._transformState.needTransform = !1, n.prototype.push.call(this, e, t) }, a.prototype._transform = function(e, t, r) { throw new Error("_transform() is not implemented") }, a.prototype._write = function(e, t, r) { var n = this._transformState; if (n.writecb = r, n.writechunk = e, n.writeencoding = t, !n.transforming) { var i = this._readableState; (n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) } }, a.prototype._read = function(e) { var t = this._transformState; null !== t.writechunk && t.writecb && !t.transforming ? (t.transforming = !0, this._transform(t.writechunk, t.writeencoding, t.afterTransform)) : t.needTransform = !0 }, a.prototype._destroy = function(e, t) { var r = this; n.prototype._destroy.call(this, e, (function(e) { t(e), r.emit("close") })) } }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(436), a = function() { function e(e) { e && (this.webSocket = e) } return e.prototype.connect = function(e) { return n(this, void 0, void 0, (function() { var t, r; return i(this, (function(n) { return this.webSocket || (this.webSocket = function(e) { if (!e) throw new TypeError("Unable to create WebSocket without url."); if (o.doesGlobalWebSocketExist()) return new Function("return new WebSocket('" + e + "');")(); throw new ReferenceError("Unable to find global.WebSocket which is required for constructing a BrowserWebSocket.") }(e)), this.webSocket.onerror = function(e) { r(e) }, this.webSocket.onopen = function(e) { t(e) }, [2, new Promise((function(e, n) { t = e, r = n }))] })) })) }, Object.defineProperty(e.prototype, "isConnected", { get: function() { return 1 === this.webSocket.readyState }, enumerable: !0, configurable: !0 }), e.prototype.write = function(e) { this.webSocket.send(e) }, e.prototype.close = function() { this.webSocket.close() }, e.prototype.setOnMessageHandler = function(e) { var t = []; this.webSocket.onmessage = function(r) { var n = function() { if (o.doesGlobalFileReaderExist()) return new Function("return new FileReader();")(); throw new ReferenceError("Unable to find global.FileReader. Unable to create FileReader for BrowserWebSocket.") }(), i = { buffer: null }; t.push(i), n.onload = function(r) { var n = r.target; if (i.buffer = n.result, t[0] === i) for (; 0 < t.length && t[0].buffer;) e(t[0].buffer), t.splice(0, 1) }, n.readAsArrayBuffer(r.data) } }, e.prototype.setOnErrorHandler = function(e) { this.webSocket.onerror = function(t) { t && e(t) } }, e.prototype.setOnCloseHandler = function(e) { this.webSocket.onclose = e }, e }(); t.BrowserWebSocket = a }, function(e, t, r) { "use strict"; function n(e) { for (var r in e) t.hasOwnProperty(r) || (t[r] = e[r]) } Object.defineProperty(t, "__esModule", { value: !0 }), n(r(926)), n(r(927)), n(r(253)) }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(438), a = r(440), s = r(260), u = r(253), c = function() { function e(e, t, r, n) { var i = this; this.requestHandler = e, this.requestManager = t, this.payloadSender = r, this.payloadReceiver = n, this.sendOperations = new a.SendOperations(this.payloadSender), this.streamManager = new s.StreamManager(this.onCancelStream), this.assemblerManager = new o.PayloadAssemblerManager(this.streamManager, (function(e, t) { return i.onReceiveResponse(e, t) }), (function(e, t) { return i.onReceiveRequest(e, t) })), this.payloadReceiver.subscribe((function(e) { return i.assemblerManager.getPayloadStream(e) }), (function(e, t, r) { return i.assemblerManager.onReceive(e, t, r) })) } return e.prototype.sendRequest = function(e) { return n(this, void 0, void 0, (function() { var t; return i(this, (function(r) { switch (r.label) { case 0: return t = u.generateGuid(), [4, this.sendOperations.sendRequest(t, e)]; case 1: return r.sent(), [2, this.requestManager.getResponse(t)] } })) })) }, e.prototype.onReceiveRequest = function(e, t) { return n(this, void 0, void 0, (function() { var r; return i(this, (function(n) { switch (n.label) { case 0: return this.requestHandler ? [4, this.requestHandler.processRequest(t)] : [3, 3]; case 1: return (r = n.sent()) ? [4, this.sendOperations.sendResponse(e, r)] : [3, 3]; case 2: n.sent(), n.label = 3; case 3: return [2] } })) })) }, e.prototype.onReceiveResponse = function(e, t) { return n(this, void 0, void 0, (function() { return i(this, (function(r) { switch (r.label) { case 0: return [4, this.requestManager.signalResponse(e, t)]; case 1: return r.sent(), [2] } })) })) }, e.prototype.onCancelStream = function(e) { this.sendOperations.sendCancelStream(e.id).catch() }, e }(); t.ProtocolAdapter = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(439), i = r(86), o = function() { function e(e, t, r) { this.activeAssemblers = {}, this.streamManager = e, this.onReceiveRequest = r, this.onReceiveResponse = t } return e.prototype.getPayloadStream = function(e) { if (e.payloadType === i.PayloadTypes.stream) return this.streamManager.getPayloadStream(e); if (!this.activeAssemblers[e.id]) { var t = this.createPayloadAssembler(e); if (t) return this.activeAssemblers[e.id] = t, t.getPayloadStream() } }, e.prototype.onReceive = function(e, t, r) { if (e.payloadType === i.PayloadTypes.stream) this.streamManager.onReceive(e, t, r); else { if (this.activeAssemblers && this.activeAssemblers[e.id]) this.activeAssemblers[e.id].onReceive(e, t, r); e.end && delete this.activeAssemblers[e.id] } }, e.prototype.createPayloadAssembler = function(e) { return e.payloadType === i.PayloadTypes.request ? new n.PayloadAssembler(this.streamManager, { header: e, onCompleted: this.onReceiveRequest }) : e.payloadType === i.PayloadTypes.response ? new n.PayloadAssembler(this.streamManager, { header: e, onCompleted: this.onReceiveResponse }) : void 0 }, e }(); t.PayloadAssemblerManager = o }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(128), a = r(257), s = r(428), u = function() { function e(e, t) { if (this._byteOrderMark = 65279, this._utf = "utf8", t.header ? (this.id = t.header.id, this.payloadType = t.header.payloadType, this.contentLength = t.header.payloadLength, this.end = t.header.end) : this.id = t.id, !this.id) throw Error("An ID must be supplied when creating an assembler."); this._streamManager = e, this._onCompleted = t.onCompleted } return e.prototype.getPayloadStream = function() { return this.stream || (this.stream = this.createPayloadStream()), this.stream }, e.prototype.onReceive = function(e, t, r) { this.end = e.end, e.payloadType === a.PayloadTypes.response || e.payloadType === a.PayloadTypes.request ? this.process(t).then().catch() : e.end && t.end() }, e.prototype.close = function() { this._streamManager.closeStream(this.id) }, e.prototype.createPayloadStream = function() { return new o.SubscribableStream }, e.prototype.payloadFromJson = function(e) { return JSON.parse(e.charCodeAt(0) === this._byteOrderMark ? e.slice(1) : e) }, e.prototype.stripBOM = function(e) { return e.charCodeAt(0) === this._byteOrderMark ? e.slice(1) : e }, e.prototype.process = function(e) { return n(this, void 0, void 0, (function() { var t, r; return i(this, (function(n) { switch (n.label) { case 0: return (t = e.read(e.length)) ? (r = t.toString(this._utf), this.payloadType !== a.PayloadTypes.request ? [3, 2] : [4, this.processRequest(r)]) : [2]; case 1: return n.sent(), [3, 4]; case 2: return this.payloadType !== a.PayloadTypes.response ? [3, 4] : [4, this.processResponse(r)]; case 3: n.sent(), n.label = 4; case 4: return [2] } })) })) }, e.prototype.processResponse = function(e) { return n(this, void 0, void 0, (function() { var t, r; return i(this, (function(n) { switch (n.label) { case 0: return t = this.payloadFromJson(this.stripBOM(e)), r = { streams: [], statusCode: t.statusCode }, [4, this.processStreams(t, r)]; case 1: return n.sent(), [2] } })) })) }, e.prototype.processRequest = function(e) { return n(this, void 0, void 0, (function() { var t, r; return i(this, (function(n) { switch (n.label) { case 0: return t = this.payloadFromJson(e), r = { streams: [], path: t.path, verb: t.verb }, [4, this.processStreams(t, r)]; case 1: return n.sent(), [2] } })) })) }, e.prototype.processStreams = function(e, t) { return n(this, void 0, void 0, (function() { var r = this; return i(this, (function(n) { switch (n.label) { case 0: return e.streams && e.streams.forEach((function(e) { var n = r._streamManager.getPayloadAssembler(e.id); n.payloadType = e.contentType, n.contentLength = e.length, t.streams.push(new s.ContentStream(e.id, n)) })), [4, this._onCompleted(this.id, t)]; case 1: return n.sent(), [2] } })) })) }, e }(); t.PayloadAssembler = u }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(930), a = r(931), s = r(932), u = r(933), c = r(86), l = function() { function e(e) { this.payloadSender = e } return e.prototype.sendRequest = function(e, t) { return n(this, void 0, void 0, (function() { var r = this; return i(this, (function(o) { switch (o.label) { case 0: return [4, new s.RequestDisassembler(this.payloadSender, e, t).disassemble()]; case 1: return o.sent(), t.streams && t.streams.forEach((function(e) { return n(r, void 0, void 0, (function() { return i(this, (function(t) { switch (t.label) { case 0: return [4, new a.HttpContentStreamDisassembler(this.payloadSender, e).disassemble()]; case 1: return t.sent(), [2] } })) })) })), [2] } })) })) }, e.prototype.sendResponse = function(e, t) { return n(this, void 0, void 0, (function() { var r = this; return i(this, (function(o) { switch (o.label) { case 0: return [4, new u.ResponseDisassembler(this.payloadSender, e, t).disassemble()]; case 1: return o.sent(), t.streams && t.streams.forEach((function(e) { return n(r, void 0, void 0, (function() { return i(this, (function(t) { switch (t.label) { case 0: return [4, new a.HttpContentStreamDisassembler(this.payloadSender, e).disassemble()]; case 1: return t.sent(), [2] } })) })) })), [2] } })) })) }, e.prototype.sendCancelStream = function(e) { return n(this, void 0, void 0, (function() { return i(this, (function(t) { return new o.CancelDisassembler(this.payloadSender, e, c.PayloadTypes.cancelStream).disassemble(), [2] })) })) }, e }(); t.SendOperations = l }, function(e, t, r) { "use strict"; function n(e) { for (var r in e) t.hasOwnProperty(r) || (t[r] = e[r]) } Object.defineProperty(t, "__esModule", { value: !0 }), n(r(934)), n(r(935)), n(r(262)) }, function(e, t, r) { "use strict"; var n = r(10).Buffer, i = r(71).Transform; function o(e) { i.call(this), this._block = n.allocUnsafe(e), this._blockSize = e, this._blockOffset = 0, this._length = [0, 0, 0, 0], this._finalized = !1 } r(2)(o, i), o.prototype._transform = function(e, t, r) { var n = null; try { this.update(e, t) } catch (e) { n = e } r(n) }, o.prototype._flush = function(e) { var t = null; try { this.push(this.digest()) } catch (e) { t = e } e(t) }, o.prototype.update = function(e, t) { if (function(e, t) { if (!n.isBuffer(e) && "string" != typeof e) throw new TypeError(t + " must be a string or a buffer") }(e, "Data"), this._finalized) throw new Error("Digest already called"); n.isBuffer(e) || (e = n.from(e, t)); for (var r = this._block, i = 0; this._blockOffset + e.length - i >= this._blockSize;) { for (var o = this._blockOffset; o < this._blockSize;) r[o++] = e[i++]; this._update(), this._blockOffset = 0 } for (; i < e.length;) r[this._blockOffset++] = e[i++]; for (var a = 0, s = 8 * e.length; s > 0; ++a) this._length[a] += s, (s = this._length[a] / 4294967296 | 0) > 0 && (this._length[a] -= 4294967296 * s); return this }, o.prototype._update = function() { throw new Error("_update is not implemented") }, o.prototype.digest = function(e) { if (this._finalized) throw new Error("Digest already called"); this._finalized = !0; var t = this._digest(); void 0 !== e && (t = t.toString(e)), this._block.fill(0), this._blockOffset = 0; for (var r = 0; r < 4; ++r) this._length[r] = 0; return t }, o.prototype._digest = function() { throw new Error("_digest is not implemented") }, e.exports = o }, function(e, t, r) { var n = r(2), i = r(102), o = r(10).Buffer, a = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298], s = new Array(64); function u() { this.init(), this._w = s, i.call(this, 64, 56) } function c(e, t, r) { return r ^ e & (t ^ r) } function l(e, t, r) { return e & t | r & (e | t) } function f(e) { return (e >>> 2 | e << 30) ^ (e >>> 13 | e << 19) ^ (e >>> 22 | e << 10) } function p(e) { return (e >>> 6 | e << 26) ^ (e >>> 11 | e << 21) ^ (e >>> 25 | e << 7) } function d(e) { return (e >>> 7 | e << 25) ^ (e >>> 18 | e << 14) ^ e >>> 3 } n(u, i), u.prototype.init = function() { return this._a = 1779033703, this._b = 3144134277, this._c = 1013904242, this._d = 2773480762, this._e = 1359893119, this._f = 2600822924, this._g = 528734635, this._h = 1541459225, this }, u.prototype._update = function(e) { for (var t, r = this._w, n = 0 | this._a, i = 0 | this._b, o = 0 | this._c, s = 0 | this._d, u = 0 | this._e, h = 0 | this._f, v = 0 | this._g, m = 0 | this._h, y = 0; y < 16; ++y) r[y] = e.readInt32BE(4 * y); for (; y < 64; ++y) r[y] = 0 | (((t = r[y - 2]) >>> 17 | t << 15) ^ (t >>> 19 | t << 13) ^ t >>> 10) + r[y - 7] + d(r[y - 15]) + r[y - 16]; for (var b = 0; b < 64; ++b) { var g = m + p(u) + c(u, h, v) + a[b] + r[b] | 0, _ = f(n) + l(n, i, o) | 0; m = v, v = h, h = u, u = s + g | 0, s = o, o = i, i = n, n = g + _ | 0 } this._a = n + this._a | 0, this._b = i + this._b | 0, this._c = o + this._c | 0, this._d = s + this._d | 0, this._e = u + this._e | 0, this._f = h + this._f | 0, this._g = v + this._g | 0, this._h = m + this._h | 0 }, u.prototype._hash = function() { var e = o.allocUnsafe(32); return e.writeInt32BE(this._a, 0), e.writeInt32BE(this._b, 4), e.writeInt32BE(this._c, 8), e.writeInt32BE(this._d, 12), e.writeInt32BE(this._e, 16), e.writeInt32BE(this._f, 20), e.writeInt32BE(this._g, 24), e.writeInt32BE(this._h, 28), e }, e.exports = u }, function(e, t, r) { var n = r(2), i = r(102), o = r(10).Buffer, a = [1116352408, 3609767458, 1899447441, 602891725, 3049323471, 3964484399, 3921009573, 2173295548, 961987163, 4081628472, 1508970993, 3053834265, 2453635748, 2937671579, 2870763221, 3664609560, 3624381080, 2734883394, 310598401, 1164996542, 607225278, 1323610764, 1426881987, 3590304994, 1925078388, 4068182383, 2162078206, 991336113, 2614888103, 633803317, 3248222580, 3479774868, 3835390401, 2666613458, 4022224774, 944711139, 264347078, 2341262773, 604807628, 2007800933, 770255983, 1495990901, 1249150122, 1856431235, 1555081692, 3175218132, 1996064986, 2198950837, 2554220882, 3999719339, 2821834349, 766784016, 2952996808, 2566594879, 3210313671, 3203337956, 3336571891, 1034457026, 3584528711, 2466948901, 113926993, 3758326383, 338241895, 168717936, 666307205, 1188179964, 773529912, 1546045734, 1294757372, 1522805485, 1396182291, 2643833823, 1695183700, 2343527390, 1986661051, 1014477480, 2177026350, 1206759142, 2456956037, 344077627, 2730485921, 1290863460, 2820302411, 3158454273, 3259730800, 3505952657, 3345764771, 106217008, 3516065817, 3606008344, 3600352804, 1432725776, 4094571909, 1467031594, 275423344, 851169720, 430227734, 3100823752, 506948616, 1363258195, 659060556, 3750685593, 883997877, 3785050280, 958139571, 3318307427, 1322822218, 3812723403, 1537002063, 2003034995, 1747873779, 3602036899, 1955562222, 1575990012, 2024104815, 1125592928, 2227730452, 2716904306, 2361852424, 442776044, 2428436474, 593698344, 2756734187, 3733110249, 3204031479, 2999351573, 3329325298, 3815920427, 3391569614, 3928383900, 3515267271, 566280711, 3940187606, 3454069534, 4118630271, 4000239992, 116418474, 1914138554, 174292421, 2731055270, 289380356, 3203993006, 460393269, 320620315, 685471733, 587496836, 852142971, 1086792851, 1017036298, 365543100, 1126000580, 2618297676, 1288033470, 3409855158, 1501505948, 4234509866, 1607167915, 987167468, 1816402316, 1246189591], s = new Array(160); function u() { this.init(), this._w = s, i.call(this, 128, 112) } function c(e, t, r) { return r ^ e & (t ^ r) } function l(e, t, r) { return e & t | r & (e | t) } function f(e, t) { return (e >>> 28 | t << 4) ^ (t >>> 2 | e << 30) ^ (t >>> 7 | e << 25) } function p(e, t) { return (e >>> 14 | t << 18) ^ (e >>> 18 | t << 14) ^ (t >>> 9 | e << 23) } function d(e, t) { return (e >>> 1 | t << 31) ^ (e >>> 8 | t << 24) ^ e >>> 7 } function h(e, t) { return (e >>> 1 | t << 31) ^ (e >>> 8 | t << 24) ^ (e >>> 7 | t << 25) } function v(e, t) { return (e >>> 19 | t << 13) ^ (t >>> 29 | e << 3) ^ e >>> 6 } function m(e, t) { return (e >>> 19 | t << 13) ^ (t >>> 29 | e << 3) ^ (e >>> 6 | t << 26) } function y(e, t) { return e >>> 0 < t >>> 0 ? 1 : 0 } n(u, i), u.prototype.init = function() { return this._ah = 1779033703, this._bh = 3144134277, this._ch = 1013904242, this._dh = 2773480762, this._eh = 1359893119, this._fh = 2600822924, this._gh = 528734635, this._hh = 1541459225, this._al = 4089235720, this._bl = 2227873595, this._cl = 4271175723, this._dl = 1595750129, this._el = 2917565137, this._fl = 725511199, this._gl = 4215389547, this._hl = 327033209, this }, u.prototype._update = function(e) { for (var t = this._w, r = 0 | this._ah, n = 0 | this._bh, i = 0 | this._ch, o = 0 | this._dh, s = 0 | this._eh, u = 0 | this._fh, b = 0 | this._gh, g = 0 | this._hh, _ = 0 | this._al, T = 0 | this._bl, S = 0 | this._cl, A = 0 | this._dl, E = 0 | this._el, C = 0 | this._fl, O = 0 | this._gl, w = 0 | this._hl, I = 0; I < 32; I += 2) t[I] = e.readInt32BE(4 * I), t[I + 1] = e.readInt32BE(4 * I + 4); for (; I < 160; I += 2) { var P = t[I - 30], x = t[I - 30 + 1], N = d(P, x), k = h(x, P), R = v(P = t[I - 4], x = t[I - 4 + 1]), L = m(x, P), M = t[I - 14], j = t[I - 14 + 1], D = t[I - 32], U = t[I - 32 + 1], B = k + j | 0, F = N + M + y(B, k) | 0; F = (F = F + R + y(B = B + L | 0, L) | 0) + D + y(B = B + U | 0, U) | 0, t[I] = F, t[I + 1] = B } for (var z = 0; z < 160; z += 2) { F = t[z], B = t[z + 1]; var V = l(r, n, i), G = l(_, T, S), q = f(r, _), H = f(_, r), W = p(s, E), Y = p(E, s), K = a[z], $ = a[z + 1], J = c(s, u, b), X = c(E, C, O), Z = w + Y | 0, Q = g + W + y(Z, w) | 0; Q = (Q = (Q = Q + J + y(Z = Z + X | 0, X) | 0) + K + y(Z = Z + $ | 0, $) | 0) + F + y(Z = Z + B | 0, B) | 0; var ee = H + G | 0, te = q + V + y(ee, H) | 0; g = b, w = O, b = u, O = C, u = s, C = E, s = o + Q + y(E = A + Z | 0, A) | 0, o = i, A = S, i = n, S = T, n = r, T = _, r = Q + te + y(_ = Z + ee | 0, Z) | 0 } this._al = this._al + _ | 0, this._bl = this._bl + T | 0, this._cl = this._cl + S | 0, this._dl = this._dl + A | 0, this._el = this._el + E | 0, this._fl = this._fl + C | 0, this._gl = this._gl + O | 0, this._hl = this._hl + w | 0, this._ah = this._ah + r + y(this._al, _) | 0, this._bh = this._bh + n + y(this._bl, T) | 0, this._ch = this._ch + i + y(this._cl, S) | 0, this._dh = this._dh + o + y(this._dl, A) | 0, this._eh = this._eh + s + y(this._el, E) | 0, this._fh = this._fh + u + y(this._fl, C) | 0, this._gh = this._gh + b + y(this._gl, O) | 0, this._hh = this._hh + g + y(this._hl, w) | 0 }, u.prototype._hash = function() { var e = o.allocUnsafe(64); function t(t, r, n) { e.writeInt32BE(t, n), e.writeInt32BE(r, n + 4) } return t(this._ah, this._al, 0), t(this._bh, this._bl, 8), t(this._ch, this._cl, 16), t(this._dh, this._dl, 24), t(this._eh, this._el, 32), t(this._fh, this._fl, 40), t(this._gh, this._gl, 48), t(this._hh, this._hl, 56), e }, e.exports = u }, function(e, t, r) { "use strict"; var n = r(2), i = r(941), o = r(73), a = r(10).Buffer, s = r(446), u = r(265), c = r(266), l = a.alloc(128); function f(e, t) { o.call(this, "digest"), "string" == typeof t && (t = a.from(t)); var r = "sha512" === e || "sha384" === e ? 128 : 64; (this._alg = e, this._key = t, t.length > r) ? t = ("rmd160" === e ? new u : c(e)).update(t).digest(): t.length < r && (t = a.concat([t, l], r)); for (var n = this._ipad = a.allocUnsafe(r), i = this._opad = a.allocUnsafe(r), s = 0; s < r; s++) n[s] = 54 ^ t[s], i[s] = 92 ^ t[s]; this._hash = "rmd160" === e ? new u : c(e), this._hash.update(n) } n(f, o), f.prototype._update = function(e) { this._hash.update(e) }, f.prototype._final = function() { var e = this._hash.digest(); return ("rmd160" === this._alg ? new u : c(this._alg)).update(this._opad).update(e).digest() }, e.exports = function(e, t) { return "rmd160" === (e = e.toLowerCase()) || "ripemd160" === e ? new f("rmd160", t) : "md5" === e ? new i(s, t) : new f(e, t) } }, function(e, t, r) { var n = r(264); e.exports = function(e) { return (new n).update(e).digest() } }, function(e) { e.exports = JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}') }, function(e, t, r) { t.pbkdf2 = r(943), t.pbkdf2Sync = r(451) }, function(e, t, r) { (function(t) { var r = Math.pow(2, 30) - 1; function n(e, r) { if ("string" != typeof e && !t.isBuffer(e)) throw new TypeError(r + " must be a buffer or string") } e.exports = function(e, t, i, o) { if (n(e, "Password"), n(t, "Salt"), "number" != typeof i) throw new TypeError("Iterations not a number"); if (i < 0) throw new TypeError("Bad iterations"); if ("number" != typeof o) throw new TypeError("Key length not a number"); if (o < 0 || o > r || o != o) throw new TypeError("Bad key length") } }).call(this, r(8).Buffer) }, function(e, t, r) { (function(t) { var r; t.browser ? r = "utf-8" : r = parseInt(t.version.split(".")[0].slice(1), 10) >= 6 ? "utf-8" : "binary"; e.exports = r }).call(this, r(26)) }, function(e, t, r) { var n = r(446), i = r(265), o = r(266), a = r(449), s = r(450), u = r(10).Buffer, c = u.alloc(128), l = { md5: 16, sha1: 20, sha224: 28, sha256: 32, sha384: 48, sha512: 64, rmd160: 20, ripemd160: 20 }; function f(e, t, r) { var a = function(e) { function t(t) { return o(e).update(t).digest() } return "rmd160" === e || "ripemd160" === e ? function(e) { return (new i).update(e).digest() } : "md5" === e ? n : t }(e), s = "sha512" === e || "sha384" === e ? 128 : 64; t.length > s ? t = a(t) : t.length < s && (t = u.concat([t, c], s)); for (var f = u.allocUnsafe(s + l[e]), p = u.allocUnsafe(s + l[e]), d = 0; d < s; d++) f[d] = 54 ^ t[d], p[d] = 92 ^ t[d]; var h = u.allocUnsafe(s + r + 4); f.copy(h, 0, 0, s), this.ipad1 = h, this.ipad2 = f, this.opad = p, this.alg = e, this.blocksize = s, this.hash = a, this.size = l[e] } f.prototype.run = function(e, t) { return e.copy(t, this.blocksize), this.hash(t).copy(this.opad, this.blocksize), this.hash(this.opad) }, e.exports = function(e, t, r, n, i) { a(e, t, r, n), u.isBuffer(e) || (e = u.from(e, s)), u.isBuffer(t) || (t = u.from(t, s)); var o = new f(i = i || "sha1", e, t.length), c = u.allocUnsafe(n), p = u.allocUnsafe(t.length + 4); t.copy(p, 0, 0, t.length); for (var d = 0, h = l[i], v = Math.ceil(n / h), m = 1; m <= v; m++) { p.writeUInt32BE(m, t.length); for (var y = o.run(p, o.ipad1), b = y, g = 1; g < r; g++) { b = o.run(b, o.ipad2); for (var _ = 0; _ < h; _++) y[_] ^= b[_] } y.copy(c, d), d += h } return c } }, function(e, t, r) { "use strict"; t.readUInt32BE = function(e, t) { return (e[0 + t] << 24 | e[1 + t] << 16 | e[2 + t] << 8 | e[3 + t]) >>> 0 }, t.writeUInt32BE = function(e, t, r) { e[0 + r] = t >>> 24, e[1 + r] = t >>> 16 & 255, e[2 + r] = t >>> 8 & 255, e[3 + r] = 255 & t }, t.ip = function(e, t, r, n) { for (var i = 0, o = 0, a = 6; a >= 0; a -= 2) { for (var s = 0; s <= 24; s += 8) i <<= 1, i |= t >>> s + a & 1; for (s = 0; s <= 24; s += 8) i <<= 1, i |= e >>> s + a & 1 } for (a = 6; a >= 0; a -= 2) { for (s = 1; s <= 25; s += 8) o <<= 1, o |= t >>> s + a & 1; for (s = 1; s <= 25; s += 8) o <<= 1, o |= e >>> s + a & 1 } r[n + 0] = i >>> 0, r[n + 1] = o >>> 0 }, t.rip = function(e, t, r, n) { for (var i = 0, o = 0, a = 0; a < 4; a++) for (var s = 24; s >= 0; s -= 8) i <<= 1, i |= t >>> s + a & 1, i <<= 1, i |= e >>> s + a & 1; for (a = 4; a < 8; a++) for (s = 24; s >= 0; s -= 8) o <<= 1, o |= t >>> s + a & 1, o <<= 1, o |= e >>> s + a & 1; r[n + 0] = i >>> 0, r[n + 1] = o >>> 0 }, t.pc1 = function(e, t, r, n) { for (var i = 0, o = 0, a = 7; a >= 5; a--) { for (var s = 0; s <= 24; s += 8) i <<= 1, i |= t >> s + a & 1; for (s = 0; s <= 24; s += 8) i <<= 1, i |= e >> s + a & 1 } for (s = 0; s <= 24; s += 8) i <<= 1, i |= t >> s + a & 1; for (a = 1; a <= 3; a++) { for (s = 0; s <= 24; s += 8) o <<= 1, o |= t >> s + a & 1; for (s = 0; s <= 24; s += 8) o <<= 1, o |= e >> s + a & 1 } for (s = 0; s <= 24; s += 8) o <<= 1, o |= e >> s + a & 1; r[n + 0] = i >>> 0, r[n + 1] = o >>> 0 }, t.r28shl = function(e, t) { return e << t & 268435455 | e >>> 28 - t }; var n = [14, 11, 17, 4, 27, 23, 25, 0, 13, 22, 7, 18, 5, 9, 16, 24, 2, 20, 12, 21, 1, 8, 15, 26, 15, 4, 25, 19, 9, 1, 26, 16, 5, 11, 23, 8, 12, 7, 17, 0, 22, 3, 10, 14, 6, 20, 27, 24]; t.pc2 = function(e, t, r, i) { for (var o = 0, a = 0, s = n.length >>> 1, u = 0; u < s; u++) o <<= 1, o |= e >>> n[u] & 1; for (u = s; u < n.length; u++) a <<= 1, a |= t >>> n[u] & 1; r[i + 0] = o >>> 0, r[i + 1] = a >>> 0 }, t.expand = function(e, t, r) { var n = 0, i = 0; n = (1 & e) << 5 | e >>> 27; for (var o = 23; o >= 15; o -= 4) n <<= 6, n |= e >>> o & 63; for (o = 11; o >= 3; o -= 4) i |= e >>> o & 63, i <<= 6; i |= (31 & e) << 1 | e >>> 31, t[r + 0] = n >>> 0, t[r + 1] = i >>> 0 }; var i = [14, 0, 4, 15, 13, 7, 1, 4, 2, 14, 15, 2, 11, 13, 8, 1, 3, 10, 10, 6, 6, 12, 12, 11, 5, 9, 9, 5, 0, 3, 7, 8, 4, 15, 1, 12, 14, 8, 8, 2, 13, 4, 6, 9, 2, 1, 11, 7, 15, 5, 12, 11, 9, 3, 7, 14, 3, 10, 10, 0, 5, 6, 0, 13, 15, 3, 1, 13, 8, 4, 14, 7, 6, 15, 11, 2, 3, 8, 4, 14, 9, 12, 7, 0, 2, 1, 13, 10, 12, 6, 0, 9, 5, 11, 10, 5, 0, 13, 14, 8, 7, 10, 11, 1, 10, 3, 4, 15, 13, 4, 1, 2, 5, 11, 8, 6, 12, 7, 6, 12, 9, 0, 3, 5, 2, 14, 15, 9, 10, 13, 0, 7, 9, 0, 14, 9, 6, 3, 3, 4, 15, 6, 5, 10, 1, 2, 13, 8, 12, 5, 7, 14, 11, 12, 4, 11, 2, 15, 8, 1, 13, 1, 6, 10, 4, 13, 9, 0, 8, 6, 15, 9, 3, 8, 0, 7, 11, 4, 1, 15, 2, 14, 12, 3, 5, 11, 10, 5, 14, 2, 7, 12, 7, 13, 13, 8, 14, 11, 3, 5, 0, 6, 6, 15, 9, 0, 10, 3, 1, 4, 2, 7, 8, 2, 5, 12, 11, 1, 12, 10, 4, 14, 15, 9, 10, 3, 6, 15, 9, 0, 0, 6, 12, 10, 11, 1, 7, 13, 13, 8, 15, 9, 1, 4, 3, 5, 14, 11, 5, 12, 2, 7, 8, 2, 4, 14, 2, 14, 12, 11, 4, 2, 1, 12, 7, 4, 10, 7, 11, 13, 6, 1, 8, 5, 5, 0, 3, 15, 15, 10, 13, 3, 0, 9, 14, 8, 9, 6, 4, 11, 2, 8, 1, 12, 11, 7, 10, 1, 13, 14, 7, 2, 8, 13, 15, 6, 9, 15, 12, 0, 5, 9, 6, 10, 3, 4, 0, 5, 14, 3, 12, 10, 1, 15, 10, 4, 15, 2, 9, 7, 2, 12, 6, 9, 8, 5, 0, 6, 13, 1, 3, 13, 4, 14, 14, 0, 7, 11, 5, 3, 11, 8, 9, 4, 14, 3, 15, 2, 5, 12, 2, 9, 8, 5, 12, 15, 3, 10, 7, 11, 0, 14, 4, 1, 10, 7, 1, 6, 13, 0, 11, 8, 6, 13, 4, 13, 11, 0, 2, 11, 14, 7, 15, 4, 0, 9, 8, 1, 13, 10, 3, 14, 12, 3, 9, 5, 7, 12, 5, 2, 10, 15, 6, 8, 1, 6, 1, 6, 4, 11, 11, 13, 13, 8, 12, 1, 3, 4, 7, 10, 14, 7, 10, 9, 15, 5, 6, 0, 8, 15, 0, 14, 5, 2, 9, 3, 2, 12, 13, 1, 2, 15, 8, 13, 4, 8, 6, 10, 15, 3, 11, 7, 1, 4, 10, 12, 9, 5, 3, 6, 14, 11, 5, 0, 0, 14, 12, 9, 7, 2, 7, 2, 11, 1, 4, 14, 1, 7, 9, 4, 12, 10, 14, 8, 2, 13, 0, 15, 6, 12, 10, 9, 13, 0, 15, 3, 3, 5, 5, 6, 8, 11]; t.substitute = function(e, t) { for (var r = 0, n = 0; n < 4; n++) { r <<= 4, r |= i[64 * n + (e >>> 18 - 6 * n & 63)] } for (n = 0; n < 4; n++) { r <<= 4, r |= i[256 + 64 * n + (t >>> 18 - 6 * n & 63)] } return r >>> 0 }; var o = [16, 25, 12, 11, 3, 20, 4, 15, 31, 17, 9, 6, 27, 14, 1, 22, 30, 24, 8, 18, 0, 5, 29, 23, 13, 19, 2, 26, 10, 21, 28, 7]; t.permute = function(e) { for (var t = 0, r = 0; r < o.length; r++) t <<= 1, t |= e >>> o[r] & 1; return t >>> 0 }, t.padSplit = function(e, t, r) { for (var n = e.toString(2); n.length < t;) n = "0" + n; for (var i = [], o = 0; o < t; o += r) i.push(n.slice(o, o + r)); return i.join(" ") } }, function(e, t, r) { "use strict"; var n = r(42), i = r(2), o = r(452), a = r(267); function s() { this.tmp = new Array(2), this.keys = null } function u(e) { a.call(this, e); var t = new s; this._desState = t, this.deriveKeys(t, e.key) } i(u, a), e.exports = u, u.create = function(e) { return new u(e) }; var c = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1]; u.prototype.deriveKeys = function(e, t) { e.keys = new Array(32), n.equal(t.length, this.blockSize, "Invalid key length"); var r = o.readUInt32BE(t, 0), i = o.readUInt32BE(t, 4); o.pc1(r, i, e.tmp, 0), r = e.tmp[0], i = e.tmp[1]; for (var a = 0; a < e.keys.length; a += 2) { var s = c[a >>> 1]; r = o.r28shl(r, s), i = o.r28shl(i, s), o.pc2(r, i, e.keys, a) } }, u.prototype._update = function(e, t, r, n) { var i = this._desState, a = o.readUInt32BE(e, t), s = o.readUInt32BE(e, t + 4); o.ip(a, s, i.tmp, 0), a = i.tmp[0], s = i.tmp[1], "encrypt" === this.type ? this._encrypt(i, a, s, i.tmp, 0) : this._decrypt(i, a, s, i.tmp, 0), a = i.tmp[0], s = i.tmp[1], o.writeUInt32BE(r, a, n), o.writeUInt32BE(r, s, n + 4) }, u.prototype._pad = function(e, t) { for (var r = e.length - t, n = t; n < e.length; n++) e[n] = r; return !0 }, u.prototype._unpad = function(e) { for (var t = e[e.length - 1], r = e.length - t; r < e.length; r++) n.equal(e[r], t); return e.slice(0, e.length - t) }, u.prototype._encrypt = function(e, t, r, n, i) { for (var a = t, s = r, u = 0; u < e.keys.length; u += 2) { var c = e.keys[u], l = e.keys[u + 1]; o.expand(s, e.tmp, 0), c ^= e.tmp[0], l ^= e.tmp[1]; var f = o.substitute(c, l), p = s; s = (a ^ o.permute(f)) >>> 0, a = p } o.rip(s, a, n, i) }, u.prototype._decrypt = function(e, t, r, n, i) { for (var a = r, s = t, u = e.keys.length - 2; u >= 0; u -= 2) { var c = e.keys[u], l = e.keys[u + 1]; o.expand(a, e.tmp, 0), c ^= e.tmp[0], l ^= e.tmp[1]; var f = o.substitute(c, l), p = a; a = (s ^ o.permute(f)) >>> 0, s = p } o.rip(a, s, n, i) } }, function(e, t, r) { var n = r(130), i = r(10).Buffer, o = r(455); function a(e) { var t = e._cipher.encryptBlockRaw(e._prev); return o(e._prev), t } t.encrypt = function(e, t) { var r = Math.ceil(t.length / 16), o = e._cache.length; e._cache = i.concat([e._cache, i.allocUnsafe(16 * r)]); for (var s = 0; s < r; s++) { var u = a(e), c = o + 16 * s; e._cache.writeUInt32BE(u[0], c + 0), e._cache.writeUInt32BE(u[1], c + 4), e._cache.writeUInt32BE(u[2], c + 8), e._cache.writeUInt32BE(u[3], c + 12) } var l = e._cache.slice(0, t.length); return e._cache = e._cache.slice(t.length), n(t, l) } }, function(e, t) { e.exports = function(e) { for (var t, r = e.length; r--;) { if (255 !== (t = e.readUInt8(r))) { t++, e.writeUInt8(t, r); break } e.writeUInt8(0, r) } } }, function(e) { e.exports = JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}') }, function(e, t, r) { var n = r(179), i = r(10).Buffer, o = r(73), a = r(2), s = r(956), u = r(130), c = r(455); function l(e, t, r, a) { o.call(this); var u = i.alloc(4, 0); this._cipher = new n.AES(t); var l = this._cipher.encryptBlock(u); this._ghash = new s(l), r = function(e, t, r) { if (12 === t.length) return e._finID = i.concat([t, i.from([0, 0, 0, 1])]), i.concat([t, i.from([0, 0, 0, 2])]); var n = new s(r), o = t.length, a = o % 16; n.update(t), a && (a = 16 - a, n.update(i.alloc(a, 0))), n.update(i.alloc(8, 0)); var u = 8 * o, l = i.alloc(8); l.writeUIntBE(u, 0, 8), n.update(l), e._finID = n.state; var f = i.from(e._finID); return c(f), f }(this, r, l), this._prev = i.from(r), this._cache = i.allocUnsafe(0), this._secCache = i.allocUnsafe(0), this._decrypt = a, this._alen = 0, this._len = 0, this._mode = e, this._authTag = null, this._called = !1 } a(l, o), l.prototype._update = function(e) { if (!this._called && this._alen) { var t = 16 - this._alen % 16; t < 16 && (t = i.alloc(t, 0), this._ghash.update(t)) } this._called = !0; var r = this._mode.encrypt(this, e); return this._decrypt ? this._ghash.update(e) : this._ghash.update(r), this._len += e.length, r }, l.prototype._final = function() { if (this._decrypt && !this._authTag) throw new Error("Unsupported state or unable to authenticate data"); var e = u(this._ghash.final(8 * this._alen, 8 * this._len), this._cipher.encryptBlock(this._finID)); if (this._decrypt && function(e, t) { var r = 0; e.length !== t.length && r++; for (var n = Math.min(e.length, t.length), i = 0; i < n; ++i) r += e[i] ^ t[i]; return r }(e, this._authTag)) throw new Error("Unsupported state or unable to authenticate data"); this._authTag = e, this._cipher.scrub() }, l.prototype.getAuthTag = function() { if (this._decrypt || !i.isBuffer(this._authTag)) throw new Error("Attempting to get auth tag in unsupported state"); return this._authTag }, l.prototype.setAuthTag = function(e) { if (!this._decrypt) throw new Error("Attempting to set auth tag in unsupported state"); this._authTag = e }, l.prototype.setAAD = function(e) { if (this._called) throw new Error("Attempting to set AAD in unsupported state"); this._ghash.update(e), this._alen += e.length }, e.exports = l }, function(e, t, r) { var n = r(179), i = r(10).Buffer, o = r(73); function a(e, t, r, a) { o.call(this), this._cipher = new n.AES(t), this._prev = i.from(r), this._cache = i.allocUnsafe(0), this._secCache = i.allocUnsafe(0), this._decrypt = a, this._mode = e } r(2)(a, o), a.prototype._update = function(e) { return this._mode.encrypt(this, e, this._decrypt) }, a.prototype._final = function() { this._cipher.scrub() }, e.exports = a }, function(e, t, r) { var n = r(101); e.exports = b, b.simpleSieve = m, b.fermatTest = y; var i = r(22), o = new i(24), a = new(r(460)), s = new i(1), u = new i(2), c = new i(5), l = (new i(16), new i(8), new i(10)), f = new i(3), p = (new i(7), new i(11)), d = new i(4), h = (new i(12), null); function v() { if (null !== h) return h; var e = []; e[0] = 2; for (var t = 1, r = 3; r < 1048576; r += 2) { for (var n = Math.ceil(Math.sqrt(r)), i = 0; i < t && e[i] <= n && r % e[i] != 0; i++); t !== i && e[i] <= n || (e[t++] = r) } return h = e, e } function m(e) { for (var t = v(), r = 0; r < t.length; r++) if (0 === e.modn(t[r])) return 0 === e.cmpn(t[r]); return !0 } function y(e) { var t = i.mont(e); return 0 === u.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1) } function b(e, t) { if (e < 16) return new i(2 === t || 5 === t ? [140, 123] : [140, 39]); var r, h; for (t = new i(t);;) { for (r = new i(n(Math.ceil(e / 8))); r.bitLength() > e;) r.ishrn(1); if (r.isEven() && r.iadd(s), r.testn(1) || r.iadd(u), t.cmp(u)) { if (!t.cmp(c)) for (; r.mod(l).cmp(f);) r.iadd(d) } else for (; r.mod(o).cmp(p);) r.iadd(d); if (m(h = r.shrn(1)) && m(r) && y(h) && y(r) && a.test(h) && a.test(r)) return r } } }, function(e, t, r) { var n = r(22), i = r(270); function o(e) { this.rand = e || new i.Rand } e.exports = o, o.create = function(e) { return new o(e) }, o.prototype._randbelow = function(e) { var t = e.bitLength(), r = Math.ceil(t / 8); do { var i = new n(this.rand.generate(r)) } while (i.cmp(e) >= 0); return i }, o.prototype._randrange = function(e, t) { var r = t.sub(e); return e.add(this._randbelow(r)) }, o.prototype.test = function(e, t, r) { var i = e.bitLength(), o = n.mont(e), a = new n(1).toRed(o); t || (t = Math.max(1, i / 48 | 0)); for (var s = e.subn(1), u = 0; !s.testn(u); u++); for (var c = e.shrn(u), l = s.toRed(o); t > 0; t--) { var f = this._randrange(new n(2), s); r && r(f); var p = f.toRed(o).redPow(c); if (0 !== p.cmp(a) && 0 !== p.cmp(l)) { for (var d = 1; d < u; d++) { if (0 === (p = p.redSqr()).cmp(a)) return !1; if (0 === p.cmp(l)) break } if (d === u) return !1 } } return !0 }, o.prototype.getDivisor = function(e, t) { var r = e.bitLength(), i = n.mont(e), o = new n(1).toRed(i); t || (t = Math.max(1, r / 48 | 0)); for (var a = e.subn(1), s = 0; !a.testn(s); s++); for (var u = e.shrn(s), c = a.toRed(i); t > 0; t--) { var l = this._randrange(new n(2), a), f = e.gcd(l); if (0 !== f.cmpn(1)) return f; var p = l.toRed(i).redPow(u); if (0 !== p.cmp(o) && 0 !== p.cmp(c)) { for (var d = 1; d < s; d++) { if (0 === (p = p.redSqr()).cmp(o)) return p.fromRed().subn(1).gcd(e); if (0 === p.cmp(c)) break } if (d === s) return (p = p.redSqr()).fromRed().subn(1).gcd(e) } } return !1 } }, function(e, t, r) { "use strict"; var n = t; function i(e) { return 1 === e.length ? "0" + e : e } function o(e) { for (var t = "", r = 0; r < e.length; r++) t += i(e[r].toString(16)); return t } n.toArray = function(e, t) { if (Array.isArray(e)) return e.slice(); if (!e) return []; var r = []; if ("string" != typeof e) { for (var n = 0; n < e.length; n++) r[n] = 0 | e[n]; return r } if ("hex" === t) { (e = e.replace(/[^a-z0-9]+/gi, "")).length % 2 != 0 && (e = "0" + e); for (n = 0; n < e.length; n += 2) r.push(parseInt(e[n] + e[n + 1], 16)) } else for (n = 0; n < e.length; n++) { var i = e.charCodeAt(n), o = i >> 8, a = 255 & i; o ? r.push(o, a) : r.push(a) } return r }, n.zero2 = i, n.toHex = o, n.encode = function(e, t) { return "hex" === t ? o(e) : e } }, function(e, t, r) { "use strict"; var n = t; n.base = r(181), n.short = r(967), n.mont = r(968), n.edwards = r(969) }, function(e, t, r) { "use strict"; var n = r(55).rotr32; function i(e, t, r) { return e & t ^ ~e & r } function o(e, t, r) { return e & t ^ e & r ^ t & r } function a(e, t, r) { return e ^ t ^ r } t.ft_1 = function(e, t, r, n) { return 0 === e ? i(t, r, n) : 1 === e || 3 === e ? a(t, r, n) : 2 === e ? o(t, r, n) : void 0 }, t.ch32 = i, t.maj32 = o, t.p32 = a, t.s0_256 = function(e) { return n(e, 2) ^ n(e, 13) ^ n(e, 22) }, t.s1_256 = function(e) { return n(e, 6) ^ n(e, 11) ^ n(e, 25) }, t.g0_256 = function(e) { return n(e, 7) ^ n(e, 18) ^ e >>> 3 }, t.g1_256 = function(e) { return n(e, 17) ^ n(e, 19) ^ e >>> 10 } }, function(e, t, r) { "use strict"; var n = r(55), i = r(131), o = r(463), a = r(42), s = n.sum32, u = n.sum32_4, c = n.sum32_5, l = o.ch32, f = o.maj32, p = o.s0_256, d = o.s1_256, h = o.g0_256, v = o.g1_256, m = i.BlockHash, y = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298]; function b() { if (!(this instanceof b)) return new b; m.call(this), this.h = [1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225], this.k = y, this.W = new Array(64) } n.inherits(b, m), e.exports = b, b.blockSize = 512, b.outSize = 256, b.hmacStrength = 192, b.padLength = 64, b.prototype._update = function(e, t) { for (var r = this.W, n = 0; n < 16; n++) r[n] = e[t + n]; for (; n < r.length; n++) r[n] = u(v(r[n - 2]), r[n - 7], h(r[n - 15]), r[n - 16]); var i = this.h[0], o = this.h[1], m = this.h[2], y = this.h[3], b = this.h[4], g = this.h[5], _ = this.h[6], T = this.h[7]; for (a(this.k.length === r.length), n = 0; n < r.length; n++) { var S = c(T, d(b), l(b, g, _), this.k[n], r[n]), A = s(p(i), f(i, o, m)); T = _, _ = g, g = b, b = s(y, S), y = m, m = o, o = i, i = s(S, A) } this.h[0] = s(this.h[0], i), this.h[1] = s(this.h[1], o), this.h[2] = s(this.h[2], m), this.h[3] = s(this.h[3], y), this.h[4] = s(this.h[4], b), this.h[5] = s(this.h[5], g), this.h[6] = s(this.h[6], _), this.h[7] = s(this.h[7], T) }, b.prototype._digest = function(e) { return "hex" === e ? n.toHex32(this.h, "big") : n.split32(this.h, "big") } }, function(e, t, r) { "use strict"; var n = r(55), i = r(131), o = r(42), a = n.rotr64_hi, s = n.rotr64_lo, u = n.shr64_hi, c = n.shr64_lo, l = n.sum64, f = n.sum64_hi, p = n.sum64_lo, d = n.sum64_4_hi, h = n.sum64_4_lo, v = n.sum64_5_hi, m = n.sum64_5_lo, y = i.BlockHash, b = [1116352408, 3609767458, 1899447441, 602891725, 3049323471, 3964484399, 3921009573, 2173295548, 961987163, 4081628472, 1508970993, 3053834265, 2453635748, 2937671579, 2870763221, 3664609560, 3624381080, 2734883394, 310598401, 1164996542, 607225278, 1323610764, 1426881987, 3590304994, 1925078388, 4068182383, 2162078206, 991336113, 2614888103, 633803317, 3248222580, 3479774868, 3835390401, 2666613458, 4022224774, 944711139, 264347078, 2341262773, 604807628, 2007800933, 770255983, 1495990901, 1249150122, 1856431235, 1555081692, 3175218132, 1996064986, 2198950837, 2554220882, 3999719339, 2821834349, 766784016, 2952996808, 2566594879, 3210313671, 3203337956, 3336571891, 1034457026, 3584528711, 2466948901, 113926993, 3758326383, 338241895, 168717936, 666307205, 1188179964, 773529912, 1546045734, 1294757372, 1522805485, 1396182291, 2643833823, 1695183700, 2343527390, 1986661051, 1014477480, 2177026350, 1206759142, 2456956037, 344077627, 2730485921, 1290863460, 2820302411, 3158454273, 3259730800, 3505952657, 3345764771, 106217008, 3516065817, 3606008344, 3600352804, 1432725776, 4094571909, 1467031594, 275423344, 851169720, 430227734, 3100823752, 506948616, 1363258195, 659060556, 3750685593, 883997877, 3785050280, 958139571, 3318307427, 1322822218, 3812723403, 1537002063, 2003034995, 1747873779, 3602036899, 1955562222, 1575990012, 2024104815, 1125592928, 2227730452, 2716904306, 2361852424, 442776044, 2428436474, 593698344, 2756734187, 3733110249, 3204031479, 2999351573, 3329325298, 3815920427, 3391569614, 3928383900, 3515267271, 566280711, 3940187606, 3454069534, 4118630271, 4000239992, 116418474, 1914138554, 174292421, 2731055270, 289380356, 3203993006, 460393269, 320620315, 685471733, 587496836, 852142971, 1086792851, 1017036298, 365543100, 1126000580, 2618297676, 1288033470, 3409855158, 1501505948, 4234509866, 1607167915, 987167468, 1816402316, 1246189591]; function g() { if (!(this instanceof g)) return new g; y.call(this), this.h = [1779033703, 4089235720, 3144134277, 2227873595, 1013904242, 4271175723, 2773480762, 1595750129, 1359893119, 2917565137, 2600822924, 725511199, 528734635, 4215389547, 1541459225, 327033209], this.k = b, this.W = new Array(160) } function _(e, t, r, n, i) { var o = e & r ^ ~e & i; return o < 0 && (o += 4294967296), o } function T(e, t, r, n, i, o) { var a = t & n ^ ~t & o; return a < 0 && (a += 4294967296), a } function S(e, t, r, n, i) { var o = e & r ^ e & i ^ r & i; return o < 0 && (o += 4294967296), o } function A(e, t, r, n, i, o) { var a = t & n ^ t & o ^ n & o; return a < 0 && (a += 4294967296), a } function E(e, t) { var r = a(e, t, 28) ^ a(t, e, 2) ^ a(t, e, 7); return r < 0 && (r += 4294967296), r } function C(e, t) { var r = s(e, t, 28) ^ s(t, e, 2) ^ s(t, e, 7); return r < 0 && (r += 4294967296), r } function O(e, t) { var r = a(e, t, 14) ^ a(e, t, 18) ^ a(t, e, 9); return r < 0 && (r += 4294967296), r } function w(e, t) { var r = s(e, t, 14) ^ s(e, t, 18) ^ s(t, e, 9); return r < 0 && (r += 4294967296), r } function I(e, t) { var r = a(e, t, 1) ^ a(e, t, 8) ^ u(e, t, 7); return r < 0 && (r += 4294967296), r } function P(e, t) { var r = s(e, t, 1) ^ s(e, t, 8) ^ c(e, t, 7); return r < 0 && (r += 4294967296), r } function x(e, t) { var r = a(e, t, 19) ^ a(t, e, 29) ^ u(e, t, 6); return r < 0 && (r += 4294967296), r } function N(e, t) { var r = s(e, t, 19) ^ s(t, e, 29) ^ c(e, t, 6); return r < 0 && (r += 4294967296), r } n.inherits(g, y), e.exports = g, g.blockSize = 1024, g.outSize = 512, g.hmacStrength = 192, g.padLength = 128, g.prototype._prepareBlock = function(e, t) { for (var r = this.W, n = 0; n < 32; n++) r[n] = e[t + n]; for (; n < r.length; n += 2) { var i = x(r[n - 4], r[n - 3]), o = N(r[n - 4], r[n - 3]), a = r[n - 14], s = r[n - 13], u = I(r[n - 30], r[n - 29]), c = P(r[n - 30], r[n - 29]), l = r[n - 32], f = r[n - 31]; r[n] = d(i, o, a, s, u, c, l, f), r[n + 1] = h(i, o, a, s, u, c, l, f) } }, g.prototype._update = function(e, t) { this._prepareBlock(e, t); var r = this.W, n = this.h[0], i = this.h[1], a = this.h[2], s = this.h[3], u = this.h[4], c = this.h[5], d = this.h[6], h = this.h[7], y = this.h[8], b = this.h[9], g = this.h[10], I = this.h[11], P = this.h[12], x = this.h[13], N = this.h[14], k = this.h[15]; o(this.k.length === r.length); for (var R = 0; R < r.length; R += 2) { var L = N, M = k, j = O(y, b), D = w(y, b), U = _(y, b, g, I, P), B = T(y, b, g, I, P, x), F = this.k[R], z = this.k[R + 1], V = r[R], G = r[R + 1], q = v(L, M, j, D, U, B, F, z, V, G), H = m(L, M, j, D, U, B, F, z, V, G); L = E(n, i), M = C(n, i), j = S(n, i, a, s, u), D = A(n, i, a, s, u, c); var W = f(L, M, j, D), Y = p(L, M, j, D); N = P, k = x, P = g, x = I, g = y, I = b, y = f(d, h, q, H), b = p(h, h, q, H), d = u, h = c, u = a, c = s, a = n, s = i, n = f(q, H, W, Y), i = p(q, H, W, Y) } l(this.h, 0, n, i), l(this.h, 2, a, s), l(this.h, 4, u, c), l(this.h, 6, d, h), l(this.h, 8, y, b), l(this.h, 10, g, I), l(this.h, 12, P, x), l(this.h, 14, N, k) }, g.prototype._digest = function(e) { return "hex" === e ? n.toHex32(this.h, "big") : n.split32(this.h, "big") } }, function(e, t, r) { var n = r(2), i = r(133).Reporter, o = r(8).Buffer; function a(e, t) { i.call(this, t), o.isBuffer(e) ? (this.base = e, this.offset = 0, this.length = e.length) : this.error("Input not Buffer") } function s(e, t) { if (Array.isArray(e)) this.length = 0, this.value = e.map((function(e) { return e instanceof s || (e = new s(e, t)), this.length += e.length, e }), this); else if ("number" == typeof e) { if (!(0 <= e && e <= 255)) return t.error("non-byte EncoderBuffer value"); this.value = e, this.length = 1 } else if ("string" == typeof e) this.value = e, this.length = o.byteLength(e); else { if (!o.isBuffer(e)) return t.error("Unsupported type: " + typeof e); this.value = e, this.length = e.length } } n(a, i), t.DecoderBuffer = a, a.prototype.save = function() { return { offset: this.offset, reporter: i.prototype.save.call(this) } }, a.prototype.restore = function(e) { var t = new a(this.base); return t.offset = e.offset, t.length = this.offset, this.offset = e.offset, i.prototype.restore.call(this, e.reporter), t }, a.prototype.isEmpty = function() { return this.offset === this.length }, a.prototype.readUInt8 = function(e) { return this.offset + 1 <= this.length ? this.base.readUInt8(this.offset++, !0) : this.error(e || "DecoderBuffer overrun") }, a.prototype.skip = function(e, t) { if (!(this.offset + e <= this.length)) return this.error(t || "DecoderBuffer overrun"); var r = new a(this.base); return r._reporterState = this._reporterState, r.offset = this.offset, r.length = this.offset + e, this.offset += e, r }, a.prototype.raw = function(e) { return this.base.slice(e ? e.offset : this.offset, this.length) }, t.EncoderBuffer = s, s.prototype.join = function(e, t) { return e || (e = new o(this.length)), t || (t = 0), 0 === this.length || (Array.isArray(this.value) ? this.value.forEach((function(r) { r.join(e, t), t += r.length })) : ("number" == typeof this.value ? e[t] = this.value : "string" == typeof this.value ? e.write(this.value, t) : o.isBuffer(this.value) && this.value.copy(e, t), t += this.length)), e } }, function(e, t, r) { var n = t; n._reverse = function(e) { var t = {}; return Object.keys(e).forEach((function(r) { (0 | r) == r && (r |= 0); var n = e[r]; t[n] = r })), t }, n.der = r(989) }, function(e, t, r) { var n = r(2), i = r(132), o = i.base, a = i.bignum, s = i.constants.der; function u(e) { this.enc = "der", this.name = e.name, this.entity = e, this.tree = new c, this.tree._init(e.body) } function c(e) { o.Node.call(this, "der", e) } function l(e, t) { var r = e.readUInt8(t); if (e.isError(r)) return r; var n = s.tagClass[r >> 6], i = 0 == (32 & r); if (31 == (31 & r)) { var o = r; for (r = 0; 128 == (128 & o);) { if (o = e.readUInt8(t), e.isError(o)) return o; r <<= 7, r |= 127 & o } } else r &= 31; return { cls: n, primitive: i, tag: r, tagStr: s.tag[r] } } function f(e, t, r) { var n = e.readUInt8(r); if (e.isError(n)) return n; if (!t && 128 === n) return null; if (0 == (128 & n)) return n; var i = 127 & n; if (i > 4) return e.error("length octect is too long"); n = 0; for (var o = 0; o < i; o++) { n <<= 8; var a = e.readUInt8(r); if (e.isError(a)) return a; n |= a } return n } e.exports = u, u.prototype.decode = function(e, t) { return e instanceof o.DecoderBuffer || (e = new o.DecoderBuffer(e, t)), this.tree._decode(e, t) }, n(c, o.Node), c.prototype._peekTag = function(e, t, r) { if (e.isEmpty()) return !1; var n = e.save(), i = l(e, 'Failed to peek tag: "' + t + '"'); return e.isError(i) ? i : (e.restore(n), i.tag === t || i.tagStr === t || i.tagStr + "of" === t || r) }, c.prototype._decodeTag = function(e, t, r) { var n = l(e, 'Failed to decode tag of "' + t + '"'); if (e.isError(n)) return n; var i = f(e, n.primitive, 'Failed to get length of "' + t + '"'); if (e.isError(i)) return i; if (!r && n.tag !== t && n.tagStr !== t && n.tagStr + "of" !== t) return e.error('Failed to match tag: "' + t + '"'); if (n.primitive || null !== i) return e.skip(i, 'Failed to match body of: "' + t + '"'); var o = e.save(), a = this._skipUntilEnd(e, 'Failed to skip indefinite length body: "' + this.tag + '"'); return e.isError(a) ? a : (i = e.offset - o.offset, e.restore(o), e.skip(i, 'Failed to match body of: "' + t + '"')) }, c.prototype._skipUntilEnd = function(e, t) { for (;;) { var r = l(e, t); if (e.isError(r)) return r; var n, i = f(e, r.primitive, t); if (e.isError(i)) return i; if (n = r.primitive || null !== i ? e.skip(i) : this._skipUntilEnd(e, t), e.isError(n)) return n; if ("end" === r.tagStr) break } }, c.prototype._decodeList = function(e, t, r, n) { for (var i = []; !e.isEmpty();) { var o = this._peekTag(e, "end"); if (e.isError(o)) return o; var a = r.decode(e, "der", n); if (e.isError(a) && o) break; i.push(a) } return i }, c.prototype._decodeStr = function(e, t) { if ("bitstr" === t) { var r = e.readUInt8(); return e.isError(r) ? r : { unused: r, data: e.raw() } } if ("bmpstr" === t) { var n = e.raw(); if (n.length % 2 == 1) return e.error("Decoding of string type: bmpstr length mismatch"); for (var i = "", o = 0; o < n.length / 2; o++) i += String.fromCharCode(n.readUInt16BE(2 * o)); return i } if ("numstr" === t) { var a = e.raw().toString("ascii"); return this._isNumstr(a) ? a : e.error("Decoding of string type: numstr unsupported characters") } if ("octstr" === t) return e.raw(); if ("objDesc" === t) return e.raw(); if ("printstr" === t) { var s = e.raw().toString("ascii"); return this._isPrintstr(s) ? s : e.error("Decoding of string type: printstr unsupported characters") } return /str$/.test(t) ? e.raw().toString() : e.error("Decoding of string type: " + t + " unsupported") }, c.prototype._decodeObjid = function(e, t, r) { for (var n, i = [], o = 0; !e.isEmpty();) { var a = e.readUInt8(); o <<= 7, o |= 127 & a, 0 == (128 & a) && (i.push(o), o = 0) } 128 & a && i.push(o); var s = i[0] / 40 | 0, u = i[0] % 40; if (n = r ? i : [s, u].concat(i.slice(1)), t) { var c = t[n.join(" ")]; void 0 === c && (c = t[n.join(".")]), void 0 !== c && (n = c) } return n }, c.prototype._decodeTime = function(e, t) { var r = e.raw().toString(); if ("gentime" === t) var n = 0 | r.slice(0, 4), i = 0 | r.slice(4, 6), o = 0 | r.slice(6, 8), a = 0 | r.slice(8, 10), s = 0 | r.slice(10, 12), u = 0 | r.slice(12, 14); else { if ("utctime" !== t) return e.error("Decoding " + t + " time is not supported yet"); n = 0 | r.slice(0, 2), i = 0 | r.slice(2, 4), o = 0 | r.slice(4, 6), a = 0 | r.slice(6, 8), s = 0 | r.slice(8, 10), u = 0 | r.slice(10, 12); n = n < 70 ? 2e3 + n : 1900 + n } return Date.UTC(n, i - 1, o, a, s, u, 0) }, c.prototype._decodeNull = function(e) { return null }, c.prototype._decodeBool = function(e) { var t = e.readUInt8(); return e.isError(t) ? t : 0 !== t }, c.prototype._decodeInt = function(e, t) { var r = e.raw(), n = new a(r); return t && (n = t[n.toString(10)] || n), n }, c.prototype._use = function(e, t) { return "function" == typeof e && (e = e(t)), e._getDecoder("der").tree } }, function(e, t, r) { var n = r(2), i = r(8).Buffer, o = r(132), a = o.base, s = o.constants.der; function u(e) { this.enc = "der", this.name = e.name, this.entity = e, this.tree = new c, this.tree._init(e.body) } function c(e) { a.Node.call(this, "der", e) } function l(e) { return e < 10 ? "0" + e : e } e.exports = u, u.prototype.encode = function(e, t) { return this.tree._encode(e, t).join() }, n(c, a.Node), c.prototype._encodeComposite = function(e, t, r, n) { var o, a = function(e, t, r, n) { var i; "seqof" === e ? e = "seq" : "setof" === e && (e = "set"); if (s.tagByName.hasOwnProperty(e)) i = s.tagByName[e]; else { if ("number" != typeof e || (0 | e) !== e) return n.error("Unknown tag: " + e); i = e } if (i >= 31) return n.error("Multi-octet tag encoding unsupported"); t || (i |= 32); return i |= s.tagClassByName[r || "universal"] << 6 }(e, t, r, this.reporter); if (n.length < 128) return (o = new i(2))[0] = a, o[1] = n.length, this._createEncoderBuffer([o, n]); for (var u = 1, c = n.length; c >= 256; c >>= 8) u++; (o = new i(2 + u))[0] = a, o[1] = 128 | u; c = 1 + u; for (var l = n.length; l > 0; c--, l >>= 8) o[c] = 255 & l; return this._createEncoderBuffer([o, n]) }, c.prototype._encodeStr = function(e, t) { if ("bitstr" === t) return this._createEncoderBuffer([0 | e.unused, e.data]); if ("bmpstr" === t) { for (var r = new i(2 * e.length), n = 0; n < e.length; n++) r.writeUInt16BE(e.charCodeAt(n), 2 * n); return this._createEncoderBuffer(r) } return "numstr" === t ? this._isNumstr(e) ? this._createEncoderBuffer(e) : this.reporter.error("Encoding of string type: numstr supports only digits and space") : "printstr" === t ? this._isPrintstr(e) ? this._createEncoderBuffer(e) : this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark") : /str$/.test(t) || "objDesc" === t ? this._createEncoderBuffer(e) : this.reporter.error("Encoding of string type: " + t + " unsupported") }, c.prototype._encodeObjid = function(e, t, r) { if ("string" == typeof e) { if (!t) return this.reporter.error("string objid given, but no values map found"); if (!t.hasOwnProperty(e)) return this.reporter.error("objid not found in values map"); e = t[e].split(/[\s\.]+/g); for (var n = 0; n < e.length; n++) e[n] |= 0 } else if (Array.isArray(e)) { e = e.slice(); for (n = 0; n < e.length; n++) e[n] |= 0 } if (!Array.isArray(e)) return this.reporter.error("objid() should be either array or string, got: " + JSON.stringify(e)); if (!r) { if (e[1] >= 40) return this.reporter.error("Second objid identifier OOB"); e.splice(0, 2, 40 * e[0] + e[1]) } var o = 0; for (n = 0; n < e.length; n++) { var a = e[n]; for (o++; a >= 128; a >>= 7) o++ } var s = new i(o), u = s.length - 1; for (n = e.length - 1; n >= 0; n--) { a = e[n]; for (s[u--] = 127 & a; (a >>= 7) > 0;) s[u--] = 128 | 127 & a } return this._createEncoderBuffer(s) }, c.prototype._encodeTime = function(e, t) { var r, n = new Date(e); return "gentime" === t ? r = [l(n.getFullYear()), l(n.getUTCMonth() + 1), l(n.getUTCDate()), l(n.getUTCHours()), l(n.getUTCMinutes()), l(n.getUTCSeconds()), "Z"].join("") : "utctime" === t ? r = [l(n.getFullYear() % 100), l(n.getUTCMonth() + 1), l(n.getUTCDate()), l(n.getUTCHours()), l(n.getUTCMinutes()), l(n.getUTCSeconds()), "Z"].join("") : this.reporter.error("Encoding " + t + " time is not supported yet"), this._encodeStr(r, "octstr") }, c.prototype._encodeNull = function() { return this._createEncoderBuffer("") }, c.prototype._encodeInt = function(e, t) { if ("string" == typeof e) { if (!t) return this.reporter.error("String int or enum given, but no values map"); if (!t.hasOwnProperty(e)) return this.reporter.error("Values map doesn't contain: " + JSON.stringify(e)); e = t[e] } if ("number" != typeof e && !i.isBuffer(e)) { var r = e.toArray(); !e.sign && 128 & r[0] && r.unshift(0), e = new i(r) } if (i.isBuffer(e)) { var n = e.length; 0 === e.length && n++; var o = new i(n); return e.copy(o), 0 === e.length && (o[0] = 0), this._createEncoderBuffer(o) } if (e < 128) return this._createEncoderBuffer(e); if (e < 256) return this._createEncoderBuffer([0, e]); n = 1; for (var a = e; a >= 256; a >>= 8) n++; for (a = (o = new Array(n)).length - 1; a >= 0; a--) o[a] = 255 & e, e >>= 8; return 128 & o[0] && o.unshift(0), this._createEncoderBuffer(new i(o)) }, c.prototype._encodeBool = function(e) { return this._createEncoderBuffer(e ? 255 : 0) }, c.prototype._use = function(e, t) { return "function" == typeof e && (e = e(t)), e._getEncoder("der").tree }, c.prototype._skipDefault = function(e, t, r) { var n, i = this._baseState; if (null === i.default) return !1; var o = e.join(); if (void 0 === i.defaultBuffer && (i.defaultBuffer = this._encodeValue(i.default, t, r).join()), o.length !== i.defaultBuffer.length) return !1; for (n = 0; n < o.length; n++) if (o[n] !== i.defaultBuffer[n]) return !1; return !0 } }, function(e) { e.exports = JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}') }, function(e, t, r) { var n = r(129), i = r(10).Buffer; function o(e) { var t = i.allocUnsafe(4); return t.writeUInt32BE(e, 0), t } e.exports = function(e, t) { for (var r, a = i.alloc(0), s = 0; a.length < t;) r = o(s++), a = i.concat([a, n("sha1").update(e).update(r).digest()]); return a.slice(0, t) } }, function(e, t) { e.exports = function(e, t) { for (var r = e.length, n = -1; ++n < r;) e[n] ^= t[n]; return e } }, function(e, t, r) { var n = r(22), i = r(10).Buffer; e.exports = function(e, t) { return i.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray()) } }, function(e, t, r) { (function(e) { var n = r(1003), i = r(476), o = r(674), a = r(1009), s = r(675), u = t; u.request = function(t, r) { t = "string" == typeof t ? s.parse(t) : o(t); var i = -1 === e.location.protocol.search(/^https?:$/) ? "http:" : "", a = t.protocol || i, u = t.hostname || t.host, c = t.port, l = t.path || "/"; u && -1 !== u.indexOf(":") && (u = "[" + u + "]"), t.url = (u ? a + "//" + u : "") + (c ? ":" + c : "") + l, t.method = (t.method || "GET").toUpperCase(), t.headers = t.headers || {}; var f = new n(t); return r && f.on("response", r), f }, u.get = function(e, t) { var r = u.request(e, t); return r.end(), r }, u.ClientRequest = n, u.IncomingMessage = i.IncomingMessage, u.Agent = function() {}, u.Agent.defaultMaxSockets = 4, u.globalAgent = new u.Agent, u.STATUS_CODES = a, u.METHODS = ["CHECKOUT", "CONNECT", "COPY", "DELETE", "GET", "HEAD", "LOCK", "M-SEARCH", "MERGE", "MKACTIVITY", "MKCOL", "MOVE", "NOTIFY", "OPTIONS", "PATCH", "POST", "PROPFIND", "PROPPATCH", "PURGE", "PUT", "REPORT", "SEARCH", "SUBSCRIBE", "TRACE", "UNLOCK", "UNSUBSCRIBE"] }).call(this, r(14)) }, function(e, t, r) { (function(e) { t.fetch = s(e.fetch) && s(e.ReadableStream), t.writableStream = s(e.WritableStream), t.abortController = s(e.AbortController), t.blobConstructor = !1; try { new Blob([new ArrayBuffer(1)]), t.blobConstructor = !0 } catch (e) {} var r; function n() { if (void 0 !== r) return r; if (e.XMLHttpRequest) { r = new e.XMLHttpRequest; try { r.open("GET", e.XDomainRequest ? "/" : "https://example.com") } catch (e) { r = null } } else r = null; return r } function i(e) { var t = n(); if (!t) return !1; try { return t.responseType = e, t.responseType === e } catch (e) {} return !1 } var o = void 0 !== e.ArrayBuffer, a = o && s(e.ArrayBuffer.prototype.slice); function s(e) { return "function" == typeof e } t.arraybuffer = t.fetch || o && i("arraybuffer"), t.msstream = !t.fetch && a && i("ms-stream"), t.mozchunkedarraybuffer = !t.fetch && o && i("moz-chunked-arraybuffer"), t.overrideMimeType = t.fetch || !!n() && s(n().overrideMimeType), t.vbArray = s(e.VBArray), r = null }).call(this, r(14)) }, function(e, t, r) { (function(e, n, i) { var o = r(475), a = r(2), s = r(477), u = t.readyStates = { UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 }, c = t.IncomingMessage = function(t, r, a, u) { var c = this; if (s.Readable.call(c), c._mode = a, c.headers = {}, c.rawHeaders = [], c.trailers = {}, c.rawTrailers = [], c.on("end", (function() { e.nextTick((function() { c.emit("close") })) })), "fetch" === a) { if (c._fetchResponse = r, c.url = r.url, c.statusCode = r.status, c.statusMessage = r.statusText, r.headers.forEach((function(e, t) { c.headers[t.toLowerCase()] = e, c.rawHeaders.push(t, e) })), o.writableStream) { var l = new WritableStream({ write: function(e) { return new Promise((function(t, r) { c._destroyed ? r() : c.push(new n(e)) ? t() : c._resumeFetch = t })) }, close: function() { i.clearTimeout(u), c._destroyed || c.push(null) }, abort: function(e) { c._destroyed || c.emit("error", e) } }); try { return void r.body.pipeTo(l).catch((function(e) { i.clearTimeout(u), c._destroyed || c.emit("error", e) })) } catch (e) {} } var f = r.body.getReader(); ! function e() { f.read().then((function(t) { if (!c._destroyed) { if (t.done) return i.clearTimeout(u), void c.push(null); c.push(new n(t.value)), e() } })).catch((function(e) { i.clearTimeout(u), c._destroyed || c.emit("error", e) })) }() } else { if (c._xhr = t, c._pos = 0, c.url = t.responseURL, c.statusCode = t.status, c.statusMessage = t.statusText, t.getAllResponseHeaders().split(/\r?\n/).forEach((function(e) { var t = e.match(/^([^:]+):\s*(.*)/); if (t) { var r = t[1].toLowerCase(); "set-cookie" === r ? (void 0 === c.headers[r] && (c.headers[r] = []), c.headers[r].push(t[2])) : void 0 !== c.headers[r] ? c.headers[r] += ", " + t[2] : c.headers[r] = t[2], c.rawHeaders.push(t[1], t[2]) } })), c._charset = "x-user-defined", !o.overrideMimeType) { var p = c.rawHeaders["mime-type"]; if (p) { var d = p.match(/;\s*charset=([^;])(;|$)/); d && (c._charset = d[1].toLowerCase()) } c._charset || (c._charset = "utf-8") } } }; a(c, s.Readable), c.prototype._read = function() { var e = this._resumeFetch; e && (this._resumeFetch = null, e()) }, c.prototype._onXHRProgress = function() { var e = this, t = e._xhr, r = null; switch (e._mode) { case "text:vbarray": if (t.readyState !== u.DONE) break; try { r = new i.VBArray(t.responseBody).toArray() } catch (e) {} if (null !== r) { e.push(new n(r)); break } case "text": try { r = t.responseText } catch (t) { e._mode = "text:vbarray"; break } if (r.length > e._pos) { var o = r.substr(e._pos); if ("x-user-defined" === e._charset) { for (var a = new n(o.length), s = 0; s < o.length; s++) a[s] = 255 & o.charCodeAt(s); e.push(a) } else e.push(o, e._charset); e._pos = r.length } break; case "arraybuffer": if (t.readyState !== u.DONE || !t.response) break; r = t.response, e.push(new n(new Uint8Array(r))); break; case "moz-chunked-arraybuffer": if (r = t.response, t.readyState !== u.LOADING || !r) break; e.push(new n(new Uint8Array(r))); break; case "ms-stream": if (r = t.response, t.readyState !== u.LOADING) break; var c = new i.MSStreamReader; c.onprogress = function() { c.result.byteLength > e._pos && (e.push(new n(new Uint8Array(c.result.slice(e._pos)))), e._pos = c.result.byteLength) }, c.onload = function() { e.push(null) }, c.readAsArrayBuffer(r) } e._xhr.readyState === u.DONE && "ms-stream" !== e._mode && e.push(null) } }).call(this, r(26), r(8).Buffer, r(14)) }, function(e, t, r) { (t = e.exports = r(478)).Stream = t, t.Readable = t, t.Writable = r(481), t.Duplex = r(103), t.Transform = r(482), t.PassThrough = r(1007) }, function(e, t, r) { "use strict"; (function(t, n) { var i = r(72); e.exports = g; var o, a = r(251); g.ReadableState = b; r(108).EventEmitter; var s = function(e, t) { return e.listeners(t).length }, u = r(479), c = r(275).Buffer, l = t.Uint8Array || function() {}; var f = Object.create(r(54)); f.inherits = r(2); var p = r(1004), d = void 0; d = p && p.debuglog ? p.debuglog("stream") : function() {}; var h, v = r(1005), m = r(480); f.inherits(g, u); var y = ["error", "close", "destroy", "pause", "resume"]; function b(e, t) { e = e || {}; var n = t instanceof(o = o || r(103)); this.objectMode = !!e.objectMode, n && (this.objectMode = this.objectMode || !!e.readableObjectMode); var i = e.highWaterMark, a = e.readableHighWaterMark, s = this.objectMode ? 16 : 16384; this.highWaterMark = i || 0 === i ? i : n && (a || 0 === a) ? a : s, this.highWaterMark = Math.floor(this.highWaterMark), this.buffer = new v, this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.destroyed = !1, this.defaultEncoding = e.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, e.encoding && (h || (h = r(109).StringDecoder), this.decoder = new h(e.encoding), this.encoding = e.encoding) } function g(e) { if (o = o || r(103), !(this instanceof g)) return new g(e); this._readableState = new b(e, this), this.readable = !0, e && ("function" == typeof e.read && (this._read = e.read), "function" == typeof e.destroy && (this._destroy = e.destroy)), u.call(this) } function _(e, t, r, n, i) { var o, a = e._readableState; null === t ? (a.reading = !1, function(e, t) { if (t.ended) return; if (t.decoder) { var r = t.decoder.end(); r && r.length && (t.buffer.push(r), t.length += t.objectMode ? 1 : r.length) } t.ended = !0, A(e) }(e, a)) : (i || (o = function(e, t) { var r; n = t, c.isBuffer(n) || n instanceof l || "string" == typeof t || void 0 === t || e.objectMode || (r = new TypeError("Invalid non-string/buffer chunk")); var n; return r }(a, t)), o ? e.emit("error", o) : a.objectMode || t && t.length > 0 ? ("string" == typeof t || a.objectMode || Object.getPrototypeOf(t) === c.prototype || (t = function(e) { return c.from(e) }(t)), n ? a.endEmitted ? e.emit("error", new Error("stream.unshift() after end event")) : T(e, a, t, !0) : a.ended ? e.emit("error", new Error("stream.push() after EOF")) : (a.reading = !1, a.decoder && !r ? (t = a.decoder.write(t), a.objectMode || 0 !== t.length ? T(e, a, t, !1) : C(e, a)) : T(e, a, t, !1))) : n || (a.reading = !1)); return function(e) { return !e.ended && (e.needReadable || e.length < e.highWaterMark || 0 === e.length) }(a) } function T(e, t, r, n) { t.flowing && 0 === t.length && !t.sync ? (e.emit("data", r), e.read(0)) : (t.length += t.objectMode ? 1 : r.length, n ? t.buffer.unshift(r) : t.buffer.push(r), t.needReadable && A(e)), C(e, t) } Object.defineProperty(g.prototype, "destroyed", { get: function() { return void 0 !== this._readableState && this._readableState.destroyed }, set: function(e) { this._readableState && (this._readableState.destroyed = e) } }), g.prototype.destroy = m.destroy, g.prototype._undestroy = m.undestroy, g.prototype._destroy = function(e, t) { this.push(null), t(e) }, g.prototype.push = function(e, t) { var r, n = this._readableState; return n.objectMode ? r = !0 : "string" == typeof e && ((t = t || n.defaultEncoding) !== n.encoding && (e = c.from(e, t), t = ""), r = !0), _(this, e, t, !1, r) }, g.prototype.unshift = function(e) { return _(this, e, null, !0, !1) }, g.prototype.isPaused = function() { return !1 === this._readableState.flowing }, g.prototype.setEncoding = function(e) { return h || (h = r(109).StringDecoder), this._readableState.decoder = new h(e), this._readableState.encoding = e, this }; function S(e, t) { return e <= 0 || 0 === t.length && t.ended ? 0 : t.objectMode ? 1 : e != e ? t.flowing && t.length ? t.buffer.head.data.length : t.length : (e > t.highWaterMark && (t.highWaterMark = function(e) { return e >= 8388608 ? e = 8388608 : (e--, e |= e >>> 1, e |= e >>> 2, e |= e >>> 4, e |= e >>> 8, e |= e >>> 16, e++), e }(e)), e <= t.length ? e : t.ended ? t.length : (t.needReadable = !0, 0)) } function A(e) { var t = e._readableState; t.needReadable = !1, t.emittedReadable || (d("emitReadable", t.flowing), t.emittedReadable = !0, t.sync ? i.nextTick(E, e) : E(e)) } function E(e) { d("emit readable"), e.emit("readable"), P(e) } function C(e, t) { t.readingMore || (t.readingMore = !0, i.nextTick(O, e, t)) } function O(e, t) { for (var r = t.length; !t.reading && !t.flowing && !t.ended && t.length < t.highWaterMark && (d("maybeReadMore read 0"), e.read(0), r !== t.length);) r = t.length; t.readingMore = !1 } function w(e) { d("readable nexttick read 0"), e.read(0) } function I(e, t) { t.reading || (d("resume read 0"), e.read(0)), t.resumeScheduled = !1, t.awaitDrain = 0, e.emit("resume"), P(e), t.flowing && !t.reading && e.read(0) } function P(e) { var t = e._readableState; for (d("flow", t.flowing); t.flowing && null !== e.read();); } function x(e, t) { return 0 === t.length ? null : (t.objectMode ? r = t.buffer.shift() : !e || e >= t.length ? (r = t.decoder ? t.buffer.join("") : 1 === t.buffer.length ? t.buffer.head.data : t.buffer.concat(t.length), t.buffer.clear()) : r = function(e, t, r) { var n; e < t.head.data.length ? (n = t.head.data.slice(0, e), t.head.data = t.head.data.slice(e)) : n = e === t.head.data.length ? t.shift() : r ? function(e, t) { var r = t.head, n = 1, i = r.data; e -= i.length; for (; r = r.next;) { var o = r.data, a = e > o.length ? o.length : e; if (a === o.length ? i += o : i += o.slice(0, e), 0 === (e -= a)) { a === o.length ? (++n, r.next ? t.head = r.next : t.head = t.tail = null) : (t.head = r, r.data = o.slice(a)); break }++n } return t.length -= n, i }(e, t) : function(e, t) { var r = c.allocUnsafe(e), n = t.head, i = 1; n.data.copy(r), e -= n.data.length; for (; n = n.next;) { var o = n.data, a = e > o.length ? o.length : e; if (o.copy(r, r.length - e, 0, a), 0 === (e -= a)) { a === o.length ? (++i, n.next ? t.head = n.next : t.head = t.tail = null) : (t.head = n, n.data = o.slice(a)); break }++i } return t.length -= i, r }(e, t); return n }(e, t.buffer, t.decoder), r); var r } function N(e) { var t = e._readableState; if (t.length > 0) throw new Error('"endReadable()" called on non-empty stream'); t.endEmitted || (t.ended = !0, i.nextTick(k, t, e)) } function k(e, t) { e.endEmitted || 0 !== e.length || (e.endEmitted = !0, t.readable = !1, t.emit("end")) } function R(e, t) { for (var r = 0, n = e.length; r < n; r++) if (e[r] === t) return r; return -1 } g.prototype.read = function(e) { d("read", e), e = parseInt(e, 10); var t = this._readableState, r = e; if (0 !== e && (t.emittedReadable = !1), 0 === e && t.needReadable && (t.length >= t.highWaterMark || t.ended)) return d("read: emitReadable", t.length, t.ended), 0 === t.length && t.ended ? N(this) : A(this), null; if (0 === (e = S(e, t)) && t.ended) return 0 === t.length && N(this), null; var n, i = t.needReadable; return d("need readable", i), (0 === t.length || t.length - e < t.highWaterMark) && d("length less than watermark", i = !0), t.ended || t.reading ? d("reading or ended", i = !1) : i && (d("do read"), t.reading = !0, t.sync = !0, 0 === t.length && (t.needReadable = !0), this._read(t.highWaterMark), t.sync = !1, t.reading || (e = S(r, t))), null === (n = e > 0 ? x(e, t) : null) ? (t.needReadable = !0, e = 0) : t.length -= e, 0 === t.length && (t.ended || (t.needReadable = !0), r !== e && t.ended && N(this)), null !== n && this.emit("data", n), n }, g.prototype._read = function(e) { this.emit("error", new Error("_read() is not implemented")) }, g.prototype.pipe = function(e, t) { var r = this, o = this._readableState; switch (o.pipesCount) { case 0: o.pipes = e; break; case 1: o.pipes = [o.pipes, e]; break; default: o.pipes.push(e) } o.pipesCount += 1, d("pipe count=%d opts=%j", o.pipesCount, t); var u = (!t || !1 !== t.end) && e !== n.stdout && e !== n.stderr ? l : g; function c(t, n) { d("onunpipe"), t === r && n && !1 === n.hasUnpiped && (n.hasUnpiped = !0, d("cleanup"), e.removeListener("close", y), e.removeListener("finish", b), e.removeListener("drain", f), e.removeListener("error", m), e.removeListener("unpipe", c), r.removeListener("end", l), r.removeListener("end", g), r.removeListener("data", v), p = !0, !o.awaitDrain || e._writableState && !e._writableState.needDrain || f()) } function l() { d("onend"), e.end() } o.endEmitted ? i.nextTick(u) : r.once("end", u), e.on("unpipe", c); var f = function(e) { return function() { var t = e._readableState; d("pipeOnDrain", t.awaitDrain), t.awaitDrain && t.awaitDrain--, 0 === t.awaitDrain && s(e, "data") && (t.flowing = !0, P(e)) } }(r); e.on("drain", f); var p = !1; var h = !1; function v(t) { d("ondata"), h = !1, !1 !== e.write(t) || h || ((1 === o.pipesCount && o.pipes === e || o.pipesCount > 1 && -1 !== R(o.pipes, e)) && !p && (d("false write response, pause", r._readableState.awaitDrain), r._readableState.awaitDrain++, h = !0), r.pause()) } function m(t) { d("onerror", t), g(), e.removeListener("error", m), 0 === s(e, "error") && e.emit("error", t) } function y() { e.removeListener("finish", b), g() } function b() { d("onfinish"), e.removeListener("close", y), g() } function g() { d("unpipe"), r.unpipe(e) } return r.on("data", v), function(e, t, r) { if ("function" == typeof e.prependListener) return e.prependListener(t, r); e._events && e._events[t] ? a(e._events[t]) ? e._events[t].unshift(r) : e._events[t] = [r, e._events[t]] : e.on(t, r) }(e, "error", m), e.once("close", y), e.once("finish", b), e.emit("pipe", r), o.flowing || (d("pipe resume"), r.resume()), e }, g.prototype.unpipe = function(e) { var t = this._readableState, r = { hasUnpiped: !1 }; if (0 === t.pipesCount) return this; if (1 === t.pipesCount) return e && e !== t.pipes || (e || (e = t.pipes), t.pipes = null, t.pipesCount = 0, t.flowing = !1, e && e.emit("unpipe", this, r)), this; if (!e) { var n = t.pipes, i = t.pipesCount; t.pipes = null, t.pipesCount = 0, t.flowing = !1; for (var o = 0; o < i; o++) n[o].emit("unpipe", this, r); return this } var a = R(t.pipes, e); return -1 === a || (t.pipes.splice(a, 1), t.pipesCount -= 1, 1 === t.pipesCount && (t.pipes = t.pipes[0]), e.emit("unpipe", this, r)), this }, g.prototype.on = function(e, t) { var r = u.prototype.on.call(this, e, t); if ("data" === e) !1 !== this._readableState.flowing && this.resume(); else if ("readable" === e) { var n = this._readableState; n.endEmitted || n.readableListening || (n.readableListening = n.needReadable = !0, n.emittedReadable = !1, n.reading ? n.length && A(this) : i.nextTick(w, this)) } return r }, g.prototype.addListener = g.prototype.on, g.prototype.resume = function() { var e = this._readableState; return e.flowing || (d("resume"), e.flowing = !0, function(e, t) { t.resumeScheduled || (t.resumeScheduled = !0, i.nextTick(I, e, t)) }(this, e)), this }, g.prototype.pause = function() { return d("call pause flowing=%j", this._readableState.flowing), !1 !== this._readableState.flowing && (d("pause"), this._readableState.flowing = !1, this.emit("pause")), this }, g.prototype.wrap = function(e) { var t = this, r = this._readableState, n = !1; for (var i in e.on("end", (function() { if (d("wrapped end"), r.decoder && !r.ended) { var e = r.decoder.end(); e && e.length && t.push(e) } t.push(null) })), e.on("data", (function(i) { (d("wrapped data"), r.decoder && (i = r.decoder.write(i)), r.objectMode && null == i) || (r.objectMode || i && i.length) && (t.push(i) || (n = !0, e.pause())) })), e) void 0 === this[i] && "function" == typeof e[i] && (this[i] = function(t) { return function() { return e[t].apply(e, arguments) } }(i)); for (var o = 0; o < y.length; o++) e.on(y[o], this.emit.bind(this, y[o])); return this._read = function(t) { d("wrapped _read", t), n && (n = !1, e.resume()) }, this }, Object.defineProperty(g.prototype, "readableHighWaterMark", { enumerable: !1, get: function() { return this._readableState.highWaterMark } }), g._fromList = x }).call(this, r(14), r(26)) }, function(e, t, r) { e.exports = r(108).EventEmitter }, function(e, t, r) { "use strict"; var n = r(72); function i(e, t) { e.emit("error", t) } e.exports = { destroy: function(e, t) { var r = this, o = this._readableState && this._readableState.destroyed, a = this._writableState && this._writableState.destroyed; return o || a ? (t ? t(e) : !e || this._writableState && this._writableState.errorEmitted || n.nextTick(i, this, e), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(e || null, (function(e) { !t && e ? (n.nextTick(i, r, e), r._writableState && (r._writableState.errorEmitted = !0)) : t && t(e) })), this) }, undestroy: function() { this._readableState && (this._readableState.destroyed = !1, this._readableState.reading = !1, this._readableState.ended = !1, this._readableState.endEmitted = !1), this._writableState && (this._writableState.destroyed = !1, this._writableState.ended = !1, this._writableState.ending = !1, this._writableState.finished = !1, this._writableState.errorEmitted = !1) } } }, function(e, t, r) { "use strict"; (function(t, n, i) { var o = r(72); function a(e) { var t = this; this.next = null, this.entry = null, this.finish = function() { ! function(e, t, r) { var n = e.entry; e.entry = null; for (; n;) { var i = n.callback; t.pendingcb--, i(r), n = n.next } t.corkedRequestsFree ? t.corkedRequestsFree.next = e : t.corkedRequestsFree = e }(t, e) } } e.exports = b; var s, u = !t.browser && ["v0.10", "v0.9."].indexOf(t.version.slice(0, 5)) > -1 ? n : o.nextTick; b.WritableState = y; var c = Object.create(r(54)); c.inherits = r(2); var l = { deprecate: r(433) }, f = r(479), p = r(275).Buffer, d = i.Uint8Array || function() {}; var h, v = r(480); function m() {} function y(e, t) { s = s || r(103), e = e || {}; var n = t instanceof s; this.objectMode = !!e.objectMode, n && (this.objectMode = this.objectMode || !!e.writableObjectMode); var i = e.highWaterMark, c = e.writableHighWaterMark, l = this.objectMode ? 16 : 16384; this.highWaterMark = i || 0 === i ? i : n && (c || 0 === c) ? c : l, this.highWaterMark = Math.floor(this.highWaterMark), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1; var f = !1 === e.decodeStrings; this.decodeStrings = !f, this.defaultEncoding = e.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(e) { ! function(e, t) { var r = e._writableState, n = r.sync, i = r.writecb; if (function(e) { e.writing = !1, e.writecb = null, e.length -= e.writelen, e.writelen = 0 }(r), t) ! function(e, t, r, n, i) { --t.pendingcb, r ? (o.nextTick(i, n), o.nextTick(E, e, t), e._writableState.errorEmitted = !0, e.emit("error", n)) : (i(n), e._writableState.errorEmitted = !0, e.emit("error", n), E(e, t)) }(e, r, n, t, i); else { var a = S(r); a || r.corked || r.bufferProcessing || !r.bufferedRequest || T(e, r), n ? u(_, e, r, a, i) : _(e, r, a, i) } }(t, e) }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.bufferedRequestCount = 0, this.corkedRequestsFree = new a(this) } function b(e) { if (s = s || r(103), !(h.call(b, this) || this instanceof s)) return new b(e); this._writableState = new y(e, this), this.writable = !0, e && ("function" == typeof e.write && (this._write = e.write), "function" == typeof e.writev && (this._writev = e.writev), "function" == typeof e.destroy && (this._destroy = e.destroy), "function" == typeof e.final && (this._final = e.final)), f.call(this) } function g(e, t, r, n, i, o, a) { t.writelen = n, t.writecb = a, t.writing = !0, t.sync = !0, r ? e._writev(i, t.onwrite) : e._write(i, o, t.onwrite), t.sync = !1 } function _(e, t, r, n) { r || function(e, t) { 0 === t.length && t.needDrain && (t.needDrain = !1, e.emit("drain")) }(e, t), t.pendingcb--, n(), E(e, t) } function T(e, t) { t.bufferProcessing = !0; var r = t.bufferedRequest; if (e._writev && r && r.next) { var n = t.bufferedRequestCount, i = new Array(n), o = t.corkedRequestsFree; o.entry = r; for (var s = 0, u = !0; r;) i[s] = r, r.isBuf || (u = !1), r = r.next, s += 1; i.allBuffers = u, g(e, t, !0, t.length, i, "", o.finish), t.pendingcb++, t.lastBufferedRequest = null, o.next ? (t.corkedRequestsFree = o.next, o.next = null) : t.corkedRequestsFree = new a(t), t.bufferedRequestCount = 0 } else { for (; r;) { var c = r.chunk, l = r.encoding, f = r.callback; if (g(e, t, !1, t.objectMode ? 1 : c.length, c, l, f), r = r.next, t.bufferedRequestCount--, t.writing) break } null === r && (t.lastBufferedRequest = null) } t.bufferedRequest = r, t.bufferProcessing = !1 } function S(e) { return e.ending && 0 === e.length && null === e.bufferedRequest && !e.finished && !e.writing } function A(e, t) { e._final((function(r) { t.pendingcb--, r && e.emit("error", r), t.prefinished = !0, e.emit("prefinish"), E(e, t) })) } function E(e, t) { var r = S(t); return r && (! function(e, t) { t.prefinished || t.finalCalled || ("function" == typeof e._final ? (t.pendingcb++, t.finalCalled = !0, o.nextTick(A, e, t)) : (t.prefinished = !0, e.emit("prefinish"))) }(e, t), 0 === t.pendingcb && (t.finished = !0, e.emit("finish"))), r } c.inherits(b, f), y.prototype.getBuffer = function() { for (var e = this.bufferedRequest, t = []; e;) t.push(e), e = e.next; return t }, function() { try { Object.defineProperty(y.prototype, "buffer", { get: l.deprecate((function() { return this.getBuffer() }), "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003") }) } catch (e) {} }(), "function" == typeof Symbol && Symbol.hasInstance && "function" == typeof Function.prototype[Symbol.hasInstance] ? (h = Function.prototype[Symbol.hasInstance], Object.defineProperty(b, Symbol.hasInstance, { value: function(e) { return !!h.call(this, e) || this === b && (e && e._writableState instanceof y) } })) : h = function(e) { return e instanceof this }, b.prototype.pipe = function() { this.emit("error", new Error("Cannot pipe, not readable")) }, b.prototype.write = function(e, t, r) { var n, i = this._writableState, a = !1, s = !i.objectMode && (n = e, p.isBuffer(n) || n instanceof d); return s && !p.isBuffer(e) && (e = function(e) { return p.from(e) }(e)), "function" == typeof t && (r = t, t = null), s ? t = "buffer" : t || (t = i.defaultEncoding), "function" != typeof r && (r = m), i.ended ? function(e, t) { var r = new Error("write after end"); e.emit("error", r), o.nextTick(t, r) }(this, r) : (s || function(e, t, r, n) { var i = !0, a = !1; return null === r ? a = new TypeError("May not write null values to stream") : "string" == typeof r || void 0 === r || t.objectMode || (a = new TypeError("Invalid non-string/buffer chunk")), a && (e.emit("error", a), o.nextTick(n, a), i = !1), i }(this, i, e, r)) && (i.pendingcb++, a = function(e, t, r, n, i, o) { if (!r) { var a = function(e, t, r) { e.objectMode || !1 === e.decodeStrings || "string" != typeof t || (t = p.from(t, r)); return t }(t, n, i); n !== a && (r = !0, i = "buffer", n = a) } var s = t.objectMode ? 1 : n.length; t.length += s; var u = t.length < t.highWaterMark; u || (t.needDrain = !0); if (t.writing || t.corked) { var c = t.lastBufferedRequest; t.lastBufferedRequest = { chunk: n, encoding: i, isBuf: r, callback: o, next: null }, c ? c.next = t.lastBufferedRequest : t.bufferedRequest = t.lastBufferedRequest, t.bufferedRequestCount += 1 } else g(e, t, !1, s, n, i, o); return u }(this, i, s, e, t, r)), a }, b.prototype.cork = function() { this._writableState.corked++ }, b.prototype.uncork = function() { var e = this._writableState; e.corked && (e.corked--, e.writing || e.corked || e.finished || e.bufferProcessing || !e.bufferedRequest || T(this, e)) }, b.prototype.setDefaultEncoding = function(e) { if ("string" == typeof e && (e = e.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((e + "").toLowerCase()) > -1)) throw new TypeError("Unknown encoding: " + e); return this._writableState.defaultEncoding = e, this }, Object.defineProperty(b.prototype, "writableHighWaterMark", { enumerable: !1, get: function() { return this._writableState.highWaterMark } }), b.prototype._write = function(e, t, r) { r(new Error("_write() is not implemented")) }, b.prototype._writev = null, b.prototype.end = function(e, t, r) { var n = this._writableState; "function" == typeof e ? (r = e, e = null, t = null) : "function" == typeof t && (r = t, t = null), null != e && this.write(e, t), n.corked && (n.corked = 1, this.uncork()), n.ending || n.finished || function(e, t, r) { t.ending = !0, E(e, t), r && (t.finished ? o.nextTick(r) : e.once("finish", r)); t.ended = !0, e.writable = !1 }(this, n, r) }, Object.defineProperty(b.prototype, "destroyed", { get: function() { return void 0 !== this._writableState && this._writableState.destroyed }, set: function(e) { this._writableState && (this._writableState.destroyed = e) } }), b.prototype.destroy = v.destroy, b.prototype._undestroy = v.undestroy, b.prototype._destroy = function(e, t) { this.end(), t(e) } }).call(this, r(26), r(432).setImmediate, r(14)) }, function(e, t, r) { "use strict"; e.exports = a; var n = r(103), i = Object.create(r(54)); function o(e, t) { var r = this._transformState; r.transforming = !1; var n = r.writecb; if (!n) return this.emit("error", new Error("write callback called multiple times")); r.writechunk = null, r.writecb = null, null != t && this.push(t), n(e); var i = this._readableState; i.reading = !1, (i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) } function a(e) { if (!(this instanceof a)) return new a(e); n.call(this, e), this._transformState = { afterTransform: o.bind(this), needTransform: !1, transforming: !1, writecb: null, writechunk: null, writeencoding: null }, this._readableState.needReadable = !0, this._readableState.sync = !1, e && ("function" == typeof e.transform && (this._transform = e.transform), "function" == typeof e.flush && (this._flush = e.flush)), this.on("prefinish", s) } function s() { var e = this; "function" == typeof this._flush ? this._flush((function(t, r) { u(e, t, r) })) : u(this, null, null) } function u(e, t, r) { if (t) return e.emit("error", t); if (null != r && e.push(r), e._writableState.length) throw new Error("Calling transform done when ws.length != 0"); if (e._transformState.transforming) throw new Error("Calling transform done when still transforming"); return e.push(null) } i.inherits = r(2), i.inherits(a, n), a.prototype.push = function(e, t) { return this._transformState.needTransform = !1, n.prototype.push.call(this, e, t) }, a.prototype._transform = function(e, t, r) { throw new Error("_transform() is not implemented") }, a.prototype._write = function(e, t, r) { var n = this._transformState; if (n.writecb = r, n.writechunk = e, n.writeencoding = t, !n.transforming) { var i = this._readableState; (n.needTransform || i.needReadable || i.length < i.highWaterMark) && this._read(i.highWaterMark) } }, a.prototype._read = function(e) { var t = this._transformState; null !== t.writechunk && t.writecb && !t.transforming ? (t.transforming = !0, this._transform(t.writechunk, t.writeencoding, t.afterTransform)) : t.needTransform = !0 }, a.prototype._destroy = function(e, t) { var r = this; n.prototype._destroy.call(this, e, (function(e) { t(e), r.emit("close") })) } }, function(e, t, r) { var n = r(277); e.exports = function(e, t) { t = t || {}; var r = n.decode(e, t); if (!r) return null; var i = r.payload; if ("string" == typeof i) try { var o = JSON.parse(i); null !== o && "object" == typeof o && (i = o) } catch (e) {} return !0 === t.complete ? { header: r.header, payload: i, signature: r.signature } : i } }, function(e, t, r) { (function(t) { var n = r(134).Buffer, i = r(71); function o(e) { if (this.buffer = null, this.writable = !0, this.readable = !0, !e) return this.buffer = n.alloc(0), this; if ("function" == typeof e.pipe) return this.buffer = n.alloc(0), e.pipe(this), this; if (e.length || "object" == typeof e) return this.buffer = e, this.writable = !1, t.nextTick(function() { this.emit("end", e), this.readable = !1, this.emit("close") }.bind(this)), this; throw new TypeError("Unexpected data type (" + typeof e + ")") } r(183).inherits(o, i), o.prototype.write = function(e) { this.buffer = n.concat([this.buffer, n.from(e)]), this.emit("data", e) }, o.prototype.end = function(e) { e && this.write(e), this.emit("end", e), this.emit("close"), this.writable = !1, this.readable = !1 }, e.exports = o }).call(this, r(26)) }, function(e, t, r) { var n = r(1021), i = r(134).Buffer, o = r(263), a = r(1022), s = r(183), u = "secret must be a string or buffer", c = "key must be a string or a buffer", l = "function" == typeof o.createPublicKey; function f(e) { if (!i.isBuffer(e) && "string" != typeof e) { if (!l) throw v(c); if ("object" != typeof e) throw v(c); if ("string" != typeof e.type) throw v(c); if ("string" != typeof e.asymmetricKeyType) throw v(c); if ("function" != typeof e.export) throw v(c) } } function p(e) { if (!i.isBuffer(e) && "string" != typeof e && "object" != typeof e) throw v("key must be a string, a buffer or an object") } function d(e) { return e.replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_") } function h(e) { var t = 4 - (e = e.toString()).length % 4; if (4 !== t) for (var r = 0; r < t; ++r) e += "="; return e.replace(/\-/g, "+").replace(/_/g, "/") } function v(e) { var t = [].slice.call(arguments, 1), r = s.format.bind(s, e).apply(null, t); return new TypeError(r) } function m(e) { var t; return t = e, i.isBuffer(t) || "string" == typeof t || (e = JSON.stringify(e)), e } function y(e) { return function(t, r) { ! function(e) { if (!i.isBuffer(e)) { if ("string" == typeof e) return e; if (!l) throw v(u); if ("object" != typeof e) throw v(u); if ("secret" !== e.type) throw v(u); if ("function" != typeof e.export) throw v(u) } }(r), t = m(t); var n = o.createHmac("sha" + e, r); return d((n.update(t), n.digest("base64"))) } } function b(e) { return function(t, r, o) { var a = y(e)(t, o); return n(i.from(r), i.from(a)) } } function g(e) { return function(t, r) { p(r), t = m(t); var n = o.createSign("RSA-SHA" + e); return d((n.update(t), n.sign(r, "base64"))) } } function _(e) { return function(t, r, n) { f(n), t = m(t), r = h(r); var i = o.createVerify("RSA-SHA" + e); return i.update(t), i.verify(n, r, "base64") } } function T(e) { return function(t, r) { p(r), t = m(t); var n = o.createSign("RSA-SHA" + e); return d((n.update(t), n.sign({ key: r, padding: o.constants.RSA_PKCS1_PSS_PADDING, saltLength: o.constants.RSA_PSS_SALTLEN_DIGEST }, "base64"))) } } function S(e) { return function(t, r, n) { f(n), t = m(t), r = h(r); var i = o.createVerify("RSA-SHA" + e); return i.update(t), i.verify({ key: n, padding: o.constants.RSA_PKCS1_PSS_PADDING, saltLength: o.constants.RSA_PSS_SALTLEN_DIGEST }, r, "base64") } } function A(e) { var t = g(e); return function() { var r = t.apply(null, arguments); return r = a.derToJose(r, "ES" + e) } } function E(e) { var t = _(e); return function(r, n, i) { return n = a.joseToDer(n, "ES" + e).toString("base64"), t(r, n, i) } } function C() { return function() { return "" } } function O() { return function(e, t) { return "" === t } } l && (c += " or a KeyObject", u += "or a KeyObject"), e.exports = function(e) { var t = { hs: y, rs: g, ps: T, es: A, none: C }, r = { hs: b, rs: _, ps: S, es: E, none: O }, n = e.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/i); if (!n) throw v('"%s" is not a valid algorithm.\n Supported algorithms are:\n "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".', e); var i = (n[1] || n[3]).toLowerCase(), o = n[2]; return { sign: t[i](o), verify: r[i](o) } } }, function(e, t, r) { var n = r(8).Buffer; e.exports = function(e) { return "string" == typeof e ? e : "number" == typeof e || n.isBuffer(e) ? e.toString() : JSON.stringify(e) } }, function(e, t, r) { var n = r(184), i = function(e, t) { n.call(this, e), this.name = "NotBeforeError", this.date = t }; (i.prototype = Object.create(n.prototype)).constructor = i, e.exports = i }, function(e, t, r) { var n = r(184), i = function(e, t) { n.call(this, e), this.name = "TokenExpiredError", this.expiredAt = t }; (i.prototype = Object.create(n.prototype)).constructor = i, e.exports = i }, function(e, t, r) { var n = r(1026); e.exports = function(e, t) { var r = t || Math.floor(Date.now() / 1e3); if ("string" == typeof e) { var i = n(e); if (void 0 === i) return; return Math.floor(r + i / 1e3) } return "number" == typeof e ? r + e : void 0 } }, function(e, t, r) { (function(t) { var n = r(1027); e.exports = n.satisfies(t.version, "^6.12.0 || >=8.0.0") }).call(this, r(26)) }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return Date.now() + (0, i.default)().toString(36).substr(2) }; var i = n(r(1037)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return e.channelData && e.channelData.speak } }, function(e, t, r) { var n = r(1045), i = r(1046), o = r(1047); e.exports = function(e) { return n(e) || i(e) || o() } }, function(e, t) { e.exports = function(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { return { type: "WEB_CHAT/SEND_EVENT", payload: { name: e, value: t } } }, t.SEND_EVENT = void 0; t.SEND_EVENT = "WEB_CHAT/SEND_EVENT" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "WEB_CHAT/SEND_FILES", payload: { files: e } } }, t.SEND_FILES = void 0; t.SEND_FILES = "WEB_CHAT/SEND_FILES" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r) { return { type: "WEB_CHAT/SEND_MESSAGE_BACK", payload: { displayText: r, text: t, value: e } } }, t.SEND_MESSAGE_BACK = void 0; t.SEND_MESSAGE_BACK = "WEB_CHAT/SEND_MESSAGE_BACK" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "WEB_CHAT/SEND_POST_BACK", payload: { value: e } } }, t.SEND_POST_BACK = void 0; t.SEND_POST_BACK = "WEB_CHAT/SEND_POST_BACK" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "keyboard", t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = t.channelData; return { type: "WEB_CHAT/SUBMIT_SEND_BOX", payload: { channelData: r, method: e } } }, t.SUBMIT_SEND_BOX = void 0; t.SUBMIT_SEND_BOX = "WEB_CHAT/SUBMIT_SEND_BOX" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.processStyleName = void 0, t.createMarkupForStyles = function(e, t) { var r = ""; for (var i in e) { var o = 0 === i.indexOf("--"); if (e.hasOwnProperty(i) && "label" !== i) { var a = e[i]; 0, null != a && (o ? r += i + ":" + a + ";" : (r += s(i) + ":", r += (0, n.default)(i, a, t) + ";")) } } return r || null }; a(r(1078)); var n = a(r(1080)), i = a(r(1083)), o = a(r(1085)); a(r(501)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = t.processStyleName = (0, o.default)(i.default) }, function(e, t, r) { "use strict"; var n = r(1082); e.exports = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return e.charAt(0).toUpperCase() + e.slice(1) }, e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().localizedStrings }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return "[object Object]" === n.call(e) }; var n = {}.toString }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return ["ar-EG", "ar-JO", "ar-SA", "he-IL"] } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = s(r(3)), i = s(r(1)), o = s(r(0)), a = s(r(23)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var c = function(e) { var t = e.className, r = e.size, i = u((0, a.default)(), 1)[0]; return o.default.createElement("svg", { alt: "", className: (0, n.default)(t + "", "rtl" === i && "webchat__error--rtl"), height: 16 * r, viewBox: "0 0 13.1 13.1", width: 16 * r }, o.default.createElement("path", { d: "M6.5,13C2.9,13,0,10.1,0,6.5S2.9,0,6.5,0S13,2.9,13,6.5S10.1,13,6.5,13z M6.1,3.5v4.3h0.9V3.5H6.1z M6.1,8.7v0.9h0.9V8.7H6.1z", fillRule: "evenodd" })) }; c.defaultProps = { className: "", size: 1 }, c.propTypes = { className: i.default.string, size: i.default.number }; var l = c; t.default = l }, function(e, t, r) { "use strict"; t.__esModule = !0, t.getBatch = t.setBatch = void 0; var n = function(e) { e() }; t.setBatch = function(e) { return n = e }; t.getBatch = function() { return n } }, function(e, t, r) { "use strict"; var n = r(105), i = r(19); t.__esModule = !0, t.default = function(e, t) { void 0 === t && (t = {}); var r = t, n = r.getDisplayName, i = void 0 === n ? function(e) { return "ConnectAdvanced(" + e + ")" } : n, f = r.methodName, _ = void 0 === f ? "connectAdvanced" : f, T = r.renderCountProp, S = void 0 === T ? void 0 : T, A = r.shouldHandleStateChanges, E = void 0 === A || A, C = r.storeKey, O = void 0 === C ? "store" : C, w = (r.withRef, r.forwardRef), I = void 0 !== w && w, P = r.context, x = void 0 === P ? p.ReactReduxContext : P, N = (0, a.default)(r, ["getDisplayName", "methodName", "renderCountProp", "shouldHandleStateChanges", "storeKey", "withRef", "forwardRef", "context"]); 0; var k = x; return function(t) { var r = t.displayName || t.name || "Component", n = i(r), f = (0, o.default)({}, N, { getDisplayName: i, methodName: _, renderCountProp: S, shouldHandleStateChanges: E, storeKey: O, displayName: n, wrappedComponentName: r, WrappedComponent: t }), p = N.pure; var T = p ? u.useMemo : function(e) { return e() }; function A(r) { var n = (0, u.useMemo)((function() { var e = r.forwardedRef, t = (0, a.default)(r, ["forwardedRef"]); return [r.context, e, t] }), [r]), i = n[0], s = n[1], p = n[2], _ = (0, u.useMemo)((function() { return i && i.Consumer && (0, c.isContextConsumer)(u.default.createElement(i.Consumer, null)) ? i : k }), [i, k]), S = (0, u.useContext)(_), A = Boolean(r.store) && Boolean(r.store.getState) && Boolean(r.store.dispatch); Boolean(S) && Boolean(S.store); var C = A ? r.store : S.store, O = (0, u.useMemo)((function() { return function(t) { return e(t.dispatch, f) }(C) }), [C]), w = (0, u.useMemo)((function() { if (!E) return h; var e = new l.default(C, A ? null : S.subscription), t = e.notifyNestedSubs.bind(e); return [e, t] }), [C, A, S]), I = w[0], P = w[1], x = (0, u.useMemo)((function() { return A ? S : (0, o.default)({}, S, { subscription: I }) }), [A, S, I]), N = (0, u.useReducer)(v, d, g), R = N[0][0], L = N[1]; if (R && R.error) throw R.error; var M = (0, u.useRef)(), j = (0, u.useRef)(p), D = (0, u.useRef)(), U = (0, u.useRef)(!1), B = T((function() { return D.current && p === j.current ? D.current : O(C.getState(), p) }), [C, R, p]); m(y, [j, M, U, p, B, D, P]), m(b, [E, C, I, O, j, M, U, D, P, L], [C, I, O]); var F = (0, u.useMemo)((function() { return u.default.createElement(t, (0, o.default)({}, B, { ref: s })) }), [s, t, B]); return (0, u.useMemo)((function() { return E ? u.default.createElement(_.Provider, { value: x }, F) : F }), [_, F, x]) } var C = p ? u.default.memo(A) : A; if (C.WrappedComponent = t, C.displayName = n, I) { var w = u.default.forwardRef((function(e, t) { return u.default.createElement(C, (0, o.default)({}, e, { forwardedRef: t })) })); return w.displayName = n, w.WrappedComponent = t, (0, s.default)(w, t) } return (0, s.default)(C, t) } }; var o = i(r(289)), a = i(r(187)), s = i(r(1169)), u = n(r(0)), c = r(509), l = i(r(288)), f = r(510), p = r(87), d = [], h = [null, null]; function v(e, t) { var r = e[1]; return [t.payload, r + 1] } function m(e, t, r) { (0, f.useIsomorphicLayoutEffect)((function() { return e.apply(void 0, t) }), r) } function y(e, t, r, n, i, o, a) { e.current = n, t.current = i, r.current = !1, o.current && (o.current = null, a()) } function b(e, t, r, n, i, o, a, s, u, c) { if (e) { var l = !1, f = null, p = function() { if (!l) { var e, r, p = t.getState(); try { e = n(p, i.current) } catch (e) { r = e, f = e } r || (f = null), e === o.current ? a.current || u() : (o.current = e, s.current = e, a.current = !0, c({ type: "STORE_UPDATED", payload: { error: r } })) } }; r.onStateChange = p, r.trySubscribe(), p(); return function() { if (l = !0, r.tryUnsubscribe(), r.onStateChange = null, f) throw f } } } var g = function() { return [null, 0] } }, function(e, t, r) { "use strict"; e.exports = r(1170) }, function(e, t, r) { "use strict"; t.__esModule = !0, t.useIsomorphicLayoutEffect = void 0; var n = r(0), i = "undefined" != typeof window && void 0 !== window.document && void 0 !== window.document.createElement ? n.useLayoutEffect : n.useEffect; t.useIsomorphicLayoutEffect = i }, function(e, t, r) { "use strict"; function n(e, t) { return e === t ? 0 !== e || 0 !== t || 1 / e == 1 / t : e != e && t != t } t.__esModule = !0, t.default = function(e, t) { if (n(e, t)) return !0; if ("object" != typeof e || null === e || "object" != typeof t || null === t) return !1; var r = Object.keys(e), i = Object.keys(t); if (r.length !== i.length) return !1; for (var o = 0; o < r.length; o++) if (!Object.prototype.hasOwnProperty.call(t, r[o]) || !n(e[r[o]], t[r[o]])) return !1; return !0 } }, function(e, t, r) { "use strict"; var n = r(19); t.__esModule = !0, t.wrapMapToPropsConstant = function(e) { return function(t, r) { var n = e(t, r); function i() { return n } return i.dependsOnOwnProps = !1, i } }, t.getDependsOnOwnProps = i, t.wrapMapToPropsFunc = function(e, t) { return function(t, r) { r.displayName; var n = function(e, t) { return n.dependsOnOwnProps ? n.mapToProps(e, t) : n.mapToProps(e) }; return n.dependsOnOwnProps = !0, n.mapToProps = function(t, r) { n.mapToProps = e, n.dependsOnOwnProps = i(e); var o = n(t, r); return "function" == typeof o && (n.mapToProps = o, n.dependsOnOwnProps = i(o), o = n(t, r)), o }, n } }; n(r(513)); function i(e) { return null !== e.dependsOnOwnProps && void 0 !== e.dependsOnOwnProps ? Boolean(e.dependsOnOwnProps) : 1 !== e.length } }, function(e, t, r) { "use strict"; var n = r(19); t.__esModule = !0, t.default = function(e, t, r) { (0, i.default)(e) || (0, o.default)(r + "() in " + t + " must return a plain object. Instead received " + e + ".") }; var i = n(r(1176)), o = n(r(514)) }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = function(e) { "undefined" != typeof console && "function" == typeof console.error && console.error(e); try { throw new Error(e) } catch (e) {} } }, function(e, t, r) { "use strict"; t.__esModule = !0, t.createStoreHook = a, t.useStore = void 0; var n = r(0), i = r(87), o = r(516); function a(e) { void 0 === e && (e = i.ReactReduxContext); var t = e === i.ReactReduxContext ? o.useReduxContext : function() { return (0, n.useContext)(e) }; return function() { return t().store } } var s = a(); t.useStore = s }, function(e, t, r) { "use strict"; t.__esModule = !0, t.useReduxContext = function() { 0; return (0, n.useContext)(i.ReactReduxContext) }; var n = r(0), i = r(87) }, function(e, t, r) { var n; window, e.exports = (n = r(0), function(e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var i = t[n] = { i: n, l: !1, exports: {} }; return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } return r.m = e, r.c = t, r.d = function(e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }, r.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, r.t = function(e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var i in e) r.d(n, i, function(t) { return e[t] }.bind(null, i)); return n }, r.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return r.d(t, "a", t), t }, r.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, r.p = "", r(r.s = 0) }([function(e, t, r) { "use strict"; var n = r(1); e.exports = void 0 === window.ReactDOM ? n : window.ReactDOM }, function(e, t, r) { "use strict"; ! function e() { if ("undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" == typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE) try { __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e) } catch (e) { console.error(e) } }(), e.exports = r(2) }, function(e, t, r) { "use strict"; var n = r(3), i = r(4), o = r(5); function a(e, t, r, n, i, o, a, s) { if (!e) { if (e = void 0, void 0 === t) e = Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."); else { var u = [r, n, i, o, a, s], c = 0; (e = Error(t.replace(/%s/g, (function() { return u[c++] })))).name = "Invariant Violation" } throw e.framesToPop = 1, e } } function s(e) { for (var t = arguments.length - 1, r = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 0; n < t; n++) r += "&args[]=" + encodeURIComponent(arguments[n + 1]); a(!1, "Minified React error #" + e + "; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ", r) } function u(e, t, r, n, i, o, a, s, u) { var c = Array.prototype.slice.call(arguments, 3); try { t.apply(r, c) } catch (e) { this.onError(e) } } n || s("227"); var c = !1, l = null, f = !1, p = null, d = { onError: function(e) { c = !0, l = e } }; function h(e, t, r, n, i, o, a, s, f) { c = !1, l = null, u.apply(d, arguments) } var v = null, m = {}; function y() { if (v) for (var e in m) { var t = m[e], r = v.indexOf(e); if (-1 < r || s("96", e), !g[r]) for (var n in t.extractEvents || s("97", e), g[r] = t, r = t.eventTypes) { var i = void 0, o = r[n], a = t, u = n; _.hasOwnProperty(u) && s("99", u), _[u] = o; var c = o.phasedRegistrationNames; if (c) { for (i in c) c.hasOwnProperty(i) && b(c[i], a, u); i = !0 } else o.registrationName ? (b(o.registrationName, a, u), i = !0) : i = !1; i || s("98", n, e) } } } function b(e, t, r) { T[e] && s("100", e), T[e] = t, S[e] = t.eventTypes[r].dependencies } var g = [], _ = {}, T = {}, S = {}, A = null, E = null, C = null; function O(e, t, r) { var n = e.type || "unknown-event"; e.currentTarget = C(r), function(e, t, r, n, i, o, a, u, d) { if (h.apply(this, arguments), c) { if (c) { var v = l; c = !1, l = null } else s("198"), v = void 0; f || (f = !0, p = v) } }(n, t, void 0, e), e.currentTarget = null } function w(e, t) { return null == t && s("30"), null == e ? t : Array.isArray(e) ? Array.isArray(t) ? (e.push.apply(e, t), e) : (e.push(t), e) : Array.isArray(t) ? [e].concat(t) : [e, t] } function I(e, t, r) { Array.isArray(e) ? e.forEach(t, r) : e && t.call(r, e) } var P = null; function x(e) { if (e) { var t = e._dispatchListeners, r = e._dispatchInstances; if (Array.isArray(t)) for (var n = 0; n < t.length && !e.isPropagationStopped(); n++) O(e, t[n], r[n]); else t && O(e, t, r); e._dispatchListeners = null, e._dispatchInstances = null, e.isPersistent() || e.constructor.release(e) } } var N = { injectEventPluginOrder: function(e) { v && s("101"), v = Array.prototype.slice.call(e), y() }, injectEventPluginsByName: function(e) { var t, r = !1; for (t in e) if (e.hasOwnProperty(t)) { var n = e[t]; m.hasOwnProperty(t) && m[t] === n || (m[t] && s("102", t), m[t] = n, r = !0) } r && y() } }; function k(e, t) { var r = e.stateNode; if (!r) return null; var n = A(r); if (!n) return null; r = n[t]; e: switch (t) { case "onClick": case "onClickCapture": case "onDoubleClick": case "onDoubleClickCapture": case "onMouseDown": case "onMouseDownCapture": case "onMouseMove": case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": (n = !n.disabled) || (n = !("button" === (e = e.type) || "input" === e || "select" === e || "textarea" === e)), e = !n; break e; default: e = !1 } return e ? null : (r && "function" != typeof r && s("231", t, typeof r), r) } function R(e) { if (null !== e && (P = w(P, e)), e = P, P = null, e && (I(e, x), P && s("95"), f)) throw e = p, f = !1, p = null, e } var L = Math.random().toString(36).slice(2), M = "__reactInternalInstance$" + L, j = "__reactEventHandlers$" + L; function D(e) { if (e[M]) return e[M]; for (; !e[M];) { if (!e.parentNode) return null; e = e.parentNode } return 5 === (e = e[M]).tag || 6 === e.tag ? e : null } function U(e) { return !(e = e[M]) || 5 !== e.tag && 6 !== e.tag ? null : e } function B(e) { if (5 === e.tag || 6 === e.tag) return e.stateNode; s("33") } function F(e) { return e[j] || null } function z(e) { do { e = e.return } while (e && 5 !== e.tag); return e || null } function V(e, t, r) { (t = k(e, r.dispatchConfig.phasedRegistrationNames[t])) && (r._dispatchListeners = w(r._dispatchListeners, t), r._dispatchInstances = w(r._dispatchInstances, e)) } function G(e) { if (e && e.dispatchConfig.phasedRegistrationNames) { for (var t = e._targetInst, r = []; t;) r.push(t), t = z(t); for (t = r.length; 0 < t--;) V(r[t], "captured", e); for (t = 0; t < r.length; t++) V(r[t], "bubbled", e) } } function q(e, t, r) { e && r && r.dispatchConfig.registrationName && (t = k(e, r.dispatchConfig.registrationName)) && (r._dispatchListeners = w(r._dispatchListeners, t), r._dispatchInstances = w(r._dispatchInstances, e)) } function H(e) { e && e.dispatchConfig.registrationName && q(e._targetInst, null, e) } function W(e) { I(e, G) } var Y = !("undefined" == typeof window || !window.document || !window.document.createElement); function K(e, t) { var r = {}; return r[e.toLowerCase()] = t.toLowerCase(), r["Webkit" + e] = "webkit" + t, r["Moz" + e] = "moz" + t, r } var $ = { animationend: K("Animation", "AnimationEnd"), animationiteration: K("Animation", "AnimationIteration"), animationstart: K("Animation", "AnimationStart"), transitionend: K("Transition", "TransitionEnd") }, J = {}, X = {}; function Z(e) { if (J[e]) return J[e]; if (!$[e]) return e; var t, r = $[e]; for (t in r) if (r.hasOwnProperty(t) && t in X) return J[e] = r[t]; return e } Y && (X = document.createElement("div").style, "AnimationEvent" in window || (delete $.animationend.animation, delete $.animationiteration.animation, delete $.animationstart.animation), "TransitionEvent" in window || delete $.transitionend.transition); var Q = Z("animationend"), ee = Z("animationiteration"), te = Z("animationstart"), re = Z("transitionend"), ne = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), ie = null, oe = null, ae = null; function se() { if (ae) return ae; var e, t, r = oe, n = r.length, i = "value" in ie ? ie.value : ie.textContent, o = i.length; for (e = 0; e < n && r[e] === i[e]; e++); var a = n - e; for (t = 1; t <= a && r[n - t] === i[o - t]; t++); return ae = i.slice(e, 1 < t ? 1 - t : void 0) } function ue() { return !0 } function ce() { return !1 } function le(e, t, r, n) { for (var i in this.dispatchConfig = e, this._targetInst = t, this.nativeEvent = r, e = this.constructor.Interface) e.hasOwnProperty(i) && ((t = e[i]) ? this[i] = t(r) : "target" === i ? this.target = n : this[i] = r[i]); return this.isDefaultPrevented = (null != r.defaultPrevented ? r.defaultPrevented : !1 === r.returnValue) ? ue : ce, this.isPropagationStopped = ce, this } function fe(e, t, r, n) { if (this.eventPool.length) { var i = this.eventPool.pop(); return this.call(i, e, t, r, n), i } return new this(e, t, r, n) } function pe(e) { e instanceof this || s("279"), e.destructor(), 10 > this.eventPool.length && this.eventPool.push(e) } function de(e) { e.eventPool = [], e.getPooled = fe, e.release = pe } i(le.prototype, { preventDefault: function() { this.defaultPrevented = !0; var e = this.nativeEvent; e && (e.preventDefault ? e.preventDefault() : "unknown" != typeof e.returnValue && (e.returnValue = !1), this.isDefaultPrevented = ue) }, stopPropagation: function() { var e = this.nativeEvent; e && (e.stopPropagation ? e.stopPropagation() : "unknown" != typeof e.cancelBubble && (e.cancelBubble = !0), this.isPropagationStopped = ue) }, persist: function() { this.isPersistent = ue }, isPersistent: ce, destructor: function() { var e, t = this.constructor.Interface; for (e in t) this[e] = null; this.nativeEvent = this._targetInst = this.dispatchConfig = null, this.isPropagationStopped = this.isDefaultPrevented = ce, this._dispatchInstances = this._dispatchListeners = null } }), le.Interface = { type: null, target: null, currentTarget: function() { return null }, eventPhase: null, bubbles: null, cancelable: null, timeStamp: function(e) { return e.timeStamp || Date.now() }, defaultPrevented: null, isTrusted: null }, le.extend = function(e) { function t() {} function r() { return n.apply(this, arguments) } var n = this; t.prototype = n.prototype; var o = new t; return i(o, r.prototype), r.prototype = o, r.prototype.constructor = r, r.Interface = i({}, n.Interface, e), r.extend = n.extend, de(r), r }, de(le); var he = le.extend({ data: null }), ve = le.extend({ data: null }), me = [9, 13, 27, 32], ye = Y && "CompositionEvent" in window, be = null; Y && "documentMode" in document && (be = document.documentMode); var ge = Y && "TextEvent" in window && !be, _e = Y && (!ye || be && 8 < be && 11 >= be), Te = String.fromCharCode(32), Se = { beforeInput: { phasedRegistrationNames: { bubbled: "onBeforeInput", captured: "onBeforeInputCapture" }, dependencies: ["compositionend", "keypress", "textInput", "paste"] }, compositionEnd: { phasedRegistrationNames: { bubbled: "onCompositionEnd", captured: "onCompositionEndCapture" }, dependencies: "blur compositionend keydown keypress keyup mousedown".split(" ") }, compositionStart: { phasedRegistrationNames: { bubbled: "onCompositionStart", captured: "onCompositionStartCapture" }, dependencies: "blur compositionstart keydown keypress keyup mousedown".split(" ") }, compositionUpdate: { phasedRegistrationNames: { bubbled: "onCompositionUpdate", captured: "onCompositionUpdateCapture" }, dependencies: "blur compositionupdate keydown keypress keyup mousedown".split(" ") } }, Ae = !1; function Ee(e, t) { switch (e) { case "keyup": return -1 !== me.indexOf(t.keyCode); case "keydown": return 229 !== t.keyCode; case "keypress": case "mousedown": case "blur": return !0; default: return !1 } } function Ce(e) { return "object" == typeof(e = e.detail) && "data" in e ? e.data : null } var Oe = !1, we = { eventTypes: Se, extractEvents: function(e, t, r, n) { var i = void 0, o = void 0; if (ye) e: { switch (e) { case "compositionstart": i = Se.compositionStart; break e; case "compositionend": i = Se.compositionEnd; break e; case "compositionupdate": i = Se.compositionUpdate; break e } i = void 0 } else Oe ? Ee(e, r) && (i = Se.compositionEnd) : "keydown" === e && 229 === r.keyCode && (i = Se.compositionStart); return i ? (_e && "ko" !== r.locale && (Oe || i !== Se.compositionStart ? i === Se.compositionEnd && Oe && (o = se()) : (oe = "value" in (ie = n) ? ie.value : ie.textContent, Oe = !0)), i = he.getPooled(i, t, r, n), (o || null !== (o = Ce(r))) && (i.data = o), W(i), o = i) : o = null, (e = ge ? function(e, t) { switch (e) { case "compositionend": return Ce(t); case "keypress": return 32 !== t.which ? null : (Ae = !0, Te); case "textInput": return (e = t.data) === Te && Ae ? null : e; default: return null } }(e, r) : function(e, t) { if (Oe) return "compositionend" === e || !ye && Ee(e, t) ? (e = se(), ae = oe = ie = null, Oe = !1, e) : null; switch (e) { case "paste": return null; case "keypress": if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) { if (t.char && 1 < t.char.length) return t.char; if (t.which) return String.fromCharCode(t.which) } return null; case "compositionend": return _e && "ko" !== t.locale ? null : t.data; default: return null } }(e, r)) ? ((t = ve.getPooled(Se.beforeInput, t, r, n)).data = e, W(t)) : t = null, null === o ? t : null === t ? o : [o, t] } }, Ie = null, Pe = null, xe = null; function Ne(e) { if (e = E(e)) { "function" != typeof Ie && s("280"); var t = A(e.stateNode); Ie(e.stateNode, e.type, t) } } function ke(e) { Pe ? xe ? xe.push(e) : xe = [e] : Pe = e } function Re() { if (Pe) { var e = Pe, t = xe; if (xe = Pe = null, Ne(e), t) for (e = 0; e < t.length; e++) Ne(t[e]) } } function Le(e, t) { return e(t) } function Me(e, t, r) { return e(t, r) } function je() {} var De = !1; function Ue(e, t) { if (De) return e(t); De = !0; try { return Le(e, t) } finally { De = !1, (null !== Pe || null !== xe) && (je(), Re()) } } var Be = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 }; function Fe(e) { var t = e && e.nodeName && e.nodeName.toLowerCase(); return "input" === t ? !!Be[e.type] : "textarea" === t } function ze(e) { return (e = e.target || e.srcElement || window).correspondingUseElement && (e = e.correspondingUseElement), 3 === e.nodeType ? e.parentNode : e } function Ve(e) { if (!Y) return !1; var t = (e = "on" + e) in document; return t || ((t = document.createElement("div")).setAttribute(e, "return;"), t = "function" == typeof t[e]), t } function Ge(e) { var t = e.type; return (e = e.nodeName) && "input" === e.toLowerCase() && ("checkbox" === t || "radio" === t) } function qe(e) { e._valueTracker || (e._valueTracker = function(e) { var t = Ge(e) ? "checked" : "value", r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), n = "" + e[t]; if (!e.hasOwnProperty(t) && void 0 !== r && "function" == typeof r.get && "function" == typeof r.set) { var i = r.get, o = r.set; return Object.defineProperty(e, t, { configurable: !0, get: function() { return i.call(this) }, set: function(e) { n = "" + e, o.call(this, e) } }), Object.defineProperty(e, t, { enumerable: r.enumerable }), { getValue: function() { return n }, setValue: function(e) { n = "" + e }, stopTracking: function() { e._valueTracker = null, delete e[t] } } } }(e)) } function He(e) { if (!e) return !1; var t = e._valueTracker; if (!t) return !0; var r = t.getValue(), n = ""; return e && (n = Ge(e) ? e.checked ? "true" : "false" : e.value), (e = n) !== r && (t.setValue(e), !0) } var We = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; We.hasOwnProperty("ReactCurrentDispatcher") || (We.ReactCurrentDispatcher = { current: null }); var Ye = /^(.*)[\\\/]/, Ke = "function" == typeof Symbol && Symbol.for, $e = Ke ? Symbol.for("react.element") : 60103, Je = Ke ? Symbol.for("react.portal") : 60106, Xe = Ke ? Symbol.for("react.fragment") : 60107, Ze = Ke ? Symbol.for("react.strict_mode") : 60108, Qe = Ke ? Symbol.for("react.profiler") : 60114, et = Ke ? Symbol.for("react.provider") : 60109, tt = Ke ? Symbol.for("react.context") : 60110, rt = Ke ? Symbol.for("react.concurrent_mode") : 60111, nt = Ke ? Symbol.for("react.forward_ref") : 60112, it = Ke ? Symbol.for("react.suspense") : 60113, ot = Ke ? Symbol.for("react.memo") : 60115, at = Ke ? Symbol.for("react.lazy") : 60116, st = "function" == typeof Symbol && Symbol.iterator; function ut(e) { return null === e || "object" != typeof e ? null : "function" == typeof(e = st && e[st] || e["@@iterator"]) ? e : null } function ct(e) { if (null == e) return null; if ("function" == typeof e) return e.displayName || e.name || null; if ("string" == typeof e) return e; switch (e) { case rt: return "ConcurrentMode"; case Xe: return "Fragment"; case Je: return "Portal"; case Qe: return "Profiler"; case Ze: return "StrictMode"; case it: return "Suspense" } if ("object" == typeof e) switch (e.$$typeof) { case tt: return "Context.Consumer"; case et: return "Context.Provider"; case nt: var t = e.render; return t = t.displayName || t.name || "", e.displayName || ("" !== t ? "ForwardRef(" + t + ")" : "ForwardRef"); case ot: return ct(e.type); case at: if (e = 1 === e._status ? e._result : null) return ct(e) } return null } function lt(e) { var t = ""; do { e: switch (e.tag) { case 3: case 4: case 6: case 7: case 10: case 9: var r = ""; break e; default: var n = e._debugOwner, i = e._debugSource, o = ct(e.type); r = null, n && (r = ct(n.type)), n = o, o = "", i ? o = " (at " + i.fileName.replace(Ye, "") + ":" + i.lineNumber + ")" : r && (o = " (created by " + r + ")"), r = "\n in " + (n || "Unknown") + o } t += r, e = e.return } while (e); return t } var ft = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, pt = Object.prototype.hasOwnProperty, dt = {}, ht = {}; function vt(e, t, r, n, i) { this.acceptsBooleans = 2 === t || 3 === t || 4 === t, this.attributeName = n, this.attributeNamespace = i, this.mustUseProperty = r, this.propertyName = e, this.type = t } var mt = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e) { mt[e] = new vt(e, 0, !1, e, null) })), [ ["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"] ].forEach((function(e) { var t = e[0]; mt[t] = new vt(t, 1, !1, e[1], null) })), ["contentEditable", "draggable", "spellCheck", "value"].forEach((function(e) { mt[e] = new vt(e, 2, !1, e.toLowerCase(), null) })), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach((function(e) { mt[e] = new vt(e, 2, !1, e, null) })), "allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e) { mt[e] = new vt(e, 3, !1, e.toLowerCase(), null) })), ["checked", "multiple", "muted", "selected"].forEach((function(e) { mt[e] = new vt(e, 3, !0, e, null) })), ["capture", "download"].forEach((function(e) { mt[e] = new vt(e, 4, !1, e, null) })), ["cols", "rows", "size", "span"].forEach((function(e) { mt[e] = new vt(e, 6, !1, e, null) })), ["rowSpan", "start"].forEach((function(e) { mt[e] = new vt(e, 5, !1, e.toLowerCase(), null) })); var yt = /[\-:]([a-z])/g; function bt(e) { return e[1].toUpperCase() } function gt(e, t, r, n) { var i = mt.hasOwnProperty(t) ? mt[t] : null; (null !== i ? 0 === i.type : !n && 2 < t.length && ("o" === t[0] || "O" === t[0]) && ("n" === t[1] || "N" === t[1])) || (function(e, t, r, n) { if (null == t || function(e, t, r, n) { if (null !== r && 0 === r.type) return !1; switch (typeof t) { case "function": case "symbol": return !0; case "boolean": return !n && (null !== r ? !r.acceptsBooleans : "data-" !== (e = e.toLowerCase().slice(0, 5)) && "aria-" !== e); default: return !1 } }(e, t, r, n)) return !0; if (n) return !1; if (null !== r) switch (r.type) { case 3: return !t; case 4: return !1 === t; case 5: return isNaN(t); case 6: return isNaN(t) || 1 > t } return !1 }(t, r, i, n) && (r = null), n || null === i ? function(e) { return !!pt.call(ht, e) || !pt.call(dt, e) && (ft.test(e) ? ht[e] = !0 : (dt[e] = !0, !1)) }(t) && (null === r ? e.removeAttribute(t) : e.setAttribute(t, "" + r)) : i.mustUseProperty ? e[i.propertyName] = null === r ? 3 !== i.type && "" : r : (t = i.attributeName, n = i.attributeNamespace, null === r ? e.removeAttribute(t) : (r = 3 === (i = i.type) || 4 === i && !0 === r ? "" : "" + r, n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r)))) } function _t(e) { switch (typeof e) { case "boolean": case "number": case "object": case "string": case "undefined": return e; default: return "" } } function Tt(e, t) { var r = t.checked; return i({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != r ? r : e._wrapperState.initialChecked }) } function St(e, t) { var r = null == t.defaultValue ? "" : t.defaultValue, n = null != t.checked ? t.checked : t.defaultChecked; r = _t(null != t.value ? t.value : r), e._wrapperState = { initialChecked: n, initialValue: r, controlled: "checkbox" === t.type || "radio" === t.type ? null != t.checked : null != t.value } } function At(e, t) { null != (t = t.checked) && gt(e, "checked", t, !1) } function Et(e, t) { At(e, t); var r = _t(t.value), n = t.type; if (null != r) "number" === n ? (0 === r && "" === e.value || e.value != r) && (e.value = "" + r) : e.value !== "" + r && (e.value = "" + r); else if ("submit" === n || "reset" === n) return void e.removeAttribute("value"); t.hasOwnProperty("value") ? Ot(e, t.type, r) : t.hasOwnProperty("defaultValue") && Ot(e, t.type, _t(t.defaultValue)), null == t.checked && null != t.defaultChecked && (e.defaultChecked = !!t.defaultChecked) } function Ct(e, t, r) { if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) { var n = t.type; if (!("submit" !== n && "reset" !== n || void 0 !== t.value && null !== t.value)) return; t = "" + e._wrapperState.initialValue, r || t === e.value || (e.value = t), e.defaultValue = t } "" !== (r = e.name) && (e.name = ""), e.defaultChecked = !e.defaultChecked, e.defaultChecked = !!e._wrapperState.initialChecked, "" !== r && (e.name = r) } function Ot(e, t, r) { "number" === t && e.ownerDocument.activeElement === e || (null == r ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + r && (e.defaultValue = "" + r)) } "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e) { var t = e.replace(yt, bt); mt[t] = new vt(t, 1, !1, e, null) })), "xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e) { var t = e.replace(yt, bt); mt[t] = new vt(t, 1, !1, e, "http://www.w3.org/1999/xlink") })), ["xml:base", "xml:lang", "xml:space"].forEach((function(e) { var t = e.replace(yt, bt); mt[t] = new vt(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace") })), ["tabIndex", "crossOrigin"].forEach((function(e) { mt[e] = new vt(e, 1, !1, e.toLowerCase(), null) })); var wt = { change: { phasedRegistrationNames: { bubbled: "onChange", captured: "onChangeCapture" }, dependencies: "blur change click focus input keydown keyup selectionchange".split(" ") } }; function It(e, t, r) { return (e = le.getPooled(wt.change, e, t, r)).type = "change", ke(r), W(e), e } var Pt = null, xt = null; function Nt(e) { R(e) } function kt(e) { if (He(B(e))) return e } function Rt(e, t) { if ("change" === e) return t } var Lt = !1; function Mt() { Pt && (Pt.detachEvent("onpropertychange", jt), xt = Pt = null) } function jt(e) { "value" === e.propertyName && kt(xt) && Ue(Nt, e = It(xt, e, ze(e))) } function Dt(e, t, r) { "focus" === e ? (Mt(), xt = r, (Pt = t).attachEvent("onpropertychange", jt)) : "blur" === e && Mt() } function Ut(e) { if ("selectionchange" === e || "keyup" === e || "keydown" === e) return kt(xt) } function Bt(e, t) { if ("click" === e) return kt(t) } function Ft(e, t) { if ("input" === e || "change" === e) return kt(t) } Y && (Lt = Ve("input") && (!document.documentMode || 9 < document.documentMode)); var zt = { eventTypes: wt, _isInputEventSupported: Lt, extractEvents: function(e, t, r, n) { var i = t ? B(t) : window, o = void 0, a = void 0, s = i.nodeName && i.nodeName.toLowerCase(); if ("select" === s || "input" === s && "file" === i.type ? o = Rt : Fe(i) ? Lt ? o = Ft : (o = Ut, a = Dt) : (s = i.nodeName) && "input" === s.toLowerCase() && ("checkbox" === i.type || "radio" === i.type) && (o = Bt), o && (o = o(e, t))) return It(o, r, n); a && a(e, i, t), "blur" === e && (e = i._wrapperState) && e.controlled && "number" === i.type && Ot(i, "number", i.value) } }, Vt = le.extend({ view: null, detail: null }), Gt = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; function qt(e) { var t = this.nativeEvent; return t.getModifierState ? t.getModifierState(e) : !!(e = Gt[e]) && !!t[e] } function Ht() { return qt } var Wt = 0, Yt = 0, Kt = !1, $t = !1, Jt = Vt.extend({ screenX: null, screenY: null, clientX: null, clientY: null, pageX: null, pageY: null, ctrlKey: null, shiftKey: null, altKey: null, metaKey: null, getModifierState: Ht, button: null, buttons: null, relatedTarget: function(e) { return e.relatedTarget || (e.fromElement === e.srcElement ? e.toElement : e.fromElement) }, movementX: function(e) { if ("movementX" in e) return e.movementX; var t = Wt; return Wt = e.screenX, Kt ? "mousemove" === e.type ? e.screenX - t : 0 : (Kt = !0, 0) }, movementY: function(e) { if ("movementY" in e) return e.movementY; var t = Yt; return Yt = e.screenY, $t ? "mousemove" === e.type ? e.screenY - t : 0 : ($t = !0, 0) } }), Xt = Jt.extend({ pointerId: null, width: null, height: null, pressure: null, tangentialPressure: null, tiltX: null, tiltY: null, twist: null, pointerType: null, isPrimary: null }), Zt = { mouseEnter: { registrationName: "onMouseEnter", dependencies: ["mouseout", "mouseover"] }, mouseLeave: { registrationName: "onMouseLeave", dependencies: ["mouseout", "mouseover"] }, pointerEnter: { registrationName: "onPointerEnter", dependencies: ["pointerout", "pointerover"] }, pointerLeave: { registrationName: "onPointerLeave", dependencies: ["pointerout", "pointerover"] } }, Qt = { eventTypes: Zt, extractEvents: function(e, t, r, n) { var i = "mouseover" === e || "pointerover" === e, o = "mouseout" === e || "pointerout" === e; if (i && (r.relatedTarget || r.fromElement) || !o && !i) return null; if (i = n.window === n ? n : (i = n.ownerDocument) ? i.defaultView || i.parentWindow : window, o ? (o = t, t = (t = r.relatedTarget || r.toElement) ? D(t) : null) : o = null, o === t) return null; var a = void 0, s = void 0, u = void 0, c = void 0; "mouseout" === e || "mouseover" === e ? (a = Jt, s = Zt.mouseLeave, u = Zt.mouseEnter, c = "mouse") : "pointerout" !== e && "pointerover" !== e || (a = Xt, s = Zt.pointerLeave, u = Zt.pointerEnter, c = "pointer"); var l = null == o ? i : B(o); if (i = null == t ? i : B(t), (e = a.getPooled(s, o, r, n)).type = c + "leave", e.target = l, e.relatedTarget = i, (r = a.getPooled(u, t, r, n)).type = c + "enter", r.target = i, r.relatedTarget = l, n = t, o && n) e: { for (i = n, c = 0, a = t = o; a; a = z(a)) c++; for (a = 0, u = i; u; u = z(u)) a++; for (; 0 < c - a;) t = z(t), c--; for (; 0 < a - c;) i = z(i), a--; for (; c--;) { if (t === i || t === i.alternate) break e; t = z(t), i = z(i) } t = null } else t = null; for (i = t, t = []; o && o !== i && (null === (c = o.alternate) || c !== i);) t.push(o), o = z(o); for (o = []; n && n !== i && (null === (c = n.alternate) || c !== i);) o.push(n), n = z(n); for (n = 0; n < t.length; n++) q(t[n], "bubbled", e); for (n = o.length; 0 < n--;) q(o[n], "captured", r); return [e, r] } }; function er(e, t) { return e === t && (0 !== e || 1 / e == 1 / t) || e != e && t != t } var tr = Object.prototype.hasOwnProperty; function rr(e, t) { if (er(e, t)) return !0; if ("object" != typeof e || null === e || "object" != typeof t || null === t) return !1; var r = Object.keys(e), n = Object.keys(t); if (r.length !== n.length) return !1; for (n = 0; n < r.length; n++) if (!tr.call(t, r[n]) || !er(e[r[n]], t[r[n]])) return !1; return !0 } function nr(e) { var t = e; if (e.alternate) for (; t.return;) t = t.return; else { if (0 != (2 & t.effectTag)) return 1; for (; t.return;) if (0 != (2 & (t = t.return).effectTag)) return 1 } return 3 === t.tag ? 2 : 3 } function ir(e) { 2 !== nr(e) && s("188") } function or(e) { if (!(e = function(e) { var t = e.alternate; if (!t) return 3 === (t = nr(e)) && s("188"), 1 === t ? null : e; for (var r = e, n = t;;) { var i = r.return, o = i ? i.alternate : null; if (!i || !o) break; if (i.child === o.child) { for (var a = i.child; a;) { if (a === r) return ir(i), e; if (a === n) return ir(i), t; a = a.sibling } s("188") } if (r.return !== n.return) r = i, n = o; else { a = !1; for (var u = i.child; u;) { if (u === r) { a = !0, r = i, n = o; break } if (u === n) { a = !0, n = i, r = o; break } u = u.sibling } if (!a) { for (u = o.child; u;) { if (u === r) { a = !0, r = o, n = i; break } if (u === n) { a = !0, n = o, r = i; break } u = u.sibling } a || s("189") } } r.alternate !== n && s("190") } return 3 !== r.tag && s("188"), r.stateNode.current === r ? e : t }(e))) return null; for (var t = e;;) { if (5 === t.tag || 6 === t.tag) return t; if (t.child) t.child.return = t, t = t.child; else { if (t === e) break; for (; !t.sibling;) { if (!t.return || t.return === e) return null; t = t.return } t.sibling.return = t.return, t = t.sibling } } return null } var ar = le.extend({ animationName: null, elapsedTime: null, pseudoElement: null }), sr = le.extend({ clipboardData: function(e) { return "clipboardData" in e ? e.clipboardData : window.clipboardData } }), ur = Vt.extend({ relatedTarget: null }); function cr(e) { var t = e.keyCode; return "charCode" in e ? 0 === (e = e.charCode) && 13 === t && (e = 13) : e = t, 10 === e && (e = 13), 32 <= e || 13 === e ? e : 0 } var lr = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, fr = { 8: "Backspace", 9: "Tab", 12: "Clear", 13: "Enter", 16: "Shift", 17: "Control", 18: "Alt", 19: "Pause", 20: "CapsLock", 27: "Escape", 32: " ", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home", 37: "ArrowLeft", 38: "ArrowUp", 39: "ArrowRight", 40: "ArrowDown", 45: "Insert", 46: "Delete", 112: "F1", 113: "F2", 114: "F3", 115: "F4", 116: "F5", 117: "F6", 118: "F7", 119: "F8", 120: "F9", 121: "F10", 122: "F11", 123: "F12", 144: "NumLock", 145: "ScrollLock", 224: "Meta" }, pr = Vt.extend({ key: function(e) { if (e.key) { var t = lr[e.key] || e.key; if ("Unidentified" !== t) return t } return "keypress" === e.type ? 13 === (e = cr(e)) ? "Enter" : String.fromCharCode(e) : "keydown" === e.type || "keyup" === e.type ? fr[e.keyCode] || "Unidentified" : "" }, location: null, ctrlKey: null, shiftKey: null, altKey: null, metaKey: null, repeat: null, locale: null, getModifierState: Ht, charCode: function(e) { return "keypress" === e.type ? cr(e) : 0 }, keyCode: function(e) { return "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0 }, which: function(e) { return "keypress" === e.type ? cr(e) : "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0 } }), dr = Jt.extend({ dataTransfer: null }), hr = Vt.extend({ touches: null, targetTouches: null, changedTouches: null, altKey: null, metaKey: null, ctrlKey: null, shiftKey: null, getModifierState: Ht }), vr = le.extend({ propertyName: null, elapsedTime: null, pseudoElement: null }), mr = Jt.extend({ deltaX: function(e) { return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0 }, deltaY: function(e) { return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0 }, deltaZ: null, deltaMode: null }), yr = [ ["abort", "abort"], [Q, "animationEnd"], [ee, "animationIteration"], [te, "animationStart"], ["canplay", "canPlay"], ["canplaythrough", "canPlayThrough"], ["drag", "drag"], ["dragenter", "dragEnter"], ["dragexit", "dragExit"], ["dragleave", "dragLeave"], ["dragover", "dragOver"], ["durationchange", "durationChange"], ["emptied", "emptied"], ["encrypted", "encrypted"], ["ended", "ended"], ["error", "error"], ["gotpointercapture", "gotPointerCapture"], ["load", "load"], ["loadeddata", "loadedData"], ["loadedmetadata", "loadedMetadata"], ["loadstart", "loadStart"], ["lostpointercapture", "lostPointerCapture"], ["mousemove", "mouseMove"], ["mouseout", "mouseOut"], ["mouseover", "mouseOver"], ["playing", "playing"], ["pointermove", "pointerMove"], ["pointerout", "pointerOut"], ["pointerover", "pointerOver"], ["progress", "progress"], ["scroll", "scroll"], ["seeking", "seeking"], ["stalled", "stalled"], ["suspend", "suspend"], ["timeupdate", "timeUpdate"], ["toggle", "toggle"], ["touchmove", "touchMove"], [re, "transitionEnd"], ["waiting", "waiting"], ["wheel", "wheel"] ], br = {}, gr = {}; function _r(e, t) { var r = e[0], n = "on" + ((e = e[1])[0].toUpperCase() + e.slice(1)); t = { phasedRegistrationNames: { bubbled: n, captured: n + "Capture" }, dependencies: [r], isInteractive: t }, br[e] = t, gr[r] = t }[ ["blur", "blur"], ["cancel", "cancel"], ["click", "click"], ["close", "close"], ["contextmenu", "contextMenu"], ["copy", "copy"], ["cut", "cut"], ["auxclick", "auxClick"], ["dblclick", "doubleClick"], ["dragend", "dragEnd"], ["dragstart", "dragStart"], ["drop", "drop"], ["focus", "focus"], ["input", "input"], ["invalid", "invalid"], ["keydown", "keyDown"], ["keypress", "keyPress"], ["keyup", "keyUp"], ["mousedown", "mouseDown"], ["mouseup", "mouseUp"], ["paste", "paste"], ["pause", "pause"], ["play", "play"], ["pointercancel", "pointerCancel"], ["pointerdown", "pointerDown"], ["pointerup", "pointerUp"], ["ratechange", "rateChange"], ["reset", "reset"], ["seeked", "seeked"], ["submit", "submit"], ["touchcancel", "touchCancel"], ["touchend", "touchEnd"], ["touchstart", "touchStart"], ["volumechange", "volumeChange"] ].forEach((function(e) { _r(e, !0) })), yr.forEach((function(e) { _r(e, !1) })); var Tr = { eventTypes: br, isInteractiveTopLevelEventType: function(e) { return void 0 !== (e = gr[e]) && !0 === e.isInteractive }, extractEvents: function(e, t, r, n) { var i = gr[e]; if (!i) return null; switch (e) { case "keypress": if (0 === cr(r)) return null; case "keydown": case "keyup": e = pr; break; case "blur": case "focus": e = ur; break; case "click": if (2 === r.button) return null; case "auxclick": case "dblclick": case "mousedown": case "mousemove": case "mouseup": case "mouseout": case "mouseover": case "contextmenu": e = Jt; break; case "drag": case "dragend": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "dragstart": case "drop": e = dr; break; case "touchcancel": case "touchend": case "touchmove": case "touchstart": e = hr; break; case Q: case ee: case te: e = ar; break; case re: e = vr; break; case "scroll": e = Vt; break; case "wheel": e = mr; break; case "copy": case "cut": case "paste": e = sr; break; case "gotpointercapture": case "lostpointercapture": case "pointercancel": case "pointerdown": case "pointermove": case "pointerout": case "pointerover": case "pointerup": e = Xt; break; default: e = le } return W(t = e.getPooled(i, t, r, n)), t } }, Sr = Tr.isInteractiveTopLevelEventType, Ar = []; function Er(e) { var t = e.targetInst, r = t; do { if (!r) { e.ancestors.push(r); break } var n; for (n = r; n.return;) n = n.return; if (!(n = 3 !== n.tag ? null : n.stateNode.containerInfo)) break; e.ancestors.push(r), r = D(n) } while (r); for (r = 0; r < e.ancestors.length; r++) { t = e.ancestors[r]; var i = ze(e.nativeEvent); n = e.topLevelType; for (var o = e.nativeEvent, a = null, s = 0; s < g.length; s++) { var u = g[s]; u && (u = u.extractEvents(n, t, o, i)) && (a = w(a, u)) } R(a) } } var Cr = !0; function Or(e, t) { if (!t) return null; var r = (Sr(e) ? Ir : Pr).bind(null, e); t.addEventListener(e, r, !1) } function wr(e, t) { if (!t) return null; var r = (Sr(e) ? Ir : Pr).bind(null, e); t.addEventListener(e, r, !0) } function Ir(e, t) { Me(Pr, e, t) } function Pr(e, t) { if (Cr) { var r = ze(t); if (null === (r = D(r)) || "number" != typeof r.tag || 2 === nr(r) || (r = null), Ar.length) { var n = Ar.pop(); n.topLevelType = e, n.nativeEvent = t, n.targetInst = r, e = n } else e = { topLevelType: e, nativeEvent: t, targetInst: r, ancestors: [] }; try { Ue(Er, e) } finally { e.topLevelType = null, e.nativeEvent = null, e.targetInst = null, e.ancestors.length = 0, 10 > Ar.length && Ar.push(e) } } } var xr = {}, Nr = 0, kr = "_reactListenersID" + ("" + Math.random()).slice(2); function Rr(e) { return Object.prototype.hasOwnProperty.call(e, kr) || (e[kr] = Nr++, xr[e[kr]] = {}), xr[e[kr]] } function Lr(e) { if (void 0 === (e = e || ("undefined" != typeof document ? document : void 0))) return null; try { return e.activeElement || e.body } catch (t) { return e.body } } function Mr(e) { for (; e && e.firstChild;) e = e.firstChild; return e } function jr(e, t) { var r, n = Mr(e); for (e = 0; n;) { if (3 === n.nodeType) { if (r = e + n.textContent.length, e <= t && r >= t) return { node: n, offset: t - e }; e = r } e: { for (; n;) { if (n.nextSibling) { n = n.nextSibling; break e } n = n.parentNode } n = void 0 } n = Mr(n) } } function Dr() { for (var e = window, t = Lr(); t instanceof e.HTMLIFrameElement;) { try { var r = "string" == typeof t.contentWindow.location.href } catch (e) { r = !1 } if (!r) break; t = Lr((e = t.contentWindow).document) } return t } function Ur(e) { var t = e && e.nodeName && e.nodeName.toLowerCase(); return t && ("input" === t && ("text" === e.type || "search" === e.type || "tel" === e.type || "url" === e.type || "password" === e.type) || "textarea" === t || "true" === e.contentEditable) } var Br = Y && "documentMode" in document && 11 >= document.documentMode, Fr = { select: { phasedRegistrationNames: { bubbled: "onSelect", captured: "onSelectCapture" }, dependencies: "blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ") } }, zr = null, Vr = null, Gr = null, qr = !1; function Hr(e, t) { var r = t.window === t ? t.document : 9 === t.nodeType ? t : t.ownerDocument; return qr || null == zr || zr !== Lr(r) ? null : (r = "selectionStart" in (r = zr) && Ur(r) ? { start: r.selectionStart, end: r.selectionEnd } : { anchorNode: (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection()).anchorNode, anchorOffset: r.anchorOffset, focusNode: r.focusNode, focusOffset: r.focusOffset }, Gr && rr(Gr, r) ? null : (Gr = r, (e = le.getPooled(Fr.select, Vr, e, t)).type = "select", e.target = zr, W(e), e)) } var Wr = { eventTypes: Fr, extractEvents: function(e, t, r, n) { var i, o = n.window === n ? n.document : 9 === n.nodeType ? n : n.ownerDocument; if (!(i = !o)) { e: { o = Rr(o), i = S.onSelect; for (var a = 0; a < i.length; a++) { var s = i[a]; if (!o.hasOwnProperty(s) || !o[s]) { o = !1; break e } } o = !0 } i = !o } if (i) return null; switch (o = t ? B(t) : window, e) { case "focus": (Fe(o) || "true" === o.contentEditable) && (zr = o, Vr = t, Gr = null); break; case "blur": Gr = Vr = zr = null; break; case "mousedown": qr = !0; break; case "contextmenu": case "mouseup": case "dragend": return qr = !1, Hr(r, n); case "selectionchange": if (Br) break; case "keydown": case "keyup": return Hr(r, n) } return null } }; function Yr(e, t) { return e = i({ children: void 0 }, t), (t = function(e) { var t = ""; return n.Children.forEach(e, (function(e) { null != e && (t += e) })), t }(t.children)) && (e.children = t), e } function Kr(e, t, r, n) { if (e = e.options, t) { t = {}; for (var i = 0; i < r.length; i++) t["$" + r[i]] = !0; for (r = 0; r < e.length; r++) i = t.hasOwnProperty("$" + e[r].value), e[r].selected !== i && (e[r].selected = i), i && n && (e[r].defaultSelected = !0) } else { for (r = "" + _t(r), t = null, i = 0; i < e.length; i++) { if (e[i].value === r) return e[i].selected = !0, void(n && (e[i].defaultSelected = !0)); null !== t || e[i].disabled || (t = e[i]) } null !== t && (t.selected = !0) } } function $r(e, t) { return null != t.dangerouslySetInnerHTML && s("91"), i({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue }) } function Jr(e, t) { var r = t.value; null == r && (r = t.defaultValue, null != (t = t.children) && (null != r && s("92"), Array.isArray(t) && (1 >= t.length || s("93"), t = t[0]), r = t), null == r && (r = "")), e._wrapperState = { initialValue: _t(r) } } function Xr(e, t) { var r = _t(t.value), n = _t(t.defaultValue); null != r && ((r = "" + r) !== e.value && (e.value = r), null == t.defaultValue && e.defaultValue !== r && (e.defaultValue = r)), null != n && (e.defaultValue = "" + n) } function Zr(e) { var t = e.textContent; t === e._wrapperState.initialValue && (e.value = t) } N.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")), A = F, E = U, C = B, N.injectEventPluginsByName({ SimpleEventPlugin: Tr, EnterLeaveEventPlugin: Qt, ChangeEventPlugin: zt, SelectEventPlugin: Wr, BeforeInputEventPlugin: we }); var Qr = "http://www.w3.org/1999/xhtml"; function en(e) { switch (e) { case "svg": return "http://www.w3.org/2000/svg"; case "math": return "http://www.w3.org/1998/Math/MathML"; default: return "http://www.w3.org/1999/xhtml" } } function tn(e, t) { return null == e || "http://www.w3.org/1999/xhtml" === e ? en(t) : "http://www.w3.org/2000/svg" === e && "foreignObject" === t ? "http://www.w3.org/1999/xhtml" : e } var rn = void 0, nn = function(e) { return "undefined" != typeof MSApp && MSApp.execUnsafeLocalFunction ? function(t, r, n, i) { MSApp.execUnsafeLocalFunction((function() { return e(t, r) })) } : e }((function(e, t) { if ("http://www.w3.org/2000/svg" !== e.namespaceURI || "innerHTML" in e) e.innerHTML = t; else { for ((rn = rn || document.createElement("div")).innerHTML = "<svg>" + t + "</svg>", t = rn.firstChild; e.firstChild;) e.removeChild(e.firstChild); for (; t.firstChild;) e.appendChild(t.firstChild) } })); function on(e, t) { if (t) { var r = e.firstChild; if (r && r === e.lastChild && 3 === r.nodeType) return void(r.nodeValue = t) } e.textContent = t } var an = { animationIterationCount: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, columns: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridArea: !0, gridRow: !0, gridRowEnd: !0, gridRowSpan: !0, gridRowStart: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnSpan: !0, gridColumnStart: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 }, sn = ["Webkit", "ms", "Moz", "O"]; function un(e, t, r) { return null == t || "boolean" == typeof t || "" === t ? "" : r || "number" != typeof t || 0 === t || an.hasOwnProperty(e) && an[e] ? ("" + t).trim() : t + "px" } function cn(e, t) { for (var r in e = e.style, t) if (t.hasOwnProperty(r)) { var n = 0 === r.indexOf("--"), i = un(r, t[r], n); "float" === r && (r = "cssFloat"), n ? e.setProperty(r, i) : e[r] = i } } Object.keys(an).forEach((function(e) { sn.forEach((function(t) { t = t + e.charAt(0).toUpperCase() + e.substring(1), an[t] = an[e] })) })); var ln = i({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 }); function fn(e, t) { t && (ln[e] && (null != t.children || null != t.dangerouslySetInnerHTML) && s("137", e, ""), null != t.dangerouslySetInnerHTML && (null != t.children && s("60"), "object" == typeof t.dangerouslySetInnerHTML && "__html" in t.dangerouslySetInnerHTML || s("61")), null != t.style && "object" != typeof t.style && s("62", "")) } function pn(e, t) { if (-1 === e.indexOf("-")) return "string" == typeof t.is; switch (e) { case "annotation-xml": case "color-profile": case "font-face": case "font-face-src": case "font-face-uri": case "font-face-format": case "font-face-name": case "missing-glyph": return !1; default: return !0 } } function dn(e, t) { var r = Rr(e = 9 === e.nodeType || 11 === e.nodeType ? e : e.ownerDocument); t = S[t]; for (var n = 0; n < t.length; n++) { var i = t[n]; if (!r.hasOwnProperty(i) || !r[i]) { switch (i) { case "scroll": wr("scroll", e); break; case "focus": case "blur": wr("focus", e), wr("blur", e), r.blur = !0, r.focus = !0; break; case "cancel": case "close": Ve(i) && wr(i, e); break; case "invalid": case "submit": case "reset": break; default: -1 === ne.indexOf(i) && Or(i, e) } r[i] = !0 } } } function hn() {} var vn = null, mn = null; function yn(e, t) { switch (e) { case "button": case "input": case "select": case "textarea": return !!t.autoFocus } return !1 } function bn(e, t) { return "textarea" === e || "option" === e || "noscript" === e || "string" == typeof t.children || "number" == typeof t.children || "object" == typeof t.dangerouslySetInnerHTML && null !== t.dangerouslySetInnerHTML && null != t.dangerouslySetInnerHTML.__html } var gn = "function" == typeof setTimeout ? setTimeout : void 0, _n = "function" == typeof clearTimeout ? clearTimeout : void 0, Tn = o.unstable_scheduleCallback, Sn = o.unstable_cancelCallback; function An(e) { for (e = e.nextSibling; e && 1 !== e.nodeType && 3 !== e.nodeType;) e = e.nextSibling; return e } function En(e) { for (e = e.firstChild; e && 1 !== e.nodeType && 3 !== e.nodeType;) e = e.nextSibling; return e } new Set; var Cn = [], On = -1; function wn(e) { 0 > On || (e.current = Cn[On], Cn[On] = null, On--) } function In(e, t) { On++, Cn[On] = e.current, e.current = t } var Pn = {}, xn = { current: Pn }, Nn = { current: !1 }, kn = Pn; function Rn(e, t) { var r = e.type.contextTypes; if (!r) return Pn; var n = e.stateNode; if (n && n.__reactInternalMemoizedUnmaskedChildContext === t) return n.__reactInternalMemoizedMaskedChildContext; var i, o = {}; for (i in r) o[i] = t[i]; return n && ((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = o), o } function Ln(e) { return null != e.childContextTypes } function Mn(e) { wn(Nn), wn(xn) } function jn(e) { wn(Nn), wn(xn) } function Dn(e, t, r) { xn.current !== Pn && s("168"), In(xn, t), In(Nn, r) } function Un(e, t, r) { var n = e.stateNode; if (e = t.childContextTypes, "function" != typeof n.getChildContext) return r; for (var o in n = n.getChildContext()) o in e || s("108", ct(t) || "Unknown", o); return i({}, r, n) } function Bn(e) { var t = e.stateNode; return t = t && t.__reactInternalMemoizedMergedChildContext || Pn, kn = xn.current, In(xn, t), In(Nn, Nn.current), !0 } function Fn(e, t, r) { var n = e.stateNode; n || s("169"), r ? (t = Un(e, t, kn), n.__reactInternalMemoizedMergedChildContext = t, wn(Nn), wn(xn), In(xn, t)) : wn(Nn), In(Nn, r) } var zn = null, Vn = null; function Gn(e) { return function(t) { try { return e(t) } catch (e) {} } } function qn(e, t, r, n) { this.tag = e, this.key = r, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = t, this.contextDependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = n, this.effectTag = 0, this.lastEffect = this.firstEffect = this.nextEffect = null, this.childExpirationTime = this.expirationTime = 0, this.alternate = null } function Hn(e, t, r, n) { return new qn(e, t, r, n) } function Wn(e) { return !(!(e = e.prototype) || !e.isReactComponent) } function Yn(e, t) { var r = e.alternate; return null === r ? ((r = Hn(e.tag, t, e.key, e.mode)).elementType = e.elementType, r.type = e.type, r.stateNode = e.stateNode, r.alternate = e, e.alternate = r) : (r.pendingProps = t, r.effectTag = 0, r.nextEffect = null, r.firstEffect = null, r.lastEffect = null), r.childExpirationTime = e.childExpirationTime, r.expirationTime = e.expirationTime, r.child = e.child, r.memoizedProps = e.memoizedProps, r.memoizedState = e.memoizedState, r.updateQueue = e.updateQueue, r.contextDependencies = e.contextDependencies, r.sibling = e.sibling, r.index = e.index, r.ref = e.ref, r } function Kn(e, t, r, n, i, o) { var a = 2; if (n = e, "function" == typeof e) Wn(e) && (a = 1); else if ("string" == typeof e) a = 5; else e: switch (e) { case Xe: return $n(r.children, i, o, t); case rt: return Jn(r, 3 | i, o, t); case Ze: return Jn(r, 2 | i, o, t); case Qe: return (e = Hn(12, r, t, 4 | i)).elementType = Qe, e.type = Qe, e.expirationTime = o, e; case it: return (e = Hn(13, r, t, i)).elementType = it, e.type = it, e.expirationTime = o, e; default: if ("object" == typeof e && null !== e) switch (e.$$typeof) { case et: a = 10; break e; case tt: a = 9; break e; case nt: a = 11; break e; case ot: a = 14; break e; case at: a = 16, n = null; break e } s("130", null == e ? e : typeof e, "") } return (t = Hn(a, r, t, i)).elementType = e, t.type = n, t.expirationTime = o, t } function $n(e, t, r, n) { return (e = Hn(7, e, n, t)).expirationTime = r, e } function Jn(e, t, r, n) { return e = Hn(8, e, n, t), t = 0 == (1 & t) ? Ze : rt, e.elementType = t, e.type = t, e.expirationTime = r, e } function Xn(e, t, r) { return (e = Hn(6, e, null, t)).expirationTime = r, e } function Zn(e, t, r) { return (t = Hn(4, null !== e.children ? e.children : [], e.key, t)).expirationTime = r, t.stateNode = { containerInfo: e.containerInfo, pendingChildren: null, implementation: e.implementation }, t } function Qn(e, t) { e.didError = !1; var r = e.earliestPendingTime; 0 === r ? e.earliestPendingTime = e.latestPendingTime = t : r < t ? e.earliestPendingTime = t : e.latestPendingTime > t && (e.latestPendingTime = t), ri(t, e) } function ei(e, t) { e.didError = !1, e.latestPingedTime >= t && (e.latestPingedTime = 0); var r = e.earliestPendingTime, n = e.latestPendingTime; r === t ? e.earliestPendingTime = n === t ? e.latestPendingTime = 0 : n : n === t && (e.latestPendingTime = r), r = e.earliestSuspendedTime, n = e.latestSuspendedTime, 0 === r ? e.earliestSuspendedTime = e.latestSuspendedTime = t : r < t ? e.earliestSuspendedTime = t : n > t && (e.latestSuspendedTime = t), ri(t, e) } function ti(e, t) { var r = e.earliestPendingTime; return r > t && (t = r), (e = e.earliestSuspendedTime) > t && (t = e), t } function ri(e, t) { var r = t.earliestSuspendedTime, n = t.latestSuspendedTime, i = t.earliestPendingTime, o = t.latestPingedTime; 0 === (i = 0 !== i ? i : o) && (0 === e || n < e) && (i = n), 0 !== (e = i) && r > e && (e = r), t.nextExpirationTimeToWorkOn = i, t.expirationTime = e } function ni(e, t) { if (e && e.defaultProps) for (var r in t = i({}, t), e = e.defaultProps) void 0 === t[r] && (t[r] = e[r]); return t } var ii = (new n.Component).refs; function oi(e, t, r, n) { r = null == (r = r(n, t = e.memoizedState)) ? t : i({}, t, r), e.memoizedState = r, null !== (n = e.updateQueue) && 0 === e.expirationTime && (n.baseState = r) } var ai = { isMounted: function(e) { return !!(e = e._reactInternalFiber) && 2 === nr(e) }, enqueueSetState: function(e, t, r) { e = e._reactInternalFiber; var n = ds(), i = Vo(n = Ua(n, e)); i.payload = t, null != r && (i.callback = r), ka(), qo(e, i), Va(e, n) }, enqueueReplaceState: function(e, t, r) { e = e._reactInternalFiber; var n = ds(), i = Vo(n = Ua(n, e)); i.tag = Do, i.payload = t, null != r && (i.callback = r), ka(), qo(e, i), Va(e, n) }, enqueueForceUpdate: function(e, t) { e = e._reactInternalFiber; var r = ds(), n = Vo(r = Ua(r, e)); n.tag = Uo, null != t && (n.callback = t), ka(), qo(e, n), Va(e, r) } }; function si(e, t, r, n, i, o, a) { return "function" == typeof(e = e.stateNode).shouldComponentUpdate ? e.shouldComponentUpdate(n, o, a) : !(t.prototype && t.prototype.isPureReactComponent && rr(r, n) && rr(i, o)) } function ui(e, t, r) { var n = !1, i = Pn, o = t.contextType; return "object" == typeof o && null !== o ? o = Ro(o) : (i = Ln(t) ? kn : xn.current, o = (n = null != (n = t.contextTypes)) ? Rn(e, i) : Pn), t = new t(r, o), e.memoizedState = null !== t.state && void 0 !== t.state ? t.state : null, t.updater = ai, e.stateNode = t, t._reactInternalFiber = e, n && ((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = i, e.__reactInternalMemoizedMaskedChildContext = o), t } function ci(e, t, r, n) { e = t.state, "function" == typeof t.componentWillReceiveProps && t.componentWillReceiveProps(r, n), "function" == typeof t.UNSAFE_componentWillReceiveProps && t.UNSAFE_componentWillReceiveProps(r, n), t.state !== e && ai.enqueueReplaceState(t, t.state, null) } function li(e, t, r, n) { var i = e.stateNode; i.props = r, i.state = e.memoizedState, i.refs = ii; var o = t.contextType; "object" == typeof o && null !== o ? i.context = Ro(o) : (o = Ln(t) ? kn : xn.current, i.context = Rn(e, o)), null !== (o = e.updateQueue) && (Ko(e, o, r, i, n), i.state = e.memoizedState), "function" == typeof(o = t.getDerivedStateFromProps) && (oi(e, t, o, r), i.state = e.memoizedState), "function" == typeof t.getDerivedStateFromProps || "function" == typeof i.getSnapshotBeforeUpdate || "function" != typeof i.UNSAFE_componentWillMount && "function" != typeof i.componentWillMount || (t = i.state, "function" == typeof i.componentWillMount && i.componentWillMount(), "function" == typeof i.UNSAFE_componentWillMount && i.UNSAFE_componentWillMount(), t !== i.state && ai.enqueueReplaceState(i, i.state, null), null !== (o = e.updateQueue) && (Ko(e, o, r, i, n), i.state = e.memoizedState)), "function" == typeof i.componentDidMount && (e.effectTag |= 4) } var fi = Array.isArray; function pi(e, t, r) { if (null !== (e = r.ref) && "function" != typeof e && "object" != typeof e) { if (r._owner) { r = r._owner; var n = void 0; r && (1 !== r.tag && s("309"), n = r.stateNode), n || s("147", e); var i = "" + e; return null !== t && null !== t.ref && "function" == typeof t.ref && t.ref._stringRef === i ? t.ref : ((t = function(e) { var t = n.refs; t === ii && (t = n.refs = {}), null === e ? delete t[i] : t[i] = e })._stringRef = i, t) } "string" != typeof e && s("284"), r._owner || s("290", e) } return e } function di(e, t) { "textarea" !== e.type && s("31", "[object Object]" === Object.prototype.toString.call(t) ? "object with keys {" + Object.keys(t).join(", ") + "}" : t, "") } function hi(e) { function t(t, r) { if (e) { var n = t.lastEffect; null !== n ? (n.nextEffect = r, t.lastEffect = r) : t.firstEffect = t.lastEffect = r, r.nextEffect = null, r.effectTag = 8 } } function r(r, n) { if (!e) return null; for (; null !== n;) t(r, n), n = n.sibling; return null } function n(e, t) { for (e = new Map; null !== t;) null !== t.key ? e.set(t.key, t) : e.set(t.index, t), t = t.sibling; return e } function i(e, t, r) { return (e = Yn(e, t)).index = 0, e.sibling = null, e } function o(t, r, n) { return t.index = n, e ? null !== (n = t.alternate) ? (n = n.index) < r ? (t.effectTag = 2, r) : n : (t.effectTag = 2, r) : r } function a(t) { return e && null === t.alternate && (t.effectTag = 2), t } function u(e, t, r, n) { return null === t || 6 !== t.tag ? ((t = Xn(r, e.mode, n)).return = e, t) : ((t = i(t, r)).return = e, t) } function c(e, t, r, n) { return null !== t && t.elementType === r.type ? ((n = i(t, r.props)).ref = pi(e, t, r), n.return = e, n) : ((n = Kn(r.type, r.key, r.props, null, e.mode, n)).ref = pi(e, t, r), n.return = e, n) } function l(e, t, r, n) { return null === t || 4 !== t.tag || t.stateNode.containerInfo !== r.containerInfo || t.stateNode.implementation !== r.implementation ? ((t = Zn(r, e.mode, n)).return = e, t) : ((t = i(t, r.children || [])).return = e, t) } function f(e, t, r, n, o) { return null === t || 7 !== t.tag ? ((t = $n(r, e.mode, n, o)).return = e, t) : ((t = i(t, r)).return = e, t) } function p(e, t, r) { if ("string" == typeof t || "number" == typeof t) return (t = Xn("" + t, e.mode, r)).return = e, t; if ("object" == typeof t && null !== t) { switch (t.$$typeof) { case $e: return (r = Kn(t.type, t.key, t.props, null, e.mode, r)).ref = pi(e, null, t), r.return = e, r; case Je: return (t = Zn(t, e.mode, r)).return = e, t } if (fi(t) || ut(t)) return (t = $n(t, e.mode, r, null)).return = e, t; di(e, t) } return null } function d(e, t, r, n) { var i = null !== t ? t.key : null; if ("string" == typeof r || "number" == typeof r) return null !== i ? null : u(e, t, "" + r, n); if ("object" == typeof r && null !== r) { switch (r.$$typeof) { case $e: return r.key === i ? r.type === Xe ? f(e, t, r.props.children, n, i) : c(e, t, r, n) : null; case Je: return r.key === i ? l(e, t, r, n) : null } if (fi(r) || ut(r)) return null !== i ? null : f(e, t, r, n, null); di(e, r) } return null } function h(e, t, r, n, i) { if ("string" == typeof n || "number" == typeof n) return u(t, e = e.get(r) || null, "" + n, i); if ("object" == typeof n && null !== n) { switch (n.$$typeof) { case $e: return e = e.get(null === n.key ? r : n.key) || null, n.type === Xe ? f(t, e, n.props.children, i, n.key) : c(t, e, n, i); case Je: return l(t, e = e.get(null === n.key ? r : n.key) || null, n, i) } if (fi(n) || ut(n)) return f(t, e = e.get(r) || null, n, i, null); di(t, n) } return null } function v(i, a, s, u) { for (var c = null, l = null, f = a, v = a = 0, m = null; null !== f && v < s.length; v++) { f.index > v ? (m = f, f = null) : m = f.sibling; var y = d(i, f, s[v], u); if (null === y) { null === f && (f = m); break } e && f && null === y.alternate && t(i, f), a = o(y, a, v), null === l ? c = y : l.sibling = y, l = y, f = m } if (v === s.length) return r(i, f), c; if (null === f) { for (; v < s.length; v++)(f = p(i, s[v], u)) && (a = o(f, a, v), null === l ? c = f : l.sibling = f, l = f); return c } for (f = n(i, f); v < s.length; v++)(m = h(f, i, v, s[v], u)) && (e && null !== m.alternate && f.delete(null === m.key ? v : m.key), a = o(m, a, v), null === l ? c = m : l.sibling = m, l = m); return e && f.forEach((function(e) { return t(i, e) })), c } function m(i, a, u, c) { var l = ut(u); "function" != typeof l && s("150"), null == (u = l.call(u)) && s("151"); for (var f = l = null, v = a, m = a = 0, y = null, b = u.next(); null !== v && !b.done; m++, b = u.next()) { v.index > m ? (y = v, v = null) : y = v.sibling; var g = d(i, v, b.value, c); if (null === g) { v || (v = y); break } e && v && null === g.alternate && t(i, v), a = o(g, a, m), null === f ? l = g : f.sibling = g, f = g, v = y } if (b.done) return r(i, v), l; if (null === v) { for (; !b.done; m++, b = u.next()) null !== (b = p(i, b.value, c)) && (a = o(b, a, m), null === f ? l = b : f.sibling = b, f = b); return l } for (v = n(i, v); !b.done; m++, b = u.next()) null !== (b = h(v, i, m, b.value, c)) && (e && null !== b.alternate && v.delete(null === b.key ? m : b.key), a = o(b, a, m), null === f ? l = b : f.sibling = b, f = b); return e && v.forEach((function(e) { return t(i, e) })), l } return function(e, n, o, u) { var c = "object" == typeof o && null !== o && o.type === Xe && null === o.key; c && (o = o.props.children); var l = "object" == typeof o && null !== o; if (l) switch (o.$$typeof) { case $e: e: { for (l = o.key, c = n; null !== c;) { if (c.key === l) { if (7 === c.tag ? o.type === Xe : c.elementType === o.type) { r(e, c.sibling), (n = i(c, o.type === Xe ? o.props.children : o.props)).ref = pi(e, c, o), n.return = e, e = n; break e } r(e, c); break } t(e, c), c = c.sibling } o.type === Xe ? ((n = $n(o.props.children, e.mode, u, o.key)).return = e, e = n) : ((u = Kn(o.type, o.key, o.props, null, e.mode, u)).ref = pi(e, n, o), u.return = e, e = u) } return a(e); case Je: e: { for (c = o.key; null !== n;) { if (n.key === c) { if (4 === n.tag && n.stateNode.containerInfo === o.containerInfo && n.stateNode.implementation === o.implementation) { r(e, n.sibling), (n = i(n, o.children || [])).return = e, e = n; break e } r(e, n); break } t(e, n), n = n.sibling }(n = Zn(o, e.mode, u)).return = e, e = n } return a(e) } if ("string" == typeof o || "number" == typeof o) return o = "" + o, null !== n && 6 === n.tag ? (r(e, n.sibling), (n = i(n, o)).return = e, e = n) : (r(e, n), (n = Xn(o, e.mode, u)).return = e, e = n), a(e); if (fi(o)) return v(e, n, o, u); if (ut(o)) return m(e, n, o, u); if (l && di(e, o), void 0 === o && !c) switch (e.tag) { case 1: case 0: s("152", (u = e.type).displayName || u.name || "Component") } return r(e, n) } } var vi = hi(!0), mi = hi(!1), yi = {}, bi = { current: yi }, gi = { current: yi }, _i = { current: yi }; function Ti(e) { return e === yi && s("174"), e } function Si(e, t) { In(_i, t), In(gi, e), In(bi, yi); var r = t.nodeType; switch (r) { case 9: case 11: t = (t = t.documentElement) ? t.namespaceURI : tn(null, ""); break; default: t = tn(t = (r = 8 === r ? t.parentNode : t).namespaceURI || null, r = r.tagName) } wn(bi), In(bi, t) } function Ai(e) { wn(bi), wn(gi), wn(_i) } function Ei(e) { Ti(_i.current); var t = Ti(bi.current), r = tn(t, e.type); t !== r && (In(gi, e), In(bi, r)) } function Ci(e) { gi.current === e && (wn(bi), wn(gi)) } var Oi = We.ReactCurrentDispatcher, wi = 0, Ii = null, Pi = null, xi = null, Ni = null, ki = null, Ri = null, Li = 0, Mi = null, ji = 0, Di = !1, Ui = null, Bi = 0; function Fi() { s("321") } function zi(e, t) { if (null === t) return !1; for (var r = 0; r < t.length && r < e.length; r++) if (!er(e[r], t[r])) return !1; return !0 } function Vi(e, t, r, n, i, o) { if (wi = o, Ii = t, xi = null !== e ? e.memoizedState : null, Oi.current = null === xi ? to : ro, t = r(n, i), Di) { do { Di = !1, Bi += 1, xi = null !== e ? e.memoizedState : null, Ri = Ni, Mi = ki = Pi = null, Oi.current = ro, t = r(n, i) } while (Di); Ui = null, Bi = 0 } return Oi.current = eo, (e = Ii).memoizedState = Ni, e.expirationTime = Li, e.updateQueue = Mi, e.effectTag |= ji, e = null !== Pi && null !== Pi.next, wi = 0, Ri = ki = Ni = xi = Pi = Ii = null, Li = 0, Mi = null, ji = 0, e && s("300"), t } function Gi() { Oi.current = eo, wi = 0, Ri = ki = Ni = xi = Pi = Ii = null, Li = 0, Mi = null, ji = 0, Di = !1, Ui = null, Bi = 0 } function qi() { var e = { memoizedState: null, baseState: null, queue: null, baseUpdate: null, next: null }; return null === ki ? Ni = ki = e : ki = ki.next = e, ki } function Hi() { if (null !== Ri) Ri = (ki = Ri).next, xi = null !== (Pi = xi) ? Pi.next : null; else { null === xi && s("310"); var e = { memoizedState: (Pi = xi).memoizedState, baseState: Pi.baseState, queue: Pi.queue, baseUpdate: Pi.baseUpdate, next: null }; ki = null === ki ? Ni = e : ki.next = e, xi = Pi.next } return ki } function Wi(e, t) { return "function" == typeof t ? t(e) : t } function Yi(e) { var t = Hi(), r = t.queue; if (null === r && s("311"), r.lastRenderedReducer = e, 0 < Bi) { var n = r.dispatch; if (null !== Ui) { var i = Ui.get(r); if (void 0 !== i) { Ui.delete(r); var o = t.memoizedState; do { o = e(o, i.action), i = i.next } while (null !== i); return er(o, t.memoizedState) || (ho = !0), t.memoizedState = o, t.baseUpdate === r.last && (t.baseState = o), r.lastRenderedState = o, [o, n] } } return [t.memoizedState, n] } n = r.last; var a = t.baseUpdate; if (o = t.baseState, null !== a ? (null !== n && (n.next = null), n = a.next) : n = null !== n ? n.next : null, null !== n) { var u = i = null, c = n, l = !1; do { var f = c.expirationTime; f < wi ? (l || (l = !0, u = a, i = o), f > Li && (Li = f)) : o = c.eagerReducer === e ? c.eagerState : e(o, c.action), a = c, c = c.next } while (null !== c && c !== n); l || (u = a, i = o), er(o, t.memoizedState) || (ho = !0), t.memoizedState = o, t.baseUpdate = u, t.baseState = i, r.lastRenderedState = o } return [t.memoizedState, r.dispatch] } function Ki(e, t, r, n) { return e = { tag: e, create: t, destroy: r, deps: n, next: null }, null === Mi ? (Mi = { lastEffect: null }).lastEffect = e.next = e : null === (t = Mi.lastEffect) ? Mi.lastEffect = e.next = e : (r = t.next, t.next = e, e.next = r, Mi.lastEffect = e), e } function $i(e, t, r, n) { var i = qi(); ji |= e, i.memoizedState = Ki(t, r, void 0, void 0 === n ? null : n) } function Ji(e, t, r, n) { var i = Hi(); n = void 0 === n ? null : n; var o = void 0; if (null !== Pi) { var a = Pi.memoizedState; if (o = a.destroy, null !== n && zi(n, a.deps)) return void Ki(0, r, o, n) } ji |= e, i.memoizedState = Ki(t, r, o, n) } function Xi(e, t) { return "function" == typeof t ? (e = e(), t(e), function() { t(null) }) : null != t ? (e = e(), t.current = e, function() { t.current = null }) : void 0 } function Zi() {} function Qi(e, t, r) { 25 > Bi || s("301"); var n = e.alternate; if (e === Ii || null !== n && n === Ii) if (Di = !0, e = { expirationTime: wi, action: r, eagerReducer: null, eagerState: null, next: null }, null === Ui && (Ui = new Map), void 0 === (r = Ui.get(t))) Ui.set(t, e); else { for (t = r; null !== t.next;) t = t.next; t.next = e } else { ka(); var i = ds(), o = { expirationTime: i = Ua(i, e), action: r, eagerReducer: null, eagerState: null, next: null }, a = t.last; if (null === a) o.next = o; else { var u = a.next; null !== u && (o.next = u), a.next = o } if (t.last = o, 0 === e.expirationTime && (null === n || 0 === n.expirationTime) && null !== (n = t.lastRenderedReducer)) try { var c = t.lastRenderedState, l = n(c, r); if (o.eagerReducer = n, o.eagerState = l, er(l, c)) return } catch (e) {} Va(e, i) } } var eo = { readContext: Ro, useCallback: Fi, useContext: Fi, useEffect: Fi, useImperativeHandle: Fi, useLayoutEffect: Fi, useMemo: Fi, useReducer: Fi, useRef: Fi, useState: Fi, useDebugValue: Fi }, to = { readContext: Ro, useCallback: function(e, t) { return qi().memoizedState = [e, void 0 === t ? null : t], e }, useContext: Ro, useEffect: function(e, t) { return $i(516, 192, e, t) }, useImperativeHandle: function(e, t, r) { return r = null != r ? r.concat([e]) : null, $i(4, 36, Xi.bind(null, t, e), r) }, useLayoutEffect: function(e, t) { return $i(4, 36, e, t) }, useMemo: function(e, t) { var r = qi(); return t = void 0 === t ? null : t, e = e(), r.memoizedState = [e, t], e }, useReducer: function(e, t, r) { var n = qi(); return t = void 0 !== r ? r(t) : t, n.memoizedState = n.baseState = t, e = (e = n.queue = { last: null, dispatch: null, lastRenderedReducer: e, lastRenderedState: t }).dispatch = Qi.bind(null, Ii, e), [n.memoizedState, e] }, useRef: function(e) { return e = { current: e }, qi().memoizedState = e }, useState: function(e) { var t = qi(); return "function" == typeof e && (e = e()), t.memoizedState = t.baseState = e, e = (e = t.queue = { last: null, dispatch: null, lastRenderedReducer: Wi, lastRenderedState: e }).dispatch = Qi.bind(null, Ii, e), [t.memoizedState, e] }, useDebugValue: Zi }, ro = { readContext: Ro, useCallback: function(e, t) { var r = Hi(); t = void 0 === t ? null : t; var n = r.memoizedState; return null !== n && null !== t && zi(t, n[1]) ? n[0] : (r.memoizedState = [e, t], e) }, useContext: Ro, useEffect: function(e, t) { return Ji(516, 192, e, t) }, useImperativeHandle: function(e, t, r) { return r = null != r ? r.concat([e]) : null, Ji(4, 36, Xi.bind(null, t, e), r) }, useLayoutEffect: function(e, t) { return Ji(4, 36, e, t) }, useMemo: function(e, t) { var r = Hi(); t = void 0 === t ? null : t; var n = r.memoizedState; return null !== n && null !== t && zi(t, n[1]) ? n[0] : (e = e(), r.memoizedState = [e, t], e) }, useReducer: Yi, useRef: function() { return Hi().memoizedState }, useState: function(e) { return Yi(Wi) }, useDebugValue: Zi }, no = null, io = null, oo = !1; function ao(e, t) { var r = Hn(5, null, null, 0); r.elementType = "DELETED", r.type = "DELETED", r.stateNode = t, r.return = e, r.effectTag = 8, null !== e.lastEffect ? (e.lastEffect.nextEffect = r, e.lastEffect = r) : e.firstEffect = e.lastEffect = r } function so(e, t) { switch (e.tag) { case 5: var r = e.type; return null !== (t = 1 !== t.nodeType || r.toLowerCase() !== t.nodeName.toLowerCase() ? null : t) && (e.stateNode = t, !0); case 6: return null !== (t = "" === e.pendingProps || 3 !== t.nodeType ? null : t) && (e.stateNode = t, !0); case 13: default: return !1 } } function uo(e) { if (oo) { var t = io; if (t) { var r = t; if (!so(e, t)) { if (!(t = An(r)) || !so(e, t)) return e.effectTag |= 2, oo = !1, void(no = e); ao(no, r) } no = e, io = En(t) } else e.effectTag |= 2, oo = !1, no = e } } function co(e) { for (e = e.return; null !== e && 5 !== e.tag && 3 !== e.tag && 18 !== e.tag;) e = e.return; no = e } function lo(e) { if (e !== no) return !1; if (!oo) return co(e), oo = !0, !1; var t = e.type; if (5 !== e.tag || "head" !== t && "body" !== t && !bn(t, e.memoizedProps)) for (t = io; t;) ao(e, t), t = An(t); return co(e), io = no ? An(e.stateNode) : null, !0 } function fo() { io = no = null, oo = !1 } var po = We.ReactCurrentOwner, ho = !1; function vo(e, t, r, n) { t.child = null === e ? mi(t, null, r, n) : vi(t, e.child, r, n) } function mo(e, t, r, n, i) { r = r.render; var o = t.ref; return ko(t, i), n = Vi(e, t, r, n, o, i), null === e || ho ? (t.effectTag |= 1, vo(e, t, n, i), t.child) : (t.updateQueue = e.updateQueue, t.effectTag &= -517, e.expirationTime <= i && (e.expirationTime = 0), Co(e, t, i)) } function yo(e, t, r, n, i, o) { if (null === e) { var a = r.type; return "function" != typeof a || Wn(a) || void 0 !== a.defaultProps || null !== r.compare || void 0 !== r.defaultProps ? ((e = Kn(r.type, null, n, null, t.mode, o)).ref = t.ref, e.return = t, t.child = e) : (t.tag = 15, t.type = a, bo(e, t, a, n, i, o)) } return a = e.child, i < o && (i = a.memoizedProps, (r = null !== (r = r.compare) ? r : rr)(i, n) && e.ref === t.ref) ? Co(e, t, o) : (t.effectTag |= 1, (e = Yn(a, n)).ref = t.ref, e.return = t, t.child = e) } function bo(e, t, r, n, i, o) { return null !== e && rr(e.memoizedProps, n) && e.ref === t.ref && (ho = !1, i < o) ? Co(e, t, o) : _o(e, t, r, n, o) } function go(e, t) { var r = t.ref; (null === e && null !== r || null !== e && e.ref !== r) && (t.effectTag |= 128) } function _o(e, t, r, n, i) { var o = Ln(r) ? kn : xn.current; return o = Rn(t, o), ko(t, i), r = Vi(e, t, r, n, o, i), null === e || ho ? (t.effectTag |= 1, vo(e, t, r, i), t.child) : (t.updateQueue = e.updateQueue, t.effectTag &= -517, e.expirationTime <= i && (e.expirationTime = 0), Co(e, t, i)) } function To(e, t, r, n, i) { if (Ln(r)) { var o = !0; Bn(t) } else o = !1; if (ko(t, i), null === t.stateNode) null !== e && (e.alternate = null, t.alternate = null, t.effectTag |= 2), ui(t, r, n), li(t, r, n, i), n = !0; else if (null === e) { var a = t.stateNode, s = t.memoizedProps; a.props = s; var u = a.context, c = r.contextType; c = "object" == typeof c && null !== c ? Ro(c) : Rn(t, c = Ln(r) ? kn : xn.current); var l = r.getDerivedStateFromProps, f = "function" == typeof l || "function" == typeof a.getSnapshotBeforeUpdate; f || "function" != typeof a.UNSAFE_componentWillReceiveProps && "function" != typeof a.componentWillReceiveProps || (s !== n || u !== c) && ci(t, a, n, c), Bo = !1; var p = t.memoizedState; u = a.state = p; var d = t.updateQueue; null !== d && (Ko(t, d, n, a, i), u = t.memoizedState), s !== n || p !== u || Nn.current || Bo ? ("function" == typeof l && (oi(t, r, l, n), u = t.memoizedState), (s = Bo || si(t, r, s, n, p, u, c)) ? (f || "function" != typeof a.UNSAFE_componentWillMount && "function" != typeof a.componentWillMount || ("function" == typeof a.componentWillMount && a.componentWillMount(), "function" == typeof a.UNSAFE_componentWillMount && a.UNSAFE_componentWillMount()), "function" == typeof a.componentDidMount && (t.effectTag |= 4)) : ("function" == typeof a.componentDidMount && (t.effectTag |= 4), t.memoizedProps = n, t.memoizedState = u), a.props = n, a.state = u, a.context = c, n = s) : ("function" == typeof a.componentDidMount && (t.effectTag |= 4), n = !1) } else a = t.stateNode, s = t.memoizedProps, a.props = t.type === t.elementType ? s : ni(t.type, s), u = a.context, c = "object" == typeof(c = r.contextType) && null !== c ? Ro(c) : Rn(t, c = Ln(r) ? kn : xn.current), (f = "function" == typeof(l = r.getDerivedStateFromProps) || "function" == typeof a.getSnapshotBeforeUpdate) || "function" != typeof a.UNSAFE_componentWillReceiveProps && "function" != typeof a.componentWillReceiveProps || (s !== n || u !== c) && ci(t, a, n, c), Bo = !1, u = t.memoizedState, p = a.state = u, null !== (d = t.updateQueue) && (Ko(t, d, n, a, i), p = t.memoizedState), s !== n || u !== p || Nn.current || Bo ? ("function" == typeof l && (oi(t, r, l, n), p = t.memoizedState), (l = Bo || si(t, r, s, n, u, p, c)) ? (f || "function" != typeof a.UNSAFE_componentWillUpdate && "function" != typeof a.componentWillUpdate || ("function" == typeof a.componentWillUpdate && a.componentWillUpdate(n, p, c), "function" == typeof a.UNSAFE_componentWillUpdate && a.UNSAFE_componentWillUpdate(n, p, c)), "function" == typeof a.componentDidUpdate && (t.effectTag |= 4), "function" == typeof a.getSnapshotBeforeUpdate && (t.effectTag |= 256)) : ("function" != typeof a.componentDidUpdate || s === e.memoizedProps && u === e.memoizedState || (t.effectTag |= 4), "function" != typeof a.getSnapshotBeforeUpdate || s === e.memoizedProps && u === e.memoizedState || (t.effectTag |= 256), t.memoizedProps = n, t.memoizedState = p), a.props = n, a.state = p, a.context = c, n = l) : ("function" != typeof a.componentDidUpdate || s === e.memoizedProps && u === e.memoizedState || (t.effectTag |= 4), "function" != typeof a.getSnapshotBeforeUpdate || s === e.memoizedProps && u === e.memoizedState || (t.effectTag |= 256), n = !1); return So(e, t, r, n, o, i) } function So(e, t, r, n, i, o) { go(e, t); var a = 0 != (64 & t.effectTag); if (!n && !a) return i && Fn(t, r, !1), Co(e, t, o); n = t.stateNode, po.current = t; var s = a && "function" != typeof r.getDerivedStateFromError ? null : n.render(); return t.effectTag |= 1, null !== e && a ? (t.child = vi(t, e.child, null, o), t.child = vi(t, null, s, o)) : vo(e, t, s, o), t.memoizedState = n.state, i && Fn(t, r, !0), t.child } function Ao(e) { var t = e.stateNode; t.pendingContext ? Dn(0, t.pendingContext, t.pendingContext !== t.context) : t.context && Dn(0, t.context, !1), Si(e, t.containerInfo) } function Eo(e, t, r) { var n = t.mode, i = t.pendingProps, o = t.memoizedState; if (0 == (64 & t.effectTag)) { o = null; var a = !1 } else o = { timedOutAt: null !== o ? o.timedOutAt : 0 }, a = !0, t.effectTag &= -65; if (null === e) if (a) { var s = i.fallback; e = $n(null, n, 0, null), 0 == (1 & t.mode) && (e.child = null !== t.memoizedState ? t.child.child : t.child), n = $n(s, n, r, null), e.sibling = n, (r = e).return = n.return = t } else r = n = mi(t, null, i.children, r); else null !== e.memoizedState ? (s = (n = e.child).sibling, a ? (r = i.fallback, i = Yn(n, n.pendingProps), 0 == (1 & t.mode) && (a = null !== t.memoizedState ? t.child.child : t.child) !== n.child && (i.child = a), n = i.sibling = Yn(s, r, s.expirationTime), r = i, i.childExpirationTime = 0, r.return = n.return = t) : r = n = vi(t, n.child, i.children, r)) : (s = e.child, a ? (a = i.fallback, (i = $n(null, n, 0, null)).child = s, 0 == (1 & t.mode) && (i.child = null !== t.memoizedState ? t.child.child : t.child), (n = i.sibling = $n(a, n, r, null)).effectTag |= 2, r = i, i.childExpirationTime = 0, r.return = n.return = t) : n = r = vi(t, s, i.children, r)), t.stateNode = e.stateNode; return t.memoizedState = o, t.child = r, n } function Co(e, t, r) { if (null !== e && (t.contextDependencies = e.contextDependencies), t.childExpirationTime < r) return null; if (null !== e && t.child !== e.child && s("153"), null !== t.child) { for (r = Yn(e = t.child, e.pendingProps, e.expirationTime), t.child = r, r.return = t; null !== e.sibling;) e = e.sibling, (r = r.sibling = Yn(e, e.pendingProps, e.expirationTime)).return = t; r.sibling = null } return t.child } var Oo = { current: null }, wo = null, Io = null, Po = null; function xo(e, t) { var r = e.type._context; In(Oo, r._currentValue), r._currentValue = t } function No(e) { var t = Oo.current; wn(Oo), e.type._context._currentValue = t } function ko(e, t) { wo = e, Po = Io = null; var r = e.contextDependencies; null !== r && r.expirationTime >= t && (ho = !0), e.contextDependencies = null } function Ro(e, t) { return Po !== e && !1 !== t && 0 !== t && ("number" == typeof t && 1073741823 !== t || (Po = e, t = 1073741823), t = { context: e, observedBits: t, next: null }, null === Io ? (null === wo && s("308"), Io = t, wo.contextDependencies = { first: t, expirationTime: 0 }) : Io = Io.next = t), e._currentValue } var Lo, Mo, jo, Do = 1, Uo = 2, Bo = !1; function Fo(e) { return { baseState: e, firstUpdate: null, lastUpdate: null, firstCapturedUpdate: null, lastCapturedUpdate: null, firstEffect: null, lastEffect: null, firstCapturedEffect: null, lastCapturedEffect: null } } function zo(e) { return { baseState: e.baseState, firstUpdate: e.firstUpdate, lastUpdate: e.lastUpdate, firstCapturedUpdate: null, lastCapturedUpdate: null, firstEffect: null, lastEffect: null, firstCapturedEffect: null, lastCapturedEffect: null } } function Vo(e) { return { expirationTime: e, tag: 0, payload: null, callback: null, next: null, nextEffect: null } } function Go(e, t) { null === e.lastUpdate ? e.firstUpdate = e.lastUpdate = t : (e.lastUpdate.next = t, e.lastUpdate = t) } function qo(e, t) { var r = e.alternate; if (null === r) { var n = e.updateQueue, i = null; null === n && (n = e.updateQueue = Fo(e.memoizedState)) } else n = e.updateQueue, i = r.updateQueue, null === n ? null === i ? (n = e.updateQueue = Fo(e.memoizedState), i = r.updateQueue = Fo(r.memoizedState)) : n = e.updateQueue = zo(i) : null === i && (i = r.updateQueue = zo(n)); null === i || n === i ? Go(n, t) : null === n.lastUpdate || null === i.lastUpdate ? (Go(n, t), Go(i, t)) : (Go(n, t), i.lastUpdate = t) } function Ho(e, t) { var r = e.updateQueue; null === (r = null === r ? e.updateQueue = Fo(e.memoizedState) : Wo(e, r)).lastCapturedUpdate ? r.firstCapturedUpdate = r.lastCapturedUpdate = t : (r.lastCapturedUpdate.next = t, r.lastCapturedUpdate = t) } function Wo(e, t) { var r = e.alternate; return null !== r && t === r.updateQueue && (t = e.updateQueue = zo(t)), t } function Yo(e, t, r, n, o, a) { switch (r.tag) { case Do: return "function" == typeof(e = r.payload) ? e.call(a, n, o) : e; case 3: e.effectTag = -2049 & e.effectTag | 64; case 0: if (null == (o = "function" == typeof(e = r.payload) ? e.call(a, n, o) : e)) break; return i({}, n, o); case Uo: Bo = !0 } return n } function Ko(e, t, r, n, i) { Bo = !1; for (var o = (t = Wo(e, t)).baseState, a = null, s = 0, u = t.firstUpdate, c = o; null !== u;) { var l = u.expirationTime; l < i ? (null === a && (a = u, o = c), s < l && (s = l)) : (c = Yo(e, 0, u, c, r, n), null !== u.callback && (e.effectTag |= 32, u.nextEffect = null, null === t.lastEffect ? t.firstEffect = t.lastEffect = u : (t.lastEffect.nextEffect = u, t.lastEffect = u))), u = u.next } for (l = null, u = t.firstCapturedUpdate; null !== u;) { var f = u.expirationTime; f < i ? (null === l && (l = u, null === a && (o = c)), s < f && (s = f)) : (c = Yo(e, 0, u, c, r, n), null !== u.callback && (e.effectTag |= 32, u.nextEffect = null, null === t.lastCapturedEffect ? t.firstCapturedEffect = t.lastCapturedEffect = u : (t.lastCapturedEffect.nextEffect = u, t.lastCapturedEffect = u))), u = u.next } null === a && (t.lastUpdate = null), null === l ? t.lastCapturedUpdate = null : e.effectTag |= 32, null === a && null === l && (o = c), t.baseState = o, t.firstUpdate = a, t.firstCapturedUpdate = l, e.expirationTime = s, e.memoizedState = c } function $o(e, t, r) { null !== t.firstCapturedUpdate && (null !== t.lastUpdate && (t.lastUpdate.next = t.firstCapturedUpdate, t.lastUpdate = t.lastCapturedUpdate), t.firstCapturedUpdate = t.lastCapturedUpdate = null), Jo(t.firstEffect, r), t.firstEffect = t.lastEffect = null, Jo(t.firstCapturedEffect, r), t.firstCapturedEffect = t.lastCapturedEffect = null } function Jo(e, t) { for (; null !== e;) { var r = e.callback; if (null !== r) { e.callback = null; var n = t; "function" != typeof r && s("191", r), r.call(n) } e = e.nextEffect } } function Xo(e, t) { return { value: e, source: t, stack: lt(t) } } function Zo(e) { e.effectTag |= 4 } Lo = function(e, t) { for (var r = t.child; null !== r;) { if (5 === r.tag || 6 === r.tag) e.appendChild(r.stateNode); else if (4 !== r.tag && null !== r.child) { r.child.return = r, r = r.child; continue } if (r === t) break; for (; null === r.sibling;) { if (null === r.return || r.return === t) return; r = r.return } r.sibling.return = r.return, r = r.sibling } }, Mo = function(e, t, r, n, o) { var a = e.memoizedProps; if (a !== n) { var s = t.stateNode; switch (Ti(bi.current), e = null, r) { case "input": a = Tt(s, a), n = Tt(s, n), e = []; break; case "option": a = Yr(s, a), n = Yr(s, n), e = []; break; case "select": a = i({}, a, { value: void 0 }), n = i({}, n, { value: void 0 }), e = []; break; case "textarea": a = $r(s, a), n = $r(s, n), e = []; break; default: "function" != typeof a.onClick && "function" == typeof n.onClick && (s.onclick = hn) } fn(r, n), s = r = void 0; var u = null; for (r in a) if (!n.hasOwnProperty(r) && a.hasOwnProperty(r) && null != a[r]) if ("style" === r) { var c = a[r]; for (s in c) c.hasOwnProperty(s) && (u || (u = {}), u[s] = "") } else "dangerouslySetInnerHTML" !== r && "children" !== r && "suppressContentEditableWarning" !== r && "suppressHydrationWarning" !== r && "autoFocus" !== r && (T.hasOwnProperty(r) ? e || (e = []) : (e = e || []).push(r, null)); for (r in n) { var l = n[r]; if (c = null != a ? a[r] : void 0, n.hasOwnProperty(r) && l !== c && (null != l || null != c)) if ("style" === r) if (c) { for (s in c) !c.hasOwnProperty(s) || l && l.hasOwnProperty(s) || (u || (u = {}), u[s] = ""); for (s in l) l.hasOwnProperty(s) && c[s] !== l[s] && (u || (u = {}), u[s] = l[s]) } else u || (e || (e = []), e.push(r, u)), u = l; else "dangerouslySetInnerHTML" === r ? (l = l ? l.__html : void 0, c = c ? c.__html : void 0, null != l && c !== l && (e = e || []).push(r, "" + l)) : "children" === r ? c === l || "string" != typeof l && "number" != typeof l || (e = e || []).push(r, "" + l) : "suppressContentEditableWarning" !== r && "suppressHydrationWarning" !== r && (T.hasOwnProperty(r) ? (null != l && dn(o, r), e || c === l || (e = [])) : (e = e || []).push(r, l)) } u && (e = e || []).push("style", u), o = e, (t.updateQueue = o) && Zo(t) } }, jo = function(e, t, r, n) { r !== n && Zo(t) }; var Qo = "function" == typeof WeakSet ? WeakSet : Set; function ea(e, t) { var r = t.source, n = t.stack; null === n && null !== r && (n = lt(r)), null !== r && ct(r.type), t = t.value, null !== e && 1 === e.tag && ct(e.type); try { console.error(t) } catch (e) { setTimeout((function() { throw e })) } } function ta(e) { var t = e.ref; if (null !== t) if ("function" == typeof t) try { t(null) } catch (t) { Da(e, t) } else t.current = null } function ra(e, t, r) { if (null !== (r = null !== (r = r.updateQueue) ? r.lastEffect : null)) { var n = r = r.next; do { if (0 != (n.tag & e)) { var i = n.destroy; n.destroy = void 0, void 0 !== i && i() } 0 != (n.tag & t) && (i = n.create, n.destroy = i()), n = n.next } while (n !== r) } } function na(e) { switch ("function" == typeof Vn && Vn(e), e.tag) { case 0: case 11: case 14: case 15: var t = e.updateQueue; if (null !== t && null !== (t = t.lastEffect)) { var r = t = t.next; do { var n = r.destroy; if (void 0 !== n) { var i = e; try { n() } catch (e) { Da(i, e) } } r = r.next } while (r !== t) } break; case 1: if (ta(e), "function" == typeof(t = e.stateNode).componentWillUnmount) try { t.props = e.memoizedProps, t.state = e.memoizedState, t.componentWillUnmount() } catch (t) { Da(e, t) } break; case 5: ta(e); break; case 4: aa(e) } } function ia(e) { return 5 === e.tag || 3 === e.tag || 4 === e.tag } function oa(e) { e: { for (var t = e.return; null !== t;) { if (ia(t)) { var r = t; break e } t = t.return } s("160"), r = void 0 } var n = t = void 0; switch (r.tag) { case 5: t = r.stateNode, n = !1; break; case 3: case 4: t = r.stateNode.containerInfo, n = !0; break; default: s("161") } 16 & r.effectTag && (on(t, ""), r.effectTag &= -17);e: t: for (r = e;;) { for (; null === r.sibling;) { if (null === r.return || ia(r.return)) { r = null; break e } r = r.return } for (r.sibling.return = r.return, r = r.sibling; 5 !== r.tag && 6 !== r.tag && 18 !== r.tag;) { if (2 & r.effectTag) continue t; if (null === r.child || 4 === r.tag) continue t; r.child.return = r, r = r.child } if (!(2 & r.effectTag)) { r = r.stateNode; break e } } for (var i = e;;) { if (5 === i.tag || 6 === i.tag) if (r) if (n) { var o = t, a = i.stateNode, u = r; 8 === o.nodeType ? o.parentNode.insertBefore(a, u) : o.insertBefore(a, u) } else t.insertBefore(i.stateNode, r); else n ? (a = t, u = i.stateNode, 8 === a.nodeType ? (o = a.parentNode).insertBefore(u, a) : (o = a).appendChild(u), null != (a = a._reactRootContainer) || null !== o.onclick || (o.onclick = hn)) : t.appendChild(i.stateNode); else if (4 !== i.tag && null !== i.child) { i.child.return = i, i = i.child; continue } if (i === e) break; for (; null === i.sibling;) { if (null === i.return || i.return === e) return; i = i.return } i.sibling.return = i.return, i = i.sibling } } function aa(e) { for (var t = e, r = !1, n = void 0, i = void 0;;) { if (!r) { r = t.return; e: for (;;) { switch (null === r && s("160"), r.tag) { case 5: n = r.stateNode, i = !1; break e; case 3: case 4: n = r.stateNode.containerInfo, i = !0; break e } r = r.return } r = !0 } if (5 === t.tag || 6 === t.tag) { e: for (var o = t, a = o;;) if (na(a), null !== a.child && 4 !== a.tag) a.child.return = a, a = a.child; else { if (a === o) break; for (; null === a.sibling;) { if (null === a.return || a.return === o) break e; a = a.return } a.sibling.return = a.return, a = a.sibling }i ? (o = n, a = t.stateNode, 8 === o.nodeType ? o.parentNode.removeChild(a) : o.removeChild(a)) : n.removeChild(t.stateNode) } else if (4 === t.tag) { if (null !== t.child) { n = t.stateNode.containerInfo, i = !0, t.child.return = t, t = t.child; continue } } else if (na(t), null !== t.child) { t.child.return = t, t = t.child; continue } if (t === e) break; for (; null === t.sibling;) { if (null === t.return || t.return === e) return; 4 === (t = t.return).tag && (r = !1) } t.sibling.return = t.return, t = t.sibling } } function sa(e, t) { switch (t.tag) { case 0: case 11: case 14: case 15: ra(4, 8, t); break; case 1: break; case 5: var r = t.stateNode; if (null != r) { var n = t.memoizedProps; e = null !== e ? e.memoizedProps : n; var i = t.type, o = t.updateQueue; t.updateQueue = null, null !== o && function(e, t, r, n, i) { e[j] = i, "input" === r && "radio" === i.type && null != i.name && At(e, i), pn(r, n), n = pn(r, i); for (var o = 0; o < t.length; o += 2) { var a = t[o], s = t[o + 1]; "style" === a ? cn(e, s) : "dangerouslySetInnerHTML" === a ? nn(e, s) : "children" === a ? on(e, s) : gt(e, a, s, n) } switch (r) { case "input": Et(e, i); break; case "textarea": Xr(e, i); break; case "select": t = e._wrapperState.wasMultiple, e._wrapperState.wasMultiple = !!i.multiple, null != (r = i.value) ? Kr(e, !!i.multiple, r, !1) : t !== !!i.multiple && (null != i.defaultValue ? Kr(e, !!i.multiple, i.defaultValue, !0) : Kr(e, !!i.multiple, i.multiple ? [] : "", !1)) } }(r, o, i, e, n) } break; case 6: null === t.stateNode && s("162"), t.stateNode.nodeValue = t.memoizedProps; break; case 3: case 12: break; case 13: if (r = t.memoizedState, n = void 0, e = t, null === r ? n = !1 : (n = !0, e = t.child, 0 === r.timedOutAt && (r.timedOutAt = ds())), null !== e && function(e, t) { for (var r = e;;) { if (5 === r.tag) { var n = r.stateNode; if (t) n.style.display = "none"; else { n = r.stateNode; var i = r.memoizedProps.style; i = null != i && i.hasOwnProperty("display") ? i.display : null, n.style.display = un("display", i) } } else if (6 === r.tag) r.stateNode.nodeValue = t ? "" : r.memoizedProps; else { if (13 === r.tag && null !== r.memoizedState) { (n = r.child.sibling).return = r, r = n; continue } if (null !== r.child) { r.child.return = r, r = r.child; continue } } if (r === e) break; for (; null === r.sibling;) { if (null === r.return || r.return === e) return; r = r.return } r.sibling.return = r.return, r = r.sibling } }(e, n), null !== (r = t.updateQueue)) { t.updateQueue = null; var a = t.stateNode; null === a && (a = t.stateNode = new Qo), r.forEach((function(e) { var r = Fa.bind(null, t, e); a.has(e) || (a.add(e), e.then(r, r)) })) } break; case 17: break; default: s("163") } } var ua = "function" == typeof WeakMap ? WeakMap : Map; function ca(e, t, r) { (r = Vo(r)).tag = 3, r.payload = { element: null }; var n = t.value; return r.callback = function() { As(n), ea(e, t) }, r } function la(e, t, r) { (r = Vo(r)).tag = 3; var n = e.type.getDerivedStateFromError; if ("function" == typeof n) { var i = t.value; r.payload = function() { return n(i) } } var o = e.stateNode; return null !== o && "function" == typeof o.componentDidCatch && (r.callback = function() { "function" != typeof n && (null === Oa ? Oa = new Set([this]) : Oa.add(this)); var r = t.value, i = t.stack; ea(e, t), this.componentDidCatch(r, { componentStack: null !== i ? i : "" }) }), r } function fa(e) { switch (e.tag) { case 1: Ln(e.type) && Mn(); var t = e.effectTag; return 2048 & t ? (e.effectTag = -2049 & t | 64, e) : null; case 3: return Ai(), jn(), 0 != (64 & (t = e.effectTag)) && s("285"), e.effectTag = -2049 & t | 64, e; case 5: return Ci(e), null; case 13: return 2048 & (t = e.effectTag) ? (e.effectTag = -2049 & t | 64, e) : null; case 18: return null; case 4: return Ai(), null; case 10: return No(e), null; default: return null } } var pa = We.ReactCurrentDispatcher, da = We.ReactCurrentOwner, ha = 1073741822, va = !1, ma = null, ya = null, ba = 0, ga = -1, _a = !1, Ta = null, Sa = !1, Aa = null, Ea = null, Ca = null, Oa = null; function wa() { if (null !== ma) for (var e = ma.return; null !== e;) { var t = e; switch (t.tag) { case 1: null != t.type.childContextTypes && Mn(); break; case 3: Ai(), jn(); break; case 5: Ci(t); break; case 4: Ai(); break; case 10: No(t) } e = e.return } ya = null, ba = 0, ga = -1, _a = !1, ma = null } function Ia() { for (; null !== Ta;) { var e = Ta.effectTag; if (16 & e && on(Ta.stateNode, ""), 128 & e) { var t = Ta.alternate; null !== t && null !== (t = t.ref) && ("function" == typeof t ? t(null) : t.current = null) } switch (14 & e) { case 2: oa(Ta), Ta.effectTag &= -3; break; case 6: oa(Ta), Ta.effectTag &= -3, sa(Ta.alternate, Ta); break; case 4: sa(Ta.alternate, Ta); break; case 8: aa(e = Ta), e.return = null, e.child = null, e.memoizedState = null, e.updateQueue = null, null !== (e = e.alternate) && (e.return = null, e.child = null, e.memoizedState = null, e.updateQueue = null) } Ta = Ta.nextEffect } } function Pa() { for (; null !== Ta;) { if (256 & Ta.effectTag) e: { var e = Ta.alternate, t = Ta; switch (t.tag) { case 0: case 11: case 15: ra(2, 0, t); break e; case 1: if (256 & t.effectTag && null !== e) { var r = e.memoizedProps, n = e.memoizedState; t = (e = t.stateNode).getSnapshotBeforeUpdate(t.elementType === t.type ? r : ni(t.type, r), n), e.__reactInternalSnapshotBeforeUpdate = t } break e; case 3: case 5: case 6: case 4: case 17: break e; default: s("163") } } Ta = Ta.nextEffect } } function xa(e, t) { for (; null !== Ta;) { var r = Ta.effectTag; if (36 & r) { var n = Ta.alternate, i = Ta, o = t; switch (i.tag) { case 0: case 11: case 15: ra(16, 32, i); break; case 1: var a = i.stateNode; if (4 & i.effectTag) if (null === n) a.componentDidMount(); else { var u = i.elementType === i.type ? n.memoizedProps : ni(i.type, n.memoizedProps); a.componentDidUpdate(u, n.memoizedState, a.__reactInternalSnapshotBeforeUpdate) } null !== (n = i.updateQueue) && $o(0, n, a); break; case 3: if (null !== (n = i.updateQueue)) { if (a = null, null !== i.child) switch (i.child.tag) { case 5: a = i.child.stateNode; break; case 1: a = i.child.stateNode } $o(0, n, a) } break; case 5: o = i.stateNode, null === n && 4 & i.effectTag && yn(i.type, i.memoizedProps) && o.focus(); break; case 6: case 4: case 12: case 13: case 17: break; default: s("163") } } 128 & r && null !== (i = Ta.ref) && (o = Ta.stateNode, "function" == typeof i ? i(o) : i.current = o), 512 & r && (Aa = e), Ta = Ta.nextEffect } } function Na(e, t) { Ca = Ea = Aa = null; var r = Ka; Ka = !0; do { if (512 & t.effectTag) { var n = !1, i = void 0; try { var o = t; ra(128, 0, o), ra(0, 64, o) } catch (e) { n = !0, i = e } n && Da(t, i) } t = t.nextEffect } while (null !== t); Ka = r, 0 !== (r = e.expirationTime) && hs(e, r), es || Ka || gs(1073741823, !1) } function ka() { null !== Ea && Sn(Ea), null !== Ca && Ca() } function Ra(e, t) { Sa = va = !0, e.current === t && s("177"); var r = e.pendingCommitExpirationTime; 0 === r && s("261"), e.pendingCommitExpirationTime = 0; var n = t.expirationTime, i = t.childExpirationTime; for (function(e, t) { if (e.didError = !1, 0 === t) e.earliestPendingTime = 0, e.latestPendingTime = 0, e.earliestSuspendedTime = 0, e.latestSuspendedTime = 0, e.latestPingedTime = 0; else { t < e.latestPingedTime && (e.latestPingedTime = 0); var r = e.latestPendingTime; 0 !== r && (r > t ? e.earliestPendingTime = e.latestPendingTime = 0 : e.earliestPendingTime > t && (e.earliestPendingTime = e.latestPendingTime)), 0 === (r = e.earliestSuspendedTime) ? Qn(e, t) : t < e.latestSuspendedTime ? (e.earliestSuspendedTime = 0, e.latestSuspendedTime = 0, e.latestPingedTime = 0, Qn(e, t)) : t > r && Qn(e, t) } ri(0, e) }(e, i > n ? i : n), da.current = null, n = void 0, 1 < t.effectTag ? null !== t.lastEffect ? (t.lastEffect.nextEffect = t, n = t.firstEffect) : n = t : n = t.firstEffect, vn = Cr, mn = function() { var e = Dr(); if (Ur(e)) { if ("selectionStart" in e) var t = { start: e.selectionStart, end: e.selectionEnd }; else e: { var r = (t = (t = e.ownerDocument) && t.defaultView || window).getSelection && t.getSelection(); if (r && 0 !== r.rangeCount) { t = r.anchorNode; var n = r.anchorOffset, i = r.focusNode; r = r.focusOffset; try { t.nodeType, i.nodeType } catch (e) { t = null; break e } var o = 0, a = -1, s = -1, u = 0, c = 0, l = e, f = null; t: for (;;) { for (var p; l !== t || 0 !== n && 3 !== l.nodeType || (a = o + n), l !== i || 0 !== r && 3 !== l.nodeType || (s = o + r), 3 === l.nodeType && (o += l.nodeValue.length), null !== (p = l.firstChild);) f = l, l = p; for (;;) { if (l === e) break t; if (f === t && ++u === n && (a = o), f === i && ++c === r && (s = o), null !== (p = l.nextSibling)) break; f = (l = f).parentNode } l = p } t = -1 === a || -1 === s ? null : { start: a, end: s } } else t = null } t = t || { start: 0, end: 0 } } else t = null; return { focusedElem: e, selectionRange: t } }(), Cr = !1, Ta = n; null !== Ta;) { i = !1; var a = void 0; try { Pa() } catch (e) { i = !0, a = e } i && (null === Ta && s("178"), Da(Ta, a), null !== Ta && (Ta = Ta.nextEffect)) } for (Ta = n; null !== Ta;) { i = !1, a = void 0; try { Ia() } catch (e) { i = !0, a = e } i && (null === Ta && s("178"), Da(Ta, a), null !== Ta && (Ta = Ta.nextEffect)) } for (function(e) { var t = Dr(), r = e.focusedElem, n = e.selectionRange; if (t !== r && r && r.ownerDocument && function e(t, r) { return !(!t || !r) && (t === r || (!t || 3 !== t.nodeType) && (r && 3 === r.nodeType ? e(t, r.parentNode) : "contains" in t ? t.contains(r) : !!t.compareDocumentPosition && !!(16 & t.compareDocumentPosition(r)))) }(r.ownerDocument.documentElement, r)) { if (null !== n && Ur(r)) if (t = n.start, void 0 === (e = n.end) && (e = t), "selectionStart" in r) r.selectionStart = t, r.selectionEnd = Math.min(e, r.value.length); else if ((e = (t = r.ownerDocument || document) && t.defaultView || window).getSelection) { e = e.getSelection(); var i = r.textContent.length, o = Math.min(n.start, i); n = void 0 === n.end ? o : Math.min(n.end, i), !e.extend && o > n && (i = n, n = o, o = i), i = jr(r, o); var a = jr(r, n); i && a && (1 !== e.rangeCount || e.anchorNode !== i.node || e.anchorOffset !== i.offset || e.focusNode !== a.node || e.focusOffset !== a.offset) && ((t = t.createRange()).setStart(i.node, i.offset), e.removeAllRanges(), o > n ? (e.addRange(t), e.extend(a.node, a.offset)) : (t.setEnd(a.node, a.offset), e.addRange(t))) } for (t = [], e = r; e = e.parentNode;) 1 === e.nodeType && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); for ("function" == typeof r.focus && r.focus(), r = 0; r < t.length; r++)(e = t[r]).element.scrollLeft = e.left, e.element.scrollTop = e.top } }(mn), mn = null, Cr = !!vn, vn = null, e.current = t, Ta = n; null !== Ta;) { i = !1, a = void 0; try { xa(e, r) } catch (e) { i = !0, a = e } i && (null === Ta && s("178"), Da(Ta, a), null !== Ta && (Ta = Ta.nextEffect)) } if (null !== n && null !== Aa) { var u = Na.bind(null, e, n); Ea = o.unstable_runWithPriority(o.unstable_NormalPriority, (function() { return Tn(u) })), Ca = u } va = Sa = !1, "function" == typeof zn && zn(t.stateNode), r = t.expirationTime, 0 === (t = (t = t.childExpirationTime) > r ? t : r) && (Oa = null), function(e, t) { e.expirationTime = t, e.finishedWork = null }(e, t) } function La(e) { for (;;) { var t = e.alternate, r = e.return, n = e.sibling; if (0 == (1024 & e.effectTag)) { ma = e; e: { var o = t, a = ba, u = (t = e).pendingProps; switch (t.tag) { case 2: case 16: break; case 15: case 0: break; case 1: Ln(t.type) && Mn(); break; case 3: Ai(), jn(), (u = t.stateNode).pendingContext && (u.context = u.pendingContext, u.pendingContext = null), null !== o && null !== o.child || (lo(t), t.effectTag &= -3); break; case 5: Ci(t); var c = Ti(_i.current); if (a = t.type, null !== o && null != t.stateNode) Mo(o, t, a, u, c), o.ref !== t.ref && (t.effectTag |= 128); else if (u) { var l = Ti(bi.current); if (lo(t)) { o = (u = t).stateNode; var f = u.type, p = u.memoizedProps, d = c; switch (o[M] = u, o[j] = p, a = void 0, c = f) { case "iframe": case "object": Or("load", o); break; case "video": case "audio": for (f = 0; f < ne.length; f++) Or(ne[f], o); break; case "source": Or("error", o); break; case "img": case "image": case "link": Or("error", o), Or("load", o); break; case "form": Or("reset", o), Or("submit", o); break; case "details": Or("toggle", o); break; case "input": St(o, p), Or("invalid", o), dn(d, "onChange"); break; case "select": o._wrapperState = { wasMultiple: !!p.multiple }, Or("invalid", o), dn(d, "onChange"); break; case "textarea": Jr(o, p), Or("invalid", o), dn(d, "onChange") } for (a in fn(c, p), f = null, p) p.hasOwnProperty(a) && (l = p[a], "children" === a ? "string" == typeof l ? o.textContent !== l && (f = ["children", l]) : "number" == typeof l && o.textContent !== "" + l && (f = ["children", "" + l]) : T.hasOwnProperty(a) && null != l && dn(d, a)); switch (c) { case "input": qe(o), Ct(o, p, !0); break; case "textarea": qe(o), Zr(o); break; case "select": case "option": break; default: "function" == typeof p.onClick && (o.onclick = hn) } a = f, u.updateQueue = a, (u = null !== a) && Zo(t) } else { p = t, d = a, o = u, f = 9 === c.nodeType ? c : c.ownerDocument, l === Qr && (l = en(d)), l === Qr ? "script" === d ? ((o = f.createElement("div")).innerHTML = "<script><\/script>", f = o.removeChild(o.firstChild)) : "string" == typeof o.is ? f = f.createElement(d, { is: o.is }) : (f = f.createElement(d), "select" === d && (d = f, o.multiple ? d.multiple = !0 : o.size && (d.size = o.size))) : f = f.createElementNS(l, d), (o = f)[M] = p, o[j] = u, Lo(o, t), d = o; var h = c, v = pn(f = a, p = u); switch (f) { case "iframe": case "object": Or("load", d), c = p; break; case "video": case "audio": for (c = 0; c < ne.length; c++) Or(ne[c], d); c = p; break; case "source": Or("error", d), c = p; break; case "img": case "image": case "link": Or("error", d), Or("load", d), c = p; break; case "form": Or("reset", d), Or("submit", d), c = p; break; case "details": Or("toggle", d), c = p; break; case "input": St(d, p), c = Tt(d, p), Or("invalid", d), dn(h, "onChange"); break; case "option": c = Yr(d, p); break; case "select": d._wrapperState = { wasMultiple: !!p.multiple }, c = i({}, p, { value: void 0 }), Or("invalid", d), dn(h, "onChange"); break; case "textarea": Jr(d, p), c = $r(d, p), Or("invalid", d), dn(h, "onChange"); break; default: c = p } fn(f, c), l = void 0; var m = f, y = d, b = c; for (l in b) if (b.hasOwnProperty(l)) { var g = b[l]; "style" === l ? cn(y, g) : "dangerouslySetInnerHTML" === l ? null != (g = g ? g.__html : void 0) && nn(y, g) : "children" === l ? "string" == typeof g ? ("textarea" !== m || "" !== g) && on(y, g) : "number" == typeof g && on(y, "" + g) : "suppressContentEditableWarning" !== l && "suppressHydrationWarning" !== l && "autoFocus" !== l && (T.hasOwnProperty(l) ? null != g && dn(h, l) : null != g && gt(y, l, g, v)) } switch (f) { case "input": qe(d), Ct(d, p, !1); break; case "textarea": qe(d), Zr(d); break; case "option": null != p.value && d.setAttribute("value", "" + _t(p.value)); break; case "select": (c = d).multiple = !!p.multiple, null != (d = p.value) ? Kr(c, !!p.multiple, d, !1) : null != p.defaultValue && Kr(c, !!p.multiple, p.defaultValue, !0); break; default: "function" == typeof c.onClick && (d.onclick = hn) }(u = yn(a, u)) && Zo(t), t.stateNode = o } null !== t.ref && (t.effectTag |= 128) } else null === t.stateNode && s("166"); break; case 6: o && null != t.stateNode ? jo(0, t, o.memoizedProps, u) : ("string" != typeof u && null === t.stateNode && s("166"), o = Ti(_i.current), Ti(bi.current), lo(t) ? (a = (u = t).stateNode, o = u.memoizedProps, a[M] = u, (u = a.nodeValue !== o) && Zo(t)) : (a = t, (u = (9 === o.nodeType ? o : o.ownerDocument).createTextNode(u))[M] = t, a.stateNode = u)); break; case 11: break; case 13: if (u = t.memoizedState, 0 != (64 & t.effectTag)) { t.expirationTime = a, ma = t; break e } u = null !== u, a = null !== o && null !== o.memoizedState, null !== o && !u && a && null !== (o = o.child.sibling) && (null !== (c = t.firstEffect) ? (t.firstEffect = o, o.nextEffect = c) : (t.firstEffect = t.lastEffect = o, o.nextEffect = null), o.effectTag = 8), (u || a) && (t.effectTag |= 4); break; case 7: case 8: case 12: break; case 4: Ai(); break; case 10: No(t); break; case 9: case 14: break; case 17: Ln(t.type) && Mn(); break; case 18: break; default: s("156") } ma = null } if (t = e, 1 === ba || 1 !== t.childExpirationTime) { for (u = 0, a = t.child; null !== a;)(o = a.expirationTime) > u && (u = o), (c = a.childExpirationTime) > u && (u = c), a = a.sibling; t.childExpirationTime = u } if (null !== ma) return ma; null !== r && 0 == (1024 & r.effectTag) && (null === r.firstEffect && (r.firstEffect = e.firstEffect), null !== e.lastEffect && (null !== r.lastEffect && (r.lastEffect.nextEffect = e.firstEffect), r.lastEffect = e.lastEffect), 1 < e.effectTag && (null !== r.lastEffect ? r.lastEffect.nextEffect = e : r.firstEffect = e, r.lastEffect = e)) } else { if (null !== (e = fa(e))) return e.effectTag &= 1023, e; null !== r && (r.firstEffect = r.lastEffect = null, r.effectTag |= 1024) } if (null !== n) return n; if (null === r) break; e = r } return null } function Ma(e) { var t = function(e, t, r) { var n = t.expirationTime; if (null !== e) { if (e.memoizedProps !== t.pendingProps || Nn.current) ho = !0; else if (n < r) { switch (ho = !1, t.tag) { case 3: Ao(t), fo(); break; case 5: Ei(t); break; case 1: Ln(t.type) && Bn(t); break; case 4: Si(t, t.stateNode.containerInfo); break; case 10: xo(t, t.memoizedProps.value); break; case 13: if (null !== t.memoizedState) return 0 !== (n = t.child.childExpirationTime) && n >= r ? Eo(e, t, r) : null !== (t = Co(e, t, r)) ? t.sibling : null } return Co(e, t, r) } } else ho = !1; switch (t.expirationTime = 0, t.tag) { case 2: n = t.elementType, null !== e && (e.alternate = null, t.alternate = null, t.effectTag |= 2), e = t.pendingProps; var i = Rn(t, xn.current); if (ko(t, r), i = Vi(null, t, n, e, i, r), t.effectTag |= 1, "object" == typeof i && null !== i && "function" == typeof i.render && void 0 === i.$$typeof) { if (t.tag = 1, Gi(), Ln(n)) { var o = !0; Bn(t) } else o = !1; t.memoizedState = null !== i.state && void 0 !== i.state ? i.state : null; var a = n.getDerivedStateFromProps; "function" == typeof a && oi(t, n, a, e), i.updater = ai, t.stateNode = i, i._reactInternalFiber = t, li(t, n, e, r), t = So(null, t, n, !0, o, r) } else t.tag = 0, vo(null, t, i, r), t = t.child; return t; case 16: switch (i = t.elementType, null !== e && (e.alternate = null, t.alternate = null, t.effectTag |= 2), o = t.pendingProps, e = function(e) { var t = e._result; switch (e._status) { case 1: return t; case 2: case 0: throw t; default: switch (e._status = 0, (t = (t = e._ctor)()).then((function(t) { 0 === e._status && (t = t.default, e._status = 1, e._result = t) }), (function(t) { 0 === e._status && (e._status = 2, e._result = t) })), e._status) { case 1: return e._result; case 2: throw e._result } throw e._result = t, t } }(i), t.type = e, i = t.tag = function(e) { if ("function" == typeof e) return Wn(e) ? 1 : 0; if (null != e) { if ((e = e.$$typeof) === nt) return 11; if (e === ot) return 14 } return 2 }(e), o = ni(e, o), a = void 0, i) { case 0: a = _o(null, t, e, o, r); break; case 1: a = To(null, t, e, o, r); break; case 11: a = mo(null, t, e, o, r); break; case 14: a = yo(null, t, e, ni(e.type, o), n, r); break; default: s("306", e, "") } return a; case 0: return n = t.type, i = t.pendingProps, _o(e, t, n, i = t.elementType === n ? i : ni(n, i), r); case 1: return n = t.type, i = t.pendingProps, To(e, t, n, i = t.elementType === n ? i : ni(n, i), r); case 3: return Ao(t), null === (n = t.updateQueue) && s("282"), i = null !== (i = t.memoizedState) ? i.element : null, Ko(t, n, t.pendingProps, null, r), (n = t.memoizedState.element) === i ? (fo(), t = Co(e, t, r)) : (i = t.stateNode, (i = (null === e || null === e.child) && i.hydrate) && (io = En(t.stateNode.containerInfo), no = t, i = oo = !0), i ? (t.effectTag |= 2, t.child = mi(t, null, n, r)) : (vo(e, t, n, r), fo()), t = t.child), t; case 5: return Ei(t), null === e && uo(t), n = t.type, i = t.pendingProps, o = null !== e ? e.memoizedProps : null, a = i.children, bn(n, i) ? a = null : null !== o && bn(n, o) && (t.effectTag |= 16), go(e, t), 1 !== r && 1 & t.mode && i.hidden ? (t.expirationTime = t.childExpirationTime = 1, t = null) : (vo(e, t, a, r), t = t.child), t; case 6: return null === e && uo(t), null; case 13: return Eo(e, t, r); case 4: return Si(t, t.stateNode.containerInfo), n = t.pendingProps, null === e ? t.child = vi(t, null, n, r) : vo(e, t, n, r), t.child; case 11: return n = t.type, i = t.pendingProps, mo(e, t, n, i = t.elementType === n ? i : ni(n, i), r); case 7: return vo(e, t, t.pendingProps, r), t.child; case 8: case 12: return vo(e, t, t.pendingProps.children, r), t.child; case 10: e: { if (n = t.type._context, i = t.pendingProps, a = t.memoizedProps, xo(t, o = i.value), null !== a) { var u = a.value; if (0 == (o = er(u, o) ? 0 : 0 | ("function" == typeof n._calculateChangedBits ? n._calculateChangedBits(u, o) : 1073741823))) { if (a.children === i.children && !Nn.current) { t = Co(e, t, r); break e } } else for (null !== (u = t.child) && (u.return = t); null !== u;) { var c = u.contextDependencies; if (null !== c) { a = u.child; for (var l = c.first; null !== l;) { if (l.context === n && 0 != (l.observedBits & o)) { 1 === u.tag && ((l = Vo(r)).tag = Uo, qo(u, l)), u.expirationTime < r && (u.expirationTime = r), null !== (l = u.alternate) && l.expirationTime < r && (l.expirationTime = r), l = r; for (var f = u.return; null !== f;) { var p = f.alternate; if (f.childExpirationTime < l) f.childExpirationTime = l, null !== p && p.childExpirationTime < l && (p.childExpirationTime = l); else { if (!(null !== p && p.childExpirationTime < l)) break; p.childExpirationTime = l } f = f.return } c.expirationTime < r && (c.expirationTime = r); break } l = l.next } } else a = 10 === u.tag && u.type === t.type ? null : u.child; if (null !== a) a.return = u; else for (a = u; null !== a;) { if (a === t) { a = null; break } if (null !== (u = a.sibling)) { u.return = a.return, a = u; break } a = a.return } u = a } } vo(e, t, i.children, r), t = t.child } return t; case 9: return i = t.type, n = (o = t.pendingProps).children, ko(t, r), n = n(i = Ro(i, o.unstable_observedBits)), t.effectTag |= 1, vo(e, t, n, r), t.child; case 14: return o = ni(i = t.type, t.pendingProps), yo(e, t, i, o = ni(i.type, o), n, r); case 15: return bo(e, t, t.type, t.pendingProps, n, r); case 17: return n = t.type, i = t.pendingProps, i = t.elementType === n ? i : ni(n, i), null !== e && (e.alternate = null, t.alternate = null, t.effectTag |= 2), t.tag = 1, Ln(n) ? (e = !0, Bn(t)) : e = !1, ko(t, r), ui(t, n, i), li(t, n, i, r), So(null, t, n, !0, e, r) } s("156") }(e.alternate, e, ba); return e.memoizedProps = e.pendingProps, null === t && (t = La(e)), da.current = null, t } function ja(e, t) { va && s("243"), ka(), va = !0; var r = pa.current; pa.current = eo; var n = e.nextExpirationTimeToWorkOn; n === ba && e === ya && null !== ma || (wa(), ba = n, ma = Yn((ya = e).current, null), e.pendingCommitExpirationTime = 0); for (var i = !1;;) { try { if (t) for (; null !== ma && !ys();) ma = Ma(ma); else for (; null !== ma;) ma = Ma(ma) } catch (t) { if (Po = Io = wo = null, Gi(), null === ma) i = !0, As(t); else { null === ma && s("271"); var o = ma, a = o.return; if (null !== a) { e: { var u = e, c = a, l = o, f = t; if (a = ba, l.effectTag |= 1024, l.firstEffect = l.lastEffect = null, null !== f && "object" == typeof f && "function" == typeof f.then) { var p = f; f = c; var d = -1, h = -1; do { if (13 === f.tag) { var v = f.alternate; if (null !== v && null !== (v = v.memoizedState)) { h = 10 * (1073741822 - v.timedOutAt); break } "number" == typeof(v = f.pendingProps.maxDuration) && (0 >= v ? d = 0 : (-1 === d || v < d) && (d = v)) } f = f.return } while (null !== f); f = c; do { if ((v = 13 === f.tag) && (v = void 0 !== f.memoizedProps.fallback && null === f.memoizedState), v) { if (null === (c = f.updateQueue) ? ((c = new Set).add(p), f.updateQueue = c) : c.add(p), 0 == (1 & f.mode)) { f.effectTag |= 64, l.effectTag &= -1957, 1 === l.tag && (null === l.alternate ? l.tag = 17 : ((a = Vo(1073741823)).tag = Uo, qo(l, a))), l.expirationTime = 1073741823; break e } c = a; var m = (l = u).pingCache; null === m ? (m = l.pingCache = new ua, v = new Set, m.set(p, v)) : void 0 === (v = m.get(p)) && (v = new Set, m.set(p, v)), v.has(c) || (v.add(c), l = Ba.bind(null, l, p, c), p.then(l, l)), -1 === d ? u = 1073741823 : (-1 === h && (h = 10 * (1073741822 - ti(u, a)) - 5e3), u = h + d), 0 <= u && ga < u && (ga = u), f.effectTag |= 2048, f.expirationTime = a; break e } f = f.return } while (null !== f); f = Error((ct(l.type) || "A React component") + " suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display." + lt(l)) } _a = !0, f = Xo(f, l), u = c;do { switch (u.tag) { case 3: u.effectTag |= 2048, u.expirationTime = a, Ho(u, a = ca(u, f, a)); break e; case 1: if (d = f, h = u.type, l = u.stateNode, 0 == (64 & u.effectTag) && ("function" == typeof h.getDerivedStateFromError || null !== l && "function" == typeof l.componentDidCatch && (null === Oa || !Oa.has(l)))) { u.effectTag |= 2048, u.expirationTime = a, Ho(u, a = la(u, d, a)); break e } } u = u.return } while (null !== u) } ma = La(o); continue } i = !0, As(t) } } break } if (va = !1, pa.current = r, Po = Io = wo = null, Gi(), i) ya = null, e.finishedWork = null; else if (null !== ma) e.finishedWork = null; else { if (null === (r = e.current.alternate) && s("281"), ya = null, _a) { if (i = e.latestPendingTime, o = e.latestSuspendedTime, a = e.latestPingedTime, 0 !== i && i < n || 0 !== o && o < n || 0 !== a && a < n) return ei(e, n), void fs(e, r, n, e.expirationTime, -1); if (!e.didError && t) return e.didError = !0, n = e.nextExpirationTimeToWorkOn = n, t = e.expirationTime = 1073741823, void fs(e, r, n, t, -1) } t && -1 !== ga ? (ei(e, n), (t = 10 * (1073741822 - ti(e, n))) < ga && (ga = t), t = 10 * (1073741822 - ds()), t = ga - t, fs(e, r, n, e.expirationTime, 0 > t ? 0 : t)) : (e.pendingCommitExpirationTime = n, e.finishedWork = r) } } function Da(e, t) { for (var r = e.return; null !== r;) { switch (r.tag) { case 1: var n = r.stateNode; if ("function" == typeof r.type.getDerivedStateFromError || "function" == typeof n.componentDidCatch && (null === Oa || !Oa.has(n))) return qo(r, e = la(r, e = Xo(t, e), 1073741823)), void Va(r, 1073741823); break; case 3: return qo(r, e = ca(r, e = Xo(t, e), 1073741823)), void Va(r, 1073741823) } r = r.return } 3 === e.tag && (qo(e, r = ca(e, r = Xo(t, e), 1073741823)), Va(e, 1073741823)) } function Ua(e, t) { var r = o.unstable_getCurrentPriorityLevel(), n = void 0; if (0 == (1 & t.mode)) n = 1073741823; else if (va && !Sa) n = ba; else { switch (r) { case o.unstable_ImmediatePriority: n = 1073741823; break; case o.unstable_UserBlockingPriority: n = 1073741822 - 10 * (1 + ((1073741822 - e + 15) / 10 | 0)); break; case o.unstable_NormalPriority: n = 1073741822 - 25 * (1 + ((1073741822 - e + 500) / 25 | 0)); break; case o.unstable_LowPriority: case o.unstable_IdlePriority: n = 1; break; default: s("313") } null !== ya && n === ba && --n } return r === o.unstable_UserBlockingPriority && (0 === Xa || n < Xa) && (Xa = n), n } function Ba(e, t, r) { var n = e.pingCache; null !== n && n.delete(t), null !== ya && ba === r ? ya = null : (t = e.earliestSuspendedTime, n = e.latestSuspendedTime, 0 !== t && r <= t && r >= n && (e.didError = !1, (0 === (t = e.latestPingedTime) || t > r) && (e.latestPingedTime = r), ri(r, e), 0 !== (r = e.expirationTime) && hs(e, r))) } function Fa(e, t) { var r = e.stateNode; null !== r && r.delete(t), null !== (e = za(e, t = Ua(t = ds(), e))) && (Qn(e, t), 0 !== (t = e.expirationTime) && hs(e, t)) } function za(e, t) { e.expirationTime < t && (e.expirationTime = t); var r = e.alternate; null !== r && r.expirationTime < t && (r.expirationTime = t); var n = e.return, i = null; if (null === n && 3 === e.tag) i = e.stateNode; else for (; null !== n;) { if (r = n.alternate, n.childExpirationTime < t && (n.childExpirationTime = t), null !== r && r.childExpirationTime < t && (r.childExpirationTime = t), null === n.return && 3 === n.tag) { i = n.stateNode; break } n = n.return } return i } function Va(e, t) { null !== (e = za(e, t)) && (!va && 0 !== ba && t > ba && wa(), Qn(e, t), va && !Sa && ya === e || hs(e, e.expirationTime), ss > as && (ss = 0, s("185"))) } function Ga(e, t, r, n, i) { return o.unstable_runWithPriority(o.unstable_ImmediatePriority, (function() { return e(t, r, n, i) })) } var qa = null, Ha = null, Wa = 0, Ya = void 0, Ka = !1, $a = null, Ja = 0, Xa = 0, Za = !1, Qa = null, es = !1, ts = !1, rs = null, ns = o.unstable_now(), is = 1073741822 - (ns / 10 | 0), os = is, as = 50, ss = 0, us = null; function cs() { is = 1073741822 - ((o.unstable_now() - ns) / 10 | 0) } function ls(e, t) { if (0 !== Wa) { if (t < Wa) return; null !== Ya && o.unstable_cancelCallback(Ya) } Wa = t, e = o.unstable_now() - ns, Ya = o.unstable_scheduleCallback(bs, { timeout: 10 * (1073741822 - t) - e }) } function fs(e, t, r, n, i) { e.expirationTime = n, 0 !== i || ys() ? 0 < i && (e.timeoutHandle = gn(ps.bind(null, e, t, r), i)) : (e.pendingCommitExpirationTime = r, e.finishedWork = t) } function ps(e, t, r) { e.pendingCommitExpirationTime = r, e.finishedWork = t, cs(), os = is, _s(e, r) } function ds() { return Ka || (vs(), 0 !== Ja && 1 !== Ja || (cs(), os = is)), os } function hs(e, t) { null === e.nextScheduledRoot ? (e.expirationTime = t, null === Ha ? (qa = Ha = e, e.nextScheduledRoot = e) : (Ha = Ha.nextScheduledRoot = e).nextScheduledRoot = qa) : t > e.expirationTime && (e.expirationTime = t), Ka || (es ? ts && ($a = e, Ja = 1073741823, Ts(e, 1073741823, !1)) : 1073741823 === t ? gs(1073741823, !1) : ls(e, t)) } function vs() { var e = 0, t = null; if (null !== Ha) for (var r = Ha, n = qa; null !== n;) { var i = n.expirationTime; if (0 === i) { if ((null === r || null === Ha) && s("244"), n === n.nextScheduledRoot) { qa = Ha = n.nextScheduledRoot = null; break } if (n === qa) qa = i = n.nextScheduledRoot, Ha.nextScheduledRoot = i, n.nextScheduledRoot = null; else { if (n === Ha) { (Ha = r).nextScheduledRoot = qa, n.nextScheduledRoot = null; break } r.nextScheduledRoot = n.nextScheduledRoot, n.nextScheduledRoot = null } n = r.nextScheduledRoot } else { if (i > e && (e = i, t = n), n === Ha) break; if (1073741823 === e) break; r = n, n = n.nextScheduledRoot } } $a = t, Ja = e } var ms = !1; function ys() { return !!ms || !!o.unstable_shouldYield() && (ms = !0) } function bs() { try { if (!ys() && null !== qa) { cs(); var e = qa; do { var t = e.expirationTime; 0 !== t && is <= t && (e.nextExpirationTimeToWorkOn = is), e = e.nextScheduledRoot } while (e !== qa) } gs(0, !0) } finally { ms = !1 } } function gs(e, t) { if (vs(), t) for (cs(), os = is; null !== $a && 0 !== Ja && e <= Ja && !(ms && is > Ja);) Ts($a, Ja, is > Ja), vs(), cs(), os = is; else for (; null !== $a && 0 !== Ja && e <= Ja;) Ts($a, Ja, !1), vs(); if (t && (Wa = 0, Ya = null), 0 !== Ja && ls($a, Ja), ss = 0, us = null, null !== rs) for (e = rs, rs = null, t = 0; t < e.length; t++) { var r = e[t]; try { r._onComplete() } catch (e) { Za || (Za = !0, Qa = e) } } if (Za) throw e = Qa, Qa = null, Za = !1, e } function _s(e, t) { Ka && s("253"), $a = e, Ja = t, Ts(e, t, !1), gs(1073741823, !1) } function Ts(e, t, r) { if (Ka && s("245"), Ka = !0, r) { var n = e.finishedWork; null !== n ? Ss(e, n, t) : (e.finishedWork = null, -1 !== (n = e.timeoutHandle) && (e.timeoutHandle = -1, _n(n)), ja(e, r), null !== (n = e.finishedWork) && (ys() ? e.finishedWork = n : Ss(e, n, t))) } else null !== (n = e.finishedWork) ? Ss(e, n, t) : (e.finishedWork = null, -1 !== (n = e.timeoutHandle) && (e.timeoutHandle = -1, _n(n)), ja(e, r), null !== (n = e.finishedWork) && Ss(e, n, t)); Ka = !1 } function Ss(e, t, r) { var n = e.firstBatch; if (null !== n && n._expirationTime >= r && (null === rs ? rs = [n] : rs.push(n), n._defer)) return e.finishedWork = t, void(e.expirationTime = 0); e.finishedWork = null, e === us ? ss++ : (us = e, ss = 0), o.unstable_runWithPriority(o.unstable_ImmediatePriority, (function() { Ra(e, t) })) } function As(e) { null === $a && s("246"), $a.expirationTime = 0, Za || (Za = !0, Qa = e) } function Es(e, t) { var r = es; es = !0; try { return e(t) } finally { (es = r) || Ka || gs(1073741823, !1) } } function Cs(e, t) { if (es && !ts) { ts = !0; try { return e(t) } finally { ts = !1 } } return e(t) } function Os(e, t, r) { es || Ka || 0 === Xa || (gs(Xa, !1), Xa = 0); var n = es; es = !0; try { return o.unstable_runWithPriority(o.unstable_UserBlockingPriority, (function() { return e(t, r) })) } finally { (es = n) || Ka || gs(1073741823, !1) } } function ws(e, t, r, n, i) { var o = t.current; e: if (r) { t: { 2 === nr(r = r._reactInternalFiber) && 1 === r.tag || s("170"); var a = r;do { switch (a.tag) { case 3: a = a.stateNode.context; break t; case 1: if (Ln(a.type)) { a = a.stateNode.__reactInternalMemoizedMergedChildContext; break t } } a = a.return } while (null !== a);s("171"), a = void 0 } if (1 === r.tag) { var u = r.type; if (Ln(u)) { r = Un(r, u, a); break e } } r = a } else r = Pn; return null === t.context ? t.context = r : t.pendingContext = r, t = i, (i = Vo(n)).payload = { element: e }, null !== (t = void 0 === t ? null : t) && (i.callback = t), ka(), qo(o, i), Va(o, n), n } function Is(e, t, r, n) { var i = t.current; return ws(e, t, r, i = Ua(ds(), i), n) } function Ps(e) { if (!(e = e.current).child) return null; switch (e.child.tag) { case 5: default: return e.child.stateNode } } function xs(e, t, r) { var n = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; return { $$typeof: Je, key: null == n ? null : "" + n, children: e, containerInfo: t, implementation: r } } function Ns(e) { var t = 1073741822 - 25 * (1 + ((1073741822 - ds() + 500) / 25 | 0)); t >= ha && (t = ha - 1), this._expirationTime = ha = t, this._root = e, this._callbacks = this._next = null, this._hasChildren = this._didComplete = !1, this._children = null, this._defer = !0 } function ks() { this._callbacks = null, this._didCommit = !1, this._onCommit = this._onCommit.bind(this) } function Rs(e, t, r) { e = { current: t = Hn(3, null, null, t ? 3 : 0), containerInfo: e, pendingChildren: null, pingCache: null, earliestPendingTime: 0, latestPendingTime: 0, earliestSuspendedTime: 0, latestSuspendedTime: 0, latestPingedTime: 0, didError: !1, pendingCommitExpirationTime: 0, finishedWork: null, timeoutHandle: -1, context: null, pendingContext: null, hydrate: r, nextExpirationTimeToWorkOn: 0, expirationTime: 0, firstBatch: null, nextScheduledRoot: null }, this._internalRoot = t.stateNode = e } function Ls(e) { return !(!e || 1 !== e.nodeType && 9 !== e.nodeType && 11 !== e.nodeType && (8 !== e.nodeType || " react-mount-point-unstable " !== e.nodeValue)) } function Ms(e, t, r, n, i) { var o = r._reactRootContainer; if (o) { if ("function" == typeof i) { var a = i; i = function() { var e = Ps(o._internalRoot); a.call(e) } } null != e ? o.legacy_renderSubtreeIntoContainer(e, t, i) : o.render(t, i) } else { if (o = r._reactRootContainer = function(e, t) { if (t || (t = !(!(t = e ? 9 === e.nodeType ? e.documentElement : e.firstChild : null) || 1 !== t.nodeType || !t.hasAttribute("data-reactroot"))), !t) for (var r; r = e.lastChild;) e.removeChild(r); return new Rs(e, !1, t) }(r, n), "function" == typeof i) { var s = i; i = function() { var e = Ps(o._internalRoot); s.call(e) } } Cs((function() { null != e ? o.legacy_renderSubtreeIntoContainer(e, t, i) : o.render(t, i) })) } return Ps(o._internalRoot) } function js(e, t) { var r = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null; return Ls(t) || s("200"), xs(e, t, null, r) } Ie = function(e, t, r) { switch (t) { case "input": if (Et(e, r), t = r.name, "radio" === r.type && null != t) { for (r = e; r.parentNode;) r = r.parentNode; for (r = r.querySelectorAll("input[name=" + JSON.stringify("" + t) + '][type="radio"]'), t = 0; t < r.length; t++) { var n = r[t]; if (n !== e && n.form === e.form) { var i = F(n); i || s("90"), He(n), Et(n, i) } } } break; case "textarea": Xr(e, r); break; case "select": null != (t = r.value) && Kr(e, !!r.multiple, t, !1) } }, Ns.prototype.render = function(e) { this._defer || s("250"), this._hasChildren = !0, this._children = e; var t = this._root._internalRoot, r = this._expirationTime, n = new ks; return ws(e, t, null, r, n._onCommit), n }, Ns.prototype.then = function(e) { if (this._didComplete) e(); else { var t = this._callbacks; null === t && (t = this._callbacks = []), t.push(e) } }, Ns.prototype.commit = function() { var e = this._root._internalRoot, t = e.firstBatch; if (this._defer && null !== t || s("251"), this._hasChildren) { var r = this._expirationTime; if (t !== this) { this._hasChildren && (r = this._expirationTime = t._expirationTime, this.render(this._children)); for (var n = null, i = t; i !== this;) n = i, i = i._next; null === n && s("251"), n._next = i._next, this._next = t, e.firstBatch = this } this._defer = !1, _s(e, r), t = this._next, this._next = null, null !== (t = e.firstBatch = t) && t._hasChildren && t.render(t._children) } else this._next = null, this._defer = !1 }, Ns.prototype._onComplete = function() { if (!this._didComplete) { this._didComplete = !0; var e = this._callbacks; if (null !== e) for (var t = 0; t < e.length; t++)(0, e[t])() } }, ks.prototype.then = function(e) { if (this._didCommit) e(); else { var t = this._callbacks; null === t && (t = this._callbacks = []), t.push(e) } }, ks.prototype._onCommit = function() { if (!this._didCommit) { this._didCommit = !0; var e = this._callbacks; if (null !== e) for (var t = 0; t < e.length; t++) { var r = e[t]; "function" != typeof r && s("191", r), r() } } }, Rs.prototype.render = function(e, t) { var r = this._internalRoot, n = new ks; return null !== (t = void 0 === t ? null : t) && n.then(t), Is(e, r, null, n._onCommit), n }, Rs.prototype.unmount = function(e) { var t = this._internalRoot, r = new ks; return null !== (e = void 0 === e ? null : e) && r.then(e), Is(null, t, null, r._onCommit), r }, Rs.prototype.legacy_renderSubtreeIntoContainer = function(e, t, r) { var n = this._internalRoot, i = new ks; return null !== (r = void 0 === r ? null : r) && i.then(r), Is(t, n, e, i._onCommit), i }, Rs.prototype.createBatch = function() { var e = new Ns(this), t = e._expirationTime, r = this._internalRoot, n = r.firstBatch; if (null === n) r.firstBatch = e, e._next = null; else { for (r = null; null !== n && n._expirationTime >= t;) r = n, n = n._next; e._next = n, null !== r && (r._next = e) } return e }, Le = Es, Me = Os, je = function() { Ka || 0 === Xa || (gs(Xa, !1), Xa = 0) }; var Ds, Us, Bs = { createPortal: js, findDOMNode: function(e) { if (null == e) return null; if (1 === e.nodeType) return e; var t = e._reactInternalFiber; return void 0 === t && ("function" == typeof e.render ? s("188") : s("268", Object.keys(e))), null === (e = or(t)) ? null : e.stateNode }, hydrate: function(e, t, r) { return Ls(t) || s("200"), Ms(null, e, t, !0, r) }, render: function(e, t, r) { return Ls(t) || s("200"), Ms(null, e, t, !1, r) }, unstable_renderSubtreeIntoContainer: function(e, t, r, n) { return Ls(r) || s("200"), (null == e || void 0 === e._reactInternalFiber) && s("38"), Ms(e, t, r, !1, n) }, unmountComponentAtNode: function(e) { return Ls(e) || s("40"), !!e._reactRootContainer && (Cs((function() { Ms(null, null, e, !1, (function() { e._reactRootContainer = null })) })), !0) }, unstable_createPortal: function() { return js.apply(void 0, arguments) }, unstable_batchedUpdates: Es, unstable_interactiveUpdates: Os, flushSync: function(e, t) { Ka && s("187"); var r = es; es = !0; try { return Ga(e, t) } finally { es = r, gs(1073741823, !1) } }, unstable_createRoot: function(e, t) { return Ls(e) || s("299", "unstable_createRoot"), new Rs(e, !0, null != t && !0 === t.hydrate) }, unstable_flushControlled: function(e) { var t = es; es = !0; try { Ga(e) } finally { (es = t) || Ka || gs(1073741823, !1) } }, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { Events: [U, B, F, N.injectEventPluginsByName, _, W, function(e) { I(e, H) }, ke, Re, Pr, R] } }; Us = (Ds = { findFiberByHostInstance: D, bundleType: 0, version: "16.8.6", rendererPackageName: "react-dom" }).findFiberByHostInstance, function(e) { if ("undefined" == typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1; var t = __REACT_DEVTOOLS_GLOBAL_HOOK__; if (t.isDisabled || !t.supportsFiber) return !0; try { var r = t.inject(e); zn = Gn((function(e) { return t.onCommitFiberRoot(r, e) })), Vn = Gn((function(e) { return t.onCommitFiberUnmount(r, e) })) } catch (e) {} }(i({}, Ds, { overrideProps: null, currentDispatcherRef: We.ReactCurrentDispatcher, findHostInstanceByFiber: function(e) { return null === (e = or(e)) ? null : e.stateNode }, findFiberByHostInstance: function(e) { return Us ? Us(e) : null } })); var Fs = { default: Bs }, zs = Fs && Bs || Fs; e.exports = zs.default || zs }, function(e, t) { e.exports = n }, function(e, t, r) { "use strict"; var n = Object.getOwnPropertySymbols, i = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable; function a(e) { if (null == e) throw new TypeError("Object.assign cannot be called with null or undefined"); return Object(e) } e.exports = function() { try { if (!Object.assign) return !1; var e = new String("abc"); if (e[5] = "de", "5" === Object.getOwnPropertyNames(e)[0]) return !1; for (var t = {}, r = 0; r < 10; r++) t["_" + String.fromCharCode(r)] = r; if ("0123456789" !== Object.getOwnPropertyNames(t).map((function(e) { return t[e] })).join("")) return !1; var n = {}; return "abcdefghijklmnopqrst".split("").forEach((function(e) { n[e] = e })), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, n)).join("") } catch (e) { return !1 } }() ? Object.assign : function(e, t) { for (var r, s, u = a(e), c = 1; c < arguments.length; c++) { for (var l in r = Object(arguments[c])) i.call(r, l) && (u[l] = r[l]); if (n) { s = n(r); for (var f = 0; f < s.length; f++) o.call(r, s[f]) && (u[s[f]] = r[s[f]]) } } return u } }, function(e, t, r) { "use strict"; e.exports = r(6) }, function(e, t, r) { "use strict"; (function(e) { Object.defineProperty(t, "__esModule", { value: !0 }); var r = null, n = !1, i = 3, o = -1, a = -1, s = !1, u = !1; function c() { if (!s) { var e = r.expirationTime; u ? A() : u = !0, S(p, e) } } function l() { var e = r, t = r.next; if (r === t) r = null; else { var n = r.previous; r = n.next = t, t.previous = n } e.next = e.previous = null, n = e.callback, t = e.expirationTime, e = e.priorityLevel; var o = i, s = a; i = e, a = t; try { var u = n() } finally { i = o, a = s } if ("function" == typeof u) if (u = { callback: u, priorityLevel: e, expirationTime: t, next: null, previous: null }, null === r) r = u.next = u.previous = u; else { n = null, e = r; do { if (e.expirationTime >= t) { n = e; break } e = e.next } while (e !== r); null === n ? n = r : n === r && (r = u, c()), (t = n.previous).next = n.previous = u, u.next = n, u.previous = t } } function f() { if (-1 === o && null !== r && 1 === r.priorityLevel) { s = !0; try { do { l() } while (null !== r && 1 === r.priorityLevel) } finally { s = !1, null !== r ? c() : u = !1 } } } function p(e) { s = !0; var i = n; n = e; try { if (e) for (; null !== r;) { var o = t.unstable_now(); if (!(r.expirationTime <= o)) break; do { l() } while (null !== r && r.expirationTime <= o) } else if (null !== r) do { l() } while (null !== r && !E()) } finally { s = !1, n = i, null !== r ? c() : u = !1, f() } } var d, h, v = Date, m = "function" == typeof setTimeout ? setTimeout : void 0, y = "function" == typeof clearTimeout ? clearTimeout : void 0, b = "function" == typeof requestAnimationFrame ? requestAnimationFrame : void 0, g = "function" == typeof cancelAnimationFrame ? cancelAnimationFrame : void 0; function _(e) { d = b((function(t) { y(h), e(t) })), h = m((function() { g(d), e(t.unstable_now()) }), 100) } if ("object" == typeof performance && "function" == typeof performance.now) { var T = performance; t.unstable_now = function() { return T.now() } } else t.unstable_now = function() { return v.now() }; var S, A, E, C = null; if ("undefined" != typeof window ? C = window : void 0 !== e && (C = e), C && C._schedMock) { var O = C._schedMock; S = O[0], A = O[1], E = O[2], t.unstable_now = O[3] } else if ("undefined" == typeof window || "function" != typeof MessageChannel) { var w = null, I = function(e) { if (null !== w) try { w(e) } finally { w = null } }; S = function(e) { null !== w ? setTimeout(S, 0, e) : (w = e, setTimeout(I, 0, !1)) }, A = function() { w = null }, E = function() { return !1 } } else { "undefined" != typeof console && ("function" != typeof b && console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"), "function" != typeof g && console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")); var P = null, x = !1, N = -1, k = !1, R = !1, L = 0, M = 33, j = 33; E = function() { return L <= t.unstable_now() }; var D = new MessageChannel, U = D.port2; D.port1.onmessage = function() { x = !1; var e = P, r = N; P = null, N = -1; var n = t.unstable_now(), i = !1; if (0 >= L - n) { if (!(-1 !== r && r <= n)) return k || (k = !0, _(B)), P = e, void(N = r); i = !0 } if (null !== e) { R = !0; try { e(i) } finally { R = !1 } } }; var B = function(e) { if (null !== P) { _(B); var t = e - L + j; t < j && M < j ? (8 > t && (t = 8), j = t < M ? M : t) : M = t, L = e + j, x || (x = !0, U.postMessage(void 0)) } else k = !1 }; S = function(e, t) { P = e, N = t, R || 0 > t ? U.postMessage(void 0) : k || (k = !0, _(B)) }, A = function() { P = null, x = !1, N = -1 } } t.unstable_ImmediatePriority = 1, t.unstable_UserBlockingPriority = 2, t.unstable_NormalPriority = 3, t.unstable_IdlePriority = 5, t.unstable_LowPriority = 4, t.unstable_runWithPriority = function(e, r) { switch (e) { case 1: case 2: case 3: case 4: case 5: break; default: e = 3 } var n = i, a = o; i = e, o = t.unstable_now(); try { return r() } finally { i = n, o = a, f() } }, t.unstable_next = function(e) { switch (i) { case 1: case 2: case 3: var r = 3; break; default: r = i } var n = i, a = o; i = r, o = t.unstable_now(); try { return e() } finally { i = n, o = a, f() } }, t.unstable_scheduleCallback = function(e, n) { var a = -1 !== o ? o : t.unstable_now(); if ("object" == typeof n && null !== n && "number" == typeof n.timeout) n = a + n.timeout; else switch (i) { case 1: n = a + -1; break; case 2: n = a + 250; break; case 5: n = a + 1073741823; break; case 4: n = a + 1e4; break; default: n = a + 5e3 } if (e = { callback: e, priorityLevel: i, expirationTime: n, next: null, previous: null }, null === r) r = e.next = e.previous = e, c(); else { a = null; var s = r; do { if (s.expirationTime > n) { a = s; break } s = s.next } while (s !== r); null === a ? a = r : a === r && (r = e, c()), (n = a.previous).next = a.previous = e, e.next = a, e.previous = n } return e }, t.unstable_cancelCallback = function(e) { var t = e.next; if (null !== t) { if (t === e) r = null; else { e === r && (r = t); var n = e.previous; n.next = t, t.previous = n } e.next = e.previous = null } }, t.unstable_wrapCallback = function(e) { var r = i; return function() { var n = i, a = o; i = r, o = t.unstable_now(); try { return e.apply(this, arguments) } finally { i = n, o = a, f() } } }, t.unstable_getCurrentPriorityLevel = function() { return i }, t.unstable_shouldYield = function() { return !n && (null !== r && r.expirationTime < a || E()) }, t.unstable_continueExecution = function() { null !== r && c() }, t.unstable_pauseExecution = function() {}, t.unstable_getFirstCallbackNode = function() { return r } }).call(this, r(7)) }, function(e, t) { var r; r = function() { return this }(); try { r = r || new Function("return this")() } catch (e) { "object" == typeof window && (r = window) } e.exports = r }])) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.useSendBoxSpeechInterimsVisible = x, t.default = void 0; var n = r(48), i = r(7), o = _(r(3)), a = _(r(1)), s = _(r(0)), u = _(r(519)), c = _(r(290)), l = _(r(523)), f = _(r(524)), p = _(r(299)), d = _(r(536)), h = _(r(196)), v = _(r(23)), m = _(r(136)), y = _(r(20)), b = _(r(6)), g = _(r(137)); function _(e) { return e && e.__esModule ? e : { default: e } } function T(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var S = n.Constants.DictateState, A = S.DICTATING, E = S.STARTING, C = (0, i.css)({ "& > .main": { display: "flex" } }), O = (0, i.css)({ flex: 1e4 }), w = (0, i.css)({ flex: 1 }), I = (0, i.css)({ flex: 1e4 }); function P(e) { var t = e.channelData; return !!(t = void 0 === t ? {} : t).speak } function x() { var e = T((0, h.default)(), 1)[0], t = T((0, m.default)(), 1)[0]; return [(t === E || t === A) && !e.filter(P).length] } var N = function(e) { var t = e.className, r = T((0, y.default)(), 1)[0].hideUploadButton, n = T((0, b.default)(), 1)[0].sendBox, i = T((0, g.default)(), 1)[0], a = (i = void 0 === i ? {} : i).SpeechRecognition, h = T((0, v.default)(), 1)[0], m = T(x(), 1)[0], _ = !!a; return s.default.createElement("div", { className: (0, o.default)(n + "", C + "", t + ""), dir: h, role: "form" }, s.default.createElement(f.default, null), s.default.createElement("div", { className: "main" }, !r && s.default.createElement(d.default, null), m ? s.default.createElement(u.default, { className: O + "" }) : s.default.createElement(p.default, { className: I + "" }), s.default.createElement("div", null, _ ? s.default.createElement(c.default, { className: w + "" }) : s.default.createElement(l.default, null)))) }; N.defaultProps = { className: "" }, N.propTypes = { className: a.default.string }; var k = N; t.default = k }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.connectDictationInterims = t.default = void 0; var n = r(7), i = d(r(3)), o = d(r(1)), a = d(r(0)), s = r(48), u = d(r(44)), c = d(r(188)), l = d(r(136)), f = d(r(15)), p = d(r(6)); function d(e) { return e && e.__esModule ? e : { default: e } } function h(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var v = s.Constants.DictateState, m = v.DICTATING, y = v.STARTING, b = v.STOPPING, g = (0, n.css)({ alignItems: "center", display: "flex" }); t.connectDictationInterims = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return u.default.apply(void 0, [function(e) { return { dictateInterims: e.dictateInterims, dictateState: e.dictateState, language: e.language } }].concat(t)) }; var _ = function(e) { var t = e.className, r = h((0, c.default)(), 1)[0], n = h((0, l.default)(), 1)[0], o = h((0, p.default)(), 1)[0].dictationInterims, s = (0, f.default)(); return n === y || n === b ? a.default.createElement("p", { className: (0, i.default)(o + "", g + "", t + "", "status") }, n === y && s("SPEECH_INPUT_STARTING")) : n === m && (r.length ? a.default.createElement("p", { className: (0, i.default)(o + "", g + "", t + "", "dictating") }, r.map((function(e, t) { return a.default.createElement("span", { key: t }, e, "\xa0") }))) : a.default.createElement("p", { className: (0, i.default)(o + "", g + "", t + "", "status") }, s("SPEECH_INPUT_LISTENING"))) }; _.defaultProps = { className: "" }, _.propTypes = { className: o.default.string }; var T = _; t.default = T }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = u(r(1)), o = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = s(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), a = u(r(293)); function s() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return s = function() { return e }, e } function u(e) { return e && e.__esModule ? e : { default: e } } function c() { return (c = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }).apply(this, arguments) } function l(e, t) { if (null == e) return {}; var r, n, i = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]) } return i } var f = function(e) { return e.preventDefault() }, p = (0, o.forwardRef)((function(e, t) { var r = e.disabled, n = e.onClick, i = l(e, ["disabled", "onClick"]), s = (0, o.useRef)(), u = t || s; return (0, a.default)(u, r), o.default.createElement("button", c({ "aria-disabled": r || void 0, onClick: r ? f : n, ref: u }, i, { type: "button" })) })); p.defaultProps = { disabled: void 0, onClick: void 0 }, p.displayName = "AccessibleButton", p.propTypes = { disabled: i.default.bool, onClick: i.default.func, type: i.default.oneOf(["button"]).isRequired }; var d = p; t.default = d }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, i.default)(), t = e.dictateAbortable, r = e.setDictateAbortable; return [t, r] }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().startDictate }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.connectSendButton = t.default = void 0; var i = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = h(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), o = d(r(44)), a = d(r(292)), s = d(r(1186)), u = d(r(88)), c = d(r(89)), l = d(r(15)), f = d(r(138)), p = d(r(191)); function d(e) { return e && e.__esModule ? e : { default: e } } function h() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return h = function() { return e }, e } function v(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } t.connectSendButton = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return o.default.apply(void 0, [function(e) { return { disabled: e.disabled, language: e.language, submitSendBox: e.submitSendBox } }].concat(t)) }; var m = function() { var e = v((0, u.default)(), 1)[0], t = (0, c.default)(), r = (0, l.default)(), n = (0, f.default)(), o = (0, p.default)(), d = (0, i.useCallback)((function() { t("sendBoxWithoutKeyboard"), n(), o() }), [t, n, o]); return i.default.createElement(a.default, { alt: r("TEXT_INPUT_SEND_BUTTON_ALT"), disabled: e, onClick: d }, i.default.createElement(s.default, null)) }; t.default = m }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.connectSuggestedActions = t.default = void 0; var n = r(7), i = m(r(193)), o = m(r(3)), a = m(r(1)), s = m(r(0)), u = m(r(44)), c = m(r(34)), l = m(r(1193)), f = m(r(23)), p = m(r(15)), d = m(r(20)), h = m(r(6)), v = m(r(297)); function m(e) { return e && e.__esModule ? e : { default: e } } function y(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var b = (0, n.css)({ display: "flex", flexDirection: "column" }); function g(e) { var t = e.displayText, r = e.title, n = e.type, i = e.value; return "messageBack" === n ? r || t : r || ("string" == typeof i ? i : JSON.stringify(i)) } var _ = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return u.default.apply(void 0, [function(e) { return { language: e.language, suggestedActions: e.suggestedActions } }].concat(t)) }; t.connectSuggestedActions = _; var T = function(e) { var t = e.className, r = e.suggestedActions, n = void 0 === r ? [] : r, a = y((0, d.default)(), 1)[0], u = a.suggestedActionLayout, m = a.suggestedActionsStyleSet, _ = y((0, h.default)(), 1)[0].suggestedActions, T = y((0, f.default)(), 1)[0], S = (0, v.default)("webchat__suggested-actions"), A = (0, p.default)(), E = A("SUGGESTED_ACTIONS_ALT", n.length ? A("SUGGESTED_ACTIONS_ALT_HAS_CONTENT") : A("SUGGESTED_ACTIONS_ALT_NO_CONTENT")); if (!n.length) return s.default.createElement("div", { "aria-labelledby": S, "aria-live": "polite", role: "status" }, s.default.createElement(c.default, { id: S, text: E })); var C = n.map((function(e, t) { var r = e.displayText, n = e.image, i = e.text, o = e.title, a = e.type, u = e.value; return s.default.createElement(l.default, { ariaHidden: !0, buttonText: g({ displayText: r, title: o, type: a, value: u }), displayText: r, image: n, key: t, text: i, type: a, value: u }) })); return "stacked" === u ? s.default.createElement("div", { "aria-labelledby": S, "aria-live": "polite", role: "status" }, s.default.createElement(c.default, { id: S, text: E }), s.default.createElement("div", { className: (0, o.default)(_ + "", b + "", t + "") }, C)) : s.default.createElement("div", { "aria-labelledby": S, "aria-live": "polite", role: "status" }, s.default.createElement(c.default, { id: S, text: E }), s.default.createElement(i.default, { autoCenter: !1, className: (0, o.default)(_ + "", t + ""), dir: T, flipperBlurFocusOnClick: !0, showDots: !1, showScrollBar: !1, styleSet: m }, C)) }; T.defaultProps = { className: "" }, T.propTypes = { className: a.default.string, suggestedActions: a.default.arrayOf(a.default.shape({ displayText: a.default.string, image: a.default.string, text: a.default.string, title: a.default.string, type: a.default.string.isRequired, value: a.default.any })).isRequired }; var S = _()(T); t.default = S }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = l(r(291)), i = l(r(0)), o = function(e) { if (e && e.__esModule) return e; var t = {}; if (null != e) for (var r in e) if (Object.prototype.hasOwnProperty.call(e, r)) { var n = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(e, r) : {}; n.get || n.set ? Object.defineProperty(t, r, n) : t[r] = e[r] } return t.default = e, t }(r(296)), a = l(r(1189)), s = l(r(74)), u = l(r(1190)), c = l(r(1192)); function l(e) { return e && e.__esModule ? e : { default: e } } function f(e) { return (f = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function p(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function d(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? p(r, !0).forEach((function(t) { h(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : p(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function h(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function v(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function m(e) { return (m = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) })(e) } function y(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e } function b(e, t) { return (b = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e })(e, t) } function g(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = t.current, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, i = n.current, s = arguments.length > 3 ? arguments[3] : void 0, u = "rtl" === e; if (i && r) { var c = s || r.scrollLeft, l = u ? o.chrome ? c - (r.scrollWidth - r.offsetWidth) : o.edgeUWP || o.internetExplorer ? -c : c : c, f = i.children, p = l + r.offsetWidth / 2, d = (0, a.default)([].slice.call(f), (function(e) { var t = e.offsetLeft + e.offsetWidth / 2; return 1 / Math.abs(p - t) })); if (~d) { var h = f[d], v = h.offsetLeft + h.offsetWidth / 2, m = d + (p - v) / h.offsetWidth * (u ? -1 : 1); return (m % 1 > .99 || m % 1 < .01) && (m = Math.round(m)), { index: Math.abs(l) < 1 ? 0 : (u ? l <= r.offsetWidth - r.scrollWidth : l >= r.scrollWidth - r.offsetWidth) ? f.length - 1 : Math.round(m), indexFraction: m } } } } function _(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = t.current, n = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, i = n.current, a = arguments.length > 3 ? arguments[3] : void 0, s = "rtl" === e; if (i && r) { var u = i.children, c = u[Math.max(0, Math.min(u.length - 1, a))]; if (c) { if (r.offsetWidth === r.scrollWidth) return 0; var l = c.offsetLeft + (c.offsetWidth - r.offsetWidth) / 2; return s ? (l = Math.min(l, 0), l = Math.max(l, r.offsetWidth - r.scrollWidth)) : (l = Math.max(l, 0), l = Math.min(l, r.scrollWidth - r.offsetWidth)), s && (o.chrome ? l += r.scrollWidth - r.offsetWidth : (o.edgeUWP || o.internetExplorer) && (l = -l)), l } } } var T = function(e) { function t(e) { var r; return function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, t), (r = function(e, t) { return !t || "object" !== f(t) && "function" != typeof t ? y(e) : t }(this, m(t).call(this, e))).handleScroll = r.handleScroll.bind(y(r)), r.handleScrollToEnd = r.handleScrollToEnd.bind(y(r)), r.itemContainerRef = i.default.createRef(), r.scrollableRef = i.default.createRef(), r.mergeContext = (0, n.default)((function(e, t) { var r = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : 0; return d({}, e, { dir: t, numItems: r }) })), r.state = { context: { itemContainerRef: r.itemContainerRef, scrollableRef: r.scrollableRef, scrollBarPercentage: "0%", scrollBarWidth: "0%", scrolling: !1, scrollTo: function(e) { r.setState((function(t) { var n = g(r.props.dir, r.scrollableRef, r.itemContainerRef, t.scrollLeft); if (n) { var i = n.index, o = n.indexFraction, a = e({ index: i, indexFraction: o }); if ("number" == typeof a) return { scrollLeft: _(r.props.dir, r.scrollableRef, r.itemContainerRef, a) } } })) }, scrollOneLeft: function() { "rtl" === r.props.dir ? r.state.context.scrollTo((function(e) { var t = e.indexFraction; return Math.floor(t) + 1 })) : r.state.context.scrollTo((function(e) { var t = e.indexFraction; return Math.ceil(t) - 1 })) }, scrollOneRight: function() { "rtl" === r.props.dir ? r.state.context.scrollTo((function(e) { var t = e.indexFraction; return Math.ceil(t) - 1 })) : r.state.context.scrollTo((function(e) { var t = e.indexFraction; return Math.floor(t) + 1 })) } }, scrollLeft: null }, r } var r, o, a; return function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && b(e, t) }(t, e), r = t, (o = [{ key: "componentWillUnmount", value: function() { clearTimeout(this.scrollTimeout) } }, { key: "handleScroll", value: function(e) { var t = this, r = e.fraction, n = e.initial, i = e.width; this.setState((function(e) { var o = e.context, a = e.scrollLeft, s = g(t.props.dir, t.scrollableRef, t.itemContainerRef, a); if (s) return { context: d({}, o, { index: s.index, indexFraction: s.indexFraction, scrolling: !n, scrollBarPercentage: r, scrollBarWidth: i }) } })), n || (clearTimeout(this.scrollTimeout), this.scrollTimeout = setTimeout((function() { t.setState((function(e) { return { context: d({}, e.context, { scrolling: !1 }) } })) }), 500)) } }, { key: "handleScrollToEnd", value: function() { this.setState((function() { return { scrollLeft: null } })) } }, { key: "render", value: function() { var e = this.props, t = e.children, r = e.dir, n = e.numItems, o = this.scrollableRef, a = this.state, l = a.context, f = a.scrollLeft; return i.default.createElement(s.default.Provider, { value: this.mergeContext(l, r, n) }, t, i.default.createElement(u.default, { onScroll: this.handleScroll, targetRef: o }), "number" == typeof f && i.default.createElement(c.default, { onEnd: this.handleScrollToEnd, scrollLeft: f, targetRef: o })) } }]) && v(r.prototype, o), a && v(r, a), t }(i.default.Component); t.default = T }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = null, r = null; return function() { return t && t.length === arguments.length && ![].some.call(arguments, (function(e, r) { return e !== t[r] })) || (t = [].slice.call(arguments), r = e.apply(null, arguments)), r } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.autoHide, r = void 0 === t || t, i = e.autoHideFlipperOnEdge, c = void 0 === i || i, h = e.cursor, v = void 0 === h ? "pointer" : h, m = e.dotBoxSize, y = void 0 === m ? 20 : m, b = e.dotSize, g = void 0 === b ? 6 : b, _ = e.flipperBoxWidth, T = void 0 === _ ? 60 : _, S = e.flipperSize, A = void 0 === S ? 40 : S, E = e.scrollBarHeight, C = void 0 === E ? 8 : E, O = e.scrollBarMargin, w = void 0 === O ? 4 : O, I = { carousel: "", dotsBox: s({ height: y }), dotsItem: u({ boxSize: y, cursor: v, size: g }), leftFlipper: l({ boxWidth: T, cursor: v, size: A }), rightFlipper: f({ boxWidth: T, cursor: v, size: A }), scrollBarBox: p({ margin: w }), scrollBarHandler: d({ height: C }) }; if (r) { var P, x = { position: "absolute", top: 0, transitionDelay: "1s", transitionDuration: "300ms" }; I.leftFlipper = (0, n.css)(I.leftFlipper, a({ "& > div.slider": o({}, x, { left: -50, transitionProperty: "left" }) }, "&:focus".concat(c ? ":not(.hide)" : "", " > div.slider"), { left: 0, transitionDelay: "0s" })), I.rightFlipper = (0, n.css)(I.rightFlipper, a({ "& > div.slider": o({}, x, { right: -50, transitionProperty: "right" }) }, "&:focus".concat(c ? ":not(.hide)" : "", " > div.slider"), { right: 0, transitionDelay: "0s" })), I.scrollBarBox = (0, n.css)(I.scrollBarBox, { bottom: -30, transitionDelay: "1s", transitionDuration: "300ms", transitionProperty: "bottom" }), I.carousel = (0, n.css)({ "&:hover, &.scrolling": (P = {}, a(P, "& .".concat(I.scrollBarBox + "", ", & .").concat(I.leftFlipper + "", " > div.slider, & .").concat(I.rightFlipper + "", " > div.slider"), { transitionDelay: "0s" }), a(P, "& .".concat(I.scrollBarBox + ""), { bottom: 0 }), a(P, "& .".concat(I.leftFlipper + "").concat(c ? ":not(.hide)" : "", " > div.slider"), { left: 0 }), a(P, "& .".concat(I.rightFlipper + "").concat(c ? ":not(.hide)" : "", " > div.slider"), { right: 0 }), P) }) } return I }; var n = r(7); function i(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function o(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? i(r, !0).forEach((function(t) { a(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : i(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function a(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } var s = function(e) { var t = e.height; return (0, n.css)({ alignItems: "center", bottom: 0, height: t, justifyContent: "center", width: "100%" }) }, u = function(e) { var t = e.boxSize, r = e.cursor, i = e.size; return (0, n.css)({ alignItems: "center", display: "flex", height: t, justifyContent: "center", width: t, "& > input": o({}, r ? { cursor: r } : {}, { height: "100%", left: 0, margin: 0, opacity: 0, position: "absolute", userSelect: "none", top: 0, touchAction: "none", width: "100%" }), "& > div": { background: "rgba(0, 0, 0, .2)", borderRadius: i / 2, height: i, width: i }, "&:hover > div, & > input:focus + div": { background: "rgba(0, 0, 0, .4)" }, "& > input:active + div": { background: "rgba(0, 0, 0, .8)" }, "& > input:checked:not(:active) + div": { background: "rgba(0, 0, 0, .6)" } }) }, c = function(e) { var t = e.boxWidth, r = e.cursor, i = e.size; return (0, n.css)(o({}, r ? { cursor: r } : {}, { background: "Transparent", height: "100%", overflow: "hidden", position: "absolute", userSelect: "none", top: 0, touchAction: "none", transitionDuration: "300ms", width: t, zIndex: 1, "& > div.slider": { alignItems: "center", display: "flex", height: "100%", justifyContent: "center", position: "absolute", top: 0, width: "100%", "& > div": { backgroundColor: "rgba(0, 0, 0, .6)", borderRadius: "50%", color: "rgba(255, 255, 255, .6)", fontFamily: ["Consolas", "monospace"].map((function(e) { return "'".concat(e, "'") })).join(", "), fontSize: 16, height: i, lineHeight: "".concat(i, "px"), transitionProperty: "background-color", transitionDuration: "100ms", width: i } }, "&:hover, &:focus": { "& > div.slider > div": { backgroundColor: "rgba(0, 0, 0, .8)", color: "rgba(255, 255, 255, .8)", transitionDuration: 0 } }, "&:active > div.slider > div": { backgroundColor: "Black", color: "White", transitionDuration: 0 } })) }, l = function(e) { return (0, n.css)({ left: 0, transitionProperty: "left", "& > div.slider": { left: 0 } }, c(e)) }, f = function(e) { return (0, n.css)({ right: 0, transitionProperty: "right", "& > div.slider": { right: 0 } }, c(e)) }, p = function(e) { var t = e.margin; return (0, n.css)({ bottom: 0, padding: t, position: "absolute", transitionDelay: "1s", transitionDuration: "300ms", transitionProperty: "bottom", width: "100%" }) }, d = function(e) { var t = e.height; return (0, n.css)({ backdropFilter: "blur(4px)", background: "rgba(255, 255, 255, .4)", borderRadius: t / 2, height: t }) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = s(r(3)), o = s(r(0)), a = s(r(74)); function s(e) { return e && e.__esModule ? e : { default: e } } function u() { return (u = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }).apply(this, arguments) } function c(e) { return (c = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function l(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function f(e) { return (f = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) })(e) } function p(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e } function d(e, t) { return (d = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e })(e, t) } var h = (0, n.css)({ display: "flex", listStyleType: "none", margin: 0, padding: 0 }), v = (0, n.css)({ position: "relative", "& > input": { height: "100%", left: 0, margin: 0, opacity: 0, position: "absolute", top: 0, width: "100%" } }), m = function(e) { var t = e.children, r = e.className, n = e.index, a = e.itemClassName, s = e.numItems, u = e.scrollTo; return o.default.createElement("ul", { className: (0, i.default)(h + "", (r || "") + "") }, new Array(s).fill().map((function(e, r) { return o.default.createElement(y, { "aria-label": r + 1, checked: r === n, className: a, index: r, key: r, scrollTo: u }, t) }))) }, y = function(e) { function t(e) { var r; return function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, t), (r = function(e, t) { return !t || "object" !== c(t) && "function" != typeof t ? p(e) : t }(this, f(t).call(this, e))).handleChange = r.handleChange.bind(p(r)), r.handleKeyPress = r.handleKeyPress.bind(p(r)), r } var r, n, a; return function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && d(e, t) }(t, e), r = t, (n = [{ key: "handleChange", value: function() { var e = this; this.props.scrollTo((function() { return e.props.index })) } }, { key: "handleKeyPress", value: function(e) { var t = e.keyCode; 13 !== t && 32 !== t || (e.preventDefault(), e.stopPropagation(), this.handleChange()) } }, { key: "render", value: function() { var e = this.props, t = e["aria-label"], r = e.checked, n = e.children, a = e.className; return o.default.createElement("li", { className: (0, i.default)(v + "", (a || "") + "") }, o.default.createElement("input", { "aria-label": t, "aria-pressed": r, checked: r, onChange: this.handleChange, onKeyPress: this.handleKeyPress, role: "button", type: "checkbox" }), n && n()) } }]) && l(r.prototype, n), a && l(r, a), t }(o.default.Component); t.default = function(e) { return o.default.createElement(a.default.Consumer, null, (function(t) { var r = t.index, n = t.numItems, i = t.scrollTo; return o.default.createElement(m, u({ index: r, numItems: n, scrollTo: i }, e)) })) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = s(r(3)), o = s(r(0)), a = s(r(74)); function s(e) { return e && e.__esModule ? e : { default: e } } var u = (0, n.css)({ MsOverflowStyle: "none", overflowX: "scroll", overflowY: "hidden", position: "relative", touchAction: "manipulation", zIndex: 0, "&::-webkit-scrollbar": { display: "none" }, "& > ul": { display: "flex", listStyleType: "none", margin: 0, padding: 0 } }); t.default = function(e) { var t = e.children, r = e.className; return o.default.createElement(a.default.Consumer, null, (function(e) { var n = e.itemContainerRef, a = e.scrollableRef; return o.default.createElement("div", { className: (0, i.default)(u + "", r), ref: a }, o.default.createElement("ul", { ref: n }, o.default.Children.map(t, (function(e) { return o.default.createElement("li", null, e) })))) })) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = c(r(3)), o = u(r(0)), a = c(r(74)), s = u(r(296)); function u(e) { if (e && e.__esModule) return e; var t = {}; if (null != e) for (var r in e) if (Object.prototype.hasOwnProperty.call(e, r)) { var n = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(e, r) : {}; n.get || n.set ? Object.defineProperty(t, r, n) : t[r] = e[r] } return t.default = e, t } function c(e) { return e && e.__esModule ? e : { default: e } } var l = (0, n.css)({ border: 0, outline: 0 }); t.default = function(e) { var t, r = e["aria-label"], n = e.blurFocusOnClick, u = e.children, c = e.className, f = e.mode, p = (0, o.useContext)(a.default), d = p.dir, h = p.scrollBarPercentage, v = p.scrollOneLeft, m = p.scrollOneRight, y = (0, o.useRef)(), b = "left" === f, g = (0, o.useCallback)((function() { b ? v() : m(), n && y.current.blur() }), [n, f, y, v, m]), _ = (0, o.useCallback)((function(e) { var t = e.key; "Enter" !== t && " " !== t || (e.preventDefault(), b ? v() : m()) }), [f, y, v, m]); return t = "rtl" !== d || s.chrome ? b ? "0%" === h : "100%" === h : b ? "100%" === h || "-100%" === h : "0%" === h, o.default.createElement("button", { "aria-label": r || (b ? "left" : "right"), className: (0, i.default)(l + "", c, { hide: t }), onClick: g, onKeyDown: _, type: "button", ref: y }, o.default.createElement("div", { className: "slider" }, u)) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = u(r(3)), o = u(r(0)), a = function(e) { if (e && e.__esModule) return e; var t = {}; if (null != e) for (var r in e) if (Object.prototype.hasOwnProperty.call(e, r)) { var n = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(e, r) : {}; n.get || n.set ? Object.defineProperty(t, r, n) : t[r] = e[r] } return t.default = e, t }(r(296)), s = u(r(74)); function u(e) { return e && e.__esModule ? e : { default: e } } function c(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function l(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? c(r, !0).forEach((function(t) { f(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : c(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function f(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } var p = (0, n.css)({ boxSizing: "border-box" }); t.default = function(e) { var t = e.className, r = e.handlerClassName; return o.default.createElement(s.default.Consumer, null, (function(e) { var n = e.dir, s = e.scrollBarPercentage, u = e.scrollBarWidth; return o.default.createElement("div", { className: (0, i.default)(p + "", t) }, o.default.createElement("div", { className: r, style: l({}, "rtl" === n ? a.firefox || a.safari ? { marginRight: "".concat((parseFloat(u) / 100 - 1) * parseFloat(s), "%") } : a.edgeUWP || a.internetExplorer ? { marginRight: "".concat((1 - parseFloat(u) / 100) * parseFloat(s), "%") } : { marginRight: "".concat((1 - parseFloat(u) / 100) * (100 - parseFloat(s)), "%") } : { marginLeft: "".concat((1 - parseFloat(u) / 100) * parseFloat(s), "%") }, { width: u }) })) })) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().onCardAction }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, o.useSelector)((function(e) { return e.suggestedActions })), t = (0, a.default)().clearSuggestedActions; return [e, (0, i.useCallback)((function(e) { if (e && e.length) throw new Error("SuggestedActions cannot be set to values other than empty."); t() }), [t])] }; var n, i = r(0), o = r(38), a = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "Context", { enumerable: !0, get: function() { return i.default } }), t.default = void 0; var n = o(r(1194)), i = o(r(535)); function o(e) { return e && e.__esModule ? e : { default: e } } var a = n.default; t.default = a }, function(e, t, r) { "use strict"; var n; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = ((n = r(0)) && n.__esModule ? n : { default: n }).default.createContext({ focusableRef: void 0 }); i.displayName = "TypeFocusSinkContext"; var o = i; t.default = o }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.connectUploadButton = t.default = void 0; var i = r(7), o = m(r(3)), a = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = v(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), s = m(r(1198)), u = m(r(44)), c = m(r(537)), l = m(r(292)), f = m(r(88)), p = m(r(15)), d = m(r(539)), h = m(r(6)); function v() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return v = function() { return e }, e } function m(e) { return e && e.__esModule ? e : { default: e } } function y(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } function b(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function g(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? b(Object(r), !0).forEach((function(t) { _(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : b(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function _(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function T(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } function S(e) { return function() { var t = this, r = arguments; return new Promise((function(n, i) { var o = e.apply(t, r); function a(e) { T(o, n, i, a, s, "next", e) } function s(e) { T(o, n, i, a, s, "throw", e) } a(void 0) })) } } var A = (0, i.css)({ overflow: "hidden", position: "relative", "& > input": { height: 0, width: 0, opacity: 0, position: "absolute", left: 0, top: 0 } }), E = function(e) { return e.preventDefault() }; function C(e, t, r, n, i) { return O.apply(this, arguments) } function O() { return (O = S(regeneratorRuntime.mark((function e(t, r, n, i, o) { return regeneratorRuntime.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (!/\.(gif|jpe?g|png)$/i.test(t.name)) { e.next = 10; break } return e.prev = 1, e.next = 4, (0, c.default)(t, r, n, i, o); case 4: return e.abrupt("return", e.sent); case 7: e.prev = 7, e.t0 = e.catch(1), console.warn("Web Chat: Failed to downscale image due to ".concat(e.t0, ".")); case 10: case "end": return e.stop() } }), e, null, [ [1, 7] ]) })))).apply(this, arguments) } t.connectUploadButton = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return u.default.apply(void 0, [function(e) { var t, r = e.disabled, n = e.language, i = e.sendFiles, o = e.styleSet.options, a = o.enableUploadThumbnail, s = o.uploadThumbnailContentType, u = o.uploadThumbnailHeight, c = o.uploadThumbnailQuality, l = o.uploadThumbnailWidth; return { disabled: r, language: n, sendFiles: (t = S(regeneratorRuntime.mark((function e(t) { return regeneratorRuntime.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (!t || !t.length) { e.next = 6; break } return e.t0 = i, e.next = 4, Promise.all([].map.call(t, function() { var e = S(regeneratorRuntime.mark((function e(t) { return regeneratorRuntime.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (e.t0 = g, e.t1 = { name: t.name, size: t.size, url: window.URL.createObjectURL(t) }, e.t2 = a, !e.t2) { e.next = 8; break } return e.next = 6, C(t, l, u, s, c); case 6: e.t3 = e.sent, e.t2 = { thumbnail: e.t3 }; case 8: return e.t4 = e.t2, e.abrupt("return", (0, e.t0)(e.t1, e.t4)); case 10: case "end": return e.stop() } }), e) }))); return function(t) { return e.apply(this, arguments) } }())); case 4: e.t1 = e.sent, (0, e.t0)(e.t1); case 6: case "end": return e.stop() } }), e) }))), function(e) { return t.apply(this, arguments) }) } }].concat(t)) }; var w = function() { var e = y((0, h.default)(), 1)[0].uploadButton, t = y((0, f.default)(), 1)[0], r = (0, a.useRef)(), n = (0, p.default)(), i = (0, d.default)(), u = r.current, c = n("TEXT_INPUT_UPLOAD_BUTTON_ALT"), v = (0, a.useCallback)((function() { u && u.click() }), [u]), m = (0, a.useCallback)((function(e) { var t = e.target.files; i(t), u && (u.value = null) }), [u, i]); return a.default.createElement("div", { className: (0, o.default)(A + "", e + "") }, a.default.createElement("input", { "aria-disabled": t, "aria-hidden": "true", multiple: !0, onChange: t ? void 0 : m, onClick: t ? E : void 0, readOnly: t, ref: r, role: "button", tabIndex: -1, type: "file" }), a.default.createElement(l.default, { alt: c, "aria-label": c, disabled: t, onClick: v }, a.default.createElement(s.default, null))) }; t.default = w }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r, n, i) { if ((0, a.checkSupport)()) return (0, a.default)(e, t, r, n, i); return (0, o.default)(e, t, r, n, i) }; var i, o = (i = r(1199)) && i.__esModule ? i : { default: i }, a = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = s(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(538)); function s() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return s = function() { return e }, e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r, n, o) { return new Promise((function(a, s) { var u = new MessageChannel, c = u.port1, l = u.port2; c.onmessage = function(e) { var t = e.data, r = t.error, n = t.result; if (r) { var i = new Error(r.message); i.stack = r.stack, s(i) } else a(n); c.close(), l.close() }, Promise.all([(0, i.default)(e), f()]).then((function(e) { var i, a, s = (a = 2, function(e) { if (Array.isArray(e)) return e }(i = e) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(i, a) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }()), u = s[0]; return s[1].postMessage({ arrayBuffer: u, maxHeight: r, maxWidth: t, quality: o, type: n }, [u, l]) })) })) }, t.checkSupport = void 0; var n, i = s(r(1200)), o = s(r(291)), a = s(r(1201)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } function c(e) { return function() { var t = this, r = arguments; return new Promise((function(n, i) { var o = e.apply(t, r); function a(e) { u(o, n, i, a, s, "next", e) } function s(e) { u(o, n, i, a, s, "throw", e) } a(void 0) })) } } function l() { var e = new Blob(["(".concat(a.default, ")()")], { type: "text/javascript" }), t = window.URL.createObjectURL(e); return new Promise((function(e, r) { var n = new Worker(t); n.onerror = function(e) { var t = e.error, n = e.message; return r(t || new Error(n)) }, n.onmessage = function(t) { return "ready" === t.data && e(n) } })).finally((function() { window.URL.revokeObjectURL(t) })) } function f() { return p.apply(this, arguments) } function p() { return (p = c(regeneratorRuntime.mark((function e() { var t; return regeneratorRuntime.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (!n) { e.next = 6; break } return e.next = 3, n; case 3: t = e.sent, e.next = 11; break; case 6: return n = l(), e.next = 9, n; case 9: (t = e.sent).addEventListener("error", (function() { n = null, t.terminate() })); case 11: return e.abrupt("return", t); case 12: case "end": return e.stop() } }), e) })))).apply(this, arguments) } var d = (0, o.default)((function() { var e, t = void 0 !== window.OffscreenCanvas && (void 0 !== window.OffscreenCanvas.prototype.convertToBlob || void 0 !== window.OffscreenCanvas.prototype.toBlob); if (t) try { new OffscreenCanvas(1, 1).getContext("2d"), e = !0 } catch (t) { e = !1 } return void 0 !== window.createImageBitmap && void 0 !== window.MessageChannel && t && e && void 0 !== window.Worker })); t.checkSupport = d }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, u.default)().sendFiles, t = (y = (0, o.default)(), b = 1, function(e) { if (Array.isArray(e)) return e }(y) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(y, b) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }())[0], r = t.enableUploadThumbnail, i = t.uploadThumbnailContentType, c = t.uploadThumbnailHeight, l = t.uploadThumbnailQuality, p = t.uploadThumbnailWidth, d = (0, a.default)(), m = (0, s.default)(); var y, b; return (0, n.useCallback)(function() { var t = h(regeneratorRuntime.mark((function t(n) { var o; return regeneratorRuntime.wrap((function(t) { for (;;) switch (t.prev = t.next) { case 0: if (!n || !n.length) { t.next = 7; break } return n = [].slice.call(n), t.next = 4, Promise.all([].map.call(n, function() { var e = h(regeneratorRuntime.mark((function e(t) { var n; return regeneratorRuntime.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (!r || (o = void 0, o = t.name, !/\.(gif|jpe?g|png)$/i.test(o))) { e.next = 4; break } return e.next = 3, m("sendFiles:makeThumbnail", v(t, p, c, i, l)); case 3: n = e.sent; case 4: return e.abrupt("return", f({ name: t.name, size: t.size, url: window.URL.createObjectURL(t) }, n && { thumbnail: n })); case 5: case "end": return e.stop() } var o }), e) }))); return function(t) { return e.apply(this, arguments) } }())); case 4: o = t.sent, e(o), d("sendFiles", { numFiles: n.length, sumSizeInKB: Math.round(n.reduce((function(e, t) { return e + t.size }), 0) / 1024) }); case 7: case "end": return t.stop() } }), t) }))); return function(e) { return t.apply(this, arguments) } }(), [r, e, d, m, i, c, l, p]) }; var n = r(0), i = c(r(537)), o = c(r(20)), a = c(r(192)), s = c(r(540)), u = c(r(4)); function c(e) { return e && e.__esModule ? e : { default: e } } function l(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function f(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? l(Object(r), !0).forEach((function(t) { p(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : l(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function p(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function d(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } function h(e) { return function() { var t = this, r = arguments; return new Promise((function(n, i) { var o = e.apply(t, r); function a(e) { d(o, n, i, a, s, "next", e) } function s(e) { d(o, n, i, a, s, "throw", e) } a(void 0) })) } } function v(e, t, r, n, i) { return m.apply(this, arguments) } function m() { return (m = h(regeneratorRuntime.mark((function e(t, r, n, o, a) { return regeneratorRuntime.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.prev = 0, e.next = 3, (0, i.default)(t, r, n, o, a); case 3: return e.abrupt("return", e.sent); case 6: e.prev = 6, e.t0 = e.catch(0), console.warn("Web Chat: Failed to downscale image due to ".concat(e.t0, ".")); case 9: case "end": return e.stop() } }), e, null, [ [0, 6] ]) })))).apply(this, arguments) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, u.default)().onTelemetry, t = (0, a.default)(), r = (0, s.default)(); return (0, n.useCallback)(function() { var n, a = (n = regeneratorRuntime.mark((function n(a, s) { var u, c, l; return regeneratorRuntime.wrap((function(n) { for (;;) switch (n.prev = n.next) { case 0: if (a && "string" == typeof a) { n.next = 4; break } return n.abrupt("return", console.warn('botframework-webchat: "name" passed to "useTrackTiming" hook must be specified and of type string.')); case 4: if ("function" == typeof s || "function" == typeof s.then) { n.next = 6; break } return n.abrupt("return", console.warn('botframework-webchat: "functionOrPromise" passed to "useTrackTiming" hook must be specified, of type function or Promise.')); case 6: return u = (0, o.default)(), e && e((0, i.default)("timingstart", { dimensions: t(), name: a, timingId: u })), c = Date.now(), n.prev = 9, n.next = 12, "function" == typeof s ? s() : s; case 12: return n.abrupt("return", n.sent); case 15: throw n.prev = 15, n.t0 = n.catch(9), r(n.t0, !1), n.t0; case 19: return n.prev = 19, l = Date.now() - c, e && e((0, i.default)("timingend", { dimensions: t(), duration: l, name: a, timingId: u })), n.finish(19); case 23: case "end": return n.stop() } }), n, null, [ [9, 15, 19, 23] ]) })), function() { var e = this, t = arguments; return new Promise((function(r, i) { var o = n.apply(e, t); function a(e) { l(o, r, i, a, s, "next", e) } function s(e) { l(o, r, i, a, s, "throw", e) } a(void 0) })) }); return function(e, t) { return a.apply(this, arguments) } }(), [e, t, r]) }; var n = r(0), i = c(r(139)), o = c(r(194)), a = c(r(295)), s = c(r(195)), u = c(r(4)); function c(e) { return e && e.__esModule ? e : { default: e } } function l(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = u(r(1)), i = u(r(0)), o = u(r(1205)), a = u(r(1206)), s = u(r(15)); function u(e) { return e && e.__esModule ? e : { default: e } } var c = function(e) { var t = e.className, r = e.level, n = (0, s.default)(), u = { error: n("TOAST_ALT_ERROR"), info: n("TOAST_ALT_INFO"), success: n("TOAST_ALT_SUCCESS"), warn: n("TOAST_ALT_WARN") }[r] || ""; return i.default.createElement(i.default.Fragment, null, "success" === r ? i.default.createElement(o.default, { "aria-label": u, className: t }) : i.default.createElement(a.default, { "aria-label": u, className: t })) }; c.defaultProps = { className: void 0 }, c.propTypes = { className: n.default.string, level: n.default.oneOf(["error", "info", "success", "warn"]).isRequired }; var l = c; t.default = l }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.useContext)(o.default).toastRenderer }; var n, i = r(0), o = (n = r(62)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "AutoHideFollowButton", { enumerable: !0, get: function() { return n.default } }), Object.defineProperty(t, "Composer", { enumerable: !0, get: function() { return o.default } }), Object.defineProperty(t, "FunctionContext", { enumerable: !0, get: function() { return a.default } }), Object.defineProperty(t, "Panel", { enumerable: !0, get: function() { return s.default } }), Object.defineProperty(t, "StateContext", { enumerable: !0, get: function() { return u.default } }), Object.defineProperty(t, "useAnimating", { enumerable: !0, get: function() { return c.default } }), Object.defineProperty(t, "useAtBottom", { enumerable: !0, get: function() { return l.default } }), Object.defineProperty(t, "useAtEnd", { enumerable: !0, get: function() { return f.default } }), Object.defineProperty(t, "useAtStart", { enumerable: !0, get: function() { return p.default } }), Object.defineProperty(t, "useAtTop", { enumerable: !0, get: function() { return d.default } }), Object.defineProperty(t, "useMode", { enumerable: !0, get: function() { return h.default } }), Object.defineProperty(t, "useScrollTo", { enumerable: !0, get: function() { return v.default } }), Object.defineProperty(t, "useScrollToBottom", { enumerable: !0, get: function() { return m.default } }), Object.defineProperty(t, "useScrollToEnd", { enumerable: !0, get: function() { return y.default } }), Object.defineProperty(t, "useScrollToStart", { enumerable: !0, get: function() { return b.default } }), Object.defineProperty(t, "useScrollToTop", { enumerable: !0, get: function() { return g.default } }), Object.defineProperty(t, "useSticky", { enumerable: !0, get: function() { return _.default } }), t.default = void 0; var n = T(r(544)), i = T(r(1208)), o = T(r(547)), a = T(r(90)), s = T(r(549)), u = T(r(63)), c = T(r(1212)), l = T(r(1213)), f = T(r(1214)), p = T(r(1215)), d = T(r(1216)), h = T(r(1217)), v = T(r(1218)), m = T(r(1219)), y = T(r(545)), b = T(r(1220)), g = T(r(1221)), _ = T(r(546)); function T(e) { return e && e.__esModule ? e : { default: e } } var S = i.default; t.default = S }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = c(r(3)), o = c(r(1)), a = c(r(0)), s = c(r(545)), u = c(r(546)); function c(e) { return e && e.__esModule ? e : { default: e } } function l(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function(e, t) { if (!e) return; if ("string" == typeof e) return f(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); "Object" === r && e.constructor && (r = e.constructor.name); if ("Map" === r || "Set" === r) return Array.from(e); if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return f(e, t) }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") }() } function f(e, t) { (null == t || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n } var p = (0, n.css)({ backgroundColor: "rgba(0, 0, 0, .2)", borderRadius: 10, borderWidth: 0, bottom: 5, cursor: "pointer", height: 20, outline: 0, position: "absolute", right: 20, width: 20, "&:hover": { backgroundColor: "rgba(0, 0, 0, .4)" }, "&:active": { backgroundColor: "rgba(0, 0, 0, .6)" } }), d = function(e) { var t = e.children, r = e.className, n = l((0, u.default)(), 1)[0], o = (0, s.default)(); return !n && a.default.createElement("button", { className: (0, i.default)(p + "", (r || "") + ""), onClick: o, type: "button" }, t) }; d.defaultProps = { children: void 0, className: "" }, d.propTypes = { children: o.default.any, className: o.default.string }; var h = d; t.default = h }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.useContext)(o.default).scrollToEnd }; var n, i = r(0), o = (n = r(90)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.useContext)(o.default).sticky] }; var n, i = r(0), o = (n = r(63)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = p(r(1)), o = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = f(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), a = p(r(1209)), s = p(r(90)), u = p(r(548)), c = p(r(1211)), l = p(r(63)); function f() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return f = function() { return e }, e } function p(e) { return e && e.__esModule ? e : { default: e } } function d(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if ("undefined" == typeof Symbol || !(Symbol.iterator in Object(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function(e, t) { if (!e) return; if ("string" == typeof e) return h(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); "Object" === r && e.constructor && (r = e.constructor.name); if ("Map" === r || "Set" === r) return Array.from(e); if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return h(e, t) }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") }() } function h(e, t) { (null == t || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n } function v(e) { var t = e.mode, r = e.target, n = r.offsetHeight, i = r.scrollHeight, o = r.scrollTop, a = i - o - n < 1, s = o < 1; return { atBottom: a, atEnd: "top" === t ? s : a, atStart: "top" !== t ? s : a, atTop: s } } var m = function(e) { var t = e.checkInterval, r = e.children, n = e.debounce, i = e.mode; i = "top" === i ? "top" : "bottom"; var f = (0, o.useRef)(0), p = d((0, o.useState)("top" === i ? 0 : "100%"), 2), h = p[0], m = p[1], y = d((0, o.useState)(0), 2), b = y[0], g = y[1], _ = d((0, o.useState)(0), 2), T = _[0], S = _[1], A = d((0, o.useState)(!1), 2), E = A[0], C = A[1], O = d((0, o.useState)(!0), 2), w = O[0], I = O[1], P = d((0, o.useState)(!0), 2), x = P[0], N = P[1], k = d((0, o.useState)(!0), 2), R = k[0], L = k[1], M = d((0, o.useState)(!1), 2), j = M[0], D = M[1], U = d((0, o.useState)(!0), 2), B = U[0], F = U[1], z = (0, o.useCallback)((function(e) { C(!0), m(e) }), [C, m]), V = (0, o.useCallback)((function() { return z("100%") }), [z]), G = (0, o.useCallback)((function() { return z(0) }), [z]), q = (0, o.useCallback)((function() { return "top" === i ? G() : V() }), [i, V, G]), H = (0, o.useCallback)((function() { return "top" === i ? V() : G() }), [i, V, G]), W = d((0, o.useState)(null), 2), Y = W[0], K = W[1]; (0, o.useEffect)((function() { if (B) { var e = !1, r = (n = function() { B && Y && !v({ mode: i, target: Y }).atEnd ? e ? Date.now() - e > 34 && (!E && q(), e = !1) : e = Date.now() : e = !1 }, o = Math.max(17, t) || 17, n(), setInterval(n, o)); return function() { return clearInterval(r) } } var n, o }), [E, t, i, q, B, Y]); var $ = (0, o.useCallback)((function(e) { if (!(e.timeStampLow <= f.current) && Y) { var t = v({ mode: i, target: Y }), r = t.atBottom, n = t.atEnd, o = t.atStart, a = t.atTop; I(r), N(n), D(o), L(a); var s = Y.offsetHeight, u = Y.scrollHeight, c = s !== b, l = u !== T; c && g(s), l && S(u), !c && !l && F(E || n), null === h && C(!1) } }), [E, f, i, b, T, h, C, I, N, D, L, g, S, F, Y]), J = (0, o.useCallback)((function() { f.current = Date.now(), C(!1), m(null) }), [f, m]), X = (0, o.useMemo)((function() { return { offsetHeight: b, scrollHeight: T, setTarget: K } }), [b, T, K]), Z = (0, o.useMemo)((function() { return { animating: E, atBottom: w, atEnd: x, atStart: j, atTop: R, mode: i, sticky: B } }), [E, w, x, j, R, i, B]), Q = (0, o.useMemo)((function() { return { scrollTo: z, scrollToBottom: V, scrollToEnd: q, scrollToStart: H, scrollToTop: G } }), [z, V, q, H, G]); return (0, o.useEffect)((function() { if (Y) { var e = function() { return S(Y.scrollHeight) }; return Y.addEventListener("focus", e, { capture: !0, passive: !0 }), function() { return Y.removeEventListener("focus", e) } } }), [Y]), o.default.createElement(u.default.Provider, { value: X }, o.default.createElement(s.default.Provider, { value: Q }, o.default.createElement(l.default.Provider, { value: Z }, r, Y && o.default.createElement(a.default, { debounce: n, name: "scroll", onEvent: $, target: Y }), Y && null !== h && o.default.createElement(c.default, { name: "scrollTop", onEnd: J, target: Y, value: h })))) }; m.defaultProps = { checkInterval: 100, children: void 0, debounce: 17, mode: void 0 }, m.propTypes = { checkInterval: i.default.number, children: i.default.any, debounce: i.default.number, mode: i.default.oneOf(["bottom", "top"]) }; var y = m; t.default = y }, function(e, t, r) { "use strict"; var n; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = ((n = r(0)) && n.__esModule ? n : { default: n }).default.createContext({ offsetHeight: 0, scrollHeight: 0, setTarget: function() { return 0 } }); i.displayName = "ScrollToBottomInternalContext"; var o = i; t.default = o }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = r(7), o = l(r(3)), a = l(r(1)), s = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = c(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), u = l(r(548)); function c() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return c = function() { return e }, e } function l(e) { return e && e.__esModule ? e : { default: e } } var f = (0, i.css)({ height: "100%", overflowY: "auto", width: "100%" }), p = function(e) { var t = e.children, r = e.className, n = (0, s.useContext)(u.default).setTarget; return s.default.createElement("div", { className: (0, o.default)(f + "", (r || "") + ""), ref: n }, t) }; p.defaultProps = { children: void 0, className: void 0 }, p.propTypes = { children: a.default.any, className: a.default.string }; var d = p; t.default = d }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.useTypingIndicatorVisible = s, t.default = void 0; var n = o(r(551)), i = o(r(552)); function o(e) { return e && e.__esModule ? e : { default: e } } function a(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } function s() { var e = a((0, n.default)(), 1)[0]; return [!!Object.values(e).filter((function(e) { return "user" !== e.role })).length] } var u = function() { var e = a((0, n.default)(), 1)[0], t = a(s(), 1)[0], r = a((0, n.default)(1 / 0), 1)[0]; return (0, i.default)()({ activeTyping: e, typing: r, visible: t }) }; t.default = u }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(0), i = r(38), o = s(r(284)), a = s(r(20)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e) { return function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } }(e) || function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) }(e) || function() { throw new TypeError("Invalid attempt to spread non-iterable instance") }() } function c(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function l(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? c(Object(r), !0).forEach((function(t) { f(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : c(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function f(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function p(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var d = function(e) { var t = Date.now(), r = p((0, a.default)(), 1)[0].typingAnimationDuration, s = (0, o.default)(), c = (0, i.useSelector)((function(e) { return e.typing })); "number" != typeof e && (e = r); var d = Object.entries(c).reduce((function(r, n) { var i = p(n, 2), o = i[0], a = i[1], s = a.at, u = a.name, c = a.role, d = s + e; return d > t ? l(l({}, r), {}, f({}, o, { at: s, expireAt: d, name: u, role: c })) : r }), {}), h = Math.min.apply(Math, u(Object.values(d).map((function(e) { return e.expireAt })))), v = h && h - t; return (0, n.useEffect)((function() { if (v && isFinite(v)) { var e = setTimeout(s, Math.max(0, v)); return function() { return clearTimeout(e) } } }), [s, v]), [d] }; t.default = d }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.useContext)(o.default).typingIndicatorRenderer }; var n, i = r(0), o = (n = r(62)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.connectSpeakActivity = t.default = void 0; var i = h(r(1)), o = d(r(0)), a = d(r(554)), s = h(r(44)), u = h(r(1241)), c = h(r(560)), l = h(r(20)), f = h(r(561)); function p() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return p = function() { return e }, e } function d(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = p(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } return r.default = e, t && t.set(e, r), r } function h(e) { return e && e.__esModule ? e : { default: e } } function v(e) { return function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } }(e) || function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) }(e) || function() { throw new TypeError("Invalid attempt to spread non-iterable instance") }() } function m(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } t.connectSpeakActivity = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return s.default.apply(void 0, [function(e, t) { var r = e.language, n = e.markActivity, i = e.selectVoice, o = t.activity; return { language: r, markAsSpoken: function() { return n(o, "speak", !1) }, selectVoice: function(e) { return i(e, o) } } }].concat(t)) }; var y = function(e) { var t = e.activity, r = m((0, l.default)(), 1)[0].showSpokenText, n = (0, c.default)(), i = (0, f.default)(t), s = (0, o.useCallback)((function() { n(t) }), [t, n]), p = (0, o.useMemo)((function() { var e = t.attachments, r = void 0 === e ? [] : e, n = t.speak, i = t.text; return !!t && [n || i].concat(v(r.filter((function(e) { return "application/vnd.microsoft.card.adaptive" === e.contentType })).map((function(e) { var t = e.content; return (t = void 0 === t ? {} : t).speak })))).filter((function(e) { return e })).join("\r\n") }), [t]), d = t.channelData, h = (d = void 0 === d ? {} : d).speechSynthesisUtterance; return !!t && o.default.createElement(o.default.Fragment, null, h ? o.default.createElement(a.SayUtterance, { onEnd: s, onError: s, utterance: h }) : o.default.createElement(a.default, { onEnd: s, onError: s, text: p, voice: i }), !!r && o.default.createElement(u.default, { speak: p, voice: i })) }; y.propTypes = { activity: i.default.shape({ attachments: i.default.arrayOf(i.default.shape({ speak: i.default.string, subtitle: i.default.string, text: i.default.string, title: i.default.string })), channelData: i.default.shape({ speechSynthesisUtterance: i.default.any }), speak: i.default.string, text: i.default.string }).isRequired }; var b = y; t.default = b }, function(e, t, r) { "use strict"; var n = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "Composer", { enumerable: !0, get: function() { return o.default } }), Object.defineProperty(t, "Context", { enumerable: !0, get: function() { return a.default } }), Object.defineProperty(t, "SayButton", { enumerable: !0, get: function() { return s.default } }), Object.defineProperty(t, "SayUtterance", { enumerable: !0, get: function() { return u.default } }), t.default = void 0; var i = n(r(301)), o = n(r(304)), a = n(r(197)), s = n(r(557)), u = n(r(559)), c = i.default; t.default = c }, function(e, t, r) { e.exports = r(1233) }, function(e, t, r) { "use strict"; var n = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return (0, i.default)("error", { error: e }) }; var i = n(r(306)) }, function(e, t, r) { "use strict"; var n = r(105), i = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(305)), a = i(r(1)), s = n(r(0)), u = i(r(198)), c = i(r(301)), l = function e(t) { var r = (0, u.default)(t, e), n = r.children, i = r.disabled, a = r.lang, l = r.onBoundary, f = r.onEnd, p = r.onError, d = r.onStart, h = r.pitch, v = r.ponyfill, m = r.rate, y = r.text, b = r.voice, g = r.volume, _ = (0, s.useState)(!1), T = (0, o.default)(_, 2), S = T[0], A = T[1], E = (0, s.useCallback)((function() { return A(!0) })), C = { lang: a, onBoundary: l, onEnd: function(e) { A(!1), f && f(e) }, onError: p, onStart: d, pitch: h, ponyfill: v, rate: m, text: y, voice: b, volume: g }; return s.default.createElement(s.default.Fragment, null, s.default.createElement("button", { disabled: "boolean" == typeof i ? i : S, onClick: E }, n), S && s.default.createElement(c.default, C)) }; l.defaultProps = { children: void 0, disabled: void 0, lang: void 0, onBoundary: void 0, onEnd: void 0, onError: void 0, onStart: void 0, pitch: void 0, ponyfill: void 0, rate: void 0, text: void 0, voice: void 0, volume: void 0 }, l.propTypes = { children: a.default.any, disabled: a.default.bool, lang: a.default.string, onBoundary: a.default.func, onEnd: a.default.func, onError: a.default.func, onStart: a.default.func, pitch: a.default.number, ponyfill: a.default.shape({ speechSynthesis: a.default.any.isRequired, SpeechSynthesisUtterance: a.default.any.isRequired }), rate: a.default.number, text: a.default.string, voice: a.default.oneOfType([a.default.any, a.default.func]), volume: a.default.number }; var f = l; t.default = f }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { var r, n = e.speechSynthesis, i = e.SpeechSynthesisUtterance, o = t.lang, a = t.onBoundary, s = t.pitch, u = t.rate, c = t.text, l = t.voice, f = t.volume, p = new i(c); if ("function" == typeof l) r = l.call(n, n.getVoices()); else { var d = (l || {}).voiceURI; r = d && [].find.call([].slice.call(n.getVoices()), (function(e) { return e.voiceURI === d })) } p.lang = o || "", (s || 0 === s) && (p.pitch = s); (u || 0 === u) && (p.rate = u); r && (p.voice = r); (f || 0 === f) && (p.volume = f); return a && p.addEventListener("boundary", a), p } }, function(e, t, r) { "use strict"; var n = r(105), i = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(302)), a = i(r(303)), s = i(r(1)), u = n(r(0)), c = i(r(304)), l = i(r(306)), f = i(r(556)), p = i(r(198)), d = i(r(1240)); function h(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function v(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? h(r, !0).forEach((function(t) { (0, o.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : h(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var m = function(e) { var t = (0, p.default)(e), r = t.onEnd, n = t.onError, i = t.onStart, o = t.utterance, a = (0, u.useRef)(!1), s = (0, d.default)(); return (0, u.useEffect)((function() { if (a.current) return console.warn("react-say: Should not change utterance after synthesis started."); var e, t = s(o, (function() { a.current = !0, !e && i && i((0, l.default)("start")) })), u = t.cancel; return t.promise.then((function() { return !e && r && r((0, l.default)("end")) }), (function(t) { return !e && n && n((0, f.default)(t)) })), function() { e = !0, u() } }), []), !1 }; m.defaultProps = { onEnd: void 0, onError: void 0, onStart: void 0 }, m.propTypes = { onEnd: s.default.func, onError: s.default.func, onStart: s.default.func }; var y = function(e) { var t = e.ponyfill, r = (0, a.default)(e, ["ponyfill"]); return u.default.createElement(c.default, { ponyfill: t }, u.default.createElement(m, r)) }; y.defaultProps = v({}, m.defaultProps, { ponyfill: void 0 }), y.propTypes = v({}, m.propTypes, { ponyfill: s.default.shape({ speechSynthesis: s.default.any.isRequired, SpeechSynthesisUtterance: s.default.any.isRequired }) }); var b = y; t.default = b }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, o.default)(); return (0, i.useCallback)((function(t) { return e(t, "speak", !1) }), [e]) }; var n, i = r(0), o = (n = r(1242)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = (0, o.default)(); return (0, i.useCallback)((function(r) { return t.selectVoice(r, e) }), [e, t]) }; var n, i = r(0), o = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = (0, i.useContext)(o.default).activityRenderer; return (0, i.useCallback)((function(r) { var n = r.activity, i = function(e, t) { if (null == e) return {}; var r, n, i = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]) } return i }(r, ["activity"]); return t(s({ activity: n }, i))((function(t) { return e(s({ activity: n }, t)) })) }), [t, e]) }; var n, i = r(0), o = (n = r(62)) && n.__esModule ? n : { default: n }; function a(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function s(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? a(Object(r), !0).forEach((function(t) { u(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : a(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function u(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.useContext)(o.default).attachmentRenderer }; var n, i = r(0), o = (n = r(62)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(554), i = r(543), o = r(7), a = r(287), s = R(r(1243)), u = R(r(1)), c = k(r(0)), l = R(r(186)), f = R(r(139)), p = R(r(1297)), d = R(r(283)), h = R(r(504)), v = R(r(573)), m = R(r(574)), y = R(r(575)), b = r(48), g = R(r(1301)), _ = R(r(106)), T = R(r(1303)), S = R(r(577)), A = R(r(1344)), E = R(r(1345)), C = R(r(1353)), O = R(r(1354)), w = R(r(1355)), I = k(r(38)), P = R(r(62)), x = r(581); function N() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return N = function() { return e }, e } function k(e) { if (e && e.__esModule) return e; if (null === e || "object" !== j(e) && "function" != typeof e) return { default: e }; var t = N(); if (t && t.has(e)) return t.get(e); var r = {}, n = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var i in e) if (Object.prototype.hasOwnProperty.call(e, i)) { var o = n ? Object.getOwnPropertyDescriptor(e, i) : null; o && (o.get || o.set) ? Object.defineProperty(r, i, o) : r[i] = e[i] } return r.default = e, t && t.set(e, r), r } function R(e) { return e && e.__esModule ? e : { default: e } } function L() { return (L = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }).apply(this, arguments) } function M(e, t) { if (null == e) return {}; var r, n, i = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]) } return i } function j(e) { return (j = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function D(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } function U(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function B(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? U(Object(r), !0).forEach((function(t) { F(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : U(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function F(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } var z = { clearSuggestedActions: b.clearSuggestedActions, dismissNotification: b.dismissNotification, emitTypingIndicator: b.emitTypingIndicator, markActivity: b.markActivity, postActivity: b.postActivity, sendEvent: b.sendEvent, sendFiles: b.sendFiles, sendMessage: b.sendMessage, sendMessageBack: b.sendMessageBack, sendPostBack: b.sendPostBack, setDictateInterims: b.setDictateInterims, setDictateState: b.setDictateState, setNotification: b.setNotification, setSendBox: b.setSendBox, setSendTimeout: b.setSendTimeout, startDictate: b.startDictate, startSpeakingActivity: b.startSpeakingActivity, stopDictate: b.stopDictate, stopSpeakingActivity: b.stopSpeakingActivity, submitSendBox: b.submitSendBox }; var V = function(e) { var t = e.activityRenderer, r = e.activityStatusRenderer, i = e.attachmentRenderer, a = e.avatarRenderer, u = e.cardActionMiddleware, f = e.children, p = e.dir, N = e.directLine, k = e.disabled, R = e.extraStyleSet, L = e.grammars, M = e.groupTimestamp, U = e.locale, F = e.mainFocusRef, V = e.onTelemetry, G = e.overrideLocalizedStrings, q = e.renderMarkdown, H = e.scrollToEnd, W = e.selectVoice, Y = e.sendBoxRef, K = e.sendTimeout, $ = e.sendTypingIndicator, J = e.styleOptions, X = e.styleSet, Z = e.toastRenderer, Q = e.typingIndicatorRenderer, ee = e.userID, te = e.username, re = e.webSpeechPonyfillFactory, ne = (0, I.useDispatch)(), ie = (0, c.useRef)({}), oe = D((0, y.default)(), 1)[0], ae = D((0, c.useState)(), 2), se = ae[0], ue = ae[1], ce = (0, c.useMemo)((function() { return "ltr" === p || "rtl" === p ? p : "auto" }), [p]), le = (0, c.useMemo)((function() { return L || [] }), [L]), fe = (0, c.useMemo)((function() { var e = B({}, J); return void 0 !== M && void 0 === e.groupTimestamp && (console.warn('Web Chat: "groupTimestamp" has been moved to "styleOptions". This deprecation migration will be removed on or after January 1 2022.'), e.groupTimestamp = M), void 0 !== K && void 0 === e.sendTimeout && (console.warn('Web Chat: "sendTimeout" has been moved to "styleOptions". This deprecation migration will be removed on or after January 1 2022.'), e.sendTimeout = K), J.slowConnectionAfter < 0 && (console.warn('Web Chat: "slowConnectionAfter" cannot be negative, will set to 0.'), e.slowConnectionAfter = 0), e }), [M, K, J]); (0, c.useEffect)((function() { ne((0, b.setLanguage)(U)) }), [ne, U]), (0, c.useEffect)((function() { "number" == typeof K && ne((0, b.setSendTimeout)(K)) }), [ne, K]), (0, c.useEffect)((function() { ne((0, b.setSendTypingIndicator)(!!$)) }), [ne, $]), (0, c.useEffect)((function() { return ne((0, b.connect)({ directLine: N, userID: ee, username: te })), function() { ne((0, b.disconnect)()) } }), [ne, N, ee, te]); var pe = (0, c.useMemo)((function() { return new s.default }), []), de = (0, c.useMemo)((function() { return function(e) { var t = pe.parseInline(e), r = (0, g.default)(t); return pe.renderer.render(r) } }), [pe]), he = (0, c.useMemo)((function() { return function(e) { var t = e.cardActionMiddleware, r = e.directLine, n = e.dispatch, i = (0, _.default)(t, (0, T.default)())({ dispatch: n }); return { onCardAction: function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = t.target; return i((function(e) { var t = e.cardAction.type; throw new Error('Web Chat: received unknown card action "'.concat(t, '"')) }))({ cardAction: e, getSignInUrl: "signin" === e.type ? function() { var t = e.value; return r.getSessionId ? (0, O.default)(r.getSessionId()).then((function(e) { return "".concat(t).concat(encodeURIComponent("&code_challenge=".concat(e))) })) : (console.warn("botframework-webchat: OAuth is not supported on this Direct Line adapter."), t) } : null, target: n }) } } }({ cardActionMiddleware: u, directLine: N, dispatch: ne }) }), [u, N, ne]), ve = (0, c.useCallback)(W || A.default.bind(null, { language: U }), [W]), me = (0, c.useMemo)((function() { return function(e) { var t = e.mainFocusRef, r = e.sendBoxRef; return { focus: function(e) { var n = (("sendBox" === e || "sendBoxWithoutKeyboard" === e ? r : t) || {}).current; if (n) if ("sendBoxWithoutKeyboard" === e) { var i = n.getAttribute("readonly"); n.setAttribute("readonly", "readonly"), setTimeout((function() { n.focus(), i ? n.setAttribute("readonly", i) : n.removeAttribute("readonly") }), 0) } else n.focus() } } }({ mainFocusRef: F, sendBoxRef: Y }) }), [F, Y]), ye = (0, c.useMemo)((function() { return function(e) { return (0, C.default)(e, (function(e, t) { return "options" === t ? e : (0, o.css)(e) })) }(B(B({}, X || (0, S.default)(fe)), R)) }), [R, fe, X]), be = (0, c.useMemo)((function() { return (0, C.default)(z, (function(e) { return function() { return ne(e.apply(void 0, arguments)) } })) }), [ne]), ge = (0, c.useMemo)((function() { var e = re && re({ referenceGrammarID: oe }), t = e || {}, r = t.speechSynthesis, n = t.SpeechSynthesisUtterance; return B(B({}, e), {}, { speechSynthesis: r || x.speechSynthesis, SpeechSynthesisUtterance: n || x.SpeechSynthesisUtterance }) }), [oe, re]), _e = (0, c.useCallback)((function(e) { console.error(e) }), []), Te = (0, c.useMemo)((function() { return function(e, t, r) { if (!r) return e; if ("function" == typeof r) { var n = r(e, t); if (!(0, h.default)(n)) throw new Error("botframework-webchat: overrideLocalizedStrings function must return an object."); return n } if (!(0, h.default)(r)) throw new Error("botframework-webchat: overrideLocalizedStrings must be either a function, an object, or falsy."); return B(B({}, e), r) }((0, d.default)()[(0, v.default)(U)], U, G) }), [U, G]), Se = (0, c.useMemo)((function() { var e = Te || {}, t = e.GLOBALIZE, r = e.GLOBALIZE_LANGUAGE; return t || r && (0, m.default)(r) || (0, m.default)("en") }), [Te]), Ae = (0, c.useCallback)((function(e, t) { if (!e || "string" != typeof e) return console.warn("botframework-webchat: Telemetry dimension name must be a string."); var r = j(t); if ("string" !== r && "undefined" !== r) return console.warn("botframework-webchat: Telemetry dimension data must be a string or undefined."); ie.current = (0, l.default)(ie.current, [e], "undefined" === r ? t : function() { return t }) }), [ie]), Ee = (0, c.useMemo)((function() { return B(B(B(B({}, he), me), be), {}, { activityRenderer: t, activityStatusRenderer: r, attachmentRenderer: i, avatarRenderer: a, dictateAbortable: se, dir: ce, directLine: N, disabled: k, grammars: le, internalMarkdownItState: [pe], internalRenderMarkdownInline: de, language: U, localizedGlobalizeState: [Se], localizedStrings: Te, onTelemetry: V, renderMarkdown: q, scrollToEnd: H, selectVoice: ve, sendBoxRef: Y, sendTypingIndicator: $, setDictateAbortable: ue, trackDimension: Ae, styleOptions: J, styleSet: ye, telemetryDimensionsRef: ie, toastRenderer: Z, typingIndicatorRenderer: Q, userID: ee, username: te, webSpeechPonyfill: ge }) }), [t, r, i, a, he, se, N, k, me, be, pe, de, U, Se, V, ce, le, Te, ve, $, ye, q, H, Y, ue, Ae, J, ie, Z, Q, ee, te, ge]); return c.default.createElement(P.default.Provider, { value: Ee }, c.default.createElement(n.Composer, { ponyfill: ge }, "function" == typeof f ? f(Ee) : f), c.default.createElement(E.default, { onError: _e }), V && c.default.createElement(w.default, null)) }, G = function(e) { var t = e.onTelemetry, r = e.store, n = M(e, ["onTelemetry", "store"]), o = (0, c.useCallback)((function(e) { var r = e.error; t && t((0, f.default)("exception", { error: r, fatal: !0 })) }), [t]), s = (0, c.useMemo)((function() { return r || (0, b.createStore)() }), [r]); return c.default.createElement(p.default, { onError: o }, c.default.createElement(a.Provider, { context: I.default, store: s }, c.default.createElement(i.Composer, null, c.default.createElement(i.FunctionContext.Consumer, null, (function(e) { var r = e.scrollToEnd; return c.default.createElement(V, L({ onTelemetry: t, scrollToEnd: r }, n)) }))))) }; G.defaultProps = { onTelemetry: void 0, store: void 0 }, G.propTypes = { onTelemetry: u.default.func, store: u.default.any }; var q = G; t.default = q, V.defaultProps = { activityRenderer: void 0, activityStatusRenderer: void 0, attachmentRenderer: void 0, avatarRenderer: void 0, cardActionMiddleware: void 0, children: void 0, dir: "auto", disabled: !1, extraStyleSet: void 0, grammars: [], groupTimestamp: void 0, locale: window.navigator.language || "en-US", mainFocusRef: void 0, onTelemetry: void 0, overrideLocalizedStrings: void 0, renderMarkdown: void 0, selectVoice: void 0, sendBoxRef: void 0, sendTimeout: void 0, sendTypingIndicator: !1, styleOptions: {}, styleSet: void 0, toastRenderer: void 0, typingIndicatorRenderer: void 0, userID: "", username: "", webSpeechPonyfillFactory: void 0 }, V.propTypes = { activityRenderer: u.default.func, activityStatusRenderer: u.default.func, attachmentRenderer: u.default.func, avatarRenderer: u.default.func, cardActionMiddleware: u.default.func, children: u.default.any, dir: u.default.oneOf(["auto", "ltr", "rtl"]), directLine: u.default.shape({ activity$: u.default.shape({ subscribe: u.default.func.isRequired }).isRequired, connectionStatus$: u.default.shape({ subscribe: u.default.func.isRequired }).isRequired, end: u.default.func, getSessionId: u.default.func, postActivity: u.default.func.isRequired, referenceGrammarID: u.default.string, token: u.default.string }).isRequired, disabled: u.default.bool, extraStyleSet: u.default.any, grammars: u.default.arrayOf(u.default.string), groupTimestamp: u.default.oneOfType([u.default.bool, u.default.number]), locale: u.default.string, mainFocusRef: u.default.shape({ current: u.default.any }), onTelemetry: u.default.func, overrideLocalizedStrings: u.default.oneOfType([u.default.any, u.default.func]), renderMarkdown: u.default.func, scrollToEnd: u.default.func.isRequired, selectVoice: u.default.func, sendBoxRef: u.default.shape({ current: u.default.any }), sendTimeout: u.default.number, sendTypingIndicator: u.default.bool, styleOptions: u.default.any, styleSet: u.default.any, toastRenderer: u.default.func, typingIndicatorRenderer: u.default.func, userID: u.default.string, username: u.default.string, webSpeechPonyfillFactory: u.default.func } }, function(e, t, r) { "use strict"; e.exports = r(1245) }, function(e, t, r) { "use strict"; e.exports.encode = r(1246), e.exports.decode = r(1247), e.exports.format = r(1248), e.exports.parse = r(1249) }, function(e, t) { e.exports = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/ }, function(e, t) { e.exports = /[\0-\x1F\x7F-\x9F]/ }, function(e, t) { e.exports = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/ }, function(e, t, r) { "use strict"; var n = "<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>", i = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", o = new RegExp("^(?:" + n + "|" + i + "|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"), a = new RegExp("^(?:" + n + "|" + i + ")"); e.exports.HTML_TAG_RE = o, e.exports.HTML_OPEN_CLOSE_TAG_RE = a }, function(e, t, r) { "use strict"; function n(e, t) { var r, n, i, o, a, s = [], u = t.length; for (r = 0; r < u; r++) 126 === (i = t[r]).marker && -1 !== i.end && (o = t[i.end], (a = e.tokens[i.token]).type = "s_open", a.tag = "s", a.nesting = 1, a.markup = "~~", a.content = "", (a = e.tokens[o.token]).type = "s_close", a.tag = "s", a.nesting = -1, a.markup = "~~", a.content = "", "text" === e.tokens[o.token - 1].type && "~" === e.tokens[o.token - 1].content && s.push(o.token - 1)); for (; s.length;) { for (n = (r = s.pop()) + 1; n < e.tokens.length && "s_close" === e.tokens[n].type;) n++; r !== --n && (a = e.tokens[n], e.tokens[n] = e.tokens[r], e.tokens[r] = a) } } e.exports.tokenize = function(e, t) { var r, n, i, o, a = e.pos, s = e.src.charCodeAt(a); if (t) return !1; if (126 !== s) return !1; if (i = (n = e.scanDelims(e.pos, !0)).length, o = String.fromCharCode(s), i < 2) return !1; for (i % 2 && (e.push("text", "", 0).content = o, i--), r = 0; r < i; r += 2) e.push("text", "", 0).content = o + o, e.delimiters.push({ marker: s, length: 0, jump: r, token: e.tokens.length - 1, end: -1, open: n.can_open, close: n.can_close }); return e.pos += n.length, !0 }, e.exports.postProcess = function(e) { var t, r = e.tokens_meta, i = e.tokens_meta.length; for (n(e, e.delimiters), t = 0; t < i; t++) r[t] && r[t].delimiters && n(e, r[t].delimiters) } }, function(e, t, r) { "use strict"; function n(e, t) { var r, n, i, o, a, s; for (r = t.length - 1; r >= 0; r--) 95 !== (n = t[r]).marker && 42 !== n.marker || -1 !== n.end && (i = t[n.end], s = r > 0 && t[r - 1].end === n.end + 1 && t[r - 1].token === n.token - 1 && t[n.end + 1].token === i.token + 1 && t[r - 1].marker === n.marker, a = String.fromCharCode(n.marker), (o = e.tokens[n.token]).type = s ? "strong_open" : "em_open", o.tag = s ? "strong" : "em", o.nesting = 1, o.markup = s ? a + a : a, o.content = "", (o = e.tokens[i.token]).type = s ? "strong_close" : "em_close", o.tag = s ? "strong" : "em", o.nesting = -1, o.markup = s ? a + a : a, o.content = "", s && (e.tokens[t[r - 1].token].content = "", e.tokens[t[n.end + 1].token].content = "", r--)) } e.exports.tokenize = function(e, t) { var r, n, i = e.pos, o = e.src.charCodeAt(i); if (t) return !1; if (95 !== o && 42 !== o) return !1; for (n = e.scanDelims(e.pos, 42 === o), r = 0; r < n.length; r++) e.push("text", "", 0).content = String.fromCharCode(o), e.delimiters.push({ marker: o, length: n.length, jump: r, token: e.tokens.length - 1, end: -1, open: n.can_open, close: n.can_close }); return e.pos += n.length, !0 }, e.exports.postProcess = function(e) { var t, r = e.tokens_meta, i = e.tokens_meta.length; for (n(e, e.delimiters), t = 0; t < i; t++) r[t] && r[t].delimiters && n(e, r[t].delimiters) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { if ("ar-eg" === (e = e.toLowerCase())) return "ar-EG"; if ("ar-jo" === e) return "ar-JO"; if (e.startsWithWebChat("ar")) return "ar-SA"; if (e.startsWithWebChat("bg")) return "bg-BG"; if (e.startsWithWebChat("ca")) return "ca-ES"; if (e.startsWithWebChat("cs")) return "cs-CZ"; if (e.startsWithWebChat("da")) return "da-DK"; if (e.startsWithWebChat("de")) return "de-DE"; if (e.startsWithWebChat("el")) return "el-GR"; if (e.startsWithWebChat("es")) return "es-ES"; if (e.startsWithWebChat("et")) return "et-EE"; if (e.startsWithWebChat("eu")) return "eu-ES"; if (e.startsWithWebChat("fi")) return "fi-FI"; if (e.startsWithWebChat("fr")) return "fr-FR"; if (e.startsWithWebChat("gl")) return "gl-ES"; if (e.startsWithWebChat("he")) return "he-IL"; if (e.startsWithWebChat("hi")) return "hi-IN"; if (e.startsWithWebChat("hr")) return "hr-HR"; if (e.startsWithWebChat("hu")) return "hu-HU"; if (e.startsWithWebChat("id")) return "id-ID"; if (e.startsWithWebChat("it")) return "it-IT"; if (e.startsWithWebChat("ja")) return "ja-JP"; if (e.startsWithWebChat("kk")) return "kk-KZ"; if (e.startsWithWebChat("ko")) return "ko-KR"; if (e.startsWithWebChat("lt")) return "lt-LT"; if (e.startsWithWebChat("lv")) return "lv-LV"; if (e.startsWithWebChat("ms")) return "ms-MY"; if (e.startsWithWebChat("nb") || e.startsWithWebChat("nn") || e.startsWithWebChat("no")) return "nb-NO"; if (e.startsWithWebChat("nl")) return "nl-NL"; if (e.startsWithWebChat("pl")) return "pl-PL"; if ("pt-br" === e) return "pt-BR"; if (e.startsWithWebChat("pt")) return "pt-PT"; if (e.startsWithWebChat("ro")) return "ro-RO"; if (e.startsWithWebChat("ru")) return "ru-RU"; if (e.startsWithWebChat("sk")) return "sk-SK"; if (e.startsWithWebChat("sl")) return "sl-SI"; if (e.startsWithWebChat("sr-cyrl")) return "sr-Cyrl"; if (e.startsWithWebChat("sr-latn")) return "sr-Latn"; if (e.startsWithWebChat("sv")) return "sv-SE"; if (e.startsWithWebChat("th")) return "th-TH"; if (e.startsWithWebChat("tr")) return "tr-TR"; if (e.startsWithWebChat("uk")) return "uk-UA"; if (e.startsWithWebChat("vi")) return "vi-VN"; if (e.startsWithWebChat("yue") || "zh-yue" === e) return "zh-yue" === e && console.warn('botframework-webchat: The locale "zh-YUE" is being renamed to "yue" and deprecated. It will be removed on or after 2022-02-12.'), "yue"; if ("zh-hant" === e || "zh-tw" === e) return "zh-Hant"; if ("zh-hant-hk" === e || "zh-hk" === e) return "zh-Hant-HK"; if ("zh-hant-mo" === e || "zh-mo" === e) return "zh-Hant-MO"; if ("zh-hans-sg" === e || "zh-sg" === e) return "zh-Hans-SG"; if (e.startsWithWebChat("zh")) return "zh-Hans"; return "en-US" } }, function(e, t, r) { var n, i, o; i = [r(199), r(310), r(1298), r(1299), r(1300)], void 0 === (o = "function" == typeof(n = function(e) { e._validateParameterTypeNumber, e._validateParameterPresence; var t = e._numberRound, r = (e._numberFormat, e._numberFormatterFn), n = e._pluralGeneratorFn, i = (e._validateParameterTypeDate, e._dateToPartsFormat, e._dateToPartsFormatterFn), o = (e._dateFormat, e._dateFormatterFn), a = e._relativeTimeFormatterFn, s = e._unitFormatterFn; return e.a1038316025 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "\u0644\u064a\u0633\xa0\u0631\u0642\u0645", { ".": "\u066b", ",": "\u066c", "%": "\u066a\u061c", "+": "\u061c+", "-": "\u061c-", E: "\u0627\u0633", "\u2030": "\u0609" }, "\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]), e.a2123356411 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "\u0644\u064a\u0633\xa0\u0631\u0642\u0645", { ".": "\u066b", ",": "\u066c", "%": "\u066a\u061c", "+": "\u061c+", "-": "\u061c-", E: "\u0627\u0633", "\u2030": "\u0609" }, "\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]), e.b1798381219 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "\u0644\u064a\u0633\xa0\u0631\u0642\u0645", { ".": "\u066b", ",": "\u066c", "%": "\u066a\u061c", "+": "\u061c+", "-": "\u061c-", E: "\u0627\u0633", "\u2030": "\u0609" }, "\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]), e.b592410675 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "\u0644\u064a\u0633\xa0\u0631\u0642\u0645", { ".": "\u066b", ",": "\u066c", "%": "\u066a\u061c", "+": "\u061c+", "-": "\u061c-", E: "\u0627\u0633", "\u2030": "\u0609" }, "\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]), e.b1184531033 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "\u0644\u064a\u0633\xa0\u0631\u0642\u0645", { ".": "\u066b", ",": "\u066c", "%": "\u066a\u061c", "+": "\u061c+", "-": "\u061c-", E: "\u0627\u0633", "\u2030": "\u0609" }, "\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]), e.b1403114231 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "\u0644\u064a\u0633\xa0\u0631\u0642\u0645", { ".": "\u066b", ",": "\u066c", "%": "\u066a\u061c", "+": "\u061c+", "-": "\u061c-", E: "\u0627\u0633", "\u2030": "\u0609" }, "\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"]), e.a395141616 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b635181084 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b560738426 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a641077879 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1601091523 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b537650401 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a130957221 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b234962737 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b521027023 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b2146337608 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b2111625700 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b509021250 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a126395188 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b376385760 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b505327166 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1904963378 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "e", "\u2030": "\u2030" }]), e.a1076008134 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "e", "\u2030": "\u2030" }]), e.b470233368 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "e", "\u2030": "\u2030" }]), e.a1378886668 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b203855544 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b468386326 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1148906457 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1256031091 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b463768721 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1654465082 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "\xd710^", "\u2030": "\u2030" }]), e.a251520718 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "\xd710^", "\u2030": "\u2030" }]), e.b462845200 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "\xd710^", "\u2030": "\u2030" }]), e.a2134943589 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "\u2212", E: "E", "\u2030": "\u2030" }]), e.a1759072527 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "\u2212", E: "E", "\u2030": "\u2030" }]), e.b461921679 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "\u2212", E: "E", "\u2030": "\u2030" }]), e.a1119264306 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "ep\xe4luku", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "E", "\u2030": "\u2030" }]), e.a337785826 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "ep\xe4luku", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "E", "\u2030": "\u2030" }]), e.b444374780 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "ep\xe4luku", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "E", "\u2030": "\u2030" }]), e.a864203977 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\u202f", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1020850219 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\u202f", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b436063091 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\u202f", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1110140240 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a54939780 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b412975066 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1861635128 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "\u200e+", "-": "\u200e-", E: "E", "\u2030": "\u2030" }]), e.a1876444828 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "\u200e+", "-": "\u200e-", E: "E", "\u2030": "\u2030" }]), e.b390810562 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "\u200e+", "-": "\u200e-", E: "E", "\u2030": "\u2030" }]), e.b160599372 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b683282528 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b387116478 = r(["", , 1, 0, 3, , , , 3, 2, "", "#,##,##0.###", "-#,##,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b415659701 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b218135 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b378804789 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1932335576 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a227469996 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b376034226 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b420221734 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b141641158 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b363104932 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a80774858 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1790615990 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b348328596 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1690961346 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b879863466 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b337246344 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b944028491 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "\u0441\u0430\u043d\xa0\u0435\u043c\u0435\u0441", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a800218559 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "\u0441\u0430\u043d\xa0\u0435\u043c\u0435\u0441", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b299381983 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "\u0441\u0430\u043d\xa0\u0435\u043c\u0435\u0441", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1328704305 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1759508797 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b295687899 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a308462989 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "\xd710^", "\u2030": "\u2030" }]), e.a972748775 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "\xd710^", "\u2030": "\u2030" }]), e.b262441143 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "\xd710^", "\u2030": "\u2030" }]), e.b702654261 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NS", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b307114903 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NS", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b260594101 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NS", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1973393873 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1045337211 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b234735513 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b461280031 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "E", "\u2030": "\u2030" }]), e.b1414448365 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "E", "\u2030": "\u2030" }]), e.b221806219 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "E", "\u2030": "\u2030" }]), e.b1221898985 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a776167837 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b212571009 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1793204633 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b244900517 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b155312707 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a2043702929 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1069387933 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b147924539 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1200342102 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1444431210 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a672152716 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1003334920 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1038280740 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b95283842 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a258280626 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b582904478 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b89742716 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "\u043d\u0435\xa0\u0447\u0438\u0441\u043b\u043e", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1768515907 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "e", "\u2030": "\u2030" }]), e.a1010912439 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "e", "\u2030": "\u2030" }]), e.b70348775 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "e", "\u2030": "\u2030" }]), e.a2020892764 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "\u2212", E: "e", "\u2030": "\u2030" }]), e.b1776503048 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "\u2212", E: "e", "\u2030": "\u2030" }]), e.b69425254 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "\u2212", E: "e", "\u2030": "\u2030" }]), e.a623966585 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b2131541637 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1069356579 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1290756698 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1359082682 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1964888028 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1260273810 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "\xd710^", "\u2030": "\u2030" }]), e.a414113154 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "\xd710^", "\u2030": "\u2030" }]), e.b60190044 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "\u2212", E: "\xd710^", "\u2030": "\u2030" }]), e.a1255711777 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a272690131 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b44490187 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a495092823 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1831660963 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b35254977 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1246587711 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "\u0415", "\u2030": "\u2030" }]), e.b10155915 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "\u0415", "\u2030": "\u2030" }]), e.b13090473 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": "\xa0", "%": "%", "+": "+", "-": "-", E: "\u0415", "\u2030": "\u2030" }]), e.b529710526 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a759173586 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a13691636 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ",", ",": ".", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1529786126 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a179060358 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b856184664 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1522702342 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a41198362 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1392834108 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b868786351 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1162242397 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1171394821 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "NaN", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b2028260967 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1548750171 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a1393757629 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b940911869 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a896833841 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1691988717 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a279645380 = r(["", , 1, 0, 0, , , , , , "", "0", "-0", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.a79402896 = r(["", , 2, 0, 0, , , , , , "", "00", "-00", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b1545148878 = r(["", , 1, 0, 3, , , , 3, , "", "#,##0.###", "-#,##0.###", "-", "", t(), "\u221e", "\u975e\u6578\u503c", { ".": ".", ",": ",", "%": "%", "+": "+", "-": "-", E: "E", "\u2030": "\u2030" }]), e.b469273361 = n((function(e) { var t = String(e).split("."), r = Number(t[0]) == e && t[0].slice(-2); return 0 == e ? "zero" : 1 == e ? "one" : 2 == e ? "two" : r >= 3 && r <= 10 ? "few" : r >= 11 && r <= 99 ? "many" : "other" })), e.b74006373 = n((function(e) { var t = String(e).split("."), r = Number(t[0]) == e && t[0].slice(-2); return 0 == e ? "zero" : 1 == e ? "one" : 2 == e ? "two" : r >= 3 && r <= 10 ? "few" : r >= 11 && r <= 99 ? "many" : "other" })), e.a1569994036 = n((function(e) { return 1 == e ? "one" : "other" })), e.a1593082061 = n((function(e) { var t = !String(e).split(".")[1]; return 1 == e && t ? "one" : "other" })), e.a1609705439 = n((function(e) { var t = String(e).split("."), r = t[0], n = !t[1]; return 1 == e && n ? "one" : r >= 2 && r <= 4 && n ? "few" : n ? "other" : "many" })), e.a1621711212 = n((function(e) { var t = String(e).split("."), r = t[0], n = Number(t[0]) == e; return 1 != e && (n || 0 != r && 1 != r) ? "other" : "one" })), e.a1625405296 = n((function(e) { var t = !String(e).split(".")[1]; return 1 == e && t ? "one" : "other" })), e.a1660499094 = n((function(e) { return 1 == e ? "one" : "other" })), e.a1662346136 = n((function(e) { var t = !String(e).split(".")[1]; return 1 == e && t ? "one" : "other" })), e.a1666963741 = n((function(e) { return 1 == e ? "one" : "other" })), e.a1667887262 = n((function(e) { var t = !String(e).split(".")[1]; return 1 == e && t ? "one" : "other" })), e.a1668810783 = n((function(e) { return 1 == e ? "one" : "other" })), e.a1686357682 = n((function(e) { var t = !String(e).split(".")[1]; return 1 == e && t ? "one" : "other" })), e.a1694669371 = n((function(e) { return e >= 0 && e < 2 ? "one" : "other" })), e.a1717757396 = n((function(e) { var t = !String(e).split(".")[1]; return 1 == e && t ? "one" : "other" })), e.a1739921900 = n((function(e) { var t = String(e).split("."), r = t[0], n = !t[1], i = Number(t[0]) == e, o = i && t[0].slice(-1); return 1 == e && n ? "one" : 2 == r && n ? "two" : n && (e < 0 || e > 10) && i && 0 == o ? "many" : "other" })), e.a1743615984 = n((function(e) { return e >= 0 && e <= 1 ? "one" : "other" })), e.a1751927673 = n((function(e) { var t = String(e).split("."), r = t[0], n = t[1] || "", i = !t[1], o = r.slice(-1), a = r.slice(-2), s = n.slice(-1), u = n.slice(-2); return i && 1 == o && 11 != a || 1 == s && 11 != u ? "one" : i && o >= 2 && o <= 4 && (a < 12 || a > 14) || s >= 2 && s <= 4 && (u < 12 || u > 14) ? "few" : "other" })), e.a1754698236 = n((function(e) { return 1 == e ? "one" : "other" })), e.a1767627530 = n((function(e) { return "other" })), e.a1782403866 = n((function(e) { var t = !String(e).split(".")[1]; return 1 == e && t ? "one" : "other" })), e.a1793486118 = n((function(e) { return "other" })), e.a1831350479 = n((function(e) { return 1 == e ? "one" : "other" })), e.a1835044563 = n((function(e) { return "other" })), e.a1868291319 = n((function(e) { var t = String(e).split("."), r = t[1] || "", n = Number(t[0]) == e, i = n && t[0].slice(-1), o = n && t[0].slice(-2); return 1 == i && (o < 11 || o > 19) ? "one" : i >= 2 && i <= 9 && (o < 11 || o > 19) ? "few" : 0 != r ? "many" : "other" })), e.a1870138361 = n((function(e) { var t = String(e).split("."), r = t[1] || "", n = r.length, i = Number(t[0]) == e, o = i && t[0].slice(-1), a = i && t[0].slice(-2), s = r.slice(-2), u = r.slice(-1); return i && 0 == o || a >= 11 && a <= 19 || 2 == n && s >= 11 && s <= 19 ? "zero" : 1 == o && 11 != a || 2 == n && 1 == u && 11 != s || 2 != n && 1 == u ? "one" : "other" })), e.a1895996949 = n((function(e) { return "other" })), e.a1908926243 = n((function(e) { return 1 == e ? "one" : "other" })), e.a1918161453 = n((function(e) { var t = !String(e).split(".")[1]; return 1 == e && t ? "one" : "other" })), e.a1975419755 = n((function(e) { var t = String(e).split("."), r = t[0], n = !t[1], i = r.slice(-1), o = r.slice(-2); return 1 == e && n ? "one" : n && i >= 2 && i <= 4 && (o < 12 || o > 14) ? "few" : n && 1 != r && (0 == i || 1 == i) || n && i >= 5 && i <= 9 || n && o >= 12 && o <= 14 ? "many" : "other" })), e.a1982807923 = n((function(e) { var t = String(e).split(".")[0]; return 0 == t || 1 == t ? "one" : "other" })), e.a2001260574 = n((function(e) { var t = String(e).split(".")[0]; return 0 == t || 1 == t ? "one" : "other" })), e.a2035448620 = n((function(e) { var t = String(e).split("."), r = !t[1], n = Number(t[0]) == e && t[0].slice(-2); return 1 == e && r ? "one" : !r || 0 == e || n >= 2 && n <= 19 ? "few" : "other" })), e.a2040989746 = n((function(e) { var t = String(e).split("."), r = t[0], n = !t[1], i = r.slice(-1), o = r.slice(-2); return n && 1 == i && 11 != o ? "one" : n && i >= 2 && i <= 4 && (o < 12 || o > 14) ? "few" : n && 0 == i || n && i >= 5 && i <= 9 || n && o >= 11 && o <= 14 ? "many" : "other" })), e.a2060383687 = n((function(e) { var t = String(e).split("."), r = t[0], n = !t[1]; return 1 == e && n ? "one" : r >= 2 && r <= 4 && n ? "few" : n ? "other" : "many" })), e.a2061307208 = n((function(e) { var t = String(e).split("."), r = t[0], n = !t[1], i = r.slice(-2); return n && 1 == i ? "one" : n && 2 == i ? "two" : n && (3 == i || 4 == i) || !n ? "few" : "other" })), e.a598008047 = n((function(e) { var t = String(e).split("."), r = t[0], n = t[1] || "", i = !t[1], o = r.slice(-1), a = r.slice(-2), s = n.slice(-1), u = n.slice(-2); return i && 1 == o && 11 != a || 1 == s && 11 != u ? "one" : i && o >= 2 && o <= 4 && (a < 12 || a > 14) || s >= 2 && s <= 4 && (u < 12 || u > 14) ? "few" : "other" })), e.b662714642 = n((function(e) { var t = String(e).split("."), r = t[0], n = t[1] || "", i = !t[1], o = r.slice(-1), a = r.slice(-2), s = n.slice(-1), u = n.slice(-2); return i && 1 == o && 11 != a || 1 == s && 11 != u ? "one" : i && o >= 2 && o <= 4 && (a < 12 || a > 14) || s >= 2 && s <= 4 && (u < 12 || u > 14) ? "few" : "other" })), e.a2070542418 = n((function(e) { var t = !String(e).split(".")[1]; return 1 == e && t ? "one" : "other" })), e.a2086242275 = n((function(e) { return "other" })), e.a2095477485 = n((function(e) { return 1 == e ? "one" : "other" })), e.a2117641989 = n((function(e) { var t = String(e).split("."), r = t[0], n = !t[1], i = r.slice(-1), o = r.slice(-2); return n && 1 == i && 11 != o ? "one" : n && i >= 2 && i <= 4 && (o < 12 || o > 14) ? "few" : n && 0 == i || n && i >= 5 && i <= 9 || n && o >= 11 && o <= 14 ? "many" : "other" })), e.a2144424098 = n((function(e) { return "other" })), e.a772012218 = n((function(e) { return "other" })), e.b1234768562 = n((function(e) { return "other" })), e.b1960777549 = n((function(e) { return "other" })), e.b1233845041 = n((function(e) { return "other" })), e.b529193791 = n((function(e) { return "other" })), e.b382353952 = n((function(e) { return "other" })), e.a1178402495 = i({ 1: e("ar-EG").numberFormatter({ raw: "0" }), 2: e("ar-EG").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "\u064a\u0646\u0627\u064a\u0631", 2: "\u0641\u0628\u0631\u0627\u064a\u0631", 3: "\u0645\u0627\u0631\u0633", 4: "\u0623\u0628\u0631\u064a\u0644", 5: "\u0645\u0627\u064a\u0648", 6: "\u064a\u0648\u0646\u064a\u0648", 7: "\u064a\u0648\u0644\u064a\u0648", 8: "\u0623\u063a\u0633\u0637\u0633", 9: "\u0633\u0628\u062a\u0645\u0628\u0631", 10: "\u0623\u0643\u062a\u0648\u0628\u0631", 11: "\u0646\u0648\u0641\u0645\u0628\u0631", 12: "\u062f\u064a\u0633\u0645\u0628\u0631" } } }, dayPeriods: { am: "\u0635", pm: "\u0645" } }), e.a1191033963 = i({ 1: e("ar-SA").numberFormatter({ raw: "0" }), 2: e("ar-SA").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "\u064a\u0646\u0627\u064a\u0631", 2: "\u0641\u0628\u0631\u0627\u064a\u0631", 3: "\u0645\u0627\u0631\u0633", 4: "\u0623\u0628\u0631\u064a\u0644", 5: "\u0645\u0627\u064a\u0648", 6: "\u064a\u0648\u0646\u064a\u0648", 7: "\u064a\u0648\u0644\u064a\u0648", 8: "\u0623\u063a\u0633\u0637\u0633", 9: "\u0633\u0628\u062a\u0645\u0628\u0631", 10: "\u0623\u0643\u062a\u0648\u0628\u0631", 11: "\u0646\u0648\u0641\u0645\u0628\u0631", 12: "\u062f\u064a\u0633\u0645\u0628\u0631" } } }, dayPeriods: { am: "\u0635", pm: "\u0645" } }), e.b474539636 = i({ 1: e("bg").numberFormatter({ raw: "0" }), 2: e("bg").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM, h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "\u044f\u043d\u0443\u0430\u0440\u0438", 2: "\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438", 3: "\u043c\u0430\u0440\u0442", 4: "\u0430\u043f\u0440\u0438\u043b", 5: "\u043c\u0430\u0439", 6: "\u044e\u043d\u0438", 7: "\u044e\u043b\u0438", 8: "\u0430\u0432\u0433\u0443\u0441\u0442", 9: "\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438", 10: "\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438", 11: "\u043d\u043e\u0435\u043c\u0432\u0440\u0438", 12: "\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438" } } }, dayPeriods: { am: "\u043f\u0440.\u043e\u0431.", pm: "\u0441\u043b.\u043e\u0431." } }), e.b865165659 = i({ 1: e("ca").numberFormatter({ raw: "0" }), 2: e("ca").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM 'a' 'les' h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "de gener", 2: "de febrer", 3: "de mar\xe7", 4: "d\u2019abril", 5: "de maig", 6: "de juny", 7: "de juliol", 8: "d\u2019agost", 9: "de setembre", 10: "d\u2019octubre", 11: "de novembre", 12: "de desembre" } } }, dayPeriods: { am: "a.\xa0m.", pm: "p.\xa0m." } }), e.a399771831 = i({ 1: e("cs").numberFormatter({ raw: "0" }), 2: e("cs").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "ledna", 2: "\xfanora", 3: "b\u0159ezna", 4: "dubna", 5: "kv\u011btna", 6: "\u010dervna", 7: "\u010dervence", 8: "srpna", 9: "z\xe1\u0159\xed", 10: "\u0159\xedjna", 11: "listopadu", 12: "prosince" } } }, dayPeriods: { am: "dop.", pm: "odp." } }), e.b834145852 = i({ 1: e("da").numberFormatter({ raw: "0" }), 2: e("da").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM 'kl'. h.mm a", timeSeparator: ".", months: { M: { 4: { 1: "januar", 2: "februar", 3: "marts", 4: "april", 5: "maj", 6: "juni", 7: "juli", 8: "august", 9: "september", 10: "oktober", 11: "november", 12: "december" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.b553048632 = i({ 1: e("de").numberFormatter({ raw: "0" }), 2: e("de").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM 'um' h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "Januar", 2: "Februar", 3: "M\xe4rz", 4: "April", 5: "Mai", 6: "Juni", 7: "Juli", 8: "August", 9: "September", 10: "Oktober", 11: "November", 12: "Dezember" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.a2117374958 = i({ 1: e("el").numberFormatter({ raw: "0" }), 2: e("el").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM - h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5", 2: "\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5", 3: "\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5", 4: "\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5", 5: "\u039c\u03b1\u0390\u03bf\u03c5", 6: "\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5", 7: "\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5", 8: "\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5", 9: "\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5", 10: "\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5", 11: "\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5", 12: "\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5" } } }, dayPeriods: { am: "\u03c0.\u03bc.", pm: "\u03bc.\u03bc." } }), e.b2037043728 = i({ 1: e("en").numberFormatter({ raw: "0" }), 2: e("en").numberFormatter({ raw: "00" }) }, { pattern: "MMMM d 'at' h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "January", 2: "February", 3: "March", 4: "April", 5: "May", 6: "June", 7: "July", 8: "August", 9: "September", 10: "October", 11: "November", 12: "December" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.a461811445 = i({ 1: e("es").numberFormatter({ raw: "0" }), 2: e("es").numberFormatter({ raw: "00" }) }, { pattern: "d 'de' MMMM, h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "enero", 2: "febrero", 3: "marzo", 4: "abril", 5: "mayo", 6: "junio", 7: "julio", 8: "agosto", 9: "septiembre", 10: "octubre", 11: "noviembre", 12: "diciembre" } } }, dayPeriods: { am: "a.\xa0m.", pm: "p.\xa0m." } }), e.b1615397898 = i({ 1: e("et").numberFormatter({ raw: "0" }), 2: e("et").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "jaanuar", 2: "veebruar", 3: "m\xe4rts", 4: "aprill", 5: "mai", 6: "juuni", 7: "juuli", 8: "august", 9: "september", 10: "oktoober", 11: "november", 12: "detsember" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.a602360055 = i({ 1: e("eu").numberFormatter({ raw: "0" }), 2: e("eu").numberFormatter({ raw: "00" }) }, { pattern: "MMMM d h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "urtarrila", 2: "otsaila", 3: "martxoa", 4: "apirila", 5: "maiatza", 6: "ekaina", 7: "uztaila", 8: "abuztua", 9: "iraila", 10: "urria", 11: "azaroa", 12: "abendua" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.b209911798 = i({ 1: e("fi").numberFormatter({ raw: "0" }), 2: e("fi").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM 'klo' h.mm a", timeSeparator: ".", months: { M: { 4: { 1: "tammikuuta", 2: "helmikuuta", 3: "maaliskuuta", 4: "huhtikuuta", 5: "toukokuuta", 6: "kes\xe4kuuta", 7: "hein\xe4kuuta", 8: "elokuuta", 9: "syyskuuta", 10: "lokakuuta", 11: "marraskuuta", 12: "joulukuuta" } } }, dayPeriods: { am: "ap.", pm: "ip." } }), e.b1724926701 = i({ 1: e("fr").numberFormatter({ raw: "0" }), 2: e("fr").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM '\xe0' h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "janvier", 2: "f\xe9vrier", 3: "mars", 4: "avril", 5: "mai", 6: "juin", 7: "juillet", 8: "ao\xfbt", 9: "septembre", 10: "octobre", 11: "novembre", 12: "d\xe9cembre" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.b2115552724 = i({ 1: e("gl").numberFormatter({ raw: "0" }), 2: e("gl").numberFormatter({ raw: "00" }) }, { pattern: "h:mm a 'do' d 'de' MMMM", timeSeparator: ":", dayPeriods: { am: "a.m.", pm: "p.m." }, months: { M: { 4: { 1: "xaneiro", 2: "febreiro", 3: "marzo", 4: "abril", 5: "maio", 6: "xu\xf1o", 7: "xullo", 8: "agosto", 9: "setembro", 10: "outubro", 11: "novembro", 12: "decembro" } } } }), e.b428969404 = i({ 1: e("he").numberFormatter({ raw: "0" }), 2: e("he").numberFormatter({ raw: "00" }) }, { pattern: "d \u05d1MMMM \u05d1\u05e9\u05e2\u05d4 h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "\u05d9\u05e0\u05d5\u05d0\u05e8", 2: "\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8", 3: "\u05de\u05e8\u05e5", 4: "\u05d0\u05e4\u05e8\u05d9\u05dc", 5: "\u05de\u05d0\u05d9", 6: "\u05d9\u05d5\u05e0\u05d9", 7: "\u05d9\u05d5\u05dc\u05d9", 8: "\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8", 9: "\u05e1\u05e4\u05d8\u05de\u05d1\u05e8", 10: "\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8", 11: "\u05e0\u05d5\u05d1\u05de\u05d1\u05e8", 12: "\u05d3\u05e6\u05de\u05d1\u05e8" } } }, dayPeriods: { am: "\u05dc\u05e4\u05e0\u05d4\u05f4\u05e6", pm: "\u05d0\u05d7\u05d4\u05f4\u05e6" } }), e.b147872184 = i({ 1: e("hi").numberFormatter({ raw: "0" }), 2: e("hi").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM \u0915\u094b h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "\u091c\u0928\u0935\u0930\u0940", 2: "\u092b\u093c\u0930\u0935\u0930\u0940", 3: "\u092e\u093e\u0930\u094d\u091a", 4: "\u0905\u092a\u094d\u0930\u0948\u0932", 5: "\u092e\u0908", 6: "\u091c\u0942\u0928", 7: "\u091c\u0941\u0932\u093e\u0908", 8: "\u0905\u0917\u0938\u094d\u0924", 9: "\u0938\u093f\u0924\u0902\u092c\u0930", 10: "\u0905\u0915\u094d\u0924\u0942\u092c\u0930", 11: "\u0928\u0935\u0902\u092c\u0930", 12: "\u0926\u093f\u0938\u0902\u092c\u0930" } } }, dayPeriods: { am: "am", pm: "pm" } }), e.b1662887087 = i({ 1: e("hr").numberFormatter({ raw: "0" }), 2: e("hr").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM 'u' hh:mm a", timeSeparator: ":", months: { M: { 4: { 1: "sije\u010dnja", 2: "velja\u010de", 3: "o\u017eujka", 4: "travnja", 5: "svibnja", 6: "lipnja", 7: "srpnja", 8: "kolovoza", 9: "rujna", 10: "listopada", 11: "studenoga", 12: "prosinca" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.a695419476 = i({ 1: e("hu").numberFormatter({ raw: "0" }), 2: e("hu").numberFormatter({ raw: "00" }) }, { pattern: "MMMM d. a h:mm", timeSeparator: ":", months: { M: { 4: { 1: "janu\xe1r", 2: "febru\xe1r", 3: "m\xe1rcius", 4: "\xe1prilis", 5: "m\xe1jus", 6: "j\xfanius", 7: "j\xfalius", 8: "augusztus", 9: "szeptember", 10: "okt\xf3ber", 11: "november", 12: "december" } } }, dayPeriods: { am: "de.", pm: "du." } }), e.a1679259746 = i({ 1: e("id").numberFormatter({ raw: "0" }), 2: e("id").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM h.mm a", timeSeparator: ".", months: { M: { 4: { 1: "Januari", 2: "Februari", 3: "Maret", 4: "April", 5: "Mei", 6: "Juni", 7: "Juli", 8: "Agustus", 9: "September", 10: "Oktober", 11: "November", 12: "Desember" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.b1491318670 = i({ 1: e("it").numberFormatter({ raw: "0" }), 2: e("it").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "gennaio", 2: "febbraio", 3: "marzo", 4: "aprile", 5: "maggio", 6: "giugno", 7: "luglio", 8: "agosto", 9: "settembre", 10: "ottobre", 11: "novembre", 12: "dicembre" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.b648027010 = i({ 1: e("ja").numberFormatter({ raw: "0" }), 2: e("ja").numberFormatter({ raw: "00" }) }, { pattern: "M\u6708d\u65e5 aK:mm", timeSeparator: ":", dayPeriods: { am: "\u5348\u524d", pm: "\u5348\u5f8c" } }), e.a85735847 = i({ 1: e("kk").numberFormatter({ raw: "0" }), 2: e("kk").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM, h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "\u049b\u0430\u04a3\u0442\u0430\u0440", 2: "\u0430\u049b\u043f\u0430\u043d", 3: "\u043d\u0430\u0443\u0440\u044b\u0437", 4: "\u0441\u04d9\u0443\u0456\u0440", 5: "\u043c\u0430\u043c\u044b\u0440", 6: "\u043c\u0430\u0443\u0441\u044b\u043c", 7: "\u0448\u0456\u043b\u0434\u0435", 8: "\u0442\u0430\u043c\u044b\u0437", 9: "\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a", 10: "\u049b\u0430\u0437\u0430\u043d", 11: "\u049b\u0430\u0440\u0430\u0448\u0430", 12: "\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.a366833067 = i({ 1: e("ko").numberFormatter({ raw: "0" }), 2: e("ko").numberFormatter({ raw: "00" }) }, { pattern: "MMMM d\uc77c a h:mm", timeSeparator: ":", months: { M: { 4: { 1: "1\uc6d4", 2: "2\uc6d4", 3: "3\uc6d4", 4: "4\uc6d4", 5: "5\uc6d4", 6: "6\uc6d4", 7: "7\uc6d4", 8: "8\uc6d4", 9: "9\uc6d4", 10: "10\uc6d4", 11: "11\uc6d4", 12: "12\uc6d4" } } }, dayPeriods: { am: "\uc624\uc804", pm: "\uc624\ud6c4" } }), e.b1398259249 = i({ 1: e("lt").numberFormatter({ raw: "0" }), 2: e("lt").numberFormatter({ raw: "00" }) }, { pattern: "MMMM d 'd'. hh:mm a", timeSeparator: ":", months: { M: { 4: { 1: "sausio", 2: "vasario", 3: "kovo", 4: "baland\u017eio", 5: "gegu\u017e\u0117s", 6: "bir\u017eelio", 7: "liepos", 8: "rugpj\u016b\u010dio", 9: "rugs\u0117jo", 10: "spalio", 11: "lapkri\u010dio", 12: "gruod\u017eio" } } }, dayPeriods: { am: "prie\u0161piet", pm: "popiet" } }), e.b1257710639 = i({ 1: e("lv").numberFormatter({ raw: "0" }), 2: e("lv").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "janv\u0101ris", 2: "febru\u0101ris", 3: "marts", 4: "apr\u012blis", 5: "maijs", 6: "j\u016bnijs", 7: "j\u016blijs", 8: "augusts", 9: "septembris", 10: "oktobris", 11: "novembris", 12: "decembris" } } }, dayPeriods: { am: "priek\u0161pusdien\u0101", pm: "p\u0113cpusdien\u0101" } }), e.a709969901 = i({ 1: e("ms").numberFormatter({ raw: "0" }), 2: e("ms").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "Januari", 2: "Februari", 3: "Mac", 4: "April", 5: "Mei", 6: "Jun", 7: "Julai", 8: "Ogos", 9: "September", 10: "Oktober", 11: "November", 12: "Disember" } } }, dayPeriods: { am: "PG", pm: "PTG" } }), e.a1693810171 = i({ 1: e("nb").numberFormatter({ raw: "0" }), 2: e("nb").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM 'kl'. h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "januar", 2: "februar", 3: "mars", 4: "april", 5: "mai", 6: "juni", 7: "juli", 8: "august", 9: "september", 10: "oktober", 11: "november", 12: "desember" } } }, dayPeriods: { am: "a.m.", pm: "p.m." } }), e.b1898414075 = i({ 1: e("nl").numberFormatter({ raw: "0" }), 2: e("nl").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM 'om' h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "januari", 2: "februari", 3: "maart", 4: "april", 5: "mei", 6: "juni", 7: "juli", 8: "augustus", 9: "september", 10: "oktober", 11: "november", 12: "december" } } }, dayPeriods: { am: "a.m.", pm: "p.m." } }), e.b1836374461 = i({ 1: e("pl").numberFormatter({ raw: "0" }), 2: e("pl").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "stycznia", 2: "lutego", 3: "marca", 4: "kwietnia", 5: "maja", 6: "czerwca", 7: "lipca", 8: "sierpnia", 9: "wrze\u015bnia", 10: "pa\u017adziernika", 11: "listopada", 12: "grudnia" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.b1274180021 = i({ 1: e("pt").numberFormatter({ raw: "0" }), 2: e("pt").numberFormatter({ raw: "00" }) }, { pattern: "d 'de' MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "janeiro", 2: "fevereiro", 3: "mar\xe7o", 4: "abril", 5: "maio", 6: "junho", 7: "julho", 8: "agosto", 9: "setembro", 10: "outubro", 11: "novembro", 12: "dezembro" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.a1582820462 = i({ 1: e("pt-PT").numberFormatter({ raw: "0" }), 2: e("pt-PT").numberFormatter({ raw: "00" }) }, { pattern: "d 'de' MMMM '\xe0s' h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "janeiro", 2: "fevereiro", 3: "mar\xe7o", 4: "abril", 5: "maio", 6: "junho", 7: "julho", 8: "agosto", 9: "setembro", 10: "outubro", 11: "novembro", 12: "dezembro" } } }, dayPeriods: { am: "da manh\xe3", pm: "da tarde" } }), e.a583971716 = i({ 1: e("ro").numberFormatter({ raw: "0" }), 2: e("ro").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM, h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "ianuarie", 2: "februarie", 3: "martie", 4: "aprilie", 5: "mai", 6: "iunie", 7: "iulie", 8: "august", 9: "septembrie", 10: "octombrie", 11: "noiembrie", 12: "decembrie" } } }, dayPeriods: { am: "a.m.", pm: "p.m." } }), e.a1005617546 = i({ 1: e("ru").numberFormatter({ raw: "0" }), 2: e("ru").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM, h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "\u044f\u043d\u0432\u0430\u0440\u044f", 2: "\u0444\u0435\u0432\u0440\u0430\u043b\u044f", 3: "\u043c\u0430\u0440\u0442\u0430", 4: "\u0430\u043f\u0440\u0435\u043b\u044f", 5: "\u043c\u0430\u044f", 6: "\u0438\u044e\u043d\u044f", 7: "\u0438\u044e\u043b\u044f", 8: "\u0430\u0432\u0433\u0443\u0441\u0442\u0430", 9: "\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f", 10: "\u043e\u043a\u0442\u044f\u0431\u0440\u044f", 11: "\u043d\u043e\u044f\u0431\u0440\u044f", 12: "\u0434\u0435\u043a\u0430\u0431\u0440\u044f" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.a333894303 = i({ 1: e("sk").numberFormatter({ raw: "0" }), 2: e("sk").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM, h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "janu\xe1ra", 2: "febru\xe1ra", 3: "marca", 4: "apr\xedla", 5: "m\xe1ja", 6: "j\xfana", 7: "j\xfala", 8: "augusta", 9: "septembra", 10: "okt\xf3bra", 11: "novembra", 12: "decembra" } } }, dayPeriods: { am: "AM", pm: "PM" } }), e.b1743315040 = i({ 1: e("sl").numberFormatter({ raw: "0" }), 2: e("sl").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "januar", 2: "februar", 3: "marec", 4: "april", 5: "maj", 6: "junij", 7: "julij", 8: "avgust", 9: "september", 10: "oktober", 11: "november", 12: "december" } } }, dayPeriods: { am: "dop.", pm: "pop." } }), e.a374999999 = i({ 1: e("sr-Cyrl").numberFormatter({ raw: "0" }), 2: e("sr-Cyrl").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "\u0458\u0430\u043d\u0443\u0430\u0440", 2: "\u0444\u0435\u0431\u0440\u0443\u0430\u0440", 3: "\u043c\u0430\u0440\u0442", 4: "\u0430\u043f\u0440\u0438\u043b", 5: "\u043c\u0430\u0458", 6: "\u0458\u0443\u043d", 7: "\u0458\u0443\u043b", 8: "\u0430\u0432\u0433\u0443\u0441\u0442", 9: "\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440", 10: "\u043e\u043a\u0442\u043e\u0431\u0430\u0440", 11: "\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440", 12: "\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440" } } }, dayPeriods: { am: "\u043f\u0440\u0435 \u043f\u043e\u0434\u043d\u0435", pm: "\u043f\u043e \u043f\u043e\u0434\u043d\u0435" } }), e.a976026686 = i({ 1: e("sr-Latn").numberFormatter({ raw: "0" }), 2: e("sr-Latn").numberFormatter({ raw: "00" }) }, { pattern: "d. MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "januar", 2: "februar", 3: "mart", 4: "april", 5: "maj", 6: "jun", 7: "jul", 8: "avgust", 9: "septembar", 10: "oktobar", 11: "novembar", 12: "decembar" } } }, dayPeriods: { am: "pre podne", pm: "po podne" } }), e.b1040571990 = i({ 1: e("sv").numberFormatter({ raw: "0" }), 2: e("sv").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "januari", 2: "februari", 3: "mars", 4: "april", 5: "maj", 6: "juni", 7: "juli", 8: "augusti", 9: "september", 10: "oktober", 11: "november", 12: "december" } } }, dayPeriods: { am: "fm", pm: "em" } }), e.b1993392453 = i({ 1: e("th").numberFormatter({ raw: "0" }), 2: e("th").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21", 2: "\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c", 3: "\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21", 4: "\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19", 5: "\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21", 6: "\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19", 7: "\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21", 8: "\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21", 9: "\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19", 10: "\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21", 11: "\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19", 12: "\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21" } } }, dayPeriods: { am: "\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07", pm: "\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07" } }), e.b1290649403 = i({ 1: e("tr").numberFormatter({ raw: "0" }), 2: e("tr").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM a h:mm", timeSeparator: ":", months: { M: { 4: { 1: "Ocak", 2: "\u015eubat", 3: "Mart", 4: "Nisan", 5: "May\u0131s", 6: "Haziran", 7: "Temmuz", 8: "A\u011fustos", 9: "Eyl\xfcl", 10: "Ekim", 11: "Kas\u0131m", 12: "Aral\u0131k" } } }, dayPeriods: { am: "\xd6\xd6", pm: "\xd6S" } }), e.a395933917 = i({ 1: e("uk").numberFormatter({ raw: "0" }), 2: e("uk").numberFormatter({ raw: "00" }) }, { pattern: "d MMMM '\u043e' h:mm a", timeSeparator: ":", months: { M: { 4: { 1: "\u0441\u0456\u0447\u043d\u044f", 2: "\u043b\u044e\u0442\u043e\u0433\u043e", 3: "\u0431\u0435\u0440\u0435\u0437\u043d\u044f", 4: "\u043a\u0432\u0456\u0442\u043d\u044f", 5: "\u0442\u0440\u0430\u0432\u043d\u044f", 6: "\u0447\u0435\u0440\u0432\u043d\u044f", 7: "\u043b\u0438\u043f\u043d\u044f", 8: "\u0441\u0435\u0440\u043f\u043d\u044f", 9: "\u0432\u0435\u0440\u0435\u0441\u043d\u044f", 10: "\u0436\u043e\u0432\u0442\u043d\u044f", 11: "\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430", 12: "\u0433\u0440\u0443\u0434\u043d\u044f" } } }, dayPeriods: { am: "\u0434\u043f", pm: "\u043f\u043f" } }), e.a286405114 = i({ 1: e("vi").numberFormatter({ raw: "0" }), 2: e("vi").numberFormatter({ raw: "00" }) }, { pattern: "h:mm a d MMMM", timeSeparator: ":", dayPeriods: { am: "SA", pm: "CH" }, months: { M: { 4: { 1: "th\xe1ng 1", 2: "th\xe1ng 2", 3: "th\xe1ng 3", 4: "th\xe1ng 4", 5: "th\xe1ng 5", 6: "th\xe1ng 6", 7: "th\xe1ng 7", 8: "th\xe1ng 8", 9: "th\xe1ng 9", 10: "th\xe1ng 10", 11: "th\xe1ng 11", 12: "th\xe1ng 12" } } } }), e.b222114294 = i({ 1: e("yue").numberFormatter({ raw: "0" }), 2: e("yue").numberFormatter({ raw: "00" }) }, { pattern: "M\u6708d\u65e5 ah:mm", timeSeparator: ":", dayPeriods: { am: "\u4e0a\u5348", pm: "\u4e0b\u5348" } }), e.b1939787106 = i({ 1: e("zh-Hans").numberFormatter({ raw: "0" }), 2: e("zh-Hans").numberFormatter({ raw: "00" }) }, { pattern: "M\u6708d\u65e5 ah:mm", timeSeparator: ":", dayPeriods: { am: "\u4e0a\u5348", pm: "\u4e0b\u5348" } }), e.b621833333 = i({ 1: e("zh-Hans-SG").numberFormatter({ raw: "0" }), 2: e("zh-Hans-SG").numberFormatter({ raw: "00" }) }, { pattern: "M\u6708d\u65e5 ah:mm", timeSeparator: ":", dayPeriods: { am: "\u4e0a\u5348", pm: "\u4e0b\u5348" } }), e.a277970847 = i({ 1: e("zh-Hant").numberFormatter({ raw: "0" }), 2: e("zh-Hant").numberFormatter({ raw: "00" }) }, { pattern: "M\u6708d\u65e5 ah:mm", timeSeparator: ":", dayPeriods: { am: "\u4e0a\u5348", pm: "\u4e0b\u5348" } }), e.b936690535 = i({ 1: e("zh-Hant-HK").numberFormatter({ raw: "0" }), 2: e("zh-Hant-HK").numberFormatter({ raw: "00" }) }, { pattern: "M\u6708d\u65e5 ah:mm", timeSeparator: ":", dayPeriods: { am: "\u4e0a\u5348", pm: "\u4e0b\u5348" } }), e.b500494280 = i({ 1: e("zh-Hant-MO").numberFormatter({ raw: "0" }), 2: e("zh-Hant-MO").numberFormatter({ raw: "00" }) }, { pattern: "M\u6708d\u65e5 ah:mm", timeSeparator: ":", dayPeriods: { am: "\u4e0a\u5348", pm: "\u4e0b\u5348" } }), e.a50097046 = o(e("ar-EG").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a62728514 = o(e("ar-SA").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b46681067 = o(e("bg").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b437307090 = o(e("ca").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a827630400 = o(e("cs").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b406287283 = o(e("da").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b125190063 = o(e("de").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1749733769 = o(e("el").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1609185159 = o(e("en").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a889670014 = o(e("es").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1187539329 = o(e("et").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a1030218624 = o(e("eu").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a217946771 = o(e("fi").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1297068132 = o(e("fr").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1687694155 = o(e("gl").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1110835 = o(e("he").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a279986385 = o(e("hi").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1235028518 = o(e("hr").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a1123278045 = o(e("hu").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a2107118315 = o(e("id").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1063460101 = o(e("it").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b220168441 = o(e("ja").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a513594416 = o(e("kk").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a794691636 = o(e("ko").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b970400680 = o(e("lt").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b829852070 = o(e("lv").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a1137828470 = o(e("ms").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a2121668740 = o(e("nb").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1470555506 = o(e("nl").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1408515892 = o(e("pl").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b846321452 = o(e("pt").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a454515013 = o(e("pt-PT").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a1011830285 = o(e("ro").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a1433476115 = o(e("ru").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a761752872 = o(e("sk").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1315456471 = o(e("sl").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1594777898 = o(e("sr-Cyrl").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b993751211 = o(e("sr-Latn").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b612713421 = o(e("sv").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1565533884 = o(e("th").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b862790834 = o(e("tr").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a823792486 = o(e("uk").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a714263683 = o(e("vi").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a156599457 = o(e("yue").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.a385402293 = o(e("zh-Hans").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b136997612 = o(e("zh-Hans-SG").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1691807050 = o(e("zh-Hant").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b451854814 = o(e("zh-Hant-HK").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b15658559 = o(e("zh-Hant-MO").dateToPartsFormatter({ skeleton: "MMMMdhm" })), e.b1129493863 = a(e("ar-EG").numberFormatter({}), e("ar-EG").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-zero": "\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629", "relativeTimePattern-count-one": "\u062e\u0644\u0627\u0644 \u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629", "relativeTimePattern-count-two": "\u062e\u0644\u0627\u0644 \u0633\u0627\u0639\u062a\u064a\u0646", "relativeTimePattern-count-few": "\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0627\u062a", "relativeTimePattern-count-many": "\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629", "relativeTimePattern-count-other": "\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629" }, "relativeTime-type-past": { "relativeTimePattern-count-zero": "\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629", "relativeTimePattern-count-one": "\u0642\u0628\u0644 \u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629", "relativeTimePattern-count-two": "\u0642\u0628\u0644 \u0633\u0627\u0639\u062a\u064a\u0646", "relativeTimePattern-count-few": "\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0627\u062a", "relativeTimePattern-count-many": "\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629", "relativeTimePattern-count-other": "\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629" }, "relative-type-0": "\u0627\u0644\u0633\u0627\u0639\u0629 \u0627\u0644\u062d\u0627\u0644\u064a\u0629" }), e.b318696087 = a(e("ar-EG").numberFormatter({}), e("ar-EG").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-zero": "\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629", "relativeTimePattern-count-one": "\u062e\u0644\u0627\u0644 \u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629", "relativeTimePattern-count-two": "\u062e\u0644\u0627\u0644 \u062f\u0642\u064a\u0642\u062a\u064a\u0646", "relativeTimePattern-count-few": "\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u0627\u0626\u0642", "relativeTimePattern-count-many": "\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629", "relativeTimePattern-count-other": "\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629" }, "relativeTime-type-past": { "relativeTimePattern-count-zero": "\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629", "relativeTimePattern-count-one": "\u0642\u0628\u0644 \u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629", "relativeTimePattern-count-two": "\u0642\u0628\u0644 \u062f\u0642\u064a\u0642\u062a\u064a\u0646", "relativeTimePattern-count-few": "\u0642\u0628\u0644 {0} \u062f\u0642\u0627\u0626\u0642", "relativeTimePattern-count-many": "\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629", "relativeTimePattern-count-other": "\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629" }, "relative-type-0": "\u0647\u0630\u0647 \u0627\u0644\u062f\u0642\u064a\u0642\u0629" }), e.b1716664979 = a(e("ar-SA").numberFormatter({}), e("ar-SA").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-zero": "\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629", "relativeTimePattern-count-one": "\u062e\u0644\u0627\u0644 \u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629", "relativeTimePattern-count-two": "\u062e\u0644\u0627\u0644 \u0633\u0627\u0639\u062a\u064a\u0646", "relativeTimePattern-count-few": "\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0627\u062a", "relativeTimePattern-count-many": "\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629", "relativeTimePattern-count-other": "\u062e\u0644\u0627\u0644 {0} \u0633\u0627\u0639\u0629" }, "relativeTime-type-past": { "relativeTimePattern-count-zero": "\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629", "relativeTimePattern-count-one": "\u0642\u0628\u0644 \u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629", "relativeTimePattern-count-two": "\u0642\u0628\u0644 \u0633\u0627\u0639\u062a\u064a\u0646", "relativeTimePattern-count-few": "\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0627\u062a", "relativeTimePattern-count-many": "\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629", "relativeTimePattern-count-other": "\u0642\u0628\u0644 {0} \u0633\u0627\u0639\u0629" }, "relative-type-0": "\u0627\u0644\u0633\u0627\u0639\u0629 \u0627\u0644\u062d\u0627\u0644\u064a\u0629" }), e.b1949422787 = a(e("ar-SA").numberFormatter({}), e("ar-SA").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-zero": "\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629", "relativeTimePattern-count-one": "\u062e\u0644\u0627\u0644 \u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629", "relativeTimePattern-count-two": "\u062e\u0644\u0627\u0644 \u062f\u0642\u064a\u0642\u062a\u064a\u0646", "relativeTimePattern-count-few": "\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u0627\u0626\u0642", "relativeTimePattern-count-many": "\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629", "relativeTimePattern-count-other": "\u062e\u0644\u0627\u0644 {0} \u062f\u0642\u064a\u0642\u0629" }, "relativeTime-type-past": { "relativeTimePattern-count-zero": "\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629", "relativeTimePattern-count-one": "\u0642\u0628\u0644 \u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629", "relativeTimePattern-count-two": "\u0642\u0628\u0644 \u062f\u0642\u064a\u0642\u062a\u064a\u0646", "relativeTimePattern-count-few": "\u0642\u0628\u0644 {0} \u062f\u0642\u0627\u0626\u0642", "relativeTimePattern-count-many": "\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629", "relativeTimePattern-count-other": "\u0642\u0628\u0644 {0} \u062f\u0642\u064a\u0642\u0629" }, "relative-type-0": "\u0647\u0630\u0647 \u0627\u0644\u062f\u0642\u064a\u0642\u0629" }), e.b1132152016 = a(e("bg").numberFormatter({}), e("bg").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u0441\u043b\u0435\u0434 {0} \u0447\u0430\u0441", "relativeTimePattern-count-other": "\u0441\u043b\u0435\u0434 {0} \u0447\u0430\u0441\u0430" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "\u043f\u0440\u0435\u0434\u0438 {0} \u0447\u0430\u0441", "relativeTimePattern-count-other": "\u043f\u0440\u0435\u0434\u0438 {0} \u0447\u0430\u0441\u0430" }, "relative-type-0": "\u0432 \u0442\u043e\u0437\u0438 \u0447\u0430\u0441" }), e.a1421786176 = a(e("bg").numberFormatter({}), e("bg").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u0441\u043b\u0435\u0434 {0} \u043c\u0438\u043d\u0443\u0442\u0430", "relativeTimePattern-count-other": "\u0441\u043b\u0435\u0434 {0} \u043c\u0438\u043d\u0443\u0442\u0438" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "\u043f\u0440\u0435\u0434\u0438 {0} \u043c\u0438\u043d\u0443\u0442\u0430", "relativeTimePattern-count-other": "\u043f\u0440\u0435\u0434\u0438 {0} \u043c\u0438\u043d\u0443\u0442\u0438" }, "relative-type-0": "\u0432 \u0442\u0430\u0437\u0438 \u043c\u0438\u043d\u0443\u0442\u0430" }), e.a2094915959 = a(e("ca").numberFormatter({}), e("ca").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "d\u2019aqu\xed a {0} hora", "relativeTimePattern-count-other": "d\u2019aqu\xed a {0} hores" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "fa {0} hora", "relativeTimePattern-count-other": "fa {0} hores" }, "relative-type-0": "aquesta hora" }), e.a1667722439 = a(e("ca").numberFormatter({}), e("ca").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "d\u2019aqu\xed a {0} minut", "relativeTimePattern-count-other": "d\u2019aqu\xed a {0} minuts" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "fa {0} minut", "relativeTimePattern-count-other": "fa {0} minuts" }, "relative-type-0": "aquest minut" }), e.a123437605 = a(e("cs").numberFormatter({}), e("cs").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "za {0} hodinu", "relativeTimePattern-count-few": "za {0} hodiny", "relativeTimePattern-count-many": "za {0} hodiny", "relativeTimePattern-count-other": "za {0} hodin" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "p\u0159ed {0} hodinou", "relativeTimePattern-count-few": "p\u0159ed {0} hodinami", "relativeTimePattern-count-many": "p\u0159ed {0} hodiny", "relativeTimePattern-count-other": "p\u0159ed {0} hodinami" }, "relative-type-0": "tuto hodinu" }), e.a1157601781 = a(e("cs").numberFormatter({}), e("cs").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "za {0} minutu", "relativeTimePattern-count-few": "za {0} minuty", "relativeTimePattern-count-many": "za {0} minuty", "relativeTimePattern-count-other": "za {0} minut" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "p\u0159ed {0} minutou", "relativeTimePattern-count-few": "p\u0159ed {0} minutami", "relativeTimePattern-count-many": "p\u0159ed {0} minuty", "relativeTimePattern-count-other": "p\u0159ed {0} minutami" }, "relative-type-0": "tuto minutu" }), e.a1801512952 = a(e("da").numberFormatter({}), e("da").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "om {0} time", "relativeTimePattern-count-other": "om {0} timer" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "for {0} time siden", "relativeTimePattern-count-other": "for {0} timer siden" }, "relative-type-0": "i den kommende time" }), e.b1119693048 = a(e("da").numberFormatter({}), e("da").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "om {0} minut", "relativeTimePattern-count-other": "om {0} minutter" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "for {0} minut siden", "relativeTimePattern-count-other": "for {0} minutter siden" }, "relative-type-0": "i det kommende minut" }), e.b1977123468 = a(e("de").numberFormatter({}), e("de").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "in {0} Stunde", "relativeTimePattern-count-other": "in {0} Stunden" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "vor {0} Stunde", "relativeTimePattern-count-other": "vor {0} Stunden" }, "relative-type-0": "in dieser Stunde" }), e.a1153039748 = a(e("de").numberFormatter({}), e("de").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "in {0} Minute", "relativeTimePattern-count-other": "in {0} Minuten" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "vor {0} Minute", "relativeTimePattern-count-other": "vor {0} Minuten" }, "relative-type-0": "in dieser Minute" }), e.b1366947442 = a(e("el").numberFormatter({}), e("el").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u03c3\u03b5 {0} \u03ce\u03c1\u03b1", "relativeTimePattern-count-other": "\u03c3\u03b5 {0} \u03ce\u03c1\u03b5\u03c2" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03ce\u03c1\u03b1", "relativeTimePattern-count-other": "\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03ce\u03c1\u03b5\u03c2" }, "relative-type-0": "\u03c4\u03c1\u03ad\u03c7\u03bf\u03c5\u03c3\u03b1 \u03ce\u03c1\u03b1" }), e.b878318818 = a(e("el").numberFormatter({}), e("el").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u03c3\u03b5 {0} \u03bb\u03b5\u03c0\u03c4\u03cc", "relativeTimePattern-count-other": "\u03c3\u03b5 {0} \u03bb\u03b5\u03c0\u03c4\u03ac" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03bb\u03b5\u03c0\u03c4\u03cc", "relativeTimePattern-count-other": "\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc {0} \u03bb\u03b5\u03c0\u03c4\u03ac" }, "relative-type-0": "\u03c4\u03c1\u03ad\u03c7\u03bf\u03bd \u03bb\u03b5\u03c0\u03c4\u03cc" }), e.b1108782004 = a(e("en").numberFormatter({}), e("en").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "in {0} hour", "relativeTimePattern-count-other": "in {0} hours" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} hour ago", "relativeTimePattern-count-other": "{0} hours ago" }, "relative-type-0": "this hour" }), e.b1889436068 = a(e("en").numberFormatter({}), e("en").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "in {0} minute", "relativeTimePattern-count-other": "in {0} minutes" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} minute ago", "relativeTimePattern-count-other": "{0} minutes ago" }, "relative-type-0": "this minute" }), e.b463368409 = a(e("es").numberFormatter({}), e("es").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "dentro de {0} hora", "relativeTimePattern-count-other": "dentro de {0} horas" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "hace {0} hora", "relativeTimePattern-count-other": "hace {0} horas" }, "relative-type-0": "esta hora" }), e.b122261897 = a(e("es").numberFormatter({}), e("es").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "dentro de {0} minuto", "relativeTimePattern-count-other": "dentro de {0} minutos" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "hace {0} minuto", "relativeTimePattern-count-other": "hace {0} minutos" }, "relative-type-0": "este minuto" }), e.b334285690 = a(e("et").numberFormatter({}), e("et").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} tunni p\xe4rast", "relativeTimePattern-count-other": "{0} tunni p\xe4rast" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} tunni eest", "relativeTimePattern-count-other": "{0} tunni eest" }, "relative-type-0": "praegusel tunnil" }), e.b627820522 = a(e("et").numberFormatter({}), e("et").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} minuti p\xe4rast", "relativeTimePattern-count-other": "{0} minuti p\xe4rast" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} minuti eest", "relativeTimePattern-count-other": "{0} minuti eest" }, "relative-type-0": "praegusel minutil" }), e.b205202971 = a(e("eu").numberFormatter({}), e("eu").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} ordu barru", "relativeTimePattern-count-other": "{0} ordu barru" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "Duela {0} ordu", "relativeTimePattern-count-other": "Duela {0} ordu" }, "relative-type-0": "ordu honetan" }), e.b1133379147 = a(e("eu").numberFormatter({}), e("eu").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} minutu barru", "relativeTimePattern-count-other": "{0} minutu barru" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "Duela {0} minutu", "relativeTimePattern-count-other": "Duela {0} minutu" }, "relative-type-0": "minutu honetan" }), e.b2047598606 = a(e("fi").numberFormatter({}), e("fi").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} tunnin p\xe4\xe4st\xe4", "relativeTimePattern-count-other": "{0} tunnin p\xe4\xe4st\xe4" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} tunti sitten", "relativeTimePattern-count-other": "{0} tuntia sitten" }, "relative-type-0": "t\xe4m\xe4n tunnin aikana" }), e.a2145908866 = a(e("fi").numberFormatter({}), e("fi").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} minuutin p\xe4\xe4st\xe4", "relativeTimePattern-count-other": "{0} minuutin p\xe4\xe4st\xe4" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} minuutti sitten", "relativeTimePattern-count-other": "{0} minuuttia sitten" }, "relative-type-0": "t\xe4m\xe4n minuutin aikana" }), e.b885854135 = a(e("fr").numberFormatter({}), e("fr").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "dans {0} heure", "relativeTimePattern-count-other": "dans {0} heures" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "il y a {0} heure", "relativeTimePattern-count-other": "il y a {0} heures" }, "relative-type-0": "cette heure-ci" }), e.a1890848537 = a(e("fr").numberFormatter({}), e("fr").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "dans {0} minute", "relativeTimePattern-count-other": "dans {0} minutes" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "il y a {0} minute", "relativeTimePattern-count-other": "il y a {0} minutes" }, "relative-type-0": "cette minute-ci" }), e.b1953753456 = a(e("gl").numberFormatter({}), e("gl").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "en {0} hora", "relativeTimePattern-count-other": "en {0} horas" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "hai {0} hora", "relativeTimePattern-count-other": "hai {0} horas" }, "relative-type-0": "esta hora" }), e.a2136784800 = a(e("gl").numberFormatter({}), e("gl").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "en {0} minuto", "relativeTimePattern-count-other": "en {0} minutos" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "hai {0} minuto", "relativeTimePattern-count-other": "hai {0} minutos" }, "relative-type-0": "este minuto" }), e.a1144231800 = a(e("he").numberFormatter({}), e("he").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u05d1\u05e2\u05d5\u05d3 \u05e9\u05e2\u05d4", "relativeTimePattern-count-two": "\u05d1\u05e2\u05d5\u05d3 \u05e9\u05e2\u05ea\u05d9\u05d9\u05dd", "relativeTimePattern-count-many": "\u05d1\u05e2\u05d5\u05d3 {0} \u05e9\u05e2\u05d5\u05ea", "relativeTimePattern-count-other": "\u05d1\u05e2\u05d5\u05d3 {0} \u05e9\u05e2\u05d5\u05ea" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "\u05dc\u05e4\u05e0\u05d9 \u05e9\u05e2\u05d4", "relativeTimePattern-count-two": "\u05dc\u05e4\u05e0\u05d9 \u05e9\u05e2\u05ea\u05d9\u05d9\u05dd", "relativeTimePattern-count-many": "\u05dc\u05e4\u05e0\u05d9 {0} \u05e9\u05e2\u05d5\u05ea", "relativeTimePattern-count-other": "\u05dc\u05e4\u05e0\u05d9 {0} \u05e9\u05e2\u05d5\u05ea" }, "relative-type-0": "\u05d1\u05e9\u05e2\u05d4 \u05d6\u05d5" }), e.b1406687608 = a(e("he").numberFormatter({}), e("he").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u05d1\u05e2\u05d5\u05d3 \u05d3\u05e7\u05d4", "relativeTimePattern-count-two": "\u05d1\u05e2\u05d5\u05d3 \u05e9\u05ea\u05d9 \u05d3\u05e7\u05d5\u05ea", "relativeTimePattern-count-many": "\u05d1\u05e2\u05d5\u05d3 {0} \u05d3\u05e7\u05d5\u05ea", "relativeTimePattern-count-other": "\u05d1\u05e2\u05d5\u05d3 {0} \u05d3\u05e7\u05d5\u05ea" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "\u05dc\u05e4\u05e0\u05d9 \u05d3\u05e7\u05d4", "relativeTimePattern-count-two": "\u05dc\u05e4\u05e0\u05d9 \u05e9\u05ea\u05d9 \u05d3\u05e7\u05d5\u05ea", "relativeTimePattern-count-many": "\u05dc\u05e4\u05e0\u05d9 {0} \u05d3\u05e7\u05d5\u05ea", "relativeTimePattern-count-other": "\u05dc\u05e4\u05e0\u05d9 {0} \u05d3\u05e7\u05d5\u05ea" }, "relative-type-0": "\u05d1\u05d3\u05e7\u05d4 \u05d6\u05d5" }), e.a1660562676 = a(e("hi").numberFormatter({}), e("hi").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} \u0918\u0902\u091f\u0947 \u092e\u0947\u0902", "relativeTimePattern-count-other": "{0} \u0918\u0902\u091f\u0947 \u092e\u0947\u0902" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} \u0918\u0902\u091f\u0947 \u092a\u0939\u0932\u0947", "relativeTimePattern-count-other": "{0} \u0918\u0902\u091f\u0947 \u092a\u0939\u0932\u0947" }, "relative-type-0": "\u092f\u0939 \u0918\u0902\u091f\u093e" }), e.a866045188 = a(e("hi").numberFormatter({}), e("hi").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} \u092e\u093f\u0928\u091f \u092e\u0947\u0902", "relativeTimePattern-count-other": "{0} \u092e\u093f\u0928\u091f \u092e\u0947\u0902" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} \u092e\u093f\u0928\u091f \u092a\u0939\u0932\u0947", "relativeTimePattern-count-other": "{0} \u092e\u093f\u0928\u091f \u092a\u0939\u0932\u0947" }, "relative-type-0": "\u092f\u0939 \u092e\u093f\u0928\u091f" }), e.b1472660149 = a(e("hr").numberFormatter({}), e("hr").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "za {0} sat", "relativeTimePattern-count-few": "za {0} sata", "relativeTimePattern-count-other": "za {0} sati" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "prije {0} sat", "relativeTimePattern-count-few": "prije {0} sata", "relativeTimePattern-count-other": "prije {0} sati" }, "relative-type-0": "ovaj sat" }), e.a610984859 = a(e("hr").numberFormatter({}), e("hr").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "za {0} minutu", "relativeTimePattern-count-few": "za {0} minute", "relativeTimePattern-count-other": "za {0} minuta" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "prije {0} minutu", "relativeTimePattern-count-few": "prije {0} minute", "relativeTimePattern-count-other": "prije {0} minuta" }, "relative-type-0": "ova minuta" }), e.b1085411992 = a(e("hu").numberFormatter({}), e("hu").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} \xf3ra m\xfalva", "relativeTimePattern-count-other": "{0} \xf3ra m\xfalva" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} \xf3r\xe1val ezel\u0151tt", "relativeTimePattern-count-other": "{0} \xf3r\xe1val ezel\u0151tt" }, "relative-type-0": "ebben az \xf3r\xe1ban" }), e.b905691016 = a(e("hu").numberFormatter({}), e("hu").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} perc m\xfalva", "relativeTimePattern-count-other": "{0} perc m\xfalva" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} perccel ezel\u0151tt", "relativeTimePattern-count-other": "{0} perccel ezel\u0151tt" }, "relative-type-0": "ebben a percben" }), e.a721746074 = a(e("id").numberFormatter({}), e("id").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "dalam {0} jam" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} jam yang lalu" }, "relative-type-0": "jam ini" }), e.a606422826 = a(e("id").numberFormatter({}), e("id").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "dalam {0} menit" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} menit yang lalu" }, "relative-type-0": "menit ini" }), e.b1507897718 = a(e("it").numberFormatter({}), e("it").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "tra {0} ora", "relativeTimePattern-count-other": "tra {0} ore" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} ora fa", "relativeTimePattern-count-other": "{0} ore fa" }, "relative-type-0": "quest\u2019ora" }), e.a1107419418 = a(e("it").numberFormatter({}), e("it").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "tra {0} minuto", "relativeTimePattern-count-other": "tra {0} minuti" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} minuto fa", "relativeTimePattern-count-other": "{0} minuti fa" }, "relative-type-0": "questo minuto" }), e.a41094910 = a(e("ja").numberFormatter({}), e("ja").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0} \u6642\u9593\u5f8c" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u6642\u9593\u524d" }, "relative-type-0": "1 \u6642\u9593\u4ee5\u5185" }), e.b664316786 = a(e("ja").numberFormatter({}), e("ja").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0} \u5206\u5f8c" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u5206\u524d" }, "relative-type-0": "1 \u5206\u4ee5\u5185" }), e.a1038519093 = a(e("kk").numberFormatter({}), e("kk").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} \u0441\u0430\u0493\u0430\u0442\u0442\u0430\u043d \u043a\u0435\u0439\u0456\u043d", "relativeTimePattern-count-other": "{0} \u0441\u0430\u0493\u0430\u0442\u0442\u0430\u043d \u043a\u0435\u0439\u0456\u043d" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} \u0441\u0430\u0493\u0430\u0442 \u0431\u04b1\u0440\u044b\u043d", "relativeTimePattern-count-other": "{0} \u0441\u0430\u0493\u0430\u0442 \u0431\u04b1\u0440\u044b\u043d" }, "relative-type-0": "\u043e\u0441\u044b \u0441\u0430\u0493\u0430\u0442" }), e.a82616069 = a(e("kk").numberFormatter({}), e("kk").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} \u043c\u0438\u043d\u0443\u0442\u0442\u0430\u043d \u043a\u0435\u0439\u0456\u043d", "relativeTimePattern-count-other": "{0} \u043c\u0438\u043d\u0443\u0442\u0442\u0430\u043d \u043a\u0435\u0439\u0456\u043d" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} \u043c\u0438\u043d\u0443\u0442 \u0431\u04b1\u0440\u044b\u043d", "relativeTimePattern-count-other": "{0} \u043c\u0438\u043d\u0443\u0442 \u0431\u04b1\u0440\u044b\u043d" }, "relative-type-0": "\u043e\u0441\u044b \u043c\u0438\u043d\u0443\u0442" }), e.a1554849969 = a(e("ko").numberFormatter({}), e("ko").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0}\uc2dc\uac04 \ud6c4" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0}\uc2dc\uac04 \uc804" }, "relative-type-0": "\ud604\uc7ac \uc2dc\uac04" }), e.b1939618431 = a(e("ko").numberFormatter({}), e("ko").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0}\ubd84 \ud6c4" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0}\ubd84 \uc804" }, "relative-type-0": "\ud604\uc7ac \ubd84" }), e.a1906860557 = a(e("lt").numberFormatter({}), e("lt").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "po {0} valandos", "relativeTimePattern-count-few": "po {0} valand\u0173", "relativeTimePattern-count-many": "po {0} valandos", "relativeTimePattern-count-other": "po {0} valand\u0173" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "prie\u0161 {0} valand\u0105", "relativeTimePattern-count-few": "prie\u0161 {0} valandas", "relativeTimePattern-count-many": "prie\u0161 {0} valandos", "relativeTimePattern-count-other": "prie\u0161 {0} valand\u0173" }, "relative-type-0": "\u0161i\u0105 valand\u0105" }), e.a1335107549 = a(e("lt").numberFormatter({}), e("lt").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "po {0} minut\u0117s", "relativeTimePattern-count-few": "po {0} minu\u010di\u0173", "relativeTimePattern-count-many": "po {0} minut\u0117s", "relativeTimePattern-count-other": "po {0} minu\u010di\u0173" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "prie\u0161 {0} minut\u0119", "relativeTimePattern-count-few": "prie\u0161 {0} minutes", "relativeTimePattern-count-many": "prie\u0161 {0} minut\u0117s", "relativeTimePattern-count-other": "prie\u0161 {0} minu\u010di\u0173" }, "relative-type-0": "\u0161i\u0105 minut\u0119" }), e.b2129941301 = a(e("lv").numberFormatter({}), e("lv").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-zero": "p\u0113c {0} stund\u0101m", "relativeTimePattern-count-one": "p\u0113c {0} stundas", "relativeTimePattern-count-other": "p\u0113c {0} stund\u0101m" }, "relativeTime-type-past": { "relativeTimePattern-count-zero": "pirms {0} stund\u0101m", "relativeTimePattern-count-one": "pirms {0} stundas", "relativeTimePattern-count-other": "pirms {0} stund\u0101m" }, "relative-type-0": "\u0161aj\u0101 stund\u0101" }), e.a323990299 = a(e("lv").numberFormatter({}), e("lv").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-zero": "p\u0113c {0} min\u016bt\u0113m", "relativeTimePattern-count-one": "p\u0113c {0} min\u016btes", "relativeTimePattern-count-other": "p\u0113c {0} min\u016bt\u0113m" }, "relativeTime-type-past": { "relativeTimePattern-count-zero": "pirms {0} min\u016bt\u0113m", "relativeTimePattern-count-one": "pirms {0} min\u016btes", "relativeTimePattern-count-other": "pirms {0} min\u016bt\u0113m" }, "relative-type-0": "\u0161aj\u0101 min\u016bt\u0113" }), e.a1484374831 = a(e("ms").numberFormatter({}), e("ms").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "dalam {0} jam" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} jam lalu" }, "relative-type-0": "jam ini" }), e.b946749313 = a(e("ms").numberFormatter({}), e("ms").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "dalam {0} minit" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} minit lalu" }, "relative-type-0": "pada minit ini" }), e.b1003434399 = a(e("nb").numberFormatter({}), e("nb").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "om {0} time", "relativeTimePattern-count-other": "om {0} timer" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "for {0} time siden", "relativeTimePattern-count-other": "for {0} timer siden" }, "relative-type-0": "denne timen" }), e.a565364529 = a(e("nb").numberFormatter({}), e("nb").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "om {0} minutt", "relativeTimePattern-count-other": "om {0} minutter" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "for {0} minutt siden", "relativeTimePattern-count-other": "for {0} minutter siden" }, "relative-type-0": "dette minuttet" }), e.a287392791 = a(e("nl").numberFormatter({}), e("nl").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "over {0} uur", "relativeTimePattern-count-other": "over {0} uur" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} uur geleden", "relativeTimePattern-count-other": "{0} uur geleden" }, "relative-type-0": "binnen een uur" }), e.b195254425 = a(e("nl").numberFormatter({}), e("nl").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "over {0} minuut", "relativeTimePattern-count-other": "over {0} minuten" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} minuut geleden", "relativeTimePattern-count-other": "{0} minuten geleden" }, "relative-type-0": "binnen een minuut" }), e.b299413223 = a(e("pl").numberFormatter({}), e("pl").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "za {0} godzin\u0119", "relativeTimePattern-count-few": "za {0} godziny", "relativeTimePattern-count-many": "za {0} godzin", "relativeTimePattern-count-other": "za {0} godziny" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} godzin\u0119 temu", "relativeTimePattern-count-few": "{0} godziny temu", "relativeTimePattern-count-many": "{0} godzin temu", "relativeTimePattern-count-other": "{0} godziny temu" }, "relative-type-0": "ta godzina" }), e.b1475118103 = a(e("pl").numberFormatter({}), e("pl").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "za {0} minut\u0119", "relativeTimePattern-count-few": "za {0} minuty", "relativeTimePattern-count-many": "za {0} minut", "relativeTimePattern-count-other": "za {0} minuty" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} minut\u0119 temu", "relativeTimePattern-count-few": "{0} minuty temu", "relativeTimePattern-count-many": "{0} minut temu", "relativeTimePattern-count-other": "{0} minuty temu" }, "relative-type-0": "ta minuta" }), e.a733248529 = a(e("pt").numberFormatter({}), e("pt").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "em {0} hora", "relativeTimePattern-count-other": "em {0} horas" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "h\xe1 {0} hora", "relativeTimePattern-count-other": "h\xe1 {0} horas" }, "relative-type-0": "esta hora" }), e.b1224619807 = a(e("pt").numberFormatter({}), e("pt").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "em {0} minuto", "relativeTimePattern-count-other": "em {0} minutos" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "h\xe1 {0} minuto", "relativeTimePattern-count-other": "h\xe1 {0} minutos" }, "relative-type-0": "este minuto" }), e.a1268173962 = a(e("pt-PT").numberFormatter({}), e("pt-PT").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "dentro de {0} hora", "relativeTimePattern-count-other": "dentro de {0} horas" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "h\xe1 {0} hora", "relativeTimePattern-count-other": "h\xe1 {0} horas" }, "relative-type-0": "esta hora" }), e.a1737613082 = a(e("pt-PT").numberFormatter({}), e("pt-PT").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "dentro de {0} minuto", "relativeTimePattern-count-other": "dentro de {0} minutos" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "h\xe1 {0} minuto", "relativeTimePattern-count-other": "h\xe1 {0} minutos" }, "relative-type-0": "este minuto" }), e.b498971080 = a(e("ro").numberFormatter({}), e("ro").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "peste {0} or\u0103", "relativeTimePattern-count-few": "peste {0} ore", "relativeTimePattern-count-other": "peste {0} de ore" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "acum {0} or\u0103", "relativeTimePattern-count-few": "acum {0} ore", "relativeTimePattern-count-other": "acum {0} de ore" }, "relative-type-0": "ora aceasta" }), e.a23309640 = a(e("ro").numberFormatter({}), e("ro").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "peste {0} minut", "relativeTimePattern-count-few": "peste {0} minute", "relativeTimePattern-count-other": "peste {0} de minute" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "acum {0} minut", "relativeTimePattern-count-few": "acum {0} minute", "relativeTimePattern-count-other": "acum {0} de minute" }, "relative-type-0": "minutul acesta" }), e.a275525234 = a(e("ru").numberFormatter({}), e("ru").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441", "relativeTimePattern-count-few": "\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441\u0430", "relativeTimePattern-count-many": "\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441\u043e\u0432", "relativeTimePattern-count-other": "\u0447\u0435\u0440\u0435\u0437 {0} \u0447\u0430\u0441\u0430" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} \u0447\u0430\u0441 \u043d\u0430\u0437\u0430\u0434", "relativeTimePattern-count-few": "{0} \u0447\u0430\u0441\u0430 \u043d\u0430\u0437\u0430\u0434", "relativeTimePattern-count-many": "{0} \u0447\u0430\u0441\u043e\u0432 \u043d\u0430\u0437\u0430\u0434", "relativeTimePattern-count-other": "{0} \u0447\u0430\u0441\u0430 \u043d\u0430\u0437\u0430\u0434" }, "relative-type-0": "\u0432 \u044d\u0442\u043e\u0442 \u0447\u0430\u0441" }), e.a1284925186 = a(e("ru").numberFormatter({}), e("ru").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442\u0443", "relativeTimePattern-count-few": "\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442\u044b", "relativeTimePattern-count-many": "\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442", "relativeTimePattern-count-other": "\u0447\u0435\u0440\u0435\u0437 {0} \u043c\u0438\u043d\u0443\u0442\u044b" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} \u043c\u0438\u043d\u0443\u0442\u0443 \u043d\u0430\u0437\u0430\u0434", "relativeTimePattern-count-few": "{0} \u043c\u0438\u043d\u0443\u0442\u044b \u043d\u0430\u0437\u0430\u0434", "relativeTimePattern-count-many": "{0} \u043c\u0438\u043d\u0443\u0442 \u043d\u0430\u0437\u0430\u0434", "relativeTimePattern-count-other": "{0} \u043c\u0438\u043d\u0443\u0442\u044b \u043d\u0430\u0437\u0430\u0434" }, "relative-type-0": "\u0432 \u044d\u0442\u0443 \u043c\u0438\u043d\u0443\u0442\u0443" }), e.b1308704963 = a(e("sk").numberFormatter({}), e("sk").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "o {0} hodinu", "relativeTimePattern-count-few": "o {0} hodiny", "relativeTimePattern-count-many": "o {0} hodiny", "relativeTimePattern-count-other": "o {0} hod\xedn" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "pred {0} hodinou", "relativeTimePattern-count-few": "pred {0} hodinami", "relativeTimePattern-count-many": "pred {0} hodinou", "relativeTimePattern-count-other": "pred {0} hodinami" }, "relative-type-0": "v tejto hodine" }), e.b741871347 = a(e("sk").numberFormatter({}), e("sk").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "o {0} min\xfatu", "relativeTimePattern-count-few": "o {0} min\xfaty", "relativeTimePattern-count-many": "o {0} min\xfaty", "relativeTimePattern-count-other": "o {0} min\xfat" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "pred {0} min\xfatou", "relativeTimePattern-count-few": "pred {0} min\xfatami", "relativeTimePattern-count-many": "pred {0} min\xfaty", "relativeTimePattern-count-other": "pred {0} min\xfatami" }, "relative-type-0": "v tejto min\xfate" }), e.b1179622244 = a(e("sl").numberFormatter({}), e("sl").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u010dez {0} uro", "relativeTimePattern-count-two": "\u010dez {0} uri", "relativeTimePattern-count-few": "\u010dez {0} ure", "relativeTimePattern-count-other": "\u010dez {0} ur" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "pred {0} uro", "relativeTimePattern-count-two": "pred {0} urama", "relativeTimePattern-count-few": "pred {0} urami", "relativeTimePattern-count-other": "pred {0} urami" }, "relative-type-0": "v tej uri" }), e.b1247429972 = a(e("sl").numberFormatter({}), e("sl").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u010dez {0} minuto", "relativeTimePattern-count-two": "\u010dez {0} minuti", "relativeTimePattern-count-few": "\u010dez {0} minute", "relativeTimePattern-count-other": "\u010dez {0} minut" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "pred {0} minuto", "relativeTimePattern-count-two": "pred {0} minutama", "relativeTimePattern-count-few": "pred {0} minutami", "relativeTimePattern-count-other": "pred {0} minutami" }, "relative-type-0": "to minuto" }), e.b105017831 = a(e("sr-Cyrl").numberFormatter({}), e("sr-Cyrl").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u0437\u0430 {0} \u0441\u0430\u0442", "relativeTimePattern-count-few": "\u0437\u0430 {0} \u0441\u0430\u0442\u0430", "relativeTimePattern-count-other": "\u0437\u0430 {0} \u0441\u0430\u0442\u0438" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "\u043f\u0440\u0435 {0} \u0441\u0430\u0442\u0430", "relativeTimePattern-count-few": "\u043f\u0440\u0435 {0} \u0441\u0430\u0442\u0430", "relativeTimePattern-count-other": "\u043f\u0440\u0435 {0} \u0441\u0430\u0442\u0438" }, "relative-type-0": "\u043e\u0432\u043e\u0433 \u0441\u0430\u0442\u0430" }), e.a655259881 = a(e("sr-Cyrl").numberFormatter({}), e("sr-Cyrl").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u0437\u0430 {0} \u043c\u0438\u043d\u0443\u0442", "relativeTimePattern-count-few": "\u0437\u0430 {0} \u043c\u0438\u043d\u0443\u0442\u0430", "relativeTimePattern-count-other": "\u0437\u0430 {0} \u043c\u0438\u043d\u0443\u0442\u0430" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "\u043f\u0440\u0435 {0} \u043c\u0438\u043d\u0443\u0442\u0430", "relativeTimePattern-count-few": "\u043f\u0440\u0435 {0} \u043c\u0438\u043d\u0443\u0442\u0430", "relativeTimePattern-count-other": "\u043f\u0440\u0435 {0} \u043c\u0438\u043d\u0443\u0442\u0430" }, "relative-type-0": "\u043e\u0432\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430" }), e.b502088902 = a(e("sr-Latn").numberFormatter({}), e("sr-Latn").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "za {0} sat", "relativeTimePattern-count-few": "za {0} sata", "relativeTimePattern-count-other": "za {0} sati" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "pre {0} sata", "relativeTimePattern-count-few": "pre {0} sata", "relativeTimePattern-count-other": "pre {0} sati" }, "relative-type-0": "ovog sata" }), e.a1322049994 = a(e("sr-Latn").numberFormatter({}), e("sr-Latn").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "za {0} minut", "relativeTimePattern-count-few": "za {0} minuta", "relativeTimePattern-count-other": "za {0} minuta" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "pre {0} minuta", "relativeTimePattern-count-few": "pre {0} minuta", "relativeTimePattern-count-other": "pre {0} minuta" }, "relative-type-0": "ovog minuta" }), e.a111204946 = a(e("sv").numberFormatter({}), e("sv").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "om {0} timme", "relativeTimePattern-count-other": "om {0} timmar" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "f\xf6r {0} timme sedan", "relativeTimePattern-count-other": "f\xf6r {0} timmar sedan" }, "relative-type-0": "denna timme" }), e.b2008048926 = a(e("sv").numberFormatter({}), e("sv").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "om {0} minut", "relativeTimePattern-count-other": "om {0} minuter" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "f\xf6r {0} minut sedan", "relativeTimePattern-count-other": "f\xf6r {0} minuter sedan" }, "relative-type-0": "denna minut" }), e.b1989356127 = a(e("th").numberFormatter({}), e("th").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "\u0e43\u0e19\u0e2d\u0e35\u0e01 {0} \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07\u0e17\u0e35\u0e48\u0e1c\u0e48\u0e32\u0e19\u0e21\u0e32" }, "relative-type-0": "\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07\u0e19\u0e35\u0e49" }), e.b2012610959 = a(e("th").numberFormatter({}), e("th").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "\u0e43\u0e19\u0e2d\u0e35\u0e01 {0} \u0e19\u0e32\u0e17\u0e35" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u0e19\u0e32\u0e17\u0e35\u0e17\u0e35\u0e48\u0e1c\u0e48\u0e32\u0e19\u0e21\u0e32" }, "relative-type-0": "\u0e19\u0e32\u0e17\u0e35\u0e19\u0e35\u0e49" }), e.b698528937 = a(e("tr").numberFormatter({}), e("tr").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} saat sonra", "relativeTimePattern-count-other": "{0} saat sonra" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} saat \xf6nce", "relativeTimePattern-count-other": "{0} saat \xf6nce" }, "relative-type-0": "bu saat" }), e.a1521737383 = a(e("tr").numberFormatter({}), e("tr").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "{0} dakika sonra", "relativeTimePattern-count-other": "{0} dakika sonra" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} dakika \xf6nce", "relativeTimePattern-count-other": "{0} dakika \xf6nce" }, "relative-type-0": "bu dakika" }), e.b1895510977 = a(e("uk").numberFormatter({}), e("uk").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u0447\u0435\u0440\u0435\u0437 {0} \u0433\u043e\u0434\u0438\u043d\u0443", "relativeTimePattern-count-few": "\u0447\u0435\u0440\u0435\u0437 {0} \u0433\u043e\u0434\u0438\u043d\u0438", "relativeTimePattern-count-many": "\u0447\u0435\u0440\u0435\u0437 {0} \u0433\u043e\u0434\u0438\u043d", "relativeTimePattern-count-other": "\u0447\u0435\u0440\u0435\u0437 {0} \u0433\u043e\u0434\u0438\u043d\u0438" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} \u0433\u043e\u0434\u0438\u043d\u0443 \u0442\u043e\u043c\u0443", "relativeTimePattern-count-few": "{0} \u0433\u043e\u0434\u0438\u043d\u0438 \u0442\u043e\u043c\u0443", "relativeTimePattern-count-many": "{0} \u0433\u043e\u0434\u0438\u043d \u0442\u043e\u043c\u0443", "relativeTimePattern-count-other": "{0} \u0433\u043e\u0434\u0438\u043d\u0438 \u0442\u043e\u043c\u0443" }, "relative-type-0": "\u0446\u0456\u0454\u0457 \u0433\u043e\u0434\u0438\u043d\u0438" }), e.b2021735025 = a(e("uk").numberFormatter({}), e("uk").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-one": "\u0447\u0435\u0440\u0435\u0437 {0} \u0445\u0432\u0438\u043b\u0438\u043d\u0443", "relativeTimePattern-count-few": "\u0447\u0435\u0440\u0435\u0437 {0} \u0445\u0432\u0438\u043b\u0438\u043d\u0438", "relativeTimePattern-count-many": "\u0447\u0435\u0440\u0435\u0437 {0} \u0445\u0432\u0438\u043b\u0438\u043d", "relativeTimePattern-count-other": "\u0447\u0435\u0440\u0435\u0437 {0} \u0445\u0432\u0438\u043b\u0438\u043d\u0438" }, "relativeTime-type-past": { "relativeTimePattern-count-one": "{0} \u0445\u0432\u0438\u043b\u0438\u043d\u0443 \u0442\u043e\u043c\u0443", "relativeTimePattern-count-few": "{0} \u0445\u0432\u0438\u043b\u0438\u043d\u0438 \u0442\u043e\u043c\u0443", "relativeTimePattern-count-many": "{0} \u0445\u0432\u0438\u043b\u0438\u043d \u0442\u043e\u043c\u0443", "relativeTimePattern-count-other": "{0} \u0445\u0432\u0438\u043b\u0438\u043d\u0438 \u0442\u043e\u043c\u0443" }, "relative-type-0": "\u0446\u0456\u0454\u0457 \u0445\u0432\u0438\u043b\u0438\u043d\u0438" }), e.a1847887874 = a(e("vi").numberFormatter({}), e("vi").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "sau {0} gi\u1edd n\u1eefa" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} gi\u1edd tr\u01b0\u1edbc" }, "relative-type-0": "gi\u1edd n\xe0y" }), e.a496934034 = a(e("vi").numberFormatter({}), e("vi").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "sau {0} ph\xfat n\u1eefa" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} ph\xfat tr\u01b0\u1edbc" }, "relative-type-0": "ph\xfat n\xe0y" }), e.a2068901102 = a(e("yue").numberFormatter({}), e("yue").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0} \u5c0f\u6642\u5f8c" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u5c0f\u6642\u524d" }, "relative-type-0": "\u5462\u500b\u5c0f\u6642" }), e.b1857718658 = a(e("yue").numberFormatter({}), e("yue").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0} \u5206\u9418\u5f8c" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u5206\u9418\u524d" }, "relative-type-0": "\u5462\u5206\u9418" }), e.a1130735834 = a(e("zh-Hans").numberFormatter({}), e("zh-Hans").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0}\u5c0f\u65f6\u540e" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0}\u5c0f\u65f6\u524d" }, "relative-type-0": "\u8fd9\u4e00\u65f6\u95f4 / \u6b64\u65f6" }), e.b1491409046 = a(e("zh-Hans").numberFormatter({}), e("zh-Hans").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0}\u5206\u949f\u540e" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0}\u5206\u949f\u524d" }, "relative-type-0": "\u6b64\u523b" }), e.b970642223 = a(e("zh-Hans-SG").numberFormatter({}), e("zh-Hans-SG").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0}\u5c0f\u65f6\u540e" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0}\u5c0f\u65f6\u524d" }, "relative-type-0": "\u8fd9\u4e00\u65f6\u95f4 / \u6b64\u65f6" }), e.a2013874593 = a(e("zh-Hans-SG").numberFormatter({}), e("zh-Hans-SG").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0}\u5206\u949f\u540e" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0}\u5206\u949f\u524d" }, "relative-type-0": "\u6b64\u523b" }), e.a1259818553 = a(e("zh-Hant").numberFormatter({}), e("zh-Hant").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0} \u5c0f\u6642\u5f8c" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u5c0f\u6642\u524d" }, "relative-type-0": "\u9019\u4e00\u5c0f\u6642" }), e.b1996967671 = a(e("zh-Hant").numberFormatter({}), e("zh-Hant").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0} \u5206\u9418\u5f8c" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u5206\u9418\u524d" }, "relative-type-0": "\u9019\u4e00\u5206\u9418" }), e.b14293757 = a(e("zh-Hant-HK").numberFormatter({}), e("zh-Hant-HK").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0} \u5c0f\u6642\u5f8c" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u5c0f\u6642\u524d" }, "relative-type-0": "\u9019\u500b\u5c0f\u6642" }), e.a1941749075 = a(e("zh-Hant-HK").numberFormatter({}), e("zh-Hant-HK").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0} \u5206\u9418\u5f8c" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u5206\u9418\u524d" }, "relative-type-0": "\u9019\u5206\u9418" }), e.b964977916 = a(e("zh-Hant-MO").numberFormatter({}), e("zh-Hant-MO").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0} \u5c0f\u6642\u5f8c" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u5c0f\u6642\u524d" }, "relative-type-0": "\u9019\u500b\u5c0f\u6642" }), e.b1132660972 = a(e("zh-Hant-MO").numberFormatter({}), e("zh-Hant-MO").pluralGenerator({}), { "relativeTime-type-future": { "relativeTimePattern-count-other": "{0} \u5206\u9418\u5f8c" }, "relativeTime-type-past": { "relativeTimePattern-count-other": "{0} \u5206\u9418\u524d" }, "relative-type-0": "\u9019\u5206\u9418" }), e.a1260780216 = s(e("ar-EG").numberFormatter({}), e("ar-EG").pluralGenerator({}), { compoundUnitPattern: "{0} \u0644\u0643\u0644 {1}", unitProperties: { displayName: "\u0628\u0627\u064a\u062a", zero: "{0} \u0628\u0627\u064a\u062a", one: "{0} \u0628\u0627\u064a\u062a", two: "{0} \u0628\u0627\u064a\u062a", few: "{0} \u0628\u0627\u064a\u062a", many: "{0} \u0628\u0627\u064a\u062a", other: "{0} \u0628\u0627\u064a\u062a" } }), e.b852797741 = s(e("ar-EG").numberFormatter({}), e("ar-EG").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", zero: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", one: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", two: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", few: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", many: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", other: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a" } }), e.b614409566 = s(e("ar-EG").numberFormatter({}), e("ar-EG").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", zero: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", one: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", two: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", few: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", many: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", other: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a" } }), e.b1965047144 = s(e("ar-EG").numberFormatter({}), e("ar-EG").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", zero: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", one: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", two: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", few: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", many: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", other: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a" } }), e.a1273411684 = s(e("ar-SA").numberFormatter({}), e("ar-SA").pluralGenerator({}), { compoundUnitPattern: "{0} \u0644\u0643\u0644 {1}", unitProperties: { displayName: "\u0628\u0627\u064a\u062a", zero: "{0} \u0628\u0627\u064a\u062a", one: "{0} \u0628\u0627\u064a\u062a", two: "{0} \u0628\u0627\u064a\u062a", few: "{0} \u0628\u0627\u064a\u062a", many: "{0} \u0628\u0627\u064a\u062a", other: "{0} \u0628\u0627\u064a\u062a" } }), e.b304462681 = s(e("ar-SA").numberFormatter({}), e("ar-SA").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", zero: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", one: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", two: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", few: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", many: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a", other: "{0} \u0643\u064a\u0644\u0648\u0628\u0627\u064a\u062a" } }), e.b66074506 = s(e("ar-SA").numberFormatter({}), e("ar-SA").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", zero: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", one: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", two: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", few: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", many: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a", other: "{0} \u0645\u064a\u063a\u0627\u0628\u0627\u064a\u062a" } }), e.b1416712084 = s(e("ar-SA").numberFormatter({}), e("ar-SA").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", zero: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", one: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", two: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", few: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", many: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a", other: "{0} \u063a\u064a\u063a\u0627\u0628\u0627\u064a\u062a" } }), e.b595460021 = s(e("bg").numberFormatter({}), e("bg").pluralGenerator({}), { compoundUnitPattern: "{0} \u043d\u0430 {1}", unitProperties: { displayName: "\u0431\u0430\u0439\u0442\u043e\u0432\u0435", one: "{0} \u0431\u0430\u0439\u0442", other: "{0} \u0431\u0430\u0439\u0442\u0430" } }), e.a946001184 = s(e("bg").numberFormatter({}), e("bg").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.a1184389359 = s(e("bg").numberFormatter({}), e("bg").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.b166248219 = s(e("bg").numberFormatter({}), e("bg").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.b986086044 = s(e("ca").numberFormatter({}), e("ca").pluralGenerator({}), { compoundUnitPattern: "{0} per {1}", unitProperties: { displayName: "bytes", one: "{0} byte", other: "{0} bytes" } }), e.a1228904359 = s(e("ca").numberFormatter({}), e("ca").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.a1467292534 = s(e("ca").numberFormatter({}), e("ca").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.a116654956 = s(e("ca").numberFormatter({}), e("ca").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.a278851446 = s(e("cs").numberFormatter({}), e("cs").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "bajty", one: "{0} bajt", few: "{0} bajty", many: "{0} bajtu", other: "{0} bajt\u016f" } }), e.a1432594645 = s(e("cs").numberFormatter({}), e("cs").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", few: "{0} kB", many: "{0} kB", other: "{0} kB" } }), e.a1670982820 = s(e("cs").numberFormatter({}), e("cs").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", few: "{0} MB", many: "{0} MB", other: "{0} MB" } }), e.a320345242 = s(e("cs").numberFormatter({}), e("cs").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", few: "{0} GB", many: "{0} GB", other: "{0} GB" } }), e.b955066237 = s(e("da").numberFormatter({}), e("da").pluralGenerator({}), { compoundUnitPattern: "{0} pr. {1}", unitProperties: { displayName: "bytes", one: "{0} byte", other: "{0} bytes" } }), e.a1579704296 = s(e("da").numberFormatter({}), e("da").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.a1818092471 = s(e("da").numberFormatter({}), e("da").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.a467454893 = s(e("da").numberFormatter({}), e("da").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.b673969017 = s(e("de").numberFormatter({}), e("de").pluralGenerator({}), { compoundUnitPattern: "{0} pro {1}", unitProperties: { displayName: "Bytes", one: "{0}\xa0Byte", other: "{0}\xa0Bytes" } }), e.a1624968804 = s(e("de").numberFormatter({}), e("de").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kbyte", one: "{0} kB", other: "{0} kB" } }), e.a1863356979 = s(e("de").numberFormatter({}), e("de").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "Mbyte", one: "{0} MB", other: "{0} MB" } }), e.a512719401 = s(e("de").numberFormatter({}), e("de").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "Gigabyte", one: "{0}\xa0GB", other: "{0}\xa0GB" } }), e.a1996454573 = s(e("el").numberFormatter({}), e("el").pluralGenerator({}), { compoundUnitPattern: "{0} \u03b1\u03bd\u03ac {1}", unitProperties: { displayName: "byte", one: "{0} byte", other: "{0} byte" } }), e.a2054981630 = s(e("el").numberFormatter({}), e("el").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.b2001597491 = s(e("el").numberFormatter({}), e("el").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.a942732227 = s(e("el").numberFormatter({}), e("el").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.a2137003183 = s(e("en").numberFormatter({}), e("en").pluralGenerator({}), { compoundUnitPattern: "{0} per {1}", unitProperties: { displayName: "bytes", one: "{0} byte", other: "{0} bytes" } }), e.a2077613884 = s(e("en").numberFormatter({}), e("en").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kByte", one: "{0} kB", other: "{0} kB" } }), e.b1978965237 = s(e("en").numberFormatter({}), e("en").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MByte", one: "{0} MB", other: "{0} MB" } }), e.a965364481 = s(e("en").numberFormatter({}), e("en").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GByte", one: "{0} GB", other: "{0} GB" } }), e.a340891060 = s(e("es").numberFormatter({}), e("es").pluralGenerator({}), { compoundUnitPattern: "{0} por {1}", unitProperties: { displayName: "bytes", one: "{0} byte", other: "{0} bytes" } }), e.a2134194519 = s(e("es").numberFormatter({}), e("es").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.b1922384602 = s(e("es").numberFormatter({}), e("es").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.a1021945116 = s(e("es").numberFormatter({}), e("es").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.b1736318283 = s(e("et").numberFormatter({}), e("et").pluralGenerator({}), { compoundUnitPattern: "{0} {1} kohta", unitProperties: { displayName: "baidid", one: "{0} bait", other: "{0} baiti" } }), e.a2145510646 = s(e("et").numberFormatter({}), e("et").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.b1911068475 = s(e("et").numberFormatter({}), e("et").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.a1033261243 = s(e("et").numberFormatter({}), e("et").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.a481439670 = s(e("eu").numberFormatter({}), e("eu").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "byte-ak", one: "{0} byte", other: "{0} byte" } }), e.b2138140523 = s(e("eu").numberFormatter({}), e("eu").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.b1899752348 = s(e("eu").numberFormatter({}), e("eu").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.a1044577370 = s(e("eu").numberFormatter({}), e("eu").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.b330832183 = s(e("fi").numberFormatter({}), e("fi").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "tavut", one: "{0} tavu", other: "{0} tavua" } }), e.b1923134110 = s(e("fi").numberFormatter({}), e("fi").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kt", one: "{0} kt", other: "{0} kt" } }), e.b1684745935 = s(e("fi").numberFormatter({}), e("fi").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "Mt", one: "{0} Mt", other: "{0} Mt" } }), e.a1259583783 = s(e("fi").numberFormatter({}), e("fi").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "Gt", one: "{0} Gt", other: "{0} Gt" } }), e.b1845847086 = s(e("fr").numberFormatter({}), e("fr").pluralGenerator({}), { compoundUnitPattern: "{0} par {1}", unitProperties: { displayName: "octets", one: "{0}\xa0octet", other: "{0}\xa0octets" } }), e.b1821288967 = s(e("fr").numberFormatter({}), e("fr").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "ko", one: "{0}\u202fko", other: "{0}\u202fko" } }), e.b1582900792 = s(e("fr").numberFormatter({}), e("fr").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "Mo", one: "{0}\u202fMo", other: "{0}\u202fMo" } }), e.a1361428926 = s(e("fr").numberFormatter({}), e("fr").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "Go", one: "{0}\u202fGo", other: "{0}\u202fGo" } }), e.a2058494187 = s(e("gl").numberFormatter({}), e("gl").pluralGenerator({}), { compoundUnitPattern: "{0} por {1}", unitProperties: { displayName: "bytes", one: "{0} byte", other: "{0} bytes" } }), e.b1538385792 = s(e("gl").numberFormatter({}), e("gl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.b1299997617 = s(e("gl").numberFormatter({}), e("gl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.a1644332101 = s(e("gl").numberFormatter({}), e("gl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.b549889789 = s(e("he").numberFormatter({}), e("he").pluralGenerator({}), { compoundUnitPattern: "{0} \u05dc{1}", unitProperties: { displayName: "\u05d1\u05d9\u05d9\u05d8", one: "{0} \u05d1\u05d9\u05d9\u05d8", two: "{0} \u05d1\u05d9\u05d9\u05d8", many: "{0} \u05d1\u05d9\u05d9\u05d8", other: "{0} \u05d1\u05d9\u05d9\u05d8" } }), e.b1266798744 = s(e("he").numberFormatter({}), e("he").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", two: "{0} kB", many: "{0} kB", other: "{0} kB" } }), e.b1028410569 = s(e("he").numberFormatter({}), e("he").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", two: "{0} MB", many: "{0} MB", other: "{0} MB" } }), e.a1915919149 = s(e("he").numberFormatter({}), e("he").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", two: "{0} GB", many: "{0} GB", other: "{0} GB" } }), e.b268792569 = s(e("hi").numberFormatter({}), e("hi").pluralGenerator({}), { compoundUnitPattern: "{0} \u092a\u094d\u0930\u0924\u093f {1}", unitProperties: { displayName: "\u092c\u093e\u0907\u091f", one: "{0} \u092c\u093e\u0907\u091f", other: "{0} \u092c\u093e\u0907\u091f" } }), e.b1221534236 = s(e("hi").numberFormatter({}), e("hi").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.b983146061 = s(e("hi").numberFormatter({}), e("hi").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.a1961183657 = s(e("hi").numberFormatter({}), e("hi").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.b1783807472 = s(e("hr").numberFormatter({}), e("hr").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "bajtovi", one: "{0} bajt", few: "{0} bajta", other: "{0} bajtova" } }), e.b1119689093 = s(e("hr").numberFormatter({}), e("hr").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", few: "{0} kB", other: "{0} kB" } }), e.b881300918 = s(e("hr").numberFormatter({}), e("hr").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", few: "{0} MB", other: "{0} MB" } }), e.a2063028800 = s(e("hr").numberFormatter({}), e("hr").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", few: "{0} GB", other: "{0} GB" } }), e.a574499091 = s(e("hu").numberFormatter({}), e("hu").pluralGenerator({}), { compoundUnitPattern: "{0} per {1}", unitProperties: { displayName: "b\xe1jt", one: "{0} b\xe1jt", other: "{0} b\xe1jt" } }), e.b1085740712 = s(e("hu").numberFormatter({}), e("hu").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.b847352537 = s(e("hu").numberFormatter({}), e("hu").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.a2096977181 = s(e("hu").numberFormatter({}), e("hu").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.a1558339361 = s(e("id").numberFormatter({}), e("id").pluralGenerator({}), { compoundUnitPattern: "{0} per {1}", unitProperties: { displayName: "byte", other: "{0} byte" } }), e.b927314934 = s(e("id").numberFormatter({}), e("id").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kByte", other: "{0} kB" } }), e.b688926759 = s(e("id").numberFormatter({}), e("id").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MByte", other: "{0} MB" } }), e.b2039564337 = s(e("id").numberFormatter({}), e("id").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GByte", other: "{0} GB" } }), e.b1612239055 = s(e("it").numberFormatter({}), e("it").pluralGenerator({}), { compoundUnitPattern: "{0} al {1}", unitProperties: { displayName: "byte", one: "{0} byte", other: "{0} byte" } }), e.b746256902 = s(e("it").numberFormatter({}), e("it").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.b507868727 = s(e("it").numberFormatter({}), e("it").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.b1858506305 = s(e("it").numberFormatter({}), e("it").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.b768947395 = s(e("ja").numberFormatter({}), e("ja").pluralGenerator({}), { compoundUnitPattern: "{0}\u6bce{1}", unitProperties: { displayName: "\u30d0\u30a4\u30c8", other: "{0} \u30d0\u30a4\u30c8" } }), e.b610463378 = s(e("ja").numberFormatter({}), e("ja").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "KB", other: "{0} KB" } }), e.b372075203 = s(e("ja").numberFormatter({}), e("ja").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", other: "{0} MB" } }), e.b1722712781 = s(e("ja").numberFormatter({}), e("ja").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", other: "{0} GB" } }), e.b35184538 = s(e("kk").numberFormatter({}), e("kk").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u0431\u0430\u0439\u0442", one: "{0} \u0431\u0430\u0439\u0442", other: "{0} \u0431\u0430\u0439\u0442" } }), e.b146502171 = s(e("kk").numberFormatter({}), e("kk").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u043a\u0431\u0430\u0439\u0442", one: "{0} \u043a\u0411", other: "{0} \u043a\u0411" } }), e.a91886004 = s(e("kk").numberFormatter({}), e("kk").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u041c\u0431\u0430\u0439\u0442", one: "{0} M\u0411", other: "{0} M\u0411" } }), e.b1258751574 = s(e("kk").numberFormatter({}), e("kk").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u0413\u0431\u0430\u0439\u0442", one: "{0} \u0413\u0411", other: "{0} \u0413\u0411" } }), e.a245912682 = s(e("ko").numberFormatter({}), e("ko").pluralGenerator({}), { compoundUnitPattern: "{1}\ub2f9 {0}", unitProperties: { displayName: "\ubc14\uc774\ud2b8", other: "{0}\ubc14\uc774\ud2b8" } }), e.b101237663 = s(e("ko").numberFormatter({}), e("ko").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", other: "{0}kB" } }), e.a137150512 = s(e("ko").numberFormatter({}), e("ko").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", other: "{0}MB" } }), e.b1213487066 = s(e("ko").numberFormatter({}), e("ko").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", other: "{0}GB" } }), e.b1519179634 = s(e("lt").numberFormatter({}), e("lt").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "baitai", one: "{0} baitas", few: "{0} baitai", many: "{0} baito", other: "{0} bait\u0173" } }), e.a306142909 = s(e("lt").numberFormatter({}), e("lt").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", few: "{0} kB", many: "{0} kB", other: "{0} kB" } }), e.a544531084 = s(e("lt").numberFormatter({}), e("lt").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", few: "{0} MB", many: "{0} MB", other: "{0} MB" } }), e.b806106494 = s(e("lt").numberFormatter({}), e("lt").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", few: "{0} GB", many: "{0} GB", other: "{0} GB" } }), e.b1378631024 = s(e("lv").numberFormatter({}), e("lv").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "baiti", zero: "{0} baitu", one: "{0} baits", other: "{0} baiti" } }), e.a328775163 = s(e("lv").numberFormatter({}), e("lv").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", zero: "{0} kB", one: "{0} kB", other: "{0} kB" } }), e.a567163338 = s(e("lv").numberFormatter({}), e("lv").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", zero: "{0} MB", one: "{0} MB", other: "{0} MB" } }), e.b783474240 = s(e("lv").numberFormatter({}), e("lv").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", zero: "{0} GB", one: "{0} GB", other: "{0} GB" } }), e.a589049516 = s(e("ms").numberFormatter({}), e("ms").pluralGenerator({}), { compoundUnitPattern: "{0} per {1}", unitProperties: { displayName: "bait", other: "{0} bait" } }), e.a645626719 = s(e("ms").numberFormatter({}), e("ms").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kBait", other: "{0} kB" } }), e.a884014894 = s(e("ms").numberFormatter({}), e("ms").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MBait", other: "{0} MB" } }), e.b466622684 = s(e("ms").numberFormatter({}), e("ms").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GBait", other: "{0} GB" } }), e.a1572889786 = s(e("nb").numberFormatter({}), e("nb").pluralGenerator({}), { compoundUnitPattern: "{0} per {1}", unitProperties: { displayName: "byte", one: "{0} byte", other: "{0} byte" } }), e.a804052497 = s(e("nb").numberFormatter({}), e("nb").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.a1042440672 = s(e("nb").numberFormatter({}), e("nb").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.b308196906 = s(e("nb").numberFormatter({}), e("nb").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.b2019334460 = s(e("nl").numberFormatter({}), e("nl").pluralGenerator({}), { compoundUnitPattern: "{0} per {1}", unitProperties: { displayName: "byte", one: "{0} byte", other: "{0} byte" } }), e.a917213767 = s(e("nl").numberFormatter({}), e("nl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.a1155601942 = s(e("nl").numberFormatter({}), e("nl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.b195035636 = s(e("nl").numberFormatter({}), e("nl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.b1957294846 = s(e("pl").numberFormatter({}), e("pl").pluralGenerator({}), { compoundUnitPattern: "{0} na {1}", unitProperties: { displayName: "bajty", one: "{0} bajt", few: "{0} bajty", many: "{0} bajt\xf3w", other: "{0} bajta" } }), e.a1618813641 = s(e("pl").numberFormatter({}), e("pl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", other: "{0} kB" } }), e.a1857201816 = s(e("pl").numberFormatter({}), e("pl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", other: "{0} MB" } }), e.a506564238 = s(e("pl").numberFormatter({}), e("pl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", other: "{0} GB" } }), e.b1395100406 = s(e("pt").numberFormatter({}), e("pt").pluralGenerator({}), { compoundUnitPattern: "{0} por {1}", unitProperties: { displayName: "bytes", one: "{0} bytes", other: "{0} bytes" } }), e.a1709342657 = s(e("pt").numberFormatter({}), e("pt").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kByte", other: "{0} kB" } }), e.a1947730832 = s(e("pt").numberFormatter({}), e("pt").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MByte", other: "{0} MB" } }), e.a597093254 = s(e("pt").numberFormatter({}), e("pt").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GByte", other: "{0} GB" } }), e.a1665198183 = s(e("pt-PT").numberFormatter({}), e("pt-PT").pluralGenerator({}), { compoundUnitPattern: "{0} por {1}", unitProperties: { displayName: "bytes", one: "{0} byte", other: "{0} bytes" } }), e.a1283235460 = s(e("pt-PT").numberFormatter({}), e("pt-PT").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kByte", one: "{0} kB", other: "{0} kB" } }), e.a1521623635 = s(e("pt-PT").numberFormatter({}), e("pt-PT").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MByte", one: "{0} MB", other: "{0} MB" } }), e.a170986057 = s(e("pt-PT").numberFormatter({}), e("pt-PT").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GByte", one: "{0} GB", other: "{0} GB" } }), e.a463051331 = s(e("ro").numberFormatter({}), e("ro").pluralGenerator({}), { compoundUnitPattern: "{0} pe {1}", unitProperties: { displayName: "by\u021bi", one: "{0} byte", few: "{0} by\u021bi", other: "{0} de by\u021bi" } }), e.b1940605400 = s(e("ro").numberFormatter({}), e("ro").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", few: "{0} kB", other: "{0} kB" } }), e.b1702217225 = s(e("ro").numberFormatter({}), e("ro").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", few: "{0} MB", other: "{0} MB" } }), e.a1242112493 = s(e("ro").numberFormatter({}), e("ro").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", few: "{0} GB", other: "{0} GB" } }), e.a884697161 = s(e("ru").numberFormatter({}), e("ru").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u0431\u0430\u0439\u0442\u044b", one: "{0} \u0431\u0430\u0439\u0442", few: "{0} \u0431\u0430\u0439\u0442\u0430", many: "{0} \u0431\u0430\u0439\u0442", other: "{0} \u0431\u0430\u0439\u0442\u0430" } }), e.b1872708638 = s(e("ru").numberFormatter({}), e("ru").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u043a\u0411", one: "{0} \u043a\u0411", few: "{0} \u043a\u0411", many: "{0} \u043a\u0411", other: "{0} \u043a\u0411" } }), e.b1634320463 = s(e("ru").numberFormatter({}), e("ru").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u041c\u0411", one: "{0} \u041c\u0411", few: "{0} \u041c\u0411", many: "{0} \u041c\u0411", other: "{0} \u041c\u0411" } }), e.a1310009255 = s(e("ru").numberFormatter({}), e("ru").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u0413\u0411", one: "{0} \u0413\u0411", few: "{0} \u0413\u0411", many: "{0} \u0413\u0411", other: "{0} \u0413\u0411" } }), e.a212973918 = s(e("sk").numberFormatter({}), e("sk").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "bajty", one: "{0} bajt", few: "{0} bajty", many: "{0} bajtu", other: "{0} bajtov" } }), e.b1635069971 = s(e("sk").numberFormatter({}), e("sk").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", few: "{0} kB", many: "{0} kB", other: "{0} kB" } }), e.b1396681796 = s(e("sk").numberFormatter({}), e("sk").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", few: "{0} MB", many: "{0} MB", other: "{0} MB" } }), e.a1547647922 = s(e("sk").numberFormatter({}), e("sk").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", few: "{0} GB", many: "{0} GB", other: "{0} GB" } }), e.b1864235425 = s(e("sl").numberFormatter({}), e("sl").pluralGenerator({}), { compoundUnitPattern: "{0} na {1}", unitProperties: { displayName: "bajt", one: "{0} bajt", two: "{0} bajta", few: "{0} bajti", other: "{0} bajtov" } }), e.b1623753844 = s(e("sl").numberFormatter({}), e("sl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", two: "{0} kB", few: "{0} kB", other: "{0} kB" } }), e.b1385365669 = s(e("sl").numberFormatter({}), e("sl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", two: "{0} MB", few: "{0} MB", other: "{0} MB" } }), e.a1558964049 = s(e("sl").numberFormatter({}), e("sl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", two: "{0} GB", few: "{0} GB", other: "{0} GB" } }), e.b1064685448 = s(e("sr-Cyrl").numberFormatter({}), e("sr-Cyrl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u0431\u0430\u0458\u0442\u043e\u0432\u0438", one: "{0} \u0431\u0430\u0458\u0442", few: "{0} \u0431\u0430\u0458\u0442\u0430", other: "{0} \u0431\u0430\u0458\u0442\u043e\u0432\u0430" } }), e.b826099437 = s(e("sr-Cyrl").numberFormatter({}), e("sr-Cyrl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", few: "{0} kB", other: "{0} kB" } }), e.b587711262 = s(e("sr-Cyrl").numberFormatter({}), e("sr-Cyrl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", few: "{0} MB", other: "{0} MB" } }), e.b1938348840 = s(e("sr-Cyrl").numberFormatter({}), e("sr-Cyrl").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", few: "{0} GB", other: "{0} GB" } }), e.b463658761 = s(e("sr-Latn").numberFormatter({}), e("sr-Latn").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "bajtovi", one: "{0} bajt", few: "{0} bajta", other: "{0} bajtova" } }), e.b1577238540 = s(e("sr-Latn").numberFormatter({}), e("sr-Latn").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", few: "{0} kB", other: "{0} kB" } }), e.b1338850365 = s(e("sr-Latn").numberFormatter({}), e("sr-Latn").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", few: "{0} MB", other: "{0} MB" } }), e.a1605479353 = s(e("sr-Latn").numberFormatter({}), e("sr-Latn").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", few: "{0} GB", other: "{0} GB" } }), e.b1161492375 = s(e("sv").numberFormatter({}), e("sv").pluralGenerator({}), { compoundUnitPattern: "{0} per {1}", unitProperties: { displayName: "byte", one: "{0} byte", other: "{0} byte" } }), e.b1510592574 = s(e("sv").numberFormatter({}), e("sv").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.b1272204399 = s(e("sv").numberFormatter({}), e("sv").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.a1672125319 = s(e("sv").numberFormatter({}), e("sv").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.b2114312838 = s(e("th").numberFormatter({}), e("th").pluralGenerator({}), { compoundUnitPattern: "{0}\u0e15\u0e48\u0e2d{1}", unitProperties: { displayName: "\u0e44\u0e1a\u0e15\u0e4c", other: "{0} \u0e44\u0e1a\u0e15\u0e4c" } }), e.b1318218415 = s(e("th").numberFormatter({}), e("th").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", other: "{0} kB" } }), e.b1079830240 = s(e("th").numberFormatter({}), e("th").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", other: "{0} MB" } }), e.a1864499478 = s(e("th").numberFormatter({}), e("th").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", other: "{0} GB" } }), e.b1411569788 = s(e("tr").numberFormatter({}), e("tr").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "bayt", one: "{0} bayt", other: "{0} bayt" } }), e.b1205057145 = s(e("tr").numberFormatter({}), e("tr").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", one: "{0} kB", other: "{0} kB" } }), e.b966668970 = s(e("tr").numberFormatter({}), e("tr").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", one: "{0} MB", other: "{0} MB" } }), e.a1977660748 = s(e("tr").numberFormatter({}), e("tr").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", one: "{0} GB", other: "{0} GB" } }), e.a275013532 = s(e("uk").numberFormatter({}), e("uk").pluralGenerator({}), { compoundUnitPattern: "{0} \u043d\u0430 {1}", unitProperties: { displayName: "\u0431\u0430\u0439\u0442\u0438", one: "{0} \u0431\u0430\u0439\u0442", few: "{0} \u0431\u0430\u0439\u0442\u0438", many: "{0} \u0431\u0430\u0439\u0442\u0456\u0432", other: "{0} \u0431\u0430\u0439\u0442\u0430" } }), e.b933470097 = s(e("uk").numberFormatter({}), e("uk").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u043a\u0431\u0430\u0439\u0442", one: "{0} \u043a\u0411", few: "{0} \u043a\u0411", many: "{0} \u043a\u0411", other: "{0} \u043a\u0411" } }), e.b695081922 = s(e("uk").numberFormatter({}), e("uk").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u041c\u0431\u0430\u0439\u0442", one: "{0} \u041c\u0411", few: "{0} \u041c\u0411", many: "{0} \u041c\u0411", other: "{0} \u041c\u0411" } }), e.b2045719500 = s(e("uk").numberFormatter({}), e("uk").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u0413\u0431\u0430\u0439\u0442", one: "{0} \u0413\u0411", few: "{0} \u0413\u0411", many: "{0} \u0413\u0411", other: "{0} \u0413\u0411" } }), e.a165484729 = s(e("vi").numberFormatter({}), e("vi").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "byte", other: "{0} byte" } }), e.b605302414 = s(e("vi").numberFormatter({}), e("vi").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", other: "{0} kB" } }), e.b366914239 = s(e("vi").numberFormatter({}), e("vi").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", other: "{0} MB" } }), e.b1717551817 = s(e("vi").numberFormatter({}), e("vi").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", other: "{0} GB" } }), e.b1657704125 = s(e("yue").numberFormatter({}), e("yue").pluralGenerator({}), { compoundUnitPattern: "\u6bcf {1} {0}", unitProperties: { displayName: "byte", other: "{0} byte" } }), e.a1393245992 = s(e("yue").numberFormatter({}), e("yue").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", other: "{0} kB" } }), e.a1631634167 = s(e("yue").numberFormatter({}), e("yue").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", other: "{0} MB" } }), e.a280996589 = s(e("yue").numberFormatter({}), e("yue").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", other: "{0} GB" } }), e.a915494743 = s(e("zh-Hans").numberFormatter({}), e("zh-Hans").pluralGenerator({}), { compoundUnitPattern: "\u6bcf{1}{0}", unitProperties: { displayName: "\u5b57\u8282", other: "{0}\u5b57\u8282" } }), e.a1506542996 = s(e("zh-Hans").numberFormatter({}), e("zh-Hans").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u5343\u5b57\u8282", other: "{0}\u5343\u5b57\u8282" } }), e.a1744931171 = s(e("zh-Hans").numberFormatter({}), e("zh-Hans").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u5146\u5b57\u8282", other: "{0}\u5146\u5b57\u8282" } }), e.a394293593 = s(e("zh-Hans").numberFormatter({}), e("zh-Hans").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u5409\u5b57\u8282", other: "{0}\u5409\u5b57\u8282" } }), e.b1803561142 = s(e("zh-Hans-SG").numberFormatter({}), e("zh-Hans-SG").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u5b57\u8282", other: "{0}\u5b57\u8282" } }), e.b692157055 = s(e("zh-Hans-SG").numberFormatter({}), e("zh-Hans-SG").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u5343\u5b57\u8282", other: "{0}\u5343\u5b57\u8282" } }), e.b453768880 = s(e("zh-Hans-SG").numberFormatter({}), e("zh-Hans-SG").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u5146\u5b57\u8282", other: "{0}\u5146\u5b57\u8282" } }), e.b1804406458 = s(e("zh-Hans-SG").numberFormatter({}), e("zh-Hans-SG").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "\u5409\u5b57\u8282", other: "{0}\u5409\u5b57\u8282" } }), e.b1161714600 = s(e("zh-Hant").numberFormatter({}), e("zh-Hant").pluralGenerator({}), { compoundUnitPattern: "\u6bcf{1} {0}", unitProperties: { displayName: "byte", other: "{0} byte" } }), e.a1517859123 = s(e("zh-Hant").numberFormatter({}), e("zh-Hant").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", other: "{0} kB" } }), e.a1756247298 = s(e("zh-Hant").numberFormatter({}), e("zh-Hant").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", other: "{0} MB" } }), e.a405609720 = s(e("zh-Hant").numberFormatter({}), e("zh-Hant").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", other: "{0} GB" } }), e.b2118418344 = s(e("zh-Hant-HK").numberFormatter({}), e("zh-Hant-HK").pluralGenerator({}), { compoundUnitPattern: "{0}\u6bcf{1}", unitProperties: { displayName: "\u4f4d\u5143\u7d44", other: "{0} \u4f4d\u5143\u7d44" } }), e.a1900565811 = s(e("zh-Hant-HK").numberFormatter({}), e("zh-Hant-HK").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", other: "{0} kB" } }), e.a2138953986 = s(e("zh-Hant-HK").numberFormatter({}), e("zh-Hant-HK").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", other: "{0} MB" } }), e.a788316408 = s(e("zh-Hant-HK").numberFormatter({}), e("zh-Hant-HK").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", other: "{0} GB" } }), e.b1682222089 = s(e("zh-Hant-MO").numberFormatter({}), e("zh-Hant-MO").pluralGenerator({}), { compoundUnitPattern: "{0}\u6bcf{1}", unitProperties: { displayName: "\u4f4d\u5143\u7d44", other: "{0} \u4f4d\u5143\u7d44" } }), e.b595137292 = s(e("zh-Hant-MO").numberFormatter({}), e("zh-Hant-MO").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "kB", other: "{0} kB" } }), e.b356749117 = s(e("zh-Hant-MO").numberFormatter({}), e("zh-Hant-MO").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "MB", other: "{0} MB" } }), e.b1707386695 = s(e("zh-Hant-MO").numberFormatter({}), e("zh-Hant-MO").pluralGenerator({}), { compoundUnitPattern: "{0}/{1}", unitProperties: { displayName: "GB", other: "{0} GB" } }), e }) ? n.apply(t, i) : n) || (e.exports = o) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, n.useSelector)((function(e) { return e.referenceGrammarID }))] }; var n = r(38) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function e(t, r) { return t.map((function(t) { if (t) { var n = r(t); return n.children && (n.children = e(n.children, r)), n } return t })) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e = W(W({}, G.default), e), r = t.bubbleBorder, q = t.bubbleFromUserBorder, H = t.bubbleFromUserNubOffset, Y = t.bubbleNubOffset, J = t.suggestedActionBorder, X = t.suggestedActionDisabledBorder; if (r) { console.warn('botframework-webchat: "styleSet.bubbleBorder" is deprecated and will be removed on or after 2020-07-17. Please use "bubbleBorderColor", "bubbleBorderStyle", and, "bubbleBorderWidth.'); var Z = K(r), Q = Z.color, ee = Z.style, te = Z.width; Q && "initial" !== Q && (e.bubbleBorderColor = Q), ee && "initial" !== ee && (e.bubbleBorderStyle = ee), $.test(te) && (e.bubbleBorderWidth = parseInt(te, 10)) } if (q) { console.warn('botframework-webchat: "styleSet.bubbleFromUserBorder" is deprecated and will be removed on or after 2020-07-17. Please use "bubbleFromUserBorderColor", "bubbleFromUserBorderStyle", and, "bubbleFromUserBorderWidth".'); var re = K(q), ne = re.color, ie = re.style, oe = re.width; ne && "initial" !== ne && (e.bubbleFromUserBorderColor = ne), ie && "initial" !== ie && (e.bubbleFromUserBorderStyle = ie), $.test(oe) && (e.bubbleFromUserBorderWidth = parseInt(oe, 10)) } if (J) { console.warn('botframework-webchat: "styleSet.suggestedActionBorder" is deprecated and will be removed on or after 2020-09-11. Please use "suggestedActionBorderColor", "suggestedActionBorderStyle", and, "suggestedActionBorderWidth".'); var ae = K(J), se = ae.color, ue = ae.style, ce = ae.width; se && "initial" !== se && (e.suggestedActionBorderColor = se), ue && "initial" !== ue && (e.suggestedActionBorderStyle = ue), $.test(ce) && (e.suggestedActionBorderWidth = parseInt(ce, 10)) } if (X) { console.warn('botframework-webcaht: "styleSet.suggestedActionDisabledBorder" is deprecated and will be removed on or after 2020-09-11. Please use "suggestedActionDisabledBorderColor", "suggestedActionDisabledBorderStyle", and, "suggestedActionDisabledBorderWidth".'); var le = K(X), fe = le.color, pe = le.style, de = le.width; fe && "initial" !== fe && (e.suggestedActionDisabledBorderColor = fe), pe && "initial" !== pe && (e.suggestedActionDisabledBorderStyle = pe), $.test(de) && (e.suggestedActionDisabledBorderWidth = parseInt(de, 10)) } "top" === H ? e.bubbleFromUserNubOffset = 0 : "number" != typeof H && (e.bubbleFromUserNubOffset = -0); "top" === Y ? e.bubbleNubOffset = 0 : "number" != typeof Y && (e.bubbleNubOffset = -0); return { activities: (0, n.default)(e), activity: (0, i.default)(e), audioAttachment: (0, o.default)(e), audioContent: (0, a.default)(e), avatar: (0, s.default)(e), bubble: (0, u.default)(e), carouselFilmStrip: (0, c.default)(e), carouselFlipper: (0, l.default)(e), connectivityNotification: (0, f.default)(e), dictationInterims: (0, p.default)(e), errorBox: (0, d.default)(e), errorNotification: (0, h.default)(e), fileContent: (0, v.default)(e), imageAvatar: (0, m.default)(e), initialsAvatar: (0, y.default)(e), microphoneButton: (0, b.default)(e), options: W(W({}, e), {}, { suggestedActionsStyleSet: (0, x.default)(e) }), root: (0, g.default)(e), scrollToEndButton: (0, _.default)(e), sendBox: (0, S.default)(e), sendBoxButton: (0, T.default)(e), sendBoxTextArea: (0, A.default)(e), sendBoxTextBox: (0, E.default)(e), sendStatus: (0, C.default)(e), singleAttachmentActivity: (0, O.default)(e), spinnerAnimation: (0, w.default)(e), stackedLayout: (0, I.default)(e), suggestedAction: (0, N.default)(e), suggestedActions: (0, P.default)(e), textContent: (0, k.default)(e), toast: (0, L.default)(e), toaster: (0, R.default)(e), typingAnimation: (0, M.default)(e), typingIndicator: (0, j.default)(e), uploadButton: (0, D.default)(e), videoAttachment: (0, U.default)(e), videoContent: (0, B.default)(e), vimeoContent: (0, F.default)(e), warningNotification: (0, z.default)(e), youTubeContent: (0, V.default)(e) } }; var n = q(r(1304)), i = q(r(1305)), o = q(r(1306)), a = q(r(1307)), s = q(r(1308)), u = q(r(1309)), c = q(r(1310)), l = q(r(1311)), f = q(r(1312)), p = q(r(1313)), d = q(r(1314)), h = q(r(1315)), v = q(r(1316)), m = q(r(1317)), y = q(r(1318)), b = q(r(1319)), g = q(r(1320)), _ = q(r(1321)), T = q(r(1322)), S = q(r(1323)), A = q(r(1324)), E = q(r(1325)), C = q(r(1326)), O = q(r(1327)), w = q(r(1328)), I = q(r(1329)), P = q(r(1330)), x = q(r(1331)), N = q(r(1332)), k = q(r(1333)), R = q(r(1334)), L = q(r(1335)), M = q(r(1336)), j = q(r(1337)), D = q(r(1338)), U = q(r(1339)), B = q(r(1340)), F = q(r(1341)), z = q(r(1342)), V = q(r(1343)), G = q(r(578)); function q(e) { return e && e.__esModule ? e : { default: e } } function H(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function W(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? H(Object(r), !0).forEach((function(t) { Y(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : H(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function Y(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function K(e) { var t = document.createElement("div"); t.setAttribute("style", "border: ".concat(e)); var r = t.style; return { color: r.borderColor, style: r.borderStyle, width: r.borderWidth } } var $ = /^[0-9]+px$/ }, function(e, t, r) { "use strict"; function n(e) { return e.map((function(e) { return "'".concat(e, "'") })).join(", ") } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = { accent: "#0063B1", backgroundColor: "White", cardEmphasisBackgroundColor: "#F0F0F0", paddingRegular: 10, paddingWide: 20, subtle: "#767676", messageActivityWordBreak: "break-word", fontSizeSmall: "80%", monospaceFont: n(["Consolas", "Courier New", "monospace"]), primaryFont: n(["Calibri", "Helvetica Neue", "Arial", "sans-serif"]), avatarBorderRadius: "50%", avatarSize: 40, botAvatarBackgroundColor: void 0, botAvatarImage: "", botAvatarInitials: "", userAvatarBackgroundColor: void 0, userAvatarImage: "", userAvatarInitials: "", bubbleBackground: "White", bubbleBorderColor: "#E6E6E6", bubbleBorderRadius: 2, bubbleBorderStyle: "solid", bubbleBorderWidth: 1, bubbleFromUserBackground: "White", bubbleFromUserBorderColor: "#E6E6E6", bubbleFromUserBorderRadius: 2, bubbleFromUserBorderStyle: "solid", bubbleFromUserBorderWidth: 1, bubbleFromUserNubOffset: "bottom", bubbleFromUserNubSize: 0, bubbleFromUserTextColor: "Black", bubbleImageHeight: 240, bubbleMaxWidth: 480, bubbleMinHeight: 40, bubbleMinWidth: 250, bubbleNubOffset: "bottom", bubbleNubSize: 0, bubbleTextColor: "Black", markdownRespectCRLF: !0, richCardWrapTitle: !1, rootHeight: "100%", rootWidth: "100%", rootZIndex: 0, hideScrollToEndButton: !1, hideSendBox: !1, hideUploadButton: !1, microphoneButtonColorOnDictate: "#F33", sendBoxBackground: "White", sendBoxButtonColor: void 0, sendBoxButtonColorOnDisabled: "#CCC", sendBoxButtonColorOnFocus: "#333", sendBoxButtonColorOnHover: "#333", sendBoxDisabledTextColor: void 0, sendBoxHeight: 40, sendBoxMaxHeight: 200, sendBoxTextColor: "Black", sendBoxBorderBottom: "", sendBoxBorderLeft: "", sendBoxBorderRight: "", sendBoxBorderTop: "solid 1px #E6E6E6", sendBoxPlaceholderColor: void 0, sendBoxTextWrap: !1, showSpokenText: !1, suggestedActionBackground: "White", suggestedActionBorder: void 0, suggestedActionBorderColor: void 0, suggestedActionBorderRadius: 0, suggestedActionBorderStyle: "solid", suggestedActionBorderWidth: 2, suggestedActionDisabledBackground: void 0, suggestedActionDisabledBorder: null, suggestedActionDisabledBorderColor: "#E6E6E6", suggestedActionDisabledBorderStyle: "solid", suggestedActionDisabledBorderWidth: 2, suggestedActionDisabledTextColor: void 0, suggestedActionHeight: 40, suggestedActionImageHeight: 20, suggestedActionLayout: "carousel", suggestedActionTextColor: null, groupTimestamp: !0, sendTimeout: 2e4, sendTimeoutForAttachments: 12e4, timestampColor: void 0, timestampFormat: "relative", newMessagesButtonFontSize: "85%", transcriptOverlayButtonBackground: "rgba(0, 0, 0, .6)", transcriptOverlayButtonBackgroundOnFocus: "rgba(0, 0, 0, .8)", transcriptOverlayButtonBackgroundOnHover: "rgba(0, 0, 0, .8)", transcriptOverlayButtonColor: "White", transcriptOverlayButtonColorOnFocus: void 0, transcriptOverlayButtonColorOnHover: void 0, videoHeight: 270, connectivityIconPadding: 12, connectivityMarginLeftRight: 14, connectivityMarginTopBottom: 8, connectivityTextSize: "75%", failedConnectivity: "#C50F1F", slowConnectivity: "#EAA300", notificationText: "#5E5E5E", slowConnectionAfter: 15e3, typingAnimationBackgroundImage: null, typingAnimationDuration: 5e3, typingAnimationHeight: 20, typingAnimationWidth: 64, spinnerAnimationBackgroundImage: null, spinnerAnimationHeight: 16, spinnerAnimationWidth: 16, spinnerAnimationPadding: 12, enableUploadThumbnail: !0, uploadThumbnailContentType: "image/jpeg", uploadThumbnailHeight: 360, uploadThumbnailQuality: .6, uploadThumbnailWidth: 720, spinnerAnimationPaddingRight: void 0, notificationDebounceTimeout: 400, hideToaster: !1, toasterHeight: 32, toasterMaxHeight: 160, toasterSingularMaxHeight: 50, toastFontSize: "87.5%", toastIconWidth: 36, toastSeparatorColor: "#E8EAEC", toastTextPadding: 6, toastErrorBackgroundColor: "#FDE7E9", toastErrorColor: "#A80000", toastInfoBackgroundColor: "#CEF1FF", toastInfoColor: "#105E7D", toastSuccessBackgroundColor: "#DFF6DD", toastSuccessColor: "#107C10", toastWarnBackgroundColor: "#FFF4CE", toastWarnColor: "#3B3A39" }; t.default = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().emitTypingIndicator }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, n.useSelector)((function(e) { return e.sendTypingIndicator }))] }; var n = r(38) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.SpeechSynthesisVoice = t.SpeechSynthesisUtterance = t.SpeechSynthesisEvent = t.speechSynthesis = void 0; var n = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== o(e) && "function" != typeof e) return { default: e }; var t = i(); if (t && t.has(e)) return t.get(e); var r = {}, n = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var a in e) if (Object.prototype.hasOwnProperty.call(e, a)) { var s = n ? Object.getOwnPropertyDescriptor(e, a) : null; s && (s.get || s.set) ? Object.defineProperty(r, a, s) : r[a] = e[a] } r.default = e, t && t.set(e, r); return r }(r(1357)); function i() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return i = function() { return e }, e } function o(e) { return (o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function a(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && s(e, t) } function s(e, t) { return (s = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e })(e, t) } function u(e) { function t() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0 } catch (e) { return !1 } } return function() { var r, n = l(e); if (t()) { var i = l(this).constructor; r = Reflect.construct(n, arguments, i) } else r = n.apply(this, arguments); return c(this, r) } } function c(e, t) { return !t || "object" !== o(t) && "function" != typeof t ? function(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e }(e) : t } function l(e) { return (l = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) })(e) } function f(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function p(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function d(e, t, r) { return t && p(e.prototype, t), r && p(e, r), e } var h = function() { function e(t, r) { f(this, e), this._type = t, this._utterance = r } return d(e, [{ key: "charIndex", get: function() { return 0 } }, { key: "elapsedTime", get: function() { return 0 } }, { key: "name", get: function() {} }, { key: "type", get: function() { return this._type } }, { key: "utterance", get: function() { return this._utterance } }]), e }(); t.SpeechSynthesisEvent = h; var v = function(e) { a(r, e); var t = u(r); function r(e) { var n; return f(this, r), (n = t.call(this))._lang = "en-US", n._pitch = 1, n._rate = 1, n._text = e, n._voice = null, n._volume = 1, n } return d(r, [{ key: "lang", get: function() { return this._lang }, set: function(e) { this._lang = e } }, { key: "pitch", get: function() { return this._pitch }, set: function(e) { this._pitch = e } }, { key: "rate", get: function() { return this._rate }, set: function(e) { this._rate = e } }, { key: "text", get: function() { return this._text }, set: function(e) { this._text = e } }, { key: "voice", get: function() { return this._voice }, set: function(e) { this._voice = e } }, { key: "volume", get: function() { return this._volume }, set: function(e) { this._volume = e } }]), r }(n.default); t.SpeechSynthesisUtterance = v, (0, n.defineEventAttribute)(v.prototype, "boundary"), (0, n.defineEventAttribute)(v.prototype, "end"), (0, n.defineEventAttribute)(v.prototype, "error"), (0, n.defineEventAttribute)(v.prototype, "mark"), (0, n.defineEventAttribute)(v.prototype, "pause"), (0, n.defineEventAttribute)(v.prototype, "resume"), (0, n.defineEventAttribute)(v.prototype, "start"); var m = function() { function e() { f(this, e) } return d(e, [{ key: "default", get: function() { return !0 } }, { key: "lang", get: function() { return "en-US" } }, { key: "localService", get: function() { return !0 } }, { key: "name", get: function() { return "English (US)" } }, { key: "voiceURI", get: function() { return "English (US)" } }]), e }(); t.SpeechSynthesisVoice = m; var y = function(e) { a(r, e); var t = u(r); function r() { return f(this, r), t.apply(this, arguments) } return d(r, [{ key: "cancel", value: function() {} }, { key: "getVoices", value: function() { return [new m] } }, { key: "pause", value: function() { throw new Error("pause is not implemented.") } }, { key: "resume", value: function() { throw new Error("resume is not implemented.") } }, { key: "speak", value: function(e) { e.dispatchEvent(new h("start", e)), e.dispatchEvent(new h("end", e)) } }, { key: "paused", get: function() { return !1 } }, { key: "pending", get: function() { return !1 } }, { key: "speaking", get: function() { return !1 } }]), r }(n.default); (0, n.defineEventAttribute)(y.prototype, "voiceschanged"); var b = new y; t.speechSynthesis = b }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().trackDimension }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return function() { return function(e) { return function(t) { var r = t.activity, a = t.nextVisibleActivity, u = r.type; if ("conversationUpdate" === u || "event" === u) return s; if ("message" === u) { var c = r.attachments, l = void 0 === c ? [] : c, f = r.channelData, p = r.text; if (f && f.postBack || f && f.messageBack && !f.messageBack.displayText || !p && !l.length) return s } else if ("typing" === u && "user" === r.from.role) return s; if ("message" === u || "typing" === u) { if ("message" === u && (r.attachments || []).length > 1 && "carousel" === r.attachmentLayout) { return function(e) { return n.default.createElement(i.default, { activity: r, nextVisibleActivity: a }, e) } } return function(e) { return n.default.createElement(o.default, { activity: r, nextVisibleActivity: a }, e) } } return e({ activity: r, nextVisibleActivity: a }) } } } }; var n = a(r(0)), i = a(r(584)), o = a(r(607)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = function() { return !1 } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(193), i = r(7), o = p(r(3)), a = p(r(1)), s = p(r(0)), u = p(r(1358)), c = p(r(23)), l = p(r(15)), f = p(r(6)); function p(e) { return e && e.__esModule ? e : { default: e } } function d(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var h = (0, i.css)({ overflow: "hidden", position: "relative" }), v = function(e) { var t = e.activity, r = e.children, i = e.nextVisibleActivity, a = d((0, f.default)(), 1)[0].carouselFlipper, p = d((0, c.default)(), 1)[0], v = (0, n.createBasicStyleSet)({ cursor: null }), m = "rtl" === p ? ">" : "<", y = (0, l.default)(), b = "rtl" === p ? "<" : ">"; return s.default.createElement(n.Composer, { dir: p, numItems: s.default.Children.count(r) }, s.default.createElement(n.Context.Consumer, null, (function(e) { var c = e.scrollBarWidth; return s.default.createElement("div", { className: (0, o.default)(h + "", v.carousel + "") }, s.default.createElement(u.default, { activity: t, nextVisibleActivity: i }, r), "100%" !== c && s.default.createElement(s.default.Fragment, null, s.default.createElement(n.Flipper, { "aria-label": y("CAROUSEL_FLIPPER_LEFT_ALT"), blurFocusOnClick: !0, className: (0, o.default)(a + "", v.leftFlipper + ""), mode: "left" }, s.default.createElement("div", { className: "button" }, m)), s.default.createElement(n.Flipper, { "aria-label": y("CAROUSEL_FLIPPER_RIGHT_ALT"), blurFocusOnClick: !0, className: (0, o.default)(a + "", v.rightFlipper + ""), mode: "right" }, s.default.createElement("div", { className: "button" }, b)))) }))) }; v.defaultProps = { children: void 0, nextVisibleActivity: void 0 }, v.propTypes = { activity: a.default.any.isRequired, children: a.default.any, nextVisibleActivity: a.default.any }; var m = v; t.default = m }, function(e, t, r) { "use strict"; var n = r(64), i = r(1374); e.exports = function(e) { var t, r, o; for (r in i(s, e), i(a, s), t = s.prototype)(o = t[r]) && "object" == typeof o && (t[r] = "concat" in o ? o.concat() : n(o)); return s; function a(t) { return e.apply(this, t) } function s() { return this instanceof s ? e.apply(this, arguments) : new a(arguments) } } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r) { return function() { var n = r || this, i = n[e]; return n[e] = !t, function() { n[e] = i } } } }, function(e) { e.exports = JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}') }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = "string" == typeof e ? e.charCodeAt(0) : e; return t >= 97 && t <= 102 || t >= 65 && t <= 70 || t >= 48 && t <= 57 } }, function(e, t, r) { "use strict"; var n = r(590), i = r(141); e.exports = function(e) { return n(e) || i(e) } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = "string" == typeof e ? e.charCodeAt(0) : e; return t >= 97 && t <= 122 || t >= 65 && t <= 90 } }, function(e, t, r) { "use strict"; e.exports = a; var n = ["\\", "`", "*", "{", "}", "[", "]", "(", ")", "#", "+", "-", ".", "!", "_", ">"], i = n.concat(["~", "|"]), o = i.concat(["\n", '"', "$", "%", "&", "'", ",", "/", ":", ";", "<", "=", "?", "@", "^"]); function a(e) { var t = e || {}; return t.commonmark ? o : t.gfm ? i : n } a.default = n, a.gfm = i, a.commonmark = o }, function(e, t, r) { "use strict"; e.exports = { position: !0, gfm: !0, commonmark: !1, footnotes: !1, pedantic: !1, blocks: r(1383) } }, function(e, t, r) { "use strict"; e.exports = s; var n = r(1386), i = n.CONTINUE, o = n.SKIP, a = n.EXIT; function s(e, t, r, i) { "function" == typeof t && "function" != typeof r && (i = r, r = t, t = null), n(e, t, (function(e, t) { var n = t[t.length - 1], i = n ? n.children.indexOf(e) : null; return r(e, i, n) }), i) } s.CONTINUE = i, s.SKIP = o, s.EXIT = a }, function(e, t, r) { "use strict"; e.exports = function(e) { var t, r = 0, n = 0, i = e.charAt(r), o = {}; for (; "\t" === i || " " === i;) n += t = "\t" === i ? 4 : 1, t > 1 && (n = Math.floor(n / t) * t), o[n] = r, i = e.charAt(++r); return { indent: n, stops: o } } }, function(e, t, r) { "use strict"; var n = "<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\u0000-\\u0020]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>", i = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>"; t.openCloseTag = new RegExp("^(?:" + n + "|" + i + ")"), t.tag = new RegExp("^(?:" + n + "|" + i + "|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Za-z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)") }, function(e, t, r) { "use strict"; e.exports = function(e, t) { return e.indexOf("<", t) } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r = e.indexOf("[", t), n = e.indexOf("![", t); if (-1 === n) return r; return r < n ? r : n } }, function(e, t, r) { "use strict"; e.exports = function(e) { return e } }, function(e, t, r) { "use strict"; e.exports = { gfm: !0, commonmark: !1, pedantic: !1, entities: "false", setext: !1, closeAtx: !1, looseTable: !1, spacedTable: !0, paddedTable: !0, stringLength: function(e) { return e.length }, incrementListMarker: !0, fences: !1, fence: "`", bullet: "-", listItemIndent: "tab", rule: "*", ruleSpaces: !0, ruleRepetition: 3, strong: "*", emphasis: "_" } }, function(e, t, r) { "use strict"; var n = r(201); e.exports = function(e) { var t; if ("&" !== e.charAt(0)) return 0; return (t = e.split("&", 2).join("&")).length - n(t).length } }, function(e, t, r) { "use strict"; var n = r(49); e.exports = function(e, t) { var r = e.split("\n"), i = r.length, o = n(" ", 4 * t); for (; i--;) 0 !== r[i].length && (r[i] = o + r[i]); return r.join("\n") } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r, n, i = 0, o = 0; if ("string" != typeof t || 1 !== t.length) throw new Error("Expected character"); e = String(e), n = e.indexOf(t), r = n; for (; - 1 !== n;) i++, n === r ? i > o && (o = i) : i = 1, r = n + 1, n = e.indexOf(t, r); return o } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = e.referenceType; if ("shortcut" === t) return ""; return "[" + ("collapsed" === t ? "" : e.label || e.identifier) + "]" } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { switch (e) { case "plain": return "text/plain"; case "xml": return "text/xml"; default: return "text/markdown" } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(e = (0, i.default)(), t = 1, s(e) || a(e, t) || o())[0].groupTimestamp]; var e, t }; var n, i = (n = r(20)) && n.__esModule ? n : { default: n }; function o() { throw new TypeError("Invalid attempt to destructure non-iterable instance") } function a(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } } function s(e) { if (Array.isArray(e)) return e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = (o = (0, i.default)(), a = 1, function(e) { if (Array.isArray(e)) return e }(o) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(o, a) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }())[0], r = t.sendTimeout, n = t.sendTimeoutForAttachments; var o, a; if ("function" == typeof r) return r(e); return e.attachments && e.attachments.length ? n : r }; var n, i = (n = r(20)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.connectStackedLayout = t.default = void 0; var i = r(7), o = E(r(3)), a = E(r(1)), s = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = A(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), u = E(r(312)), c = E(r(318)), l = E(r(44)), f = E(r(34)), p = E(r(604)), d = E(r(142)), h = E(r(143)), v = E(r(144)), m = E(r(23)), y = E(r(15)), b = E(r(319)), g = E(r(320)), _ = E(r(20)), T = E(r(6)), S = E(r(297)); function A() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return A = function() { return e }, e } function E(e) { return e && e.__esModule ? e : { default: e } } function C(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var O = (0, i.css)({ display: "flex", position: "relative", "& > .webchat__stackedLayout__avatar": { flexShrink: 0 }, "& > .webchat__stackedLayout__content": { flexGrow: 1, overflow: "hidden", "& > .webchat__row": { display: "flex", "& > .bubble, & > .timestamp": { flexGrow: 1, overflow: "hidden" }, "& > .filler": { flexGrow: 1e4, flexShrink: 1 } } }, "& > .filler": { flexShrink: 0 }, "&.webchat__stackedLayout--fromUser": { flexDirection: "row-reverse", "& > .webchat__stackedLayout__content > .webchat__row": { flexDirection: "row-reverse" } } }); t.connectStackedLayout = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return l.default.apply(void 0, [function(e, t) { var r = e.language, n = e.styleSet.options, i = n.botAvatarInitials, o = n.userAvatarInitials, a = t.activity, s = (a = void 0 === a ? {} : a).from; return { avatarInitials: "user" === (s = void 0 === s ? {} : s).role ? o : i, language: r, botAvatarInitials: i, userAvatarInitials: o } }].concat(t)) }; var w = function(e) { var t = e.activity, r = e.children, n = e.nextVisibleActivity, i = C((0, d.default)(), 1)[0].initials, a = C((0, h.default)(), 1)[0].initials, l = C((0, _.default)(), 1)[0], A = l.bubbleNubSize, E = l.bubbleFromUserNubSize, w = C((0, T.default)(), 1)[0].stackedLayout, I = C((0, m.default)(), 1)[0], P = (0, S.default)("webchat__stacked-layout__content"), x = (0, v.default)(), N = (0, y.default)(), k = (0, b.default)({ activity: t, nextVisibleActivity: n }), R = (0, g.default)({ activity: t }), L = t.attachments, M = void 0 === L ? [] : L, j = t.channelData, D = (j = void 0 === j ? {} : j).messageBack, U = (D = void 0 === D ? {} : D).displayText, B = t.from, F = (B = void 0 === B ? {} : B).role, z = t.text, V = t.textFormat, G = t.timestamp, q = U || z, H = "user" === F, W = H ? E : A, Y = H ? a : i, K = (0, s.useMemo)((function() { return (0, u.default)(z) }), [z]), $ = N(H ? "CAROUSEL_ATTACHMENTS_USER_ALT" : "CAROUSEL_ATTACHMENTS_BOT_ALT"), J = N(H ? "ACTIVITY_USER_SAID" : "ACTIVITY_BOT_SAID", Y, K.replace(/[\t-\r \.\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+$/, ""), x(G)).trim(); return s.default.createElement("div", { "aria-labelledby": P, className: (0, o.default)(O + "", w + "", "rtl" === I ? "webchat__stackedLayout--rtl" : "", { "webchat__stackedLayout--fromUser": H, webchat__stacked_extra_left_indent: "rtl" !== I && H && !R && A || "rtl" === I && !H && !R && E, webchat__stacked_extra_right_indent: "rtl" !== I && !H && !R && E || "rtl" === I && H && !R && A, webchat__stacked_indented_content: R && !W, "webchat__stackedLayout--hasAvatar": R && !!(H ? E : A) }), role: "group" }, s.default.createElement(f.default, { id: P, text: J }), R && s.default.createElement("div", { className: "webchat__stackedLayout__avatar" }, R()), s.default.createElement("div", { className: "webchat__stackedLayout__content" }, !!q && s.default.createElement("div", { "aria-hidden": !0, className: "webchat__row message" }, s.default.createElement(c.default, { className: "bubble", fromUser: H, nub: !!W }, r({ activity: t, attachment: { content: q, contentType: (0, p.default)(V) } })), s.default.createElement("div", { className: "filler" })), M.map((function(e, t) { return s.default.createElement("div", { className: (0, o.default)("webchat__row attachment", { webchat__stacked_item_indented: W }), key: t }, s.default.createElement(f.default, { text: $ }), s.default.createElement(c.default, { className: "attachment bubble", fromUser: H, key: t, nub: !1 }, r({ attachment: e }))) })), s.default.createElement("div", { className: (0, o.default)("webchat__row", { webchat__stacked_item_indented: W }) }, k(), s.default.createElement("div", { "aria-hidden": !0, className: "filler" }))), s.default.createElement("div", { "aria-hidden": !0, className: "filler" })) }; w.defaultProps = { children: void 0, nextVisibleActivity: void 0 }, w.propTypes = { activity: a.default.shape({ attachments: a.default.array, channelData: a.default.shape({ messageBack: a.default.shape({ displayText: a.default.string }) }), from: a.default.shape({ role: a.default.string.isRequired }).isRequired, text: a.default.string, textFormat: a.default.string, timestamp: a.default.string, type: a.default.string.isRequired }).isRequired, children: a.default.any, nextVisibleActivity: a.default.shape({ from: a.default.shape({ role: a.default.string.isRequired }).isRequired, timestamp: a.default.string }) }; var I = w; t.default = I }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, n.default)((0, i.default)(), (0, o.default)()) }; var n = a(r(106)), i = a(r(1469)), o = a(r(1473)); function a(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.connectSendStatus = t.default = void 0; var i = r(48), o = v(r(1)), a = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = h(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), s = v(r(44)), u = v(r(34)), c = v(r(1470)), l = v(r(89)), f = v(r(15)), p = v(r(610)), d = v(r(6)); function h() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return h = function() { return e }, e } function v(e) { return e && e.__esModule ? e : { default: e } } function m(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var y = i.Constants.ActivityClientState, b = y.SEND_FAILED, g = y.SENDING; t.connectSendStatus = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return s.default.apply(void 0, [function(e, t) { var r = e.focusSendBox, n = e.language, i = e.postActivity, o = t.activity; return { language: n, retrySend: function(e) { e.preventDefault(), i(o), r() } } }].concat(t)) }; var _ = function(e) { var t = e.activity, r = e.sendState, n = m((0, d.default)(), 1)[0].sendStatus, i = (0, l.default)(), o = (0, f.default)(), s = (0, p.default)(), h = o("ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING"), v = o("ACTIVITY_STATUS_SEND_STATUS_ALT", h), y = (0, a.useCallback)((function() { s(t), i("sendBoxWithoutKeyboard") }), [t, i, s]); return a.default.createElement(a.default.Fragment, null, a.default.createElement(u.default, { text: v }), a.default.createElement("span", { "aria-hidden": !0, className: n }, r === g ? h : r === b && a.default.createElement(c.default, { onRetryClick: y }))) }; _.propTypes = { activity: o.default.shape({ channelData: o.default.shape({ clientTimestamp: o.default.string, state: o.default.string }) }).isRequired, sendState: o.default.oneOf([g, b]).isRequired }; var T = _; t.default = T }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().postActivity }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = l(r(3)), i = l(r(1)), o = l(r(0)), a = l(r(1474)), s = l(r(1475)), u = l(r(20)), c = l(r(6)); function l(e) { return e && e.__esModule ? e : { default: e } } function f(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var p = function(e) { var t = e.activity.timestamp, r = e["aria-hidden"], i = e.className, l = f((0, u.default)(), 1)[0].timestampFormat, p = f((0, c.default)(), 1)[0], d = p.timestamp, h = p.sendStatus; return d && console.warn('botframework-webchat: "styleSet.timestamp" is deprecated. Please use "styleSet.sendStatus". This deprecation migration will be removed on or after December 31, 2021.'), !!t && o.default.createElement("span", { "aria-hidden": r, className: (0, n.default)((d || "") + "", (h || "") + "", (i || "") + "") }, "relative" === l ? o.default.createElement(s.default, { value: t }) : o.default.createElement(a.default, { value: t })) }; p.defaultProps = { "aria-hidden": !1, className: "" }, p.propTypes = { activity: i.default.shape({ timestamp: i.default.string.isRequired }).isRequired, "aria-hidden": i.default.bool, className: i.default.string }; var d = p; t.default = d }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, a.default)(), t = (r = (0, o.default)(), s = 1, function(e) { if (Array.isArray(e)) return e }(r) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(r, s) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }())[0]; var r, s; return (0, n.useMemo)((function() { var r = t.relativeTimeFormatter.bind(t); return function(t) { var n = new Date(t), o = n.getTime(); if (isNaN(o)) return t; var a = Date.now() - o, s = Math.floor(a / 6e4), u = Math.floor(a / 36e5); return s < 1 ? e("ACTIVITY_STATUS_TIMESTAMP_JUST_NOW") : 1 === s ? e("ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO") : u < 1 ? r("minute")(-s) : 1 === u ? e("ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO") : u < 5 ? r("hour")(-u) : u <= 24 ? e("ACTIVITY_STATUS_TIMESTAMP_TODAY") : u <= 48 ? e("ACTIVITY_STATUS_TIMESTAMP_YESTERDAY") : (0, i.default)(n, "en-US") } }), [e, t]) }; var n = r(0), i = s(r(321)), o = s(r(185)), a = s(r(15)); function s(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return function() { return function(e) { var t = function(t) { var r = t.activity, n = void 0 === r ? {} : r, l = t.activity, f = (l = void 0 === l ? {} : l).from.role, p = t.attachment, d = t.attachment, h = (d = void 0 === d ? {} : d).contentType, v = d.contentUrl, m = d.thumbnailUrl; return "user" !== f || /^text\//.test(h) || m ? /^audio\//.test(h) ? i.default.createElement(o.default, { activity: n, attachment: p }) : /^image\//.test(h) ? i.default.createElement(s.default, { activity: n, attachment: p }) : /^video\//.test(h) ? i.default.createElement(c.default, { activity: n, attachment: p }) : v || "application/octet-stream" === h ? i.default.createElement(a.default, { activity: n, attachment: p }) : /^text\//.test(h) ? i.default.createElement(u.default, { activity: n, attachment: p }) : e({ activity: n, attachment: p }) : i.default.createElement(a.default, { activity: n, attachment: p }) }; return t.propTypes = { activity: n.default.any.isRequired, attachment: n.default.shape({ contentType: n.default.string.isRequired, contentUrl: n.default.string, thumbnailUrl: n.default.string }).isRequired }, t } } }; var n = l(r(1)), i = l(r(0)), o = l(r(1477)), a = l(r(1478)), s = l(r(1480)), u = l(r(1481)), c = l(r(1482)); function l(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = a(r(1)), i = a(r(0)), o = a(r(6)); function a(e) { return e && e.__esModule ? e : { default: e } } function s(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var u = function(e) { var t = e.alt, r = e.autoPlay, n = e.loop, a = e.poster, u = e.src, c = s((0, o.default)(), 1)[0].audioContent; return i.default.createElement("audio", { "aria-label": t, autoPlay: r, className: c, controls: !0, loop: n, poster: a, src: u }) }; u.defaultProps = { alt: "", autoPlay: !1, loop: !1, poster: "" }, u.propTypes = { alt: n.default.string, autoPlay: n.default.bool, loop: n.default.bool, poster: n.default.string, src: n.default.string.isRequired }; var c = u; t.default = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = d(r(3)), o = d(r(1)), a = d(r(0)), s = d(r(1479)), u = d(r(34)), c = d(r(616)), l = d(r(23)), f = d(r(15)), p = d(r(6)); function d(e) { return e && e.__esModule ? e : { default: e } } function h(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var v = (0, n.css)({ display: "flex", "& .webchat__fileContent__buttonLink": { display: "flex", flex: 1 }, "& .webchat__fileContent__badge": { display: "flex", flex: 1, flexDirection: "column" } }), m = function(e) { var t = e.downloadIcon, r = e.fileName, n = e.size, o = h((0, l.default)(), 1)[0], u = (0, c.default)(), f = "number" == typeof n && u(n); return a.default.createElement(a.default.Fragment, null, a.default.createElement("div", { "aria-hidden": !0, className: "webchat__fileContent__badge" }, a.default.createElement("div", { className: "webchat__fileContent__fileName" }, r), !!f && a.default.createElement("div", { className: "webchat__fileContent__size" }, f)), t && a.default.createElement(s.default, { className: (0, i.default)("webchat__fileContent__downloadIcon", "rtl" === o && "webchat__fileContent__downloadIcon--rtl"), size: 1.5 })) }; m.defaultProps = { downloadIcon: !1, size: void 0 }, m.propTypes = { downloadIcon: o.default.bool, fileName: o.default.string.isRequired, size: o.default.number }; var y = function(e) { var t = e.className, r = e.href, n = e.fileName, o = e.size, s = h((0, p.default)(), 1)[0].fileContent, l = (0, f.default)(), d = (0, c.default)(), y = "number" == typeof o && d(o), b = l(r ? y ? "FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT" : "FILE_CONTENT_DOWNLOADABLE_ALT" : y ? "FILE_CONTENT_WITH_SIZE_ALT" : "FILE_CONTENT_ALT", n, y); return a.default.createElement("div", { "aria-hidden": !0, className: (0, i.default)("webchat__fileContent", v + "", s + "", (t || "") + "") }, a.default.createElement(u.default, { text: b }), r ? a.default.createElement("a", { "aria-hidden": !0, className: "webchat__fileContent__buttonLink", download: n, href: r, rel: "noopener noreferrer", target: "_blank" }, a.default.createElement(m, { downloadIcon: !0, fileName: n, size: o })) : a.default.createElement(m, { downloadIcon: !1, fileName: n, size: o })) }; y.defaultProps = { className: "", href: void 0, size: void 0 }, y.propTypes = { className: o.default.string, fileName: o.default.string.isRequired, href: o.default.string, size: o.default.number }; var b = y; t.default = b }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (t = (0, o.default)(), r = 1, function(e) { if (Array.isArray(e)) return e }(t) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(t, r) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }())[0]; var t, r; return (0, i.useMemo)((function() { var t = e.unitFormatter.bind(e); return function(e) { return e < 1024 ? t("byte", a)(e) : e < 1048576 ? t("kilobyte", s)(~~(e / 1024)) : e < 1073741824 ? t("megabyte", s)(~~(e / 1048576)) : t("gigabyte", s)(~~(e / 1073741824)) } }), [e]) }; var n, i = r(0), o = (n = r(185)) && n.__esModule ? n : { default: n }; var a = { form: "long" }, s = { form: "short" } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = s(r(1)), i = s(r(0)), o = s(r(618)), a = s(r(20)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var c = function(e) { var t = e.alt, r = e.src, n = u((0, a.default)(), 1)[0].bubbleImageHeight; return i.default.createElement(o.default, { alt: t, height: n, src: r, width: "100%" }) }; c.defaultProps = { alt: "" }, c.propTypes = { alt: n.default.string, src: n.default.string.isRequired }; var l = c; t.default = l }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = r(7), o = c(r(3)), a = c(r(1)), s = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = u(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)); function u() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return u = function() { return e }, e } function c(e) { return e && e.__esModule ? e : { default: e } } var l = (0, i.css)({ overflow: "hidden", position: "relative", "& > img": { height: "auto", left: "50%", position: "absolute", top: "50%", transform: "translate(-50%, -50%)", width: "100%" } }), f = function(e) { var t = e.alt, r = e.className, n = e.height, i = e.src, a = e.width, u = (0, s.useMemo)((function() { return { height: n, width: a } }), [n, a]); return s.default.createElement("div", { className: (0, o.default)(l + "", r + ""), style: u }, s.default.createElement("img", { alt: t, src: i })) }; f.defaultProps = { alt: "", className: "" }, f.propTypes = { alt: a.default.string, className: a.default.string, height: a.default.oneOfType([a.default.number, a.default.string]).isRequired, src: a.default.string.isRequired, width: a.default.oneOfType([a.default.number, a.default.string]).isRequired }; var p = f; t.default = p }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = p(r(3)), o = p(r(1)), a = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = f(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), s = p(r(312)), u = p(r(34)), c = p(r(620)), l = p(r(6)); function f() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return f = function() { return e }, e } function p(e) { return e && e.__esModule ? e : { default: e } } function d(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var h = function(e) { var t = e.contentType, r = e.text, n = d((0, l.default)(), 1)[0].textContent, o = (0, c.default)(), f = (0, a.useMemo)((function() { return (0, s.default)(r) }), [r]); return "text/markdown" === t && o ? a.default.createElement(a.default.Fragment, null, a.default.createElement(u.default, { text: f }), a.default.createElement("div", { "aria-hidden": !0, className: (0, i.default)("markdown", n + ""), dangerouslySetInnerHTML: { __html: o(r || "") } })) : (r || "").split("\n").map((function(e, t) { return a.default.createElement("p", { className: (0, i.default)("plain", n + ""), key: t }, e.trim()) })) }; h.defaultProps = { contentType: "text/markdown" }, h.propTypes = { contentType: o.default.string, text: o.default.string.isRequired }; var v = h; t.default = v }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, o.default)().renderMarkdown, t = (r = (0, i.default)(), a = 1, function(e) { if (Array.isArray(e)) return e }(r) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(r, a) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }())[0]; var r, a; return (0, n.useMemo)((function() { return e && function(r) { return e(r, t) } }), [e, t]) }; var n = r(0), i = a(r(20)), o = a(r(4)); function a(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = u(r(1)), i = u(r(0)), o = u(r(622)), a = u(r(623)), s = u(r(624)); function u(e) { return e && e.__esModule ? e : { default: e } } var c = function(e) { var t = e.alt, r = e.autoPlay, n = e.loop, u = e.poster, c = e.src, l = function(e) { var t; "function" == typeof URL ? t = new URL(e) : (t = document.createElement("a")).setAttribute("href", e); var r = t; return { hostname: r.hostname, pathname: r.pathname, search: r.search } }(c), f = l.hostname, p = l.pathname, d = l.search, h = p.split("/").pop(), v = new URLSearchParams(d); switch (f) { case "vimeo.com": case "www.vimeo.com": return i.default.createElement(a.default, { alt: t, autoPlay: r, embedID: h, loop: n }); case "youtube.com": case "www.youtube.com": return i.default.createElement(s.default, { alt: t, autoPlay: r, embedID: v.get("v"), loop: n }); case "youtu.be": case "www.youtu.be": return i.default.createElement(s.default, { alt: t, autoPlay: r, embedID: h, loop: n }); default: return i.default.createElement(o.default, { alt: t, autoPlay: r, loop: n, poster: u, src: c }) } }; c.defaultProps = { alt: "", autoPlay: !1, loop: !1, poster: "" }, c.propTypes = { alt: n.default.string, autoPlay: n.default.bool, loop: n.default.bool, poster: n.default.string, src: n.default.string.isRequired }; var l = c; t.default = l }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = a(r(1)), i = a(r(0)), o = a(r(6)); function a(e) { return e && e.__esModule ? e : { default: e } } function s(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var u = function(e) { var t = e.alt, r = e.autoPlay, n = e.loop, a = e.poster, u = e.src, c = s((0, o.default)(), 1)[0].videoContent; return i.default.createElement("video", { "aria-label": t, autoPlay: r, className: c, controls: !0, loop: n, poster: a, src: u }) }; u.defaultProps = { alt: "", autoPlay: !1, loop: !1, poster: "" }, u.propTypes = { alt: n.default.string, autoPlay: n.default.bool, loop: n.default.bool, poster: n.default.string, src: n.default.string.isRequired }; var c = u; t.default = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = a(r(1)), i = a(r(0)), o = a(r(6)); function a(e) { return e && e.__esModule ? e : { default: e } } function s(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var u = function(e) { var t = e.alt, r = e.autoPlay, n = e.embedID, a = e.loop, u = s((0, o.default)(), 1)[0].vimeoContent, c = new URLSearchParams({ autoplay: r ? 1 : 0, badge: 0, byline: 0, loop: a ? 1 : 0, portrait: 0, title: 0 }).toString(); return i.default.createElement("iframe", { allowFullScreen: !0, "aria-label": t, className: u, src: "https://player.vimeo.com/video/".concat(encodeURI(n), "?").concat(c) }) }; u.defaultProps = { alt: "", autoPlay: !1, loop: !1 }, u.propTypes = { alt: n.default.string, autoPlay: n.default.bool, embedID: n.default.string.isRequired, loop: n.default.bool }; var c = u; t.default = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = a(r(1)), i = a(r(0)), o = a(r(6)); function a(e) { return e && e.__esModule ? e : { default: e } } function s(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var u = function(e) { var t = e.alt, r = e.autoPlay, n = e.embedID, a = e.loop, u = s((0, o.default)(), 1)[0].youTubeContent, c = new URLSearchParams({ autoplay: r ? 1 : 0, loop: a ? 1 : 0, modestbranding: 1 }).toString(); return i.default.createElement("iframe", { allowFullScreen: !0, "aria-label": t, className: u, src: "https://youtube.com/embed/".concat(n, "?").concat(c) }) }; u.defaultProps = { alt: "", autoPlay: !1, loop: !1 }, u.propTypes = { alt: n.default.string, autoPlay: n.default.bool, embedID: n.default.string.isRequired, loop: n.default.bool }; var c = u; t.default = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, s.default)((function() { return function() { return function(e) { var t = e.fromUser, r = e.styleOptions, n = r.botAvatarImage, i = r.botAvatarInitials, o = r.userAvatarImage, s = r.userAvatarInitials; return !!(t ? o || s : n || i) && function() { return a.default.createElement(h, { fromUser: t }) } } } })) }, t.DefaultAvatar = void 0; var n = r(7), i = f(r(3)), o = f(r(1)), a = f(r(0)), s = f(r(106)), u = f(r(1483)), c = f(r(1484)), l = f(r(6)); function f(e) { return e && e.__esModule ? e : { default: e } } function p(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var d = (0, n.css)({ overflow: "hidden", position: "relative", "> *": { left: 0, position: "absolute", top: 0 } }), h = function(e) { var t = e["aria-hidden"], r = e.className, n = e.fromUser, o = p((0, l.default)(), 1)[0].avatar; return a.default.createElement("div", { "aria-hidden": t, className: (0, i.default)(d + "", "webchat__defaultAvatar", n && "webchat__defaultAvatar--fromUser", o + "", r) }, a.default.createElement(c.default, { fromUser: n }), a.default.createElement(u.default, { fromUser: n })) }; t.DefaultAvatar = h, h.defaultProps = { "aria-hidden": !0, className: "" }, h.propTypes = { "aria-hidden": o.default.bool, className: o.default.string, fromUser: o.default.bool.isRequired } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().dismissNotification }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = f(r(1)), o = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = l(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), a = f(r(34)), s = f(r(15)), u = f(r(6)), c = f(r(195)); function l() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return l = function() { return e }, e } function f(e) { return e && e.__esModule ? e : { default: e } } function p(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var d = function(e) { var t = e.children, r = e.error, n = e.message, i = p((0, u.default)(), 1)[0].errorBox, l = (0, s.default)(), f = (0, c.default)(); return (0, o.useEffect)((function() { var e = r || new Error(n); f(e, !1), console.group("botframework-webchat: ".concat(n)), console.error(e), console.groupEnd() }), [r, n, f]), o.default.createElement(o.default.Fragment, null, o.default.createElement(a.default, { text: l("ACTIVITY_ERROR_BOX_TITLE") }), o.default.createElement("div", { className: i }, o.default.createElement("div", null, n), o.default.createElement("div", null, t))) }; d.defaultProps = { children: void 0, error: void 0, message: "" }, d.propTypes = { children: i.default.any, error: i.default.instanceOf(Error), message: i.default.string }; var h = d; t.default = h }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.getLocaleString = function() { n || (console.warn("botframework-webchat: localize() is deprecated. Please use the useLocalizer() hooks instead. This function will be removed on or after 2022-02-12."), n = !0); return i.default.apply(void 0, arguments) }, t.localize = function(e, t) { n || (console.warn("botframework-webchat: localize() is deprecated. Please use the useLocalizer() hooks instead. This function will be removed on or after 2022-02-12."), n = !0); for (var r = (0, o.default)(), i = (0, s.default)(t), a = r[i], u = arguments.length, c = new Array(u > 2 ? u - 2 : 0), l = 2; l < u; l++) c[l - 2] = arguments[l]; return Object.entries(c).reduce((function(e, t) { var r = f(t, 2), n = r[0], i = r[1]; return e.replace("$".concat(+n + 1), i) }), a && a[e] || r["en-US"][e] || "") }, Object.defineProperty(t, "getRTLList", { enumerable: !0, get: function() { return a.default } }), t.default = void 0; var n, i = c(r(321)), o = c(r(283)), a = c(r(505)), s = c(r(573)), u = c(r(15)); function c(e) { return e && e.__esModule ? e : { default: e } } function l(e) { return function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } }(e) || function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) }(e) || function() { throw new TypeError("Invalid attempt to spread non-iterable instance") }() } function f(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } t.default = function(e) { var t = e.args, r = e.text; return n || (console.warn("botframework-webchat: <Localize> is deprecated. Please use the useLocalizer() hooks instead. This function will be removed on or after 2022-02-12."), n = !0), (0, u.default)().apply(void 0, [r].concat(l(t || []))) } }, function(e, t, r) { "use strict"; (function(e) { Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { o("botframework-webchat:bundle:variant", e), o("botframework-webchat:bundle:version", "4.9.1"), o("botframework-webchat:core:version", i.version), o("botframework-webchat:ui:version", n.version) }; var n = r(37), i = r(48); function o(t, r) { try { var n = e.document; if (void 0 !== n && n.createElement && n.head && n.head.appendChild) { var i = n.querySelector('html meta[name="'.concat(encodeURI(t), '"]')) || n.createElement("meta"); i.setAttribute("name", t), i.setAttribute("content", r), n.head.appendChild(i) } } catch (e) {} } }).call(this, r(14)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.botAgent, r = e.conversationId, i = e.domain, o = e.fetch, a = e.pollingInterval, s = e.secret, u = e.streamUrl, c = e.token, l = e.watermark, f = e.webSocket; return new n.DirectLine({ botAgent: t, conversationId: r, domain: i, fetch: o, pollingInterval: a, secret: s, streamUrl: u, token: c, watermark: l, webSocket: f, createFormData: function(e) { var t = new FormData; return e.forEach((function(e) { var r = e.contentType, n = e.data, i = e.filename, o = e.name; t.append(o, new Blob(n, { contentType: r }), i) })), t } }) }; var n = r(322) }, function(e, t, r) { var n = r(1509); e.exports = function(e, t) { if (null == e) return {}; var r, i, o = n(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (i = 0; i < a.length; i++) r = a[i], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (o[r] = e[r]) } return o } }, function(e, t) { e.exports = function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } }, function(e, t) { function r(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } e.exports = function(e, t, n) { return t && r(e.prototype, t), n && r(e, n), e } }, function(e, t) { e.exports = function(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t, r) { var n = r(25), i = r(324), o = n["__core-js_shared__"] || i("__core-js_shared__", {}); e.exports = o }, function(e, t, r) { var n = r(65), i = r(51), o = r(325); e.exports = !n && !i((function() { return 7 != Object.defineProperty(o("div"), "a", { get: function() { return 7 } }).a })) }, function(e, t, r) { var n = r(323), i = r(111), o = r(32)("toStringTag"), a = "Arguments" == i(function() { return arguments }()); e.exports = n ? i : function(e) { var t, r, n; return void 0 === e ? "Undefined" : null === e ? "Null" : "string" == typeof(r = function(e, t) { try { return e[t] } catch (e) {} }(t = Object(e), o)) ? r : a ? i(t) : "Object" == (n = i(t)) && "function" == typeof t.callee ? "Arguments" : n } }, function(e, t, r) { "use strict"; var n = {}.propertyIsEnumerable, i = Object.getOwnPropertyDescriptor, o = i && !n.call({ 1: 2 }, 1); t.f = o ? function(e) { var t = i(this, e); return !!t && t.enumerable } : n }, function(e, t, r) { var n = r(52), i = r(145), o = r(738).indexOf, a = r(213); e.exports = function(e, t) { var r, s = i(e), u = 0, c = []; for (r in s) !n(a, r) && n(s, r) && c.push(r); for (; t.length > u;) n(s, r = t[u++]) && (~o(c, r) || c.push(r)); return c } }, function(e, t, r) { "use strict"; var n, i, o, a = r(329), s = r(68), u = r(52), c = r(32), l = r(45), f = c("iterator"), p = !1; [].keys && ("next" in (o = [].keys()) ? (i = a(a(o))) !== Object.prototype && (n = i) : p = !0), null == n && (n = {}), l || u(n, f) || s(n, f, (function() { return this })), e.exports = { IteratorPrototype: n, BUGGY_SAFARI_ITERATORS: p } }, function(e, t, r) { var n = r(639), i = r(328); e.exports = Object.keys || function(e) { return n(e, i) } }, function(e, t, r) { var n = r(58); e.exports = n("document", "documentElement") }, function(e, t, r) { "use strict"; var n = r(145), i = r(644), o = r(146), a = r(110), s = r(361), u = a.set, c = a.getterFor("Array Iterator"); e.exports = s(Array, "Array", (function(e, t) { u(this, { type: "Array Iterator", target: n(e), index: 0, kind: t }) }), (function() { var e = c(this), t = e.target, r = e.kind, n = e.index++; return !t || n >= t.length ? (e.target = void 0, { value: void 0, done: !0 }) : "keys" == r ? { value: n, done: !1 } : "values" == r ? { value: t[n], done: !1 } : { value: [n, t[n]], done: !1 } }), "values"), o.Arguments = o.Array, i("keys"), i("values"), i("entries") }, function(e, t, r) { var n = r(32), i = r(216), o = r(66), a = n("unscopables"), s = Array.prototype; null == s[a] && o.f(s, a, { configurable: !0, value: i(null) }), e.exports = function(e) { s[a][e] = !0 } }, function(e, t, r) { var n = r(25); e.exports = n.Promise }, function(e, t, r) { var n, i, o, a = r(25), s = r(51), u = r(111), c = r(117), l = r(642), f = r(325), p = r(647), d = a.location, h = a.setImmediate, v = a.clearImmediate, m = a.process, y = a.MessageChannel, b = a.Dispatch, g = 0, _ = {}, T = function(e) { if (_.hasOwnProperty(e)) { var t = _[e]; delete _[e], t() } }, S = function(e) { return function() { T(e) } }, A = function(e) { T(e.data) }, E = function(e) { a.postMessage(e + "", d.protocol + "//" + d.host) }; h && v || (h = function(e) { for (var t = [], r = 1; arguments.length > r;) t.push(arguments[r++]); return _[++g] = function() { ("function" == typeof e ? e : Function(e)).apply(void 0, t) }, n(g), g }, v = function(e) { delete _[e] }, "process" == u(m) ? n = function(e) { m.nextTick(S(e)) } : b && b.now ? n = function(e) { b.now(S(e)) } : y && !p ? (o = (i = new y).port2, i.port1.onmessage = A, n = c(o.postMessage, o, 1)) : !a.addEventListener || "function" != typeof postMessage || a.importScripts || s(E) ? n = "onreadystatechange" in f("script") ? function(e) { l.appendChild(f("script")).onreadystatechange = function() { l.removeChild(this), T(e) } } : function(e) { setTimeout(S(e), 0) } : (n = E, a.addEventListener("message", A, !1))), e.exports = { set: h, clear: v } }, function(e, t, r) { var n = r(648); e.exports = /(iphone|ipod|ipad).*applewebkit/i.test(n) }, function(e, t, r) { var n = r(58); e.exports = n("navigator", "userAgent") || "" }, function(e, t, r) { var n = r(35), i = r(57), o = r(147); e.exports = function(e, t) { if (n(e), i(t) && t.constructor === e) return t; var r = o.f(e); return (0, r.resolve)(t), r.promise } }, function(e, t, r) { "use strict"; var n = r(27), i = r(53), o = r(147), a = r(205), s = r(56); n({ target: "Promise", stat: !0 }, { allSettled: function(e) { var t = this, r = o.f(t), n = r.resolve, u = r.reject, c = a((function() { var r = i(t.resolve), o = [], a = 0, u = 1; s(e, (function(e) { var i = a++, s = !1; o.push(void 0), u++, r.call(t, e).then((function(e) { s || (s = !0, o[i] = { status: "fulfilled", value: e }, --u || n(o)) }), (function(e) { s || (s = !0, o[i] = { status: "rejected", reason: e }, --u || n(o)) })) })), --u || n(o) })); return c.error && u(c.value), r.promise } }) }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(206), o = r(655), a = function(e) { function t(t) { e.call(this), this._value = t } return n(t, e), Object.defineProperty(t.prototype, "value", { get: function() { return this.getValue() }, enumerable: !0, configurable: !0 }), t.prototype._subscribe = function(t) { var r = e.prototype._subscribe.call(this, t); return r && !r.closed && t.next(this._value), r }, t.prototype.getValue = function() { if (this.hasError) throw this.thrownError; if (this.closed) throw new o.ObjectUnsubscribedError; return this._value }, t.prototype.next = function(t) { e.prototype.next.call(this, this._value = t) }, t }(i.Subject); t.BehaviorSubject = a }, function(e, t, r) { "use strict"; t.isFunction = function(e) { return "function" == typeof e } }, function(e, t, r) { "use strict"; t.isObject = function(e) { return null != e && "object" == typeof e } }, function(e, t, r) { "use strict"; t.empty = { closed: !0, next: function(e) {}, error: function(e) { throw e }, complete: function() {} } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t() { var t = e.call(this, "object unsubscribed"); this.name = t.name = "ObjectUnsubscribedError", this.stack = t.stack, this.message = t.message } return n(t, e), t }(Error); t.ObjectUnsubscribedError = i }, function(e, t, r) { "use strict"; t.isArrayLike = function(e) { return e && "number" == typeof e.length } }, function(e, t, r) { "use strict"; t.isPromise = function(e) { return e && "function" != typeof e.subscribe && "function" == typeof e.then } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t, r) { e.call(this), this.value = t, this.scheduler = r, this._isScalar = !0, r && (this._isScalar = !1) } return n(t, e), t.create = function(e, r) { return new t(e, r) }, t.dispatch = function(e) { var t = e.done, r = e.value, n = e.subscriber; t ? n.complete() : (n.next(r), n.closed || (e.done = !0, this.schedule(e))) }, t.prototype._subscribe = function(e) { var r = this.value, n = this.scheduler; if (n) return n.schedule(t.dispatch, 0, { done: !1, value: r, subscriber: e }); e.next(r), e.closed || e.complete() }, t }(r(12).Observable); t.ScalarObservable = i }, function(e, t, r) { "use strict"; var n = r(12), i = function() { function e(e, t, r) { this.kind = e, this.value = t, this.error = r, this.hasValue = "N" === e } return e.prototype.observe = function(e) { switch (this.kind) { case "N": return e.next && e.next(this.value); case "E": return e.error && e.error(this.error); case "C": return e.complete && e.complete() } }, e.prototype.do = function(e, t, r) { switch (this.kind) { case "N": return e && e(this.value); case "E": return t && t(this.error); case "C": return r && r() } }, e.prototype.accept = function(e, t, r) { return e && "function" == typeof e.next ? this.observe(e) : this.do(e, t, r) }, e.prototype.toObservable = function() { switch (this.kind) { case "N": return n.Observable.of(this.value); case "E": return n.Observable.throw(this.error); case "C": return n.Observable.empty() } throw new Error("unexpected notification kind value") }, e.createNext = function(t) { return void 0 !== t ? new e("N", t) : e.undefinedValueNotification }, e.createError = function(t) { return new e("E", void 0, t) }, e.createComplete = function() { return e.completeNotification }, e.completeNotification = new e("C"), e.undefinedValueNotification = new e("N", void 0), e }(); t.Notification = i }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(39); t.map = function(e, t) { return function(r) { if ("function" != typeof e) throw new TypeError("argument is not a function. Are you looking for `mapTo()`?"); return r.lift(new o(e, t)) } }; var o = function() { function e(e, t) { this.project = e, this.thisArg = t } return e.prototype.call = function(e, t) { return t.subscribe(new a(e, this.project, this.thisArg)) }, e }(); t.MapOperator = o; var a = function(e) { function t(t, r, n) { e.call(this, t), this.project = r, this.count = 0, this.thisArg = n || this } return n(t, e), t.prototype._next = function(e) { var t; try { t = this.project.call(this.thisArg, e, this.count++) } catch (e) { return void this.destination.error(e) } this.destination.next(t) }, t }(i.Subscriber) }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(211), o = r(210); t.mergeMap = function(e, t, r) { return void 0 === r && (r = Number.POSITIVE_INFINITY), function(n) { return "number" == typeof t && (r = t, t = null), n.lift(new a(e, t, r)) } }; var a = function() { function e(e, t, r) { void 0 === r && (r = Number.POSITIVE_INFINITY), this.project = e, this.resultSelector = t, this.concurrent = r } return e.prototype.call = function(e, t) { return t.subscribe(new s(e, this.project, this.resultSelector, this.concurrent)) }, e }(); t.MergeMapOperator = a; var s = function(e) { function t(t, r, n, i) { void 0 === i && (i = Number.POSITIVE_INFINITY), e.call(this, t), this.project = r, this.resultSelector = n, this.concurrent = i, this.hasCompleted = !1, this.buffer = [], this.active = 0, this.index = 0 } return n(t, e), t.prototype._next = function(e) { this.active < this.concurrent ? this._tryNext(e) : this.buffer.push(e) }, t.prototype._tryNext = function(e) { var t, r = this.index++; try { t = this.project(e, r) } catch (e) { return void this.destination.error(e) } this.active++, this._innerSub(t, e, r) }, t.prototype._innerSub = function(e, t, r) { this.add(i.subscribeToResult(this, e, t, r)) }, t.prototype._complete = function() { this.hasCompleted = !0, 0 === this.active && 0 === this.buffer.length && this.destination.complete() }, t.prototype.notifyNext = function(e, t, r, n, i) { this.resultSelector ? this._notifyResultSelector(e, t, r, n) : this.destination.next(t) }, t.prototype._notifyResultSelector = function(e, t, r, n) { var i; try { i = this.resultSelector(e, t, r, n) } catch (e) { return void this.destination.error(e) } this.destination.next(i) }, t.prototype.notifyComplete = function(e) { var t = this.buffer; this.remove(e), this.active--, t.length > 0 ? this._next(t.shift()) : 0 === this.active && this.hasCompleted && this.destination.complete() }, t }(o.OuterSubscriber); t.MergeMapSubscriber = s }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(39); t.refCount = function() { return function(e) { return e.lift(new o(e)) } }; var o = function() { function e(e) { this.connectable = e } return e.prototype.call = function(e, t) { var r = this.connectable; r._refCount++; var n = new a(e, r), i = t.subscribe(n); return n.closed || (n.connection = r.connect()), i }, e }(), a = function(e) { function t(t, r) { e.call(this, t), this.connectable = r } return n(t, e), t.prototype._unsubscribe = function() { var e = this.connectable; if (e) { this.connectable = null; var t = e._refCount; if (t <= 0) this.connection = null; else if (e._refCount = t - 1, t > 1) this.connection = null; else { var r = this.connection, n = e._connection; this.connection = null, !n || r && n !== r || n.unsubscribe() } } else this.connection = null }, t }(i.Subscriber) }, function(e, t) { e.exports = function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) } }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = function() { function e(e, t) { if (!t) throw Error("Null Argument Exception"); this.id = e, this.assembler = t } return Object.defineProperty(e.prototype, "contentType", { get: function() { return this.assembler.payloadType }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "length", { get: function() { return this.assembler.contentLength }, enumerable: !0, configurable: !0 }), e.prototype.getStream = function() { return this.stream || (this.stream = this.assembler.getPayloadStream()), this.stream }, e.prototype.cancel = function() { this.assembler.close() }, e.prototype.readAsString = function() { return n(this, void 0, void 0, (function() { return i(this, (function(e) { switch (e.label) { case 0: return [4, this.readAll()]; case 1: return [2, (e.sent().bufferArray || []).map((function(e) { return e.toString("utf8") })).join("")] } })) })) }, e.prototype.readAsJson = function() { return n(this, void 0, void 0, (function() { var e; return i(this, (function(t) { switch (t.label) { case 0: return [4, this.readAsString()]; case 1: e = t.sent(); try { return [2, JSON.parse(e)] } catch (e) { throw e } return [2] } })) })) }, e.prototype.readAll = function() { return n(this, void 0, void 0, (function() { var e, t, r, n, o = this; return i(this, (function(i) { switch (i.label) { case 0: for (e = [], t = 0, r = this.getStream(); t < r.length;) n = r.read(r.length), e.push(n), t += n.length; return t < this.length ? [4, new Promise((function(n) { var i; r.subscribe((i = o, function(r) { e.push(r), (t += r.length) === i.length && n(!0) })) }))] : [3, 2]; case 1: i.sent(), i.label = 2; case 2: return [2, { bufferArray: e, size: t }] } })) })) }, e }(); t.ContentStream = o }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(666), a = function() { function e(e) { e && (this.webSocket = e) } return e.prototype.connect = function(e) { return n(this, void 0, void 0, (function() { var t, r; return i(this, (function(n) { return this.webSocket || (this.webSocket = function(e) { if (!e) throw new TypeError("Unable to create WebSocket without url."); if (o.doesGlobalWebSocketExist()) return new Function("return new WebSocket('" + e + "');")(); throw new ReferenceError("Unable to find global.WebSocket which is required for constructing a BrowserWebSocket.") }(e)), this.webSocket.onerror = function(e) { r(e) }, this.webSocket.onopen = function(e) { t(e) }, [2, new Promise((function(e, n) { t = e, r = n }))] })) })) }, Object.defineProperty(e.prototype, "isConnected", { get: function() { return 1 === this.webSocket.readyState }, enumerable: !0, configurable: !0 }), e.prototype.write = function(e) { this.webSocket.send(e) }, e.prototype.close = function() { this.webSocket.close() }, e.prototype.setOnMessageHandler = function(e) { var t = []; this.webSocket.onmessage = function(r) { var n = function() { if (o.doesGlobalFileReaderExist()) return new Function("return new FileReader();")(); throw new ReferenceError("Unable to find global.FileReader. Unable to create FileReader for BrowserWebSocket.") }(), i = { buffer: null }; t.push(i), n.onload = function(r) { var n = r.target; if (i.buffer = n.result, t[0] === i) for (; 0 < t.length && t[0].buffer;) e(t[0].buffer), t.splice(0, 1) }, n.readAsArrayBuffer(r.data) } }, e.prototype.setOnErrorHandler = function(e) { this.webSocket.onerror = function(t) { t && e(t) } }, e.prototype.setOnCloseHandler = function(e) { this.webSocket.onclose = e }, e }(); t.BrowserWebSocket = a }, function(e, t, r) { "use strict"; function n(e) { for (var r in e) t.hasOwnProperty(r) || (t[r] = e[r]) } Object.defineProperty(t, "__esModule", { value: !0 }), n(r(1616)), n(r(1617)), n(r(336)) }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(668), a = r(670), s = r(340), u = r(336), c = function() { function e(e, t, r, n) { var i = this; this.requestHandler = e, this.requestManager = t, this.payloadSender = r, this.payloadReceiver = n, this.sendOperations = new a.SendOperations(this.payloadSender), this.streamManager = new s.StreamManager(this.onCancelStream), this.assemblerManager = new o.PayloadAssemblerManager(this.streamManager, (function(e, t) { return i.onReceiveResponse(e, t) }), (function(e, t) { return i.onReceiveRequest(e, t) })), this.payloadReceiver.subscribe((function(e) { return i.assemblerManager.getPayloadStream(e) }), (function(e, t, r) { return i.assemblerManager.onReceive(e, t, r) })) } return e.prototype.sendRequest = function(e) { return n(this, void 0, void 0, (function() { var t; return i(this, (function(r) { switch (r.label) { case 0: return t = u.generateGuid(), [4, this.sendOperations.sendRequest(t, e)]; case 1: return r.sent(), [2, this.requestManager.getResponse(t)] } })) })) }, e.prototype.onReceiveRequest = function(e, t) { return n(this, void 0, void 0, (function() { var r; return i(this, (function(n) { switch (n.label) { case 0: return this.requestHandler ? [4, this.requestHandler.processRequest(t)] : [3, 3]; case 1: return (r = n.sent()) ? [4, this.sendOperations.sendResponse(e, r)] : [3, 3]; case 2: n.sent(), n.label = 3; case 3: return [2] } })) })) }, e.prototype.onReceiveResponse = function(e, t) { return n(this, void 0, void 0, (function() { return i(this, (function(r) { switch (r.label) { case 0: return [4, this.requestManager.signalResponse(e, t)]; case 1: return r.sent(), [2] } })) })) }, e.prototype.onCancelStream = function(e) { this.sendOperations.sendCancelStream(e.id).catch() }, e }(); t.ProtocolAdapter = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(669), i = r(91), o = function() { function e(e, t, r) { this.activeAssemblers = {}, this.streamManager = e, this.onReceiveRequest = r, this.onReceiveResponse = t } return e.prototype.getPayloadStream = function(e) { if (e.payloadType === i.PayloadTypes.stream) return this.streamManager.getPayloadStream(e); if (!this.activeAssemblers[e.id]) { var t = this.createPayloadAssembler(e); if (t) return this.activeAssemblers[e.id] = t, t.getPayloadStream() } }, e.prototype.onReceive = function(e, t, r) { if (e.payloadType === i.PayloadTypes.stream) this.streamManager.onReceive(e, t, r); else { if (this.activeAssemblers && this.activeAssemblers[e.id]) this.activeAssemblers[e.id].onReceive(e, t, r); e.end && delete this.activeAssemblers[e.id] } }, e.prototype.createPayloadAssembler = function(e) { return e.payloadType === i.PayloadTypes.request ? new n.PayloadAssembler(this.streamManager, { header: e, onCompleted: this.onReceiveRequest }) : e.payloadType === i.PayloadTypes.response ? new n.PayloadAssembler(this.streamManager, { header: e, onCompleted: this.onReceiveResponse }) : void 0 }, e }(); t.PayloadAssemblerManager = o }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(149), a = r(337), s = r(664), u = function() { function e(e, t) { if (this._byteOrderMark = 65279, this._utf = "utf8", t.header ? (this.id = t.header.id, this.payloadType = t.header.payloadType, this.contentLength = t.header.payloadLength, this.end = t.header.end) : this.id = t.id, !this.id) throw Error("An ID must be supplied when creating an assembler."); this._streamManager = e, this._onCompleted = t.onCompleted } return e.prototype.getPayloadStream = function() { return this.stream || (this.stream = this.createPayloadStream()), this.stream }, e.prototype.onReceive = function(e, t, r) { this.end = e.end, e.payloadType === a.PayloadTypes.response || e.payloadType === a.PayloadTypes.request ? this.process(t).then().catch() : e.end && t.end() }, e.prototype.close = function() { this._streamManager.closeStream(this.id) }, e.prototype.createPayloadStream = function() { return new o.SubscribableStream }, e.prototype.payloadFromJson = function(e) { return JSON.parse(e.charCodeAt(0) === this._byteOrderMark ? e.slice(1) : e) }, e.prototype.stripBOM = function(e) { return e.charCodeAt(0) === this._byteOrderMark ? e.slice(1) : e }, e.prototype.process = function(e) { return n(this, void 0, void 0, (function() { var t, r; return i(this, (function(n) { switch (n.label) { case 0: return (t = e.read(e.length)) ? (r = t.toString(this._utf), this.payloadType !== a.PayloadTypes.request ? [3, 2] : [4, this.processRequest(r)]) : [2]; case 1: return n.sent(), [3, 4]; case 2: return this.payloadType !== a.PayloadTypes.response ? [3, 4] : [4, this.processResponse(r)]; case 3: n.sent(), n.label = 4; case 4: return [2] } })) })) }, e.prototype.processResponse = function(e) { return n(this, void 0, void 0, (function() { var t, r; return i(this, (function(n) { switch (n.label) { case 0: return t = this.payloadFromJson(this.stripBOM(e)), r = { streams: [], statusCode: t.statusCode }, [4, this.processStreams(t, r)]; case 1: return n.sent(), [2] } })) })) }, e.prototype.processRequest = function(e) { return n(this, void 0, void 0, (function() { var t, r; return i(this, (function(n) { switch (n.label) { case 0: return t = this.payloadFromJson(e), r = { streams: [], path: t.path, verb: t.verb }, [4, this.processStreams(t, r)]; case 1: return n.sent(), [2] } })) })) }, e.prototype.processStreams = function(e, t) { return n(this, void 0, void 0, (function() { var r = this; return i(this, (function(n) { switch (n.label) { case 0: return e.streams && e.streams.forEach((function(e) { var n = r._streamManager.getPayloadAssembler(e.id); n.payloadType = e.contentType, n.contentLength = e.length, t.streams.push(new s.ContentStream(e.id, n)) })), [4, this._onCompleted(this.id, t)]; case 1: return n.sent(), [2] } })) })) }, e }(); t.PayloadAssembler = u }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(1620), a = r(1621), s = r(1622), u = r(1623), c = r(91), l = function() { function e(e) { this.payloadSender = e } return e.prototype.sendRequest = function(e, t) { return n(this, void 0, void 0, (function() { var r = this; return i(this, (function(o) { switch (o.label) { case 0: return [4, new s.RequestDisassembler(this.payloadSender, e, t).disassemble()]; case 1: return o.sent(), t.streams && t.streams.forEach((function(e) { return n(r, void 0, void 0, (function() { return i(this, (function(t) { switch (t.label) { case 0: return [4, new a.HttpContentStreamDisassembler(this.payloadSender, e).disassemble()]; case 1: return t.sent(), [2] } })) })) })), [2] } })) })) }, e.prototype.sendResponse = function(e, t) { return n(this, void 0, void 0, (function() { var r = this; return i(this, (function(o) { switch (o.label) { case 0: return [4, new u.ResponseDisassembler(this.payloadSender, e, t).disassemble()]; case 1: return o.sent(), t.streams && t.streams.forEach((function(e) { return n(r, void 0, void 0, (function() { return i(this, (function(t) { switch (t.label) { case 0: return [4, new a.HttpContentStreamDisassembler(this.payloadSender, e).disassemble()]; case 1: return t.sent(), [2] } })) })) })), [2] } })) })) }, e.prototype.sendCancelStream = function(e) { return n(this, void 0, void 0, (function() { return i(this, (function(t) { return new o.CancelDisassembler(this.payloadSender, e, c.PayloadTypes.cancelStream).disassemble(), [2] })) })) }, e }(); t.SendOperations = l }, function(e, t, r) { "use strict"; function n(e) { for (var r in e) t.hasOwnProperty(r) || (t[r] = e[r]) } Object.defineProperty(t, "__esModule", { value: !0 }), n(r(1624)), n(r(1625)), n(r(342)) }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return s.apply(this, arguments) }; var i = n(r(687)), o = n(r(688)), a = r(322); function s() { return (s = (0, o.default)(i.default.mark((function e(t) { var r, n, o, s; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return r = t.botAgent, n = t.conversationId, o = t.domain, s = t.token, e.abrupt("return", new a.DirectLineStreaming({ botAgent: r, conversationId: n, domain: o, token: s })); case 2: case "end": return e.stop() } }), e) })))).apply(this, arguments) } }, function(e, t) { function r(t) { return "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? e.exports = r = function(e) { return typeof e } : e.exports = r = function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e }, r(t) } e.exports = r }, function(e, t) { e.exports = function() { for (var e = {}, t = 0; t < arguments.length; t++) { var n = arguments[t]; for (var i in n) r.call(n, i) && (e[i] = n[i]) } return e }; var r = Object.prototype.hasOwnProperty }, function(e, t, r) { "use strict"; var n = r(354), i = r(1010); function o() { this.protocol = null, this.slashes = null, this.auth = null, this.host = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.query = null, this.pathname = null, this.path = null, this.href = null } t.parse = g, t.resolve = function(e, t) { return g(e, !1, !0).resolve(t) }, t.resolveObject = function(e, t) { return e ? g(e, !1, !0).resolveObject(t) : t }, t.format = function(e) { i.isString(e) && (e = g(e)); return e instanceof o ? e.format() : o.prototype.format.call(e) }, t.Url = o; var a = /^([a-z0-9.+-]+:)/i, s = /:[0-9]*$/, u = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, c = ["{", "}", "|", "\\", "^", "`"].concat(["<", ">", '"', "`", " ", "\r", "\n", "\t"]), l = ["'"].concat(c), f = ["%", "/", "?", ";", "#"].concat(l), p = ["/", "?", "#"], d = /^[+a-z0-9A-Z_-]{0,63}$/, h = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, v = { javascript: !0, "javascript:": !0 }, m = { javascript: !0, "javascript:": !0 }, y = { http: !0, https: !0, ftp: !0, gopher: !0, file: !0, "http:": !0, "https:": !0, "ftp:": !0, "gopher:": !0, "file:": !0 }, b = r(1011); function g(e, t, r) { if (e && i.isObject(e) && e instanceof o) return e; var n = new o; return n.parse(e, t, r), n } o.prototype.parse = function(e, t, r) { if (!i.isString(e)) throw new TypeError("Parameter 'url' must be a string, not " + typeof e); var o = e.indexOf("?"), s = -1 !== o && o < e.indexOf("#") ? "?" : "#", c = e.split(s); c[0] = c[0].replace(/\\/g, "/"); var g = e = c.join(s); if (g = g.trim(), !r && 1 === e.split("#").length) { var _ = u.exec(g); if (_) return this.path = g, this.href = g, this.pathname = _[1], _[2] ? (this.search = _[2], this.query = t ? b.parse(this.search.substr(1)) : this.search.substr(1)) : t && (this.search = "", this.query = {}), this } var T = a.exec(g); if (T) { var S = (T = T[0]).toLowerCase(); this.protocol = S, g = g.substr(T.length) } if (r || T || g.match(/^\/\/[^@\/]+@[^@\/]+/)) { var A = "//" === g.substr(0, 2); !A || T && m[T] || (g = g.substr(2), this.slashes = !0) } if (!m[T] && (A || T && !y[T])) { for (var E, C, O = -1, w = 0; w < p.length; w++) { -1 !== (I = g.indexOf(p[w])) && (-1 === O || I < O) && (O = I) } - 1 !== (C = -1 === O ? g.lastIndexOf("@") : g.lastIndexOf("@", O)) && (E = g.slice(0, C), g = g.slice(C + 1), this.auth = decodeURIComponent(E)), O = -1; for (w = 0; w < f.length; w++) { var I; - 1 !== (I = g.indexOf(f[w])) && (-1 === O || I < O) && (O = I) } - 1 === O && (O = g.length), this.host = g.slice(0, O), g = g.slice(O), this.parseHost(), this.hostname = this.hostname || ""; var P = "[" === this.hostname[0] && "]" === this.hostname[this.hostname.length - 1]; if (!P) for (var x = this.hostname.split(/\./), N = (w = 0, x.length); w < N; w++) { var k = x[w]; if (k && !k.match(d)) { for (var R = "", L = 0, M = k.length; L < M; L++) k.charCodeAt(L) > 127 ? R += "x" : R += k[L]; if (!R.match(d)) { var j = x.slice(0, w), D = x.slice(w + 1), U = k.match(h); U && (j.push(U[1]), D.unshift(U[2])), D.length && (g = "/" + D.join(".") + g), this.hostname = j.join("."); break } } } this.hostname.length > 255 ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), P || (this.hostname = n.toASCII(this.hostname)); var B = this.port ? ":" + this.port : "", F = this.hostname || ""; this.host = F + B, this.href += this.host, P && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), "/" !== g[0] && (g = "/" + g)) } if (!v[S]) for (w = 0, N = l.length; w < N; w++) { var z = l[w]; if (-1 !== g.indexOf(z)) { var V = encodeURIComponent(z); V === z && (V = escape(z)), g = g.split(z).join(V) } } var G = g.indexOf("#"); - 1 !== G && (this.hash = g.substr(G), g = g.slice(0, G)); var q = g.indexOf("?"); if (-1 !== q ? (this.search = g.substr(q), this.query = g.substr(q + 1), t && (this.query = b.parse(this.query)), g = g.slice(0, q)) : t && (this.search = "", this.query = {}), g && (this.pathname = g), y[S] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) { B = this.pathname || ""; var H = this.search || ""; this.path = B + H } return this.href = this.format(), this }, o.prototype.format = function() { var e = this.auth || ""; e && (e = (e = encodeURIComponent(e)).replace(/%3A/i, ":"), e += "@"); var t = this.protocol || "", r = this.pathname || "", n = this.hash || "", o = !1, a = ""; this.host ? o = e + this.host : this.hostname && (o = e + (-1 === this.hostname.indexOf(":") ? this.hostname : "[" + this.hostname + "]"), this.port && (o += ":" + this.port)), this.query && i.isObject(this.query) && Object.keys(this.query).length && (a = b.stringify(this.query)); var s = this.search || a && "?" + a || ""; return t && ":" !== t.substr(-1) && (t += ":"), this.slashes || (!t || y[t]) && !1 !== o ? (o = "//" + (o || ""), r && "/" !== r.charAt(0) && (r = "/" + r)) : o || (o = ""), n && "#" !== n.charAt(0) && (n = "#" + n), s && "?" !== s.charAt(0) && (s = "?" + s), t + o + (r = r.replace(/[?#]/g, (function(e) { return encodeURIComponent(e) }))) + (s = s.replace("#", "%23")) + n }, o.prototype.resolve = function(e) { return this.resolveObject(g(e, !1, !0)).format() }, o.prototype.resolveObject = function(e) { if (i.isString(e)) { var t = new o; t.parse(e, !1, !0), e = t } for (var r = new o, n = Object.keys(this), a = 0; a < n.length; a++) { var s = n[a]; r[s] = this[s] } if (r.hash = e.hash, "" === e.href) return r.href = r.format(), r; if (e.slashes && !e.protocol) { for (var u = Object.keys(e), c = 0; c < u.length; c++) { var l = u[c]; "protocol" !== l && (r[l] = e[l]) } return y[r.protocol] && r.hostname && !r.pathname && (r.path = r.pathname = "/"), r.href = r.format(), r } if (e.protocol && e.protocol !== r.protocol) { if (!y[e.protocol]) { for (var f = Object.keys(e), p = 0; p < f.length; p++) { var d = f[p]; r[d] = e[d] } return r.href = r.format(), r } if (r.protocol = e.protocol, e.host || m[e.protocol]) r.pathname = e.pathname; else { for (var h = (e.pathname || "").split("/"); h.length && !(e.host = h.shift());); e.host || (e.host = ""), e.hostname || (e.hostname = ""), "" !== h[0] && h.unshift(""), h.length < 2 && h.unshift(""), r.pathname = h.join("/") } if (r.search = e.search, r.query = e.query, r.host = e.host || "", r.auth = e.auth, r.hostname = e.hostname || e.host, r.port = e.port, r.pathname || r.search) { var v = r.pathname || "", b = r.search || ""; r.path = v + b } return r.slashes = r.slashes || e.slashes, r.href = r.format(), r } var g = r.pathname && "/" === r.pathname.charAt(0), _ = e.host || e.pathname && "/" === e.pathname.charAt(0), T = _ || g || r.host && e.pathname, S = T, A = r.pathname && r.pathname.split("/") || [], E = (h = e.pathname && e.pathname.split("/") || [], r.protocol && !y[r.protocol]); if (E && (r.hostname = "", r.port = null, r.host && ("" === A[0] ? A[0] = r.host : A.unshift(r.host)), r.host = "", e.protocol && (e.hostname = null, e.port = null, e.host && ("" === h[0] ? h[0] = e.host : h.unshift(e.host)), e.host = null), T = T && ("" === h[0] || "" === A[0])), _) r.host = e.host || "" === e.host ? e.host : r.host, r.hostname = e.hostname || "" === e.hostname ? e.hostname : r.hostname, r.search = e.search, r.query = e.query, A = h; else if (h.length) A || (A = []), A.pop(), A = A.concat(h), r.search = e.search, r.query = e.query; else if (!i.isNullOrUndefined(e.search)) { if (E) r.hostname = r.host = A.shift(), (P = !!(r.host && r.host.indexOf("@") > 0) && r.host.split("@")) && (r.auth = P.shift(), r.host = r.hostname = P.shift()); return r.search = e.search, r.query = e.query, i.isNull(r.pathname) && i.isNull(r.search) || (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")), r.href = r.format(), r } if (!A.length) return r.pathname = null, r.search ? r.path = "/" + r.search : r.path = null, r.href = r.format(), r; for (var C = A.slice(-1)[0], O = (r.host || e.host || A.length > 1) && ("." === C || ".." === C) || "" === C, w = 0, I = A.length; I >= 0; I--) "." === (C = A[I]) ? A.splice(I, 1) : ".." === C ? (A.splice(I, 1), w++) : w && (A.splice(I, 1), w--); if (!T && !S) for (; w--; w) A.unshift(".."); !T || "" === A[0] || A[0] && "/" === A[0].charAt(0) || A.unshift(""), O && "/" !== A.join("/").substr(-1) && A.push(""); var P, x = "" === A[0] || A[0] && "/" === A[0].charAt(0); E && (r.hostname = r.host = x ? "" : A.length ? A.shift() : "", (P = !!(r.host && r.host.indexOf("@") > 0) && r.host.split("@")) && (r.auth = P.shift(), r.host = r.hostname = P.shift())); return (T = T || r.host && A.length) && !x && A.unshift(""), A.length ? r.pathname = A.join("/") : (r.pathname = null, r.path = null), i.isNull(r.pathname) && i.isNull(r.search) || (r.path = (r.pathname ? r.pathname : "") + (r.search ? r.search : "")), r.auth = e.auth || r.auth, r.slashes = r.slashes || e.slashes, r.href = r.format(), r }, o.prototype.parseHost = function() { var e = this.host, t = s.exec(e); t && (":" !== (t = t[0]) && (this.port = t.substr(1)), e = e.substr(0, e.length - t.length)), e && (this.hostname = e) } }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r) { o.default.render(i.default.createElement(e, t), r) }; var i = n(r(0)), o = n(r(517)) }, function(e, t, r) { var n = r(323), i = r(94), o = r(1512); n || i(Object.prototype, "toString", o, { unsafe: !0 }) }, function(e, t, r) { "use strict"; var n = r(1513).charAt, i = r(110), o = r(361), a = i.set, s = i.getterFor("String Iterator"); o(String, "String", (function(e) { a(this, { type: "String Iterator", string: String(e), index: 0 }) }), (function() { var e, t = s(this), r = t.string, i = t.index; return i >= r.length ? { value: void 0, done: !0 } : (e = n(r, i), t.index += e.length, { value: e, done: !1 }) })) }, function(e, t, r) { var n = r(51), i = r(111), o = "".split; e.exports = n((function() { return !Object("z").propertyIsEnumerable(0) })) ? function(e) { return "String" == i(e) ? o.call(e, "") : Object(e) } : Object }, function(e, t, r) { var n = r(639), i = r(328).concat("length", "prototype"); t.f = Object.getOwnPropertyNames || function(e) { return n(e, i) } }, function(e, t) { t.f = Object.getOwnPropertySymbols }, function(e, t, r) { var n = r(25), i = r(739), o = r(643), a = r(68), s = r(32), u = s("iterator"), c = s("toStringTag"), l = o.values; for (var f in i) { var p = n[f], d = p && p.prototype; if (d) { if (d[u] !== l) try { a(d, u, l) } catch (e) { d[u] = l } if (d[c] || a(d, c, f), i[f]) for (var h in o) if (d[h] !== o[h]) try { a(d, h, o[h]) } catch (e) { d[h] = o[h] } } } }, function(e, t) { e.exports = function(e, t, r) { if (!(e instanceof t)) throw TypeError("Incorrect " + (r ? r + " " : "") + "invocation"); return e } }, function(e, t, r) { var n = r(637), i = r(146), o = r(32)("iterator"); e.exports = function(e) { if (null != e) return e[o] || e["@@iterator"] || i[n(e)] } }, function(e, t, r) { var n = r(32)("iterator"), i = !1; try { var o = 0, a = { next: function() { return { done: !!o++ } }, return: function() { i = !0 } }; a[n] = function() { return this }, Array.from(a, (function() { throw 2 })) } catch (e) {} e.exports = function(e, t) { if (!t && !i) return !1; var r = !1; try { var o = {}; o[n] = function() { return { next: function() { return { done: r = !0 } } } }, e(o) } catch (e) {} return r } }, function(e, t, r) { var n, i, o = r(25), a = r(648), s = o.process, u = s && s.versions, c = u && u.v8; c ? i = (n = c.split("."))[0] + n[1] : a && (!(n = a.match(/Edge\/(\d+)/)) || n[1] >= 74) && (n = a.match(/Chrome\/(\d+)/)) && (i = n[1]), e.exports = i && +i }, function(e, t, r) { e.exports = r(358) }, function(e, t) { function r(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } e.exports = function(e) { return function() { var t = this, n = arguments; return new Promise((function(i, o) { var a = e.apply(t, n); function s(e) { r(a, i, o, s, u, "next", e) } function u(e) { r(a, i, o, s, u, "throw", e) } s(void 0) })) } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(345), i = r(365); function o(e) { return null == e || "" === e } function a(e, t, r) { if (o(t)) return r; for (var n in e) { if (parseInt(n, 10) >= 0) { var i = e[n]; if (i && "string" == typeof i && i.toLowerCase() === t.toLowerCase()) return parseInt(n, 10) } } return r } function s(e, t, r, n) { void 0 === n && (n = void 0), null == r || r === n ? delete e[t] : e[t] = r } function u(e) { var t = /#([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?/gi.exec(e); if (t && t[4]) { var r = parseInt(t[1], 16) / 255; return "rgba(" + parseInt(t[2], 16) + "," + parseInt(t[3], 16) + "," + parseInt(t[4], 16) + "," + r + ")" } return e } function c(e, t) { for (t += 1; t < e.length && "<" == e[t];) for (; t < e.length && ">" != e[t++];); return t } t.generateUniqueId = function() { return "__ac-" + i.UUID.generate() }, t.isNullOrEmpty = o, t.appendChild = function(e, t) { null != t && null != t && e.appendChild(t) }, t.getStringValue = function(e, t) { return void 0 === t && (t = void 0), "string" == typeof e ? e.toString() : t }, t.getNumberValue = function(e, t) { return void 0 === t && (t = void 0), "number" == typeof e ? e : t }, t.getBoolValue = function(e, t) { if ("boolean" == typeof e) return e; if ("string" == typeof e) switch (e.toLowerCase()) { case "true": return !0; case "false": return !1; default: return t } return t }, t.getEnumValue = a, t.setProperty = s, t.setNumberProperty = function(e, t, r, n) { void 0 === n && (n = void 0), null == r || r === n || isNaN(r) ? delete e[t] : e[t] = r }, t.setEnumProperty = function(e, t, r, n, i) { void 0 === i && (i = void 0); var o = t[r], a = null == o || void 0 !== e[o]; n == i || null == n ? a && delete t[r] : t[r] = e[n] }, t.setArrayProperty = function(e, t, r) { var n = []; if (r) for (var i = 0, o = r; i < o.length; i++) { var a = o[i]; n.push(a.toJSON()) } 0 == n.length ? e.hasOwnProperty(t) && Array.isArray(e[t]) && delete e[t] : s(e, t, n) }, t.parseHostConfigEnum = function(e, t, r) { return "string" == typeof t ? a(e, t, r) : "number" == typeof t ? t : r }, t.renderSeparation = function(e, t, r) { if (t.spacing > 0 || t.lineThickness > 0) { var i = document.createElement("div"); return i.className = e.makeCssClassName("ac-" + (r == n.Orientation.Horizontal ? "horizontal" : "vertical") + "-separator"), r == n.Orientation.Horizontal ? t.lineThickness ? (i.style.paddingTop = t.spacing / 2 + "px", i.style.marginBottom = t.spacing / 2 + "px", i.style.borderBottom = t.lineThickness + "px solid " + u(t.lineColor)) : i.style.height = t.spacing + "px" : t.lineThickness ? (i.style.paddingLeft = t.spacing / 2 + "px", i.style.marginRight = t.spacing / 2 + "px", i.style.borderRight = t.lineThickness + "px solid " + u(t.lineColor)) : i.style.width = t.spacing + "px", i.style.overflow = "hidden", i } return null }, t.stringToCssColor = u, t.truncate = function(e, t, r) { var n = function() { return t - e.scrollHeight >= -1 }; if (!n()) { for (var i = e.innerHTML, o = function(t) { e.innerHTML = i.substring(0, t) + "..." }, a = function(e) { var t = [], r = c(e, -1); for (; r < e.length;) " " == e[r] && t.push(r), r = c(e, r); return t }(i), s = 0, u = a.length, l = 0; s < u;) { var f = Math.floor((s + u) / 2); o(a[f]), n() ? (l = a[f], s = f + 1) : u = f } if (o(l), r && t - e.scrollHeight >= r - 1) { for (var p = c(i, l); p < i.length && (o(p), n());) l = p, p = c(i, p); o(l) } } }, t.getFitStatus = function(e, t) { var r = e.offsetTop; return r + e.clientHeight <= t ? n.ContainerFitStatus.FullyInContainer : r < t ? n.ContainerFitStatus.Overflowing : n.ContainerFitStatus.FullyOutOfContainer } }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(113), a = r(46), s = r(9), u = r(1652), c = function() { function e() {} return e.fromDefaultMicrophoneInput = function() { var e = new o.PcmRecorder; return new l(new o.MicAudioSource(e)) }, e.fromMicrophoneInput = function(e) { var t = new o.PcmRecorder; return new l(new o.MicAudioSource(t, e)) }, e.fromWavFileInput = function(e) { return new l(new o.FileAudioSource(e)) }, e.fromStreamInput = function(e) { if (e instanceof s.PullAudioInputStreamCallback) return new l(new u.PullAudioInputStreamImpl(e)); if (e instanceof s.AudioInputStream) return new l(e); throw new Error("Not Supported Type") }, e }(); t.AudioConfig = c; var l = function(e) { function t(t) { var r = e.call(this) || this; return r.privSource = t, r } return i(t, e), Object.defineProperty(t.prototype, "format", { get: function() { return this.privSource.format }, enumerable: !0, configurable: !0 }), t.prototype.close = function() { this.privSource.turnOff() }, t.prototype.id = function() { return this.privSource.id() }, t.prototype.turnOn = function() { return this.privSource.turnOn() }, t.prototype.attach = function(e) { return this.privSource.attach(e) }, t.prototype.detach = function(e) { return this.privSource.detach(e) }, t.prototype.turnOff = function() { return this.privSource.turnOff() }, Object.defineProperty(t.prototype, "events", { get: function() { return this.privSource.events }, enumerable: !0, configurable: !0 }), t.prototype.setProperty = function(e, t) { if (a.Contracts.throwIfNull(t, "value"), void 0 === this.privSource.setProperty) throw new Error("This AudioConfig instance does not support setting properties."); this.privSource.setProperty(e, t) }, t.prototype.getProperty = function(e, t) { if (void 0 !== this.privSource.getProperty) return this.privSource.getProperty(e, t); throw new Error("This AudioConfig instance does not support getting properties.") }, Object.defineProperty(t.prototype, "deviceInfo", { get: function() { return this.privSource.deviceInfo }, enumerable: !0, configurable: !0 }), t }(c); t.AudioConfigImpl = l }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(151); ! function(e) { e[e.Debug = 0] = "Debug", e[e.Info = 1] = "Info", e[e.Warning = 2] = "Warning", e[e.Error = 3] = "Error" }(t.EventType || (t.EventType = {})); var i = function() { function e(e, t) { this.privName = e, this.privEventId = n.createNoDashGuid(), this.privEventTime = (new Date).toISOString(), this.privEventType = t, this.privMetadata = {} } return Object.defineProperty(e.prototype, "name", { get: function() { return this.privName }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "eventId", { get: function() { return this.privEventId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "eventTime", { get: function() { return this.privEventTime }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "eventType", { get: function() { return this.privEventType }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "metadata", { get: function() { return this.privMetadata }, enumerable: !0, configurable: !0 }), e }(); t.PlatformEvent = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n, i = r(92); ! function(e) { e[e.None = 0] = "None", e[e.Resolved = 1] = "Resolved", e[e.Rejected = 2] = "Rejected" }(n = t.PromiseState || (t.PromiseState = {})); var o = function() { function e(e) { var t = this; this.throwIfError = function() { if (t.isError) throw t.error }, e.on((function(e) { t.privIsCompleted || (t.privIsCompleted = !0, t.privIsError = !1, t.privResult = e) }), (function(e) { t.privIsCompleted || (t.privIsCompleted = !0, t.privIsError = !0, t.privError = e) })) } return Object.defineProperty(e.prototype, "isCompleted", { get: function() { return this.privIsCompleted }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isError", { get: function() { return this.privIsError }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "error", { get: function() { return this.privError }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "result", { get: function() { return this.privResult }, enumerable: !0, configurable: !0 }), e }(); t.PromiseResult = o; var a = function() { var e = this; this.setResult = function(t) { e.privOnSetResult(t) }, this.setError = function(t) { e.privOnSetError(t) }, this.on = function(t, r) { e.privOnSetResult = t, e.privOnSetError = r } }; t.PromiseResultEventSource = a; var s = function() { function e() {} return e.whenAll = function(e) { if (!e || 0 === e.length) throw new i.ArgumentNullError("promises"); for (var t = new c, r = [], n = 0, o = function() { ++n === e.length && (0 === r.length ? t.resolve(!0) : t.reject(r.join(", "))) }, a = 0, s = e; a < s.length; a++) { s[a].on((function(e) { o() }), (function(e) { r.push(e), o() })) } return t.promise() }, e.fromResult = function(e) { var t = new c; return t.resolve(e), t.promise() }, e.fromError = function(e) { var t = new c; return t.reject(e), t.promise() }, e }(); t.PromiseHelper = s; var u = function(e) { var t = this; this.result = function() { return t.privSink.result }, this.continueWith = function(e) { if (!e) throw new i.ArgumentNullError("continuationCallback"); var r = new c; return t.privSink.on((function(n) { try { var i = e(t.privSink.result); r.resolve(i) } catch (e) { r.reject(e) } }), (function(n) { try { var i = e(t.privSink.result); r.resolve(i) } catch (e) { r.reject("'Error handler for error " + n + " threw error " + e + "'") } })), r.promise() }, this.onSuccessContinueWith = function(e) { if (!e) throw new i.ArgumentNullError("continuationCallback"); var r = new c; return t.privSink.on((function(t) { try { var n = e(t); r.resolve(n) } catch (e) { r.reject(e) } }), (function(e) { r.reject(e) })), r.promise() }, this.continueWithPromise = function(e) { if (!e) throw new i.ArgumentNullError("continuationCallback"); var r = new c; return t.privSink.on((function(n) { try { var i = e(t.privSink.result); if (!i) throw new Error("'Continuation callback did not return promise'"); i.on((function(e) { r.resolve(e) }), (function(e) { r.reject(e) })) } catch (e) { r.reject(e) } }), (function(n) { try { var i = e(t.privSink.result); if (!i) throw new Error("Continuation callback did not return promise"); i.on((function(e) { r.resolve(e) }), (function(e) { r.reject(e) })) } catch (e) { r.reject("'Error handler for error " + n + " threw error " + e + "'") } })), r.promise() }, this.onSuccessContinueWithPromise = function(e) { if (!e) throw new i.ArgumentNullError("continuationCallback"); var r = new c; return t.privSink.on((function(t) { try { var n = e(t); if (!n) throw new Error("Continuation callback did not return promise"); n.on((function(e) { r.resolve(e) }), (function(e) { r.reject(e) })) } catch (e) { r.reject(e) } }), (function(e) { r.reject(e) })), r.promise() }, this.on = function(e, r) { if (!e) throw new i.ArgumentNullError("successCallback"); if (!r) throw new i.ArgumentNullError("errorCallback"); return t.privSink.on(e, r), t }, this.finally = function(e) { if (!e) throw new i.ArgumentNullError("callback"); var r = function(t) { e() }; return t.on(r, r) }, this.privSink = e }; t.Promise = u; var c = function() { var e = this; this.state = function() { return e.privSink.state }, this.promise = function() { return e.privPromise }, this.resolve = function(t) { return e.privSink.resolve(t), e }, this.reject = function(t) { return e.privSink.reject(t), e }, this.privSink = new l, this.privPromise = new u(this.privSink) }; t.Deferred = c; var l = function() { function e() { var e = this; this.privState = n.None, this.privPromiseResult = null, this.privPromiseResultEvents = null, this.privSuccessHandlers = [], this.privErrorHandlers = [], this.resolve = function(t) { if (e.privState !== n.None) throw new Error("'Cannot resolve a completed promise'"); e.privState = n.Resolved, e.privPromiseResultEvents.setResult(t); for (var r = 0; r < e.privSuccessHandlers.length; r++) e.executeSuccessCallback(t, e.privSuccessHandlers[r], e.privErrorHandlers[r]); e.detachHandlers() }, this.reject = function(t) { if (e.privState !== n.None) throw new Error("'Cannot reject a completed promise'"); e.privState = n.Rejected, e.privPromiseResultEvents.setError(t); for (var r = 0, i = e.privErrorHandlers; r < i.length; r++) { var o = i[r]; e.executeErrorCallback(t, o) } e.detachHandlers() }, this.on = function(t, r) { null == t && (t = function(e) {}), e.privState === n.None ? (e.privSuccessHandlers.push(t), e.privErrorHandlers.push(r)) : (e.privState === n.Resolved ? e.executeSuccessCallback(e.privPromiseResult.result, t, r) : e.privState === n.Rejected && e.executeErrorCallback(e.privPromiseResult.error, r), e.detachHandlers()) }, this.executeSuccessCallback = function(t, r, n) { try { r(t) } catch (t) { e.executeErrorCallback("'Unhandled callback error: " + t + "'", n) } }, this.executeErrorCallback = function(e, t) { if (!t) throw new Error("'Unhandled error: " + e + "'"); try { t(e) } catch (t) { throw new Error("'Unhandled callback error: " + t + ". InnerError: " + e + "'") } }, this.detachHandlers = function() { e.privErrorHandlers = [], e.privSuccessHandlers = [] }, this.privPromiseResultEvents = new a, this.privPromiseResult = new o(this.privPromiseResultEvents) } return Object.defineProperty(e.prototype, "state", { get: function() { return this.privState }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "result", { get: function() { return this.privPromiseResult }, enumerable: !0, configurable: !0 }), e }(); t.Sink = l }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.Success = 0] = "Success", e[e.Error = 1] = "Error" }(t.TranslationStatus || (t.TranslationStatus = {})) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e, t) { this.privHeaderName = e, this.privToken = t } return Object.defineProperty(e.prototype, "headerName", { get: function() { return this.privHeaderName }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "token", { get: function() { return this.privToken }, enumerable: !0, configurable: !0 }), e }(); t.AuthInfo = n }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(46), a = r(9), s = function() {}; t.DialogServiceConfig = s; var u = function(e) { function t() { var t = e.call(this) || this; return t.privSpeechConfig = new a.SpeechConfigImpl, t } return i(t, e), Object.defineProperty(t.prototype, "properties", { get: function() { return this.privSpeechConfig.properties }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "speechRecognitionLanguage", { get: function() { return this.privSpeechConfig.speechRecognitionLanguage }, set: function(e) { o.Contracts.throwIfNullOrWhitespace(e, "value"), this.privSpeechConfig.speechRecognitionLanguage = e }, enumerable: !0, configurable: !0 }), t.prototype.setProperty = function(e, t) { this.privSpeechConfig.setProperty(e, t) }, t.prototype.getProperty = function(e, t) { return this.privSpeechConfig.getProperty(e) }, t.prototype.setProxy = function(e, t, r, n) { this.setProperty(a.PropertyId.SpeechServiceConnection_ProxyHostName, e), this.setProperty(a.PropertyId.SpeechServiceConnection_ProxyPort, "" + t), r && this.setProperty(a.PropertyId.SpeechServiceConnection_ProxyUserName, r), n && this.setProperty(a.PropertyId.SpeechServiceConnection_ProxyPassword, n) }, t.prototype.setServiceProperty = function(e, t, r) { this.privSpeechConfig.setServiceProperty(e, t, r) }, t.prototype.close = function() {}, t }(s); t.DialogServiceConfigImpl = u }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(28), a = function(e) { function t(t, r, n, i) { void 0 === i && (i = o.EventType.Info); var a = e.call(this, t, i) || this; return a.privRequestId = r, a.privSessionId = n, a } return i(t, e), Object.defineProperty(t.prototype, "requestId", { get: function() { return this.privRequestId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "sessionId", { get: function() { return this.privSessionId }, enumerable: !0, configurable: !0 }), t }(o.PlatformEvent); t.SpeechRecognitionEvent = a; var s = function(e) { function t(t, r, n, i) { var o = e.call(this, "RecognitionTriggeredEvent", t, r) || this; return o.privAudioSourceId = n, o.privAudioNodeId = i, o } return i(t, e), Object.defineProperty(t.prototype, "audioSourceId", { get: function() { return this.privAudioSourceId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "audioNodeId", { get: function() { return this.privAudioNodeId }, enumerable: !0, configurable: !0 }), t }(a); t.RecognitionTriggeredEvent = s; var u = function(e) { function t(t, r, n, i) { var o = e.call(this, "ListeningStartedEvent", t, r) || this; return o.privAudioSourceId = n, o.privAudioNodeId = i, o } return i(t, e), Object.defineProperty(t.prototype, "audioSourceId", { get: function() { return this.privAudioSourceId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "audioNodeId", { get: function() { return this.privAudioNodeId }, enumerable: !0, configurable: !0 }), t }(a); t.ListeningStartedEvent = u; var c = function(e) { function t(t, r, n) { var i = e.call(this, "ConnectingToServiceEvent", t, n) || this; return i.privAuthFetchEventid = r, i } return i(t, e), Object.defineProperty(t.prototype, "authFetchEventid", { get: function() { return this.privAuthFetchEventid }, enumerable: !0, configurable: !0 }), t }(a); t.ConnectingToServiceEvent = c; var l, f = function(e) { function t(t, r, n, i, o) { var a = e.call(this, "RecognitionStartedEvent", t, o) || this; return a.privAudioSourceId = r, a.privAudioNodeId = n, a.privAuthFetchEventId = i, a } return i(t, e), Object.defineProperty(t.prototype, "audioSourceId", { get: function() { return this.privAudioSourceId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "audioNodeId", { get: function() { return this.privAudioNodeId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "authFetchEventId", { get: function() { return this.privAuthFetchEventId }, enumerable: !0, configurable: !0 }), t }(a); t.RecognitionStartedEvent = f, function(e) { e[e.Success = 0] = "Success", e[e.AudioSourceError = 1] = "AudioSourceError", e[e.AudioSourceTimeout = 2] = "AudioSourceTimeout", e[e.AuthTokenFetchError = 3] = "AuthTokenFetchError", e[e.AuthTokenFetchTimeout = 4] = "AuthTokenFetchTimeout", e[e.UnAuthorized = 5] = "UnAuthorized", e[e.ConnectTimeout = 6] = "ConnectTimeout", e[e.ConnectError = 7] = "ConnectError", e[e.ClientRecognitionActivityTimeout = 8] = "ClientRecognitionActivityTimeout", e[e.UnknownError = 9] = "UnknownError" }(l = t.RecognitionCompletionStatus || (t.RecognitionCompletionStatus = {})); var p = function(e) { function t(t, r, n, i, a, s, u, c) { var f = e.call(this, "RecognitionEndedEvent", t, a, u === l.Success ? o.EventType.Info : o.EventType.Error) || this; return f.privAudioSourceId = r, f.privAudioNodeId = n, f.privAuthFetchEventId = i, f.privStatus = u, f.privError = c, f.privServiceTag = s, f } return i(t, e), Object.defineProperty(t.prototype, "audioSourceId", { get: function() { return this.privAudioSourceId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "audioNodeId", { get: function() { return this.privAudioNodeId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "authFetchEventId", { get: function() { return this.privAuthFetchEventId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "serviceTag", { get: function() { return this.privServiceTag }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "status", { get: function() { return this.privStatus }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "error", { get: function() { return this.privError }, enumerable: !0, configurable: !0 }), t }(a); t.RecognitionEndedEvent = p }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e, t) { void 0 === e && (e = []), this.participants = e, this.meId = t } return e.prototype.addOrUpdateParticipant = function(e) { if (void 0 !== e) { var t = this.getParticipantIndex(e.id); return t > -1 ? this.participants.splice(t, 1, e) : this.participants.push(e), this.getParticipant(e.id) } }, e.prototype.getParticipantIndex = function(e) { return this.participants.findIndex((function(t) { return t.id === e })) }, e.prototype.getParticipant = function(e) { return this.participants.find((function(t) { return t.id === e })) }, e.prototype.deleteParticipant = function(e) { this.participants = this.participants.filter((function(t) { return t.id !== e })) }, Object.defineProperty(e.prototype, "host", { get: function() { return this.participants.find((function(e) { return !0 === e.isHost })) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "me", { get: function() { return this.getParticipant(this.meId) }, enumerable: !0, configurable: !0 }), e }(); t.InternalParticipants = n, t.ConversationTranslatorMessageTypes = { command: "command", final: "final", info: "info", instantMessage: "instant_message", partial: "partial", participantCommand: "participant_command", translatedMessage: "translated_message" }, t.ConversationTranslatorCommandTypes = { changeNickname: "ChangeNickname", disconnectSession: "DisconnectSession", ejectParticipant: "EjectParticipant", instant_message: "instant_message", joinSession: "JoinSession", leaveSession: "LeaveSession", participantList: "ParticipantList", roomExpirationWarning: "RoomExpirationWarning", setLockState: "SetLockState", setMute: "SetMute", setMuteAll: "SetMuteAll", setProfanityFiltering: "SetProfanityFiltering", setTranslateToLanguages: "SetTranslateToLanguages", setUseTTS: "SetUseTTS" } }, function(e, t, r) { var n = r(1876); e.exports = function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && n(e, t) } }, function(e, t, r) { var n = r(1665), i = r(1877); e.exports = function(e, t) { return !t || "object" !== n(t) && "function" != typeof t ? i(e) : t } }, function(e, t) { function r(t) { return e.exports = r = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) }, r(t) } e.exports = r }, function(e, t) { e.exports = function(e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var i = t[n] = { i: n, l: !1, exports: {} }; return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } return r.m = e, r.c = t, r.d = function(e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }, r.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, r.t = function(e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var i in e) r.d(n, i, function(t) { return e[t] }.bind(null, i)); return n }, r.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return r.d(t, "a", t), t }, r.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, r.p = "", r(r.s = 0) }([function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } r.r(t), r.d(t, "defineEventAttribute", (function() { return y })), r.d(t, "EventTarget", (function() { return _ })); var i = new WeakMap, o = new WeakMap; function a(e) { var t = i.get(e); return console.assert(null != t, "'this' is expected an Event object, but got", e), t } function s(e) { null == e.passiveListener ? e.event.cancelable && (e.canceled = !0, "function" == typeof e.event.preventDefault && e.event.preventDefault()) : "undefined" != typeof console && "function" == typeof console.error && console.error("Unable to preventDefault inside passive event listener invocation.", e.passiveListener) } function u(e, t) { i.set(this, { eventTarget: e, event: t, eventPhase: 2, currentTarget: e, canceled: !1, stopped: !1, immediateStopped: !1, passiveListener: null, timeStamp: t.timeStamp || Date.now() }), Object.defineProperty(this, "isTrusted", { value: !1, enumerable: !0 }); for (var r = Object.keys(t), n = 0; n < r.length; ++n) { var o = r[n]; o in this || Object.defineProperty(this, o, c(o)) } } function c(e) { return { get: function() { return a(this).event[e] }, set: function(t) { a(this).event[e] = t }, configurable: !0, enumerable: !0 } } function l(e) { return { value: function() { var t = a(this).event; return t[e].apply(t, arguments) }, configurable: !0, enumerable: !0 } } function f(e) { if (null == e || e === Object.prototype) return u; var t = o.get(e); return null == t && (t = function(e, t) { var r = Object.keys(t); if (0 === r.length) return e; function n(t, r) { e.call(this, t, r) } n.prototype = Object.create(e.prototype, { constructor: { value: n, configurable: !0, writable: !0 } }); for (var i = 0; i < r.length; ++i) { var o = r[i]; if (!(o in e.prototype)) { var a = "function" == typeof Object.getOwnPropertyDescriptor(t, o).value; Object.defineProperty(n.prototype, o, a ? l(o) : c(o)) } } return n }(f(Object.getPrototypeOf(e)), e), o.set(e, t)), t } function p(e) { return a(e).immediateStopped } function d(e, t) { a(e).passiveListener = t } u.prototype = { get type() { return a(this).event.type }, get target() { return a(this).eventTarget }, get currentTarget() { return a(this).currentTarget }, composedPath: function() { var e = a(this).currentTarget; return null == e ? [] : [e] }, get NONE() { return 0 }, get CAPTURING_PHASE() { return 1 }, get AT_TARGET() { return 2 }, get BUBBLING_PHASE() { return 3 }, get eventPhase() { return a(this).eventPhase }, stopPropagation: function() { var e = a(this); e.stopped = !0, "function" == typeof e.event.stopPropagation && e.event.stopPropagation() }, stopImmediatePropagation: function() { var e = a(this); e.stopped = !0, e.immediateStopped = !0, "function" == typeof e.event.stopImmediatePropagation && e.event.stopImmediatePropagation() }, get bubbles() { return Boolean(a(this).event.bubbles) }, get cancelable() { return Boolean(a(this).event.cancelable) }, preventDefault: function() { s(a(this)) }, get defaultPrevented() { return a(this).canceled }, get composed() { return Boolean(a(this).event.composed) }, get timeStamp() { return a(this).timeStamp }, get srcElement() { return a(this).eventTarget }, get cancelBubble() { return a(this).stopped }, set cancelBubble(e) { if (e) { var t = a(this); t.stopped = !0, "boolean" == typeof t.event.cancelBubble && (t.event.cancelBubble = !0) } }, get returnValue() { return !a(this).canceled }, set returnValue(e) { e || s(a(this)) }, initEvent: function() {} }, Object.defineProperty(u.prototype, "constructor", { value: u, configurable: !0, writable: !0 }), "undefined" != typeof window && void 0 !== window.Event && (Object.setPrototypeOf(u.prototype, window.Event.prototype), o.set(window.Event.prototype, u)); var h = new WeakMap; function v(e) { return null !== e && "object" === n(e) } function m(e) { var t = h.get(e); if (null == t) throw new TypeError("'this' is expected an EventTarget object, but got another value."); return t } function y(e, t) { Object.defineProperty(e, "on".concat(t), function(e) { return { get: function() { for (var t = m(this).get(e); null != t;) { if (3 === t.listenerType) return t.listener; t = t.next } return null }, set: function(t) { "function" == typeof t || v(t) || (t = null); for (var r = m(this), n = null, i = r.get(e); null != i;) 3 === i.listenerType ? null !== n ? n.next = i.next : null !== i.next ? r.set(e, i.next) : r.delete(e) : n = i, i = i.next; if (null !== t) { var o = { listener: t, listenerType: 3, passive: !1, once: !1, next: null }; null === n ? r.set(e, o) : n.next = o } }, configurable: !0, enumerable: !0 } }(t)) } function b(e) { function t() { g.call(this) } t.prototype = Object.create(g.prototype, { constructor: { value: t, configurable: !0, writable: !0 } }); for (var r = 0; r < e.length; ++r) y(t.prototype, e[r]); return t } function g() { if (!(this instanceof g)) { if (1 === arguments.length && Array.isArray(arguments[0])) return b(arguments[0]); if (arguments.length > 0) { for (var e = new Array(arguments.length), t = 0; t < arguments.length; ++t) e[t] = arguments[t]; return b(e) } throw new TypeError("Cannot call a class as a function") } h.set(this, new Map) } g.prototype = { addEventListener: function(e, t, r) { if (null != t) { if ("function" != typeof t && !v(t)) throw new TypeError("'listener' should be a function or an object."); var n = m(this), i = v(r), o = (i ? Boolean(r.capture) : Boolean(r)) ? 1 : 2, a = { listener: t, listenerType: o, passive: i && Boolean(r.passive), once: i && Boolean(r.once), next: null }, s = n.get(e); if (void 0 !== s) { for (var u = null; null != s;) { if (s.listener === t && s.listenerType === o) return; u = s, s = s.next } u.next = a } else n.set(e, a) } }, removeEventListener: function(e, t, r) { if (null != t) for (var n = m(this), i = (v(r) ? Boolean(r.capture) : Boolean(r)) ? 1 : 2, o = null, a = n.get(e); null != a;) { if (a.listener === t && a.listenerType === i) return void(null !== o ? o.next = a.next : null !== a.next ? n.set(e, a.next) : n.delete(e)); o = a, a = a.next } }, dispatchEvent: function(e) { if (null == e || "string" != typeof e.type) throw new TypeError('"event.type" should be a string.'); var t = m(this), r = e.type, n = t.get(r); if (null == n) return !0; for (var i = function(e, t) { return new(f(Object.getPrototypeOf(t)))(e, t) }(this, e), o = null; null != n;) { if (n.once ? null !== o ? o.next = n.next : null !== n.next ? t.set(r, n.next) : t.delete(r) : o = n, d(i, n.passive ? n.listener : null), "function" == typeof n.listener) try { n.listener.call(this, i) } catch (e) { "undefined" != typeof console && "function" == typeof console.error && console.error(e) } else 3 !== n.listenerType && "function" == typeof n.listener.handleEvent && n.listener.handleEvent(i); if (p(i)) break; n = n.next } return d(i, null), function(e, t) { a(e).eventPhase = t }(i, 0), function(e, t) { a(e).currentTarget = t }(i, null), !i.defaultPrevented } }, Object.defineProperty(g.prototype, "constructor", { value: g, configurable: !0, writable: !0 }), "undefined" != typeof window && void 0 !== window.EventTarget && Object.setPrototypeOf(g.prototype, window.EventTarget.prototype); var _ = g; t.default = _ }]) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(113); r(28).Events.instance.attachListener(new n.ConsoleLoggingListener), function(e) { for (var r in e) t.hasOwnProperty(r) || (t[r] = e[r]) }(r(9)) }, function(e, t, r) { var n = r(76), i = r(1672).f, o = r(154), a = r(368), s = r(706), u = r(1909), c = r(1915); e.exports = function(e, t) { var r, l, f, p, d, h = e.target, v = e.global, m = e.stat; if (r = v ? n : m ? n[h] || s(h, {}) : (n[h] || {}).prototype) for (l in t) { if (p = t[l], f = e.noTargetGet ? (d = i(r, l)) && d.value : r[l], !c(v ? l : h + (m ? "." : "#") + l, e.forced) && void 0 !== f) { if (typeof p == typeof f) continue; u(p, f) }(e.sham || f && f.sham) && o(p, "sham", !0), a(r, l, p, e) } } }, function(e, t) { e.exports = function(e, t) { return { enumerable: !(1 & e), configurable: !(2 & e), writable: !(4 & e), value: t } } }, function(e, t) { e.exports = function(e) { if (null == e) throw TypeError("Can't call method on " + e); return e } }, function(e, t, r) { var n = r(76), i = r(154); e.exports = function(e, t) { try { i(n, e, t) } catch (r) { n[e] = t } return t } }, function(e, t, r) { var n = r(1680), i = r(1681), o = n("keys"); e.exports = function(e) { return o[e] || (o[e] = i(e)) } }, function(e, t) { e.exports = !1 }, function(e, t) { e.exports = {} }, function(e, t, r) { var n = r(370), i = r(76), o = function(e) { return "function" == typeof e ? e : void 0 }; e.exports = function(e, t) { return arguments.length < 2 ? o(n[e]) || o(i[e]) : n[e] && n[e][t] || i[e] && i[e][t] } }, function(e, t) { var r = Math.ceil, n = Math.floor; e.exports = function(e) { return isNaN(e = +e) ? 0 : (e > 0 ? n : r)(e) } }, function(e, t) { e.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"] }, function(e, t, r) { var n = r(1685); function i() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return i = function() { return e }, e } e.exports = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = i(); if (t && t.has(e)) return t.get(e); var r = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var a in e) if (Object.prototype.hasOwnProperty.call(e, a)) { var s = o ? Object.getOwnPropertyDescriptor(e, a) : null; s && (s.get || s.set) ? Object.defineProperty(r, a, s) : r[a] = e[a] } return r.default = e, t && t.set(e, r), r } }, function(e, t, r) { var n = r(1920); e.exports = function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && n(e, t) } }, function(e, t, r) { var n = r(1685), i = r(1921); e.exports = function(e, t) { return !t || "object" !== n(t) && "function" != typeof t ? i(e) : t } }, function(e, t) { function r(t) { return e.exports = r = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) }, r(t) } e.exports = r }, function(e, t) { e.exports = function(e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var i = t[n] = { i: n, l: !1, exports: {} }; return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } return r.m = e, r.c = t, r.d = function(e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }, r.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, r.t = function(e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var i in e) r.d(n, i, function(t) { return e[t] }.bind(null, i)); return n }, r.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return r.d(t, "a", t), t }, r.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, r.p = "", r(r.s = 0) }([function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } r.r(t), r.d(t, "defineEventAttribute", (function() { return y })), r.d(t, "EventTarget", (function() { return _ })); var i = new WeakMap, o = new WeakMap; function a(e) { var t = i.get(e); return console.assert(null != t, "'this' is expected an Event object, but got", e), t } function s(e) { null == e.passiveListener ? e.event.cancelable && (e.canceled = !0, "function" == typeof e.event.preventDefault && e.event.preventDefault()) : "undefined" != typeof console && "function" == typeof console.error && console.error("Unable to preventDefault inside passive event listener invocation.", e.passiveListener) } function u(e, t) { i.set(this, { eventTarget: e, event: t, eventPhase: 2, currentTarget: e, canceled: !1, stopped: !1, immediateStopped: !1, passiveListener: null, timeStamp: t.timeStamp || Date.now() }), Object.defineProperty(this, "isTrusted", { value: !1, enumerable: !0 }); for (var r = Object.keys(t), n = 0; n < r.length; ++n) { var o = r[n]; o in this || Object.defineProperty(this, o, c(o)) } } function c(e) { return { get: function() { return a(this).event[e] }, set: function(t) { a(this).event[e] = t }, configurable: !0, enumerable: !0 } } function l(e) { return { value: function() { var t = a(this).event; return t[e].apply(t, arguments) }, configurable: !0, enumerable: !0 } } function f(e) { if (null == e || e === Object.prototype) return u; var t = o.get(e); return null == t && (t = function(e, t) { var r = Object.keys(t); if (0 === r.length) return e; function n(t, r) { e.call(this, t, r) } n.prototype = Object.create(e.prototype, { constructor: { value: n, configurable: !0, writable: !0 } }); for (var i = 0; i < r.length; ++i) { var o = r[i]; if (!(o in e.prototype)) { var a = "function" == typeof Object.getOwnPropertyDescriptor(t, o).value; Object.defineProperty(n.prototype, o, a ? l(o) : c(o)) } } return n }(f(Object.getPrototypeOf(e)), e), o.set(e, t)), t } function p(e) { return a(e).immediateStopped } function d(e, t) { a(e).passiveListener = t } u.prototype = { get type() { return a(this).event.type }, get target() { return a(this).eventTarget }, get currentTarget() { return a(this).currentTarget }, composedPath: function() { var e = a(this).currentTarget; return null == e ? [] : [e] }, get NONE() { return 0 }, get CAPTURING_PHASE() { return 1 }, get AT_TARGET() { return 2 }, get BUBBLING_PHASE() { return 3 }, get eventPhase() { return a(this).eventPhase }, stopPropagation: function() { var e = a(this); e.stopped = !0, "function" == typeof e.event.stopPropagation && e.event.stopPropagation() }, stopImmediatePropagation: function() { var e = a(this); e.stopped = !0, e.immediateStopped = !0, "function" == typeof e.event.stopImmediatePropagation && e.event.stopImmediatePropagation() }, get bubbles() { return Boolean(a(this).event.bubbles) }, get cancelable() { return Boolean(a(this).event.cancelable) }, preventDefault: function() { s(a(this)) }, get defaultPrevented() { return a(this).canceled }, get composed() { return Boolean(a(this).event.composed) }, get timeStamp() { return a(this).timeStamp }, get srcElement() { return a(this).eventTarget }, get cancelBubble() { return a(this).stopped }, set cancelBubble(e) { if (e) { var t = a(this); t.stopped = !0, "boolean" == typeof t.event.cancelBubble && (t.event.cancelBubble = !0) } }, get returnValue() { return !a(this).canceled }, set returnValue(e) { e || s(a(this)) }, initEvent: function() {} }, Object.defineProperty(u.prototype, "constructor", { value: u, configurable: !0, writable: !0 }), "undefined" != typeof window && void 0 !== window.Event && (Object.setPrototypeOf(u.prototype, window.Event.prototype), o.set(window.Event.prototype, u)); var h = new WeakMap; function v(e) { return null !== e && "object" === n(e) } function m(e) { var t = h.get(e); if (null == t) throw new TypeError("'this' is expected an EventTarget object, but got another value."); return t } function y(e, t) { Object.defineProperty(e, "on".concat(t), function(e) { return { get: function() { for (var t = m(this).get(e); null != t;) { if (3 === t.listenerType) return t.listener; t = t.next } return null }, set: function(t) { "function" == typeof t || v(t) || (t = null); for (var r = m(this), n = null, i = r.get(e); null != i;) 3 === i.listenerType ? null !== n ? n.next = i.next : null !== i.next ? r.set(e, i.next) : r.delete(e) : n = i, i = i.next; if (null !== t) { var o = { listener: t, listenerType: 3, passive: !1, once: !1, next: null }; null === n ? r.set(e, o) : n.next = o } }, configurable: !0, enumerable: !0 } }(t)) } function b(e) { function t() { g.call(this) } t.prototype = Object.create(g.prototype, { constructor: { value: t, configurable: !0, writable: !0 } }); for (var r = 0; r < e.length; ++r) y(t.prototype, e[r]); return t } function g() { if (!(this instanceof g)) { if (1 === arguments.length && Array.isArray(arguments[0])) return b(arguments[0]); if (arguments.length > 0) { for (var e = new Array(arguments.length), t = 0; t < arguments.length; ++t) e[t] = arguments[t]; return b(e) } throw new TypeError("Cannot call a class as a function") } h.set(this, new Map) } g.prototype = { addEventListener: function(e, t, r) { if (null != t) { if ("function" != typeof t && !v(t)) throw new TypeError("'listener' should be a function or an object."); var n = m(this), i = v(r), o = (i ? Boolean(r.capture) : Boolean(r)) ? 1 : 2, a = { listener: t, listenerType: o, passive: i && Boolean(r.passive), once: i && Boolean(r.once), next: null }, s = n.get(e); if (void 0 !== s) { for (var u = null; null != s;) { if (s.listener === t && s.listenerType === o) return; u = s, s = s.next } u.next = a } else n.set(e, a) } }, removeEventListener: function(e, t, r) { if (null != t) for (var n = m(this), i = (v(r) ? Boolean(r.capture) : Boolean(r)) ? 1 : 2, o = null, a = n.get(e); null != a;) { if (a.listener === t && a.listenerType === i) return void(null !== o ? o.next = a.next : null !== a.next ? n.set(e, a.next) : n.delete(e)); o = a, a = a.next } }, dispatchEvent: function(e) { if (null == e || "string" != typeof e.type) throw new TypeError('"event.type" should be a string.'); var t = m(this), r = e.type, n = t.get(r); if (null == n) return !0; for (var i = function(e, t) { return new(f(Object.getPrototypeOf(t)))(e, t) }(this, e), o = null; null != n;) { if (n.once ? null !== o ? o.next = n.next : null !== n.next ? t.set(r, n.next) : t.delete(r) : o = n, d(i, n.passive ? n.listener : null), "function" == typeof n.listener) try { n.listener.call(this, i) } catch (e) { "undefined" != typeof console && "function" == typeof console.error && console.error(e) } else 3 !== n.listenerType && "function" == typeof n.listener.handleEvent && n.listener.handleEvent(i); if (p(i)) break; n = n.next } return d(i, null), function(e, t) { a(e).eventPhase = t }(i, 0), function(e, t) { a(e).currentTarget = t }(i, null), !i.defaultPrevented } }, Object.defineProperty(g.prototype, "constructor", { value: g, configurable: !0, writable: !0 }), "undefined" != typeof window && void 0 !== window.EventTarget && Object.setPrototypeOf(g.prototype, window.EventTarget.prototype); var _ = g; t.default = _ }]) }, function(e, t) { e.exports = function(e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var i = t[n] = { i: n, l: !1, exports: {} }; return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } return r.m = e, r.c = t, r.d = function(e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }, r.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, r.t = function(e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var i in e) r.d(n, i, function(t) { return e[t] }.bind(null, i)); return n }, r.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return r.d(t, "a", t), t }, r.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, r.p = "", r(r.s = 1) }([function(e, t, r) { "use strict"; e.exports = function() { var e = {}; return e.promise = new Promise((function(t, r) { e.resolve = t, e.reject = r })), e } }, function(e, t, r) { "use strict"; r.r(t); var n = r(0), i = r.n(n); t.default = i.a }]) }, function(e, t, r) { var n = {}; n[r(77)("toStringTag")] = "z", e.exports = "[object z]" === String(n) }, function(e) { e.exports = JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}') }, function(e, t) { e.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]/ }, function(e, t, r) { "use strict"; function n() { this.__rules__ = [], this.__cache__ = null } n.prototype.__find__ = function(e) { for (var t = 0; t < this.__rules__.length; t++) if (this.__rules__[t].name === e) return t; return -1 }, n.prototype.__compile__ = function() { var e = this, t = [""]; e.__rules__.forEach((function(e) { e.enabled && e.alt.forEach((function(e) { t.indexOf(e) < 0 && t.push(e) })) })), e.__cache__ = {}, t.forEach((function(t) { e.__cache__[t] = [], e.__rules__.forEach((function(r) { r.enabled && (t && r.alt.indexOf(t) < 0 || e.__cache__[t].push(r.fn)) })) })) }, n.prototype.at = function(e, t, r) { var n = this.__find__(e), i = r || {}; if (-1 === n) throw new Error("Parser rule not found: " + e); this.__rules__[n].fn = t, this.__rules__[n].alt = i.alt || [], this.__cache__ = null }, n.prototype.before = function(e, t, r, n) { var i = this.__find__(e), o = n || {}; if (-1 === i) throw new Error("Parser rule not found: " + e); this.__rules__.splice(i, 0, { name: t, enabled: !0, fn: r, alt: o.alt || [] }), this.__cache__ = null }, n.prototype.after = function(e, t, r, n) { var i = this.__find__(e), o = n || {}; if (-1 === i) throw new Error("Parser rule not found: " + e); this.__rules__.splice(i + 1, 0, { name: t, enabled: !0, fn: r, alt: o.alt || [] }), this.__cache__ = null }, n.prototype.push = function(e, t, r) { var n = r || {}; this.__rules__.push({ name: e, enabled: !0, fn: t, alt: n.alt || [] }), this.__cache__ = null }, n.prototype.enable = function(e, t) { Array.isArray(e) || (e = [e]); var r = []; return e.forEach((function(e) { var n = this.__find__(e); if (n < 0) { if (t) return; throw new Error("Rules manager: invalid rule name " + e) } this.__rules__[n].enabled = !0, r.push(e) }), this), this.__cache__ = null, r }, n.prototype.enableOnly = function(e, t) { Array.isArray(e) || (e = [e]), this.__rules__.forEach((function(e) { e.enabled = !1 })), this.enable(e, t) }, n.prototype.disable = function(e, t) { Array.isArray(e) || (e = [e]); var r = []; return e.forEach((function(e) { var n = this.__find__(e); if (n < 0) { if (t) return; throw new Error("Rules manager: invalid rule name " + e) } this.__rules__[n].enabled = !1, r.push(e) }), this), this.__cache__ = null, r }, n.prototype.getRules = function(e) { return null === this.__cache__ && this.__compile__(), this.__cache__[e] || [] }, e.exports = n }, function(e, t, r) { "use strict"; function n(e, t, r) { this.type = e, this.tag = t, this.attrs = null, this.map = null, this.nesting = r, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1 } n.prototype.attrIndex = function(e) { var t, r, n; if (!this.attrs) return -1; for (r = 0, n = (t = this.attrs).length; r < n; r++) if (t[r][0] === e) return r; return -1 }, n.prototype.attrPush = function(e) { this.attrs ? this.attrs.push(e) : this.attrs = [e] }, n.prototype.attrSet = function(e, t) { var r = this.attrIndex(e), n = [e, t]; r < 0 ? this.attrPush(n) : this.attrs[r] = n }, n.prototype.attrGet = function(e) { var t = this.attrIndex(e), r = null; return t >= 0 && (r = this.attrs[t][1]), r }, n.prototype.attrJoin = function(e, t) { var r = this.attrIndex(e); r < 0 ? this.attrPush([e, t]) : this.attrs[r][1] = this.attrs[r][1] + " " + t }, e.exports = n }, function(e, t, r) { "use strict"; var n; t.__esModule = !0, t.default = void 0; var i = function(e) { var t, r; function n(t) { var r; return (r = e.call(this, t) || this).type = "decl", r } return r = e, (t = n).prototype = Object.create(r.prototype), t.prototype.constructor = t, t.__proto__ = r, n }(((n = r(725)) && n.__esModule ? n : { default: n }).default); t.default = i, e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = a(r(1722)), i = a(r(1723)), o = a(r(726)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = function() { function e(e) { for (var t in void 0 === e && (e = {}), this.raws = {}, e) this[t] = e[t] } var t = e.prototype; return t.error = function(e, t) { if (void 0 === t && (t = {}), this.source) { var r = this.positionBy(t); return this.source.input.error(e, r.line, r.column, t) } return new n.default(e) }, t.warn = function(e, t, r) { var n = { node: this }; for (var i in r) n[i] = r[i]; return e.warn(t, n) }, t.remove = function() { return this.parent && this.parent.removeChild(this), this.parent = void 0, this }, t.toString = function(e) { void 0 === e && (e = o.default), e.stringify && (e = e.stringify); var t = ""; return e(this, (function(e) { t += e })), t }, t.clone = function(e) { void 0 === e && (e = {}); var t = function e(t, r) { var n = new t.constructor; for (var i in t) if (t.hasOwnProperty(i)) { var o = t[i], a = typeof o; "parent" === i && "object" === a ? r && (n[i] = r) : "source" === i ? n[i] = o : o instanceof Array ? n[i] = o.map((function(t) { return e(t, n) })) : ("object" === a && null !== o && (o = e(o)), n[i] = o) } return n }(this); for (var r in e) t[r] = e[r]; return t }, t.cloneBefore = function(e) { void 0 === e && (e = {}); var t = this.clone(e); return this.parent.insertBefore(this, t), t }, t.cloneAfter = function(e) { void 0 === e && (e = {}); var t = this.clone(e); return this.parent.insertAfter(this, t), t }, t.replaceWith = function() { if (this.parent) { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; for (var n = 0, i = t; n < i.length; n++) { var o = i[n]; this.parent.insertBefore(this, o) } this.remove() } return this }, t.next = function() { if (this.parent) { var e = this.parent.index(this); return this.parent.nodes[e + 1] } }, t.prev = function() { if (this.parent) { var e = this.parent.index(this); return this.parent.nodes[e - 1] } }, t.before = function(e) { return this.parent.insertBefore(this, e), this }, t.after = function(e) { return this.parent.insertAfter(this, e), this }, t.toJSON = function() { var e = {}; for (var t in this) if (this.hasOwnProperty(t) && "parent" !== t) { var r = this[t]; r instanceof Array ? e[t] = r.map((function(e) { return "object" == typeof e && e.toJSON ? e.toJSON() : e })) : "object" == typeof r && r.toJSON ? e[t] = r.toJSON() : e[t] = r } return e }, t.raw = function(e, t) { return (new i.default).raw(this, e, t) }, t.root = function() { for (var e = this; e.parent;) e = e.parent; return e }, t.cleanRaws = function(e) { delete this.raws.before, delete this.raws.after, e || delete this.raws.between }, t.positionInside = function(e) { for (var t = this.toString(), r = this.source.start.column, n = this.source.start.line, i = 0; i < e; i++) "\n" === t[i] ? (r = 1, n += 1) : r += 1; return { line: n, column: r } }, t.positionBy = function(e) { var t = this.source.start; if (e.index) t = this.positionInside(e.index); else if (e.word) { var r = this.toString().indexOf(e.word); - 1 !== r && (t = this.positionInside(r)) } return t }, e }(); t.default = s, e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n, i = (n = r(1723)) && n.__esModule ? n : { default: n }; var o = function(e, t) { new i.default(t).stringify(e) }; t.default = o, e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = o(r(2092)), i = o(r(2094)); function o(e) { return e && e.__esModule ? e : { default: e } } var a = function(e, t) { var r = new i.default(e, t), o = new n.default(r); try { o.parse() } catch (e) { throw e } return o.root }; t.default = a, e.exports = t.default }, function(e, t, r) { "use strict"; var n; t.__esModule = !0, t.default = void 0; var i = function(e) { var t, r; function n(t) { var r; return (r = e.call(this, t) || this).type = "comment", r } return r = e, (t = n).prototype = Object.create(r.prototype), t.prototype.constructor = t, t.__proto__ = r, n }(((n = r(725)) && n.__esModule ? n : { default: n }).default); t.default = i, e.exports = t.default }, function(e, t, r) { "use strict"; var n; t.__esModule = !0, t.default = void 0; var i = function(e) { var t, r; function n(t) { var r; return (r = e.call(this, t) || this).type = "atrule", r } r = e, (t = n).prototype = Object.create(r.prototype), t.prototype.constructor = t, t.__proto__ = r; var i = n.prototype; return i.append = function() { var t; this.nodes || (this.nodes = []); for (var r = arguments.length, n = new Array(r), i = 0; i < r; i++) n[i] = arguments[i]; return (t = e.prototype.append).call.apply(t, [this].concat(n)) }, i.prepend = function() { var t; this.nodes || (this.nodes = []); for (var r = arguments.length, n = new Array(r), i = 0; i < r; i++) n[i] = arguments[i]; return (t = e.prototype.prepend).call.apply(t, [this].concat(n)) }, n }(((n = r(730)) && n.__esModule ? n : { default: n }).default); t.default = i, e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = o(r(724)), i = o(r(728)); function o(e) { return e && e.__esModule ? e : { default: e } } function a(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } var s = function(e) { var t, o; function s() { return e.apply(this, arguments) || this } o = e, (t = s).prototype = Object.create(o.prototype), t.prototype.constructor = t, t.__proto__ = o; var u, c, l, f = s.prototype; return f.push = function(e) { return e.parent = this, this.nodes.push(e), this }, f.each = function(e) { this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach += 1; var t = this.lastEach; if (this.indexes[t] = 0, this.nodes) { for (var r, n; this.indexes[t] < this.nodes.length && (r = this.indexes[t], !1 !== (n = e(this.nodes[r], r)));) this.indexes[t] += 1; return delete this.indexes[t], n } }, f.walk = function(e) { return this.each((function(t, r) { var n; try { n = e(t, r) } catch (e) { if (e.postcssNode = t, e.stack && t.source && /\n\s{4}at /.test(e.stack)) { var i = t.source; e.stack = e.stack.replace(/\n\s{4}at /, "$&" + i.input.from + ":" + i.start.line + ":" + i.start.column + "$&") } throw e } return !1 !== n && t.walk && (n = t.walk(e)), n })) }, f.walkDecls = function(e, t) { return t ? e instanceof RegExp ? this.walk((function(r, n) { if ("decl" === r.type && e.test(r.prop)) return t(r, n) })) : this.walk((function(r, n) { if ("decl" === r.type && r.prop === e) return t(r, n) })) : (t = e, this.walk((function(e, r) { if ("decl" === e.type) return t(e, r) }))) }, f.walkRules = function(e, t) { return t ? e instanceof RegExp ? this.walk((function(r, n) { if ("rule" === r.type && e.test(r.selector)) return t(r, n) })) : this.walk((function(r, n) { if ("rule" === r.type && r.selector === e) return t(r, n) })) : (t = e, this.walk((function(e, r) { if ("rule" === e.type) return t(e, r) }))) }, f.walkAtRules = function(e, t) { return t ? e instanceof RegExp ? this.walk((function(r, n) { if ("atrule" === r.type && e.test(r.name)) return t(r, n) })) : this.walk((function(r, n) { if ("atrule" === r.type && r.name === e) return t(r, n) })) : (t = e, this.walk((function(e, r) { if ("atrule" === e.type) return t(e, r) }))) }, f.walkComments = function(e) { return this.walk((function(t, r) { if ("comment" === t.type) return e(t, r) })) }, f.append = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; for (var n = 0, i = t; n < i.length; n++) { var o = i[n], a = this.normalize(o, this.last), s = a, u = Array.isArray(s), c = 0; for (s = u ? s : s[Symbol.iterator]();;) { var l; if (u) { if (c >= s.length) break; l = s[c++] } else { if ((c = s.next()).done) break; l = c.value } var f = l; this.nodes.push(f) } } return this }, f.prepend = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; var n = t = t.reverse(), i = Array.isArray(n), o = 0; for (n = i ? n : n[Symbol.iterator]();;) { var a; if (i) { if (o >= n.length) break; a = n[o++] } else { if ((o = n.next()).done) break; a = o.value } var s = a, u = this.normalize(s, this.first, "prepend").reverse(), c = u, l = Array.isArray(c), f = 0; for (c = l ? c : c[Symbol.iterator]();;) { var p; if (l) { if (f >= c.length) break; p = c[f++] } else { if ((f = c.next()).done) break; p = f.value } var d = p; this.nodes.unshift(d) } for (var h in this.indexes) this.indexes[h] = this.indexes[h] + u.length } return this }, f.cleanRaws = function(t) { if (e.prototype.cleanRaws.call(this, t), this.nodes) { var r = this.nodes, n = Array.isArray(r), i = 0; for (r = n ? r : r[Symbol.iterator]();;) { var o; if (n) { if (i >= r.length) break; o = r[i++] } else { if ((i = r.next()).done) break; o = i.value } o.cleanRaws(t) } } }, f.insertBefore = function(e, t) { var r, n = 0 === (e = this.index(e)) && "prepend", i = this.normalize(t, this.nodes[e], n).reverse(), o = i, a = Array.isArray(o), s = 0; for (o = a ? o : o[Symbol.iterator]();;) { var u; if (a) { if (s >= o.length) break; u = o[s++] } else { if ((s = o.next()).done) break; u = s.value } var c = u; this.nodes.splice(e, 0, c) } for (var l in this.indexes) e <= (r = this.indexes[l]) && (this.indexes[l] = r + i.length); return this }, f.insertAfter = function(e, t) { e = this.index(e); var r, n = this.normalize(t, this.nodes[e]).reverse(), i = n, o = Array.isArray(i), a = 0; for (i = o ? i : i[Symbol.iterator]();;) { var s; if (o) { if (a >= i.length) break; s = i[a++] } else { if ((a = i.next()).done) break; s = a.value } var u = s; this.nodes.splice(e + 1, 0, u) } for (var c in this.indexes) e < (r = this.indexes[c]) && (this.indexes[c] = r + n.length); return this }, f.removeChild = function(e) { var t; for (var r in e = this.index(e), this.nodes[e].parent = void 0, this.nodes.splice(e, 1), this.indexes)(t = this.indexes[r]) >= e && (this.indexes[r] = t - 1); return this }, f.removeAll = function() { var e = this.nodes, t = Array.isArray(e), r = 0; for (e = t ? e : e[Symbol.iterator]();;) { var n; if (t) { if (r >= e.length) break; n = e[r++] } else { if ((r = e.next()).done) break; n = r.value } n.parent = void 0 } return this.nodes = [], this }, f.replaceValues = function(e, t, r) { return r || (r = t, t = {}), this.walkDecls((function(n) { t.props && -1 === t.props.indexOf(n.prop) || t.fast && -1 === n.value.indexOf(t.fast) || (n.value = n.value.replace(e, r)) })), this }, f.every = function(e) { return this.nodes.every(e) }, f.some = function(e) { return this.nodes.some(e) }, f.index = function(e) { return "number" == typeof e ? e : this.nodes.indexOf(e) }, f.normalize = function(e, t) { var o = this; if ("string" == typeof e) e = function e(t) { return t.map((function(t) { return t.nodes && (t.nodes = e(t.nodes)), delete t.source, t })) }(r(727)(e).nodes); else if (Array.isArray(e)) { var a = e = e.slice(0), s = Array.isArray(a), u = 0; for (a = s ? a : a[Symbol.iterator]();;) { var c; if (s) { if (u >= a.length) break; c = a[u++] } else { if ((u = a.next()).done) break; c = u.value } var l = c; l.parent && l.parent.removeChild(l, "ignore") } } else if ("root" === e.type) { var f = e = e.nodes.slice(0), p = Array.isArray(f), d = 0; for (f = p ? f : f[Symbol.iterator]();;) { var h; if (p) { if (d >= f.length) break; h = f[d++] } else { if ((d = f.next()).done) break; h = d.value } var v = h; v.parent && v.parent.removeChild(v, "ignore") } } else if (e.type) e = [e]; else if (e.prop) { if (void 0 === e.value) throw new Error("Value field is missed in node creation"); "string" != typeof e.value && (e.value = String(e.value)), e = [new n.default(e)] } else if (e.selector) { e = [new(r(731))(e)] } else if (e.name) { e = [new(r(729))(e)] } else { if (!e.text) throw new Error("Unknown node type in node creation"); e = [new i.default(e)] } return e.map((function(e) { return e.parent && e.parent.removeChild(e), void 0 === e.raws.before && t && void 0 !== t.raws.before && (e.raws.before = t.raws.before.replace(/[^\s]/g, "")), e.parent = o, e })) }, u = s, (c = [{ key: "first", get: function() { if (this.nodes) return this.nodes[0] } }, { key: "last", get: function() { if (this.nodes) return this.nodes[this.nodes.length - 1] } }]) && a(u.prototype, c), l && a(u, l), s }(o(r(725)).default); t.default = s, e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = o(r(730)), i = o(r(1730)); function o(e) { return e && e.__esModule ? e : { default: e } } function a(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } var s = function(e) { var t, r, n, o, s; function u(t) { var r; return (r = e.call(this, t) || this).type = "rule", r.nodes || (r.nodes = []), r } return r = e, (t = u).prototype = Object.create(r.prototype), t.prototype.constructor = t, t.__proto__ = r, n = u, (o = [{ key: "selectors", get: function() { return i.default.comma(this.selector) }, set: function(e) { var t = this.selector ? this.selector.match(/,\s*/) : null, r = t ? t[0] : "," + this.raw("between", "beforeOpen"); this.selector = e.join(r) } }]) && a(n.prototype, o), s && a(n, s), u }(n.default); t.default = s, e.exports = t.default }, function(e, t, r) { var n = r(25), i = r(117), o = Function.call; e.exports = function(e, t, r) { return i(o, n[e].prototype[t], r) } }, function(e, t, r) { var n = r(45), i = r(2105); e.exports = n ? i : function(e) { return Set.prototype.values.call(e) } }, function(e, t, r) { "use strict"; var n = r(78), i = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "Constants", { enumerable: !0, get: function() { return a.Constants } }), Object.defineProperty(t, "createStore", { enumerable: !0, get: function() { return a.createStore } }), Object.defineProperty(t, "version", { enumerable: !0, get: function() { return a.version } }), Object.defineProperty(t, "Components", { enumerable: !0, get: function() { return s.Components } }), Object.defineProperty(t, "concatMiddleware", { enumerable: !0, get: function() { return s.concatMiddleware } }), Object.defineProperty(t, "connectToWebChat", { enumerable: !0, get: function() { return s.connectToWebChat } }), Object.defineProperty(t, "createStyleSet", { enumerable: !0, get: function() { return s.createStyleSet } }), Object.defineProperty(t, "hooks", { enumerable: !0, get: function() { return s.hooks } }), Object.defineProperty(t, "createBrowserWebSpeechPonyfillFactory", { enumerable: !0, get: function() { return l.default } }), t.renderWebChat = t.default = t.createDirectLineAppServiceExtension = t.createDirectLine = void 0; var o = i(r(93)), a = r(48), s = n(r(37)), u = i(r(629)), c = i(r(676)), l = i(r(1508)), f = i(r(630)), p = i(r(672)); function d(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function h(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? d(Object(r), !0).forEach((function(t) { (0, o.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : d(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var v = c.default.bind(null, s.default); t.renderWebChat = v; var m = function(e) { return e.botAgent && console.warn("Web Chat: Developers are not currently allowed to set botAgent in the createDirectLine function. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."), (0, f.default)(h({}, e, { botAgent: "WebChat/".concat(a.version, " (Minimal)") })) }; t.createDirectLine = m; var y = function(e) { return e.botAgent && console.warn("Web Chat: Developers are not currently allowed to set botAgent in the createDirectLine function. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."), (0, p.default)(h({}, e, { botAgent: "WebChat/".concat(a.version, " (Minimal)") })) }; t.createDirectLineAppServiceExtension = y; var b = s.default; t.default = b, window.WebChat = h({}, window.WebChat, { concatMiddleware: s.concatMiddleware, connectToWebChat: s.connectToWebChat, Constants: a.Constants, createBrowserWebSpeechPonyfillFactory: l.default, createDirectLine: m, createDirectLineAppServiceExtension: y, createStore: a.createStore, createStyleSet: s.createStyleSet, hooks: s.hooks, ReactWebChat: s.default, renderWebChat: v }), (0, u.default)("minimal") }, function(e, t, r) { var n = r(1510); r(1522), r(1523), r(1524), r(1525), e.exports = n }, function(e, t, r) { var n = r(360); e.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator }, function(e, t, r) { var n = r(52), i = r(1514), o = r(203), a = r(66); e.exports = function(e, t) { for (var r = i(t), s = a.f, u = o.f, c = 0; c < r.length; c++) { var l = r[c]; n(e, l) || s(e, l, u(t, l)) } } }, function(e, t, r) { var n = r(145), i = r(215), o = r(1515), a = function(e) { return function(t, r, a) { var s, u = n(t), c = i(u.length), l = o(a, c); if (e && r != r) { for (; c > l;) if ((s = u[l++]) != s) return !0 } else for (; c > l; l++) if ((e || l in u) && u[l] === r) return e || l || 0; return !e && -1 } }; e.exports = { includes: a(!0), indexOf: a(!1) } }, function(e, t) { e.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 } }, function(e, t, r) { "use strict"; var n, i, o, a, s = r(27), u = r(45), c = r(25), l = r(58), f = r(645), p = r(94), d = r(741), h = r(157), v = r(742), m = r(57), y = r(53), b = r(683), g = r(111), _ = r(326), T = r(56), S = r(685), A = r(204), E = r(646).set, C = r(1520), O = r(649), w = r(1521), I = r(147), P = r(205), x = r(110), N = r(362), k = r(32), R = r(686), L = k("species"), M = "Promise", j = x.get, D = x.set, U = x.getterFor(M), B = f, F = c.TypeError, z = c.document, V = c.process, G = l("fetch"), q = I.f, H = q, W = "process" == g(V), Y = !!(z && z.createEvent && c.dispatchEvent), K = N(M, (function() { if (!(_(B) !== String(B))) { if (66 === R) return !0; if (!W && "function" != typeof PromiseRejectionEvent) return !0 } if (u && !B.prototype.finally) return !0; if (R >= 51 && /native code/.test(B)) return !1; var e = B.resolve(1), t = function(e) { e((function() {}), (function() {})) }; return (e.constructor = {})[L] = t, !(e.then((function() {})) instanceof t) })), $ = K || !S((function(e) { B.all(e).catch((function() {})) })), J = function(e) { var t; return !(!m(e) || "function" != typeof(t = e.then)) && t }, X = function(e, t, r) { if (!t.notified) { t.notified = !0; var n = t.reactions; C((function() { for (var i = t.value, o = 1 == t.state, a = 0; n.length > a;) { var s, u, c, l = n[a++], f = o ? l.ok : l.fail, p = l.resolve, d = l.reject, h = l.domain; try { f ? (o || (2 === t.rejection && te(e, t), t.rejection = 1), !0 === f ? s = i : (h && h.enter(), s = f(i), h && (h.exit(), c = !0)), s === l.promise ? d(F("Promise-chain cycle")) : (u = J(s)) ? u.call(s, p, d) : p(s)) : d(i) } catch (e) { h && !c && h.exit(), d(e) } } t.reactions = [], t.notified = !1, r && !t.rejection && Q(e, t) })) } }, Z = function(e, t, r) { var n, i; Y ? ((n = z.createEvent("Event")).promise = t, n.reason = r, n.initEvent(e, !1, !0), c.dispatchEvent(n)) : n = { promise: t, reason: r }, (i = c["on" + e]) ? i(n) : "unhandledrejection" === e && w("Unhandled promise rejection", r) }, Q = function(e, t) { E.call(c, (function() { var r, n = t.value; if (ee(t) && (r = P((function() { W ? V.emit("unhandledRejection", n, e) : Z("unhandledrejection", e, n) })), t.rejection = W || ee(t) ? 2 : 1, r.error)) throw r.value })) }, ee = function(e) { return 1 !== e.rejection && !e.parent }, te = function(e, t) { E.call(c, (function() { W ? V.emit("rejectionHandled", e) : Z("rejectionhandled", e, t.value) })) }, re = function(e, t, r, n) { return function(i) { e(t, r, i, n) } }, ne = function(e, t, r, n) { t.done || (t.done = !0, n && (t = n), t.value = r, t.state = 2, X(e, t, !0)) }, ie = function(e, t, r, n) { if (!t.done) { t.done = !0, n && (t = n); try { if (e === r) throw F("Promise can't be resolved itself"); var i = J(r); i ? C((function() { var n = { done: !1 }; try { i.call(r, re(ie, e, n, t), re(ne, e, n, t)) } catch (r) { ne(e, n, r, t) } })) : (t.value = r, t.state = 1, X(e, t, !1)) } catch (r) { ne(e, { done: !1 }, r, t) } } }; K && (B = function(e) { b(this, B, M), y(e), n.call(this); var t = j(this); try { e(re(ie, this, t), re(ne, this, t)) } catch (e) { ne(this, t, e) } }, (n = function(e) { D(this, { type: M, done: !1, notified: !1, parent: !1, reactions: [], rejection: !1, state: 0, value: void 0 }) }).prototype = d(B.prototype, { then: function(e, t) { var r = U(this), n = q(A(this, B)); return n.ok = "function" != typeof e || e, n.fail = "function" == typeof t && t, n.domain = W ? V.domain : void 0, r.parent = !0, r.reactions.push(n), 0 != r.state && X(this, r, !1), n.promise }, catch: function(e) { return this.then(void 0, e) } }), i = function() { var e = new n, t = j(e); this.promise = e, this.resolve = re(ie, e, t), this.reject = re(ne, e, t) }, I.f = q = function(e) { return e === B || e === o ? new i(e) : H(e) }, u || "function" != typeof f || (a = f.prototype.then, p(f.prototype, "then", (function(e, t) { var r = this; return new B((function(e, t) { a.call(r, e, t) })).then(e, t) }), { unsafe: !0 }), "function" == typeof G && s({ global: !0, enumerable: !0, forced: !0 }, { fetch: function(e) { return O(B, G.apply(c, arguments)) } }))), s({ global: !0, wrap: !0, forced: K }, { Promise: B }), h(B, M, !1, !0), v(M), o = l(M), s({ target: M, stat: !0, forced: K }, { reject: function(e) { var t = q(this); return t.reject.call(void 0, e), t.promise } }), s({ target: M, stat: !0, forced: u || K }, { resolve: function(e) { return O(u && this === o ? B : this, e) } }), s({ target: M, stat: !0, forced: $ }, { all: function(e) { var t = this, r = q(t), n = r.resolve, i = r.reject, o = P((function() { var r = y(t.resolve), o = [], a = 0, s = 1; T(e, (function(e) { var u = a++, c = !1; o.push(void 0), s++, r.call(t, e).then((function(e) { c || (c = !0, o[u] = e, --s || n(o)) }), i) })), --s || n(o) })); return o.error && i(o.value), r.promise }, race: function(e) { var t = this, r = q(t), n = r.reject, i = P((function() { var i = y(t.resolve); T(e, (function(e) { i.call(t, e).then(r.resolve, n) })) })); return i.error && n(i.value), r.promise } }) }, function(e, t, r) { var n = r(94); e.exports = function(e, t, r) { for (var i in t) n(e, i, t[i], r); return e } }, function(e, t, r) { "use strict"; var n = r(58), i = r(66), o = r(32), a = r(65), s = o("species"); e.exports = function(e) { var t = n(e), r = i.f; a && t && !t[s] && r(t, s, { configurable: !0, get: function() { return this } }) } }, function(e, t, r) { var n = r(32), i = r(146), o = n("iterator"), a = Array.prototype; e.exports = function(e) { return void 0 !== e && (i.Array === e || a[o] === e) } }, function(e, t, r) { var n = r(35); e.exports = function(e, t, r, i) { try { return i ? t(n(r)[0], r[1]) : t(r) } catch (t) { var o = e.return; throw void 0 !== o && n(o.call(e)), t } } }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(645), a = r(51), s = r(58), u = r(204), c = r(649), l = r(94); n({ target: "Promise", proto: !0, real: !0, forced: !!o && a((function() { o.prototype.finally.call({ then: function() {} }, (function() {})) })) }, { finally: function(e) { var t = u(this, s("Promise")), r = "function" == typeof e; return this.then(r ? function(r) { return c(t, e()).then((function() { return r })) } : e, r ? function(r) { return c(t, e()).then((function() { throw r })) } : e) } }), i || "function" != typeof o || o.prototype.finally || l(o.prototype, "finally", s("Promise").prototype.finally) }, function(e, t, r) { (function(e) { ! function(e) { "use strict"; var t, r = e.URLSearchParams && e.URLSearchParams.prototype.get ? e.URLSearchParams : null, n = r && "a=1" === new r({ a: 1 }).toString(), i = r && "+" === new r("s=%2B").get("s"), o = !r || ((t = new r).append("s", " &"), "s=+%26" === t.toString()), a = l.prototype, s = !(!e.Symbol || !e.Symbol.iterator); if (!(r && n && i && o)) { a.append = function(e, t) { v(this.__URLSearchParams__, e, t) }, a.delete = function(e) { delete this.__URLSearchParams__[e] }, a.get = function(e) { var t = this.__URLSearchParams__; return this.has(e) ? t[e][0] : null }, a.getAll = function(e) { var t = this.__URLSearchParams__; return this.has(e) ? t[e].slice(0) : [] }, a.has = function(e) { return y(this.__URLSearchParams__, e) }, a.set = function(e, t) { this.__URLSearchParams__[e] = ["" + t] }, a.toString = function() { var e, t, r, n, i = this.__URLSearchParams__, o = []; for (t in i) for (r = f(t), e = 0, n = i[t]; e < n.length; e++) o.push(r + "=" + f(n[e])); return o.join("&") }; var u = !!i && r && !n && e.Proxy; Object.defineProperty(e, "URLSearchParams", { value: u ? new Proxy(r, { construct: function(e, t) { return new e(new l(t[0]).toString()) } }) : l }); var c = e.URLSearchParams.prototype; c.polyfill = !0, c.forEach = c.forEach || function(e, t) { var r = h(this.toString()); Object.getOwnPropertyNames(r).forEach((function(n) { r[n].forEach((function(r) { e.call(t, r, n, this) }), this) }), this) }, c.sort = c.sort || function() { var e, t, r, n = h(this.toString()), i = []; for (e in n) i.push(e); for (i.sort(), t = 0; t < i.length; t++) this.delete(i[t]); for (t = 0; t < i.length; t++) { var o = i[t], a = n[o]; for (r = 0; r < a.length; r++) this.append(o, a[r]) } }, c.keys = c.keys || function() { var e = []; return this.forEach((function(t, r) { e.push(r) })), d(e) }, c.values = c.values || function() { var e = []; return this.forEach((function(t) { e.push(t) })), d(e) }, c.entries = c.entries || function() { var e = []; return this.forEach((function(t, r) { e.push([r, t]) })), d(e) }, s && (c[e.Symbol.iterator] = c[e.Symbol.iterator] || c.entries) } function l(e) { ((e = e || "") instanceof URLSearchParams || e instanceof l) && (e = e.toString()), this.__URLSearchParams__ = h(e) } function f(e) { var t = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" }; return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g, (function(e) { return t[e] })) } function p(e) { return e.replace(/[ +]/g, "%20").replace(/(%[a-f0-9]{2})+/gi, (function(e) { return decodeURIComponent(e) })) } function d(t) { var r = { next: function() { var e = t.shift(); return { done: void 0 === e, value: e } } }; return s && (r[e.Symbol.iterator] = function() { return r }), r } function h(e) { var t = {}; if ("object" == typeof e) if (m(e)) for (var r = 0; r < e.length; r++) { var n = e[r]; if (!m(n) || 2 !== n.length) throw new TypeError("Failed to construct 'URLSearchParams': Sequence initializer must only contain pair elements"); v(t, n[0], n[1]) } else for (var i in e) e.hasOwnProperty(i) && v(t, i, e[i]); else { 0 === e.indexOf("?") && (e = e.slice(1)); for (var o = e.split("&"), a = 0; a < o.length; a++) { var s = o[a], u = s.indexOf("="); - 1 < u ? v(t, p(s.slice(0, u)), p(s.slice(u + 1))) : s && v(t, p(s), "") } } return t } function v(e, t, r) { var n = "string" == typeof r ? r : null != r && "function" == typeof r.toString ? r.toString() : JSON.stringify(r); y(e, t) ? e[t].push(n) : e[t] = [n] } function m(e) { return !!e && "[object Array]" === Object.prototype.toString.call(e) } function y(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } }(void 0 !== e ? e : "undefined" != typeof window ? window : this) }).call(this, r(14)) }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { for (var t = (0, o.default)({ onError: function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; var n = t[0]; console.error(n), l.dispatch((0, s.default)()) } }), r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), c = 1; c < r; c++) n[c - 1] = arguments[c]; var l = (0, i.createStore)(a.default, e || {}, i.applyMiddleware.apply(void 0, n.concat([t]))); return t.run(u.default), l }; var i = r(222), o = n(r(750)), a = n(r(754)), s = n(r(226)), u = n(r(773)) }, function(e, t, r) { "use strict"; (function(e, n) { Object.defineProperty(t, "__esModule", { value: !0 }); var i, o, a = r(749), s = (i = a) && i.__esModule ? i : { default: i }; o = "undefined" != typeof self ? self : "undefined" != typeof window ? window : void 0 !== e ? e : n; var u = (0, s.default)(o); t.default = u }).call(this, r(14), r(116)(e)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t, r = e.Symbol; "function" == typeof r ? r.observable ? t = r.observable : (t = r("observable"), r.observable = t) : t = "@@observable"; return t } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n, i = r(751), o = (n = i) && "object" == typeof n && "default" in n ? n.default : n; Object.keys(i).forEach((function(e) { "default" !== e && Object.defineProperty(t, e, { enumerable: !0, get: function() { return i[e] } }) })), t.default = o }, function(e, t, r) { "use strict"; e.exports = r(752) }, function(e, t, r) { "use strict"; function n(e) { return e && "object" == typeof e && "default" in e ? e.default : e } Object.defineProperty(t, "__esModule", { value: !0 }); var i = r(118), o = n(r(223)), a = n(r(376)), s = r(224), u = r(377), c = r(222), l = n(r(753)); r(225); var f = [], p = 0; function d(e) { try { m(), e() } finally { y() } } function h(e) { f.push(e), p || (m(), b()) } function v(e) { try { return m(), e() } finally { b() } } function m() { p++ } function y() { p-- } function b() { var e; for (y(); !p && void 0 !== (e = f.shift());) d(e) } var g = function(e) { return function(t) { return e.some((function(e) { return E(e)(t) })) } }, _ = function(e) { return function(t) { return e(t) } }, T = function(e) { return function(t) { return t.type === String(e) } }, S = function(e) { return function(t) { return t.type === e } }, A = function() { return u.kTrue }; function E(e) { var t = "*" === e ? A : s.string(e) ? T : s.array(e) ? g : s.stringableFunc(e) ? T : s.func(e) ? _ : s.symbol(e) ? S : null; if (null === t) throw new Error("invalid pattern: " + e); return t(e) } var C = { type: i.CHANNEL_END_TYPE }, O = function(e) { return e && e.type === i.CHANNEL_END_TYPE }; function w(e) { void 0 === e && (e = u.expanding()); var t = !1, r = []; return { take: function(n) { t && e.isEmpty() ? n(C) : e.isEmpty() ? (r.push(n), n.cancel = function() { u.remove(r, n) }) : n(e.take()) }, put: function(n) { if (!t) { if (0 === r.length) return e.put(n); r.shift()(n) } }, flush: function(r) { t && e.isEmpty() ? r(C) : r(e.flush()) }, close: function() { if (!t) { t = !0; var e = r; r = []; for (var n = 0, i = e.length; n < i; n++) { (0, e[n])(C) } } } } } function I() { var e, t = !1, r = [], n = r, o = function() { n === r && (n = r.slice()) }, a = function() { t = !0; var e = r = n; n = [], e.forEach((function(e) { e(C) })) }; return (e = {})[i.MULTICAST] = !0, e.put = function(e) { if (!t) if (O(e)) a(); else for (var o = r = n, s = 0, u = o.length; s < u; s++) { var c = o[s]; c[i.MATCH](e) && (c.cancel(), c(e)) } }, e.take = function(e, r) { void 0 === r && (r = A), t ? e(C) : (e[i.MATCH] = r, o(), n.push(e), e.cancel = u.once((function() { o(), u.remove(n, e) }))) }, e.close = a, e } function P() { var e = I(), t = e.put; return e.put = function(e) { e[i.SAGA_ACTION] ? t(e) : h((function() { t(e) })) }, e } function x(e, t) { var r = e[i.CANCEL]; s.func(r) && (t.cancel = r), e.then(t, (function(e) { t(e, !0) })) } var N, k = 0, R = function() { return ++k }; function L(e) { e.isRunning() && e.cancel() } var M = ((N = {})[u.TAKE] = function(e, t, r) { var n = t.channel, o = void 0 === n ? e.channel : n, a = t.pattern, u = t.maybe, c = function(e) { e instanceof Error ? r(e, !0) : !O(e) || u ? r(e) : r(i.TERMINATE) }; try { o.take(c, s.notUndef(a) ? E(a) : null) } catch (e) { return void r(e, !0) } r.cancel = c.cancel }, N[u.PUT] = function(e, t, r) { var n = t.channel, i = t.action, o = t.resolve; h((function() { var t; try { t = (n ? n.put : e.dispatch)(i) } catch (e) { return void r(e, !0) } o && s.promise(t) ? x(t, r) : r(t) })) }, N[u.ALL] = function(e, t, r, n) { var i = n.digestEffect, o = k, a = Object.keys(t); if (0 !== a.length) { var c = u.createAllStyleChildCallbacks(t, r); a.forEach((function(e) { i(t[e], o, c[e], e) })) } else r(s.array(t) ? [] : {}) }, N[u.RACE] = function(e, t, r, n) { var i = n.digestEffect, o = k, a = Object.keys(t), c = s.array(t) ? u.createEmptyArray(a.length) : {}, l = {}, f = !1; a.forEach((function(e) { var t = function(t, n) { f || (n || u.shouldComplete(t) ? (r.cancel(), r(t, n)) : (r.cancel(), f = !0, c[e] = t, r(c))) }; t.cancel = u.noop, l[e] = t })), r.cancel = function() { f || (f = !0, a.forEach((function(e) { return l[e].cancel() }))) }, a.forEach((function(e) { f || i(t[e], o, l[e], e) })) }, N[u.CALL] = function(e, t, r, n) { var i = t.context, o = t.fn, a = t.args, c = n.task; try { var l = o.apply(i, a); if (s.promise(l)) return void x(l, r); if (s.iterator(l)) return void H(e, l, c.context, k, u.getMetaInfo(o), !1, r); r(l) } catch (e) { r(e, !0) } }, N[u.CPS] = function(e, t, r) { var n = t.context, i = t.fn, o = t.args; try { var a = function(e, t) { s.undef(e) ? r(t) : r(e, !0) }; i.apply(n, o.concat(a)), a.cancel && (r.cancel = a.cancel) } catch (e) { r(e, !0) } }, N[u.FORK] = function(e, t, r, n) { var i = t.context, o = t.fn, a = t.args, c = t.detached, l = n.task, f = function(e) { var t = e.context, r = e.fn, n = e.args; try { var i = r.apply(t, n); if (s.iterator(i)) return i; var o = !1; return u.makeIterator((function(e) { return o ? { value: e, done: !0 } : (o = !0, { value: i, done: !s.promise(i) }) })) } catch (e) { return u.makeIterator((function() { throw e })) } }({ context: i, fn: o, args: a }), p = function(e, t) { return e.isSagaIterator ? { name: e.meta.name } : u.getMetaInfo(t) }(f, o); v((function() { var t = H(e, f, l.context, k, p, c, void 0); c ? r(t) : t.isRunning() ? (l.queue.addTask(t), r(t)) : t.isAborted() ? l.queue.abort(t.error()) : r(t) })) }, N[u.JOIN] = function(e, t, r, n) { var i = n.task, o = function(e, t) { if (e.isRunning()) { var r = { task: i, cb: t }; t.cancel = function() { e.isRunning() && u.remove(e.joiners, r) }, e.joiners.push(r) } else e.isAborted() ? t(e.error(), !0) : t(e.result()) }; if (s.array(t)) { if (0 === t.length) return void r([]); var a = u.createAllStyleChildCallbacks(t, r); t.forEach((function(e, t) { o(e, a[t]) })) } else o(t, r) }, N[u.CANCEL] = function(e, t, r, n) { var o = n.task; t === i.SELF_CANCELLATION ? L(o) : s.array(t) ? t.forEach(L) : L(t), r() }, N[u.SELECT] = function(e, t, r) { var n = t.selector, i = t.args; try { r(n.apply(void 0, [e.getState()].concat(i))) } catch (e) { r(e, !0) } }, N[u.ACTION_CHANNEL] = function(e, t, r) { var n = t.pattern, i = w(t.buffer), o = E(n), a = function t(r) { O(r) || e.channel.take(t, o), i.put(r) }, s = i.close; i.close = function() { a.cancel(), s() }, e.channel.take(a, o), r(i) }, N[u.CANCELLED] = function(e, t, r, n) { r(n.task.isCancelled()) }, N[u.FLUSH] = function(e, t, r) { t.flush(r) }, N[u.GET_CONTEXT] = function(e, t, r, n) { r(n.task.context[t]) }, N[u.SET_CONTEXT] = function(e, t, r, n) { var i = n.task; u.assignWithSymbols(i.context, t), r() }, N); function j(e, t) { return e + "?" + t } function D(e) { var t = e.name, r = e.location; return r ? t + " " + j(r.fileName, r.lineNumber) : t } function U(e) { var t = u.flatMap((function(e) { return e.cancelledTasks }), e); return t.length ? ["Tasks cancelled due to error:"].concat(t).join("\n") : "" } var B = null, F = [], z = function(e) { e.crashedEffect = B, F.push(e) }, V = function() { B = null, F.length = 0 }, G = function() { var e, t, r = F[0], n = F.slice(1), i = r.crashedEffect ? (e = r.crashedEffect, (t = u.getLocation(e)) ? t.code + " " + j(t.fileName, t.lineNumber) : "") : null; return ["The above error occurred in task " + D(r.meta) + (i ? " \n when executing effect " + i : "")].concat(n.map((function(e) { return " created by " + D(e.meta) })), [U(F)]).join("\n") }; function q(e, t, r, n, o, a, s) { var c; void 0 === s && (s = u.noop); var f, p, d = 0, h = null, v = [], m = Object.create(r), y = function(e, t, r) { var n, i = [], o = !1; function a(e) { t(), c(), r(e, !0) } function s(t) { i.push(t), t.cont = function(s, c) { o || (u.remove(i, t), t.cont = u.noop, c ? a(s) : (t === e && (n = s), i.length || (o = !0, r(n)))) } } function c() { o || (o = !0, i.forEach((function(e) { e.cont = u.noop, e.cancel() })), i = []) } return s(e), { addTask: s, cancelAll: c, abort: a, getTasks: function() { return i } } }(t, (function() { v.push.apply(v, y.getTasks().map((function(e) { return e.meta.name }))) }), b); function b(t, r) { if (r) { if (d = 2, z({ meta: o, cancelledTasks: v }), g.isRoot) { var n = G(); V(), e.onError(t, { sagaStack: n }) } p = t, h && h.reject(t) } else t === i.TASK_CANCEL ? d = 1 : 1 !== d && (d = 3), f = t, h && h.resolve(t); g.cont(t, r), g.joiners.forEach((function(e) { e.cb(t, r) })), g.joiners = null } var g = ((c = {})[i.TASK] = !0, c.id = n, c.meta = o, c.isRoot = a, c.context = m, c.joiners = [], c.queue = y, c.cancel = function() { 0 === d && (d = 1, y.cancelAll(), b(i.TASK_CANCEL, !1)) }, c.cont = s, c.end = b, c.setContext = function(e) { u.assignWithSymbols(m, e) }, c.toPromise = function() { return h || (h = l(), 2 === d ? h.reject(p) : 0 !== d && h.resolve(f)), h.promise }, c.isRunning = function() { return 0 === d }, c.isCancelled = function() { return 1 === d || 0 === d && 1 === t.status }, c.isAborted = function() { return 2 === d }, c.result = function() { return f }, c.error = function() { return p }, c); return g } function H(e, t, r, n, o, a, c) { var l = e.finalizeRunEffect((function(t, r, n) { if (s.promise(t)) x(t, n); else if (s.iterator(t)) H(e, t, p.context, r, o, !1, n); else if (t && t[i.IO]) { (0, M[t.type])(e, t.payload, n, d) } else n(t) })); h.cancel = u.noop; var f = { meta: o, cancel: function() { 0 === f.status && (f.status = 1, h(i.TASK_CANCEL)) }, status: 0 }, p = q(e, f, r, n, o, a, c), d = { task: p, digestEffect: v }; return c && (c.cancel = p.cancel), h(), p; function h(e, r) { try { var o; r ? (o = t.throw(e), V()) : u.shouldCancel(e) ? (f.status = 1, h.cancel(), o = s.func(t.return) ? t.return(i.TASK_CANCEL) : { done: !0, value: i.TASK_CANCEL }) : o = u.shouldTerminate(e) ? s.func(t.return) ? t.return() : { done: !0 } : t.next(e), o.done ? (1 !== f.status && (f.status = 3), f.cont(o.value)) : v(o.value, n, h) } catch (e) { if (1 === f.status) throw e; f.status = 2, f.cont(e, !0) } } function v(t, r, n, i) { void 0 === i && (i = ""); var o, a = R(); function s(r, i) { o || (o = !0, n.cancel = u.noop, e.sagaMonitor && (i ? e.sagaMonitor.effectRejected(a, r) : e.sagaMonitor.effectResolved(a, r)), i && function(e) { B = e }(t), n(r, i)) } e.sagaMonitor && e.sagaMonitor.effectTriggered({ effectId: a, parentEffectId: r, label: i, effect: t }), s.cancel = u.noop, n.cancel = function() { o || (o = !0, s.cancel(), s.cancel = u.noop, e.sagaMonitor && e.sagaMonitor.effectCancelled(a)) }, l(t, a, s) } } function W(e, t) { for (var r = e.channel, n = void 0 === r ? P() : r, i = e.dispatch, o = e.getState, a = e.context, s = void 0 === a ? {} : a, l = e.sagaMonitor, f = e.effectMiddlewares, p = e.onError, d = void 0 === p ? u.logError : p, h = arguments.length, m = new Array(h > 2 ? h - 2 : 0), y = 2; y < h; y++) m[y - 2] = arguments[y]; var b, g = t.apply(void 0, m), _ = R(); if (l && (l.rootSagaStarted = l.rootSagaStarted || u.noop, l.effectTriggered = l.effectTriggered || u.noop, l.effectResolved = l.effectResolved || u.noop, l.effectRejected = l.effectRejected || u.noop, l.effectCancelled = l.effectCancelled || u.noop, l.actionDispatched = l.actionDispatched || u.noop, l.rootSagaStarted({ effectId: _, saga: t, args: m })), f) { var T = c.compose.apply(void 0, f); b = function(e) { return function(t, r, n) { return T((function(t) { return e(t, r, n) }))(t) } } } else b = u.identity; var S = { channel: n, dispatch: u.wrapSagaDispatch(i), getState: o, sagaMonitor: l, onError: d, finalizeRunEffect: b }; return v((function() { var e = H(S, g, s, _, u.getMetaInfo(t), !0, void 0); return l && l.effectResolved(_, e), e })) } Object.defineProperty(t, "CANCEL", { enumerable: !0, get: function() { return i.CANCEL } }), Object.defineProperty(t, "SAGA_LOCATION", { enumerable: !0, get: function() { return i.SAGA_LOCATION } }), t.buffers = u.buffers, t.detach = u.detach, t.END = C, t.channel = w, t.default = function(e) { var t, r = void 0 === e ? {} : e, n = r.context, i = void 0 === n ? {} : n, s = r.channel, c = void 0 === s ? P() : s, l = r.sagaMonitor, f = a(r, ["context", "channel", "sagaMonitor"]); function p(e) { var r = e.getState, n = e.dispatch; return t = W.bind(null, o({}, f, { context: i, channel: c, dispatch: n, getState: r, sagaMonitor: l })), function(e) { return function(t) { l && l.actionDispatched && l.actionDispatched(t); var r = e(t); return c.put(t), r } } } return p.run = function() { return t.apply(void 0, arguments) }, p.setContext = function(e) { u.assignWithSymbols(i, e) }, p }, t.eventChannel = function(e, t) { void 0 === t && (t = u.none()); var r, n = !1, i = w(t), o = function() { n || (n = !0, s.func(r) && r(), i.close()) }; return r = e((function(e) { O(e) ? o() : i.put(e) })), r = u.once(r), n && r(), { take: i.take, flush: i.flush, close: o } }, t.isEnd = O, t.multicastChannel = I, t.runSaga = W, t.stdChannel = P }, function(e, t, r) { "use strict"; function n() { var e = {}; return e.promise = new Promise((function(t, r) { e.resolve = t, e.reject = r })), e } Object.defineProperty(t, "__esModule", { value: !0 }), t.arrayOfDeferred = function(e) { for (var t = [], r = 0; r < e; r++) t.push(n()); return t }, t.default = n }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = r(222), o = n(r(755)), a = n(r(757)), s = n(r(759)), u = n(r(760)), c = n(r(761)), l = n(r(762)), f = n(r(763)), p = n(r(764)), d = n(r(765)), h = n(r(766)), v = n(r(767)), m = n(r(768)), y = n(r(769)), b = n(r(770)), g = n(r(771)), _ = n(r(772)), T = (0, i.combineReducers)({ activities: o.default, clockSkewAdjustment: a.default, connectivityStatus: s.default, dictateInterims: u.default, dictateState: c.default, language: l.default, notifications: p.default, readyState: d.default, referenceGrammarID: h.default, sendBoxValue: v.default, sendTimeout: m.default, sendTypingIndicator: y.default, shouldSpeakIncomingActivity: b.default, suggestedActions: g.default, typing: _.default, lastTypingAt: f.default }); t.default = T }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : l, t = arguments.length > 1 ? arguments[1] : void 0, r = t.meta, n = t.payload, h = t.type; switch (h) { case o.DELETE_ACTIVITY: e = (0, i.default)(e, [function(e) { return e.id === n.activityID }]); break; case s.MARK_ACTIVITY: e = (0, i.default)(e, [function(e) { return e.id === n.activityID }, "channelData", n.name], (function() { return n.value })); break; case u.POST_ACTIVITY_PENDING: e = d(e, (0, i.default)(n.activity, ["channelData", "state"], (function() { return c.SENDING }))); break; case u.POST_ACTIVITY_REJECTED: e = (0, i.default)(e, [f(r.clientActivityID), "channelData", "state"], (function() { return c.SEND_FAILED })); break; case u.POST_ACTIVITY_FULFILLED: e = (0, i.default)(e, [f(r.clientActivityID)], (function() { return (0, i.default)(p(n.activity), ["channelData", "state"], (function() { return c.SENT })) })); break; case a.INCOMING_ACTIVITY: "typing" !== n.activity.type && (e = d(e, n.activity)) } return e }; var i = n(r(119)), o = r(756), a = r(79), s = r(120), u = r(33), c = r(378), l = []; function f(e) { return function(t) { return (r = void 0 === (r = t.channelData) ? {} : r).clientActivityID === e; var r } } function p(e) { return (0, i.default)(e, ["attachments", function() { return !0 }, "contentUrl"], (function(e) { if ("https://docs.botframework.com/static/devportal/client/images/bot-framework-default-placeholder.png" !== e && !/^blob:/i.test(e)) return e })) } function d(e, t) { var r = (t = p(t)).channelData, n = (r = void 0 === r ? {} : r).clientActivityID, i = Date.parse(t.timestamp), o = e.filter((function(e) { var r = e.channelData, i = (r = void 0 === r ? {} : r).clientActivityID, o = e.id; return !(n && i === n || o && o === t.id) })), a = o.findIndex((function(e) { var t = e.channelData, r = (t = void 0 === t ? {} : t).state, n = e.timestamp; return Date.parse(n) > i && r !== c.SENDING && r !== c.SEND_FAILED })); return o.splice(~a ? a : o.length, 0, t), o } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "DIRECT_LINE/DELETE_ACTIVITY", payload: { activityID: e } } }, t.DELETE_ACTIVITY = void 0; t.DELETE_ACTIVITY = "DIRECT_LINE/DELETE_ACTIVITY" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0, t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, o = t.type; if (o === n.INCOMING_ACTIVITY) { var a = r.activity, s = a.channelData, u = (s = void 0 === s ? {} : s).clientTimestamp, c = a.timestamp, l = Date.parse(u), f = Date.parse(c); isNaN(l) || isNaN(f) || (e = f - l) } else o === i.SET_CLOCK_SKEW_ADJUSTMENT && (e = r.value); return e }; var n = r(79), i = r(758) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.SET_CLOCK_SKEW_ADJUSTMENT = void 0; t.SET_CLOCK_SKEW_ADJUSTMENT = "WEB_CHAT/SET_CLOCK_SKEW_ADJUSTMENT" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "uninitialized", t = arguments.length > 1 ? arguments[1] : void 0, r = t.type, s = t.meta; if ("sagaerror" !== e) switch (r) { case n.CONNECT_PENDING: case i.RECONNECT_PENDING: "uninitialized" !== e && (e = "reconnecting"); break; case n.CONNECT_FULFILLED: e = "connected"; break; case i.RECONNECT_FULFILLED: e = "reconnected"; break; case n.CONNECT_REJECTED: e = "error"; break; case n.CONNECT_STILL_PENDING: e = "connectingslow"; break; case o.DISCONNECT_FULFILLED: e = s && s.error ? "error" : "notconnected"; break; case a.SAGA_ERROR: e = "sagaerror" } return e }; var n = r(98), i = r(161), o = r(162), a = r(226) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : i, t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, o = t.type; switch (o) { case n.SET_DICTATE_INTERIMS: e = r.dictateInterims } return e }; var n = r(379), i = [] }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : s, t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, u = t.type; switch (u) { case i.SET_DICTATE_STATE: e = r.dictateState; break; case o.START_DICTATE: e !== n.IDLE && e !== n.STOPPING && e !== n.WILL_START || (e = n.STARTING); break; case a.STOP_DICTATE: e === n.STARTING || e === n.DICTATING ? e = n.STOPPING : e === n.WILL_START && (e = n.IDLE) } return e }; var n = r(163), i = r(164), o = r(227), a = r(165), s = n.IDLE }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "en-US", t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, i = t.type; switch (i) { case n.SET_LANGUAGE: e = r.language } return e }; var n = r(380) }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : a, t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, n = t.type; if (n === o.INCOMING_ACTIVITY) { var s = r.activity, u = s.from, c = u.id, l = u.role, f = s.type; "user" !== l && ("typing" === f ? e = (0, i.default)(e, [c], (function() { return Date.now() })) : "message" === f && (e = (0, i.default)(e, [c]))) } return e }; var i = n(r(119)), o = r(79), a = {} }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : u, t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, n = t.type, c = Date.now(); if (n === o.DISMISS_NOTIFICATION) e = (0, i.default)(e, [r.id]); else if (n === a.SAGA_ERROR) e = (0, i.default)(e, ["connectivitystatus", "message"], (function() { return "javascripterror" })); else if (n === s.SET_NOTIFICATION) { var l = r.alt, f = r.data, p = r.id, d = r.level, h = r.message, v = e[p]; v && l === v.alt && Object.is(f, v.data) && d === v.level && h === v.message || (e = (0, i.default)(e, [p], (function() { return { alt: l, data: f, id: p, level: d, message: h, timestamp: c } }))) } return e }; var i = n(r(119)), o = r(381), a = r(226), s = r(228), u = {} }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0, t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, i = t.type; switch (i) { case n.CONNECTION_STATUS_UPDATE: e = r.connectionStatus } return e }; var n = r(382) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null, t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, i = t.type; switch (i) { case n.SET_REFERENCE_GRAMMAR_ID: e = r.referenceGrammarID || null } return e }; var n = r(383) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "", t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, i = t.type; switch (i) { case n.SET_SEND_BOX: e = r.text } return e }; var n = r(121) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 2e4, t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, i = t.type; switch (i) { case n.SET_SEND_TIMEOUT: e = r.sendTimeout } return e }; var n = r(384) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, i = t.type; switch (i) { case n.SET_SEND_TYPING_INDICATOR: e = r.sendTypingIndicator } return e }; var n = r(229) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] && arguments[0], t = arguments.length > 1 ? arguments[1] : void 0, r = t.type; switch (r) { case n.START_SPEAKING_ACTIVITY: e = !0; break; case i.STOP_SPEAKING_ACTIVITY: e = !1 } return e }; var n = r(230), i = r(166) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : o, t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, a = void 0 === r ? {} : r, s = t.type; switch (s) { case i.SET_SUGGESTED_ACTIONS: e = (a.suggestedActions || []).length ? [].slice.call(a.suggestedActions) : o; break; case n.CLEAR_SUGGESTED_ACTIONS: e = o } return e }; var n = r(375), i = r(231), o = [] }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : s, t = arguments.length > 1 ? arguments[1] : void 0, r = t.payload, n = t.type; if (n === o.INCOMING_ACTIVITY || n === a.POST_ACTIVITY_PENDING) { var u = r.activity, c = u.from, l = c.id, f = c.name, p = c.role, d = u.type; "typing" === d ? e = (0, i.default)(e, [l], (function() { return { at: Date.now(), name: f, role: p } })) : "message" === d && (e = (0, i.default)(e, [l])) } return e }; var i = n(r(119)), o = r(79), a = r(33), s = {} }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = I; var i = n(r(17)), o = r(18), a = n(r(776)), s = n(r(777)), u = n(r(779)), c = n(r(780)), l = n(r(1039)), f = n(r(1040)), p = n(r(1041)), d = n(r(1043)), h = n(r(1044)), v = n(r(1055)), m = n(r(1056)), y = n(r(1061)), b = n(r(1062)), g = n(r(1063)), _ = n(r(1064)), T = n(r(1066)), S = n(r(1069)), A = n(r(1071)), E = n(r(1072)), C = n(r(1073)), O = n(r(1074)), w = i.default.mark(I); function I() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.fork)(a.default); case 2: return e.next = 4, (0, o.fork)(s.default); case 4: return e.next = 6, (0, o.fork)(u.default); case 6: return e.next = 8, (0, o.fork)(c.default); case 8: return e.next = 10, (0, o.fork)(l.default); case 10: return e.next = 12, (0, o.fork)(f.default); case 12: return e.next = 14, (0, o.fork)(p.default); case 14: return e.next = 16, (0, o.fork)(d.default); case 16: return e.next = 18, (0, o.fork)(h.default); case 18: return e.next = 20, (0, o.fork)(v.default); case 20: return e.next = 22, (0, o.fork)(m.default); case 22: return e.next = 24, (0, o.fork)(y.default); case 24: return e.next = 26, (0, o.fork)(b.default); case 26: return e.next = 28, (0, o.fork)(g.default); case 28: return e.next = 30, (0, o.fork)(_.default); case 30: return e.next = 32, (0, o.fork)(T.default); case 32: return e.next = 34, (0, o.fork)(S.default); case 34: return e.next = 36, (0, o.fork)(A.default); case 36: return e.next = 38, (0, o.fork)(E.default); case 38: return e.next = 40, (0, o.fork)(C.default); case 40: return e.next = 42, (0, o.fork)(O.default); case 42: case "end": return e.stop() } }), w) } }, function(e, t, r) { "use strict"; e.exports = r(775) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), r(118), r(223); var n = r(224), i = r(377); r(225); var o = function(e) { return { done: !0, value: e } }, a = {}; function s(e) { return n.channel(e) ? "channel" : n.stringableFunc(e) ? String(e) : n.func(e) ? e.name : String(e) } function u(e, t, r) { var n, s, u, c = t; function l(t, r) { if (c === a) return o(t); if (r && !s) throw c = a, r; n && n(t); var i = r ? e[s](r) : e[c](); return c = i.nextState, u = i.effect, n = i.stateUpdater, s = i.errorState, c === a ? o(t) : u } return i.makeIterator(l, (function(e) { return l(null, e) }), r) } function c(e, t) { for (var r = arguments.length, n = new Array(r > 2 ? r - 2 : 0), o = 2; o < r; o++) n[o - 2] = arguments[o]; var a, c = { done: !1, value: i.take(e) }, l = function(e) { return { done: !1, value: i.fork.apply(void 0, [t].concat(n, [e])) } }, f = function(e) { return a = e }; return u({ q1: function() { return { nextState: "q2", effect: c, stateUpdater: f } }, q2: function() { return { nextState: "q1", effect: l(a) } } }, "q1", "takeEvery(" + s(e) + ", " + t.name + ")") } function l(e, t) { for (var r = arguments.length, n = new Array(r > 2 ? r - 2 : 0), o = 2; o < r; o++) n[o - 2] = arguments[o]; var a, c, l = { done: !1, value: i.take(e) }, f = function(e) { return { done: !1, value: i.fork.apply(void 0, [t].concat(n, [e])) } }, p = function(e) { return { done: !1, value: i.cancel(e) } }, d = function(e) { return a = e }, h = function(e) { return c = e }; return u({ q1: function() { return { nextState: "q2", effect: l, stateUpdater: h } }, q2: function() { return a ? { nextState: "q3", effect: p(a) } : { nextState: "q1", effect: f(c), stateUpdater: d } }, q3: function() { return { nextState: "q1", effect: f(c), stateUpdater: d } } }, "q1", "takeLatest(" + s(e) + ", " + t.name + ")") } function f(e, t) { for (var r = arguments.length, n = new Array(r > 2 ? r - 2 : 0), o = 2; o < r; o++) n[o - 2] = arguments[o]; var a, c = { done: !1, value: i.take(e) }, l = function(e) { return { done: !1, value: i.call.apply(void 0, [t].concat(n, [e])) } }, f = function(e) { return a = e }; return u({ q1: function() { return { nextState: "q2", effect: c, stateUpdater: f } }, q2: function() { return { nextState: "q1", effect: l(a) } } }, "q1", "takeLeading(" + s(e) + ", " + t.name + ")") } function p(e, t, r) { for (var n = arguments.length, o = new Array(n > 3 ? n - 3 : 0), a = 3; a < n; a++) o[a - 3] = arguments[a]; var c, l, f = { done: !1, value: i.actionChannel(t, i.sliding(1)) }, p = function() { return { done: !1, value: i.take(l) } }, d = function(e) { return { done: !1, value: i.fork.apply(void 0, [r].concat(o, [e])) } }, h = { done: !1, value: i.delay(e) }, v = function(e) { return c = e }, m = function(e) { return l = e }; return u({ q1: function() { return { nextState: "q2", effect: f, stateUpdater: m } }, q2: function() { return { nextState: "q3", effect: p(), stateUpdater: v } }, q3: function() { return { nextState: "q4", effect: d(c) } }, q4: function() { return { nextState: "q2", effect: h } } }, "q1", "throttle(" + s(t) + ", " + r.name + ")") } function d(e, t, r) { for (var n = e, o = arguments.length, s = new Array(o > 3 ? o - 3 : 0), c = 3; c < o; c++) s[c - 3] = arguments[c]; var l = { done: !1, value: i.call.apply(void 0, [r].concat(s)) }, f = { done: !1, value: i.delay(t) }; return u({ q1: function() { return { nextState: "q2", effect: l, errorState: "q10" } }, q2: function() { return { nextState: a } }, q10: function(e) { if ((n -= 1) <= 0) throw e; return { nextState: "q1", effect: f } } }, "q1", "retry(" + r.name + ")") } function h(e, t, r) { for (var n = arguments.length, o = new Array(n > 3 ? n - 3 : 0), a = 3; a < n; a++) o[a - 3] = arguments[a]; var c, l, f = { done: !1, value: i.take(t) }, p = { done: !1, value: i.race({ action: i.take(t), debounce: i.delay(e) }) }, d = function(e) { return { done: !1, value: i.fork.apply(void 0, [r].concat(o, [e])) } }, h = function(e) { return { done: !1, value: e } }, v = function(e) { return c = e }, m = function(e) { return l = e }; return u({ q1: function() { return { nextState: "q2", effect: f, stateUpdater: v } }, q2: function() { return { nextState: "q3", effect: p, stateUpdater: m } }, q3: function() { return l.debounce ? { nextState: "q1", effect: d(c) } : { nextState: "q2", effect: h(l.action), stateUpdater: v } } }, "q1", "debounce(" + s(t) + ", " + r.name + ")") } t.actionChannel = i.actionChannel, t.all = i.all, t.apply = i.apply, t.call = i.call, t.cancel = i.cancel, t.cancelled = i.cancelled, t.cps = i.cps, t.delay = i.delay, t.effectTypes = i.effectTypes, t.flush = i.flush, t.fork = i.fork, t.getContext = i.getContext, t.join = i.join, t.put = i.put, t.putResolve = i.putResolve, t.race = i.race, t.select = i.select, t.setContext = i.setContext, t.spawn = i.spawn, t.take = i.take, t.takeMaybe = i.takeMaybe, t.debounce = function(e, t, r) { for (var n = arguments.length, o = new Array(n > 3 ? n - 3 : 0), a = 3; a < n; a++) o[a - 3] = arguments[a]; return i.fork.apply(void 0, [h, e, t, r].concat(o)) }, t.retry = function(e, t, r) { for (var n = arguments.length, o = new Array(n > 3 ? n - 3 : 0), a = 3; a < n; a++) o[a - 3] = arguments[a]; return i.call.apply(void 0, [d, e, t, r].concat(o)) }, t.takeEvery = function(e, t) { for (var r = arguments.length, n = new Array(r > 2 ? r - 2 : 0), o = 2; o < r; o++) n[o - 2] = arguments[o]; return i.fork.apply(void 0, [c, e, t].concat(n)) }, t.takeLatest = function(e, t) { for (var r = arguments.length, n = new Array(r > 2 ? r - 2 : 0), o = 2; o < r; o++) n[o - 2] = arguments[o]; return i.fork.apply(void 0, [l, e, t].concat(n)) }, t.takeLeading = function(e, t) { for (var r = arguments.length, n = new Array(r > 2 ? r - 2 : 0), o = 2; o < r; o++) n[o - 2] = arguments[o]; return i.fork.apply(void 0, [f, e, t].concat(n)) }, t.throttle = function(e, t, r) { for (var n = arguments.length, o = new Array(n > 3 ? n - 3 : 0), a = 3; a < n; a++) o[a - 3] = arguments[a]; return i.fork.apply(void 0, [p, e, t, r].concat(o)) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = h; var i = n(r(17)), o = r(18), a = r(33), s = n(r(231)), u = n(r(30)), c = i.default.mark(p), l = i.default.mark(d), f = i.default.mark(h); function p() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.put)((0, s.default)()); case 2: case "end": return e.stop() } }), c) } function d() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)((function(e) { var t = e.payload; return e.type === a.POST_ACTIVITY_PENDING && "message" === t.activity.type }), p); case 2: case "end": return e.stop() } }), l) } function h() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, u.default)(d); case 2: case "end": return e.stop() } }), f) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = d; var i = n(r(17)), o = r(18), a = r(98), s = n(r(232)), u = n(r(228)), c = i.default.mark(p), l = i.default.mark(d); function f(e) { var t = (0, s.default)(), r = t.push, n = t.shift, i = e.subscribe({ next: r }); return { shift: n, unsubscribe: function() { i.unsubscribe() } } } function p(e) { var t, r, n, a, s, l; return i.default.wrap((function(i) { for (;;) switch (i.prev = i.next) { case 0: t = e.payload.directLine, r = f(t.connectionStatus$), n = r.shift, a = r.unsubscribe, i.prev = 2; case 3: return i.next = 5, (0, o.call)(n); case 5: l = i.sent, i.t0 = l, i.next = 0 === i.t0 || 1 === i.t0 ? 9 : 2 === i.t0 ? 12 : 3 === i.t0 || 4 === i.t0 ? 16 : 20; break; case 9: return i.next = 11, (0, o.put)((0, u.default)({ id: "connectivitystatus", level: "info", message: s ? "reconnecting" : "connecting" })); case 11: return i.abrupt("break", 21); case 12: return s = 1, i.next = 15, (0, o.put)((0, u.default)({ id: "connectivitystatus", level: "success", message: "connected" })); case 15: return i.abrupt("break", 21); case 16: return s = 1, i.next = 19, (0, o.put)((0, u.default)({ id: "connectivitystatus", level: "error", message: "failedtoconnect" })); case 19: case 20: return i.abrupt("break", 21); case 21: i.next = 3; break; case 23: return i.prev = 23, a(), i.finish(23); case 26: case "end": return i.stop() } }), c, null, [ [2, , 23, 26] ]) } function d() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeLatest)(a.CONNECT, p); case 2: case "end": return e.stop() } }), l) } }, function(e, t) { e.exports = function(e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var i = t[n] = { i: n, l: !1, exports: {} }; return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } return r.m = e, r.c = t, r.d = function(e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }, r.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, r.t = function(e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var i in e) r.d(n, i, function(t) { return e[t] }.bind(null, i)); return n }, r.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return r.d(t, "a", t), t }, r.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, r.p = "", r(r.s = 1) }([function(e, t, r) { "use strict"; e.exports = function() { var e = {}; return e.promise = new Promise((function(t, r) { e.resolve = t, e.reject = r })), e } }, function(e, t, r) { "use strict"; r.r(t); var n = r(0), i = r.n(n); t.default = i.a }]) }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = d; var i = n(r(17)), o = r(18), a = n(r(382)), s = n(r(386)), u = n(r(383)), c = n(r(30)), l = i.default.mark(p), f = i.default.mark(d); function p(e) { var t; return i.default.wrap((function(r) { for (;;) switch (r.prev = r.next) { case 0: return t = e.directLine, r.next = 3, (0, s.default)(t.connectionStatus$, i.default.mark((function e(r) { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.put)((0, a.default)(r)); case 2: return e.next = 4, (0, o.put)((0, u.default)(t.referenceGrammarId)); case 4: case "end": return e.stop() } }), e) }))); case 3: case "end": return r.stop() } }), l) } function d() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, c.default)(p); case 2: case "end": return e.stop() } }), f) } }, function(e, t, r) { "use strict"; var n = r(373), i = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = R; var o = i(r(17)), a = r(18), s = r(387), u = r(1017), c = r(98), l = i(r(232)), f = i(r(1036)), p = i(r(491)), d = n(r(1038)), h = r(162), v = r(161), m = o.default.mark(O), y = o.default.mark(I), b = o.default.mark(P), g = o.default.mark(x), _ = o.default.mark(N), T = o.default.mark(R), S = s.ConnectionStatus.Connecting, A = s.ConnectionStatus.Online, E = s.ConnectionStatus.Uninitialized; function C() { return "r_".concat((0, p.default)().substr(0, 10)) } function O(e) { var t, r, n; return o.default.wrap((function(i) { for (;;) switch (i.prev = i.next) { case 0: t = (0, l.default)(), r = e.connectionStatus$.subscribe({ next: t.push }), i.prev = 2; case 3: return i.next = 5, (0, a.call)(t.shift); case 5: return n = i.sent, i.next = 8, (0, a.put)((0, d.default)(n)); case 8: i.next = 3; break; case 10: return i.prev = 10, r.unsubscribe(), i.finish(10); case 13: case "end": return i.stop() } }), m, null, [ [2, , 10, 13] ]) } function w(e, t) { var r = e.token, n = ((0, u.decode)(r) || {}).user; return n ? (t && t !== n && console.warn("Web Chat: user ID is both specified in the Direct Line token and passed in, will use the user ID from the token."), n) : t ? "string" != typeof t ? (console.warn("Web Chat: user ID must be a string."), C()) : /^dl_/.test(t) ? (console.warn('Web Chat: user ID prefixed with "dl_" is reserved and must be embedded into the Direct Line token to prevent forgery.'), C()) : t : C() } function I(e) { var t, r, n, i; return o.default.wrap((function(o) { for (;;) switch (o.prev = o.next) { case 0: t = e.activity$.subscribe({ next: function() { return 0 } }), r = t.unsubscribe.bind(t), o.prev = 2; case 3: return o.next = 5, (0, a.take)(d.UPDATE_CONNECTION_STATUS); case 5: if (n = o.sent, (i = n.payload.connectionStatus) !== A) { o.next = 11; break } return o.abrupt("return", (function() { r(), e.end() })); case 11: if (i === E || i === S) { o.next = 13; break } throw new Error("Failed to connect, DirectLineJS returned ".concat(i, ".")); case 13: o.next = 3; break; case 15: o.next = 21; break; case 17: throw o.prev = 17, o.t0 = o.catch(2), r(), o.t0; case 21: return o.prev = 21, o.next = 24, (0, a.cancelled)(); case 24: if (!o.sent) { o.next = 26; break } r(); case 26: return o.finish(21); case 27: case "end": return o.stop() } }), y, null, [ [2, 17, 21, 27] ]) } function P() { var e, t; return o.default.wrap((function(r) { for (;;) switch (r.prev = r.next) { case 0: return r.next = 2, (0, a.take)(d.UPDATE_CONNECTION_STATUS); case 2: if (e = r.sent, (t = e.payload.connectionStatus) !== A) { r.next = 8; break } return r.abrupt("break", 12); case 8: if (t === S) { r.next = 10; break } throw new Error("Failed to reconnect. DirectLineJS returned ".concat(t, ".")); case 10: r.next = 0; break; case 12: case "end": return r.stop() } }), b) } function x(e, t) { var r, n, i, a; return o.default.wrap((function(o) { for (;;) switch (o.prev = o.next) { case 0: return r = e.type, n = e.meta, i = e.payload, o.prev = 1, o.next = 4, (0, f.default)({ type: "".concat(r, "_PENDING"), meta: n, payload: i }); case 4: return o.next = 6, t(); case 6: return a = o.sent, o.next = 9, (0, f.default)({ type: "".concat(r, "_FULFILLING"), meta: n, payload: i }, { type: "".concat(r, "_FULFILLED"), meta: n, payload: i }); case 9: return o.abrupt("return", a); case 12: return o.prev = 12, o.t0 = o.catch(1), o.next = 16, (0, f.default)({ type: "".concat(r, "_REJECTED"), error: !0, meta: n, payload: o.t0 }); case 16: throw o.t0; case 17: case "end": return o.stop() } }), g, null, [ [1, 12] ]) } function N() { return o.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, a.take)(h.DISCONNECT); case 2: throw new Error("disconnected"); case 3: case "end": return e.stop() } }), _) } function k(e, t) { return x(e, o.default.mark((function e() { var r, n; return o.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, a.race)({ _: N(), result: t() }); case 2: return r = e.sent, n = r.result, e.abrupt("return", n); case 5: case "end": return e.stop() } }), e) }))) } function R() { var e; return o.default.wrap((function(t) { for (;;) switch (t.prev = t.next) { case 0: e = o.default.mark((function e() { var t, r, n, i, s, u, l, p, m, y, b, g, _; return o.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, a.take)(c.CONNECT); case 2: return t = e.sent, r = t.payload, n = r.directLine, i = r.userID, s = r.username, e.next = 9, (0, a.fork)(O, n); case 9: return u = e.sent, l = void 0, p = { userID: w(n, i), username: s }, e.prev = 12, e.next = 15, k({ type: c.CONNECT, meta: p, payload: { directLine: n } }, (function() { return (0, a.call)(I, n) })); case 15: m = e.sent, e.prev = 16; case 17: return e.next = 19, (0, a.race)({ _: (0, a.take)(h.DISCONNECT), updateConnectionStatusAction: (0, a.take)(d.UPDATE_CONNECTION_STATUS) }); case 19: if (y = e.sent, b = y.updateConnectionStatusAction, g = (b = void 0 === b ? {} : b).payload, (_ = (g = void 0 === g ? {} : g).connectionStatus) !== S) { e.next = 30; break } return e.next = 28, k({ type: v.RECONNECT, meta: p, payload: { directLine: n } }, (function() { return (0, a.call)(P) })); case 28: e.next = 36; break; case 30: if (_ === A) { e.next = 36; break } if (void 0 === _) { e.next = 35; break } throw new Error("Connection status changed to ".concat(_)); case 35: return e.abrupt("break", 38); case 36: e.next = 17; break; case 38: return e.prev = 38, m(), e.finish(38); case 41: e.next = 46; break; case 43: e.prev = 43, e.t0 = e.catch(12), l = { error: e.t0 }; case 46: return e.prev = 46, e.next = 49, (0, a.cancel)(u); case 49: return e.next = 51, (0, f.default)({ type: h.DISCONNECT_PENDING, meta: l, payload: { directLine: n } }, { type: h.DISCONNECT_FULFILLED, meta: l, payload: { directLine: n } }); case 51: return e.finish(46); case 52: case "end": return e.stop() } }), e, null, [ [12, 43, 46, 52], [16, , 38, 41] ]) })); case 1: return t.delegateYield(e(), "t0", 2); case 2: t.next = 1; break; case 4: case "end": return t.stop() } }), T) } }, function(e, t) { e.exports = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i } }, function(e, t, r) { var n = r(783); r(820), r(821), r(822), r(823), e.exports = n }, function(e, t, r) { r(784), r(788), r(804), r(808), r(414), r(819); var n = r(400); e.exports = n.Promise }, function(e, t, r) { var n = r(233), i = r(99), o = r(787); n || i(Object.prototype, "toString", o, { unsafe: !0 }) }, function(e, t, r) { var n = r(397); e.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator }, function(e, t, r) { var n = r(29), i = r(236), o = n.WeakMap; e.exports = "function" == typeof o && /native code/.test(i(o)) }, function(e, t, r) { "use strict"; var n = r(233), i = r(398); e.exports = n ? {}.toString : function() { return "[object " + i(this) + "]" } }, function(e, t, r) { "use strict"; var n = r(789).charAt, i = r(123), o = r(399), a = i.set, s = i.getterFor("String Iterator"); o(String, "String", (function(e) { a(this, { type: "String Iterator", string: String(e), index: 0 }) }), (function() { var e, t = s(this), r = t.string, i = t.index; return i >= r.length ? { value: void 0, done: !0 } : (e = n(r, i), t.index += e.length, { value: e, done: !1 }) })) }, function(e, t, r) { var n = r(239), i = r(240), o = function(e) { return function(t, r) { var o, a, s = String(i(t)), u = n(r), c = s.length; return u < 0 || u >= c ? e ? "" : void 0 : (o = s.charCodeAt(u)) < 55296 || o > 56319 || u + 1 === c || (a = s.charCodeAt(u + 1)) < 56320 || a > 57343 ? e ? s.charAt(u) : o : e ? s.slice(u, u + 2) : a - 56320 + (o - 55296 << 10) + 65536 } }; e.exports = { codeAt: o(!1), charAt: o(!0) } }, function(e, t, r) { "use strict"; var n = {}.propertyIsEnumerable, i = Object.getOwnPropertyDescriptor, o = i && !n.call({ 1: 2 }, 1); t.f = o ? function(e) { var t = i(this, e); return !!t && t.enumerable } : n }, function(e, t, r) { var n = r(70), i = r(124), o = "".split; e.exports = n((function() { return !Object("z").propertyIsEnumerable(0) })) ? function(e) { return "String" == i(e) ? o.call(e, "") : Object(e) } : Object }, function(e, t, r) { var n = r(60), i = r(793), o = r(241), a = r(81); e.exports = function(e, t) { for (var r = i(t), s = a.f, u = o.f, c = 0; c < r.length; c++) { var l = r[c]; n(e, l) || s(e, l, u(t, l)) } } }, function(e, t, r) { var n = r(84), i = r(794), o = r(797), a = r(59); e.exports = n("Reflect", "ownKeys") || function(e) { var t = i.f(a(e)), r = o.f; return r ? t.concat(r(e)) : t } }, function(e, t, r) { var n = r(401), i = r(242).concat("length", "prototype"); t.f = Object.getOwnPropertyNames || function(e) { return n(e, i) } }, function(e, t, r) { var n = r(169), i = r(402), o = r(796), a = function(e) { return function(t, r, a) { var s, u = n(t), c = i(u.length), l = o(a, c); if (e && r != r) { for (; c > l;) if ((s = u[l++]) != s) return !0 } else for (; c > l; l++) if ((e || l in u) && u[l] === r) return e || l || 0; return !e && -1 } }; e.exports = { includes: a(!0), indexOf: a(!1) } }, function(e, t, r) { var n = r(239), i = Math.max, o = Math.min; e.exports = function(e, t) { var r = n(e); return r < 0 ? i(r + t, 0) : o(r, t) } }, function(e, t) { t.f = Object.getOwnPropertySymbols }, function(e, t, r) { "use strict"; var n = r(404).IteratorPrototype, i = r(244), o = r(168), a = r(245), s = r(125), u = function() { return this }; e.exports = function(e, t, r) { var c = t + " Iterator"; return e.prototype = i(n, { next: o(1, r) }), a(e, c, !1, !0), s[c] = u, e } }, function(e, t, r) { var n = r(240); e.exports = function(e) { return Object(n(e)) } }, function(e, t, r) { var n = r(70); e.exports = !n((function() { function e() {} return e.prototype.constructor = null, Object.getPrototypeOf(new e) !== e.prototype })) }, function(e, t, r) { var n = r(80), i = r(81), o = r(59), a = r(802); e.exports = n ? Object.defineProperties : function(e, t) { o(e); for (var r, n = a(t), s = n.length, u = 0; s > u;) i.f(e, r = n[u++], t[r]); return e } }, function(e, t, r) { var n = r(401), i = r(242); e.exports = Object.keys || function(e) { return n(e, i) } }, function(e, t, r) { var n = r(82); e.exports = function(e) { if (!n(e) && null !== e) throw TypeError("Can't set " + String(e) + " as a prototype"); return e } }, function(e, t, r) { var n = r(29), i = r(805), o = r(806), a = r(69), s = r(40), u = s("iterator"), c = s("toStringTag"), l = o.values; for (var f in i) { var p = n[f], d = p && p.prototype; if (d) { if (d[u] !== l) try { a(d, u, l) } catch (e) { d[u] = l } if (d[c] || a(d, c, f), i[f]) for (var h in o) if (d[h] !== o[h]) try { a(d, h, o[h]) } catch (e) { d[h] = o[h] } } } }, function(e, t) { e.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 } }, function(e, t, r) { "use strict"; var n = r(169), i = r(807), o = r(125), a = r(123), s = r(399), u = a.set, c = a.getterFor("Array Iterator"); e.exports = s(Array, "Array", (function(e, t) { u(this, { type: "Array Iterator", target: n(e), index: 0, kind: t }) }), (function() { var e = c(this), t = e.target, r = e.kind, n = e.index++; return !t || n >= t.length ? (e.target = void 0, { value: void 0, done: !0 }) : "keys" == r ? { value: n, done: !1 } : "values" == r ? { value: t[n], done: !1 } : { value: [n, t[n]], done: !1 } }), "values"), o.Arguments = o.Array, i("keys"), i("values"), i("entries") }, function(e, t, r) { var n = r(40), i = r(244), o = r(81), a = n("unscopables"), s = Array.prototype; null == s[a] && o.f(s, a, { configurable: !0, value: i(null) }), e.exports = function(e) { s[a][e] = !0 } }, function(e, t, r) { "use strict"; var n, i, o, a, s = r(83), u = r(122), c = r(29), l = r(84), f = r(407), p = r(99), d = r(809), h = r(245), v = r(810), m = r(82), y = r(100), b = r(811), g = r(124), _ = r(236), T = r(170), S = r(815), A = r(409), E = r(410).set, C = r(816), O = r(413), w = r(817), I = r(126), P = r(171), x = r(123), N = r(403), k = r(40), R = r(818), L = k("species"), M = "Promise", j = x.get, D = x.set, U = x.getterFor(M), B = f, F = c.TypeError, z = c.document, V = c.process, G = l("fetch"), q = I.f, H = q, W = "process" == g(V), Y = !!(z && z.createEvent && c.dispatchEvent), K = N(M, (function() { if (!(_(B) !== String(B))) { if (66 === R) return !0; if (!W && "function" != typeof PromiseRejectionEvent) return !0 } if (u && !B.prototype.finally) return !0; if (R >= 51 && /native code/.test(B)) return !1; var e = B.resolve(1), t = function(e) { e((function() {}), (function() {})) }; return (e.constructor = {})[L] = t, !(e.then((function() {})) instanceof t) })), $ = K || !S((function(e) { B.all(e).catch((function() {})) })), J = function(e) { var t; return !(!m(e) || "function" != typeof(t = e.then)) && t }, X = function(e, t, r) { if (!t.notified) { t.notified = !0; var n = t.reactions; C((function() { for (var i = t.value, o = 1 == t.state, a = 0; n.length > a;) { var s, u, c, l = n[a++], f = o ? l.ok : l.fail, p = l.resolve, d = l.reject, h = l.domain; try { f ? (o || (2 === t.rejection && te(e, t), t.rejection = 1), !0 === f ? s = i : (h && h.enter(), s = f(i), h && (h.exit(), c = !0)), s === l.promise ? d(F("Promise-chain cycle")) : (u = J(s)) ? u.call(s, p, d) : p(s)) : d(i) } catch (e) { h && !c && h.exit(), d(e) } } t.reactions = [], t.notified = !1, r && !t.rejection && Q(e, t) })) } }, Z = function(e, t, r) { var n, i; Y ? ((n = z.createEvent("Event")).promise = t, n.reason = r, n.initEvent(e, !1, !0), c.dispatchEvent(n)) : n = { promise: t, reason: r }, (i = c["on" + e]) ? i(n) : "unhandledrejection" === e && w("Unhandled promise rejection", r) }, Q = function(e, t) { E.call(c, (function() { var r, n = t.value; if (ee(t) && (r = P((function() { W ? V.emit("unhandledRejection", n, e) : Z("unhandledrejection", e, n) })), t.rejection = W || ee(t) ? 2 : 1, r.error)) throw r.value })) }, ee = function(e) { return 1 !== e.rejection && !e.parent }, te = function(e, t) { E.call(c, (function() { W ? V.emit("rejectionHandled", e) : Z("rejectionhandled", e, t.value) })) }, re = function(e, t, r, n) { return function(i) { e(t, r, i, n) } }, ne = function(e, t, r, n) { t.done || (t.done = !0, n && (t = n), t.value = r, t.state = 2, X(e, t, !0)) }, ie = function(e, t, r, n) { if (!t.done) { t.done = !0, n && (t = n); try { if (e === r) throw F("Promise can't be resolved itself"); var i = J(r); i ? C((function() { var n = { done: !1 }; try { i.call(r, re(ie, e, n, t), re(ne, e, n, t)) } catch (r) { ne(e, n, r, t) } })) : (t.value = r, t.state = 1, X(e, t, !1)) } catch (r) { ne(e, { done: !1 }, r, t) } } }; K && (B = function(e) { b(this, B, M), y(e), n.call(this); var t = j(this); try { e(re(ie, this, t), re(ne, this, t)) } catch (e) { ne(this, t, e) } }, (n = function(e) { D(this, { type: M, done: !1, notified: !1, parent: !1, reactions: [], rejection: !1, state: 0, value: void 0 }) }).prototype = d(B.prototype, { then: function(e, t) { var r = U(this), n = q(A(this, B)); return n.ok = "function" != typeof e || e, n.fail = "function" == typeof t && t, n.domain = W ? V.domain : void 0, r.parent = !0, r.reactions.push(n), 0 != r.state && X(this, r, !1), n.promise }, catch: function(e) { return this.then(void 0, e) } }), i = function() { var e = new n, t = j(e); this.promise = e, this.resolve = re(ie, e, t), this.reject = re(ne, e, t) }, I.f = q = function(e) { return e === B || e === o ? new i(e) : H(e) }, u || "function" != typeof f || (a = f.prototype.then, p(f.prototype, "then", (function(e, t) { var r = this; return new B((function(e, t) { a.call(r, e, t) })).then(e, t) }), { unsafe: !0 }), "function" == typeof G && s({ global: !0, enumerable: !0, forced: !0 }, { fetch: function(e) { return O(B, G.apply(c, arguments)) } }))), s({ global: !0, wrap: !0, forced: K }, { Promise: B }), h(B, M, !1, !0), v(M), o = l(M), s({ target: M, stat: !0, forced: K }, { reject: function(e) { var t = q(this); return t.reject.call(void 0, e), t.promise } }), s({ target: M, stat: !0, forced: u || K }, { resolve: function(e) { return O(u && this === o ? B : this, e) } }), s({ target: M, stat: !0, forced: $ }, { all: function(e) { var t = this, r = q(t), n = r.resolve, i = r.reject, o = P((function() { var r = y(t.resolve), o = [], a = 0, s = 1; T(e, (function(e) { var u = a++, c = !1; o.push(void 0), s++, r.call(t, e).then((function(e) { c || (c = !0, o[u] = e, --s || n(o)) }), i) })), --s || n(o) })); return o.error && i(o.value), r.promise }, race: function(e) { var t = this, r = q(t), n = r.reject, i = P((function() { var i = y(t.resolve); T(e, (function(e) { i.call(t, e).then(r.resolve, n) })) })); return i.error && n(i.value), r.promise } }) }, function(e, t, r) { var n = r(99); e.exports = function(e, t, r) { for (var i in t) n(e, i, t[i], r); return e } }, function(e, t, r) { "use strict"; var n = r(84), i = r(81), o = r(40), a = r(80), s = o("species"); e.exports = function(e) { var t = n(e), r = i.f; a && t && !t[s] && r(t, s, { configurable: !0, get: function() { return this } }) } }, function(e, t) { e.exports = function(e, t, r) { if (!(e instanceof t)) throw TypeError("Incorrect " + (r ? r + " " : "") + "invocation"); return e } }, function(e, t, r) { var n = r(40), i = r(125), o = n("iterator"), a = Array.prototype; e.exports = function(e) { return void 0 !== e && (i.Array === e || a[o] === e) } }, function(e, t, r) { var n = r(398), i = r(125), o = r(40)("iterator"); e.exports = function(e) { if (null != e) return e[o] || e["@@iterator"] || i[n(e)] } }, function(e, t, r) { var n = r(59); e.exports = function(e, t, r, i) { try { return i ? t(n(r)[0], r[1]) : t(r) } catch (t) { var o = e.return; throw void 0 !== o && n(o.call(e)), t } } }, function(e, t, r) { var n = r(40)("iterator"), i = !1; try { var o = 0, a = { next: function() { return { done: !!o++ } }, return: function() { i = !0 } }; a[n] = function() { return this }, Array.from(a, (function() { throw 2 })) } catch (e) {} e.exports = function(e, t) { if (!t && !i) return !1; var r = !1; try { var o = {}; o[n] = function() { return { next: function() { return { done: r = !0 } } } }, e(o) } catch (e) {} return r } }, function(e, t, r) { var n, i, o, a, s, u, c, l, f = r(29), p = r(241).f, d = r(124), h = r(410).set, v = r(411), m = f.MutationObserver || f.WebKitMutationObserver, y = f.process, b = f.Promise, g = "process" == d(y), _ = p(f, "queueMicrotask"), T = _ && _.value; T || (n = function() { var e, t; for (g && (e = y.domain) && e.exit(); i;) { t = i.fn, i = i.next; try { t() } catch (e) { throw i ? a() : o = void 0, e } } o = void 0, e && e.enter() }, g ? a = function() { y.nextTick(n) } : m && !v ? (s = !0, u = document.createTextNode(""), new m(n).observe(u, { characterData: !0 }), a = function() { u.data = s = !s }) : b && b.resolve ? (c = b.resolve(void 0), l = c.then, a = function() { l.call(c, n) }) : a = function() { h.call(f, n) }), e.exports = T || function(e) { var t = { fn: e, next: void 0 }; o && (o.next = t), i || (i = t, a()), o = t } }, function(e, t, r) { var n = r(29); e.exports = function(e, t) { var r = n.console; r && r.error && (1 === arguments.length ? r.error(e) : r.error(e, t)) } }, function(e, t, r) { var n, i, o = r(29), a = r(412), s = o.process, u = s && s.versions, c = u && u.v8; c ? i = (n = c.split("."))[0] + n[1] : a && (!(n = a.match(/Edge\/(\d+)/)) || n[1] >= 74) && (n = a.match(/Chrome\/(\d+)/)) && (i = n[1]), e.exports = i && +i }, function(e, t, r) { "use strict"; var n = r(83), i = r(122), o = r(407), a = r(70), s = r(84), u = r(409), c = r(413), l = r(99); n({ target: "Promise", proto: !0, real: !0, forced: !!o && a((function() { o.prototype.finally.call({ then: function() {} }, (function() {})) })) }, { finally: function(e) { var t = u(this, s("Promise")), r = "function" == typeof e; return this.then(r ? function(r) { return c(t, e()).then((function() { return r })) } : e, r ? function(r) { return c(t, e()).then((function() { throw r })) } : e) } }), i || "function" != typeof o || o.prototype.finally || l(o.prototype, "finally", s("Promise").prototype.finally) }, function(e, t, r) { "use strict"; var n = r(83), i = r(80), o = r(243), a = r(406), s = r(244), u = r(81), c = r(168), l = r(170), f = r(69), p = r(123), d = p.set, h = p.getterFor("AggregateError"), v = function(e, t) { var r = this; if (!(r instanceof v)) return new v(e, t); a && (r = a(new Error(t), o(r))); var n = []; return l(e, n.push, n), i ? d(r, { errors: n, type: "AggregateError" }) : r.errors = n, void 0 !== t && f(r, "message", String(t)), r }; v.prototype = s(Error.prototype, { constructor: c(5, v), message: c(5, ""), name: c(5, "AggregateError") }), i && u.f(v.prototype, "errors", { get: function() { return h(this).errors }, configurable: !0 }), n({ global: !0 }, { AggregateError: v }) }, function(e, t, r) { r(414) }, function(e, t, r) { "use strict"; var n = r(83), i = r(126), o = r(171); n({ target: "Promise", stat: !0 }, { try: function(e) { var t = i.f(this), r = o(e); return (r.error ? t.reject : t.resolve)(r.value), t.promise } }) }, function(e, t, r) { "use strict"; var n = r(83), i = r(100), o = r(84), a = r(126), s = r(171), u = r(170); n({ target: "Promise", stat: !0 }, { any: function(e) { var t = this, r = a.f(t), n = r.resolve, c = r.reject, l = s((function() { var r = i(t.resolve), a = [], s = 0, l = 1, f = !1; u(e, (function(e) { var i = s++, u = !1; a.push(void 0), l++, r.call(t, e).then((function(e) { u || f || (f = !0, n(e)) }), (function(e) { u || f || (u = !0, a[i] = e, --l || c(new(o("AggregateError"))(a, "No one promise resolved"))) })) })), --l || c(new(o("AggregateError"))(a, "No one promise resolved")) })); return l.error && c(l.value), r.promise } }) }, function(e, t, r) { (function(e) { ! function(e) { "use strict"; var t, r = e.URLSearchParams && e.URLSearchParams.prototype.get ? e.URLSearchParams : null, n = r && "a=1" === new r({ a: 1 }).toString(), i = r && "+" === new r("s=%2B").get("s"), o = !r || ((t = new r).append("s", " &"), "s=+%26" === t.toString()), a = l.prototype, s = !(!e.Symbol || !e.Symbol.iterator); if (!(r && n && i && o)) { a.append = function(e, t) { v(this.__URLSearchParams__, e, t) }, a.delete = function(e) { delete this.__URLSearchParams__[e] }, a.get = function(e) { var t = this.__URLSearchParams__; return this.has(e) ? t[e][0] : null }, a.getAll = function(e) { var t = this.__URLSearchParams__; return this.has(e) ? t[e].slice(0) : [] }, a.has = function(e) { return y(this.__URLSearchParams__, e) }, a.set = function(e, t) { this.__URLSearchParams__[e] = ["" + t] }, a.toString = function() { var e, t, r, n, i = this.__URLSearchParams__, o = []; for (t in i) for (r = f(t), e = 0, n = i[t]; e < n.length; e++) o.push(r + "=" + f(n[e])); return o.join("&") }; var u = !!i && r && !n && e.Proxy; Object.defineProperty(e, "URLSearchParams", { value: u ? new Proxy(r, { construct: function(e, t) { return new e(new l(t[0]).toString()) } }) : l }); var c = e.URLSearchParams.prototype; c.polyfill = !0, c.forEach = c.forEach || function(e, t) { var r = h(this.toString()); Object.getOwnPropertyNames(r).forEach((function(n) { r[n].forEach((function(r) { e.call(t, r, n, this) }), this) }), this) }, c.sort = c.sort || function() { var e, t, r, n = h(this.toString()), i = []; for (e in n) i.push(e); for (i.sort(), t = 0; t < i.length; t++) this.delete(i[t]); for (t = 0; t < i.length; t++) { var o = i[t], a = n[o]; for (r = 0; r < a.length; r++) this.append(o, a[r]) } }, c.keys = c.keys || function() { var e = []; return this.forEach((function(t, r) { e.push(r) })), d(e) }, c.values = c.values || function() { var e = []; return this.forEach((function(t) { e.push(t) })), d(e) }, c.entries = c.entries || function() { var e = []; return this.forEach((function(t, r) { e.push([r, t]) })), d(e) }, s && (c[e.Symbol.iterator] = c[e.Symbol.iterator] || c.entries) } function l(e) { ((e = e || "") instanceof URLSearchParams || e instanceof l) && (e = e.toString()), this.__URLSearchParams__ = h(e) } function f(e) { var t = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" }; return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g, (function(e) { return t[e] })) } function p(e) { return e.replace(/[ +]/g, "%20").replace(/(%[a-f0-9]{2})+/gi, (function(e) { return decodeURIComponent(e) })) } function d(t) { var r = { next: function() { var e = t.shift(); return { done: void 0 === e, value: e } } }; return s && (r[e.Symbol.iterator] = function() { return r }), r } function h(e) { var t = {}; if ("object" == typeof e) if (m(e)) for (var r = 0; r < e.length; r++) { var n = e[r]; if (!m(n) || 2 !== n.length) throw new TypeError("Failed to construct 'URLSearchParams': Sequence initializer must only contain pair elements"); v(t, n[0], n[1]) } else for (var i in e) e.hasOwnProperty(i) && v(t, i, e[i]); else { 0 === e.indexOf("?") && (e = e.slice(1)); for (var o = e.split("&"), a = 0; a < o.length; a++) { var s = o[a], u = s.indexOf("="); - 1 < u ? v(t, p(s.slice(0, u)), p(s.slice(u + 1))) : s && v(t, p(s), "") } } return t } function v(e, t, r) { var n = "string" == typeof r ? r : null != r && "function" == typeof r.toString ? r.toString() : JSON.stringify(r); y(e, t) ? e[t].push(n) : e[t] = [n] } function m(e) { return !!e && "[object Array]" === Object.prototype.toString.call(e) } function y(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } }(void 0 !== e ? e : "undefined" != typeof window ? window : this) }).call(this, r(14)) }, function(e, t, r) { "use strict"; var n = r(36), i = r(247), o = r(418); t.toSubscriber = function(e, t, r) { if (e) { if (e instanceof n.Subscriber) return e; if (e[i.rxSubscriber]) return e[i.rxSubscriber]() } return e || t || r ? new n.Subscriber(e, t, r) : new n.Subscriber(o.empty) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t) { e.call(this), this.errors = t; var r = Error.call(this, t ? t.length + " errors occurred during unsubscription:\n " + t.map((function(e, t) { return t + 1 + ") " + e.toString() })).join("\n ") : ""); this.name = r.name = "UnsubscriptionError", this.stack = r.stack, this.message = r.message } return n(t, e), t }(Error); t.UnsubscriptionError = i }, function(e, t, r) { "use strict"; var n = r(828); function i(e) { return e ? 1 === e.length ? e[0] : function(t) { return e.reduce((function(e, t) { return t(e) }), t) } : n.noop } t.pipe = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t - 0] = arguments[t]; return i(e) }, t.pipeFromArray = i }, function(e, t, r) { "use strict"; t.noop = function() {} }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t, r) { e.call(this), this.subject = t, this.subscriber = r, this.closed = !1 } return n(t, e), t.prototype.unsubscribe = function() { if (!this.closed) { this.closed = !0; var e = this.subject, t = e.observers; if (this.subject = null, t && 0 !== t.length && !e.isStopped && !e.closed) { var r = t.indexOf(this.subscriber); - 1 !== r && t.splice(r, 1) } } }, t }(r(127).Subscription); t.SubjectSubscription = i }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(61), o = function(e) { function t(t, r) { e.call(this, t, r), this.scheduler = t, this.work = r, this.pending = !1 } return n(t, e), t.prototype.schedule = function(e, t) { if (void 0 === t && (t = 0), this.closed) return this; this.state = e, this.pending = !0; var r = this.id, n = this.scheduler; return null != r && (this.id = this.recycleAsyncId(n, r, t)), this.delay = t, this.id = this.id || this.requestAsyncId(n, this.id, t), this }, t.prototype.requestAsyncId = function(e, t, r) { return void 0 === r && (r = 0), i.root.setInterval(e.flush.bind(e, this), r) }, t.prototype.recycleAsyncId = function(e, t, r) { if (void 0 === r && (r = 0), null !== r && this.delay === r && !1 === this.pending) return t; i.root.clearInterval(t) }, t.prototype.execute = function(e, t) { if (this.closed) return new Error("executing a cancelled action"); this.pending = !1; var r = this._execute(e, t); if (r) return r; !1 === this.pending && null != this.id && (this.id = this.recycleAsyncId(this.scheduler, this.id, null)) }, t.prototype._execute = function(e, t) { var r = !1, n = void 0; try { this.work(e) } catch (e) { r = !0, n = !!e && e || new Error(e) } if (r) return this.unsubscribe(), n }, t.prototype._unsubscribe = function() { var e = this.id, t = this.scheduler, r = t.actions, n = r.indexOf(this); this.work = null, this.state = null, this.pending = !1, this.scheduler = null, -1 !== n && r.splice(n, 1), null != e && (this.id = this.recycleAsyncId(t, e, null)), this.delay = null }, t }(r(831).Action); t.AsyncAction = o }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t, r) { e.call(this) } return n(t, e), t.prototype.schedule = function(e, t) { return void 0 === t && (t = 0), this }, t }(r(127).Subscription); t.Action = i }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t() { e.apply(this, arguments), this.actions = [], this.active = !1, this.scheduled = void 0 } return n(t, e), t.prototype.flush = function(e) { var t = this.actions; if (this.active) t.push(e); else { var r; this.active = !0; do { if (r = e.execute(e.state, e.delay)) break } while (e = t.shift()); if (this.active = !1, r) { for (; e = t.shift();) e.unsubscribe(); throw r } } }, t }(r(833).Scheduler); t.AsyncScheduler = i }, function(e, t, r) { "use strict"; var n = function() { function e(t, r) { void 0 === r && (r = e.now), this.SchedulerAction = t, this.now = r } return e.prototype.schedule = function(e, t, r) { return void 0 === t && (t = 0), new this.SchedulerAction(this, e).schedule(r, t) }, e.now = Date.now ? Date.now : function() { return +new Date }, e }(); t.Scheduler = n }, function(e, t, r) { "use strict"; var n = r(11), i = r(835); n.Observable.prototype.catch = i._catch, n.Observable.prototype._catch = i._catch }, function(e, t, r) { "use strict"; var n = r(836); t._catch = function(e) { return n.catchError(e)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(176), o = r(177); t.catchError = function(e) { return function(t) { var r = new a(e), n = t.lift(r); return r.caught = n } }; var a = function() { function e(e) { this.selector = e } return e.prototype.call = function(e, t) { return t.subscribe(new s(e, this.selector, this.caught)) }, e }(), s = function(e) { function t(t, r, n) { e.call(this, t), this.selector = r, this.caught = n } return n(t, e), t.prototype.error = function(t) { if (!this.isStopped) { var r = void 0; try { r = this.selector(t, this.caught) } catch (t) { return void e.prototype.error.call(this, t) } this._unsubscribeAndRecycle(), this.add(o.subscribeToResult(this, r)) } }, t }(i.OuterSubscriber) }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t, r, n) { e.call(this), this.parent = t, this.outerValue = r, this.outerIndex = n, this.index = 0 } return n(t, e), t.prototype._next = function(e) { this.parent.notifyNext(this.outerValue, e, this.outerIndex, this.index++, this) }, t.prototype._error = function(e) { this.parent.notifyError(e, this), this.unsubscribe() }, t.prototype._complete = function() { this.parent.notifyComplete(this), this.unsubscribe() }, t }(r(36).Subscriber); t.InnerSubscriber = i }, function(e, t, r) { "use strict"; var n = r(11), i = r(839); n.Observable.prototype.combineLatest = i.combineLatest }, function(e, t, r) { "use strict"; var n = r(840); t.combineLatest = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t - 0] = arguments[t]; return n.combineLatest.apply(void 0, e)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(250), o = r(173), a = r(176), s = r(177), u = {}; t.combineLatest = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t - 0] = arguments[t]; var r = null; return "function" == typeof e[e.length - 1] && (r = e.pop()), 1 === e.length && o.isArray(e[0]) && (e = e[0].slice()), function(t) { return t.lift.call(new i.ArrayObservable([t].concat(e)), new c(r)) } }; var c = function() { function e(e) { this.project = e } return e.prototype.call = function(e, t) { return t.subscribe(new l(e, this.project)) }, e }(); t.CombineLatestOperator = c; var l = function(e) { function t(t, r) { e.call(this, t), this.project = r, this.active = 0, this.values = [], this.observables = [] } return n(t, e), t.prototype._next = function(e) { this.values.push(u), this.observables.push(e) }, t.prototype._complete = function() { var e = this.observables, t = e.length; if (0 === t) this.destination.complete(); else { this.active = t, this.toRespond = t; for (var r = 0; r < t; r++) { var n = e[r]; this.add(s.subscribeToResult(this, n, n, r)) } } }, t.prototype.notifyComplete = function(e) { 0 == (this.active -= 1) && this.destination.complete() }, t.prototype.notifyNext = function(e, t, r, n, i) { var o = this.values, a = o[r], s = this.toRespond ? a === u ? --this.toRespond : this.toRespond : 0; o[r] = t, 0 === s && (this.project ? this._tryProject(o) : this.destination.next(o.slice())) }, t.prototype._tryProject = function(e) { var t; try { t = this.project.apply(this, e) } catch (e) { return void this.destination.error(e) } this.destination.next(t) }, t }(a.OuterSubscriber); t.CombineLatestSubscriber = l }, function(e, t, r) { "use strict"; t.isScheduler = function(e) { return e && "function" == typeof e.schedule } }, function(e, t, r) { "use strict"; var n = r(11), i = r(843); n.Observable.prototype.count = i.count }, function(e, t, r) { "use strict"; var n = r(844); t.count = function(e) { return n.count(e)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(36); t.count = function(e) { return function(t) { return t.lift(new o(e, t)) } }; var o = function() { function e(e, t) { this.predicate = e, this.source = t } return e.prototype.call = function(e, t) { return t.subscribe(new a(e, this.predicate, this.source)) }, e }(), a = function(e) { function t(t, r, n) { e.call(this, t), this.predicate = r, this.source = n, this.count = 0, this.index = 0 } return n(t, e), t.prototype._next = function(e) { this.predicate ? this._tryPredicate(e) : this.count++ }, t.prototype._tryPredicate = function(e) { var t; try { t = this.predicate(e, this.index++, this.source) } catch (e) { return void this.destination.error(e) } t && this.count++ }, t.prototype._complete = function() { this.destination.next(this.count), this.destination.complete() }, t }(i.Subscriber) }, function(e, t, r) { "use strict"; var n = r(11), i = r(846); n.Observable.prototype.delay = i.delay }, function(e, t, r) { "use strict"; var n = r(175), i = r(847); t.delay = function(e, t) { return void 0 === t && (t = n.async), i.delay(e, t)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(175), o = r(848), a = r(36), s = r(423); t.delay = function(e, t) { void 0 === t && (t = i.async); var r = o.isDate(e) ? +e - t.now() : Math.abs(e); return function(e) { return e.lift(new u(r, t)) } }; var u = function() { function e(e, t) { this.delay = e, this.scheduler = t } return e.prototype.call = function(e, t) { return t.subscribe(new c(e, this.delay, this.scheduler)) }, e }(), c = function(e) { function t(t, r, n) { e.call(this, t), this.delay = r, this.scheduler = n, this.queue = [], this.active = !1, this.errored = !1 } return n(t, e), t.dispatch = function(e) { for (var t = e.source, r = t.queue, n = e.scheduler, i = e.destination; r.length > 0 && r[0].time - n.now() <= 0;) r.shift().notification.observe(i); if (r.length > 0) { var o = Math.max(0, r[0].time - n.now()); this.schedule(e, o) } else t.active = !1 }, t.prototype._schedule = function(e) { this.active = !0, this.add(e.schedule(t.dispatch, this.delay, { source: this, destination: this.destination, scheduler: e })) }, t.prototype.scheduleNotification = function(e) { if (!0 !== this.errored) { var t = this.scheduler, r = new l(t.now() + this.delay, e); this.queue.push(r), !1 === this.active && this._schedule(t) } }, t.prototype._next = function(e) { this.scheduleNotification(s.Notification.createNext(e)) }, t.prototype._error = function(e) { this.errored = !0, this.queue = [], this.destination.error(e) }, t.prototype._complete = function() { this.scheduleNotification(s.Notification.createComplete()) }, t }(a.Subscriber), l = function(e, t) { this.time = e, this.notification = t } }, function(e, t, r) { "use strict"; t.isDate = function(e) { return e instanceof Date && !isNaN(+e) } }, function(e, t, r) { "use strict"; var n = r(11), i = r(850); n.Observable.prototype.do = i._do, n.Observable.prototype._do = i._do }, function(e, t, r) { "use strict"; var n = r(851); t._do = function(e, t, r) { return n.tap(e, t, r)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(36); t.tap = function(e, t, r) { return function(n) { return n.lift(new o(e, t, r)) } }; var o = function() { function e(e, t, r) { this.nextOrObserver = e, this.error = t, this.complete = r } return e.prototype.call = function(e, t) { return t.subscribe(new a(e, this.nextOrObserver, this.error, this.complete)) }, e }(), a = function(e) { function t(t, r, n, o) { e.call(this, t); var a = new i.Subscriber(r, n, o); a.syncErrorThrowable = !0, this.add(a), this.safeSubscriber = a } return n(t, e), t.prototype._next = function(e) { var t = this.safeSubscriber; t.next(e), t.syncErrorThrown ? this.destination.error(t.syncErrorValue) : this.destination.next(e) }, t.prototype._error = function(e) { var t = this.safeSubscriber; t.error(e), t.syncErrorThrown ? this.destination.error(t.syncErrorValue) : this.destination.error(e) }, t.prototype._complete = function() { var e = this.safeSubscriber; e.complete(), e.syncErrorThrown ? this.destination.error(e.syncErrorValue) : this.destination.complete() }, t }(i.Subscriber) }, function(e, t, r) { "use strict"; var n = r(11), i = r(853); n.Observable.prototype.filter = i.filter }, function(e, t, r) { "use strict"; var n = r(854); t.filter = function(e, t) { return n.filter(e, t)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(36); t.filter = function(e, t) { return function(r) { return r.lift(new o(e, t)) } }; var o = function() { function e(e, t) { this.predicate = e, this.thisArg = t } return e.prototype.call = function(e, t) { return t.subscribe(new a(e, this.predicate, this.thisArg)) }, e }(), a = function(e) { function t(t, r, n) { e.call(this, t), this.predicate = r, this.thisArg = n, this.count = 0 } return n(t, e), t.prototype._next = function(e) { var t; try { t = this.predicate.call(this.thisArg, e, this.count++) } catch (e) { return void this.destination.error(e) } t && this.destination.next(e) }, t }(i.Subscriber) }, function(e, t, r) { "use strict"; var n = r(11), i = r(856); n.Observable.prototype.map = i.map }, function(e, t, r) { "use strict"; var n = r(424); t.map = function(e, t) { return n.map(e, t)(this) } }, function(e, t, r) { "use strict"; var n = r(11), i = r(858); n.Observable.prototype.mergeMap = i.mergeMap, n.Observable.prototype.flatMap = i.mergeMap }, function(e, t, r) { "use strict"; var n = r(425); t.mergeMap = function(e, t, r) { return void 0 === r && (r = Number.POSITIVE_INFINITY), n.mergeMap(e, t, r)(this) } }, function(e, t, r) { "use strict"; var n = r(11), i = r(860); n.Observable.prototype.concatMap = i.concatMap }, function(e, t, r) { "use strict"; var n = r(861); t.concatMap = function(e, t) { return n.concatMap(e, t)(this) } }, function(e, t, r) { "use strict"; var n = r(425); t.concatMap = function(e, t) { return n.mergeMap(e, t, 1) } }, function(e, t, r) { "use strict"; var n = r(11), i = r(863); n.Observable.prototype.retryWhen = i.retryWhen }, function(e, t, r) { "use strict"; var n = r(864); t.retryWhen = function(e) { return n.retryWhen(e)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(172), o = r(246), a = r(174), s = r(176), u = r(177); t.retryWhen = function(e) { return function(t) { return t.lift(new c(e, t)) } }; var c = function() { function e(e, t) { this.notifier = e, this.source = t } return e.prototype.call = function(e, t) { return t.subscribe(new l(e, this.notifier, this.source)) }, e }(), l = function(e) { function t(t, r, n) { e.call(this, t), this.notifier = r, this.source = n } return n(t, e), t.prototype.error = function(t) { if (!this.isStopped) { var r = this.errors, n = this.retries, s = this.retriesSubscription; if (n) this.errors = null, this.retriesSubscription = null; else { if (r = new i.Subject, (n = o.tryCatch(this.notifier)(r)) === a.errorObject) return e.prototype.error.call(this, a.errorObject.e); s = u.subscribeToResult(this, n) } this._unsubscribeAndRecycle(), this.errors = r, this.retries = n, this.retriesSubscription = s, r.next(t) } }, t.prototype._unsubscribe = function() { var e = this.errors, t = this.retriesSubscription; e && (e.unsubscribe(), this.errors = null), t && (t.unsubscribe(), this.retriesSubscription = null), this.retries = null }, t.prototype.notifyNext = function(e, t, r, n, i) { var o = this.errors, a = this.retries, s = this.retriesSubscription; this.errors = null, this.retries = null, this.retriesSubscription = null, this._unsubscribeAndRecycle(), this.errors = o, this.retries = a, this.retriesSubscription = s, this.source.subscribe(this) }, t }(s.OuterSubscriber) }, function(e, t, r) { "use strict"; var n = r(11), i = r(866); n.Observable.prototype.share = i.share }, function(e, t, r) { "use strict"; var n = r(867); t.share = function() { return n.share()(this) } }, function(e, t, r) { "use strict"; var n = r(868), i = r(426), o = r(172); function a() { return new o.Subject } t.share = function() { return function(e) { return i.refCount()(n.multicast(a)(e)) } } }, function(e, t, r) { "use strict"; var n = r(869); t.multicast = function(e, t) { return function(r) { var o; if (o = "function" == typeof e ? e : function() { return e }, "function" == typeof t) return r.lift(new i(o, t)); var a = Object.create(r, n.connectableObservableDescriptor); return a.source = r, a.subjectFactory = o, a } }; var i = function() { function e(e, t) { this.subjectFactory = e, this.selector = t } return e.prototype.call = function(e, t) { var r = this.selector, n = this.subjectFactory(), i = r(n).subscribe(e); return i.add(t.subscribe(n)), i }, e }(); t.MulticastOperator = i }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(172), o = r(11), a = r(36), s = r(127), u = r(426), c = function(e) { function t(t, r) { e.call(this), this.source = t, this.subjectFactory = r, this._refCount = 0, this._isComplete = !1 } return n(t, e), t.prototype._subscribe = function(e) { return this.getSubject().subscribe(e) }, t.prototype.getSubject = function() { var e = this._subject; return e && !e.isStopped || (this._subject = this.subjectFactory()), this._subject }, t.prototype.connect = function() { var e = this._connection; return e || (this._isComplete = !1, (e = this._connection = new s.Subscription).add(this.source.subscribe(new f(this.getSubject(), this))), e.closed ? (this._connection = null, e = s.Subscription.EMPTY) : this._connection = e), e }, t.prototype.refCount = function() { return u.refCount()(this) }, t }(o.Observable); t.ConnectableObservable = c; var l = c.prototype; t.connectableObservableDescriptor = { operator: { value: null }, _refCount: { value: 0, writable: !0 }, _subject: { value: null, writable: !0 }, _connection: { value: null, writable: !0 }, _subscribe: { value: l._subscribe }, _isComplete: { value: l._isComplete, writable: !0 }, getSubject: { value: l.getSubject }, connect: { value: l.connect }, refCount: { value: l.refCount } }; var f = function(e) { function t(t, r) { e.call(this, t), this.connectable = r } return n(t, e), t.prototype._error = function(t) { this._unsubscribe(), e.prototype._error.call(this, t) }, t.prototype._complete = function() { this.connectable._isComplete = !0, this._unsubscribe(), e.prototype._complete.call(this) }, t.prototype._unsubscribe = function() { var e = this.connectable; if (e) { this.connectable = null; var t = e._connection; e._refCount = 0, e._subject = null, e._connection = null, t && t.unsubscribe() } }, t }(i.SubjectSubscriber), p = (function() { function e(e) { this.connectable = e } e.prototype.call = function(e, t) { var r = this.connectable; r._refCount++; var n = new p(e, r), i = t.subscribe(n); return n.closed || (n.connection = r.connect()), i } }(), function(e) { function t(t, r) { e.call(this, t), this.connectable = r } return n(t, e), t.prototype._unsubscribe = function() { var e = this.connectable; if (e) { this.connectable = null; var t = e._refCount; if (t <= 0) this.connection = null; else if (e._refCount = t - 1, t > 1) this.connection = null; else { var r = this.connection, n = e._connection; this.connection = null, !n || r && n !== r || n.unsubscribe() } } else this.connection = null }, t }(a.Subscriber)) }, function(e, t, r) { "use strict"; var n = r(11), i = r(871); n.Observable.prototype.take = i.take }, function(e, t, r) { "use strict"; var n = r(872); t.take = function(e) { return n.take(e)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(36), o = r(873), a = r(178); t.take = function(e) { return function(t) { return 0 === e ? new a.EmptyObservable : t.lift(new s(e)) } }; var s = function() { function e(e) { if (this.total = e, this.total < 0) throw new o.ArgumentOutOfRangeError } return e.prototype.call = function(e, t) { return t.subscribe(new u(e, this.total)) }, e }(), u = function(e) { function t(t, r) { e.call(this, t), this.total = r, this.count = 0 } return n(t, e), t.prototype._next = function(e) { var t = this.total, r = ++this.count; r <= t && (this.destination.next(e), r === t && (this.destination.complete(), this.unsubscribe())) }, t }(i.Subscriber) }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t() { var t = e.call(this, "argument out of range"); this.name = t.name = "ArgumentOutOfRangeError", this.stack = t.stack, this.message = t.message } return n(t, e), t }(Error); t.ArgumentOutOfRangeError = i }, function(e, t, r) { "use strict"; var n = r(11), i = r(875); n.Observable.ajax = i.ajax }, function(e, t, r) { "use strict"; var n = r(876); t.ajax = n.AjaxObservable.create }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(61), o = r(246), a = r(174), s = r(11), u = r(36), c = r(424); function l() { if (i.root.XMLHttpRequest) return new i.root.XMLHttpRequest; if (i.root.XDomainRequest) return new i.root.XDomainRequest; throw new Error("CORS is not supported by your browser") } function f(e, t) { return void 0 === t && (t = null), new b({ method: "GET", url: e, headers: t }) } function p(e, t, r) { return new b({ method: "POST", url: e, body: t, headers: r }) } function d(e, t) { return new b({ method: "DELETE", url: e, headers: t }) } function h(e, t, r) { return new b({ method: "PUT", url: e, body: t, headers: r }) } function v(e, t, r) { return new b({ method: "PATCH", url: e, body: t, headers: r }) } t.ajaxGet = f, t.ajaxPost = p, t.ajaxDelete = d, t.ajaxPut = h, t.ajaxPatch = v; var m = c.map((function(e, t) { return e.response })); function y(e, t) { return m(new b({ method: "GET", url: e, responseType: "json", headers: t })) } t.ajaxGetJSON = y; var b = function(e) { function t(t) { e.call(this); var r = { async: !0, createXHR: function() { return this.crossDomain ? l.call(this) : function() { if (i.root.XMLHttpRequest) return new i.root.XMLHttpRequest; var e = void 0; try { for (var t = ["Msxml2.XMLHTTP", "Microsoft.XMLHTTP", "Msxml2.XMLHTTP.4.0"], r = 0; r < 3; r++) try { if (e = t[r], new i.root.ActiveXObject(e)) break } catch (e) {} return new i.root.ActiveXObject(e) } catch (e) { throw new Error("XMLHttpRequest is not supported by your browser") } }() }, crossDomain: !1, withCredentials: !1, headers: {}, method: "GET", responseType: "json", timeout: 0 }; if ("string" == typeof t) r.url = t; else for (var n in t) t.hasOwnProperty(n) && (r[n] = t[n]); this.request = r } var r; return n(t, e), t.prototype._subscribe = function(e) { return new g(e, this.request) }, t.create = ((r = function(e) { return new t(e) }).get = f, r.post = p, r.delete = d, r.put = h, r.patch = v, r.getJSON = y, r), t }(s.Observable); t.AjaxObservable = b; var g = function(e) { function t(t, r) { e.call(this, t), this.request = r, this.done = !1; var n = r.headers = r.headers || {}; r.crossDomain || n["X-Requested-With"] || (n["X-Requested-With"] = "XMLHttpRequest"), "Content-Type" in n || i.root.FormData && r.body instanceof i.root.FormData || void 0 === r.body || (n["Content-Type"] = "application/x-www-form-urlencoded; charset=UTF-8"), r.body = this.serializeBody(r.body, r.headers["Content-Type"]), this.send() } return n(t, e), t.prototype.next = function(e) { this.done = !0; var t = this.xhr, r = this.request, n = this.destination, i = new _(e, t, r); n.next(i) }, t.prototype.send = function() { var e = this.request, t = this.request, r = t.user, n = t.method, i = t.url, s = t.async, u = t.password, c = t.headers, l = t.body, f = e.createXHR, p = o.tryCatch(f).call(e); if (p === a.errorObject) this.error(a.errorObject.e); else { this.xhr = p, this.setupEvents(p, e); if ((r ? o.tryCatch(p.open).call(p, n, i, s, r, u) : o.tryCatch(p.open).call(p, n, i, s)) === a.errorObject) return this.error(a.errorObject.e), null; if (s && (p.timeout = e.timeout, p.responseType = e.responseType), "withCredentials" in p && (p.withCredentials = !!e.withCredentials), this.setHeaders(p, c), (l ? o.tryCatch(p.send).call(p, l) : o.tryCatch(p.send).call(p)) === a.errorObject) return this.error(a.errorObject.e), null } return p }, t.prototype.serializeBody = function(e, t) { if (!e || "string" == typeof e) return e; if (i.root.FormData && e instanceof i.root.FormData) return e; if (t) { var r = t.indexOf(";"); - 1 !== r && (t = t.substring(0, r)) } switch (t) { case "application/x-www-form-urlencoded": return Object.keys(e).map((function(t) { return encodeURI(t) + "=" + encodeURI(e[t]) })).join("&"); case "application/json": return JSON.stringify(e); default: return e } }, t.prototype.setHeaders = function(e, t) { for (var r in t) t.hasOwnProperty(r) && e.setRequestHeader(r, t[r]) }, t.prototype.setupEvents = function(e, t) { var r = t.progressSubscriber; function n(e) { var t = n, r = t.subscriber, i = t.progressSubscriber, o = t.request; i && i.error(e), r.error(new A(this, o)) } if (e.ontimeout = n, n.request = t, n.subscriber = this, n.progressSubscriber = r, e.upload && "withCredentials" in e) { var o, a; if (r) o = function(e) { o.progressSubscriber.next(e) }, i.root.XDomainRequest ? e.onprogress = o : e.upload.onprogress = o, o.progressSubscriber = r; a = function(e) { var t = a, r = t.progressSubscriber, n = t.subscriber, i = t.request; r && r.error(e), n.error(new T("ajax error", this, i)) }, e.onerror = a, a.request = t, a.subscriber = this, a.progressSubscriber = r } function s(e) { var t = s, r = t.subscriber, n = t.progressSubscriber, i = t.request; if (4 === this.readyState) { var o = 1223 === this.status ? 204 : this.status, a = "text" === this.responseType ? this.response || this.responseText : this.response; 0 === o && (o = a ? 200 : 0), 200 <= o && o < 300 ? (n && n.complete(), r.next(e), r.complete()) : (n && n.error(e), r.error(new T("ajax error " + o, this, i))) } } e.onreadystatechange = s, s.subscriber = this, s.progressSubscriber = r, s.request = t }, t.prototype.unsubscribe = function() { var t = this.done, r = this.xhr; !t && r && 4 !== r.readyState && "function" == typeof r.abort && r.abort(), e.prototype.unsubscribe.call(this) }, t }(u.Subscriber); t.AjaxSubscriber = g; var _ = function(e, t, r) { this.originalEvent = e, this.xhr = t, this.request = r, this.status = t.status, this.responseType = t.responseType || r.responseType, this.response = S(this.responseType, t) }; t.AjaxResponse = _; var T = function(e) { function t(t, r, n) { e.call(this, t), this.message = t, this.xhr = r, this.request = n, this.status = r.status, this.responseType = r.responseType || n.responseType, this.response = S(this.responseType, r) } return n(t, e), t }(Error); function S(e, t) { switch (e) { case "json": return "response" in t ? t.responseType ? t.response : JSON.parse(t.response || t.responseText || "null") : JSON.parse(t.responseText || "null"); case "xml": return t.responseXML; case "text": default: return "response" in t ? t.response : t.responseText } } t.AjaxError = T; var A = function(e) { function t(t, r) { e.call(this, "ajax timeout", t, r) } return n(t, e), t }(T); t.AjaxTimeoutError = A }, function(e, t, r) { "use strict"; var n = r(11), i = r(878); n.Observable.empty = i.empty }, function(e, t, r) { "use strict"; var n = r(178); t.empty = n.EmptyObservable.create }, function(e, t, r) { "use strict"; var n = r(11), i = r(880); n.Observable.from = i.from }, function(e, t, r) { "use strict"; var n = r(881); t.from = n.FromObservable.create }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(173), o = r(420), a = r(421), s = r(882), u = r(883), c = r(250), l = r(884), f = r(249), p = r(11), d = r(885), h = r(248), v = function(e) { function t(t, r) { e.call(this, null), this.ish = t, this.scheduler = r } return n(t, e), t.create = function(e, r) { if (null != e) { if ("function" == typeof e[h.observable]) return e instanceof p.Observable && !r ? e : new t(e, r); if (i.isArray(e)) return new c.ArrayObservable(e, r); if (a.isPromise(e)) return new s.PromiseObservable(e, r); if ("function" == typeof e[f.iterator] || "string" == typeof e) return new u.IteratorObservable(e, r); if (o.isArrayLike(e)) return new l.ArrayLikeObservable(e, r) } throw new TypeError((null !== e && typeof e || e) + " is not observable") }, t.prototype._subscribe = function(e) { var t = this.ish, r = this.scheduler; return null == r ? t[h.observable]().subscribe(e) : t[h.observable]().subscribe(new d.ObserveOnSubscriber(e, r, 0)) }, t }(p.Observable); t.FromObservable = v }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(61), o = function(e) { function t(t, r) { e.call(this), this.promise = t, this.scheduler = r } return n(t, e), t.create = function(e, r) { return new t(e, r) }, t.prototype._subscribe = function(e) { var t = this, r = this.promise, n = this.scheduler; if (null == n) this._isScalar ? e.closed || (e.next(this.value), e.complete()) : r.then((function(r) { t.value = r, t._isScalar = !0, e.closed || (e.next(r), e.complete()) }), (function(t) { e.closed || e.error(t) })).then(null, (function(e) { i.root.setTimeout((function() { throw e })) })); else if (this._isScalar) { if (!e.closed) return n.schedule(a, 0, { value: this.value, subscriber: e }) } else r.then((function(r) { t.value = r, t._isScalar = !0, e.closed || e.add(n.schedule(a, 0, { value: r, subscriber: e })) }), (function(t) { e.closed || e.add(n.schedule(s, 0, { err: t, subscriber: e })) })).then(null, (function(e) { i.root.setTimeout((function() { throw e })) })) }, t }(r(11).Observable); function a(e) { var t = e.value, r = e.subscriber; r.closed || (r.next(t), r.complete()) } function s(e) { var t = e.err, r = e.subscriber; r.closed || r.error(t) } t.PromiseObservable = o }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(61), o = r(11), a = r(249), s = function(e) { function t(t, r) { if (e.call(this), this.scheduler = r, null == t) throw new Error("iterator cannot be null."); this.iterator = function(e) { var t = e[a.iterator]; if (!t && "string" == typeof e) return new u(e); if (!t && void 0 !== e.length) return new c(e); if (!t) throw new TypeError("object is not iterable"); return e[a.iterator]() }(t) } return n(t, e), t.create = function(e, r) { return new t(e, r) }, t.dispatch = function(e) { var t = e.index, r = e.hasError, n = e.iterator, i = e.subscriber; if (r) i.error(e.error); else { var o = n.next(); o.done ? i.complete() : (i.next(o.value), e.index = t + 1, i.closed ? "function" == typeof n.return && n.return() : this.schedule(e)) } }, t.prototype._subscribe = function(e) { var r = this.iterator, n = this.scheduler; if (n) return n.schedule(t.dispatch, 0, { index: 0, iterator: r, subscriber: e }); for (;;) { var i = r.next(); if (i.done) { e.complete(); break } if (e.next(i.value), e.closed) { "function" == typeof r.return && r.return(); break } } }, t }(o.Observable); t.IteratorObservable = s; var u = function() { function e(e, t, r) { void 0 === t && (t = 0), void 0 === r && (r = e.length), this.str = e, this.idx = t, this.len = r } return e.prototype[a.iterator] = function() { return this }, e.prototype.next = function() { return this.idx < this.len ? { done: !1, value: this.str.charAt(this.idx++) } : { done: !0, value: void 0 } }, e }(), c = function() { function e(e, t, r) { void 0 === t && (t = 0), void 0 === r && (r = function(e) { var t = +e.length; if (isNaN(t)) return 0; if (0 === t || (r = t, "number" != typeof r || !i.root.isFinite(r))) return t; var r; if ((t = function(e) { var t = +e; if (0 === t) return t; if (isNaN(t)) return t; return t < 0 ? -1 : 1 }(t) * Math.floor(Math.abs(t))) <= 0) return 0; if (t > l) return l; return t }(e)), this.arr = e, this.idx = t, this.len = r } return e.prototype[a.iterator] = function() { return this }, e.prototype.next = function() { return this.idx < this.len ? { done: !1, value: this.arr[this.idx++] } : { done: !0, value: void 0 } }, e }(); var l = Math.pow(2, 53) - 1 }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(11), o = r(422), a = r(178), s = function(e) { function t(t, r) { e.call(this), this.arrayLike = t, this.scheduler = r, r || 1 !== t.length || (this._isScalar = !0, this.value = t[0]) } return n(t, e), t.create = function(e, r) { var n = e.length; return 0 === n ? new a.EmptyObservable : 1 === n ? new o.ScalarObservable(e[0], r) : new t(e, r) }, t.dispatch = function(e) { var t = e.arrayLike, r = e.index, n = e.length, i = e.subscriber; i.closed || (r >= n ? i.complete() : (i.next(t[r]), e.index = r + 1, this.schedule(e))) }, t.prototype._subscribe = function(e) { var r = this.arrayLike, n = this.scheduler, i = r.length; if (n) return n.schedule(t.dispatch, 0, { arrayLike: r, index: 0, length: i, subscriber: e }); for (var o = 0; o < i && !e.closed; o++) e.next(r[o]); e.complete() }, t }(i.Observable); t.ArrayLikeObservable = s }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(36), o = r(423); t.observeOn = function(e, t) { return void 0 === t && (t = 0), function(r) { return r.lift(new a(e, t)) } }; var a = function() { function e(e, t) { void 0 === t && (t = 0), this.scheduler = e, this.delay = t } return e.prototype.call = function(e, t) { return t.subscribe(new s(e, this.scheduler, this.delay)) }, e }(); t.ObserveOnOperator = a; var s = function(e) { function t(t, r, n) { void 0 === n && (n = 0), e.call(this, t), this.scheduler = r, this.delay = n } return n(t, e), t.dispatch = function(e) { var t = e.notification, r = e.destination; t.observe(r), this.unsubscribe() }, t.prototype.scheduleMessage = function(e) { this.add(this.scheduler.schedule(t.dispatch, this.delay, new u(e, this.destination))) }, t.prototype._next = function(e) { this.scheduleMessage(o.Notification.createNext(e)) }, t.prototype._error = function(e) { this.scheduleMessage(o.Notification.createError(e)) }, t.prototype._complete = function() { this.scheduleMessage(o.Notification.createComplete()) }, t }(i.Subscriber); t.ObserveOnSubscriber = s; var u = function(e, t) { this.notification = e, this.destination = t }; t.ObserveOnMessage = u }, function(e, t, r) { "use strict"; var n = r(11), i = r(887); n.Observable.interval = i.interval }, function(e, t, r) { "use strict"; var n = r(888); t.interval = n.IntervalObservable.create }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(889), o = r(11), a = r(175), s = function(e) { function t(t, r) { void 0 === t && (t = 0), void 0 === r && (r = a.async), e.call(this), this.period = t, this.scheduler = r, (!i.isNumeric(t) || t < 0) && (this.period = 0), r && "function" == typeof r.schedule || (this.scheduler = a.async) } return n(t, e), t.create = function(e, r) { return void 0 === e && (e = 0), void 0 === r && (r = a.async), new t(e, r) }, t.dispatch = function(e) { var t = e.index, r = e.subscriber, n = e.period; r.next(t), r.closed || (e.index += 1, this.schedule(e, n)) }, t.prototype._subscribe = function(e) { var r = this.period, n = this.scheduler; e.add(n.schedule(t.dispatch, r, { index: 0, subscriber: e, period: r })) }, t }(o.Observable); t.IntervalObservable = s }, function(e, t, r) { "use strict"; var n = r(173); t.isNumeric = function(e) { return !n.isArray(e) && e - parseFloat(e) + 1 >= 0 } }, function(e, t, r) { "use strict"; var n = r(11), i = r(891); n.Observable.of = i.of }, function(e, t, r) { "use strict"; var n = r(250); t.of = n.ArrayObservable.of }, function(e, t, r) { "use strict"; var n = r(11), i = r(893); n.Observable.throw = i._throw }, function(e, t, r) { "use strict"; var n = r(894); t._throw = n.ErrorObservable.create }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t, r) { e.call(this), this.error = t, this.scheduler = r } return n(t, e), t.create = function(e, r) { return new t(e, r) }, t.dispatch = function(e) { var t = e.error; e.subscriber.error(t) }, t.prototype._subscribe = function(e) { var r = this.error, n = this.scheduler; if (e.syncErrorThrowable = !0, n) return n.schedule(t.dispatch, 0, { error: r, subscriber: e }); e.error(r) }, t }(r(11).Observable); t.ErrorObservable = i }, function(e, t, r) { "use strict"; var n = r(167); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = []; return e.forEach((function(e) { for (var r = (0, i.default)(e), n = r.extname, o = r.name, a = 0, s = e; t.includes(s);) s = [o, "(".concat(++a, ")")].filter((function(e) { return e })).join(" ") + n; t.push(s) })), t }; var i = n(r(896)) }, function(e, t, r) { "use strict"; var n = r(167); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { if (e) { if (~e.indexOf(".")) { var t = e.split(".").reverse(), r = (0, i.default)(t), n = r[0], o = r.slice(1); return { extname: "." + n, name: o.reverse().join(".") } } return { extname: "", name: e } } return { extname: "", name: "" } }; var i = n(r(897)) }, function(e, t, r) { var n = r(898), i = r(427), o = r(899); e.exports = function(e) { return n(e) || i(e) || o() } }, function(e, t) { e.exports = function(e) { if (Array.isArray(e)) return e } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") } }, function(e, t, r) { "use strict"; (function(e) { var n = r(903), i = r(167); Object.defineProperty(t, "__esModule", { value: !0 }), t.DirectLineStreaming = void 0; var o = i(r(388)), a = i(r(904)), s = i(r(905)), u = i(r(908)), c = i(r(389)), l = i(r(390)), f = i(r(391)), p = r(415), d = r(11), h = n(r(909)), v = i(r(1016)), m = r(387), y = function() { function e(t, r, n) { (0, c.default)(this, e), (0, f.default)(this, "connectionStatus$", void 0), (0, f.default)(this, "subscriber", void 0), (0, f.default)(this, "shouldQueue", void 0), (0, f.default)(this, "activityQueue", []), this.subscriber = t, this.connectionStatus$ = r, this.shouldQueue = n } var t; return (0, l.default)(e, [{ key: "setSubscriber", value: function(e) { this.subscriber = e } }, { key: "processRequest", value: (t = (0, u.default)(a.default.mark((function e(t, r) { var n, i, o, u, c, l, f, p, d; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return n = (0, s.default)(t.streams), i = n.shift(), e.next = 4, i.readAsString(); case 4: if (o = e.sent, 1 === (u = JSON.parse(o)).activities.length) { e.next = 9; break } return this.subscriber.error(new Error("there should be exactly one activity")), e.abrupt("return", h.StreamingResponse.create(500)); case 9: if (c = u.activities[0], !(n.length > 0)) { e.next = 21; break } l = (0, s.default)(c.attachments); case 12: if (!(f = n.shift())) { e.next = 20; break } return e.next = 15, f.readAsString(); case 15: p = e.sent, d = "data:text/plain;base64," + p, l.push({ contentType: f.contentType, contentUrl: d }), e.next = 12; break; case 20: c.attachments = l; case 21: return this.shouldQueue() ? this.activityQueue.push(c) : this.subscriber.next(c), e.abrupt("return", h.StreamingResponse.create(200)); case 23: case "end": return e.stop() } }), e, this) }))), function(e, r) { return t.apply(this, arguments) }) }, { key: "flush", value: function() { var e = this; this.connectionStatus$.subscribe((function(e) {})), this.activityQueue.forEach((function(t) { return e.subscriber.next(t) })), this.activityQueue = [] } }]), e }(), b = function() { function t(e) { var r = this; (0, c.default)(this, t), (0, f.default)(this, "connectionStatus$", new p.BehaviorSubject(m.ConnectionStatus.Uninitialized)), (0, f.default)(this, "activity$", void 0), (0, f.default)(this, "activitySubscriber", void 0), (0, f.default)(this, "theStreamHandler", void 0), (0, f.default)(this, "domain", void 0), (0, f.default)(this, "conversationId", void 0), (0, f.default)(this, "token", void 0), (0, f.default)(this, "streamConnection", void 0), (0, f.default)(this, "queueActivities", void 0), (0, f.default)(this, "_botAgent", ""), this.token = e.token, this.refreshToken(), this.domain = e.domain, e.conversationId && (this.conversationId = e.conversationId), this._botAgent = this.getBotAgent(e.botAgent), this.queueActivities = !0, this.activity$ = d.Observable.create(function() { var e = (0, u.default)(a.default.mark((function e(t) { return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: r.activitySubscriber = t, r.theStreamHandler = new y(t, r.connectionStatus$, (function() { return r.queueActivities })), r.connectWithRetryAsync(); case 3: case "end": return e.stop() } }), e) }))); return function(t) { return e.apply(this, arguments) } }()).share() } var r, n, i, s; return (0, l.default)(t, [{ key: "reconnect", value: function(e) { var t = e.conversationId, r = e.token; this.conversationId = t, this.token = r, this.connectAsync() } }, { key: "end", value: function() { this.connectionStatus$.next(m.ConnectionStatus.Ended), this.streamConnection.disconnect() } }, { key: "commonHeaders", value: function() { return { Authorization: "Bearer ".concat(this.token), "x-ms-bot-agent": this._botAgent } } }, { key: "getBotAgent", value: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "", t = "directlineStreaming"; return e && (t += "; ".concat(e)), "".concat("DirectLine/3.0", " (").concat(t, ")") } }, { key: "refreshToken", value: (s = (0, u.default)(a.default.mark((function e() { var t, r, n, i, o = arguments; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return !(o.length > 0 && void 0 !== o[0]) || o[0], o.length > 1 && void 0 !== o[1] && o[1], e.next = 4, this.waitUntilOnline(); case 4: t = 0; case 5: if (!(t < 3)) { e.next = 30; break } return t++, e.next = 9, new Promise((function(e) { return setTimeout(e, 9e5) })); case 9: return e.prev = 9, e.next = 12, (0, v.default)("".concat(this.domain, "/tokens/refresh"), { method: "POST", headers: this.commonHeaders() }); case 12: if (!(r = e.sent).ok) { e.next = 22; break } return t = 0, e.next = 17, r.json(); case 17: n = e.sent, i = n.token, this.token = i, e.next = 23; break; case 22: 403 === r.status || 403 === r.status ? (console.error("Fatal error while refreshing the token: ".concat(r.status, " ").concat(r.statusText)), this.streamConnection.disconnect()) : console.warn("Refresh attempt #".concat(t, " failed: ").concat(r.status, " ").concat(r.statusText)); case 23: e.next = 28; break; case 25: e.prev = 25, e.t0 = e.catch(9), console.warn("Refresh attempt #".concat(t, " threw an exception: ").concat(e.t0)); case 28: e.next = 5; break; case 30: console.error("Retries exhausted"), this.streamConnection.disconnect(); case 32: case "end": return e.stop() } }), e, this, [ [9, 25] ]) }))), function() { return s.apply(this, arguments) }) }, { key: "postActivity", value: function(e) { var t = this; return "message" === e.type && e.attachments && e.attachments.length > 0 ? this.postMessageWithAttachments(e) : d.Observable.create(function() { var r = (0, u.default)(a.default.mark((function r(n) { var i, o, s, u, c, l; return a.default.wrap((function(r) { for (;;) switch (r.prev = r.next) { case 0: return (i = h.StreamingRequest.create("POST", "/v3/directline/conversations/" + t.conversationId + "/activities")).setBody(JSON.stringify(e)), r.next = 4, t.streamConnection.send(i); case 4: if (o = r.sent, r.prev = 5, 200 === o.statusCode) { r.next = 8; break } throw new Error("PostActivity returned " + o.statusCode); case 8: if (1 === (s = o.streams.length)) { r.next = 11; break } throw new Error("Expected one stream but got " + s); case 11: return r.next = 13, o.streams[0].readAsString(); case 13: return u = r.sent, c = JSON.parse(u), l = c.Id, r.abrupt("return", n.next(l)); case 18: return r.prev = 18, r.t0 = r.catch(5), console.warn(r.t0), t.streamConnection.disconnect(), r.abrupt("return", n.error(r.t0)); case 23: case "end": return r.stop() } }), r, null, [ [5, 18] ]) }))); return function(e) { return r.apply(this, arguments) } }()) } }, { key: "postMessageWithAttachments", value: function(t) { var r = this, n = t.attachments, i = (0, o.default)(t, ["attachments"]); return d.Observable.create((function(t) { var o = []; (0, u.default)(a.default.mark((function s() { var c, l, f, p, d, m; return a.default.wrap((function(s) { for (;;) switch (s.prev = s.next) { case 0: return s.prev = 0, s.next = 3, Promise.all(n.map(function() { var e = (0, u.default)(a.default.mark((function e(t) { var r, n; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return r = t, e.next = 3, (0, v.default)(r.contentUrl); case 3: if (!(n = e.sent).ok) { e.next = 12; break } return e.next = 7, n.arrayBuffer(); case 7: return e.t0 = e.sent, e.t1 = r, e.abrupt("return", { arrayBuffer: e.t0, media: e.t1 }); case 12: throw new Error("..."); case 13: case "end": return e.stop() } }), e) }))); return function(t) { return e.apply(this, arguments) } }())); case 3: return s.sent.forEach((function(t) { var r = t.arrayBuffer, n = t.media, i = new e(r); console.log(i); var a = new h.SubscribableStream; a.write(i); var s = new h.HttpContent({ type: n.contentType, contentLength: i.length }, a); o.push(s) })), c = "/v3/directline/conversations/".concat(r.conversationId, "/users/").concat(i.from.id, "/upload"), l = h.StreamingRequest.create("PUT", c), (f = new h.SubscribableStream).write(JSON.stringify(i), "utf-8"), l.addStream(new h.HttpContent({ type: "application/vnd.microsoft.activity", contentLength: f.length }, f)), o.forEach((function(e) { return l.addStream(e) })), s.next = 13, r.streamConnection.send(l); case 13: if (!(p = s.sent).streams || 1 === p.streams.length) { s.next = 18; break } t.error(new Error("Invalid stream count ".concat(p.streams.length))), s.next = 23; break; case 18: return s.next = 20, p.streams[0].readAsJson(); case 20: d = s.sent, m = d.Id, t.next(m); case 23: s.next = 28; break; case 25: s.prev = 25, s.t0 = s.catch(0), t.error(s.t0); case 28: case "end": return s.stop() } }), s, null, [ [0, 25] ]) })))() })) } }, { key: "waitUntilOnline", value: (i = (0, u.default)(a.default.mark((function e() { var t = this; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.abrupt("return", new Promise((function(e, r) { t.connectionStatus$.subscribe((function(t) { if (t === m.ConnectionStatus.Online) return e() }), (function(e) { return r(e) })) }))); case 1: case "end": return e.stop() } }), e) }))), function() { return i.apply(this, arguments) }) }, { key: "connectAsync", value: (n = (0, u.default)(a.default.mark((function e() { var t, r, n, i, o = this; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if ((t = new RegExp("^http(s?)")).test(this.domain)) { e.next = 3; break } throw "Domain must begin with http or https"; case 3: return r = { token: this.token }, this.conversationId && (r.conversationId = this.conversationId), n = new URLSearchParams(r).toString(), i = "".concat(this.domain.replace(t, "ws$1"), "/conversations/connect?").concat(n), e.abrupt("return", new Promise(function() { var e = (0, u.default)(a.default.mark((function e(t, r) { var n, s, u, c; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.prev = 0, o.streamConnection = new h.WebSocketClient({ url: i, requestHandler: o.theStreamHandler, disconnectionHandler: function(e) { return t(e) } }), o.queueActivities = !0, e.next = 5, o.streamConnection.connect(); case 5: return n = h.StreamingRequest.create("POST", "/v3/directline/conversations"), e.next = 8, o.streamConnection.send(n); case 8: if (200 === (s = e.sent).statusCode) { e.next = 11; break } throw new Error("Connection response code " + s.statusCode); case 11: if (1 === s.streams.length) { e.next = 13; break } throw new Error("Expected 1 stream but got " + s.streams.length); case 13: return e.next = 15, s.streams[0].readAsString(); case 15: return u = e.sent, c = JSON.parse(u), o.conversationId = c.conversationId, o.connectionStatus$.next(m.ConnectionStatus.Online), e.next = 21, o.waitUntilOnline(); case 21: o.theStreamHandler.flush(), o.queueActivities = !1, e.next = 28; break; case 25: e.prev = 25, e.t0 = e.catch(0), r(e.t0); case 28: case "end": return e.stop() } }), e, null, [ [0, 25] ]) }))); return function(t, r) { return e.apply(this, arguments) } }())); case 8: case "end": return e.stop() } }), e, this) }))), function() { return n.apply(this, arguments) }) }, { key: "connectWithRetryAsync", value: (r = (0, u.default)(a.default.mark((function e() { var t, r, n, i = this; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: t = 3; case 1: if (!(t > 0)) { e.next = 23; break } return t--, r = Date.now(), e.prev = 4, this.connectionStatus$.next(m.ConnectionStatus.Connecting), e.next = 8, this.connectAsync(); case 8: if (n = e.sent, console.warn("Retrying connection ".concat(n)), !(6e4 < Date.now() - r)) { e.next = 13; break } return t = 3, e.abrupt("continue", 1); case 13: e.next = 19; break; case 15: throw e.prev = 15, e.t0 = e.catch(4), console.error("Failed to connect ".concat(e.t0)), e.t0; case 19: return e.next = 21, new Promise((function(e) { return setTimeout(e, i.getRetryDelay()) })); case 21: e.next = 1; break; case 23: case "end": return e.stop() } }), e, this, [ [4, 15] ]) }))), function() { return r.apply(this, arguments) }) }, { key: "getRetryDelay", value: function() { return Math.floor(3e3 + 12e3 * Math.random()) } }]), t }(); t.DirectLineStreaming = b }).call(this, r(8).Buffer) }, function(e, t, r) { "use strict"; t.byteLength = function(e) { var t = c(e), r = t[0], n = t[1]; return 3 * (r + n) / 4 - n }, t.toByteArray = function(e) { var t, r, n = c(e), a = n[0], s = n[1], u = new o(function(e, t, r) { return 3 * (t + r) / 4 - r }(0, a, s)), l = 0, f = s > 0 ? a - 4 : a; for (r = 0; r < f; r += 4) t = i[e.charCodeAt(r)] << 18 | i[e.charCodeAt(r + 1)] << 12 | i[e.charCodeAt(r + 2)] << 6 | i[e.charCodeAt(r + 3)], u[l++] = t >> 16 & 255, u[l++] = t >> 8 & 255, u[l++] = 255 & t; 2 === s && (t = i[e.charCodeAt(r)] << 2 | i[e.charCodeAt(r + 1)] >> 4, u[l++] = 255 & t); 1 === s && (t = i[e.charCodeAt(r)] << 10 | i[e.charCodeAt(r + 1)] << 4 | i[e.charCodeAt(r + 2)] >> 2, u[l++] = t >> 8 & 255, u[l++] = 255 & t); return u }, t.fromByteArray = function(e) { for (var t, r = e.length, i = r % 3, o = [], a = 0, s = r - i; a < s; a += 16383) o.push(l(e, a, a + 16383 > s ? s : a + 16383)); 1 === i ? (t = e[r - 1], o.push(n[t >> 2] + n[t << 4 & 63] + "==")) : 2 === i && (t = (e[r - 2] << 8) + e[r - 1], o.push(n[t >> 10] + n[t >> 4 & 63] + n[t << 2 & 63] + "=")); return o.join("") }; for (var n = [], i = [], o = "undefined" != typeof Uint8Array ? Uint8Array : Array, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", s = 0, u = a.length; s < u; ++s) n[s] = a[s], i[a.charCodeAt(s)] = s; function c(e) { var t = e.length; if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4"); var r = e.indexOf("="); return -1 === r && (r = t), [r, r === t ? 0 : 4 - r % 4] } function l(e, t, r) { for (var i, o, a = [], s = t; s < r; s += 3) i = (e[s] << 16 & 16711680) + (e[s + 1] << 8 & 65280) + (255 & e[s + 2]), a.push(n[(o = i) >> 18 & 63] + n[o >> 12 & 63] + n[o >> 6 & 63] + n[63 & o]); return a.join("") } i["-".charCodeAt(0)] = 62, i["_".charCodeAt(0)] = 63 }, function(e, t) { t.read = function(e, t, r, n, i) { var o, a, s = 8 * i - n - 1, u = (1 << s) - 1, c = u >> 1, l = -7, f = r ? i - 1 : 0, p = r ? -1 : 1, d = e[t + f]; for (f += p, o = d & (1 << -l) - 1, d >>= -l, l += s; l > 0; o = 256 * o + e[t + f], f += p, l -= 8); for (a = o & (1 << -l) - 1, o >>= -l, l += n; l > 0; a = 256 * a + e[t + f], f += p, l -= 8); if (0 === o) o = 1 - c; else { if (o === u) return a ? NaN : 1 / 0 * (d ? -1 : 1); a += Math.pow(2, n), o -= c } return (d ? -1 : 1) * a * Math.pow(2, o - n) }, t.write = function(e, t, r, n, i, o) { var a, s, u, c = 8 * o - i - 1, l = (1 << c) - 1, f = l >> 1, p = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0, d = n ? 0 : o - 1, h = n ? 1 : -1, v = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0; for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (s = isNaN(t) ? 1 : 0, a = l) : (a = Math.floor(Math.log(t) / Math.LN2), t * (u = Math.pow(2, -a)) < 1 && (a--, u *= 2), (t += a + f >= 1 ? p / u : p * Math.pow(2, 1 - f)) * u >= 2 && (a++, u /= 2), a + f >= l ? (s = 0, a = l) : a + f >= 1 ? (s = (t * u - 1) * Math.pow(2, i), a += f) : (s = t * Math.pow(2, f - 1) * Math.pow(2, i), a = 0)); i >= 8; e[r + d] = 255 & s, d += h, s /= 256, i -= 8); for (a = a << i | s, c += i; c > 0; e[r + d] = 255 & a, d += h, a /= 256, c -= 8); e[r + d - h] |= 128 * v } }, function(e, t) { function r() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return r = function() { return e }, e } e.exports = function(e) { if (e && e.__esModule) return e; var t = r(); if (t && t.has(e)) return t.get(e); var n = {}; if (null != e) { var i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(n, o, a) : n[o] = e[o] } } return n.default = e, t && t.set(e, n), n } }, function(e, t, r) { e.exports = r(385) }, function(e, t, r) { var n = r(906), i = r(427), o = r(907); e.exports = function(e) { return n(e) || i(e) || o() } }, function(e, t) { e.exports = function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to spread non-iterable instance") } }, function(e, t) { function r(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } e.exports = function(e) { return function() { var t = this, n = arguments; return new Promise((function(i, o) { var a = e.apply(t, n); function s(e) { r(a, i, o, s, u, "next", e) } function u(e) { r(a, i, o, s, u, "throw", e) } s(void 0) })) } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(428); t.ContentStream = n.ContentStream; var i = r(252); t.HttpContent = i.HttpContent; var o = r(913); t.RequestHandler = o.RequestHandler; var a = r(914); t.StreamingRequest = a.StreamingRequest; var s = r(924); t.StreamingResponse = s.StreamingResponse; var u = r(128); t.SubscribableStream = u.SubscribableStream; var c = r(925); t.BrowserWebSocket = c.BrowserWebSocket, t.WebSocketClient = c.WebSocketClient, t.WebSocketServer = c.WebSocketServer }, function(e, t, r) { var n = r(911), i = r(912); e.exports = function(e, t, r) { var o = t && r || 0; "string" == typeof e && (t = "binary" === e ? new Array(16) : null, e = null); var a = (e = e || {}).random || (e.rng || n)(); if (a[6] = 15 & a[6] | 64, a[8] = 63 & a[8] | 128, t) for (var s = 0; s < 16; ++s) t[o + s] = a[s]; return t || i(a) } }, function(e, t) { var r = "undefined" != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || "undefined" != typeof msCrypto && "function" == typeof window.msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto); if (r) { var n = new Uint8Array(16); e.exports = function() { return r(n), n } } else { var i = new Array(16); e.exports = function() { for (var e, t = 0; t < 16; t++) 0 == (3 & t) && (e = 4294967296 * Math.random()), i[t] = e >>> ((3 & t) << 3) & 255; return i } } }, function(e, t) { for (var r = [], n = 0; n < 256; ++n) r[n] = (n + 256).toString(16).substr(1); e.exports = function(e, t) { var n = t || 0, i = r; return [i[e[n++]], i[e[n++]], i[e[n++]], i[e[n++]], "-", i[e[n++]], i[e[n++]], "-", i[e[n++]], i[e[n++]], "-", i[e[n++]], i[e[n++]], "-", i[e[n++]], i[e[n++]], i[e[n++]], i[e[n++]], i[e[n++]], i[e[n++]]].join("") } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() {}; t.RequestHandler = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(252), i = r(128), o = function() { function e() { this.streams = [] } return e.create = function(t, r, n) { var i = new e; return i.verb = t, i.path = r, n && i.setBody(n), i }, e.prototype.addStream = function(e) { if (!e) throw new Error("Argument Undefined Exception: content undefined."); this.streams.push(new n.HttpContentStream(e)) }, e.prototype.setBody = function(e) { if ("string" == typeof e) { var t = new i.SubscribableStream; t.write(e, "utf8"), this.addStream(new n.HttpContent({ type: "application/json; charset=utf-8", contentLength: t.length }, t)) } else "object" == typeof e && this.addStream(e) }, e }(); t.StreamingRequest = o }, function(e, t) {}, function(e, t, r) { "use strict"; var n = r(255).Buffer, i = r(917); e.exports = function() { function e() { ! function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, e), this.head = null, this.tail = null, this.length = 0 } return e.prototype.push = function(e) { var t = { data: e, next: null }; this.length > 0 ? this.tail.next = t : this.head = t, this.tail = t, ++this.length }, e.prototype.unshift = function(e) { var t = { data: e, next: this.head }; 0 === this.length && (this.tail = t), this.head = t, ++this.length }, e.prototype.shift = function() { if (0 !== this.length) { var e = this.head.data; return 1 === this.length ? this.head = this.tail = null : this.head = this.head.next, --this.length, e } }, e.prototype.clear = function() { this.head = this.tail = null, this.length = 0 }, e.prototype.join = function(e) { if (0 === this.length) return ""; for (var t = this.head, r = "" + t.data; t = t.next;) r += e + t.data; return r }, e.prototype.concat = function(e) { if (0 === this.length) return n.alloc(0); if (1 === this.length) return this.head.data; for (var t, r, i, o = n.allocUnsafe(e >>> 0), a = this.head, s = 0; a;) t = a.data, r = o, i = s, t.copy(r, i), s += a.data.length, a = a.next; return o }, e }(), i && i.inspect && i.inspect.custom && (e.exports.prototype[i.inspect.custom] = function() { var e = i.inspect({ length: this.length }); return this.constructor.name + " " + e }) }, function(e, t) {}, function(e, t, r) { (function(e, t) { ! function(e, r) { "use strict"; if (!e.setImmediate) { var n, i, o, a, s, u = 1, c = {}, l = !1, f = e.document, p = Object.getPrototypeOf && Object.getPrototypeOf(e); p = p && p.setTimeout ? p : e, "[object process]" === {}.toString.call(e.process) ? n = function(e) { t.nextTick((function() { h(e) })) } : ! function() { if (e.postMessage && !e.importScripts) { var t = !0, r = e.onmessage; return e.onmessage = function() { t = !1 }, e.postMessage("", "*"), e.onmessage = r, t } }() ? e.MessageChannel ? ((o = new MessageChannel).port1.onmessage = function(e) { h(e.data) }, n = function(e) { o.port2.postMessage(e) }) : f && "onreadystatechange" in f.createElement("script") ? (i = f.documentElement, n = function(e) { var t = f.createElement("script"); t.onreadystatechange = function() { h(e), t.onreadystatechange = null, i.removeChild(t), t = null }, i.appendChild(t) }) : n = function(e) { setTimeout(h, 0, e) } : (a = "setImmediate$" + Math.random() + "$", s = function(t) { t.source === e && "string" == typeof t.data && 0 === t.data.indexOf(a) && h(+t.data.slice(a.length)) }, e.addEventListener ? e.addEventListener("message", s, !1) : e.attachEvent("onmessage", s), n = function(t) { e.postMessage(a + t, "*") }), p.setImmediate = function(e) { "function" != typeof e && (e = new Function("" + e)); for (var t = new Array(arguments.length - 1), r = 0; r < t.length; r++) t[r] = arguments[r + 1]; var i = { callback: e, args: t }; return c[u] = i, n(u), u++ }, p.clearImmediate = d } function d(e) { delete c[e] } function h(e) { if (l) setTimeout(h, 0, e); else { var t = c[e]; if (t) { l = !0; try { ! function(e) { var t = e.callback, r = e.args; switch (r.length) { case 0: t(); break; case 1: t(r[0]); break; case 2: t(r[0], r[1]); break; case 3: t(r[0], r[1], r[2]); break; default: t.apply(void 0, r) } }(t) } finally { d(e), l = !1 } } } } }("undefined" == typeof self ? void 0 === e ? this : e : self) }).call(this, r(14), r(26)) }, function(e, t, r) { "use strict"; e.exports = o; var n = r(434), i = Object.create(r(54)); function o(e) { if (!(this instanceof o)) return new o(e); n.call(this, e) } i.inherits = r(2), i.inherits(o, n), o.prototype._transform = function(e, t, r) { r(null, e) } }, function(e, t, r) { e.exports = r(256) }, function(e, t, r) { e.exports = r(85) }, function(e, t, r) { e.exports = r(254).Transform }, function(e, t, r) { e.exports = r(254).PassThrough }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(252), i = r(128), o = function() { function e() { this.streams = [] } return e.create = function(t, r) { var n = new e; return n.statusCode = t, r && n.addStream(r), n }, e.prototype.addStream = function(e) { this.streams.push(new n.HttpContentStream(e)) }, e.prototype.setBody = function(e) { var t = new i.SubscribableStream; t.write(JSON.stringify(e), "utf8"), this.addStream(new n.HttpContent({ type: "application/json; charset=utf-8", contentLength: t.length }, t)) }, e }(); t.StreamingResponse = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(435); t.BrowserWebSocket = n.BrowserWebSocket; var i = r(928); t.WebSocketClient = i.WebSocketClient; var o = r(1015); t.WebSocketServer = o.WebSocketServer; var a = r(276); t.WebSocketTransport = a.WebSocketTransport }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.doesGlobalFileReaderExist = new Function('try {return typeof FileReader !== "undefined" && FileReader !== null;}catch(e){ return false;}') }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.doesGlobalWebSocketExist = new Function('try {return typeof WebSocket !== "undefined" && WebSocket !== null;}catch(e){ return false;}') }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(437), a = r(257), s = r(441), u = r(435), c = r(936), l = r(436), f = r(276), p = function() { function e(e) { var t = e.url, r = e.requestHandler, n = e.disconnectionHandler, i = void 0 === n ? null : n; this._url = t, this._requestHandler = r, this._disconnectionHandler = i, this._requestManager = new a.RequestManager, this._sender = new s.PayloadSender, this._sender.disconnected = this.onConnectionDisconnected.bind(this), this._receiver = new s.PayloadReceiver, this._receiver.disconnected = this.onConnectionDisconnected.bind(this), this._protocolAdapter = new o.ProtocolAdapter(this._requestHandler, this._requestManager, this._sender, this._receiver) } return e.prototype.connect = function() { return n(this, void 0, void 0, (function() { var e, t; return i(this, (function(r) { switch (r.label) { case 0: return l.doesGlobalWebSocketExist() ? [4, (e = new u.BrowserWebSocket).connect(this._url)] : [3, 2]; case 1: return r.sent(), t = new f.WebSocketTransport(e), this._sender.connect(t), this._receiver.connect(t), [3, 6]; case 2: e = new c.NodeWebSocket, r.label = 3; case 3: return r.trys.push([3, 5, , 6]), [4, e.connect(this._url)]; case 4: return r.sent(), t = new f.WebSocketTransport(e), this._sender.connect(t), this._receiver.connect(t), [3, 6]; case 5: throw r.sent(), new Error("Unable to connect client to Node transport."); case 6: return [2] } })) })) }, e.prototype.disconnect = function() { this._sender.disconnect(new s.TransportDisconnectedEvent("Disconnect was called.")), this._receiver.disconnect(new s.TransportDisconnectedEvent("Disconnect was called.")) }, e.prototype.send = function(e) { return n(this, void 0, void 0, (function() { return i(this, (function(t) { return [2, this._protocolAdapter.sendRequest(e)] })) })) }, e.prototype.onConnectionDisconnected = function(e, t) { if (null == this._disconnectionHandler) throw new Error("Unable to re-connect client to Node transport for url " + this._url + ". Sender: '" + e + "'. Args:' " + t); this._disconnectionHandler("Disconnected") }, e }(); t.WebSocketClient = p }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = function() {}, a = function() { function e() { this._pendingRequests = {} } return e.prototype.pendingRequestCount = function() { return Object.keys(this._pendingRequests).length }, e.prototype.signalResponse = function(e, t) { return n(this, void 0, void 0, (function() { var r; return i(this, (function(n) { return (r = this._pendingRequests[e]) ? (r.resolve(t), delete this._pendingRequests[e], [2, !0]) : [2, !1] })) })) }, e.prototype.getResponse = function(e) { var t = this._pendingRequests[e]; if (t) return Promise.reject("requestId '" + e + "' already exists in RequestManager"); (t = new o).requestId = e; var r = new Promise((function(e, r) { t.resolve = e, t.reject = r })); return this._pendingRequests[e] = t, r }, e }(); t.RequestManager = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e, t, r) { this.sender = e, this.id = t, this.payloadType = r } return e.prototype.disassemble = function() { var e = { payloadType: this.payloadType, payloadLength: 0, id: this.id, end: !0 }; this.sender.sendPayload(e) }, e }(); t.CancelDisassembler = n }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }), o = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, a = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var s = r(86), u = function(e) { function t(t, r) { var n = e.call(this, t, r.id) || this; return n.payloadType = s.PayloadTypes.stream, n.contentStream = r, n } return i(t, e), t.prototype.getStream = function() { return o(this, void 0, void 0, (function() { var e; return a(this, (function(t) { return [2, { stream: e = this.contentStream.content.getStream(), streamLength: e.length }] })) })) }, t }(r(261).PayloadDisassembler); t.HttpContentStreamDisassembler = u }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }), o = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, a = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var s = r(86), u = r(261), c = function(e) { function t(t, r, n) { var i = e.call(this, t, r) || this; return i.payloadType = s.PayloadTypes.request, i.request = n, i } return i(t, e), t.prototype.getStream = function() { return o(this, void 0, void 0, (function() { var e; return a(this, (function(t) { return e = { verb: this.request.verb, path: this.request.path, streams: [] }, this.request.streams && this.request.streams.forEach((function(t) { e.streams.push(t.description) })), [2, u.PayloadDisassembler.serialize(e)] })) })) }, t }(u.PayloadDisassembler); t.RequestDisassembler = c }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }), o = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, a = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var s = r(86), u = r(261), c = function(e) { function t(t, r, n) { var i = e.call(this, t, r) || this; return i.payloadType = s.PayloadTypes.response, i.response = n, i } return i(t, e), t.prototype.getStream = function() { return o(this, void 0, void 0, (function() { var e; return a(this, (function(t) { return e = { statusCode: this.response.statusCode, streams: [] }, this.response.streams && this.response.streams.forEach((function(t) { e.streams.push(t.description) })), [2, u.PayloadDisassembler.serialize(e)] })) })) }, t }(u.PayloadDisassembler); t.ResponseDisassembler = c }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(86), a = r(258), s = r(259), u = r(262), c = function() { function e() { this.disconnected = function(e, t) {} } return e.prototype.connect = function(e) { if (this.isConnected) throw new Error("Already connected."); this._receiver = e, this.isConnected = !0, this.runReceive() }, e.prototype.subscribe = function(e, t) { this._getStream = e, this._receiveAction = t }, e.prototype.disconnect = function(e) { var t; try { this.isConnected && (this._receiver.close(), t = !0, this.isConnected = !1) } catch (e) { this.isConnected = !1, this.disconnected(this, new u.TransportDisconnectedEvent(e.message)) } this._receiver = null, this.isConnected = !1, t && this.disconnected(this, e || u.TransportDisconnectedEvent.Empty) }, e.prototype.runReceive = function() { this.receivePackets().catch() }, e.prototype.receivePackets = function() { return n(this, void 0, void 0, (function() { var e, t, r, n, c, l, f, p, d, h; return i(this, (function(i) { switch (i.label) { case 0: if (!this.isConnected || e) return [3, 11]; i.label = 1; case 1: i.trys.push([1, 9, , 10]), t = 0, i.label = 2; case 2: return t < s.PayloadConstants.MaxHeaderLength ? (r = this, [4, this._receiver.receive(s.PayloadConstants.MaxHeaderLength - t)]) : [3, 4]; case 3: return r._receiveHeaderBuffer = i.sent(), this._receiveHeaderBuffer && (t += this._receiveHeaderBuffer.length), [3, 2]; case 4: if (n = a.HeaderSerializer.deserialize(this._receiveHeaderBuffer), c = n.payloadType === o.PayloadTypes.stream, !(n.payloadLength > 0)) return [3, 8]; l = 0, f = this._getStream(n), i.label = 5; case 5: return l < n.payloadLength && l < s.PayloadConstants.MaxPayloadLength ? (p = Math.min(n.payloadLength - l, s.PayloadConstants.MaxPayloadLength), d = this, [4, this._receiver.receive(p)]) : [3, 7]; case 6: return d._receivePayloadBuffer = i.sent(), l += this._receivePayloadBuffer.byteLength, f.write(this._receivePayloadBuffer), c && this._receiveAction(n, f, l), [3, 5]; case 7: c || this._receiveAction(n, f, l), i.label = 8; case 8: return [3, 10]; case 9: return h = i.sent(), e = !0, this.disconnect(new u.TransportDisconnectedEvent(h.message)), [3, 10]; case 10: return [3, 0]; case 11: return [2] } })) })) }, e }(); t.PayloadReceiver = c }, function(e, t, r) { "use strict"; (function(e) { Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(258), i = r(259), o = r(262), a = function() { function t() {} return Object.defineProperty(t.prototype, "isConnected", { get: function() { return !!this.sender }, enumerable: !0, configurable: !0 }), t.prototype.connect = function(e) { this.sender = e }, t.prototype.sendPayload = function(e, t, r) { var n = { header: e, payload: t, sentCallback: r }; this.writePacket(n) }, t.prototype.disconnect = function(e) { this.isConnected && (this.sender.close(), this.sender = null, this.disconnected && this.disconnected(this, e || o.TransportDisconnectedEvent.Empty)) }, t.prototype.writePacket = function(t) { try { if (t.header.payloadLength > 0 && t.payload) { for (var r = t.header.payloadLength; r > 0;) { var a = r <= i.PayloadConstants.MaxPayloadLength ? r : i.PayloadConstants.MaxPayloadLength, s = t.payload.read(a), u = t.header; u.payloadLength = a, u.end = r <= i.PayloadConstants.MaxPayloadLength; var c = e.alloc(i.PayloadConstants.MaxHeaderLength); n.HeaderSerializer.serialize(u, c), this.sender.send(c), this.sender.send(s), r -= s.length } t.sentCallback && t.sentCallback() } } catch (e) { this.disconnect(new o.TransportDisconnectedEvent(e.message)) } }, t }(); t.PayloadSender = a }).call(this, r(8).Buffer) }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(263), a = r(474), s = r(1014), u = function() { function e(e) { this.wsSocket = e } return e.prototype.create = function(e, t, r) { return n(this, void 0, void 0, (function() { var n = this; return i(this, (function(i) { return this.wsServer = new s.Server({ noServer: !0 }), [2, new Promise((function(i, o) { try { n.wsServer.handleUpgrade(e, t, r, (function(e) { n.wsSocket = e, i() })) } catch (e) { o(e) } }))] })) })) }, Object.defineProperty(e.prototype, "isConnected", { get: function() { return this.wsSocket && this.wsSocket.readyState === s.OPEN }, enumerable: !0, configurable: !0 }), e.prototype.write = function(e) { this.wsSocket.send(e) }, e.prototype.connect = function(e, t) { return void 0 === t && (t = 8082), n(this, void 0, void 0, (function() { var r, n, u, c = this; return i(this, (function(i) { return this.wsServer = new s.Server({ noServer: !0 }), r = o.randomBytes(16).toString("base64"), n = { port: t, hostname: e, headers: { connection: "upgrade", "Sec-WebSocket-Key": r, "Sec-WebSocket-Version": "13" } }, (u = a.request(n)).end(), u.on("upgrade", (function(e, t, n) { c.wsServer.completeUpgrade(r, void 0, e, t, n, (function(e) { c.wsSocket = e })) })), [2, new Promise((function(e, t) { u.on("close", e), u.on("error", t) }))] })) })) }, e.prototype.setOnMessageHandler = function(e) { this.wsSocket.on("data", e), this.wsSocket.on("message", e) }, e.prototype.close = function(e, t) { return this.wsSocket.close(e, t) }, e.prototype.setOnCloseHandler = function(e) { this.wsSocket.on("close", e) }, e.prototype.setOnErrorHandler = function(e) { this.wsSocket.on("error", (function(t) { t && e(t) })) }, e }(); t.NodeWebSocket = u }, function(e, t, r) { var n = r(2), i = r(102), o = r(10).Buffer, a = [1518500249, 1859775393, -1894007588, -899497514], s = new Array(80); function u() { this.init(), this._w = s, i.call(this, 64, 56) } function c(e) { return e << 30 | e >>> 2 } function l(e, t, r, n) { return 0 === e ? t & r | ~t & n : 2 === e ? t & r | t & n | r & n : t ^ r ^ n } n(u, i), u.prototype.init = function() { return this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520, this }, u.prototype._update = function(e) { for (var t, r = this._w, n = 0 | this._a, i = 0 | this._b, o = 0 | this._c, s = 0 | this._d, u = 0 | this._e, f = 0; f < 16; ++f) r[f] = e.readInt32BE(4 * f); for (; f < 80; ++f) r[f] = r[f - 3] ^ r[f - 8] ^ r[f - 14] ^ r[f - 16]; for (var p = 0; p < 80; ++p) { var d = ~~(p / 20), h = 0 | ((t = n) << 5 | t >>> 27) + l(d, i, o, s) + u + r[p] + a[d]; u = s, s = o, o = c(i), i = n, n = h } this._a = n + this._a | 0, this._b = i + this._b | 0, this._c = o + this._c | 0, this._d = s + this._d | 0, this._e = u + this._e | 0 }, u.prototype._hash = function() { var e = o.allocUnsafe(20); return e.writeInt32BE(0 | this._a, 0), e.writeInt32BE(0 | this._b, 4), e.writeInt32BE(0 | this._c, 8), e.writeInt32BE(0 | this._d, 12), e.writeInt32BE(0 | this._e, 16), e }, e.exports = u }, function(e, t, r) { var n = r(2), i = r(102), o = r(10).Buffer, a = [1518500249, 1859775393, -1894007588, -899497514], s = new Array(80); function u() { this.init(), this._w = s, i.call(this, 64, 56) } function c(e) { return e << 5 | e >>> 27 } function l(e) { return e << 30 | e >>> 2 } function f(e, t, r, n) { return 0 === e ? t & r | ~t & n : 2 === e ? t & r | t & n | r & n : t ^ r ^ n } n(u, i), u.prototype.init = function() { return this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878, this._e = 3285377520, this }, u.prototype._update = function(e) { for (var t, r = this._w, n = 0 | this._a, i = 0 | this._b, o = 0 | this._c, s = 0 | this._d, u = 0 | this._e, p = 0; p < 16; ++p) r[p] = e.readInt32BE(4 * p); for (; p < 80; ++p) r[p] = (t = r[p - 3] ^ r[p - 8] ^ r[p - 14] ^ r[p - 16]) << 1 | t >>> 31; for (var d = 0; d < 80; ++d) { var h = ~~(d / 20), v = c(n) + f(h, i, o, s) + u + r[d] + a[h] | 0; u = s, s = o, o = l(i), i = n, n = v } this._a = n + this._a | 0, this._b = i + this._b | 0, this._c = o + this._c | 0, this._d = s + this._d | 0, this._e = u + this._e | 0 }, u.prototype._hash = function() { var e = o.allocUnsafe(20); return e.writeInt32BE(0 | this._a, 0), e.writeInt32BE(0 | this._b, 4), e.writeInt32BE(0 | this._c, 8), e.writeInt32BE(0 | this._d, 12), e.writeInt32BE(0 | this._e, 16), e }, e.exports = u }, function(e, t, r) { var n = r(2), i = r(443), o = r(102), a = r(10).Buffer, s = new Array(64); function u() { this.init(), this._w = s, o.call(this, 64, 56) } n(u, i), u.prototype.init = function() { return this._a = 3238371032, this._b = 914150663, this._c = 812702999, this._d = 4144912697, this._e = 4290775857, this._f = 1750603025, this._g = 1694076839, this._h = 3204075428, this }, u.prototype._hash = function() { var e = a.allocUnsafe(28); return e.writeInt32BE(this._a, 0), e.writeInt32BE(this._b, 4), e.writeInt32BE(this._c, 8), e.writeInt32BE(this._d, 12), e.writeInt32BE(this._e, 16), e.writeInt32BE(this._f, 20), e.writeInt32BE(this._g, 24), e }, e.exports = u }, function(e, t, r) { var n = r(2), i = r(444), o = r(102), a = r(10).Buffer, s = new Array(160); function u() { this.init(), this._w = s, o.call(this, 128, 112) } n(u, i), u.prototype.init = function() { return this._ah = 3418070365, this._bh = 1654270250, this._ch = 2438529370, this._dh = 355462360, this._eh = 1731405415, this._fh = 2394180231, this._gh = 3675008525, this._hh = 1203062813, this._al = 3238371032, this._bl = 914150663, this._cl = 812702999, this._dl = 4144912697, this._el = 4290775857, this._fl = 1750603025, this._gl = 1694076839, this._hl = 3204075428, this }, u.prototype._hash = function() { var e = a.allocUnsafe(48); function t(t, r, n) { e.writeInt32BE(t, n), e.writeInt32BE(r, n + 4) } return t(this._ah, this._al, 0), t(this._bh, this._bl, 8), t(this._ch, this._cl, 16), t(this._dh, this._dl, 24), t(this._eh, this._el, 32), t(this._fh, this._fl, 40), e }, e.exports = u }, function(e, t, r) { "use strict"; var n = r(2), i = r(10).Buffer, o = r(73), a = i.alloc(128); function s(e, t) { o.call(this, "digest"), "string" == typeof t && (t = i.from(t)), this._alg = e, this._key = t, t.length > 64 ? t = e(t) : t.length < 64 && (t = i.concat([t, a], 64)); for (var r = this._ipad = i.allocUnsafe(64), n = this._opad = i.allocUnsafe(64), s = 0; s < 64; s++) r[s] = 54 ^ t[s], n[s] = 92 ^ t[s]; this._hash = [r] } n(s, o), s.prototype._update = function(e) { this._hash.push(e) }, s.prototype._final = function() { var e = this._alg(i.concat(this._hash)); return this._alg(i.concat([this._opad, e])) }, e.exports = s }, function(e, t, r) { e.exports = r(447) }, function(e, t, r) { (function(t, n) { var i, o = r(449), a = r(450), s = r(451), u = r(10).Buffer, c = t.crypto && t.crypto.subtle, l = { sha: "SHA-1", "sha-1": "SHA-1", sha1: "SHA-1", sha256: "SHA-256", "sha-256": "SHA-256", sha384: "SHA-384", "sha-384": "SHA-384", "sha-512": "SHA-512", sha512: "SHA-512" }, f = []; function p(e, t, r, n, i) { return c.importKey("raw", e, { name: "PBKDF2" }, !1, ["deriveBits"]).then((function(e) { return c.deriveBits({ name: "PBKDF2", salt: t, iterations: r, hash: { name: i } }, e, n << 3) })).then((function(e) { return u.from(e) })) } e.exports = function(e, r, d, h, v, m) { "function" == typeof v && (m = v, v = void 0); var y = l[(v = v || "sha1").toLowerCase()]; if (!y || "function" != typeof t.Promise) return n.nextTick((function() { var t; try { t = s(e, r, d, h, v) } catch (e) { return m(e) } m(null, t) })); if (o(e, r, d, h), "function" != typeof m) throw new Error("No callback provided to pbkdf2"); u.isBuffer(e) || (e = u.from(e, a)), u.isBuffer(r) || (r = u.from(r, a)), function(e, t) { e.then((function(e) { n.nextTick((function() { t(null, e) })) }), (function(e) { n.nextTick((function() { t(e) })) })) }(function(e) { if (t.process && !t.process.browser) return Promise.resolve(!1); if (!c || !c.importKey || !c.deriveBits) return Promise.resolve(!1); if (void 0 !== f[e]) return f[e]; var r = p(i = i || u.alloc(8), i, 10, 128, e).then((function() { return !0 })).catch((function() { return !1 })); return f[e] = r, r }(y).then((function(t) { return t ? p(e, r, d, h, y) : s(e, r, d, h, v) })), m) } }).call(this, r(14), r(26)) }, function(e, t, r) { var n = r(945), i = r(268), o = r(269), a = r(958), s = r(180); function u(e, t, r) { if (e = e.toLowerCase(), o[e]) return i.createCipheriv(e, t, r); if (a[e]) return new n({ key: t, iv: r, mode: e }); throw new TypeError("invalid suite type") } function c(e, t, r) { if (e = e.toLowerCase(), o[e]) return i.createDecipheriv(e, t, r); if (a[e]) return new n({ key: t, iv: r, mode: e, decrypt: !0 }); throw new TypeError("invalid suite type") } t.createCipher = t.Cipher = function(e, t) { var r, n; if (e = e.toLowerCase(), o[e]) r = o[e].key, n = o[e].iv; else { if (!a[e]) throw new TypeError("invalid suite type"); r = 8 * a[e].key, n = a[e].iv } var i = s(t, !1, r, n); return u(e, i.key, i.iv) }, t.createCipheriv = t.Cipheriv = u, t.createDecipher = t.Decipher = function(e, t) { var r, n; if (e = e.toLowerCase(), o[e]) r = o[e].key, n = o[e].iv; else { if (!a[e]) throw new TypeError("invalid suite type"); r = 8 * a[e].key, n = a[e].iv } var i = s(t, !1, r, n); return c(e, i.key, i.iv) }, t.createDecipheriv = t.Decipheriv = c, t.listCiphers = t.getCiphers = function() { return Object.keys(a).concat(i.getCiphers()) } }, function(e, t, r) { var n = r(73), i = r(946), o = r(2), a = r(10).Buffer, s = { "des-ede3-cbc": i.CBC.instantiate(i.EDE), "des-ede3": i.EDE, "des-ede-cbc": i.CBC.instantiate(i.EDE), "des-ede": i.EDE, "des-cbc": i.CBC.instantiate(i.DES), "des-ecb": i.DES }; function u(e) { n.call(this); var t, r = e.mode.toLowerCase(), i = s[r]; t = e.decrypt ? "decrypt" : "encrypt"; var o = e.key; a.isBuffer(o) || (o = a.from(o)), "des-ede" !== r && "des-ede-cbc" !== r || (o = a.concat([o, o.slice(0, 8)])); var u = e.iv; a.isBuffer(u) || (u = a.from(u)), this._des = i.create({ key: o, iv: u, type: t }) } s.des = s["des-cbc"], s.des3 = s["des-ede3-cbc"], e.exports = u, o(u, n), u.prototype._update = function(e) { return a.from(this._des.update(e)) }, u.prototype._final = function() { return a.from(this._des.final()) } }, function(e, t, r) { "use strict"; t.utils = r(452), t.Cipher = r(267), t.DES = r(453), t.CBC = r(947), t.EDE = r(948) }, function(e, t, r) { "use strict"; var n = r(42), i = r(2), o = {}; function a(e) { n.equal(e.length, 8, "Invalid IV length"), this.iv = new Array(8); for (var t = 0; t < this.iv.length; t++) this.iv[t] = e[t] } t.instantiate = function(e) { function t(t) { e.call(this, t), this._cbcInit() } i(t, e); for (var r = Object.keys(o), n = 0; n < r.length; n++) { var a = r[n]; t.prototype[a] = o[a] } return t.create = function(e) { return new t(e) }, t }, o._cbcInit = function() { var e = new a(this.options.iv); this._cbcState = e }, o._update = function(e, t, r, n) { var i = this._cbcState, o = this.constructor.super_.prototype, a = i.iv; if ("encrypt" === this.type) { for (var s = 0; s < this.blockSize; s++) a[s] ^= e[t + s]; o._update.call(this, a, 0, r, n); for (s = 0; s < this.blockSize; s++) a[s] = r[n + s] } else { o._update.call(this, e, t, r, n); for (s = 0; s < this.blockSize; s++) r[n + s] ^= a[s]; for (s = 0; s < this.blockSize; s++) a[s] = e[t + s] } } }, function(e, t, r) { "use strict"; var n = r(42), i = r(2), o = r(267), a = r(453); function s(e, t) { n.equal(t.length, 24, "Invalid key length"); var r = t.slice(0, 8), i = t.slice(8, 16), o = t.slice(16, 24); this.ciphers = "encrypt" === e ? [a.create({ type: "encrypt", key: r }), a.create({ type: "decrypt", key: i }), a.create({ type: "encrypt", key: o })] : [a.create({ type: "decrypt", key: o }), a.create({ type: "encrypt", key: i }), a.create({ type: "decrypt", key: r })] } function u(e) { o.call(this, e); var t = new s(this.type, this.options.key); this._edeState = t } i(u, o), e.exports = u, u.create = function(e) { return new u(e) }, u.prototype._update = function(e, t, r, n) { var i = this._edeState; i.ciphers[0]._update(e, t, r, n), i.ciphers[1]._update(r, n, r, n), i.ciphers[2]._update(r, n, r, n) }, u.prototype._pad = a.prototype._pad, u.prototype._unpad = a.prototype._unpad }, function(e, t, r) { var n = r(269), i = r(457), o = r(10).Buffer, a = r(458), s = r(73), u = r(179), c = r(180); function l(e, t, r) { s.call(this), this._cache = new p, this._cipher = new u.AES(t), this._prev = o.from(r), this._mode = e, this._autopadding = !0 } r(2)(l, s), l.prototype._update = function(e) { var t, r; this._cache.add(e); for (var n = []; t = this._cache.get();) r = this._mode.encrypt(this, t), n.push(r); return o.concat(n) }; var f = o.alloc(16, 16); function p() { this.cache = o.allocUnsafe(0) } function d(e, t, r) { var s = n[e.toLowerCase()]; if (!s) throw new TypeError("invalid suite type"); if ("string" == typeof t && (t = o.from(t)), t.length !== s.key / 8) throw new TypeError("invalid key length " + t.length); if ("string" == typeof r && (r = o.from(r)), "GCM" !== s.mode && r.length !== s.iv) throw new TypeError("invalid iv length " + r.length); return "stream" === s.type ? new a(s.module, t, r) : "auth" === s.type ? new i(s.module, t, r) : new l(s.module, t, r) } l.prototype._final = function() { var e = this._cache.flush(); if (this._autopadding) return e = this._mode.encrypt(this, e), this._cipher.scrub(), e; if (!e.equals(f)) throw this._cipher.scrub(), new Error("data not multiple of block length") }, l.prototype.setAutoPadding = function(e) { return this._autopadding = !!e, this }, p.prototype.add = function(e) { this.cache = o.concat([this.cache, e]) }, p.prototype.get = function() { if (this.cache.length > 15) { var e = this.cache.slice(0, 16); return this.cache = this.cache.slice(16), e } return null }, p.prototype.flush = function() { for (var e = 16 - this.cache.length, t = o.allocUnsafe(e), r = -1; ++r < e;) t.writeUInt8(e, r); return o.concat([this.cache, t]) }, t.createCipheriv = d, t.createCipher = function(e, t) { var r = n[e.toLowerCase()]; if (!r) throw new TypeError("invalid suite type"); var i = c(t, !1, r.key, r.iv); return d(e, i.key, i.iv) } }, function(e, t) { t.encrypt = function(e, t) { return e._cipher.encryptBlock(t) }, t.decrypt = function(e, t) { return e._cipher.decryptBlock(t) } }, function(e, t, r) { var n = r(130); t.encrypt = function(e, t) { var r = n(t, e._prev); return e._prev = e._cipher.encryptBlock(r), e._prev }, t.decrypt = function(e, t) { var r = e._prev; e._prev = t; var i = e._cipher.decryptBlock(t); return n(i, r) } }, function(e, t, r) { var n = r(10).Buffer, i = r(130); function o(e, t, r) { var o = t.length, a = i(t, e._cache); return e._cache = e._cache.slice(o), e._prev = n.concat([e._prev, r ? t : a]), a } t.encrypt = function(e, t, r) { for (var i, a = n.allocUnsafe(0); t.length;) { if (0 === e._cache.length && (e._cache = e._cipher.encryptBlock(e._prev), e._prev = n.allocUnsafe(0)), !(e._cache.length <= t.length)) { a = n.concat([a, o(e, t, r)]); break } i = e._cache.length, a = n.concat([a, o(e, t.slice(0, i), r)]), t = t.slice(i) } return a } }, function(e, t, r) { var n = r(10).Buffer; function i(e, t, r) { var i = e._cipher.encryptBlock(e._prev)[0] ^ t; return e._prev = n.concat([e._prev.slice(1), n.from([r ? t : i])]), i } t.encrypt = function(e, t, r) { for (var o = t.length, a = n.allocUnsafe(o), s = -1; ++s < o;) a[s] = i(e, t[s], r); return a } }, function(e, t, r) { var n = r(10).Buffer; function i(e, t, r) { for (var n, i, a = -1, s = 0; ++a < 8;) n = t & 1 << 7 - a ? 128 : 0, s += (128 & (i = e._cipher.encryptBlock(e._prev)[0] ^ n)) >> a % 8, e._prev = o(e._prev, r ? n : i); return s } function o(e, t) { var r = e.length, i = -1, o = n.allocUnsafe(e.length); for (e = n.concat([e, n.from([t])]); ++i < r;) o[i] = e[i] << 1 | e[i + 1] >> 7; return o } t.encrypt = function(e, t, r) { for (var o = t.length, a = n.allocUnsafe(o), s = -1; ++s < o;) a[s] = i(e, t[s], r); return a } }, function(e, t, r) { (function(e) { var n = r(130); function i(e) { return e._prev = e._cipher.encryptBlock(e._prev), e._prev } t.encrypt = function(t, r) { for (; t._cache.length < r.length;) t._cache = e.concat([t._cache, i(t)]); var o = t._cache.slice(0, r.length); return t._cache = t._cache.slice(r.length), n(r, o) } }).call(this, r(8).Buffer) }, function(e, t, r) { var n = r(10).Buffer, i = n.alloc(16, 0); function o(e) { var t = n.allocUnsafe(16); return t.writeUInt32BE(e[0] >>> 0, 0), t.writeUInt32BE(e[1] >>> 0, 4), t.writeUInt32BE(e[2] >>> 0, 8), t.writeUInt32BE(e[3] >>> 0, 12), t } function a(e) { this.h = e, this.state = n.alloc(16, 0), this.cache = n.allocUnsafe(0) } a.prototype.ghash = function(e) { for (var t = -1; ++t < e.length;) this.state[t] ^= e[t]; this._multiply() }, a.prototype._multiply = function() { for (var e, t, r, n = [(e = this.h).readUInt32BE(0), e.readUInt32BE(4), e.readUInt32BE(8), e.readUInt32BE(12)], i = [0, 0, 0, 0], a = -1; ++a < 128;) { for (0 != (this.state[~~(a / 8)] & 1 << 7 - a % 8) && (i[0] ^= n[0], i[1] ^= n[1], i[2] ^= n[2], i[3] ^= n[3]), r = 0 != (1 & n[3]), t = 3; t > 0; t--) n[t] = n[t] >>> 1 | (1 & n[t - 1]) << 31; n[0] = n[0] >>> 1, r && (n[0] = n[0] ^ 225 << 24) } this.state = o(i) }, a.prototype.update = function(e) { var t; for (this.cache = n.concat([this.cache, e]); this.cache.length >= 16;) t = this.cache.slice(0, 16), this.cache = this.cache.slice(16), this.ghash(t) }, a.prototype.final = function(e, t) { return this.cache.length && this.ghash(n.concat([this.cache, i], 16)), this.ghash(o([0, e, 0, t])), this.state }, e.exports = a }, function(e, t, r) { var n = r(457), i = r(10).Buffer, o = r(269), a = r(458), s = r(73), u = r(179), c = r(180); function l(e, t, r) { s.call(this), this._cache = new f, this._last = void 0, this._cipher = new u.AES(t), this._prev = i.from(r), this._mode = e, this._autopadding = !0 } function f() { this.cache = i.allocUnsafe(0) } function p(e, t, r) { var s = o[e.toLowerCase()]; if (!s) throw new TypeError("invalid suite type"); if ("string" == typeof r && (r = i.from(r)), "GCM" !== s.mode && r.length !== s.iv) throw new TypeError("invalid iv length " + r.length); if ("string" == typeof t && (t = i.from(t)), t.length !== s.key / 8) throw new TypeError("invalid key length " + t.length); return "stream" === s.type ? new a(s.module, t, r, !0) : "auth" === s.type ? new n(s.module, t, r, !0) : new l(s.module, t, r) } r(2)(l, s), l.prototype._update = function(e) { var t, r; this._cache.add(e); for (var n = []; t = this._cache.get(this._autopadding);) r = this._mode.decrypt(this, t), n.push(r); return i.concat(n) }, l.prototype._final = function() { var e = this._cache.flush(); if (this._autopadding) return function(e) { var t = e[15]; if (t < 1 || t > 16) throw new Error("unable to decrypt data"); var r = -1; for (; ++r < t;) if (e[r + (16 - t)] !== t) throw new Error("unable to decrypt data"); if (16 === t) return; return e.slice(0, 16 - t) }(this._mode.decrypt(this, e)); if (e) throw new Error("data not multiple of block length") }, l.prototype.setAutoPadding = function(e) { return this._autopadding = !!e, this }, f.prototype.add = function(e) { this.cache = i.concat([this.cache, e]) }, f.prototype.get = function(e) { var t; if (e) { if (this.cache.length > 16) return t = this.cache.slice(0, 16), this.cache = this.cache.slice(16), t } else if (this.cache.length >= 16) return t = this.cache.slice(0, 16), this.cache = this.cache.slice(16), t; return null }, f.prototype.flush = function() { if (this.cache.length) return this.cache }, t.createDecipher = function(e, t) { var r = o[e.toLowerCase()]; if (!r) throw new TypeError("invalid suite type"); var n = c(t, !1, r.key, r.iv); return p(e, n.key, n.iv) }, t.createDecipheriv = p }, function(e, t) { t["des-ecb"] = { key: 8, iv: 0 }, t["des-cbc"] = t.des = { key: 8, iv: 8 }, t["des-ede3-cbc"] = t.des3 = { key: 24, iv: 8 }, t["des-ede3"] = { key: 24, iv: 0 }, t["des-ede-cbc"] = { key: 16, iv: 8 }, t["des-ede"] = { key: 16, iv: 0 } }, function(e, t, r) { (function(e) { var n = r(459), i = r(962), o = r(963); var a = { binary: !0, hex: !0, base64: !0 }; t.DiffieHellmanGroup = t.createDiffieHellmanGroup = t.getDiffieHellman = function(t) { var r = new e(i[t].prime, "hex"), n = new e(i[t].gen, "hex"); return new o(r, n) }, t.createDiffieHellman = t.DiffieHellman = function t(r, i, s, u) { return e.isBuffer(i) || void 0 === a[i] ? t(r, "binary", i, s) : (i = i || "binary", u = u || "binary", s = s || new e([2]), e.isBuffer(s) || (s = new e(s, u)), "number" == typeof r ? new o(n(r, s), s, !0) : (e.isBuffer(r) || (r = new e(r, i)), new o(r, s, !0))) } }).call(this, r(8).Buffer) }, function(e, t) {}, function(e, t) {}, function(e) { e.exports = JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}') }, function(e, t, r) { (function(t) { var n = r(22), i = new(r(460)), o = new n(24), a = new n(11), s = new n(10), u = new n(3), c = new n(7), l = r(459), f = r(101); function p(e, r) { return r = r || "utf8", t.isBuffer(e) || (e = new t(e, r)), this._pub = new n(e), this } function d(e, r) { return r = r || "utf8", t.isBuffer(e) || (e = new t(e, r)), this._priv = new n(e), this } e.exports = v; var h = {}; function v(e, t, r) { this.setGenerator(t), this.__prime = new n(e), this._prime = n.mont(this.__prime), this._primeLen = e.length, this._pub = void 0, this._priv = void 0, this._primeCode = void 0, r ? (this.setPublicKey = p, this.setPrivateKey = d) : this._primeCode = 8 } function m(e, r) { var n = new t(e.toArray()); return r ? n.toString(r) : n } Object.defineProperty(v.prototype, "verifyError", { enumerable: !0, get: function() { return "number" != typeof this._primeCode && (this._primeCode = function(e, t) { var r = t.toString("hex"), n = [r, e.toString(16)].join("_"); if (n in h) return h[n]; var f, p = 0; if (e.isEven() || !l.simpleSieve || !l.fermatTest(e) || !i.test(e)) return p += 1, p += "02" === r || "05" === r ? 8 : 4, h[n] = p, p; switch (i.test(e.shrn(1)) || (p += 2), r) { case "02": e.mod(o).cmp(a) && (p += 8); break; case "05": (f = e.mod(s)).cmp(u) && f.cmp(c) && (p += 8); break; default: p += 4 } return h[n] = p, p }(this.__prime, this.__gen)), this._primeCode } }), v.prototype.generateKeys = function() { return this._priv || (this._priv = new n(f(this._primeLen))), this._pub = this._gen.toRed(this._prime).redPow(this._priv).fromRed(), this.getPublicKey() }, v.prototype.computeSecret = function(e) { var r = (e = (e = new n(e)).toRed(this._prime)).redPow(this._priv).fromRed(), i = new t(r.toArray()), o = this.getPrime(); if (i.length < o.length) { var a = new t(o.length - i.length); a.fill(0), i = t.concat([a, i]) } return i }, v.prototype.getPublicKey = function(e) { return m(this._pub, e) }, v.prototype.getPrivateKey = function(e) { return m(this._priv, e) }, v.prototype.getPrime = function(e) { return m(this.__prime, e) }, v.prototype.getGenerator = function(e) { return m(this._gen, e) }, v.prototype.setGenerator = function(e, r) { return r = r || "utf8", t.isBuffer(e) || (e = new t(e, r)), this.__gen = e, this._gen = new n(e), this } }).call(this, r(8).Buffer) }, function(e, t, r) { (function(t) { var n = r(129), i = r(71), o = r(2), a = r(965), s = r(997), u = r(447); function c(e) { i.Writable.call(this); var t = u[e]; if (!t) throw new Error("Unknown message digest"); this._hashType = t.hash, this._hash = n(t.hash), this._tag = t.id, this._signType = t.sign } function l(e) { i.Writable.call(this); var t = u[e]; if (!t) throw new Error("Unknown message digest"); this._hash = n(t.hash), this._tag = t.id, this._signType = t.sign } function f(e) { return new c(e) } function p(e) { return new l(e) } Object.keys(u).forEach((function(e) { u[e].id = new t(u[e].id, "hex"), u[e.toLowerCase()] = u[e] })), o(c, i.Writable), c.prototype._write = function(e, t, r) { this._hash.update(e), r() }, c.prototype.update = function(e, r) { return "string" == typeof e && (e = new t(e, r)), this._hash.update(e), this }, c.prototype.sign = function(e, t) { this.end(); var r = this._hash.digest(), n = a(r, e, this._hashType, this._signType, this._tag); return t ? n.toString(t) : n }, o(l, i.Writable), l.prototype._write = function(e, t, r) { this._hash.update(e), r() }, l.prototype.update = function(e, r) { return "string" == typeof e && (e = new t(e, r)), this._hash.update(e), this }, l.prototype.verify = function(e, r, n) { "string" == typeof r && (r = new t(r, n)), this.end(); var i = this._hash.digest(); return s(r, i, e, this._signType, this._tag) }, e.exports = { Sign: f, Verify: p, createSign: f, createVerify: p } }).call(this, r(8).Buffer) }, function(e, t, r) { (function(t) { var n = r(445), i = r(271), o = r(272).ec, a = r(22), s = r(182), u = r(470); function c(e, r, i, o) { if ((e = new t(e.toArray())).length < r.byteLength()) { var a = new t(r.byteLength() - e.length); a.fill(0), e = t.concat([a, e]) } var s = i.length, u = function(e, r) { e = (e = l(e, r)).mod(r); var n = new t(e.toArray()); if (n.length < r.byteLength()) { var i = new t(r.byteLength() - n.length); i.fill(0), n = t.concat([i, n]) } return n }(i, r), c = new t(s); c.fill(1); var f = new t(s); return f.fill(0), f = n(o, f).update(c).update(new t([0])).update(e).update(u).digest(), c = n(o, f).update(c).digest(), { k: f = n(o, f).update(c).update(new t([1])).update(e).update(u).digest(), v: c = n(o, f).update(c).digest() } } function l(e, t) { var r = new a(e), n = (e.length << 3) - t.bitLength(); return n > 0 && r.ishrn(n), r } function f(e, r, i) { var o, a; do { for (o = new t(0); 8 * o.length < e.bitLength();) r.v = n(i, r.k).update(r.v).digest(), o = t.concat([o, r.v]); a = l(o, e), r.k = n(i, r.k).update(r.v).update(new t([0])).digest(), r.v = n(i, r.k).update(r.v).digest() } while (-1 !== a.cmp(e)); return a } function p(e, t, r, n) { return e.toRed(a.mont(r)).redPow(t).fromRed().mod(n) } e.exports = function(e, r, n, d, h) { var v = s(r); if (v.curve) { if ("ecdsa" !== d && "ecdsa/rsa" !== d) throw new Error("wrong private key type"); return function(e, r) { var n = u[r.curve.join(".")]; if (!n) throw new Error("unknown curve " + r.curve.join(".")); var i = new o(n).keyFromPrivate(r.privateKey).sign(e); return new t(i.toDER()) }(e, v) } if ("dsa" === v.type) { if ("dsa" !== d) throw new Error("wrong private key type"); return function(e, r, n) { var i, o = r.params.priv_key, s = r.params.p, u = r.params.q, d = r.params.g, h = new a(0), v = l(e, u).mod(u), m = !1, y = c(o, u, e, n); for (; !1 === m;) i = f(u, y, n), h = p(d, i, s, u), 0 === (m = i.invm(u).imul(v.add(o.mul(h))).mod(u)).cmpn(0) && (m = !1, h = new a(0)); return function(e, r) { e = e.toArray(), r = r.toArray(), 128 & e[0] && (e = [0].concat(e)); 128 & r[0] && (r = [0].concat(r)); var n = [48, e.length + r.length + 4, 2, e.length]; return n = n.concat(e, [2, r.length], r), new t(n) }(h, m) }(e, v, n) } if ("rsa" !== d && "ecdsa/rsa" !== d) throw new Error("wrong private key type"); e = t.concat([h, e]); for (var m = v.modulus.byteLength(), y = [0, 1]; e.length + y.length + 1 < m;) y.push(255); y.push(0); for (var b = -1; ++b < e.length;) y.push(e[b]); return i(y, v) }, e.exports.getKey = c, e.exports.makeKey = f }).call(this, r(8).Buffer) }, function(e) { e.exports = JSON.parse('{"name":"elliptic","version":"6.5.2","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny <fedor@indutny.com>","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.2.tgz","_integrity":"sha512-f4x70okzZbIQl/NSRLkI/+tteV/9WqL98zx+SQ69KbXxmVrmjwsNUPn/gYJJ0sHvEak24cZgHIPegRePAtA/xw==","_from":"elliptic@6.5.2"}') }, function(e, t, r) { "use strict"; var n = r(43), i = r(22), o = r(2), a = r(181), s = n.assert; function u(e) { a.call(this, "short", e), this.a = new i(e.a, 16).toRed(this.red), this.b = new i(e.b, 16).toRed(this.red), this.tinv = this.two.redInvm(), this.zeroA = 0 === this.a.fromRed().cmpn(0), this.threeA = 0 === this.a.fromRed().sub(this.p).cmpn(-3), this.endo = this._getEndomorphism(e), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4) } function c(e, t, r, n) { a.BasePoint.call(this, e, "affine"), null === t && null === r ? (this.x = null, this.y = null, this.inf = !0) : (this.x = new i(t, 16), this.y = new i(r, 16), n && (this.x.forceRed(this.curve.red), this.y.forceRed(this.curve.red)), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.inf = !1) } function l(e, t, r, n) { a.BasePoint.call(this, e, "jacobian"), null === t && null === r && null === n ? (this.x = this.curve.one, this.y = this.curve.one, this.z = new i(0)) : (this.x = new i(t, 16), this.y = new i(r, 16), this.z = new i(n, 16)), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)), this.zOne = this.z === this.curve.one } o(u, a), e.exports = u, u.prototype._getEndomorphism = function(e) { if (this.zeroA && this.g && this.n && 1 === this.p.modn(3)) { var t, r; if (e.beta) t = new i(e.beta, 16).toRed(this.red); else { var n = this._getEndoRoots(this.p); t = (t = n[0].cmp(n[1]) < 0 ? n[0] : n[1]).toRed(this.red) } if (e.lambda) r = new i(e.lambda, 16); else { var o = this._getEndoRoots(this.n); 0 === this.g.mul(o[0]).x.cmp(this.g.x.redMul(t)) ? r = o[0] : (r = o[1], s(0 === this.g.mul(r).x.cmp(this.g.x.redMul(t)))) } return { beta: t, lambda: r, basis: e.basis ? e.basis.map((function(e) { return { a: new i(e.a, 16), b: new i(e.b, 16) } })) : this._getEndoBasis(r) } } }, u.prototype._getEndoRoots = function(e) { var t = e === this.p ? this.red : i.mont(e), r = new i(2).toRed(t).redInvm(), n = r.redNeg(), o = new i(3).toRed(t).redNeg().redSqrt().redMul(r); return [n.redAdd(o).fromRed(), n.redSub(o).fromRed()] }, u.prototype._getEndoBasis = function(e) { for (var t, r, n, o, a, s, u, c, l, f = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), p = e, d = this.n.clone(), h = new i(1), v = new i(0), m = new i(0), y = new i(1), b = 0; 0 !== p.cmpn(0);) { var g = d.div(p); c = d.sub(g.mul(p)), l = m.sub(g.mul(h)); var _ = y.sub(g.mul(v)); if (!n && c.cmp(f) < 0) t = u.neg(), r = h, n = c.neg(), o = l; else if (n && 2 == ++b) break; u = c, d = p, p = c, m = h, h = l, y = v, v = _ } a = c.neg(), s = l; var T = n.sqr().add(o.sqr()); return a.sqr().add(s.sqr()).cmp(T) >= 0 && (a = t, s = r), n.negative && (n = n.neg(), o = o.neg()), a.negative && (a = a.neg(), s = s.neg()), [{ a: n, b: o }, { a: a, b: s }] }, u.prototype._endoSplit = function(e) { var t = this.endo.basis, r = t[0], n = t[1], i = n.b.mul(e).divRound(this.n), o = r.b.neg().mul(e).divRound(this.n), a = i.mul(r.a), s = o.mul(n.a), u = i.mul(r.b), c = o.mul(n.b); return { k1: e.sub(a).sub(s), k2: u.add(c).neg() } }, u.prototype.pointFromX = function(e, t) { (e = new i(e, 16)).red || (e = e.toRed(this.red)); var r = e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b), n = r.redSqrt(); if (0 !== n.redSqr().redSub(r).cmp(this.zero)) throw new Error("invalid point"); var o = n.fromRed().isOdd(); return (t && !o || !t && o) && (n = n.redNeg()), this.point(e, n) }, u.prototype.validate = function(e) { if (e.inf) return !0; var t = e.x, r = e.y, n = this.a.redMul(t), i = t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b); return 0 === r.redSqr().redISub(i).cmpn(0) }, u.prototype._endoWnafMulAdd = function(e, t, r) { for (var n = this._endoWnafT1, i = this._endoWnafT2, o = 0; o < e.length; o++) { var a = this._endoSplit(t[o]), s = e[o], u = s._getBeta(); a.k1.negative && (a.k1.ineg(), s = s.neg(!0)), a.k2.negative && (a.k2.ineg(), u = u.neg(!0)), n[2 * o] = s, n[2 * o + 1] = u, i[2 * o] = a.k1, i[2 * o + 1] = a.k2 } for (var c = this._wnafMulAdd(1, n, i, 2 * o, r), l = 0; l < 2 * o; l++) n[l] = null, i[l] = null; return c }, o(c, a.BasePoint), u.prototype.point = function(e, t, r) { return new c(this, e, t, r) }, u.prototype.pointFromJSON = function(e, t) { return c.fromJSON(this, e, t) }, c.prototype._getBeta = function() { if (this.curve.endo) { var e = this.precomputed; if (e && e.beta) return e.beta; var t = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y); if (e) { var r = this.curve, n = function(e) { return r.point(e.x.redMul(r.endo.beta), e.y) }; e.beta = t, t.precomputed = { beta: null, naf: e.naf && { wnd: e.naf.wnd, points: e.naf.points.map(n) }, doubles: e.doubles && { step: e.doubles.step, points: e.doubles.points.map(n) } } } return t } }, c.prototype.toJSON = function() { return this.precomputed ? [this.x, this.y, this.precomputed && { doubles: this.precomputed.doubles && { step: this.precomputed.doubles.step, points: this.precomputed.doubles.points.slice(1) }, naf: this.precomputed.naf && { wnd: this.precomputed.naf.wnd, points: this.precomputed.naf.points.slice(1) } }] : [this.x, this.y] }, c.fromJSON = function(e, t, r) { "string" == typeof t && (t = JSON.parse(t)); var n = e.point(t[0], t[1], r); if (!t[2]) return n; function i(t) { return e.point(t[0], t[1], r) } var o = t[2]; return n.precomputed = { beta: null, doubles: o.doubles && { step: o.doubles.step, points: [n].concat(o.doubles.points.map(i)) }, naf: o.naf && { wnd: o.naf.wnd, points: [n].concat(o.naf.points.map(i)) } }, n }, c.prototype.inspect = function() { return this.isInfinity() ? "<EC Point Infinity>" : "<EC Point x: " + this.x.fromRed().toString(16, 2) + " y: " + this.y.fromRed().toString(16, 2) + ">" }, c.prototype.isInfinity = function() { return this.inf }, c.prototype.add = function(e) { if (this.inf) return e; if (e.inf) return this; if (this.eq(e)) return this.dbl(); if (this.neg().eq(e)) return this.curve.point(null, null); if (0 === this.x.cmp(e.x)) return this.curve.point(null, null); var t = this.y.redSub(e.y); 0 !== t.cmpn(0) && (t = t.redMul(this.x.redSub(e.x).redInvm())); var r = t.redSqr().redISub(this.x).redISub(e.x), n = t.redMul(this.x.redSub(r)).redISub(this.y); return this.curve.point(r, n) }, c.prototype.dbl = function() { if (this.inf) return this; var e = this.y.redAdd(this.y); if (0 === e.cmpn(0)) return this.curve.point(null, null); var t = this.curve.a, r = this.x.redSqr(), n = e.redInvm(), i = r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n), o = i.redSqr().redISub(this.x.redAdd(this.x)), a = i.redMul(this.x.redSub(o)).redISub(this.y); return this.curve.point(o, a) }, c.prototype.getX = function() { return this.x.fromRed() }, c.prototype.getY = function() { return this.y.fromRed() }, c.prototype.mul = function(e) { return e = new i(e, 16), this.isInfinity() ? this : this._hasDoubles(e) ? this.curve._fixedNafMul(this, e) : this.curve.endo ? this.curve._endoWnafMulAdd([this], [e]) : this.curve._wnafMul(this, e) }, c.prototype.mulAdd = function(e, t, r) { var n = [this, t], i = [e, r]; return this.curve.endo ? this.curve._endoWnafMulAdd(n, i) : this.curve._wnafMulAdd(1, n, i, 2) }, c.prototype.jmulAdd = function(e, t, r) { var n = [this, t], i = [e, r]; return this.curve.endo ? this.curve._endoWnafMulAdd(n, i, !0) : this.curve._wnafMulAdd(1, n, i, 2, !0) }, c.prototype.eq = function(e) { return this === e || this.inf === e.inf && (this.inf || 0 === this.x.cmp(e.x) && 0 === this.y.cmp(e.y)) }, c.prototype.neg = function(e) { if (this.inf) return this; var t = this.curve.point(this.x, this.y.redNeg()); if (e && this.precomputed) { var r = this.precomputed, n = function(e) { return e.neg() }; t.precomputed = { naf: r.naf && { wnd: r.naf.wnd, points: r.naf.points.map(n) }, doubles: r.doubles && { step: r.doubles.step, points: r.doubles.points.map(n) } } } return t }, c.prototype.toJ = function() { return this.inf ? this.curve.jpoint(null, null, null) : this.curve.jpoint(this.x, this.y, this.curve.one) }, o(l, a.BasePoint), u.prototype.jpoint = function(e, t, r) { return new l(this, e, t, r) }, l.prototype.toP = function() { if (this.isInfinity()) return this.curve.point(null, null); var e = this.z.redInvm(), t = e.redSqr(), r = this.x.redMul(t), n = this.y.redMul(t).redMul(e); return this.curve.point(r, n) }, l.prototype.neg = function() { return this.curve.jpoint(this.x, this.y.redNeg(), this.z) }, l.prototype.add = function(e) { if (this.isInfinity()) return e; if (e.isInfinity()) return this; var t = e.z.redSqr(), r = this.z.redSqr(), n = this.x.redMul(t), i = e.x.redMul(r), o = this.y.redMul(t.redMul(e.z)), a = e.y.redMul(r.redMul(this.z)), s = n.redSub(i), u = o.redSub(a); if (0 === s.cmpn(0)) return 0 !== u.cmpn(0) ? this.curve.jpoint(null, null, null) : this.dbl(); var c = s.redSqr(), l = c.redMul(s), f = n.redMul(c), p = u.redSqr().redIAdd(l).redISub(f).redISub(f), d = u.redMul(f.redISub(p)).redISub(o.redMul(l)), h = this.z.redMul(e.z).redMul(s); return this.curve.jpoint(p, d, h) }, l.prototype.mixedAdd = function(e) { if (this.isInfinity()) return e.toJ(); if (e.isInfinity()) return this; var t = this.z.redSqr(), r = this.x, n = e.x.redMul(t), i = this.y, o = e.y.redMul(t).redMul(this.z), a = r.redSub(n), s = i.redSub(o); if (0 === a.cmpn(0)) return 0 !== s.cmpn(0) ? this.curve.jpoint(null, null, null) : this.dbl(); var u = a.redSqr(), c = u.redMul(a), l = r.redMul(u), f = s.redSqr().redIAdd(c).redISub(l).redISub(l), p = s.redMul(l.redISub(f)).redISub(i.redMul(c)), d = this.z.redMul(a); return this.curve.jpoint(f, p, d) }, l.prototype.dblp = function(e) { if (0 === e) return this; if (this.isInfinity()) return this; if (!e) return this.dbl(); if (this.curve.zeroA || this.curve.threeA) { for (var t = this, r = 0; r < e; r++) t = t.dbl(); return t } var n = this.curve.a, i = this.curve.tinv, o = this.x, a = this.y, s = this.z, u = s.redSqr().redSqr(), c = a.redAdd(a); for (r = 0; r < e; r++) { var l = o.redSqr(), f = c.redSqr(), p = f.redSqr(), d = l.redAdd(l).redIAdd(l).redIAdd(n.redMul(u)), h = o.redMul(f), v = d.redSqr().redISub(h.redAdd(h)), m = h.redISub(v), y = d.redMul(m); y = y.redIAdd(y).redISub(p); var b = c.redMul(s); r + 1 < e && (u = u.redMul(p)), o = v, s = b, c = y } return this.curve.jpoint(o, c.redMul(i), s) }, l.prototype.dbl = function() { return this.isInfinity() ? this : this.curve.zeroA ? this._zeroDbl() : this.curve.threeA ? this._threeDbl() : this._dbl() }, l.prototype._zeroDbl = function() { var e, t, r; if (this.zOne) { var n = this.x.redSqr(), i = this.y.redSqr(), o = i.redSqr(), a = this.x.redAdd(i).redSqr().redISub(n).redISub(o); a = a.redIAdd(a); var s = n.redAdd(n).redIAdd(n), u = s.redSqr().redISub(a).redISub(a), c = o.redIAdd(o); c = (c = c.redIAdd(c)).redIAdd(c), e = u, t = s.redMul(a.redISub(u)).redISub(c), r = this.y.redAdd(this.y) } else { var l = this.x.redSqr(), f = this.y.redSqr(), p = f.redSqr(), d = this.x.redAdd(f).redSqr().redISub(l).redISub(p); d = d.redIAdd(d); var h = l.redAdd(l).redIAdd(l), v = h.redSqr(), m = p.redIAdd(p); m = (m = m.redIAdd(m)).redIAdd(m), e = v.redISub(d).redISub(d), t = h.redMul(d.redISub(e)).redISub(m), r = (r = this.y.redMul(this.z)).redIAdd(r) } return this.curve.jpoint(e, t, r) }, l.prototype._threeDbl = function() { var e, t, r; if (this.zOne) { var n = this.x.redSqr(), i = this.y.redSqr(), o = i.redSqr(), a = this.x.redAdd(i).redSqr().redISub(n).redISub(o); a = a.redIAdd(a); var s = n.redAdd(n).redIAdd(n).redIAdd(this.curve.a), u = s.redSqr().redISub(a).redISub(a); e = u; var c = o.redIAdd(o); c = (c = c.redIAdd(c)).redIAdd(c), t = s.redMul(a.redISub(u)).redISub(c), r = this.y.redAdd(this.y) } else { var l = this.z.redSqr(), f = this.y.redSqr(), p = this.x.redMul(f), d = this.x.redSub(l).redMul(this.x.redAdd(l)); d = d.redAdd(d).redIAdd(d); var h = p.redIAdd(p), v = (h = h.redIAdd(h)).redAdd(h); e = d.redSqr().redISub(v), r = this.y.redAdd(this.z).redSqr().redISub(f).redISub(l); var m = f.redSqr(); m = (m = (m = m.redIAdd(m)).redIAdd(m)).redIAdd(m), t = d.redMul(h.redISub(e)).redISub(m) } return this.curve.jpoint(e, t, r) }, l.prototype._dbl = function() { var e = this.curve.a, t = this.x, r = this.y, n = this.z, i = n.redSqr().redSqr(), o = t.redSqr(), a = r.redSqr(), s = o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)), u = t.redAdd(t), c = (u = u.redIAdd(u)).redMul(a), l = s.redSqr().redISub(c.redAdd(c)), f = c.redISub(l), p = a.redSqr(); p = (p = (p = p.redIAdd(p)).redIAdd(p)).redIAdd(p); var d = s.redMul(f).redISub(p), h = r.redAdd(r).redMul(n); return this.curve.jpoint(l, d, h) }, l.prototype.trpl = function() { if (!this.curve.zeroA) return this.dbl().add(this); var e = this.x.redSqr(), t = this.y.redSqr(), r = this.z.redSqr(), n = t.redSqr(), i = e.redAdd(e).redIAdd(e), o = i.redSqr(), a = this.x.redAdd(t).redSqr().redISub(e).redISub(n), s = (a = (a = (a = a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(), u = n.redIAdd(n); u = (u = (u = u.redIAdd(u)).redIAdd(u)).redIAdd(u); var c = i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(u), l = t.redMul(c); l = (l = l.redIAdd(l)).redIAdd(l); var f = this.x.redMul(s).redISub(l); f = (f = f.redIAdd(f)).redIAdd(f); var p = this.y.redMul(c.redMul(u.redISub(c)).redISub(a.redMul(s))); p = (p = (p = p.redIAdd(p)).redIAdd(p)).redIAdd(p); var d = this.z.redAdd(a).redSqr().redISub(r).redISub(s); return this.curve.jpoint(f, p, d) }, l.prototype.mul = function(e, t) { return e = new i(e, t), this.curve._wnafMul(this, e) }, l.prototype.eq = function(e) { if ("affine" === e.type) return this.eq(e.toJ()); if (this === e) return !0; var t = this.z.redSqr(), r = e.z.redSqr(); if (0 !== this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0)) return !1; var n = t.redMul(this.z), i = r.redMul(e.z); return 0 === this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0) }, l.prototype.eqXToP = function(e) { var t = this.z.redSqr(), r = e.toRed(this.curve.red).redMul(t); if (0 === this.x.cmp(r)) return !0; for (var n = e.clone(), i = this.curve.redN.redMul(t);;) { if (n.iadd(this.curve.n), n.cmp(this.curve.p) >= 0) return !1; if (r.redIAdd(i), 0 === this.x.cmp(r)) return !0 } }, l.prototype.inspect = function() { return this.isInfinity() ? "<EC JPoint Infinity>" : "<EC JPoint x: " + this.x.toString(16, 2) + " y: " + this.y.toString(16, 2) + " z: " + this.z.toString(16, 2) + ">" }, l.prototype.isInfinity = function() { return 0 === this.z.cmpn(0) } }, function(e, t, r) { "use strict"; var n = r(22), i = r(2), o = r(181), a = r(43); function s(e) { o.call(this, "mont", e), this.a = new n(e.a, 16).toRed(this.red), this.b = new n(e.b, 16).toRed(this.red), this.i4 = new n(4).toRed(this.red).redInvm(), this.two = new n(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two)) } function u(e, t, r) { o.BasePoint.call(this, e, "projective"), null === t && null === r ? (this.x = this.curve.one, this.z = this.curve.zero) : (this.x = new n(t, 16), this.z = new n(r, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red))) } i(s, o), e.exports = s, s.prototype.validate = function(e) { var t = e.normalize().x, r = t.redSqr(), n = r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t); return 0 === n.redSqrt().redSqr().cmp(n) }, i(u, o.BasePoint), s.prototype.decodePoint = function(e, t) { return this.point(a.toArray(e, t), 1) }, s.prototype.point = function(e, t) { return new u(this, e, t) }, s.prototype.pointFromJSON = function(e) { return u.fromJSON(this, e) }, u.prototype.precompute = function() {}, u.prototype._encode = function() { return this.getX().toArray("be", this.curve.p.byteLength()) }, u.fromJSON = function(e, t) { return new u(e, t[0], t[1] || e.one) }, u.prototype.inspect = function() { return this.isInfinity() ? "<EC Point Infinity>" : "<EC Point x: " + this.x.fromRed().toString(16, 2) + " z: " + this.z.fromRed().toString(16, 2) + ">" }, u.prototype.isInfinity = function() { return 0 === this.z.cmpn(0) }, u.prototype.dbl = function() { var e = this.x.redAdd(this.z).redSqr(), t = this.x.redSub(this.z).redSqr(), r = e.redSub(t), n = e.redMul(t), i = r.redMul(t.redAdd(this.curve.a24.redMul(r))); return this.curve.point(n, i) }, u.prototype.add = function() { throw new Error("Not supported on Montgomery curve") }, u.prototype.diffAdd = function(e, t) { var r = this.x.redAdd(this.z), n = this.x.redSub(this.z), i = e.x.redAdd(e.z), o = e.x.redSub(e.z).redMul(r), a = i.redMul(n), s = t.z.redMul(o.redAdd(a).redSqr()), u = t.x.redMul(o.redISub(a).redSqr()); return this.curve.point(s, u) }, u.prototype.mul = function(e) { for (var t = e.clone(), r = this, n = this.curve.point(null, null), i = []; 0 !== t.cmpn(0); t.iushrn(1)) i.push(t.andln(1)); for (var o = i.length - 1; o >= 0; o--) 0 === i[o] ? (r = r.diffAdd(n, this), n = n.dbl()) : (n = r.diffAdd(n, this), r = r.dbl()); return n }, u.prototype.mulAdd = function() { throw new Error("Not supported on Montgomery curve") }, u.prototype.jumlAdd = function() { throw new Error("Not supported on Montgomery curve") }, u.prototype.eq = function(e) { return 0 === this.getX().cmp(e.getX()) }, u.prototype.normalize = function() { return this.x = this.x.redMul(this.z.redInvm()), this.z = this.curve.one, this }, u.prototype.getX = function() { return this.normalize(), this.x.fromRed() } }, function(e, t, r) { "use strict"; var n = r(43), i = r(22), o = r(2), a = r(181), s = n.assert; function u(e) { this.twisted = 1 != (0 | e.a), this.mOneA = this.twisted && -1 == (0 | e.a), this.extended = this.mOneA, a.call(this, "edwards", e), this.a = new i(e.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new i(e.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new i(e.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), s(!this.twisted || 0 === this.c.fromRed().cmpn(1)), this.oneC = 1 == (0 | e.c) } function c(e, t, r, n, o) { a.BasePoint.call(this, e, "projective"), null === t && null === r && null === n ? (this.x = this.curve.zero, this.y = this.curve.one, this.z = this.curve.one, this.t = this.curve.zero, this.zOne = !0) : (this.x = new i(t, 16), this.y = new i(r, 16), this.z = n ? new i(n, 16) : this.curve.one, this.t = o && new i(o, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)), this.t && !this.t.red && (this.t = this.t.toRed(this.curve.red)), this.zOne = this.z === this.curve.one, this.curve.extended && !this.t && (this.t = this.x.redMul(this.y), this.zOne || (this.t = this.t.redMul(this.z.redInvm())))) } o(u, a), e.exports = u, u.prototype._mulA = function(e) { return this.mOneA ? e.redNeg() : this.a.redMul(e) }, u.prototype._mulC = function(e) { return this.oneC ? e : this.c.redMul(e) }, u.prototype.jpoint = function(e, t, r, n) { return this.point(e, t, r, n) }, u.prototype.pointFromX = function(e, t) { (e = new i(e, 16)).red || (e = e.toRed(this.red)); var r = e.redSqr(), n = this.c2.redSub(this.a.redMul(r)), o = this.one.redSub(this.c2.redMul(this.d).redMul(r)), a = n.redMul(o.redInvm()), s = a.redSqrt(); if (0 !== s.redSqr().redSub(a).cmp(this.zero)) throw new Error("invalid point"); var u = s.fromRed().isOdd(); return (t && !u || !t && u) && (s = s.redNeg()), this.point(e, s) }, u.prototype.pointFromY = function(e, t) { (e = new i(e, 16)).red || (e = e.toRed(this.red)); var r = e.redSqr(), n = r.redSub(this.c2), o = r.redMul(this.d).redMul(this.c2).redSub(this.a), a = n.redMul(o.redInvm()); if (0 === a.cmp(this.zero)) { if (t) throw new Error("invalid point"); return this.point(this.zero, e) } var s = a.redSqrt(); if (0 !== s.redSqr().redSub(a).cmp(this.zero)) throw new Error("invalid point"); return s.fromRed().isOdd() !== t && (s = s.redNeg()), this.point(s, e) }, u.prototype.validate = function(e) { if (e.isInfinity()) return !0; e.normalize(); var t = e.x.redSqr(), r = e.y.redSqr(), n = t.redMul(this.a).redAdd(r), i = this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r))); return 0 === n.cmp(i) }, o(c, a.BasePoint), u.prototype.pointFromJSON = function(e) { return c.fromJSON(this, e) }, u.prototype.point = function(e, t, r, n) { return new c(this, e, t, r, n) }, c.fromJSON = function(e, t) { return new c(e, t[0], t[1], t[2]) }, c.prototype.inspect = function() { return this.isInfinity() ? "<EC Point Infinity>" : "<EC Point x: " + this.x.fromRed().toString(16, 2) + " y: " + this.y.fromRed().toString(16, 2) + " z: " + this.z.fromRed().toString(16, 2) + ">" }, c.prototype.isInfinity = function() { return 0 === this.x.cmpn(0) && (0 === this.y.cmp(this.z) || this.zOne && 0 === this.y.cmp(this.curve.c)) }, c.prototype._extDbl = function() { var e = this.x.redSqr(), t = this.y.redSqr(), r = this.z.redSqr(); r = r.redIAdd(r); var n = this.curve._mulA(e), i = this.x.redAdd(this.y).redSqr().redISub(e).redISub(t), o = n.redAdd(t), a = o.redSub(r), s = n.redSub(t), u = i.redMul(a), c = o.redMul(s), l = i.redMul(s), f = a.redMul(o); return this.curve.point(u, c, f, l) }, c.prototype._projDbl = function() { var e, t, r, n = this.x.redAdd(this.y).redSqr(), i = this.x.redSqr(), o = this.y.redSqr(); if (this.curve.twisted) { var a = (c = this.curve._mulA(i)).redAdd(o); if (this.zOne) e = n.redSub(i).redSub(o).redMul(a.redSub(this.curve.two)), t = a.redMul(c.redSub(o)), r = a.redSqr().redSub(a).redSub(a); else { var s = this.z.redSqr(), u = a.redSub(s).redISub(s); e = n.redSub(i).redISub(o).redMul(u), t = a.redMul(c.redSub(o)), r = a.redMul(u) } } else { var c = i.redAdd(o); s = this.curve._mulC(this.z).redSqr(), u = c.redSub(s).redSub(s); e = this.curve._mulC(n.redISub(c)).redMul(u), t = this.curve._mulC(c).redMul(i.redISub(o)), r = c.redMul(u) } return this.curve.point(e, t, r) }, c.prototype.dbl = function() { return this.isInfinity() ? this : this.curve.extended ? this._extDbl() : this._projDbl() }, c.prototype._extAdd = function(e) { var t = this.y.redSub(this.x).redMul(e.y.redSub(e.x)), r = this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)), n = this.t.redMul(this.curve.dd).redMul(e.t), i = this.z.redMul(e.z.redAdd(e.z)), o = r.redSub(t), a = i.redSub(n), s = i.redAdd(n), u = r.redAdd(t), c = o.redMul(a), l = s.redMul(u), f = o.redMul(u), p = a.redMul(s); return this.curve.point(c, l, p, f) }, c.prototype._projAdd = function(e) { var t, r, n = this.z.redMul(e.z), i = n.redSqr(), o = this.x.redMul(e.x), a = this.y.redMul(e.y), s = this.curve.d.redMul(o).redMul(a), u = i.redSub(s), c = i.redAdd(s), l = this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a), f = n.redMul(u).redMul(l); return this.curve.twisted ? (t = n.redMul(c).redMul(a.redSub(this.curve._mulA(o))), r = u.redMul(c)) : (t = n.redMul(c).redMul(a.redSub(o)), r = this.curve._mulC(u).redMul(c)), this.curve.point(f, t, r) }, c.prototype.add = function(e) { return this.isInfinity() ? e : e.isInfinity() ? this : this.curve.extended ? this._extAdd(e) : this._projAdd(e) }, c.prototype.mul = function(e) { return this._hasDoubles(e) ? this.curve._fixedNafMul(this, e) : this.curve._wnafMul(this, e) }, c.prototype.mulAdd = function(e, t, r) { return this.curve._wnafMulAdd(1, [this, t], [e, r], 2, !1) }, c.prototype.jmulAdd = function(e, t, r) { return this.curve._wnafMulAdd(1, [this, t], [e, r], 2, !0) }, c.prototype.normalize = function() { if (this.zOne) return this; var e = this.z.redInvm(); return this.x = this.x.redMul(e), this.y = this.y.redMul(e), this.t && (this.t = this.t.redMul(e)), this.z = this.curve.one, this.zOne = !0, this }, c.prototype.neg = function() { return this.curve.point(this.x.redNeg(), this.y, this.z, this.t && this.t.redNeg()) }, c.prototype.getX = function() { return this.normalize(), this.x.fromRed() }, c.prototype.getY = function() { return this.normalize(), this.y.fromRed() }, c.prototype.eq = function(e) { return this === e || 0 === this.getX().cmp(e.getX()) && 0 === this.getY().cmp(e.getY()) }, c.prototype.eqXToP = function(e) { var t = e.toRed(this.curve.red).redMul(this.z); if (0 === this.x.cmp(t)) return !0; for (var r = e.clone(), n = this.curve.redN.redMul(this.z);;) { if (r.iadd(this.curve.n), r.cmp(this.curve.p) >= 0) return !1; if (t.redIAdd(n), 0 === this.x.cmp(t)) return !0 } }, c.prototype.toP = c.prototype.normalize, c.prototype.mixedAdd = c.prototype.add }, function(e, t, r) { "use strict"; t.sha1 = r(971), t.sha224 = r(972), t.sha256 = r(464), t.sha384 = r(973), t.sha512 = r(465) }, function(e, t, r) { "use strict"; var n = r(55), i = r(131), o = r(463), a = n.rotl32, s = n.sum32, u = n.sum32_5, c = o.ft_1, l = i.BlockHash, f = [1518500249, 1859775393, 2400959708, 3395469782]; function p() { if (!(this instanceof p)) return new p; l.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.W = new Array(80) } n.inherits(p, l), e.exports = p, p.blockSize = 512, p.outSize = 160, p.hmacStrength = 80, p.padLength = 64, p.prototype._update = function(e, t) { for (var r = this.W, n = 0; n < 16; n++) r[n] = e[t + n]; for (; n < r.length; n++) r[n] = a(r[n - 3] ^ r[n - 8] ^ r[n - 14] ^ r[n - 16], 1); var i = this.h[0], o = this.h[1], l = this.h[2], p = this.h[3], d = this.h[4]; for (n = 0; n < r.length; n++) { var h = ~~(n / 20), v = u(a(i, 5), c(h, o, l, p), d, r[n], f[h]); d = p, p = l, l = a(o, 30), o = i, i = v } this.h[0] = s(this.h[0], i), this.h[1] = s(this.h[1], o), this.h[2] = s(this.h[2], l), this.h[3] = s(this.h[3], p), this.h[4] = s(this.h[4], d) }, p.prototype._digest = function(e) { return "hex" === e ? n.toHex32(this.h, "big") : n.split32(this.h, "big") } }, function(e, t, r) { "use strict"; var n = r(55), i = r(464); function o() { if (!(this instanceof o)) return new o; i.call(this), this.h = [3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428] } n.inherits(o, i), e.exports = o, o.blockSize = 512, o.outSize = 224, o.hmacStrength = 192, o.padLength = 64, o.prototype._digest = function(e) { return "hex" === e ? n.toHex32(this.h.slice(0, 7), "big") : n.split32(this.h.slice(0, 7), "big") } }, function(e, t, r) { "use strict"; var n = r(55), i = r(465); function o() { if (!(this instanceof o)) return new o; i.call(this), this.h = [3418070365, 3238371032, 1654270250, 914150663, 2438529370, 812702999, 355462360, 4144912697, 1731405415, 4290775857, 2394180231, 1750603025, 3675008525, 1694076839, 1203062813, 3204075428] } n.inherits(o, i), e.exports = o, o.blockSize = 1024, o.outSize = 384, o.hmacStrength = 192, o.padLength = 128, o.prototype._digest = function(e) { return "hex" === e ? n.toHex32(this.h.slice(0, 12), "big") : n.split32(this.h.slice(0, 12), "big") } }, function(e, t, r) { "use strict"; var n = r(55), i = r(131), o = n.rotl32, a = n.sum32, s = n.sum32_3, u = n.sum32_4, c = i.BlockHash; function l() { if (!(this instanceof l)) return new l; c.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.endian = "little" } function f(e, t, r, n) { return e <= 15 ? t ^ r ^ n : e <= 31 ? t & r | ~t & n : e <= 47 ? (t | ~r) ^ n : e <= 63 ? t & n | r & ~n : t ^ (r | ~n) } function p(e) { return e <= 15 ? 0 : e <= 31 ? 1518500249 : e <= 47 ? 1859775393 : e <= 63 ? 2400959708 : 2840853838 } function d(e) { return e <= 15 ? 1352829926 : e <= 31 ? 1548603684 : e <= 47 ? 1836072691 : e <= 63 ? 2053994217 : 0 } n.inherits(l, c), t.ripemd160 = l, l.blockSize = 512, l.outSize = 160, l.hmacStrength = 192, l.padLength = 64, l.prototype._update = function(e, t) { for (var r = this.h[0], n = this.h[1], i = this.h[2], c = this.h[3], l = this.h[4], b = r, g = n, _ = i, T = c, S = l, A = 0; A < 80; A++) { var E = a(o(u(r, f(A, n, i, c), e[h[A] + t], p(A)), m[A]), l); r = l, l = c, c = o(i, 10), i = n, n = E, E = a(o(u(b, f(79 - A, g, _, T), e[v[A] + t], d(A)), y[A]), S), b = S, S = T, T = o(_, 10), _ = g, g = E } E = s(this.h[1], i, T), this.h[1] = s(this.h[2], c, S), this.h[2] = s(this.h[3], l, b), this.h[3] = s(this.h[4], r, g), this.h[4] = s(this.h[0], n, _), this.h[0] = E }, l.prototype._digest = function(e) { return "hex" === e ? n.toHex32(this.h, "little") : n.split32(this.h, "little") }; var h = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13], v = [5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11], m = [11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6], y = [8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11] }, function(e, t, r) { "use strict"; var n = r(55), i = r(42); function o(e, t, r) { if (!(this instanceof o)) return new o(e, t, r); this.Hash = e, this.blockSize = e.blockSize / 8, this.outSize = e.outSize / 8, this.inner = null, this.outer = null, this._init(n.toArray(t, r)) } e.exports = o, o.prototype._init = function(e) { e.length > this.blockSize && (e = (new this.Hash).update(e).digest()), i(e.length <= this.blockSize); for (var t = e.length; t < this.blockSize; t++) e.push(0); for (t = 0; t < e.length; t++) e[t] ^= 54; for (this.inner = (new this.Hash).update(e), t = 0; t < e.length; t++) e[t] ^= 106; this.outer = (new this.Hash).update(e) }, o.prototype.update = function(e, t) { return this.inner.update(e, t), this }, o.prototype.digest = function(e) { return this.outer.update(this.inner.digest()), this.outer.digest(e) } }, function(e, t) { e.exports = { doubles: { step: 4, points: [ ["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a", "f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"], ["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508", "11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"], ["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739", "d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"], ["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640", "4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"], ["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c", "4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"], ["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda", "96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"], ["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa", "5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"], ["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0", "cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"], ["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d", "9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"], ["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d", "e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"], ["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1", "9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"], ["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0", "5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"], ["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047", "10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"], ["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862", "283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"], ["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7", "7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"], ["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd", "56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"], ["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83", "7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"], ["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a", "53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"], ["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8", "bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"], ["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d", "4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"], ["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725", "7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"], ["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754", "4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"], ["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c", "17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"], ["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6", "6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"], ["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39", "c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"], ["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891", "893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"], ["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b", "febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"], ["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03", "2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"], ["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d", "eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"], ["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070", "7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"], ["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4", "e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"], ["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da", "662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"], ["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11", "1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"], ["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e", "efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"], ["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41", "2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"], ["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef", "67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"], ["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8", "db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"], ["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d", "648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"], ["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96", "35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"], ["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd", "ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"], ["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5", "9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"], ["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266", "40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"], ["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71", "34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"], ["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac", "c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"], ["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751", "1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"], ["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e", "493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"], ["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241", "c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"], ["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3", "be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"], ["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f", "4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"], ["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19", "aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"], ["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be", "b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"], ["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9", "6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"], ["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2", "8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"], ["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13", "7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"], ["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c", "ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"], ["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba", "2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"], ["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151", "e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"], ["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073", "d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"], ["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458", "38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"], ["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b", "69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"], ["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366", "d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"], ["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa", "40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"], ["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0", "620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"], ["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787", "7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"], ["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e", "ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"] ] }, naf: { wnd: 7, points: [ ["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9", "388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"], ["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4", "d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"], ["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc", "6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"], ["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe", "cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"], ["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb", "d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"], ["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8", "ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"], ["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e", "581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"], ["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34", "4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"], ["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c", "85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"], ["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5", "321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"], ["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f", "2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"], ["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714", "73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"], ["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729", "a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"], ["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db", "2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"], ["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4", "e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"], ["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5", "b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"], ["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479", "2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"], ["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d", "80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"], ["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f", "1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"], ["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb", "d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"], ["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9", "eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"], ["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963", "758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"], ["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74", "958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"], ["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530", "e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"], ["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b", "5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"], ["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247", "cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"], ["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1", "cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"], ["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120", "4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"], ["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435", "91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"], ["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18", "673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"], ["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8", "59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"], ["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb", "3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"], ["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f", "55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"], ["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143", "efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"], ["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba", "e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"], ["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45", "f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"], ["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a", "744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"], ["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e", "c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"], ["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8", "e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"], ["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c", "30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"], ["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519", "e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"], ["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab", "100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"], ["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca", "ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"], ["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf", "8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"], ["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610", "68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"], ["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4", "f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"], ["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c", "d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"], ["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940", "edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"], ["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980", "a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"], ["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3", "66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"], ["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf", "9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"], ["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63", "4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"], ["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448", "fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"], ["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf", "5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"], ["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5", "8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"], ["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6", "8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"], ["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5", "5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"], ["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99", "f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"], ["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51", "f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"], ["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5", "42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"], ["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5", "204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"], ["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997", "4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"], ["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881", "73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"], ["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5", "39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"], ["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66", "d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"], ["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726", "ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"], ["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede", "6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"], ["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94", "60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"], ["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31", "3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"], ["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51", "b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"], ["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252", "ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"], ["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5", "cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"], ["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b", "6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"], ["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4", "322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"], ["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f", "6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"], ["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889", "2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"], ["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246", "b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"], ["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984", "998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"], ["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a", "b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"], ["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030", "bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"], ["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197", "6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"], ["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593", "c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"], ["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef", "21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"], ["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38", "60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"], ["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a", "49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"], ["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111", "5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"], ["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502", "7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"], ["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea", "be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"], ["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26", "8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"], ["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986", "39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"], ["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e", "62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"], ["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4", "25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"], ["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda", "ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"], ["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859", "cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"], ["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f", "f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"], ["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c", "6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"], ["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942", "fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"], ["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a", "1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"], ["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80", "5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"], ["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d", "438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"], ["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1", "cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"], ["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63", "c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"], ["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352", "6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"], ["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193", "ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"], ["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00", "9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"], ["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58", "ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"], ["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7", "d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"], ["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8", "c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"], ["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e", "67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"], ["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d", "cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"], ["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b", "299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"], ["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f", "f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"], ["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6", "462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"], ["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297", "62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"], ["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a", "7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"], ["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c", "ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"], ["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52", "4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"], ["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb", "bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"], ["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065", "bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"], ["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917", "603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"], ["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9", "cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"], ["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3", "553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"], ["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57", "712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"], ["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66", "ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"], ["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8", "9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"], ["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721", "9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"], ["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180", "4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"] ] } } }, function(e, t, r) { "use strict"; var n = r(22), i = r(978), o = r(43), a = r(273), s = r(270), u = o.assert, c = r(979), l = r(980); function f(e) { if (!(this instanceof f)) return new f(e); "string" == typeof e && (u(a.hasOwnProperty(e), "Unknown curve " + e), e = a[e]), e instanceof a.PresetCurve && (e = { curve: e }), this.curve = e.curve.curve, this.n = this.curve.n, this.nh = this.n.ushrn(1), this.g = this.curve.g, this.g = e.curve.g, this.g.precompute(e.curve.n.bitLength() + 1), this.hash = e.hash || e.curve.hash } e.exports = f, f.prototype.keyPair = function(e) { return new c(this, e) }, f.prototype.keyFromPrivate = function(e, t) { return c.fromPrivate(this, e, t) }, f.prototype.keyFromPublic = function(e, t) { return c.fromPublic(this, e, t) }, f.prototype.genKeyPair = function(e) { e || (e = {}); for (var t = new i({ hash: this.hash, pers: e.pers, persEnc: e.persEnc || "utf8", entropy: e.entropy || s(this.hash.hmacStrength), entropyEnc: e.entropy && e.entropyEnc || "utf8", nonce: this.n.toArray() }), r = this.n.byteLength(), o = this.n.sub(new n(2));;) { var a = new n(t.generate(r)); if (!(a.cmp(o) > 0)) return a.iaddn(1), this.keyFromPrivate(a) } }, f.prototype._truncateToN = function(e, t) { var r = 8 * e.byteLength() - this.n.bitLength(); return r > 0 && (e = e.ushrn(r)), !t && e.cmp(this.n) >= 0 ? e.sub(this.n) : e }, f.prototype.sign = function(e, t, r, o) { "object" == typeof r && (o = r, r = null), o || (o = {}), t = this.keyFromPrivate(t, r), e = this._truncateToN(new n(e, 16)); for (var a = this.n.byteLength(), s = t.getPrivate().toArray("be", a), u = e.toArray("be", a), c = new i({ hash: this.hash, entropy: s, nonce: u, pers: o.pers, persEnc: o.persEnc || "utf8" }), f = this.n.sub(new n(1)), p = 0;; p++) { var d = o.k ? o.k(p) : new n(c.generate(this.n.byteLength())); if (!((d = this._truncateToN(d, !0)).cmpn(1) <= 0 || d.cmp(f) >= 0)) { var h = this.g.mul(d); if (!h.isInfinity()) { var v = h.getX(), m = v.umod(this.n); if (0 !== m.cmpn(0)) { var y = d.invm(this.n).mul(m.mul(t.getPrivate()).iadd(e)); if (0 !== (y = y.umod(this.n)).cmpn(0)) { var b = (h.getY().isOdd() ? 1 : 0) | (0 !== v.cmp(m) ? 2 : 0); return o.canonical && y.cmp(this.nh) > 0 && (y = this.n.sub(y), b ^= 1), new l({ r: m, s: y, recoveryParam: b }) } } } } } }, f.prototype.verify = function(e, t, r, i) { e = this._truncateToN(new n(e, 16)), r = this.keyFromPublic(r, i); var o = (t = new l(t, "hex")).r, a = t.s; if (o.cmpn(1) < 0 || o.cmp(this.n) >= 0) return !1; if (a.cmpn(1) < 0 || a.cmp(this.n) >= 0) return !1; var s, u = a.invm(this.n), c = u.mul(e).umod(this.n), f = u.mul(o).umod(this.n); return this.curve._maxwellTrick ? !(s = this.g.jmulAdd(c, r.getPublic(), f)).isInfinity() && s.eqXToP(o) : !(s = this.g.mulAdd(c, r.getPublic(), f)).isInfinity() && 0 === s.getX().umod(this.n).cmp(o) }, f.prototype.recoverPubKey = function(e, t, r, i) { u((3 & r) === r, "The recovery param is more than two bits"), t = new l(t, i); var o = this.n, a = new n(e), s = t.r, c = t.s, f = 1 & r, p = r >> 1; if (s.cmp(this.curve.p.umod(this.curve.n)) >= 0 && p) throw new Error("Unable to find sencond key candinate"); s = p ? this.curve.pointFromX(s.add(this.curve.n), f) : this.curve.pointFromX(s, f); var d = t.r.invm(o), h = o.sub(a).mul(d).umod(o), v = c.mul(d).umod(o); return this.g.mulAdd(h, s, v) }, f.prototype.getKeyRecoveryParam = function(e, t, r, n) { if (null !== (t = new l(t, n)).recoveryParam) return t.recoveryParam; for (var i = 0; i < 4; i++) { var o; try { o = this.recoverPubKey(e, t, i) } catch (e) { continue } if (o.eq(r)) return i } throw new Error("Unable to find valid recovery factor") } }, function(e, t, r) { "use strict"; var n = r(274), i = r(461), o = r(42); function a(e) { if (!(this instanceof a)) return new a(e); this.hash = e.hash, this.predResist = !!e.predResist, this.outLen = this.hash.outSize, this.minEntropy = e.minEntropy || this.hash.hmacStrength, this._reseed = null, this.reseedInterval = null, this.K = null, this.V = null; var t = i.toArray(e.entropy, e.entropyEnc || "hex"), r = i.toArray(e.nonce, e.nonceEnc || "hex"), n = i.toArray(e.pers, e.persEnc || "hex"); o(t.length >= this.minEntropy / 8, "Not enough entropy. Minimum is: " + this.minEntropy + " bits"), this._init(t, r, n) } e.exports = a, a.prototype._init = function(e, t, r) { var n = e.concat(t).concat(r); this.K = new Array(this.outLen / 8), this.V = new Array(this.outLen / 8); for (var i = 0; i < this.V.length; i++) this.K[i] = 0, this.V[i] = 1; this._update(n), this._reseed = 1, this.reseedInterval = 281474976710656 }, a.prototype._hmac = function() { return new n.hmac(this.hash, this.K) }, a.prototype._update = function(e) { var t = this._hmac().update(this.V).update([0]); e && (t = t.update(e)), this.K = t.digest(), this.V = this._hmac().update(this.V).digest(), e && (this.K = this._hmac().update(this.V).update([1]).update(e).digest(), this.V = this._hmac().update(this.V).digest()) }, a.prototype.reseed = function(e, t, r, n) { "string" != typeof t && (n = r, r = t, t = null), e = i.toArray(e, t), r = i.toArray(r, n), o(e.length >= this.minEntropy / 8, "Not enough entropy. Minimum is: " + this.minEntropy + " bits"), this._update(e.concat(r || [])), this._reseed = 1 }, a.prototype.generate = function(e, t, r, n) { if (this._reseed > this.reseedInterval) throw new Error("Reseed is required"); "string" != typeof t && (n = r, r = t, t = null), r && (r = i.toArray(r, n || "hex"), this._update(r)); for (var o = []; o.length < e;) this.V = this._hmac().update(this.V).digest(), o = o.concat(this.V); var a = o.slice(0, e); return this._update(r), this._reseed++, i.encode(a, t) } }, function(e, t, r) { "use strict"; var n = r(22), i = r(43).assert; function o(e, t) { this.ec = e, this.priv = null, this.pub = null, t.priv && this._importPrivate(t.priv, t.privEnc), t.pub && this._importPublic(t.pub, t.pubEnc) } e.exports = o, o.fromPublic = function(e, t, r) { return t instanceof o ? t : new o(e, { pub: t, pubEnc: r }) }, o.fromPrivate = function(e, t, r) { return t instanceof o ? t : new o(e, { priv: t, privEnc: r }) }, o.prototype.validate = function() { var e = this.getPublic(); return e.isInfinity() ? { result: !1, reason: "Invalid public key" } : e.validate() ? e.mul(this.ec.curve.n).isInfinity() ? { result: !0, reason: null } : { result: !1, reason: "Public key * N != O" } : { result: !1, reason: "Public key is not a point" } }, o.prototype.getPublic = function(e, t) { return "string" == typeof e && (t = e, e = null), this.pub || (this.pub = this.ec.g.mul(this.priv)), t ? this.pub.encode(t, e) : this.pub }, o.prototype.getPrivate = function(e) { return "hex" === e ? this.priv.toString(16, 2) : this.priv }, o.prototype._importPrivate = function(e, t) { this.priv = new n(e, t || 16), this.priv = this.priv.umod(this.ec.curve.n) }, o.prototype._importPublic = function(e, t) { if (e.x || e.y) return "mont" === this.ec.curve.type ? i(e.x, "Need x coordinate") : "short" !== this.ec.curve.type && "edwards" !== this.ec.curve.type || i(e.x && e.y, "Need both x and y coordinate"), void(this.pub = this.ec.curve.point(e.x, e.y)); this.pub = this.ec.curve.decodePoint(e, t) }, o.prototype.derive = function(e) { return e.mul(this.priv).getX() }, o.prototype.sign = function(e, t, r) { return this.ec.sign(e, this, t, r) }, o.prototype.verify = function(e, t) { return this.ec.verify(e, t, this) }, o.prototype.inspect = function() { return "<Key priv: " + (this.priv && this.priv.toString(16, 2)) + " pub: " + (this.pub && this.pub.inspect()) + " >" } }, function(e, t, r) { "use strict"; var n = r(22), i = r(43), o = i.assert; function a(e, t) { if (e instanceof a) return e; this._importDER(e, t) || (o(e.r && e.s, "Signature without r or s"), this.r = new n(e.r, 16), this.s = new n(e.s, 16), void 0 === e.recoveryParam ? this.recoveryParam = null : this.recoveryParam = e.recoveryParam) } function s() { this.place = 0 } function u(e, t) { var r = e[t.place++]; if (!(128 & r)) return r; for (var n = 15 & r, i = 0, o = 0, a = t.place; o < n; o++, a++) i <<= 8, i |= e[a]; return t.place = a, i } function c(e) { for (var t = 0, r = e.length - 1; !e[t] && !(128 & e[t + 1]) && t < r;) t++; return 0 === t ? e : e.slice(t) } function l(e, t) { if (t < 128) e.push(t); else { var r = 1 + (Math.log(t) / Math.LN2 >>> 3); for (e.push(128 | r); --r;) e.push(t >>> (r << 3) & 255); e.push(t) } } e.exports = a, a.prototype._importDER = function(e, t) { e = i.toArray(e, t); var r = new s; if (48 !== e[r.place++]) return !1; if (u(e, r) + r.place !== e.length) return !1; if (2 !== e[r.place++]) return !1; var o = u(e, r), a = e.slice(r.place, o + r.place); if (r.place += o, 2 !== e[r.place++]) return !1; var c = u(e, r); if (e.length !== c + r.place) return !1; var l = e.slice(r.place, c + r.place); return 0 === a[0] && 128 & a[1] && (a = a.slice(1)), 0 === l[0] && 128 & l[1] && (l = l.slice(1)), this.r = new n(a), this.s = new n(l), this.recoveryParam = null, !0 }, a.prototype.toDER = function(e) { var t = this.r.toArray(), r = this.s.toArray(); for (128 & t[0] && (t = [0].concat(t)), 128 & r[0] && (r = [0].concat(r)), t = c(t), r = c(r); !(r[0] || 128 & r[1]);) r = r.slice(1); var n = [2]; l(n, t.length), (n = n.concat(t)).push(2), l(n, r.length); var o = n.concat(r), a = [48]; return l(a, o.length), a = a.concat(o), i.encode(a, e) } }, function(e, t, r) { "use strict"; var n = r(274), i = r(273), o = r(43), a = o.assert, s = o.parseBytes, u = r(982), c = r(983); function l(e) { if (a("ed25519" === e, "only tested with ed25519 so far"), !(this instanceof l)) return new l(e); e = i[e].curve; this.curve = e, this.g = e.g, this.g.precompute(e.n.bitLength() + 1), this.pointClass = e.point().constructor, this.encodingLength = Math.ceil(e.n.bitLength() / 8), this.hash = n.sha512 } e.exports = l, l.prototype.sign = function(e, t) { e = s(e); var r = this.keyFromSecret(t), n = this.hashInt(r.messagePrefix(), e), i = this.g.mul(n), o = this.encodePoint(i), a = this.hashInt(o, r.pubBytes(), e).mul(r.priv()), u = n.add(a).umod(this.curve.n); return this.makeSignature({ R: i, S: u, Rencoded: o }) }, l.prototype.verify = function(e, t, r) { e = s(e), t = this.makeSignature(t); var n = this.keyFromPublic(r), i = this.hashInt(t.Rencoded(), n.pubBytes(), e), o = this.g.mul(t.S()); return t.R().add(n.pub().mul(i)).eq(o) }, l.prototype.hashInt = function() { for (var e = this.hash(), t = 0; t < arguments.length; t++) e.update(arguments[t]); return o.intFromLE(e.digest()).umod(this.curve.n) }, l.prototype.keyFromPublic = function(e) { return u.fromPublic(this, e) }, l.prototype.keyFromSecret = function(e) { return u.fromSecret(this, e) }, l.prototype.makeSignature = function(e) { return e instanceof c ? e : new c(this, e) }, l.prototype.encodePoint = function(e) { var t = e.getY().toArray("le", this.encodingLength); return t[this.encodingLength - 1] |= e.getX().isOdd() ? 128 : 0, t }, l.prototype.decodePoint = function(e) { var t = (e = o.parseBytes(e)).length - 1, r = e.slice(0, t).concat(-129 & e[t]), n = 0 != (128 & e[t]), i = o.intFromLE(r); return this.curve.pointFromY(i, n) }, l.prototype.encodeInt = function(e) { return e.toArray("le", this.encodingLength) }, l.prototype.decodeInt = function(e) { return o.intFromLE(e) }, l.prototype.isPoint = function(e) { return e instanceof this.pointClass } }, function(e, t, r) { "use strict"; var n = r(43), i = n.assert, o = n.parseBytes, a = n.cachedProperty; function s(e, t) { this.eddsa = e, this._secret = o(t.secret), e.isPoint(t.pub) ? this._pub = t.pub : this._pubBytes = o(t.pub) } s.fromPublic = function(e, t) { return t instanceof s ? t : new s(e, { pub: t }) }, s.fromSecret = function(e, t) { return t instanceof s ? t : new s(e, { secret: t }) }, s.prototype.secret = function() { return this._secret }, a(s, "pubBytes", (function() { return this.eddsa.encodePoint(this.pub()) })), a(s, "pub", (function() { return this._pubBytes ? this.eddsa.decodePoint(this._pubBytes) : this.eddsa.g.mul(this.priv()) })), a(s, "privBytes", (function() { var e = this.eddsa, t = this.hash(), r = e.encodingLength - 1, n = t.slice(0, e.encodingLength); return n[0] &= 248, n[r] &= 127, n[r] |= 64, n })), a(s, "priv", (function() { return this.eddsa.decodeInt(this.privBytes()) })), a(s, "hash", (function() { return this.eddsa.hash().update(this.secret()).digest() })), a(s, "messagePrefix", (function() { return this.hash().slice(this.eddsa.encodingLength) })), s.prototype.sign = function(e) { return i(this._secret, "KeyPair can only verify"), this.eddsa.sign(e, this) }, s.prototype.verify = function(e, t) { return this.eddsa.verify(e, t, this) }, s.prototype.getSecret = function(e) { return i(this._secret, "KeyPair is public only"), n.encode(this.secret(), e) }, s.prototype.getPublic = function(e) { return n.encode(this.pubBytes(), e) }, e.exports = s }, function(e, t, r) { "use strict"; var n = r(22), i = r(43), o = i.assert, a = i.cachedProperty, s = i.parseBytes; function u(e, t) { this.eddsa = e, "object" != typeof t && (t = s(t)), Array.isArray(t) && (t = { R: t.slice(0, e.encodingLength), S: t.slice(e.encodingLength) }), o(t.R && t.S, "Signature without R or S"), e.isPoint(t.R) && (this._R = t.R), t.S instanceof n && (this._S = t.S), this._Rencoded = Array.isArray(t.R) ? t.R : t.Rencoded, this._Sencoded = Array.isArray(t.S) ? t.S : t.Sencoded } a(u, "S", (function() { return this.eddsa.decodeInt(this.Sencoded()) })), a(u, "R", (function() { return this.eddsa.decodePoint(this.Rencoded()) })), a(u, "Rencoded", (function() { return this.eddsa.encodePoint(this.R()) })), a(u, "Sencoded", (function() { return this.eddsa.encodeInt(this.S()) })), u.prototype.toBytes = function() { return this.Rencoded().concat(this.Sencoded()) }, u.prototype.toHex = function() { return i.encode(this.toBytes(), "hex").toUpperCase() }, e.exports = u }, function(e, t, r) { "use strict"; var n = r(132); t.certificate = r(994); var i = n.define("RSAPrivateKey", (function() { this.seq().obj(this.key("version").int(), this.key("modulus").int(), this.key("publicExponent").int(), this.key("privateExponent").int(), this.key("prime1").int(), this.key("prime2").int(), this.key("exponent1").int(), this.key("exponent2").int(), this.key("coefficient").int()) })); t.RSAPrivateKey = i; var o = n.define("RSAPublicKey", (function() { this.seq().obj(this.key("modulus").int(), this.key("publicExponent").int()) })); t.RSAPublicKey = o; var a = n.define("SubjectPublicKeyInfo", (function() { this.seq().obj(this.key("algorithm").use(s), this.key("subjectPublicKey").bitstr()) })); t.PublicKey = a; var s = n.define("AlgorithmIdentifier", (function() { this.seq().obj(this.key("algorithm").objid(), this.key("none").null_().optional(), this.key("curve").objid().optional(), this.key("params").seq().obj(this.key("p").int(), this.key("q").int(), this.key("g").int()).optional()) })), u = n.define("PrivateKeyInfo", (function() { this.seq().obj(this.key("version").int(), this.key("algorithm").use(s), this.key("subjectPrivateKey").octstr()) })); t.PrivateKey = u; var c = n.define("EncryptedPrivateKeyInfo", (function() { this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(), this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(), this.key("kdeparams").seq().obj(this.key("salt").octstr(), this.key("iters").int())), this.key("cipher").seq().obj(this.key("algo").objid(), this.key("iv").octstr()))), this.key("subjectPrivateKey").octstr()) })); t.EncryptedPrivateKey = c; var l = n.define("DSAPrivateKey", (function() { this.seq().obj(this.key("version").int(), this.key("p").int(), this.key("q").int(), this.key("g").int(), this.key("pub_key").int(), this.key("priv_key").int()) })); t.DSAPrivateKey = l, t.DSAparam = n.define("DSAparam", (function() { this.int() })); var f = n.define("ECPrivateKey", (function() { this.seq().obj(this.key("version").int(), this.key("privateKey").octstr(), this.key("parameters").optional().explicit(0).use(p), this.key("publicKey").optional().explicit(1).bitstr()) })); t.ECPrivateKey = f; var p = n.define("ECParameters", (function() { this.choice({ namedCurve: this.objid() }) })); t.signature = n.define("signature", (function() { this.seq().obj(this.key("r").int(), this.key("s").int()) })) }, function(e, t, r) { var n = r(132), i = r(2); function o(e, t) { this.name = e, this.body = t, this.decoders = {}, this.encoders = {} } t.define = function(e, t) { return new o(e, t) }, o.prototype._createNamed = function(e) { var t; try { t = r(986).runInThisContext("(function " + this.name + "(entity) {\n this._initNamed(entity);\n})") } catch (e) { t = function(e) { this._initNamed(e) } } return i(t, e), t.prototype._initNamed = function(t) { e.call(this, t) }, new t(this) }, o.prototype._getDecoder = function(e) { return e = e || "der", this.decoders.hasOwnProperty(e) || (this.decoders[e] = this._createNamed(n.decoders[e])), this.decoders[e] }, o.prototype.decode = function(e, t, r) { return this._getDecoder(t).decode(e, r) }, o.prototype._getEncoder = function(e) { return e = e || "der", this.encoders.hasOwnProperty(e) || (this.encoders[e] = this._createNamed(n.encoders[e])), this.encoders[e] }, o.prototype.encode = function(e, t, r) { return this._getEncoder(t).encode(e, r) } }, function(module, exports) { var indexOf = function(e, t) { if (e.indexOf) return e.indexOf(t); for (var r = 0; r < e.length; r++) if (e[r] === t) return r; return -1 }, Object_keys = function(e) { if (Object.keys) return Object.keys(e); var t = []; for (var r in e) t.push(r); return t }, forEach = function(e, t) { if (e.forEach) return e.forEach(t); for (var r = 0; r < e.length; r++) t(e[r], r, e) }, defineProp = function() { try { return Object.defineProperty({}, "_", {}), function(e, t, r) { Object.defineProperty(e, t, { writable: !0, enumerable: !1, configurable: !0, value: r }) } } catch (e) { return function(e, t, r) { e[t] = r } } }(), globals = ["Array", "Boolean", "Date", "Error", "EvalError", "Function", "Infinity", "JSON", "Math", "NaN", "Number", "Object", "RangeError", "ReferenceError", "RegExp", "String", "SyntaxError", "TypeError", "URIError", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", "escape", "eval", "isFinite", "isNaN", "parseFloat", "parseInt", "undefined", "unescape"]; function Context() {} Context.prototype = {}; var Script = exports.Script = function(e) { if (!(this instanceof Script)) return new Script(e); this.code = e }; Script.prototype.runInContext = function(e) { if (!(e instanceof Context)) throw new TypeError("needs a 'context' argument."); var t = document.createElement("iframe"); t.style || (t.style = {}), t.style.display = "none", document.body.appendChild(t); var r = t.contentWindow, n = r.eval, i = r.execScript; !n && i && (i.call(r, "null"), n = r.eval), forEach(Object_keys(e), (function(t) { r[t] = e[t] })), forEach(globals, (function(t) { e[t] && (r[t] = e[t]) })); var o = Object_keys(r), a = n.call(r, this.code); return forEach(Object_keys(r), (function(t) { (t in e || -1 === indexOf(o, t)) && (e[t] = r[t]) })), forEach(globals, (function(t) { t in e || defineProp(e, t, r[t]) })), document.body.removeChild(t), a }, Script.prototype.runInThisContext = function() { return eval(this.code) }, Script.prototype.runInNewContext = function(e) { var t = Script.createContext(e), r = this.runInContext(t); return e && forEach(Object_keys(t), (function(r) { e[r] = t[r] })), r }, forEach(Object_keys(Script.prototype), (function(e) { exports[e] = Script[e] = function(t) { var r = Script(t); return r[e].apply(r, [].slice.call(arguments, 1)) } })), exports.isContext = function(e) { return e instanceof Context }, exports.createScript = function(e) { return exports.Script(e) }, exports.createContext = Script.createContext = function(e) { var t = new Context; return "object" == typeof e && forEach(Object_keys(e), (function(r) { t[r] = e[r] })), t } }, function(e, t, r) { var n = r(2); function i(e) { this._reporterState = { obj: null, path: [], options: e || {}, errors: [] } } function o(e, t) { this.path = e, this.rethrow(t) } t.Reporter = i, i.prototype.isError = function(e) { return e instanceof o }, i.prototype.save = function() { var e = this._reporterState; return { obj: e.obj, pathLen: e.path.length } }, i.prototype.restore = function(e) { var t = this._reporterState; t.obj = e.obj, t.path = t.path.slice(0, e.pathLen) }, i.prototype.enterKey = function(e) { return this._reporterState.path.push(e) }, i.prototype.exitKey = function(e) { var t = this._reporterState; t.path = t.path.slice(0, e - 1) }, i.prototype.leaveKey = function(e, t, r) { var n = this._reporterState; this.exitKey(e), null !== n.obj && (n.obj[t] = r) }, i.prototype.path = function() { return this._reporterState.path.join("/") }, i.prototype.enterObject = function() { var e = this._reporterState, t = e.obj; return e.obj = {}, t }, i.prototype.leaveObject = function(e) { var t = this._reporterState, r = t.obj; return t.obj = e, r }, i.prototype.error = function(e) { var t, r = this._reporterState, n = e instanceof o; if (t = n ? e : new o(r.path.map((function(e) { return "[" + JSON.stringify(e) + "]" })).join(""), e.message || e, e.stack), !r.options.partial) throw t; return n || r.errors.push(t), t }, i.prototype.wrapResult = function(e) { var t = this._reporterState; return t.options.partial ? { result: this.isError(e) ? null : e, errors: t.errors } : e }, n(o, Error), o.prototype.rethrow = function(e) { if (this.message = e + " at: " + (this.path || "(shallow)"), Error.captureStackTrace && Error.captureStackTrace(this, o), !this.stack) try { throw new Error(this.message) } catch (e) { this.stack = e.stack } return this } }, function(e, t, r) { var n = r(133).Reporter, i = r(133).EncoderBuffer, o = r(133).DecoderBuffer, a = r(42), s = ["seq", "seqof", "set", "setof", "objid", "bool", "gentime", "utctime", "null_", "enum", "int", "objDesc", "bitstr", "bmpstr", "charstr", "genstr", "graphstr", "ia5str", "iso646str", "numstr", "octstr", "printstr", "t61str", "unistr", "utf8str", "videostr"], u = ["key", "obj", "use", "optional", "explicit", "implicit", "def", "choice", "any", "contains"].concat(s); function c(e, t) { var r = {}; this._baseState = r, r.enc = e, r.parent = t || null, r.children = null, r.tag = null, r.args = null, r.reverseArgs = null, r.choice = null, r.optional = !1, r.any = !1, r.obj = !1, r.use = null, r.useDecoder = null, r.key = null, r.default = null, r.explicit = null, r.implicit = null, r.contains = null, r.parent || (r.children = [], this._wrap()) } e.exports = c; var l = ["enc", "parent", "children", "tag", "args", "reverseArgs", "choice", "optional", "any", "obj", "use", "alteredUse", "key", "default", "explicit", "implicit", "contains"]; c.prototype.clone = function() { var e = this._baseState, t = {}; l.forEach((function(r) { t[r] = e[r] })); var r = new this.constructor(t.parent); return r._baseState = t, r }, c.prototype._wrap = function() { var e = this._baseState; u.forEach((function(t) { this[t] = function() { var r = new this.constructor(this); return e.children.push(r), r[t].apply(r, arguments) } }), this) }, c.prototype._init = function(e) { var t = this._baseState; a(null === t.parent), e.call(this), t.children = t.children.filter((function(e) { return e._baseState.parent === this }), this), a.equal(t.children.length, 1, "Root node can have only one child") }, c.prototype._useArgs = function(e) { var t = this._baseState, r = e.filter((function(e) { return e instanceof this.constructor }), this); e = e.filter((function(e) { return !(e instanceof this.constructor) }), this), 0 !== r.length && (a(null === t.children), t.children = r, r.forEach((function(e) { e._baseState.parent = this }), this)), 0 !== e.length && (a(null === t.args), t.args = e, t.reverseArgs = e.map((function(e) { if ("object" != typeof e || e.constructor !== Object) return e; var t = {}; return Object.keys(e).forEach((function(r) { r == (0 | r) && (r |= 0); var n = e[r]; t[n] = r })), t }))) }, ["_peekTag", "_decodeTag", "_use", "_decodeStr", "_decodeObjid", "_decodeTime", "_decodeNull", "_decodeInt", "_decodeBool", "_decodeList", "_encodeComposite", "_encodeStr", "_encodeObjid", "_encodeTime", "_encodeNull", "_encodeInt", "_encodeBool"].forEach((function(e) { c.prototype[e] = function() { var t = this._baseState; throw new Error(e + " not implemented for encoding: " + t.enc) } })), s.forEach((function(e) { c.prototype[e] = function() { var t = this._baseState, r = Array.prototype.slice.call(arguments); return a(null === t.tag), t.tag = e, this._useArgs(r), this } })), c.prototype.use = function(e) { a(e); var t = this._baseState; return a(null === t.use), t.use = e, this }, c.prototype.optional = function() { return this._baseState.optional = !0, this }, c.prototype.def = function(e) { var t = this._baseState; return a(null === t.default), t.default = e, t.optional = !0, this }, c.prototype.explicit = function(e) { var t = this._baseState; return a(null === t.explicit && null === t.implicit), t.explicit = e, this }, c.prototype.implicit = function(e) { var t = this._baseState; return a(null === t.explicit && null === t.implicit), t.implicit = e, this }, c.prototype.obj = function() { var e = this._baseState, t = Array.prototype.slice.call(arguments); return e.obj = !0, 0 !== t.length && this._useArgs(t), this }, c.prototype.key = function(e) { var t = this._baseState; return a(null === t.key), t.key = e, this }, c.prototype.any = function() { return this._baseState.any = !0, this }, c.prototype.choice = function(e) { var t = this._baseState; return a(null === t.choice), t.choice = e, this._useArgs(Object.keys(e).map((function(t) { return e[t] }))), this }, c.prototype.contains = function(e) { var t = this._baseState; return a(null === t.use), t.contains = e, this }, c.prototype._decode = function(e, t) { var r = this._baseState; if (null === r.parent) return e.wrapResult(r.children[0]._decode(e, t)); var n, i = r.default, a = !0, s = null; if (null !== r.key && (s = e.enterKey(r.key)), r.optional) { var u = null; if (null !== r.explicit ? u = r.explicit : null !== r.implicit ? u = r.implicit : null !== r.tag && (u = r.tag), null !== u || r.any) { if (a = this._peekTag(e, u, r.any), e.isError(a)) return a } else { var c = e.save(); try { null === r.choice ? this._decodeGeneric(r.tag, e, t) : this._decodeChoice(e, t), a = !0 } catch (e) { a = !1 } e.restore(c) } } if (r.obj && a && (n = e.enterObject()), a) { if (null !== r.explicit) { var l = this._decodeTag(e, r.explicit); if (e.isError(l)) return l; e = l } var f = e.offset; if (null === r.use && null === r.choice) { if (r.any) c = e.save(); var p = this._decodeTag(e, null !== r.implicit ? r.implicit : r.tag, r.any); if (e.isError(p)) return p; r.any ? i = e.raw(c) : e = p } if (t && t.track && null !== r.tag && t.track(e.path(), f, e.length, "tagged"), t && t.track && null !== r.tag && t.track(e.path(), e.offset, e.length, "content"), i = r.any ? i : null === r.choice ? this._decodeGeneric(r.tag, e, t) : this._decodeChoice(e, t), e.isError(i)) return i; if (r.any || null !== r.choice || null === r.children || r.children.forEach((function(r) { r._decode(e, t) })), r.contains && ("octstr" === r.tag || "bitstr" === r.tag)) { var d = new o(i); i = this._getUse(r.contains, e._reporterState.obj)._decode(d, t) } } return r.obj && a && (i = e.leaveObject(n)), null === r.key || null === i && !0 !== a ? null !== s && e.exitKey(s) : e.leaveKey(s, r.key, i), i }, c.prototype._decodeGeneric = function(e, t, r) { var n = this._baseState; return "seq" === e || "set" === e ? null : "seqof" === e || "setof" === e ? this._decodeList(t, e, n.args[0], r) : /str$/.test(e) ? this._decodeStr(t, e, r) : "objid" === e && n.args ? this._decodeObjid(t, n.args[0], n.args[1], r) : "objid" === e ? this._decodeObjid(t, null, null, r) : "gentime" === e || "utctime" === e ? this._decodeTime(t, e, r) : "null_" === e ? this._decodeNull(t, r) : "bool" === e ? this._decodeBool(t, r) : "objDesc" === e ? this._decodeStr(t, e, r) : "int" === e || "enum" === e ? this._decodeInt(t, n.args && n.args[0], r) : null !== n.use ? this._getUse(n.use, t._reporterState.obj)._decode(t, r) : t.error("unknown tag: " + e) }, c.prototype._getUse = function(e, t) { var r = this._baseState; return r.useDecoder = this._use(e, t), a(null === r.useDecoder._baseState.parent), r.useDecoder = r.useDecoder._baseState.children[0], r.implicit !== r.useDecoder._baseState.implicit && (r.useDecoder = r.useDecoder.clone(), r.useDecoder._baseState.implicit = r.implicit), r.useDecoder }, c.prototype._decodeChoice = function(e, t) { var r = this._baseState, n = null, i = !1; return Object.keys(r.choice).some((function(o) { var a = e.save(), s = r.choice[o]; try { var u = s._decode(e, t); if (e.isError(u)) return !1; n = { type: o, value: u }, i = !0 } catch (t) { return e.restore(a), !1 } return !0 }), this), i ? n : e.error("Choice not matched") }, c.prototype._createEncoderBuffer = function(e) { return new i(e, this.reporter) }, c.prototype._encode = function(e, t, r) { var n = this._baseState; if (null === n.default || n.default !== e) { var i = this._encodeValue(e, t, r); if (void 0 !== i && !this._skipDefault(i, t, r)) return i } }, c.prototype._encodeValue = function(e, t, r) { var i = this._baseState; if (null === i.parent) return i.children[0]._encode(e, t || new n); var o = null; if (this.reporter = t, i.optional && void 0 === e) { if (null === i.default) return; e = i.default } var a = null, s = !1; if (i.any) o = this._createEncoderBuffer(e); else if (i.choice) o = this._encodeChoice(e, t); else if (i.contains) a = this._getUse(i.contains, r)._encode(e, t), s = !0; else if (i.children) a = i.children.map((function(r) { if ("null_" === r._baseState.tag) return r._encode(null, t, e); if (null === r._baseState.key) return t.error("Child should have a key"); var n = t.enterKey(r._baseState.key); if ("object" != typeof e) return t.error("Child expected, but input is not object"); var i = r._encode(e[r._baseState.key], t, e); return t.leaveKey(n), i }), this).filter((function(e) { return e })), a = this._createEncoderBuffer(a); else if ("seqof" === i.tag || "setof" === i.tag) { if (!i.args || 1 !== i.args.length) return t.error("Too many args for : " + i.tag); if (!Array.isArray(e)) return t.error("seqof/setof, but data is not Array"); var u = this.clone(); u._baseState.implicit = null, a = this._createEncoderBuffer(e.map((function(r) { var n = this._baseState; return this._getUse(n.args[0], e)._encode(r, t) }), u)) } else null !== i.use ? o = this._getUse(i.use, r)._encode(e, t) : (a = this._encodePrimitive(i.tag, e), s = !0); if (!i.any && null === i.choice) { var c = null !== i.implicit ? i.implicit : i.tag, l = null === i.implicit ? "universal" : "context"; null === c ? null === i.use && t.error("Tag could be omitted only for .use()") : null === i.use && (o = this._encodeComposite(c, s, l, a)) } return null !== i.explicit && (o = this._encodeComposite(i.explicit, !1, "context", o)), o }, c.prototype._encodeChoice = function(e, t) { var r = this._baseState, n = r.choice[e.type]; return n || a(!1, e.type + " not found in " + JSON.stringify(Object.keys(r.choice))), n._encode(e.value, t) }, c.prototype._encodePrimitive = function(e, t) { var r = this._baseState; if (/str$/.test(e)) return this._encodeStr(t, e); if ("objid" === e && r.args) return this._encodeObjid(t, r.reverseArgs[0], r.args[1]); if ("objid" === e) return this._encodeObjid(t, null, null); if ("gentime" === e || "utctime" === e) return this._encodeTime(t, e); if ("null_" === e) return this._encodeNull(); if ("int" === e || "enum" === e) return this._encodeInt(t, r.args && r.reverseArgs[0]); if ("bool" === e) return this._encodeBool(t); if ("objDesc" === e) return this._encodeStr(t, e); throw new Error("Unsupported tag: " + e) }, c.prototype._isNumstr = function(e) { return /^[0-9 ]*$/.test(e) }, c.prototype._isPrintstr = function(e) { return /^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e) } }, function(e, t, r) { var n = r(467); t.tagClass = { 0: "universal", 1: "application", 2: "context", 3: "private" }, t.tagClassByName = n._reverse(t.tagClass), t.tag = { 0: "end", 1: "bool", 2: "int", 3: "bitstr", 4: "octstr", 5: "null_", 6: "objid", 7: "objDesc", 8: "external", 9: "real", 10: "enum", 11: "embed", 12: "utf8str", 13: "relativeOid", 16: "seq", 17: "set", 18: "numstr", 19: "printstr", 20: "t61str", 21: "videostr", 22: "ia5str", 23: "utctime", 24: "gentime", 25: "graphstr", 26: "iso646str", 27: "genstr", 28: "unistr", 29: "charstr", 30: "bmpstr" }, t.tagByName = n._reverse(t.tag) }, function(e, t, r) { var n = t; n.der = r(468), n.pem = r(991) }, function(e, t, r) { var n = r(2), i = r(8).Buffer, o = r(468); function a(e) { o.call(this, e), this.enc = "pem" } n(a, o), e.exports = a, a.prototype.decode = function(e, t) { for (var r = e.toString().split(/[\r\n]+/g), n = t.label.toUpperCase(), a = /^-----(BEGIN|END) ([^-]+)-----$/, s = -1, u = -1, c = 0; c < r.length; c++) { var l = r[c].match(a); if (null !== l && l[2] === n) { if (-1 !== s) { if ("END" !== l[1]) break; u = c; break } if ("BEGIN" !== l[1]) break; s = c } } if (-1 === s || -1 === u) throw new Error("PEM section not found for: " + n); var f = r.slice(s + 1, u).join(""); f.replace(/[^a-z0-9\+\/=]+/gi, ""); var p = new i(f, "base64"); return o.prototype.decode.call(this, p, t) } }, function(e, t, r) { var n = t; n.der = r(469), n.pem = r(993) }, function(e, t, r) { var n = r(2), i = r(469); function o(e) { i.call(this, e), this.enc = "pem" } n(o, i), e.exports = o, o.prototype.encode = function(e, t) { for (var r = i.prototype.encode.call(this, e).toString("base64"), n = ["-----BEGIN " + t.label + "-----"], o = 0; o < r.length; o += 64) n.push(r.slice(o, o + 64)); return n.push("-----END " + t.label + "-----"), n.join("\n") } }, function(e, t, r) { "use strict"; var n = r(132), i = n.define("Time", (function() { this.choice({ utcTime: this.utctime(), generalTime: this.gentime() }) })), o = n.define("AttributeTypeValue", (function() { this.seq().obj(this.key("type").objid(), this.key("value").any()) })), a = n.define("AlgorithmIdentifier", (function() { this.seq().obj(this.key("algorithm").objid(), this.key("parameters").optional(), this.key("curve").objid().optional()) })), s = n.define("SubjectPublicKeyInfo", (function() { this.seq().obj(this.key("algorithm").use(a), this.key("subjectPublicKey").bitstr()) })), u = n.define("RelativeDistinguishedName", (function() { this.setof(o) })), c = n.define("RDNSequence", (function() { this.seqof(u) })), l = n.define("Name", (function() { this.choice({ rdnSequence: this.use(c) }) })), f = n.define("Validity", (function() { this.seq().obj(this.key("notBefore").use(i), this.key("notAfter").use(i)) })), p = n.define("Extension", (function() { this.seq().obj(this.key("extnID").objid(), this.key("critical").bool().def(!1), this.key("extnValue").octstr()) })), d = n.define("TBSCertificate", (function() { this.seq().obj(this.key("version").explicit(0).int().optional(), this.key("serialNumber").int(), this.key("signature").use(a), this.key("issuer").use(l), this.key("validity").use(f), this.key("subject").use(l), this.key("subjectPublicKeyInfo").use(s), this.key("issuerUniqueID").implicit(1).bitstr().optional(), this.key("subjectUniqueID").implicit(2).bitstr().optional(), this.key("extensions").explicit(3).seqof(p).optional()) })), h = n.define("X509Certificate", (function() { this.seq().obj(this.key("tbsCertificate").use(d), this.key("signatureAlgorithm").use(a), this.key("signatureValue").bitstr()) })); e.exports = h }, function(e) { e.exports = JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}') }, function(e, t, r) { var n = /Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m, i = /^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m, o = /^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m, a = r(180), s = r(268), u = r(10).Buffer; e.exports = function(e, t) { var r, c = e.toString(), l = c.match(n); if (l) { var f = "aes" + l[1], p = u.from(l[2], "hex"), d = u.from(l[3].replace(/[\r\n]/g, ""), "base64"), h = a(t, p.slice(0, 8), parseInt(l[1], 10)).key, v = [], m = s.createDecipheriv(f, h, p); v.push(m.update(d)), v.push(m.final()), r = u.concat(v) } else { var y = c.match(o); r = new u(y[2].replace(/[\r\n]/g, ""), "base64") } return { tag: c.match(i)[1], data: r } } }, function(e, t, r) { (function(t) { var n = r(22), i = r(272).ec, o = r(182), a = r(470); function s(e, t) { if (e.cmpn(0) <= 0) throw new Error("invalid sig"); if (e.cmp(t) >= t) throw new Error("invalid sig") } e.exports = function(e, r, u, c, l) { var f = o(u); if ("ec" === f.type) { if ("ecdsa" !== c && "ecdsa/rsa" !== c) throw new Error("wrong public key type"); return function(e, t, r) { var n = a[r.data.algorithm.curve.join(".")]; if (!n) throw new Error("unknown curve " + r.data.algorithm.curve.join(".")); var o = new i(n), s = r.data.subjectPrivateKey.data; return o.verify(t, e, s) }(e, r, f) } if ("dsa" === f.type) { if ("dsa" !== c) throw new Error("wrong public key type"); return function(e, t, r) { var i = r.data.p, a = r.data.q, u = r.data.g, c = r.data.pub_key, l = o.signature.decode(e, "der"), f = l.s, p = l.r; s(f, a), s(p, a); var d = n.mont(i), h = f.invm(a); return 0 === u.toRed(d).redPow(new n(t).mul(h).mod(a)).fromRed().mul(c.toRed(d).redPow(p.mul(h).mod(a)).fromRed()).mod(i).mod(a).cmp(p) }(e, r, f) } if ("rsa" !== c && "ecdsa/rsa" !== c) throw new Error("wrong public key type"); r = t.concat([l, r]); for (var p = f.modulus.byteLength(), d = [1], h = 0; r.length + d.length + 2 < p;) d.push(255), h++; d.push(0); for (var v = -1; ++v < r.length;) d.push(r[v]); d = new t(d); var m = n.mont(f.modulus); e = (e = new n(e).toRed(m)).redPow(new n(f.publicExponent)), e = new t(e.fromRed().toArray()); var y = h < 8 ? 1 : 0; for (p = Math.min(e.length, d.length), e.length !== d.length && (y = 1), v = -1; ++v < p;) y |= e[v] ^ d[v]; return 0 === y } }).call(this, r(8).Buffer) }, function(e, t, r) { (function(t) { var n = r(272), i = r(22); e.exports = function(e) { return new a(e) }; var o = { secp256k1: { name: "secp256k1", byteLength: 32 }, secp224r1: { name: "p224", byteLength: 28 }, prime256v1: { name: "p256", byteLength: 32 }, prime192v1: { name: "p192", byteLength: 24 }, ed25519: { name: "ed25519", byteLength: 32 }, secp384r1: { name: "p384", byteLength: 48 }, secp521r1: { name: "p521", byteLength: 66 } }; function a(e) { this.curveType = o[e], this.curveType || (this.curveType = { name: e }), this.curve = new n.ec(this.curveType.name), this.keys = void 0 } function s(e, r, n) { Array.isArray(e) || (e = e.toArray()); var i = new t(e); if (n && i.length < n) { var o = new t(n - i.length); o.fill(0), i = t.concat([o, i]) } return r ? i.toString(r) : i } o.p224 = o.secp224r1, o.p256 = o.secp256r1 = o.prime256v1, o.p192 = o.secp192r1 = o.prime192v1, o.p384 = o.secp384r1, o.p521 = o.secp521r1, a.prototype.generateKeys = function(e, t) { return this.keys = this.curve.genKeyPair(), this.getPublicKey(e, t) }, a.prototype.computeSecret = function(e, r, n) { return r = r || "utf8", t.isBuffer(e) || (e = new t(e, r)), s(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(), n, this.curveType.byteLength) }, a.prototype.getPublicKey = function(e, t) { var r = this.keys.getPublic("compressed" === t, !0); return "hybrid" === t && (r[r.length - 1] % 2 ? r[0] = 7 : r[0] = 6), s(r, e) }, a.prototype.getPrivateKey = function(e) { return s(this.keys.getPrivate(), e) }, a.prototype.setPublicKey = function(e, r) { return r = r || "utf8", t.isBuffer(e) || (e = new t(e, r)), this.keys._importPublic(e), this }, a.prototype.setPrivateKey = function(e, r) { r = r || "utf8", t.isBuffer(e) || (e = new t(e, r)); var n = new i(e); return n = n.toString(16), this.keys = this.curve.genKeyPair(), this.keys._importPrivate(n), this } }).call(this, r(8).Buffer) }, function(e, t, r) { t.publicEncrypt = r(1e3), t.privateDecrypt = r(1001), t.privateEncrypt = function(e, r) { return t.publicEncrypt(e, r, !0) }, t.publicDecrypt = function(e, r) { return t.privateDecrypt(e, r, !0) } }, function(e, t, r) { var n = r(182), i = r(101), o = r(129), a = r(471), s = r(472), u = r(22), c = r(473), l = r(271), f = r(10).Buffer; e.exports = function(e, t, r) { var p; p = e.padding ? e.padding : r ? 1 : 4; var d, h = n(e); if (4 === p) d = function(e, t) { var r = e.modulus.byteLength(), n = t.length, c = o("sha1").update(f.alloc(0)).digest(), l = c.length, p = 2 * l; if (n > r - p - 2) throw new Error("message too long"); var d = f.alloc(r - n - p - 2), h = r - l - 1, v = i(l), m = s(f.concat([c, d, f.alloc(1, 1), t], h), a(v, h)), y = s(v, a(m, l)); return new u(f.concat([f.alloc(1), y, m], r)) }(h, t); else if (1 === p) d = function(e, t, r) { var n, o = t.length, a = e.modulus.byteLength(); if (o > a - 11) throw new Error("message too long"); n = r ? f.alloc(a - o - 3, 255) : function(e) { var t, r = f.allocUnsafe(e), n = 0, o = i(2 * e), a = 0; for (; n < e;) a === o.length && (o = i(2 * e), a = 0), (t = o[a++]) && (r[n++] = t); return r }(a - o - 3); return new u(f.concat([f.from([0, r ? 1 : 2]), n, f.alloc(1), t], a)) }(h, t, r); else { if (3 !== p) throw new Error("unknown padding"); if ((d = new u(t)).cmp(h.modulus) >= 0) throw new Error("data too long for modulus") } return r ? l(d, h) : c(d, h) } }, function(e, t, r) { var n = r(182), i = r(471), o = r(472), a = r(22), s = r(271), u = r(129), c = r(473), l = r(10).Buffer; e.exports = function(e, t, r) { var f; f = e.padding ? e.padding : r ? 1 : 4; var p, d = n(e), h = d.modulus.byteLength(); if (t.length > h || new a(t).cmp(d.modulus) >= 0) throw new Error("decryption error"); p = r ? c(new a(t), d) : s(t, d); var v = l.alloc(h - p.length); if (p = l.concat([v, p], h), 4 === f) return function(e, t) { var r = e.modulus.byteLength(), n = u("sha1").update(l.alloc(0)).digest(), a = n.length; if (0 !== t[0]) throw new Error("decryption error"); var s = t.slice(1, a + 1), c = t.slice(a + 1), f = o(s, i(c, a)), p = o(c, i(f, r - a - 1)); if (function(e, t) { e = l.from(e), t = l.from(t); var r = 0, n = e.length; e.length !== t.length && (r++, n = Math.min(e.length, t.length)); var i = -1; for (; ++i < n;) r += e[i] ^ t[i]; return r }(n, p.slice(0, a))) throw new Error("decryption error"); var d = a; for (; 0 === p[d];) d++; if (1 !== p[d++]) throw new Error("decryption error"); return p.slice(d) }(d, p); if (1 === f) return function(e, t, r) { var n = t.slice(0, 2), i = 2, o = 0; for (; 0 !== t[i++];) if (i >= t.length) { o++; break } var a = t.slice(2, i - 1); ("0002" !== n.toString("hex") && !r || "0001" !== n.toString("hex") && r) && o++; a.length < 8 && o++; if (o) throw new Error("decryption error"); return t.slice(i) }(0, p, r); if (3 === f) return p; throw new Error("unknown padding") } }, function(e, t, r) { "use strict"; (function(e, n) { function i() { throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11") } var o = r(10), a = r(101), s = o.Buffer, u = o.kMaxLength, c = e.crypto || e.msCrypto, l = Math.pow(2, 32) - 1; function f(e, t) { if ("number" != typeof e || e != e) throw new TypeError("offset must be a number"); if (e > l || e < 0) throw new TypeError("offset must be a uint32"); if (e > u || e > t) throw new RangeError("offset out of range") } function p(e, t, r) { if ("number" != typeof e || e != e) throw new TypeError("size must be a number"); if (e > l || e < 0) throw new TypeError("size must be a uint32"); if (e + t > r || e > u) throw new RangeError("buffer too small") } function d(e, t, r, i) { if (n.browser) { var o = e.buffer, s = new Uint8Array(o, t, r); return c.getRandomValues(s), i ? void n.nextTick((function() { i(null, e) })) : e } if (!i) return a(r).copy(e, t), e; a(r, (function(r, n) { if (r) return i(r); n.copy(e, t), i(null, e) })) } c && c.getRandomValues || !n.browser ? (t.randomFill = function(t, r, n, i) { if (!(s.isBuffer(t) || t instanceof e.Uint8Array)) throw new TypeError('"buf" argument must be a Buffer or Uint8Array'); if ("function" == typeof r) i = r, r = 0, n = t.length; else if ("function" == typeof n) i = n, n = t.length - r; else if ("function" != typeof i) throw new TypeError('"cb" argument must be a function'); return f(r, t.length), p(n, r, t.length), d(t, r, n, i) }, t.randomFillSync = function(t, r, n) { void 0 === r && (r = 0); if (!(s.isBuffer(t) || t instanceof e.Uint8Array)) throw new TypeError('"buf" argument must be a Buffer or Uint8Array'); f(r, t.length), void 0 === n && (n = t.length - r); return p(n, r, t.length), d(t, r, n) }) : (t.randomFill = i, t.randomFillSync = i) }).call(this, r(14), r(26)) }, function(e, t, r) { (function(t, n, i) { var o = r(475), a = r(2), s = r(476), u = r(477), c = r(1008), l = s.IncomingMessage, f = s.readyStates; var p = e.exports = function(e) { var r, n = this; u.Writable.call(n), n._opts = e, n._body = [], n._headers = {}, e.auth && n.setHeader("Authorization", "Basic " + new t(e.auth).toString("base64")), Object.keys(e.headers).forEach((function(t) { n.setHeader(t, e.headers[t]) })); var i = !0; if ("disable-fetch" === e.mode || "requestTimeout" in e && !o.abortController) i = !1, r = !0; else if ("prefer-streaming" === e.mode) r = !1; else if ("allow-wrong-content-type" === e.mode) r = !o.overrideMimeType; else { if (e.mode && "default" !== e.mode && "prefer-fast" !== e.mode) throw new Error("Invalid value for opts.mode"); r = !0 } n._mode = function(e, t) { return o.fetch && t ? "fetch" : o.mozchunkedarraybuffer ? "moz-chunked-arraybuffer" : o.msstream ? "ms-stream" : o.arraybuffer && e ? "arraybuffer" : o.vbArray && e ? "text:vbarray" : "text" }(r, i), n._fetchTimer = null, n.on("finish", (function() { n._onFinish() })) }; a(p, u.Writable), p.prototype.setHeader = function(e, t) { var r = e.toLowerCase(); - 1 === d.indexOf(r) && (this._headers[r] = { name: e, value: t }) }, p.prototype.getHeader = function(e) { var t = this._headers[e.toLowerCase()]; return t ? t.value : null }, p.prototype.removeHeader = function(e) { delete this._headers[e.toLowerCase()] }, p.prototype._onFinish = function() { var e = this; if (!e._destroyed) { var r = e._opts, a = e._headers, s = null; "GET" !== r.method && "HEAD" !== r.method && (s = o.arraybuffer ? c(t.concat(e._body)) : o.blobConstructor ? new n.Blob(e._body.map((function(e) { return c(e) })), { type: (a["content-type"] || {}).value || "" }) : t.concat(e._body).toString()); var u = []; if (Object.keys(a).forEach((function(e) { var t = a[e].name, r = a[e].value; Array.isArray(r) ? r.forEach((function(e) { u.push([t, e]) })) : u.push([t, r]) })), "fetch" === e._mode) { var l = null; if (o.abortController) { var p = new AbortController; l = p.signal, e._fetchAbortController = p, "requestTimeout" in r && 0 !== r.requestTimeout && (e._fetchTimer = n.setTimeout((function() { e.emit("requestTimeout"), e._fetchAbortController && e._fetchAbortController.abort() }), r.requestTimeout)) } n.fetch(e._opts.url, { method: e._opts.method, headers: u, body: s || void 0, mode: "cors", credentials: r.withCredentials ? "include" : "same-origin", signal: l }).then((function(t) { e._fetchResponse = t, e._connect() }), (function(t) { n.clearTimeout(e._fetchTimer), e._destroyed || e.emit("error", t) })) } else { var d = e._xhr = new n.XMLHttpRequest; try { d.open(e._opts.method, e._opts.url, !0) } catch (t) { return void i.nextTick((function() { e.emit("error", t) })) } "responseType" in d && (d.responseType = e._mode.split(":")[0]), "withCredentials" in d && (d.withCredentials = !!r.withCredentials), "text" === e._mode && "overrideMimeType" in d && d.overrideMimeType("text/plain; charset=x-user-defined"), "requestTimeout" in r && (d.timeout = r.requestTimeout, d.ontimeout = function() { e.emit("requestTimeout") }), u.forEach((function(e) { d.setRequestHeader(e[0], e[1]) })), e._response = null, d.onreadystatechange = function() { switch (d.readyState) { case f.LOADING: case f.DONE: e._onXHRProgress() } }, "moz-chunked-arraybuffer" === e._mode && (d.onprogress = function() { e._onXHRProgress() }), d.onerror = function() { e._destroyed || e.emit("error", new Error("XHR error")) }; try { d.send(s) } catch (t) { return void i.nextTick((function() { e.emit("error", t) })) } } } }, p.prototype._onXHRProgress = function() { (function(e) { try { var t = e.status; return null !== t && 0 !== t } catch (e) { return !1 } })(this._xhr) && !this._destroyed && (this._response || this._connect(), this._response._onXHRProgress()) }, p.prototype._connect = function() { var e = this; e._destroyed || (e._response = new l(e._xhr, e._fetchResponse, e._mode, e._fetchTimer), e._response.on("error", (function(t) { e.emit("error", t) })), e.emit("response", e._response)) }, p.prototype._write = function(e, t, r) { this._body.push(e), r() }, p.prototype.abort = p.prototype.destroy = function() { this._destroyed = !0, n.clearTimeout(this._fetchTimer), this._response && (this._response._destroyed = !0), this._xhr ? this._xhr.abort() : this._fetchAbortController && this._fetchAbortController.abort() }, p.prototype.end = function(e, t, r) { "function" == typeof e && (r = e, e = void 0), u.Writable.prototype.end.call(this, e, t, r) }, p.prototype.flushHeaders = function() {}, p.prototype.setTimeout = function() {}, p.prototype.setNoDelay = function() {}, p.prototype.setSocketKeepAlive = function() {}; var d = ["accept-charset", "accept-encoding", "access-control-request-headers", "access-control-request-method", "connection", "content-length", "cookie", "cookie2", "date", "dnt", "expect", "host", "keep-alive", "origin", "referer", "te", "trailer", "transfer-encoding", "upgrade", "via"] }).call(this, r(8).Buffer, r(14), r(26)) }, function(e, t) {}, function(e, t, r) { "use strict"; var n = r(275).Buffer, i = r(1006); e.exports = function() { function e() { ! function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, e), this.head = null, this.tail = null, this.length = 0 } return e.prototype.push = function(e) { var t = { data: e, next: null }; this.length > 0 ? this.tail.next = t : this.head = t, this.tail = t, ++this.length }, e.prototype.unshift = function(e) { var t = { data: e, next: this.head }; 0 === this.length && (this.tail = t), this.head = t, ++this.length }, e.prototype.shift = function() { if (0 !== this.length) { var e = this.head.data; return 1 === this.length ? this.head = this.tail = null : this.head = this.head.next, --this.length, e } }, e.prototype.clear = function() { this.head = this.tail = null, this.length = 0 }, e.prototype.join = function(e) { if (0 === this.length) return ""; for (var t = this.head, r = "" + t.data; t = t.next;) r += e + t.data; return r }, e.prototype.concat = function(e) { if (0 === this.length) return n.alloc(0); if (1 === this.length) return this.head.data; for (var t, r, i, o = n.allocUnsafe(e >>> 0), a = this.head, s = 0; a;) t = a.data, r = o, i = s, t.copy(r, i), s += a.data.length, a = a.next; return o }, e }(), i && i.inspect && i.inspect.custom && (e.exports.prototype[i.inspect.custom] = function() { var e = i.inspect({ length: this.length }); return this.constructor.name + " " + e }) }, function(e, t) {}, function(e, t, r) { "use strict"; e.exports = o; var n = r(482), i = Object.create(r(54)); function o(e) { if (!(this instanceof o)) return new o(e); n.call(this, e) } i.inherits = r(2), i.inherits(o, n), o.prototype._transform = function(e, t, r) { r(null, e) } }, function(e, t, r) { var n = r(8).Buffer; e.exports = function(e) { if (e instanceof Uint8Array) { if (0 === e.byteOffset && e.byteLength === e.buffer.byteLength) return e.buffer; if ("function" == typeof e.buffer.slice) return e.buffer.slice(e.byteOffset, e.byteOffset + e.byteLength) } if (n.isBuffer(e)) { for (var t = new Uint8Array(e.length), r = e.length, i = 0; i < r; i++) t[i] = e[i]; return t.buffer } throw new Error("Argument must be a Buffer") } }, function(e, t) { e.exports = { 100: "Continue", 101: "Switching Protocols", 102: "Processing", 200: "OK", 201: "Created", 202: "Accepted", 203: "Non-Authoritative Information", 204: "No Content", 205: "Reset Content", 206: "Partial Content", 207: "Multi-Status", 208: "Already Reported", 226: "IM Used", 300: "Multiple Choices", 301: "Moved Permanently", 302: "Found", 303: "See Other", 304: "Not Modified", 305: "Use Proxy", 307: "Temporary Redirect", 308: "Permanent Redirect", 400: "Bad Request", 401: "Unauthorized", 402: "Payment Required", 403: "Forbidden", 404: "Not Found", 405: "Method Not Allowed", 406: "Not Acceptable", 407: "Proxy Authentication Required", 408: "Request Timeout", 409: "Conflict", 410: "Gone", 411: "Length Required", 412: "Precondition Failed", 413: "Payload Too Large", 414: "URI Too Long", 415: "Unsupported Media Type", 416: "Range Not Satisfiable", 417: "Expectation Failed", 418: "I'm a teapot", 421: "Misdirected Request", 422: "Unprocessable Entity", 423: "Locked", 424: "Failed Dependency", 425: "Unordered Collection", 426: "Upgrade Required", 428: "Precondition Required", 429: "Too Many Requests", 431: "Request Header Fields Too Large", 451: "Unavailable For Legal Reasons", 500: "Internal Server Error", 501: "Not Implemented", 502: "Bad Gateway", 503: "Service Unavailable", 504: "Gateway Timeout", 505: "HTTP Version Not Supported", 506: "Variant Also Negotiates", 507: "Insufficient Storage", 508: "Loop Detected", 509: "Bandwidth Limit Exceeded", 510: "Not Extended", 511: "Network Authentication Required" } }, function(e, t, r) { "use strict"; e.exports = { isString: function(e) { return "string" == typeof e }, isObject: function(e) { return "object" == typeof e && null !== e }, isNull: function(e) { return null === e }, isNullOrUndefined: function(e) { return null == e } } }, function(e, t, r) { "use strict"; t.decode = t.parse = r(1012), t.encode = t.stringify = r(1013) }, function(e, t, r) { "use strict"; function n(e, t) { return Object.prototype.hasOwnProperty.call(e, t) } e.exports = function(e, t, r, o) { t = t || "&", r = r || "="; var a = {}; if ("string" != typeof e || 0 === e.length) return a; var s = /\+/g; e = e.split(t); var u = 1e3; o && "number" == typeof o.maxKeys && (u = o.maxKeys); var c = e.length; u > 0 && c > u && (c = u); for (var l = 0; l < c; ++l) { var f, p, d, h, v = e[l].replace(s, "%20"), m = v.indexOf(r); m >= 0 ? (f = v.substr(0, m), p = v.substr(m + 1)) : (f = v, p = ""), d = decodeURIComponent(f), h = decodeURIComponent(p), n(a, d) ? i(a[d]) ? a[d].push(h) : a[d] = [a[d], h] : a[d] = h } return a }; var i = Array.isArray || function(e) { return "[object Array]" === Object.prototype.toString.call(e) } }, function(e, t, r) { "use strict"; var n = function(e) { switch (typeof e) { case "string": return e; case "boolean": return e ? "true" : "false"; case "number": return isFinite(e) ? e : ""; default: return "" } }; e.exports = function(e, t, r, s) { return t = t || "&", r = r || "=", null === e && (e = void 0), "object" == typeof e ? o(a(e), (function(a) { var s = encodeURIComponent(n(a)) + r; return i(e[a]) ? o(e[a], (function(e) { return s + encodeURIComponent(n(e)) })).join(t) : s + encodeURIComponent(n(e[a])) })).join(t) : s ? encodeURIComponent(n(s)) + r + encodeURIComponent(n(e)) : "" }; var i = Array.isArray || function(e) { return "[object Array]" === Object.prototype.toString.call(e) }; function o(e, t) { if (e.map) return e.map(t); for (var r = [], n = 0; n < e.length; n++) r.push(t(e[n], n)); return r } var a = Object.keys || function(e) { var t = []; for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.push(r); return t } }, function(e, t, r) { "use strict"; e.exports = function() { throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object") } }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(437), a = r(257), s = r(441), u = r(276), c = function() { function e(e, t) { if (!e) throw new TypeError("WebSocketServer: Missing socket parameter"); this._socket = e, this._webSocketTransport = new u.WebSocketTransport(e), this._requestHandler = t, this._requestManager = new a.RequestManager, this._sender = new s.PayloadSender, this._sender.disconnected = this.onConnectionDisconnected.bind(this), this._receiver = new s.PayloadReceiver, this._receiver.disconnected = this.onConnectionDisconnected.bind(this), this._protocolAdapter = new o.ProtocolAdapter(this._requestHandler, this._requestManager, this._sender, this._receiver), this._closedSignal = function(e) { return e } } return Object.defineProperty(e.prototype, "isConnected", { get: function() { return this._socket.isConnected }, enumerable: !0, configurable: !0 }), e.prototype.start = function() { return n(this, void 0, void 0, (function() { return i(this, (function(e) { return this._sender.connect(this._webSocketTransport), this._receiver.connect(this._webSocketTransport), [2, this._closedSignal] })) })) }, e.prototype.send = function(e) { return n(this, void 0, void 0, (function() { return i(this, (function(t) { return [2, this._protocolAdapter.sendRequest(e)] })) })) }, e.prototype.disconnect = function() { this._sender.disconnect(new s.TransportDisconnectedEvent("Disconnect was called.")), this._receiver.disconnect(new s.TransportDisconnectedEvent("Disconnect was called.")) }, e.prototype.onConnectionDisconnected = function(e, t) { this._closedSignal && (this._closedSignal("close"), this._closedSignal = null), e === this._sender && this._receiver.disconnect(t), e === this._receiver && this._sender.disconnect(t) }, e }(); t.WebSocketServer = c }, function(e, t) { var r = function(e) { function t() { this.fetch = !1, this.DOMException = e.DOMException } return t.prototype = e, new t }("undefined" != typeof self ? self : this); ! function(e) { ! function(t) { var r = "URLSearchParams" in e, n = "Symbol" in e && "iterator" in Symbol, i = "FileReader" in e && "Blob" in e && function() { try { return new Blob, !0 } catch (e) { return !1 } }(), o = "FormData" in e, a = "ArrayBuffer" in e; if (a) var s = ["[object Int8Array]", "[object Uint8Array]", "[object Uint8ClampedArray]", "[object Int16Array]", "[object Uint16Array]", "[object Int32Array]", "[object Uint32Array]", "[object Float32Array]", "[object Float64Array]"], u = ArrayBuffer.isView || function(e) { return e && s.indexOf(Object.prototype.toString.call(e)) > -1 }; function c(e) { if ("string" != typeof e && (e = String(e)), /[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e)) throw new TypeError("Invalid character in header field name"); return e.toLowerCase() } function l(e) { return "string" != typeof e && (e = String(e)), e } function f(e) { var t = { next: function() { var t = e.shift(); return { done: void 0 === t, value: t } } }; return n && (t[Symbol.iterator] = function() { return t }), t } function p(e) { this.map = {}, e instanceof p ? e.forEach((function(e, t) { this.append(t, e) }), this) : Array.isArray(e) ? e.forEach((function(e) { this.append(e[0], e[1]) }), this) : e && Object.getOwnPropertyNames(e).forEach((function(t) { this.append(t, e[t]) }), this) } function d(e) { if (e.bodyUsed) return Promise.reject(new TypeError("Already read")); e.bodyUsed = !0 } function h(e) { return new Promise((function(t, r) { e.onload = function() { t(e.result) }, e.onerror = function() { r(e.error) } })) } function v(e) { var t = new FileReader, r = h(t); return t.readAsArrayBuffer(e), r } function m(e) { if (e.slice) return e.slice(0); var t = new Uint8Array(e.byteLength); return t.set(new Uint8Array(e)), t.buffer } function y() { return this.bodyUsed = !1, this._initBody = function(e) { var t; this._bodyInit = e, e ? "string" == typeof e ? this._bodyText = e : i && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : o && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e : r && URLSearchParams.prototype.isPrototypeOf(e) ? this._bodyText = e.toString() : a && i && ((t = e) && DataView.prototype.isPrototypeOf(t)) ? (this._bodyArrayBuffer = m(e.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : a && (ArrayBuffer.prototype.isPrototypeOf(e) || u(e)) ? this._bodyArrayBuffer = m(e) : this._bodyText = e = Object.prototype.toString.call(e) : this._bodyText = "", this.headers.get("content-type") || ("string" == typeof e ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : r && URLSearchParams.prototype.isPrototypeOf(e) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8")) }, i && (this.blob = function() { var e = d(this); if (e) return e; if (this._bodyBlob) return Promise.resolve(this._bodyBlob); if (this._bodyArrayBuffer) return Promise.resolve(new Blob([this._bodyArrayBuffer])); if (this._bodyFormData) throw new Error("could not read FormData body as blob"); return Promise.resolve(new Blob([this._bodyText])) }, this.arrayBuffer = function() { return this._bodyArrayBuffer ? d(this) || Promise.resolve(this._bodyArrayBuffer) : this.blob().then(v) }), this.text = function() { var e, t, r, n = d(this); if (n) return n; if (this._bodyBlob) return e = this._bodyBlob, t = new FileReader, r = h(t), t.readAsText(e), r; if (this._bodyArrayBuffer) return Promise.resolve(function(e) { for (var t = new Uint8Array(e), r = new Array(t.length), n = 0; n < t.length; n++) r[n] = String.fromCharCode(t[n]); return r.join("") }(this._bodyArrayBuffer)); if (this._bodyFormData) throw new Error("could not read FormData body as text"); return Promise.resolve(this._bodyText) }, o && (this.formData = function() { return this.text().then(_) }), this.json = function() { return this.text().then(JSON.parse) }, this } p.prototype.append = function(e, t) { e = c(e), t = l(t); var r = this.map[e]; this.map[e] = r ? r + ", " + t : t }, p.prototype.delete = function(e) { delete this.map[c(e)] }, p.prototype.get = function(e) { return e = c(e), this.has(e) ? this.map[e] : null }, p.prototype.has = function(e) { return this.map.hasOwnProperty(c(e)) }, p.prototype.set = function(e, t) { this.map[c(e)] = l(t) }, p.prototype.forEach = function(e, t) { for (var r in this.map) this.map.hasOwnProperty(r) && e.call(t, this.map[r], r, this) }, p.prototype.keys = function() { var e = []; return this.forEach((function(t, r) { e.push(r) })), f(e) }, p.prototype.values = function() { var e = []; return this.forEach((function(t) { e.push(t) })), f(e) }, p.prototype.entries = function() { var e = []; return this.forEach((function(t, r) { e.push([r, t]) })), f(e) }, n && (p.prototype[Symbol.iterator] = p.prototype.entries); var b = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"]; function g(e, t) { var r, n, i = (t = t || {}).body; if (e instanceof g) { if (e.bodyUsed) throw new TypeError("Already read"); this.url = e.url, this.credentials = e.credentials, t.headers || (this.headers = new p(e.headers)), this.method = e.method, this.mode = e.mode, this.signal = e.signal, i || null == e._bodyInit || (i = e._bodyInit, e.bodyUsed = !0) } else this.url = String(e); if (this.credentials = t.credentials || this.credentials || "same-origin", !t.headers && this.headers || (this.headers = new p(t.headers)), this.method = (r = t.method || this.method || "GET", n = r.toUpperCase(), b.indexOf(n) > -1 ? n : r), this.mode = t.mode || this.mode || null, this.signal = t.signal || this.signal, this.referrer = null, ("GET" === this.method || "HEAD" === this.method) && i) throw new TypeError("Body not allowed for GET or HEAD requests"); this._initBody(i) } function _(e) { var t = new FormData; return e.trim().split("&").forEach((function(e) { if (e) { var r = e.split("="), n = r.shift().replace(/\+/g, " "), i = r.join("=").replace(/\+/g, " "); t.append(decodeURIComponent(n), decodeURIComponent(i)) } })), t } function T(e, t) { t || (t = {}), this.type = "default", this.status = void 0 === t.status ? 200 : t.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in t ? t.statusText : "OK", this.headers = new p(t.headers), this.url = t.url || "", this._initBody(e) } g.prototype.clone = function() { return new g(this, { body: this._bodyInit }) }, y.call(g.prototype), y.call(T.prototype), T.prototype.clone = function() { return new T(this._bodyInit, { status: this.status, statusText: this.statusText, headers: new p(this.headers), url: this.url }) }, T.error = function() { var e = new T(null, { status: 0, statusText: "" }); return e.type = "error", e }; var S = [301, 302, 303, 307, 308]; T.redirect = function(e, t) { if (-1 === S.indexOf(t)) throw new RangeError("Invalid status code"); return new T(null, { status: t, headers: { location: e } }) }, t.DOMException = e.DOMException; try { new t.DOMException } catch (e) { t.DOMException = function(e, t) { this.message = e, this.name = t; var r = Error(e); this.stack = r.stack }, t.DOMException.prototype = Object.create(Error.prototype), t.DOMException.prototype.constructor = t.DOMException } function A(e, r) { return new Promise((function(n, o) { var a = new g(e, r); if (a.signal && a.signal.aborted) return o(new t.DOMException("Aborted", "AbortError")); var s = new XMLHttpRequest; function u() { s.abort() } s.onload = function() { var e, t, r = { status: s.status, statusText: s.statusText, headers: (e = s.getAllResponseHeaders() || "", t = new p, e.replace(/\r?\n[\t ]+/g, " ").split(/\r?\n/).forEach((function(e) { var r = e.split(":"), n = r.shift().trim(); if (n) { var i = r.join(":").trim(); t.append(n, i) } })), t) }; r.url = "responseURL" in s ? s.responseURL : r.headers.get("X-Request-URL"); var i = "response" in s ? s.response : s.responseText; n(new T(i, r)) }, s.onerror = function() { o(new TypeError("Network request failed")) }, s.ontimeout = function() { o(new TypeError("Network request failed")) }, s.onabort = function() { o(new t.DOMException("Aborted", "AbortError")) }, s.open(a.method, a.url, !0), "include" === a.credentials ? s.withCredentials = !0 : "omit" === a.credentials && (s.withCredentials = !1), "responseType" in s && i && (s.responseType = "blob"), a.headers.forEach((function(e, t) { s.setRequestHeader(t, e) })), a.signal && (a.signal.addEventListener("abort", u), s.onreadystatechange = function() { 4 === s.readyState && a.signal.removeEventListener("abort", u) }), s.send(void 0 === a._bodyInit ? null : a._bodyInit) })) } A.polyfill = !0, e.fetch || (e.fetch = A, e.Headers = p, e.Request = g, e.Response = T), t.Headers = p, t.Request = g, t.Response = T, t.fetch = A }({}) }(r), delete r.fetch.polyfill, (t = r.fetch).default = r.fetch, t.fetch = r.fetch, t.Headers = r.Headers, t.Request = r.Request, t.Response = r.Response, e.exports = t }, function(e, t, r) { e.exports = { decode: r(483), verify: r(1025), sign: r(1028), JsonWebTokenError: r(184), NotBeforeError: r(487), TokenExpiredError: r(488) } }, function(e, t, r) { var n = r(134).Buffer, i = r(484), o = r(485), a = r(71), s = r(486), u = r(183); function c(e, t) { return n.from(e, t).toString("base64").replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_") } function l(e) { var t = e.header, r = e.payload, n = e.secret || e.privateKey, i = e.encoding, a = o(t.alg), l = function(e, t, r) { r = r || "utf8"; var n = c(s(e), "binary"), i = c(s(t), r); return u.format("%s.%s", n, i) }(t, r, i), f = a.sign(l, n); return u.format("%s.%s", l, f) } function f(e) { var t = e.secret || e.privateKey || e.key, r = new i(t); this.readable = !0, this.header = e.header, this.encoding = e.encoding, this.secret = this.privateKey = this.key = r, this.payload = new i(e.payload), this.secret.once("close", function() { !this.payload.writable && this.readable && this.sign() }.bind(this)), this.payload.once("close", function() { !this.secret.writable && this.readable && this.sign() }.bind(this)) } u.inherits(f, a), f.prototype.sign = function() { try { var e = l({ header: this.header, payload: this.payload.buffer, secret: this.secret.buffer, encoding: this.encoding }); return this.emit("done", e), this.emit("data", e), this.emit("end"), this.readable = !1, e } catch (e) { this.readable = !1, this.emit("error", e), this.emit("close") } }, f.sign = l, e.exports = f }, function(e, t) { e.exports = function(e) { return e && "object" == typeof e && "function" == typeof e.copy && "function" == typeof e.fill && "function" == typeof e.readUInt8 } }, function(e, t) { "function" == typeof Object.create ? e.exports = function(e, t) { e.super_ = t, e.prototype = Object.create(t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }) } : e.exports = function(e, t) { e.super_ = t; var r = function() {}; r.prototype = t.prototype, e.prototype = new r, e.prototype.constructor = e } }, function(e, t, r) { "use strict"; var n = r(8).Buffer, i = r(8).SlowBuffer; function o(e, t) { if (!n.isBuffer(e) || !n.isBuffer(t)) return !1; if (e.length !== t.length) return !1; for (var r = 0, i = 0; i < e.length; i++) r |= e[i] ^ t[i]; return 0 === r } e.exports = o, o.install = function() { n.prototype.equal = i.prototype.equal = function(e) { return o(this, e) } }; var a = n.prototype.equal, s = i.prototype.equal; o.restore = function() { n.prototype.equal = a, i.prototype.equal = s } }, function(e, t, r) { "use strict"; var n = r(134).Buffer, i = r(1023); function o(e) { if (n.isBuffer(e)) return e; if ("string" == typeof e) return n.from(e, "base64"); throw new TypeError("ECDSA signature must be a Base64 string or a Buffer") } function a(e, t, r) { for (var n = 0; t + n < r && 0 === e[t + n];) ++n; return e[t + n] >= 128 && --n, n } e.exports = { derToJose: function(e, t) { e = o(e); var r = i(t), a = r + 1, s = e.length, u = 0; if (48 !== e[u++]) throw new Error('Could not find expected "seq"'); var c = e[u++]; if (129 === c && (c = e[u++]), s - u < c) throw new Error('"seq" specified length of "' + c + '", only "' + (s - u) + '" remaining'); if (2 !== e[u++]) throw new Error('Could not find expected "int" for "r"'); var l = e[u++]; if (s - u - 2 < l) throw new Error('"r" specified length of "' + l + '", only "' + (s - u - 2) + '" available'); if (a < l) throw new Error('"r" specified length of "' + l + '", max of "' + a + '" is acceptable'); var f = u; if (u += l, 2 !== e[u++]) throw new Error('Could not find expected "int" for "s"'); var p = e[u++]; if (s - u !== p) throw new Error('"s" specified length of "' + p + '", expected "' + (s - u) + '"'); if (a < p) throw new Error('"s" specified length of "' + p + '", max of "' + a + '" is acceptable'); var d = u; if ((u += p) !== s) throw new Error('Expected to consume entire buffer, but "' + (s - u) + '" bytes remain'); var h = r - l, v = r - p, m = n.allocUnsafe(h + l + v + p); for (u = 0; u < h; ++u) m[u] = 0; e.copy(m, u, f + Math.max(-h, 0), f + l); for (var y = u = r; u < y + v; ++u) m[u] = 0; return e.copy(m, u, d + Math.max(-v, 0), d + p), m = (m = m.toString("base64")).replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_") }, joseToDer: function(e, t) { e = o(e); var r = i(t), s = e.length; if (s !== 2 * r) throw new TypeError('"' + t + '" signatures must be "' + 2 * r + '" bytes, saw "' + s + '"'); var u = a(e, 0, r), c = a(e, r, e.length), l = r - u, f = r - c, p = 2 + l + 1 + 1 + f, d = p < 128, h = n.allocUnsafe((d ? 2 : 3) + p), v = 0; return h[v++] = 48, d ? h[v++] = p : (h[v++] = 129, h[v++] = 255 & p), h[v++] = 2, h[v++] = l, u < 0 ? (h[v++] = 0, v += e.copy(h, v, 0, r)) : v += e.copy(h, v, u, r), h[v++] = 2, h[v++] = f, c < 0 ? (h[v++] = 0, e.copy(h, v, r)) : e.copy(h, v, r + c), h } } }, function(e, t, r) { "use strict"; function n(e) { return (e / 8 | 0) + (e % 8 == 0 ? 0 : 1) } var i = { ES256: n(256), ES384: n(384), ES512: n(521) }; e.exports = function(e) { var t = i[e]; if (t) return t; throw new Error('Unknown algorithm "' + e + '"') } }, function(e, t, r) { var n = r(134).Buffer, i = r(484), o = r(485), a = r(71), s = r(486), u = r(183), c = /^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/; function l(e) { if (function(e) { return "[object Object]" === Object.prototype.toString.call(e) }(e)) return e; try { return JSON.parse(e) } catch (e) { return } } function f(e) { var t = e.split(".", 1)[0]; return l(n.from(t, "base64").toString("binary")) } function p(e) { return e.split(".")[2] } function d(e) { return c.test(e) && !!f(e) } function h(e, t, r) { if (!t) { var n = new Error("Missing algorithm parameter for jws.verify"); throw n.code = "MISSING_ALGORITHM", n } var i = p(e = s(e)), a = function(e) { return e.split(".", 2).join(".") }(e); return o(t).verify(a, i, r) } function v(e, t) { if (t = t || {}, !d(e = s(e))) return null; var r = f(e); if (!r) return null; var i = function(e, t) { t = t || "utf8"; var r = e.split(".")[1]; return n.from(r, "base64").toString(t) }(e); return ("JWT" === r.typ || t.json) && (i = JSON.parse(i, t.encoding)), { header: r, payload: i, signature: p(e) } } function m(e) { var t = (e = e || {}).secret || e.publicKey || e.key, r = new i(t); this.readable = !0, this.algorithm = e.algorithm, this.encoding = e.encoding, this.secret = this.publicKey = this.key = r, this.signature = new i(e.signature), this.secret.once("close", function() { !this.signature.writable && this.readable && this.verify() }.bind(this)), this.signature.once("close", function() { !this.secret.writable && this.readable && this.verify() }.bind(this)) } u.inherits(m, a), m.prototype.verify = function() { try { var e = h(this.signature.buffer, this.algorithm, this.key.buffer), t = v(this.signature.buffer, this.encoding); return this.emit("done", e, t), this.emit("data", e), this.emit("end"), this.readable = !1, e } catch (e) { this.readable = !1, this.emit("error", e), this.emit("close") } }, m.decode = v, m.isValid = d, m.verify = h, e.exports = m }, function(e, t, r) { var n = r(184), i = r(487), o = r(488), a = r(483), s = r(489), u = r(490), c = r(277), l = ["RS256", "RS384", "RS512", "ES256", "ES384", "ES512"], f = ["RS256", "RS384", "RS512"], p = ["HS256", "HS384", "HS512"]; u && (l.splice(3, 0, "PS256", "PS384", "PS512"), f.splice(3, 0, "PS256", "PS384", "PS512")), e.exports = function(e, t, r, u) { var d; if ("function" != typeof r || u || (u = r, r = {}), r || (r = {}), r = Object.assign({}, r), d = u || function(e, t) { if (e) throw e; return t }, r.clockTimestamp && "number" != typeof r.clockTimestamp) return d(new n("clockTimestamp must be a number")); if (void 0 !== r.nonce && ("string" != typeof r.nonce || "" === r.nonce.trim())) return d(new n("nonce must be a non-empty string")); var h = r.clockTimestamp || Math.floor(Date.now() / 1e3); if (!e) return d(new n("jwt must be provided")); if ("string" != typeof e) return d(new n("jwt must be a string")); var v, m = e.split("."); if (3 !== m.length) return d(new n("jwt malformed")); try { v = a(e, { complete: !0 }) } catch (e) { return d(e) } if (!v) return d(new n("invalid token")); var y, b = v.header; if ("function" == typeof t) { if (!u) return d(new n("verify must be called asynchronous if secret or public key is provided as a callback")); y = t } else y = function(e, r) { return r(null, t) }; return y(b, (function(t, a) { if (t) return d(new n("error in secret or public key callback: " + t.message)); var u, y = "" !== m[2].trim(); if (!y && a) return d(new n("jwt signature is required")); if (y && !a) return d(new n("secret or public key must be provided")); if (y || r.algorithms || (r.algorithms = ["none"]), r.algorithms || (r.algorithms = ~a.toString().indexOf("BEGIN CERTIFICATE") || ~a.toString().indexOf("BEGIN PUBLIC KEY") ? l : ~a.toString().indexOf("BEGIN RSA PUBLIC KEY") ? f : p), !~r.algorithms.indexOf(v.header.alg)) return d(new n("invalid algorithm")); try { u = c.verify(e, v.header.alg, a) } catch (e) { return d(e) } if (!u) return d(new n("invalid signature")); var g = v.payload; if (void 0 !== g.nbf && !r.ignoreNotBefore) { if ("number" != typeof g.nbf) return d(new n("invalid nbf value")); if (g.nbf > h + (r.clockTolerance || 0)) return d(new i("jwt not active", new Date(1e3 * g.nbf))) } if (void 0 !== g.exp && !r.ignoreExpiration) { if ("number" != typeof g.exp) return d(new n("invalid exp value")); if (h >= g.exp + (r.clockTolerance || 0)) return d(new o("jwt expired", new Date(1e3 * g.exp))) } if (r.audience) { var _ = Array.isArray(r.audience) ? r.audience : [r.audience]; if (!(Array.isArray(g.aud) ? g.aud : [g.aud]).some((function(e) { return _.some((function(t) { return t instanceof RegExp ? t.test(e) : t === e })) }))) return d(new n("jwt audience invalid. expected: " + _.join(" or "))) } if (r.issuer && ("string" == typeof r.issuer && g.iss !== r.issuer || Array.isArray(r.issuer) && -1 === r.issuer.indexOf(g.iss))) return d(new n("jwt issuer invalid. expected: " + r.issuer)); if (r.subject && g.sub !== r.subject) return d(new n("jwt subject invalid. expected: " + r.subject)); if (r.jwtid && g.jti !== r.jwtid) return d(new n("jwt jwtid invalid. expected: " + r.jwtid)); if (r.nonce && g.nonce !== r.nonce) return d(new n("jwt nonce invalid. expected: " + r.nonce)); if (r.maxAge) { if ("number" != typeof g.iat) return d(new n("iat required when maxAge is specified")); var T = s(r.maxAge, g.iat); if (void 0 === T) return d(new n('"maxAge" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60')); if (h >= T + (r.clockTolerance || 0)) return d(new o("maxAge exceeded", new Date(1e3 * T))) } if (!0 === r.complete) { var S = v.signature; return d(null, { header: b, payload: g, signature: S }) } return d(null, g) })) } }, function(e, t) { var r = 1e3, n = 6e4, i = 36e5, o = 24 * i; function a(e, t, r, n) { var i = t >= 1.5 * r; return Math.round(e / r) + " " + n + (i ? "s" : "") } e.exports = function(e, t) { t = t || {}; var s = typeof e; if ("string" === s && e.length > 0) return function(e) { if ((e = String(e)).length > 100) return; var t = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e); if (!t) return; var a = parseFloat(t[1]); switch ((t[2] || "ms").toLowerCase()) { case "years": case "year": case "yrs": case "yr": case "y": return 315576e5 * a; case "weeks": case "week": case "w": return 6048e5 * a; case "days": case "day": case "d": return a * o; case "hours": case "hour": case "hrs": case "hr": case "h": return a * i; case "minutes": case "minute": case "mins": case "min": case "m": return a * n; case "seconds": case "second": case "secs": case "sec": case "s": return a * r; case "milliseconds": case "millisecond": case "msecs": case "msec": case "ms": return a; default: return } }(e); if ("number" === s && isFinite(e)) return t.long ? function(e) { var t = Math.abs(e); if (t >= o) return a(e, t, o, "day"); if (t >= i) return a(e, t, i, "hour"); if (t >= n) return a(e, t, n, "minute"); if (t >= r) return a(e, t, r, "second"); return e + " ms" }(e) : function(e) { var t = Math.abs(e); if (t >= o) return Math.round(e / o) + "d"; if (t >= i) return Math.round(e / i) + "h"; if (t >= n) return Math.round(e / n) + "m"; if (t >= r) return Math.round(e / r) + "s"; return e + "ms" }(e); throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(e)) } }, function(e, t, r) { (function(r) { var n; t = e.exports = Y, n = "object" == typeof r && r.env && r.env.NODE_DEBUG && /\bsemver\b/i.test(r.env.NODE_DEBUG) ? function() { var e = Array.prototype.slice.call(arguments, 0); e.unshift("SEMVER"), console.log.apply(console, e) } : function() {}, t.SEMVER_SPEC_VERSION = "2.0.0"; var i = Number.MAX_SAFE_INTEGER || 9007199254740991, o = t.re = [], a = t.src = [], s = 0, u = s++; a[u] = "0|[1-9]\\d*"; var c = s++; a[c] = "[0-9]+"; var l = s++; a[l] = "\\d*[a-zA-Z-][a-zA-Z0-9-]*"; var f = s++; a[f] = "(" + a[u] + ")\\.(" + a[u] + ")\\.(" + a[u] + ")"; var p = s++; a[p] = "(" + a[c] + ")\\.(" + a[c] + ")\\.(" + a[c] + ")"; var d = s++; a[d] = "(?:" + a[u] + "|" + a[l] + ")"; var h = s++; a[h] = "(?:" + a[c] + "|" + a[l] + ")"; var v = s++; a[v] = "(?:-(" + a[d] + "(?:\\." + a[d] + ")*))"; var m = s++; a[m] = "(?:-?(" + a[h] + "(?:\\." + a[h] + ")*))"; var y = s++; a[y] = "[0-9A-Za-z-]+"; var b = s++; a[b] = "(?:\\+(" + a[y] + "(?:\\." + a[y] + ")*))"; var g = s++, _ = "v?" + a[f] + a[v] + "?" + a[b] + "?"; a[g] = "^" + _ + "$"; var T = "[v=\\s]*" + a[p] + a[m] + "?" + a[b] + "?", S = s++; a[S] = "^" + T + "$"; var A = s++; a[A] = "((?:<|>)?=?)"; var E = s++; a[E] = a[c] + "|x|X|\\*"; var C = s++; a[C] = a[u] + "|x|X|\\*"; var O = s++; a[O] = "[v=\\s]*(" + a[C] + ")(?:\\.(" + a[C] + ")(?:\\.(" + a[C] + ")(?:" + a[v] + ")?" + a[b] + "?)?)?"; var w = s++; a[w] = "[v=\\s]*(" + a[E] + ")(?:\\.(" + a[E] + ")(?:\\.(" + a[E] + ")(?:" + a[m] + ")?" + a[b] + "?)?)?"; var I = s++; a[I] = "^" + a[A] + "\\s*" + a[O] + "$"; var P = s++; a[P] = "^" + a[A] + "\\s*" + a[w] + "$"; var x = s++; a[x] = "(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])"; var N = s++; a[N] = "(?:~>?)"; var k = s++; a[k] = "(\\s*)" + a[N] + "\\s+", o[k] = new RegExp(a[k], "g"); var R = s++; a[R] = "^" + a[N] + a[O] + "$"; var L = s++; a[L] = "^" + a[N] + a[w] + "$"; var M = s++; a[M] = "(?:\\^)"; var j = s++; a[j] = "(\\s*)" + a[M] + "\\s+", o[j] = new RegExp(a[j], "g"); var D = s++; a[D] = "^" + a[M] + a[O] + "$"; var U = s++; a[U] = "^" + a[M] + a[w] + "$"; var B = s++; a[B] = "^" + a[A] + "\\s*(" + T + ")$|^$"; var F = s++; a[F] = "^" + a[A] + "\\s*(" + _ + ")$|^$"; var z = s++; a[z] = "(\\s*)" + a[A] + "\\s*(" + T + "|" + a[O] + ")", o[z] = new RegExp(a[z], "g"); var V = s++; a[V] = "^\\s*(" + a[O] + ")\\s+-\\s+(" + a[O] + ")\\s*$"; var G = s++; a[G] = "^\\s*(" + a[w] + ")\\s+-\\s+(" + a[w] + ")\\s*$"; var q = s++; a[q] = "(<|>)?=?\\s*\\*"; for (var H = 0; H < 35; H++) n(H, a[H]), o[H] || (o[H] = new RegExp(a[H])); function W(e, t) { if (t && "object" == typeof t || (t = { loose: !!t, includePrerelease: !1 }), e instanceof Y) return e; if ("string" != typeof e) return null; if (e.length > 256) return null; if (!(t.loose ? o[S] : o[g]).test(e)) return null; try { return new Y(e, t) } catch (e) { return null } } function Y(e, t) { if (t && "object" == typeof t || (t = { loose: !!t, includePrerelease: !1 }), e instanceof Y) { if (e.loose === t.loose) return e; e = e.version } else if ("string" != typeof e) throw new TypeError("Invalid Version: " + e); if (e.length > 256) throw new TypeError("version is longer than 256 characters"); if (!(this instanceof Y)) return new Y(e, t); n("SemVer", e, t), this.options = t, this.loose = !!t.loose; var r = e.trim().match(t.loose ? o[S] : o[g]); if (!r) throw new TypeError("Invalid Version: " + e); if (this.raw = e, this.major = +r[1], this.minor = +r[2], this.patch = +r[3], this.major > i || this.major < 0) throw new TypeError("Invalid major version"); if (this.minor > i || this.minor < 0) throw new TypeError("Invalid minor version"); if (this.patch > i || this.patch < 0) throw new TypeError("Invalid patch version"); r[4] ? this.prerelease = r[4].split(".").map((function(e) { if (/^[0-9]+$/.test(e)) { var t = +e; if (t >= 0 && t < i) return t } return e })) : this.prerelease = [], this.build = r[5] ? r[5].split(".") : [], this.format() } t.parse = W, t.valid = function(e, t) { var r = W(e, t); return r ? r.version : null }, t.clean = function(e, t) { var r = W(e.trim().replace(/^[=v]+/, ""), t); return r ? r.version : null }, t.SemVer = Y, Y.prototype.format = function() { return this.version = this.major + "." + this.minor + "." + this.patch, this.prerelease.length && (this.version += "-" + this.prerelease.join(".")), this.version }, Y.prototype.toString = function() { return this.version }, Y.prototype.compare = function(e) { return n("SemVer.compare", this.version, this.options, e), e instanceof Y || (e = new Y(e, this.options)), this.compareMain(e) || this.comparePre(e) }, Y.prototype.compareMain = function(e) { return e instanceof Y || (e = new Y(e, this.options)), $(this.major, e.major) || $(this.minor, e.minor) || $(this.patch, e.patch) }, Y.prototype.comparePre = function(e) { if (e instanceof Y || (e = new Y(e, this.options)), this.prerelease.length && !e.prerelease.length) return -1; if (!this.prerelease.length && e.prerelease.length) return 1; if (!this.prerelease.length && !e.prerelease.length) return 0; var t = 0; do { var r = this.prerelease[t], i = e.prerelease[t]; if (n("prerelease compare", t, r, i), void 0 === r && void 0 === i) return 0; if (void 0 === i) return 1; if (void 0 === r) return -1; if (r !== i) return $(r, i) } while (++t) }, Y.prototype.inc = function(e, t) { switch (e) { case "premajor": this.prerelease.length = 0, this.patch = 0, this.minor = 0, this.major++, this.inc("pre", t); break; case "preminor": this.prerelease.length = 0, this.patch = 0, this.minor++, this.inc("pre", t); break; case "prepatch": this.prerelease.length = 0, this.inc("patch", t), this.inc("pre", t); break; case "prerelease": 0 === this.prerelease.length && this.inc("patch", t), this.inc("pre", t); break; case "major": 0 === this.minor && 0 === this.patch && 0 !== this.prerelease.length || this.major++, this.minor = 0, this.patch = 0, this.prerelease = []; break; case "minor": 0 === this.patch && 0 !== this.prerelease.length || this.minor++, this.patch = 0, this.prerelease = []; break; case "patch": 0 === this.prerelease.length && this.patch++, this.prerelease = []; break; case "pre": if (0 === this.prerelease.length) this.prerelease = [0]; else { for (var r = this.prerelease.length; --r >= 0;) "number" == typeof this.prerelease[r] && (this.prerelease[r]++, r = -2); - 1 === r && this.prerelease.push(0) } t && (this.prerelease[0] === t ? isNaN(this.prerelease[1]) && (this.prerelease = [t, 0]) : this.prerelease = [t, 0]); break; default: throw new Error("invalid increment argument: " + e) } return this.format(), this.raw = this.version, this }, t.inc = function(e, t, r, n) { "string" == typeof r && (n = r, r = void 0); try { return new Y(e, r).inc(t, n).version } catch (e) { return null } }, t.diff = function(e, t) { if (Q(e, t)) return null; var r = W(e), n = W(t), i = ""; if (r.prerelease.length || n.prerelease.length) { i = "pre"; var o = "prerelease" } for (var a in r) if (("major" === a || "minor" === a || "patch" === a) && r[a] !== n[a]) return i + a; return o }, t.compareIdentifiers = $; var K = /^[0-9]+$/; function $(e, t) { var r = K.test(e), n = K.test(t); return r && n && (e = +e, t = +t), e === t ? 0 : r && !n ? -1 : n && !r ? 1 : e < t ? -1 : 1 } function J(e, t, r) { return new Y(e, r).compare(new Y(t, r)) } function X(e, t, r) { return J(e, t, r) > 0 } function Z(e, t, r) { return J(e, t, r) < 0 } function Q(e, t, r) { return 0 === J(e, t, r) } function ee(e, t, r) { return 0 !== J(e, t, r) } function te(e, t, r) { return J(e, t, r) >= 0 } function re(e, t, r) { return J(e, t, r) <= 0 } function ne(e, t, r, n) { switch (t) { case "===": return "object" == typeof e && (e = e.version), "object" == typeof r && (r = r.version), e === r; case "!==": return "object" == typeof e && (e = e.version), "object" == typeof r && (r = r.version), e !== r; case "": case "=": case "==": return Q(e, r, n); case "!=": return ee(e, r, n); case ">": return X(e, r, n); case ">=": return te(e, r, n); case "<": return Z(e, r, n); case "<=": return re(e, r, n); default: throw new TypeError("Invalid operator: " + t) } } function ie(e, t) { if (t && "object" == typeof t || (t = { loose: !!t, includePrerelease: !1 }), e instanceof ie) { if (e.loose === !!t.loose) return e; e = e.value } if (!(this instanceof ie)) return new ie(e, t); n("comparator", e, t), this.options = t, this.loose = !!t.loose, this.parse(e), this.semver === oe ? this.value = "" : this.value = this.operator + this.semver.version, n("comp", this) } t.rcompareIdentifiers = function(e, t) { return $(t, e) }, t.major = function(e, t) { return new Y(e, t).major }, t.minor = function(e, t) { return new Y(e, t).minor }, t.patch = function(e, t) { return new Y(e, t).patch }, t.compare = J, t.compareLoose = function(e, t) { return J(e, t, !0) }, t.rcompare = function(e, t, r) { return J(t, e, r) }, t.sort = function(e, r) { return e.sort((function(e, n) { return t.compare(e, n, r) })) }, t.rsort = function(e, r) { return e.sort((function(e, n) { return t.rcompare(e, n, r) })) }, t.gt = X, t.lt = Z, t.eq = Q, t.neq = ee, t.gte = te, t.lte = re, t.cmp = ne, t.Comparator = ie; var oe = {}; function ae(e, t) { if (t && "object" == typeof t || (t = { loose: !!t, includePrerelease: !1 }), e instanceof ae) return e.loose === !!t.loose && e.includePrerelease === !!t.includePrerelease ? e : new ae(e.raw, t); if (e instanceof ie) return new ae(e.value, t); if (!(this instanceof ae)) return new ae(e, t); if (this.options = t, this.loose = !!t.loose, this.includePrerelease = !!t.includePrerelease, this.raw = e, this.set = e.split(/\s*\|\|\s*/).map((function(e) { return this.parseRange(e.trim()) }), this).filter((function(e) { return e.length })), !this.set.length) throw new TypeError("Invalid SemVer Range: " + e); this.format() } function se(e) { return !e || "x" === e.toLowerCase() || "*" === e } function ue(e, t, r, n, i, o, a, s, u, c, l, f, p) { return ((t = se(r) ? "" : se(n) ? ">=" + r + ".0.0" : se(i) ? ">=" + r + "." + n + ".0" : ">=" + t) + " " + (s = se(u) ? "" : se(c) ? "<" + (+u + 1) + ".0.0" : se(l) ? "<" + u + "." + (+c + 1) + ".0" : f ? "<=" + u + "." + c + "." + l + "-" + f : "<=" + s)).trim() } function ce(e, t, r) { for (var i = 0; i < e.length; i++) if (!e[i].test(t)) return !1; if (t.prerelease.length && !r.includePrerelease) { for (i = 0; i < e.length; i++) if (n(e[i].semver), e[i].semver !== oe && e[i].semver.prerelease.length > 0) { var o = e[i].semver; if (o.major === t.major && o.minor === t.minor && o.patch === t.patch) return !0 } return !1 } return !0 } function le(e, t, r) { try { t = new ae(t, r) } catch (e) { return !1 } return t.test(e) } function fe(e, t, r, n) { var i, o, a, s, u; switch (e = new Y(e, n), t = new ae(t, n), r) { case ">": i = X, o = re, a = Z, s = ">", u = ">="; break; case "<": i = Z, o = te, a = X, s = "<", u = "<="; break; default: throw new TypeError('Must provide a hilo val of "<" or ">"') } if (le(e, t, n)) return !1; for (var c = 0; c < t.set.length; ++c) { var l = t.set[c], f = null, p = null; if (l.forEach((function(e) { e.semver === oe && (e = new ie(">=0.0.0")), f = f || e, p = p || e, i(e.semver, f.semver, n) ? f = e : a(e.semver, p.semver, n) && (p = e) })), f.operator === s || f.operator === u) return !1; if ((!p.operator || p.operator === s) && o(e, p.semver)) return !1; if (p.operator === u && a(e, p.semver)) return !1 } return !0 } ie.prototype.parse = function(e) { var t = this.options.loose ? o[B] : o[F], r = e.match(t); if (!r) throw new TypeError("Invalid comparator: " + e); this.operator = r[1], "=" === this.operator && (this.operator = ""), r[2] ? this.semver = new Y(r[2], this.options.loose) : this.semver = oe }, ie.prototype.toString = function() { return this.value }, ie.prototype.test = function(e) { return n("Comparator.test", e, this.options.loose), this.semver === oe || ("string" == typeof e && (e = new Y(e, this.options)), ne(e, this.operator, this.semver, this.options)) }, ie.prototype.intersects = function(e, t) { if (!(e instanceof ie)) throw new TypeError("a Comparator is required"); var r; if (t && "object" == typeof t || (t = { loose: !!t, includePrerelease: !1 }), "" === this.operator) return r = new ae(e.value, t), le(this.value, r, t); if ("" === e.operator) return r = new ae(this.value, t), le(e.semver, r, t); var n = !(">=" !== this.operator && ">" !== this.operator || ">=" !== e.operator && ">" !== e.operator), i = !("<=" !== this.operator && "<" !== this.operator || "<=" !== e.operator && "<" !== e.operator), o = this.semver.version === e.semver.version, a = !(">=" !== this.operator && "<=" !== this.operator || ">=" !== e.operator && "<=" !== e.operator), s = ne(this.semver, "<", e.semver, t) && (">=" === this.operator || ">" === this.operator) && ("<=" === e.operator || "<" === e.operator), u = ne(this.semver, ">", e.semver, t) && ("<=" === this.operator || "<" === this.operator) && (">=" === e.operator || ">" === e.operator); return n || i || o && a || s || u }, t.Range = ae, ae.prototype.format = function() { return this.range = this.set.map((function(e) { return e.join(" ").trim() })).join("||").trim(), this.range }, ae.prototype.toString = function() { return this.range }, ae.prototype.parseRange = function(e) { var t = this.options.loose; e = e.trim(); var r = t ? o[G] : o[V]; e = e.replace(r, ue), n("hyphen replace", e), e = e.replace(o[z], "$1$2$3"), n("comparator trim", e, o[z]), e = (e = (e = e.replace(o[k], "$1~")).replace(o[j], "$1^")).split(/\s+/).join(" "); var i = t ? o[B] : o[F], a = e.split(" ").map((function(e) { return function(e, t) { return n("comp", e, t), e = function(e, t) { return e.trim().split(/\s+/).map((function(e) { return function(e, t) { n("caret", e, t); var r = t.loose ? o[U] : o[D]; return e.replace(r, (function(t, r, i, o, a) { var s; return n("caret", e, t, r, i, o, a), se(r) ? s = "" : se(i) ? s = ">=" + r + ".0.0 <" + (+r + 1) + ".0.0" : se(o) ? s = "0" === r ? ">=" + r + "." + i + ".0 <" + r + "." + (+i + 1) + ".0" : ">=" + r + "." + i + ".0 <" + (+r + 1) + ".0.0" : a ? (n("replaceCaret pr", a), s = "0" === r ? "0" === i ? ">=" + r + "." + i + "." + o + "-" + a + " <" + r + "." + i + "." + (+o + 1) : ">=" + r + "." + i + "." + o + "-" + a + " <" + r + "." + (+i + 1) + ".0" : ">=" + r + "." + i + "." + o + "-" + a + " <" + (+r + 1) + ".0.0") : (n("no pr"), s = "0" === r ? "0" === i ? ">=" + r + "." + i + "." + o + " <" + r + "." + i + "." + (+o + 1) : ">=" + r + "." + i + "." + o + " <" + r + "." + (+i + 1) + ".0" : ">=" + r + "." + i + "." + o + " <" + (+r + 1) + ".0.0"), n("caret return", s), s })) }(e, t) })).join(" ") }(e, t), n("caret", e), e = function(e, t) { return e.trim().split(/\s+/).map((function(e) { return function(e, t) { var r = t.loose ? o[L] : o[R]; return e.replace(r, (function(t, r, i, o, a) { var s; return n("tilde", e, t, r, i, o, a), se(r) ? s = "" : se(i) ? s = ">=" + r + ".0.0 <" + (+r + 1) + ".0.0" : se(o) ? s = ">=" + r + "." + i + ".0 <" + r + "." + (+i + 1) + ".0" : a ? (n("replaceTilde pr", a), s = ">=" + r + "." + i + "." + o + "-" + a + " <" + r + "." + (+i + 1) + ".0") : s = ">=" + r + "." + i + "." + o + " <" + r + "." + (+i + 1) + ".0", n("tilde return", s), s })) }(e, t) })).join(" ") }(e, t), n("tildes", e), e = function(e, t) { return n("replaceXRanges", e, t), e.split(/\s+/).map((function(e) { return function(e, t) { e = e.trim(); var r = t.loose ? o[P] : o[I]; return e.replace(r, (function(t, r, i, o, a, s) { n("xRange", e, t, r, i, o, a, s); var u = se(i), c = u || se(o), l = c || se(a); return "=" === r && l && (r = ""), u ? t = ">" === r || "<" === r ? "<0.0.0" : "*" : r && l ? (c && (o = 0), a = 0, ">" === r ? (r = ">=", c ? (i = +i + 1, o = 0, a = 0) : (o = +o + 1, a = 0)) : "<=" === r && (r = "<", c ? i = +i + 1 : o = +o + 1), t = r + i + "." + o + "." + a) : c ? t = ">=" + i + ".0.0 <" + (+i + 1) + ".0.0" : l && (t = ">=" + i + "." + o + ".0 <" + i + "." + (+o + 1) + ".0"), n("xRange return", t), t })) }(e, t) })).join(" ") }(e, t), n("xrange", e), e = function(e, t) { return n("replaceStars", e, t), e.trim().replace(o[q], "") }(e, t), n("stars", e), e }(e, this.options) }), this).join(" ").split(/\s+/); return this.options.loose && (a = a.filter((function(e) { return !!e.match(i) }))), a = a.map((function(e) { return new ie(e, this.options) }), this) }, ae.prototype.intersects = function(e, t) { if (!(e instanceof ae)) throw new TypeError("a Range is required"); return this.set.some((function(r) { return r.every((function(r) { return e.set.some((function(e) { return e.every((function(e) { return r.intersects(e, t) })) })) })) })) }, t.toComparators = function(e, t) { return new ae(e, t).set.map((function(e) { return e.map((function(e) { return e.value })).join(" ").trim().split(" ") })) }, ae.prototype.test = function(e) { if (!e) return !1; "string" == typeof e && (e = new Y(e, this.options)); for (var t = 0; t < this.set.length; t++) if (ce(this.set[t], e, this.options)) return !0; return !1 }, t.satisfies = le, t.maxSatisfying = function(e, t, r) { var n = null, i = null; try { var o = new ae(t, r) } catch (e) { return null } return e.forEach((function(e) { o.test(e) && (n && -1 !== i.compare(e) || (i = new Y(n = e, r))) })), n }, t.minSatisfying = function(e, t, r) { var n = null, i = null; try { var o = new ae(t, r) } catch (e) { return null } return e.forEach((function(e) { o.test(e) && (n && 1 !== i.compare(e) || (i = new Y(n = e, r))) })), n }, t.minVersion = function(e, t) { e = new ae(e, t); var r = new Y("0.0.0"); if (e.test(r)) return r; if (r = new Y("0.0.0-0"), e.test(r)) return r; r = null; for (var n = 0; n < e.set.length; ++n) { e.set[n].forEach((function(e) { var t = new Y(e.semver.version); switch (e.operator) { case ">": 0 === t.prerelease.length ? t.patch++ : t.prerelease.push(0), t.raw = t.format(); case "": case ">=": r && !X(r, t) || (r = t); break; case "<": case "<=": break; default: throw new Error("Unexpected operation: " + e.operator) } })) } if (r && e.test(r)) return r; return null }, t.validRange = function(e, t) { try { return new ae(e, t).range || "*" } catch (e) { return null } }, t.ltr = function(e, t, r) { return fe(e, t, "<", r) }, t.gtr = function(e, t, r) { return fe(e, t, ">", r) }, t.outside = fe, t.prerelease = function(e, t) { var r = W(e, t); return r && r.prerelease.length ? r.prerelease : null }, t.intersects = function(e, t, r) { return e = new ae(e, r), t = new ae(t, r), e.intersects(t) }, t.coerce = function(e) { if (e instanceof Y) return e; if ("string" != typeof e) return null; var t = e.match(o[x]); if (null == t) return null; return W(t[1] + "." + (t[2] || "0") + "." + (t[3] || "0")) } }).call(this, r(26)) }, function(e, t, r) { (function(t) { var n = r(489), i = r(490), o = r(277), a = r(1029), s = r(1030), u = r(1031), c = r(1032), l = r(1033), f = r(1034), p = r(1035), d = ["RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "HS256", "HS384", "HS512", "none"]; i && d.splice(3, 0, "PS256", "PS384", "PS512"); var h = { expiresIn: { isValid: function(e) { return u(e) || f(e) && e }, message: '"expiresIn" should be a number of seconds or string representing a timespan' }, notBefore: { isValid: function(e) { return u(e) || f(e) && e }, message: '"notBefore" should be a number of seconds or string representing a timespan' }, audience: { isValid: function(e) { return f(e) || Array.isArray(e) }, message: '"audience" must be a string or array' }, algorithm: { isValid: a.bind(null, d), message: '"algorithm" must be a valid string enum value' }, header: { isValid: l, message: '"header" must be an object' }, encoding: { isValid: f, message: '"encoding" must be a string' }, issuer: { isValid: f, message: '"issuer" must be a string' }, subject: { isValid: f, message: '"subject" must be a string' }, jwtid: { isValid: f, message: '"jwtid" must be a string' }, noTimestamp: { isValid: s, message: '"noTimestamp" must be a boolean' }, keyid: { isValid: f, message: '"keyid" must be a string' }, mutatePayload: { isValid: s, message: '"mutatePayload" must be a boolean' } }, v = { iat: { isValid: c, message: '"iat" should be a number of seconds' }, exp: { isValid: c, message: '"exp" should be a number of seconds' }, nbf: { isValid: c, message: '"nbf" should be a number of seconds' } }; function m(e, t, r, n) { if (!l(r)) throw new Error('Expected "' + n + '" to be a plain object.'); Object.keys(r).forEach((function(i) { var o = e[i]; if (o) { if (!o.isValid(r[i])) throw new Error(o.message) } else if (!t) throw new Error('"' + i + '" is not allowed in "' + n + '"') })) } var y = { audience: "aud", issuer: "iss", subject: "sub", jwtid: "jti" }, b = ["expiresIn", "notBefore", "noTimestamp", "audience", "issuer", "subject", "jwtid"]; e.exports = function(e, r, i, a) { "function" == typeof i ? (a = i, i = {}) : i = i || {}; var s = "object" == typeof e && !t.isBuffer(e), u = Object.assign({ alg: i.algorithm || "HS256", typ: s ? "JWT" : void 0, kid: i.keyid }, i.header); function c(e) { if (a) return a(e); throw e } if (!r && "none" !== i.algorithm) return c(new Error("secretOrPrivateKey must have a value")); if (void 0 === e) return c(new Error("payload is required")); if (s) { try { ! function(e) { m(v, !0, e, "payload") }(e) } catch (e) { return c(e) } i.mutatePayload || (e = Object.assign({}, e)) } else { var l = b.filter((function(e) { return void 0 !== i[e] })); if (l.length > 0) return c(new Error("invalid " + l.join(",") + " option for " + typeof e + " payload")) } if (void 0 !== e.exp && void 0 !== i.expiresIn) return c(new Error('Bad "options.expiresIn" option the payload already has an "exp" property.')); if (void 0 !== e.nbf && void 0 !== i.notBefore) return c(new Error('Bad "options.notBefore" option the payload already has an "nbf" property.')); try { ! function(e) { m(h, !1, e, "options") }(i) } catch (e) { return c(e) } var f = e.iat || Math.floor(Date.now() / 1e3); if (i.noTimestamp ? delete e.iat : s && (e.iat = f), void 0 !== i.notBefore) { try { e.nbf = n(i.notBefore, f) } catch (e) { return c(e) } if (void 0 === e.nbf) return c(new Error('"notBefore" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60')) } if (void 0 !== i.expiresIn && "object" == typeof e) { try { e.exp = n(i.expiresIn, f) } catch (e) { return c(e) } if (void 0 === e.exp) return c(new Error('"expiresIn" should be a number of seconds or string representing a timespan eg: "1d", "20h", 60')) } Object.keys(y).forEach((function(t) { var r = y[t]; if (void 0 !== i[t]) { if (void 0 !== e[r]) return c(new Error('Bad "options.' + t + '" option. The payload already has an "' + r + '" property.')); e[r] = i[t] } })); var d = i.encoding || "utf8"; if ("function" != typeof a) return o.sign({ header: u, payload: e, secret: r, encoding: d }); a = a && p(a), o.createSign({ header: u, privateKey: r, payload: e, encoding: d }).once("error", a).once("done", (function(e) { a(null, e) })) } }).call(this, r(8).Buffer) }, function(e, t) { var r = /^\s+|\s+$/g, n = /^[-+]0x[0-9a-f]+$/i, i = /^0b[01]+$/i, o = /^0o[0-7]+$/i, a = /^(?:0|[1-9]\d*)$/, s = parseInt; function u(e) { return e != e } function c(e, t) { return function(e, t) { for (var r = -1, n = e ? e.length : 0, i = Array(n); ++r < n;) i[r] = t(e[r], r, e); return i }(t, (function(t) { return e[t] })) } var l, f, p = Object.prototype, d = p.hasOwnProperty, h = p.toString, v = p.propertyIsEnumerable, m = (l = Object.keys, f = Object, function(e) { return l(f(e)) }), y = Math.max; function b(e, t) { var r = T(e) || function(e) { return function(e) { return E(e) && S(e) }(e) && d.call(e, "callee") && (!v.call(e, "callee") || "[object Arguments]" == h.call(e)) }(e) ? function(e, t) { for (var r = -1, n = Array(e); ++r < e;) n[r] = t(r); return n }(e.length, String) : [], n = r.length, i = !!n; for (var o in e) !t && !d.call(e, o) || i && ("length" == o || _(o, n)) || r.push(o); return r } function g(e) { if (r = (t = e) && t.constructor, n = "function" == typeof r && r.prototype || p, t !== n) return m(e); var t, r, n, i = []; for (var o in Object(e)) d.call(e, o) && "constructor" != o && i.push(o); return i } function _(e, t) { return !!(t = null == t ? 9007199254740991 : t) && ("number" == typeof e || a.test(e)) && e > -1 && e % 1 == 0 && e < t } var T = Array.isArray; function S(e) { return null != e && function(e) { return "number" == typeof e && e > -1 && e % 1 == 0 && e <= 9007199254740991 }(e.length) && ! function(e) { var t = A(e) ? h.call(e) : ""; return "[object Function]" == t || "[object GeneratorFunction]" == t }(e) } function A(e) { var t = typeof e; return !!e && ("object" == t || "function" == t) } function E(e) { return !!e && "object" == typeof e } e.exports = function(e, t, a, l) { var f; e = S(e) ? e : (f = e) ? c(f, function(e) { return S(e) ? b(e) : g(e) }(f)) : [], a = a && !l ? function(e) { var t = function(e) { if (!e) return 0 === e ? e : 0; if ((e = function(e) { if ("number" == typeof e) return e; if (function(e) { return "symbol" == typeof e || E(e) && "[object Symbol]" == h.call(e) }(e)) return NaN; if (A(e)) { var t = "function" == typeof e.valueOf ? e.valueOf() : e; e = A(t) ? t + "" : t } if ("string" != typeof e) return 0 === e ? e : +e; e = e.replace(r, ""); var a = i.test(e); return a || o.test(e) ? s(e.slice(2), a ? 2 : 8) : n.test(e) ? NaN : +e }(e)) === 1 / 0 || e === -1 / 0) { return 17976931348623157e292 * (e < 0 ? -1 : 1) } return e == e ? e : 0 }(e), a = t % 1; return t == t ? a ? t - a : t : 0 }(a) : 0; var p = e.length; return a < 0 && (a = y(p + a, 0)), function(e) { return "string" == typeof e || !T(e) && E(e) && "[object String]" == h.call(e) }(e) ? a <= p && e.indexOf(t, a) > -1 : !!p && function(e, t, r) { if (t != t) return function(e, t, r, n) { for (var i = e.length, o = r + (n ? 1 : -1); n ? o-- : ++o < i;) if (t(e[o], o, e)) return o; return -1 }(e, u, r); for (var n = r - 1, i = e.length; ++n < i;) if (e[n] === t) return n; return -1 }(e, t, a) > -1 } }, function(e, t) { var r = Object.prototype.toString; e.exports = function(e) { return !0 === e || !1 === e || function(e) { return !!e && "object" == typeof e }(e) && "[object Boolean]" == r.call(e) } }, function(e, t) { var r = /^\s+|\s+$/g, n = /^[-+]0x[0-9a-f]+$/i, i = /^0b[01]+$/i, o = /^0o[0-7]+$/i, a = parseInt, s = Object.prototype.toString; function u(e) { var t = typeof e; return !!e && ("object" == t || "function" == t) } e.exports = function(e) { return "number" == typeof e && e == function(e) { var t = function(e) { if (!e) return 0 === e ? e : 0; if ((e = function(e) { if ("number" == typeof e) return e; if (function(e) { return "symbol" == typeof e || function(e) { return !!e && "object" == typeof e }(e) && "[object Symbol]" == s.call(e) }(e)) return NaN; if (u(e)) { var t = "function" == typeof e.valueOf ? e.valueOf() : e; e = u(t) ? t + "" : t } if ("string" != typeof e) return 0 === e ? e : +e; e = e.replace(r, ""); var c = i.test(e); return c || o.test(e) ? a(e.slice(2), c ? 2 : 8) : n.test(e) ? NaN : +e }(e)) === 1 / 0 || e === -1 / 0) { return 17976931348623157e292 * (e < 0 ? -1 : 1) } return e == e ? e : 0 }(e), c = t % 1; return t == t ? c ? t - c : t : 0 }(e) } }, function(e, t) { var r = Object.prototype.toString; e.exports = function(e) { return "number" == typeof e || function(e) { return !!e && "object" == typeof e }(e) && "[object Number]" == r.call(e) } }, function(e, t) { var r, n, i = Function.prototype, o = Object.prototype, a = i.toString, s = o.hasOwnProperty, u = a.call(Object), c = o.toString, l = (r = Object.getPrototypeOf, n = Object, function(e) { return r(n(e)) }); e.exports = function(e) { if (! function(e) { return !!e && "object" == typeof e }(e) || "[object Object]" != c.call(e) || function(e) { var t = !1; if (null != e && "function" != typeof e.toString) try { t = !!(e + "") } catch (e) {} return t }(e)) return !1; var t = l(e); if (null === t) return !0; var r = s.call(t, "constructor") && t.constructor; return "function" == typeof r && r instanceof r && a.call(r) == u } }, function(e, t) { var r = Object.prototype.toString, n = Array.isArray; e.exports = function(e) { return "string" == typeof e || !n(e) && function(e) { return !!e && "object" == typeof e }(e) && "[object String]" == r.call(e) } }, function(e, t) { var r = /^\s+|\s+$/g, n = /^[-+]0x[0-9a-f]+$/i, i = /^0b[01]+$/i, o = /^0o[0-7]+$/i, a = parseInt, s = Object.prototype.toString; function u(e, t) { var u; if ("function" != typeof t) throw new TypeError("Expected a function"); return e = function(e) { var t = function(e) { if (!e) return 0 === e ? e : 0; if ((e = function(e) { if ("number" == typeof e) return e; if (function(e) { return "symbol" == typeof e || function(e) { return !!e && "object" == typeof e }(e) && "[object Symbol]" == s.call(e) }(e)) return NaN; if (c(e)) { var t = "function" == typeof e.valueOf ? e.valueOf() : e; e = c(t) ? t + "" : t } if ("string" != typeof e) return 0 === e ? e : +e; e = e.replace(r, ""); var u = i.test(e); return u || o.test(e) ? a(e.slice(2), u ? 2 : 8) : n.test(e) ? NaN : +e }(e)) === 1 / 0 || e === -1 / 0) { return 17976931348623157e292 * (e < 0 ? -1 : 1) } return e == e ? e : 0 }(e), u = t % 1; return t == t ? u ? t - u : t : 0 }(e), function() { return --e > 0 && (u = t.apply(this, arguments)), e <= 1 && (t = void 0), u } } function c(e) { var t = typeof e; return !!e && ("object" == t || "function" == t) } e.exports = function(e) { return u(2, e) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return (0, o.fork)(i.default.mark((function e() { var r, n, a, s, u, c; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: r = !0, n = !1, a = void 0, e.prev = 3, s = t[Symbol.iterator](); case 5: if (r = (u = s.next()).done) { e.next = 12; break } return c = u.value, e.next = 9, (0, o.put)(c); case 9: r = !0, e.next = 5; break; case 12: e.next = 18; break; case 14: e.prev = 14, e.t0 = e.catch(3), n = !0, a = e.t0; case 18: e.prev = 18, e.prev = 19, r || null == s.return || s.return(); case 21: if (e.prev = 21, !n) { e.next = 24; break } throw a; case 24: return e.finish(21); case 25: return e.finish(18); case 26: case "end": return e.stop() } }), e, null, [ [3, 14, 18, 26], [19, , 21, 25] ]) }))) }; var i = n(r(17)), o = r(18) }, function(e, t) { e.exports = function(e) { var t = "Uint32Array" in e, r = e.crypto || e.msCrypto, n = r && "function" == typeof r.getRandomValues; if (!(t && n)) return Math.random; var i = new Uint32Array(1), o = Math.pow(2, 32); function a() { return r.getRandomValues(i), i[0] / o } return a.cryptographic = !0, a }("undefined" != typeof self ? self : window) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { type: "DIRECT_LINE/UPDATE_CONNECTION_STATUS", payload: { connectionStatus: e } } }, t.UPDATE_CONNECTION_STATUS = void 0; t.UPDATE_CONNECTION_STATUS = "DIRECT_LINE/UPDATE_CONNECTION_STATUS" }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = l; var i = n(r(17)), o = r(18), a = r(98), s = r(161), u = n(r(278)), c = i.default.mark(l); function l() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.take)([a.CONNECT_PENDING, s.RECONNECT_PENDING]); case 2: return e.next = 4, (0, o.race)({ fulfilled: (0, o.take)([a.CONNECT_FULFILLED, s.RECONNECT_FULFILLED]), rejected: (0, o.take)([a.CONNECT_REJECTED, s.RECONNECT_REJECTED]), slow: (0, o.call)((function() { return (0, u.default)(15e3) })) }); case 4: if (!("slow" in e.sent)) { e.next = 8; break } return e.next = 8, (0, o.put)({ type: a.CONNECT_STILL_PENDING }); case 8: e.next = 0; break; case 10: case "end": return e.stop() } }), c) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = h; var i = n(r(17)), o = r(18), a = r(279), s = n(r(33)), u = n(r(30)), c = i.default.mark(p), l = i.default.mark(d), f = i.default.mark(h); function p() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.put)((0, s.default)({ type: "typing" })); case 2: case "end": return e.stop() } }), c) } function d() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)((function(e) { return e.type === a.EMIT_TYPING_INDICATOR }), p); case 2: case "end": return e.stop() } }), l) } function h() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, u.default)(d); case 2: case "end": return e.stop() } }), f) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = g; var i = n(r(17)), o = r(18), a = n(r(119)), s = r(280), u = n(r(1042)), c = n(r(79)), l = n(r(386)), f = n(r(231)), p = n(r(30)), d = i.default.mark(b), h = i.default.mark(g), v = function(e) { return e }; function m(e, t) { return e.from ? e.from.role || (e = e.from.id === t ? (0, a.default)(e, ["from", "role"], (function() { return "user" })) : e.from.id ? (0, a.default)(e, ["from", "role"], (function() { return "bot" })) : (0, a.default)(e, ["from", "role"], (function() { return "channel" }))) : e = (0, a.default)(e, ["from", "role"], (function() { return "channel" })), e } function y(e) { return ["attachmentLayout", "attachments", "channelData", "conversation", "entities", "from", "inputHint", "locale", "name", "recipient", "speak", "suggestedActions", "text", "textFormat", "timestamp", "type"].reduce((function(e, t) { var r = e[t]; return (0, a.default)(e, [t], null == r ? void 0 : v) }), e) } function b(e) { var t, r; return i.default.wrap((function(n) { for (;;) switch (n.prev = n.next) { case 0: return t = e.directLine, r = e.userID, n.next = 3, (0, l.default)(t.activity$, i.default.mark((function e(t) { var n, a, l, p, d; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return t = m(t = y(t), r), e.next = 4, (0, o.put)((0, c.default)(t)); case 4: return e.next = 6, (0, o.select)((0, s.ofType)("message")); case 6: if (n = e.sent, a = n[n.length - 1], !(0, u.default)(a)) { e.next = 14; break } return l = a.suggestedActions, p = (l = void 0 === l ? {} : l).actions, d = l.to, e.next = 14, (0, o.put)((0, f.default)(d && d.length && !d.includes(r) ? null : p)); case 14: case "end": return e.stop() } }), e) }))); case 3: case "end": return n.stop() } }), d) } function g() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, p.default)(b); case 2: case "end": return e.stop() } }), h) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; t.default = function(e) { return e && "bot" === e.from.role } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = d; var i = n(r(17)), o = r(18), a = r(280), s = r(166), u = n(r(120)), c = n(r(492)), l = i.default.mark(p), f = i.default.mark(d); function p() { var e, t, r, n, s, f, p; return i.default.wrap((function(i) { for (;;) switch (i.prev = i.next) { case 0: return i.next = 2, (0, o.select)((0, a.of)(c.default)); case 2: e = i.sent, t = !0, r = !1, n = void 0, i.prev = 6, s = e[Symbol.iterator](); case 8: if (t = (f = s.next()).done) { i.next = 15; break } return p = f.value, i.next = 12, (0, o.put)((0, u.default)(p, "speak", !1)); case 12: t = !0, i.next = 8; break; case 15: i.next = 21; break; case 17: i.prev = 17, i.t0 = i.catch(6), r = !0, n = i.t0; case 21: i.prev = 21, i.prev = 22, t || null == s.return || s.return(); case 24: if (i.prev = 24, !r) { i.next = 27; break } throw n; case 27: return i.finish(24); case 28: return i.finish(21); case 29: case "end": return i.stop() } }), l, null, [ [6, 17, 21, 29], [22, , 24, 28] ]) } function d() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)(s.STOP_SPEAKING_ACTIVITY, p); case 2: case "end": return e.stop() } }), f) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = C; var i = n(r(17)), o = n(r(493)), a = n(r(494)), s = r(18), u = n(r(1048)), c = n(r(30)), l = n(r(1049)), f = n(r(1050)), p = n(r(1051)), d = n(r(1052)), h = n(r(1053)), v = n(r(278)), m = n(r(491)), y = r(33), b = r(79), g = i.default.mark(E), _ = i.default.mark(C); function T(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function S(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? T(Object(r), !0).forEach((function(t) { (0, a.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : T(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function A() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0; return new Date(Date.now() + e).toISOString() } function E(e, t, r, n, a) { var c, _, T, E, C, O, w, I, P, x, N, k; return i.default.wrap((function(g) { for (;;) switch (g.prev = g.next) { case 0: return c = a.meta.method, _ = a.payload.activity, g.next = 3, (0, s.select)((0, f.default)({ clockSkewAdjustment: l.default, locale: p.default })); case 3: return T = g.sent, E = T.clockSkewAdjustment, C = T.locale, O = _.attachments, w = (0, m.default)(), _ = S(S({}, (0, h.default)(_, "id")), {}, { attachments: O && O.map((function(e) { return { contentType: e.contentType, contentUrl: e.contentUrl, name: e.name, thumbnailUrl: e.thumbnailUrl } })), channelData: S(S({}, (0, h.default)(_.channelData, "state")), {}, { clientActivityID: w, clientTimestamp: A() }), channelId: "webchat", from: { id: t, name: r, role: "user" }, locale: C, timestamp: A(E) }), n || (_.entities = [].concat((0, o.default)(_.entities || []), [{ requiresBotState: !0, supportsListening: !0, supportsTts: !0, type: "ClientCapabilities" }])), I = { clientActivityID: w, method: c }, g.next = 13, (0, s.put)({ type: y.POST_ACTIVITY_PENDING, meta: I, payload: { activity: _ } }); case 13: return g.prev = 13, P = (0, s.call)(i.default.mark((function e() { var t, r, n, o, a; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, s.take)(b.INCOMING_ACTIVITY); case 2: if (t = e.sent, r = t.payload.activity, n = r.channelData, o = void 0 === n ? {} : n, a = r.id, o.clientActivityID !== w || !a) { e.next = 7; break } return e.abrupt("return", r); case 7: e.next = 0; break; case 9: case "end": return e.stop() } }), e) }))), g.next = 17, (0, s.select)(d.default); case 17: return x = g.sent, g.next = 20, (0, s.race)({ send: (0, s.all)({ echoBack: P, postActivity: (0, u.default)(e.postActivity(_)) }), timeout: (0, s.call)((function() { return (0, v.default)(x).then((function() { return Promise.reject(new Error("timeout")) })) })) }); case 20: return N = g.sent, k = N.send.echoBack, g.next = 24, (0, s.put)({ type: y.POST_ACTIVITY_FULFILLED, meta: I, payload: { activity: k } }); case 24: g.next = 30; break; case 26: return g.prev = 26, g.t0 = g.catch(13), g.next = 30, (0, s.put)({ type: y.POST_ACTIVITY_REJECTED, error: !0, meta: I, payload: g.t0 }); case 30: return g.prev = 30, g.next = 33, (0, s.cancelled)(); case 33: if (!g.sent) { g.next = 36; break } return g.next = 36, (0, s.put)({ type: y.POST_ACTIVITY_REJECTED, error: !0, meta: I, payload: new Error("cancelled") }); case 36: return g.finish(30); case 37: case "end": return g.stop() } }), g, null, [ [13, 26, 30, 37] ]) } function C() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, c.default)(i.default.mark((function e(t) { var r, n, o, a; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return r = t.directLine, n = t.userID, o = t.username, a = 0, e.next = 4, (0, s.takeEvery)(y.POST_ACTIVITY, i.default.mark((function e(t) { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.delegateYield(E(r, n, o, a++, t), "t0", 1); case 1: case "end": return e.stop() } }), e) }))); case 4: case "end": return e.stop() } }), e) }))); case 2: case "end": return e.stop() } }), _) } }, function(e, t) { e.exports = function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } } }, function(e, t) { e.exports = function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to spread non-iterable instance") } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return (0, o.call)(i.default.mark((function t() { var r; return i.default.wrap((function(t) { for (;;) switch (t.prev = t.next) { case 0: return t.prev = 0, t.next = 3, (0, o.call)((function() { return new Promise((function(t, n) { r = e.subscribe({ complete: t, error: n, next: t }) })) })); case 3: return t.abrupt("return", t.sent); case 4: return t.prev = 4, r && r.unsubscribe(), t.finish(4); case 7: case "end": return t.stop() } }), t, null, [ [0, , 4, 7] ]) }))) }; var i = n(r(17)), o = r(18) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; t.default = function(e) { return e.clockSkewAdjustment } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { if (Array.isArray(e)) return function(t) { return e.reduce((function(e, r) { return [].concat((0, o.default)(e), [r(t)]) }), []) }; return function(t) { return Object.keys(e).reduce((function(r, n) { return s(s({}, r), {}, (0, i.default)({}, n, e[n](t))) }), {}) } }; var i = n(r(494)), o = n(r(493)); function a(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function s(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? a(Object(r), !0).forEach((function(t) { (0, i.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : a(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; t.default = function(e) { return e.language } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; t.default = function(e) { return e.sendTimeout } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { if (!e) return e; e[t]; return (0, o.default)(e, [t].map(a)) }; var i = n(r(374)), o = n(r(1054)); function a(e) { var t = function(e, t) { if ("object" !== (0, i.default)(e) || null === e) return e; var r = e[Symbol.toPrimitive]; if (void 0 !== r) { var n = r.call(e, t || "default"); if ("object" !== (0, i.default)(n)) return n; throw new TypeError("@@toPrimitive must return a primitive value.") } return ("string" === t ? String : Number)(e) }(e, "string"); return "symbol" === (0, i.default)(t) ? t : String(t) } }, function(e, t, r) { var n = r(376); e.exports = function(e, t) { if (null == e) return {}; var r, i, o = n(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (i = 0; i < a.length; i++) r = a[i], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (o[r] = e[r]) } return o } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = h; var i = n(r(17)), o = r(18), a = r(495), s = n(r(33)), u = n(r(30)), c = i.default.mark(p), l = i.default.mark(d), f = i.default.mark(h); function p(e) { var t, r, n; return i.default.wrap((function(i) { for (;;) switch (i.prev = i.next) { case 0: return t = e.payload, r = t.name, n = t.value, i.next = 3, (0, o.put)((0, s.default)({ name: r, type: "event", value: n })); case 3: case "end": return i.stop() } }), c) } function d() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)((function(e) { var t = e.payload; return e.type === a.SEND_EVENT && t.name }), p); case 2: case "end": return e.stop() } }), l) } function h() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, u.default)(d); case 2: case "end": return e.stop() } }), f) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = m; var i = n(r(17)), o = r(18), a = r(496), s = n(r(1057)), u = n(r(33)), c = n(r(30)), l = i.default.mark(h), f = i.default.mark(v), p = i.default.mark(m), d = s.default.getType.bind(s.default); function h(e) { var t; return i.default.wrap((function(r) { for (;;) switch (r.prev = r.next) { case 0: return t = e.payload.files, r.next = 3, (0, o.put)((0, u.default)({ attachments: [].map.call(t, (function(e) { var t = e.name, r = e.thumbnail, n = e.url; return { contentType: d(t) || "application/octet-stream", contentUrl: n, name: t, thumbnailUrl: r } })), channelData: { attachmentSizes: [].map.call(t, (function(e) { return e.size })) }, type: "message" })); case 3: case "end": return r.stop() } }), l) } function v() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)((function(e) { var t = e.payload; return e.type === a.SEND_FILES && t.files.length }), h); case 2: case "end": return e.stop() } }), f) } function m() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, c.default)(v); case 2: case "end": return e.stop() } }), p) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = new(n(r(1058)).default)(r(1059), r(1060)); t.default = i }, function(e, t, r) { "use strict"; function n() { this._types = Object.create(null), this._extensions = Object.create(null); for (var e = 0; e < arguments.length; e++) this.define(arguments[e]); this.define = this.define.bind(this), this.getType = this.getType.bind(this), this.getExtension = this.getExtension.bind(this) } n.prototype.define = function(e, t) { for (var r in e) { var n = e[r].map((function(e) { return e.toLowerCase() })); r = r.toLowerCase(); for (var i = 0; i < n.length; i++) { if ("*" != (o = n[i])[0]) { if (!t && o in this._types) throw new Error('Attempt to change mapping for "' + o + '" extension from "' + this._types[o] + '" to "' + r + '". Pass `force=true` to allow this, otherwise remove "' + o + '" from the list of extensions for "' + r + '".'); this._types[o] = r } } if (t || !this._extensions[r]) { var o = n[0]; this._extensions[r] = "*" != o[0] ? o : o.substr(1) } } }, n.prototype.getType = function(e) { var t = (e = String(e)).replace(/^.*[/\\]/, "").toLowerCase(), r = t.replace(/^.*\./, "").toLowerCase(), n = t.length < e.length; return (r.length < t.length - 1 || !n) && this._types[r] || null }, n.prototype.getExtension = function(e) { return (e = /^\s*([^;\s]*)/.test(e) && RegExp.$1) && this._extensions[e.toLowerCase()] || null }, e.exports = n }, function(e, t) { e.exports = { "application/andrew-inset": ["ez"], "application/applixware": ["aw"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomsvc+xml": ["atomsvc"], "application/bdoc": ["bdoc"], "application/ccxml+xml": ["ccxml"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cu-seeme": ["cu"], "application/dash+xml": ["mpd"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma", "es"], "application/emma+xml": ["emma"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/font-tdpfr": ["pfr"], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hjson": ["hjson"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["js", "mjs"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["mp4s", "m4p"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/n-quads": ["nq"], "application/n-triples": ["nt"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-signature": ["asc", "sig"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf", "owl"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/sieve": ["siv", "sieve"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/xaml+xml": ["xaml"], "application/xcap-diff+xml": ["xdf"], "application/xenc+xml": ["xenc"], "application/xhtml+xml": ["xhtml", "xht"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": ["*3gpp"], "audio/adpcm": ["adp"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mp3": ["*mp3"], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/wav": ["wav"], "audio/wave": ["*wav"], "audio/webm": ["weba"], "audio/xm": ["xm"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/aces": ["exr"], "image/apng": ["apng"], "image/bmp": ["bmp"], "image/cgm": ["cgm"], "image/dicom-rle": ["drle"], "image/emf": ["emf"], "image/fits": ["fits"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/heic": ["heic"], "image/heic-sequence": ["heics"], "image/heif": ["heif"], "image/heif-sequence": ["heifs"], "image/ief": ["ief"], "image/jls": ["jls"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jpm": ["jpm"], "image/jpx": ["jpx", "jpf"], "image/jxr": ["jxr"], "image/ktx": ["ktx"], "image/png": ["png"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/t38": ["t38"], "image/tiff": ["tif", "tiff"], "image/tiff-fx": ["tfx"], "image/webp": ["webp"], "image/wmf": ["wmf"], "message/disposition-notification": ["disposition-notification"], "message/global": ["u8msg"], "message/global-delivery-status": ["u8dsn"], "message/global-disposition-notification": ["u8mdn"], "message/global-headers": ["u8hdr"], "message/rfc822": ["eml", "mime"], "model/3mf": ["3mf"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/mesh": ["msh", "mesh", "silo"], "model/stl": ["stl"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["*x3db", "x3dbz"], "model/x3d+fastinfoset": ["x3db"], "model/x3d+vrml": ["*x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "model/x3d-vrml": ["x3dv"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["markdown", "md"], "text/mathml": ["mml"], "text/mdx": ["mdx"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/richtext": ["rtx"], "text/rtf": ["*rtf"], "text/sgml": ["sgml", "sgm"], "text/shex": ["shex"], "text/slim": ["slim", "slm"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vtt": ["vtt"], "text/xml": ["*xml"], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/jpeg": ["jpgv"], "video/jpm": ["*jpm", "jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/webm": ["webm"] } }, function(e, t) { e.exports = { "application/prs.cww": ["cww"], "application/vnd.3gpp.pic-bw-large": ["plb"], "application/vnd.3gpp.pic-bw-small": ["psb"], "application/vnd.3gpp.pic-bw-var": ["pvb"], "application/vnd.3gpp2.tcap": ["tcap"], "application/vnd.3m.post-it-notes": ["pwn"], "application/vnd.accpac.simply.aso": ["aso"], "application/vnd.accpac.simply.imp": ["imp"], "application/vnd.acucobol": ["acu"], "application/vnd.acucorp": ["atc", "acutc"], "application/vnd.adobe.air-application-installer-package+zip": ["air"], "application/vnd.adobe.formscentral.fcdt": ["fcdt"], "application/vnd.adobe.fxp": ["fxp", "fxpl"], "application/vnd.adobe.xdp+xml": ["xdp"], "application/vnd.adobe.xfdf": ["xfdf"], "application/vnd.ahead.space": ["ahead"], "application/vnd.airzip.filesecure.azf": ["azf"], "application/vnd.airzip.filesecure.azs": ["azs"], "application/vnd.amazon.ebook": ["azw"], "application/vnd.americandynamics.acc": ["acc"], "application/vnd.amiga.ami": ["ami"], "application/vnd.android.package-archive": ["apk"], "application/vnd.anser-web-certificate-issue-initiation": ["cii"], "application/vnd.anser-web-funds-transfer-initiation": ["fti"], "application/vnd.antix.game-component": ["atx"], "application/vnd.apple.installer+xml": ["mpkg"], "application/vnd.apple.keynote": ["keynote"], "application/vnd.apple.mpegurl": ["m3u8"], "application/vnd.apple.numbers": ["numbers"], "application/vnd.apple.pages": ["pages"], "application/vnd.apple.pkpass": ["pkpass"], "application/vnd.aristanetworks.swi": ["swi"], "application/vnd.astraea-software.iota": ["iota"], "application/vnd.audiograph": ["aep"], "application/vnd.blueice.multipass": ["mpm"], "application/vnd.bmi": ["bmi"], "application/vnd.businessobjects": ["rep"], "application/vnd.chemdraw+xml": ["cdxml"], "application/vnd.chipnuts.karaoke-mmd": ["mmd"], "application/vnd.cinderella": ["cdy"], "application/vnd.citationstyles.style+xml": ["csl"], "application/vnd.claymore": ["cla"], "application/vnd.cloanto.rp9": ["rp9"], "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"], "application/vnd.cluetrust.cartomobile-config": ["c11amc"], "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"], "application/vnd.commonspace": ["csp"], "application/vnd.contact.cmsg": ["cdbcmsg"], "application/vnd.cosmocaller": ["cmc"], "application/vnd.crick.clicker": ["clkx"], "application/vnd.crick.clicker.keyboard": ["clkk"], "application/vnd.crick.clicker.palette": ["clkp"], "application/vnd.crick.clicker.template": ["clkt"], "application/vnd.crick.clicker.wordbank": ["clkw"], "application/vnd.criticaltools.wbs+xml": ["wbs"], "application/vnd.ctc-posml": ["pml"], "application/vnd.cups-ppd": ["ppd"], "application/vnd.curl.car": ["car"], "application/vnd.curl.pcurl": ["pcurl"], "application/vnd.dart": ["dart"], "application/vnd.data-vision.rdz": ["rdz"], "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"], "application/vnd.dece.ttml+xml": ["uvt", "uvvt"], "application/vnd.dece.unspecified": ["uvx", "uvvx"], "application/vnd.dece.zip": ["uvz", "uvvz"], "application/vnd.denovo.fcselayout-link": ["fe_launch"], "application/vnd.dna": ["dna"], "application/vnd.dolby.mlp": ["mlp"], "application/vnd.dpgraph": ["dpg"], "application/vnd.dreamfactory": ["dfac"], "application/vnd.ds-keypoint": ["kpxx"], "application/vnd.dvb.ait": ["ait"], "application/vnd.dvb.service": ["svc"], "application/vnd.dynageo": ["geo"], "application/vnd.ecowin.chart": ["mag"], "application/vnd.enliven": ["nml"], "application/vnd.epson.esf": ["esf"], "application/vnd.epson.msf": ["msf"], "application/vnd.epson.quickanime": ["qam"], "application/vnd.epson.salt": ["slt"], "application/vnd.epson.ssf": ["ssf"], "application/vnd.eszigno3+xml": ["es3", "et3"], "application/vnd.ezpix-album": ["ez2"], "application/vnd.ezpix-package": ["ez3"], "application/vnd.fdf": ["fdf"], "application/vnd.fdsn.mseed": ["mseed"], "application/vnd.fdsn.seed": ["seed", "dataless"], "application/vnd.flographit": ["gph"], "application/vnd.fluxtime.clip": ["ftc"], "application/vnd.framemaker": ["fm", "frame", "maker", "book"], "application/vnd.frogans.fnc": ["fnc"], "application/vnd.frogans.ltf": ["ltf"], "application/vnd.fsc.weblaunch": ["fsc"], "application/vnd.fujitsu.oasys": ["oas"], "application/vnd.fujitsu.oasys2": ["oa2"], "application/vnd.fujitsu.oasys3": ["oa3"], "application/vnd.fujitsu.oasysgp": ["fg5"], "application/vnd.fujitsu.oasysprs": ["bh2"], "application/vnd.fujixerox.ddd": ["ddd"], "application/vnd.fujixerox.docuworks": ["xdw"], "application/vnd.fujixerox.docuworks.binder": ["xbd"], "application/vnd.fuzzysheet": ["fzs"], "application/vnd.genomatix.tuxedo": ["txd"], "application/vnd.geogebra.file": ["ggb"], "application/vnd.geogebra.tool": ["ggt"], "application/vnd.geometry-explorer": ["gex", "gre"], "application/vnd.geonext": ["gxt"], "application/vnd.geoplan": ["g2w"], "application/vnd.geospace": ["g3w"], "application/vnd.gmx": ["gmx"], "application/vnd.google-apps.document": ["gdoc"], "application/vnd.google-apps.presentation": ["gslides"], "application/vnd.google-apps.spreadsheet": ["gsheet"], "application/vnd.google-earth.kml+xml": ["kml"], "application/vnd.google-earth.kmz": ["kmz"], "application/vnd.grafeq": ["gqf", "gqs"], "application/vnd.groove-account": ["gac"], "application/vnd.groove-help": ["ghf"], "application/vnd.groove-identity-message": ["gim"], "application/vnd.groove-injector": ["grv"], "application/vnd.groove-tool-message": ["gtm"], "application/vnd.groove-tool-template": ["tpl"], "application/vnd.groove-vcard": ["vcg"], "application/vnd.hal+xml": ["hal"], "application/vnd.handheld-entertainment+xml": ["zmm"], "application/vnd.hbci": ["hbci"], "application/vnd.hhe.lesson-player": ["les"], "application/vnd.hp-hpgl": ["hpgl"], "application/vnd.hp-hpid": ["hpid"], "application/vnd.hp-hps": ["hps"], "application/vnd.hp-jlyt": ["jlt"], "application/vnd.hp-pcl": ["pcl"], "application/vnd.hp-pclxl": ["pclxl"], "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"], "application/vnd.ibm.minipay": ["mpy"], "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"], "application/vnd.ibm.rights-management": ["irm"], "application/vnd.ibm.secure-container": ["sc"], "application/vnd.iccprofile": ["icc", "icm"], "application/vnd.igloader": ["igl"], "application/vnd.immervision-ivp": ["ivp"], "application/vnd.immervision-ivu": ["ivu"], "application/vnd.insors.igm": ["igm"], "application/vnd.intercon.formnet": ["xpw", "xpx"], "application/vnd.intergeo": ["i2g"], "application/vnd.intu.qbo": ["qbo"], "application/vnd.intu.qfx": ["qfx"], "application/vnd.ipunplugged.rcprofile": ["rcprofile"], "application/vnd.irepository.package+xml": ["irp"], "application/vnd.is-xpr": ["xpr"], "application/vnd.isac.fcs": ["fcs"], "application/vnd.jam": ["jam"], "application/vnd.jcp.javame.midlet-rms": ["rms"], "application/vnd.jisp": ["jisp"], "application/vnd.joost.joda-archive": ["joda"], "application/vnd.kahootz": ["ktz", "ktr"], "application/vnd.kde.karbon": ["karbon"], "application/vnd.kde.kchart": ["chrt"], "application/vnd.kde.kformula": ["kfo"], "application/vnd.kde.kivio": ["flw"], "application/vnd.kde.kontour": ["kon"], "application/vnd.kde.kpresenter": ["kpr", "kpt"], "application/vnd.kde.kspread": ["ksp"], "application/vnd.kde.kword": ["kwd", "kwt"], "application/vnd.kenameaapp": ["htke"], "application/vnd.kidspiration": ["kia"], "application/vnd.kinar": ["kne", "knp"], "application/vnd.koan": ["skp", "skd", "skt", "skm"], "application/vnd.kodak-descriptor": ["sse"], "application/vnd.las.las+xml": ["lasxml"], "application/vnd.llamagraphics.life-balance.desktop": ["lbd"], "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"], "application/vnd.lotus-1-2-3": ["123"], "application/vnd.lotus-approach": ["apr"], "application/vnd.lotus-freelance": ["pre"], "application/vnd.lotus-notes": ["nsf"], "application/vnd.lotus-organizer": ["org"], "application/vnd.lotus-screencam": ["scm"], "application/vnd.lotus-wordpro": ["lwp"], "application/vnd.macports.portpkg": ["portpkg"], "application/vnd.mcd": ["mcd"], "application/vnd.medcalcdata": ["mc1"], "application/vnd.mediastation.cdkey": ["cdkey"], "application/vnd.mfer": ["mwf"], "application/vnd.mfmp": ["mfm"], "application/vnd.micrografx.flo": ["flo"], "application/vnd.micrografx.igx": ["igx"], "application/vnd.mif": ["mif"], "application/vnd.mobius.daf": ["daf"], "application/vnd.mobius.dis": ["dis"], "application/vnd.mobius.mbk": ["mbk"], "application/vnd.mobius.mqy": ["mqy"], "application/vnd.mobius.msl": ["msl"], "application/vnd.mobius.plc": ["plc"], "application/vnd.mobius.txf": ["txf"], "application/vnd.mophun.application": ["mpn"], "application/vnd.mophun.certificate": ["mpc"], "application/vnd.mozilla.xul+xml": ["xul"], "application/vnd.ms-artgalry": ["cil"], "application/vnd.ms-cab-compressed": ["cab"], "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"], "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"], "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"], "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"], "application/vnd.ms-excel.template.macroenabled.12": ["xltm"], "application/vnd.ms-fontobject": ["eot"], "application/vnd.ms-htmlhelp": ["chm"], "application/vnd.ms-ims": ["ims"], "application/vnd.ms-lrm": ["lrm"], "application/vnd.ms-officetheme": ["thmx"], "application/vnd.ms-outlook": ["msg"], "application/vnd.ms-pki.seccat": ["cat"], "application/vnd.ms-pki.stl": ["*stl"], "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"], "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"], "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"], "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"], "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"], "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"], "application/vnd.ms-project": ["mpp", "mpt"], "application/vnd.ms-word.document.macroenabled.12": ["docm"], "application/vnd.ms-word.template.macroenabled.12": ["dotm"], "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"], "application/vnd.ms-wpl": ["wpl"], "application/vnd.ms-xpsdocument": ["xps"], "application/vnd.mseq": ["mseq"], "application/vnd.musician": ["mus"], "application/vnd.muvee.style": ["msty"], "application/vnd.mynfc": ["taglet"], "application/vnd.neurolanguage.nlu": ["nlu"], "application/vnd.nitf": ["ntf", "nitf"], "application/vnd.noblenet-directory": ["nnd"], "application/vnd.noblenet-sealer": ["nns"], "application/vnd.noblenet-web": ["nnw"], "application/vnd.nokia.n-gage.data": ["ngdat"], "application/vnd.nokia.n-gage.symbian.install": ["n-gage"], "application/vnd.nokia.radio-preset": ["rpst"], "application/vnd.nokia.radio-presets": ["rpss"], "application/vnd.novadigm.edm": ["edm"], "application/vnd.novadigm.edx": ["edx"], "application/vnd.novadigm.ext": ["ext"], "application/vnd.oasis.opendocument.chart": ["odc"], "application/vnd.oasis.opendocument.chart-template": ["otc"], "application/vnd.oasis.opendocument.database": ["odb"], "application/vnd.oasis.opendocument.formula": ["odf"], "application/vnd.oasis.opendocument.formula-template": ["odft"], "application/vnd.oasis.opendocument.graphics": ["odg"], "application/vnd.oasis.opendocument.graphics-template": ["otg"], "application/vnd.oasis.opendocument.image": ["odi"], "application/vnd.oasis.opendocument.image-template": ["oti"], "application/vnd.oasis.opendocument.presentation": ["odp"], "application/vnd.oasis.opendocument.presentation-template": ["otp"], "application/vnd.oasis.opendocument.spreadsheet": ["ods"], "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"], "application/vnd.oasis.opendocument.text": ["odt"], "application/vnd.oasis.opendocument.text-master": ["odm"], "application/vnd.oasis.opendocument.text-template": ["ott"], "application/vnd.oasis.opendocument.text-web": ["oth"], "application/vnd.olpc-sugar": ["xo"], "application/vnd.oma.dd2+xml": ["dd2"], "application/vnd.openofficeorg.extension": ["oxt"], "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"], "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"], "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"], "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"], "application/vnd.osgeo.mapguide.package": ["mgp"], "application/vnd.osgi.dp": ["dp"], "application/vnd.osgi.subsystem": ["esa"], "application/vnd.palm": ["pdb", "pqa", "oprc"], "application/vnd.pawaafile": ["paw"], "application/vnd.pg.format": ["str"], "application/vnd.pg.osasli": ["ei6"], "application/vnd.picsel": ["efif"], "application/vnd.pmi.widget": ["wg"], "application/vnd.pocketlearn": ["plf"], "application/vnd.powerbuilder6": ["pbd"], "application/vnd.previewsystems.box": ["box"], "application/vnd.proteus.magazine": ["mgz"], "application/vnd.publishare-delta-tree": ["qps"], "application/vnd.pvi.ptid1": ["ptid"], "application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"], "application/vnd.realvnc.bed": ["bed"], "application/vnd.recordare.musicxml": ["mxl"], "application/vnd.recordare.musicxml+xml": ["musicxml"], "application/vnd.rig.cryptonote": ["cryptonote"], "application/vnd.rim.cod": ["cod"], "application/vnd.rn-realmedia": ["rm"], "application/vnd.rn-realmedia-vbr": ["rmvb"], "application/vnd.route66.link66+xml": ["link66"], "application/vnd.sailingtracker.track": ["st"], "application/vnd.seemail": ["see"], "application/vnd.sema": ["sema"], "application/vnd.semd": ["semd"], "application/vnd.semf": ["semf"], "application/vnd.shana.informed.formdata": ["ifm"], "application/vnd.shana.informed.formtemplate": ["itp"], "application/vnd.shana.informed.interchange": ["iif"], "application/vnd.shana.informed.package": ["ipk"], "application/vnd.simtech-mindmapper": ["twd", "twds"], "application/vnd.smaf": ["mmf"], "application/vnd.smart.teacher": ["teacher"], "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"], "application/vnd.spotfire.dxp": ["dxp"], "application/vnd.spotfire.sfs": ["sfs"], "application/vnd.stardivision.calc": ["sdc"], "application/vnd.stardivision.draw": ["sda"], "application/vnd.stardivision.impress": ["sdd"], "application/vnd.stardivision.math": ["smf"], "application/vnd.stardivision.writer": ["sdw", "vor"], "application/vnd.stardivision.writer-global": ["sgl"], "application/vnd.stepmania.package": ["smzip"], "application/vnd.stepmania.stepchart": ["sm"], "application/vnd.sun.wadl+xml": ["wadl"], "application/vnd.sun.xml.calc": ["sxc"], "application/vnd.sun.xml.calc.template": ["stc"], "application/vnd.sun.xml.draw": ["sxd"], "application/vnd.sun.xml.draw.template": ["std"], "application/vnd.sun.xml.impress": ["sxi"], "application/vnd.sun.xml.impress.template": ["sti"], "application/vnd.sun.xml.math": ["sxm"], "application/vnd.sun.xml.writer": ["sxw"], "application/vnd.sun.xml.writer.global": ["sxg"], "application/vnd.sun.xml.writer.template": ["stw"], "application/vnd.sus-calendar": ["sus", "susp"], "application/vnd.svd": ["svd"], "application/vnd.symbian.install": ["sis", "sisx"], "application/vnd.syncml+xml": ["xsm"], "application/vnd.syncml.dm+wbxml": ["bdm"], "application/vnd.syncml.dm+xml": ["xdm"], "application/vnd.tao.intent-module-archive": ["tao"], "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"], "application/vnd.tmobile-livetv": ["tmo"], "application/vnd.trid.tpt": ["tpt"], "application/vnd.triscape.mxs": ["mxs"], "application/vnd.trueapp": ["tra"], "application/vnd.ufdl": ["ufd", "ufdl"], "application/vnd.uiq.theme": ["utz"], "application/vnd.umajin": ["umj"], "application/vnd.unity": ["unityweb"], "application/vnd.uoml+xml": ["uoml"], "application/vnd.vcx": ["vcx"], "application/vnd.visio": ["vsd", "vst", "vss", "vsw"], "application/vnd.visionary": ["vis"], "application/vnd.vsf": ["vsf"], "application/vnd.wap.wbxml": ["wbxml"], "application/vnd.wap.wmlc": ["wmlc"], "application/vnd.wap.wmlscriptc": ["wmlsc"], "application/vnd.webturbo": ["wtb"], "application/vnd.wolfram.player": ["nbp"], "application/vnd.wordperfect": ["wpd"], "application/vnd.wqd": ["wqd"], "application/vnd.wt.stf": ["stf"], "application/vnd.xara": ["xar"], "application/vnd.xfdl": ["xfdl"], "application/vnd.yamaha.hv-dic": ["hvd"], "application/vnd.yamaha.hv-script": ["hvs"], "application/vnd.yamaha.hv-voice": ["hvp"], "application/vnd.yamaha.openscoreformat": ["osf"], "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"], "application/vnd.yamaha.smaf-audio": ["saf"], "application/vnd.yamaha.smaf-phrase": ["spf"], "application/vnd.yellowriver-custom-menu": ["cmp"], "application/vnd.zul": ["zir", "zirz"], "application/vnd.zzazz.deck+xml": ["zaz"], "application/x-7z-compressed": ["7z"], "application/x-abiword": ["abw"], "application/x-ace-compressed": ["ace"], "application/x-apple-diskimage": ["*dmg"], "application/x-arj": ["arj"], "application/x-authorware-bin": ["aab", "x32", "u32", "vox"], "application/x-authorware-map": ["aam"], "application/x-authorware-seg": ["aas"], "application/x-bcpio": ["bcpio"], "application/x-bdoc": ["*bdoc"], "application/x-bittorrent": ["torrent"], "application/x-blorb": ["blb", "blorb"], "application/x-bzip": ["bz"], "application/x-bzip2": ["bz2", "boz"], "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"], "application/x-cdlink": ["vcd"], "application/x-cfs-compressed": ["cfs"], "application/x-chat": ["chat"], "application/x-chess-pgn": ["pgn"], "application/x-chrome-extension": ["crx"], "application/x-cocoa": ["cco"], "application/x-conference": ["nsc"], "application/x-cpio": ["cpio"], "application/x-csh": ["csh"], "application/x-debian-package": ["*deb", "udeb"], "application/x-dgc-compressed": ["dgc"], "application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"], "application/x-doom": ["wad"], "application/x-dtbncx+xml": ["ncx"], "application/x-dtbook+xml": ["dtb"], "application/x-dtbresource+xml": ["res"], "application/x-dvi": ["dvi"], "application/x-envoy": ["evy"], "application/x-eva": ["eva"], "application/x-font-bdf": ["bdf"], "application/x-font-ghostscript": ["gsf"], "application/x-font-linux-psf": ["psf"], "application/x-font-pcf": ["pcf"], "application/x-font-snf": ["snf"], "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"], "application/x-freearc": ["arc"], "application/x-futuresplash": ["spl"], "application/x-gca-compressed": ["gca"], "application/x-glulx": ["ulx"], "application/x-gnumeric": ["gnumeric"], "application/x-gramps-xml": ["gramps"], "application/x-gtar": ["gtar"], "application/x-hdf": ["hdf"], "application/x-httpd-php": ["php"], "application/x-install-instructions": ["install"], "application/x-iso9660-image": ["*iso"], "application/x-java-archive-diff": ["jardiff"], "application/x-java-jnlp-file": ["jnlp"], "application/x-latex": ["latex"], "application/x-lua-bytecode": ["luac"], "application/x-lzh-compressed": ["lzh", "lha"], "application/x-makeself": ["run"], "application/x-mie": ["mie"], "application/x-mobipocket-ebook": ["prc", "mobi"], "application/x-ms-application": ["application"], "application/x-ms-shortcut": ["lnk"], "application/x-ms-wmd": ["wmd"], "application/x-ms-wmz": ["wmz"], "application/x-ms-xbap": ["xbap"], "application/x-msaccess": ["mdb"], "application/x-msbinder": ["obd"], "application/x-mscardfile": ["crd"], "application/x-msclip": ["clp"], "application/x-msdos-program": ["*exe"], "application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"], "application/x-msmediaview": ["mvb", "m13", "m14"], "application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"], "application/x-msmoney": ["mny"], "application/x-mspublisher": ["pub"], "application/x-msschedule": ["scd"], "application/x-msterminal": ["trm"], "application/x-mswrite": ["wri"], "application/x-netcdf": ["nc", "cdf"], "application/x-ns-proxy-autoconfig": ["pac"], "application/x-nzb": ["nzb"], "application/x-perl": ["pl", "pm"], "application/x-pilot": ["*prc", "*pdb"], "application/x-pkcs12": ["p12", "pfx"], "application/x-pkcs7-certificates": ["p7b", "spc"], "application/x-pkcs7-certreqresp": ["p7r"], "application/x-rar-compressed": ["rar"], "application/x-redhat-package-manager": ["rpm"], "application/x-research-info-systems": ["ris"], "application/x-sea": ["sea"], "application/x-sh": ["sh"], "application/x-shar": ["shar"], "application/x-shockwave-flash": ["swf"], "application/x-silverlight-app": ["xap"], "application/x-sql": ["sql"], "application/x-stuffit": ["sit"], "application/x-stuffitx": ["sitx"], "application/x-subrip": ["srt"], "application/x-sv4cpio": ["sv4cpio"], "application/x-sv4crc": ["sv4crc"], "application/x-t3vm-image": ["t3"], "application/x-tads": ["gam"], "application/x-tar": ["tar"], "application/x-tcl": ["tcl", "tk"], "application/x-tex": ["tex"], "application/x-tex-tfm": ["tfm"], "application/x-texinfo": ["texinfo", "texi"], "application/x-tgif": ["obj"], "application/x-ustar": ["ustar"], "application/x-virtualbox-hdd": ["hdd"], "application/x-virtualbox-ova": ["ova"], "application/x-virtualbox-ovf": ["ovf"], "application/x-virtualbox-vbox": ["vbox"], "application/x-virtualbox-vbox-extpack": ["vbox-extpack"], "application/x-virtualbox-vdi": ["vdi"], "application/x-virtualbox-vhd": ["vhd"], "application/x-virtualbox-vmdk": ["vmdk"], "application/x-wais-source": ["src"], "application/x-web-app-manifest+json": ["webapp"], "application/x-x509-ca-cert": ["der", "crt", "pem"], "application/x-xfig": ["fig"], "application/x-xliff+xml": ["xlf"], "application/x-xpinstall": ["xpi"], "application/x-xz": ["xz"], "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"], "audio/vnd.dece.audio": ["uva", "uvva"], "audio/vnd.digital-winds": ["eol"], "audio/vnd.dra": ["dra"], "audio/vnd.dts": ["dts"], "audio/vnd.dts.hd": ["dtshd"], "audio/vnd.lucent.voice": ["lvp"], "audio/vnd.ms-playready.media.pya": ["pya"], "audio/vnd.nuera.ecelp4800": ["ecelp4800"], "audio/vnd.nuera.ecelp7470": ["ecelp7470"], "audio/vnd.nuera.ecelp9600": ["ecelp9600"], "audio/vnd.rip": ["rip"], "audio/x-aac": ["aac"], "audio/x-aiff": ["aif", "aiff", "aifc"], "audio/x-caf": ["caf"], "audio/x-flac": ["flac"], "audio/x-m4a": ["*m4a"], "audio/x-matroska": ["mka"], "audio/x-mpegurl": ["m3u"], "audio/x-ms-wax": ["wax"], "audio/x-ms-wma": ["wma"], "audio/x-pn-realaudio": ["ram", "ra"], "audio/x-pn-realaudio-plugin": ["rmp"], "audio/x-realaudio": ["*ra"], "audio/x-wav": ["*wav"], "chemical/x-cdx": ["cdx"], "chemical/x-cif": ["cif"], "chemical/x-cmdf": ["cmdf"], "chemical/x-cml": ["cml"], "chemical/x-csml": ["csml"], "chemical/x-xyz": ["xyz"], "image/prs.btif": ["btif"], "image/prs.pti": ["pti"], "image/vnd.adobe.photoshop": ["psd"], "image/vnd.airzip.accelerator.azv": ["azv"], "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"], "image/vnd.djvu": ["djvu", "djv"], "image/vnd.dvb.subtitle": ["*sub"], "image/vnd.dwg": ["dwg"], "image/vnd.dxf": ["dxf"], "image/vnd.fastbidsheet": ["fbs"], "image/vnd.fpx": ["fpx"], "image/vnd.fst": ["fst"], "image/vnd.fujixerox.edmics-mmr": ["mmr"], "image/vnd.fujixerox.edmics-rlc": ["rlc"], "image/vnd.microsoft.icon": ["ico"], "image/vnd.ms-modi": ["mdi"], "image/vnd.ms-photo": ["wdp"], "image/vnd.net-fpx": ["npx"], "image/vnd.tencent.tap": ["tap"], "image/vnd.valve.source.texture": ["vtf"], "image/vnd.wap.wbmp": ["wbmp"], "image/vnd.xiff": ["xif"], "image/vnd.zbrush.pcx": ["pcx"], "image/x-3ds": ["3ds"], "image/x-cmu-raster": ["ras"], "image/x-cmx": ["cmx"], "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"], "image/x-icon": ["*ico"], "image/x-jng": ["jng"], "image/x-mrsid-image": ["sid"], "image/x-ms-bmp": ["*bmp"], "image/x-pcx": ["*pcx"], "image/x-pict": ["pic", "pct"], "image/x-portable-anymap": ["pnm"], "image/x-portable-bitmap": ["pbm"], "image/x-portable-graymap": ["pgm"], "image/x-portable-pixmap": ["ppm"], "image/x-rgb": ["rgb"], "image/x-tga": ["tga"], "image/x-xbitmap": ["xbm"], "image/x-xpixmap": ["xpm"], "image/x-xwindowdump": ["xwd"], "message/vnd.wfa.wsc": ["wsc"], "model/vnd.collada+xml": ["dae"], "model/vnd.dwf": ["dwf"], "model/vnd.gdl": ["gdl"], "model/vnd.gtw": ["gtw"], "model/vnd.mts": ["mts"], "model/vnd.opengex": ["ogex"], "model/vnd.parasolid.transmit.binary": ["x_b"], "model/vnd.parasolid.transmit.text": ["x_t"], "model/vnd.usdz+zip": ["usdz"], "model/vnd.valve.source.compiled-map": ["bsp"], "model/vnd.vtu": ["vtu"], "text/prs.lines.tag": ["dsc"], "text/vnd.curl": ["curl"], "text/vnd.curl.dcurl": ["dcurl"], "text/vnd.curl.mcurl": ["mcurl"], "text/vnd.curl.scurl": ["scurl"], "text/vnd.dvb.subtitle": ["sub"], "text/vnd.fly": ["fly"], "text/vnd.fmi.flexstor": ["flx"], "text/vnd.graphviz": ["gv"], "text/vnd.in3d.3dml": ["3dml"], "text/vnd.in3d.spot": ["spot"], "text/vnd.sun.j2me.app-descriptor": ["jad"], "text/vnd.wap.wml": ["wml"], "text/vnd.wap.wmlscript": ["wmls"], "text/x-asm": ["s", "asm"], "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"], "text/x-component": ["htc"], "text/x-fortran": ["f", "for", "f77", "f90"], "text/x-handlebars-template": ["hbs"], "text/x-java-source": ["java"], "text/x-lua": ["lua"], "text/x-markdown": ["mkd"], "text/x-nfo": ["nfo"], "text/x-opml": ["opml"], "text/x-org": ["*org"], "text/x-pascal": ["p", "pas"], "text/x-processing": ["pde"], "text/x-sass": ["sass"], "text/x-scss": ["scss"], "text/x-setext": ["etx"], "text/x-sfv": ["sfv"], "text/x-suse-ymp": ["ymp"], "text/x-uuencode": ["uu"], "text/x-vcalendar": ["vcs"], "text/x-vcard": ["vcf"], "video/vnd.dece.hd": ["uvh", "uvvh"], "video/vnd.dece.mobile": ["uvm", "uvvm"], "video/vnd.dece.pd": ["uvp", "uvvp"], "video/vnd.dece.sd": ["uvs", "uvvs"], "video/vnd.dece.video": ["uvv", "uvvv"], "video/vnd.dvb.file": ["dvb"], "video/vnd.fvt": ["fvt"], "video/vnd.mpegurl": ["mxu", "m4u"], "video/vnd.ms-playready.media.pyv": ["pyv"], "video/vnd.uvvu.mp4": ["uvu", "uvvu"], "video/vnd.vivo": ["viv"], "video/x-f4v": ["f4v"], "video/x-fli": ["fli"], "video/x-flv": ["flv"], "video/x-m4v": ["m4v"], "video/x-matroska": ["mkv", "mk3d", "mks"], "video/x-mng": ["mng"], "video/x-ms-asf": ["asf", "asx"], "video/x-ms-vob": ["vob"], "video/x-ms-wm": ["wm"], "video/x-ms-wmv": ["wmv"], "video/x-ms-wmx": ["wmx"], "video/x-ms-wvx": ["wvx"], "video/x-msvideo": ["avi"], "video/x-sgi-movie": ["movie"], "video/x-smv": ["smv"], "x-conference/x-cooltalk": ["ice"] } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = h; var i = n(r(17)), o = r(18), a = r(497), s = n(r(33)), u = n(r(30)), c = i.default.mark(p), l = i.default.mark(d), f = i.default.mark(h); function p(e) { var t, r, n, a; return i.default.wrap((function(i) { for (;;) switch (i.prev = i.next) { case 0: return t = e.payload, r = t.displayText, n = t.text, a = t.value, i.next = 3, (0, o.put)((0, s.default)({ channelData: { messageBack: { displayText: r } }, text: n, type: "message", value: a })); case 3: case "end": return i.stop() } }), c) } function d() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)(a.SEND_MESSAGE_BACK, p); case 2: case "end": return e.stop() } }), l) } function h() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, u.default)(d); case 2: case "end": return e.stop() } }), f) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = h; var i = n(r(17)), o = r(18), a = r(281), s = n(r(33)), u = n(r(30)), c = i.default.mark(p), l = i.default.mark(d), f = i.default.mark(h); function p(e) { var t, r, n, a; return i.default.wrap((function(i) { for (;;) switch (i.prev = i.next) { case 0: return t = e.payload, r = t.channelData, n = t.method, a = t.text, i.next = 3, (0, o.put)((0, s.default)({ channelData: r, text: a, textFormat: "plain", type: "message" }, n)); case 3: case "end": return i.stop() } }), c) } function d() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)((function(e) { var t = e.payload; return e.type === a.SEND_MESSAGE && t.text }), p); case 2: case "end": return e.stop() } }), l) } function h() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, u.default)(d); case 2: case "end": return e.stop() } }), f) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = h; var i = n(r(17)), o = r(18), a = r(498), s = n(r(33)), u = n(r(30)), c = i.default.mark(p), l = i.default.mark(d), f = i.default.mark(h); function p(e) { var t; return i.default.wrap((function(r) { for (;;) switch (r.prev = r.next) { case 0: return t = e.payload.value, r.next = 3, (0, o.put)((0, s.default)({ channelData: { postBack: !0 }, text: "string" == typeof t ? t : void 0, type: "message", value: "string" != typeof t ? t : void 0 })); case 3: case "end": return r.stop() } }), c) } function d() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)(a.SEND_POST_BACK, p); case 2: case "end": return e.stop() } }), l) } function h() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, u.default)(d); case 2: case "end": return e.stop() } }), f) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = y; var i = n(r(17)), o = r(18), a = r(121), s = r(229), u = r(33), c = n(r(279)), l = n(r(1065)), f = n(r(278)), p = n(r(30)), d = i.default.mark(m), h = i.default.mark(y); function v(e) { return (0, o.take)((function(t) { var r = t.payload; return t.type === s.SET_SEND_TYPING_INDICATOR && !r.sendTypingIndicator == !e })) } function m() { var e; return i.default.wrap((function(t) { for (;;) switch (t.prev = t.next) { case 0: return t.next = 2, (0, o.select)(l.default); case 2: if (t.sent) { t.next = 6; break } return t.next = 6, v(!0); case 6: e = i.default.mark((function e() { var t, r; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return t = -1 / 0, e.next = 3, (0, o.takeLatest)((function(e) { var t = e.payload, r = e.type; return r === a.SET_SEND_BOX && t.text || r === u.POST_ACTIVITY && "typing" !== t.activity.type }), i.default.mark((function e(r) { var n, s; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (n = r.payload, r.type !== a.SET_SEND_BOX) { e.next = 11; break } if (!((s = 3e3 - Date.now() + t) > 0)) { e.next = 6; break } return e.next = 6, (0, o.call)(f.default, s); case 6: return e.next = 8, (0, o.put)((0, c.default)()); case 8: t = Date.now(), e.next = 12; break; case 11: "message" === n.activity.type && (t = -1 / 0); case 12: case "end": return e.stop() } }), e) }))); case 3: return r = e.sent, e.next = 6, v(!1); case 6: return e.next = 8, (0, o.cancel)(r); case 8: return e.next = 10, v(!0); case 10: case "end": return e.stop() } }), e) })); case 7: return t.delegateYield(e(), "t0", 8); case 8: t.next = 7; break; case 10: case "end": return t.stop() } }), d) } function y() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, p.default)(m); case 2: case "end": return e.stop() } }), h) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; t.default = function(e) { return e.sendTypingIndicator } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = y; var i = n(r(17)), o = r(18), a = r(79), s = r(163), u = n(r(120)), c = n(r(164)), l = n(r(1067)), f = n(r(1068)), p = n(r(165)), d = n(r(30)), h = i.default.mark(m), v = i.default.mark(y); function m(e) { var t; return i.default.wrap((function(r) { for (;;) switch (r.prev = r.next) { case 0: return t = e.userID, r.next = 3, (0, o.takeEvery)((function(e) { var r = e.payload; return (e.type === a.INCOMING_ACTIVITY && r.activity.from.id !== t && "user" !== r.activity.from.role) }), i.default.mark((function e(t) { var r, n, a; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return r = t.payload.activity, e.next = 3, (0, o.select)(l.default); case 3: if (n = e.sent, !(a = (0, f.default)(r) && n) || !(r.speak || r.text || ~(r.attachments || []).findIndex((function(e) { var t = e.content; return (t = void 0 === t ? {} : t).speak })))) { e.next = 8; break } return e.next = 8, (0, o.put)((0, u.default)(r, "speak", !0)); case 8: if (!a || "expectingInput" !== r.inputHint) { e.next = 13; break } return e.next = 11, (0, o.put)((0, c.default)(s.WILL_START)); case 11: e.next = 16; break; case 13: if ("ignoringInput" !== r.inputHint) { e.next = 16; break } return e.next = 16, (0, o.put)((0, p.default)()); case 16: case "end": return e.stop() } }), e) }))); case 3: case "end": return r.stop() } }), h) } function y() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, d.default)(m); case 2: case "end": return e.stop() } }), v) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; t.default = function(e) { return e.shouldSpeakIncomingActivity } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return e && e.from && "message" === e.type } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = m; var i = n(r(17)), o = r(18), a = r(120), s = r(280), u = r(164), c = r(163), l = n(r(1070)), f = n(r(492)), p = n(r(227)), d = i.default.mark(v), h = i.default.mark(m); function v() { var e; return i.default.wrap((function(t) { for (;;) switch (t.prev = t.next) { case 0: return t.next = 2, (0, o.select)((0, s.of)(f.default)); case 2: return e = t.sent, t.next = 5, (0, o.select)(l.default); case 5: if (t.sent !== c.WILL_START || e.length) { t.next = 9; break } return t.next = 9, (0, o.put)((0, p.default)()); case 9: case "end": return t.stop() } }), d) } function m() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)((function(e) { var t = e.type; return t === a.MARK_ACTIVITY || t === u.SET_DICTATE_STATE }), v); case 2: case "end": return e.stop() } }), h) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; t.default = function(e) { return e.dictateState } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = p; var i = n(r(17)), o = r(18), a = r(33), s = n(r(230)), u = n(r(30)), c = i.default.mark(f), l = i.default.mark(p); function f() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)((function(e) { var t = e.meta, r = e.payload; return e.type === a.POST_ACTIVITY_PENDING && "speech" === t.method && "message" === r.activity.type }), i.default.mark((function e() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.put)((0, s.default)()); case 2: case "end": return e.stop() } }), e) }))); case 2: case "end": return e.stop() } }), c) } function p() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, u.default)(f); case 2: case "end": return e.stop() } }), l) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = p; var i = n(r(17)), o = r(18), a = r(33), s = n(r(165)), u = n(r(30)), c = i.default.mark(f), l = i.default.mark(p); function f() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)((function(e) { var t = e.payload; return e.type === a.POST_ACTIVITY_PENDING && "message" === t.activity.type }), i.default.mark((function e() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.put)((0, s.default)()); case 2: case "end": return e.stop() } }), e) }))); case 2: case "end": return e.stop() } }), c) } function p() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, u.default)(f); case 2: case "end": return e.stop() } }), l) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = d; var i = n(r(17)), o = r(18), a = r(33), s = r(121), u = n(r(166)), c = n(r(30)), l = i.default.mark(p), f = i.default.mark(d); function p() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)((function(e) { var t = e.meta, r = e.payload, n = e.type; return n === s.SET_SEND_BOX && r.text || n === a.POST_ACTIVITY_PENDING && "speech" !== t.method && "message" === r.activity.type }), i.default.mark((function e() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.put)((0, u.default)()); case 2: case "end": return e.stop() } }), e) }))); case 2: case "end": return e.stop() } }), l) } function d() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, c.default)(p); case 2: case "end": return e.stop() } }), f) } }, function(e, t, r) { "use strict"; var n = r(5); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = h; var i = n(r(17)), o = r(18), a = r(499), s = n(r(1075)), u = n(r(281)), c = n(r(121)), l = n(r(30)), f = i.default.mark(d), p = i.default.mark(h); function d() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, o.takeEvery)(a.SUBMIT_SEND_BOX, i.default.mark((function e(t) { var r, n, a, l; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return r = t.payload, n = r.channelData, a = r.method, e.next = 3, (0, o.select)(s.default); case 3: if (!(l = e.sent)) { e.next = 9; break } return e.next = 7, (0, o.put)((0, u.default)(l.trim(), a, { channelData: n })); case 7: return e.next = 9, (0, o.put)((0, c.default)("")); case 9: case "end": return e.stop() } }), e) }))); case 2: case "end": return e.stop() } }), f) } function h() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, l.default)(d); case 2: case "end": return e.stop() } }), p) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; t.default = function(e) { return e.sendBoxValue } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = r(7), o = E(r(3)), a = E(r(1)), s = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = A(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), u = E(r(1107)), c = E(r(518)), l = E(r(1202)), f = E(r(1207)), p = E(r(564)), d = E(r(106)), h = E(r(583)), v = E(r(608)), m = E(r(613)), y = E(r(625)), b = E(r(1485)), g = E(r(1490)), _ = E(r(627)), T = E(r(534)), S = E(r(195)); function A() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return A = function() { return e }, e } function E(e) { return e && e.__esModule ? e : { default: e } } function C(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function O(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? C(Object(r), !0).forEach((function(t) { w(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : C(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function w(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function I() { return (I = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }).apply(this, arguments) } function P(e, t) { if (null == e) return {}; var r, n, i = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]) } return i } var x = (0, i.css)({ display: "flex", flexDirection: "column" }), N = (0, i.css)({ flexShrink: 0 }), k = (0, i.css)({ flexShrink: 0 }), R = (0, i.css)({ flexShrink: 0 }), L = (0, i.css)({ flex: 1 }), M = function(e) { var t = e.err, r = e.message, n = (0, S.default)(); return (0, s.useEffect)((function() { n(t || new Error(r), !1) }), [t, r, n]), !1 }; var j = function(e) { var t = e.activityMiddleware, r = e.activityStatusMiddleware, n = e.attachmentMiddleware, i = e.avatarMiddleware, a = e.className, S = e.disabled, A = e.toastMiddleware, E = e.typingIndicatorMiddleware, C = P(e, ["activityMiddleware", "activityStatusMiddleware", "attachmentMiddleware", "avatarMiddleware", "className", "disabled", "toastMiddleware", "typingIndicatorMiddleware"]), O = (0, s.useRef)(), w = (0, s.useRef)(), j = (0, s.useMemo)((function() { return function(e) { var t = (0, d.default)(e, (0, h.default)())({}); return function() { try { return t((function(e) { var t = e.activity; return function() { return s.default.createElement(M, { message: 'No activity found for type "'.concat(t.type, '".') }) } })).apply(void 0, arguments) } catch (t) { var e = function() { return s.default.createElement(_.default, { error: t, message: "Failed to render activity" }, s.default.createElement("pre", null, JSON.stringify(t, null, 2))) }; return e } } }(t) }), [t]), D = (0, s.useMemo)((function() { return function(e) { var t = (0, d.default)(e, (0, v.default)())({}); return function() { try { return t((function() { return !1 })).apply(void 0, arguments) } catch (t) { var e = t.message, r = t.stack; return s.default.createElement(_.default, { error: t, message: "Failed to render activity status" }, s.default.createElement("pre", null, JSON.stringify({ message: e, stack: r }, null, 2))) } } }(r) }), [r]), U = (0, s.useMemo)((function() { return function(e) { var t = (0, d.default)(e, (0, m.default)())({}); return function() { try { return t((function(e) { var t = e.attachment; return s.default.createElement(_.default, { message: "No renderer for this attachment" }, s.default.createElement("pre", null, JSON.stringify(t, null, 2))) })).apply(void 0, arguments) } catch (e) { return s.default.createElement(_.default, { error: e, message: "Failed to render attachment" }, s.default.createElement("pre", null, JSON.stringify(e, null, 2))) } } }(n) }), [n]), B = (0, s.useMemo)((function() { return function(e) { var t = (0, d.default)(e, (0, y.default)())({}); return function() { try { return t((function() { return !1 })).apply(void 0, arguments) } catch (e) { console.error("Failed to render avatar", e) } } }(i) }), [i]), F = (0, s.useMemo)((function() { return function(e) { var t = (0, d.default)(e, (0, b.default)())({}); return function() { try { return t((function(e) { var t = e.notification; return s.default.createElement(_.default, { message: "No renderer for this notification" }, s.default.createElement("pre", null, JSON.stringify(t, null, 2))) })).apply(void 0, arguments) } catch (t) { var e = t.message, r = t.stack; return console.error({ message: e, stack: r }), s.default.createElement(_.default, { error: t, message: "Failed to render notification" }, s.default.createElement("pre", null, JSON.stringify({ message: e, stack: r }, null, 2))) } } }(A) }), [A]), z = (0, s.useMemo)((function() { return function(e) { var t = (0, d.default)(e, (0, g.default)())({}); return function() { try { return t((function(e) { var t = e.activeTyping, r = e.typing, n = e.visible; return s.default.createElement(_.default, { message: "No renderer for typing indicator" }, s.default.createElement("pre", null, JSON.stringify({ activeTyping: t, typing: r, visible: n }, null, 2))) })).apply(void 0, arguments) } catch (t) { var e = t.message, r = t.stack; return console.error({ message: e, stack: r }), s.default.createElement(_.default, { error: t, message: "Failed to render typing indicator" }, s.default.createElement("pre", null, JSON.stringify({ message: e, stack: r }, null, 2))) } } }(E) }), [E]); return s.default.createElement(p.default, I({ activityRenderer: j, activityStatusRenderer: D, attachmentRenderer: U, avatarRenderer: B, disabled: S, mainFocusRef: O, sendBoxRef: w, toastRenderer: F, typingIndicatorRenderer: z }, C), (function(e) { var t = e.styleSet; return s.default.createElement(T.default, { className: (0, o.default)(x + "", t.root + "", a + ""), disabled: !!S, ref: O, role: "complementary", sendFocusRef: w }, !t.options.hideToaster && s.default.createElement(l.default, { className: R + "" }), s.default.createElement(f.default, { className: L + "" }), s.default.createElement(u.default, { className: N + "" }), !t.options.hideSendBox && s.default.createElement(c.default, { className: k + "" })) })) }, D = j; t.default = D, j.defaultProps = O(O({}, p.default.defaultProps), {}, { activityMiddleware: void 0, attachmentMiddleware: void 0, avatarMiddleware: void 0, className: "" }), j.propTypes = O(O({}, p.default.propTypes), {}, { activityMiddleware: a.default.func, attachmentMiddleware: a.default.func, avatarMiddleware: a.default.func, className: a.default.string }) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.StyleSheet = f; var n, i = r(282), o = (n = i) && n.__esModule ? n : { default: n }; function a(e) { return e[e.length - 1] } function s(e) { if (e.sheet) return e.sheet; for (var t = 0; t < document.styleSheets.length; t++) if (document.styleSheets[t].ownerNode === e) return document.styleSheets[t] } var u = "undefined" != typeof window, c = function() { if (u) { var e = document.createElement("div"); return e.innerHTML = "\x3c!--[if lt IE 10]><i></i><![endif]--\x3e", 1 === e.getElementsByTagName("i").length } }(); function l() { var e = document.createElement("style"); return e.type = "text/css", e.setAttribute("data-glamor", ""), e.appendChild(document.createTextNode("")), (document.head || document.getElementsByTagName("head")[0]).appendChild(e), e } function f() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.speedy, r = void 0 === t || t, n = e.maxLength, i = void 0 === n ? u && c ? 4e3 : 65e3 : n; this.isSpeedy = r, this.sheet = void 0, this.tags = [], this.maxLength = i, this.ctr = 0 }(0, o.default)(f.prototype, { getSheet: function() { return s(a(this.tags)) }, inject: function() { var e = this; if (this.injected) throw new Error("already injected stylesheet!"); u ? this.tags[0] = l() : this.sheet = { cssRules: [], insertRule: function(t) { e.sheet.cssRules.push({ cssText: t }) } }, this.injected = !0 }, speedy: function(e) { if (0 !== this.ctr) throw new Error("cannot change speedy mode after inserting any rule to sheet. Either call speedy(" + e + ") earlier in your app, or call flush() before speedy(" + e + ")"); this.isSpeedy = !!e }, _insert: function(e) { try { var t = this.getSheet(); t.insertRule(e, -1 !== e.indexOf("@import") ? 0 : t.cssRules.length) } catch (e) { 0 } }, insert: function(e) { if (u) if (this.isSpeedy && this.getSheet().insertRule) this._insert(e); else if (-1 !== e.indexOf("@import")) { var t = a(this.tags); t.insertBefore(document.createTextNode(e), t.firstChild) } else a(this.tags).appendChild(document.createTextNode(e)); else this.sheet.insertRule(e, -1 !== e.indexOf("@import") ? 0 : this.sheet.cssRules.length); return this.ctr++, u && this.ctr % this.maxLength == 0 && this.tags.push(l()), this.ctr - 1 }, delete: function(e) { return this.replace(e, "") }, flush: function() { u ? (this.tags.forEach((function(e) { return e.parentNode.removeChild(e) })), this.tags = [], this.sheet = null, this.ctr = 0) : this.sheet.cssRules = [], this.injected = !1 }, rules: function() { if (!u) return this.sheet.cssRules; var e = []; return this.tags.forEach((function(t) { return e.splice.apply(e, [e.length, 0].concat(function(e) { if (Array.isArray(e)) { for (var t = 0, r = Array(e.length); t < e.length; t++) r[t] = e[t]; return r } return Array.from(e) }(Array.from(s(t).cssRules)))) })), e } }) }, function(e, t, r) { "use strict"; var n = r(1079), i = /^-ms-/; e.exports = function(e) { return n(e.replace(i, "ms-")) } }, function(e, t, r) { "use strict"; var n = /-(.)/g; e.exports = function(e) { return e.replace(n, (function(e, t) { return t.toUpperCase() })) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = i(r(1081)); i(r(501)); function i(e) { return e && e.__esModule ? e : { default: e } } var o = n.default.isUnitlessNumber; t.default = function(e, t, r) { return null == t || "boolean" == typeof t || "" === t ? "" : isNaN(t) || 0 === t || o.hasOwnProperty(e) && o[e] ? "" + t : ("string" == typeof t && (t = t.trim()), t + "px") } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = { animationIterationCount: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridRow: !0, gridRowStart: !0, gridRowEnd: !0, gridColumn: !0, gridColumnStart: !0, gridColumnEnd: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 }; var i = ["Webkit", "ms", "Moz", "O"]; Object.keys(n).forEach((function(e) { i.forEach((function(t) { n[function(e, t) { return e + t.charAt(0).toUpperCase() + t.substring(1) }(t, e)] = n[e] })) })); var o = { isUnitlessNumber: n, shorthandPropertyExpansions: { background: { backgroundAttachment: !0, backgroundColor: !0, backgroundImage: !0, backgroundPositionX: !0, backgroundPositionY: !0, backgroundRepeat: !0 }, backgroundPosition: { backgroundPositionX: !0, backgroundPositionY: !0 }, border: { borderWidth: !0, borderStyle: !0, borderColor: !0 }, borderBottom: { borderBottomWidth: !0, borderBottomStyle: !0, borderBottomColor: !0 }, borderLeft: { borderLeftWidth: !0, borderLeftStyle: !0, borderLeftColor: !0 }, borderRight: { borderRightWidth: !0, borderRightStyle: !0, borderRightColor: !0 }, borderTop: { borderTopWidth: !0, borderTopStyle: !0, borderTopColor: !0 }, font: { fontStyle: !0, fontVariant: !0, fontWeight: !0, fontSize: !0, lineHeight: !0, fontFamily: !0 }, outline: { outlineWidth: !0, outlineStyle: !0, outlineColor: !0 } } }; t.default = o }, function(e, t, r) { "use strict"; function n(e) { return function() { return e } } var i = function() {}; i.thatReturns = n, i.thatReturnsFalse = n(!1), i.thatReturnsTrue = n(!0), i.thatReturnsNull = n(null), i.thatReturnsThis = function() { return this }, i.thatReturnsArgument = function(e) { return e }, e.exports = i }, function(e, t, r) { "use strict"; var n = r(1084), i = /^ms-/; e.exports = function(e) { return n(e).replace(i, "-ms-") } }, function(e, t, r) { "use strict"; var n = /([A-Z])/g; e.exports = function(e) { return e.replace(n, "-$1").toLowerCase() } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = {}; return function(r) { return t.hasOwnProperty(r) || (t[r] = e.call(this, r)), t[r] } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e }; function i(e) { if (function(e) { return null == e || !1 === e || "object" === (void 0 === e ? "undefined" : n(e)) && 0 === Object.keys(e).length }(e)) return null; if ("object" !== (void 0 === e ? "undefined" : n(e))) return e; for (var t = {}, r = Object.keys(e), i = !1, a = 0; a < r.length; a++) { var s = e[r[a]], u = o(s); null !== u && u === s || (i = !0), null !== u && (t[r[a]] = u) } return 0 === Object.keys(t).length ? null : i ? t : e } function o(e) { return Array.isArray(e) ? (r = !1, n = [], (t = e).forEach((function(e) { var t = o(e); null !== t && t === e || (r = !0), null !== t && n.push(t) })), 0 == n.length ? null : r ? n : t) : i(e); var t, r, n } t.default = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }; t.PluginSet = u, t.fallbacks = function(e) { if (Object.keys(e.style).map((function(t) { return Array.isArray(e.style[t]) })).indexOf(!0) >= 0) { var t = e.style, r = Object.keys(t).reduce((function(e, r) { return e[r] = Array.isArray(t[r]) ? t[r].join("; " + (0, o.processStyleName)(r) + ": ") : t[r], e }), {}); return (0, i.default)({}, e, { style: r }) } return e }, t.contentWrap = function(e) { if (e.style.content) { var t = e.style.content; return c.indexOf(t) >= 0 || /^(attr|calc|counters?|url)\(/.test(t) ? e : t.charAt(0) !== t.charAt(t.length - 1) || '"' !== t.charAt(0) && "'" !== t.charAt(0) ? n({}, e, { style: n({}, e.style, { content: '"' + t + '"' }) }) : e } return e }, t.prefixes = function(e) { return (0, i.default)({}, e, { style: (0, a.default)(n({}, e.style)) }) }; var i = s(r(282)), o = r(500), a = s(r(1088)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e) { this.fns = e || [] }(0, i.default)(u.prototype, { add: function() { for (var e = this, t = arguments.length, r = Array(t), n = 0; n < t; n++) r[n] = arguments[n]; r.forEach((function(t) { e.fns.indexOf(t) >= 0 || (e.fns = [t].concat(e.fns)) })) }, remove: function(e) { this.fns = this.fns.filter((function(t) { return t !== e })) }, clear: function() { this.fns = [] }, transform: function(e) { return this.fns.reduce((function(e, t) { return t(e) }), e) } }); var c = ["normal", "none", "counter", "open-quote", "close-quote", "no-open-quote", "no-close-quote", "initial", "inherit"] }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { for (var t in e) { var r = e[t], n = (0, o.default)(y, t, r, e, b); n && (e[t] = n), (0, i.default)(b, t, e) } return e }; var n = m(r(1089)), i = m(r(1090)), o = m(r(1091)), a = m(r(1092)), s = m(r(1093)), u = m(r(1094)), c = m(r(1095)), l = m(r(1096)), f = m(r(1097)), p = m(r(1098)), d = m(r(1099)), h = m(r(1100)), v = m(r(1101)); function m(e) { return e && e.__esModule ? e : { default: e } } var y = [s.default, a.default, u.default, l.default, f.default, p.default, d.default, h.default, v.default, c.default], b = n.default.prefixMap }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = ["Webkit"], i = ["Moz"], o = ["ms"], a = ["Webkit", "Moz"], s = ["Webkit", "ms"], u = ["Webkit", "Moz", "ms"]; t.default = { plugins: [], prefixMap: { appearance: a, userSelect: u, textEmphasisPosition: n, textEmphasis: n, textEmphasisStyle: n, textEmphasisColor: n, boxDecorationBreak: n, clipPath: n, maskImage: n, maskMode: n, maskRepeat: n, maskPosition: n, maskClip: n, maskOrigin: n, maskSize: n, maskComposite: n, mask: n, maskBorderSource: n, maskBorderMode: n, maskBorderSlice: n, maskBorderWidth: n, maskBorderOutset: n, maskBorderRepeat: n, maskBorder: n, maskType: n, textDecorationStyle: n, textDecorationSkip: n, textDecorationLine: n, textDecorationColor: n, filter: n, fontFeatureSettings: n, breakAfter: u, breakBefore: u, breakInside: u, columnCount: a, columnFill: a, columnGap: a, columnRule: a, columnRuleColor: a, columnRuleStyle: a, columnRuleWidth: a, columns: a, columnSpan: a, columnWidth: a, writingMode: s, flex: n, flexBasis: n, flexDirection: n, flexGrow: n, flexFlow: n, flexShrink: n, flexWrap: n, alignContent: n, alignItems: n, alignSelf: n, justifyContent: n, order: n, transform: n, transformOrigin: n, transformOriginX: n, transformOriginY: n, backfaceVisibility: n, perspective: n, perspectiveOrigin: n, transformStyle: n, transformOriginZ: n, animation: n, animationDelay: n, animationDirection: n, animationFillMode: n, animationDuration: n, animationIterationCount: n, animationName: n, animationPlayState: n, animationTimingFunction: n, backdropFilter: n, fontKerning: n, scrollSnapType: s, scrollSnapPointsX: s, scrollSnapPointsY: s, scrollSnapDestination: s, scrollSnapCoordinate: s, shapeImageThreshold: n, shapeImageMargin: n, shapeImageOutside: n, hyphens: u, flowInto: s, flowFrom: s, regionFragment: s, textAlignLast: i, tabSize: i, wrapFlow: o, wrapThrough: o, wrapMargin: o, gridTemplateColumns: o, gridTemplateRows: o, gridTemplateAreas: o, gridTemplate: o, gridAutoColumns: o, gridAutoRows: o, gridAutoFlow: o, grid: o, gridRowStart: o, gridColumnStart: o, gridRowEnd: o, gridRow: o, gridColumn: o, gridColumnEnd: o, gridColumnGap: o, gridRowGap: o, gridArea: o, gridGap: o, textSizeAdjust: s, borderImage: n, borderImageOutset: n, borderImageRepeat: n, borderImageSlice: n, borderImageSource: n, borderImageWidth: n, transitionDelay: n, transitionDuration: n, transitionProperty: n, transitionTimingFunction: n } }, e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r) { if (e.hasOwnProperty(t)) for (var n = e[t], i = 0, a = n.length; i < a; ++i) r[n[i] + (0, o.default)(t)] = r[t] }; var n, i = r(502), o = (n = i) && n.__esModule ? n : { default: n }; e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r, n, i) { for (var o = 0, a = e.length; o < a; ++o) { var s = e[o](t, r, n, i); if (s) return s } }, e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { if ("cursor" === e && i.hasOwnProperty(t)) return n.map((function(e) { return e + t })) }; var n = ["-webkit-", "-moz-", ""], i = { "zoom-in": !0, "zoom-out": !0, grab: !0, grabbing: !0 }; e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { if ("string" == typeof t && !(0, o.default)(t) && t.indexOf("cross-fade(") > -1) return a.map((function(e) { return t.replace(/cross-fade\(/g, e + "cross-fade(") })) }; var n, i = r(135), o = (n = i) && n.__esModule ? n : { default: n }; var a = ["-webkit-", ""]; e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { if ("string" == typeof t && !(0, o.default)(t) && t.indexOf("filter(") > -1) return a.map((function(e) { return t.replace(/filter\(/g, e + "filter(") })) }; var n, i = r(135), o = (n = i) && n.__esModule ? n : { default: n }; var a = ["-webkit-", ""]; e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { if ("display" === e && n.hasOwnProperty(t)) return n[t] }; var n = { flex: ["-webkit-box", "-moz-box", "-ms-flexbox", "-webkit-flex", "flex"], "inline-flex": ["-webkit-inline-box", "-moz-inline-box", "-ms-inline-flexbox", "-webkit-inline-flex", "inline-flex"] }; e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r) { "flexDirection" === e && "string" == typeof t && (t.indexOf("column") > -1 ? r.WebkitBoxOrient = "vertical" : r.WebkitBoxOrient = "horizontal", t.indexOf("reverse") > -1 ? r.WebkitBoxDirection = "reverse" : r.WebkitBoxDirection = "normal"); i.hasOwnProperty(e) && (r[i[e]] = n[t] || t) }; var n = { "space-around": "justify", "space-between": "justify", "flex-start": "start", "flex-end": "end", "wrap-reverse": "multiple", wrap: "multiple" }, i = { alignItems: "WebkitBoxAlign", justifyContent: "WebkitBoxPack", flexWrap: "WebkitBoxLines" }; e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { if ("string" == typeof t && !(0, o.default)(t) && s.test(t)) return a.map((function(e) { return e + t })) }; var n, i = r(135), o = (n = i) && n.__esModule ? n : { default: n }; var a = ["-webkit-", "-moz-", ""], s = /linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/; e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { if ("string" == typeof t && !(0, o.default)(t) && t.indexOf("image-set(") > -1) return a.map((function(e) { return t.replace(/image-set\(/g, e + "image-set(") })) }; var n, i = r(135), o = (n = i) && n.__esModule ? n : { default: n }; var a = ["-webkit-", ""]; e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { if ("position" === e && "sticky" === t) return ["-webkit-sticky", "sticky"] }, e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { if (i.hasOwnProperty(e) && o.hasOwnProperty(t)) return n.map((function(e) { return e + t })) }; var n = ["-webkit-", "-moz-", ""], i = { maxHeight: !0, maxWidth: !0, width: !0, height: !0, columnWidth: !0, minWidth: !0, minHeight: !0 }, o = { "min-content": !0, "max-content": !0, "fill-available": !0, "fit-content": !0, "contain-floats": !0 }; e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r, a) { if ("string" == typeof t && s.hasOwnProperty(e)) { var c = function(e, t) { if ((0, i.default)(e)) return e; for (var r = e.split(/,(?![^()]*(?:\([^()]*\))?\))/g), o = 0, a = r.length; o < a; ++o) { var s = r[o], c = [s]; for (var l in t) { var f = (0, n.default)(l); if (s.indexOf(f) > -1 && "order" !== f) for (var p = t[l], d = 0, h = p.length; d < h; ++d) c.unshift(s.replace(f, u[p[d]] + f)) } r[o] = c.join(",") } return r.join(",") }(t, a), l = c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e) { return !/-moz-|-ms-/.test(e) })).join(","); if (e.indexOf("Webkit") > -1) return l; var f = c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e) { return !/-webkit-|-ms-/.test(e) })).join(","); return e.indexOf("Moz") > -1 ? f : (r["Webkit" + (0, o.default)(e)] = l, r["Moz" + (0, o.default)(e)] = f, c) } }; var n = a(r(1102)), i = a(r(135)), o = a(r(502)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = { transition: !0, transitionProperty: !0, WebkitTransition: !0, WebkitTransitionProperty: !0, MozTransition: !0, MozTransitionProperty: !0 }, u = { Webkit: "-webkit-", Moz: "-moz-", ms: "-ms-" }; e.exports = t.default }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return (0, o.default)(e) }; var n, i = r(1103), o = (n = i) && n.__esModule ? n : { default: n }; e.exports = t.default }, function(e, t, r) { "use strict"; var n = /[A-Z]/g, i = /^ms-/, o = {}; function a(e) { return "-" + e.toLowerCase() } e.exports = function(e) { if (o.hasOwnProperty(e)) return o[e]; var t = e.replace(n, a); return o[e] = i.test(t) ? "-" + t : t } }, function(e, t, r) { "use strict"; function n(e, t) { return e.charCodeAt(t++) + (e.charCodeAt(t++) << 8) + (e.charCodeAt(t++) << 16) + (e.charCodeAt(t) << 24) } function i(e, t) { return e.charCodeAt(t++) + (e.charCodeAt(t++) << 8) } function o(e, t) { return (65535 & (e |= 0)) * (t |= 0) + (((e >>> 16) * t & 65535) << 16) | 0 } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { var r = 1540483477, a = t ^ e.length, s = e.length, u = 0; for (; s >= 4;) { var c = n(e, u); c = o(c, r), c = o(c ^= c >>> 24, r), a = o(a, r), a ^= c, u += 4, s -= 4 } switch (s) { case 3: a ^= i(e, u), a = o(a ^= e.charCodeAt(u + 2) << 16, r); break; case 2: a = o(a ^= i(e, u), r); break; case 1: a = o(a ^= e.charCodeAt(u), r) } return a = o(a ^= a >>> 13, r), (a ^= a >>> 15) >>> 0 } }, function(e, t, r) { "use strict"; var n = r(1106); function i() {} function o() {} o.resetWarningCache = i, e.exports = function() { function e(e, t, r, i, o, a) { if (a !== n) { var s = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"); throw s.name = "Invariant Violation", s } } function t() { return e } e.isRequired = e; var r = { array: e, bool: e, func: e, number: e, object: e, string: e, symbol: e, any: e, arrayOf: t, element: e, elementType: e, instanceOf: t, node: e, objectOf: t, oneOf: t, oneOfType: t, shape: t, exact: t, checkPropTypes: o, resetWarningCache: i }; return r.PropTypes = r, r } }, function(e, t, r) { "use strict"; e.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = c(r(0)), i = c(r(1108)), o = c(r(1159)), a = c(r(1163)), s = c(r(1164)), u = c(r(286)); function c(e) { return e && e.__esModule ? e : { default: e } } function l(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var f = function() { var e = l((0, u.default)(), 1)[0].connectivitystatus; if (!e) return !1; switch (e.message) { case "connecting": return n.default.createElement(o.default, null); case "javascripterror": return n.default.createElement(s.default, null); case "failedtoconnect": return n.default.createElement(a.default, null); case "reconnecting": return n.default.createElement(o.default, { reconnect: !0 }); case "connected": default: return n.default.createElement(i.default, null) } }; t.default = f }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = a(r(0)), i = a(r(34)), o = a(r(15)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = function() { var e = (0, o.default)(); return n.default.createElement(i.default, { text: e("CONNECTIVITY_STATUS_ALT", e("CONNECTIVITY_STATUS_ALT_CONNECTED")) }) }; t.default = s }, function(e) { e.exports = JSON.parse('{"_.comment":"The content of this file is contributed by the community.","ACTIVITY_BOT_SAID":"\u0627\u0644\u0628\u0648\u062a $1 \u0642\u0627\u0644, $2 \u0623\u0631\u0633\u0644: $3","ACTIVITY_ERROR_BOX_TITLE":"\u0631\u0633\u0627\u0644\u0629 \u062e\u0637\u0623","ACTIVITY_STATUS_SEND_FAILED_RETRY":"[\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629][RETRY]. \u0641\u0634\u0644 \u0641\u064a \u0627\u0644\u0625\u0631\u0633\u0627\u0644.","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0623\u0631\u0633\u0627\u0644","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u0623\u0631\u0633\u0644: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0627\u0631\u0633\u0644 \u0627\u0644\u062d\u0627\u0644\u0629: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u062d\u0627\u0644\u0627","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u062d\u0627\u0644\u0627","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u062d\u0627\u0644\u0627","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u062d\u0627\u0644\u0627","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u062d\u0627\u0644\u0627","ACTIVITY_USER_SAID":"\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 $1 \u0642\u0627\u0644, $2 \u0623\u0631\u0633\u0644: $3","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u0627\u0644\u0628\u0648\u062a \u0627\u0631\u0633\u0644:","CAROUSEL_ATTACHMENTS_USER_ALT":"\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0623\u0631\u0633\u0644: ","CAROUSEL_FLIPPER_LEFT_ALT":"\u064a\u0633\u0627\u0631","CAROUSEL_FLIPPER_RIGHT_ALT":"\u064a\u0645\u064a\u0646","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0645\u062a\u0635\u0644","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u064a\u062a\u0645 \u0627\u0644\u062a\u0648\u0635\u064a\u0644\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u0627\u0644\u0627\u062a\u0635\u0627\u0644.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u062d\u062f\u062b \u0627\u0646\u0642\u0637\u0627\u0639 \u0641\u064a \u0627\u0644\u0634\u0628\u0643\u0629. \u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u062a\u0648\u0635\u064a\u0644\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u062a\u0642\u062f\u064a\u0645. \u064a\u0631\u062c\u0649 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0623\u0648 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0645\u0637\u0648\u0631 \u0627\u0644\u0628\u0648\u062a.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u064a\u0633\u062a\u063a\u0631\u0642 \u0648\u0642\u062a\u0627 \u0623\u0637\u0648\u0644 \u0645\u0646 \u0627\u0644\u0645\u0639\u062a\u0627\u062f \u0644\u0644\u0627\u062a\u0635\u0627\u0644.","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0644\u0641 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u062a\u062d\u0645\u064a\u0644 \u0645\u0644\u0641 \u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0644\u0641 $1 \u0628\u062d\u062c\u0645 $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 \u0628\u062d\u062c\u0645 $2","RECEIPT_CARD_TAX":"\u0636\u0631\u064a\u0628\u0629","RECEIPT_CARD_TOTAL":"\u0627\u0644\u0645\u062c\u0645\u0648\u0639","RECEIPT_CARD_VAT":"\u0636\u0631\u064a\u0628\u0629 \u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0645\u0636\u0627\u0641\u0629","SPEECH_INPUT_LISTENING":"\u064a\u0633\u062a\u0645\u0639\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u0627\u0644\u0645\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u0645\u063a\u0644\u0642","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u0627\u0644\u0645\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644","SPEECH_INPUT_STARTING":"\u064a\u0628\u062f\u0623\u2026","TEXT_INPUT_PLACEHOLDER":"\u0627\u0643\u062a\u0628 \u0631\u0633\u0627\u0644\u062a\u0643","TEXT_INPUT_SEND_BUTTON_ALT":"\u0623\u0631\u0633\u0644","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u062a\u0643\u0644\u0645","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u0631\u0641\u0639 \u0627\u0644\u0645\u0644\u0641","TRANSCRIPT_NEW_MESSAGES":"\u0631\u0633\u0627\u0626\u0644 \u062c\u062f\u064a\u062f\u0629","TYPING_INDICATOR_ALT":"\u0639\u0631\u0636 \u0645\u0624\u0634\u0631 \u0627\u0644\u0643\u062a\u0627\u0628\u0629"}') }, function(e) { e.exports = JSON.parse('{"_.comment":"The content of this file is contributed by the community.","ACTIVITY_BOT_SAID":"\u0631\u062f \u0627\u0644\u0622\u0644\u064a $1 \u0642\u0627\u0644, $2 \u0623\u0631\u0633\u0644 \u0628: $3","ACTIVITY_ERROR_BOX_TITLE":"\u0631\u0633\u0627\u0644\u0629 \u0627\u0644\u0645\u0634\u0643\u0644\u0629","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0641\u0634\u0644 \u0641\u064a \u0627\u0644\u0627\u0631\u0633\u0627\u0644. [\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0645\u062d\u0648\u0627\u0644\u0629][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u062c\u0627\u0631\u064a \u0627\u0644\u0625\u0631\u0633\u0627\u0644","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u0623\u0631\u0633\u0644 \u0628: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u062d\u0627\u0644\u0629 \u0627\u0644\u0625\u0631\u0633\u0627\u0644: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0627\u0644\u0622\u0646","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u0627\u0644\u0622\u0646","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u0627\u0644\u0622\u0646","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0627\u0644\u0622\u0646","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0627\u0644\u0622\u0646","ACTIVITY_USER_SAID":"\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 $1 \u0642\u0627\u0644, $2 \u0623\u0631\u0633\u0644 \u0628: $3","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u062a\u0641\u0635\u064a\u0644 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u062a\u0643\u064a\u0641","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0644\u0649 \u0639\u0631\u0636 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u062a\u0643\u064a\u0641","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u0627\u0644\u0631\u062f \u0627\u0644\u0622\u0644\u064a \u0623\u0631\u0633\u0644: ","CAROUSEL_ATTACHMENTS_USER_ALT":"\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0623\u0631\u0633\u0644: ","CAROUSEL_FLIPPER_LEFT_ALT":"\u064a\u0633\u0627\u0631","CAROUSEL_FLIPPER_RIGHT_ALT":"\u064a\u0645\u064a\u0646","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u062a\u0645 \u0627\u0644\u0625\u062a\u0635\u0627\u0644","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u064a\u062a\u0645 \u0627\u0644\u0627\u062a\u0635\u0627\u0644\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u063a\u064a\u0631 \u0642\u0627\u062f\u0631 \u0639\u0627\u0644\u0625\u062a\u0635\u0627\u0644.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u062d\u062f\u062b \u0627\u0646\u0642\u0637\u0627\u0639 \u0641\u064a \u0627\u0644\u0634\u0628\u0643\u0629. \u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0627\u062a\u0635\u0627\u0644\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u062e\u0637\u0623 \u062a\u0642\u062f\u064a\u0645. \u064a\u0631\u062c\u0649 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0623\u0648 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0645\u0637\u0648\u0631 \u0627\u0644\u0631\u0648\u0628\u0648\u062a.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0627\u0644\u0625\u062a\u0635\u0627\u0644 \u064a\u0633\u062a\u063a\u0631\u0642 \u0627\u0643\u062b\u0631 \u0645\u0646 \u0627\u0644\u0645\u0639\u062a\u0627\u062f.","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0644\u0641 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0644\u0641 $1 \u0628\u062d\u062c\u0645 $2","FILE_CONTENT_WITH_SIZE_ALT":"\u0628\u062d\u062c\u0645 $1","RECEIPT_CARD_TAX":"\u0636\u0631\u064a\u0628\u0629","RECEIPT_CARD_TOTAL":"\u0627\u0644\u0645\u062c\u0645\u0648\u0639","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"\u062c\u0627\u0631\u064a \u0627\u0644\u0625\u0633\u062a\u0645\u0627\u0639\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u0627\u0644\u0645\u0627\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u0645\u063a\u0644\u0642","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u0627\u0644\u0645\u0627\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u064a\u0639\u0645\u0644","SPEECH_INPUT_STARTING":"\u062c\u0627\u0631\u064a \u0627\u0644\u0628\u062f\u0621\u2026","TEXT_INPUT_ALT":"\u0635\u0646\u062f\u0648\u0642 \u0627\u0644\u0625\u0631\u0633\u0627\u0644","TEXT_INPUT_PLACEHOLDER":"\u0627\u0643\u062a\u0628 \u0631\u0633\u0627\u0644\u062a\u0643","TEXT_INPUT_SEND_BUTTON_ALT":"\u0625\u0631\u0633\u0627\u0644","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u062a\u0643\u0644\u0645","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u0631\u0641\u0639 \u0627\u0644\u0645\u0644\u0641","TRANSCRIPT_NEW_MESSAGES":"\u0631\u0633\u0627\u0626\u0644 \u062c\u062f\u064a\u062f\u0629","TYPING_INDICATOR_ALT":"\u064a\u062a\u0645 \u0639\u0631\u0636 \u0645\u0624\u0634\u0631 \u0627\u0644\u0643\u062a\u0627\u0628\u0629"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u0645\u062d\u062a\u0648\u0649 \u0647\u0630\u0627 \u0627\u0644\u0645\u0644\u0641 \u0645\u0624\u0645\u0646. \u0646\u0631\u062d\u0628 \u0628\u0627\u0644\u0645\u0633\u0627\u0647\u0645\u0627\u062a\u060c \u0648\u0644\u0643\u0646 \u0627\u0644\u062a\u062d\u0642\u0642 \u0645\u0646 \u0635\u062d\u0629 \u0627\u0644\u062a\u063a\u064a\u064a\u0631 \u0642\u062f \u064a\u062a\u0623\u062e\u0631.","ACTIVITY_BOT_SAID":"\u0642\u0627\u0644 \u0627\u0644\u0631\u0648\u0628\u0648\u062a $1\u060c $2. \u062a\u0645 \u0627\u0644\u0625\u0631\u0633\u0627\u0644 \u0641\u064a $3.","ACTIVITY_ERROR_BOX_TITLE":"\u0631\u0633\u0627\u0644\u0629 \u0627\u0644\u062e\u0637\u0623","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0641\u0634\u0644 \u0627\u0644\u0625\u0631\u0633\u0627\u0644. [\u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0645\u062d\u0627\u0648\u0644\u0629][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u062c\u0627\u0631\u064d \u0627\u0644\u0625\u0631\u0633\u0627\u0644","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u062a\u0645 \u0625\u0631\u0633\u0627\u0644\u0647\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u062d\u0627\u0644\u0629 \u0627\u0644\u0625\u0631\u0633\u0627\u0644: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0627\u0644\u0622\u0646","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u0642\u0628\u0644 \u0633\u0627\u0639\u0629","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u0642\u0628\u0644 \u062f\u0642\u064a\u0642\u0629","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0627\u0644\u064a\u0648\u0645","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0627\u0644\u0623\u0645\u0633","ACTIVITY_USER_SAID":"\u0642\u0627\u0644 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 $1\u060c $2. \u062a\u0645 \u0627\u0644\u0625\u0631\u0633\u0627\u0644 \u0641\u064a $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u062e\u0637\u0623 \u0641\u064a \u062a\u062d\u0644\u064a\u0644 \u0627\u0644\u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0645\u0648\u0627\u0626\u0645\u0629","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u062e\u0637\u0623 \u0641\u064a \u0639\u0631\u0636 \u0627\u0644\u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0645\u0648\u0627\u0626\u0645\u0629","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u0645\u0631\u0633\u0644 \u0645\u0646 \u0642\u0628\u0644 \u0627\u0644\u0631\u0648\u0628\u0648\u062a","CAROUSEL_ATTACHMENTS_USER_ALT":"\u0645\u0631\u0633\u0644 \u0645\u0646 \u0642\u0628\u0644 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645","CAROUSEL_FLIPPER_LEFT_ALT":"\u064a\u0633\u0627\u0631","CAROUSEL_FLIPPER_RIGHT_ALT":"\u064a\u0645\u064a\u0646","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0645\u062a\u0635\u0644","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u062c\u0627\u0631\u064d \u0627\u0644\u0627\u062a\u0635\u0627\u0644\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u064a\u062a\u0639\u0630\u0631 \u0627\u0644\u0627\u062a\u0635\u0627\u0644.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u062d\u062f\u062b \u0627\u0646\u0642\u0637\u0627\u0639 \u0641\u064a \u0627\u0644\u0634\u0628\u0643\u0629. \u062c\u0627\u0631\u064d \u0625\u0639\u0627\u062f\u0629 \u0627\u0644\u0627\u062a\u0635\u0627\u0644\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u0639\u0631\u0636. \u0627\u0644\u0631\u062c\u0627\u0621 \u0641\u062d\u0635 \u0648\u062d\u062f\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0623\u0648 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0645\u0637\u0648\u0631 \u0627\u0644\u0631\u0648\u0628\u0648\u062a.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u064a\u0633\u062a\u063a\u0631\u0642 \u0648\u0642\u062a\u064b\u0627 \u0623\u0637\u0648\u0644 \u0645\u0646 \u0627\u0644\u0645\u0639\u062a\u0627\u062f \u0644\u0644\u0627\u062a\u0635\u0627\u0644.","CONNECTIVITY_STATUS_ALT":"\u062d\u0627\u0644\u0629 \u0627\u0644\u0627\u062a\u0635\u0627\u0644: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u062a\u0646\u0632\u064a\u0644 \u0645\u0644\u0641 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u062a\u0646\u0632\u064a\u0644 \u0627\u0644\u0645\u0644\u0641 \'$1\' \u0628\u062d\u062c\u0645 $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' \u0628\u062d\u062c\u0645 $2","RECEIPT_CARD_TAX":"\u0627\u0644\u0636\u0631\u064a\u0628\u0629","RECEIPT_CARD_TOTAL":"\u0627\u0644\u0625\u062c\u0645\u0627\u0644\u064a\u202c","RECEIPT_CARD_VAT":"\u0636\u0631\u064a\u0628\u0629 \u0627\u0644\u0642\u064a\u0645\u0629 \u0627\u0644\u0645\u0636\u0627\u0641\u0629","SPEECH_INPUT_LISTENING":"\u062c\u0627\u0631\u064d \u0627\u0644\u0627\u0633\u062a\u0645\u0627\u0639\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u0627\u0644\u0645\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u0645\u062a\u0648\u0642\u0641 \u0639\u0646 \u0627\u0644\u062a\u0634\u063a\u064a\u0644","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u0627\u0644\u0645\u064a\u0643\u0631\u0648\u0641\u0648\u0646 \u0642\u064a\u062f \u0627\u0644\u062a\u0634\u063a\u064a\u0644","SPEECH_INPUT_STARTING":"\u0627\u0644\u0628\u062f\u0621\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u064a\u062a\u0636\u0645\u0646 \u0645\u062d\u062a\u0648\u0649\u064b","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0641\u0627\u0631\u063a","SUGGESTED_ACTIONS_ALT":"\u062d\u0627\u0648\u064a\u0629 \u0627\u0644\u0625\u062c\u0631\u0627\u0621\u0627\u062a \u0627\u0644\u0645\u0642\u062a\u0631\u062d\u0629: $1","TEXT_INPUT_ALT":"\u0645\u0631\u0628\u0639 \u0625\u062f\u062e\u0627\u0644 \u0627\u0644\u0631\u0633\u0627\u0644\u0629","TEXT_INPUT_PLACEHOLDER":"\u0627\u0643\u062a\u0628 \u0631\u0633\u0627\u0644\u062a\u0643","TEXT_INPUT_SEND_BUTTON_ALT":"\u200f\u200f\u0625\u0631\u0633\u0627\u0644","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u062a\u062d\u062f\u0651\u062b","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u062a\u062d\u0645\u064a\u0644 \u0627\u0644\u0645\u0644\u0641","TOAST_ACCORDION_FEW":"$1 \u0625\u0639\u0644\u0627\u0645\u0627\u062a: \u0627\u0646\u0642\u0631 \u0647\u0646\u0627 \u0644\u0644\u0627\u0637\u0644\u0627\u0639 \u0639\u0644\u0649 \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644","TOAST_ACCORDION_MANY":"$1 \u0625\u0639\u0644\u0627\u0645\u0627\u062a: \u0627\u0646\u0642\u0631 \u0647\u0646\u0627 \u0644\u0644\u0627\u0637\u0644\u0627\u0639 \u0639\u0644\u0649 \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644","TOAST_ACCORDION_OTHER":"$1 \u0625\u0639\u0644\u0627\u0645\u0627\u062a: \u0627\u0646\u0642\u0631 \u0647\u0646\u0627 \u0644\u0644\u0627\u0637\u0644\u0627\u0639 \u0639\u0644\u0649 \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644","TOAST_ACCORDION_TWO":"$1 \u0625\u0639\u0644\u0627\u0645\u0627\u062a: \u0627\u0646\u0642\u0631 \u0647\u0646\u0627 \u0644\u0644\u0627\u0637\u0644\u0627\u0639 \u0639\u0644\u0649 \u0627\u0644\u062a\u0641\u0627\u0635\u064a\u0644","TOAST_ALT_ERROR":"\u200f\u200f\u0627\u0644\u062e\u0637\u0623","TOAST_ALT_INFO":"\u0627\u0644\u0645\u0639\u0644\u0648\u0645\u0627\u062a","TOAST_ALT_SUCCESS":"\u0646\u062c\u0627\u062d","TOAST_ALT_WARN":"\u062a\u062d\u0630\u064a\u0631","TOAST_DISMISS_BUTTON":"\u0631\u0641\u0636","TOAST_TITLE_ALT":"\u0627\u0644\u0625\u0639\u0644\u0627\u0645","TRANSCRIPT_NEW_MESSAGES":"\u0631\u0633\u0627\u0626\u0644 \u062c\u062f\u064a\u062f\u0629","TYPING_INDICATOR_ALT":"\u0625\u0638\u0647\u0627\u0631 \u0645\u0624\u0634\u0631 \u0627\u0644\u0643\u062a\u0627\u0628\u0629"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u0421\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435\u0442\u043e \u043d\u0430 \u0442\u043e\u0437\u0438 \u0444\u0430\u0439\u043b \u0435 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u043e. \u041f\u0440\u0438\u043d\u043e\u0441\u044a\u0442 \u0435 \u0434\u043e\u0431\u0440\u0435 \u0434\u043e\u0448\u044a\u043b, \u043d\u043e \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u0430\u043d\u0435\u0442\u043e \u043d\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u0438\u0442\u0435 \u043c\u043e\u0436\u0435 \u0434\u0430 \u0441\u0435 \u0437\u0430\u0431\u0430\u0432\u0438.","ACTIVITY_BOT_SAID":"\u0411\u043e\u0442 $1 \u043a\u0430\u0437\u0430, $2. \u0418\u0437\u043f\u0440\u0430\u0442\u0435\u043d\u043e \u0432 $3.","ACTIVITY_ERROR_BOX_TITLE":"\u0421\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0437\u0430 \u0433\u0440\u0435\u0448\u043a\u0430","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0418\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435\u0442\u043e \u0435 \u043d\u0435\u0443\u0441\u043f\u0435\u0448\u043d\u043e. [\u041f\u043e\u0432\u0442\u043e\u0440\u0435\u043d \u043e\u043f\u0438\u0442][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0418\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u0418\u0437\u043f\u0440\u0430\u0442\u0435\u043d\u043e \u0432 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0421\u044a\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043d\u0430 \u0438\u0437\u043f\u0440\u0430\u0449\u0430\u043d\u0435: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u041f\u0440\u0435\u0434\u0438 \u043c\u0430\u043b\u043a\u043e","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u041f\u0440\u0435\u0434\u0438 \u0447\u0430\u0441","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u041f\u0440\u0435\u0434\u0438 \u043c\u0438\u043d\u0443\u0442\u0430","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0414\u043d\u0435\u0441","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0412\u0447\u0435\u0440\u0430","ACTIVITY_USER_SAID":"\u041f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b $1 \u043a\u0430\u0437\u0430, $2. \u0418\u0437\u043f\u0440\u0430\u0442\u0435\u043d\u043e \u0432 $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u0413\u0440\u0435\u0448\u043a\u0430 \u043f\u0440\u0438 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u0430 \u043a\u0430\u0440\u0442\u0430","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u0413\u0440\u0435\u0448\u043a\u0430 \u043f\u0440\u0438 \u0440\u0435\u043d\u0434\u0438\u0440\u0430\u043d\u0435 \u043d\u0430 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u0430 \u043a\u0430\u0440\u0442\u0430","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u0411\u043e\u0442\u044a\u0442 \u0435 \u0438\u0437\u043f\u0440\u0430\u0442\u0435\u043d","CAROUSEL_ATTACHMENTS_USER_ALT":"\u041f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u044f\u0442 \u0435 \u0438\u0437\u043f\u0440\u0430\u0442\u0435\u043d","CAROUSEL_FLIPPER_LEFT_ALT":"\u041b\u044f\u0432\u043e","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0414\u044f\u0441\u043d\u043e","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0435\u043d\u0430 \u0432\u0440\u044a\u0437\u043a\u0430","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u0421\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435...","CONNECTIVITY_STATUS_ALT_FATAL":"\u0421\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435\u0442\u043e \u043d\u0435 \u0435 \u0432\u044a\u0437\u043c\u043e\u0436\u043d\u043e.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0412\u044a\u0437\u043d\u0438\u043a\u043d\u0430 \u043f\u0440\u0435\u043a\u044a\u0441\u0432\u0430\u043d\u0435 \u043d\u0430 \u043c\u0440\u0435\u0436\u0430\u0442\u0430. \u041f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u0441\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u0413\u0440\u0435\u0448\u043a\u0430 \u043f\u0440\u0438 \u0440\u0435\u043d\u0434\u0438\u0440\u0430\u043d\u0435. \u041c\u043e\u043b\u044f, \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u0442\u0435 \u043a\u043e\u043d\u0437\u043e\u043b\u0430\u0442\u0430 \u0438\u043b\u0438 \u0441\u0435 \u0441\u0432\u044a\u0440\u0436\u0435\u0442\u0435 \u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043d\u0430 \u0431\u043e\u0442\u0430.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0421\u0432\u044a\u0440\u0437\u0432\u0430\u043d\u0435\u0442\u043e \u043e\u0442\u043d\u0435\u043c\u0430 \u043f\u043e\u0432\u0435\u0447\u0435 \u0432\u0440\u0435\u043c\u0435 \u043e\u0442 \u043e\u0431\u0438\u043a\u043d\u043e\u0432\u0435\u043d\u043e.","CONNECTIVITY_STATUS_ALT":"\u0421\u044a\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043d\u0430 \u0432\u044a\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0442\u0430 \u0437\u0430 \u0432\u0440\u044a\u0437\u043a\u0430: $1","FILE_CONTENT_ALT":"\u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_ALT":"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435 \u043d\u0430 \u0444\u0430\u0439\u043b \u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u0418\u0437\u0442\u0435\u0433\u043b\u044f\u043d\u0435 \u043d\u0430 \u0444\u0430\u0439\u043b \u201e$1\u201d \u0441 \u0440\u0430\u0437\u043c\u0435\u0440 $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201d \u0441 \u0440\u0430\u0437\u043c\u0435\u0440 $2","RECEIPT_CARD_TAX":"\u0414\u0430\u043d\u044a\u043a","RECEIPT_CARD_TOTAL":"\u041e\u0431\u0449\u0430 \u0441\u0443\u043c\u0430","RECEIPT_CARD_VAT":"\u0414\u0414\u0421","SPEECH_INPUT_LISTENING":"\u0421\u043b\u0443\u0448\u0430\u043d\u0435...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d\u044a\u0442 \u0435 \u0438\u0437\u043a\u043b\u044e\u0447\u0435\u043d","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d\u044a\u0442 \u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d","SPEECH_INPUT_STARTING":"\u041d\u0430\u0447\u0430\u043b\u043e...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0418\u043c\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u043d\u0438\u0435","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0415 \u043f\u0440\u0430\u0437\u043d\u043e","SUGGESTED_ACTIONS_ALT":"\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0437\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f: $1","TEXT_INPUT_ALT":"\u041f\u043e\u043b\u0435 \u0437\u0430 \u0432\u044a\u0432\u0435\u0436\u0434\u0430\u043d\u0435 \u043d\u0430 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435","TEXT_INPUT_PLACEHOLDER":"\u0412\u044a\u0432\u0435\u0434\u0435\u0442\u0435 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u0442\u043e \u0441\u0438","TEXT_INPUT_SEND_BUTTON_ALT":"\u0418\u0437\u043f\u0440\u0430\u0442\u0438","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0413\u043e\u0432\u043e\u0440\u0435\u0442\u0435","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u041a\u0430\u0447\u0432\u0430\u043d\u0435 \u043d\u0430 \u0444\u0430\u0439\u043b","TOAST_ACCORDION_FEW":"$1 \u0418\u0437\u0432\u0435\u0441\u0442\u0438\u044f: \u0429\u0440\u0430\u043a\u043d\u0435\u0442\u0435 \u0442\u0443\u043a, \u0437\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438","TOAST_ACCORDION_MANY":"$1 \u0418\u0437\u0432\u0435\u0441\u0442\u0438\u044f: \u0429\u0440\u0430\u043a\u043d\u0435\u0442\u0435 \u0442\u0443\u043a, \u0437\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438","TOAST_ACCORDION_OTHER":"$1 \u0418\u0437\u0432\u0435\u0441\u0442\u0438\u044f: \u0429\u0440\u0430\u043a\u043d\u0435\u0442\u0435 \u0442\u0443\u043a, \u0437\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438","TOAST_ACCORDION_TWO":"$1 \u0418\u0437\u0432\u0435\u0441\u0442\u0438\u044f: \u0429\u0440\u0430\u043a\u043d\u0435\u0442\u0435 \u0442\u0443\u043a, \u0437\u0430 \u0434\u0430 \u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438","TOAST_ALT_ERROR":"\u0413\u0440\u0435\u0448\u043a\u0430","TOAST_ALT_INFO":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f","TOAST_ALT_SUCCESS":"\u0423\u0441\u043f\u0435\u0445","TOAST_ALT_WARN":"\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435","TOAST_DISMISS_BUTTON":"\u041e\u0442\u0445\u0432\u044a\u0440\u043b\u044f\u043d\u0435","TOAST_TITLE_ALT":"\u0418\u0437\u0432\u0435\u0441\u0442\u044f\u0432\u0430\u043d\u0435","TRANSCRIPT_NEW_MESSAGES":"\u041d\u043e\u0432\u0438 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u044f","TYPING_INDICATOR_ALT":"\u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043d\u0435 \u043d\u0430 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u0437\u0430 \u0432\u044a\u0432\u0435\u0436\u0434\u0430\u043d\u0435"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] El contingut d\'aquest fitxer est\xe0 bloquejat. Les aportacions s\xf3n benvingudes, per\xf2 la validaci\xf3 dels canvis es pot retardar.","ACTIVITY_BOT_SAID":"El bot $1 ha dit, $2. S\'ha enviat a $3.","ACTIVITY_ERROR_BOX_TITLE":"Missatge d\'error","ACTIVITY_STATUS_SEND_FAILED_RETRY":"L\'enviament ha fallat. [Torna-ho a provar][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"S\'est\xe0 enviant","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"S\'ha enviat a les $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Estat d\'enviament: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Ara mateix","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Fa una hora","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Fa un minut","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Avui","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ahir","ACTIVITY_USER_SAID":"L\'usuari $1 ha dit, $2. S\'ha enviat a $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Error d\'an\xe0lisi de la targeta adaptativa","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Error de representaci\xf3 de la targeta adaptativa","CAROUSEL_ATTACHMENTS_BOT_ALT":"Bot enviat","CAROUSEL_ATTACHMENTS_USER_ALT":"Enviats per l\'usuari","CAROUSEL_FLIPPER_LEFT_ALT":"Left","CAROUSEL_FLIPPER_RIGHT_ALT":"Right","CONNECTIVITY_STATUS_ALT_CONNECTED":"Connectat","CONNECTIVITY_STATUS_ALT_CONNECTING":"S\'est\xe0 connectant\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"No es pot connectar.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"S\'ha produ\xeft una interrupci\xf3 de la xarxa. S\'est\xe0 reconnectant\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Error de representaci\xf3. Consulteu la consola o poseu-vos en contacte amb el desenvolupador del bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"S\'est\xe0 trigant m\xe9s de l\'habitual per establir una connexi\xf3.","CONNECTIVITY_STATUS_ALT":"Estat de la connectivitat: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"Baixa el fitxer \\"$1\\"","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Baixa el fitxer \\"$1\\" amb una mida de $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" amb una mida de $2","RECEIPT_CARD_TAX":"Impost","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"IVA","SPEECH_INPUT_LISTENING":"Escoltant\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Micr\xf2fon desactivat","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Micr\xf2fon activat","SPEECH_INPUT_STARTING":"Iniciant\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"T\xe9 contingut","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\xc9s buit","SUGGESTED_ACTIONS_ALT":"Contenidor d\'accions suggerides: $1","TEXT_INPUT_ALT":"Quadre d\'entrada del missatge","TEXT_INPUT_PLACEHOLDER":"Escriviu el missatge","TEXT_INPUT_SEND_BUTTON_ALT":"Envia","TEXT_INPUT_SPEAK_BUTTON_ALT":"Parlar","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Carrega el fitxer","TOAST_ACCORDION_FEW":"$1 notificacions: feu clic aqu\xed per veure detalls","TOAST_ACCORDION_MANY":"$1 notificacions: feu clic aqu\xed per veure detalls","TOAST_ACCORDION_OTHER":"$1 notificacions: feu clic aqu\xed per veure detalls","TOAST_ACCORDION_TWO":"$1 notificacions: feu clic aqu\xed per veure detalls","TOAST_ALT_ERROR":"Error","TOAST_ALT_INFO":"Informaci\xf3","TOAST_ALT_SUCCESS":"Correcta","TOAST_ALT_WARN":"Advertiment","TOAST_DISMISS_BUTTON":"Descarta","TOAST_TITLE_ALT":"Notificaci\xf3","TRANSCRIPT_NEW_MESSAGES":"Missatges nous","TYPING_INDICATOR_ALT":"S\'est\xe0 mostrant l\'indicador d\'escriptura"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Obsah tohoto souboru je uzam\u010den. P\u0159\xedsp\u011bvky jsou v\xedt\xe1ny, ale ov\u011b\u0159en\xed zm\u011bny m\u016f\u017ee b\xfdt zpo\u017ed\u011bno.","ACTIVITY_BOT_SAID":"Robot $1 \u0159\xedk\xe1: $2. Odesl\xe1no v $3.","ACTIVITY_ERROR_BOX_TITLE":"Chybov\xe1 zpr\xe1va","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Odesl\xe1n\xed se nezda\u0159ilo. [Opakovat][RETRY]","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Odes\xedl\xe1n\xed","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Odesl\xe1no v $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stav odes\xedl\xe1n\xed: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Pr\xe1v\u011b te\u010f","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"P\u0159ed 1 hodinou","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"P\u0159ed 1 minutou","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Dnes","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"V\u010dera","ACTIVITY_USER_SAID":"U\u017eivatel $1 \u0159\xedk\xe1: $2. Odesl\xe1no v $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Chyba analyzov\xe1n\xed adaptivn\xed karty","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Chyba vykreslov\xe1n\xed adaptivn\xed karty","CAROUSEL_ATTACHMENTS_BOT_ALT":"Odesl\xe1no botem","CAROUSEL_ATTACHMENTS_USER_ALT":"Odesl\xe1no u\u017eivatelem","CAROUSEL_FLIPPER_LEFT_ALT":"Vlevo","CAROUSEL_FLIPPER_RIGHT_ALT":"Vpravo","CONNECTIVITY_STATUS_ALT_CONNECTED":"P\u0159ipojeno","CONNECTIVITY_STATUS_ALT_CONNECTING":"P\u0159ipojov\xe1n\xed\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Nelze nav\xe1zat p\u0159ipojen\xed.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Do\u0161lo k p\u0159eru\u0161en\xed s\xedt\u011b. Znovu se p\u0159ipojuje\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Chyba vykreslov\xe1n\xed. Zkontrolujte konzolu nebo kontaktujte v\xfdvoj\xe1\u0159e bot\u016f.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"P\u0159ipojen\xed trv\xe1 d\xe9le ne\u017e obvykle.","CONNECTIVITY_STATUS_ALT":"Stav p\u0159ipojen\xed: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"St\xe1hnout soubor $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"St\xe1hnout soubor $1 o velikosti $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 o velikosti $2","RECEIPT_CARD_TAX":"Da\u0148","RECEIPT_CARD_TOTAL":"Celkem","RECEIPT_CARD_VAT":"DPH","SPEECH_INPUT_LISTENING":"Naslouch\xe1n\xed\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon vypnout","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon zapnout","SPEECH_INPUT_STARTING":"Spou\u0161t\u011bn\xed\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"M\xe1 obsah","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Je pr\xe1zdn\xe9","SUGGESTED_ACTIONS_ALT":"Kontejner navrhovan\xfdch akc\xed: $1","TEXT_INPUT_ALT":"Pole pro zad\xe1n\xed zpr\xe1vy","TEXT_INPUT_PLACEHOLDER":"Zadejte svou zpr\xe1vu","TEXT_INPUT_SEND_BUTTON_ALT":"Odeslat","TEXT_INPUT_SPEAK_BUTTON_ALT":"Mluvit","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Nahr\xe1t soubor","TOAST_ACCORDION_FEW":"$1 ozn\xe1men\xed: kliknut\xedm sem zobraz\xedte podrobnosti.","TOAST_ACCORDION_MANY":"$1 ozn\xe1men\xed: kliknut\xedm sem zobraz\xedte podrobnosti.","TOAST_ACCORDION_OTHER":"$1 ozn\xe1men\xed: kliknut\xedm sem zobraz\xedte podrobnosti.","TOAST_ACCORDION_TWO":"$1 ozn\xe1men\xed: kliknut\xedm sem zobraz\xedte podrobnosti.","TOAST_ALT_ERROR":"Chyba","TOAST_ALT_INFO":"Informace","TOAST_ALT_SUCCESS":"\xdasp\u011bch","TOAST_ALT_WARN":"Upozorn\u011bn\xed","TOAST_DISMISS_BUTTON":"Zav\u0159\xedt","TOAST_TITLE_ALT":"Ozn\xe1men\xed","TRANSCRIPT_NEW_MESSAGES":"Nov\xe9 zpr\xe1vy","TYPING_INDICATOR_ALT":"Zobrazuje se indik\xe1tor psan\xed"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Indholdet af denne fil er l\xe5st. Bidrag er velkomne, men valideringen af \xe6ndringer bliver muligvis forsinket.","ACTIVITY_BOT_SAID":"Robotten $1 sagde, $2. Sendt kl $3.","ACTIVITY_ERROR_BOX_TITLE":"Fejlmeddelelse","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Afsendelse mislykkedes. [Pr\xf8v igen][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Sender","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Sendt kl. $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status for afsendelse: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Lige nu","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"For en time siden","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"For et minut siden","ACTIVITY_STATUS_TIMESTAMP_TODAY":"I dag","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"I g\xe5r","ACTIVITY_USER_SAID":"Brugeren $1 sagde, $2. Sendt kl $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Fortolkningsfejl i AdaptiveCard","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Renderingsfejl i AdaptiveCard","CAROUSEL_ATTACHMENTS_BOT_ALT":"Robot sendte","CAROUSEL_ATTACHMENTS_USER_ALT":"Bruger sendte","CAROUSEL_FLIPPER_LEFT_ALT":"Venstre","CAROUSEL_FLIPPER_RIGHT_ALT":"H\xf8jre","CONNECTIVITY_STATUS_ALT_CONNECTED":"Forbundet","CONNECTIVITY_STATUS_ALT_CONNECTING":"Opretter forbindelse ...","CONNECTIVITY_STATUS_ALT_FATAL":"Det var ikke muligt at oprette forbindelse.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Der opstod en netv\xe6rksafbrydelse. Opretter forbindelse igen ...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Gengivelsesfejl. Kontroll\xe9r konsollen, eller kontakt robotudvikleren.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Det tager l\xe6ngere tid end normalt at oprette forbindelse.","CONNECTIVITY_STATUS_ALT":"Forbindelsesstatus: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Download filen \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Hent filen \'$1\', som fylder $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\', som fylder $2","RECEIPT_CARD_TAX":"Moms","RECEIPT_CARD_TOTAL":"I alt","RECEIPT_CARD_VAT":"Moms","SPEECH_INPUT_LISTENING":"Lytter ...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon Fra","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon Til","SPEECH_INPUT_STARTING":"Starter ...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Har indhold","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Er tom","SUGGESTED_ACTIONS_ALT":"Objektbeholder for foresl\xe5ede handlinger: $1","TEXT_INPUT_ALT":"Meddelelsesinputfelt","TEXT_INPUT_PLACEHOLDER":"Skriv din meddelelse","TEXT_INPUT_SEND_BUTTON_ALT":"Send","TEXT_INPUT_SPEAK_BUTTON_ALT":"Tal","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Overf\xf8r fil","TOAST_ACCORDION_FEW":"$1 Meddelelser: Klik her for at f\xe5 vist detaljer","TOAST_ACCORDION_MANY":"$1 Meddelelser: Klik her for at f\xe5 vist detaljer","TOAST_ACCORDION_OTHER":"$1 Meddelelser: Klik her for at f\xe5 vist detaljer","TOAST_ACCORDION_TWO":"$1 Meddelelser: Klik her for at f\xe5 vist detaljer","TOAST_ALT_ERROR":"Fejl","TOAST_ALT_INFO":"Oplysninger","TOAST_ALT_SUCCESS":"Fuldf\xf8rt","TOAST_ALT_WARN":"Advarsel!","TOAST_DISMISS_BUTTON":"Afvis","TOAST_TITLE_ALT":"Meddelelse","TRANSCRIPT_NEW_MESSAGES":"Nye meddelelser","TYPING_INDICATOR_ALT":"Viser indtastningsindikator"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Der Inhalt dieser Datei ist gesperrt. Beitr\xe4ge sind willkommen, die \xc4nderungs\xfcberpr\xfcfung kann jedoch verz\xf6gert werden.","ACTIVITY_BOT_SAID":"Bot $1 sagte: $2. Gesendet am $3.","ACTIVITY_ERROR_BOX_TITLE":"Fehlermeldung","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Fehler beim Senden. [Wiederholen][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Wird gesendet\xa0...","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Gesendet um $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Sendestatus: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Jetzt","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Vor einer Stunde","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Vor einer Minute","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Heute","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Gestern","ACTIVITY_USER_SAID":"Benutzer $1 sagte: $2. Gesendet am $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Fehler beim Analysieren der adaptiven Karte","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Fehler beim Rendern der adaptiven Karte","CAROUSEL_ATTACHMENTS_BOT_ALT":"Vom Bot gesendet","CAROUSEL_ATTACHMENTS_USER_ALT":"Vom Benutzer gesendet","CAROUSEL_FLIPPER_LEFT_ALT":"Links","CAROUSEL_FLIPPER_RIGHT_ALT":"Berechtigung","CONNECTIVITY_STATUS_ALT_CONNECTED":"Verbunden","CONNECTIVITY_STATUS_ALT_CONNECTING":"Verbindung wird hergestellt\xa0...","CONNECTIVITY_STATUS_ALT_FATAL":"Verbindung konnte nicht aufgebaut werden.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Netzwerkunterbrechung ist aufgetreten. Verbindung wird wiederhergestellt\xa0...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Fehler beim Rendern. \xdcberpr\xfcfen Sie die Konsole, oder wenden Sie sich an den Botentwickler.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Der Verbindungsvorgang dauert l\xe4nger als erwartet.","CONNECTIVITY_STATUS_ALT":"Verbindungsstatus: $1","FILE_CONTENT_ALT":"\u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_ALT":"Datei \u201e$1\u201c herunterladen","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Datei \u201e$1\u201c mit einer Gr\xf6\xdfe von $2 herunterladen","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201c mit einer Gr\xf6\xdfe von $2","RECEIPT_CARD_TAX":"Steuer","RECEIPT_CARD_TOTAL":"Gesamt","RECEIPT_CARD_VAT":"Umsatzsteuer","SPEECH_INPUT_LISTENING":"Zuh\xf6ren\xa0...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon aus","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon an","SPEECH_INPUT_STARTING":"Wird gestartet\xa0...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Hat Inhalte","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Ist leer","SUGGESTED_ACTIONS_ALT":"Container \u201eEmpfohlene Aktivit\xe4ten\u201c: $1","TEXT_INPUT_ALT":"Eingabefeld f\xfcr Nachricht","TEXT_INPUT_PLACEHOLDER":"Nachricht eingeben","TEXT_INPUT_SEND_BUTTON_ALT":"Senden","TEXT_INPUT_SPEAK_BUTTON_ALT":"Sprechen","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Datei hochladen","TOAST_ACCORDION_FEW":"$1 Benachrichtigungen: Klicken Sie hier, um die Details anzuzeigen.","TOAST_ACCORDION_MANY":"$1 Benachrichtigungen: Klicken Sie hier, um die Details anzuzeigen.","TOAST_ACCORDION_OTHER":"$1 Benachrichtigungen: Klicken Sie hier, um die Details anzuzeigen.","TOAST_ACCORDION_TWO":"$1 Benachrichtigungen: Klicken Sie hier, um die Details anzuzeigen.","TOAST_ALT_ERROR":"Fehler","TOAST_ALT_INFO":"Informationen","TOAST_ALT_SUCCESS":"Erfolg","TOAST_ALT_WARN":"Warnung","TOAST_DISMISS_BUTTON":"Schlie\xdfen","TOAST_TITLE_ALT":"Benachrichtigung","TRANSCRIPT_NEW_MESSAGES":"Neue Nachrichten","TYPING_INDICATOR_ALT":"Anzeigen des Eingabeindikators"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u03a4\u03bf \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf \u03b1\u03c5\u03c4\u03bf\u03cd \u03c4\u03bf\u03c5 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \u03b5\u03af\u03bd\u03b1\u03b9 \u03ba\u03bb\u03b5\u03b9\u03b4\u03c9\u03bc\u03ad\u03bd\u03bf. \u039f\u03b9 \u03c3\u03c5\u03bd\u03b5\u03b9\u03c3\u03c6\u03bf\u03c1\u03ad\u03c2 \u03b5\u03af\u03bd\u03b1\u03b9 \u03b5\u03c5\u03c0\u03c1\u03cc\u03c3\u03b4\u03b5\u03ba\u03c4\u03b5\u03c2, \u03b1\u03bb\u03bb\u03ac \u03b7 \u03b5\u03c0\u03b9\u03ba\u03cd\u03c1\u03c9\u03c3\u03b7 \u03b1\u03bb\u03bb\u03b1\u03b3\u03ce\u03bd \u03bc\u03c0\u03bf\u03c1\u03b5\u03af \u03bd\u03b1 \u03ba\u03b1\u03b8\u03c5\u03c3\u03c4\u03b5\u03c1\u03ae\u03c3\u03b5\u03b9.","ACTIVITY_BOT_SAID":"\u03a4\u03bf bot $1 \u03b5\u03af\u03c0\u03b5, $2. \u03a3\u03c4\u03ac\u03bb\u03b8\u03b7\u03ba\u03b5 \u03c3\u03c4\u03b9\u03c2 $3.","ACTIVITY_ERROR_BOX_TITLE":"\u039c\u03ae\u03bd\u03c5\u03bc\u03b1 \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1\u03c4\u03bf\u03c2","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0397 \u03b1\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae \u03b1\u03c0\u03ad\u03c4\u03c5\u03c7\u03b5. [\u0395\u03c0\u03b1\u03bd\u03ac\u03bb\u03b7\u03c8\u03b7][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0391\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u03a3\u03c4\u03ac\u03bb\u03b8\u03b7\u03ba\u03b5 \u03c3\u03c4\u03b9\u03c2 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u039a\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7 \u03b1\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae\u03c2: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u039c\u03cc\u03bb\u03b9\u03c2 \u03c4\u03ce\u03c1\u03b1","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u03a0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc \u03bc\u03af\u03b1 \u03ce\u03c1\u03b1","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u03a0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc \u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0395\u03c7\u03b8\u03ad\u03c2","ACTIVITY_USER_SAID":"\u039f \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7\u03c2 $1 \u03b5\u03af\u03c0\u03b5, $2. \u03a3\u03c4\u03ac\u03bb\u03b8\u03b7\u03ba\u03b5 \u03c3\u03c4\u03b9\u03c2 $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b1\u03bd\u03ac\u03bb\u03c5\u03c3\u03b7\u03c2 \u03c0\u03c1\u03bf\u03c3\u03b1\u03c1\u03bc\u03bf\u03c3\u03c4\u03b9\u03ba\u03ae\u03c2 \u03ba\u03ac\u03c1\u03c4\u03b1\u03c2","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b1\u03c0\u03cc\u03b4\u03bf\u03c3\u03b7\u03c2 \u03c0\u03c1\u03bf\u03c3\u03b1\u03c1\u03bc\u03bf\u03c3\u03c4\u03b9\u03ba\u03ae\u03c2 \u03ba\u03ac\u03c1\u03c4\u03b1\u03c2","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u03a4\u03bf bot \u03ad\u03c3\u03c4\u03b5\u03b9\u03bb\u03b5","CAROUSEL_ATTACHMENTS_USER_ALT":"\u039f \u03c7\u03c1\u03ae\u03c3\u03c4\u03b7\u03c2 \u03ad\u03c3\u03c4\u03b5\u03b9\u03bb\u03b5","CAROUSEL_FLIPPER_LEFT_ALT":"\u0391\u03c1\u03b9\u03c3\u03c4\u03b5\u03c1\u03ac","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0394\u03b5\u03be\u03b9\u03ac","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u03a3\u03c5\u03bd\u03b4\u03ad\u03b8\u03b7\u03ba\u03b5","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u03a3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u0391\u03b4\u03c5\u03bd\u03b1\u03bc\u03af\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03c3\u03c4\u03b7\u03ba\u03b5 \u03b4\u03b9\u03b1\u03ba\u03bf\u03c0\u03ae \u03b4\u03b9\u03ba\u03c4\u03cd\u03bf\u03c5. \u0395\u03c0\u03b1\u03bd\u03b1\u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03b1\u03c0\u03cc\u03b4\u03bf\u03c3\u03b7\u03c2. \u0395\u03bb\u03ad\u03b3\u03be\u03c4\u03b5 \u03c4\u03b7\u03bd \u03ba\u03bf\u03bd\u03c3\u03cc\u03bb\u03b1 \u03ae \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03ae\u03c3\u03c4\u03b5 \u03bc\u03b5 \u03c4\u03bf\u03bd \u03c0\u03c1\u03bf\u03b3\u03c1\u03b1\u03bc\u03bc\u03b1\u03c4\u03b9\u03c3\u03c4\u03ae bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0397 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7 \u03b4\u03b9\u03b1\u03c1\u03ba\u03b5\u03af \u03c0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03bf \u03c7\u03c1\u03cc\u03bd\u03bf \u03b1\u03c0\u03cc \u03c4\u03bf \u03c3\u03c5\u03bd\u03b7\u03b8\u03b9\u03c3\u03bc\u03ad\u03bd\u03bf.","CONNECTIVITY_STATUS_ALT":"\u039a\u03b1\u03c4\u03ac\u03c3\u03c4\u03b1\u03c3\u03b7 \u03c3\u03c5\u03bd\u03b4\u03b5\u03c3\u03b9\u03bc\u03cc\u03c4\u03b7\u03c4\u03b1\u03c2: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"\u039b\u03ae\u03c8\u03b7 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \\"$1\\"","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u039b\u03ae\u03c8\u03b7 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5 \\"$1\\" \u03bc\u03b5\u03b3\u03ad\u03b8\u03bf\u03c5\u03c2 $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" \u03bc\u03b5\u03b3\u03ad\u03b8\u03bf\u03c5\u03c2 $2","RECEIPT_CARD_TAX":"\u03a6\u03cc\u03c1\u03bf\u03c2","RECEIPT_CARD_TOTAL":"\u03a3\u03cd\u03bd\u03bf\u03bb\u03bf","RECEIPT_CARD_VAT":"\u03a6\u03a0\u0391","SPEECH_INPUT_LISTENING":"\u0391\u03ba\u03c1\u03cc\u03b1\u03c3\u03b7...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u039c\u03b9\u03ba\u03c1\u03cc\u03c6\u03c9\u03bd\u03bf \u03b1\u03bd\u03b5\u03bd\u03b5\u03c1\u03b3\u03cc","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u039c\u03b9\u03ba\u03c1\u03cc\u03c6\u03c9\u03bd\u03bf \u03b5\u03bd\u03b5\u03c1\u03b3\u03cc","SPEECH_INPUT_STARTING":"\u0388\u03bd\u03b1\u03c1\u03be\u03b7\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0388\u03c7\u03b5\u03b9 \u03c0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0395\u03af\u03bd\u03b1\u03b9 \u03ba\u03b5\u03bd\u03cc","SUGGESTED_ACTIONS_ALT":"\u039a\u03bf\u03bd\u03c4\u03ad\u03b9\u03bd\u03b5\u03c1 \u03c0\u03c1\u03bf\u03c4\u03b5\u03b9\u03bd\u03cc\u03bc\u03b5\u03bd\u03c9\u03bd \u03b5\u03bd\u03b5\u03c1\u03b3\u03b5\u03b9\u03ce\u03bd: $1","TEXT_INPUT_ALT":"\u03a0\u03bb\u03b1\u03af\u03c3\u03b9\u03bf \u03b5\u03b9\u03c3\u03b1\u03b3\u03c9\u03b3\u03ae\u03c2 \u03bc\u03b7\u03bd\u03cd\u03bc\u03b1\u03c4\u03bf\u03c2","TEXT_INPUT_PLACEHOLDER":"\u03a0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03bf\u03b3\u03ae\u03c3\u03c4\u03b5 \u03c4\u03bf \u03bc\u03ae\u03bd\u03c5\u03bc\u03ac \u03c3\u03b1\u03c2","TEXT_INPUT_SEND_BUTTON_ALT":"\u0391\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u039f\u03bc\u03b9\u03bb\u03af\u03b1","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u0391\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae \u03b1\u03c1\u03c7\u03b5\u03af\u03bf\u03c5","TOAST_ACCORDION_FEW":"$1 \u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9\u03c2: \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b5\u03af\u03c4\u03b5 \u03bb\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b5\u03c2","TOAST_ACCORDION_MANY":"$1 \u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9\u03c2: \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b5\u03af\u03c4\u03b5 \u03bb\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b5\u03c2","TOAST_ACCORDION_OTHER":"$1 \u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9\u03c2: \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b5\u03af\u03c4\u03b5 \u03bb\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b5\u03c2","TOAST_ACCORDION_TWO":"$1 \u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03b9\u03ae\u03c3\u03b5\u03b9\u03c2: \u039a\u03ac\u03bd\u03c4\u03b5 \u03ba\u03bb\u03b9\u03ba \u03b5\u03b4\u03ce \u03b3\u03b9\u03b1 \u03bd\u03b1 \u03b4\u03b5\u03af\u03c4\u03b5 \u03bb\u03b5\u03c0\u03c4\u03bf\u03bc\u03ad\u03c1\u03b5\u03b9\u03b5\u03c2","TOAST_ALT_ERROR":"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1","TOAST_ALT_INFO":"\u03a0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2","TOAST_ALT_SUCCESS":"\u0395\u03c0\u03b9\u03c4\u03c5\u03c7\u03af\u03b1","TOAST_ALT_WARN":"\u03a0\u03c1\u03bf\u03b5\u03b9\u03b4\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7","TOAST_DISMISS_BUTTON":"\u039c\u03b1\u03c4\u03b1\u03af\u03c9\u03c3\u03b7","TOAST_TITLE_ALT":"\u0395\u03b9\u03b4\u03bf\u03c0\u03bf\u03af\u03b7\u03c3\u03b7","TRANSCRIPT_NEW_MESSAGES":"\u039d\u03ad\u03b1 \u03bc\u03b7\u03bd\u03cd\u03bc\u03b1\u03c4\u03b1","TYPING_INDICATOR_ALT":"\u0395\u03bc\u03c6\u03ac\u03bd\u03b9\u03c3\u03b7 \u03b4\u03b5\u03af\u03ba\u03c4\u03b7 \u03c0\u03bb\u03b7\u03ba\u03c4\u03c1\u03bf\u03bb\u03cc\u03b3\u03b7\u03c3\u03b7\u03c2"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] The content of this file is locked. Contributions are welcome, but change validation may be delayed.","ACTIVITY_BOT_SAID":"Bot $1 said, $2. Sent at $3.","_ACTIVITY_BOT_SAID.comment":"$1 is the initials for the bot (e.g. \\"JD\\"), and $2 is user-generated content, the actual message.","ACTIVITY_ERROR_BOX_TITLE":"Error message","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Send failed. [Retry][RETRY].","_ACTIVITY_STATUS_SEND_FAILED_RETRY.comment":"This is Markdown. Do not localize \\"[RETRY]\\" (the one in uppercase).","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Sending","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Sent at $1","_ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT.comment":"$1 is the time when the message is successfully sent, in absolute format, e.g. 12:34 PM.","ACTIVITY_STATUS_SEND_STATUS_ALT":"Send Status: $1","_ACTIVITY_STATUS_SEND_STATUS_ALT.comment":"This is for screen reader. $1 will be one of \\"ACTIVITY_STATUS_SEND_STATUS_ALT_*\\".","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Just now","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"An hour ago","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"A minute ago","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Today","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Yesterday","ACTIVITY_USER_SAID":"User $1 said, $2. Sent at $3.","_ACTIVITY_USER_SAID.comment":"$1 is the initials for the user (e.g. \\"LC\\"), and $2 is user-generated content, the actual message.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Adaptive Card parse error","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Adaptive Card render error","CAROUSEL_ATTACHMENTS_BOT_ALT":"Bot sent","_CAROUSEL_ATTACHMENTS_BOT_ALT.comment":"This is for screen reader and is narrated before a list of attachments, sent by the bot.","CAROUSEL_ATTACHMENTS_USER_ALT":"User sent","_CAROUSEL_ATTACHMENTS_USER_ALT.comment":"This is for screen reader and is narrated before a list of attachments, sent by the user.","CAROUSEL_FLIPPER_LEFT_ALT":"Left","_CAROUSEL_FLIPPER_LEFT_ALT.comment":"This is for screen reader for the label of the left flipper button for carousels.","CAROUSEL_FLIPPER_RIGHT_ALT":"Right","_CAROUSEL_FLIPPER_RIGHT_ALT.comment":"This is for screen reader for the label of the right flipper button for carousels.","CONNECTIVITY_STATUS_ALT_CONNECTED":"Connected","CONNECTIVITY_STATUS_ALT_CONNECTING":"Connecting\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Unable to connect.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Network interruption occurred. Reconnecting\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Render error. Please check the console or contact the bot developer.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Taking longer than usual to connect.","CONNECTIVITY_STATUS_ALT":"Connectivity Status: $1","_CONNECTIVITY_STATUS_ALT.comment":"This is for screen reader. $1 will be one of \\"CONNECTIVITY_STATUS_ALT_\\"*.","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Download file \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Download file \'$1\' of size $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' of size $2","_FILE_CONTENT_ALT.comment":"$1 is the name of the file, e.g. document.docx. $2 is the file size, e.g. 12 MB","RECEIPT_CARD_TAX":"Tax","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"Listening\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microphone off","_SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT.comment":"This is for screen reader and is the label of the microphone button, when clicked, will close microphone.","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microphone on","_SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT.comment":"This is for screen reader and is the label of the microphone button, when clicked, will open microphone.","SPEECH_INPUT_STARTING":"Starting\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Has content","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Is empty","SUGGESTED_ACTIONS_ALT":"Suggested Actions Container: $1","_SUGGESTED_ACTIONS_ALT.comment":"This is for screen reader. $1 will be one of \\"SUGGESTED_ACTIONS_ALT_*\\".","TEXT_INPUT_ALT":"Message input box","_TEXT_INPUT_ALT.comment":"This is for screen reader for the label of the message input box.","TEXT_INPUT_PLACEHOLDER":"Type your message","TEXT_INPUT_SEND_BUTTON_ALT":"Send","TEXT_INPUT_SPEAK_BUTTON_ALT":"Speak","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Upload file","TOAST_ACCORDION_FEW":"$1 Notifications: Click here to see details","_TOAST_ACCORDION_FEW.comment":"$1 is the number of notifications. This is for plural rule of \\"few\\".","TOAST_ACCORDION_MANY":"$1 Notifications: Click here to see details","_TOAST_ACCORDION_MANY.comment":"$1 is the number of notifications. This is for plural rule of \\"many\\".","TOAST_ACCORDION_OTHER":"$1 Notifications: Click here to see details","_TOAST_ACCORDION_OTHER.comment":"$1 is the number of notifications. This is for plural rule of \\"other\\".","TOAST_ACCORDION_TWO":"$1 Notifications: Click here to see details","_TOAST_ACCORDION_TWO.comment":"$1 is the number of notifications. This is for plural rule of \\"two\\".","TOAST_ALT_ERROR":"Error","_TOAST_ALT_ERROR.comment":"This is for screen reader.","TOAST_ALT_INFO":"Information","_TOAST_ALT_INFO.comment":"This is for screen reader.","TOAST_ALT_SUCCESS":"Success","_TOAST_ALT_SUCCESS.comment":"This is for screen reader.","TOAST_ALT_WARN":"Warning","_TOAST_ALT_WARN.comment":"This is for screen reader.","TOAST_DISMISS_BUTTON":"Dismiss","TOAST_TITLE_ALT":"Notification","_TOAST_TITLE_ALT.comment":"This is for screen reader. The label for individiual notification.","TRANSCRIPT_NEW_MESSAGES":"New messages","TYPING_INDICATOR_ALT":"Showing typing indicator","_TYPING_INDICATOR_ALT.comment":"This is for screen reader for the label that will be narrated when the other party is typing a message."}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] El contenido de este archivo est\xe1 bloqueado. Todas las aportaciones son bienvenidas, pero la validaci\xf3n de cambios se puede retrasar.","ACTIVITY_BOT_SAID":"El bot $1 dijo: $2. Enviado a las $3.","ACTIVITY_ERROR_BOX_TITLE":"Mensaje de error","ACTIVITY_STATUS_SEND_FAILED_RETRY":"No se pudo enviar. [Reintentar][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Enviando","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Enviado a las $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Estado de env\xedo: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Ahora mismo","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Hace una hora","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Hace un minuto","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hoy","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ayer","ACTIVITY_USER_SAID":"El usuario $1 dijo: $2. Enviado a las $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Error de an\xe1lisis de tarjeta adaptable","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Error de representaci\xf3n de tarjeta adaptable","CAROUSEL_ATTACHMENTS_BOT_ALT":"Enviados por el bot","CAROUSEL_ATTACHMENTS_USER_ALT":"Enviados por el usuario","CAROUSEL_FLIPPER_LEFT_ALT":"Izquierdo","CAROUSEL_FLIPPER_RIGHT_ALT":"Derecho","CONNECTIVITY_STATUS_ALT_CONNECTED":"Conectado","CONNECTIVITY_STATUS_ALT_CONNECTING":"Conectando\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"No se puede conectar.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Interrupci\xf3n de la red. Conectando de nuevo\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Error de representaci\xf3n. Compruebe la consola o p\xf3ngase en contacto con el desarrollador del bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Se est\xe1 tardando m\xe1s de lo habitual en conectarse.","CONNECTIVITY_STATUS_ALT":"Estado de conexi\xf3n: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Descargar archivo \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Descargar el archivo \'$1\' de tama\xf1o $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' de tama\xf1o $2","RECEIPT_CARD_TAX":"Impuesto","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"IVA","SPEECH_INPUT_LISTENING":"Escuchando\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Micr\xf3fono desactivado","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Micr\xf3fono activado","SPEECH_INPUT_STARTING":"Iniciando\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Tiene contenido","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Est\xe1 vac\xedo","SUGGESTED_ACTIONS_ALT":"Contenedor de acciones sugeridas: $1","TEXT_INPUT_ALT":"Cuadro de entrada de mensajes","TEXT_INPUT_PLACEHOLDER":"Escriba su mensaje","TEXT_INPUT_SEND_BUTTON_ALT":"Enviar","TEXT_INPUT_SPEAK_BUTTON_ALT":"Hablar","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Cargar archivo","TOAST_ACCORDION_FEW":"$1 notificaciones: Haga clic aqu\xed para ver m\xe1s detalles","TOAST_ACCORDION_MANY":"$1 notificaciones: Haga clic aqu\xed para ver m\xe1s detalles","TOAST_ACCORDION_OTHER":"$1 notificaciones: Haga clic aqu\xed para ver m\xe1s detalles","TOAST_ACCORDION_TWO":"$1 notificaciones: Haga clic aqu\xed para ver m\xe1s detalles","TOAST_ALT_ERROR":"Error","TOAST_ALT_INFO":"Informaci\xf3n","TOAST_ALT_SUCCESS":"Correcta","TOAST_ALT_WARN":"Advertencia","TOAST_DISMISS_BUTTON":"Descartar","TOAST_TITLE_ALT":"Notificaci\xf3n","TRANSCRIPT_NEW_MESSAGES":"Mensajes nuevos","TYPING_INDICATOR_ALT":"Mostrando indicador de escritura"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Selle faili sisu on lukus. Panused on teretulnud, kuid muudatuste valideerimine v\xf5ib aega v\xf5tta.","ACTIVITY_BOT_SAID":"Robot $1 \xfctles $2. Saadetud $3.","ACTIVITY_ERROR_BOX_TITLE":"T\xf5rketeade","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Saatmine nurjus. [Proovi uuesti][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Saatmine","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Saadetud kell $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Saatmise olek: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Just praegu","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Tund tagasi","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Minut tagasi","ACTIVITY_STATUS_TIMESTAMP_TODAY":"T\xe4na","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Eile","ACTIVITY_USER_SAID":"Kasutaja $1 \xfctles $2. Saadetud $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Kohandatava kaardi s\xf5elumise t\xf5rge","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Kohandatava kaardi renderdamise t\xf5rge","CAROUSEL_ATTACHMENTS_BOT_ALT":"Roboti saadetud","CAROUSEL_ATTACHMENTS_USER_ALT":"Kasutaja saadetud","CAROUSEL_FLIPPER_LEFT_ALT":"Vasak","CAROUSEL_FLIPPER_RIGHT_ALT":"Parem","CONNECTIVITY_STATUS_ALT_CONNECTED":"\xdchendatud","CONNECTIVITY_STATUS_ALT_CONNECTING":"\xdchenduse loomine\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\xdchendamine nurjus.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Ilmnes v\xf5rgukatkestus. Uuesti \xfchendamine\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Renderdamise t\xf5rge. Kontrollige konsooli v\xf5i p\xf6\xf6rduge roboti arendaja poole.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\xdchenduse loomiseks l\xe4heb tavap\xe4rasest kauem aega.","CONNECTIVITY_STATUS_ALT":"\xdchenduse olek: $1","FILE_CONTENT_ALT":"\u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_ALT":"Laadi alla fail \u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Laadi alla fail \u201e$1\u201d mahuga $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201d mahuga $2","RECEIPT_CARD_TAX":"Maks","RECEIPT_CARD_TOTAL":"Kokku","RECEIPT_CARD_VAT":"KM","SPEECH_INPUT_LISTENING":"Kuulamine\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon v\xe4ljas","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon sees","SPEECH_INPUT_STARTING":"Algus\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"On sisu","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"On t\xfchi","SUGGESTED_ACTIONS_ALT":"Soovitatud tegevuste konteiner: $1","TEXT_INPUT_ALT":"S\xf5numi sisestuse v\xe4li","TEXT_INPUT_PLACEHOLDER":"Tippige oma s\xf5num","TEXT_INPUT_SEND_BUTTON_ALT":"Saada","TEXT_INPUT_SPEAK_BUTTON_ALT":"R\xe4\xe4gi","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Laadi fail \xfcles","TOAST_ACCORDION_FEW":"$1 teatist: \xfcksikasjade kuvamiseks kl\xf5psake siin","TOAST_ACCORDION_MANY":"$1 teatist: \xfcksikasjade kuvamiseks kl\xf5psake siin","TOAST_ACCORDION_OTHER":"$1 teatist: \xfcksikasjade kuvamiseks kl\xf5psake siin","TOAST_ACCORDION_TWO":"$1 teatist: \xfcksikasjade kuvamiseks kl\xf5psake siin","TOAST_ALT_ERROR":"T\xf5rge","TOAST_ALT_INFO":"Teave","TOAST_ALT_SUCCESS":"Tehtud","TOAST_ALT_WARN":"Hoiatus","TOAST_DISMISS_BUTTON":"Sule","TOAST_TITLE_ALT":"Teatis","TRANSCRIPT_NEW_MESSAGES":"Uued s\xf5numid","TYPING_INDICATOR_ALT":"Tippimise n\xe4idiku kuvamine"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Fitxategi honen edukia blokeatuta dago. Ekarpenak onartzen dira, baina baliteke aldaketen balidazioa atzeratzea.","ACTIVITY_BOT_SAID":"$1 bot-ak \\"$2\\" esan du. Bidaltze-data: $3.","ACTIVITY_ERROR_BOX_TITLE":"Errore-mezua","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Ezin izan da bidali. [Saiatu berriro][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Bidaltzen","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Bidaltze-ordua: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Bidalketaren egoera: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Oraintxe bertan","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Duela ordubete","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Duela minutu bat","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Gaur","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Atzo","ACTIVITY_USER_SAID":"$1 erabiltzaileak \\"$2\\" esan du. Bidaltze-data: $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Txartel moldagarriaren analisi-errorea","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Txartel moldagarriaren errendatze-errorea","CAROUSEL_ATTACHMENTS_BOT_ALT":"Botak bidalia","CAROUSEL_ATTACHMENTS_USER_ALT":"Erabiltzaileak bidalia","CAROUSEL_FLIPPER_LEFT_ALT":"Ezkerra","CAROUSEL_FLIPPER_RIGHT_ALT":"Eskuina","CONNECTIVITY_STATUS_ALT_CONNECTED":"Konektatu da","CONNECTIVITY_STATUS_ALT_CONNECTING":"Konektatzen\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Ezin da konektatu.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Sareko konexioa eten egin da. Berriro konektatzen\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Errendatze-errorea. Egiaztatu kontsola edo jarri harremanetan botaren garatzailearekin.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Ohi baino denbora gehiago behar izaten ari gara konektatzeko.","CONNECTIVITY_STATUS_ALT":"Konexioaren egoera: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"Deskargatu \\"$1\\" fitxategia","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Deskargatu \\"$1\\" fitxategia (tamaina: $2)","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" (tamaina: $2)","RECEIPT_CARD_TAX":"Zerga","RECEIPT_CARD_TOTAL":"Guztira","RECEIPT_CARD_VAT":"BEZ","SPEECH_INPUT_LISTENING":"Entzuten\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofonoa desaktibatuta dago","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofonoa aktibatuta dago","SPEECH_INPUT_STARTING":"Hasten\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Edukia du","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Hutsik dago","SUGGESTED_ACTIONS_ALT":"Iradokitako ekintzen edukitzailea: $1","TEXT_INPUT_ALT":"Mezua idazteko koadroa","TEXT_INPUT_PLACEHOLDER":"Idatzi mezua","TEXT_INPUT_SEND_BUTTON_ALT":"Bidali","TEXT_INPUT_SPEAK_BUTTON_ALT":"Hitz egin","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Kargatu fitxategia","TOAST_ACCORDION_FEW":"$1 jakinarazpen. Egin klik hemen xehetasunak ikusteko","TOAST_ACCORDION_MANY":"$1 jakinarazpen. Egin klik hemen xehetasunak ikusteko","TOAST_ACCORDION_OTHER":"$1 jakinarazpen. Egin klik hemen xehetasunak ikusteko","TOAST_ACCORDION_TWO":"$1 jakinarazpen. Egin klik hemen xehetasunak ikusteko","TOAST_ALT_ERROR":"Errorea","TOAST_ALT_INFO":"Informazioa","TOAST_ALT_SUCCESS":"Gauzatu da","TOAST_ALT_WARN":"Abisua","TOAST_DISMISS_BUTTON":"Baztertu","TOAST_TITLE_ALT":"Jakinarazpena","TRANSCRIPT_NEW_MESSAGES":"Mezu berriak","TYPING_INDICATOR_ALT":"Idazketa-adierazlea ikusgai dago"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] T\xe4m\xe4n tiedoston sis\xe4lt\xf6 on lukittu. Osallistuminen on tervetullutta, mutta muutosten tarkistamisessa saattaa olla viivett\xe4.","ACTIVITY_BOT_SAID":"Botti $1 sanoi $2. L\xe4hetetty $3.","ACTIVITY_ERROR_BOX_TITLE":"Virhesanoma","ACTIVITY_STATUS_SEND_FAILED_RETRY":"L\xe4hetys ep\xe4onnistui. [Yrit\xe4 uudelleen][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"L\xe4hetet\xe4\xe4n","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"L\xe4hetetty $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"L\xe4hetyksen tila: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Juuri nyt","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Tunti sitten","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Minuutti sitten","ACTIVITY_STATUS_TIMESTAMP_TODAY":"T\xe4n\xe4\xe4n","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Eilen","ACTIVITY_USER_SAID":"K\xe4ytt\xe4j\xe4 $1 sanoi $2. L\xe4hetetty $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Mukautuvan kortin j\xe4sennysvirhe","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Mukautuvan kortin muodostusvirhe","CAROUSEL_ATTACHMENTS_BOT_ALT":"Botti l\xe4hetti","CAROUSEL_ATTACHMENTS_USER_ALT":"K\xe4ytt\xe4j\xe4 l\xe4hetti","CAROUSEL_FLIPPER_LEFT_ALT":"Vasen","CAROUSEL_FLIPPER_RIGHT_ALT":"Oikea","CONNECTIVITY_STATUS_ALT_CONNECTED":"Yhdistetty","CONNECTIVITY_STATUS_ALT_CONNECTING":"Muodostetaan yhteytt\xe4\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Yhdist\xe4minen ei onnistu.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Verkkoyhteys keskeytyi. Yhdistet\xe4\xe4n uudelleen\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Muodostusvirhe. Tarkista konsoli tai ota yhteytt\xe4 botin kehitt\xe4j\xe4\xe4n.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Yhteyden muodostaminen kest\xe4\xe4 tavallista kauemmin.","CONNECTIVITY_STATUS_ALT":"Yhteyden tila: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"Lataa tiedosto $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Lataa tiedosto $1 (koko $2)","FILE_CONTENT_WITH_SIZE_ALT":"$1 (koko $2)","RECEIPT_CARD_TAX":"Vero","RECEIPT_CARD_TOTAL":"Yhteens\xe4","RECEIPT_CARD_VAT":"ALV","SPEECH_INPUT_LISTENING":"Kuunnellaan\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofoni pois p\xe4\xe4lt\xe4","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofoni p\xe4\xe4ll\xe4","SPEECH_INPUT_STARTING":"Aloitetaan\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"On sis\xe4lt\xf6\xe4","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"On tyhj\xe4","SUGGESTED_ACTIONS_ALT":"Ehdotettujen toimintojen s\xe4il\xf6: $1","TEXT_INPUT_ALT":"Viestin sy\xf6tt\xf6ruutu","TEXT_INPUT_PLACEHOLDER":"Kirjoita viestisi","TEXT_INPUT_SEND_BUTTON_ALT":"L\xe4het\xe4","TEXT_INPUT_SPEAK_BUTTON_ALT":"Puhu","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Lataa tiedosto palvelimeen","TOAST_ACCORDION_FEW":"$1 ilmoitusta: Katso lis\xe4tietoja napsauttamalla t\xe4st\xe4","TOAST_ACCORDION_MANY":"$1 ilmoitusta: Katso lis\xe4tietoja napsauttamalla t\xe4st\xe4","TOAST_ACCORDION_OTHER":"$1 ilmoitusta: Katso lis\xe4tietoja napsauttamalla t\xe4st\xe4","TOAST_ACCORDION_TWO":"$1 ilmoitusta: Katso lis\xe4tietoja napsauttamalla t\xe4st\xe4","TOAST_ALT_ERROR":"Virhe","TOAST_ALT_INFO":"Tiedot","TOAST_ALT_SUCCESS":"Onnistui","TOAST_ALT_WARN":"Varoitus","TOAST_DISMISS_BUTTON":"Hylk\xe4\xe4","TOAST_TITLE_ALT":"Ilmoitus","TRANSCRIPT_NEW_MESSAGES":"Uudet viestit","TYPING_INDICATOR_ALT":"N\xe4ytet\xe4\xe4n kirjoittamisen ilmaisin"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Le contenu de ce fichier est verrouill\xe9. Les contributions sont les bienvenues, mais la validation des modifications peut \xeatre retard\xe9e.","ACTIVITY_BOT_SAID":"Le bot $1 a dit, $2. Envoy\xe9 \xe0 $3.","ACTIVITY_ERROR_BOX_TITLE":"Message d\'erreur","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\xc9chec de l\'envoi. [R\xe9essayez][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Envoi en cours","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Envoy\xe9 \xe0 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Statut d\'envoi\xa0: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\xc0 l\'instant","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Il y a une heure","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Il y a une minute","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Aujourd\'hui","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Hier","ACTIVITY_USER_SAID":"L\'utilisateur $1 a dit, $2. Envoy\xe9 \xe0 $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Erreur d\'analyse de la carte adaptative","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Erreur d\'affichage de la carte adaptative","CAROUSEL_ATTACHMENTS_BOT_ALT":"Le bot a envoy\xe9","CAROUSEL_ATTACHMENTS_USER_ALT":"L\'utilisateur a envoy\xe9","CAROUSEL_FLIPPER_LEFT_ALT":"Gauche","CAROUSEL_FLIPPER_RIGHT_ALT":"Droit","CONNECTIVITY_STATUS_ALT_CONNECTED":"Connect\xe9","CONNECTIVITY_STATUS_ALT_CONNECTING":"Connexion en cours...","CONNECTIVITY_STATUS_ALT_FATAL":"Impossible de se connecter.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Une interruption du r\xe9seau s\'est produite. Reconnexion en cours...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Erreur de rendu. V\xe9rifiez la console ou contactez le d\xe9veloppeur du bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"La connexion prend plus de temps que d\'habitude.","CONNECTIVITY_STATUS_ALT":"Statut de la connectivit\xe9\xa0: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"T\xe9l\xe9charger le fichier \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"T\xe9l\xe9charger le fichier \'$1\' de taille $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' de taille $2","RECEIPT_CARD_TAX":"Taxe","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"TVA","SPEECH_INPUT_LISTENING":"\xc9coute en cours...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microphone d\xe9sactiv\xe9","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microphone activ\xe9","SPEECH_INPUT_STARTING":"D\xe9marrage en cours...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"A du contenu","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Est vide","SUGGESTED_ACTIONS_ALT":"Conteneur d\'actions sugg\xe9r\xe9es\xa0: $1","TEXT_INPUT_ALT":"Zone de saisie du message","TEXT_INPUT_PLACEHOLDER":"Tapez votre message","TEXT_INPUT_SEND_BUTTON_ALT":"Envoyer","TEXT_INPUT_SPEAK_BUTTON_ALT":"Parler","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Charger le fichier","TOAST_ACCORDION_FEW":"$1 Notifications\xa0: cliquez ici pour afficher les d\xe9tails","TOAST_ACCORDION_MANY":"$1 Notifications\xa0: cliquez ici pour afficher les d\xe9tails","TOAST_ACCORDION_OTHER":"$1 Notifications\xa0: cliquez ici pour afficher les d\xe9tails","TOAST_ACCORDION_TWO":"$1 Notifications\xa0: cliquez ici pour afficher les d\xe9tails","TOAST_ALT_ERROR":"Erreur","TOAST_ALT_INFO":"Informations","TOAST_ALT_SUCCESS":"R\xe9ussite","TOAST_ALT_WARN":"Avertissement","TOAST_DISMISS_BUTTON":"Ignorer","TOAST_TITLE_ALT":"Notification","TRANSCRIPT_NEW_MESSAGES":"Nouveaux messages","TYPING_INDICATOR_ALT":"Affichage de l\'indicateur de saisie"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] O contido deste ficheiro est\xe1 bloqueado. As contribuci\xf3ns son benvidas, pero a validaci\xf3n da modificaci\xf3n pode demorarse.","ACTIVITY_BOT_SAID":"O bot $1 dixo o seguinte: $2. Enviouse \xe1s $3.","ACTIVITY_ERROR_BOX_TITLE":"Mensaxe de erro","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Erro no env\xedo. [Tentar de novo][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Enviando","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Enviada \xe1s $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Estado do env\xedo: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Agora mesmo","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Hai unha hora","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Hai un minuto","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hoxe","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Onte","ACTIVITY_USER_SAID":"O usuario $1 dixo o seguinte: $2. Enviouse \xe1s $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Erro de an\xe1lise do cart\xf3n adaptable","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Erro de procesamento do cart\xf3n adaptable","CAROUSEL_ATTACHMENTS_BOT_ALT":"O bot enviou","CAROUSEL_ATTACHMENTS_USER_ALT":"O usuario enviou","CAROUSEL_FLIPPER_LEFT_ALT":"Esquerda","CAROUSEL_FLIPPER_RIGHT_ALT":"Dereita","CONNECTIVITY_STATUS_ALT_CONNECTED":"Conectado","CONNECTIVITY_STATUS_ALT_CONNECTING":"Conectando\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Non \xe9 posible conectarse.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Produciuse unha interrupci\xf3n da rede. Conectando de novo\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Erro de procesamento. Comprobe a consola ou p\xf3\xf1ase en contacto co programador do bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"A conexi\xf3n est\xe1 a tardar m\xe1is do normal.","CONNECTIVITY_STATUS_ALT":"Estado da conectividade: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"Descargar o ficheiro \\"$1\\"","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Descargar o ficheiro \\"$1\\" cun tama\xf1o de $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" cun tama\xf1o de $2","RECEIPT_CARD_TAX":"Imposto","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"IVE","SPEECH_INPUT_LISTENING":"Escoitando\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Apagar Micr\xf3fono","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Acender micr\xf3fono","SPEECH_INPUT_STARTING":"Iniciando\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ten contido","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Est\xe1 baleiro","SUGGESTED_ACTIONS_ALT":"Contedor de acci\xf3ns suxeridas: $1","TEXT_INPUT_ALT":"Caixa de entrada de mensaxes","TEXT_INPUT_PLACEHOLDER":"Escriba a mensaxe","TEXT_INPUT_SEND_BUTTON_ALT":"Enviar","TEXT_INPUT_SPEAK_BUTTON_ALT":"Falar","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Cargar ficheiro","TOAST_ACCORDION_FEW":"$1 notificaci\xf3ns: prema aqu\xed para ver os detalles","TOAST_ACCORDION_MANY":"$1 notificaci\xf3ns: prema aqu\xed para ver os detalles","TOAST_ACCORDION_OTHER":"$1 notificaci\xf3ns: prema aqu\xed para ver os detalles","TOAST_ACCORDION_TWO":"$1 notificaci\xf3ns: prema aqu\xed para ver os detalles","TOAST_ALT_ERROR":"Erro","TOAST_ALT_INFO":"Informaci\xf3n","TOAST_ALT_SUCCESS":"Correcto","TOAST_ALT_WARN":"Aviso","TOAST_DISMISS_BUTTON":"Rexeitar","TOAST_TITLE_ALT":"Notificaci\xf3n","TRANSCRIPT_NEW_MESSAGES":"Mensaxes novas","TYPING_INDICATOR_ALT":"Mostrando o indicador de escritura"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u05ea\u05d5\u05db\u05df \u05e7\u05d5\u05d1\u05e5 \u05d6\u05d4 \u05e0\u05e2\u05d5\u05dc. \u05ea\u05e8\u05d5\u05de\u05d5\u05ea \u05d9\u05ea\u05e7\u05d1\u05dc\u05d5 \u05d1\u05d1\u05e8\u05db\u05d4, \u05d0\u05da \u05d0\u05d9\u05de\u05d5\u05ea \u05d4\u05e9\u05d9\u05e0\u05d5\u05d9\u05d9\u05dd \u05e2\u05e9\u05d5\u05d9 \u05dc\u05d4\u05ea\u05e2\u05db\u05d1.","ACTIVITY_BOT_SAID":"\u05d4\u05d1\u05d5\u05d8 $1 \u05d0\u05de\u05e8, $2. \u05e0\u05e9\u05dc\u05d7 \u05d1\u05e9\u05e2\u05d4 $3.","ACTIVITY_ERROR_BOX_TITLE":"\u05d4\u05d5\u05d3\u05e2\u05ea \u05e9\u05d2\u05d9\u05d0\u05d4","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u05d4\u05e9\u05dc\u05d9\u05d7\u05d4 \u05e0\u05db\u05e9\u05dc\u05d4. [\u05e0\u05e1\u05d4 \u05e9\u05e0\u05d9\u05ea][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u05e9\u05d5\u05dc\u05d7","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u05e0\u05e9\u05dc\u05d7 \u05d1\u05e9\u05e2\u05d4 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u05de\u05e6\u05d1 \u05e9\u05dc\u05d9\u05d7\u05d4: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u05de\u05de\u05e9 \u05e2\u05db\u05e9\u05d9\u05d5","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u05dc\u05e4\u05e0\u05d9 \u05e9\u05e2\u05d4","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u05dc\u05e4\u05e0\u05d9 \u05d3\u05e7\u05d4","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u05d4\u05d9\u05d5\u05dd","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u05d0\u05ea\u05de\u05d5\u05dc","ACTIVITY_USER_SAID":"\u05d4\u05de\u05e9\u05ea\u05de\u05e9 $1 \u05d0\u05de\u05e8, $2. \u05e0\u05e9\u05dc\u05d7 \u05d1\u05e9\u05e2\u05d4 $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05e0\u05d9\u05ea\u05d5\u05d7 \u05de\u05d1\u05e0\u05d4 \u05d8\u05e7\u05e1\u05d8 \u05e9\u05dc \u05db\u05e8\u05d8\u05d9\u05e1 \u05de\u05e1\u05ea\u05d2\u05dc","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u05e9\u05d2\u05d9\u05d0\u05d4 \u05d1\u05e2\u05d9\u05d1\u05d5\u05d3 \u05db\u05e8\u05d8\u05d9\u05e1 \u05de\u05e1\u05ea\u05d2\u05dc","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u05d4\u05d1\u05d5\u05d8 \u05e9\u05dc\u05d7","CAROUSEL_ATTACHMENTS_USER_ALT":"\u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05e9\u05dc\u05d7","CAROUSEL_FLIPPER_LEFT_ALT":"\u05e9\u05de\u05d0\u05dc","CAROUSEL_FLIPPER_RIGHT_ALT":"\u05d9\u05de\u05d9\u05df","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u05de\u05d7\u05d5\u05d1\u05e8","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u05de\u05ea\u05d7\u05d1\u05e8...","CONNECTIVITY_STATUS_ALT_FATAL":"\u05dc\u05d0 \u05e0\u05d9\u05ea\u05df \u05dc\u05d4\u05ea\u05d7\u05d1\u05e8.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u05d0\u05d9\u05e8\u05e2\u05d4 \u05d4\u05e4\u05e8\u05e2\u05d4 \u05d1\u05e8\u05e9\u05ea. \u05de\u05ea\u05d7\u05d1\u05e8 \u05de\u05d7\u05d3\u05e9...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u05e9\u05d2\u05d9\u05d0\u05ea \u05e2\u05d9\u05d1\u05d5\u05d3. \u05d1\u05d3\u05d5\u05e7 \u05d0\u05ea \u05d4\u05de\u05e1\u05d5\u05e3 \u05d0\u05d5 \u05e4\u05e0\u05d4 \u05d0\u05dc \u05de\u05e4\u05ea\u05d7 \u05d4\u05d1\u05d5\u05d8.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u05d4\u05d4\u05ea\u05d7\u05d1\u05e8\u05d5\u05ea \u05e0\u05de\u05e9\u05db\u05ea \u05d6\u05de\u05df \u05e8\u05d1 \u05de\u05d4\u05e8\u05d2\u05d9\u05dc.","CONNECTIVITY_STATUS_ALT":"\u05de\u05e6\u05d1 \u05e7\u05d9\u05e9\u05d5\u05e8\u05d9\u05d5\u05ea: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u05d4\u05d5\u05e8\u05d3 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u05d4\u05d5\u05e8\u05d3 \u05d0\u05ea \u05d4\u05e7\u05d5\u05d1\u05e5 \'$1\' \u05d1\u05d2\u05d5\u05d3\u05dc $2","FILE_CONTENT_WITH_SIZE_ALT":"\u200f\'$1\' \u05d1\u05d2\u05d5\u05d3\u05dc $2","RECEIPT_CARD_TAX":"\u05de\u05e1","RECEIPT_CARD_TOTAL":"\u05e1\u05da \u05d4\u05db\u05dc","RECEIPT_CARD_VAT":"\u05de\u05e2\\"\u05de","SPEECH_INPUT_LISTENING":"\u05de\u05d0\u05d6\u05d9\u05df\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u05db\u05d1\u05d4 \u05de\u05d9\u05e7\u05e8\u05d5\u05e4\u05d5\u05df","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u05d4\u05e4\u05e2\u05dc \u05de\u05d9\u05e7\u05e8\u05d5\u05e4\u05d5\u05df","SPEECH_INPUT_STARTING":"\u05de\u05ea\u05d7\u05d9\u05dc...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u05de\u05db\u05d9\u05dc \u05ea\u05d5\u05db\u05df","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u05e8\u05d9\u05e7","SUGGESTED_ACTIONS_ALT":"\u05d2\u05d5\u05e8\u05dd \u05de\u05db\u05d9\u05dc \u05e9\u05dc \u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05de\u05d5\u05e6\u05e2\u05d5\u05ea: $1","TEXT_INPUT_ALT":"\u05ea\u05d9\u05d1\u05d4 \u05dc\u05d4\u05d6\u05e0\u05ea \u05d4\u05d5\u05d3\u05e2\u05d4","TEXT_INPUT_PLACEHOLDER":"\u05d4\u05e7\u05dc\u05d3 \u05d0\u05ea \u05d4\u05d4\u05d5\u05d3\u05e2\u05d4 \u05e9\u05dc\u05da","TEXT_INPUT_SEND_BUTTON_ALT":"\u05e9\u05dc\u05d7","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u05d3\u05d1\u05e8","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u05d4\u05e2\u05dc\u05d4 \u05e7\u05d5\u05d1\u05e5","TOAST_ACCORDION_FEW":"$1 \u05d4\u05d5\u05d3\u05e2\u05d5\u05ea: \u05dc\u05d7\u05e5 \u05db\u05d0\u05df \u05dc\u05d4\u05e6\u05d2\u05ea \u05e4\u05e8\u05d8\u05d9\u05dd","TOAST_ACCORDION_MANY":"$1 \u05d4\u05d5\u05d3\u05e2\u05d5\u05ea: \u05dc\u05d7\u05e5 \u05db\u05d0\u05df \u05dc\u05d4\u05e6\u05d2\u05ea \u05e4\u05e8\u05d8\u05d9\u05dd","TOAST_ACCORDION_OTHER":"$1 \u05d4\u05d5\u05d3\u05e2\u05d5\u05ea: \u05dc\u05d7\u05e5 \u05db\u05d0\u05df \u05dc\u05d4\u05e6\u05d2\u05ea \u05e4\u05e8\u05d8\u05d9\u05dd","TOAST_ACCORDION_TWO":"$1 \u05d4\u05d5\u05d3\u05e2\u05d5\u05ea: \u05dc\u05d7\u05e5 \u05db\u05d0\u05df \u05dc\u05d4\u05e6\u05d2\u05ea \u05e4\u05e8\u05d8\u05d9\u05dd","TOAST_ALT_ERROR":"\u200f\u200f\u05e9\u05d2\u05d9\u05d0\u05d4","TOAST_ALT_INFO":"\u05de\u05d9\u05d3\u05e2","TOAST_ALT_SUCCESS":"\u05d4\u05e6\u05dc\u05d7\u05d4","TOAST_ALT_WARN":"\u05d0\u05d6\u05d4\u05e8\u05d4","TOAST_DISMISS_BUTTON":"\u05d1\u05d8\u05dc","TOAST_TITLE_ALT":"\u05d4\u05d5\u05d3\u05e2\u05d4","TRANSCRIPT_NEW_MESSAGES":"\u05d4\u05d5\u05d3\u05e2\u05d5\u05ea \u05d7\u05d3\u05e9\u05d5\u05ea","TYPING_INDICATOR_ALT":"\u05de\u05d7\u05d5\u05d5\u05df \u05e9\u05de\u05e6\u05d9\u05d2 \u05d4\u05e7\u05dc\u05d3\u05d4"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u0907\u0938 \u092b\u093c\u093e\u0907\u0932 \u0915\u0940 \u0938\u093e\u092e\u0917\u094d\u0930\u0940 \u0932\u0949\u0915 \u0939\u0948. \u092f\u094b\u0917\u0926\u093e\u0928\u0915\u0930\u094d\u0924\u093e\u0913\u0902 \u0915\u093e \u0938\u094d\u0935\u093e\u0917\u0924 \u0939\u0948, \u0932\u0947\u0915\u093f\u0928 \u092a\u0930\u093f\u0935\u0930\u094d\u0924\u0928 \u0938\u0924\u094d\u092f\u093e\u092a\u0928 \u092e\u0947\u0902 \u0926\u0947\u0930\u0940 \u0939\u094b \u0938\u0915\u0924\u0940 \u0939\u0948.","ACTIVITY_BOT_SAID":"\u092c\u094b\u091f $1 \u0928\u0947 \u092c\u0924\u093e\u092f\u093e \u0915\u093f $2. \u0915\u094b $3 \u092a\u0930 \u092d\u0947\u091c\u093e \u0917\u092f\u093e.","ACTIVITY_ERROR_BOX_TITLE":"\u0924\u094d\u0930\u0941\u091f\u093f \u0938\u0902\u0926\u0947\u0936","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u092d\u0947\u091c\u0928\u093e \u0935\u093f\u092b\u0932. [\u092a\u0941\u0928: \u092a\u094d\u0930\u092f\u093e\u0938 \u0915\u0930\u0947\u0902][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u092d\u0947\u091c\u0940 \u091c\u093e \u0930\u0939\u0940 \u0939\u0948","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"$1 \u092a\u0930 \u092d\u0947\u091c\u0940 \u0917\u0908","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u092d\u0947\u091c\u0947 \u091c\u093e\u0928\u0947 \u0915\u0940 \u0938\u094d\u0925\u093f\u0924\u093f: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0905\u092d\u0940-\u0905\u092d\u0940","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u090f\u0915 \u0918\u0902\u091f\u093e \u092a\u0939\u0932\u0947","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u092e\u093f\u0928\u091f \u092a\u0939\u0932\u0947","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0906\u091c","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u092c\u0940\u0924\u093e \u0939\u0941\u0906 \u0915\u0932","ACTIVITY_USER_SAID":"\u0909\u092a\u092f\u094b\u0917\u0915\u0930\u094d\u0924\u093e $1 \u0928\u0947 \u092c\u0924\u093e\u092f\u093e \u0915\u093f $2. \u0915\u094b $3 \u092a\u0930 \u092d\u0947\u091c\u093e \u0917\u092f\u093e.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u090f\u0921\u0947\u092a\u094d\u091f\u093f\u0935 \u0915\u093e\u0930\u094d\u0921 \u092a\u093e\u0930\u094d\u0938 \u0924\u094d\u0930\u0941\u091f\u093f","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u090f\u0921\u0947\u092a\u094d\u091f\u093f\u0935 \u0915\u093e\u0930\u094d\u0921 \u0930\u0947\u0902\u0921\u0930 \u0924\u094d\u0930\u0941\u091f\u093f","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u092c\u0949\u091f \u092d\u0947\u091c\u093e \u0917\u092f\u093e","CAROUSEL_ATTACHMENTS_USER_ALT":"\u0909\u092a\u092f\u094b\u0917\u0915\u0930\u094d\u0924\u093e \u092d\u0947\u091c\u093e \u0917\u092f\u093e","CAROUSEL_FLIPPER_LEFT_ALT":"\u092c\u093e\u090f\u0901","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0926\u093e\u090f\u0901","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0915\u0928\u0947\u0915\u094d\u091f \u0915\u093f\u092f\u093e \u0917\u092f\u093e","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u0915\u0928\u0947\u0915\u094d\u091f \u0915\u093f\u092f\u093e \u091c\u093e \u0930\u0939\u093e \u0939\u0948...","CONNECTIVITY_STATUS_ALT_FATAL":"\u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0928\u0947 \u092e\u0947\u0902 \u0905\u0938\u092e\u0930\u094d\u0925.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0928\u0947\u091f\u0935\u0930\u094d\u0915 \u0935\u094d\u092f\u0935\u0927\u093e\u0928 \u0909\u0924\u094d\u092a\u0928\u094d\u0928 \u0939\u0941\u0906. \u092a\u0941\u0928: \u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0947\u0902...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u0930\u0947\u0902\u0921\u0930 \u0924\u094d\u0930\u0941\u091f\u093f. \u0915\u0943\u092a\u092f\u093e \u0915\u0902\u0938\u094b\u0932 \u0915\u0940 \u091c\u093e\u0901\u091a \u0915\u0930\u0947\u0902 \u092f\u093e \u092c\u0949\u091f \u0921\u0947\u0935\u0932\u092a\u0930 \u0938\u0947 \u0938\u0902\u092a\u0930\u094d\u0915 \u0915\u0930\u0947\u0902.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0915\u0928\u0947\u0915\u094d\u091f \u0939\u094b\u0928\u0947 \u092e\u0947\u0902 \u0938\u093e\u092e\u093e\u0928\u094d\u092f \u0938\u0947 \u0905\u0927\u093f\u0915 \u0938\u092e\u092f \u0932\u0947 \u0930\u0939\u093e \u0939\u0948.","CONNECTIVITY_STATUS_ALT":"\u0915\u0928\u0947\u0915\u094d\u091f\u093f\u0935\u093f\u091f\u0940 \u0938\u094d\u0925\u093f\u0924\u093f: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\'$1\' \u092b\u093c\u093e\u0907\u0932 \u0921\u093e\u0909\u0928\u0932\u094b\u0921 \u0915\u0930\u0947\u0902","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"$2 \u0915\u0947 \u0906\u0915\u093e\u0930 \u0915\u0940 \'$1\' \u092b\u093c\u093e\u0907\u0932 \u0921\u093e\u0909\u0928\u0932\u094b\u0921 \u0915\u0930\u0947\u0902","FILE_CONTENT_WITH_SIZE_ALT":"$2 \u0915\u0947 \u0906\u0915\u093e\u0930 \u0915\u0940 \'$1\'","RECEIPT_CARD_TAX":"\u0915\u0930","RECEIPT_CARD_TOTAL":"\u092f\u094b\u0917","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"\u0938\u0941\u0928 \u0930\u0939\u093e \u0939\u0948...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u092e\u093e\u0907\u0915\u094d\u0930\u094b\u092b\u093c\u094b\u0928 \u092c\u0902\u0926 \u0915\u0930\u0947\u0902","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u092e\u093e\u0907\u0915\u094d\u0930\u094b\u092b\u093c\u094b\u0928 \u091a\u093e\u0932\u0942 \u0915\u0930\u0947\u0902","SPEECH_INPUT_STARTING":"\u0906\u0930\u0902\u092d \u0939\u094b \u0930\u0939\u093e \u0939\u0948\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0907\u0938\u092e\u0947\u0902 \u0938\u093e\u092e\u0917\u094d\u0930\u0940 \u0939\u0948","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0916\u093e\u0932\u0940 \u0939\u0948","SUGGESTED_ACTIONS_ALT":"\u0938\u0941\u091d\u093e\u0908 \u0917\u0908 \u0915\u093e\u0930\u094d\u0930\u0935\u093e\u0907\u092f\u094b\u0902 \u0915\u093e \u0915\u0902\u091f\u0947\u0928\u0930: $1","TEXT_INPUT_ALT":"\u0938\u0902\u0926\u0947\u0936 \u0907\u0928\u092a\u0941\u091f \u092c\u0949\u0915\u094d\u0938","TEXT_INPUT_PLACEHOLDER":"\u0905\u092a\u0928\u093e \u0938\u0902\u0926\u0947\u0936 \u0932\u093f\u0916\u0947\u0902","TEXT_INPUT_SEND_BUTTON_ALT":"\u092d\u0947\u091c\u0947\u0902","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u092c\u094b\u0932\u0947\u0902","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u092b\u093c\u093e\u0907\u0932 \u0905\u092a\u0932\u094b\u0921 \u0915\u0930\u0947\u0902","TOAST_ACCORDION_FEW":"$1 \u0938\u0942\u091a\u0928\u093e\u090f\u0901: \u0935\u093f\u0935\u0930\u0923 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939\u093e\u0901 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902","TOAST_ACCORDION_MANY":"$1 \u0938\u0942\u091a\u0928\u093e\u090f\u0901: \u0935\u093f\u0935\u0930\u0923 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939\u093e\u0901 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902","TOAST_ACCORDION_OTHER":"$1 \u0938\u0942\u091a\u0928\u093e\u090f\u0901: \u0935\u093f\u0935\u0930\u0923 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939\u093e\u0901 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902","TOAST_ACCORDION_TWO":"$1 \u0938\u0942\u091a\u0928\u093e\u090f\u0901: \u0935\u093f\u0935\u0930\u0923 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939\u093e\u0901 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902","TOAST_ALT_ERROR":"\u0924\u094d\u0930\u0941\u091f\u093f","TOAST_ALT_INFO":"\u091c\u093e\u0928\u0915\u093e\u0930\u0940","TOAST_ALT_SUCCESS":"\u0938\u092b\u0932","TOAST_ALT_WARN":"\u091a\u0947\u0924\u093e\u0935\u0928\u0940","TOAST_DISMISS_BUTTON":"\u0916\u093e\u0930\u093f\u091c \u0915\u0930\u0947\u0902","TOAST_TITLE_ALT":"\u0938\u0942\u091a\u0928\u093e","TRANSCRIPT_NEW_MESSAGES":"\u0928\u090f \u0938\u0902\u0926\u0947\u0936","TYPING_INDICATOR_ALT":"\u091f\u093e\u0907\u092a \u0915\u0930\u0928\u0947 \u0935\u093e\u0932\u093e \u0938\u0902\u0915\u0947\u0924\u0915 \u0926\u093f\u0916\u093e \u0930\u0939\u093e \u0939\u0948"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Sadr\u017eaj ove datoteke blokiran je. Doprinosi su dobrodo\u0161li, ali provjera valjanosti promjena mo\u017ee biti odgo\u0111ena.","ACTIVITY_BOT_SAID":"Bot $1 rekao je: $2. Poslano u $3.","ACTIVITY_ERROR_BOX_TITLE":"Poruka o pogre\u0161ci","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Slanije nije uspjelo. [Poku\u0161aj ponovno][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Slanje","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Poslano u $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status slanja: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Upravo sada","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Prije 1 h","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Prije 1 minute","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Danas","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ju\u010der","ACTIVITY_USER_SAID":"Korisnik $1 rekao je: $2. Poslano u $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Pogre\u0161ka pri ra\u0161\u010dlambi prilagodljive kartice","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Pogre\u0161ka pri renderiranju prilagodljive kartice","CAROUSEL_ATTACHMENTS_BOT_ALT":"Poslao bot","CAROUSEL_ATTACHMENTS_USER_ALT":"Poslao korisnik","CAROUSEL_FLIPPER_LEFT_ALT":"Lijevo","CAROUSEL_FLIPPER_RIGHT_ALT":"Desno","CONNECTIVITY_STATUS_ALT_CONNECTED":"Povezano","CONNECTIVITY_STATUS_ALT_CONNECTING":"Povezivanje u tijeku...","CONNECTIVITY_STATUS_ALT_FATAL":"Povezivanje nije mogu\u0107e.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Do\u0161lo je do prekida mre\u017ee. U tijeku je ponovno povezivanje...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Pogre\u0161ka pri renderiranju. Provjerite konzolu ili se obratite razvojnom in\u017eenjeru bota.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Povezivanje traje dulje nego obi\u010dno.","CONNECTIVITY_STATUS_ALT":"Status veze: $1","FILE_CONTENT_ALT":"\u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_ALT":"Preuzimanje datoteke \u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Preuzimanje datoteke \u201e$1\u201d veli\u010dine $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201d veli\u010dine $2","RECEIPT_CARD_TAX":"Porez","RECEIPT_CARD_TOTAL":"Ukupno","RECEIPT_CARD_VAT":"PDV","SPEECH_INPUT_LISTENING":"Slu\u0161anje...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon je isklju\u010den","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon je uklju\u010den","SPEECH_INPUT_STARTING":"Zapo\u010dinje...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ima sadr\u017eaj","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Je prazan","SUGGESTED_ACTIONS_ALT":"Spremnik predlo\u017eenih radnji: $1","TEXT_INPUT_ALT":"Okvir za unos poruke","TEXT_INPUT_PLACEHOLDER":"Unesite poruku","TEXT_INPUT_SEND_BUTTON_ALT":"Po\u0161alji","TEXT_INPUT_SPEAK_BUTTON_ALT":"Govor","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Prijenos datoteke","TOAST_ACCORDION_FEW":"Obavijesti: $1. Kliknite ovdje za prikaz pojedinosti","TOAST_ACCORDION_MANY":"Obavijesti: $1. Kliknite ovdje za prikaz pojedinosti","TOAST_ACCORDION_OTHER":"Obavijesti: $1. Kliknite ovdje za prikaz pojedinosti","TOAST_ACCORDION_TWO":"Obavijesti: $1. Kliknite ovdje za prikaz pojedinosti","TOAST_ALT_ERROR":"Pogre\u0161ka","TOAST_ALT_INFO":"Informacije","TOAST_ALT_SUCCESS":"Uspjeh","TOAST_ALT_WARN":"Upozorenje","TOAST_DISMISS_BUTTON":"Odbaci","TOAST_TITLE_ALT":"Obavijest","TRANSCRIPT_NEW_MESSAGES":"Nove poruke","TYPING_INDICATOR_ALT":"Prikaz pokazatelja tipkanja"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] A f\xe1jl tartalma z\xe1rolva van. Sz\xedvesen fogadjuk a hozz\xe1j\xe1rul\xe1sokat, de a m\xf3dos\xedt\xe1sok \xe9rv\xe9nyes\xedt\xe9se elh\xfaz\xf3dhat.","ACTIVITY_BOT_SAID":"A(z) $1 robot azt mondta: $2. Elk\xfcldve: $3.","ACTIVITY_ERROR_BOX_TITLE":"Hiba\xfczenet","ACTIVITY_STATUS_SEND_FAILED_RETRY":"A k\xfcld\xe9s sikertelen. [\xdajra][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"K\xfcld\xe9s","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Elk\xfcldve: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"K\xfcld\xe9s \xe1llapota: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\xc9ppen most","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Egy \xf3r\xe1ja","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Egy perce","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Ma","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Tegnap","ACTIVITY_USER_SAID":"$1 felhaszn\xe1l\xf3 azt mondta: $2. Elk\xfcldve: $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Elemz\xe9si hiba az adapt\xedv k\xe1rty\xe1n\xe1l","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Renderel\xe9si hiba az adapt\xedv k\xe1rty\xe1n\xe1l","CAROUSEL_ATTACHMENTS_BOT_ALT":"Robot \xe1ltal k\xfcld\xf6tt","CAROUSEL_ATTACHMENTS_USER_ALT":"Felhaszn\xe1l\xf3 \xe1ltal k\xfcld\xf6tt","CAROUSEL_FLIPPER_LEFT_ALT":"Bal","CAROUSEL_FLIPPER_RIGHT_ALT":"Jobb","CONNECTIVITY_STATUS_ALT_CONNECTED":"Csatlakoztatva","CONNECTIVITY_STATUS_ALT_CONNECTING":"Csatlakoz\xe1s...","CONNECTIVITY_STATUS_ALT_FATAL":"Nem lehet csatlakozni.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"A h\xe1l\xf3zati kapcsolat megszakadt. \xdajracsatlakoz\xe1s...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Renderel\xe9si hiba. Ellen\u0151rizze a konzolt, vagy forduljon a robot fejleszt\u0151j\xe9hez.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"A szok\xe1sosn\xe1l tov\xe1bb tart a csatlakoz\xe1s.","CONNECTIVITY_STATUS_ALT":"Kapcsolat \xe1llapota: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"$1 f\xe1jl let\xf6lt\xe9se","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"A(z) $1 f\xe1jl let\xf6lt\xe9se. M\xe9ret: $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 m\xe9rete: $2","RECEIPT_CARD_TAX":"Ad\xf3","RECEIPT_CARD_TOTAL":"\xd6sszesen","RECEIPT_CARD_VAT":"\xc1FA","SPEECH_INPUT_LISTENING":"Hallgat\xe1s...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon kikapcsolva","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon bekapcsolva","SPEECH_INPUT_STARTING":"Kezd\xe9s...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Van tartalma","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\xdcres","SUGGESTED_ACTIONS_ALT":"Javasolt m\u0171veletek t\xe1rol\xf3ja: $1","TEXT_INPUT_ALT":"\xdczenet beviteli mez\u0151je","TEXT_INPUT_PLACEHOLDER":"\xcdrja be az \xfczenet\xe9t","TEXT_INPUT_SEND_BUTTON_ALT":"K\xfcld\xe9s","TEXT_INPUT_SPEAK_BUTTON_ALT":"Besz\xe9d","TEXT_INPUT_UPLOAD_BUTTON_ALT":"F\xe1jl felt\xf6lt\xe9se","TOAST_ACCORDION_FEW":"$1 \xe9rtes\xedt\xe9s: Kattintson ide a r\xe9szletek megtekint\xe9s\xe9hez","TOAST_ACCORDION_MANY":"$1 \xe9rtes\xedt\xe9s: Kattintson ide a r\xe9szletek megtekint\xe9s\xe9hez","TOAST_ACCORDION_OTHER":"$1 \xe9rtes\xedt\xe9s: Kattintson ide a r\xe9szletek megtekint\xe9s\xe9hez","TOAST_ACCORDION_TWO":"$1 \xe9rtes\xedt\xe9s: Kattintson ide a r\xe9szletek megtekint\xe9s\xe9hez","TOAST_ALT_ERROR":"Hiba","TOAST_ALT_INFO":"Inform\xe1ci\xf3k","TOAST_ALT_SUCCESS":"Sikeres","TOAST_ALT_WARN":"Figyelmeztet\xe9s","TOAST_DISMISS_BUTTON":"Elvet\xe9s","TOAST_TITLE_ALT":"\xc9rtes\xedt\xe9s","TRANSCRIPT_NEW_MESSAGES":"\xdaj \xfczenetek","TYPING_INDICATOR_ALT":"G\xe9pel\xe9sjelz\u0151 megjelen\xedt\xe9se"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Konten file ini terkunci. Kontribusi diterima, namun validasi perubahan mungkin tertunda.","ACTIVITY_BOT_SAID":"Bot $1 berkata, $2. Dikirim pada $3.","ACTIVITY_ERROR_BOX_TITLE":"Pesan kesalahan","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Gagal mengirim. [Coba lagi][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Mengirim","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Dikirim pada $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status Pengiriman: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Baru saja","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Satu jam yang lalu","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Satu menit yang lalu","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hari Ini","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Kemarin","ACTIVITY_USER_SAID":"Pengguna $1 berkata, $2. Dikirim pada $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Kesalahan penguraian Kartu Adaptif","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Kesalahan render Kartu Adaptif","CAROUSEL_ATTACHMENTS_BOT_ALT":"Dikirim bot","CAROUSEL_ATTACHMENTS_USER_ALT":"Dikirim pengguna","CAROUSEL_FLIPPER_LEFT_ALT":"Kiri","CAROUSEL_FLIPPER_RIGHT_ALT":"Kanan","CONNECTIVITY_STATUS_ALT_CONNECTED":"Tersambung","CONNECTIVITY_STATUS_ALT_CONNECTING":"Menyambungkan\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Tidak dapat menyambungkan.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Terjadi gangguan jaringan. Menyambungkan kembali\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Kesalahan render. Periksa konsol atau hubungi pengembang bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Memakan waktu lebih lama dari biasanya untuk menyambungkan.","CONNECTIVITY_STATUS_ALT":"Status Konektivitas: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Unduh file \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Unduh file \'$1\' dengan ukuran $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' dengan ukuran $2","RECEIPT_CARD_TAX":"Pajak","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"PPN","SPEECH_INPUT_LISTENING":"Mendengarkan\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon tidak aktif","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon aktif","SPEECH_INPUT_STARTING":"Memulai\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Memiliki konten","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Kosong","SUGGESTED_ACTIONS_ALT":"Kontainer Tindakan yang Disarankan: $1","TEXT_INPUT_ALT":"Kotak input pesan","TEXT_INPUT_PLACEHOLDER":"Ketik pesan Anda","TEXT_INPUT_SEND_BUTTON_ALT":"Kirim","TEXT_INPUT_SPEAK_BUTTON_ALT":"Ucapkan","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Unggah file","TOAST_ACCORDION_FEW":"$1 Pemberitahuan: Klik di sini untuk melihat detail","TOAST_ACCORDION_MANY":"$1 Pemberitahuan: Klik di sini untuk melihat detail","TOAST_ACCORDION_OTHER":"$1 Pemberitahuan: Klik di sini untuk melihat detail","TOAST_ACCORDION_TWO":"$1 Pemberitahuan: Klik di sini untuk melihat detail","TOAST_ALT_ERROR":"Kesalahan","TOAST_ALT_INFO":"Informasi","TOAST_ALT_SUCCESS":"Berhasil","TOAST_ALT_WARN":"Peringatan","TOAST_DISMISS_BUTTON":"Tutup","TOAST_TITLE_ALT":"Pemberitahuan","TRANSCRIPT_NEW_MESSAGES":"Pesan baru","TYPING_INDICATOR_ALT":"Menampilkan indikator pengetikan"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Il contenuto del file \xe8 bloccato. I contributi sono ben accetti, ma la convalida delle modifiche potrebbe essere posticipata.","ACTIVITY_BOT_SAID":"Il bot $1 ha detto $2. Inviato alle $3.","ACTIVITY_ERROR_BOX_TITLE":"Messaggio di errore","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Invio non riuscito. [tentativo][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Invio in corso","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Inviato alle $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stato invio: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Adesso","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Un\'ora fa","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Un minuto fa","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Oggi","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ieri","ACTIVITY_USER_SAID":"L\'utente $1 ha detto $2. Inviato alle $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Errore di analisi scheda adattiva","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Errore di rendering scheda adattiva","CAROUSEL_ATTACHMENTS_BOT_ALT":"Inviato dal bot","CAROUSEL_ATTACHMENTS_USER_ALT":"Inviato dall\'utente","CAROUSEL_FLIPPER_LEFT_ALT":"A sinistra","CAROUSEL_FLIPPER_RIGHT_ALT":"Diritti","CONNECTIVITY_STATUS_ALT_CONNECTED":"Connesso","CONNECTIVITY_STATUS_ALT_CONNECTING":"Connessione in corso\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Impossibile connettersi.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Interruzione di rete. Riconnessione in corso\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Errore di rendering. Controlla la console o contatta lo sviluppatore del bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"La connessione sta richiedendo pi\xf9 tempo del solito.","CONNECTIVITY_STATUS_ALT":"Stato connettivit\xe0: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"Scarica file \\"$1\\"","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Scarica il file \\"$1\\" con dimensioni pari a $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" con dimensioni pari a $2","RECEIPT_CARD_TAX":"Imposte","RECEIPT_CARD_TOTAL":"Totali","RECEIPT_CARD_VAT":"IVA","SPEECH_INPUT_LISTENING":"In ascolto\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microfono disattivato","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microfono attivo","SPEECH_INPUT_STARTING":"Avvio in corso\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Include contenuto","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Vuoto","SUGGESTED_ACTIONS_ALT":"Contenitore azioni suggerite: $1","TEXT_INPUT_ALT":"Casella di input messaggio","TEXT_INPUT_PLACEHOLDER":"Digita il tuo messaggio","TEXT_INPUT_SEND_BUTTON_ALT":"Invia","TEXT_INPUT_SPEAK_BUTTON_ALT":"Parla","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Carica file","TOAST_ACCORDION_FEW":"$1 notifiche: fai clic qui per visualizzare i dettagli","TOAST_ACCORDION_MANY":"$1 notifiche: fai clic qui per visualizzare i dettagli","TOAST_ACCORDION_OTHER":"$1 notifiche: fai clic qui per visualizzare i dettagli","TOAST_ACCORDION_TWO":"$1 notifiche: fai clic qui per visualizzare i dettagli","TOAST_ALT_ERROR":"Errore","TOAST_ALT_INFO":"Informazioni","TOAST_ALT_SUCCESS":"Riuscito","TOAST_ALT_WARN":"Avviso","TOAST_DISMISS_BUTTON":"Ignora","TOAST_TITLE_ALT":"Notifica","TRANSCRIPT_NEW_MESSAGES":"Nuovi messaggi","TYPING_INDICATOR_ALT":"Visualizzazione dell\'indicatore di digitazione in corso"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u306f\u30ed\u30c3\u30af\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u6295\u7a3f\u306f\u6b53\u8fce\u3057\u307e\u3059\u304c\u3001\u5909\u66f4\u306e\u691c\u8a3c\u306f\u9045\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002","ACTIVITY_BOT_SAID":"\u30dc\u30c3\u30c8 $1 \u306e\u767a\u8a00: $2\u3002\u9001\u4fe1\u6642\u523b: $3\u3002","ACTIVITY_ERROR_BOX_TITLE":"\u30a8\u30e9\u30fc \u30e1\u30c3\u30bb\u30fc\u30b8","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u9001\u4fe1\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002[\u518d\u8a66\u884c][RETRY]\u3002","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u9001\u4fe1\u4e2d","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u9001\u4fe1\u6642\u523b: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u9001\u4fe1\u72b6\u614b: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u305f\u3063\u305f\u4eca","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1 \u6642\u9593\u524d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u5206\u524d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u4eca\u65e5","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u6628\u65e5","ACTIVITY_USER_SAID":"\u30e6\u30fc\u30b6\u30fc $1 \u306e\u767a\u8a00: $2\u3002\u9001\u4fe1\u6642\u523b: $3\u3002","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u30a2\u30c0\u30d7\u30c6\u30a3\u30d6 \u30ab\u30fc\u30c9\u306e\u89e3\u6790\u30a8\u30e9\u30fc","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u30a2\u30c0\u30d7\u30c6\u30a3\u30d6 \u30ab\u30fc\u30c9\u306e\u8868\u793a\u30a8\u30e9\u30fc","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u9001\u4fe1\u6e08\u307f\u30dc\u30c3\u30c8","CAROUSEL_ATTACHMENTS_USER_ALT":"\u9001\u4fe1\u6e08\u307f\u30e6\u30fc\u30b6\u30fc","CAROUSEL_FLIPPER_LEFT_ALT":"\u5de6\u65b9\u5411","CAROUSEL_FLIPPER_RIGHT_ALT":"\u53f3\u65b9\u5411","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u63a5\u7d9a\u6e08\u307f","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u63a5\u7d9a\u4e2d\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u63a5\u7d9a\u3067\u304d\u307e\u305b\u3093\u3002","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u4e2d\u65ad\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u518d\u63a5\u7d9a\u3057\u3066\u3044\u307e\u3059...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u8868\u793a\u30a8\u30e9\u30fc\u3002\u30b3\u30f3\u30bd\u30fc\u30eb\u3092\u78ba\u8a8d\u3059\u308b\u304b\u30dc\u30c3\u30c8\u958b\u767a\u8005\u306b\u304a\u554f\u5408\u305b\u304f\u3060\u3055\u3044\u3002","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u901a\u5e38\u3088\u308a\u63a5\u7d9a\u306b\u6642\u9593\u304c\u304b\u304b\u3063\u3066\u3044\u307e\u3059\u3002","CONNECTIVITY_STATUS_ALT":"\u63a5\u7d9a\u72b6\u614b: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u30d5\u30a1\u30a4\u30eb \'$1\' \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u30d5\u30a1\u30a4\u30eb \'$1\' (\u30b5\u30a4\u30ba: $2) \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' (\u30b5\u30a4\u30ba: $2)","RECEIPT_CARD_TAX":"\u7a0e\u984d","RECEIPT_CARD_TOTAL":"\u5408\u8a08","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"\u805e\u3044\u3066\u3044\u307e\u3059\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u30de\u30a4\u30af\u304c\u7121\u52b9","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u30de\u30a4\u30af\u304c\u6709\u52b9","SPEECH_INPUT_STARTING":"\u958b\u59cb\u3057\u3066\u3044\u307e\u3059\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u3042\u308a\u307e\u3059","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u7a7a\u3067\u3059","SUGGESTED_ACTIONS_ALT":"\u63a8\u5968\u3059\u308b\u30a2\u30af\u30b7\u30e7\u30f3 \u30b3\u30f3\u30c6\u30ca\u30fc: $1","TEXT_INPUT_ALT":"\u30e1\u30c3\u30bb\u30fc\u30b8\u5165\u529b\u30dc\u30c3\u30af\u30b9","TEXT_INPUT_PLACEHOLDER":"\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044","TEXT_INPUT_SEND_BUTTON_ALT":"\u9001\u4fe1","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u8a71\u3059","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9","TOAST_ACCORDION_FEW":"$1 \u4ef6\u306e\u901a\u77e5: \u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b","TOAST_ACCORDION_MANY":"$1 \u4ef6\u306e\u901a\u77e5: \u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b","TOAST_ACCORDION_OTHER":"$1 \u4ef6\u306e\u901a\u77e5: \u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b","TOAST_ACCORDION_TWO":"$1 \u4ef6\u306e\u901a\u77e5: \u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b","TOAST_ALT_ERROR":"\u30a8\u30e9\u30fc","TOAST_ALT_INFO":"\u60c5\u5831","TOAST_ALT_SUCCESS":"\u6210\u529f","TOAST_ALT_WARN":"\u8b66\u544a","TOAST_DISMISS_BUTTON":"\u89e3\u9664","TOAST_TITLE_ALT":"\u901a\u77e5","TRANSCRIPT_NEW_MESSAGES":"\u65b0\u3057\u3044\u30e1\u30c3\u30bb\u30fc\u30b8","TYPING_INDICATOR_ALT":"\u5165\u529b\u30a4\u30f3\u30b8\u30b1\u30fc\u30bf\u30fc\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u0411\u04b1\u043b \u0444\u0430\u0439\u043b\u0434\u044b\u04a3 \u043c\u0430\u0437\u043c\u04b1\u043d\u044b \u049b\u04b1\u043b\u044b\u043f\u0442\u0430\u043b\u0493\u0430\u043d. \u0416\u0430\u0440\u043d\u0430\u043b\u0430\u0440 \u049b\u0430\u0431\u044b\u043b\u0434\u0430\u043d\u0430\u0434\u044b, \u0431\u0456\u0440\u0430\u049b \u04e9\u0437\u0433\u0435\u0440\u0442\u0443\u043b\u0435\u0440\u0434\u0456 \u0442\u0435\u043a\u0441\u0435\u0440\u0443 \u043a\u0435\u0439\u0456\u043d\u0433\u0435 \u049b\u0430\u043b\u0434\u044b\u0440\u044b\u043b\u0443\u044b \u043c\u04af\u043c\u043a\u0456\u043d.","ACTIVITY_BOT_SAID":"$1 \u0431\u043e\u0442 \u0430\u0440\u049b\u044b\u043b\u044b \u0430\u0439\u0442\u044b\u043b\u0434\u044b, $2. $3 \u0436\u0456\u0431\u0435\u0440\u0456\u043b\u0434\u0456.","ACTIVITY_ERROR_BOX_TITLE":"\u049a\u0430\u0442\u0435 \u0442\u0443\u0440\u0430\u043b\u044b \u0445\u0430\u0431\u0430\u0440","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0416\u0456\u0431\u0435\u0440\u0443 \u0441\u04d9\u0442\u0441\u0456\u0437 \u0430\u044f\u049b\u0442\u0430\u043b\u0434\u044b. (\u049a\u0430\u0439\u0442\u0430\u043b\u0430\u0443][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0416\u0456\u0431\u0435\u0440\u0456\u043b\u0443\u0434\u0435","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u0421\u0430\u0493\u0430\u0442 $1 \u0436\u0456\u0431\u0435\u0440\u0456\u043b\u0433\u0435\u043d","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0416\u0456\u0431\u0435\u0440\u0443 \u043a\u04af\u0439\u0456: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0414\u04d9\u043b \u049b\u0430\u0437\u0456\u0440","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1 \u0441\u0430\u0493\u0430\u0442 \u0431\u04b1\u0440\u044b\u043d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u043c\u0438\u043d\u0443\u0442 \u0431\u04b1\u0440\u044b\u043d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0411\u04af\u0433\u0456\u043d","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u041a\u0435\u0448\u0435","ACTIVITY_USER_SAID":"$1 \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b \u0430\u0440\u049b\u044b\u043b\u044b \u0430\u0439\u0442\u044b\u043b\u0434\u044b, $2. $3 \u0436\u0456\u0431\u0435\u0440\u0456\u043b\u0434\u0456.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u0411\u0435\u0439\u0456\u043c\u0434\u0435\u043b\u0433\u0456\u0448 \u043a\u0430\u0440\u0442\u0430\u043d\u044b \u0442\u0430\u043b\u0434\u0430\u0443 \u049b\u0430\u0442\u0435\u0441\u0456","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u0411\u0435\u0439\u0456\u043c\u0434\u0435\u043b\u0433\u0456\u0448 \u043a\u0430\u0440\u0442\u0430\u043d\u044b \u043a\u04e9\u0440\u0441\u0435\u0442\u0443 \u049b\u0430\u0442\u0435\u0441\u0456","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u0411\u043e\u0442 \u0430\u0440\u049b\u044b\u043b\u044b \u0436\u0456\u0431\u0435\u0440\u0456\u043b\u0433\u0435\u043d","CAROUSEL_ATTACHMENTS_USER_ALT":"\u041f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b \u0430\u0440\u049b\u044b\u043b\u044b \u0436\u0456\u0431\u0435\u0440\u0456\u043b\u0433\u0435\u043d","CAROUSEL_FLIPPER_LEFT_ALT":"\u0421\u043e\u043b \u0436\u0430\u049b","CAROUSEL_FLIPPER_RIGHT_ALT":"\u041e\u04a3 \u0436\u0430\u049b","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u049a\u043e\u0441\u044b\u043b\u0493\u0430\u043d","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u049a\u043e\u0441\u044b\u043b\u0443\u0434\u0430...","CONNECTIVITY_STATUS_ALT_FATAL":"\u049a\u043e\u0441\u0443 \u043c\u04af\u043c\u043a\u0456\u043d \u0435\u043c\u0435\u0441.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0416\u0435\u043b\u0456 \u0436\u04b1\u043c\u044b\u0441\u044b\u043d\u0434\u0430 \u0456\u0440\u043a\u0456\u043b\u0456\u0441 \u0431\u043e\u043b\u0434\u044b. \u049a\u0430\u0439\u0442\u0430 \u049b\u043e\u0441\u044b\u043b\u0443\u0434\u0430\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u041a\u04e9\u0440\u0441\u0435\u0442\u0443 \u049b\u0430\u0442\u0435\u0441\u0456. \u041a\u043e\u043d\u0441\u043e\u043b\u044c\u0434\u0456 \u0442\u0435\u043a\u0441\u0435\u0440\u0456\u04a3\u0456\u0437 \u043d\u0435\u043c\u0435\u0441\u0435 \u0431\u043e\u0442 \u04d9\u0437\u0456\u0440\u043b\u0435\u0443\u0448\u0456\u0441\u0456\u043c\u0435\u043d \u0445\u0430\u0431\u0430\u0440\u043b\u0430\u0441\u044b\u04a3\u044b\u0437.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u049a\u043e\u0441\u044b\u043b\u0443 \u04d9\u0434\u0435\u0442\u0442\u0435\u0433\u0456\u0434\u0435\u043d \u04b1\u0437\u0430\u049b \u0443\u0430\u049b\u044b\u0442 \u0430\u043b\u0443\u0434\u0430.","CONNECTIVITY_STATUS_ALT":"\u049a\u043e\u0441\u044b\u043b\u044b\u043c \u043a\u04af\u0439\u0456: $1","FILE_CONTENT_ALT":"\xab$1\xbb","FILE_CONTENT_DOWNLOADABLE_ALT":"$1 \u0444\u0430\u0439\u043b\u044b\u043d \u0436\u04af\u043a\u0442\u0435\u043f \u0430\u043b\u0443","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"$2 \u04e9\u043b\u0448\u0435\u043c\u0434\u0456 $1 \u0444\u0430\u0439\u043b\u044b\u043d \u0436\u04af\u043a\u0442\u0435\u0443","FILE_CONTENT_WITH_SIZE_ALT":"$2 \u04e9\u043b\u0448\u0435\u043c\u0434\u0456 $1","RECEIPT_CARD_TAX":"\u0421\u0430\u043b\u044b\u049b","RECEIPT_CARD_TOTAL":"\u0411\u0430\u0440\u043b\u044b\u0493\u044b","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"\u0422\u044b\u04a3\u0434\u0430\u043b\u0443\u0434\u0430...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u04e9\u0448\u0456\u0440\u0443\u043b\u0456","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d","SPEECH_INPUT_STARTING":"\u0411\u0430\u0441\u0442\u0430\u043b\u0443\u0434\u0430...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u041c\u0430\u0437\u043c\u04b1\u043d\u044b \u0431\u0430\u0440","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0411\u043e\u0441","SUGGESTED_ACTIONS_ALT":"\u0411\u043e\u043b\u0436\u0430\u043b\u0434\u044b \u04d9\u0440\u0435\u043a\u0435\u0442\u0442\u0435\u0440 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0456: $1","TEXT_INPUT_ALT":"\u0425\u0430\u0431\u0430\u0440\u0434\u044b \u0435\u043d\u0433\u0456\u0437\u0443 \u04e9\u0440\u0456\u0441\u0456","TEXT_INPUT_PLACEHOLDER":"\u0425\u0430\u0431\u0430\u0440\u0434\u044b \u0442\u0435\u0440\u0456\u04a3\u0456\u0437","TEXT_INPUT_SEND_BUTTON_ALT":"\u0416\u0456\u0431\u0435\u0440\u0443","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0421\u04e9\u0439\u043b\u0435\u0443","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u0424\u0430\u0439\u043b\u0434\u044b \u043a\u0435\u0440\u0456 \u0436\u04af\u043a\u0442\u0435\u0443","TOAST_ACCORDION_FEW":"$1 \u0425\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443\u043b\u0430\u0440: \u043c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u043a\u04e9\u0440\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u0436\u0435\u0440\u0434\u0456 \u0431\u0430\u0441\u044b\u04a3\u044b\u0437","TOAST_ACCORDION_MANY":"$1 \u0425\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443\u043b\u0430\u0440: \u043c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u043a\u04e9\u0440\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u0436\u0435\u0440\u0434\u0456 \u0431\u0430\u0441\u044b\u04a3\u044b\u0437","TOAST_ACCORDION_OTHER":"$1 \u0425\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443\u043b\u0430\u0440: \u043c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u043a\u04e9\u0440\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u0436\u0435\u0440\u0434\u0456 \u0431\u0430\u0441\u044b\u04a3\u044b\u0437","TOAST_ACCORDION_TWO":"$1 \u0425\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443\u043b\u0430\u0440: \u043c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u043a\u04e9\u0440\u0443 \u04af\u0448\u0456\u043d \u043e\u0441\u044b \u0436\u0435\u0440\u0434\u0456 \u0431\u0430\u0441\u044b\u04a3\u044b\u0437","TOAST_ALT_ERROR":"\u049a\u0430\u0442\u0435","TOAST_ALT_INFO":"\u0410\u049b\u043f\u0430\u0440\u0430\u0442","TOAST_ALT_SUCCESS":"\u0421\u04d9\u0442\u0442\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0434\u044b","TOAST_ALT_WARN":"\u0415\u0441\u043a\u0435\u0440\u0442\u0443","TOAST_DISMISS_BUTTON":"\u0416\u043e\u044e","TOAST_TITLE_ALT":"\u0425\u0430\u0431\u0430\u0440\u043b\u0430\u043d\u0434\u044b\u0440\u0443","TRANSCRIPT_NEW_MESSAGES":"\u0416\u0430\u04a3\u0430 \u0445\u0430\u0431\u0430\u0440\u043b\u0430\u0440","TYPING_INDICATOR_ALT":"\u041c\u04d9\u0442\u0456\u043d \u0442\u0435\u0440\u0443 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u044b\u043d \u043a\u04e9\u0440\u0441\u0435\u0442\u0443"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \uc774 \ud30c\uc77c\uc758 \ub0b4\uc6a9\uc774 \uc7a0\uacbc\uc2b5\ub2c8\ub2e4. \uae30\uc5ec\ub97c \ud658\uc601\ud558\uc9c0\ub9cc \ubcc0\uacbd \uc720\ud6a8\uc131 \uac80\uc0ac\uac00 \uc9c0\uc5f0\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.","ACTIVITY_BOT_SAID":"$1 \ubd07\uc774 $2(\uc774)\ub77c\uace0 \ub9d0\ud568. $3\uc5d0 \ubcf4\ub0c4.","ACTIVITY_ERROR_BOX_TITLE":"\uc624\ub958 \uba54\uc2dc\uc9c0","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\ubcf4\ub0b4\uae30 \uc2e4\ud328. [\ub2e4\uc2dc \uc2dc\ub3c4][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\ubcf4\ub0b4\ub294 \uc911","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"$1\uc5d0 \ubcf4\ub0c4","ACTIVITY_STATUS_SEND_STATUS_ALT":"\ubcf4\ub0b4\uae30 \uc0c1\ud0dc: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\ubc29\uae08","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1\uc2dc\uac04 \uc804","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1\ubd84 \uc804","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\uc624\ub298","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\uc5b4\uc81c","ACTIVITY_USER_SAID":"$1 \uc0ac\uc6a9\uc790\uac00 $2(\uc774)\ub77c\uace0 \ub9d0\ud568. $3\uc5d0 \ubcf4\ub0c4.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\uc801\uc751\ud615 \uce74\ub4dc \uad6c\ubb38 \ubd84\uc11d \uc624\ub958","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\uc801\uc751\ud615 \uce74\ub4dc \ub80c\ub354\ub9c1 \uc624\ub958","CAROUSEL_ATTACHMENTS_BOT_ALT":"\ubd07 \ubcf4\ub0c4","CAROUSEL_ATTACHMENTS_USER_ALT":"\uc0ac\uc6a9\uc790 \ubcf4\ub0c4","CAROUSEL_FLIPPER_LEFT_ALT":"\uc67c\ucabd","CAROUSEL_FLIPPER_RIGHT_ALT":"\uc624\ub978\ucabd","CONNECTIVITY_STATUS_ALT_CONNECTED":"\uc5f0\uacb0\ub428","CONNECTIVITY_STATUS_ALT_CONNECTING":"\uc5f0\uacb0 \uc911\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\uc5f0\uacb0\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\ub124\ud2b8\uc6cc\ud06c \uc911\ub2e8\uc774 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \uc5f0\uacb0\ud558\ub294 \uc911\uc785\ub2c8\ub2e4...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\ub80c\ub354\ub9c1 \uc624\ub958\uc785\ub2c8\ub2e4. \ucf58\uc194\uc744 \ud655\uc778\ud558\uac70\ub098 \ubd07 \uac1c\ubc1c\uc790\uc5d0\uac8c \ubb38\uc758\ud558\uc2ed\uc2dc\uc624.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\uc5f0\uacb0\ud558\ub294 \ub370 \ud3c9\uc18c\ubcf4\ub2e4 \uc624\ub798 \uac78\ub9bd\ub2c8\ub2e4.","CONNECTIVITY_STATUS_ALT":"\uc5f0\uacb0 \uc0c1\ud0dc: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\'$1\' \ud30c\uc77c \ub2e4\uc6b4\ub85c\ub4dc","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"$2 \ud06c\uae30\uc758 \ub2e4\uc6b4\ub85c\ub4dc \ud30c\uc77c \'$1\'","FILE_CONTENT_WITH_SIZE_ALT":"$2 \ud06c\uae30\uc758 \'$1\'","RECEIPT_CARD_TAX":"\uc138\uae08","RECEIPT_CARD_TOTAL":"\ud569\uacc4","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"\ub4e3\ub294 \uc911...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\ub9c8\uc774\ud06c \ub044\uae30","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\ub9c8\uc774\ud06c \ucf1c\uae30","SPEECH_INPUT_STARTING":"\uc2dc\uc791\ud558\ub294 \uc911\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\ucf58\ud150\uce20 \uc788\uc74c","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\ube44\uc5b4 \uc788\uc74c","SUGGESTED_ACTIONS_ALT":"\uc81c\uc548\ub41c \uc791\uc5c5 \ucee8\ud14c\uc774\ub108: $1","TEXT_INPUT_ALT":"\uba54\uc2dc\uc9c0 \uc785\ub825 \uc0c1\uc790","TEXT_INPUT_PLACEHOLDER":"\uba54\uc2dc\uc9c0 \uc785\ub825","TEXT_INPUT_SEND_BUTTON_ALT":"\ubcf4\ub0b4\uae30","TEXT_INPUT_SPEAK_BUTTON_ALT":"\ub9d0\ud558\uae30","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\ud30c\uc77c \uc5c5\ub85c\ub4dc","TOAST_ACCORDION_FEW":"$1\uac1c \uc54c\ub9bc: \uc790\uc138\ud55c \ub0b4\uc6a9\uc744 \ubcf4\ub824\uba74 \uc5ec\uae30\ub97c \ud074\ub9ad\ud558\uc2ed\uc2dc\uc624.","TOAST_ACCORDION_MANY":"$1\uac1c \uc54c\ub9bc: \uc790\uc138\ud55c \ub0b4\uc6a9\uc744 \ubcf4\ub824\uba74 \uc5ec\uae30\ub97c \ud074\ub9ad\ud558\uc2ed\uc2dc\uc624.","TOAST_ACCORDION_OTHER":"$1\uac1c \uc54c\ub9bc: \uc790\uc138\ud55c \ub0b4\uc6a9\uc744 \ubcf4\ub824\uba74 \uc5ec\uae30\ub97c \ud074\ub9ad\ud558\uc2ed\uc2dc\uc624.","TOAST_ACCORDION_TWO":"$1\uac1c \uc54c\ub9bc: \uc790\uc138\ud55c \ub0b4\uc6a9\uc744 \ubcf4\ub824\uba74 \uc5ec\uae30\ub97c \ud074\ub9ad\ud558\uc2ed\uc2dc\uc624.","TOAST_ALT_ERROR":"\uc624\ub958","TOAST_ALT_INFO":"\uc815\ubcf4","TOAST_ALT_SUCCESS":"\uc131\uacf5","TOAST_ALT_WARN":"\uacbd\uace0","TOAST_DISMISS_BUTTON":"\ud574\uc81c","TOAST_TITLE_ALT":"\uc54c\ub9bc","TRANSCRIPT_NEW_MESSAGES":"\uc0c8 \uba54\uc2dc\uc9c0","TYPING_INDICATOR_ALT":"\uc785\ub825 \ud45c\uc2dc\uae30 \ud45c\uc2dc"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u0160io failo turinys u\u017erakintas. Galite prisid\u0117ti, ta\u010diau gali u\u017etrukti, kol keitimai bus patikrinti.","ACTIVITY_BOT_SAID":"Robotas $1 pasak\u0117: $2. I\u0161si\u0173sta $3.","ACTIVITY_ERROR_BOX_TITLE":"Klaidos prane\u0161imas","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Nepavyko i\u0161si\u0173sti. [Bandyti dar kart\u0105][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Siun\u010diama","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"I\u0161si\u0173sta $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Siuntimo b\u016bsena: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"K\u0105 tik","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Prie\u0161 valand\u0105","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Prie\u0161 minut\u0119","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0160iandien","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Vakar","ACTIVITY_USER_SAID":"Vartotojas $1 pasak\u0117: $2. I\u0161si\u0173sta $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Adaptyviosios kortel\u0117s analiz\u0117s klaida","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Adaptyviosios kortel\u0117s atvaizdavimo klaida","CAROUSEL_ATTACHMENTS_BOT_ALT":"Roboto i\u0161si\u0173sti priedai","CAROUSEL_ATTACHMENTS_USER_ALT":"Vartotojo i\u0161si\u0173sti priedai","CAROUSEL_FLIPPER_LEFT_ALT":"Kair\u0117","CAROUSEL_FLIPPER_RIGHT_ALT":"De\u0161in\u0117","CONNECTIVITY_STATUS_ALT_CONNECTED":"Prijungta","CONNECTIVITY_STATUS_ALT_CONNECTING":"Jungiamasi\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Nepavyko prijungti.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Nutr\u016bko tinklo ry\u0161ys. Jungiamasi i\u0161 naujo...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Atvaizdavimo klaida. Patikrinkite konsol\u0119 arba kreipkit\u0117s \u012f roboto k\u016br\u0117j\u0105.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Prisijungimas trunka ilgiau nei \u012fprasta.","CONNECTIVITY_STATUS_ALT":"Ry\u0161io b\u016bsena: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"Atsisi\u0173sti fail\u0105 $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Atsisi\u0173sti fail\u0105 $1, kurio dydis $2","FILE_CONTENT_WITH_SIZE_ALT":"$1, kurio dydis $2","RECEIPT_CARD_TAX":"Mokestis","RECEIPT_CARD_TOTAL":"I\u0161 viso","RECEIPT_CARD_VAT":"PVM","SPEECH_INPUT_LISTENING":"Klausomasi\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofonas i\u0161jungtas","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofonas \u012fjungtas","SPEECH_INPUT_STARTING":"Pradedama\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Yra turinio","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Yra tu\u0161\u010dias","SUGGESTED_ACTIONS_ALT":"Rekomenduojam\u0173 veiksm\u0173 konteineris: $1","TEXT_INPUT_ALT":"Prane\u0161imo \u012fvedimo laukas","TEXT_INPUT_PLACEHOLDER":"\u012eveskite savo prane\u0161im\u0105","TEXT_INPUT_SEND_BUTTON_ALT":"Si\u0173sti","TEXT_INPUT_SPEAK_BUTTON_ALT":"Kalb\u0117ti","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Nusi\u0173sti fail\u0105","TOAST_ACCORDION_FEW":"Prane\u0161im\u0173: $1. Spustel\u0117kite \u010dia, kad pamatytum\u0117te i\u0161samesn\u0119 informacij\u0105","TOAST_ACCORDION_MANY":"Prane\u0161im\u0173: $1. Spustel\u0117kite \u010dia, kad pamatytum\u0117te i\u0161samesn\u0119 informacij\u0105","TOAST_ACCORDION_OTHER":"Prane\u0161im\u0173: $1. Spustel\u0117kite \u010dia, kad pamatytum\u0117te i\u0161samesn\u0119 informacij\u0105","TOAST_ACCORDION_TWO":"Prane\u0161im\u0173: $1. Spustel\u0117kite \u010dia, kad pamatytum\u0117te i\u0161samesn\u0119 informacij\u0105","TOAST_ALT_ERROR":"Klaida","TOAST_ALT_INFO":"Informacija","TOAST_ALT_SUCCESS":"S\u0117kmingai","TOAST_ALT_WARN":"\u012esp\u0117jimas","TOAST_DISMISS_BUTTON":"I\u0161jungti","TOAST_TITLE_ALT":"Prane\u0161imas","TRANSCRIPT_NEW_MESSAGES":"Nauji prane\u0161imai","TYPING_INDICATOR_ALT":"Rodomas teksto \u012fvedimo indikatorius"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u0160\u012b faila saturs ir blo\u0137\u0113ts. Ieguld\u012bjumi tiek gaid\u012bti, ta\u010du izmai\u0146u valid\u0101cija var tikt aizkav\u0113ta.","ACTIVITY_BOT_SAID":"Robots $1 teica: $2. Nos\u016bt\u012bts: $3.","ACTIVITY_ERROR_BOX_TITLE":"K\u013c\u016bdas zi\u0146ojums","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Neizdev\u0101s nos\u016bt\u012bt. [M\u0113\u0123in\u0101t v\u0113lreiz][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Notiek s\u016bt\u012b\u0161ana","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Nos\u016bt\u012bts plkst.\xa0$1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Nos\u016bt\u012b\u0161anas statuss. $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Tikko","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Pirms stundas","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Pirms min\u016btes","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0160odien","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Vakardien","ACTIVITY_USER_SAID":"Lietot\u0101js $1 teica: $2. Nos\u016bt\u012bts: $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Adapt\u012bv\u0101s kart\u012btes pars\u0113\u0161anas k\u013c\u016bda","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Adapt\u012bv\u0101s kart\u012btes atveides k\u013c\u016bda","CAROUSEL_ATTACHMENTS_BOT_ALT":"Nos\u016bt\u012bja robots","CAROUSEL_ATTACHMENTS_USER_ALT":"Nos\u016bt\u012bja lietot\u0101js","CAROUSEL_FLIPPER_LEFT_ALT":"Pa kreisi","CAROUSEL_FLIPPER_RIGHT_ALT":"Pa labi","CONNECTIVITY_STATUS_ALT_CONNECTED":"Izveidots savienojums","CONNECTIVITY_STATUS_ALT_CONNECTING":"Notiek savienojuma izveide\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Nevar izveidot savienojumu.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Rad\u0101s t\u012bkla darb\u012bbas p\u0101rtraukums. Notiek atk\u0101rtota savienojuma izveide\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Atveides k\u013c\u016bda. L\u016bdzu, p\u0101rbaudiet konsoli vai sazinieties ar robota izstr\u0101d\u0101t\u0101ju.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Savienojuma izveide notiek ilg\u0101k nek\u0101 parasti.","CONNECTIVITY_STATUS_ALT":"Savienojuma statuss. $1","FILE_CONTENT_ALT":"\u201c$1\u201d","FILE_CONTENT_DOWNLOADABLE_ALT":"Lejupiel\u0101d\u0113t failu \u201c$1\u201d","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Lejupiel\u0101d\u0113t failu \u201c$1\u201d, kura lielums ir $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201c$1\u201d, kura lielums ir $2","RECEIPT_CARD_TAX":"Nodoklis","RECEIPT_CARD_TOTAL":"Kop\u0101","RECEIPT_CARD_VAT":"PVN","SPEECH_INPUT_LISTENING":"Notiek klaus\u012b\u0161an\u0101s\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Izsl\u0113gt mikrofonu","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Iesl\u0113gt mikrofonu","SPEECH_INPUT_STARTING":"S\u0101kas ievade\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ir saturs","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Ir tuk\u0161s","SUGGESTED_ACTIONS_ALT":"Ieteicamo darb\u012bbu konteiners. $1","TEXT_INPUT_ALT":"Zi\u0146ojuma ievades lodzi\u0146\u0161","TEXT_INPUT_PLACEHOLDER":"Ierakstiet zi\u0146ojumu","TEXT_INPUT_SEND_BUTTON_ALT":"Nos\u016bt\u012bt","TEXT_INPUT_SPEAK_BUTTON_ALT":"Run\u0101t","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Aug\u0161upiel\u0101d\u0113t failu","TOAST_ACCORDION_FEW":"$1 pazi\u0146ojumi. Noklik\u0161\u0137iniet \u0161eit, lai skat\u012btu detaliz\u0113tu inform\u0101ciju","TOAST_ACCORDION_MANY":"$1 pazi\u0146ojumi. Noklik\u0161\u0137iniet \u0161eit, lai skat\u012btu detaliz\u0113tu inform\u0101ciju","TOAST_ACCORDION_OTHER":"$1 pazi\u0146ojumi. Noklik\u0161\u0137iniet \u0161eit, lai skat\u012btu detaliz\u0113tu inform\u0101ciju","TOAST_ACCORDION_TWO":"$1 pazi\u0146ojumi. Noklik\u0161\u0137iniet \u0161eit, lai skat\u012btu detaliz\u0113tu inform\u0101ciju","TOAST_ALT_ERROR":"K\u013c\u016bda","TOAST_ALT_INFO":"Inform\u0101cija","TOAST_ALT_SUCCESS":"Veiksm\u012bgi","TOAST_ALT_WARN":"Br\u012bdin\u0101jums","TOAST_DISMISS_BUTTON":"Ner\u0101d\u012bt","TOAST_TITLE_ALT":"Pazi\u0146ojums","TRANSCRIPT_NEW_MESSAGES":"Jauni zi\u0146ojumi","TYPING_INDICATOR_ALT":"R\u0101da rakst\u012b\u0161anas indikatoru"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Kandungan fail ini telah dikunci. Sumbangan dialu-alukan, tetapi pengesahan perubahan mungkin ditunda.","ACTIVITY_BOT_SAID":"Bot $1 berkata, $2. Dihantar pada $3.","ACTIVITY_ERROR_BOX_TITLE":"Mesej ralat","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Gagal dihantar. [Cuba Semula][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Menghantar","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Dihantar pada $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status Penghantaran: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Sebentar tadi","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Sejam yang lalu","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Seminit yang lalu","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hari Ini","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Semalam","ACTIVITY_USER_SAID":"Pengguna $1 berkata, $2. Dihantar pada $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Ralat penguraian Kad Mudah Suai","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Ralat pemaparan Kad Mudah Suai","CAROUSEL_ATTACHMENTS_BOT_ALT":"Bot yang telah dihantar","CAROUSEL_ATTACHMENTS_USER_ALT":"Pengguna yang telah dihantar","CAROUSEL_FLIPPER_LEFT_ALT":"Kiri","CAROUSEL_FLIPPER_RIGHT_ALT":"Kanan","CONNECTIVITY_STATUS_ALT_CONNECTED":"Disambungkan","CONNECTIVITY_STATUS_ALT_CONNECTING":"Bersambung\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Tidak dapat bersambung.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Gangguan rangkaian telah berlaku. Bersambung semula\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Ralat telah berlaku. Sila semak konsol atau hubungi pembangun bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Masa yang lebih lama daripada biasa diambil untuk bersambung.","CONNECTIVITY_STATUS_ALT":"Status Sambungan: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Muat turun fail \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Muat turun fail \'$1\' dengan saiz $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' dengan saiz $2","RECEIPT_CARD_TAX":"Cukai","RECEIPT_CARD_TOTAL":"Jumlah","RECEIPT_CARD_VAT":"VAT","SPEECH_INPUT_LISTENING":"Mendengar\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon dimatikan","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon dihidupkan","SPEECH_INPUT_STARTING":"Bermula\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Mengandungi kandungan","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Tidak diisi","SUGGESTED_ACTIONS_ALT":"Bekas Cadangan Tindakan: $1","TEXT_INPUT_ALT":"Kotak input mesej","TEXT_INPUT_PLACEHOLDER":"Taip mesej anda","TEXT_INPUT_SEND_BUTTON_ALT":"Hantar","TEXT_INPUT_SPEAK_BUTTON_ALT":"Cakap","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Muat naik fail","TOAST_ACCORDION_FEW":"$1 Pemberitahuan: Klik di sini untuk melihat butiran","TOAST_ACCORDION_MANY":"$1 Pemberitahuan: Klik di sini untuk melihat butiran","TOAST_ACCORDION_OTHER":"$1 Pemberitahuan: Klik di sini untuk melihat butiran","TOAST_ACCORDION_TWO":"$1 Pemberitahuan: Klik di sini untuk melihat butiran","TOAST_ALT_ERROR":"Ralat","TOAST_ALT_INFO":"Maklumat","TOAST_ALT_SUCCESS":"Berjaya","TOAST_ALT_WARN":"Amaran","TOAST_DISMISS_BUTTON":"Tolak","TOAST_TITLE_ALT":"Pemberitahuan","TRANSCRIPT_NEW_MESSAGES":"Mesej baharu","TYPING_INDICATOR_ALT":"Menunjukkan penunjuk menaip"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Innholdet i denne filen er l\xe5st. Bidrag er velkomne, men validering av endring kan bli forsinket.","ACTIVITY_BOT_SAID":"Roboten $1 sa $2. Sendt klokken $3.","ACTIVITY_ERROR_BOX_TITLE":"Feilmelding","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Sending mislyktes. [Pr\xf8v p\xe5 nytt][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Sender","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Sendt klokken $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Sendestatus: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Akkurat n\xe5","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"For en time siden","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"For et minutt siden","ACTIVITY_STATUS_TIMESTAMP_TODAY":"I dag","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"I g\xe5r","ACTIVITY_USER_SAID":"Brukeren $1 sa $2. Sendt klokken $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Feil ved analyse av AdaptiveCard","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Feil ved gjengivelse av AdaptiveCard","CAROUSEL_ATTACHMENTS_BOT_ALT":"Robot sendt","CAROUSEL_ATTACHMENTS_USER_ALT":"Bruker sendt","CAROUSEL_FLIPPER_LEFT_ALT":"Venstre","CAROUSEL_FLIPPER_RIGHT_ALT":"Rettigheter","CONNECTIVITY_STATUS_ALT_CONNECTED":"Tilkoblet","CONNECTIVITY_STATUS_ALT_CONNECTING":"Kobler til ...","CONNECTIVITY_STATUS_ALT_FATAL":"Kan ikke koble til.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Det oppstod et nettverksbrudd. Kobler til p\xe5 nytt ...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Gjengivelsesfeil. Kontroller konsollen eller kontakt robotutvikleren.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Tar lengre tid enn vanlig \xe5 koble til.","CONNECTIVITY_STATUS_ALT":"Tilkoblingsstatus: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"Last ned filen $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Last ned filen $1 med st\xf8rrelsen $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 med st\xf8rrelsen $2","RECEIPT_CARD_TAX":"Avgift","RECEIPT_CARD_TOTAL":"Totalt","RECEIPT_CARD_VAT":"Merverdiavgift","SPEECH_INPUT_LISTENING":"Lytter ...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon av","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon p\xe5","SPEECH_INPUT_STARTING":"Starter ...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Har innhold","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Er tom","SUGGESTED_ACTIONS_ALT":"Beholder for foresl\xe5tte handlinger: $1","TEXT_INPUT_ALT":"Meldingsinndataboks","TEXT_INPUT_PLACEHOLDER":"Skriv inn meldingen","TEXT_INPUT_SEND_BUTTON_ALT":"Send","TEXT_INPUT_SPEAK_BUTTON_ALT":"Tal","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Last opp fil","TOAST_ACCORDION_FEW":"$1 varslinger: Klikk her for \xe5 se detaljer","TOAST_ACCORDION_MANY":"$1 varslinger: Klikk her for \xe5 se detaljer","TOAST_ACCORDION_OTHER":"$1 varslinger: Klikk her for \xe5 se detaljer","TOAST_ACCORDION_TWO":"$1 varslinger: Klikk her for \xe5 se detaljer","TOAST_ALT_ERROR":"Feil","TOAST_ALT_INFO":"Informasjon","TOAST_ALT_SUCCESS":"Vellykket","TOAST_ALT_WARN":"Advarsel!","TOAST_DISMISS_BUTTON":"Forkast","TOAST_TITLE_ALT":"Varsling","TRANSCRIPT_NEW_MESSAGES":"Nye meldinger","TYPING_INDICATOR_ALT":"Viser skriveindikatoren"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] De inhoud van dit bestand is vergrendeld. Bijdragen zijn welkom, maar wijzigingen in de validatie zijn mogelijk vertraagd.","ACTIVITY_BOT_SAID":"Bot $1 zei $2. Verzonden op $3.","ACTIVITY_ERROR_BOX_TITLE":"Foutbericht","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Verzenden mislukt. [Opnieuw][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Wordt verzonden","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Verzonden om $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Verzendstatus: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Zojuist","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Een uur geleden","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Een minuut geleden","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Vandaag","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Gisteren","ACTIVITY_USER_SAID":"Gebruiker $1 zei $2. Verzonden op $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Parseerfout adaptieve kaart","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Weergavefout adaptieve kaart","CAROUSEL_ATTACHMENTS_BOT_ALT":"Bot verzonden","CAROUSEL_ATTACHMENTS_USER_ALT":"Gebruiker verzonden","CAROUSEL_FLIPPER_LEFT_ALT":"Links","CAROUSEL_FLIPPER_RIGHT_ALT":"Recht","CONNECTIVITY_STATUS_ALT_CONNECTED":"Verbonden","CONNECTIVITY_STATUS_ALT_CONNECTING":"Verbinding maken...","CONNECTIVITY_STATUS_ALT_FATAL":"Kan geen verbinding maken.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Er is een netwerkonderbreking opgetreden. Verbinding wordt hersteld...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Fout bij genereren. Controleer de console of neem contact op met de bot-ontwikkelaar.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Het duurt langer dan gewoonlijk om verbinding te maken.","CONNECTIVITY_STATUS_ALT":"Verbindingsstatus: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Bestand \'$1\' downloaden","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Downloadbestand \'$1\' van grootte $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' van grootte $2","RECEIPT_CARD_TAX":"Belastingen","RECEIPT_CARD_TOTAL":"Totaal","RECEIPT_CARD_VAT":"Btw","SPEECH_INPUT_LISTENING":"Luisteren...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microfoon uit","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microfoon aan","SPEECH_INPUT_STARTING":"Starten...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Bevat inhoud","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Is leeg","SUGGESTED_ACTIONS_ALT":"Container voor voorgestelde acties: $1","TEXT_INPUT_ALT":"Vak voor berichtinvoer","TEXT_INPUT_PLACEHOLDER":"Typ uw bericht","TEXT_INPUT_SEND_BUTTON_ALT":"Verzenden","TEXT_INPUT_SPEAK_BUTTON_ALT":"Spreken","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Bestand uploaden","TOAST_ACCORDION_FEW":"$1 meldingen: klik hier voor details","TOAST_ACCORDION_MANY":"$1 meldingen: klik hier voor details","TOAST_ACCORDION_OTHER":"$1 meldingen: klik hier voor details","TOAST_ACCORDION_TWO":"$1 meldingen: klik hier voor details","TOAST_ALT_ERROR":"Fout","TOAST_ALT_INFO":"Informatie","TOAST_ALT_SUCCESS":"Gelukt","TOAST_ALT_WARN":"Waarschuwing","TOAST_DISMISS_BUTTON":"Negeren","TOAST_TITLE_ALT":"Melding","TRANSCRIPT_NEW_MESSAGES":"Nieuwe berichten","TYPING_INDICATOR_ALT":"Indicator voor typen weergeven"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Zawarto\u015b\u0107 tego pliku jest zablokowana. Wk\u0142ad tw\xf3rczy jest mile widziany, ale weryfikacja zmian mo\u017ce by\u0107 op\xf3\u017aniona.","ACTIVITY_BOT_SAID":"Bot $1 powiedzia\u0142 \u201e$2\u201d. Wys\u0142ano o $3.","ACTIVITY_ERROR_BOX_TITLE":"Komunikat o b\u0142\u0119dzie","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Wysy\u0142anie nie powiod\u0142o si\u0119. [Pon\xf3w pr\xf3b\u0119][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Wysy\u0142anie","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Wys\u0142ano o $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stan wysy\u0142ania: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Teraz","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Godzin\u0119 temu","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Minut\u0119 temu","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Dzisiaj","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Wczoraj","ACTIVITY_USER_SAID":"U\u017cytkownik $1 powiedzia\u0142 \u201e$2\u201d. Wys\u0142ano o $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"B\u0142\u0105d analizowania karty adaptacyjnej","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"B\u0142\u0105d renderowania karty adaptacyjnej","CAROUSEL_ATTACHMENTS_BOT_ALT":"Wys\u0142ane przez bota","CAROUSEL_ATTACHMENTS_USER_ALT":"Wys\u0142ane przez u\u017cytkownika","CAROUSEL_FLIPPER_LEFT_ALT":"W lewo","CAROUSEL_FLIPPER_RIGHT_ALT":"W prawo","CONNECTIVITY_STATUS_ALT_CONNECTED":"Po\u0142\u0105czono","CONNECTIVITY_STATUS_ALT_CONNECTING":"Trwa nawi\u0105zywanie po\u0142\u0105czenia...","CONNECTIVITY_STATUS_ALT_FATAL":"Nie mo\u017cna nawi\u0105za\u0107 po\u0142\u0105czenia.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Wyst\u0105pi\u0142a przerwa w dzia\u0142aniu sieci. Trwa ponowne nawi\u0105zywanie po\u0142\u0105czenia...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"B\u0142\u0105d renderowania. Sprawd\u017a konsol\u0119 lub skontaktuj si\u0119 z deweloperem bota.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Nawi\u0105zywanie po\u0142\u0105czenia trwa d\u0142u\u017cej ni\u017c zazwyczaj.","CONNECTIVITY_STATUS_ALT":"Stan \u0142\u0105czno\u015bci: $1","FILE_CONTENT_ALT":"\u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_ALT":"Pobierz plik \u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Pobierz plik \u201e$1\u201d o rozmiarze $2","FILE_CONTENT_WITH_SIZE_ALT":"Plik \u201e$1\u201d o rozmiarze $2","RECEIPT_CARD_TAX":"Podatek","RECEIPT_CARD_TOTAL":"Suma","RECEIPT_CARD_VAT":"Podatek VAT","SPEECH_INPUT_LISTENING":"Trwa s\u0142uchanie...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon wy\u0142\u0105czony","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon w\u0142\u0105czony","SPEECH_INPUT_STARTING":"Trwa rozpoczynanie...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ma zawarto\u015b\u0107","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Jest puste","SUGGESTED_ACTIONS_ALT":"Kontener sugerowanych akcji: $1","TEXT_INPUT_ALT":"Pole wprowadzania wiadomo\u015bci","TEXT_INPUT_PLACEHOLDER":"Wpisz wiadomo\u015b\u0107","TEXT_INPUT_SEND_BUTTON_ALT":"Wy\u015blij","TEXT_INPUT_SPEAK_BUTTON_ALT":"M\xf3w","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Przeka\u017c plik","TOAST_ACCORDION_FEW":"$1 powiadomienia: kliknij tutaj, aby wy\u015bwietli\u0107 szczeg\xf3\u0142y","TOAST_ACCORDION_MANY":"$1 powiadomienia: kliknij tutaj, aby wy\u015bwietli\u0107 szczeg\xf3\u0142y","TOAST_ACCORDION_OTHER":"$1 powiadomienia: kliknij tutaj, aby wy\u015bwietli\u0107 szczeg\xf3\u0142y","TOAST_ACCORDION_TWO":"$1 powiadomienia: kliknij tutaj, aby wy\u015bwietli\u0107 szczeg\xf3\u0142y","TOAST_ALT_ERROR":"B\u0142\u0105d","TOAST_ALT_INFO":"Informacje","TOAST_ALT_SUCCESS":"Sukces","TOAST_ALT_WARN":"Ostrze\u017cenie","TOAST_DISMISS_BUTTON":"Odrzu\u0107","TOAST_TITLE_ALT":"Powiadomienie","TRANSCRIPT_NEW_MESSAGES":"Nowe wiadomo\u015bci","TYPING_INDICATOR_ALT":"Wy\u015bwietlanie wska\u017anika wpisywania"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] O conte\xfado deste arquivo est\xe1 bloqueado. Contribui\xe7\xf5es s\xe3o bem-vindas, mas pode haver atrasos na valida\xe7\xe3o das altera\xe7\xf5es.","ACTIVITY_BOT_SAID":"O bot $1 disse, $2. Enviado \xe0s $3.","ACTIVITY_ERROR_BOX_TITLE":"Mensagem de erro","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Falha no envio. [Repetir][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Enviando","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Enviado \xe0s $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status do envio: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Agora","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"H\xe1 uma hora","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"H\xe1 um minuto","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hoje","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ontem","ACTIVITY_USER_SAID":"O usu\xe1rio $1 disse, $2. Enviado \xe0s $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Erro de an\xe1lise do Cart\xe3o Adapt\xe1vel","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Erro de renderiza\xe7\xe3o do Cart\xe3o Adapt\xe1vel","CAROUSEL_ATTACHMENTS_BOT_ALT":"O bot enviou","CAROUSEL_ATTACHMENTS_USER_ALT":"O usu\xe1rio enviou","CAROUSEL_FLIPPER_LEFT_ALT":"Esquerdo","CAROUSEL_FLIPPER_RIGHT_ALT":"Direito","CONNECTIVITY_STATUS_ALT_CONNECTED":"Conectado","CONNECTIVITY_STATUS_ALT_CONNECTING":"Conectando\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"N\xe3o \xe9 poss\xedvel conectar.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Ocorreu uma interrup\xe7\xe3o da rede. Reconectando\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Erro de renderiza\xe7\xe3o. Verifique o console ou contate o desenvolvedor de bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"A conex\xe3o est\xe1 demorando mais do que o habitual.","CONNECTIVITY_STATUS_ALT":"Status da Conectividade: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"Baixar o arquivo \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Baixar o arquivo \'$1\' de tamanho $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' de tamanho $2","RECEIPT_CARD_TAX":"Imposto","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"IVA","SPEECH_INPUT_LISTENING":"Escutando\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microfone desligado","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microfone ligado","SPEECH_INPUT_STARTING":"Iniciando\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Tem conte\xfado","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Est\xe1 vazio","SUGGESTED_ACTIONS_ALT":"Cont\xeainer de A\xe7\xf5es Sugeridas: $1","TEXT_INPUT_ALT":"Caixa de entrada de mensagens","TEXT_INPUT_PLACEHOLDER":"Digite sua mensagem","TEXT_INPUT_SEND_BUTTON_ALT":"Enviar","TEXT_INPUT_SPEAK_BUTTON_ALT":"Falar","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Carregar arquivo","TOAST_ACCORDION_FEW":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_MANY":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_OTHER":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_TWO":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ALT_ERROR":"Erro","TOAST_ALT_INFO":"Informa\xe7\xe3o","TOAST_ALT_SUCCESS":"Sucesso","TOAST_ALT_WARN":"Aviso","TOAST_DISMISS_BUTTON":"Ignorar","TOAST_TITLE_ALT":"Notifica\xe7\xe3o","TRANSCRIPT_NEW_MESSAGES":"Novas mensagens","TYPING_INDICATOR_ALT":"Mostrando o indicador de digita\xe7\xe3o"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] O conte\xfado deste ficheiro est\xe1 bloqueado. S\xe3o aceites contribui\xe7\xf5es, mas a valida\xe7\xe3o das altera\xe7\xf5es pode registar atrasos.","ACTIVITY_BOT_SAID":"O bot $1 disse $2. Enviado em $3.","ACTIVITY_ERROR_BOX_TITLE":"Mensagem de erro","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Falha ao enviar. [Repetir][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"A enviar","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Enviado \xe0s $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Estado do Envio: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Agora mesmo","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"H\xe1 uma hora","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"H\xe1 um minuto","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Hoje","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ontem","ACTIVITY_USER_SAID":"O utilizador $1 disse $2. Enviado em $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Erro de an\xe1lise de Cart\xe3o Adapt\xe1vel","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Erro de composi\xe7\xe3o de Cart\xe3o Adapt\xe1vel","CAROUSEL_ATTACHMENTS_BOT_ALT":"Enviado pelo bot","CAROUSEL_ATTACHMENTS_USER_ALT":"Enviado pelo utilizador","CAROUSEL_FLIPPER_LEFT_ALT":"Esquerda","CAROUSEL_FLIPPER_RIGHT_ALT":"Direita","CONNECTIVITY_STATUS_ALT_CONNECTED":"Ligado","CONNECTIVITY_STATUS_ALT_CONNECTING":"A ligar\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"N\xe3o \xe9 poss\xedvel ligar.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Ocorreu uma interrup\xe7\xe3o de rede. A restabelecer liga\xe7\xe3o\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Erro de composi\xe7\xe3o. Verifique a consola ou contacte o programador do bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"O estabelecimento da liga\xe7\xe3o est\xe1 a demorar mais tempo do que o esperado.","CONNECTIVITY_STATUS_ALT":"Estado de Conectividade: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"Transferir o ficheiro \\"$1\\"","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Transferir o ficheiro \\"$1\\" com um tamanho de $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" com um tamanho de $2","RECEIPT_CARD_TAX":"Imposto","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"IVA","SPEECH_INPUT_LISTENING":"A escutar\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microfone desativado","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microfone ativado","SPEECH_INPUT_STARTING":"A iniciar\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Tem conte\xfado","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Est\xe1 vazio","SUGGESTED_ACTIONS_ALT":"Contentor de A\xe7\xf5es Sugeridas: $1","TEXT_INPUT_ALT":"Caixa de entrada de mensagens","TEXT_INPUT_PLACEHOLDER":"Escreva a sua mensagem","TEXT_INPUT_SEND_BUTTON_ALT":"Enviar","TEXT_INPUT_SPEAK_BUTTON_ALT":"Falar","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Carregar ficheiro","TOAST_ACCORDION_FEW":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_MANY":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_OTHER":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ACCORDION_TWO":"$1 Notifica\xe7\xf5es: clique aqui para ver os detalhes","TOAST_ALT_ERROR":"Erro","TOAST_ALT_INFO":"Informa\xe7\xf5es","TOAST_ALT_SUCCESS":"\xcaxito","TOAST_ALT_WARN":"Aviso","TOAST_DISMISS_BUTTON":"Dispensar","TOAST_TITLE_ALT":"Notifica\xe7\xe3o","TRANSCRIPT_NEW_MESSAGES":"Novas mensagens","TYPING_INDICATOR_ALT":"A mostrar o indicador de escrita"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Con\u021binutul acestui fi\u0219ier este blocat. Contribu\u021biile sunt binevenite, dar validarea schimb\u0103rii poate fi \xeent\xe2rziat\u0103.","ACTIVITY_BOT_SAID":"Robotul $1 a spus, $2. Trimis la $3.","ACTIVITY_ERROR_BOX_TITLE":"Mesaj de eroare","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Trimiterea nu a reu\u0219it. [Re\xeencerca\u021bi][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Se trimite","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Trimis la $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stare de trimitere: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Chiar acum","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Acum o or\u0103","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Acum un minut","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Azi","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ieri","ACTIVITY_USER_SAID":"Utilizatorul $1 a spus, $2. Trimis la $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Eroare de analiz\u0103 a cardului adaptiv","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Eroare de redare a cardului adaptiv","CAROUSEL_ATTACHMENTS_BOT_ALT":"Trimis de robot","CAROUSEL_ATTACHMENTS_USER_ALT":"Trimis de utilizator","CAROUSEL_FLIPPER_LEFT_ALT":"St\xe2nga","CAROUSEL_FLIPPER_RIGHT_ALT":"Dreapta","CONNECTIVITY_STATUS_ALT_CONNECTED":"Conectat","CONNECTIVITY_STATUS_ALT_CONNECTING":"Se conecteaz\u0103\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Imposibil de conectat.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"A avut loc o \xeentrerupere \xeen re\u021bea. Se reconecteaz\u0103\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Eroare de randare. Verifica\u021bi consola sau contacta\u021bi dezvoltatorul robotului.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Conectarea dureaz\u0103 mai mult dec\xe2t de obicei.","CONNECTIVITY_STATUS_ALT":"Stare de conectivitate: $1","FILE_CONTENT_ALT":"\u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_ALT":"Desc\u0103rca\u021bi fi\u0219ierul \u201e$1\u201d","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Desc\u0103rca\u021bi fi\u0219ierul \u201e$1\u201d de dimensiune $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201d de dimensiune $2","RECEIPT_CARD_TAX":"Impozit","RECEIPT_CARD_TOTAL":"Total","RECEIPT_CARD_VAT":"TVA","SPEECH_INPUT_LISTENING":"Se ascult\u0103\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Microfon dezactivat","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Microfon activat","SPEECH_INPUT_STARTING":"\xcencepe\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Are con\u021binut","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Este necompletat","SUGGESTED_ACTIONS_ALT":"Container pentru ac\u021biuni sugerate: $1","TEXT_INPUT_ALT":"Caseta de introducere a mesajelor","TEXT_INPUT_PLACEHOLDER":"Tasta\u021bi mesajul","TEXT_INPUT_SEND_BUTTON_ALT":"Trimitere","TEXT_INPUT_SPEAK_BUTTON_ALT":"Vorbire","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\xcenc\u0103rcare fi\u0219ier","TOAST_ACCORDION_FEW":"$1 notific\u0103ri: Face\u021bi clic aici pentru a vedea detaliile","TOAST_ACCORDION_MANY":"$1 notific\u0103ri: Face\u021bi clic aici pentru a vedea detaliile","TOAST_ACCORDION_OTHER":"$1 notific\u0103ri: Face\u021bi clic aici pentru a vedea detaliile","TOAST_ACCORDION_TWO":"$1 notific\u0103ri: Face\u021bi clic aici pentru a vedea detaliile","TOAST_ALT_ERROR":"Eroare","TOAST_ALT_INFO":"Informa\u021bii","TOAST_ALT_SUCCESS":"Succes","TOAST_ALT_WARN":"Avertisment","TOAST_DISMISS_BUTTON":"\xcendep\u0103rtare","TOAST_TITLE_ALT":"Notificare","TRANSCRIPT_NEW_MESSAGES":"Mesaje noi","TYPING_INDICATOR_ALT":"Se afi\u0219eaz\u0103 indicatorul de tastare"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u044d\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\u043e. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043d\u043e\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f, \u043d\u043e \u0438\u0445 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043d\u0430.","ACTIVITY_BOT_SAID":"\u0411\u043e\u0442 $1 \u0441\u043a\u0430\u0437\u0430\u043b: $2. \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e $3.","ACTIVITY_ERROR_BOX_TITLE":"\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0421\u0431\u043e\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438. [\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u041e\u0442\u043f\u0440\u0430\u0432\u043a\u0430","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0432 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0422\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u0427\u0430\u0441 \u043d\u0430\u0437\u0430\u0434","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u041c\u0438\u043d\u0443\u0442\u0443 \u043d\u0430\u0437\u0430\u0434","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0421\u0435\u0433\u043e\u0434\u043d\u044f","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0412\u0447\u0435\u0440\u0430","ACTIVITY_USER_SAID":"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c $1 \u0441\u043a\u0430\u0437\u0430\u043b: $2. \u041e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u041e\u0448\u0438\u0431\u043a\u0430 \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0438","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0431\u043e\u0442\u043e\u043c","CAROUSEL_ATTACHMENTS_USER_ALT":"\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c","CAROUSEL_FLIPPER_LEFT_ALT":"\u0412\u043b\u0435\u0432\u043e","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0412\u043f\u0440\u0430\u0432\u043e","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043e","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u041d\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u043f\u0440\u0435\u0440\u044b\u0432\u0430\u043d\u0438\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0441\u0435\u0442\u044c\u044e. \u0412\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0432\u044f\u0437\u0438\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0438\u043b\u0438 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435\u0441\u044c \u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 \u0431\u043e\u0442\u0430.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0414\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0447\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u043e.","CONNECTIVITY_STATUS_ALT":"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b \'$1\' \u0440\u0430\u0437\u043c\u0435\u0440\u0430 $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' \u0440\u0430\u0437\u043c\u0435\u0440\u0430 $2","RECEIPT_CARD_TAX":"\u041d\u0430\u043b\u043e\u0433","RECEIPT_CARD_TOTAL":"\u0418\u0442\u043e\u0433\u043e","RECEIPT_CARD_VAT":"\u041d\u0414\u0421","SPEECH_INPUT_LISTENING":"\u0421\u043b\u0443\u0448\u0430\u044e\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u0432\u044b\u043a\u043b.","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u0432\u043a\u043b.","SPEECH_INPUT_STARTING":"\u041d\u0430\u0447\u0430\u043b\u043e\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0415\u0441\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u041f\u0443\u0441\u0442\u043e","SUGGESTED_ACTIONS_ALT":"\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439: $1","TEXT_INPUT_ALT":"\u041f\u043e\u043b\u0435 \u0432\u0432\u043e\u0434\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f","TEXT_INPUT_PLACEHOLDER":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435","TEXT_INPUT_SEND_BUTTON_ALT":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0413\u043e\u0432\u043e\u0440\u0438\u0442\u044c","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0444\u0430\u0439\u043b","TOAST_ACCORDION_FEW":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439: $1. \u0429\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439","TOAST_ACCORDION_MANY":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439: $1. \u0429\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439","TOAST_ACCORDION_OTHER":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439: $1. \u0429\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439","TOAST_ACCORDION_TWO":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439: $1. \u0429\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u0437\u0434\u0435\u0441\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439","TOAST_ALT_ERROR":"\u041e\u0448\u0438\u0431\u043a\u0430","TOAST_ALT_INFO":"\u0421\u0432\u0435\u0434\u0435\u043d\u0438\u044f","TOAST_ALT_SUCCESS":"\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043e","TOAST_ALT_WARN":"\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435","TOAST_DISMISS_BUTTON":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c","TOAST_TITLE_ALT":"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435","TRANSCRIPT_NEW_MESSAGES":"\u041d\u043e\u0432\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f","TYPING_INDICATOR_ALT":"\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u0432\u0432\u043e\u0434\u0430"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Obsah tohto s\xfaboru je zamknut\xfd. Pr\xedspevky s\xfa v\xedtan\xe9, ale overenie zmien sa m\xf4\u017ee oneskori\u0165.","ACTIVITY_BOT_SAID":"Bot $1 povedal: $2. Odoslan\xe9 o\xa0$3.","ACTIVITY_ERROR_BOX_TITLE":"Chybov\xe9 hl\xe1senie","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Odoslanie zlyhalo. [Sk\xfasi\u0165 znova][RETRY]","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Odosiela sa","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Odoslan\xe9 o\xa0$1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stav odoslania: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Pr\xe1ve teraz","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Pred hodinou","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Pred min\xfatou","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Dnes","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"V\u010dera","ACTIVITY_USER_SAID":"Pou\u017e\xedvate\u013e $1 povedal: $2. Odoslan\xe9 o\xa0$3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Chyba anal\xfdzy adapt\xedvnej karty","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Chyba vykreslenia adapt\xedvnej karty","CAROUSEL_ATTACHMENTS_BOT_ALT":"Bot bol odoslan\xfd","CAROUSEL_ATTACHMENTS_USER_ALT":"Pou\u017e\xedvate\u013e bol odoslan\xfd","CAROUSEL_FLIPPER_LEFT_ALT":"V\u013eavo","CAROUSEL_FLIPPER_RIGHT_ALT":"Vpravo","CONNECTIVITY_STATUS_ALT_CONNECTED":"Pripojen\xe9","CONNECTIVITY_STATUS_ALT_CONNECTING":"Prip\xe1ja sa...","CONNECTIVITY_STATUS_ALT_FATAL":"Pripojenie sa nepodarilo.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Vyskytlo sa preru\u0161enie siete. Prebieha op\xe4tovn\xe9 prip\xe1janie...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Chyba vykreslenia. Skontrolujte konzolu alebo sa obr\xe1\u0165te na v\xfdvoj\xe1ra bota.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Pripojenie trv\xe1 dlh\u0161ie ako zvy\u010dajne.","CONNECTIVITY_STATUS_ALT":"Stav pripojenia: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"Stiahnu\u0165 s\xfabor $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Stiahnu\u0165 s\xfabor $1 s\xa0ve\u013ekos\u0165ou $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 s\xa0ve\u013ekos\u0165ou $2","RECEIPT_CARD_TAX":"Da\u0148","RECEIPT_CARD_TOTAL":"Celkov\xfd po\u010det","RECEIPT_CARD_VAT":"DPH","SPEECH_INPUT_LISTENING":"Po\u010d\xfavanie...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Vypn\xfa\u0165 mikrof\xf3n","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Zapn\xfa\u0165 mikrof\xf3n","SPEECH_INPUT_STARTING":"Sp\xfa\u0161\u0165a sa...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"M\xe1 obsah","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Je pr\xe1zdne","SUGGESTED_ACTIONS_ALT":"Kontajner navrhovan\xfdch akci\xed: $1","TEXT_INPUT_ALT":"Vstupn\xe9 pole pre spr\xe1vu","TEXT_INPUT_PLACEHOLDER":"Zadajte svoju spr\xe1vu","TEXT_INPUT_SEND_BUTTON_ALT":"Odosla\u0165","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u010c\xedta\u0165","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Nahra\u0165 s\xfabor","TOAST_ACCORDION_FEW":"Po\u010det ozn\xe1men\xed: $1 \u2013 kliknut\xedm sem sa zobrazia podrobnosti","TOAST_ACCORDION_MANY":"Po\u010det ozn\xe1men\xed: $1 \u2013 kliknut\xedm sem sa zobrazia podrobnosti","TOAST_ACCORDION_OTHER":"Po\u010det ozn\xe1men\xed: $1 \u2013 kliknut\xedm sem sa zobrazia podrobnosti","TOAST_ACCORDION_TWO":"Po\u010det ozn\xe1men\xed: $1 \u2013 kliknut\xedm sem sa zobrazia podrobnosti","TOAST_ALT_ERROR":"Chyba","TOAST_ALT_INFO":"Inform\xe1cie","TOAST_ALT_SUCCESS":"\xdaspe\u0161n\xe9","TOAST_ALT_WARN":"Upozornenie","TOAST_DISMISS_BUTTON":"Zru\u0161i\u0165","TOAST_TITLE_ALT":"Ozn\xe1menie","TRANSCRIPT_NEW_MESSAGES":"Nov\xe9 spr\xe1vy","TYPING_INDICATOR_ALT":"Zobrazuje sa indik\xe1tor p\xedsania"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Vsebina te datoteke je zaklenjena. Prispevki so dobrodo\u0161li, vendar je preverjanje sprememb lahko zakasnjeno.","ACTIVITY_BOT_SAID":"Bot $1je rekel: \xbb$2\xab. Poslano ob $3.","ACTIVITY_ERROR_BOX_TITLE":"Sporo\u010dilo o napaki","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Po\u0161iljanje ni uspelo. [Vnovi\u010dni poskus][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Po\u0161iljanje","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Poslano: $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Stanje po\u0161iljanja: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Zdaj","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Pred uro","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Pred minuto","ACTIVITY_STATUS_TIMESTAMP_TODAY":"danes","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"v\u010deraj","ACTIVITY_USER_SAID":"Uporabnik $1je rekel: \xbb$2\xab. Poslano ob $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Napaka pri raz\u010dlenjevanju prilagodljive kartice","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Napaka pri upodabljanju prilagodljive kartice","CAROUSEL_ATTACHMENTS_BOT_ALT":"Poslal bot","CAROUSEL_ATTACHMENTS_USER_ALT":"Poslal uporabnik","CAROUSEL_FLIPPER_LEFT_ALT":"Levo","CAROUSEL_FLIPPER_RIGHT_ALT":"Desno","CONNECTIVITY_STATUS_ALT_CONNECTED":"Povezava je vzpostavljena.","CONNECTIVITY_STATUS_ALT_CONNECTING":"Povezovanje \u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Povezave ni mogo\u010de vzpostaviti.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Pri\u0161lo je do omre\u017ene prekinitve. Vnovi\u010dno povezovanje \u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Napaka pri upodabljanju. Preverite konzolo ali se obrnite na razvijalca bota.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Povezovanje traja dlje kot obi\u010dajno.","CONNECTIVITY_STATUS_ALT":"Stanje povezave: $1","FILE_CONTENT_ALT":"\xbb$1\xab","FILE_CONTENT_DOWNLOADABLE_ALT":"Prenesi datoteko \xbb$1\xab","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Prenos datoteke \xbb$1\xab velikosti $2","FILE_CONTENT_WITH_SIZE_ALT":"\xbb$1\xab velikosti $2","RECEIPT_CARD_TAX":"Davek","RECEIPT_CARD_TOTAL":"Skupaj","RECEIPT_CARD_VAT":"DDV","SPEECH_INPUT_LISTENING":"Poslu\u0161anje \u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon je izklopljen","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon je vklopljen","SPEECH_INPUT_STARTING":"Za\u010detek \u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ima vsebino","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Je prazno","SUGGESTED_ACTIONS_ALT":"Vsebnik predlaganih dejanj: $1","TEXT_INPUT_ALT":"Polje za vnos sporo\u010dila","TEXT_INPUT_PLACEHOLDER":"Vnesite sporo\u010dilo","TEXT_INPUT_SEND_BUTTON_ALT":"Po\u0161lji","TEXT_INPUT_SPEAK_BUTTON_ALT":"Govor","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Nalo\u017ei datoteko","TOAST_ACCORDION_FEW":"Obvestila: $1 \u2013 za podrobnosti kliknite tukaj","TOAST_ACCORDION_MANY":"Obvestila: $1 \u2013 za podrobnosti kliknite tukaj","TOAST_ACCORDION_OTHER":"Obvestila: $1 \u2013 za podrobnosti kliknite tukaj","TOAST_ACCORDION_TWO":"Obvestila: $1 \u2013 za podrobnosti kliknite tukaj","TOAST_ALT_ERROR":"Napaka","TOAST_ALT_INFO":"Informacije","TOAST_ALT_SUCCESS":"Uspelo je","TOAST_ALT_WARN":"Opozorilo","TOAST_DISMISS_BUTTON":"Opusti","TOAST_TITLE_ALT":"Obvestilo","TRANSCRIPT_NEW_MESSAGES":"Nova sporo\u010dila","TYPING_INDICATOR_ALT":"Prikaz indikatorja tipkanja"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u0421\u0430\u0434\u0440\u0436\u0430\u0458 \u043e\u0432\u0435 \u0434\u0430\u0442\u043e\u0442\u0435\u043a\u0435 \u0458\u0435 \u0437\u0430\u043a\u0459\u0443\u0447\u0430\u043d. \u0414\u043e\u043f\u0440\u0438\u043d\u043e\u0441\u0438 \u0441\u0443 \u0434\u043e\u0431\u0440\u043e\u0434\u043e\u0448\u043b\u0438, \u0430\u043b\u0438 \u043f\u043e\u0442\u0432\u0440\u0434\u0430 \u043f\u0440\u043e\u043c\u0435\u043d\u0435 \u043c\u043e\u0436\u0435 \u0431\u0438\u0442\u0438 \u043e\u0434\u043b\u043e\u0436\u0435\u043d\u0430.","ACTIVITY_BOT_SAID":"\u0420\u043e\u0431\u043e\u0442 $1 \u0458\u0435 \u0440\u0435\u043a\u0430\u043e, $2. \u041f\u043e\u0441\u043b\u0430\u0442\u043e \u0443 $3.","ACTIVITY_ERROR_BOX_TITLE":"\u041f\u043e\u0440\u0443\u043a\u0430 \u043e \u0433\u0440\u0435\u0448\u0446\u0438","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0421\u043b\u0430\u045a\u0435 \u043d\u0438\u0458\u0435 \u0443\u0441\u043f\u0435\u043b\u043e. [\u041f\u043e\u043d\u043e\u0432\u043e \u043f\u043e\u043a\u0443\u0448\u0430\u0458] [RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0421\u043b\u0430\u045a\u0435","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u041f\u043e\u0441\u043b\u0430\u0442\u043e \u0443 $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0421\u0442\u0430\u0442\u0443\u0441 \u0441\u043b\u0430\u045a\u0430: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u041c\u0430\u043b\u043e\u043f\u0440\u0435","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u041f\u0440\u0435 \u0441\u0430\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0430","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u041f\u0440\u0435 \u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0414\u0430\u043d\u0430\u0441","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0408\u0443\u0447\u0435","ACTIVITY_USER_SAID":"\u041a\u043e\u0440\u0438\u0441\u043d\u0438\u043a $1 \u0458\u0435 \u0440\u0435\u043a\u0430\u043e, $2. \u041f\u043e\u0441\u043b\u0430\u0442\u043e \u0443 $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u0413\u0440\u0435\u0448\u043a\u0430 \u0443 \u0440\u0430\u0448\u0447\u043b\u0430\u045a\u0438\u0432\u0430\u045a\u0443 \u043f\u0440\u0438\u043b\u0430\u0433\u043e\u0434\u0459\u0438\u0432\u0435 \u043a\u0430\u0440\u0442\u0438\u0446\u0435","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u0413\u0440\u0435\u0448\u043a\u0430 \u0443 \u043f\u0440\u0438\u043a\u0430\u0437\u0438\u0432\u0430\u045a\u0443 \u043f\u0440\u0438\u043b\u0430\u0433\u043e\u0434\u0459\u0438\u0432\u0435 \u043a\u0430\u0440\u0442\u0438\u0446\u0435","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u041f\u043e\u0441\u043b\u0430\u043e \u0458\u0435 \u0440\u043e\u0431\u043e\u0442","CAROUSEL_ATTACHMENTS_USER_ALT":"\u041f\u043e\u0441\u043b\u0430\u043e \u0458\u0435 \u043a\u043e\u0440\u0438\u0441\u043d\u0438\u043a","CAROUSEL_FLIPPER_LEFT_ALT":"\u041b\u0435\u0432\u043e","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0414\u0435\u0441\u043d\u043e","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u041f\u043e\u0432\u0435\u0437\u0430\u043d\u043e","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u041f\u043e\u0432\u0435\u0437\u0438\u0432\u0430\u045a\u0435\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u041f\u043e\u0432\u0435\u0437\u0438\u0432\u0430\u045a\u0435 \u043d\u0438\u0458\u0435 \u043c\u043e\u0433\u0443\u045b\u0435.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0414\u043e\u0448\u043b\u043e \u0458\u0435 \u0434\u043e \u043f\u0440\u0435\u043a\u0438\u0434\u0430 \u043c\u0440\u0435\u0436\u0435. \u041f\u043e\u043d\u043e\u0432\u043d\u043e \u043f\u043e\u0432\u0435\u0437\u0438\u0432\u0430\u045a\u0435\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u0413\u0440\u0435\u0448\u043a\u0430 \u0443 \u043f\u0440\u0438\u043a\u0430\u0437\u0438\u0432\u0430\u045a\u0443. \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u0435 \u043a\u043e\u043d\u0437\u043e\u043b\u0443 \u0438\u043b\u0438 \u0441\u0435 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0435\u0440\u0443 \u0440\u043e\u0431\u043e\u0442\u0430.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u041f\u043e\u0432\u0435\u0437\u0438\u0432\u0430\u045a\u0435 \u0442\u0440\u0430\u0458\u0435 \u0434\u0443\u0436\u0435 \u043d\u0435\u0433\u043e \u0438\u043d\u0430\u0447\u0435.","CONNECTIVITY_STATUS_ALT":"\u0421\u0442\u0430\u0442\u0443\u0441 \u043f\u043e\u0432\u0435\u0437\u0438\u0432\u0430\u045a\u0430: $1","FILE_CONTENT_ALT":"\u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_ALT":"\u041f\u0440\u0435\u0443\u0437\u0438\u043c\u0430\u045a\u0435 \u0434\u0430\u0442\u043e\u0442\u0435\u043a\u0435 \u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u041f\u0440\u0435\u0443\u0437\u043c\u0438\u0442\u0435 \u0434\u0430\u0442\u043e\u0442\u0435\u043a\u0443 \u201e$1\u201c \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0435 $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201c \u0432\u0435\u043b\u0438\u0447\u0438\u043d\u0435 $2","RECEIPT_CARD_TAX":"\u041f\u043e\u0440\u0435\u0437","RECEIPT_CARD_TOTAL":"\u0423\u043a\u0443\u043f\u043d\u043e","RECEIPT_CARD_VAT":"\u041f\u0414\u0412","SPEECH_INPUT_LISTENING":"\u0421\u043b\u0443\u0448\u0430\u043c\u043e...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u0458\u0435 \u0438\u0441\u043a\u0459\u0443\u0447\u0435\u043d","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u041c\u0438\u043a\u0440\u043e\u0444\u043e\u043d \u0458\u0435 \u0443\u043a\u0459\u0443\u0447\u0435\u043d","SPEECH_INPUT_STARTING":"\u041f\u043e\u0447\u0438\u045a\u0435\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0418\u043c\u0430 \u0441\u0430\u0434\u0440\u0436\u0430\u0458","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0408\u0435 \u043f\u0440\u0430\u0437\u043d\u043e","SUGGESTED_ACTIONS_ALT":"\u041a\u043e\u043d\u0442\u0435\u0458\u043d\u0435\u0440 \u0437\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0435 \u0440\u0430\u0434\u045a\u0435: $1","TEXT_INPUT_ALT":"\u041f\u043e\u0459\u0435 \u0437\u0430 \u0443\u043d\u043e\u0441 \u043f\u043e\u0440\u0443\u043a\u0435","TEXT_INPUT_PLACEHOLDER":"\u041e\u0442\u043a\u0443\u0446\u0430\u0458\u0442\u0435 \u043f\u043e\u0440\u0443\u043a\u0443","TEXT_INPUT_SEND_BUTTON_ALT":"\u041f\u043e\u0448\u0430\u0459\u0438","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0418\u0437\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0435","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u041e\u0442\u043f\u0440\u0435\u043c\u0438 \u0434\u0430\u0442\u043e\u0442\u0435\u043a\u0443","TOAST_ACCORDION_FEW":"$1 \u043e\u0431\u0430\u0432\u0435\u0448\u0442\u0435\u045a\u0430: \u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043e\u0432\u0434\u0435 \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u0434\u0435\u0442\u0430\u0459\u0435","TOAST_ACCORDION_MANY":"$1 \u043e\u0431\u0430\u0432\u0435\u0448\u0442\u0435\u045a\u0430: \u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043e\u0432\u0434\u0435 \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u0434\u0435\u0442\u0430\u0459\u0435","TOAST_ACCORDION_OTHER":"$1 \u043e\u0431\u0430\u0432\u0435\u0448\u0442\u0435\u045a\u0430: \u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043e\u0432\u0434\u0435 \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u0434\u0435\u0442\u0430\u0459\u0435","TOAST_ACCORDION_TWO":"$1 \u043e\u0431\u0430\u0432\u0435\u0448\u0442\u0435\u045a\u0430: \u041a\u043b\u0438\u043a\u043d\u0438\u0442\u0435 \u043e\u0432\u0434\u0435 \u0434\u0430 \u0431\u0438\u0441\u0442\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u0434\u0435\u0442\u0430\u0459\u0435","TOAST_ALT_ERROR":"\u0413\u0440\u0435\u0448\u043a\u0430","TOAST_ALT_INFO":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0458\u0435","TOAST_ALT_SUCCESS":"\u0423\u0441\u043f\u0435\u0448\u043d\u043e","TOAST_ALT_WARN":"\u0423\u043f\u043e\u0437\u043e\u0440\u0435\u045a\u0435","TOAST_DISMISS_BUTTON":"\u041e\u0434\u0431\u0430\u0446\u0438","TOAST_TITLE_ALT":"\u041e\u0431\u0430\u0432\u0435\u0448\u0442\u0435\u045a\u0435","TRANSCRIPT_NEW_MESSAGES":"\u041d\u043e\u0432\u0435 \u043f\u043e\u0440\u0443\u043a\u0435","TYPING_INDICATOR_ALT":"\u041f\u0440\u0438\u043a\u0430\u0437\u0443\u0458\u0435 \u0441\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0443\u0446\u0430\u045a\u0430"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Sadr\u017eaj ove datoteke je zaklju\u010dan. Doprinosi su dobrodo\u0161li, ali potvrda promene mo\u017ee biti odlo\u017eena.","ACTIVITY_BOT_SAID":"Robot $1 je rekao, $2. Poslato u $3.","ACTIVITY_ERROR_BOX_TITLE":"Poruka o gre\u0161ci","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Slanje nije uspelo. [Ponovo poku\u0161aj] [RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Slanje","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Poslato u $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Status slanja: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Malopre","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Pre sat vremena","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Pre jednog minuta","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Danas","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"Ju\u010de","ACTIVITY_USER_SAID":"Korisnik $1 je rekao, $2. Poslato u $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Gre\u0161ka u ra\u0161\u010dlanjivanju prilagodljive kartice","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Gre\u0161ka u prikazivanju prilagodljive kartice","CAROUSEL_ATTACHMENTS_BOT_ALT":"Poslao je robot","CAROUSEL_ATTACHMENTS_USER_ALT":"Poslao je korisnik","CAROUSEL_FLIPPER_LEFT_ALT":"Levo","CAROUSEL_FLIPPER_RIGHT_ALT":"Desno","CONNECTIVITY_STATUS_ALT_CONNECTED":"Povezano","CONNECTIVITY_STATUS_ALT_CONNECTING":"Povezivanje\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"Povezivanje nije mogu\u0107e.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Do\u0161lo je do prekida mre\u017ee. Ponovno povezivanje\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Gre\u0161ka u prikazivanju. Proverite konzolu ili se obratite programeru robota.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Povezivanje traje du\u017ee nego ina\u010de.","CONNECTIVITY_STATUS_ALT":"Status povezivanja: $1","FILE_CONTENT_ALT":"\u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_ALT":"Preuzimanje datoteke \u201e$1\u201c","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Preuzmite datoteku \u201e$1\u201c veli\u010dine $2","FILE_CONTENT_WITH_SIZE_ALT":"\u201e$1\u201c veli\u010dine $2","RECEIPT_CARD_TAX":"Porez","RECEIPT_CARD_TOTAL":"Ukupno","RECEIPT_CARD_VAT":"PDV","SPEECH_INPUT_LISTENING":"Slu\u0161amo\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon je isklju\u010den","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon je uklju\u010den","SPEECH_INPUT_STARTING":"Po\u010dinje\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Ima sadr\u017eaj","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Je prazno","SUGGESTED_ACTIONS_ALT":"Kontejner za predlo\u017eene radnje: $1","TEXT_INPUT_ALT":"Polje za unos poruke","TEXT_INPUT_PLACEHOLDER":"Otkucajte poruku","TEXT_INPUT_SEND_BUTTON_ALT":"Po\u0161alji","TEXT_INPUT_SPEAK_BUTTON_ALT":"Izgovorite","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Otpremi datoteku","TOAST_ACCORDION_FEW":"$1 obave\u0161tenja: Kliknite ovde da biste videli detalje","TOAST_ACCORDION_MANY":"$1 obave\u0161tenja: Kliknite ovde da biste videli detalje","TOAST_ACCORDION_OTHER":"$1 obave\u0161tenja: Kliknite ovde da biste videli detalje","TOAST_ACCORDION_TWO":"$1 obave\u0161tenja: Kliknite ovde da biste videli detalje","TOAST_ALT_ERROR":"Gre\u0161ka","TOAST_ALT_INFO":"Informacije","TOAST_ALT_SUCCESS":"Uspe\u0161no","TOAST_ALT_WARN":"Upozorenje","TOAST_DISMISS_BUTTON":"Odbaci","TOAST_TITLE_ALT":"Obave\u0161tenje","TRANSCRIPT_NEW_MESSAGES":"Nove poruke","TYPING_INDICATOR_ALT":"Prikazuje se indikator kucanja"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Inneh\xe5llet i den h\xe4r filen \xe4r l\xe5st. Bidrag v\xe4lkomnas men verifieringen av \xe4ndrar kan f\xf6rdr\xf6jas.","ACTIVITY_BOT_SAID":"Roboten $1 sade $2. Skickades kl. $3.","ACTIVITY_ERROR_BOX_TITLE":"Felmeddelande","ACTIVITY_STATUS_SEND_FAILED_RETRY":"Det gick inte att skicka. [F\xf6rs\xf6k igen med][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"Skickar","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"Skickades klockan $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"S\xe4ndningsstatus: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Just nu","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"En timme sedan","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"En minut sedan","ACTIVITY_STATUS_TIMESTAMP_TODAY":"I dag","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"I g\xe5r","ACTIVITY_USER_SAID":"Anv\xe4ndaren $1 sade $2. Skickades kl. $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Fel vid parsning av adaptivt kort","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Fel vid \xe5tergivning av adaptivt kort","CAROUSEL_ATTACHMENTS_BOT_ALT":"Roboten har skickat","CAROUSEL_ATTACHMENTS_USER_ALT":"Anv\xe4ndaren har skickat","CAROUSEL_FLIPPER_LEFT_ALT":"V\xe4nster","CAROUSEL_FLIPPER_RIGHT_ALT":"H\xf6ger","CONNECTIVITY_STATUS_ALT_CONNECTED":"Ansluten","CONNECTIVITY_STATUS_ALT_CONNECTING":"Ansluter ...","CONNECTIVITY_STATUS_ALT_FATAL":"Det gick inte att ansluta.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"Ett n\xe4tverksavbrott intr\xe4ffade. Ansluter igen ...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\xc5terge fel. Kontrollera konsolen eller kontakta robotutvecklaren.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Det tar l\xe4ngre tid \xe4n vanligt att ansluta.","CONNECTIVITY_STATUS_ALT":"Anslutningsstatus: $1","FILE_CONTENT_ALT":"$1","FILE_CONTENT_DOWNLOADABLE_ALT":"H\xe4mta filen $1","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"Ladda ned filen $1 med storleken $2","FILE_CONTENT_WITH_SIZE_ALT":"$1 med storleken $2","RECEIPT_CARD_TAX":"Skatt","RECEIPT_CARD_TOTAL":"Summa","RECEIPT_CARD_VAT":"Moms","SPEECH_INPUT_LISTENING":"Lyssnar ...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon av","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon p\xe5","SPEECH_INPUT_STARTING":"Startar ...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"Har inneh\xe5ll","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\xc4r tom","SUGGESTED_ACTIONS_ALT":"Beh\xe5llare f\xf6r f\xf6rslag p\xe5 \xe5tg\xe4rd: $1","TEXT_INPUT_ALT":"Inmatningsruta f\xf6r meddelande","TEXT_INPUT_PLACEHOLDER":"Skriv ditt meddelande","TEXT_INPUT_SEND_BUTTON_ALT":"Skicka","TEXT_INPUT_SPEAK_BUTTON_ALT":"L\xe4s upp","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Ladda upp fil","TOAST_ACCORDION_FEW":"$1 aviseringar: Klicka h\xe4r f\xf6r att visa mer information.","TOAST_ACCORDION_MANY":"$1 aviseringar: Klicka h\xe4r f\xf6r att visa mer information.","TOAST_ACCORDION_OTHER":"$1 aviseringar: Klicka h\xe4r f\xf6r att visa mer information.","TOAST_ACCORDION_TWO":"$1 aviseringar: Klicka h\xe4r f\xf6r att visa mer information.","TOAST_ALT_ERROR":"Fel","TOAST_ALT_INFO":"Information","TOAST_ALT_SUCCESS":"Lyckades","TOAST_ALT_WARN":"Varning","TOAST_DISMISS_BUTTON":"St\xe4ng","TOAST_TITLE_ALT":"Avisering","TRANSCRIPT_NEW_MESSAGES":"Nya meddelanden","TYPING_INDICATOR_ALT":"Visar skrivindikatorn"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32\u0e02\u0e2d\u0e07\u0e44\u0e1f\u0e25\u0e4c\u0e19\u0e35\u0e49\u0e16\u0e39\u0e01\u0e25\u0e47\u0e2d\u0e01 \u0e22\u0e34\u0e19\u0e14\u0e35\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e2a\u0e19\u0e31\u0e1a\u0e2a\u0e19\u0e38\u0e19 \u0e41\u0e15\u0e48\u0e01\u0e32\u0e23\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e04\u0e27\u0e32\u0e21\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e41\u0e1b\u0e25\u0e07\u0e2d\u0e32\u0e08\u0e25\u0e48\u0e32\u0e0a\u0e49\u0e32","ACTIVITY_BOT_SAID":"\u0e1a\u0e2d\u0e17 $1 \u0e01\u0e25\u0e48\u0e32\u0e27\u0e27\u0e48\u0e32 $2 \u0e2a\u0e48\u0e07\u0e40\u0e21\u0e37\u0e48\u0e2d $3","ACTIVITY_ERROR_BOX_TITLE":"\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e41\u0e2a\u0e14\u0e07\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0e2a\u0e48\u0e07\u0e44\u0e21\u0e48\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08 [\u0e25\u0e2d\u0e07\u0e43\u0e2b\u0e21\u0e48][RETRY]","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0e01\u0e33\u0e25\u0e31\u0e07\u0e2a\u0e48\u0e07","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u0e2a\u0e48\u0e07\u0e40\u0e21\u0e37\u0e48\u0e2d $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u0e19\u0e32\u0e17\u0e35\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49","ACTIVITY_USER_SAID":"\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49 $1 \u0e01\u0e25\u0e48\u0e32\u0e27\u0e27\u0e48\u0e32 $2 \u0e2a\u0e48\u0e07\u0e40\u0e21\u0e37\u0e48\u0e2d $3","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e43\u0e19\u0e01\u0e32\u0e23\u0e41\u0e22\u0e01\u0e27\u0e34\u0e40\u0e04\u0e23\u0e32\u0e30\u0e2b\u0e4c Adaptive Card","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e43\u0e19\u0e01\u0e32\u0e23\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25 Adaptive Card","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u0e1a\u0e2d\u0e17\u0e17\u0e35\u0e48\u0e2a\u0e48\u0e07","CAROUSEL_ATTACHMENTS_USER_ALT":"\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e2a\u0e48\u0e07","CAROUSEL_FLIPPER_LEFT_ALT":"\u0e0b\u0e49\u0e32\u0e22","CAROUSEL_FLIPPER_RIGHT_ALT":"\u0e02\u0e27\u0e32","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e41\u0e25\u0e49\u0e27","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u0e01\u0e33\u0e25\u0e31\u0e07\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d...","CONNECTIVITY_STATUS_ALT_FATAL":"\u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e44\u0e14\u0e49","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0e40\u0e04\u0e23\u0e37\u0e2d\u0e02\u0e48\u0e32\u0e22\u0e02\u0e31\u0e14\u0e02\u0e49\u0e2d\u0e07 \u0e01\u0e33\u0e25\u0e31\u0e07\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e43\u0e2b\u0e21\u0e48...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u0e41\u0e2a\u0e14\u0e07\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14 \u0e42\u0e1b\u0e23\u0e14\u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e04\u0e2d\u0e19\u0e42\u0e0b\u0e25\u0e2b\u0e23\u0e37\u0e2d\u0e15\u0e34\u0e14\u0e15\u0e48\u0e2d\u0e19\u0e31\u0e01\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e1a\u0e2d\u0e17","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u0e43\u0e0a\u0e49\u0e40\u0e27\u0e25\u0e32\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e19\u0e32\u0e19\u0e01\u0e27\u0e48\u0e32\u0e1b\u0e01\u0e15\u0e34","CONNECTIVITY_STATUS_ALT":"\u0e2a\u0e16\u0e32\u0e19\u0e30\u0e02\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c \'$1\' \u0e02\u0e19\u0e32\u0e14 $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' \u0e02\u0e19\u0e32\u0e14 $2","RECEIPT_CARD_TAX":"\u0e20\u0e32\u0e29\u0e35","RECEIPT_CARD_TOTAL":"\u0e22\u0e2d\u0e14\u0e23\u0e27\u0e21","RECEIPT_CARD_VAT":"\u0e20\u0e32\u0e29\u0e35\u0e21\u0e39\u0e25\u0e04\u0e48\u0e32\u0e40\u0e1e\u0e34\u0e48\u0e21","SPEECH_INPUT_LISTENING":"\u0e01\u0e33\u0e25\u0e31\u0e07\u0e1f\u0e31\u0e07...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u0e1b\u0e34\u0e14\u0e44\u0e21\u0e42\u0e04\u0e23\u0e42\u0e1f\u0e19","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u0e40\u0e1b\u0e34\u0e14\u0e44\u0e21\u0e42\u0e04\u0e23\u0e42\u0e1f\u0e19","SPEECH_INPUT_STARTING":"\u0e01\u0e33\u0e25\u0e31\u0e07\u0e40\u0e23\u0e34\u0e48\u0e21...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0e21\u0e35\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0e27\u0e48\u0e32\u0e07\u0e40\u0e1b\u0e25\u0e48\u0e32","SUGGESTED_ACTIONS_ALT":"\u0e04\u0e2d\u0e19\u0e40\u0e17\u0e19\u0e40\u0e19\u0e2d\u0e23\u0e4c\u0e01\u0e32\u0e23\u0e14\u0e33\u0e40\u0e19\u0e34\u0e19\u0e01\u0e32\u0e23\u0e17\u0e35\u0e48\u0e41\u0e19\u0e30\u0e19\u0e33: $1","TEXT_INPUT_ALT":"\u0e01\u0e25\u0e48\u0e2d\u0e07\u0e1b\u0e49\u0e2d\u0e19\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21","TEXT_INPUT_PLACEHOLDER":"\u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13","TEXT_INPUT_SEND_BUTTON_ALT":"\u0e2a\u0e48\u0e07","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0e1e\u0e39\u0e14","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u0e2d\u0e31\u0e1b\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c","TOAST_ACCORDION_FEW":"$1 \u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19: \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e14\u0e39\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14","TOAST_ACCORDION_MANY":"$1 \u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19: \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e14\u0e39\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14","TOAST_ACCORDION_OTHER":"$1 \u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19: \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e14\u0e39\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14","TOAST_ACCORDION_TWO":"$1 \u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19: \u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48\u0e19\u0e35\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e14\u0e39\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14","TOAST_ALT_ERROR":"\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14","TOAST_ALT_INFO":"\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25","TOAST_ALT_SUCCESS":"\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08","TOAST_ALT_WARN":"\u0e04\u0e33\u0e40\u0e15\u0e37\u0e2d\u0e19","TOAST_DISMISS_BUTTON":"\u0e1b\u0e34\u0e14\u0e01\u0e32\u0e23\u0e40\u0e15\u0e37\u0e2d\u0e19","TOAST_TITLE_ALT":"\u0e01\u0e32\u0e23\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19","TRANSCRIPT_NEW_MESSAGES":"\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21\u0e43\u0e2b\u0e21\u0e48","TYPING_INDICATOR_ALT":"\u0e41\u0e2a\u0e14\u0e07\u0e15\u0e31\u0e27\u0e41\u0e2a\u0e14\u0e07\u0e01\u0e32\u0e23\u0e1e\u0e34\u0e21\u0e1e\u0e4c"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] Bu dosyan\u0131n i\xe7eri\u011fi kilitli. Kat\u0131l\u0131mc\u0131lar dosyay\u0131 kullanabilir ancak de\u011fi\u015fikli\u011fin do\u011frulanmas\u0131 gecikebilir.","ACTIVITY_BOT_SAID":"$1 adl\u0131 bot $2 dedi. G\xf6nderilme zaman\u0131: $3.","ACTIVITY_ERROR_BOX_TITLE":"Hata iletisi","ACTIVITY_STATUS_SEND_FAILED_RETRY":"G\xf6nderme ba\u015far\u0131s\u0131z. [Yeniden Dene][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"G\xf6nderiliyor","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"$1 itibar\u0131yla g\xf6nderildi","ACTIVITY_STATUS_SEND_STATUS_ALT":"G\xf6nderme Durumu: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"Hemen \u015fimdi","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"Bir saat \xf6nce","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"Bir dakika \xf6nce","ACTIVITY_STATUS_TIMESTAMP_TODAY":"Bug\xfcn","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"D\xfcn","ACTIVITY_USER_SAID":"$1 adl\u0131 kullan\u0131c\u0131 $2 dedi. G\xf6nderilme zaman\u0131: $3","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Uyarlamal\u0131 Kart ayr\u0131\u015ft\u0131rma hatas\u0131","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Uyarlamal\u0131 Kart i\u015fleme hatas\u0131","CAROUSEL_ATTACHMENTS_BOT_ALT":"Bot taraf\u0131ndan g\xf6nderildi","CAROUSEL_ATTACHMENTS_USER_ALT":"Kullan\u0131c\u0131 taraf\u0131ndan g\xf6nderildi","CAROUSEL_FLIPPER_LEFT_ALT":"Sol","CAROUSEL_FLIPPER_RIGHT_ALT":"Sa\u011f","CONNECTIVITY_STATUS_ALT_CONNECTED":"Ba\u011fl\u0131","CONNECTIVITY_STATUS_ALT_CONNECTING":"Ba\u011flant\u0131 kuruluyor...","CONNECTIVITY_STATUS_ALT_FATAL":"Ba\u011flant\u0131 kurulamad\u0131.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"A\u011f kesintisi olu\u015ftu. Yeniden ba\u011flan\u0131yor...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u0130\u015fleme hatas\u0131. L\xfctfen konsolu denetleyin veya bot geli\u015ftiricisine ba\u015fvurun.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Ba\u011flant\u0131 kurmak normalden uzun s\xfcr\xfcyor.","CONNECTIVITY_STATUS_ALT":"Ba\u011flant\u0131 Durumu: $1","FILE_CONTENT_ALT":"\\"$1\\"","FILE_CONTENT_DOWNLOADABLE_ALT":"\\"$1\\" dosyas\u0131n\u0131 indir","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"$2 boyutlu \\"$1\\" dosyas\u0131n\u0131 indir","FILE_CONTENT_WITH_SIZE_ALT":"$2 boyutlu \\"$1\\" dosyas\u0131","RECEIPT_CARD_TAX":"Vergi","RECEIPT_CARD_TOTAL":"Toplam","RECEIPT_CARD_VAT":"KDV","SPEECH_INPUT_LISTENING":"Dinliyor\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"Mikrofon kapal\u0131","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"Mikrofon a\xe7\u0131k","SPEECH_INPUT_STARTING":"Ba\u015flat\u0131l\u0131yor...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u0130\xe7erik var","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"Bo\u015f","SUGGESTED_ACTIONS_ALT":"\xd6nerilen Eylemler Kapsay\u0131c\u0131s\u0131: $1","TEXT_INPUT_ALT":"\u0130leti gelen kutusu","TEXT_INPUT_PLACEHOLDER":"\u0130letinizi yaz\u0131n","TEXT_INPUT_SEND_BUTTON_ALT":"G\xf6nder","TEXT_INPUT_SPEAK_BUTTON_ALT":"Konu\u015f","TEXT_INPUT_UPLOAD_BUTTON_ALT":"Dosya y\xfckle","TOAST_ACCORDION_FEW":"$1 Bildirim: Ayr\u0131nt\u0131lar\u0131 g\xf6rmek i\xe7in buraya t\u0131klay\u0131n","TOAST_ACCORDION_MANY":"$1 Bildirim: Ayr\u0131nt\u0131lar\u0131 g\xf6rmek i\xe7in buraya t\u0131klay\u0131n","TOAST_ACCORDION_OTHER":"$1 Bildirim: Ayr\u0131nt\u0131lar\u0131 g\xf6rmek i\xe7in buraya t\u0131klay\u0131n","TOAST_ACCORDION_TWO":"$1 Bildirim: Ayr\u0131nt\u0131lar\u0131 g\xf6rmek i\xe7in buraya t\u0131klay\u0131n","TOAST_ALT_ERROR":"Hata","TOAST_ALT_INFO":"Bilgiler","TOAST_ALT_SUCCESS":"Ba\u015far\u0131l\u0131","TOAST_ALT_WARN":"Uyar\u0131","TOAST_DISMISS_BUTTON":"Kapat","TOAST_TITLE_ALT":"Bildirim","TRANSCRIPT_NEW_MESSAGES":"Yeni iletiler","TYPING_INDICATOR_ALT":"Yazma g\xf6stergesi g\xf6steriliyor"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u0412\u043c\u0456\u0441\u0442 \u0446\u044c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0443 \u0437\u0430\u0431\u043b\u043e\u043a\u043e\u0432\u0430\u043d\u043e. \u0412\u043d\u0435\u0441\u043a\u0438 \u0432\u0456\u0442\u0430\u044e\u0442\u044c\u0441\u044f, \u0430\u043b\u0435 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u043a\u0430 \u0437\u043c\u0456\u043d \u043c\u043e\u0436\u0435 \u0437\u0430\u0439\u043d\u044f\u0442\u0438 \u043f\u0435\u0432\u043d\u0438\u0439 \u0447\u0430\u0441.","ACTIVITY_BOT_SAID":"\u0411\u043e\u0442 $1 \u043a\u0430\u0436\u0435: \\"$2\\". \u041d\u0430\u0434\u0456\u0441\u043b\u0430\u043d\u043e \u043e $3.","ACTIVITY_ERROR_BOX_TITLE":"\u041f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e \u043f\u043e\u043c\u0438\u043b\u043a\u0443","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u041d\u0435 \u0432\u0434\u0430\u043b\u043e\u0441\u044f \u043d\u0430\u0434\u0456\u0441\u043b\u0430\u0442\u0438. [\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0438][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u041d\u0430\u0434\u0441\u0438\u043b\u0430\u043d\u043d\u044f","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u041d\u0430\u0434\u0456\u0441\u043b\u0430\u043d\u043e \u043e $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u0421\u0442\u0430\u043d \u043d\u0430\u0434\u0441\u0438\u043b\u0430\u043d\u043d\u044f: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u0429\u043e\u0439\u043d\u043e","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u0413\u043e\u0434\u0438\u043d\u0443 \u0442\u043e\u043c\u0443","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u0425\u0432\u0438\u043b\u0438\u043d\u0443 \u0442\u043e\u043c\u0443","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u0423\u0447\u043e\u0440\u0430","ACTIVITY_USER_SAID":"\u041a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 $1 \u043a\u0430\u0436\u0435: \\"$2\\". \u041d\u0430\u0434\u0456\u0441\u043b\u0430\u043d\u043e \u043e $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u0430\u043d\u0430\u043b\u0456\u0437\u0443 \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0457 \u043a\u0430\u0440\u0442\u043a\u0438","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u0430\u0434\u0430\u043f\u0442\u0438\u0432\u043d\u043e\u0457 \u043a\u0430\u0440\u0442\u043a\u0438","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u041d\u0430\u0434\u0456\u0441\u043b\u0430\u043d\u043e \u0431\u043e\u0442\u043e\u043c","CAROUSEL_ATTACHMENTS_USER_ALT":"\u041d\u0430\u0434\u0456\u0441\u043b\u0430\u043d\u043e \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0435\u043c","CAROUSEL_FLIPPER_LEFT_ALT":"\u041b\u0456\u0432\u043e\u0440\u0443\u0447","CAROUSEL_FLIPPER_RIGHT_ALT":"\u041f\u0440\u0430\u0432\u043e\u0440\u0443\u0447","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u041f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043e","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u041f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u041d\u0435 \u0432\u0434\u0430\u043b\u043e\u0441\u044f \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0438.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u041f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0434\u043e \u043c\u0435\u0440\u0435\u0436\u0456 \u043f\u0435\u0440\u0435\u0440\u0432\u0430\u043d\u043e. \u0412\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430 \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f. \u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0430\u0431\u043e \u0437\u0432\u0435\u0440\u043d\u0456\u0442\u044c\u0441\u044f \u0434\u043e \u0440\u043e\u0437\u0440\u043e\u0431\u043d\u0438\u043a\u0430 \u0431\u043e\u0442\u0430.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u041f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0442\u0440\u0438\u0432\u0430\u0454 \u0431\u0456\u043b\u044c\u0448\u0435 \u0447\u0430\u0441\u0443, \u043d\u0456\u0436 \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439.","CONNECTIVITY_STATUS_ALT":"\u0421\u0442\u0430\u043d \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0444\u0430\u0439\u043b \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0444\u0430\u0439\u043b \\"$1\\" \u0437\u0430\u0432\u0431\u0456\u043b\u044c\u0448\u043a\u0438 $2","FILE_CONTENT_WITH_SIZE_ALT":"\\"$1\\" \u0437\u0430\u0432\u0431\u0456\u043b\u044c\u0448\u043a\u0438 $2","RECEIPT_CARD_TAX":"\u041f\u043e\u0434\u0430\u0442\u043e\u043a","RECEIPT_CARD_TOTAL":"\u0423\u0441\u044c\u043e\u0433\u043e","RECEIPT_CARD_VAT":"\u041f\u0414\u0412","SPEECH_INPUT_LISTENING":"\u0421\u043b\u0443\u0445\u0430\u043d\u043d\u044f\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u041c\u0456\u043a\u0440\u043e\u0444\u043e\u043d \u0432\u0438\u043c\u043a\u043d\u0443\u0442\u043e","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u041c\u0456\u043a\u0440\u043e\u0444\u043e\u043d \u0443\u0432\u0456\u043c\u043a\u043d\u0443\u0442\u043e","SPEECH_INPUT_STARTING":"\u041f\u043e\u0447\u0430\u0442\u043e\u043a\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u041c\u0430\u0454 \u0432\u043c\u0456\u0441\u0442","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u041f\u0443\u0441\u0442\u0438\u0439","SUGGESTED_ACTIONS_ALT":"\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u0438\u0445 \u0434\u0456\u0439: $1","TEXT_INPUT_ALT":"\u0412\u0456\u043a\u043d\u043e \u0432\u0432\u043e\u0434\u0443 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u044c","TEXT_INPUT_PLACEHOLDER":"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f","TEXT_INPUT_SEND_BUTTON_ALT":"\u041d\u0430\u0434\u0456\u0441\u043b\u0430\u0442\u0438","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u0413\u043e\u0432\u043e\u0440\u0438\u0442\u0438","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u041f\u0435\u0440\u0435\u0434\u0430\u0442\u0438 \u0444\u0430\u0439\u043b","TOAST_ACCORDION_FEW":"\u0421\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u044c: $1. \u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0438\u0436\u0447\u0435, \u0449\u043e\u0431 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0438 \u0432\u0456\u0434\u043e\u043c\u043e\u0441\u0442\u0456","TOAST_ACCORDION_MANY":"\u0421\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u044c: $1. \u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0438\u0436\u0447\u0435, \u0449\u043e\u0431 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0438 \u0432\u0456\u0434\u043e\u043c\u043e\u0441\u0442\u0456","TOAST_ACCORDION_OTHER":"\u0421\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u044c: $1. \u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0438\u0436\u0447\u0435, \u0449\u043e\u0431 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0438 \u0432\u0456\u0434\u043e\u043c\u043e\u0441\u0442\u0456","TOAST_ACCORDION_TWO":"\u0421\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u044c: $1. \u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u043d\u0438\u0436\u0447\u0435, \u0449\u043e\u0431 \u043f\u043e\u0431\u0430\u0447\u0438\u0442\u0438 \u0432\u0456\u0434\u043e\u043c\u043e\u0441\u0442\u0456","TOAST_ALT_ERROR":"\u041f\u043e\u043c\u0438\u043b\u043a\u0430","TOAST_ALT_INFO":"\u0412\u0456\u0434\u043e\u043c\u043e\u0441\u0442\u0456","TOAST_ALT_SUCCESS":"\u0412\u0438\u043a\u043e\u043d\u0430\u043d\u043e","TOAST_ALT_WARN":"\u041f\u043e\u043f\u0435\u0440\u0435\u0434\u0436\u0435\u043d\u043d\u044f!","TOAST_DISMISS_BUTTON":"\u0417\u0430\u043a\u0440\u0438\u0442\u0438","TOAST_TITLE_ALT":"\u0421\u043f\u043e\u0432\u0456\u0449\u0435\u043d\u043d\u044f","TRANSCRIPT_NEW_MESSAGES":"\u041d\u043e\u0432\u0456 \u043f\u043e\u0432\u0456\u0434\u043e\u043c\u043b\u0435\u043d\u043d\u044f","TYPING_INDICATOR_ALT":"\u041f\u043e\u043a\u0430\u0437\u0443\u0454 \u0456\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u043d\u0430\u0431\u043e\u0440\u0443"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] N\u1ed9i dung c\u1ee7a t\u1ec7p n\xe0y \u0111\xe3 b\u1ecb kh\xf3a. Hoan ngh\xeanh \xfd ki\u1ebfn \u0111\xf3ng g\xf3p, nh\u01b0ng vi\u1ec7c x\xe1c nh\u1eadn thay \u0111\u1ed5i c\xf3 th\u1ec3 b\u1ecb tr\xec ho\xe3n.","ACTIVITY_BOT_SAID":"Bot $1 \u0111\xe3 n\xf3i: $2. G\u1eedi l\xfac $3.","ACTIVITY_ERROR_BOX_TITLE":"Th\xf4ng b\xe1o l\u1ed7i","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u0110\xe3 kh\xf4ng g\u1eedi \u0111\u01b0\u1ee3c. [Th\u1eed l\u1ea1i][RETRY].","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u0110ang g\u1eedi","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u0110\xe3 g\u1eedi v\xe0o l\xfac $1","ACTIVITY_STATUS_SEND_STATUS_ALT":"Tr\u1ea1ng th\xe1i g\u1eedi: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"V\u1eeba xong","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"M\u1ed9t gi\u1edd tr\u01b0\u1edbc","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"M\u1ed9t ph\xfat tr\u01b0\u1edbc","ACTIVITY_STATUS_TIMESTAMP_TODAY":"H\xf4m nay","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"H\xf4m qua","ACTIVITY_USER_SAID":"Ng\u01b0\u1eddi d\xf9ng $1 \u0111\xe3 n\xf3i: $2. G\u1eedi l\xfac $3.","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"L\u1ed7i ph\xe2n t\xedch Th\u1ebb th\xedch nghi","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"L\u1ed7i k\u1ebft xu\u1ea5t Th\u1ebb th\xedch nghi","CAROUSEL_ATTACHMENTS_BOT_ALT":"Bot \u0111\xe3 g\u1eedi","CAROUSEL_ATTACHMENTS_USER_ALT":"Ng\u01b0\u1eddi d\xf9ng \u0111\xe3 g\u1eedi","CAROUSEL_FLIPPER_LEFT_ALT":"Tr\xe1i","CAROUSEL_FLIPPER_RIGHT_ALT":"Ph\u1ea3i","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u0110\xe3 k\u1ebft n\u1ed1i","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u0110ang k\u1ebft n\u1ed1i...","CONNECTIVITY_STATUS_ALT_FATAL":"Kh\xf4ng th\u1ec3 k\u1ebft n\u1ed1i.","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u0110\xe3 b\u1ecb gi\xe1n \u0111o\u1ea1n m\u1ea1ng. \u0110ang k\u1ebft n\u1ed1i l\u1ea1i...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"L\u1ed7i k\u1ebft xu\u1ea5t. Vui l\xf2ng ki\u1ec3m tra b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n ho\u1eb7c li\xean h\u1ec7 v\u1edbi nh\xe0 ph\xe1t tri\u1ec3n bot.","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"Vi\u1ec7c k\u1ebft n\u1ed1i \u0111ang m\u1ea5t nhi\u1ec1u th\u1eddi gian h\u01a1n b\xecnh th\u01b0\u1eddng.","CONNECTIVITY_STATUS_ALT":"Tr\u1ea1ng th\xe1i K\u1ebft n\u1ed1i: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"T\u1ea3i t\u1ec7p \'$1\' xu\u1ed1ng","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"T\u1ea3i t\u1ec7p \'$1\' k\xedch th\u01b0\u1edbc $2 xu\u1ed1ng","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' k\xedch th\u01b0\u1edbc $2","RECEIPT_CARD_TAX":"Thu\u1ebf","RECEIPT_CARD_TOTAL":"T\u1ed5ng s\u1ed1","RECEIPT_CARD_VAT":"Thu\u1ebf GTGT","SPEECH_INPUT_LISTENING":"\u0110ang nghe\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"T\u1eaft micr\xf4","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"B\u1eadt micr\xf4","SPEECH_INPUT_STARTING":"\u0110ang b\u1eaft \u0111\u1ea7u...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"C\xf3 n\u1ed9i dung","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u0110ang tr\u1ed1ng","SUGGESTED_ACTIONS_ALT":"V\xf9ng ch\u1ee9a h\xe0nh \u0111\u1ed9ng \u0111\u01b0\u1ee3c \u0111\u1ec1 xu\u1ea5t: $1","TEXT_INPUT_ALT":"H\u1ed9p nh\u1eadp tin nh\u1eafn","TEXT_INPUT_PLACEHOLDER":"Nh\u1eadp tin nh\u1eafn c\u1ee7a b\u1ea1n","TEXT_INPUT_SEND_BUTTON_ALT":"G\u1eedi","TEXT_INPUT_SPEAK_BUTTON_ALT":"N\xf3i","TEXT_INPUT_UPLOAD_BUTTON_ALT":"T\u1ea3i l\xean t\u1ec7p","TOAST_ACCORDION_FEW":"$1 Th\xf4ng b\xe1o: B\u1ea5m v\xe0o \u0111\xe2y \u0111\u1ec3 xem chi ti\u1ebft","TOAST_ACCORDION_MANY":"$1 Th\xf4ng b\xe1o: B\u1ea5m v\xe0o \u0111\xe2y \u0111\u1ec3 xem chi ti\u1ebft","TOAST_ACCORDION_OTHER":"$1 Th\xf4ng b\xe1o: B\u1ea5m v\xe0o \u0111\xe2y \u0111\u1ec3 xem chi ti\u1ebft","TOAST_ACCORDION_TWO":"$1 Th\xf4ng b\xe1o: B\u1ea5m v\xe0o \u0111\xe2y \u0111\u1ec3 xem chi ti\u1ebft","TOAST_ALT_ERROR":"L\u1ed7i","TOAST_ALT_INFO":"Th\xf4ng tin","TOAST_ALT_SUCCESS":"Th\xe0nh c\xf4ng","TOAST_ALT_WARN":"C\u1ea3nh b\xe1o","TOAST_DISMISS_BUTTON":"B\u1ecf qua","TOAST_TITLE_ALT":"Th\xf4ng b\xe1o","TRANSCRIPT_NEW_MESSAGES":"Tin nh\u1eafn m\u1edbi","TYPING_INDICATOR_ALT":"Hi\u1ec3n th\u1ecb ch\u1ec9 b\xe1o \u0111ang nh\u1eadp"}') }, function(e) { e.exports = JSON.parse('{"_.comment":"The content of this file is contributed by the community.","ACTIVITY_BOT_SAID":"Bot $1 \u8a71\uff1a$2\u3002\u9001\u51fa\u5605\u6642\u9593\uff1a$3","ACTIVITY_ERROR_BOX_TITLE":"\u932f\u5605\u4fe1\u606f","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u50b3\u9001\u5514\u5012\u3002[\u518d\u569f\u4e00\u6b21][RETRY]\u3002","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u800c\u5bb6\u50b3\u9001\u7dca","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u9001\u51fa\u5605\u6642\u9593\uff1a$1","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u50b3\u9001\u60c5\u6cc1\uff1a$1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u5571\u5571","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"\u4e00\u500b\u9418\u524d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"\u4e00\u5206\u9418\u524d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u4eca\u65e5","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u5c0b\u65e5","ACTIVITY_USER_SAID":"\u7528\u5bb6 $1 \u8a71\uff1a$2. \u9001\u51fa\u5605\u6642\u9593\uff1a$3","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"Adaptive Card \u89e3\u6790\u51fa\u4e8b","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"Adaptive Card render \u51fa\u4e8b","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u6a5f\u68b0\u4eba\u50b3\u9001\u5497\uff1a","CAROUSEL_ATTACHMENTS_USER_ALT":"\u7528\u6236\u50b3\u9001\u5497\uff1a","CAROUSEL_FLIPPER_LEFT_ALT":"\u5de6","CAROUSEL_FLIPPER_RIGHT_ALT":"\u53f3","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u63a5\u99c1\u5230","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u63a5\u99c1\u7dca\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u63a5\u99c1\u5514\u5012\u3002","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u7db2\u7d61\u66ab\u6642\u65b7\u5497\uff0c\u8a66\u7dca\u518d\u99c1\u8fd4\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"Render \u51fa\u4e8b\uff0c\u8acb\u7747\u4e0b console \u6216\u8005\u540c bot \u958b\u767c\u4eba\u54e1\u806f\u7d61\u3002","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u63a5\u99c1\u5605\u6642\u9593\u6bd4\u5e73\u6642\u9577\u3002","CONNECTIVITY_STATUS_ALT":"\u63a5\u99c1\u60c5\u6cc1\uff1a$1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u4e0b\u8f09\u6a94\u6848 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u4e0b\u8f09\u6a94\u6848 \'$1\' \u6a94\u6848\u5927\u5c0f $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' \u6a94\u6848\u5927\u5c0f $2","RECEIPT_CARD_TAX":"\u7a05","RECEIPT_CARD_TOTAL":"\u7e3d\u5171","RECEIPT_CARD_VAT":"\u6d88\u8cbb\u7a05","SPEECH_INPUT_LISTENING":"\u807d\u7dca\u4f60\u8b1b\u5622\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u9582\u54aa","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u958b\u54aa","SPEECH_INPUT_STARTING":"\u958b\u59cb\u7dca\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u6709\u5185\u5bb9","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u7121\u5185\u5bb9","SUGGESTED_ACTIONS_ALT":"\u5efa\u8b70\u3a52\u5605\u63a3\uff1a$1","TEXT_INPUT_ALT":"\u8a0a\u606f\u8f38\u5165\u76d2","TEXT_INPUT_PLACEHOLDER":"\u8f38\u5165\u4f60\u5605\u8a0a\u606f","TEXT_INPUT_SEND_BUTTON_ALT":"\u50b3\u9001","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u8b1b\u5622","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u4e0a\u8f09\u6a94\u6848","TOAST_ACCORDION_OTHER":"$1 \u9805\u901a\u77e5\uff1a\u895f\u5462\u5ea6\u7747\u8a73\u60c5","TOAST_ALT_ERROR":"\u932f\u8aa4\uff1a$1","TOAST_ALT_INFO":"\u8cc7\u8a0a\uff1a$1","TOAST_ALT_SUCCESS":"\u6210\u529f\uff1a$1","TOAST_ALT_WARN":"\u8b66\u544a\uff1a$1","TOAST_DISMISS_BUTTON":"\u9582\u5497\u4f62","TOAST_TITLE_ALT":"\u901a\u77e5","TRANSCRIPT_NEW_MESSAGES":"\u65b0\u8a0a\u606f","TYPING_INDICATOR_ALT":"\u5c0d\u65b9\u6253\u7dca\u5b57"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u6b64\u6587\u4ef6\u7684\u5185\u5bb9\u5df2\u9501\u5b9a\u3002\u6b22\u8fce\u53d1\u5e03\u5185\u5bb9\uff0c\u4f46\u66f4\u6539\u9a8c\u8bc1\u53ef\u80fd\u4f1a\u5ef6\u8fdf\u3002","ACTIVITY_BOT_SAID":"\u673a\u5668\u4eba $1 \u8bf4\uff0c$2\u3002\u5df2\u4e8e $3 \u53d1\u9001\u3002","ACTIVITY_ERROR_BOX_TITLE":"\u9519\u8bef\u6d88\u606f","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u53d1\u9001\u5931\u8d25\u3002[\u91cd\u8bd5][RETRY]\u3002","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u6b63\u5728\u53d1\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u5df2\u4e8e $1 \u53d1\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u53d1\u9001\u72b6\u6001: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u521a\u521a","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1 \u5c0f\u65f6\u524d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u5206\u949f\u524d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u4eca\u5929","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u6628\u5929","ACTIVITY_USER_SAID":"\u7528\u6237 $1 \u8bf4\uff0c$2\u3002\u5df2\u4e8e $3 \u53d1\u9001\u3002","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u81ea\u9002\u5e94\u5361\u5206\u6790\u9519\u8bef","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u81ea\u9002\u5e94\u5361\u5448\u73b0\u9519\u8bef","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u673a\u5668\u4eba\u5df2\u53d1\u9001","CAROUSEL_ATTACHMENTS_USER_ALT":"\u7528\u6237\u5df2\u53d1\u9001","CAROUSEL_FLIPPER_LEFT_ALT":"\u5de6","CAROUSEL_FLIPPER_RIGHT_ALT":"\u53f3","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u5df2\u8fde\u63a5","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u6b63\u5728\u8fde\u63a5...","CONNECTIVITY_STATUS_ALT_FATAL":"\u65e0\u6cd5\u8fde\u63a5\u3002","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u53d1\u751f\u7f51\u7edc\u4e2d\u65ad\u3002\u6b63\u5728\u91cd\u65b0\u8fde\u63a5...","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u5448\u73b0\u9519\u8bef\u3002\u8bf7\u68c0\u67e5\u63a7\u5236\u53f0\u6216\u8054\u7cfb\u673a\u5668\u4eba\u5f00\u53d1\u8005\u3002","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u8fde\u63a5\u6240\u82b1\u8d39\u7684\u65f6\u95f4\u957f\u4e8e\u5e73\u65f6\u3002","CONNECTIVITY_STATUS_ALT":"\u8fde\u63a5\u72b6\u6001: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u4e0b\u8f7d\u6587\u4ef6 \'$1\'","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u4e0b\u8f7d\u6587\u4ef6 \'$1\'\uff0c\u5927\u5c0f\u4e3a $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\' \u7684\u5927\u5c0f\u4e3a $2","RECEIPT_CARD_TAX":"\u7a0e\u6b3e","RECEIPT_CARD_TOTAL":"\u603b\u989d","RECEIPT_CARD_VAT":"\u589e\u503c\u7a0e","SPEECH_INPUT_LISTENING":"\u6b63\u5728\u503e\u542c...","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u9ea6\u514b\u98ce\u5173\u95ed","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u9ea6\u514b\u98ce\u6253\u5f00","SPEECH_INPUT_STARTING":"\u6b63\u5728\u542f\u52a8...","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u6709\u5185\u5bb9","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u4e3a\u7a7a","SUGGESTED_ACTIONS_ALT":"\u5efa\u8bae\u7684\u64cd\u4f5c\u5bb9\u5668: $1","TEXT_INPUT_ALT":"\u6d88\u606f\u8f93\u5165\u6846","TEXT_INPUT_PLACEHOLDER":"\u952e\u5165\u6d88\u606f","TEXT_INPUT_SEND_BUTTON_ALT":"\u53d1\u9001","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u54a8\u8be2","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u4e0a\u4f20\u6587\u4ef6","TOAST_ACCORDION_FEW":"$1 \u6761\u901a\u77e5: \u5355\u51fb\u6b64\u5904\u4ee5\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f","TOAST_ACCORDION_MANY":"$1 \u6761\u901a\u77e5: \u5355\u51fb\u6b64\u5904\u4ee5\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f","TOAST_ACCORDION_OTHER":"$1 \u6761\u901a\u77e5: \u5355\u51fb\u6b64\u5904\u4ee5\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f","TOAST_ACCORDION_TWO":"$1 \u6761\u901a\u77e5: \u5355\u51fb\u6b64\u5904\u4ee5\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f","TOAST_ALT_ERROR":"\u51fa\u9519","TOAST_ALT_INFO":"\u4fe1\u606f","TOAST_ALT_SUCCESS":"\u6210\u529f","TOAST_ALT_WARN":"\u8b66\u544a","TOAST_DISMISS_BUTTON":"\u53d6\u6d88","TOAST_TITLE_ALT":"\u901a\u77e5","TRANSCRIPT_NEW_MESSAGES":"\u65b0\u6d88\u606f","TYPING_INDICATOR_ALT":"\u663e\u793a\u952e\u5165\u6307\u793a\u5668"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u6b64\u6a94\u6848\u7684\u5167\u5bb9\u5df2\u9396\u5b9a\u3002\u6b61\u8fce\u63d0\u4f9b\u610f\u898b\uff0c\u4f46\u8b8a\u66f4\u9a57\u8b49\u53ef\u80fd\u6703\u6709\u6240\u5ef6\u9072\u3002","ACTIVITY_BOT_SAID":"\u6a5f\u5668\u4eba $1 \u8aaa: $2\u3002\u65bc $3 \u50b3\u9001\u3002","ACTIVITY_ERROR_BOX_TITLE":"\u932f\u8aa4\u8a0a\u606f","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u50b3\u9001\u5931\u6557\u3002[\u91cd\u8a66][RETRY]\u3002","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u6b63\u5728\u50b3\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u65bc $1 \u50b3\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u50b3\u9001\u72c0\u614b: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u525b\u525b","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1 \u5c0f\u6642\u524d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u5206\u9418\u524d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u4eca\u5929","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u6628\u5929","ACTIVITY_USER_SAID":"\u4f7f\u7528\u8005 $1 \u8aaa: $2\u3002\u65bc $3 \u50b3\u9001\u3002","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u8abf\u9069\u578b\u5361\u7247\u5256\u6790\u932f\u8aa4","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u8abf\u9069\u578b\u5361\u7247\u8f49\u8b6f\u932f\u8aa4","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u6a5f\u5668\u4eba\u50b3\u9001\u4e86","CAROUSEL_ATTACHMENTS_USER_ALT":"\u4f7f\u7528\u8005\u50b3\u9001\u4e86","CAROUSEL_FLIPPER_LEFT_ALT":"\u5411\u5de6\u7ffb\u8f49","CAROUSEL_FLIPPER_RIGHT_ALT":"\u5411\u53f3\u7ffb\u8f49","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u5df2\u9023\u7dda","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u6b63\u5728\u9023\u7dda\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u7121\u6cd5\u9023\u7dda\u3002","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u767c\u751f\u7db2\u8def\u4e2d\u65b7\u3002\u6b63\u5728\u91cd\u65b0\u9023\u7dda\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u8f49\u8b6f\u932f\u8aa4\u3002\u8acb\u6aa2\u67e5\u4e3b\u63a7\u53f0\u6216\u9023\u7d61\u6a5f\u5668\u4eba\u958b\u767c\u4eba\u54e1\u3002","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u9023\u7dda\u6240\u9700\u7684\u6642\u9593\u6bd4\u5e73\u6642\u66f4\u9577\u3002","CONNECTIVITY_STATUS_ALT":"\u9023\u7dda\u72c0\u614b: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u4e0b\u8f09 \'$1\' \u6a94\u6848","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u4e0b\u8f09 \'$1\' \u6a94\u6848\uff0c\u5927\u5c0f\u70ba $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\'\uff0c\u5927\u5c0f\u70ba $2","RECEIPT_CARD_TAX":"\u7a05\u91d1","RECEIPT_CARD_TOTAL":"\u7e3d\u8a08","RECEIPT_CARD_VAT":"\u52a0\u503c\u7a05","SPEECH_INPUT_LISTENING":"\u6b63\u5728\u8046\u807d\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u95dc\u9589\u9ea5\u514b\u98a8","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u958b\u555f\u9ea5\u514b\u98a8","SPEECH_INPUT_STARTING":"\u6b63\u5728\u555f\u52d5\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u5177\u6709\u5167\u5bb9","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u662f\u7a7a\u7684","SUGGESTED_ACTIONS_ALT":"\u5efa\u8b70\u7684\u52d5\u4f5c\u5bb9\u5668: $1","TEXT_INPUT_ALT":"\u8a0a\u606f\u8f38\u5165\u65b9\u584a","TEXT_INPUT_PLACEHOLDER":"\u8f38\u5165\u60a8\u7684\u8a0a\u606f","TEXT_INPUT_SEND_BUTTON_ALT":"\u50b3\u9001","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u8aaa\u8a71","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u4e0a\u50b3\u6a94\u6848","TOAST_ACCORDION_FEW":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_MANY":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_OTHER":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_TWO":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ALT_ERROR":"\u932f\u8aa4","TOAST_ALT_INFO":"\u8cc7\u8a0a","TOAST_ALT_SUCCESS":"\u6210\u529f","TOAST_ALT_WARN":"\u8b66\u544a","TOAST_DISMISS_BUTTON":"\u95dc\u9589","TOAST_TITLE_ALT":"\u901a\u77e5","TRANSCRIPT_NEW_MESSAGES":"\u65b0\u8a0a\u606f","TYPING_INDICATOR_ALT":"\u986f\u793a\u8f38\u5165\u6307\u793a\u5668"}') }, function(e) { e.exports = JSON.parse('{"_comment":"[CI-LOCKED] \u6b64\u6a94\u6848\u7684\u5167\u5bb9\u5df2\u9396\u5b9a\u3002\u6b61\u8fce\u63d0\u4f9b\u610f\u898b\uff0c\u4f46\u8b8a\u66f4\u9a57\u8b49\u53ef\u80fd\u6703\u6709\u6240\u5ef6\u9072\u3002","ACTIVITY_BOT_SAID":"\u6a5f\u5668\u4eba $1 \u8aaa: $2\u3002\u65bc $3 \u50b3\u9001\u3002","ACTIVITY_ERROR_BOX_TITLE":"\u932f\u8aa4\u8a0a\u606f","ACTIVITY_STATUS_SEND_FAILED_RETRY":"\u50b3\u9001\u5931\u6557\u3002[\u91cd\u8a66][RETRY]\u3002","ACTIVITY_STATUS_SEND_STATUS_ALT_SENDING":"\u6b63\u5728\u50b3\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT":"\u65bc $1 \u50b3\u9001","ACTIVITY_STATUS_SEND_STATUS_ALT":"\u50b3\u9001\u72c0\u614b: $1","ACTIVITY_STATUS_TIMESTAMP_JUST_NOW":"\u525b\u525b","ACTIVITY_STATUS_TIMESTAMP_ONE_HOUR_AGO":"1 \u5c0f\u6642\u524d","ACTIVITY_STATUS_TIMESTAMP_ONE_MINUTE_AGO":"1 \u5206\u9418\u524d","ACTIVITY_STATUS_TIMESTAMP_TODAY":"\u4eca\u5929","ACTIVITY_STATUS_TIMESTAMP_YESTERDAY":"\u6628\u5929","ACTIVITY_USER_SAID":"\u4f7f\u7528\u8005 $1 \u8aaa: $2\u3002\u65bc $3 \u50b3\u9001\u3002","ADAPTIVE_CARD_ERROR_BOX_TITLE_PARSE":"\u8abf\u9069\u578b\u5361\u7247\u5256\u6790\u932f\u8aa4","ADAPTIVE_CARD_ERROR_BOX_TITLE_RENDER":"\u8abf\u9069\u578b\u5361\u7247\u8f49\u8b6f\u932f\u8aa4","CAROUSEL_ATTACHMENTS_BOT_ALT":"\u6a5f\u5668\u4eba\u50b3\u9001\u4e86","CAROUSEL_ATTACHMENTS_USER_ALT":"\u4f7f\u7528\u8005\u50b3\u9001\u4e86","CAROUSEL_FLIPPER_LEFT_ALT":"\u5411\u5de6\u7ffb\u8f49","CAROUSEL_FLIPPER_RIGHT_ALT":"\u5411\u53f3\u7ffb\u8f49","CONNECTIVITY_STATUS_ALT_CONNECTED":"\u5df2\u9023\u7dda","CONNECTIVITY_STATUS_ALT_CONNECTING":"\u6b63\u5728\u9023\u7dda\u2026","CONNECTIVITY_STATUS_ALT_FATAL":"\u7121\u6cd5\u9023\u7dda\u3002","CONNECTIVITY_STATUS_ALT_RECONNECTING":"\u767c\u751f\u7db2\u8def\u4e2d\u65b7\u3002\u6b63\u5728\u91cd\u65b0\u9023\u7dda\u2026","CONNECTIVITY_STATUS_ALT_RENDER_ERROR":"\u8f49\u8b6f\u932f\u8aa4\u3002\u8acb\u6aa2\u67e5\u4e3b\u63a7\u53f0\u6216\u9023\u7d61\u6a5f\u5668\u4eba\u958b\u767c\u4eba\u54e1\u3002","CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION":"\u9023\u7dda\u6240\u9700\u7684\u6642\u9593\u6bd4\u5e73\u6642\u66f4\u9577\u3002","CONNECTIVITY_STATUS_ALT":"\u9023\u7dda\u72c0\u614b: $1","FILE_CONTENT_ALT":"\'$1\'","FILE_CONTENT_DOWNLOADABLE_ALT":"\u4e0b\u8f09 \'$1\' \u6a94\u6848","FILE_CONTENT_DOWNLOADABLE_WITH_SIZE_ALT":"\u4e0b\u8f09 \'$1\' \u6a94\u6848\uff0c\u5927\u5c0f\u70ba $2","FILE_CONTENT_WITH_SIZE_ALT":"\'$1\'\uff0c\u5927\u5c0f\u70ba $2","RECEIPT_CARD_TAX":"\u7a05\u91d1","RECEIPT_CARD_TOTAL":"\u7e3d\u8a08","RECEIPT_CARD_VAT":"\u52a0\u503c\u7a05","SPEECH_INPUT_LISTENING":"\u6b63\u5728\u8046\u807d\u2026","SPEECH_INPUT_MICROPHONE_BUTTON_CLOSE_ALT":"\u95dc\u9589\u9ea5\u514b\u98a8","SPEECH_INPUT_MICROPHONE_BUTTON_OPEN_ALT":"\u958b\u555f\u9ea5\u514b\u98a8","SPEECH_INPUT_STARTING":"\u6b63\u5728\u555f\u52d5\u2026","SUGGESTED_ACTIONS_ALT_HAS_CONTENT":"\u5177\u6709\u5167\u5bb9","SUGGESTED_ACTIONS_ALT_NO_CONTENT":"\u662f\u7a7a\u7684","SUGGESTED_ACTIONS_ALT":"\u5efa\u8b70\u7684\u52d5\u4f5c\u5bb9\u5668: $1","TEXT_INPUT_ALT":"\u8a0a\u606f\u8f38\u5165\u65b9\u584a","TEXT_INPUT_PLACEHOLDER":"\u8f38\u5165\u60a8\u7684\u8a0a\u606f","TEXT_INPUT_SEND_BUTTON_ALT":"\u50b3\u9001","TEXT_INPUT_SPEAK_BUTTON_ALT":"\u8aaa\u8a71","TEXT_INPUT_UPLOAD_BUTTON_ALT":"\u4e0a\u50b3\u6a94\u6848","TOAST_ACCORDION_FEW":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_MANY":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_OTHER":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ACCORDION_TWO":"$1 \u5247\u901a\u77e5: \u6309\u4e00\u4e0b\u9019\u88e1\u4f86\u67e5\u770b\u8a73\u7d30\u8cc7\u6599","TOAST_ALT_ERROR":"\u932f\u8aa4","TOAST_ALT_INFO":"\u8cc7\u8a0a","TOAST_ALT_SUCCESS":"\u6210\u529f","TOAST_ALT_WARN":"\u8b66\u544a","TOAST_DISMISS_BUTTON":"\u95dc\u9589","TOAST_TITLE_ALT":"\u901a\u77e5","TRANSCRIPT_NEW_MESSAGES":"\u65b0\u8a0a\u606f","TYPING_INDICATOR_ALT":"\u986f\u793a\u8f38\u5165\u6307\u793a\u5668"}') }, function(e) { e.exports = JSON.parse('{"ar-EG":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ar-EG","SPEECH_LANGUAGE":"ar-EG"},"ar-SA":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ar-SA","SPEECH_LANGUAGE":"ar-SA"},"bg-BG":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"bg","SPEECH_LANGUAGE":"bg-BG"},"ca-ES":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ca","SPEECH_LANGUAGE":"ca-ES"},"cs-CZ":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"cs","SPEECH_LANGUAGE":"cs-CZ"},"da-DK":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"da","SPEECH_LANGUAGE":"da-DK"},"de-DE":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":"neural","GLOBALIZE_LANGUAGE":"de","SPEECH_LANGUAGE":"de-DE"},"el-GR":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"el","SPEECH_LANGUAGE":"el-GR"},"en-US":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":"neural","GLOBALIZE_LANGUAGE":"en","SPEECH_LANGUAGE":"en-US"},"es-ES":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"es","SPEECH_LANGUAGE":"es-ES"},"et-EE":{"GLOBALIZE_LANGUAGE":"et"},"eu-ES":{"GLOBALIZE_LANGUAGE":"eu"},"fi-FI":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"fi","SPEECH_LANGUAGE":"fi-FI"},"fr-FR":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"fr","SPEECH_LANGUAGE":"fr-FR"},"gl-ES":{"GLOBALIZE_LANGUAGE":"gl"},"he-IL":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"he","SPEECH_LANGUAGE":"he-IL"},"hi-IN":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"hi","SPEECH_LANGUAGE":"hi-IN"},"hr-HR":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"hr","SPEECH_LANGUAGE":"hr-HR"},"hu-HU":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"hu","SPEECH_LANGUAGE":"hu-HU"},"id-ID":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"id","SPEECH_LANGUAGE":"id-ID"},"it-IT":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":"neural","GLOBALIZE_LANGUAGE":"it","SPEECH_LANGUAGE":"it-IT"},"ja-JP":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ja","SPEECH_LANGUAGE":"ja-JP"},"kk-KZ":{"GLOBALIZE_LANGUAGE":"kk"},"ko-KR":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ko","SPEECH_LANGUAGE":"ko-KR"},"lt-LT":{"GLOBALIZE_LANGUAGE":"lt"},"lv-LV":{"GLOBALIZE_LANGUAGE":"lv"},"ms-MY":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ms","SPEECH_LANGUAGE":"ms-MY"},"nb-NO":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"nb","SPEECH_LANGUAGE":"nb-NO"},"nl-NL":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"nl","SPEECH_LANGUAGE":"nl-NL"},"pl-PL":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"pl","SPEECH_LANGUAGE":"pl-PL"},"pt-BR":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"pt","SPEECH_LANGUAGE":"pt-BR"},"pt-PT":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"pt-PT","SPEECH_LANGUAGE":"pt-PT"},"ro-RO":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ro","SPEECH_LANGUAGE":"ro-RO"},"ru-RU":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"ru","SPEECH_LANGUAGE":"ru-RU"},"sk-SK":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"sk","SPEECH_LANGUAGE":"sk-SK"},"sl-SI":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"sl","SPEECH_LANGUAGE":"sl-SI"},"sr-Cyrl":{"GLOBALIZE_LANGUAGE":"sr-Cyrl"},"sr-Latn":{"GLOBALIZE_LANGUAGE":"sr-Latn"},"sv-SE":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"sv","SPEECH_LANGUAGE":"sv-SE"},"th-TH":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"th","SPEECH_LANGUAGE":"th-TH"},"tr-TR":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"tr","SPEECH_LANGUAGE":"tr-TR"},"uk-UA":{"GLOBALIZE_LANGUAGE":"uk"},"vi-VN":{"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"vi","SPEECH_LANGUAGE":"vi-VN"},"yue":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"yue","SPEECH_LANGUAGE":"zh-HK"},"zh-Hans":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":"neural","GLOBALIZE_LANGUAGE":"zh-Hans","SPEECH_LANGUAGE":"zh-CN"},"zh-Hans-SG":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":"neural","GLOBALIZE_LANGUAGE":"zh-Hans-SG","SPEECH_LANGUAGE":"zh-CN"},"zh-Hant":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"zh-Hant","SPEECH_LANGUAGE":"zh-TW"},"zh-Hant-HK":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"zh-Hant-HK","SPEECH_LANGUAGE":"zh-HK"},"zh-Hant-MO":{"COGNITIVE_SERVICES_SPEECH_TO_TEXT":true,"COGNITIVE_SERVICES_TEXT_TO_SPEECH":true,"GLOBALIZE_LANGUAGE":"zh-Hant-MO","SPEECH_LANGUAGE":"zh-HK"}}') }, function(e, t, r) { "use strict"; function n(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function i(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? n(Object(r), !0).forEach((function(t) { o(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : n(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function o(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function a(e) { return function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } }(e) || function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) }(e) || function() { throw new TypeError("Invalid attempt to spread non-iterable instance") }() } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { for (var e = {}, t = arguments.length, r = new Array(t), n = 0; n < t; n++) r[n] = arguments[n]; var o = r.reduce((function(e, t) { return [].concat(a(e), a(Object.keys(t))) }), []), s = !0, u = !1, c = void 0; try { for (var l, f = function() { var t = l.value; e[t] = r.reduce((function(e, r) { return i(i({}, e), r[t]) }), {}) }, p = new Set(o)[Symbol.iterator](); !(s = (l = p.next()).done); s = !0) f() } catch (e) { u = !0, c = e } finally { try { s || null == p.return || p.return() } finally { if (u) throw c } } return e } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = y(r(3)), o = y(r(1)), a = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = m(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), s = y(r(34)), u = y(r(1160)), c = y(r(23)), l = y(r(284)), f = y(r(15)), p = y(r(20)), d = y(r(6)), h = y(r(285)), v = y(r(1162)); function m() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return m = function() { return e }, e } function y(e) { return e && e.__esModule ? e : { default: e } } function b(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var g = function(e) { var t = e.reconnect, r = b((0, p.default)(), 1)[0].slowConnectionAfter, n = b((0, d.default)(), 1)[0], o = n.connectivityNotification, m = n.warningNotification, y = b((0, c.default)(), 1)[0], g = b((0, a.useState)((function() { return Date.now() })), 1)[0], _ = (0, l.default)(), T = (0, f.default)(), S = T("CONNECTIVITY_STATUS_ALT_CONNECTING"), A = T("CONNECTIVITY_STATUS_ALT_RECONNECTING"), E = T("CONNECTIVITY_STATUS_ALT_SLOW_CONNECTION"); return (0, h.default)(g + r, _), Date.now() >= g + r ? a.default.createElement(a.default.Fragment, null, a.default.createElement(s.default, { text: T("CONNECTIVITY_STATUS_ALT", E) }), a.default.createElement("div", { "aria-hidden": !0, className: (0, i.default)("webchat__connectivityStatus", m + ""), dir: y }, a.default.createElement(v.default, null), E)) : a.default.createElement(a.default.Fragment, null, a.default.createElement(s.default, { text: T("CONNECTIVITY_STATUS_ALT", t ? A : S) }), a.default.createElement("div", { "aria-hidden": !0, className: (0, i.default)("webchat__connectivityStatus", o + ""), dir: y }, a.default.createElement(u.default, null), t ? A : S)) }; g.defaultProps = { reconnect: !1 }, g.propTypes = { reconnect: o.default.bool }; var _ = g; t.default = _ }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = s(r(3)), i = s(r(0)), o = s(r(23)), a = s(r(6)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var c = function() { var e = u((0, a.default)(), 1)[0].spinnerAnimation, t = u((0, o.default)(), 1)[0]; return i.default.createElement("div", { className: (0, n.default)(e + "", "rtl" === t && "webchat__spinner--rtl") }) }; t.default = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.default)().dir] }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = s(r(3)), i = s(r(1)), o = s(r(0)), a = s(r(23)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var c = function(e) { var t = e.className, r = e.size, i = u((0, a.default)(), 1)[0]; return o.default.createElement("svg", { alt: "", className: (0, n.default)(t + "", "rtl" === i && "webchat_warning--rtl"), height: 16 * r, viewBox: "0 0 13.1 13.1", width: 16 * r }, o.default.createElement("path", { d: "M13.1,13.1H0L6.6,0L13.1,13.1z M7,10.5H6.1v0.9H7V10.5z M7,9.7V5.2H6.1v4.4L7,9.7z", fillRule: "evenodd" })) }; c.defaultProps = { className: "", size: 1 }, c.propTypes = { className: i.default.string, size: i.default.number }; var l = c; t.default = l }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = l(r(3)), i = l(r(0)), o = l(r(506)), a = l(r(34)), s = l(r(23)), u = l(r(15)), c = l(r(6)); function l(e) { return e && e.__esModule ? e : { default: e } } function f(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var p = function() { var e = f((0, c.default)(), 1)[0].errorNotification, t = f((0, s.default)(), 1)[0], r = (0, u.default)(), l = r("CONNECTIVITY_STATUS_ALT_FATAL"); return i.default.createElement(i.default.Fragment, null, i.default.createElement(a.default, { text: r("CONNECTIVITY_STATUS_ALT", l) }), i.default.createElement("div", { "aria-hidden": !0, className: (0, n.default)("webchat__connectivityStatus", e + ""), dir: t }, i.default.createElement(o.default, null), l)) }; t.default = p }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = l(r(3)), i = l(r(0)), o = l(r(506)), a = l(r(34)), s = l(r(23)), u = l(r(15)), c = l(r(6)); function l(e) { return e && e.__esModule ? e : { default: e } } function f(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var p = function() { var e = f((0, c.default)(), 1)[0].errorNotification, t = f((0, s.default)(), 1)[0], r = (0, u.default)(), l = r("CONNECTIVITY_STATUS_ALT_RENDER_ERROR"); return i.default.createElement(i.default.Fragment, null, i.default.createElement(a.default, { text: r("CONNECTIVITY_STATUS_ALT", l) }), i.default.createElement("div", { "aria-hidden": !0, className: (0, n.default)("webchat__connectivityStatus", e + ""), dir: t }, i.default.createElement(o.default, null), l)) }; t.default = p }, function(e, t, r) { "use strict"; function n(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } function i(e) { return void 0 === e } Object.defineProperty(t, "__esModule", { value: !0 }), t.map = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : o; return a(Object.entries(e).map((function(e) { return i(e[1]) ? void 0 : e })), (function(r) { var i = n(r, 2), o = i[0], a = i[1]; return t.call(e, a, o) })) }, t.default = void 0; var o = function(e) { return e }; function a(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : o; return e.reduce((function(e, r) { var n = i(e) ? e : t(e), o = i(r) ? r : t(r); return i(n) ? r : i(o) || n < o ? e : r }), void 0) } var s = a; t.default = s }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, n.useSelector)((function(e) { return e.notifications }))] }; var n = r(38) }, function(e, t, r) { "use strict"; var n = r(19), i = r(105); t.__esModule = !0, t.default = void 0; var o = i(r(0)), a = (n(r(1)), r(87)), s = n(r(288)); var u = function(e) { var t = e.store, r = e.context, n = e.children, i = (0, o.useMemo)((function() { var e = new s.default(t); return e.onStateChange = e.notifyNestedSubs, { store: t, subscription: e } }), [t]), u = (0, o.useMemo)((function() { return t.getState() }), [t]); (0, o.useEffect)((function() { var e = i.subscription; return e.trySubscribe(), u !== t.getState() && e.notifyNestedSubs(), function() { e.tryUnsubscribe(), e.onStateChange = null } }), [i, u]); var c = r || a.ReactReduxContext; return o.default.createElement(c.Provider, { value: i }, n) }; t.default = u }, function(e, t) { function r(t) { return "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? e.exports = r = function(e) { return typeof e } : e.exports = r = function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e }, r(t) } e.exports = r }, function(e, t, r) { "use strict"; var n = r(509), i = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, o = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, a = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, s = {}; function u(e) { return n.isMemo(e) ? a : s[e.$$typeof] || i } s[n.ForwardRef] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, s[n.Memo] = a; var c = Object.defineProperty, l = Object.getOwnPropertyNames, f = Object.getOwnPropertySymbols, p = Object.getOwnPropertyDescriptor, d = Object.getPrototypeOf, h = Object.prototype; e.exports = function e(t, r, n) { if ("string" != typeof r) { if (h) { var i = d(r); i && i !== h && e(t, i, n) } var a = l(r); f && (a = a.concat(f(r))); for (var s = u(t), v = u(r), m = 0; m < a.length; ++m) { var y = a[m]; if (!(o[y] || n && n[y] || v && v[y] || s && s[y])) { var b = p(r, y); try { c(t, y, b) } catch (e) {} } } } return t } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = "function" == typeof Symbol && Symbol.for, i = n ? Symbol.for("react.element") : 60103, o = n ? Symbol.for("react.portal") : 60106, a = n ? Symbol.for("react.fragment") : 60107, s = n ? Symbol.for("react.strict_mode") : 60108, u = n ? Symbol.for("react.profiler") : 60114, c = n ? Symbol.for("react.provider") : 60109, l = n ? Symbol.for("react.context") : 60110, f = n ? Symbol.for("react.async_mode") : 60111, p = n ? Symbol.for("react.concurrent_mode") : 60111, d = n ? Symbol.for("react.forward_ref") : 60112, h = n ? Symbol.for("react.suspense") : 60113, v = n ? Symbol.for("react.suspense_list") : 60120, m = n ? Symbol.for("react.memo") : 60115, y = n ? Symbol.for("react.lazy") : 60116, b = n ? Symbol.for("react.fundamental") : 60117, g = n ? Symbol.for("react.responder") : 60118, _ = n ? Symbol.for("react.scope") : 60119; function T(e) { if ("object" == typeof e && null !== e) { var t = e.$$typeof; switch (t) { case i: switch (e = e.type) { case f: case p: case a: case u: case s: case h: return e; default: switch (e = e && e.$$typeof) { case l: case d: case c: return e; default: return t } } case y: case m: case o: return t } } } function S(e) { return T(e) === p } t.typeOf = T, t.AsyncMode = f, t.ConcurrentMode = p, t.ContextConsumer = l, t.ContextProvider = c, t.Element = i, t.ForwardRef = d, t.Fragment = a, t.Lazy = y, t.Memo = m, t.Portal = o, t.Profiler = u, t.StrictMode = s, t.Suspense = h, t.isValidElementType = function(e) { return "string" == typeof e || "function" == typeof e || e === a || e === p || e === u || e === s || e === h || e === v || "object" == typeof e && null !== e && (e.$$typeof === y || e.$$typeof === m || e.$$typeof === c || e.$$typeof === l || e.$$typeof === d || e.$$typeof === b || e.$$typeof === g || e.$$typeof === _) }, t.isAsyncMode = function(e) { return S(e) || T(e) === f }, t.isConcurrentMode = S, t.isContextConsumer = function(e) { return T(e) === l }, t.isContextProvider = function(e) { return T(e) === c }, t.isElement = function(e) { return "object" == typeof e && null !== e && e.$$typeof === i }, t.isForwardRef = function(e) { return T(e) === d }, t.isFragment = function(e) { return T(e) === a }, t.isLazy = function(e) { return T(e) === y }, t.isMemo = function(e) { return T(e) === m }, t.isPortal = function(e) { return T(e) === o }, t.isProfiler = function(e) { return T(e) === u }, t.isStrictMode = function(e) { return T(e) === s }, t.isSuspense = function(e) { return T(e) === h } }, function(e, t, r) { "use strict"; var n = r(19); t.__esModule = !0, t.createConnect = h, t.default = void 0; var i = n(r(289)), o = n(r(187)), a = n(r(508)), s = n(r(511)), u = n(r(1172)), c = n(r(1177)), l = n(r(1178)), f = n(r(1179)); function p(e, t, r) { for (var n = t.length - 1; n >= 0; n--) { var i = t[n](e); if (i) return i } return function(t, n) { throw new Error("Invalid value of type " + typeof e + " for " + r + " argument when connecting component " + n.wrappedComponentName + ".") } } function d(e, t) { return e === t } function h(e) { var t = void 0 === e ? {} : e, r = t.connectHOC, n = void 0 === r ? a.default : r, h = t.mapStateToPropsFactories, v = void 0 === h ? c.default : h, m = t.mapDispatchToPropsFactories, y = void 0 === m ? u.default : m, b = t.mergePropsFactories, g = void 0 === b ? l.default : b, _ = t.selectorFactory, T = void 0 === _ ? f.default : _; return function(e, t, r, a) { void 0 === a && (a = {}); var u = a, c = u.pure, l = void 0 === c || c, f = u.areStatesEqual, h = void 0 === f ? d : f, m = u.areOwnPropsEqual, b = void 0 === m ? s.default : m, _ = u.areStatePropsEqual, S = void 0 === _ ? s.default : _, A = u.areMergedPropsEqual, E = void 0 === A ? s.default : A, C = (0, o.default)(u, ["pure", "areStatesEqual", "areOwnPropsEqual", "areStatePropsEqual", "areMergedPropsEqual"]), O = p(e, v, "mapStateToProps"), w = p(t, y, "mapDispatchToProps"), I = p(r, g, "mergeProps"); return n(T, (0, i.default)({ methodName: "connect", getDisplayName: function(e) { return "Connect(" + e + ")" }, shouldHandleStateChanges: Boolean(e), initMapStateToProps: O, initMapDispatchToProps: w, initMergeProps: I, pure: l, areStatesEqual: h, areOwnPropsEqual: b, areStatePropsEqual: S, areMergedPropsEqual: E }, C)) } } var v = h(); t.default = v }, function(e, t, r) { "use strict"; t.__esModule = !0, t.whenMapDispatchToPropsIsFunction = o, t.whenMapDispatchToPropsIsMissing = a, t.whenMapDispatchToPropsIsObject = s, t.default = void 0; var n = r(1173), i = r(512); function o(e) { return "function" == typeof e ? (0, i.wrapMapToPropsFunc)(e, "mapDispatchToProps") : void 0 } function a(e) { return e ? void 0 : (0, i.wrapMapToPropsConstant)((function(e) { return { dispatch: e } })) } function s(e) { return e && "object" == typeof e ? (0, i.wrapMapToPropsConstant)((function(t) { return (0, n.bindActionCreators)(e, t) })) : void 0 } var u = [o, a, s]; t.default = u }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n, i = (n = r(1174)) && "object" == typeof n && "default" in n ? n.default : n, o = function() { return Math.random().toString(36).substring(7).split("").join(".") }, a = { INIT: "@@redux/INIT" + o(), REPLACE: "@@redux/REPLACE" + o(), PROBE_UNKNOWN_ACTION: function() { return "@@redux/PROBE_UNKNOWN_ACTION" + o() } }; function s(e) { if ("object" != typeof e || null === e) return !1; for (var t = e; null !== Object.getPrototypeOf(t);) t = Object.getPrototypeOf(t); return Object.getPrototypeOf(e) === t } function u(e, t) { var r = t && t.type; return "Given " + (r && 'action "' + String(r) + '"' || "an action") + ', reducer "' + e + '" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.' } function c(e, t) { return function() { return t(e.apply(this, arguments)) } } function l(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function f(e, t) { var r = Object.keys(e); return Object.getOwnPropertySymbols && r.push.apply(r, Object.getOwnPropertySymbols(e)), t && (r = r.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r } function p(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? f(r, !0).forEach((function(t) { l(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : f(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function d() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return 0 === t.length ? function(e) { return e } : 1 === t.length ? t[0] : t.reduce((function(e, t) { return function() { return e(t.apply(void 0, arguments)) } })) } t.__DO_NOT_USE__ActionTypes = a, t.applyMiddleware = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return function(e) { return function() { var r = e.apply(void 0, arguments), n = function() { throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.") }, i = { getState: r.getState, dispatch: function() { return n.apply(void 0, arguments) } }, o = t.map((function(e) { return e(i) })); return p({}, r, { dispatch: n = d.apply(void 0, o)(r.dispatch) }) } } }, t.bindActionCreators = function(e, t) { if ("function" == typeof e) return c(e, t); if ("object" != typeof e || null === e) throw new Error("bindActionCreators expected an object or a function, instead received " + (null === e ? "null" : typeof e) + '. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?'); var r = {}; for (var n in e) { var i = e[n]; "function" == typeof i && (r[n] = c(i, t)) } return r }, t.combineReducers = function(e) { for (var t = Object.keys(e), r = {}, n = 0; n < t.length; n++) { var i = t[n]; 0, "function" == typeof e[i] && (r[i] = e[i]) } var o, s = Object.keys(r); try { ! function(e) { Object.keys(e).forEach((function(t) { var r = e[t]; if (void 0 === r(void 0, { type: a.INIT })) throw new Error('Reducer "' + t + "\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined."); if (void 0 === r(void 0, { type: a.PROBE_UNKNOWN_ACTION() })) throw new Error('Reducer "' + t + "\" returned undefined when probed with a random type. Don't try to handle " + a.INIT + ' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.') })) }(r) } catch (e) { o = e } return function(e, t) { if (void 0 === e && (e = {}), o) throw o; for (var n = !1, i = {}, a = 0; a < s.length; a++) { var c = s[a], l = r[c], f = e[c], p = l(f, t); if (void 0 === p) { var d = u(c, t); throw new Error(d) } i[c] = p, n = n || p !== f } return (n = n || s.length !== Object.keys(e).length) ? i : e } }, t.compose = d, t.createStore = function e(t, r, n) { var o; if ("function" == typeof r && "function" == typeof n || "function" == typeof n && "function" == typeof arguments[3]) throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function."); if ("function" == typeof r && void 0 === n && (n = r, r = void 0), void 0 !== n) { if ("function" != typeof n) throw new Error("Expected the enhancer to be a function."); return n(e)(t, r) } if ("function" != typeof t) throw new Error("Expected the reducer to be a function."); var u = t, c = r, l = [], f = l, p = !1; function d() { f === l && (f = l.slice()) } function h() { if (p) throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store."); return c } function v(e) { if ("function" != typeof e) throw new Error("Expected the listener to be a function."); if (p) throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details."); var t = !0; return d(), f.push(e), function() { if (t) { if (p) throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details."); t = !1, d(); var r = f.indexOf(e); f.splice(r, 1), l = null } } } function m(e) { if (!s(e)) throw new Error("Actions must be plain objects. Use custom middleware for async actions."); if (void 0 === e.type) throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?'); if (p) throw new Error("Reducers may not dispatch actions."); try { p = !0, c = u(c, e) } finally { p = !1 } for (var t = l = f, r = 0; r < t.length; r++) { (0, t[r])() } return e } function y(e) { if ("function" != typeof e) throw new Error("Expected the nextReducer to be a function."); u = e, m({ type: a.REPLACE }) } function b() { var e, t = v; return (e = { subscribe: function(e) { if ("object" != typeof e || null === e) throw new TypeError("Expected the observer to be an object."); function r() { e.next && e.next(h()) } return r(), { unsubscribe: t(r) } } })[i] = function() { return this }, e } return m({ type: a.INIT }), (o = { dispatch: m, subscribe: v, getState: h, replaceReducer: y })[i] = b, o } }, function(e, t, r) { "use strict"; (function(e, n) { Object.defineProperty(t, "__esModule", { value: !0 }); var i, o, a = r(1175), s = (i = a) && i.__esModule ? i : { default: i }; o = "undefined" != typeof self ? self : "undefined" != typeof window ? window : void 0 !== e ? e : n; var u = (0, s.default)(o); t.default = u }).call(this, r(14), r(116)(e)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t, r = e.Symbol; "function" == typeof r ? r.observable ? t = r.observable : (t = r("observable"), r.observable = t) : t = "@@observable"; return t } }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = function(e) { if ("object" != typeof e || null === e) return !1; var t = Object.getPrototypeOf(e); if (null === t) return !0; var r = t; for (; null !== Object.getPrototypeOf(r);) r = Object.getPrototypeOf(r); return t === r } }, function(e, t, r) { "use strict"; t.__esModule = !0, t.whenMapStateToPropsIsFunction = i, t.whenMapStateToPropsIsMissing = o, t.default = void 0; var n = r(512); function i(e) { return "function" == typeof e ? (0, n.wrapMapToPropsFunc)(e, "mapStateToProps") : void 0 } function o(e) { return e ? void 0 : (0, n.wrapMapToPropsConstant)((function() { return {} })) } var a = [i, o]; t.default = a }, function(e, t, r) { "use strict"; var n = r(19); t.__esModule = !0, t.defaultMergeProps = o, t.wrapMergePropsFunc = a, t.whenMergePropsIsFunction = s, t.whenMergePropsIsOmitted = u, t.default = void 0; var i = n(r(289)); n(r(513)); function o(e, t, r) { return (0, i.default)({}, r, {}, e, {}, t) } function a(e) { return function(t, r) { r.displayName; var n, i = r.pure, o = r.areMergedPropsEqual, a = !1; return function(t, r, s) { var u = e(t, r, s); return a ? i && o(u, n) || (n = u) : (a = !0, n = u), n } } } function s(e) { return "function" == typeof e ? a(e) : void 0 } function u(e) { return e ? void 0 : function() { return o } } var c = [s, u]; t.default = c }, function(e, t, r) { "use strict"; var n = r(19); t.__esModule = !0, t.impureFinalPropsSelectorFactory = o, t.pureFinalPropsSelectorFactory = a, t.default = function(e, t) { var r = t.initMapStateToProps, n = t.initMapDispatchToProps, s = t.initMergeProps, u = (0, i.default)(t, ["initMapStateToProps", "initMapDispatchToProps", "initMergeProps"]), c = r(e, u), l = n(e, u), f = s(e, u); 0; return (u.pure ? a : o)(c, l, f, e, u) }; var i = n(r(187)); n(r(1180)); function o(e, t, r, n) { return function(i, o) { return r(e(i, o), t(n, o), o) } } function a(e, t, r, n, i) { var o, a, s, u, c, l = i.areStatesEqual, f = i.areOwnPropsEqual, p = i.areStatePropsEqual, d = !1; function h(i, d) { var h, v, m = !f(d, a), y = !l(i, o); return o = i, a = d, m && y ? (s = e(o, a), t.dependsOnOwnProps && (u = t(n, a)), c = r(s, u, a)) : m ? (e.dependsOnOwnProps && (s = e(o, a)), t.dependsOnOwnProps && (u = t(n, a)), c = r(s, u, a)) : y ? (h = e(o, a), v = !p(h, s), s = h, v && (c = r(s, u, a)), c) : c } return function(i, l) { return d ? h(i, l) : (s = e(o = i, a = l), u = t(n, a), c = r(s, u, a), d = !0, c) } } }, function(e, t, r) { "use strict"; var n = r(19); t.__esModule = !0, t.default = function(e, t, r, n) { o(e, "mapStateToProps", n), o(t, "mapDispatchToProps", n), o(r, "mergeProps", n) }; var i = n(r(514)); function o(e, t, r) { if (!e) throw new Error("Unexpected value for " + t + " in " + r + "."); "mapStateToProps" !== t && "mapDispatchToProps" !== t || Object.prototype.hasOwnProperty.call(e, "dependsOnOwnProps") || (0, i.default)("The selector for " + t + " of " + r + " did not specify a value for dependsOnOwnProps.") } }, function(e, t, r) { "use strict"; t.__esModule = !0, t.createDispatchHook = o, t.useDispatch = void 0; var n = r(87), i = r(515); function o(e) { void 0 === e && (e = n.ReactReduxContext); var t = e === n.ReactReduxContext ? i.useStore : (0, i.createStoreHook)(e); return function() { return t().dispatch } } var a = o(); t.useDispatch = a }, function(e, t, r) { "use strict"; var n = r(19); t.__esModule = !0, t.createSelectorHook = l, t.useSelector = void 0; var i = r(0), o = r(516), a = n(r(288)), s = r(510), u = r(87), c = function(e, t) { return e === t }; function l(e) { void 0 === e && (e = u.ReactReduxContext); var t = e === u.ReactReduxContext ? o.useReduxContext : function() { return (0, i.useContext)(e) }; return function(e, r) { void 0 === r && (r = c); var n = t(); return function(e, t, r, n) { var o, u = (0, i.useReducer)((function(e) { return e + 1 }), 0)[1], c = (0, i.useMemo)((function() { return new a.default(r, n) }), [r, n]), l = (0, i.useRef)(), f = (0, i.useRef)(), p = (0, i.useRef)(); try { o = e !== f.current || l.current ? e(r.getState()) : p.current } catch (e) { throw l.current && (e.message += "\nThe error may be correlated with this previous error:\n" + l.current.stack + "\n\n"), e } return (0, s.useIsomorphicLayoutEffect)((function() { f.current = e, p.current = o, l.current = void 0 })), (0, s.useIsomorphicLayoutEffect)((function() { function e() { try { var e = f.current(r.getState()); if (t(e, p.current)) return; p.current = e } catch (e) { l.current = e } u({}) } return c.onStateChange = e, c.trySubscribe(), e(), function() { return c.tryUnsubscribe() } }), [r, c]), o }(e, r, n.store, n.subscription) } } var f = l(); t.useSelector = f }, function(e, t, r) { "use strict"; t.__esModule = !0, t.unstable_batchedUpdates = void 0; var n = r(517); t.unstable_batchedUpdates = n.unstable_batchedUpdates }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n, i = (n = r(0)) && n.__esModule ? n : { default: n }; var o = function() { return i.default.createElement("svg", { height: 28, viewBox: "0 0 34.75 46", width: 28 }, i.default.createElement("path", { className: "a", d: "M29.75,23v6.36a7,7,0,0,1-.56,2.78,7.16,7.16,0,0,1-3.8,3.8,7,7,0,0,1-2.78.56H18.5v2.25H23V41H11.75v-2.25h4.5V36.5h-4.11a7,7,0,0,1-2.78-.56,7.16,7.16,0,0,1-3.8-3.8,7,7,0,0,1-.56-2.78V23h2.25v6.36a4.72,4.72,0,0,0,.39,1.9,4.78,4.78,0,0,0,2.6,2.6,4.72,4.72,0,0,0,1.9.39h10.47a4.72,4.72,0,0,0,1.9-.39,4.78,4.78,0,0,0,2.6-2.6,4.72,4.72,0,0,0,.39-1.9V23Zm-18,5.62a1.13,1.13,0,0,0,1.13,1.13h9a1.13,1.13,0,0,0,1.12-1.13V8.38a1.13,1.13,0,0,0-1.12-1.13h-9a1.13,1.13,0,0,0-1.13,1.13Zm1.13,3.38a3.41,3.41,0,0,1-1.32-.26,3.31,3.31,0,0,1-1.8-1.8,3.41,3.41,0,0,1-.26-1.32V8.38a3.41,3.41,0,0,1,.26-1.32,3.31,3.31,0,0,1,1.8-1.8,3.41,3.41,0,0,1,1.32-.26h9a3.4,3.4,0,0,1,1.31.26,3.31,3.31,0,0,1,1.8,1.8,3.41,3.41,0,0,1,.26,1.32v20.24a3.41,3.41,0,0,1-.26,1.32,3.31,3.31,0,0,1-1.8,1.8,3.4,3.4,0,0,1-1.31.26Z" })) }; t.default = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(e = (0, i.default)(), t = 1, s(e) || a(e, t) || o())[0]]; var e, t }; var n, i = (n = r(521)) && n.__esModule ? n : { default: n }; function o() { throw new TypeError("Invalid attempt to destructure non-iterable instance") } function a(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } } function s(e) { if (Array.isArray(e)) return e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = a(r(0)), o = a(r(23)); function a(e) { return e && e.__esModule ? e : { default: e } } function s(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var u = (0, n.css)({ transform: "scale(-1, 1)" }), c = function() { var e = "rtl" === s((0, o.default)(), 1)[0] ? u + "" : ""; return i.default.createElement("svg", { className: e, height: 28, viewBox: "0 0 45.7 33.8", width: 28 }, i.default.createElement("path", { clipRule: "evenodd", d: "M8.55 25.25l21.67-7.25H11zm2.41-9.47h19.26l-21.67-7.23zm-6 13l4-11.9L5 5l35.7 11.9z" })) }; t.default = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = v(r(3)), o = v(r(0)), a = v(r(1188)), s = v(r(525)), u = v(r(74)), c = v(r(527)), l = v(r(528)), f = v(r(529)), p = v(r(530)), d = v(r(526)), h = v(r(531)); function v(e) { return e && e.__esModule ? e : { default: e } } function m() { return (m = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }).apply(this, arguments) } function y(e) { return (y = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function b(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function g(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function _(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function T(e, t) { return !t || "object" !== y(t) && "function" != typeof t ? function(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e }(e) : t } function S(e) { return (S = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) })(e) } function A(e, t) { return (A = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e })(e, t) } var E = (0, n.css)({ overflow: "hidden", position: "relative" }), C = function(e) { function t(e) { var r; return function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, t), (r = T(this, S(t).call(this, e))).createHeightStyle = (0, d.default)((function(e) { return { height: e } })), r.createBasicStyleSet = (0, d.default)((function(e) { var t = e.autoHide, r = e.autoHideFlipperOnEdge; return (0, c.default)({ autoHide: t, autoHideFlipperOnEdge: r }) })), r } var r, n, s; return function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && A(e, t) }(t, e), r = t, (n = [{ key: "render", value: function() { var e = this.props, t = function(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? b(r, !0).forEach((function(t) { g(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : b(r).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e }({}, this.createBasicStyleSet(e), {}, e.styleSet || {}), r = t.carousel, n = t.dotsBox, s = t.dotsItem, u = t.leftFlipper, c = t.rightFlipper, d = t.scrollBarBox, v = t.scrollBarHandler, m = e.dir, y = "rtl" === m, _ = e.leftFlipperText, T = void 0 === _ ? y ? ">" : "<" : _, S = e.flipperBlurFocusOnClick, A = e.numItems, C = e.rightFlipperText, O = void 0 === C ? y ? "<" : ">" : C, w = e.scrollBarWidth, I = e.scrolling, P = e.showDots, x = void 0 === P || P, N = e.showFlipper, k = void 0 === N || N, R = e.showScrollBar, L = void 0 === R || R; return o.default.createElement(o.default.Fragment, null, o.default.createElement("div", { className: e.className, dir: m }, o.default.createElement("div", { className: (0, i.default)(E + "", { scrolling: I }, r + ""), style: this.createHeightStyle(e.height) }, !!A && "100%" !== w && !!k && o.default.createElement(p.default, { blurFocusOnClick: S, className: u + "", mode: "left" }, o.default.createElement("div", null, T)), o.default.createElement(f.default, null, e.children), !!A && "100%" !== w && !!k && o.default.createElement(p.default, { blurFocusOnClick: S, className: c + "", mode: "right" }, o.default.createElement("div", null, O)), !!A && "100%" !== w && !!L && o.default.createElement(h.default, { className: d + "", handlerClassName: v + "" })), !!A && "100%" !== w && !!x && o.default.createElement(l.default, { className: n + "", itemClassName: s + "" }, (function() { return o.default.createElement("div", null) }))), !1 !== e.autoCenter && o.default.createElement(a.default, null)) } }]) && _(r.prototype, n), s && _(r, s), t }(o.default.Component); t.default = function(e) { return o.default.createElement(s.default, { dir: e.dir, numItems: o.default.Children.count(e.children) }, o.default.createElement(u.default.Consumer, null, (function(t) { var r = t.numItems, n = t.scrollBarWidth, i = t.scrolling; return o.default.createElement(C, m({}, e, { numItems: r, scrollBarWidth: n, scrolling: i })) }))) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = o(r(0)), i = o(r(74)); function o(e) { return e && e.__esModule ? e : { default: e } } function a(e) { return (a = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function s(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function u(e, t) { return !t || "object" !== a(t) && "function" != typeof t ? function(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e }(e) : t } function c(e) { return (c = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) })(e) } function l(e, t) { return (l = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e })(e, t) } var f = function(e) { function t(e) { return function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, t), u(this, c(t).call(this, e)) } var r, n, i; return function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && l(e, t) }(t, e), r = t, (n = [{ key: "componentDidMount", value: function() { this.props.start && this.schedule() } }, { key: "componentDidUpdate", value: function(e) { e.start === this.props.start && e.duration === this.props.duration || (clearTimeout(this.timeout), this.props.start && this.schedule()) } }, { key: "componentWillUnmount", value: function() { clearTimeout(this.timeout) } }, { key: "schedule", value: function() { var e = this; this.timeout = setTimeout((function() { e.props.onTrigger && e.props.onTrigger() }), this.props.duration) } }, { key: "render", value: function() { return !1 } }]) && s(r.prototype, n), i && s(r, i), t }(n.default.Component); t.default = function(e) { var t = e.delay; return n.default.createElement(i.default.Consumer, null, (function(e) { return n.default.createElement(f, { duration: t, onTrigger: function() { return e.scrollTo((function(e) { return e.index })) }, start: !e.scrolling }) })) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { return e.reduce((function(r, n, i) { var o = t.call(e, n, i); return o > r.score ? { index: i, score: o } : r }), { index: -1, score: -1 / 0 }).index } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = a(r(0)), i = a(r(1191)), o = a(r(526)); function a(e) { return e && e.__esModule ? e : { default: e } } function s(e) { return (s = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function u(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function c(e) { return (c = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) })(e) } function l(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e } function f(e, t) { return (f = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e })(e, t) } var p = function(e) { function t(e, r) { var n; return function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, t), (n = function(e, t) { return !t || "object" !== s(t) && "function" != typeof t ? l(e) : t }(this, c(t).call(this, e, r))).handlePointerOver = (0, i.default)(n.handlePointerOver.bind(l(n)), 300), n.handleScroll = n.handleScroll.bind(l(n)), n.emitScroll = (0, o.default)((function(e, t, r) { n.props.onScroll && n.props.onScroll({ initial: e, fraction: t, width: r }) })), n } var r, n, a; return function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && f(e, t) }(t, e), r = t, (n = [{ key: "componentDidMount", value: function() { var e = this.props.targetRef, t = (e = void 0 === e ? {} : e).current; t && (t.addEventListener("pointerover", this.handlePointerOver, { passive: !0 }), t.addEventListener("scroll", this.handleScroll, { passive: !0 }), this.emitInitialScrollEvent(t)) } }, { key: "componentDidUpdate", value: function(e) { if (e.targetRef !== this.props.targetRef) { var t = e.targetRef, r = (t = void 0 === t ? {} : t).current, n = this.props.targetRef, i = (n = void 0 === n ? {} : n).current; r && (r.removeEventListener("pointerover", this.handlePointerOver), r.removeEventListener("scroll", this.handleScroll)), i && (i.addEventListener("pointerover", this.handlePointerOver, { passive: !0 }), i.addEventListener("scroll", this.handleScroll, { passive: !0 }), this.emitInitialScrollEvent(i)) } } }, { key: "emitInitialScrollEvent", value: function(e, t) { var r = this; t || e.scrollWidth !== e.offsetWidth || setTimeout((function() { return r.emitInitialScrollEvent(e, !0) })), this.handleScroll({ target: e }, !0) } }, { key: "componentWillUnmount", value: function() { var e = this.props.targetRef, t = (e = void 0 === e ? {} : e).current; t && t.removeEventListener("scroll", this.handleScroll) } }, { key: "handlePointerOver", value: function() { var e = this.props.targetRef, t = (e = void 0 === e ? {} : e).current; this.handleScroll({ target: t }) } }, { key: "handleScroll", value: function(e) { var t = e.target, r = arguments.length > 1 && void 0 !== arguments[1] && arguments[1]; if (t) { var n = t.offsetWidth, i = t.scrollLeft, o = t.scrollWidth; this.emitScroll(r, "".concat(o === n ? 0 : i / (o - n) * 100, "%"), "".concat(n / o * 100, "%")) } } }, { key: "render", value: function() { return !1 } }]) && u(r.prototype, n), a && u(r, a), t }(n.default.Component); t.default = p }, function(e, t, r) { "use strict"; function n(e, t) { if (t > 0) return setTimeout(e, t); e() } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { var r, i = 0; return function() { var o = arguments; r || (r = n((function() { r = null, i = Date.now(), e.apply(null, o) }), t + i - Date.now())) } } }, function(e, t, r) { "use strict"; var n; function i(e) { return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function o(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function a(e) { return (a = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) })(e) } function s(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e } function u(e, t) { return (u = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e })(e, t) } function c(e, t, r, n) { for (var i = e, o = 0; o < n; o++) i = r(i, t); return i } function l(e, t) { var r = Math.sign(t - e), n = e + Math.sqrt(Math.abs(t - e)) * r; return r > 0 ? Math.min(t, n) : Math.max(t, n) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var f = function(e) { function t(e, r) { var n; return function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, t), (n = function(e, t) { return !t || "object" !== i(t) && "function" != typeof t ? s(e) : t }(this, a(t).call(this, e, r))).handleCancelAnimation = n.handleCancelAnimation.bind(s(n)), n } var r, n, f; return function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && u(e, t) }(t, e), r = t, (n = [{ key: "componentDidMount", value: function() { var e = this.props.targetRef, t = (e = void 0 === e ? {} : e).current; t && (this.addEventListeners(t), this.animate("scrollLeft", t.scrollLeft, this.props.scrollLeft, 1)) } }, { key: "componentDidUpdate", value: function(e) { var t = e.targetRef, r = (t = void 0 === t ? {} : t).current, n = this.props.targetRef, i = (n = void 0 === n ? {} : n).current, o = e.scrollLeft !== this.props.scrollLeft, a = r !== i; a && (this.removeEventListeners(r), this.addEventListeners(i)), (o || a) && i && this.animate("scrollLeft", i.scrollLeft, this.props.scrollLeft, 1) } }, { key: "componentWillUnmount", value: function() { var e = this.props.target, t = (e = void 0 === e ? {} : e).current; this.removeEventListeners(t), cancelAnimationFrame(this.animator) } }, { key: "addEventListeners", value: function(e) { e && e.addEventListener("pointerdown", this.handleCancelAnimation, { passive: !0 }) } }, { key: "removeEventListeners", value: function(e) { e && e.removeEventListener("pointerdown", this.handleCancelAnimation) } }, { key: "animate", value: function(e, t, r, n) { var i = this, o = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : Date.now(); "number" == typeof r && (cancelAnimationFrame(this.animator), this.animator = requestAnimationFrame((function() { var a = i.props.targetRef, s = (a = void 0 === a ? {} : a).current; if (s) { var u = c(t, r, l, (Date.now() - o) / 5); Math.abs(r - u) < .5 && (u = r), s[e] = u, r === u ? i.props.onEnd && i.props.onEnd(!0) : i.animate(e, t, r, n + 1, o) } }))) } }, { key: "handleCancelAnimation", value: function() { cancelAnimationFrame(this.animator), this.props.onEnd && this.props.onEnd(!1) } }, { key: "render", value: function() { return !1 } }]) && o(r.prototype, n), f && o(r, f), t }(((n = r(0)) && n.__esModule ? n : { default: n }).default.Component); t.default = f }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.connectSuggestedAction = t.default = void 0; var i = r(7), o = b(r(3)), a = b(r(1)), s = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = y(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), u = b(r(520)), c = b(r(44)), l = b(r(23)), f = b(r(88)), p = b(r(89)), d = b(r(532)), h = b(r(138)), v = b(r(6)), m = b(r(533)); function y() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return y = function() { return e }, e } function b(e) { return e && e.__esModule ? e : { default: e } } function g(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var _ = (0, i.css)({ "&.webchat__suggested-action": { display: "flex", flexDirection: "column", whiteSpace: "initial", "& .webchat__suggested-action__button": { display: "flex", overflow: "hidden" } } }); t.connectSuggestedAction = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return c.default.apply(void 0, [function(e, t) { var r = e.clearSuggestedActions, n = e.disabled, i = e.language, o = e.onCardAction, a = t.displayText, s = t.text, u = t.type, c = t.value; return { click: function() { o({ displayText: a, text: s, type: u, value: c }), "openUrl" === u && r() }, disabled: n, language: i } }].concat(t)) }; var T = function(e) { var t = e["aria-hidden"], r = e.buttonText, n = e.displayText, i = e.image, a = e.text, c = e.type, y = e.value, b = g((0, m.default)(), 2), T = (b[0], b[1]), S = g((0, v.default)(), 1)[0].suggestedAction, A = g((0, l.default)(), 1)[0], E = g((0, f.default)(), 1)[0], C = (0, p.default)(), O = (0, d.default)(), w = (0, h.default)(), I = (0, s.useCallback)((function(e) { var t = e.target; O({ displayText: n, text: a, type: c, value: y }, { target: t }), "openUrl" === c && T([]), C("sendBoxWithoutKeyboard"), w() }), [n, C, O, w, T, a, c, y]); return s.default.createElement("div", { "aria-hidden": t, className: (0, o.default)(S + "", _ + "", "webchat__suggested-action") }, s.default.createElement(u.default, { className: "webchat__suggested-action__button", disabled: E, onClick: I, type: "button" }, i && s.default.createElement("img", { className: (0, o.default)("webchat__suggested-action__image", "rtl" === A && "webchat__suggested-action__image--rtl"), src: i }), s.default.createElement("nobr", { className: "webchat__suggested-action__button-text" }, r))) }; T.defaultProps = { "aria-hidden": !1, displayText: "", image: "", text: "", type: "", value: void 0 }, T.propTypes = { "aria-hidden": a.default.bool, buttonText: a.default.string.isRequired, displayText: a.default.string, image: a.default.string, text: a.default.string, type: a.default.string, value: a.default.any }; var S = T; t.default = S }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = l(r(1)), o = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = c(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), a = l(r(535)), s = l(r(300)), u = l(r(1195)); function c() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return c = function() { return e }, e } function l(e) { return e && e.__esModule ? e : { default: e } } function f() { return (f = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }).apply(this, arguments) } function p(e, t) { if (null == e) return {}; var r, n, i = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]) } return i } var d = { outline: 0 }, h = function(e, t) { var r = e.children, n = e.disabled, i = e.sendFocusRef, c = p(e, ["children", "disabled", "sendFocusRef"]), l = (0, o.useRef)(null), h = (0, o.useMemo)((function() { return i || l }), [l, i]), v = (0, o.useMemo)((function() { return { sendFocusRef: h } }), [h]), m = (0, o.useCallback)((function() { var e = h.current; e && e.focus() }), [h]), y = (0, o.useCallback)((function(e) { var t = e.altKey, r = e.ctrlKey, n = e.key, i = e.metaKey, o = e.target, a = (0, s.default)(o); t || r && "v" !== n || i || !(0, u.default)(n) && "Backspace" !== n || ("number" != typeof a || a < 0 || "true" === o.getAttribute("aria-disabled")) && (e.stopPropagation(), m()) }), [m]); return o.default.createElement(a.default.Provider, { value: v }, o.default.createElement("div", f({}, c, { onKeyDownCapture: n ? void 0 : y, ref: t, style: d, tabIndex: -1 }), "function" == typeof r ? r({ focus: m }) : r)) }, v = (0, o.forwardRef)(h); v.defaultProps = h.defaultProps = { children: void 0, disabled: !1 }, v.propTypes = h.propTypes = { children: i.default.any, disabled: i.default.bool, sendFocusRef: i.default.shape({ current: i.default.shape({ focus: i.default.func }) }).isRequired }; var m = v; t.default = m }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return 1 === e.length ? e : n[e] }; var n = { Add: "+", Decimal: ".", Divide: "/", Multiply: "*", Subtract: "-" } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = u(r(1)), o = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = s(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), a = u(r(293)); function s() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return s = function() { return e }, e } function u(e) { return e && e.__esModule ? e : { default: e } } function c() { return (c = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }).apply(this, arguments) } function l(e, t) { if (null == e) return {}; var r, n, i = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]) } return i } var f = (0, o.forwardRef)((function(e, t) { var r = e.disabled, n = e.onChange, i = l(e, ["disabled", "onChange"]), s = (0, o.useRef)(), u = t || s; return (0, a.default)(u, r), o.default.createElement("input", c({ "aria-disabled": r || void 0, onChange: r ? void 0 : n, readOnly: r, ref: u }, i, { type: "text" })) })); f.defaultProps = { disabled: void 0, onChange: void 0 }, f.displayName = "AccessibleInputText", f.propTypes = { disabled: i.default.bool, onChange: i.default.func, type: i.default.oneOf(["text"]).isRequired }; var p = f; t.default = p }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = u(r(1)), o = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = s(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), a = u(r(293)); function s() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return s = function() { return e }, e } function u(e) { return e && e.__esModule ? e : { default: e } } function c() { return (c = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }).apply(this, arguments) } function l(e, t) { if (null == e) return {}; var r, n, i = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]) } return i } var f = (0, o.forwardRef)((function(e, t) { var r = e.disabled, n = e.onChange, i = l(e, ["disabled", "onChange"]), s = (0, o.useRef)(), u = t || s; return (0, a.default)(u, r), o.default.createElement("textarea", c({ "aria-disabled": r || void 0, onChange: r ? void 0 : n, readOnly: r, ref: u }, i)) })); f.defaultProps = { disabled: void 0, onChange: void 0 }, f.displayName = "AccessibleTextArea", f.propTypes = { disabled: i.default.bool, onChange: i.default.func }; var p = f; t.default = p }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n, i = (n = r(0)) && n.__esModule ? n : { default: n }; var o = function() { return i.default.createElement("svg", { height: 28, viewBox: "0 0 25.75 46", width: 28 }, i.default.createElement("path", { clipRule: "evenodd", d: "M20.75 11.75v21.37a7.69 7.69 0 0 1-.62 3.07 7.95 7.95 0 0 1-4.19 4.19 7.89 7.89 0 0 1-6.13 0 7.95 7.95 0 0 1-4.19-4.19 7.69 7.69 0 0 1-.62-3.07v-22.5a5.27 5.27 0 0 1 .45-2.17 5.69 5.69 0 0 1 3-3 5.48 5.48 0 0 1 4.35 0 5.69 5.69 0 0 1 3 3 5.27 5.27 0 0 1 .45 2.17v22.5a3.41 3.41 0 0 1-.26 1.32 3.31 3.31 0 0 1-1.8 1.8 3.46 3.46 0 0 1-2.63 0 3.31 3.31 0 0 1-1.8-1.8 3.41 3.41 0 0 1-.26-1.32V14h2.25v19.12a1.13 1.13 0 1 0 2.25 0v-22.5a3.4 3.4 0 0 0-.26-1.31 3.31 3.31 0 0 0-1.8-1.8 3.46 3.46 0 0 0-2.63 0 3.31 3.31 0 0 0-1.8 1.8 3.4 3.4 0 0 0-.26 1.31v22.5a5.32 5.32 0 0 0 .45 2.18 5.69 5.69 0 0 0 3 3 5.48 5.48 0 0 0 4.35 0 5.69 5.69 0 0 0 3-3 5.32 5.32 0 0 0 .45-2.18v-21.37z" })) }; t.default = o }, function(e, t, r) { "use strict"; function n(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } function i(e) { return function() { var t = this, r = arguments; return new Promise((function(i, o) { var a = e.apply(t, r); function s(e) { n(a, i, o, s, u, "next", e) } function u(e) { n(a, i, o, s, u, "throw", e) } s(void 0) })) } } function o(e, t, r, n) { if (e < r && t < n) return { height: t, width: e }; var i = e / t; return i > r / n ? { height: r / i, width: r } : { height: n, width: n * i } } function a(e, t) { var r = document.createElement("canvas"); return r.height = t, r.width = e, r } function s(e) { var t = URL.createObjectURL(e); return new Promise((function(e, r) { var n = document.createElement("img"); n.addEventListener("error", (function(e) { var t = e.error; return r(t) })), n.addEventListener("load", (function() { return e(n) })), n.setAttribute("src", t) })).finally((function() { URL.revokeObjectURL(t) })) } function u() { return (u = i(regeneratorRuntime.mark((function e(t, r, n, i, u) { var c, l, f, p, d; return regeneratorRuntime.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, s(t); case 2: return c = e.sent, l = o(c.width, c.height, r, n), f = l.height, p = l.width, d = a(p, f), d.getContext("2d").drawImage(c, 0, 0, p, f), e.abrupt("return", d.toDataURL(i, u)); case 8: case "end": return e.stop() } }), e) })))).apply(this, arguments) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r, n, i) { return u.apply(this, arguments) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return new Promise((function(t, r) { var n = new FileReader; n.onerror = function(e) { var t = e.error, n = e.message; return r(t || new Error(n)) }, n.onloadend = function() { return t(n.result) }, n.readAsArrayBuffer(e) })) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { onmessage = function(e) { const t = e.data, r = t.arrayBuffer, n = t.maxHeight, i = t.maxWidth, o = t.type, a = t.quality, s = e.ports[0]; return Promise.resolve().then((function() { return createImageBitmap(new Blob([r], { resizeQuality: "high" })) })).then((function(e) { const t = function(e, t, r, n) { if (e < r && t < n) return { height: t, width: e }; const i = e / t; return i > r / n ? { height: r / i, width: r } : { height: n, width: n * i } }(e.width, e.height, i, n), r = t.height, s = t.width, u = new OffscreenCanvas(s, r); return u.getContext("2d").drawImage(e, 0, 0, s, r), (u.convertToBlob || u.toBlob).bind(u)({ type: o, quality: a }) })).then((function(e) { return function(e) { return new Promise((function(t, r) { const n = new FileReader; n.onerror = function(e) { r(e.error || new Error(e.message)) }, n.onloadend = function() { t(n.result) }, n.readAsDataURL(e) })) }(e) })).then((function(e) { return s.postMessage({ result: e }) })).catch((function(e) { console.error(e), s.postMessage({ error: { message: e.message, stack: e.stack } }) })) }, postMessage("ready") } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = r(7), o = m(r(3)), a = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = v(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), s = m(r(1203)), u = m(r(1204)), c = m(r(541)), l = m(r(194)), f = m(r(286)), p = m(r(15)), d = m(r(542)), h = m(r(6)); function v() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return v = function() { return e }, e } function m(e) { return e && e.__esModule ? e : { default: e } } function y(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var b = (0, i.css)({ display: "flex", flexDirection: "column", "& .webchat__toaster__header": { display: "flex", flexShrink: 0 }, "& .webchat__toaster__expandText": { flex: 1 }, "& .webchat__toaster__list": { display: "block", listStyleType: "none" } }), g = { error: 1, warn: 2, info: 3, success: 4 }; function _(e) { return g[e] || 5 } function T(e, t) { return _(e) - _(t) } var S = function(e) { return e }, A = { two: "TOAST_ACCORDION_TWO", few: "TOAST_ACCORDION_FEW", many: "TOAST_ACCORDION_MANY", other: "TOAST_ACCORDION_OTHER" }, E = function() { var e = (0, a.useMemo)(l.default, []), t = y((0, h.default)(), 1)[0].toaster, r = y((0, f.default)(), 1)[0], n = y((0, a.useState)(!1), 2), i = n[0], v = n[1], m = (0, p.default)({ plural: !0 }), g = (0, d.default)(), _ = (0, a.useCallback)((function() { return v(!i) }), [i, v]), E = (0, a.useMemo)((function() { return e = r, Object.values(e).sort((function(e, t) { var r = e.timestamp; return t.timestamp - r })); var e }), [r]), C = (0, a.useMemo)((function() { return E.map((function(e) { var t = g({ notification: e }); return t && { children: t, notification: e } })).filter(S) }), [g, E]), O = C.length > 1, w = y(C.map((function(e) { return e.notification.level })).sort(T), 1)[0], I = (0, a.useMemo)((function() { return !O || i ? "webchat__toaster__list__".concat(e) : void 0 }), [O, i, e]), P = (0, a.useMemo)((function() { return O ? "webchat__toaster__header__".concat(e) : void 0 }), [O, e]); return (0, a.useEffect)((function() { !O && v(!1) }), [O]), a.default.createElement("div", { "aria-labelledby": P, "aria-live": "polite", "aria-relevant": "all", className: (0, o.default)(b + "", t + "", "webchat__toaster", { "webchat__toaster--expandable": O, "webchat__toaster--expanded": i, "webchat__toaster--error": "error" === w, "webchat__toaster--info": "info" === w, "webchat__toaster--success": "success" === w, "webchat__toaster--warn": "warn" === w }), role: "log" }, O && a.default.createElement("button", { "aria-controls": I, "aria-expanded": i, className: "webchat__toaster__header", id: P, onClick: _, type: "button" }, a.default.createElement("div", { "aria-hidden": !0, className: "webchat__toaster__expandLevelIconBox" }, a.default.createElement(c.default, { className: "webchat__toaster__expandLevelIcon", level: w })), a.default.createElement("div", { className: "webchat__toaster__expandText" }, m(A, C.length)), a.default.createElement("div", { "aria-hidden": !0, className: "webchat__toaster__expandIcon" }, a.default.createElement("div", { className: "webchat__toaster__expandIconFocus" }, i ? a.default.createElement(s.default, null) : a.default.createElement(u.default, null)))), (!O || i) && a.default.createElement("ul", { "aria-labelledby": P, className: "webchat__toaster__list", id: I, role: "region" }, C.map((function(e) { var t = e.children, r = e.notification.id; return a.default.createElement("li", { "aria-atomic": !0, className: "webchat__toaster__listItem", key: r, role: "none" }, t) })))) }; t.default = E }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = o(r(1)), i = o(r(0)); function o(e) { return e && e.__esModule ? e : { default: e } } var a = function(e) { var t = e.className; return i.default.createElement("svg", { className: (t || "") + "", height: "9", viewBox: "0 0 16 9", width: "16", xmlns: "http://www.w3.org/2000/svg" }, i.default.createElement("path", { d: "M15.2734 8.97656L8 1.71094L0.726563 8.97656L0.0234375 8.27344L8 0.289062L15.9766 8.27344L15.2734 8.97656Z" })) }; a.defaultProps = { className: void 0 }, a.propTypes = { className: n.default.string }; var s = a; t.default = s }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = o(r(1)), i = o(r(0)); function o(e) { return e && e.__esModule ? e : { default: e } } var a = function(e) { var t = e.className; return i.default.createElement("svg", { className: (t || "") + "", height: "10", viewBox: "0 0 16 10", width: "16", xmlns: "http://www.w3.org/2000/svg" }, i.default.createElement("path", { d: "M15.1484 0.648437L15.8516 1.35156L8 9.20312L0.148438 1.35156L0.851563 0.648438L8 7.79687L15.1484 0.648437Z" })) }; a.defaultProps = { className: void 0 }, a.propTypes = { className: n.default.string }; var s = a; t.default = s }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = o(r(1)), i = o(r(0)); function o(e) { return e && e.__esModule ? e : { default: e } } var a = function(e) { var t = e["aria-label"], r = e.className; return i.default.createElement("svg", { "aria-label": t, className: (r || "") + "", fill: "none", height: "20", viewBox: "0 0 20 20", width: "20", xmlns: "http://www.w3.org/2000/svg" }, i.default.createElement("path", { d: "M14.5605 5.81055L15.4395 6.68945L8.125 14.0039L4.56055 10.4395L5.43945 9.56055L8.125 12.2461L14.5605 5.81055ZM10 0C10.918 0 11.8034 0.120443 12.6562 0.361328C13.5091 0.595703 14.3066 0.93099 15.0488 1.36719C15.791 1.79688 16.4648 2.31771 17.0703 2.92969C17.6823 3.53516 18.2031 4.20898 18.6328 4.95117C19.069 5.69336 19.4043 6.49089 19.6387 7.34375C19.8796 8.19661 20 9.08203 20 10C20 10.918 19.8796 11.8034 19.6387 12.6562C19.4043 13.5091 19.069 14.3066 18.6328 15.0488C18.2031 15.791 17.6823 16.4681 17.0703 17.0801C16.4648 17.6855 15.791 18.2064 15.0488 18.6426C14.3066 19.0723 13.5091 19.4076 12.6562 19.6484C11.8034 19.8828 10.918 20 10 20C9.08203 20 8.19661 19.8828 7.34375 19.6484C6.49089 19.4076 5.69336 19.0723 4.95117 18.6426C4.20898 18.2064 3.5319 17.6855 2.91992 17.0801C2.31445 16.4681 1.79362 15.791 1.35742 15.0488C0.927734 14.3066 0.592448 13.5124 0.351562 12.666C0.117188 11.8132 0 10.9245 0 10C0 9.08203 0.117188 8.19661 0.351562 7.34375C0.592448 6.49089 0.927734 5.69336 1.35742 4.95117C1.79362 4.20898 2.31445 3.53516 2.91992 2.92969C3.5319 2.31771 4.20898 1.79688 4.95117 1.36719C5.69336 0.93099 6.48763 0.595703 7.33398 0.361328C8.18685 0.120443 9.07552 0 10 0ZM10 18.75C10.8008 18.75 11.5723 18.6458 12.3145 18.4375C13.0632 18.2292 13.7598 17.9362 14.4043 17.5586C15.0553 17.1745 15.6478 16.7155 16.1816 16.1816C16.7155 15.6478 17.1712 15.0586 17.5488 14.4141C17.9329 13.763 18.2292 13.0664 18.4375 12.3242C18.6458 11.582 18.75 10.8073 18.75 10C18.75 9.19922 18.6458 8.42773 18.4375 7.68555C18.2292 6.93685 17.9329 6.24023 17.5488 5.5957C17.1712 4.94466 16.7155 4.35221 16.1816 3.81836C15.6478 3.28451 15.0553 2.82878 14.4043 2.45117C13.7598 2.06706 13.0632 1.77083 12.3145 1.5625C11.5723 1.35417 10.8008 1.25 10 1.25C9.19922 1.25 8.42448 1.35417 7.67578 1.5625C6.93359 1.77083 6.23698 2.06706 5.58594 2.45117C4.94141 2.82878 4.35221 3.28451 3.81836 3.81836C3.28451 4.35221 2.82552 4.94466 2.44141 5.5957C2.0638 6.24023 1.77083 6.93685 1.5625 7.68555C1.35417 8.42773 1.25 9.19922 1.25 10C1.25 10.8008 1.35417 11.5755 1.5625 12.3242C1.77083 13.0664 2.0638 13.763 2.44141 14.4141C2.82552 15.0586 3.28451 15.6478 3.81836 16.1816C4.35221 16.7155 4.94141 17.1745 5.58594 17.5586C6.23698 17.9362 6.93359 18.2292 7.67578 18.4375C8.41797 18.6458 9.19271 18.75 10 18.75Z", fill: "#107C10" })) }; a.defaultProps = { "aria-label": void 0, className: void 0 }, a.propTypes = { "aria-label": n.default.string, className: n.default.string }; var s = a; t.default = s }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = o(r(1)), i = o(r(0)); function o(e) { return e && e.__esModule ? e : { default: e } } var a = function(e) { var t = e["aria-label"], r = e.className; return i.default.createElement("svg", { "aria-label": t, className: (r || "") + "", height: "19", viewBox: "0 0 19 19", width: "19", xmlns: "http://www.w3.org/2000/svg" }, i.default.createElement("path", { d: "M9.375 0C10.2409 0 11.071 0.110677 11.8652 0.332031C12.666 0.553385 13.4147 0.869141 14.1113 1.2793C14.8079 1.68294 15.4395 2.17122 16.0059 2.74414C16.5788 3.31055 17.0671 3.94206 17.4707 4.63867C17.8809 5.33529 18.1966 6.08398 18.418 6.88477C18.6393 7.67904 18.75 8.50911 18.75 9.375C18.75 10.2409 18.6393 11.0742 18.418 11.875C18.1966 12.6693 17.8809 13.4147 17.4707 14.1113C17.0671 14.8079 16.5788 15.4427 16.0059 16.0156C15.4395 16.582 14.8079 17.0703 14.1113 17.4805C13.4147 17.8841 12.666 18.1966 11.8652 18.418C11.071 18.6393 10.2409 18.75 9.375 18.75C8.50911 18.75 7.67578 18.6393 6.875 18.418C6.08073 18.1966 5.33529 17.8841 4.63867 17.4805C3.94206 17.0703 3.30729 16.582 2.73438 16.0156C2.16797 15.4427 1.67969 14.8079 1.26953 14.1113C0.865885 13.4147 0.553385 12.6693 0.332031 11.875C0.110677 11.0742 0 10.2409 0 9.375C0 8.50911 0.110677 7.67904 0.332031 6.88477C0.553385 6.08398 0.865885 5.33529 1.26953 4.63867C1.67969 3.94206 2.16797 3.31055 2.73438 2.74414C3.30729 2.17122 3.94206 1.68294 4.63867 1.2793C5.33529 0.869141 6.08073 0.553385 6.875 0.332031C7.67578 0.110677 8.50911 0 9.375 0ZM9.375 17.5C10.1172 17.5 10.8333 17.4023 11.5234 17.207C12.2201 17.0117 12.8678 16.7383 13.4668 16.3867C14.0723 16.0352 14.6224 15.612 15.1172 15.1172C15.612 14.6224 16.0352 14.0755 16.3867 13.4766C16.7383 12.8711 17.0117 12.2233 17.207 11.5332C17.4023 10.8431 17.5 10.1237 17.5 9.375C17.5 8.63281 17.4023 7.91667 17.207 7.22656C17.0117 6.52995 16.7383 5.88216 16.3867 5.2832C16.0352 4.67773 15.612 4.1276 15.1172 3.63281C14.6224 3.13802 14.0723 2.71484 13.4668 2.36328C12.8678 2.01172 12.2201 1.73828 11.5234 1.54297C10.8333 1.34766 10.1172 1.25 9.375 1.25C8.6263 1.25 7.9069 1.34766 7.2168 1.54297C6.52669 1.73828 5.87891 2.01172 5.27344 2.36328C4.67448 2.71484 4.1276 3.13802 3.63281 3.63281C3.13802 4.1276 2.71484 4.67773 2.36328 5.2832C2.01172 5.88216 1.73828 6.52995 1.54297 7.22656C1.34766 7.91667 1.25 8.63281 1.25 9.375C1.25 10.1172 1.34766 10.8366 1.54297 11.5332C1.73828 12.2233 2.01172 12.8711 2.36328 13.4766C2.71484 14.0755 3.13802 14.6224 3.63281 15.1172C4.1276 15.612 4.67448 16.0352 5.27344 16.3867C5.87891 16.7383 6.52669 17.0117 7.2168 17.207C7.9069 17.4023 8.6263 17.5 9.375 17.5ZM8.75 5H10V11.25H8.75V5ZM8.75 12.5H10V13.75H8.75V12.5Z" })) }; a.defaultProps = { "aria-label": void 0, className: void 0 }, a.propTypes = { "aria-label": n.default.string, className: n.default.string }; var s = a; t.default = s }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.useMemoize = I, t.default = void 0; var i = r(7), o = r(543), a = T(r(3)), s = T(r(1)), u = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = _(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), c = T(r(550)), l = T(r(1222)), f = T(r(553)), p = T(r(196)), d = T(r(23)), h = T(r(89)), v = T(r(562)), m = T(r(563)), y = T(r(20)), b = T(r(6)), g = T(r(300)); function _() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return _ = function() { return e }, e } function T(e) { return e && e.__esModule ? e : { default: e } } function S(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } function A(e) { return function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } }(e) || function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) }(e) || function() { throw new TypeError("Invalid attempt to spread non-iterable instance") }() } var E = (0, i.css)({ overflow: "hidden", position: "relative" }), C = (0, i.css)({ display: "flex", flexDirection: "column", WebkitOverflowScrolling: "touch" }), O = (0, i.css)({ flex: 1 }), w = (0, i.css)({ listStyleType: "none" }); function I(e) { return (0, u.useMemo)((function() { var t = []; return function(r) { var n = [], i = r((function() { for (var r = arguments.length, i = new Array(r), o = 0; o < r; o++) i[o] = arguments[o]; var a = [].concat(A(t), n).find((function(e) { var t = e.args; return i.length === t.length && i.every((function(e, r) { return Object.is(e, t[r]) })) })) || { result: e.apply(void 0, i) }, s = a.result; return n.push({ args: i, result: s }), s })); return t = n, i } }), [e]) } var P = function(e) { var t = e.animating, r = e.sticky, n = S((0, b.default)(), 1)[0], i = n.activities, o = n.activity, s = S((0, y.default)(), 1)[0].hideScrollToEndButton, d = S((0, p.default)(), 1)[0], _ = (0, h.default)(), T = (0, m.default)(), E = (0, v.default)(T), C = (0, u.useCallback)((function(e, t) { return E({ activity: e, nextVisibleActivity: t }) }), [E]), P = (0, u.useRef)(), x = (0, u.useCallback)((function() { var e, t, r, n = P.current; if (n) { var i = (t = (e = n).parentNode.children, r = [].indexOf.call(t, e), [].slice.call(t, r + 1)).reduce((function(e, t) { return e || function(e) { var t = e.querySelectorAll("a[href], audio, button, details, details summary, embed, iframe, input, object, rect, select, svg[focusable], textarea, video, [tabindex]"); return [].find.call(t, (function(e) { var t = (0, g.default)(e); return "number" == typeof t && t >= 0 })) }(t) }), 0); i ? i.focus() : _("sendBoxWithoutKeyboard") } }), [_, P]), N = I(C), k = (0, u.useMemo)((function() { return N((function(e) { return A(d).reverse().reduce((function(t, r, n) { var i = t.nextVisibleActivity, o = t.result, a = e(r, i); return a && (o = [{ activity: r, element: a, key: r.channelData && r.channelData.clientActivityID || r.id || n, shouldSpeak: r.channelData && r.channelData.speak }].concat(A(o)), i = r), { nextVisibleActivity: i, result: o } }), { nextVisibleActivity: void 0, result: [] }).result })) }), [d, N]), R = (k[k.length - 1] || {}).activity, L = (R = void 0 === R ? {} : R).id, M = (0, u.useRef)(L), j = L === M.current; r && (M.current = L); var D = (0, u.useMemo)((function() { return j || t || s || r ? -1 : k.findIndex((function(e) { return e.activity.id === M.current })) }), [k, j, t, s, r]); return u.default.createElement(u.default.Fragment, null, u.default.createElement("div", { "aria-hidden": !0, className: O }), u.default.createElement("ul", { "aria-atomic": "false", "aria-live": "polite", "aria-relevant": "additions", className: (0, a.default)(w + "", i + ""), role: "list" }, k.map((function(e, t) { var r = e.activity, n = e.element, i = e.key, a = e.shouldSpeak; return u.default.createElement(u.default.Fragment, { key: i }, u.default.createElement("li", { className: o + "", role: "listitem" }, n, a && u.default.createElement(f.default, { activity: r })), t === D && u.default.createElement(l.default, { "aria-valuemax": k.length, "aria-valuenow": t + 1, onClick: x, ref: P })) }))), u.default.createElement(c.default, null)) }; P.propTypes = { animating: s.default.bool.isRequired, sticky: s.default.bool.isRequired }; var x = function(e) { var t = e.className, r = S((0, d.default)(), 1)[0]; return u.default.createElement("div", { className: (0, a.default)(E + "", t + ""), dir: r, role: "log" }, u.default.createElement(o.Panel, { className: C + "" }, u.default.createElement(o.StateContext.Consumer, null, (function(e) { var t = e.animating, r = e.sticky; return u.default.createElement(P, { animating: t, sticky: r }) })))) }; x.defaultProps = { className: "" }, x.propTypes = { className: s.default.string }; var N = x; t.default = N }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = l(r(1)), o = l(r(3)), a = l(r(0)), s = l(r(544)), u = l(r(547)), c = l(r(549)); function l(e) { return e && e.__esModule ? e : { default: e } } var f = (0, n.css)({ position: "relative" }), p = function(e) { var t = e.checkInterval, r = e.children, n = e.className, i = e.debounce, l = e.followButtonClassName, p = e.mode, d = e.scrollViewClassName; return (a.default.createElement(u.default, { checkInterval: t, debounce: i, mode: p }, a.default.createElement("div", { className: (0, o.default)(f + "", (n || "") + "") }, a.default.createElement(c.default, { className: d }, r), a.default.createElement(s.default, { className: l })))) }; p.defaultProps = { checkInterval: void 0, children: void 0, className: void 0, debounce: void 0, followButtonClassName: void 0, mode: void 0, scrollViewClassName: void 0 }, p.propTypes = { checkInterval: i.default.number, children: i.default.any, className: i.default.string, debounce: i.default.number, followButtonClassName: i.default.string, mode: i.default.oneOf(["bottom", "top"]), scrollViewClassName: i.default.string }; var d = p; t.default = d }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n, i = r(0), o = (n = r(1210)) && n.__esModule ? n : { default: n }; var a = function(e) { var t = e.debounce, r = e.name, n = e.onEvent, a = e.target, s = (0, i.useRef)(); s.current = n; var u = (0, i.useCallback)((0, o.default)((function(e) { var t = s.current; t && t(e) }), t), [t, s]), c = (0, i.useCallback)((function(e) { e.timeStampLow = Date.now(), u(e) }), [u]); return (0, i.useLayoutEffect)((function() { return a.addEventListener(r, c, { passive: !0 }), c({ target: a, type: r }), function() { return a.removeEventListener(r, c) } }), [r, c, a]), !1 }; a.defaultProps = { debounce: 200 }; var s = a; t.default = s }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { if (!t) return e; var r = 0, n = null; return function() { for (var i = arguments.length, o = new Array(i), a = 0; a < i; a++) o[a] = arguments[a]; var s = Date.now(); s - r > t ? (e.apply(void 0, o), r = s) : (clearTimeout(n), n = setTimeout((function() { e.apply(void 0, o), r = Date.now() }), Math.max(0, t - s + r))) } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n, i = r(0), o = (n = r(1)) && n.__esModule ? n : { default: n }; function a(e, t) { var r = Math.sign(t - e), n = e + Math.sqrt(Math.abs(t - e)) * r; return r > 0 ? Math.min(t, n) : Math.max(t, n) } function s(e, t, r, n) { for (var i = e, o = 0; o < n; o++) i = r(i, t); return i } var u = function(e) { var t = e.name, r = e.onEnd, n = e.target, o = e.value, u = (0, i.useRef)(), c = (0, i.useCallback)((function(e, t, i, o) { var l = arguments.length > 4 && void 0 !== arguments[4] ? arguments[4] : Date.now(); "100%" !== i && "number" != typeof i || (cancelAnimationFrame(u.current), u.current = requestAnimationFrame((function() { if (n) { var u = "100%" === i ? n.scrollHeight - n.offsetHeight : i, f = s(t, u, a, (Date.now() - l) / 5); Math.abs(u - f) < 1.5 && (f = u), n[e] = f, u === f ? r && r(!0) : c(e, t, i, o + 1, l) } }))) }), [u, r, n]), l = (0, i.useCallback)((function() { cancelAnimationFrame(u), r && r(!1) }), [r]); return (0, i.useLayoutEffect)((function() { if (c(t, n[t], o, 1), n) return n.addEventListener("pointerdown", l, { passive: !0 }), function() { return n.removeEventListener("pointerdown", l) } }), [c, l, t, n, o]), !1 }; u.propTypes = { name: o.default.string.isRequired, onEnd: o.default.func, target: o.default.any.isRequired, value: o.default.oneOfType([o.default.number, o.default.oneOf(["100%"])]).isRequired }; var c = u; t.default = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.useContext)(o.default).animating] }; var n, i = r(0), o = (n = r(63)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.useContext)(o.default).atBottom] }; var n, i = r(0), o = (n = r(63)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.useContext)(o.default).atEnd] }; var n, i = r(0), o = (n = r(63)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.useContext)(o.default).atStart] }; var n, i = r(0), o = (n = r(63)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.useContext)(o.default).atTop] }; var n, i = r(0), o = (n = r(63)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.useContext)(o.default).mode] }; var n, i = r(0), o = (n = r(63)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.useContext)(o.default).scrollTo }; var n, i = r(0), o = (n = r(90)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.useContext)(o.default).scrollToBottom }; var n, i = r(0), o = (n = r(90)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.useContext)(o.default).scrollToStart }; var n, i = r(0), o = (n = r(90)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.useContext)(o.default).scrollToTop }; var n, i = r(0), o = (n = r(90)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = d(r(3)), o = d(r(1)), a = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = p(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), s = d(r(23)), u = d(r(15)), c = d(r(138)), l = d(r(6)), f = r(1223); function p() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return p = function() { return e }, e } function d(e) { return e && e.__esModule ? e : { default: e } } function h(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var v = (0, a.forwardRef)((function(e, t) { var r = e["aria-valuemax"], n = e["aria-valuemin"], o = e["aria-valuenow"], p = e.className, d = e.onClick, v = h((0, l.default)(), 1)[0].scrollToEndButton, m = h((0, s.default)(), 1)[0], y = (0, u.default)(), b = (0, c.default)(), g = (0, a.useCallback)((function(e) { d && d(e), b() }), [d, b]), _ = (0, a.useCallback)((function(e) { "Enter" !== e.key && " " !== e.key || (e.preventDefault(), d && d(e), b()) }), [d, b]), T = y("TRANSCRIPT_NEW_MESSAGES"); return a.default.createElement("li", { "aria-label": T, "aria-valuemax": r, "aria-valuemin": n, "aria-valuenow": o, className: (0, i.default)("webchat__scrollToEndButton", v + "", p + "", "rtl" === m ? "webchat__overlay--rtl" : ""), onClick: g, onKeyPress: _, ref: t, role: f.safari ? void 0 : "separator", tabIndex: 0 }, T) })); v.defaultProps = { "aria-valuemin": 0, className: "", onClick: void 0 }, v.displayName = "ScrollToEndButton", v.propTypes = { "aria-valuemax": o.default.number.isRequired, "aria-valuemin": o.default.number, "aria-valuenow": o.default.number.isRequired, className: o.default.string, onClick: o.default.func }; var m = v; t.default = m }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.safari = t.ie11 = t.firefox = t.edgeUWP = t.edgeAnaheim = t.chromium = t.chrome = void 0; var n = navigator.userAgent, i = !/Edge\//.test(n) && /Chrome\//.test(n); t.chromium = i; var o = /Edg\//.test(n); t.edgeAnaheim = o; var a = /Edge\//.test(n); t.edgeUWP = a; var s = /Firefox\//.test(n); t.firefox = s; var u = /Trident\/7(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])0/.test(n); t.ie11 = u; var c = i && !o; t.chrome = c; var l = !(c || a || u || s); t.safari = l }, function(e, t) { e.exports = function(e) { throw new Error('"' + e + '" is read-only') } }, function(e, t) { e.exports = function(e) { if (Array.isArray(e)) return e } }, function(e, t) { e.exports = function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") } }, function(e, t, r) { "use strict"; var n = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e, t = [], r = function() { return o.default.async((function(r) { for (;;) switch (r.prev = r.next) { case 0: if (!e) { r.next = 2; break } return r.abrupt("return"); case 2: return e = !0, r.prev = 3, r.next = 6, o.default.awrap(function() { var e; return o.default.async((function(r) { for (;;) switch (r.prev = r.next) { case 0: if (!(e = t[0])) { r.next = 12; break } return r.prev = 1, r.next = 4, o.default.awrap(e.speak()); case 4: r.next = 9; break; case 6: r.prev = 6, r.t0 = r.catch(1), "cancelled" !== r.t0.message && console.error(r.t0); case 9: t = t.filter((function(t) { return t !== e })), r.next = 0; break; case 12: case "end": return r.stop() } }), null, null, [ [1, 6] ]) }()); case 6: return r.prev = 6, e = !1, r.finish(6); case 9: case "end": return r.stop() } }), null, null, [ [3, , 6, 9] ]) }; return function(e, n) { var o = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {}, s = o.onEnd, u = o.onError, c = o.onStart; if (!(n instanceof e.SpeechSynthesisUtterance)) throw new Error("utterance must be instance of the ponyfill"); var l = new a.default(e, n, { onEnd: s, onError: u, onStart: c }); return t = [].concat((0, i.default)(t), [l]), r(), { cancel: function() { return l.cancel() }, promise: l.promise } } }; var i = n(r(1229)), o = n(r(555)), a = n(r(1234)) }, function(e, t, r) { var n = r(1230), i = r(1231), o = r(1232); e.exports = function(e) { return n(e) || i(e) || o() } }, function(e, t) { e.exports = function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } } }, function(e, t) { e.exports = function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to spread non-iterable instance") } }, function(e, t, r) { var n = function(e) { "use strict"; var t = Object.prototype, r = t.hasOwnProperty, n = "function" == typeof Symbol ? Symbol : {}, i = n.iterator || "@@iterator", o = n.asyncIterator || "@@asyncIterator", a = n.toStringTag || "@@toStringTag"; function s(e, t, r, n) { var i = t && t.prototype instanceof l ? t : l, o = Object.create(i.prototype), a = new S(n || []); return o._invoke = function(e, t, r) { var n = "suspendedStart"; return function(i, o) { if ("executing" === n) throw new Error("Generator is already running"); if ("completed" === n) { if ("throw" === i) throw o; return E() } for (r.method = i, r.arg = o;;) { var a = r.delegate; if (a) { var s = g(a, r); if (s) { if (s === c) continue; return s } } if ("next" === r.method) r.sent = r._sent = r.arg; else if ("throw" === r.method) { if ("suspendedStart" === n) throw n = "completed", r.arg; r.dispatchException(r.arg) } else "return" === r.method && r.abrupt("return", r.arg); n = "executing"; var l = u(e, t, r); if ("normal" === l.type) { if (n = r.done ? "completed" : "suspendedYield", l.arg === c) continue; return { value: l.arg, done: r.done } } "throw" === l.type && (n = "completed", r.method = "throw", r.arg = l.arg) } } }(e, r, a), o } function u(e, t, r) { try { return { type: "normal", arg: e.call(t, r) } } catch (e) { return { type: "throw", arg: e } } } e.wrap = s; var c = {}; function l() {} function f() {} function p() {} var d = {}; d[i] = function() { return this }; var h = Object.getPrototypeOf, v = h && h(h(A([]))); v && v !== t && r.call(v, i) && (d = v); var m = p.prototype = l.prototype = Object.create(d); function y(e) { ["next", "throw", "return"].forEach((function(t) { e[t] = function(e) { return this._invoke(t, e) } })) } function b(e, t) { var n; this._invoke = function(i, o) { function a() { return new t((function(n, a) { ! function n(i, o, a, s) { var c = u(e[i], e, o); if ("throw" !== c.type) { var l = c.arg, f = l.value; return f && "object" == typeof f && r.call(f, "__await") ? t.resolve(f.__await).then((function(e) { n("next", e, a, s) }), (function(e) { n("throw", e, a, s) })) : t.resolve(f).then((function(e) { l.value = e, a(l) }), (function(e) { return n("throw", e, a, s) })) } s(c.arg) }(i, o, n, a) })) } return n = n ? n.then(a, a) : a() } } function g(e, t) { var r = e.iterator[t.method]; if (void 0 === r) { if (t.delegate = null, "throw" === t.method) { if (e.iterator.return && (t.method = "return", t.arg = void 0, g(e, t), "throw" === t.method)) return c; t.method = "throw", t.arg = new TypeError("The iterator does not provide a 'throw' method") } return c } var n = u(r, e.iterator, t.arg); if ("throw" === n.type) return t.method = "throw", t.arg = n.arg, t.delegate = null, c; var i = n.arg; return i ? i.done ? (t[e.resultName] = i.value, t.next = e.nextLoc, "return" !== t.method && (t.method = "next", t.arg = void 0), t.delegate = null, c) : i : (t.method = "throw", t.arg = new TypeError("iterator result is not an object"), t.delegate = null, c) } function _(e) { var t = { tryLoc: e[0] }; 1 in e && (t.catchLoc = e[1]), 2 in e && (t.finallyLoc = e[2], t.afterLoc = e[3]), this.tryEntries.push(t) } function T(e) { var t = e.completion || {}; t.type = "normal", delete t.arg, e.completion = t } function S(e) { this.tryEntries = [{ tryLoc: "root" }], e.forEach(_, this), this.reset(!0) } function A(e) { if (e) { var t = e[i]; if (t) return t.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var n = -1, o = function t() { for (; ++n < e.length;) if (r.call(e, n)) return t.value = e[n], t.done = !1, t; return t.value = void 0, t.done = !0, t }; return o.next = o } } return { next: E } } function E() { return { value: void 0, done: !0 } } return f.prototype = m.constructor = p, p.constructor = f, p[a] = f.displayName = "GeneratorFunction", e.isGeneratorFunction = function(e) { var t = "function" == typeof e && e.constructor; return !!t && (t === f || "GeneratorFunction" === (t.displayName || t.name)) }, e.mark = function(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, p) : (e.__proto__ = p, a in e || (e[a] = "GeneratorFunction")), e.prototype = Object.create(m), e }, e.awrap = function(e) { return { __await: e } }, y(b.prototype), b.prototype[o] = function() { return this }, e.AsyncIterator = b, e.async = function(t, r, n, i, o) { void 0 === o && (o = Promise); var a = new b(s(t, r, n, i), o); return e.isGeneratorFunction(r) ? a : a.next().then((function(e) { return e.done ? e.value : a.next() })) }, y(m), m[a] = "Generator", m[i] = function() { return this }, m.toString = function() { return "[object Generator]" }, e.keys = function(e) { var t = []; for (var r in e) t.push(r); return t.reverse(), function r() { for (; t.length;) { var n = t.pop(); if (n in e) return r.value = n, r.done = !1, r } return r.done = !0, r } }, e.values = A, S.prototype = { constructor: S, reset: function(e) { 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(T), !e) for (var t in this) "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0) }, stop: function() { this.done = !0; var e = this.tryEntries[0].completion; if ("throw" === e.type) throw e.arg; return this.rval }, dispatchException: function(e) { if (this.done) throw e; var t = this; function n(r, n) { return a.type = "throw", a.arg = e, t.next = r, n && (t.method = "next", t.arg = void 0), !!n } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var o = this.tryEntries[i], a = o.completion; if ("root" === o.tryLoc) return n("end"); if (o.tryLoc <= this.prev) { var s = r.call(o, "catchLoc"), u = r.call(o, "finallyLoc"); if (s && u) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0); if (this.prev < o.finallyLoc) return n(o.finallyLoc) } else if (s) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0) } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < o.finallyLoc) return n(o.finallyLoc) } } } }, abrupt: function(e, t) { for (var n = this.tryEntries.length - 1; n >= 0; --n) { var i = this.tryEntries[n]; if (i.tryLoc <= this.prev && r.call(i, "finallyLoc") && this.prev < i.finallyLoc) { var o = i; break } } o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null); var a = o ? o.completion : {}; return a.type = e, a.arg = t, o ? (this.method = "next", this.next = o.finallyLoc, c) : this.complete(a) }, complete: function(e, t) { if ("throw" === e.type) throw e.arg; return "break" === e.type || "continue" === e.type ? this.next = e.arg : "return" === e.type ? (this.rval = this.arg = e.arg, this.method = "return", this.next = "end") : "normal" === e.type && t && (this.next = t), c }, finish: function(e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), T(r), c } }, catch: function(e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.tryLoc === e) { var n = r.completion; if ("throw" === n.type) { var i = n.arg; T(r) } return i } } throw new Error("illegal catch attempt") }, delegateYield: function(e, t, r) { return this.delegate = { iterator: A(e), resultName: t, nextLoc: r }, "next" === this.method && (this.arg = void 0), c } }, e }(e.exports); try { regeneratorRuntime = n } catch (e) { Function("r", "regeneratorRuntime = r")(n) } }, function(e, t, r) { "use strict"; var n = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(1235)), o = n(r(1236)), a = n(r(555)), s = n(r(306)), u = n(r(1237)), c = n(r(556)); function l(e, t, r) { var n, i, o, s, c, l, f, p; return a.default.async((function(d) { for (;;) switch (d.prev = d.next) { case 0: return n = e.speechSynthesis, i = (0, u.default)(), o = (0, u.default)(), s = (0, u.default)(), t.addEventListener("end", s.resolve), t.addEventListener("error", o.resolve), t.addEventListener("start", i.resolve), n.speak(t), d.next = 10, a.default.awrap(Promise.race([o.promise, i.promise])); case 10: if ("error" !== (c = d.sent).type) { d.next = 13; break } throw c.error; case 13: return f = Promise.race([o.promise, s.promise]), r && r((function() { return a.default.async((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (l) { e.next = 4; break } return n.cancel(), e.next = 4, a.default.awrap(f); case 4: case "end": return e.stop() } })) })), d.next = 17, a.default.awrap(f); case 17: if (p = d.sent, l = !0, "error" !== p.type) { d.next = 21; break } throw p.error; case 21: case "end": return d.stop() } })) } var f = function() { function e(t, r, n) { var o = n.onEnd, a = n.onError, s = n.onStart; (0, i.default)(this, e), this._cancelled = !1, this._deferred = (0, u.default)(), this._onEnd = o, this._onError = a, this._onStart = s, this._ponyfill = t, this._speaking = !1, this._utterance = r, this.promise = this._deferred.promise } return (0, o.default)(e, [{ key: "cancel", value: function() { return a.default.async((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (this._cancelled = !0, e.t0 = this._cancel, !e.t0) { e.next = 5; break } return e.next = 5, a.default.awrap(this._cancel()); case 5: case "end": return e.stop() } }), null, this) } }, { key: "speak", value: function() { var e = this; return this._speaking && console.warn("ASSERTION: QueuedUtterance is already speaking or has spoken."), this._speaking = !0, a.default.async((function(t) { for (;;) switch (t.prev = t.next) { case 0: if (!e._cancelled) { t.next = 2; break } throw new Error("cancelled"); case 2: return t.next = 4, a.default.awrap(l(e._ponyfill, e._utterance, (function(t) { if (e._cancelled) throw t(), new Error("cancelled"); e._cancel = t, e._onStart && e._onStart((0, s.default)("start")) }))); case 4: if (!e._cancelled) { t.next = 6; break } throw new Error("cancelled"); case 6: case "end": return t.stop() } })).then((function() { e._onEnd && e._onEnd((0, s.default)("end")), e._deferred.resolve() }), (function(t) { e._onError && e._onError((0, c.default)(t)), e._deferred.reject(t) })), this.promise } }]), e }(); t.default = f }, function(e, t) { e.exports = function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } }, function(e, t) { function r(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } e.exports = function(e, t, n) { return t && r(e.prototype, t), n && r(e, n), e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e, t, r = new Promise((function(r, n) { e = n, t = r })); if (!e || !t) throw new Error("Promise is not a ES-compliant and do not run exector immediately"); return { promise: r, reject: e, resolve: t } } }, function(e, t, r) { "use strict"; var n = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r, n) { (0, i.default)((function() { var i = function(e) { return r && r(e) }; return e.addEventListener(t, i, n), function() { r = null, e.removeEventListener(t, i, n) } }), [r, t, n, e]) }; var i = n(r(1239)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { var r = (0, n.useRef)({ first: !0, id: Math.random().toString(36).substr(2, 5), unsubscribe: e() }); (0, n.useEffect)((function() { var t = r.current; return t.first ? t.first = !1 : t.unsubscribe = e(), function() { t.unsubscribe && t.unsubscribe(), t.unsubscribe = null } }), t) }; var n = r(0) }, function(e, t, r) { "use strict"; var n = r(19); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, i.useContext)(o.default), t = e.ponyfill, r = e.synthesize; return function(e, n) { return "string" == typeof e && (e = (0, a.default)(t, { text: e })), r(t, e, { onStart: n && function() { return n() } }) } }; var i = r(0), o = n(r(197)), a = n(r(558)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = a(r(1)), o = a(r(0)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = (0, n.css)({ color: "Red", margin: 0 }), u = function(e) { var t = e.speak; return !!t && o.default.createElement("pre", { className: s }, t) }; u.defaultProps = { speak: "" }, u.propTypes = { speak: i.default.string }; var c = u; t.default = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().markActivity }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; e.exports = r(1244) }, function(e, t, r) { "use strict"; var n = r(13), i = r(1252), o = r(1256), a = r(1257), s = r(1265), u = r(1279), c = r(1292), l = r(566), f = r(354), p = { default: r(1294), zero: r(1295), commonmark: r(1296) }, d = /^(vbscript|javascript|file|data):/, h = /^data:image\/(gif|png|jpeg|webp);/; function v(e) { var t = e.trim().toLowerCase(); return !d.test(t) || !!h.test(t) } var m = ["http:", "https:", "mailto:"]; function y(e) { var t = l.parse(e, !0); if (t.hostname && (!t.protocol || m.indexOf(t.protocol) >= 0)) try { t.hostname = f.toASCII(t.hostname) } catch (e) {} return l.encode(l.format(t)) } function b(e) { var t = l.parse(e, !0); if (t.hostname && (!t.protocol || m.indexOf(t.protocol) >= 0)) try { t.hostname = f.toUnicode(t.hostname) } catch (e) {} return l.decode(l.format(t)) } function g(e, t) { if (!(this instanceof g)) return new g(e, t); t || n.isString(e) || (t = e || {}, e = "default"), this.inline = new u, this.block = new s, this.core = new a, this.renderer = new o, this.linkify = new c, this.validateLink = v, this.normalizeLink = y, this.normalizeLinkText = b, this.utils = n, this.helpers = n.assign({}, i), this.options = {}, this.configure(e), t && this.set(t) } g.prototype.set = function(e) { return n.assign(this.options, e), this }, g.prototype.configure = function(e) { var t, r = this; if (n.isString(e) && !(e = p[t = e])) throw new Error('Wrong `markdown-it` preset "' + t + '", check name'); if (!e) throw new Error("Wrong `markdown-it` preset, can't be empty"); return e.options && r.set(e.options), e.components && Object.keys(e.components).forEach((function(t) { e.components[t].rules && r[t].ruler.enableOnly(e.components[t].rules), e.components[t].rules2 && r[t].ruler2.enableOnly(e.components[t].rules2) })), this }, g.prototype.enable = function(e, t) { var r = []; Array.isArray(e) || (e = [e]), ["core", "block", "inline"].forEach((function(t) { r = r.concat(this[t].ruler.enable(e, !0)) }), this), r = r.concat(this.inline.ruler2.enable(e, !0)); var n = e.filter((function(e) { return r.indexOf(e) < 0 })); if (n.length && !t) throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n); return this }, g.prototype.disable = function(e, t) { var r = []; Array.isArray(e) || (e = [e]), ["core", "block", "inline"].forEach((function(t) { r = r.concat(this[t].ruler.disable(e, !0)) }), this), r = r.concat(this.inline.ruler2.disable(e, !0)); var n = e.filter((function(e) { return r.indexOf(e) < 0 })); if (n.length && !t) throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n); return this }, g.prototype.use = function(e) { var t = [this].concat(Array.prototype.slice.call(arguments, 1)); return e.apply(e, t), this }, g.prototype.parse = function(e, t) { if ("string" != typeof e) throw new Error("Input data should be a String"); var r = new this.core.State(e, this, t); return this.core.process(r), r.tokens }, g.prototype.render = function(e, t) { return t = t || {}, this.renderer.render(this.parse(e, t), this.options, t) }, g.prototype.parseInline = function(e, t) { var r = new this.core.State(e, this, t); return r.inlineMode = !0, this.core.process(r), r.tokens }, g.prototype.renderInline = function(e, t) { return t = t || {}, this.renderer.render(this.parseInline(e, t), this.options, t) }, e.exports = g }, function(e) { e.exports = JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}') }, function(e, t, r) { "use strict"; var n = {}; function i(e, t, r) { var o, a, s, u, c, l = ""; for ("string" != typeof t && (r = t, t = i.defaultChars), void 0 === r && (r = !0), c = function(e) { var t, r, i = n[e]; if (i) return i; for (i = n[e] = [], t = 0; t < 128; t++) r = String.fromCharCode(t), /^[0-9a-z]$/i.test(r) ? i.push(r) : i.push("%" + ("0" + t.toString(16).toUpperCase()).slice(-2)); for (t = 0; t < e.length; t++) i[e.charCodeAt(t)] = e[t]; return i }(t), o = 0, a = e.length; o < a; o++) if (s = e.charCodeAt(o), r && 37 === s && o + 2 < a && /^[0-9a-f]{2}$/i.test(e.slice(o + 1, o + 3))) l += e.slice(o, o + 3), o += 2; else if (s < 128) l += c[s]; else if (s >= 55296 && s <= 57343) { if (s >= 55296 && s <= 56319 && o + 1 < a && (u = e.charCodeAt(o + 1)) >= 56320 && u <= 57343) { l += encodeURIComponent(e[o] + e[o + 1]), o++; continue } l += "%EF%BF%BD" } else l += encodeURIComponent(e[o]); return l } i.defaultChars = ";/?:@&=+$,-_.!~*'()#", i.componentChars = "-_.!~*'()", e.exports = i }, function(e, t, r) { "use strict"; var n = {}; function i(e, t) { var r; return "string" != typeof t && (t = i.defaultChars), r = function(e) { var t, r, i = n[e]; if (i) return i; for (i = n[e] = [], t = 0; t < 128; t++) r = String.fromCharCode(t), i.push(r); for (t = 0; t < e.length; t++) i[r = e.charCodeAt(t)] = "%" + ("0" + r.toString(16).toUpperCase()).slice(-2); return i }(t), e.replace(/(%[a-f0-9]{2})+/gi, (function(e) { var t, n, i, o, a, s, u, c = ""; for (t = 0, n = e.length; t < n; t += 3)(i = parseInt(e.slice(t + 1, t + 3), 16)) < 128 ? c += r[i] : 192 == (224 & i) && t + 3 < n && 128 == (192 & (o = parseInt(e.slice(t + 4, t + 6), 16))) ? (c += (u = i << 6 & 1984 | 63 & o) < 128 ? "\ufffd\ufffd" : String.fromCharCode(u), t += 3) : 224 == (240 & i) && t + 6 < n && (o = parseInt(e.slice(t + 4, t + 6), 16), a = parseInt(e.slice(t + 7, t + 9), 16), 128 == (192 & o) && 128 == (192 & a)) ? (c += (u = i << 12 & 61440 | o << 6 & 4032 | 63 & a) < 2048 || u >= 55296 && u <= 57343 ? "\ufffd\ufffd\ufffd" : String.fromCharCode(u), t += 6) : 240 == (248 & i) && t + 9 < n && (o = parseInt(e.slice(t + 4, t + 6), 16), a = parseInt(e.slice(t + 7, t + 9), 16), s = parseInt(e.slice(t + 10, t + 12), 16), 128 == (192 & o) && 128 == (192 & a) && 128 == (192 & s)) ? ((u = i << 18 & 1835008 | o << 12 & 258048 | a << 6 & 4032 | 63 & s) < 65536 || u > 1114111 ? c += "\ufffd\ufffd\ufffd\ufffd" : (u -= 65536, c += String.fromCharCode(55296 + (u >> 10), 56320 + (1023 & u))), t += 9) : c += "\ufffd"; return c })) } i.defaultChars = ";/?:@&=+$,#", i.componentChars = "", e.exports = i }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = ""; return t += e.protocol || "", t += e.slashes ? "//" : "", t += e.auth ? e.auth + "@" : "", e.hostname && -1 !== e.hostname.indexOf(":") ? t += "[" + e.hostname + "]" : t += e.hostname || "", t += e.port ? ":" + e.port : "", t += e.pathname || "", t += e.search || "", t += e.hash || "" } }, function(e, t, r) { "use strict"; function n() { 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 i = /^([a-z0-9.+-]+:)/i, o = /:[0-9]*$/, a = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, s = ["{", "}", "|", "\\", "^", "`"].concat(["<", ">", '"', "`", " ", "\r", "\n", "\t"]), u = ["'"].concat(s), c = ["%", "/", "?", ";", "#"].concat(u), l = ["/", "?", "#"], f = /^[+a-z0-9A-Z_-]{0,63}$/, p = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, d = { javascript: !0, "javascript:": !0 }, h = { http: !0, https: !0, ftp: !0, gopher: !0, file: !0, "http:": !0, "https:": !0, "ftp:": !0, "gopher:": !0, "file:": !0 }; n.prototype.parse = function(e, t) { var r, n, o, s, u, v = e; if (v = v.trim(), !t && 1 === e.split("#").length) { var m = a.exec(v); if (m) return this.pathname = m[1], m[2] && (this.search = m[2]), this } var y = i.exec(v); if (y && (o = (y = y[0]).toLowerCase(), this.protocol = y, v = v.substr(y.length)), (t || y || v.match(/^\/\/[^@\/]+@[^@\/]+/)) && (!(u = "//" === v.substr(0, 2)) || y && d[y] || (v = v.substr(2), this.slashes = !0)), !d[y] && (u || y && !h[y])) { var b, g, _ = -1; for (r = 0; r < l.length; r++) - 1 !== (s = v.indexOf(l[r])) && (-1 === _ || s < _) && (_ = s); for (-1 !== (g = -1 === _ ? v.lastIndexOf("@") : v.lastIndexOf("@", _)) && (b = v.slice(0, g), v = v.slice(g + 1), this.auth = b), _ = -1, r = 0; r < c.length; r++) - 1 !== (s = v.indexOf(c[r])) && (-1 === _ || s < _) && (_ = s); - 1 === _ && (_ = v.length), ":" === v[_ - 1] && _--; var T = v.slice(0, _); v = v.slice(_), this.parseHost(T), this.hostname = this.hostname || ""; var S = "[" === this.hostname[0] && "]" === this.hostname[this.hostname.length - 1]; if (!S) { var A = this.hostname.split(/\./); for (r = 0, n = A.length; r < n; r++) { var E = A[r]; if (E && !E.match(f)) { for (var C = "", O = 0, w = E.length; O < w; O++) E.charCodeAt(O) > 127 ? C += "x" : C += E[O]; if (!C.match(f)) { var I = A.slice(0, r), P = A.slice(r + 1), x = E.match(p); x && (I.push(x[1]), P.unshift(x[2])), P.length && (v = P.join(".") + v), this.hostname = I.join("."); break } } } } this.hostname.length > 255 && (this.hostname = ""), S && (this.hostname = this.hostname.substr(1, this.hostname.length - 2)) } var N = v.indexOf("#"); - 1 !== N && (this.hash = v.substr(N), v = v.slice(0, N)); var k = v.indexOf("?"); return -1 !== k && (this.search = v.substr(k), v = v.slice(0, k)), v && (this.pathname = v), h[o] && this.hostname && !this.pathname && (this.pathname = ""), this }, n.prototype.parseHost = function(e) { var t = o.exec(e); t && (":" !== (t = t[0]) && (this.port = t.substr(1)), e = e.substr(0, e.length - t.length)), e && (this.hostname = e) }, e.exports = function(e, t) { if (e && e instanceof n) return e; var r = new n; return r.parse(e, t), r } }, function(e, t, r) { "use strict"; t.Any = r(567), t.Cc = r(568), t.Cf = r(1251), t.P = r(307), t.Z = r(569) }, function(e, t) { e.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]/ }, function(e, t, r) { "use strict"; t.parseLinkLabel = r(1253), t.parseLinkDestination = r(1254), t.parseLinkTitle = r(1255) }, function(e, t, r) { "use strict"; e.exports = function(e, t, r) { var n, i, o, a, s = -1, u = e.posMax, c = e.pos; for (e.pos = t + 1, n = 1; e.pos < u;) { if (93 === (o = e.src.charCodeAt(e.pos)) && 0 === --n) { i = !0; break } if (a = e.pos, e.md.inline.skipToken(e), 91 === o) if (a === e.pos - 1) n++; else if (r) return e.pos = c, -1 } return i && (s = e.pos), e.pos = c, s } }, function(e, t, r) { "use strict"; var n = r(13).unescapeAll; e.exports = function(e, t, r) { var i, o, a = t, s = { ok: !1, pos: 0, lines: 0, str: "" }; if (60 === e.charCodeAt(t)) { for (t++; t < r;) { if (10 === (i = e.charCodeAt(t))) return s; if (62 === i) return s.pos = t + 1, s.str = n(e.slice(a + 1, t)), s.ok = !0, s; 92 === i && t + 1 < r ? t += 2 : t++ } return s } for (o = 0; t < r && 32 !== (i = e.charCodeAt(t)) && !(i < 32 || 127 === i);) if (92 === i && t + 1 < r) t += 2; else { if (40 === i && o++, 41 === i) { if (0 === o) break; o-- } t++ } return a === t || 0 !== o || (s.str = n(e.slice(a, t)), s.lines = 0, s.pos = t, s.ok = !0), s } }, function(e, t, r) { "use strict"; var n = r(13).unescapeAll; e.exports = function(e, t, r) { var i, o, a = 0, s = t, u = { ok: !1, pos: 0, lines: 0, str: "" }; if (t >= r) return u; if (34 !== (o = e.charCodeAt(t)) && 39 !== o && 40 !== o) return u; for (t++, 40 === o && (o = 41); t < r;) { if ((i = e.charCodeAt(t)) === o) return u.pos = t + 1, u.lines = a, u.str = n(e.slice(s + 1, t)), u.ok = !0, u; 10 === i ? a++ : 92 === i && t + 1 < r && (t++, 10 === e.charCodeAt(t) && a++), t++ } return u } }, function(e, t, r) { "use strict"; var n = r(13).assign, i = r(13).unescapeAll, o = r(13).escapeHtml, a = {}; function s() { this.rules = n({}, a) } a.code_inline = function(e, t, r, n, i) { var a = e[t]; return "<code" + i.renderAttrs(a) + ">" + o(e[t].content) + "</code>" }, a.code_block = function(e, t, r, n, i) { var a = e[t]; return "<pre" + i.renderAttrs(a) + "><code>" + o(e[t].content) + "</code></pre>\n" }, a.fence = function(e, t, r, n, a) { var s, u, c, l, f = e[t], p = f.info ? i(f.info).trim() : "", d = ""; return p && (d = p.split(/\s+/g)[0]), 0 === (s = r.highlight && r.highlight(f.content, d) || o(f.content)).indexOf("<pre") ? s + "\n" : p ? (u = f.attrIndex("class"), c = f.attrs ? f.attrs.slice() : [], u < 0 ? c.push(["class", r.langPrefix + d]) : c[u][1] += " " + r.langPrefix + d, l = { attrs: c }, "<pre><code" + a.renderAttrs(l) + ">" + s + "</code></pre>\n") : "<pre><code" + a.renderAttrs(f) + ">" + s + "</code></pre>\n" }, a.image = function(e, t, r, n, i) { var o = e[t]; return o.attrs[o.attrIndex("alt")][1] = i.renderInlineAsText(o.children, r, n), i.renderToken(e, t, r) }, a.hardbreak = function(e, t, r) { return r.xhtmlOut ? "<br />\n" : "<br>\n" }, a.softbreak = function(e, t, r) { return r.breaks ? r.xhtmlOut ? "<br />\n" : "<br>\n" : "\n" }, a.text = function(e, t) { return o(e[t].content) }, a.html_block = function(e, t) { return e[t].content }, a.html_inline = function(e, t) { return e[t].content }, s.prototype.renderAttrs = function(e) { var t, r, n; if (!e.attrs) return ""; for (n = "", t = 0, r = e.attrs.length; t < r; t++) n += " " + o(e.attrs[t][0]) + '="' + o(e.attrs[t][1]) + '"'; return n }, s.prototype.renderToken = function(e, t, r) { var n, i = "", o = !1, a = e[t]; return a.hidden ? "" : (a.block && -1 !== a.nesting && t && e[t - 1].hidden && (i += "\n"), i += (-1 === a.nesting ? "</" : "<") + a.tag, i += this.renderAttrs(a), 0 === a.nesting && r.xhtmlOut && (i += " /"), a.block && (o = !0, 1 === a.nesting && t + 1 < e.length && ("inline" === (n = e[t + 1]).type || n.hidden || -1 === n.nesting && n.tag === a.tag) && (o = !1)), i += o ? ">\n" : ">") }, s.prototype.renderInline = function(e, t, r) { for (var n, i = "", o = this.rules, a = 0, s = e.length; a < s; a++) void 0 !== o[n = e[a].type] ? i += o[n](e, a, t, r, this) : i += this.renderToken(e, a, t); return i }, s.prototype.renderInlineAsText = function(e, t, r) { for (var n = "", i = 0, o = e.length; i < o; i++) "text" === e[i].type ? n += e[i].content : "image" === e[i].type && (n += this.renderInlineAsText(e[i].children, t, r)); return n }, s.prototype.render = function(e, t, r) { var n, i, o, a = "", s = this.rules; for (n = 0, i = e.length; n < i; n++) "inline" === (o = e[n].type) ? a += this.renderInline(e[n].children, t, r) : void 0 !== s[o] ? a += s[e[n].type](e, n, t, r, this) : a += this.renderToken(e, n, t, r); return a }, e.exports = s }, function(e, t, r) { "use strict"; var n = r(308), i = [ ["normalize", r(1258)], ["block", r(1259)], ["inline", r(1260)], ["linkify", r(1261)], ["replacements", r(1262)], ["smartquotes", r(1263)] ]; function o() { this.ruler = new n; for (var e = 0; e < i.length; e++) this.ruler.push(i[e][0], i[e][1]) } o.prototype.process = function(e) { var t, r, n; for (t = 0, r = (n = this.ruler.getRules("")).length; t < r; t++) n[t](e) }, o.prototype.State = r(1264), e.exports = o }, function(e, t, r) { "use strict"; var n = /\r\n?|\n/g, i = /\0/g; e.exports = function(e) { var t; t = (t = e.src.replace(n, "\n")).replace(i, "\ufffd"), e.src = t } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t; e.inlineMode ? ((t = new e.Token("inline", "", 0)).content = e.src, t.map = [0, 1], t.children = [], e.tokens.push(t)) : e.md.block.parse(e.src, e.md, e.env, e.tokens) } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t, r, n, i = e.tokens; for (r = 0, n = i.length; r < n; r++) "inline" === (t = i[r]).type && e.md.inline.parse(t.content, e.md, e.env, t.children) } }, function(e, t, r) { "use strict"; var n = r(13).arrayReplaceAt; function i(e) { return /^<\/a\s*>/i.test(e) } e.exports = function(e) { var t, r, o, a, s, u, c, l, f, p, d, h, v, m, y, b, g, _, T = e.tokens; if (e.md.options.linkify) for (r = 0, o = T.length; r < o; r++) if ("inline" === T[r].type && e.md.linkify.pretest(T[r].content)) for (v = 0, t = (a = T[r].children).length - 1; t >= 0; t--) if ("link_close" !== (u = a[t]).type) { if ("html_inline" === u.type && (_ = u.content, /^<a[>\s]/i.test(_) && v > 0 && v--, i(u.content) && v++), !(v > 0) && "text" === u.type && e.md.linkify.test(u.content)) { for (f = u.content, g = e.md.linkify.match(f), c = [], h = u.level, d = 0, l = 0; l < g.length; l++) m = g[l].url, y = e.md.normalizeLink(m), e.md.validateLink(y) && (b = g[l].text, b = g[l].schema ? "mailto:" !== g[l].schema || /^mailto:/i.test(b) ? e.md.normalizeLinkText(b) : e.md.normalizeLinkText("mailto:" + b).replace(/^mailto:/, "") : e.md.normalizeLinkText("http://" + b).replace(/^http:\/\//, ""), (p = g[l].index) > d && ((s = new e.Token("text", "", 0)).content = f.slice(d, p), s.level = h, c.push(s)), (s = new e.Token("link_open", "a", 1)).attrs = [ ["href", y] ], s.level = h++, s.markup = "linkify", s.info = "auto", c.push(s), (s = new e.Token("text", "", 0)).content = b, s.level = h, c.push(s), (s = new e.Token("link_close", "a", -1)).level = --h, s.markup = "linkify", s.info = "auto", c.push(s), d = g[l].lastIndex); d < f.length && ((s = new e.Token("text", "", 0)).content = f.slice(d), s.level = h, c.push(s)), T[r].children = a = n(a, t, c) } } else for (t--; a[t].level !== u.level && "link_open" !== a[t].type;) t-- } }, function(e, t, r) { "use strict"; var n = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, i = /\((c|tm|r|p)\)/i, o = /\((c|tm|r|p)\)/gi, a = { c: "\xa9", r: "\xae", p: "\xa7", tm: "\u2122" }; function s(e, t) { return a[t.toLowerCase()] } function u(e) { var t, r, n = 0; for (t = e.length - 1; t >= 0; t--) "text" !== (r = e[t]).type || n || (r.content = r.content.replace(o, s)), "link_open" === r.type && "auto" === r.info && n--, "link_close" === r.type && "auto" === r.info && n++ } function c(e) { var t, r, i = 0; for (t = e.length - 1; t >= 0; t--) "text" !== (r = e[t]).type || i || n.test(r.content) && (r.content = r.content.replace(/\+-/g, "\xb1").replace(/\.{2,}/g, "\u2026").replace(/([?!])\u2026/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---([^-]|$)/gm, "$1\u2014$2").replace(/(^|\s)--(\s|$)/gm, "$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm, "$1\u2013$2")), "link_open" === r.type && "auto" === r.info && i--, "link_close" === r.type && "auto" === r.info && i++ } e.exports = function(e) { var t; if (e.md.options.typographer) for (t = e.tokens.length - 1; t >= 0; t--) "inline" === e.tokens[t].type && (i.test(e.tokens[t].content) && u(e.tokens[t].children), n.test(e.tokens[t].content) && c(e.tokens[t].children)) } }, function(e, t, r) { "use strict"; var n = r(13).isWhiteSpace, i = r(13).isPunctChar, o = r(13).isMdAsciiPunct, a = /['"]/, s = /['"]/g; function u(e, t, r) { return e.substr(0, t) + r + e.substr(t + 1) } function c(e, t) { var r, a, c, l, f, p, d, h, v, m, y, b, g, _, T, S, A, E, C, O, w; for (C = [], r = 0; r < e.length; r++) { for (a = e[r], d = e[r].level, A = C.length - 1; A >= 0 && !(C[A].level <= d); A--); if (C.length = A + 1, "text" === a.type) { f = 0, p = (c = a.content).length; e: for (; f < p && (s.lastIndex = f, l = s.exec(c));) { if (T = S = !0, f = l.index + 1, E = "'" === l[0], v = 32, l.index - 1 >= 0) v = c.charCodeAt(l.index - 1); else for (A = r - 1; A >= 0 && ("softbreak" !== e[A].type && "hardbreak" !== e[A].type); A--) if ("text" === e[A].type) { v = e[A].content.charCodeAt(e[A].content.length - 1); break } if (m = 32, f < p) m = c.charCodeAt(f); else for (A = r + 1; A < e.length && ("softbreak" !== e[A].type && "hardbreak" !== e[A].type); A++) if ("text" === e[A].type) { m = e[A].content.charCodeAt(0); break } if (y = o(v) || i(String.fromCharCode(v)), b = o(m) || i(String.fromCharCode(m)), g = n(v), (_ = n(m)) ? T = !1 : b && (g || y || (T = !1)), g ? S = !1 : y && (_ || b || (S = !1)), 34 === m && '"' === l[0] && v >= 48 && v <= 57 && (S = T = !1), T && S && (T = !1, S = b), T || S) { if (S) for (A = C.length - 1; A >= 0 && (h = C[A], !(C[A].level < d)); A--) if (h.single === E && C[A].level === d) { h = C[A], E ? (O = t.md.options.quotes[2], w = t.md.options.quotes[3]) : (O = t.md.options.quotes[0], w = t.md.options.quotes[1]), a.content = u(a.content, l.index, w), e[h.token].content = u(e[h.token].content, h.pos, O), f += w.length - 1, h.token === r && (f += O.length - 1), p = (c = a.content).length, C.length = A; continue e } T ? C.push({ token: r, pos: l.index, single: E, level: d }) : S && E && (a.content = u(a.content, l.index, "\u2019")) } else E && (a.content = u(a.content, l.index, "\u2019")) } } } } e.exports = function(e) { var t; if (e.md.options.typographer) for (t = e.tokens.length - 1; t >= 0; t--) "inline" === e.tokens[t].type && a.test(e.tokens[t].content) && c(e.tokens[t].children, e) } }, function(e, t, r) { "use strict"; var n = r(309); function i(e, t, r) { this.src = e, this.env = r, this.tokens = [], this.inlineMode = !1, this.md = t } i.prototype.Token = n, e.exports = i }, function(e, t, r) { "use strict"; var n = r(308), i = [ ["table", r(1266), ["paragraph", "reference"]], ["code", r(1267)], ["fence", r(1268), ["paragraph", "reference", "blockquote", "list"]], ["blockquote", r(1269), ["paragraph", "reference", "blockquote", "list"]], ["hr", r(1270), ["paragraph", "reference", "blockquote", "list"]], ["list", r(1271), ["paragraph", "reference", "blockquote"]], ["reference", r(1272)], ["heading", r(1273), ["paragraph", "reference", "blockquote"]], ["lheading", r(1274)], ["html_block", r(1275), ["paragraph", "reference", "blockquote"]], ["paragraph", r(1277)] ]; function o() { this.ruler = new n; for (var e = 0; e < i.length; e++) this.ruler.push(i[e][0], i[e][1], { alt: (i[e][2] || []).slice() }) } o.prototype.tokenize = function(e, t, r) { for (var n, i = this.ruler.getRules(""), o = i.length, a = t, s = !1, u = e.md.options.maxNesting; a < r && (e.line = a = e.skipEmptyLines(a), !(a >= r)) && !(e.sCount[a] < e.blkIndent);) { if (e.level >= u) { e.line = r; break } for (n = 0; n < o && !i[n](e, a, r, !1); n++); e.tight = !s, e.isEmpty(e.line - 1) && (s = !0), (a = e.line) < r && e.isEmpty(a) && (s = !0, a++, e.line = a) } }, o.prototype.parse = function(e, t, r, n) { var i; e && (i = new this.State(e, t, r, n), this.tokenize(i, i.line, i.lineMax)) }, o.prototype.State = r(1278), e.exports = o }, function(e, t, r) { "use strict"; var n = r(13).isSpace; function i(e, t) { var r = e.bMarks[t] + e.blkIndent, n = e.eMarks[t]; return e.src.substr(r, n - r) } function o(e) { var t, r = [], n = 0, i = e.length, o = 0, a = 0, s = !1, u = 0; for (t = e.charCodeAt(n); n < i;) 96 === t ? s ? (s = !1, u = n) : o % 2 == 0 && (s = !0, u = n) : 124 !== t || o % 2 != 0 || s || (r.push(e.substring(a, n)), a = n + 1), 92 === t ? o++ : o = 0, ++n === i && s && (s = !1, n = u + 1), t = e.charCodeAt(n); return r.push(e.substring(a)), r } e.exports = function(e, t, r, a) { var s, u, c, l, f, p, d, h, v, m, y, b; if (t + 2 > r) return !1; if (f = t + 1, e.sCount[f] < e.blkIndent) return !1; if (e.sCount[f] - e.blkIndent >= 4) return !1; if ((c = e.bMarks[f] + e.tShift[f]) >= e.eMarks[f]) return !1; if (124 !== (s = e.src.charCodeAt(c++)) && 45 !== s && 58 !== s) return !1; for (; c < e.eMarks[f];) { if (124 !== (s = e.src.charCodeAt(c)) && 45 !== s && 58 !== s && !n(s)) return !1; c++ } for (p = (u = i(e, t + 1)).split("|"), v = [], l = 0; l < p.length; l++) { if (!(m = p[l].trim())) { if (0 === l || l === p.length - 1) continue; return !1 } if (!/^:?-+:?$/.test(m)) return !1; 58 === m.charCodeAt(m.length - 1) ? v.push(58 === m.charCodeAt(0) ? "center" : "right") : 58 === m.charCodeAt(0) ? v.push("left") : v.push("") } if (-1 === (u = i(e, t).trim()).indexOf("|")) return !1; if (e.sCount[t] - e.blkIndent >= 4) return !1; if ((d = (p = o(u.replace(/^\||\|$/g, ""))).length) > v.length) return !1; if (a) return !0; for ((h = e.push("table_open", "table", 1)).map = y = [t, 0], (h = e.push("thead_open", "thead", 1)).map = [t, t + 1], (h = e.push("tr_open", "tr", 1)).map = [t, t + 1], l = 0; l < p.length; l++)(h = e.push("th_open", "th", 1)).map = [t, t + 1], v[l] && (h.attrs = [ ["style", "text-align:" + v[l]] ]), (h = e.push("inline", "", 0)).content = p[l].trim(), h.map = [t, t + 1], h.children = [], h = e.push("th_close", "th", -1); for (h = e.push("tr_close", "tr", -1), h = e.push("thead_close", "thead", -1), (h = e.push("tbody_open", "tbody", 1)).map = b = [t + 2, 0], f = t + 2; f < r && !(e.sCount[f] < e.blkIndent) && -1 !== (u = i(e, f).trim()).indexOf("|") && !(e.sCount[f] - e.blkIndent >= 4); f++) { for (p = o(u.replace(/^\||\|$/g, "")), h = e.push("tr_open", "tr", 1), l = 0; l < d; l++) h = e.push("td_open", "td", 1), v[l] && (h.attrs = [ ["style", "text-align:" + v[l]] ]), (h = e.push("inline", "", 0)).content = p[l] ? p[l].trim() : "", h.children = [], h = e.push("td_close", "td", -1); h = e.push("tr_close", "tr", -1) } return h = e.push("tbody_close", "tbody", -1), h = e.push("table_close", "table", -1), y[1] = b[1] = f, e.line = f, !0 } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r) { var n, i, o; if (e.sCount[t] - e.blkIndent < 4) return !1; for (i = n = t + 1; n < r;) if (e.isEmpty(n)) n++; else { if (!(e.sCount[n] - e.blkIndent >= 4)) break; i = ++n } return e.line = i, (o = e.push("code_block", "code", 0)).content = e.getLines(t, i, 4 + e.blkIndent, !0), o.map = [t, e.line], !0 } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r, n) { var i, o, a, s, u, c, l, f = !1, p = e.bMarks[t] + e.tShift[t], d = e.eMarks[t]; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (p + 3 > d) return !1; if (126 !== (i = e.src.charCodeAt(p)) && 96 !== i) return !1; if (u = p, (o = (p = e.skipChars(p, i)) - u) < 3) return !1; if (l = e.src.slice(u, p), a = e.src.slice(p, d), 96 === i && a.indexOf(String.fromCharCode(i)) >= 0) return !1; if (n) return !0; for (s = t; !(++s >= r) && !((p = u = e.bMarks[s] + e.tShift[s]) < (d = e.eMarks[s]) && e.sCount[s] < e.blkIndent);) if (e.src.charCodeAt(p) === i && !(e.sCount[s] - e.blkIndent >= 4 || (p = e.skipChars(p, i)) - u < o || (p = e.skipSpaces(p)) < d)) { f = !0; break } return o = e.sCount[t], e.line = s + (f ? 1 : 0), (c = e.push("fence", "code", 0)).info = a, c.content = e.getLines(t + 1, s, o, !0), c.markup = l, c.map = [t, e.line], !0 } }, function(e, t, r) { "use strict"; var n = r(13).isSpace; e.exports = function(e, t, r, i) { var o, a, s, u, c, l, f, p, d, h, v, m, y, b, g, _, T, S, A, E, C = e.lineMax, O = e.bMarks[t] + e.tShift[t], w = e.eMarks[t]; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (62 !== e.src.charCodeAt(O++)) return !1; if (i) return !0; for (u = d = e.sCount[t] + O - (e.bMarks[t] + e.tShift[t]), 32 === e.src.charCodeAt(O) ? (O++, u++, d++, o = !1, _ = !0) : 9 === e.src.charCodeAt(O) ? (_ = !0, (e.bsCount[t] + d) % 4 == 3 ? (O++, u++, d++, o = !1) : o = !0) : _ = !1, h = [e.bMarks[t]], e.bMarks[t] = O; O < w && (a = e.src.charCodeAt(O), n(a));) 9 === a ? d += 4 - (d + e.bsCount[t] + (o ? 1 : 0)) % 4 : d++, O++; for (v = [e.bsCount[t]], e.bsCount[t] = e.sCount[t] + 1 + (_ ? 1 : 0), l = O >= w, b = [e.sCount[t]], e.sCount[t] = d - u, g = [e.tShift[t]], e.tShift[t] = O - e.bMarks[t], S = e.md.block.ruler.getRules("blockquote"), y = e.parentType, e.parentType = "blockquote", E = !1, p = t + 1; p < r && (e.sCount[p] < e.blkIndent && (E = !0), !((O = e.bMarks[p] + e.tShift[p]) >= (w = e.eMarks[p]))); p++) if (62 !== e.src.charCodeAt(O++) || E) { if (l) break; for (T = !1, s = 0, c = S.length; s < c; s++) if (S[s](e, p, r, !0)) { T = !0; break } if (T) { e.lineMax = p, 0 !== e.blkIndent && (h.push(e.bMarks[p]), v.push(e.bsCount[p]), g.push(e.tShift[p]), b.push(e.sCount[p]), e.sCount[p] -= e.blkIndent); break } h.push(e.bMarks[p]), v.push(e.bsCount[p]), g.push(e.tShift[p]), b.push(e.sCount[p]), e.sCount[p] = -1 } else { for (u = d = e.sCount[p] + O - (e.bMarks[p] + e.tShift[p]), 32 === e.src.charCodeAt(O) ? (O++, u++, d++, o = !1, _ = !0) : 9 === e.src.charCodeAt(O) ? (_ = !0, (e.bsCount[p] + d) % 4 == 3 ? (O++, u++, d++, o = !1) : o = !0) : _ = !1, h.push(e.bMarks[p]), e.bMarks[p] = O; O < w && (a = e.src.charCodeAt(O), n(a));) 9 === a ? d += 4 - (d + e.bsCount[p] + (o ? 1 : 0)) % 4 : d++, O++; l = O >= w, v.push(e.bsCount[p]), e.bsCount[p] = e.sCount[p] + 1 + (_ ? 1 : 0), b.push(e.sCount[p]), e.sCount[p] = d - u, g.push(e.tShift[p]), e.tShift[p] = O - e.bMarks[p] } for (m = e.blkIndent, e.blkIndent = 0, (A = e.push("blockquote_open", "blockquote", 1)).markup = ">", A.map = f = [t, 0], e.md.block.tokenize(e, t, p), (A = e.push("blockquote_close", "blockquote", -1)).markup = ">", e.lineMax = C, e.parentType = y, f[1] = e.line, s = 0; s < g.length; s++) e.bMarks[s + t] = h[s], e.tShift[s + t] = g[s], e.sCount[s + t] = b[s], e.bsCount[s + t] = v[s]; return e.blkIndent = m, !0 } }, function(e, t, r) { "use strict"; var n = r(13).isSpace; e.exports = function(e, t, r, i) { var o, a, s, u, c = e.bMarks[t] + e.tShift[t], l = e.eMarks[t]; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (42 !== (o = e.src.charCodeAt(c++)) && 45 !== o && 95 !== o) return !1; for (a = 1; c < l;) { if ((s = e.src.charCodeAt(c++)) !== o && !n(s)) return !1; s === o && a++ } return !(a < 3) && (i || (e.line = t + 1, (u = e.push("hr", "hr", 0)).map = [t, e.line], u.markup = Array(a + 1).join(String.fromCharCode(o))), !0) } }, function(e, t, r) { "use strict"; var n = r(13).isSpace; function i(e, t) { var r, i, o, a; return i = e.bMarks[t] + e.tShift[t], o = e.eMarks[t], 42 !== (r = e.src.charCodeAt(i++)) && 45 !== r && 43 !== r || i < o && (a = e.src.charCodeAt(i), !n(a)) ? -1 : i } function o(e, t) { var r, i = e.bMarks[t] + e.tShift[t], o = i, a = e.eMarks[t]; if (o + 1 >= a) return -1; if ((r = e.src.charCodeAt(o++)) < 48 || r > 57) return -1; for (;;) { if (o >= a) return -1; if (!((r = e.src.charCodeAt(o++)) >= 48 && r <= 57)) { if (41 === r || 46 === r) break; return -1 } if (o - i >= 10) return -1 } return o < a && (r = e.src.charCodeAt(o), !n(r)) ? -1 : o } e.exports = function(e, t, r, n) { var a, s, u, c, l, f, p, d, h, v, m, y, b, g, _, T, S, A, E, C, O, w, I, P, x, N, k, R, L = !1, M = !0; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (e.listIndent >= 0 && e.sCount[t] - e.listIndent >= 4 && e.sCount[t] < e.blkIndent) return !1; if (n && "paragraph" === e.parentType && e.tShift[t] >= e.blkIndent && (L = !0), (I = o(e, t)) >= 0) { if (p = !0, x = e.bMarks[t] + e.tShift[t], b = Number(e.src.substr(x, I - x - 1)), L && 1 !== b) return !1 } else { if (!((I = i(e, t)) >= 0)) return !1; p = !1 } if (L && e.skipSpaces(I) >= e.eMarks[t]) return !1; if (y = e.src.charCodeAt(I - 1), n) return !0; for (m = e.tokens.length, p ? (R = e.push("ordered_list_open", "ol", 1), 1 !== b && (R.attrs = [ ["start", b] ])) : R = e.push("bullet_list_open", "ul", 1), R.map = v = [t, 0], R.markup = String.fromCharCode(y), _ = t, P = !1, k = e.md.block.ruler.getRules("list"), A = e.parentType, e.parentType = "list"; _ < r;) { for (w = I, g = e.eMarks[_], f = T = e.sCount[_] + I - (e.bMarks[t] + e.tShift[t]); w < g;) { if (9 === (a = e.src.charCodeAt(w))) T += 4 - (T + e.bsCount[_]) % 4; else { if (32 !== a) break; T++ } w++ } if ((l = (s = w) >= g ? 1 : T - f) > 4 && (l = 1), c = f + l, (R = e.push("list_item_open", "li", 1)).markup = String.fromCharCode(y), R.map = d = [t, 0], O = e.tight, C = e.tShift[t], E = e.sCount[t], S = e.listIndent, e.listIndent = e.blkIndent, e.blkIndent = c, e.tight = !0, e.tShift[t] = s - e.bMarks[t], e.sCount[t] = T, s >= g && e.isEmpty(t + 1) ? e.line = Math.min(e.line + 2, r) : e.md.block.tokenize(e, t, r, !0), e.tight && !P || (M = !1), P = e.line - t > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = S, e.tShift[t] = C, e.sCount[t] = E, e.tight = O, (R = e.push("list_item_close", "li", -1)).markup = String.fromCharCode(y), _ = t = e.line, d[1] = _, s = e.bMarks[t], _ >= r) break; if (e.sCount[_] < e.blkIndent) break; if (e.sCount[t] - e.blkIndent >= 4) break; for (N = !1, u = 0, h = k.length; u < h; u++) if (k[u](e, _, r, !0)) { N = !0; break } if (N) break; if (p) { if ((I = o(e, _)) < 0) break } else if ((I = i(e, _)) < 0) break; if (y !== e.src.charCodeAt(I - 1)) break } return (R = p ? e.push("ordered_list_close", "ol", -1) : e.push("bullet_list_close", "ul", -1)).markup = String.fromCharCode(y), v[1] = _, e.line = _, e.parentType = A, M && function(e, t) { var r, n, i = e.level + 2; for (r = t + 2, n = e.tokens.length - 2; r < n; r++) e.tokens[r].level === i && "paragraph_open" === e.tokens[r].type && (e.tokens[r + 2].hidden = !0, e.tokens[r].hidden = !0, r += 2) }(e, m), !0 } }, function(e, t, r) { "use strict"; var n = r(13).normalizeReference, i = r(13).isSpace; e.exports = function(e, t, r, o) { var a, s, u, c, l, f, p, d, h, v, m, y, b, g, _, T, S = 0, A = e.bMarks[t] + e.tShift[t], E = e.eMarks[t], C = t + 1; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (91 !== e.src.charCodeAt(A)) return !1; for (; ++A < E;) if (93 === e.src.charCodeAt(A) && 92 !== e.src.charCodeAt(A - 1)) { if (A + 1 === E) return !1; if (58 !== e.src.charCodeAt(A + 1)) return !1; break } for (c = e.lineMax, _ = e.md.block.ruler.getRules("reference"), v = e.parentType, e.parentType = "reference"; C < c && !e.isEmpty(C); C++) if (!(e.sCount[C] - e.blkIndent > 3 || e.sCount[C] < 0)) { for (g = !1, f = 0, p = _.length; f < p; f++) if (_[f](e, C, c, !0)) { g = !0; break } if (g) break } for (E = (b = e.getLines(t, C, e.blkIndent, !1).trim()).length, A = 1; A < E; A++) { if (91 === (a = b.charCodeAt(A))) return !1; if (93 === a) { h = A; break }(10 === a || 92 === a && ++A < E && 10 === b.charCodeAt(A)) && S++ } if (h < 0 || 58 !== b.charCodeAt(h + 1)) return !1; for (A = h + 2; A < E; A++) if (10 === (a = b.charCodeAt(A))) S++; else if (!i(a)) break; if (!(m = e.md.helpers.parseLinkDestination(b, A, E)).ok) return !1; if (l = e.md.normalizeLink(m.str), !e.md.validateLink(l)) return !1; for (s = A = m.pos, u = S += m.lines, y = A; A < E; A++) if (10 === (a = b.charCodeAt(A))) S++; else if (!i(a)) break; for (m = e.md.helpers.parseLinkTitle(b, A, E), A < E && y !== A && m.ok ? (T = m.str, A = m.pos, S += m.lines) : (T = "", A = s, S = u); A < E && (a = b.charCodeAt(A), i(a));) A++; if (A < E && 10 !== b.charCodeAt(A) && T) for (T = "", A = s, S = u; A < E && (a = b.charCodeAt(A), i(a));) A++; return !(A < E && 10 !== b.charCodeAt(A)) && (!!(d = n(b.slice(1, h))) && (o || (void 0 === e.env.references && (e.env.references = {}), void 0 === e.env.references[d] && (e.env.references[d] = { title: T, href: l }), e.parentType = v, e.line = t + S + 1), !0)) } }, function(e, t, r) { "use strict"; var n = r(13).isSpace; e.exports = function(e, t, r, i) { var o, a, s, u, c = e.bMarks[t] + e.tShift[t], l = e.eMarks[t]; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (35 !== (o = e.src.charCodeAt(c)) || c >= l) return !1; for (a = 1, o = e.src.charCodeAt(++c); 35 === o && c < l && a <= 6;) a++, o = e.src.charCodeAt(++c); return !(a > 6 || c < l && !n(o)) && (i || (l = e.skipSpacesBack(l, c), (s = e.skipCharsBack(l, 35, c)) > c && n(e.src.charCodeAt(s - 1)) && (l = s), e.line = t + 1, (u = e.push("heading_open", "h" + String(a), 1)).markup = "########".slice(0, a), u.map = [t, e.line], (u = e.push("inline", "", 0)).content = e.src.slice(c, l).trim(), u.map = [t, e.line], u.children = [], (u = e.push("heading_close", "h" + String(a), -1)).markup = "########".slice(0, a)), !0) } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r) { var n, i, o, a, s, u, c, l, f, p, d = t + 1, h = e.md.block.ruler.getRules("paragraph"); if (e.sCount[t] - e.blkIndent >= 4) return !1; for (p = e.parentType, e.parentType = "paragraph"; d < r && !e.isEmpty(d); d++) if (!(e.sCount[d] - e.blkIndent > 3)) { if (e.sCount[d] >= e.blkIndent && (u = e.bMarks[d] + e.tShift[d]) < (c = e.eMarks[d]) && (45 === (f = e.src.charCodeAt(u)) || 61 === f) && (u = e.skipChars(u, f), (u = e.skipSpaces(u)) >= c)) { l = 61 === f ? 1 : 2; break } if (!(e.sCount[d] < 0)) { for (i = !1, o = 0, a = h.length; o < a; o++) if (h[o](e, d, r, !0)) { i = !0; break } if (i) break } } return !!l && (n = e.getLines(t, d, e.blkIndent, !1).trim(), e.line = d + 1, (s = e.push("heading_open", "h" + String(l), 1)).markup = String.fromCharCode(f), s.map = [t, e.line], (s = e.push("inline", "", 0)).content = n, s.map = [t, e.line - 1], s.children = [], (s = e.push("heading_close", "h" + String(l), -1)).markup = String.fromCharCode(f), e.parentType = p, !0) } }, function(e, t, r) { "use strict"; var n = r(1276), i = r(570).HTML_OPEN_CLOSE_TAG_RE, o = [ [/^<(script|pre|style)(?=(\s|>|$))/i, /<\/(script|pre|style)>/i, !0], [/^<!--/, /-->/, !0], [/^<\?/, /\?>/, !0], [/^<![A-Z]/, />/, !0], [/^<!\[CDATA\[/, /\]\]>/, !0], [new RegExp("^</?(" + n.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0], [new RegExp(i.source + "\\s*$"), /^$/, !1] ]; e.exports = function(e, t, r, n) { var i, a, s, u, c = e.bMarks[t] + e.tShift[t], l = e.eMarks[t]; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (!e.md.options.html) return !1; if (60 !== e.src.charCodeAt(c)) return !1; for (u = e.src.slice(c, l), i = 0; i < o.length && !o[i][0].test(u); i++); if (i === o.length) return !1; if (n) return o[i][2]; if (a = t + 1, !o[i][1].test(u)) for (; a < r && !(e.sCount[a] < e.blkIndent); a++) if (c = e.bMarks[a] + e.tShift[a], l = e.eMarks[a], u = e.src.slice(c, l), o[i][1].test(u)) { 0 !== u.length && a++; break } return e.line = a, (s = e.push("html_block", "", 0)).map = [t, a], s.content = e.getLines(t, a, e.blkIndent, !0), !0 } }, function(e, t, r) { "use strict"; e.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", "meta", "nav", "noframes", "ol", "optgroup", "option", "p", "param", "section", "source", "summary", "table", "tbody", "td", "tfoot", "th", "thead", "title", "tr", "track", "ul"] }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r, n, i, o, a, s, u = t + 1, c = e.md.block.ruler.getRules("paragraph"), l = e.lineMax; for (s = e.parentType, e.parentType = "paragraph"; u < l && !e.isEmpty(u); u++) if (!(e.sCount[u] - e.blkIndent > 3 || e.sCount[u] < 0)) { for (n = !1, i = 0, o = c.length; i < o; i++) if (c[i](e, u, l, !0)) { n = !0; break } if (n) break } return r = e.getLines(t, u, e.blkIndent, !1).trim(), e.line = u, (a = e.push("paragraph_open", "p", 1)).map = [t, e.line], (a = e.push("inline", "", 0)).content = r, a.map = [t, e.line], a.children = [], a = e.push("paragraph_close", "p", -1), e.parentType = s, !0 } }, function(e, t, r) { "use strict"; var n = r(309), i = r(13).isSpace; function o(e, t, r, n) { var o, a, s, u, c, l, f, p; for (this.src = e, this.md = t, this.env = r, this.tokens = n, 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 = "", p = !1, s = u = l = f = 0, c = (a = this.src).length; u < c; u++) { if (o = a.charCodeAt(u), !p) { if (i(o)) { l++, 9 === o ? f += 4 - f % 4 : f++; continue } p = !0 } 10 !== o && u !== c - 1 || (10 !== o && u++, this.bMarks.push(s), this.eMarks.push(u), this.tShift.push(l), this.sCount.push(f), this.bsCount.push(0), p = !1, l = 0, f = 0, s = u + 1) } this.bMarks.push(a.length), this.eMarks.push(a.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1 } o.prototype.push = function(e, t, r) { var i = new n(e, t, r); return i.block = !0, r < 0 && this.level--, i.level = this.level, r > 0 && this.level++, this.tokens.push(i), i }, o.prototype.isEmpty = function(e) { return this.bMarks[e] + this.tShift[e] >= this.eMarks[e] }, o.prototype.skipEmptyLines = function(e) { for (var t = this.lineMax; e < t && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++); return e }, o.prototype.skipSpaces = function(e) { for (var t, r = this.src.length; e < r && (t = this.src.charCodeAt(e), i(t)); e++); return e }, o.prototype.skipSpacesBack = function(e, t) { if (e <= t) return e; for (; e > t;) if (!i(this.src.charCodeAt(--e))) return e + 1; return e }, o.prototype.skipChars = function(e, t) { for (var r = this.src.length; e < r && this.src.charCodeAt(e) === t; e++); return e }, o.prototype.skipCharsBack = function(e, t, r) { if (e <= r) return e; for (; e > r;) if (t !== this.src.charCodeAt(--e)) return e + 1; return e }, o.prototype.getLines = function(e, t, r, n) { var o, a, s, u, c, l, f, p = e; if (e >= t) return ""; for (l = new Array(t - e), o = 0; p < t; p++, o++) { for (a = 0, f = u = this.bMarks[p], c = p + 1 < t || n ? this.eMarks[p] + 1 : this.eMarks[p]; u < c && a < r;) { if (s = this.src.charCodeAt(u), i(s)) 9 === s ? a += 4 - (a + this.bsCount[p]) % 4 : a++; else { if (!(u - f < this.tShift[p])) break; a++ } u++ } l[o] = a > r ? new Array(a - r + 1).join(" ") + this.src.slice(u, c) : this.src.slice(u, c) } return l.join("") }, o.prototype.Token = n, e.exports = o }, function(e, t, r) { "use strict"; var n = r(308), i = [ ["text", r(1280)], ["newline", r(1281)], ["escape", r(1282)], ["backticks", r(1283)], ["strikethrough", r(571).tokenize], ["emphasis", r(572).tokenize], ["link", r(1284)], ["image", r(1285)], ["autolink", r(1286)], ["html_inline", r(1287)], ["entity", r(1288)] ], o = [ ["balance_pairs", r(1289)], ["strikethrough", r(571).postProcess], ["emphasis", r(572).postProcess], ["text_collapse", r(1290)] ]; function a() { var e; for (this.ruler = new n, e = 0; e < i.length; e++) this.ruler.push(i[e][0], i[e][1]); for (this.ruler2 = new n, e = 0; e < o.length; e++) this.ruler2.push(o[e][0], o[e][1]) } a.prototype.skipToken = function(e) { var t, r, n = e.pos, i = this.ruler.getRules(""), o = i.length, a = e.md.options.maxNesting, s = e.cache; if (void 0 === s[n]) { if (e.level < a) for (r = 0; r < o && (e.level++, t = i[r](e, !0), e.level--, !t); r++); else e.pos = e.posMax; t || e.pos++, s[n] = e.pos } else e.pos = s[n] }, a.prototype.tokenize = function(e) { for (var t, r, n = this.ruler.getRules(""), i = n.length, o = e.posMax, a = e.md.options.maxNesting; e.pos < o;) { if (e.level < a) for (r = 0; r < i && !(t = n[r](e, !1)); r++); if (t) { if (e.pos >= o) break } else e.pending += e.src[e.pos++] } e.pending && e.pushPending() }, a.prototype.parse = function(e, t, r, n) { var i, o, a, s = new this.State(e, t, r, n); for (this.tokenize(s), a = (o = this.ruler2.getRules("")).length, i = 0; i < a; i++) o[i](s) }, a.prototype.State = r(1291), e.exports = a }, function(e, t, r) { "use strict"; function n(e) { switch (e) { 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 } } e.exports = function(e, t) { for (var r = e.pos; r < e.posMax && !n(e.src.charCodeAt(r));) r++; return r !== e.pos && (t || (e.pending += e.src.slice(e.pos, r)), e.pos = r, !0) } }, function(e, t, r) { "use strict"; var n = r(13).isSpace; e.exports = function(e, t) { var r, i, o = e.pos; if (10 !== e.src.charCodeAt(o)) return !1; for (r = e.pending.length - 1, i = e.posMax, t || (r >= 0 && 32 === e.pending.charCodeAt(r) ? r >= 1 && 32 === e.pending.charCodeAt(r - 1) ? (e.pending = e.pending.replace(/ +$/, ""), e.push("hardbreak", "br", 0)) : (e.pending = e.pending.slice(0, -1), e.push("softbreak", "br", 0)) : e.push("softbreak", "br", 0)), o++; o < i && n(e.src.charCodeAt(o));) o++; return e.pos = o, !0 } }, function(e, t, r) { "use strict"; for (var n = r(13).isSpace, i = [], o = 0; o < 256; o++) i.push(0); "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e) { i[e.charCodeAt(0)] = 1 })), e.exports = function(e, t) { var r, o = e.pos, a = e.posMax; if (92 !== e.src.charCodeAt(o)) return !1; if (++o < a) { if ((r = e.src.charCodeAt(o)) < 256 && 0 !== i[r]) return t || (e.pending += e.src[o]), e.pos += 2, !0; if (10 === r) { for (t || e.push("hardbreak", "br", 0), o++; o < a && (r = e.src.charCodeAt(o), n(r));) o++; return e.pos = o, !0 } } return t || (e.pending += "\\"), e.pos++, !0 } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r, n, i, o, a, s, u = e.pos; if (96 !== e.src.charCodeAt(u)) return !1; for (r = u, u++, n = e.posMax; u < n && 96 === e.src.charCodeAt(u);) u++; for (i = e.src.slice(r, u), o = a = u; - 1 !== (o = e.src.indexOf("`", a));) { for (a = o + 1; a < n && 96 === e.src.charCodeAt(a);) a++; if (a - o === i.length) return t || ((s = e.push("code_inline", "code", 0)).markup = i, s.content = e.src.slice(u, o).replace(/\n/g, " ").replace(/^ (.+) $/, "$1")), e.pos = a, !0 } return t || (e.pending += i), e.pos += i.length, !0 } }, function(e, t, r) { "use strict"; var n = r(13).normalizeReference, i = r(13).isSpace; e.exports = function(e, t) { var r, o, a, s, u, c, l, f, p, d = "", h = e.pos, v = e.posMax, m = e.pos, y = !0; if (91 !== e.src.charCodeAt(e.pos)) return !1; if (u = e.pos + 1, (s = e.md.helpers.parseLinkLabel(e, e.pos, !0)) < 0) return !1; if ((c = s + 1) < v && 40 === e.src.charCodeAt(c)) { for (y = !1, c++; c < v && (o = e.src.charCodeAt(c), i(o) || 10 === o); c++); if (c >= v) return !1; for (m = c, (l = e.md.helpers.parseLinkDestination(e.src, c, e.posMax)).ok && (d = e.md.normalizeLink(l.str), e.md.validateLink(d) ? c = l.pos : d = ""), m = c; c < v && (o = e.src.charCodeAt(c), i(o) || 10 === o); c++); if (l = e.md.helpers.parseLinkTitle(e.src, c, e.posMax), c < v && m !== c && l.ok) for (p = l.str, c = l.pos; c < v && (o = e.src.charCodeAt(c), i(o) || 10 === o); c++); else p = ""; (c >= v || 41 !== e.src.charCodeAt(c)) && (y = !0), c++ } if (y) { if (void 0 === e.env.references) return !1; if (c < v && 91 === e.src.charCodeAt(c) ? (m = c + 1, (c = e.md.helpers.parseLinkLabel(e, c)) >= 0 ? a = e.src.slice(m, c++) : c = s + 1) : c = s + 1, a || (a = e.src.slice(u, s)), !(f = e.env.references[n(a)])) return e.pos = h, !1; d = f.href, p = f.title } return t || (e.pos = u, e.posMax = s, e.push("link_open", "a", 1).attrs = r = [ ["href", d] ], p && r.push(["title", p]), e.md.inline.tokenize(e), e.push("link_close", "a", -1)), e.pos = c, e.posMax = v, !0 } }, function(e, t, r) { "use strict"; var n = r(13).normalizeReference, i = r(13).isSpace; e.exports = function(e, t) { var r, o, a, s, u, c, l, f, p, d, h, v, m, y = "", b = e.pos, g = e.posMax; if (33 !== e.src.charCodeAt(e.pos)) return !1; if (91 !== e.src.charCodeAt(e.pos + 1)) return !1; if (c = e.pos + 2, (u = e.md.helpers.parseLinkLabel(e, e.pos + 1, !1)) < 0) return !1; if ((l = u + 1) < g && 40 === e.src.charCodeAt(l)) { for (l++; l < g && (o = e.src.charCodeAt(l), i(o) || 10 === o); l++); if (l >= g) return !1; for (m = l, (p = e.md.helpers.parseLinkDestination(e.src, l, e.posMax)).ok && (y = e.md.normalizeLink(p.str), e.md.validateLink(y) ? l = p.pos : y = ""), m = l; l < g && (o = e.src.charCodeAt(l), i(o) || 10 === o); l++); if (p = e.md.helpers.parseLinkTitle(e.src, l, e.posMax), l < g && m !== l && p.ok) for (d = p.str, l = p.pos; l < g && (o = e.src.charCodeAt(l), i(o) || 10 === o); l++); else d = ""; if (l >= g || 41 !== e.src.charCodeAt(l)) return e.pos = b, !1; l++ } else { if (void 0 === e.env.references) return !1; if (l < g && 91 === e.src.charCodeAt(l) ? (m = l + 1, (l = e.md.helpers.parseLinkLabel(e, l)) >= 0 ? s = e.src.slice(m, l++) : l = u + 1) : l = u + 1, s || (s = e.src.slice(c, u)), !(f = e.env.references[n(s)])) return e.pos = b, !1; y = f.href, d = f.title } return t || (a = e.src.slice(c, u), e.md.inline.parse(a, e.md, e.env, v = []), (h = e.push("image", "img", 0)).attrs = r = [ ["src", y], ["alt", ""] ], h.children = v, h.content = a, d && r.push(["title", d])), e.pos = l, e.posMax = g, !0 } }, function(e, t, r) { "use strict"; var n = /^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[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])?)*)>/, i = /^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/; e.exports = function(e, t) { var r, o, a, s, u, c, l = e.pos; return 60 === e.src.charCodeAt(l) && (!((r = e.src.slice(l)).indexOf(">") < 0) && (i.test(r) ? (s = (o = r.match(i))[0].slice(1, -1), u = e.md.normalizeLink(s), !!e.md.validateLink(u) && (t || ((c = e.push("link_open", "a", 1)).attrs = [ ["href", u] ], c.markup = "autolink", c.info = "auto", (c = e.push("text", "", 0)).content = e.md.normalizeLinkText(s), (c = e.push("link_close", "a", -1)).markup = "autolink", c.info = "auto"), e.pos += o[0].length, !0)) : !!n.test(r) && (s = (a = r.match(n))[0].slice(1, -1), u = e.md.normalizeLink("mailto:" + s), !!e.md.validateLink(u) && (t || ((c = e.push("link_open", "a", 1)).attrs = [ ["href", u] ], c.markup = "autolink", c.info = "auto", (c = e.push("text", "", 0)).content = e.md.normalizeLinkText(s), (c = e.push("link_close", "a", -1)).markup = "autolink", c.info = "auto"), e.pos += a[0].length, !0)))) } }, function(e, t, r) { "use strict"; var n = r(570).HTML_TAG_RE; e.exports = function(e, t) { var r, i, o, a = e.pos; return !!e.md.options.html && (o = e.posMax, !(60 !== e.src.charCodeAt(a) || a + 2 >= o) && (!(33 !== (r = e.src.charCodeAt(a + 1)) && 63 !== r && 47 !== r && ! function(e) { var t = 32 | e; return t >= 97 && t <= 122 }(r)) && (!!(i = e.src.slice(a).match(n)) && (t || (e.push("html_inline", "", 0).content = e.src.slice(a, a + i[0].length)), e.pos += i[0].length, !0)))) } }, function(e, t, r) { "use strict"; var n = r(565), i = r(13).has, o = r(13).isValidEntityCode, a = r(13).fromCodePoint, s = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, u = /^&([a-z][a-z0-9]{1,31});/i; e.exports = function(e, t) { var r, c, l = e.pos, f = e.posMax; if (38 !== e.src.charCodeAt(l)) return !1; if (l + 1 < f) if (35 === e.src.charCodeAt(l + 1)) { if (c = e.src.slice(l).match(s)) return t || (r = "x" === c[1][0].toLowerCase() ? parseInt(c[1].slice(1), 16) : parseInt(c[1], 10), e.pending += o(r) ? a(r) : a(65533)), e.pos += c[0].length, !0 } else if ((c = e.src.slice(l).match(u)) && i(n, c[1])) return t || (e.pending += n[c[1]]), e.pos += c[0].length, !0; return t || (e.pending += "&"), e.pos++, !0 } }, function(e, t, r) { "use strict"; function n(e, t) { var r, n, i, o, a, s, u, c, l = {}, f = t.length; for (r = 0; r < f; r++) if ((i = t[r]).length = i.length || 0, i.close) { for (l.hasOwnProperty(i.marker) || (l[i.marker] = [-1, -1, -1]), a = l[i.marker][i.length % 3], s = -1, n = r - i.jump - 1; n > a; n -= o.jump + 1) if ((o = t[n]).marker === i.marker && (-1 === s && (s = n), o.open && o.end < 0 && o.level === i.level && (u = !1, (o.close || i.open) && (o.length + i.length) % 3 == 0 && (o.length % 3 == 0 && i.length % 3 == 0 || (u = !0)), !u))) { c = n > 0 && !t[n - 1].open ? t[n - 1].jump + 1 : 0, i.jump = r - n + c, i.open = !1, o.end = r, o.jump = c, o.close = !1, s = -1; break } - 1 !== s && (l[i.marker][(i.length || 0) % 3] = s) } } e.exports = function(e) { var t, r = e.tokens_meta, i = e.tokens_meta.length; for (n(0, e.delimiters), t = 0; t < i; t++) r[t] && r[t].delimiters && n(0, r[t].delimiters) } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t, r, n = 0, i = e.tokens, o = e.tokens.length; for (t = r = 0; t < o; t++) i[t].nesting < 0 && n--, i[t].level = n, i[t].nesting > 0 && n++, "text" === i[t].type && t + 1 < o && "text" === i[t + 1].type ? i[t + 1].content = i[t].content + i[t + 1].content : (t !== r && (i[r] = i[t]), r++); t !== r && (i.length = r) } }, function(e, t, r) { "use strict"; var n = r(309), i = r(13).isWhiteSpace, o = r(13).isPunctChar, a = r(13).isMdAsciiPunct; function s(e, t, r, n) { this.src = e, this.env = r, this.md = t, this.tokens = n, this.tokens_meta = Array(n.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [] } s.prototype.pushPending = function() { var e = new n("text", "", 0); return e.content = this.pending, e.level = this.pendingLevel, this.tokens.push(e), this.pending = "", e }, s.prototype.push = function(e, t, r) { this.pending && this.pushPending(); var i = new n(e, t, r), o = null; return r < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), i.level = this.level, r > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], o = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(i), this.tokens_meta.push(o), i }, s.prototype.scanDelims = function(e, t) { var r, n, s, u, c, l, f, p, d, h = e, v = !0, m = !0, y = this.posMax, b = this.src.charCodeAt(e); for (r = e > 0 ? this.src.charCodeAt(e - 1) : 32; h < y && this.src.charCodeAt(h) === b;) h++; return s = h - e, n = h < y ? this.src.charCodeAt(h) : 32, f = a(r) || o(String.fromCharCode(r)), d = a(n) || o(String.fromCharCode(n)), l = i(r), (p = i(n)) ? v = !1 : d && (l || f || (v = !1)), l ? m = !1 : f && (p || d || (m = !1)), t ? (u = v, c = m) : (u = v && (!m || f), c = m && (!v || d)), { can_open: u, can_close: c, length: s } }, s.prototype.Token = n, e.exports = s }, function(e, t, r) { "use strict"; function n(e) { var t = Array.prototype.slice.call(arguments, 1); return t.forEach((function(t) { t && Object.keys(t).forEach((function(r) { e[r] = t[r] })) })), e } function i(e) { return Object.prototype.toString.call(e) } function o(e) { return "[object Function]" === i(e) } function a(e) { return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&") } var s = { fuzzyLink: !0, fuzzyEmail: !0, fuzzyIP: !1 }; var u = { "http:": { validate: function(e, t, r) { var n = e.slice(t); return r.re.http || (r.re.http = new RegExp("^\\/\\/" + r.re.src_auth + r.re.src_host_port_strict + r.re.src_path, "i")), r.re.http.test(n) ? n.match(r.re.http)[0].length : 0 } }, "https:": "http:", "ftp:": "http:", "//": { validate: function(e, t, r) { var n = e.slice(t); return r.re.no_http || (r.re.no_http = new RegExp("^" + r.re.src_auth + "(?:localhost|(?:(?:" + r.re.src_domain + ")\\.)+" + r.re.src_domain_root + ")" + r.re.src_port + r.re.src_host_terminator + r.re.src_path, "i")), r.re.no_http.test(n) ? t >= 3 && ":" === e[t - 3] || t >= 3 && "/" === e[t - 3] ? 0 : n.match(r.re.no_http)[0].length : 0 } }, "mailto:": { validate: function(e, t, r) { var n = e.slice(t); return r.re.mailto || (r.re.mailto = new RegExp("^" + r.re.src_email_name + "@" + r.re.src_host_strict, "i")), r.re.mailto.test(n) ? n.match(r.re.mailto)[0].length : 0 } } }, c = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|"); function l(e) { var t = e.re = r(1293)(e.__opts__), n = e.__tlds__.slice(); function s(e) { return e.replace("%TLDS%", t.src_tlds) } e.onCompile(), e.__tlds_replaced__ || n.push("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]"), n.push(t.src_xn), t.src_tlds = n.join("|"), t.email_fuzzy = RegExp(s(t.tpl_email_fuzzy), "i"), t.link_fuzzy = RegExp(s(t.tpl_link_fuzzy), "i"), t.link_no_ip_fuzzy = RegExp(s(t.tpl_link_no_ip_fuzzy), "i"), t.host_fuzzy_test = RegExp(s(t.tpl_host_fuzzy_test), "i"); var u = []; function c(e, t) { throw new Error('(LinkifyIt) Invalid schema "' + e + '": ' + t) } e.__compiled__ = {}, Object.keys(e.__schemas__).forEach((function(t) { var r = e.__schemas__[t]; if (null !== r) { var n = { validate: null, link: null }; if (e.__compiled__[t] = n, "[object Object]" === i(r)) return ! function(e) { return "[object RegExp]" === i(e) }(r.validate) ? o(r.validate) ? n.validate = r.validate : c(t, r) : n.validate = function(e) { return function(t, r) { var n = t.slice(r); return e.test(n) ? n.match(e)[0].length : 0 } }(r.validate), void(o(r.normalize) ? n.normalize = r.normalize : r.normalize ? c(t, r) : n.normalize = function(e, t) { t.normalize(e) }); ! function(e) { return "[object String]" === i(e) }(r) ? c(t, r): u.push(t) } })), u.forEach((function(t) { e.__compiled__[e.__schemas__[t]] && (e.__compiled__[t].validate = e.__compiled__[e.__schemas__[t]].validate, e.__compiled__[t].normalize = e.__compiled__[e.__schemas__[t]].normalize) })), e.__compiled__[""] = { validate: null, normalize: function(e, t) { t.normalize(e) } }; var l = Object.keys(e.__compiled__).filter((function(t) { return t.length > 0 && e.__compiled__[t] })).map(a).join("|"); e.re.schema_test = RegExp("(^|(?!_)(?:[><\uff5c]|" + t.src_ZPCc + "))(" + l + ")", "i"), e.re.schema_search = RegExp("(^|(?!_)(?:[><\uff5c]|" + t.src_ZPCc + "))(" + l + ")", "ig"), e.re.pretest = RegExp("(" + e.re.schema_test.source + ")|(" + e.re.host_fuzzy_test.source + ")|@", "i"), function(e) { e.__index__ = -1, e.__text_cache__ = "" }(e) } function f(e, t) { var r = e.__index__, n = e.__last_index__, i = e.__text_cache__.slice(r, n); this.schema = e.__schema__.toLowerCase(), this.index = r + t, this.lastIndex = n + t, this.raw = i, this.text = i, this.url = i } function p(e, t) { var r = new f(e, t); return e.__compiled__[r.schema].normalize(r, e), r } function d(e, t) { if (!(this instanceof d)) return new d(e, t); var r; t || (r = e, Object.keys(r || {}).reduce((function(e, t) { return e || s.hasOwnProperty(t) }), !1) && (t = e, e = {})), this.__opts__ = n({}, s, t), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = n({}, u, e), this.__compiled__ = {}, this.__tlds__ = c, this.__tlds_replaced__ = !1, this.re = {}, l(this) } d.prototype.add = function(e, t) { return this.__schemas__[e] = t, l(this), this }, d.prototype.set = function(e) { return this.__opts__ = n(this.__opts__, e), this }, d.prototype.test = function(e) { if (this.__text_cache__ = e, this.__index__ = -1, !e.length) return !1; var t, r, n, i, o, a, s, u; if (this.re.schema_test.test(e)) for ((s = this.re.schema_search).lastIndex = 0; null !== (t = s.exec(e));) if (i = this.testSchemaAt(e, t[2], s.lastIndex)) { this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + i; break } return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (u = e.search(this.re.host_fuzzy_test)) >= 0 && (this.__index__ < 0 || u < this.__index__) && null !== (r = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) && (o = r.index + r[1].length, (this.__index__ < 0 || o < this.__index__) && (this.__schema__ = "", this.__index__ = o, this.__last_index__ = r.index + r[0].length)), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && e.indexOf("@") >= 0 && null !== (n = e.match(this.re.email_fuzzy)) && (o = n.index + n[1].length, a = n.index + n[0].length, (this.__index__ < 0 || o < this.__index__ || o === this.__index__ && a > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = o, this.__last_index__ = a)), this.__index__ >= 0 }, d.prototype.pretest = function(e) { return this.re.pretest.test(e) }, d.prototype.testSchemaAt = function(e, t, r) { return this.__compiled__[t.toLowerCase()] ? this.__compiled__[t.toLowerCase()].validate(e, r, this) : 0 }, d.prototype.match = function(e) { var t = 0, r = []; this.__index__ >= 0 && this.__text_cache__ === e && (r.push(p(this, t)), t = this.__last_index__); for (var n = t ? e.slice(t) : e; this.test(n);) r.push(p(this, t)), n = n.slice(this.__last_index__), t += this.__last_index__; return r.length ? r : null }, d.prototype.tlds = function(e, t) { return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter((function(e, t, r) { return e !== r[t - 1] })).reverse(), l(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, l(this), this) }, d.prototype.normalize = function(e) { e.schema || (e.url = "http://" + e.url), "mailto:" !== e.schema || /^mailto:/i.test(e.url) || (e.url = "mailto:" + e.url) }, d.prototype.onCompile = function() {}, e.exports = d }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = {}; t.src_Any = r(567).source, t.src_Cc = r(568).source, t.src_Z = r(569).source, t.src_P = r(307).source, t.src_ZPCc = [t.src_Z, t.src_P, t.src_Cc].join("|"), t.src_ZCc = [t.src_Z, t.src_Cc].join("|"); return t.src_pseudo_letter = "(?:(?![><\uff5c]|" + t.src_ZPCc + ")" + t.src_Any + ")", t.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]?)", t.src_auth = "(?:(?:(?!" + t.src_ZCc + "|[@/\\[\\]()]).)+@)?", t.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", t.src_host_terminator = "(?=$|[><\uff5c]|" + t.src_ZPCc + ")(?!-|_|:\\d|\\.-|\\.(?!$|" + t.src_ZPCc + "))", t.src_path = "(?:[/?#](?:(?!" + t.src_ZCc + "|[><\uff5c]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!" + t.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + t.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + t.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + t.src_ZCc + '|["]).)+\\"|\\\'(?:(?!' + t.src_ZCc + "|[']).)+\\'|\\'(?=" + t.src_pseudo_letter + "|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!" + t.src_ZCc + "|[.]).|" + (e && e["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + "\\,(?!" + t.src_ZCc + ").|\\!(?!" + t.src_ZCc + "|[!]).|\\?(?!" + t.src_ZCc + "|[?]).)+|\\/)?", t.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', t.src_xn = "xn--[a-z0-9\\-]{1,59}", t.src_domain_root = "(?:" + t.src_xn + "|" + t.src_pseudo_letter + "{1,63})", t.src_domain = "(?:" + t.src_xn + "|(?:" + t.src_pseudo_letter + ")|(?:" + t.src_pseudo_letter + "(?:-|" + t.src_pseudo_letter + "){0,61}" + t.src_pseudo_letter + "))", t.src_host = "(?:(?:(?:(?:" + t.src_domain + ")\\.)*" + t.src_domain + "))", t.tpl_host_fuzzy = "(?:" + t.src_ip4 + "|(?:(?:(?:" + t.src_domain + ")\\.)+(?:%TLDS%)))", t.tpl_host_no_ip_fuzzy = "(?:(?:(?:" + t.src_domain + ")\\.)+(?:%TLDS%))", t.src_host_strict = t.src_host + t.src_host_terminator, t.tpl_host_fuzzy_strict = t.tpl_host_fuzzy + t.src_host_terminator, t.src_host_port_strict = t.src_host + t.src_port + t.src_host_terminator, t.tpl_host_port_fuzzy_strict = t.tpl_host_fuzzy + t.src_port + t.src_host_terminator, t.tpl_host_port_no_ip_fuzzy_strict = t.tpl_host_no_ip_fuzzy + t.src_port + t.src_host_terminator, t.tpl_host_fuzzy_test = "localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:" + t.src_ZPCc + "|>|$))", t.tpl_email_fuzzy = '(^|[><\uff5c]|"|\\(|' + t.src_ZCc + ")(" + t.src_email_name + "@" + t.tpl_host_fuzzy_strict + ")", t.tpl_link_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|" + t.src_ZPCc + "))((?![$+<=>^`|\uff5c])" + t.tpl_host_port_fuzzy_strict + t.src_path + ")", t.tpl_link_no_ip_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|" + t.src_ZPCc + "))((?![$+<=>^`|\uff5c])" + t.tpl_host_port_no_ip_fuzzy_strict + t.src_path + ")", t } }, function(e, t, r) { "use strict"; e.exports = { options: { html: !1, xhtmlOut: !1, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "\u201c\u201d\u2018\u2019", highlight: null, maxNesting: 100 }, components: { core: {}, block: {}, inline: {} } } }, function(e, t, r) { "use strict"; e.exports = { options: { html: !1, xhtmlOut: !1, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "\u201c\u201d\u2018\u2019", highlight: null, maxNesting: 20 }, components: { core: { rules: ["normalize", "block", "inline"] }, block: { rules: ["paragraph"] }, inline: { rules: ["text"], rules2: ["balance_pairs", "text_collapse"] } } } }, function(e, t, r) { "use strict"; e.exports = { options: { html: !0, xhtmlOut: !0, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "\u201c\u201d\u2018\u2019", 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"] } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = i(r(1)); function i(e) { return e && e.__esModule ? e : { default: e } } function o(e) { return (o = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function a(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function s(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function u(e, t) { return (u = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e })(e, t) } function c(e, t) { return !t || "object" !== o(t) && "function" != typeof t ? function(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e }(e) : t } function l(e) { return (l = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) })(e) } var f = function(e) { ! function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && u(e, t) }(o, e); var t, r, n, i = function(e) { function t() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0 } catch (e) { return !1 } } return function() { var r, n = l(e); if (t()) { var i = l(this).constructor; r = Reflect.construct(n, arguments, i) } else r = n.apply(this, arguments); return c(this, r) } }(o); function o() { return a(this, o), i.apply(this, arguments) } return t = o, (r = [{ key: "componentDidCatch", value: function(e) { var t = this.props.onError, r = new ErrorEvent("error", { error: e }); t && t(r) } }, { key: "render", value: function() { return this.props.children } }]) && s(t.prototype, r), n && s(t, n), o }(i(r(0)).default.Component); f.defaultProps = { children: !1, onError: void 0 }, f.propTypes = { children: n.default.any, onError: n.default.func }; var p = f; t.default = p }, function(e, t, r) { var n, i, o; ! function(a, s) { "use strict"; i = [r(140), r(199)], void 0 === (o = "function" == typeof(n = function(e) { var t = e._createErrorUnsupportedFeature, r = e._looseMatching, n = e._regexpEscape, i = e._removeLiteralQuotes, o = e._runtimeKey, a = e._stringPad, s = e._validateParameterPresence, u = e._validateParameterType, c = e._validateParameterTypeString, l = function(e, t) { u(e, t, void 0 === e || e instanceof Date, "Date") }, f = function() { function e(e, t, r) { Object.defineProperty(e, t, { value: r }) } function t(e, t) { for (var r = 0, n = e.getTime(); r < t.length - 1 && n >= t[r];) r++; return r } function r(e) { var t = this.getTimezoneOffset(), r = e(); this.original.setTime(new Date(this.getTime())); var n = this.getTimezoneOffset(); return n - t && this.original.setMinutes(this.original.getMinutes() + n - t), r } var n = function(t, n) { if (e(this, "original", new Date(t.getTime())), e(this, "local", new Date(t.getTime())), e(this, "timeZoneData", n), e(this, "setWrap", r), !(n.untils && n.offsets && n.isdsts)) throw new Error("Invalid IANA data"); this.setTime(this.local.getTime() - 60 * this.getTimezoneOffset() * 1e3) }; return n.prototype.clone = function() { return new n(this.original, this.timeZoneData) }, ["getFullYear", "getMonth", "getDate", "getDay", "getHours", "getMinutes", "getSeconds", "getMilliseconds"].forEach((function(e) { var t = "getUTC" + e.substr(3); n.prototype[e] = function() { return this.local[t]() } })), n.prototype.valueOf = n.prototype.getTime = function() { return this.local.getTime() + 60 * this.getTimezoneOffset() * 1e3 }, n.prototype.getTimezoneOffset = function() { var e = t(this.original, this.timeZoneData.untils); return this.timeZoneData.offsets[e] }, ["setFullYear", "setMonth", "setDate", "setHours", "setMinutes", "setSeconds", "setMilliseconds"].forEach((function(e) { var t = "setUTC" + e.substr(3); n.prototype[e] = function(e) { var r = this.local; return this.setWrap((function() { return r[t](e) })) } })), n.prototype.setTime = function(e) { return this.local.setTime(e) }, n.prototype.isDST = function() { var e = t(this.original, this.timeZoneData.untils); return Boolean(this.timeZoneData.isdsts[e]) }, n.prototype.inspect = function() { var e = t(this.original, this.timeZoneData.untils), r = this.timeZoneData.abbrs; return this.local.toISOString().replace(/Z$/, "") + " " + (r && r[e] + " " || -1 * this.getTimezoneOffset() + " ") + (this.isDST() ? "(daylight savings)" : "") }, n.prototype.toDate = function() { return new Date(this.getTime()) }, ["toISOString", "toJSON", "toUTCString"].forEach((function(e) { n.prototype[e] = function() { return this.toDate()[e]() } })), n }(), p = function(e, t) { return (e.getDay() - t + 7) % 7 }, d = function(e, t) { switch (e = e instanceof f ? e.clone() : new Date(e.getTime()), t) { case "year": e.setMonth(0); case "month": e.setDate(1); case "day": e.setHours(0); case "hour": e.setMinutes(0); case "minute": e.setSeconds(0); case "second": e.setMilliseconds(0) } return e }, h = function(e) { return Math.floor((t = d(e, "year"), (e.getTime() - t.getTime()) / 864e5)); var t }, v = function(e, t) { return t = t || function(e, t, r) { return e[r] = t, e }, Object.keys(e).reduce((function(r, n) { return t(r, n, e[n]) }), {}) }({ era: "G", year: "yY", quarter: "qQ", month: "ML", week: "wW", day: "dDF", weekday: "ecE", dayperiod: "a", hour: "hHkK", minute: "m", second: "sSA", zone: "zvVOxX" }, (function(e, t, r) { return r.split("").forEach((function(r) { e[r] = t })), e })), m = /([a-z])\1*|'([^']|'')+'|''|./gi, y = function(e, t, r, n) { var i, o = e.getTimezoneOffset(); return i = Math.abs(o), n = n || { 1: function(e) { return a(e, 1) }, 2: function(e) { return a(e, 2) } }, t.split(";")[o > 0 ? 1 : 0].replace(":", r).replace(/HH?/, (function(e) { return n[e.length](Math.floor(i / 60)) })).replace(/mm/, (function() { return n[2](Math.floor(i % 60)) })).replace(/ss/, (function() { return n[2](Math.floor(i % 1 * 60)) })) }, b = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"], g = function(e, t, r) { var n = [], o = r.timeSeparator; return r.timeZoneData && (e = new f(e, r.timeZoneData())), r.pattern.replace(m, (function(a) { var s, u, c, l = a.charAt(0), f = a.length; switch ("j" === l && (l = r.preferredTime), "Z" === l && (f < 4 ? (l = "x", f = 4) : f < 5 ? (l = "O", f = 4) : (l = "X", f = 5)), "z" === l && (e.isDST && (c = e.isDST() ? r.daylightTzName : r.standardTzName), c || (l = "O", f < 4 && (f = 1))), l) { case "G": c = r.eras[e.getFullYear() < 0 ? 0 : 1]; break; case "y": c = e.getFullYear(), 2 === f && (c = +(c = String(c)).substr(c.length - 2)); break; case "Y": (c = new Date(e.getTime())).setDate(c.getDate() + 7 - p(e, r.firstDay) - r.firstDay - r.minDays), c = c.getFullYear(), 2 === f && (c = +(c = String(c)).substr(c.length - 2)); break; case "Q": case "q": c = Math.ceil((e.getMonth() + 1) / 3), f > 2 && (c = r.quarters[l][f][c]); break; case "M": case "L": c = e.getMonth() + 1, f > 2 && (c = r.months[l][f][c]); break; case "w": c = p(d(e, "year"), r.firstDay), c = Math.ceil((h(e) + c) / 7) - (7 - c >= r.minDays ? 0 : 1); break; case "W": c = p(d(e, "month"), r.firstDay), c = Math.ceil((e.getDate() + c) / 7) - (7 - c >= r.minDays ? 0 : 1); break; case "d": c = e.getDate(); break; case "D": c = h(e) + 1; break; case "F": c = Math.floor(e.getDate() / 7) + 1; break; case "e": case "c": if (f <= 2) { c = p(e, r.firstDay) + 1; break } case "E": c = b[e.getDay()], c = r.days[l][f][c]; break; case "a": c = r.dayPeriods[e.getHours() < 12 ? "am" : "pm"]; break; case "h": c = e.getHours() % 12 || 12; break; case "H": c = e.getHours(); break; case "K": c = e.getHours() % 12; break; case "k": c = e.getHours() || 24; break; case "m": c = e.getMinutes(); break; case "s": c = e.getSeconds(); break; case "S": c = Math.round(e.getMilliseconds() * Math.pow(10, f - 3)); break; case "A": c = Math.round(function(e) { return e - d(e, "day") }(e) * Math.pow(10, f - 3)); break; case "z": break; case "v": if (r.genericTzName) { c = r.genericTzName; break } case "V": if (r.timeZoneName) { c = r.timeZoneName; break } "v" === a && (f = 1); case "O": 0 === e.getTimezoneOffset() ? c = r.gmtZeroFormat : (f < 4 ? (s = e.getTimezoneOffset(), s = r.hourFormat[s % 60 - s % 1 == 0 ? 0 : 1]) : s = r.hourFormat, c = y(e, s, o, t), c = r.gmtFormat.replace(/\{0\}/, c)); break; case "X": if (0 === e.getTimezoneOffset()) { c = "Z"; break } case "x": s = e.getTimezoneOffset(), 1 === f && s % 60 - s % 1 != 0 && (f += 1), 4 !== f && 5 !== f || s % 1 != 0 || (f -= 2), c = y(e, c = ["+HH;-HH", "+HHmm;-HHmm", "+HH:mm;-HH:mm", "+HHmmss;-HHmmss", "+HH:mm:ss;-HH:mm:ss"][f - 1], ":"); break; case ":": c = o; break; case "'": c = i(a); break; default: c = a } "number" == typeof c && (c = t[f](c)), "literal" === (u = v[l] || "literal") && n.length && "literal" === n[n.length - 1].type ? n[n.length - 1].value += c : n.push({ type: u, value: c }) })), n }, _ = function(e, t) { var r = e.getDate(); e.setDate(1), e.setMonth(t), function(e, t) { var r = new Date(e.getFullYear(), e.getMonth() + 1, 0).getDate(); e.setDate(t < 1 ? 1 : t < r ? t : r) }(e, r) }, T = function(e, t, r) { return e < t || e > r }, S = function(e, r, n) { var i, o, a, s, u, c, l, p, h, v = new Date, m = []; if (n.timeZoneData && (v = new f(v, n.timeZoneData())), !r.length) return null; if (!r.every((function(e) { var r, f, d; if ("literal" === e.type) return !0; switch (r = e.type.charAt(0), d = e.type.length, "j" === r && (r = n.preferredTimeData), r) { case "G": m.push(0), u = +e.value; break; case "y": if (f = e.value, 2 === d) { if (T(f, 0, 99)) return !1; (f += 100 * Math.floor(v.getFullYear() / 100)) > v.getFullYear() + 20 && (f -= 100) } v.setFullYear(f), m.push(0); break; case "Y": throw t({ feature: "year pattern `" + r + "`" }); case "Q": case "q": break; case "M": case "L": if (f = d <= 2 ? e.value : +e.value, T(f, 1, 12)) return !1; s = f, m.push(1); break; case "w": case "W": break; case "d": o = e.value, m.push(2); break; case "D": a = e.value, m.push(2); break; case "F": break; case "e": case "c": case "E": break; case "a": i = e.value; break; case "h": if (f = e.value, T(f, 1, 12)) return !1; c = l = !0, v.setHours(12 === f ? 0 : f), m.push(3); break; case "K": if (f = e.value, T(f, 0, 11)) return !1; c = l = !0, v.setHours(f), m.push(3); break; case "k": if (f = e.value, T(f, 1, 24)) return !1; c = !0, v.setHours(24 === f ? 0 : f), m.push(3); break; case "H": if (f = e.value, T(f, 0, 23)) return !1; c = !0, v.setHours(f), m.push(3); break; case "m": if (f = e.value, T(f, 0, 59)) return !1; v.setMinutes(f), m.push(4); break; case "s": if (f = e.value, T(f, 0, 59)) return !1; v.setSeconds(f), m.push(5); break; case "A": v.setHours(0), v.setMinutes(0), v.setSeconds(0); case "S": f = Math.round(e.value * Math.pow(10, 3 - d)), v.setMilliseconds(f), m.push(6); break; case "z": case "Z": case "O": case "v": case "V": case "X": case "x": "number" == typeof e.value && (p = e.value) } return !0 }))) return null; if (c && !(!i ^ l)) return null; if (0 === u && v.setFullYear(-1 * v.getFullYear() + 1), void 0 !== s && _(v, s - 1), void 0 !== o) { if (T(o, 1, function(e) { return new Date(e.getFullYear(), e.getMonth() + 1, 0).getDate() }(v))) return null; v.setDate(o) } else if (void 0 !== a) { if (T(a, 1, (h = v.getFullYear(), 1 === new Date(h, 1, 29).getMonth() ? 366 : 365))) return null; v.setMonth(0), v.setDate(a) } return l && "pm" === i && v.setHours(v.getHours() + 12), void 0 !== p && v.setMinutes(v.getMinutes() + p - v.getTimezoneOffset()), m = Math.max.apply(null, m), (v = d(v, ["year", "month", "day", "hour", "minute", "second", "milliseconds"][m])) instanceof f && (v = v.toDate()), v }, A = function(e, t, o) { var a, s, u = [], c = ["abbreviated", "wide", "narrow"]; return a = o.digitsRe, e = r(e), s = o.pattern.match(m).every((function(r) { var s, l, f, p, d = {}; function h(t, r) { var n, i, o = e.match(t); return r = r || function(e) { return +e }, !!o && (i = o[1], o.length < 6 ? (n = i ? 1 : 3, d.value = 60 * r(o[n])) : o.length < 10 ? (n = i ? [1, 3] : [5, 7], d.value = 60 * r(o[n[0]]) + r(o[n[1]])) : (n = i ? [1, 3, 5] : [7, 9, 11], d.value = 60 * r(o[n[0]]) + r(o[n[1]]) + r(o[n[2]]) / 60), i && (d.value *= -1), !0) } function v() { if (1 === l) return f = !0, p = a } function m() { if (1 === l || 2 === l) return f = !0, p = new RegExp("^(" + a.source + "){1,2}") } function y() { if (2 === l) return f = !0, p = new RegExp("^(" + a.source + "){2}") } function b(t) { var r = o[t.join("/")]; return r ? (r.some((function(t) { if (t[1].test(e)) return d.value = t[0], p = t[1], !0 })), null) : null } switch (d.type = r, s = r.charAt(0), l = r.length, "Z" === s && (l < 4 ? (s = "x", l = 4) : l < 5 ? (s = "O", l = 4) : (s = "X", l = 5)), "z" === s && o.standardOrDaylightTzName && (d.value = null, p = o.standardOrDaylightTzName), "v" === s && (o.genericTzName ? (d.value = null, p = o.genericTzName) : (s = "V", l = 4)), "V" === s && o.timeZoneName && (d.value = 2 === l ? o.timeZoneName : null, p = o.timeZoneNameRe), s) { case "G": b(["gregorian/eras", l <= 3 ? "eraAbbr" : 4 === l ? "eraNames" : "eraNarrow"]); break; case "y": case "Y": f = !0, p = 1 === l ? new RegExp("^(" + a.source + ")+") : 2 === l ? new RegExp("^(" + a.source + "){1,2}") : new RegExp("^(" + a.source + "){" + l + ",}"); break; case "Q": case "q": v() || y() || b(["gregorian/quarters", "Q" === s ? "format" : "stand-alone", c[l - 3]]); break; case "M": case "L": m() || b(["gregorian/months", "M" === s ? "format" : "stand-alone", c[l - 3]]); break; case "D": l <= 3 && (f = !0, p = new RegExp("^(" + a.source + "){" + l + ",3}")); break; case "W": case "F": v(); break; case "e": case "c": if (l <= 2) { v() || y(); break } case "E": 6 === l ? b(["gregorian/days", ["c" === s ? "stand-alone" : "format"], "short"]) || b(["gregorian/days", ["c" === s ? "stand-alone" : "format"], "abbreviated"]) : b(["gregorian/days", ["c" === s ? "stand-alone" : "format"], c[l < 3 ? 0 : l - 3]]); break; case "a": b(["gregorian/dayPeriods/format/wide"]); break; case "w": (function() { if (1 === l) return f = !0, p = new RegExp("^(" + a.source + "){1,2}") })() || y(); break; case "d": case "h": case "H": case "K": case "k": case "j": case "m": case "s": m(); break; case "S": f = !0, p = new RegExp("^(" + a.source + "){" + l + "}"); break; case "A": f = !0, p = new RegExp("^(" + a.source + "){" + (l + 5) + "}"); break; case "v": case "V": case "z": if (p && p.test(e)) break; if ("V" === s && 2 === l) break; case "O": if (e === o["timeZoneNames/gmtZeroFormat"]) d.value = 0, p = o["timeZoneNames/gmtZeroFormatRe"]; else if (!o["timeZoneNames/hourFormat"].some((function(e) { if (h(e, t)) return p = e, !0 }))) return null; break; case "X": if ("Z" === e) { d.value = 0, p = /^Z/; break } case "x": if (!o.x.some((function(e) { if (h(e)) return p = e, !0 }))) return null; break; case "'": d.type = "literal", p = new RegExp("^" + n(i(r))); break; default: d.type = "literal", p = new RegExp("^" + n(r)) } return !!p && (e = e.replace(p, (function(e) { return d.lexeme = e, f && (d.value = t(e)), "" })), !!d.lexeme && ((!f || !isNaN(d.value)) && (u.push(d), !0))) })), "" !== e && (s = !1), s ? u : [] }; function E(e) { return void 0 !== e.skeleton || void 0 !== e.date || void 0 !== e.time || void 0 !== e.datetime || void 0 !== e.raw } return e._dateFormat = g, e._dateFormatterFn = function(e) { return function(t) { return e(t).map((function(e) { return e.value })).join("") } }, e._dateParser = S, e._dateParserFn = function(e, t, r) { return function(n) { var i; return s(n, "value"), c(n, "value"), i = A(n, e, r), S(n, i, t) || null } }, e._dateTokenizer = A, e._dateToPartsFormatterFn = function(e, t) { return function(r) { return s(r, "value"), l(r, "value"), g(r, e, t) } }, e._validateParameterTypeDate = l, e.dateFormatter = e.prototype.dateFormatter = function(t) { return E(t = t || {}) || (t.skeleton = "yMd"), e[o("dateFormatter", this._locale, [t])] }, e.dateToPartsFormatter = e.prototype.dateToPartsFormatter = function(t) { return E(t = t || {}) || (t.skeleton = "yMd"), e[o("dateToPartsFormatter", this._locale, [t])] }, e.dateParser = e.prototype.dateParser = function(t) { return E(t = t || {}) || (t.skeleton = "yMd"), e[o("dateParser", this._locale, [t])] }, e.formatDate = e.prototype.formatDate = function(e, t) { return s(e, "value"), l(e, "value"), this.dateFormatter(t)(e) }, e.formatDateToParts = e.prototype.formatDateToParts = function(e, t) { return s(e, "value"), l(e, "value"), this.dateToPartsFormatter(t)(e) }, e.parseDate = e.prototype.parseDate = function(e, t) { return s(e, "value"), c(e, "value"), this.dateParser(t)(e) }, e }) ? n.apply(t, i) : n) || (e.exports = o) }() }, function(e, t, r) { var n, i, o; ! function(a, s) { "use strict"; i = [r(140), r(199), r(310)], void 0 === (o = "function" == typeof(n = function(e) { var t = e._formatMessage, r = e._runtimeKey, n = e._validateParameterPresence, i = e._validateParameterTypeNumber, o = function(e, r, n, i) { var o = i["relative-type-" + e]; return o || (o = (e <= 0 ? i["relativeTime-type-past"] : i["relativeTime-type-future"])["relativeTimePattern-count-" + n(e = Math.abs(e))], t(o, [r(e)])) }; return e._relativeTimeFormatterFn = function(e, t, r) { return function(a) { return n(a, "value"), i(a, "value"), o(a, e, t, r) } }, e.formatRelativeTime = e.prototype.formatRelativeTime = function(e, t, r) { return n(e, "value"), i(e, "value"), this.relativeTimeFormatter(t, r)(e) }, e.relativeTimeFormatter = e.prototype.relativeTimeFormatter = function(t, n) { return n = n || {}, e[r("relativeTimeFormatter", this._locale, [t, n])] }, e }) ? n.apply(t, i) : n) || (e.exports = o) }() }, function(e, t, r) { var n, i, o; ! function(a, s) { "use strict"; i = [r(140), r(199), r(310)], void 0 === (o = "function" == typeof(n = function(e) { var t = e._formatMessage, r = e._runtimeKey, n = e._validateParameterPresence, i = e._validateParameterTypeNumber, o = function(e, r, n, i) { var o, a, s, u, c, l, f, p, d = i.compoundUnitPattern; return i = i.unitProperties, s = r(e), f = n(e), i instanceof Array ? (a = i[0], p = (c = i[1]).hasOwnProperty("one") ? "one" : "other", o = t(a[f], [s]), u = t(c[p], [""]).trim(), t(d, [o, u])) : (l = i[f], t(l, [s])) }; return e._unitFormatterFn = function(e, t, r) { return function(a) { return n(a, "value"), i(a, "value"), o(a, e, t, r) } }, e.formatUnit = e.prototype.formatUnit = function(e, t, r) { return this.unitFormatter(t, r)(e) }, e.unitFormatter = e.prototype.unitFormatter = function(t, n) { return n = n || {}, e[r("unitFormatter", this._locale, [t, n])] }, e }) ? n.apply(t, i) : n) || (e.exports = o) }() }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return (0, i.default)(e, (function(e) { switch (e.type) { case "link_open": e = (0, n.default)(e, (function(e) { return /^[0-9A-Z_a-z]/.test(e.href) ? s(s({}, e), {}, { rel: "noopener noreferrer", target: "_blank" }) : e })) } return e })) }; var n = o(r(1302)), i = o(r(576)); function o(e) { return e && e.__esModule ? e : { default: e } } function a(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function s(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? a(Object(r), !0).forEach((function(t) { u(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : a(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function u(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { return (0, i.default)(e, ["attrs"], (function(e) { var r = Object.fromEntries(e), n = t(r); return Object.entries(n) })) }; var n, i = (n = r(186)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return function(e) { var t = e.dispatch; return function(e) { return function(r) { var o = r.cardAction, a = r.getSignInUrl, s = o.displayText, u = o.text, c = o.type, l = o.value; switch (c) { case "imBack": if ("string" != typeof l) throw new Error('cannot send "imBack" with a non-string value'); t((0, n.sendMessage)(l, "imBack")); break; case "messageBack": t((0, n.sendMessageBack)(l, u, s)); break; case "postBack": t((0, n.sendPostBack)(l)); break; case "call": case "downloadFile": case "openUrl": case "playAudio": case "playVideo": case "showImage": i.includes(function(e) { var t = (e = (e = e.replace(/[\x00-\x20]+/g, "")).replace(/<\!\-\-.*?\-\-\>/g, "")).match(/^([a-zA-Z]+)\:/); if (!t) return; return t[1].toLowerCase() }(l)) ? window.open(l, "_blank", "noopener noreferrer") : console.warn("botframework-webchat: Cannot open URL with disallowed schemes.", l); break; case "signin": var f = window.open(); a().then((function(e) { f.location.href = e })); break; default: return e({ cardAction: o, getSignInUrl: a }) } } } } }; var n = r(48); var i = ["data", "http", "https", "ftp", "mailto", "sip", "tel"] }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return { margin: 0, padding: 0 } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.paddingRegular; return { marginBottom: t, "&:first-child": { marginTop: t } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { display: "flex", minHeight: e.avatarSize } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return { width: "100%" } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.avatarBorderRadius, r = e.avatarSize; return { "&.webchat__defaultAvatar": { borderRadius: t, height: r, width: r } } } }, function(e, t, r) { "use strict"; function n(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function i(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? n(Object(r), !0).forEach((function(t) { o(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : n(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function o(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } function a(e) { return 1 / e >= 0 } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.bubbleBackground, r = e.bubbleBorderColor, n = e.bubbleBorderRadius, o = e.bubbleBorderStyle, s = e.bubbleBorderWidth, u = e.bubbleFromUserBackground, c = e.bubbleFromUserBorderColor, l = e.bubbleFromUserBorderRadius, f = e.bubbleFromUserBorderStyle, p = e.bubbleFromUserBorderWidth, d = e.bubbleFromUserNubOffset, h = e.bubbleFromUserNubSize, v = e.bubbleFromUserTextColor, m = e.bubbleMinHeight, y = e.bubbleNubOffset, b = e.bubbleNubSize, g = e.bubbleTextColor, _ = e.messageActivityWordBreak, T = e.paddingRegular, S = !a(y), A = !a(d), E = Math.min(n, Math.abs(y)), C = Math.min(l, Math.abs(d)); return { "& > .webchat__bubble__content": { wordBreak: _ }, "& > .webchat__bubble__nub": { overflow: "hidden", position: "absolute" }, "&:not(.from-user)": { "& > .webchat__bubble__content": { background: t, borderColor: r, borderRadius: n, borderStyle: o, borderWidth: s, color: g, minHeight: m - 2 * s }, "&:not(.webchat__bubble--rtl)": { "&.webchat__bubble_has_nub": { "& > .webchat__bubble__content": b ? i(i({ marginLeft: T }, S ? { borderBottomLeftRadius: E } : {}), S ? {} : { borderTopLeftRadius: E }) : {} }, "& > .webchat__bubble__nub": { left: s - b + T } }, "&.webchat__bubble--rtl": { "&.webchat__bubble_has_nub": { "& > .webchat__bubble__content": b ? i(i({ marginRight: T }, S ? { borderBottomRightRadius: E } : {}), S ? {} : { borderTopRightRadius: E }) : {} }, "& > .webchat__bubble__nub": { right: s - b + T, transform: "scale(-1, 1)" } }, "& > .webchat__bubble__nub": { bottom: a(y) ? void 0 : -y, height: b, top: a(y) ? y : void 0, width: b, "& > g > path": { fill: t, stroke: r, strokeWidth: s } } }, "&.from-user": { "& > .webchat__bubble__content": { background: u, borderColor: c, borderRadius: l, borderStyle: f, borderWidth: p, color: v, minHeight: m - 2 * p }, "&:not(.webchat__bubble--rtl)": { "&.webchat__bubble_has_nub": { "& > .webchat__bubble__content": h ? i(i({ marginRight: T }, A ? { borderBottomRightRadius: C } : {}), A ? {} : { borderTopRightRadius: C }) : {} }, "& > .webchat__bubble__nub": { right: p - h + T } }, "&.webchat__bubble--rtl": { "&.webchat__bubble_has_nub": { "& > .webchat__bubble__content": h ? i(i({ marginLeft: T }, A ? { borderBottomLeftRadius: C } : {}), A ? {} : { borderTopLeftRadius: C }) : {} }, "& > .webchat__bubble__nub": { left: p - h + T, transform: "scale(-1, 1)" } }, "& > .webchat__bubble__nub": { height: h, bottom: a(d) ? void 0 : -d, top: a(d) ? d : void 0, width: h, "& > g > path": { fill: u, stroke: c, strokeWidth: p } } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.bubbleMaxWidth, r = e.bubbleMinWidth, n = e.paddingRegular; return { "@supports (-moz-appearance: none)": { marginBottom: -17 }, "&:not(.webchat__carousel--rtl)": { paddingLeft: n, "&.webchat__carousel_indented_content > .content": { marginLeft: n }, "& > .content": { paddingRight: n, "& > .webchat__carousel__item_indented": { marginLeft: n }, "& > ul > li:not(:last-child)": { marginRight: n } }, "&.webchat__carousel_extra_right_indent > .content": { paddingRight: 2 * n } }, "&.webchat__carousel--rtl": { paddingRight: n, "&.webchat__carousel_indented_content > .content": { marginRight: n }, "& > .content": { paddingLeft: n, "& > .webchat__carousel__item_indented": { marginRight: n }, "& > ul > li:not(:last-child)": { marginLeft: n } }, "&.webchat__carousel_extra_right_indent > .content": { paddingLeft: 2 * n } }, "& > .content": { "& > ul": { "&:not(:first-child)": { marginTop: n }, "& > li": { maxWidth: t, minWidth: r } } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.transcriptOverlayButtonBackground, r = e.transcriptOverlayButtonBackgroundOnDisabled, n = e.transcriptOverlayButtonBackgroundOnFocus, i = e.transcriptOverlayButtonBackgroundOnHover, o = e.transcriptOverlayButtonColor, a = e.transcriptOverlayButtonColorOnDisabled, s = e.transcriptOverlayButtonColorOnFocus, u = e.transcriptOverlayButtonColorOnHover; return { "& > div.slider > div.button": { backgroundColor: t, color: o, outline: 0 }, '&:disabled, &[aria-disabled="true"]': { "& > div.slider > div.button": { backgroundColor: r, color: a } }, "&:focus > div.slider > div.button": { backgroundColor: n, color: s || o }, "&:hover > div.slider > div.button": { backgroundColor: i, color: u || o } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.connectivityMarginLeftRight, r = e.connectivityMarginTopBottom, n = e.connectivityTextSize, i = e.notificationText, o = e.primaryFont; return { alignItems: "center", color: i, display: "flex", fontFamily: o, fontSize: n, marginBottom: r, marginLeft: t, marginRight: t, marginTop: r } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.paddingRegular; return { fontFamily: e.primaryFont, margin: 0, paddingBottom: 0, paddingLeft: t, paddingRight: t, paddingTop: 0, "&.dictating > span:not(:first-child), &.status": { opacity: .5 } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.monospaceFont; return { display: "flex", flexDirection: "column", fontFamily: e.primaryFont, margin: 0, minHeight: 20, maxHeight: 200, overflowY: "auto", WebkitOverflowScrolling: "touch", "& > :first-child": { backgroundColor: "#EF0000", color: "White", padding: "5px 10px" }, "& > :last-child": { borderColor: "#EF0000", borderStyle: "dashed", borderBottomWidth: 2, borderLeftWidth: 2, borderRightWidth: 2, borderTopWidth: 0, margin: 0, overflowY: "auto", padding: 10, "& > pre": { fontFamily: t, fontSize: "60%", margin: 0 } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.connectivityIconPadding, r = e.connectivityMarginLeftRight, n = e.connectivityMarginTopBottom, i = e.connectivityTextSize, o = e.failedConnectivity, a = e.primaryFont; return { alignItems: "center", color: o, display: "flex", fontFamily: a, fontSize: i, fontWeight: "bold", marginBottom: n, marginLeft: r, marginRight: r, marginTop: n, "& > svg": { fill: o, "&:not(.webchat__error--rtl)": { paddingRight: t }, ".webchat__error--rtl": { paddingLeft: t } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.accent, r = e.bubbleTextColor, n = e.paddingRegular, i = e.primaryFont; return { color: r, display: "flex", fontFamily: i, padding: n, "& .webchat__fileContent__badge": { justifyContent: "center" }, "& .webchat__fileContent__buttonLink": { alignItems: "center", color: r, textDecoration: "none", "&:focus": { backgroundColor: "rgba(0, 0, 0, .1)" } }, "& .webchat__fileContent__downloadIcon": { fill: t, padding: n, "&:not(.webchat__fileContent__downloadIcon--rtl)": { marginLeft: n }, "&.webchat__fileContent__downloadIcon--rtl": { marginRight: n } }, "& .webchat__fileContent__fileName": { color: t } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.avatarSize; return { height: t, overflow: "hidden", width: t } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.accent, r = e.avatarSize, n = e.botAvatarBackgroundColor, i = e.primaryFont, o = e.userAvatarBackgroundColor; return { "&.webchat__initialsAvatar": { alignItems: "center", color: "White", fontFamily: i, height: r, justifyContent: "center", overflow: "hidden", width: r, "&.webchat__initialsAvatar--fromUser": { backgroundColor: o || t }, "&:not(.webchat__initialsAvatar--fromUser)": { backgroundColor: n || t } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { "&.dictating > button": { "&, &:focus, &:hover": { "& svg": { fill: e.microphoneButtonColorOnDictate } } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.backgroundColor, r = e.rootHeight, n = e.rootWidth, i = e.rootZIndex; return { backgroundColor: t, height: r, width: n, zIndex: i } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.newMessagesButtonFontSize, r = e.paddingRegular, n = e.primaryFont, i = e.transcriptOverlayButtonBackground, o = e.transcriptOverlayButtonBackgroundOnFocus, a = e.transcriptOverlayButtonBackgroundOnHover, s = e.transcriptOverlayButtonColor, u = e.transcriptOverlayButtonColorOnFocus, c = e.transcriptOverlayButtonColorOnHover; return { "@media screen and (-ms-high-contrast: active)": { borderWidth: "initial", outline: "initial" }, backgroundColor: i, borderRadius: r, borderWidth: 0, bottom: 5, color: s, fontFamily: n, fontSize: t, outline: 0, padding: r, position: "absolute", zIndex: 1, "&:hover": { backgroundColor: a, color: c || s }, "&:focus": { backgroundColor: o, color: u || s }, ":not(.webchat__overlay--rtl)": { right: 20 }, "&.webchat__overlay--rtl": { left: 20 } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.sendBoxButtonColor, r = e.sendBoxButtonColorOnDisabled, n = e.sendBoxButtonColorOnFocus, i = e.sendBoxButtonColorOnHover, o = e.sendBoxHeight, a = e.subtle; return { "&.webchat__icon-button": { backgroundColor: "Transparent", border: 0, height: "100%", outline: 0, padding: 0, width: o, '&:not(:disabled):not([aria-disabled="true"])': { "&:focus svg": { fill: n }, "&:hover svg": { fill: i } }, "& svg": { fill: t || a }, '&:disabled, &[aria-disabled="true"]': { "& svg": { fill: r } } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.sendBoxBackground, r = e.sendBoxHeight, n = e.sendBoxBorderBottom, i = e.sendBoxBorderLeft, o = e.sendBoxBorderRight, a = e.sendBoxBorderTop; return { "& > .main": { alignItems: "stretch", backgroundColor: t, borderBottom: n, borderLeft: i, borderRight: o, borderTop: a, minHeight: r } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.paddingRegular, r = e.primaryFont, n = e.sendBoxBackground, i = e.sendBoxMaxHeight, o = e.sendBoxPlaceholderColor, a = e.sendBoxTextColor, s = e.subtle; return { "&.webchat__send-box-text-box": { alignItems: "center", fontFamily: r, paddingBottom: t, paddingLeft: t, paddingRight: t, paddingTop: t, "& .webchat__send-box-text-box__text-area": { backgroundColor: n, border: 0, color: "inherit", fontFamily: "inherit", fontSize: "inherit", height: "100%", left: 0, outline: "none", padding: 0, position: "absolute", resize: "none", top: 0, width: "100%", wordBreak: "break-word", "&::placeholder": { color: o || s } }, "& .webchat__send-box-text-box__text-area-box": { color: a, fontFamily: "inherit", fontSize: "inherit", height: "100%", maxHeight: i, position: "relative", width: "inherit" }, "& .webchat__send-box-text-box__text-area-doppelganger": { color: "Transparent", fontFamily: "inherit", fontSize: "inherit", height: "100%", overflowY: "auto", whiteSpace: "pre-wrap", width: "inherit", wordBreak: "break-word" } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.primaryFont, r = e.sendBoxBackground, n = e.sendBoxDisabledTextColor, i = e.sendBoxPlaceholderColor, o = e.sendBoxTextColor, a = e.subtle; return { "&.webchat__send-box-text-box": { alignItems: "center", fontFamily: t, position: "relative", "& .webchat__send-box-text-box__input": { backgroundColor: r, border: 0, fontFamily: "inherit", fontSize: "inherit", height: "100%", outline: 0, padding: 0, '&:not(:disabled):not([aria-disabled="true"])': { color: o }, '&:disabled, &[aria-disabled="true"]': { color: n || a }, "&::placeholder": { color: i || a } }, "& .webchat__send-box-text-box__glass": { height: "100%", left: 0, position: "absolute", top: 0, userSelect: 0, width: "100%" } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.fontSizeSmall, r = e.primaryFont, n = e.subtle; return { color: e.timestampColor || n, fontFamily: r, fontSize: t, paddingTop: 5 } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.bubbleMaxWidth, r = e.bubbleMinWidth, n = e.paddingRegular; return { "& > .bubble-box": { maxWidth: t, minWidth: r }, "& > .filler": { minWidth: n } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.spinnerAnimationBackgroundImage, r = e.spinnerAnimationHeight, n = e.spinnerAnimationWidth, i = e.spinnerAnimationPadding, o = e.spinnerAnimationPaddingRight, a = t || "url('data:image/gif;base64,R0lGODlhJQEsAfAAAHp6ev///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OcdIEAsta1+w+G4kiW5uls6nqh7gvH8kxL7K3W+s73vowL5n7EovHYEyo3yKbzCZ0sp5mo9YotUretrPcLHnG34bL5nBpT0ew2WM11y+dN+JiOz+vsd73/f8LXB0hYWCEYZ6i4yICYyAjJ6PgYWfk3SWmpSYdJtvk51+kJSnomulaaGnY6perqxbr0OmsVq0SL62QrlNtrtIvjK/wDHDx8XFPMgsw8o7zSHA3zzCRtbULNcb0tkt3FDe6RHU7eQV1udlGljvaM/tW6WvyOpSa/Sx8l+Babr+8Ij5U/XZ0CFhxYR5RBgAiP2Fpop2HCfhAzSSSG7x6qi/+/5pWRxRHJuTbsIJUsNTKkOGOfxqk8xGuTt5dSNkby9o1mg1Emcep8MEiSz5+N7PWcSdSCUaFDkx7gc9Sl06cRF+HUNhVDVatNs0JlitTrVkNXq2TVCidqSrFLuYY9O5ZsV7YWC109iyAoWHd4Deh1y7cvVZCWpApGGwTU2sN+WcoMzDiBupyKPUZGZvnyMGCamz3sHO0UaGkKR1ubZHrbvtTg2rJuHe91vhyUZdu+jTu37t28e/v+DTy48OHEixs/jjy58uXMmzt/Dj269OnUq1u/jj279u3cu3v/Dj68+PHky5s/jz69+vXs27t/Dz++/Pn069u/jz+//v38+/v//w8gCjEFiFFsBO7x14EurKbggog0KCBqEK6DgTmlBXiLDaL5V5dkAvXnmgKf6feViBnd96BSI9on4WAr0oeJh5zVdyFk8tWoDI0b2gjfh4u91w+P7j30Y3tE5jjfkUjGp+SMN1K0JJNQZtbjlE4+ueOVWB7U2ItSXojYhjqCGSaXY7aYl5gsmukimii6mSacb6ZYFEP70ZlGiRzGlWeC/IUYQYd72gRThhC2uUwJ7Jh1aCMVMtpopJJOSmmlll6Kaaaabsppp55+Cmqooo5Kaqmmnopqqqquymqrrr4Ka6yyzkprrbbeimuuuu7Ka6++/gpssMIOS2yxxh6LbLLK/2I62UnINQspKYYOR5gmguJ2LSBp+QYoIXpi+622DILLpx9ymhajt+eClu4l7bJGJifxssumvPNe9iEeFKGrZij5jvavv/1q5iVJARO8r8ADR1ZwOw0f9rApB+ObsBwR93XxRxMzXLEbHVO8scMLg1yvxyEzdrLI7wI8sskrs/yyvXbCW7LCeNI8s7vjypazzuW+trO62+oWrlzZAu2n0dX+RmhhAxI3LUqPNrfoslZfjXXWWm/NdddeK1IbronZ2rSrSZ/6s6k3q712qeuCWvOn98o9N6cpa/pxp3lvmjGzd196It1/W9o34INXWjjhhyO+OONx61233Y97OjnlPRKTejnbQ7O6eatHp2pgrYk6VQAAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rOx0AACAqDwJ7xiPQNl8yk8wnlMKfUqPWKTVC306z32+OKm+CyWTZOD8/stkkNJ7rn9E38/qvr9xB8nA/Y8DM4COZ3F5hIKIZ1iJfI5wfl+AhJR/lEWWl5pimU5PnHaRb6aVQqOuqFusbDqqa6+iqnM5sW22hLi6PLiBvVa8obvPU7SZx3g1xlDLqcs0zWfBS9S1O9NE1drYzdqr3jnXwtPg4+jN3tfe66blNuzl4jrp4uj+4+T3//Xt6fz4/cPn3cAv4DOAOhQSUDCT5bKFAhmmgQHdqrF6xixIv/GG1ptEgRWsaPCRvim0Vy48NwHlOW5CiSlcuDK9uVmqmSmDNNOGnqdIKpp09dVhAJjdkryyJmR5ESLROvqc2WUqv2eWo16wOqWrsqeOU1rKBQYssyCGo27ddNatsaWFosqtu5b4EQkUs3r969fPv6/Qs4sODBhAsbPow4seLFjBs7fgw5MsYikoX6qkwSFuaPqTbzY+tZnqTQokeTPufoNOpDqrWhbW0sNezYr2erkm07Vu3cnHDzHsX6Ny7Twm8bLQ68M3Ljt5bTLubctbTo1Kt3spsNr/U9cLYrAu29Dc/w4seTJ3Xz/Bew6nOxb38MJfz48ucj+Wn/1Mj8U7Hy/6+FzH8s4SfgUFwVmJN/CL6034IMEuggDAVFyBCEFLow4YUY1qThhhZ2qEJIIHrY4IgsfGhiCiimeEKJLK6Q1IskyiTjC/XVOKMnOFa4244t6OhjgmNQFuSDt2hXZI5NIJmkD9gV0mSUUk5JZZVWXollllpuyWWXXn4JZphijklmmWaeiWaaaq7JZptuvglnnHLOSWeddt55G54YcKGnBN31uQB4ffqGJ5B6klUoonbSWOd7ct4Y54FuKjippG3GCCell2qqpotsYvomp2uK2qmln5p6qqOZqhopo3O6Smd6iZoHYxFMatjjG3zWSGgJypl4nIqCjjjkrR3kCiJcUP/CiGyrhi4qa6yo3MlqqNVWeu2oqJa6LZqkpgkqtpCm2u2Z33p7rpnpqlsuutlq+y630zY6L73R2tvsqvk6Gxyg/QJ6QLAAIzDkwH1gR6TBCi/McMMOPwxxxBJPTHHFFl+MccbSTecwI9YoLLC/xA26r7Ulb6qotPc+Cqu+9bIcL7gxuzszu+2WGS7KNZPpKbzjembseusmtuscQx/2JxtHEzasUjcX1qssOw9Gq9AtL7ay0y83lrV7KXN99RVbMza1flWDHbbXI6OddlFRY/00UCE7trTczVWWM1RPrhE0YnU3Alve8v7sc9lh/g2m4IOPLS7jOnf9+Nf8Su7ysyoan335269qju/csybN8N0Qd9G3xqafjrpnBQAAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4LI8BMzwEQ5/rOx/X/u/WGxKJRAkwmj8ymM6eMLp/UqpUjzQav3K53oQ3XvuTyU4y2mddsXfrdjstT7/r8jvfU9/m+n7Jn9zdImBDIV5j4dyio6DjHiPg4uRbZSInZZSnJhWPzmem3CdcZJhQqN0pKxYlqpprGyuj6Cot2tklLZnt7BKvrxSvGJAx8JTxchIxjLLscZfTM3OwkrRT9TF1tPTXErd3EDUQkPg1OXk6D/n2unG6+897unu5dP9/zDg8lj59fvu6ev3jiAgIcSNAaPYEI+UkzeLChm2wLGUp8QRFiwYv/E3n50qeGow9bxECK5PGrpL6THWdtW8kS5SFnFmPC8BTLikmb9rJo6scz2qkyMIMaNQT06NGaSo1GbKp0I1So7KY2VWh16sOsWotxzer1q9WUYr/mKisWZyu0aS+xZZvsrVwFnoTsm4s3aN28fNVe44t2FeCxawfztGTYKeLENskyvujxscSwkgciq2x5GeZ5WzeDw+q5WdXQxkCT1iX1tKvUqjM9be16NGxKr2c/qm3bEevcinDzLiT7d+/gwgkRL268M/JEppcPv+xcd8boz0lSvx35OnZV2jE57i49EvhQ4sejCmSeluD0q29AY+/GrlD4Mv/SB2bq/vm4+r3n/+y/XS8AVvffgMkVZuAdLiUoykwMNojeg30sKKGCDlaIx4UYpqLhhnFE6CEkCIZYS4EkcijgiShqoSKEUrQointbwLiIAXvRiGOOOu7IY48+/ghkkEIOSWSRRh6JZJJKLslkk04+CWWUUk5JZZVWXollllpuyWWXXn4JZphijklmmWaeiSZezNyVph4vtqmHjD7BmYFbdEZA4Z0OlKfnA2f1SdcogILB3aAHZDcoon1Stiijd0IHKKR6Tveoo3BSSqeklVp6qaaZctomqJ1+1yipk5pa6p+G2qjqqqzm6aqcI7oKYqyEpmjrnizmOoE66vAaqn3A6prfsIEOw6attf8Cy2eura5aKK3RQovqp9WOei2anm6a7ZmaRbptsIpaK6q34ab5bardmpnuqeNyO626z8rbbKLxGioor/NS26Gzsyq73rB+vWksseMUjHDCCi/McMMOPwxxxBJPTHHFFl+MccYalxJEsgib4rG/yCq8rMglx7qYybDamy+/LRvn3lDLvbuisL+VS5SJs527y7+e8fxFv6oBzbHQobVbYr2kYRr0y6cRXYV1TyMdjNRT01z0vZhRXfW6iUH9ktVH44wL2YOZHbbXhmGtE9dbq5023IDJrZLYSzudM9prp1yJ22Mb3TTbP5+cNN2M2dmG3pXhKqLhi8sKyiJ20wu4u3whu7wyvkoD7HOkkBf7MeMkExxxXSFvjHrqqq/OeuuuD1IAACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5w0gnBz3bz7D4biSJYQgKbqarbuC8fyXK32fdH6zvc+jAuycr+i8YjsCZespPMJjUqY1BRGis1qjdUucQsOi0Ne73WMTqsZ5fL6DRe33fG63Tlv3/f8XX7eFyho8gc4eIhYU6iX2OjItkj3OPkYyUiJOWh5mdm5tynpKRoHajZ6+lZqisoaptrVGuv6SiVrK0Vbdbv7lLvEC3zkyxRc7DMcZKzsh4yz/BzTfANN7SJtU51Ncq2i7S3CjfI97hH+RY4+dZ3OPsHdDn/SHE/vgFyPv3Cfz3+Q25/l3KdXAJP84lOKFIZuAlutsrNpzUNRfwbmkWiIYiGE/24aasmwMZOlProwRhIJSpAGcXUSVnJZUJEqR7RiUvCVCKdNeTo19dwJaZjPf0AbSBv6s6iBdyTnKUUQrum+pwuZWhRKteq6q1OLmmN5Z6vSrx7VWPX6lSvWsWnDigVKFiypt3DbunWKluzdrnXtQsTL1u9cvjvjciRcWK/amVkVL4b51PFeglm10p0MmapgzCMrWz6KtLPnz2tVphzt73KgiKiXqiZJGlZrqIBzZpxNOynNibhdE/Uk5EzvoIxRaRhuoTjybKeXa2PtfFzF6Ok4Ua8eu9v1fjnKbv8OPrz48eTLmz+PPr369ezbu38PP778+fTr27+PP7/+/fz7+///D2CAAg5IYIEGHohgggouyGCDDj4IYYQSTkhhhRZeiGGGGm7IYYcefghiiCKOSGKJP3RnIhgHpWiQbCwWcduLNEwnow6L1PgAQxtAh2NqybjDY40l8SQaji4apRyL1ilAmYwxJlDTixcRl1mJNEIZpZJTYpmliSEx+ZuVX/rYpJdX5lammE9md5KWW3KZJolnklmlnGv6lqSZocBZp5288VmklH+iGaSgxCRXqJPBeUfojT02Kg6jgL75aAltVmrNnJhaeuemnA7pqQy1hKqEVsKRimqqqq7KaquuvgprrLLOSmuttt6Ka6667sprr77+Cmywwg5LbLHGHotsssr/Lstss84+C2200k5LbbXWXottttpuy2233n4LbrjijktuueZKi+K0wTE7KLCd9grSksAtdOp5jmq0bnmJNtJudM29JK+//9pGqcADH3IpdXGuFihyYTK872wPS9Uwbro9NuZwE3OWcG8X/7UwaqVhnLHFG4Ocp8Rdktxxax+3tLLJIQ8Ws8gn05yyyzPj3KfNOaPcs88Hs6ypykMTXbDHR3PcssZNU7y00iWbFrXUSYd273fvUv20wv0iXPF28f4I3NTkxVsvvlvruja8RyK7IrTpnks3GmMf1+yoye4pbNFuX81217hGbGvVs/5M686x1py44q++DOvNi0v+OOWuMUJeOeOTax655Zdznjnimwc9uuGdm3562LeiLqvquWbtLuB/f+3r23s7Q62kde9uSwEAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDNYAAQDxKEwqlx+j8wllSqfUBfSKJVa3XF/2e+2KxzKwOUxOq0vntnMNj3PcdKP8jofU9/m+v7jH9zcIFyhIiChmGJjYWLVo6Ci5BMk4yWX3VDRWGXkpRYfZefgp5Ak6SlrqBTmVarnak8r0qhqLU0tZG3qrs6sV9FvXiytsKtxGfIMM/MOcrEzzHPxsFj1T3cyT/XWNXU3NHeUNww0kjkVebu6MPq6+gt7u/gbfIn5Ob2cfLz/vz0+Fu38AA6IoKGugQYEItzVcSEIhwWkQUzx0mK2ixYv/vjJqPIhPCbiPID0eQ0aSockkxlJuHEkrl0uVzB512jTzJcotlXLeq9mFjzafJX+lOQIGJ9Gfu+4gGbrUhdGoVBO8qorV6s2sXA8sUtqVK6ywZA1AK4vWK6C1adu6fQs3rty5dOvavYs3r969fPsuRRoFqt+AwwYbbGWY3KjE3q4yjtXy8aedkiVRrJxoJWY/ITf34ehZjcTQckaTXqPvdKHUqkXrE9yaymvYsVGxri3qNe6gs3fz1u1bdu/gwocTjwn8OPLkykUyb37yNnSWz6fno2ddF/bszk1znwjz4PcO3kEkHX8BtIbC6Cd0Nm+rvQPN5BHLfxDew9b7+CnD/9/PXwNT/bdYgPPJFEJTBh7Y0wiRLciAfSI8CGGE7DlIYYURApKOTgpqyEqGIBbj34g5XGZiRyWmOARQLJK44ovfiChjDCjWKE2MOK4z4I459ujjjAgGKeQsRNrw4ZE/Aqjkkl81uUyDUMJ44ZRR8mJlQudl6QyHSHAJZphijklmmWaeiWaaaq7JZptuvglnnHLOSWeddt6JZ5567slnn37+CWiggg5KaKGGHopoooouymijegG2j6MRWCMpg5RWikCVmI4l6SmVPtmpp45KyCiTi0pZKqmpgtqoqqey2iqssca3KpaYmmXrrbneims3vG4Y2K/CDktsscYei2yyyv8GFwZtn571K62vclqrqIkWOK2phSZpKJCD0giojn66+K24fd4YLrnpmssnun+6ey688YI7L717qisou+16my+//Tp2rZGKApyttQEbXO0ZYG2ajLOjZrFsxBJPTHHFFl+MccYajwjpwsRCy6umD1NbMMmHYjuwwIhyuy3L/w5JqL37yqwnvuvSfKe89fpLGsS54fyYGzbpy5i04BEcmqvXAc2Xtkej7BnUS7scNNJPO100zFfLKhnVWmpdNc87eJ0Y0VQqHTbZY6uMmc5ro5222Bgh3LXN4ewatd3RXaqa2+d4qYnDlflNiXKE43l4zmbnqffOVr/8+M2RQ47qyZMcl4t1y3B3y3XJCg8rdLGQviH4xqafjnrqqs9UAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEogWATAICS6PzCXUop9So9TqkaqfYrve2DVe/5HJKjE6a12xQ+o1sy+cUuJ2OzyfsfL1/ztf3N2gWKEiIeGUYmNj4tMjoKJkFeTd5+VN56LXU1IQJpbkZyoQG+ij6phh5GpRqaaTZ6vqahpo621OrWrSby7NrSxn8+WtDHEaErGZ8vKw1vNxc8zxGWz1NU811vZ09s82cGS7+7UJerIuebr5C3o3e/hIO/y7f4g20zn3v/iy0r1w/FP/qxRvoj5jBgwhVBFMWUGBDE74ARowzMWGlXv8XMWZ0CMlJR3YfKbLi2LHkOWGhLqqE0akTEywjSb4cmPLmx5E6S+bsmdEl0KABh+4sapQow6QN9zE9Su+pUmxSoRasOlUhVp/Itr7U6vUrrrA6Y4YkO3QR2qeqbK5NOzOO27d069q9i3eSWZl5jfLqe/MkYIRnB+PcaPje2MTfKjI29vAxZMeSW3WtfOoqZr2XN1/S7LkR1dCipZEuDfq0n9GqB+Vr7To1bDqsZ+uRbRuQ6dyrO/PGs/v3bcrC80Qu3vsV8j/Kl8eW5ZxQ4ehnqswlaIg6djjzuGs3mX1eKWjfwSMu34Y4+i9g13Py7d7K6/i3cNNf2P5+tNr69a3/679fVAD6ENGA4zhlIDBCJZjDTwyCseCDzkQooQw8VUjNhRiC4+CG3VHo4UodhogPiCSyoOGJKI6oIkgFtigiUjCWiOCMNP5n441L5eiiPTzqyN+P280npEbBFWlkfkiuCN+SSS7mJEy1RKkNlFRaON2VGcKiZYPjkddlmGKOSWaZZp6JZppqrslmm26+CWeccs5JZ5123olnnnruyWeffv4JaKCClrXXoBx4Z2gdX7KU6ANZNroAdJDuIcqklDY36XGQKilok516CuiRgdrXZ5B+mloqqXuiuiqrrYr6p6qvgpoqrafaWqt6g3L66ZSWLiqppZj+CqxgvwZL7AHh/yXLAJfMNpDMmmA+66gp1EL717UIGPvsstqq9S241CKb7HnMknusueWqSyy66Yp7Lrvtwjuut/WOci2+4TKq7aVb9FutGtcBTHDBBh+McMIKL8xwww4/DHHEEk9MccUWX4xxxhpvDLASpTCMaMd3DNzoo/PKm2mlJ6v87rCJ8hoqzPXxtRysKIkxk3CyqsMdyZjtrKC9rbkaNL2qEd2glachjYOvQwM9ocuhMb2l00tDXaWmU2PNocyMUd211lt73bTNlZmdNNd4oZ022V+LzTPbb1vtn9yP6Ro3rpJJXbfbe7tLoNqGody333/rGyDdtvUchd1LF+szfoTHariecCAbqnjJSqcM+KZGx4s46PwaHC3Hpp+Oeuqqr8566xQUAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gufQDDX8Y3neg70/u/bCYfEYgWIRNKMzKYTl4wqn9Sq9SPNAq/crrdR04p737K5Ok7Pzuy2UJ12y+csOJyOz4vsd73/b8HXB0hYyCA4aKhIiJi4+JjX6AhJySY5WZn5dRmn6bnJ2fk5ihYqRopKZTqW2mq0euoquwObNXvLUyuFy/uiG9UbXPebJGwsQ7x1vEyS/MMMHeJMFl3tMW2dvYGt3X2R7B1OAS5eLvFrng5Rq97usOoevxAqX3+IuGSvbyCYv/+/hNUagAQD0ghio+Cbg8oUNmP4bKCmMLYcXoNoS+IjPv8WM1DEBAhfx0CXFkkaOQFeSE4oH8Dyp8dUSzC6YqqciYAcnpo4+Tnb+bLnNGpy0OEcSrQNsZlIk57RibKpxjJLW0oNorRqx6tOQRkdyXWqF6gOw4rtQlah2bNXfoINa0lr2bVZeW41G9fuXbh5g77l21fmX8BP/Q6+6oadVbxF6TFlnJilUK5AG/XEKLUyx8uYudlUwzknYj9x2EYdzQgzzNAHMrNu1fS1rKGyZ7ut7eo2bthfd+dW7HvWzeC4SpomjsryceS8BTKP9hHh6ufUq1u/jj279u3cu3v/Dj68+PHky5s/jz69+vXs27t/Dz++/Pn069u/jz+//v38+/v//w9ggAIOSGCBBh6IYIIKLshggw4+CGGEEk5IYYWiMTSdhb6UpuGGdnSogmQgjhCdZSnxM+I7wx3SWUIp+gRcAiUW82Ja/XTomYkW0gajSBSudWOEQOoI4ZBBPmikjw0mqSSDTDap4JNHRinllAlW+eGSWGa54JYgGejllwWGKQqVZMbS5ZlaOKjmmmy2CYyWcNIo55xYvWnnnXjaKWGeyyEYm4h9ItWjlUXy2CKaFSLamphCyiWjmzX2xmIYGY5I6YsarKgpB451CsJJoJbA5agmrPmnqQ+pymqrrr4Ka6yyzkprrbbeimuuuu7Ka6++/gpssMIOS2yxxh6LbLLK/y7LbLPOPgtttNJOS2211l6Lbbbabsttt95+C2644o5LblQGpcqcDeiaJOl1M3ZFyR3rhqZovJs95+hnUOJWqiHvOkecoaQJyu+9hRgmG5EDC1awwJox/Jqof2TKmcQLI0yvwg9jfJnF+nI82b5zpNWxyCNDmrHDkVFcssEfx8iayy9zmnKZE6Mcsc0Xw5xwvYyw3PMUG+mFnIuVEJ0r0ruCjCvTukIMbEnGejysysKC9mxG1Kp7sEHT+pzsv0Ijy9G8t2ocNcG/fpo2273ynDTccTtNK9B141wr3rbqPSvJefstq25N8x044bECfrfce9vdt+JnO/43zU9D/bbbbRij7SvVVctcbL5VJ3rpslybXW7ppp++SAEAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDAqHxKLxiEwqVYBAs7mMSo9PgPWKnWq3Oqz3a+WKxyuw+UtOq0PndnYNj0/c9Kv8jk/U99C8f83H9zc4FhhIiDhlKJjYiLR46Cg5BBk5eclTaYnJaaO52WlUFdYn9ckYSlkXdYqa+jO6mtS69wpUOUsra7tzSqXrxpvpWwS8K+xJK2p8hoxjXMzc7FzDTCRtRl1trYrtpU2D3e1tBx7jfU1ebg6DLqQext4uPu4u70Kenn/foq5Pz6+fvXcAA7LY9w+YQXwD67VayFDaI4UQBRaMRqziwYv/y3BpfMGxo6GP86ApcnKMZERdW56g/FZKJUiKMmvqYWkz5wFlOnu+9OhT56egRBcRPWqgFtKlTn5mick0qtSpVKtavYo1q9atXLt6/Qo2rNixZMuaPYs2rdq1bIO4hNqWl9K4nSDRxZTx7iCeev+Y7CsnJOBCggcr8meYMOLEWuCtY8zKMVzIIuFRjix58mW3mR9vduj4M8bOmkUPI13a9DPU8VTDYp3a9TbWsl/Trn36Nu5esHfnJu2bt+7gN2DHJm4RNfIcw5fP7ux8NfTo0jN3iNWUegXgG1Jqd2A9w8jvEMJfAEqeQWgMedPfbEjhoXv1hcvznf+epoW/+BFw/zvPX39JySfefwL6N1SBBh6IICgKBshgg218AF+EejR1HID1WXgCQhzOtOGHJCwm4kYhlshGhSh2qOKKI57oIoUwxujBjDRyINGNTCyoowkQ9ujjfUCmIOSQLCZopIlGJbnSXEyCSMeT4WSToZRWXollllpuyWWXXn4JZphijklmmWaeiWaaaq7JZptuvglnnHLOSWeddt6JJymk4CmBK3wOuOSf7c2pX5wKVUmmjWF6uCaJakrWKKSPmmcmd2cqd6mliWJaZm+dNgemcZ+C+qVxiD4p6qaejrmqmKaqyimrpJY6q5etuhorrJJWqumo66FJKbC/Tspomo5GquiiP/+2yeORdpwaXZFBRsmhJkpGCS1yge64rYUTZqvBoNVOiSSdhRp6rpvNMrsuscsi+26mOcLZorzJdlmsu+3aOy+b+eqbrrH18huwwPsaXDDA4qqbMLwL00tgnQ/LWS6f3f4JaDAYq+eUZxt/DHLIIo9Mcskmn4xyyiqvzHLLLhOSTcoak+znxg4KenGeOduJ3l2xeJyGtT57x0XFa42nWM9oKX0Y02YZ3fTOY0m7BNRk4dSS0GfFW9nNV3PdtZNl9WuK1GHd24PZYA0c9jRpsf3LzEvDHTcYcf17GErZHY03wQ3rCravBwv+N+GFy0o2u4HzOjjjhzseMcVUQzwxw1YYE2rXx5mDLPbIbr8Meuiij0566aafTlcBACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjaoA1GpVis2+rNyu9gsmdcfcsPlcIaut6LabsY5T33S0/A6o6794+f4f1XcHSMgkOFiYWHSIqOgIxNj4OJkTKUmJSWPp55S3lom0yankeQkKKfpJyngalBqXlNr686oW+jrLU0t2W5u7sztmFDz3i0NcRoRcbFyzzCz0DN0cI71oTa25rCw9ne2yPdR99S2DfD1eXh2Mnq4Oszs87v2+4ss9T1+fIts+vw8vUq9/ANf1WZWvYLUAowYSVLjFgLAm+chBhFgxz8WN/xk3Yqzo8WLHkAVBklT48CTAlCr3uWu5EhvMkuFm0jxn8+O9nDpx8eTY7ydQgUJJlsJTdKYfjUl5emLYNKrUqVSrWr2KNavWrVy7OvMa8mgZpmDLDSJbNhfRtLNEsT0V9O2keHIdsauriBjeQjj3/qnpl86zwHpkEm5j+LCZbordMG68ODFkLS8n8xlsGczjzJcxc84i+TOU0KI7AS4t5TTqQHdXg27tGgvd2JTj0pbt9nYYS7rtHOxth2FD4FO+skFL/AQs5Mlf/26emjdz6A7XUo8F+zq+7NpRqe7eYzN4XSzHH0tovpLJ9DYy6mMPzj18Z+6nz59S3/59FPn17/830Z9//4kQoIADglDggfYEqCB+/TXID4MQKifhhCUkaCGAD2YoRoUcErjhhyDmJ+IIIZaIIIkojjjSiiHI5yKL5cXIQYs0pljZjTiSpmONPPboY19AyrjTkBcWaaSJwm2SJAvWNcnPksNBCY6UwlGJZZZabslll15+CWaYYo5JZplmnolmmmquyWabbr4JZ5xyzklnndSJ9ZSdE5iiZwKH9KkAk4BK+SSdPuk5m5x6GbponN+1+aiaP5o5KaWVkikem5muuamkl47ZaZqhojkqqZEeaOCLnqGqCoWN/venq9yll1uHSLJ36wezjvfqjoLOd6oGttG6qq+C7FdqkM//wYeeiUjBOiOChM6R6nU2WnotpjBim62YJ4Kqorbfgumht+WSe+6XGII7rrrpermuue3C+26X8cq7rbj1cdttmPua2i++0QqcrL8Dl3mwvkK6WSzDvb65K5yyVMtpoYMuO2ig00KVcccefwxyyCLDayXFiE6Zcawe83ZxrSe7zOihcz7scMSa0lzxwpA2nLPOPeMMMM+iCh10sAoDXTTSCH8aC8eNMe1PMoFBHc20Uu9FtXd8smW0PM9i7TNCx4KdKEUWc52r2CrjVbbZZ6cls2lvv/XraHWTPTZuLCuGMWt78211np3NfZjJbrPSMuGKKr543isfZPjOX4e89eMTGI0MB1SRY855555/Dnrooo9Oeummn05cAQAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MPgDEYlGITCo/xmZzCY1KF87qc4rNAq1co/YLrnXHxLD5nCKr0ex2SL12y+cTOJyOz1Ptcb1/znf3N9gWKEiI+GV4mNgotdjnKKkEGTl5+VM5hsm5pdnVGarzuSlqakPKdbo6k2rFCvvi6hRbyzJLa6trguu1+0vSWwZMDCJcjMyEm8y8sdwMjTEbTW1BWo1d8ZnNLQHZDe7NFwAQbu7AeK7OUP66/g6PVR5Pv+deD2+Hn0aeuLj/plSeSgA7BKKzraC0f25SKbSmic20hxFcnelFEcJEMP8YM7LrqAikRwTC5mUpOTJByWHyUKYkt9LkI5cvY7KMEvMlzJxTeI60eWQmTY9Aby7xmbGoUUorayoVeuzn055DKSpdigSp1atURSblCnUj0aldxX4li/OZU6BazI4t2taizp02OSaci7YlwbkH2Jr5xrdv3YvjAqtsWoiMYXtR5dCSufiw18iTJlOWpPZyJ4eQNV+669kU4NCn2ukjbUsgamDzOq9+DTu27Nm0a9u+jTu37t28e/v+DTy48OHEixs/jjy58uXMmzt/Dj269OnUq1u/jj279u3cu3v/Dj68+PHky5s/jz69+vXs27t/Dz++/Pn069u/j982qPwnDvL/F7HXfxpcc0E7/bgWn1sf7SefZQqYpth7iDF2GntaCTYaenBhGKCGfhkgl3lgKQjeVa2R6J2JdDlUnolVfefihCXG2BiMNNaY4o0ObqdjZjn2iCJ2QAYp5JAszmgkaD8m2eGSTDKE5JNQ2qgijlQ+ZaWTbO3InYsghkieil8S2CJYYzY5npgcGqKemWum4+FgFKq23odUrJiLhBc2YCCC7skoYEU+BqoRmIRScOShELGpKAf+NWoQnkFBSmmlll6Kaaaabsppp55+Cmqooo5Kaqmmnopqqqquymqrrr4Ka6yyzkprrbbeimuuuu7Ka6++/hplFa0+eiqan5JZWWiD/w7EYGBZAgKnVFwSVlhKcjZkbEF2ooGsQhtKJCmxALn5V6L7eEmtofSgG8a06sRYrrvg0BgvkebQa9ez7+Ib14v78nuSv+vcmK++4ehYsLzZINyvwPcSHJLDBzMcsMETA6yXxfNiXNay/8KbsLrvQNywxx+rGbHII4Pcrskn51WykvWw3HK3+LCbbrbrklsvo2ddm5jPW20LboXS7ln0Jn4+hDRCEFIGaKYKN2qvpTaDqnOo1aoK4RNLAwt22GKPDfWtqsCqtKtGo7p1sUKTmiHcU8o9t9ZZd3r3pjIfm7fecdv9N+Bvixo44YPTHS3iEbJqCdfhfp2qaf2QTXnllghfjnnmmrNQAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCqXzKbzCY1KR4Cp9SoDaLdcrPdL5YrH4LLZMk6Lz+z2Qg3vuufluH1Lz2PvfL0fytf3N6gUGEjIVEVWtWd4iHj0OOUoCSnkGMAYRVlp6cOptQl65/kzivd0alf6qaqZ6ArHqhOLClu7NpuDG7rEm6Z78/uaNCwXTGN8q4w8Y0xs9Nzb7MxcLE2dZX29nd0iDR3d7b0CvoxLHmNeOJ6Osu7L6/4CH187T4/tmxmL71JvT5W/f88AnRqYrx07UAgJDrNCqSEMhU4ESUyI7osiPP/hLn6T5zGkhIwiSzogaTKlAlcqWzY46DImAoYyayboZDPnxkU5e770CTSo0KFEixo9ijSp0qVMmzp9CjWq1KlUq1q9ijWr1q1cu3r9+lNRJrDULJJFxOnsIIFq6bBs6wYlXI0g53qhaLeJvrxS9vJNBfDvwsCCI4GbVpgb4cRDDh9jLM4xZMOOO05uVfkykcq2NAfhjNgzZsmiP3MubTozalOnV48+7Jo16dg8VNOuPfv2Dti6X//q3WMxcGF4h9f4bVz2veRAlp8QK5Z5BbYmdqqRPmHUO0PYs+MUob07BOtdLIOgLh43zPS7nbO3Uff98fjy1T2srw05foz697P/8OtfCsIFSAKABFZn4IElDKigBww26GCCEH7w4IQbSGhhhMVlqAGGHHKw4YcZhCgiBv2VGMKJKJ7n3orgveXiguHFuF1ENL7Dj1k3CrjKjhONZZ6PQg5JZJFGHolkkkouyWSTTj4JZZRSTklllVZeiWWWWm7JZZdefglmmGI+wEiQYpK3hplaphXmel22aCV9VZKYpIdL8hZlbk+25iRoUIKmpo+A9gloaEcWaqiRiAZK46KMrujonZHWOSmSjj6K4qVKakrpoptWaqmnnSIqaaFMilqqn6nyWSAwmHpm6os66jYoeDl+RxurGrIJnG0sztibniD2M1yFFMgZm50X/6iYK7LDOpusXLtKexuxsjJLK02t3icdJs8VJB6a0X0L7pTGHqrsqNxKeS665eaZrrrQNvmuufWyuy6V+c45L7zWZgknwG5yObCXvI7Zx6tYujpmww4/DHHEEk9MccVojGXxrQw7fPCbGnv75r8LU4svtnvGq2i7RAp7qq8tu7wqnjHL/GmtNdssr64pk3ozzjvznDPMK3PqLtChovpzrEGzPCTRXwFDmdJckVIEqFvN2pzRWdmYms9Ydayczldp2zXTVQGbtdhWFezbvV+jHTbKTqFXNp1PwXiJ3HeznbbJb5O9md9j81034VoZXjjIZ8EdNddtAR5QHBjn5XgqHyBjrPDfuBqMNcKyZD5yeRmPTnrppp+Oeuqqr85668AVAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+j4C/h8A8IbEIu6HTPqMzKazp4wuhc+q9fqQaoHYrte5DVO/5HJOLDar1y80mg2Pk9xuuf2eodfx/H5Wn+YnOBgE+EaIiGd4mNi4tsjoKOkFGTl5WVUZiMn5pLnVGcr0CSpqykNaerpqkyolOMaa6ZokJxQVJOtJiwRHpzvKy6VmCEwkvEQMaTyE/FjJvCOs/Bmtw2tGa33kSp26fdNdNg3eqvmMXV5znu2sbq7Hhpz8ThMvP18frpXrm6+Pqs+8WAALThhIz6DCP/8WOmyA8KFEBgMnWjwQ8eLFiv8aLTbsOPEjyIUiRzpMZzKktpQqv7H0SOplR3YyNy6rCbIYTpOWdqZ8RdCn0KFEixo9ijSp0qVMmzp9CjWq1KlUq1q9ijWr1q1co9261dVaz7Ci7pENtegsp2pqJcVsm0gcXFhy5/IhZ1cR3ry29vLF5/evN5SCB68s3K4k4i4ZF4/j6JgS5MiMJ1O+0vgyFsuaZ7nrjPkz6NCER3s+bPq0y9Sk37LevPp167SyOYCdsoJmbQtvgoq4ubuCzhO/gvOGhiJMP+MU2Ka4zRxD3ejNUFO/Fvj6OsXaZXDuHgOhb/AtxCck78L8ePTPzbOHoX79+znx57OIL99+CPz6VeD/z99fB/wFSFx9BJbwH4AH5mHgglCo5yCCEEb424QUVijehfRlpuEHGXaIIXcgbvDdiAJmZ6IHKKZom3Us7ufcixICJ6MJaSlY44l75HhfIbjwCGSQQg5JZJFGHolkkkouyWSTTj4JZZRSTklllVZeiWWWWm7JZZe64OglRvyAqeWOYYoJyJlophmma2W6iaWLVZZG5YpQijaliE6WuKeeS3IYJZ9MfigloHf6qaShTwo6KKKJOpokpI/SWSilecpZZ2xZwrmpbl3S2B+ZBRY331ev2JOGqKyZaiZ8tagqG6ukcqnplZhWaumieAaq6J+EHvprkwMKO2yjxU7aILLH/x6Z4HlGNutskdBGO+S0vkKr7H/ZLkvktLCO6O22yT5rbaTYXqstutxK2yyx65L7LrvjqtsrkhYCK2m3Pu6qK7/41jrndFYC3OlwZ7KppgJjJsxwww4/DHHEEk9MccV3fEurKpGBdZdZf8k6jGEezzUWbJ6qNWtlBG+F8GwrY0Wbyy9bFfMujE6FnM03R5VzE/dm1bMR8fJ8cnXzVhX0MenCXLQ0CWqVtNFDPxW1008DDarUS19VcxHlMt2y0udinbLXY5NdstVng61xMGtDfaoVX4eFG8YzeGv3heGK6x7fwcJ7tbmB+51vje0ae7S9U3f7M+L1Kv644P66a2eftxbyOjPmTdvadZthJwxK3haPTnrp6hQAACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5w0gYtB3bz7D4biSJZQhqLmyrbuC8dbSmfyjef6Ltc+xgsKh0Ti73gpKpfMJgeJdEqn1CUUWs1qt63rlQsOiyfe7/iMFpfN6bZbuma/5/RdXF7P67v36P4PONLnF1hoSDFIeLjIaJH40xgZ+QgpaVlI6XO5GZhZwwma55kSWjo3qmKqioZqs/qq1qoBS7slW4ur1ZrLO4XaC+w0Gkys5FmMXPSYzCyU2AwdFBdNLY1XjX1Tmc3t3P0NHi4+Tl5ufo6err7O3u7+Dh8vP0/PGqAxWw+Df796pL9C0aQyAEMQHLimYIc7jQYprPDMEKWHESYCOkbRAcY9/8MyLujIEaTHA7/07BpJ8iQdWflG3qrDEuW9lytpemTZsg3OnA9x1ox50+cpoUFt6iRKcSfPMztdIj0KtKhKN02lGmX1tGfUN1szZk3TNelVqCVRjiWbSaaBs2DLmnULc6NauHEtql2b9uKyu44iYnLIty/DQ30CMyjc8KDhw142YVl84l8pfEmWQtY4k9/lzZw7e/4MOrTo0aRLmz6NOrXq1axbu34NO7bs2bRr276NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPbv27dy7e/8OPrz48eTLmz+Pfh7lfuk/8rP8RCD5xwsVi58GET94wBX5d/+3q9Fe2omkgFzY0ZVSXgdOlaCB04WVmYPRVdUggRNSGKGFzymVz1fOcTgLhhuCiBeEzIEYoofLoUiZiSuSmCGCL6IYo4Yn0ihicyy2yOCIMLqo3I4lynjjj2zNyGGFAF6YpJICSkcjAjb6mKOC1TUpmH/UYVkgYtnlKOVg26no5DZjHpklDfcRidl65bHZXmRPxlmflnR6IOadgjSmZ0Bm9glooIIOSmihhh6KaKKKLspoo44+Cmmkkk5KaaWWXopppppuymmnnn4Kaqiijkpqqaaeimqqqq7KaquuvgprrLLOSusJGYLK56VeTjpnoxIm2uOhQAZKJqBcEnqsoFH/hlLZWzA6polYyyIkGUA7JiFJrvVcC98fCenDbbch2SdPuOLW9a164TKyazzmLuIXPOaeO1S777xLmJ3tzEsvVfqyMy+8/wK8br727huwwfq5W7DC5MrbsER5MsxtYg9DXDG7F2MsZLbXlHutJfRZ2/Elf5I8LSeaScQeUyymNrIuz5K2cBbJghYvFUqZZqUvxUIGpzLBeoam0FNu9rPROeMMpjBLM9200+nSPLPNMVNdNRjr9Uv0y8qWbGzIYYvdZ8R34ns22mlnvDbbdCbcNtlvqx0n3HF7fTfeeWfdntlzu7131OnJXTbYY/Md+NB6In540YsnnfjThio+ec++Dvb66MGSbmwpj0BwTU4BACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2nQH6ruP+DwxCeESi8IhMvopMo/IJjWqaVJ70is0qqlyA9gtGdsfhsrk2Jp/X7FQ63Y7LP2/4/I6v1O35vj+xx/c3mBcoSIjYZqiW2Hi2yOgoCQbJNXmpVWmJyRmlWdUZqvQJKvrlFYB6R8pkirWpyFrk6vkWK7tDOxrIhpurmwT56NsDHKS5Rmx8TGrmuwwkO8wK/YPrTF2N84yNrL3N3W34DR5eJkx+Q1w8bZuuvn7b9V6uHOfVqkpvs86+/7+hnz6ABCkILIhQT7+EDCUsbAiRwcGIFAHFq4gxlb2M/xUvcuxo7mPEayIxSitpMhvKlJVWcvTm8uW4mCL30FyJD9TAmyVz5trJM6jQoUSLGj2KNKnSpUybOn0KNarUqVSrWr2KNavWrVy7Sp0F1KurQ2I72SwbahHaSzDXJvrk9m2zuH9O0i1E8u6qkHqTbewrzy7gdoIHn3toWFzexJQmMj6F+HGmyJKzUK4sxTHmVx43X7ns+Unn0Jn5kha9+HRplapXw21teS5szuhYUJmNobabebgtzNxdp7dvsiR0Cx+iMZ9t48cdGghrgnXzI9KnR6tuvR727DT+cudn+nsM0OKXjC5v/jx6F+TXq9DsvoVA6PGjt69/4j7+4vr3j//o718IAAYIgncE5mfggfYVpiAKqTXooGwQvvfahMu1ZCF7v2VoW3LucAjDhyDK4JMV9I2IYooqrshiiy6+CGOMMs5IY4023ohjjjruyGOPPv4IZJBCDklkkUYeiWSSSi7JZJNOmpScRk82AMeJSPLyJHNHSmgkg0M+CKR6Pg5YI3xjmrnjfFaWqeaPavqT5ptuvrlmjHTW+eKdc8rJ4514uujnmXzGSaeg8+15qKFo5jhoj22GmSikYvY5KaFeSrodpm11WaGSWiap1pQewiKqRSaWeg6qDzSRiqqm3uYqcU6eJSqWWdra5KdbhpqrrkX6SuSmoAL7Ja9MElvshsf/Krsks8uKOGVwqkYybSmubtHDn9duy2233n4LbrjijktuueYy6qGU3ELbK63PIqsovJZyGWSC8Waq46Nx4aNYpVaV2Eps+m6FK2qNXoXhLnpiRe91C1cFpnaFQhweeIFORaZ8fv4SVaQ+bMzxUwNbvPFXB3cHMpxLPUxyySKzjHLKL8M8Q8oqJwUyPDI3tTMaNjvVc8w58xw0iUXj/HPLNCOVtM8uM2WztgteDHXTQk9M9NFGL8101DpjnfXTSmfMk9cfj1y11jWjnbbYX9u78tAOVxy32xI3PDPXbwvbMdXU4Q2V3UIkzLDec7OLMNiuwerVyZ+1yu++i84bMaV0GFPOt5CXap45pwW3Sy2qjJ9Leummn75VAQAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITJoAAQCTqYxKlc6qtTrNanvX7nULDsO85K/4jB6V19i0+41hy+H0+kOOh9r39TyeDwjn92enFyg2mOe2dgiWSIio2Bj1KLn1OElVOXe5mXm0yTkV2vYpRMqmhepkerpKlvVq2Ooj6yVly0rLlWs1artb21uaNDwbfGN8bDSMvKO8TKTsrDOtaUyNg025nZ3ci2vtXdN83T0+Ax5ejk4uGyvenv76ey4/H9ppfx9Dqq/Oz12iSAADCoT0D5jBHKII5lr4rIlEOg8hWgxR8aLGDv/vNnrkQO+jyAz+RpqMU+mkyguYVrq0gPClzAm3os28iTOnzp08e/r8CTSo0KFEixo9ijSp0qVMmzp9CjWq1KlUq1q9ijWrVodfbG7dZelrsJRiwZItmwkV2kkd1/Jp67aPwriCMtJdVPAuV7h6w8Trq+ovYHjsBhMubHgd4sTm8jJubPcxEmiS6zmuXEQwZmb7Nktb7Dnz5dBDRpMuPfc0KL6qOattrbglbG5nZ8duaPswo9x7WXnlDZzareCOYhJfPej45NrKg7xu/mMV9Oghp1dLbd2G6ewuQHN/0fk7i/DiV2gur4Iy+u7k15eA9tu9iPPyScCvb749foz094P/6O/fBwAG6IF3BPIX2YFqbKdggdg1aF91EC4h4YQU5mNhChhmmJ8fE3HYIW4gjtdEGSNqd2KKKq7IYosuvghjjDLOSGONNt6IY4467shjjz7+CGSQQg5JZJFGHolkkkouyWSTTj4JZZRSTsnWh1QesJuUxjXpoZMDefnlkp6IyZyRJSF55pFpmrmhmm2yWWaRa8IZZpJjkpkcl3mCGRafJk75BCwHPlGNRPF9JyKTddp5p5tvCskakA/2aGCO+tWoHqUDygjfoS926qmLoIbK4qg6jkrqiqZaiiqroJ7aKo6opnpirLLaaiOuN65666uw3sdjp5pm+uulM256rLGY/yY4bIWSOgvpo3I2ymiffg53pQG0ZutNoCVma221e6L5HJHQ+sjgriVOWiyzuwK7o6+uwvsur7nqSuOs22ao774W9usvDYQGvBTABLOXylcGozauVQtTJ21UBh98wrlNTSyMxRc/zFClSU1M8XzKFoVxx8gOVbI29DqV8kHEbtyvycI+xbHLKxcM8DezQpWzzvYyFbPP+H6sr9BDE/0zPkXznLQMNcN8s9JL0xy11EcrNbPRO0t88nhPs5zuGF8zHal2Y4MtXcZTV1UuDy2zLRvEa2e1pdpbl+VtyGLPHWPQy979t7z3Np1s1r2+PO/IonYNo+KcutvsnM9Kbu5Aeg0XniiX6/rGbeee81QAACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiaYdoLbuC8cxQNc2K+f6zvf3b+sJh8RiBogMGpfMpjAJpTmn1GopirVqt9wJ9ovrisdacJaMTi/NYLX7nWN/4fT6Sd626/cc/JwPGOjldyZoeHhAWIjIGKi42BhZ9xglaTlJmXS56ZapyQk65okUWso1CmSqWoX6s/rq1FoDS7smG1aby3OLq+s7I/srHNc6bAyDeqzckrzsfEf5LA2tOG19hXetTSK37T3y9y0uIjU7fo6ern4VwNK7Dj/4GU/PwFaPn5idD/+46X6DHwiA1RrlEbjBEyKC4RBaaObIj8OHEAH5mxjhlsVo/xgh8NpTsaOCj3aKiVzA690bkycRpCwZrKXLl3RIykwpBQ5Nme1s6tTIE6dKMjh59vSppmhQpGmULgX6k2lHp512trSalOrVmDWlioQaFezNkCu9fiVblqtRAwpBql17tCCft3AvbhwFF6VEQ2jzxoUUMZNfB4APcRz8AGA7TnIRK+s21LEwM5KtMQxYWVzkzJw7e/4MOrTo0aRLmz6NOrXq1axbu34NO7bs2bRr276NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPbv27dy7e/8OPrz48eTLmz+PPr369ezbu38PP74Khovlm2hov8+9/Pr38f+/YNd/8gT4kHt4VUBKeix5VMl5CzZAWXli6XVQeGb9VSF4Zu1l4YYcfoeVPh92JxSFI3IXIluNoaiVioR0OCGG+4HYoowR0hijjfiR6NWKPOaoY4MaAhnkPDD2JWKGQz5oYmE4tsWgkBIeOGBAmy1JYEZH1bfeYQJW2c2XFM0o5piVXFlmRqSgmWaBbb4JZ5xyzklnnXbeiWeeeu7JZ59+/glooIIOSmihhh6KaKKKLspoo44+Cmmkkk5KaaWWXopppppuymmnnh7BFpeF7sinf3l6SedlJ8bJZJoXGoWDO4wReVWQkQjFJkJh8lUirC8G1utWWXaFa679QAlTscb/rtNqU8qa4xCtYjwLbbR0OUvtspqlKEq2OQkULLbZ6houGt5+mw+uaXnLj7JZnQtusVXBi8+z77LbrrvmnotuPNTe+2+69u7Lr8D6EjyuwfKKG3C9ByPcsMMLQzywxOrOW7HCNU6bcL4XY/yxx+VSvLG/IYPMbT0nA/wqPSWT3KzGMTM8s8zIJluzyDfrcS0rPS2mbSxIYiJYF0p2i6ogSU+xqtHD8rqrFUs7HbUkN25BJVFXgyJrEEH7kHMZRqLWcn4pmz3yfyV+7eDEameM9sP24Rs33PHRKx/eeev9Hr9sY9lx3wXPPTh8fhNeuOF8G3j43nTfvTjjgUP+OOV2Kit+ueUrO+42f3K//bLm0nLes4Cjg77zm1nXOXWqVe+pqit/swq0qB0VAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MqgDEolGITCo9xqZzCY1KF85qc4rNAq3cYgCgDYtp3TJxjE4PzWa1+/1hy+H0ekXOtuv3VHyeD2jnhxdY+DY4Z6g4hvi3+DjVmAhJqSTpWJm5dVmmefjFyNnlidYZKcpFqkUohZqqejoI5WoFG3U5S/tkaynaq+vFm0T7CwwmLKQ7bHyMvOkKmmzsHDS9rEz9w1zsm+3DfIaE7c0D3izdTV4OvpSurmN+Lt74rm1+61f/Hd+Kqb++LQuYK/L+7YhX0KDCCfcWOqTA76HECA0nWmRQ8aJGBP8BN3o00PGjR2AiS5IsKZIYSpPuVn7k5HLlQEQxXc6cVDOmv5w8Z0bjCTSo0KFEixo9ijSp0qVMmzp9CjWqVG8JpzpMVdVqNpxaqdHr6lUSWF4tx2ZSabbSuLSQTrJdZO2topBy+WSsq+cu3jp69x7q61dNxMB8ARMWM/iwG4SK/7Jr7Dgu5DSGJ2OpbLmf5Myh3HLujPZzqdCiR6MqHVks6sUwV8NR7fp1vth5O2Wl7fhLuNu4e/v+DTy48OHEixs/jlxQcjq1liMe5fwy1+jzWFG/Zv36M0K8tdeA7b0HrvDiwZPHUfY8mfHqc7Rub+M9/Pjm589gb389zfw3vvL/p5/df98FKOB9OxU44CsIAjTQgg4+CGGEEk5IYYUWXohhhhpuyGGHHn4IYogijkhiiSaeiGKKKq7IYosuvghjjDLOSGONNt6IY446GvVEdzZOl6MsOtY3Y3ovnkbjWi56tiSTK07jo4h0qYjZiFVKeSWIiaG4ZYpdmsgYi1+C+ZiYZbIQpXFZanBTc9edKYKQ0U0ZB37IbcYEknc6yUGbRgpHWp5KqqlnnXQG5+d+IIR5nJ2CrombLGkyhFA4y80xKaWVZkpbosGQsOmnJIYqaoiklqrlqZamqiqnEba66oewxtrhrK4+OCuWuZq6K6ut8tqrrMHWOqyHxRL7q5XJ/+pKaonLKtuss9GSWamXm1LJqLVwassnt4E++W2Tjso4bo2z7XhAoj+hy2677r4Lb7zyzksvR7qdceuS90KHrqI3ylfkn+BCQ+6gcjWYbzWHdgVkLHha5Z90204FcC6Q8kiwxRcT1e12GwM1sT3VRvWxDNMyNTI62aKcssjXNhVqdS0rdXJ5MbN8s8szH/UsgztjfKrCL9PcMzw1A62qx2MOdax7Qydlq84lswSr0gsLFbXVHXPcNHor85y11AaDXbXQDyNdtM/hkp20zBnD3LXaRBKdttj+OhX3PhGT3LZmBEJVtzj7Kshw36vsu+5YQVP79KiNS/u140tDe/aJIRt7KzCXbxdcbox7B3lgv6A0WG/ppp+OeurhFQAAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDAqHxKLxiEy2AMqm82kASKdUqPXKo2q32K7XtQ1rv+SySIwem9dsS/rNZLbn9AT8Xs/X73y9v8zX9zd4FRjYJUc4Zyj4lKYIyIindAiJJdlohGlphTmp6cnp6AkHSipKSfpmqoqapLo6BFvlWjT7KHRLWyury5Xrm8gLFKwWVCw1DIws7MOsfPy8XAz9w9zcc11NTD3dvZ31zS0NHu7bS16uE0x0ja1+o2urDW9+Op9en9PKKq6/H+oIvX87GKVCRnAcroPsEhILMAXipYYOK27wZzFjhXP/Gju6kecx5IRbIkuODGgy5YN7Kls2MOgypoNPMmsyiAMRp82dPHv6/Ak0qNChRIsaPYo0qdKlTJs6fQo1qtSpVKtavYo1q9atXLt6/Qo2rNixZMuaPWspDFpRsdYSyuR2T6W4dCTRXWT3LhuUer/w6+uFJWBEggd3Kmx4FN/EijcxPuz4MZS/kp0srsxwLubGcDc3MeS5UOfQnI2RJvFOhdrTIdqytjz6NTrQstvlzFs7GuXcBWfxzgbyN8DgwmtgLA4jH/IXypcvae5cNfToJ9xRBzPwuvTs2qtz727COvgU4sej+G7+DPr0rRGy9378fXuK8lHTr2+fOP78u/eX//Dt33n9BfgfbgRuF9uBAi6kYHI5SZRagxJOSGGFFl6IYYYabshhhx5+CGKIIo5IYokmnohiiiquyGKLLr4II1IRxviSazTaAdONocx4IkkucrSiez1OB6I7PG5o5JEZJpmMiExGFOKTTX4oJZQeVjllh1gqKeGWWWroJZcKhqllmGISSCaHZp7p35plbvmml2qaGWeVV8pZp5R3wrmnnlRiWaSdUfo5aJIkPlmioSaWt6iQKMaXqH7CJcLmfJfxFocYMVyam2Yr0IZcZMzdlkylniHGIoA/+tiipI8CmaKjQ94XqayHEvmnrSMyuut6heoaKK59Qjosrb0KOyewv/8aeyysszrbKLTPqhokq63CQuOA1xqYLag34sjgtzc9aKq45p4rFE6lomsHqeHq6G4pOmr7qrUqMtustE76WiyxyfKaq5H5CrwswQEjejCTCSP8r6ANEwpmmg9DjIS6615FZ2aaVuWmQDlGlXE7qCrV8WycyiixbtQyFbJCK5OMp8uuHpWyM8gCVbM9/g7Fp8z48tyzzQCjTLHON/sEqM/KEuWw0IouxbA1UcM8dG9TJ2WwyllDze9wCkO1s9dPOxW22FVzjW0/W4N9stZnN8Wtx19blem7Fc/NlU4TjV3w0kiuHWzXE+sbOOF9vxytvfUivvjI9zqe6sffeopu3bcMsYt55ppvznnnpBUAACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNc2CwT5fvf+D7QAhsTiUBdMKpc0o5OIZEqn1M/zaqxqt9wH9gvtisdSsDlHTqt75/P6DW+13fG6XTRv3/d8TF7fFyjo9Wc2eIhYCIjI2KdI1xgZ9wgpaZlGaXi5OZYJxgnK5fkVWko1imWquoR6tfoK1PoES3sj61Sb23R7pOsLwxv2O6wSTHy8Yoy8XHLL/NwsCz0dgkp9DeKJvd2Ryf3NURgFTu63WI5+seOKlu6uweOIFP9eX0Habq+vkLfvf6Donz1vAt2NKkiuFUJw0hZi4+XwGsSI0ILlO8TjIkUK/xYZHZm1cYJFjXwqhWwwkmSdOSchpBT0pyXKkY7EyeT3smbMmwly3iHI04DPn4+CAqS5h5LRo8qSKl2qo6PTokuRTqVqVOpVm1An6twJNWrDkk/Djv3aLyxToDDBqhVbFmPat2u5yjVJd95cSXjzwu3r8W8vvw7wmcpImOO8xIwbO34MObLkyZQrW76MObPmzZw7e/4MOrTo0aRLmz6NOrXq1axbu34NO7bs2bRr276NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPVQ8ldlNfOLePVxM8OHvCXZDvnwEa+rNKWwvsmn1dVDSW41OnxTOoc7d1v+VzxxWKdXXnDbnaaXcQQMWsdyCCB7noFfGRfjgcBQCKNyFFQKnoYQWdugMcSB6GNyIZ5VoInsipqhihiweVNyLBn4oI1Yr1hhQjDjaReOOLEHo4zk6BgkYikSmkuCRSDaoTYQFzuhkfwIOiN+Brixw33P5paLShtBt+dF6J8LnUotk3qNUemdiaeWSa24g5Jvh6DWOnHbeiWeeeu7JZ59+/glooIIOSmihhh6KaKKKLspoo44+Cmmkkk5KaaWWXopppppuymmnnn4KaqiilqfmooYxOl6iAZV6p5l/jqknhnhm2Sp/di44q4O56koYq2toqBaXgQBbVZxvgBgUj3D/dMhTXGqMeNOMvyJ7kqtimFjte5hAuxGJonBLUYjbUhuRl1VgG66sWqRYrrmngLuQrevCG6+7ZdArkLxb4JsvrfMym6699wLskL7nElyvv/temK26/0YZsLddMBySwgvz2q3AB1Mpk8TXctyxuMta3K61zzocsbR2eFwxjEm1+aNZzpLFVrDi+DpuPzh3C3MWlsTcWJGBfUTPsBhFhfTOlIEZpqNAI2rjoCoDqu2r1ihNqsh7akwmyWeCXKvBXYMtJ8RlY3w22mtSeCvbbas9ttlfu502rnXbfbfY4dGdt9dZk/0m3GsD3jesgfsdt9axsvy2yXlWHajLUkdt6F6KDDItjKSIjcp5598UAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCpVgKXz6QRIp1Oo9cqjardNrPfb4oqlgS74jP6M1+S0+21hy83wuj0xZ9/39vycD5jm9xdYeDWYZ6gYhSi3+HjUSAhJGSQ5WZmpc4mp6WnDqfc5ShPqSIoKYzqW2hq2yuoqewIrNvvTRCVYu3W7I4rF2+ubkxgsXEV8M3iMTKcsg+jlDF0j2cxbPcN5KKxdet1d+x3NLW5KXn45jZ6uah5ctu4eE/oFT+/SDsacr97o5s8zf6/CvamSjKA1gwobPmDoMCIDgBIrLpBmMaMCY/8aOxrIFcujyAO2Rpo8iTKlypUsW7p8CTOmzJk0a9q8iTOnzp08e/r8CTTok4FCXa0pmqof0kog/SxlOu9poVVSp1Ktuicb1jreth5E5jUg2LBonBElO9Qs2ntmz65N0vYttrFyGcWtm1Yt3iVt2+xVcvcv4MCCI+ktjIQwYiOHFzOm69iw1siJx1GGC+sy330vurjVHIFzik6gQ0NEQbG0BIyj8amGcGpF5ter5YEsaJk2Lsi6NzXuDarvZ+D6hBMPLnz48dbJlS8v0VzXc9zNpxeP7tc6c+zOtXPgLt27CfAJxZMgX958CPTZ1ath7/48/Pgg2Len/30+/g72u+//N03ef++hJyB/BBaYX4AIJsjdggxG5+CD1UW4AXgUVojdhRIqpuEFE3aIIYcgeijiiCTyZmKIs6U4oGgsGujai/WdJuN6th1VIxMf3eZfjj7+CGSQQg5JZJFGHolkkkouyWSTTj4JZZRSTklllVZeiWWWWm7JZZfi9bgljl6SxFGXqWVpD5YuSpnblG1CiWKT1EQ555O/MVkiknka2RecexLZp5PGyflnkYHiWaiHZSwKJnCJruZIo6o9+hBr5tWJwZrPYXpimtrFCelk1nXVqaibrhjHnctdleqho8Y4wYevntnqoN4plSmEX95YkgYWxtfUojDqaqiCgBo7pH5B/yq7LLM/2nfsgUJCmyy1zUp7LbJAWpvtr9M6+6y23RIbbYbFNqinuUequy657dqqJLxLUvotqPGaSierVGq6L61aNtXrmBsxKnDBBh+McMIKL8xwww4/DHHEEtfW8FGSCsprSGZaqmZUV+rrJsj5olrVxUWQihTAupicBcpB4TqYvTl5XJnMNvErBL0uvTmEqzPjm7OqNXnD8jtCz3R0D/IOnfQvOqe0tA8+05QcEVMjXXXPT5sk626cUu2u1E23FLbYNu9cttJnk512y0DLhK7WPGPNriUi39y22bAy3XXQe4Odt9cc/9y31TDvVHfNGvuUOFy2CZty1vdGfe7WMidS/u7a1X49r+aV3y0oyWx62jGNVQ7OZWwJezZx666/Dnvsss+OUwEAIfkECQgAAQAsAAAAACUBLAEAAv+Mj6nL7Q+jnLTai7PevPsPhuJIluaJpurKtu4Lx/JM1/aN5/rO9/4PDAqHxKLxiEwql8ym8wmNSqfUqvWKzWq3XEDA6+WKxxaA+Ywmq9cJtNvNjovf9LP8fq3r8fyp/t8XyPS3J2iIRFh4uBiUCNjF+OSoaEUYiThJVzl5aZSpSfVp1jkkCidlmkb6k2oX1aq6ygOLCusqO9v6ahuLi5Nay3vr+2sKJfxGnCMajDyqvMx57HwKfZPoR91rbVNXpb3NfY0FHi5+LlE+jM7uoL7eHq/wLl+/8P5sr/+lvu+P708fvYD2BhKsV+6gQHAKF1JrWPAhxIjCJu6raPEirYz//4BxJMjso0JsIjOCGRWmpMqVLFu6fAkzpsyZNGvaHEfpprVPOolt7NkJI9BFEof2YWiUj8GkawAyZYMv39MuUVNO1VIV3tVQWaVu/dbV69ddYa2Obdb1bLayZtUOYqvVLSa4ciXBFVv3yF28eYvsbdvX797ASv4CJtxoMGK9ihcLvuvYU+PIQiZTrgz5cim6momw7fw4LWjPYUdzODyitOkyOVNXXV0hU4mssNMZc720doOfIvrpfsCLRMLf7oSG0Ea8OLLZwZPvLipcl/Pn0KPLnk4dOYqToLADH+7dh+/wucaTj2b+/LXc6ms4bb8+PfwZ7+fTqG9fBv78MNjz/+8v338uBCjggNoVSN+BCOrnzILuNejgg7ZE2M2EFMbH04XoSaOhDo50CEQyII5IYokmnohiiiquyGKLLr4IY4wyzkhjjTbeiGOOOu7IY48+/ghkkEJ2wF0aqA1pG4dIRsDbkgwY5+QBDR4JJFJREvhjVEi+NiRtQYqWpWo+ftYjZzxmtiOaOVp2I5s2/pWmmzTCqSOda8o5o5046tmmmnvimaeZdwo6aFllknmomGcqmiiXVTr6qJZd+heplUuCdyWEUbbR3Kb3SOfpPfwoGao7oyZDZYRFxlVqdo+0qhypsBoA6qyn3jbrcq1q6qmCmVa3paWXYjqpsMUa+yWWjf8Sm6yycVI6prOLSlsospX6KiS0YVp7ra6bctust73y+q24pVpo66rX2UprSOwioG53785zq5Hz3otvvvruy2+/MoLxRcD+tmuJvri+2+S5ne5qrpPYBgtutBFPy+y21P6537IX1wimxRk/CynFkno8ssYf+1WvW4xKRtJUhs4l61Avh+auUSsnlnBPN7OysM4d4wylTj+HCKxNQ4v3sNElA03uTSHzPHFMJ5cXNUza7nC1TBtXuLVLVRfTtddNYxZ2Sw2TXTFQPZNWttUHM9a21B+mynTST3lDN9pfY7x3n33zPXa2dgseOMRr/4ourInnWqvi9baMb8yRa5L3wJYNX4555ppvznnnno9VAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCYBAYCzqYxKo86q9TnNan3XbnULDs+8ZLH5nCKrmei2m7NWv+d0Slxez+sRd/z+T9dXBkjoJjhYmBh26KXoqMXY9Tg5FXlFiYlk+ZXZSbTJ6Sn6AzpqymV5qrqzueqaw/gqa3M4a1tzd6tL07jr+wscLDxMXGx8jJysvGwkx8YMvRAZTd1UWp0MeoltrL3NHeyNCK4rPk4uwXT5nGe+hh7R1+7uBy89bUj/bp9w3aYfhx8fbWgABhTo7ozBg/boiVnIEJ2+hxD3kTMIpqLFi/8Yt2ishw2ix48gqYmERLIXuIooU0ripjGLy3MmT1aa+a3aR5k4raxkebNnKJ1Agwr9WZSKUHYhbUpZigWm06dHOS5s2VPi1ZFZtQJchLNhR64u+X0FW9asQzMzBVoT94+kWwPm4sace8Cf3alzUwXairefoD0YmQbOW8ZwHYeKD/ejVNexLYKSfdVqXHmWukaYM3v+DDq06NGkS5s+jTq16tWsW7t+DTu27Nm0a9u+jTu37t28e/v+DTy48OHEixs/jjy58uXMmzt/Dj269OnUq1u/jj279u3cu5Po7F3H5pLhacUqb14v+hYJ17uY6D7N2fgmktJnoA5Kurv3B27/vLdTf28NBqB97rWiQFvxeSNYWuhFRpeC5a01oFwTwtdVeF9lyN1VVXVYWFjdQQXYdiTOp92JKGanInwptkjhizDCBeKMDNZoo3rX5UijiTwiiOOPtXgnJD4jhijhkROJqOGGDl7YXpJNQlghX1DqaOGClCVo4IF+JVhlewKGSR4fZG45JmJl4idmmtJAAV4DVLpZgo501nmmSneyMJ5Pce4JaKCCDkpooYYeimiiii7KaKOOPgpppJJOSmmlll6Kaaaabsppp55+Cmqooo5Kaqmmnopqqqquymqrrr4Ka6yyzkprrbbeiqtZ+rWaC6pGhopmpz1uGmOmK1Y6lqVW/44myZ9KLZsZgWx1Ge15GQX4WbBU8Vettkuk5NmcSjx5mIvjkouXuZqg29exRTCZbrLrgltuic1IiRC0QcDbrr2f4KuWv++yK5a+pBBcsMBDAJywvANn2a/BQNAbGLf3YlsxtQtjnLHDR3AcsbsfSwwPyfsqHHKx54ocr7rbiluZy0bdCJrMM38pWpsU4cwszQUNmZq3CuW5q2o86+GsaX3+Z+qauT7N2tJD+SpPqUACe7WwPhMLs7Iqe/31pB6LPTakJiuqcaMWS5o2o2ub3faiID/6Nt1xy302onejnfehfetdNtw2kx02pYUjO6ymUlv7qZ2cHi2qPEk/3izUlghfjnnmmndSAAAh+QQJCAABACwAAAAAJQEsAQAC/4yPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+s73/g8MCofEovGITCqXzKbzCY1Kp9Sq9YrNngDcbgCgDYsz3bJ5jE47wOY2Vw1Xu+fvuNz9ndLp9vC+DfU314clyMdkiEdIlXiY1Ai4GAX590jpJfl0WWm0WZbZ5MlZJAoGqlQ6KlR6ipqqGsTa2vkqSCQ6e1RrO4Sbe7vLu7r5CxwM60NcPHyMnEy5zNzsKO0cvTNtaCx8/Zy9p0vd7f092Pn1aToOVA6+/q7R7g5PTyEvXp/PcG+u79/AT9G/gQcCRiKIEJ1BTAkHLmTY8N9DiBHzTVRX0d/EjP8SH3J0uPAjyIAiO/IrOVIeSpPtVqbM5pJgy5gvd9FMOO0mQja1dEZ8lcfnT19CM14qutIaUpcYlzp9CjWq1KlUq1q9ijWr1q1clzTtWtPLV7DjGpFdB23s2VPE1K5dlOot255yJdmsC/cuXjg599455vcv4MBivhEuDPOwlnKKszBufOUxZEaSJ+sxbJly38yXE2/Bx9kDZhOQQoPwLIKo6XibQwBdTabZiGCwY9NOPbi2vdunW+uWoPfDzN/AXwsfTjxCXNcqkxdX1vue8wnQcJ+cTp0bc5LYgSv89Jl7dx4ex5Mvbx7HxfQ61rO3cdHt+xbx59eob38G/vwx9vP/f+HffyzEJ5+ApLlnoAsbJaggggyusOCDA6InIYQGVdigeBiqcOGG9F3n4YTIhWhhZSRyaOKJKPqmYom8tZghXTD2t9yMNKhmo36l5XgeaDyS92OQQg5JZJFGHolkkkouyWSTTj4JZZRSTklllVZeiWWWWm7JZZdefglmmGKOCQFPQZGJAU8+ogmQWWw+4Mmb++Aop3F1yshmbmjqOSaLYPrp5WhiovYnoYGm2KWgX454KKBbMpqooY06qqWihcpGJqVcarrpi3sG96mdb4qKQoEnylLqPDNCV4JZpkq444GlvVqhUsfR2SIbZ6ZKap+gZsrnpcEuKmmnlhpbbJbS/xELKZYgItuslRpW+qyy01q7LLSIXtkhtdVi25y2xzobrricUpntpOdWWa66njKLqa/DCtvroHiOWqOcBbGqbwLV9TunrQAvoCutAx+McMIKL8xwww4/DHHEEk9MccUWXwyVwQoLDLCbDPPbMch3oqrvvcCaLC/Ka/VjRbxnJdKyy12pCbMUyV7VViA3U5UvIjtLpXI4P2ccNClDP/Wu0EcjtS45Mlf1NC1LFzV1j00LNW4vVfuUdTVJA92110UTfbXVX0e17Ta/8py21mejHbbYuEK9tdlzs1233UfNnLfesW4Vt9F7k1W22zUTXrjaLK88byDf1YFX1PbWOznJIxzfHeq/CA++8eEPq4px6KKPTnrppp+Oeuqqm1YAACH5BAkIAAEALAAAAAAlASwBAAL/jI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuCx9ATNf2jcvAzvPBnAsKh8THrIdMAovMptOljCqf1Kp1I80ir9yuV6ENb7/kclGM3pnX7Fr6vWzL5yT4m47Pd+xwvf8vwWcHSFiIIDhoqKiHmLj4KNfoCEn5JdlXmel1OanpycTZ+TkqFHpHihpkepra6raa5ir7Ahs7e8tSi0Z2pIZrqau1KfXLFSxmHFZsdSxchbnc1EzMzBp9Nh31DH1NlD21Ldp9850ULj5uU95zzp2Os+771PheGl8tWK+63u6u//rtCr1/8LIJRERw37SDfBLmWJisocOCuoD5m0ijokVb/xgfwiqDriMMU2w4ilSIMFKWk6Dy4dEWh6U3k39iynSy0ubNnTx7+vwJNKjQoUSLGj2KNKnSpUybOn1qDCpQZVJPXqw6LiXWd5y2XiPpddnHsLOCkXXV7CwqiGpHGWybqRzcuAHnQrpnd1E8nXnz7O1raC9fwHMEDya8xvBhxCAFM2Zk+PHLyJLpUK7cRjFmlZc3N3bsuSTo0J//kjYz+jQv06pL12298TXs2G9n0zZr2/Wx3KjZ8l69+7fuVcJFjy3emzjyzKGWF5bk3K/L6BqoZaRJ3cIuNz+sZ78Q8jvwq+KHaS1/mzz6eV3XR2zvvh/0+OyV05dW637L/Ppn8v/vb89/AHqk0YAUCWjgdQUmqA5uDAKE4IO0LCjhSBRWCMWFGLag4YYrROghh/aFOGFzJCp4yYkQTqciihK16KI1MK643YwHrmQjNuYslmOPPv4IZJBCDklkkUYeiWSSSi7JZJNOPglllFJOSWWVVl6JZZZabpkgj1xW0As4X4KH3ZgNsGgmGAOlmYCJbBoAVprEeUkliFgG9yWeWfp2J59W+lmlXH0COqWgVxr6p2yBKlooP4cy2mhtiUq6KKV1Wlqpno+mpSWhmdo5KaifujmmqIPCxyapIR7xQ6sqpHgiVSiguaF6e3RX46rhhSAMqySedwKrvrYI65twopqqqqX/xmmmqaEyy2WHmx4XrbTPjtipg1tqeiq122qbrbWXOhupt9+aGy60eWJbLbvrItssvMkCa+yaxra565sy3nsmMXTyC2d3rgJMcMEGH4xwwgovzHDDDj8MccQSP+Lvw7kinK+ctOpr773yLlvsvB+fqyzJJaer7p7ijotut+5O+zLMMbNMbpTcunxyYQM/drNx2hAGrs+y5rXye2WeVbR8R4dVs9JLe9VyFzlvNbPRHSM9stQpk5U1Q1szffV4U0P9InNRg71vcmdjndNkTVONKzv/Wv31qHXTXHW5a0vZs8x36/034GPbHXK7eeNd+Ltdq7w4zhuDTC/Hj9ebscZPEfMbpncNhynwxJ5/DnroRRUAACH5BAUIAAEALAAAAAAlASwBAAL/jI+py+0Po5x0gQCy1rX7D4biSJbm6WzqeqHuC8fyTEvsrdb6zve+jAvmfsSi8dgTKjfIpvMJnSynmaj1ii1St62s9wsecbfhsvmcGlPR7DZYzXXL5034mI7P6+x3vf9/wtcHSFhYIRhnqLjIgJjICMno+BhZ+TdJaalJh0m2+TnX6QlKeia6Vpoadjql6urFuvQ6axWrRIvrZCuU22u0i+Mr/AMcPHxcU8yCzDyjvNIcDfPMJG1tQs1xvS2S3cUN7pEdTt5BXW52UaWO9oz+1bpa/I6lJr9LHyX4Fpuv7wiPlT9dnQIWHFhHlEGACI/YWminYcJ+EDNJJIbvHqqL/7/mlZHFEcm5NuwglSw1MqQ4Y5/GqTzEa5O3l1I2RvL2jWaDUSZx6nwwSJLPn43s9ZxJ1IJRoUOTHuBz1KXTpxEX4dQ2FUNVq02zQmWK1OtWQ1erZNUKJ2pKsUu5hj07lmxXthYLXT2LIChYd3gN6HXLty9VkJakCkYbBNTaw35ZygzMOIG6nIo9RkZm+fIwYJqbPewc7RRoaQpHW5tketu+1ODasm4d73W+HJRl276NO7fu3bx7+/4NPLjw4cSLGz+OPLny5cybO38OPbr06dSrW7+OPbv27dy7e/8OPrz48eTLmz+PPr369ezbu38PP778+fTr27+PP7/+/fz7+///DyAKMQWIUWwE7vHXgS6spuCCiDQoIGoQroOBOaUFeIsNovlXl2QC9eeaAp/p95WIGd33oFIj2ifhYCvSh4mHnNV3IWTy1agMjRvaCN+Hi73XD4/uPfRje0TmON+RSMan5Iw3UrQkk1Bm1uOUTj6545VYHtTYi1JeiNiGOoIZJpdjtpiXmCya6SKaKLqZJpxvplgUQ/vRmUaJHMaVZ4L8hRhBh3vaBFOGELa5TAnsmHVoIxUy2mikkk5KaaWWXopppppuymmnnn4Kaqiijkpqqaaeimqqqq7KaquuvgprrLLOSmuttt6Ka6667sprr77+Cmywwg5LbLHGHotsssr/YjrZScg1Cykphg5HmCaC4nYtIGn5BighemL7rbYMgsunH3KaFqO354KW7iXtskYmJ/Gyy6a88172IR4UoatmKPmO9q+//WrmJUkBE7yvwANHVnA7DR/2sCkH45uwHBH3dfFHEzNcsRsdU7yxwwuDXK/HITN2ssjvAjyyySuz/LK9dsJbssJ40jyzu+PKlrPO5b62s7rb6hauXNkC7afR1f5GaGEDEjctSo82t+iyVl+NddZab811114rUhuuidnatKtJn/qzqTervXap64Ja86f3yj03pylr+nGneW+aMbN3X3oi3X9b2jfgg1daOOGHI74443HrXbfdj3s6OeU9EpN6OdtDs7p5q0enamCtiTpVAAA7')"; i && o && console.warn('botframework-webchat: "spinnerAnimationPaddingRight" is deprecated and will be removed on or after 2021-02-01. Please use "spinnerAnimationPadding" instead.'); return { backgroundImage: a, backgroundRepeat: "no-repeat", backgroundSize: "contain", height: r, width: n, ":not(.webchat__spinner--rtl)": { marginRight: i }, ".webchat__spinner--rtl": { marginLeft: i } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.bubbleMaxWidth, r = e.bubbleMinWidth, n = e.paddingRegular; return { "&.webchat__stacked_extra_left_indent": { marginLeft: 2 * n }, "&:not(.webchat__stacked_extra_left_indent)": { marginLeft: n }, "&.webchat__stacked_extra_right_indent": { marginRight: 2 * n }, "&:not(.webchat__stacked_extra_right_indent)": { marginRight: n }, "&:not(.webchat__stackedLayout--rtl)": { "&:not(.webchat__stackedLayout--fromUser)": { "&.webchat__stacked_indented_content > .webchat__stackedLayout__avatar": { marginRight: n }, "& > .webchat__stackedLayout__content > .webchat__stacked_item_indented": { marginLeft: n } }, "&.webchat__stackedLayout--fromUser": { "&.webchat__stacked_indented_content > .webchat__stackedLayout__avatar": { marginLeft: n }, "& > .webchat__stackedLayout__content > .webchat__stacked_item_indented": { marginRight: n } } }, "&.webchat__stackedLayout--rtl": { "&:not(.webchat__stackedLayout--fromUser)": { "&.webchat__stacked_indented_content > .webchat__stackedLayout__avatar": { marginLeft: n }, "& > .webchat__stackedLayout__content > .webchat__stacked_item_indented": { marginRight: n } }, "&.webchat__stackedLayout--fromUser": { "&.webchat__stacked_indented_content > .webchat__stackedLayout__avatar": { marginRight: n }, "& > .webchat__stackedLayout__content > .webchat__stacked_item_indented": { marginLeft: n } } }, "& > .webchat__stackedLayout__content": { "& > .webchat__row": { "& > .bubble, & > .timestamp": { maxWidth: t }, "&.attachment > .bubble": { minWidth: r } }, "& > *:not(:first-child):not(:last-child)": { marginTop: n } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.paddingRegular; if ("stacked" === e.suggestedActionLayout) return { paddingBottom: t / 2, paddingLeft: t / 2, paddingRight: t / 2, paddingTop: t / 2 }; return { paddingBottom: t / 2, paddingTop: t / 2 } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t, r = e.paddingRegular, o = e.transcriptOverlayButtonBackground, u = e.transcriptOverlayButtonBackgroundOnDisabled, c = e.transcriptOverlayButtonBackgroundOnFocus, l = e.transcriptOverlayButtonBackgroundOnHover, f = e.transcriptOverlayButtonColor, p = e.transcriptOverlayButtonColorOnDisabled, d = e.transcriptOverlayButtonColorOnFocus, h = e.transcriptOverlayButtonColorOnHover, v = (0, i.createBasicStyleSet)({ cursor: null, flipperBoxWidth: 40, flipperSize: 20, scrollBarHeight: 6, scrollBarMargin: 2 }), m = (0, n.css)({ "& > div.slider > div": { background: o, color: f, outline: 0 }, '&:disabled, &[aria-disabled="true"]': { "& > div.slider > div": { backgroundColor: u, color: p } }, "&:focus > div.slider > div": { backgroundColor: c, color: d || f }, "&:hover > div.slider > div": { backgroundColor: l, color: h || f } }), y = (0, n.css)(v.leftFlipper, m), b = (0, n.css)(v.rightFlipper, m), g = (0, n.css)(v.carousel, { "&:hover, &.scrolling": (t = {}, s(t, "& .".concat(y + "", " > div.slider, & .").concat(b + "", " > div.slider"), { transitionDelay: "0s" }), s(t, "& .".concat(y + "", " > div.slider"), { left: 0 }), s(t, "& .".concat(b + "", " > div.slider"), { right: 0 }), t), "& > div": { scrollbarWidth: "none", "& > ul > li": { "&:first-child": { paddingLeft: r / 2 }, "&:last-child": { paddingRight: r / 2 } } } }); return a(a({}, v), {}, { carousel: g, leftFlipper: y, rightFlipper: b }) }; var n = r(7), i = r(193); function o(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function a(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? o(Object(r), !0).forEach((function(t) { s(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : o(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function s(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.accent, r = e.paddingRegular, n = e.paddingWide, i = e.primaryFont, o = e.suggestedActionBackground, a = e.suggestedActionBorderColor, s = e.suggestedActionBorderStyle, u = e.suggestedActionBorderWidth, c = e.suggestedActionBorderRadius, l = e.suggestedActionImageHeight, f = e.suggestedActionTextColor, p = e.suggestedActionDisabledBackground, d = e.suggestedActionDisabledBorderColor, h = e.suggestedActionDisabledBorderStyle, v = e.suggestedActionDisabledBorderWidth, m = e.suggestedActionDisabledTextColor, y = e.suggestedActionHeight, b = e.subtle; return { "&.webchat__suggested-action": { paddingBottom: r / 2, paddingLeft: r / 2, paddingRight: r / 2, paddingTop: r / 2, position: "relative", "& .webchat__suggested-action__button": { alignItems: "center", borderRadius: c, fontFamily: i, fontSize: "inherit", height: y, justifyContent: "center", paddingLeft: n, paddingRight: n, '&:disabled, &[aria-disabled="true"]': { background: p || o, borderColor: d, borderStyle: h, borderWidth: v, color: m || b }, '&:not(:disabled):not([aria-disabled="true"])': { background: o, borderColor: a || t, borderStyle: s, borderWidth: u, color: f || t } }, "& .webchat__suggested-action__image": { height: l, ":not(.webchat__suggested-action__image--rtl)": { paddingRight: r }, ".webchat__suggested-action__image--rtl": { paddingLeft: r } }, "& .webchat__suggested-action__button-text": { overflow: "hidden", textOverflow: "ellipsis" } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.bubbleMaxWidth, r = e.bubbleMinHeight, n = e.primaryFont, i = e.paddingRegular; return { fontFamily: n, margin: 0, minHeight: r - 2 * i, padding: i, "& > :first-child": { marginTop: 0 }, "& > :last-child": { marginBottom: 0 }, "&.markdown": { "& img": { maxWidth: t, width: "100%" }, "& pre": { overflow: "hidden" } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.primaryFont, r = e.toasterHeight, n = e.toasterMaxHeight, i = e.toastErrorBackgroundColor, o = e.toastErrorColor, a = e.toasterSingularMaxHeight, s = e.toastFontSize, u = e.toastIconWidth, c = e.toastInfoBackgroundColor, l = e.toastInfoColor, f = e.toastSeparatorColor, p = e.toastSuccessBackgroundColor, d = e.toastSuccessColor, h = e.toastWarnBackgroundColor, v = e.toastWarnColor; return { overflowY: "hidden", "&:not(.webchat__toaster--expandable)": { maxHeight: a }, "&.webchat__toaster--expandable:not(.webchat__toaster--expanded) > ul": { height: 0 }, "&.webchat__toaster--expandable.webchat__toaster--expanded": { maxHeight: n }, "& .webchat__toaster__header": { alignItems: "center", alignSelf: "stretch", appearance: "none", backgroundColor: "Transparent", border: 0, display: "flex", fontFamily: t, fontSize: s, minHeight: r, outline: 0, padding: 0, textAlign: "left", "&:focus .webchat__toaster__expandIconFocus": { borderColor: "rgba(26, 10, 0, .7)" }, "&:hover .webchat__toaster__expandIconFocus": { backgroundColor: "rgba(0, 0, 0, .12)" } }, "& .webchat__toaster__expandIconFocus": { alignItems: "center", borderColor: "Transparent", borderStyle: "solid", borderWidth: 1, borderRadius: 3, display: "flex", height: 22, justifyContent: "center", width: 22 }, "&.webchat__toaster--error": { "&:not(.webchat__toaster--expandable), & .webchat__toaster__header": { backgroundColor: i }, "& .webchat__toaster__header": { color: o, fill: o } }, "&.webchat__toaster--info": { "&:not(.webchat__toaster--expandable), & .webchat__toaster__header": { backgroundColor: c }, "& .webchat__toaster__header": { color: l, fill: l } }, "&.webchat__toaster--success": { "&:not(.webchat__toaster--expandable), & .webchat__toaster__header": { backgroundColor: p }, "& .webchat__toaster__header": { color: d, fill: d } }, "&.webchat__toaster--warn": { "&:not(.webchat__toaster--expandable), & .webchat__toaster__header": { backgroundColor: h }, "& .webchat__toaster__header": { color: v, fill: v } }, "& .webchat__toaster__expandLevelIconBox": { height: r, width: u }, "& .webchat__toaster__expandIcon": { height: r, width: r }, "& .webchat__toaster__expandText": { padding: "6px 0" }, "& .webchat__toaster__expandLevelIconBox, & .webchat__toaster__expandIcon": { alignItems: "center", display: "flex", justifyContent: "center" }, "& .webchat__toaster__list": { margin: 0, overflowY: "auto", padding: 0 }, "& .webchat__toaster__listItem:first-child:last-child": { overflow: "hidden" }, "& .webchat__toaster__listItem:not(:first-child), & .webchat__toaster__listItem:not(:last-child)": { borderBottomColor: f, borderBottomStyle: "solid", borderBottomWidth: 1, minHeight: 32 } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.primaryFont, r = e.toasterHeight, n = e.toastErrorColor, i = e.toastFontSize, o = e.toastIconWidth, a = e.toastInfoColor, s = e.toastSuccessColor, u = e.toastTextPadding, c = e.toastWarnColor; return { fontFamily: t, fontSize: i, minHeight: r, "&.webchat__toast--error": { color: n, fill: n }, "&.webchat__toast--info": { color: a, fill: a }, "&.webchat__toast--success": { color: s, fill: s }, "&.webchat__toast--warn": { color: c, fill: c }, "& .webchat__toast__iconBox": { alignItems: "center", display: "flex", flexShrink: 0, height: r, justifyContent: "center", width: o }, "& .webchat__toast__dismissButton": { alignItems: "center", appearance: "none", backgroundColor: "Transparent", border: 0, display: "flex", height: r, justifyContent: "center", outline: 0, padding: 0, width: r, "&:focus .webchat__toast__dismissButtonFocus": { borderColor: "rgba(26, 10, 0, .7)" }, "&:hover .webchat__toast__dismissButtonFocus": { backgroundColor: "rgba(0, 0, 0, .12)" } }, "& .webchat__toast__dismissButtonFocus": { alignItems: "center", borderColor: "Transparent", borderStyle: "solid", borderWidth: 1, borderRadius: 3, display: "flex", height: 22, justifyContent: "center", width: 22 }, "& .webchat__toast__text": { alignSelf: "center", paddingBottom: u, paddingTop: u } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.typingAnimationBackgroundImage, r = e.typingAnimationHeight, n = e.typingAnimationWidth; return { backgroundImage: t || "url('data:image/gif;base64,R0lGODlhQAAYAPYBAOzv8evu8Ort7+fq7Ons7ujr7eXo6uTn6ebp6+Xn6ebo6uzu8OPm6OTm6OPm5+Tn6N/i4+Ll59/i5N7h4+Hk5uDj5evu7+Hk5d/h49PV18PFx7/BwsfJysXHyMLExdja3Nfa28vNz72/wL7Awc/S08TGyMDCw9TW2NbY2t3g4trd39bZ2szO0M7Q0dnb3djb3Nvd39ve4Nnc3dze4Nrc3t7g4tzf4dXX2d3f4d7h4tnc3tve383P0MrMzs7Q0sjKzNLU1s/R08jKy9DT1NfZ293g4efp68bIyby+v9bZ27q8vdHT1c7R0uvt78nLzM/R0tjb3ens7bO0tbS2t7GztK+xsrW3uK6vsLe4utfa3L/Awtzf4MnLzamqq5WWl66wsbm7vNrd3uXo6a2ur6yurp2en6KjpKusrZ+goKeoqers7urt7peXmIGBgYSEhHx8fJmamqipqnZ2doqLi8XHyY2NjpGSkpOUlJiYmZOTlI+QkJqbm4eIiJucnIuMjP///yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTcgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MEY0RUJCMDNENkM4MTFFNkI5RENGRDgzMjAyQjU3QzUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MEY0RUJCMDRENkM4MTFFNkI5RENGRDgzMjAyQjU3QzUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowRjRFQkIwMUQ2QzgxMUU2QjlEQ0ZEODMyMDJCNTdDNSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowRjRFQkIwMkQ2QzgxMUU2QjlEQ0ZEODMyMDJCNTdDNSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAUOAAEAIf4YT3B0aW1pemVkIHdpdGggZXpnaWYuY29tACwAAAAAQAAYAAACJoSPqcvtD6OctNqLs968+w+G4kiW5omm6sq27gvH8kzX9o3n+l0AACH5BAUHAAAALD4ACQACAAYAAAIERI5oBQAh+QQFBwAOACwsAAcAFAAJAAAEJRDISZetmJQ9uhcZyClGSY4hYjbHKqYs06ooLLuBPeM6b2u1SgQAIfkEBQcADQAsGAAHACUACQAABlFAgHAYKBqJyKRS+ahMchKnoSBYWq0Mp+rzimEiiUH1SjaCd64VioaTEo5lbA3GvaWjCmpcfnl27TZ4ent8Mmo6KW6EhXSIEGCDi4VZCG+SSUEAIfkEBQcABgAsEQAHABcACQAAB0aAAIKDAoSGh4RELD8sHwkBiJEoIUKVPSAHkJGJQZaWNQSbnJ6VMAOigzI8pDwxp6gCKUOMnhKFsAgvi59GuKkZPhkTBb6BACH5BAUHAAQALA8ABwANAAkAAAYsQICwYAgMj0LWZokSIAedpTSDREmvxaHyyjy2uN2hCqwZVLmqp2DF0bAkzyAAIfkEBRUABQAsDgAHAAoACQAABidAgDBgGAyHH5NoyUAunxuEcANdkqbVJTa7hZ6EkFFVcAx5ShmCMAgAIfkEBQcAAAAsLAAHABAACQAABC0QyClXpZWUwbsOU/AhSWmQGyiOB+Mq3rJ6zosKM22n+d2YqQzvBOOFcMOgJAIAIfkEBQcAAwAsIQAHABsACQAAB0yAAIKDAgGEh4iJKStLGTARBYmShDgoJEyYNBSRk4ouQJiZNQeFnYc5II2hJzMOBKanH6qiDK+wlBlBqxMGhreDE6m0Ub+xjBi9xYKBACH5BAUHAAYALB0ABwAQAAkAAAc+gACCAgoFg4eIGSNKSj0MiIckjJNHB5AAEiaTkzcBkC8im4w8BJ+hoj6lkBqiSC+XAUmnowOwsT8bJSiGl4EAIfkEBQcAAgAsHAAHAAsACQAABy2AAIIGDIOGRVhXijeHVYqPjIIej5QBglKUjweXmYoIkp0ClpyVhghCiRoUhoEAIfkEBRUAAgAsGwAHAAoACQAAByyAAIKCB4ODMlNkijKHY4qPMIJgj49ggpSUAQBXmIqSnRuEVJgMhiWJJQmCgQAh+QQFBwAAACwxAAcADQAJAAAEJRDICQKdgQyktrBS5h0G91WfSXYaWqjrK8rx6LL1cpf8GaY2SQQAIfkEBQcABgAsKwAHABMACQAABzyAAIKDBISGhzwbSB4ZCIeIIouLQI6PgjcmkpI4AZYDJCOak4WWQ1qiJi8Cnh8eqBiel6GbpLEgHIycsYEAIfkEBQcAAgAsKQAHAA0ACQAABzyAAIIBEhQBg4gBXHh1dWUZiQCLjZQriWWUlF2Hghh2mY14A4MVn6B7UYhmoHVSnJ13maiROFdse1YMiYEAIfkEBQcAAwAsDgAHACUACQAAB2OAA4KCBYOGh4iIETBRAI6PIIYNiZSHKWxymVUCkIcmlaAHbpmkcQCVQ6CUUqStKaeJR6qJcK2kdI6zugNltplOjh6IN7uGJr5vB44YngTFgwKYrRuPwR4dAwLPklNzbV4sj4EAIfkEBQcACgAsCwAHACcACQAAB2qAAIKDBAEACoiJiouMiQ4qBYSCLiw/LCsHho2bjF6KhpM9lpY3D4KcnAmMXaGjozECh6izihMFM5Wul5G0vQodBDY8uruyvqhcARVAxDgWxscbjQatrwOnx4mem8EZLUApkdDZClKJPIKBACH5BAUHAAoALAQABwASAAkAAAdCgACCCwEWhoOIiQMRKTQxFQYCioiMMi8fMJAEk5sQKpegjIWTEzqhNhcIo4qlpxSqnBWZroSxpi4zr5KcnTWei5yBACH5BAUHAAYALAAABwAQAAkAAAMRCLrc/rCIEIe9tOKpd/dfqCUAIfkEBRUAAQAsAAAIAAcACAAAAgaEj6nL7VAAIfkEBQcABQAsGwAHAAoACQAABzSAAIICDAODgyxSX1UeDYiLkEoIABJUkJBDADeXkZqci0eUU58ogkBVlxoEgzobVkpLqwCBACH5BAUHAAMALBMABwARAAkAAAdPgACCgwIEhoSIhTJBRx08RBSFiRQvTBoimI8VkoQ4GU4bmKFLMAqTS42iji8RAYgwqCOqQS4Mpz2hmUAxCJMqQ6mrrYmuOShPLSc2Bq6EgQAh+QQFBwAJACwHAAcAGgAJAAAHWIAAgoMBhYaEiImDFTNZRC44FAiHiomMK0A+mTaSlJWCEUVQJySaNzoYDAWfiJIfGUymkBEDrIuusLI1tJ6VDrs3pUMoKhANBLa3W4+lLym8ycqczwer0YEAIfkEBQcACwAsAAAHABYACQAABS4gIAbkaJ5oVF3HIJTpqWJ048bpVKsFjM+7xA03WgV7xOIRmUQ4jKxh0/V0+oghACH5BAUVAAEALAAABwAKAAkAAAIIhI+py+0PYQEAIfkEBQcABQAsJgAHAAwACQAAB0qAAIIEYhQGAYODN1R1bnpXN4iCGV98bZd+ZxmIFx54l6B4SodhYI2gbXZUOQAwSnqoqVMYrSV9sWUbA5NYp7IwiRgaZndmHhWDgQAh+QQFBwAHACwZAAcAGAAJAAAHboAAgoMEhYYBhImJMUMcGyNII0JANQWKimEkHUpVaWlUSkdLOFGXgxIoIY9dZWZnWCYsRBGmgikZPyJSnmhdU1pOJxKIpkW4kLy+kjfDtRWpHlhnvWOwPB8NxMXHVGevyxBqtacgQSFcTsFQtOOBACH5BAUHAAMALAkABwAgAAkAAAdtgACCgwKFhoSIiYoFFWEZPi1PJDczEQSLmIONQCElGyYckZUFmZg2KEwcHkqsPUsfEwYBpYkRMDc8R59gHkJBKzgNh7SCtriqvL2/KQzDxGIpK0FOq0jKsLLPiConLLrXNs3atS6UqDQS2eMAgQAh+QQFBwALACwAAAcAGQAJAAAHUIAAAYNNhIKHiImIDDk6ICoSCQSKlIg1MjcnmRAHk5WKFTErmqQURoafghA0KKStoQKplpCuMRUKsbKqW0S1EQOoshispQa5urtFMxO/x8iBACH5BAUHAAIALAAABwALAAkAAAIJhI+py+3xolwFACH5BAUHAAEALAAACQABAAUAAAIChF0AOw==')", backgroundRepeat: "no-repeat", height: r, width: n } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.paddingRegular; return { paddingBottom: t, "&:not(.webchat__typingIndicator--rtl)": { paddingLeft: t }, "&.webchat__typingIndicator--rtl": { paddingRight: t } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.sendBoxButtonColor, r = e.sendBoxButtonColorOnFocus, n = e.sendBoxButtonColorOnHover, i = e.sendBoxHeight, o = e.subtle; return { width: i, "& > .icon > svg": { fill: t || o }, "& > input:hover + .icon > svg": { fill: n }, "& > input:focus + .icon > svg": { fill: r } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return {} } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { height: e.videoHeight, width: "100%" } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { border: 0, height: e.videoHeight, width: "100%" } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.connectivityIconPadding, r = e.connectivityMarginLeftRight, n = e.connectivityMarginTopBottom, i = e.connectivityTextSize, o = e.primaryFont, a = e.slowConnectivity; return { alignItems: "center", color: e.notificationText, display: "flex", fontFamily: o, fontSize: i, marginBottom: n, marginLeft: r, marginRight: r, marginTop: n, "& > svg": { fill: a, ":not(webchat__warning--rtl)": { paddingRight: t }, ".webchat__warning--rtl": { paddingLeft: t } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { border: 0, height: e.videoHeight, width: "100%" } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r) { var n = e.language; return [r.locale, n, window.navigator.language, "en-US"].reduce((function(e, r) { return e || t.find((function(e) { var t = e.lang, n = e.name; return t === r && /neural/i.test(n) })) || t.find((function(e) { return e.lang === r })) }), null) || t[0] } }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = r(1346), o = r(48), a = A(r(1)), s = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = S(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), u = A(r(196)), c = A(r(188)), l = A(r(136)), f = A(r(88)), p = A(r(579)), d = A(r(104)), h = A(r(189)), v = A(r(580)), m = A(r(1352)), y = A(r(521)), b = A(r(294)), g = A(r(190)), _ = A(r(191)), T = A(r(137)); function S() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return S = function() { return e }, e } function A(e) { return e && e.__esModule ? e : { default: e } } function E(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var C = o.Constants.DictateState, O = C.DICTATING, w = C.IDLE, I = C.STARTING, P = function(e) { var t = e.onError, r = E((0, y.default)(), 2)[1], n = E((0, c.default)(), 2)[1], o = E((0, h.default)(), 2)[1], a = E((0, b.default)(), 2)[1], S = E((0, T.default)(), 1)[0], A = (S = void 0 === S ? {} : S).SpeechGrammarList, C = S.SpeechRecognition, P = E((0, u.default)(), 1)[0], x = E((0, l.default)(), 1)[0], N = E((0, f.default)(), 1)[0], k = E((0, v.default)(), 1)[0], R = E((0, d.default)("speech"), 1)[0], L = (0, p.default)(), M = (0, m.default)(), j = (0, g.default)(), D = (0, _.default)(), U = (0, s.useMemo)((function() { return P.filter((function(e) { var t = e.channelData; return (t = void 0 === t ? {} : t).speak })).length }), [P]), B = (0, s.useCallback)((function(e) { var t = e.result, r = (t = void 0 === t ? {} : t).confidence, i = t.transcript; x !== O && x !== I || (n([]), M(w), j(), i && (o(i), D("speech", { channelData: { speech: { alternatives: [{ confidence: r, transcript: i }] } } }), a(!0))) }), [x, n, M, j, o, D, a]), F = (0, s.useCallback)((function(e) { var t = e.abortable, i = e.results; if (x === O || x === I) { var o = (void 0 === i ? [] : i).map((function(e) { return e.transcript })); r(t), n(o), M(O), k && L() } }), [x, L, k, r, n, M]), z = (0, s.useCallback)((function(e) { x !== w && M(w), (x === O || x === I) && j(), t && t(e) }), [x, t, M, j]); return s.default.createElement(i.Composer, { lang: R, onDictate: B, onError: z, onProgress: F, speechGrammarList: A, speechRecognition: C, started: !(N || x !== I && x !== O || U) }) }; P.defaultProps = { onError: void 0 }, P.propTypes = { onError: a.default.func }; var x = P; t.default = x }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.DictateCheckbox = t.Composer = void 0; var n = a(r(311)), i = a(r(1350)), o = a(r(1351)); function a(e) { return e && e.__esModule ? e : { default: e } } t.default = i.default, t.Composer = n.default, t.DictateCheckbox = o.default }, function(e, t, r) { "use strict"; var n = function(e, t) { return e === t }; e.exports = function(e, t) { var r; void 0 === t && (t = n); var i, o = [], a = !1, s = function(e, r) { return t(e, o[r]) }; return function() { for (var t = arguments.length, n = new Array(t), u = 0; u < t; u++) n[u] = arguments[u]; return a && r === this && n.length === o.length && n.every(s) || (i = e.apply(this, n), a = !0, r = this, o = n), i } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.withRecognition = void 0; var n, i = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }, o = r(0), a = (n = o) && n.__esModule ? n : { default: n }; var s = a.default.createContext({ abortable: void 0, recognition: null }); t.default = s, t.withRecognition = function(e) { return function(t) { return a.default.createElement(s.Consumer, null, (function(r) { var n = r.recognition; return a.default.createElement(e, i({ recognition: n }, t), t.children) })) } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { try { if (window) return void 0 !== window[e] ? window[e] : window["webkit" + e] } catch (e) {} } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } return function(t, r, n) { return r && e(t.prototype, r), n && e(t, n), t } }(), i = s(r(1)), o = s(r(0)), a = s(r(311)); function s(e) { return e && e.__esModule ? e : { default: e } } var u = function(e) { function t(e) { ! function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, t); var r = function(e, t) { if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return !t || "object" != typeof t && "function" != typeof t ? e : t }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e)); return r.handleClick = r.handleClick.bind(r), r.handleDictate = r.handleDictate.bind(r), r.handleError = r.handleError.bind(r), r.state = { started: !1 }, r } return function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t) }(t, e), n(t, [{ key: "handleClick", value: function(e) { this.props.onClick && this.props.onClick(e), !e.isDefaultPrevented() && this.setState((function(e) { return { started: !e.started } })) } }, { key: "handleDictate", value: function(e) { this.setState((function() { return { started: !1 } })), this.props.onDictate && this.props.onDictate(e) } }, { key: "handleError", value: function(e) { this.setState((function() { return { started: !1 } })), this.props.onError && this.props.onError(e) } }, { key: "render", value: function() { var e = this, t = this.props, r = this.state; return o.default.createElement(a.default, { extra: t.extra, grammar: t.grammar, lang: t.lang, onDictate: this.handleDictate, onError: this.handleError, onProgress: t.onProgress, onRawEvent: t.onRawEvent, speechGrammarList: t.speechGrammarList, speechRecognition: t.speechRecognition, started: r.started && !t.disabled }, (function(r) { return o.default.createElement("button", { className: t.className, disabled: 1 === r.readyState || 3 === r.readyState || !r.supported || t.disabled, onClick: e.handleClick }, "function" == typeof t.children ? t.children({ readyState: r.readyState }) : t.children) })) } }]), t }(o.default.Component); t.default = u, u.propTypes = { className: i.default.string, disabled: i.default.bool, extra: i.default.any, grammar: i.default.string, lang: i.default.string, onClick: i.default.func, onDictate: i.default.func, onError: i.default.func, onProgress: i.default.func, onRawEvent: i.default.func, speechGrammarList: i.default.any, speechRecognition: i.default.any } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } return function(t, r, n) { return r && e(t.prototype, r), n && e(t, n), t } }(), i = s(r(1)), o = s(r(0)), a = s(r(311)); function s(e) { return e && e.__esModule ? e : { default: e } } var u = function(e) { function t(e) { ! function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") }(this, t); var r = function(e, t) { if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return !t || "object" != typeof t && "function" != typeof t ? e : t }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e)); return r.handleChange = r.handleChange.bind(r), r.handleDictate = r.handleDictate.bind(r), r.handleError = r.handleError.bind(r), r.state = { started: !1 }, r } return function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t) }(t, e), n(t, [{ key: "handleChange", value: function(e) { var t = e.target.checked; this.setState((function() { return { started: t } })) } }, { key: "handleDictate", value: function(e) { this.setState((function() { return { started: !1 } })), this.props.onDictate && this.props.onDictate(e) } }, { key: "handleError", value: function(e) { this.setState((function() { return { started: !1 } })), this.props.onError && this.props.onError(e) } }, { key: "render", value: function() { var e = this, t = this.props, r = this.state; return o.default.createElement(a.default, { extra: t.extra, grammar: t.grammar, lang: t.lang, onDictate: this.handleDictate, onError: this.handleError, onProgress: t.onProgress, onRawEvent: t.onRawEvent, speechGrammarList: t.speechGrammarList, speechRecognition: t.speechRecognition, started: r.started && !t.disabled }, (function(n) { return o.default.createElement("label", null, o.default.createElement("input", { checked: r.started, className: t.className, disabled: 1 === n.readyState || 3 === n.readyState || !n.supported || t.disabled, onChange: e.handleChange, type: "checkbox" }), "function" == typeof t.children ? t.children({ readyState: n.readyState }) : t.children) })) } }]), t }(o.default.Component); t.default = u, u.propTypes = { className: i.default.string, disabled: i.default.bool, extra: i.default.any, grammar: i.default.string, lang: i.default.string, onDictate: i.default.func, onError: i.default.func, onProgress: i.default.func, onRawEvent: i.default.func, speechGrammarList: i.default.any, speechRecognition: i.default.any } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().setDictateState }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { return Object.entries(e).reduce((function(e, r) { var n, i, o = (i = 2, function(e) { if (Array.isArray(e)) return e }(n = r) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(n, i) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }()), a = o[0], s = o[1]; return e[a] = t(s, a), e }), {}) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return new Promise((function(t, r) { var n = e.subscribe((function(e) { t(e), setTimeout((function() { return n.unsubscribe() }), 0) }), (function(e) { r(e), setTimeout((function() { return n.unsubscribe() }), 0) })) })) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n, i = (n = r(1356)) && n.__esModule ? n : { default: n }; var o = function() { return (0, i.default)(), !1 }; t.default = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(0), i = r(538), o = r(581), a = l(r(104)), s = l(r(582)), u = l(r(192)), c = l(r(137)); function l(e) { return e && e.__esModule ? e : { default: e } } function f(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var p = function() { var e = f((0, a.default)(), 1)[0], t = f((0, c.default)(), 1)[0], r = (0, s.default)(), l = (0, u.default)(), p = !!t.SpeechRecognition, d = t.speechSynthesis && t.speechSynthesis !== o.speechSynthesis; (0, n.useEffect)((function() { r("prop:locale", e) }), [e, r]), (0, n.useEffect)((function() { r("prop:speechRecognition", !!p + "") }), [r, p]), (0, n.useEffect)((function() { r("prop:speechSynthesis", !!d + "") }), [r, d]), (0, n.useEffect)((function() { r("capability:downscaleImage:workerType", (0, i.checkSupport)() ? "web worker" : "main") }), [r]), (0, n.useEffect)((function() { l("init") }), [l]) }; t.default = p }, function(e, t) { e.exports = function(e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var i = t[n] = { i: n, l: !1, exports: {} }; return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } return r.m = e, r.c = t, r.d = function(e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }, r.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, r.t = function(e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var i in e) r.d(n, i, function(t) { return e[t] }.bind(null, i)); return n }, r.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return r.d(t, "a", t), t }, r.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, r.p = "", r(r.s = 0) }([function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } r.r(t), r.d(t, "defineEventAttribute", (function() { return y })), r.d(t, "EventTarget", (function() { return _ })); var i = new WeakMap, o = new WeakMap; function a(e) { var t = i.get(e); return console.assert(null != t, "'this' is expected an Event object, but got", e), t } function s(e) { null == e.passiveListener ? e.event.cancelable && (e.canceled = !0, "function" == typeof e.event.preventDefault && e.event.preventDefault()) : "undefined" != typeof console && "function" == typeof console.error && console.error("Unable to preventDefault inside passive event listener invocation.", e.passiveListener) } function u(e, t) { i.set(this, { eventTarget: e, event: t, eventPhase: 2, currentTarget: e, canceled: !1, stopped: !1, immediateStopped: !1, passiveListener: null, timeStamp: t.timeStamp || Date.now() }), Object.defineProperty(this, "isTrusted", { value: !1, enumerable: !0 }); for (var r = Object.keys(t), n = 0; n < r.length; ++n) { var o = r[n]; o in this || Object.defineProperty(this, o, c(o)) } } function c(e) { return { get: function() { return a(this).event[e] }, set: function(t) { a(this).event[e] = t }, configurable: !0, enumerable: !0 } } function l(e) { return { value: function() { var t = a(this).event; return t[e].apply(t, arguments) }, configurable: !0, enumerable: !0 } } function f(e) { if (null == e || e === Object.prototype) return u; var t = o.get(e); return null == t && (t = function(e, t) { var r = Object.keys(t); if (0 === r.length) return e; function n(t, r) { e.call(this, t, r) } n.prototype = Object.create(e.prototype, { constructor: { value: n, configurable: !0, writable: !0 } }); for (var i = 0; i < r.length; ++i) { var o = r[i]; if (!(o in e.prototype)) { var a = "function" == typeof Object.getOwnPropertyDescriptor(t, o).value; Object.defineProperty(n.prototype, o, a ? l(o) : c(o)) } } return n }(f(Object.getPrototypeOf(e)), e), o.set(e, t)), t } function p(e) { return a(e).immediateStopped } function d(e, t) { a(e).passiveListener = t } u.prototype = { get type() { return a(this).event.type }, get target() { return a(this).eventTarget }, get currentTarget() { return a(this).currentTarget }, composedPath: function() { var e = a(this).currentTarget; return null == e ? [] : [e] }, get NONE() { return 0 }, get CAPTURING_PHASE() { return 1 }, get AT_TARGET() { return 2 }, get BUBBLING_PHASE() { return 3 }, get eventPhase() { return a(this).eventPhase }, stopPropagation: function() { var e = a(this); e.stopped = !0, "function" == typeof e.event.stopPropagation && e.event.stopPropagation() }, stopImmediatePropagation: function() { var e = a(this); e.stopped = !0, e.immediateStopped = !0, "function" == typeof e.event.stopImmediatePropagation && e.event.stopImmediatePropagation() }, get bubbles() { return Boolean(a(this).event.bubbles) }, get cancelable() { return Boolean(a(this).event.cancelable) }, preventDefault: function() { s(a(this)) }, get defaultPrevented() { return a(this).canceled }, get composed() { return Boolean(a(this).event.composed) }, get timeStamp() { return a(this).timeStamp }, get srcElement() { return a(this).eventTarget }, get cancelBubble() { return a(this).stopped }, set cancelBubble(e) { if (e) { var t = a(this); t.stopped = !0, "boolean" == typeof t.event.cancelBubble && (t.event.cancelBubble = !0) } }, get returnValue() { return !a(this).canceled }, set returnValue(e) { e || s(a(this)) }, initEvent: function() {} }, Object.defineProperty(u.prototype, "constructor", { value: u, configurable: !0, writable: !0 }), "undefined" != typeof window && void 0 !== window.Event && (Object.setPrototypeOf(u.prototype, window.Event.prototype), o.set(window.Event.prototype, u)); var h = new WeakMap; function v(e) { return null !== e && "object" === n(e) } function m(e) { var t = h.get(e); if (null == t) throw new TypeError("'this' is expected an EventTarget object, but got another value."); return t } function y(e, t) { Object.defineProperty(e, "on".concat(t), function(e) { return { get: function() { for (var t = m(this).get(e); null != t;) { if (3 === t.listenerType) return t.listener; t = t.next } return null }, set: function(t) { "function" == typeof t || v(t) || (t = null); for (var r = m(this), n = null, i = r.get(e); null != i;) 3 === i.listenerType ? null !== n ? n.next = i.next : null !== i.next ? r.set(e, i.next) : r.delete(e) : n = i, i = i.next; if (null !== t) { var o = { listener: t, listenerType: 3, passive: !1, once: !1, next: null }; null === n ? r.set(e, o) : n.next = o } }, configurable: !0, enumerable: !0 } }(t)) } function b(e) { function t() { g.call(this) } t.prototype = Object.create(g.prototype, { constructor: { value: t, configurable: !0, writable: !0 } }); for (var r = 0; r < e.length; ++r) y(t.prototype, e[r]); return t } function g() { if (!(this instanceof g)) { if (1 === arguments.length && Array.isArray(arguments[0])) return b(arguments[0]); if (arguments.length > 0) { for (var e = new Array(arguments.length), t = 0; t < arguments.length; ++t) e[t] = arguments[t]; return b(e) } throw new TypeError("Cannot call a class as a function") } h.set(this, new Map) } g.prototype = { addEventListener: function(e, t, r) { if (null != t) { if ("function" != typeof t && !v(t)) throw new TypeError("'listener' should be a function or an object."); var n = m(this), i = v(r), o = (i ? Boolean(r.capture) : Boolean(r)) ? 1 : 2, a = { listener: t, listenerType: o, passive: i && Boolean(r.passive), once: i && Boolean(r.once), next: null }, s = n.get(e); if (void 0 !== s) { for (var u = null; null != s;) { if (s.listener === t && s.listenerType === o) return; u = s, s = s.next } u.next = a } else n.set(e, a) } }, removeEventListener: function(e, t, r) { if (null != t) for (var n = m(this), i = (v(r) ? Boolean(r.capture) : Boolean(r)) ? 1 : 2, o = null, a = n.get(e); null != a;) { if (a.listener === t && a.listenerType === i) return void(null !== o ? o.next = a.next : null !== a.next ? n.set(e, a.next) : n.delete(e)); o = a, a = a.next } }, dispatchEvent: function(e) { if (null == e || "string" != typeof e.type) throw new TypeError('"event.type" should be a string.'); var t = m(this), r = e.type, n = t.get(r); if (null == n) return !0; for (var i = function(e, t) { return new(f(Object.getPrototypeOf(t)))(e, t) }(this, e), o = null; null != n;) { if (n.once ? null !== o ? o.next = n.next : null !== n.next ? t.set(r, n.next) : t.delete(r) : o = n, d(i, n.passive ? n.listener : null), "function" == typeof n.listener) try { n.listener.call(this, i) } catch (e) { "undefined" != typeof console && "function" == typeof console.error && console.error(e) } else 3 !== n.listenerType && "function" == typeof n.listener.handleEvent && n.listener.handleEvent(i); if (p(i)) break; n = n.next } return d(i, null), function(e, t) { a(e).eventPhase = t }(i, 0), function(e, t) { a(e).currentTarget = t }(i, null), !i.defaultPrevented } }, Object.defineProperty(g.prototype, "constructor", { value: g, configurable: !0, writable: !0 }), "undefined" != typeof window && void 0 !== window.EventTarget && Object.setPrototypeOf(g.prototype, window.EventTarget.prototype); var _ = g; t.default = _ }]) }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.connectCarouselFilmStrip = t.default = void 0; var i = r(7), o = r(193), a = C(r(3)), s = C(r(1)), u = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = E(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), c = C(r(312)), l = C(r(318)), f = C(r(44)), p = C(r(34)), d = C(r(604)), h = C(r(142)), v = C(r(143)), m = C(r(144)), y = C(r(23)), b = C(r(15)), g = C(r(319)), _ = C(r(320)), T = C(r(20)), S = C(r(6)), A = C(r(297)); function E() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return E = function() { return e }, e } function C(e) { return e && e.__esModule ? e : { default: e } } function O() { return (O = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }).apply(this, arguments) } function w(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var I = (0, i.css)({ display: "flex", MsOverflowStyle: "none", overflowX: "scroll", overflowY: "hidden", position: "relative", touchAction: "manipulation", WebkitOverflowScrolling: "touch", "&::-webkit-scrollbar": { display: "none" }, "& > .webchat__carouselFilmStrip__avatar": { flexShrink: 0 }, "& > .content": { flex: 1, "& > .message": { display: "flex", "& > .bubble": { flexGrow: 1, overflow: "hidden" }, "& > .filler": { flexGrow: 1e4, flexShrink: 1 } }, "& > ul": { display: "flex", listStyleType: "none", margin: 0, padding: 0, "& > li": { flex: 1 } } } }); t.connectCarouselFilmStrip = function() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return f.default.apply(void 0, [function(e, t) { var r = e.language, n = e.styleSet.options, i = n.botAvatarInitials, o = n.userAvatarInitials, a = t.activity, s = (a = void 0 === a ? {} : a).from; return { avatarInitials: "user" === (s = void 0 === s ? {} : s).role ? o : i, language: r } }].concat(t)) }; var P = function(e) { var t = e.activity, r = e.children, n = e.className, i = e.itemContainerRef, o = e.nextVisibleActivity, s = e.scrollableRef, f = w((0, T.default)(), 1)[0], E = f.bubbleNubSize, C = f.bubbleFromUserNubSize, O = w((0, S.default)(), 1)[0].carouselFilmStrip, P = w((0, h.default)(), 1)[0].initials, x = w((0, v.default)(), 1)[0].initials, N = w((0, y.default)(), 1)[0], k = (0, A.default)("webchat__carousel-filmstrip__content"), R = (0, m.default)(), L = (0, b.default)(), M = (0, g.default)({ activity: t, nextVisibleActivity: o }), j = (0, _.default)({ activity: t }), D = t.attachments, U = void 0 === D ? [] : D, B = t.channelData, F = (B = void 0 === B ? {} : B).messageBack, z = (F = void 0 === F ? {} : F).displayText, V = t.from, G = (V = void 0 === V ? {} : V).role, q = t.text, H = t.textFormat, W = t.timestamp, Y = z || q, K = "user" === G, $ = K ? C : E, J = K ? x : P, X = (0, u.useMemo)((function() { return (0, c.default)(Y) }), [Y]), Z = L(K ? "CAROUSEL_ATTACHMENTS_USER_ALT" : "CAROUSEL_ATTACHMENTS_BOT_ALT"), Q = L(K ? "ACTIVITY_USER_SAID" : "ACTIVITY_BOT_SAID", J, X.replace(/[\t-\r \.\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+$/, ""), R(W)).trim(); return u.default.createElement("div", { "aria-labelledby": k, className: (0, a.default)(I + "", O + "", n + "", { webchat__carousel_indented_content: J && !$, webchat__carousel_extra_right_indent: !x && C }, "rtl" === N ? "webchat__carousel--rtl" : ""), ref: s, role: "group" }, u.default.createElement(p.default, { id: k, text: Q }), j && u.default.createElement("div", { className: "webchat__carouselFilmStrip__avatar" }, j()), u.default.createElement("div", { className: "content" }, !!Y && u.default.createElement("div", { className: "message" }, u.default.createElement(l.default, { "aria-hidden": !0, className: "bubble", fromUser: K, nub: !0 }, r({ activity: t, attachment: { content: Y, contentType: (0, d.default)(H) } })), u.default.createElement("div", { "aria-hidden": !0, className: "filler" })), u.default.createElement("ul", { className: (0, a.default)({ webchat__carousel__item_indented: $ }), ref: i }, U.map((function(e, t) { return u.default.createElement("li", { key: t }, u.default.createElement(p.default, { text: Z }), u.default.createElement(l.default, { fromUser: K, key: t, nub: !1 }, r({ attachment: e }))) }))), u.default.createElement("div", { className: (0, a.default)({ webchat__carousel__item_indented: $ }) }, M()))) }; P.defaultProps = { children: void 0, className: "", nextVisibleActivity: void 0 }, P.propTypes = { activity: s.default.shape({ attachments: s.default.array, channelData: s.default.shape({ messageBack: s.default.shape({ displayText: s.default.string }), state: s.default.string }), from: s.default.shape({ role: s.default.string.isRequired }).isRequired, text: s.default.string, textFormat: s.default.string, timestamp: s.default.string }).isRequired, children: s.default.any, className: s.default.string, itemContainerRef: s.default.any.isRequired, nextVisibleActivity: s.default.shape({ from: s.default.shape({ role: s.default.string.isRequired }).isRequired, timestamp: s.default.string }), scrollableRef: s.default.any.isRequired }; var x = function(e) { return u.default.createElement(o.Context.Consumer, null, (function(t) { var r = t.itemContainerRef, n = t.scrollableRef; return u.default.createElement(P, O({ itemContainerRef: r, scrollableRef: n }, e)) })) }; t.default = x }, function(e, t, r) { "use strict"; var n = r(1360), i = r(1373), o = r(1423); e.exports = n().use(i).use(o).freeze() }, function(e, t, r) { "use strict"; var n = r(1361), i = r(1362), o = r(1363), a = r(1369), s = r(1371), u = r(1372); e.exports = function e() { var t = [], r = a(), b = {}, g = !1, _ = -1; return T.data = function(e, t) { if (s(e)) return 2 === arguments.length ? (v("data", g), b[e] = t, T) : l.call(b, e) && b[e] || null; if (e) return v("data", g), b = e, T; return b }, T.freeze = S, T.attachers = t, T.use = function(e) { var r; if (v("use", g), null == e); else if ("function" == typeof e) s.apply(null, arguments); else { if ("object" != typeof e) throw new Error("Expected usable value, not `" + e + "`"); "length" in e ? a(e) : i(e) } r && (b.settings = n(b.settings || {}, r)); return T; function i(e) { a(e.plugins), e.settings && (r = n(r || {}, e.settings)) } function o(e) { if ("function" == typeof e) s(e); else { if ("object" != typeof e) throw new Error("Expected usable value, not `" + e + "`"); "length" in e ? s.apply(null, e) : i(e) } } function a(e) { var t, r; if (null == e); else { if (!("object" == typeof e && "length" in e)) throw new Error("Expected a list of plugins, not `" + e + "`"); for (t = e.length, r = -1; ++r < t;) o(e[r]) } } function s(e, r) { var i = A(e); i ? (u(i[1]) && u(r) && (r = n(i[1], r)), i[1] = r) : t.push(c.call(arguments)) } }, T.parse = function(e) { var t, r = o(e); if (S(), d("parse", t = T.Parser), p(t)) return new t(String(r), r).parse(); return t(String(r), r) }, T.stringify = function(e, t) { var r, n = o(t); if (S(), h("stringify", r = T.Compiler), m(e), p(r)) return new r(e, n).compile(); return r(e, n) }, T.run = E, T.runSync = function(e, t) { var r, n = !1; return E(e, t, (function(e, t) { n = !0, i(e), r = t })), y("runSync", "run", n), r }, T.process = C, T.processSync = function(e) { var t, r = !1; return S(), d("processSync", T.Parser), h("processSync", T.Compiler), C(t = o(e), (function(e) { r = !0, i(e) })), y("processSync", "process", r), t }, T; function T() { for (var r = e(), i = t.length, o = -1; ++o < i;) r.use.apply(null, t[o]); return r.data(n(!0, {}, b)), r } function S() { var e, n, i, o; if (g) return T; for (; ++_ < t.length;) n = (e = t[_])[0], null, !1 !== (i = e[1]) && (!0 === i && (e[1] = void 0), "function" == typeof(o = n.apply(T, e.slice(1))) && r.use(o)); return g = !0, _ = 1 / 0, T } function A(e) { for (var r, n = t.length, i = -1; ++i < n;) if ((r = t[i])[0] === e) return r } function E(e, t, n) { if (m(e), S(), n || "function" != typeof t || (n = t, t = null), !n) return new Promise(i); function i(i, a) { r.run(e, o(t), (function(t, r, o) { r = r || e, t ? a(t) : i ? i(r) : n(null, r, o) })) } i(null, n) } function C(e, t) { if (S(), d("process", T.Parser), h("process", T.Compiler), !t) return new Promise(r); function r(r, n) { var i = o(e); f.run(T, { file: i }, (function(e) { e ? n(e) : r ? r(i) : t(null, i) })) } r(null, t) } }().freeze(); var c = [].slice, l = {}.hasOwnProperty, f = a().use((function(e, t) { t.tree = e.parse(t.file) })).use((function(e, t, r) { e.run(t.tree, t.file, (function(e, n, i) { e ? r(e) : (t.tree = n, t.file = i, r()) })) })).use((function(e, t) { t.file.contents = e.stringify(t.tree, t.file) })); function p(e) { return "function" == typeof e && function(e) { var t; for (t in e) return !0; return !1 }(e.prototype) } function d(e, t) { if ("function" != typeof t) throw new Error("Cannot `" + e + "` without `Parser`") } function h(e, t) { if ("function" != typeof t) throw new Error("Cannot `" + e + "` without `Compiler`") } function v(e, t) { if (t) throw new Error("Cannot invoke `" + e + "` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.") } function m(e) { if (!e || !s(e.type)) throw new Error("Expected node, got `" + e + "`") } function y(e, t, r) { if (!r) throw new Error("`" + e + "` finished async. Use `" + t + "` instead") } }, function(e, t, r) { "use strict"; var n = Object.prototype.hasOwnProperty, i = Object.prototype.toString, o = Object.defineProperty, a = Object.getOwnPropertyDescriptor, s = function(e) { return "function" == typeof Array.isArray ? Array.isArray(e) : "[object Array]" === i.call(e) }, u = function(e) { if (!e || "[object Object]" !== i.call(e)) return !1; var t, r = n.call(e, "constructor"), o = e.constructor && e.constructor.prototype && n.call(e.constructor.prototype, "isPrototypeOf"); if (e.constructor && !r && !o) return !1; for (t in e); return void 0 === t || n.call(e, t) }, c = function(e, t) { o && "__proto__" === t.name ? o(e, t.name, { enumerable: !0, configurable: !0, value: t.newValue, writable: !0 }) : e[t.name] = t.newValue }, l = function(e, t) { if ("__proto__" === t) { if (!n.call(e, t)) return; if (a) return a(e, t).value } return e[t] }; e.exports = function e() { var t, r, n, i, o, a, f = arguments[0], p = 1, d = arguments.length, h = !1; for ("boolean" == typeof f && (h = f, f = arguments[1] || {}, p = 2), (null == f || "object" != typeof f && "function" != typeof f) && (f = {}); p < d; ++p) if (null != (t = arguments[p])) for (r in t) n = l(f, r), f !== (i = l(t, r)) && (h && i && (u(i) || (o = s(i))) ? (o ? (o = !1, a = n && s(n) ? n : []) : a = n && u(n) ? n : {}, c(f, { name: r, newValue: e(h, a, i) })) : void 0 !== i && c(f, { name: r, newValue: i })); return f } }, function(e, t, r) { "use strict"; e.exports = function(e) { if (e) throw e } }, function(e, t, r) { "use strict"; var n = r(1364), i = r(1366); e.exports = i; var o = i.prototype; function a(e, t, r) { var i = this.path, o = new n(e, t, r); return i && (o.name = i + ":" + o.name, o.file = i), o.fatal = !1, this.messages.push(o), o } o.message = a, o.info = function() { var e = this.message.apply(this, arguments); return e.fatal = null, e }, o.fail = function() { var e = this.message.apply(this, arguments); throw e.fatal = !0, e }, o.warn = a }, function(e, t, r) { "use strict"; var n = r(1365); function i() {} e.exports = a, i.prototype = Error.prototype, a.prototype = new i; var o = a.prototype; function a(e, t, r) { var i, o, a; "string" == typeof t && (r = t, t = null), i = function(e) { var t, r = [null, null]; "string" == typeof e && (-1 === (t = e.indexOf(":")) ? r[1] = e : (r[0] = e.slice(0, t), r[1] = e.slice(t + 1))); return r }(r), o = n(t) || "1:1", a = { start: { line: null, column: null }, end: { line: null, column: null } }, t && t.position && (t = t.position), t && (t.start ? (a = t, t = t.start) : a.start = t), e.stack && (this.stack = e.stack, e = e.message), this.message = e, this.name = o, this.reason = e, this.line = t ? t.line : null, this.column = t ? t.column : null, this.location = a, this.source = i[0], this.ruleId = i[1] } o.file = "", o.name = "", o.reason = "", o.message = "", o.stack = "", o.fatal = null, o.column = null, o.line = null }, function(e, t, r) { "use strict"; var n = {}.hasOwnProperty; function i(e) { return e && "object" == typeof e || (e = {}), a(e.line) + ":" + a(e.column) } function o(e) { return e && "object" == typeof e || (e = {}), i(e.start) + "-" + i(e.end) } function a(e) { return e && "number" == typeof e ? e : 1 } e.exports = function(e) { if (!e || "object" != typeof e) return null; if (n.call(e, "position") || n.call(e, "type")) return o(e.position); if (n.call(e, "start") || n.call(e, "end")) return o(e); if (n.call(e, "line") || n.call(e, "column")) return i(e); return null } }, function(e, t, r) { "use strict"; (function(t) { var n = r(200), i = r(1367), o = r(1368); e.exports = c; var a = {}.hasOwnProperty, s = c.prototype; s.toString = function(e) { var t = this.contents || ""; return o(t) ? t.toString(e) : String(t) }; var u = ["history", "path", "basename", "stem", "extname", "dirname"]; function c(e) { var r, n, i; if (e) { if ("string" == typeof e || o(e)) e = { contents: e }; else if ("message" in e && "messages" in e) return e } else e = {}; if (!(this instanceof c)) return new c(e); for (this.data = {}, this.messages = [], this.history = [], this.cwd = t.cwd(), n = -1, i = u.length; ++n < i;) r = u[n], a.call(e, r) && (this[r] = e[r]); for (r in e) - 1 === u.indexOf(r) && (this[r] = e[r]) } function l(e, t) { if (-1 !== e.indexOf(n.sep)) throw new Error("`" + t + "` cannot be a path: did not expect `" + n.sep + "`") } function f(e, t) { if (!e) throw new Error("`" + t + "` cannot be empty") } function p(e, t) { if (!e) throw new Error("Setting `" + t + "` requires `path` to be set too") } Object.defineProperty(s, "path", { get: function() { return this.history[this.history.length - 1] }, set: function(e) { f(e, "path"), e !== this.path && this.history.push(e) } }), Object.defineProperty(s, "dirname", { get: function() { return "string" == typeof this.path ? n.dirname(this.path) : void 0 }, set: function(e) { p(this.path, "dirname"), this.path = n.join(e || "", this.basename) } }), Object.defineProperty(s, "basename", { get: function() { return "string" == typeof this.path ? n.basename(this.path) : void 0 }, set: function(e) { f(e, "basename"), l(e, "basename"), this.path = n.join(this.dirname || "", e) } }), Object.defineProperty(s, "extname", { get: function() { return "string" == typeof this.path ? n.extname(this.path) : void 0 }, set: function(e) { var t = e || ""; if (l(t, "extname"), p(this.path, "extname"), t) { if ("." !== t.charAt(0)) throw new Error("`extname` must start with `.`"); if (-1 !== t.indexOf(".", 1)) throw new Error("`extname` cannot contain multiple dots") } this.path = i(this.path, t) } }), Object.defineProperty(s, "stem", { get: function() { return "string" == typeof this.path ? n.basename(this.path, this.extname) : void 0 }, set: function(e) { f(e, "stem"), l(e, "stem"), this.path = n.join(this.dirname || "", e + (this.extname || "")) } }) }).call(this, r(26)) }, function(e, t, r) { "use strict"; var n = r(200); e.exports = function(e, t) { if ("string" != typeof e) return e; if (0 === e.length) return e; var r = n.basename(e, n.extname(e)) + t; return n.join(n.dirname(e), r) } }, function(e, t) { e.exports = function(e) { return null != e && null != e.constructor && "function" == typeof e.constructor.isBuffer && e.constructor.isBuffer(e) } }, function(e, t, r) { "use strict"; var n = r(1370); e.exports = o, o.wrap = n; var i = [].slice; function o() { var e = [], t = { run: function() { var t = -1, r = i.call(arguments, 0, -1), o = arguments[arguments.length - 1]; if ("function" != typeof o) throw new Error("Expected function as last argument, not " + o); function a(s) { var u = e[++t], c = i.call(arguments, 0), l = c.slice(1), f = r.length, p = -1; if (s) o(s); else { for (; ++p < f;) null !== l[p] && void 0 !== l[p] || (l[p] = r[p]); r = l, u ? n(u, a).apply(null, r) : o.apply(null, [null].concat(r)) } } a.apply(null, [null].concat(r)) }, use: function(r) { if ("function" != typeof r) throw new Error("Expected `fn` to be a function, not " + r); return e.push(r), t } }; return t } }, function(e, t, r) { "use strict"; var n = [].slice; e.exports = function(e, t) { var r; return function() { var t, a = n.call(arguments, 0), s = e.length > a.length; s && a.push(i); try { t = e.apply(null, a) } catch (e) { if (s && r) throw e; return i(e) } s || (t && "function" == typeof t.then ? t.then(o, i) : t instanceof Error ? i(t) : o(t)) }; function i() { r || (r = !0, t.apply(null, arguments)) } function o(e) { i(null, e) } } }, function(e, t) { var r = Object.prototype.toString; e.exports = function(e) { return "[object String]" === r.call(e) } }, function(e, t, r) { "use strict"; var n = Object.prototype.toString; e.exports = function(e) { var t; return "[object Object]" === n.call(e) && (null === (t = Object.getPrototypeOf(e)) || t === Object.getPrototypeOf({})) } }, function(e, t, r) { "use strict"; var n = r(585), i = r(64), o = r(1375); function a(e) { var t = this.data("settings"), r = n(o); r.prototype.options = i(r.prototype.options, t, e), this.Parser = r } e.exports = a, a.Parser = o }, function(e, t) { "function" == typeof Object.create ? e.exports = function(e, t) { t && (e.super_ = t, e.prototype = Object.create(t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } })) } : e.exports = function(e, t) { if (t) { e.super_ = t; var r = function() {}; r.prototype = t.prototype, e.prototype = new r, e.prototype.constructor = e } } }, function(e, t, r) { "use strict"; var n = r(64), i = r(586), o = r(1376), a = r(1377), s = r(1378), u = r(1381); function c(e, t) { this.file = t, this.offset = {}, this.options = n(this.options), this.setOptions({}), this.inList = !1, this.inBlock = !1, this.inLink = !1, this.atStart = !0, this.toOffset = o(t).toOffset, this.unescape = a(this, "escape"), this.decode = s(this) } e.exports = c; var l = c.prototype; function f(e) { var t, r = []; for (t in e) r.push(t); return r } l.setOptions = r(1382), l.parse = r(1384), l.options = r(592), l.exitStart = i("atStart", !0), l.enterList = i("inList", !1), l.enterLink = i("inLink", !1), l.enterBlock = i("inBlock", !1), l.interruptParagraph = [ ["thematicBreak"], ["atxHeading"], ["fencedCode"], ["blockquote"], ["html"], ["setextHeading", { commonmark: !1 }], ["definition", { commonmark: !1 }], ["footnote", { commonmark: !1 }] ], l.interruptList = [ ["atxHeading", { pedantic: !1 }], ["fencedCode", { pedantic: !1 }], ["thematicBreak", { pedantic: !1 }], ["definition", { commonmark: !1 }], ["footnote", { commonmark: !1 }] ], l.interruptBlockquote = [ ["indentedCode", { commonmark: !0 }], ["fencedCode", { commonmark: !0 }], ["atxHeading", { commonmark: !0 }], ["setextHeading", { commonmark: !0 }], ["thematicBreak", { commonmark: !0 }], ["html", { commonmark: !0 }], ["list", { commonmark: !0 }], ["definition", { commonmark: !1 }], ["footnote", { commonmark: !1 }] ], l.blockTokenizers = { newline: r(1388), indentedCode: r(1389), fencedCode: r(1390), blockquote: r(1391), atxHeading: r(1392), thematicBreak: r(1393), list: r(1394), setextHeading: r(1396), html: r(1397), footnote: r(1398), definition: r(1400), table: r(1401), paragraph: r(1402) }, l.inlineTokenizers = { escape: r(1403), autoLink: r(1405), url: r(1406), html: r(1408), link: r(1409), reference: r(1410), strong: r(1411), emphasis: r(1413), deletion: r(1416), code: r(1418), break: r(1420), text: r(1422) }, l.blockMethods = f(l.blockTokenizers), l.inlineMethods = f(l.inlineTokenizers), l.tokenizeBlock = u("block"), l.tokenizeInline = u("inline"), l.tokenizeFactory = u }, function(e, t, r) { "use strict"; function n(e) { return function(t) { var r = -1, n = e.length; if (t < 0) return {}; for (; ++r < n;) if (e[r] > t) return { line: r + 1, column: t - (e[r - 1] || 0) + 1, offset: t }; return {} } } function i(e) { return function(t) { var r = t && t.line, n = t && t.column; if (!isNaN(r) && !isNaN(n) && r - 1 in e) return (e[r - 2] || 0) + n - 1 || 0; return -1 } } e.exports = function(e) { var t = function(e) { var t = [], r = e.indexOf("\n"); for (; - 1 !== r;) t.push(r + 1), r = e.indexOf("\n", r + 1); return t.push(e.length + 1), t }(String(e)); return { toPosition: n(t), toOffset: i(t) } } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { return function(r) { var n, i = 0, o = r.indexOf("\\"), a = e[t], s = []; for (; - 1 !== o;) s.push(r.slice(i, o)), i = o + 1, (n = r.charAt(i)) && -1 !== a.indexOf(n) || s.push("\\"), o = r.indexOf("\\", i + 1); return s.push(r.slice(i)), s.join("") } } }, function(e, t, r) { "use strict"; var n = r(64), i = r(201); e.exports = function(e) { return r.raw = function(e, r, a) { return i(e, n(a, { position: t(r), warning: o })) }, r; function t(t) { for (var r = e.offset, n = t.line, i = []; ++n && n in r;) i.push((r[n] || 0) + 1); return { start: t, indent: i } } function r(r, n, a) { i(r, { position: t(n), warning: o, text: a, reference: a, textContext: e, referenceContext: e }) } function o(t, r, n) { 3 !== n && e.file.message(t, r) } } }, function(e) { e.exports = JSON.parse('{"0":"\ufffd","128":"\u20ac","130":"\u201a","131":"\u0192","132":"\u201e","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02c6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017d","145":"\u2018","146":"\u2019","147":"\u201c","148":"\u201d","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02dc","153":"\u2122","154":"\u0161","155":"\u203a","156":"\u0153","158":"\u017e","159":"\u0178"}') }, function(e, t, r) { "use strict"; var n; e.exports = function(e) { var t, r = "&" + e + ";"; if ((n = n || document.createElement("i")).innerHTML = r, 59 === (t = n.textContent).charCodeAt(t.length - 1) && "semi" !== e) return !1; return t !== r && t } }, function(e, t, r) { "use strict"; function n(e) { var t, r; return "text" !== e.type || !e.position || (t = e.position.start, r = e.position.end, t.line !== r.line || r.column - t.column === e.value.length) } function i(e, t) { return e.value += t.value, e } function o(e, t) { return this.options.commonmark ? t : (e.children = e.children.concat(t.children), e) } e.exports = function(e) { return function(t, r) { var a, s, u, c, l, f, p = this, d = p.offset, h = [], v = p[e + "Methods"], m = p[e + "Tokenizers"], y = r.line, b = r.column; if (!t) return h; S.now = _, S.file = p.file, g(""); for (; t;) { for (a = -1, s = v.length, l = !1; ++a < s && (c = v[a], !(u = m[c]) || u.onlyAtStart && !p.atStart || u.notInList && p.inList || u.notInBlock && p.inBlock || u.notInLink && p.inLink || (f = t.length, u.apply(p, [S, t]), !(l = f !== t.length)));); l || p.file.fail(new Error("Infinite loop"), S.now()) } return p.eof = _(), h; function g(e) { for (var t = -1, r = e.indexOf("\n"); - 1 !== r;) y++, t = r, r = e.indexOf("\n", r + 1); - 1 === t ? b += e.length : b = e.length - t, y in d && (-1 !== t ? b += d[y] : b <= d[y] && (b = d[y] + 1)) } function _() { var e = { line: y, column: b }; return e.offset = p.toOffset(e), e } function T(e) { this.start = e, this.end = _() } function S(e) { var r, a = function() { var e = [], t = y + 1; return function() { for (var r = y + 1; t < r;) e.push((d[t] || 0) + 1), t++; return e } }(), s = (r = _(), function(e, t) { var n = e.position, i = n ? n.start : r, o = [], a = n && n.end.line, s = r.line; if (e.position = new T(i), n && t && n.indent) { if (o = n.indent, a < s) { for (; ++a < s;) o.push((d[a] || 0) + 1); o.push(r.column) } t = o.concat(t) } return e.position.indent = t || [], e }), u = _(); return function(e) { t.substring(0, e.length) !== e && p.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"), _()) }(e), c.reset = l, l.test = f, c.test = f, t = t.substring(e.length), g(e), a = a(), c; function c(e, t) { return s(function(e, t) { var r = t ? t.children : h, a = r[r.length - 1]; return a && e.type === a.type && ("text" === e.type || "blockquote" === e.type) && n(a) && n(e) && (e = ("text" === e.type ? i : o).call(p, a, e)), e !== a && r.push(e), p.atStart && 0 !== h.length && p.exitStart(), e }(s(e), t), a) } function l() { var r = c.apply(null, arguments); return y = u.line, b = u.column, t = e + t, r } function f() { var r = s({}); return y = u.line, b = u.column, t = e + t, r.position } } } } }, function(e, t, r) { "use strict"; var n = r(64), i = r(591), o = r(592); e.exports = function(e) { var t, r, a = this.options; if (null == e) e = {}; else { if ("object" != typeof e) throw new Error("Invalid value `" + e + "` for setting `options`"); e = n(e) } for (t in o) { if (null == (r = e[t]) && (r = a[t]), "blocks" !== t && "boolean" != typeof r || "blocks" === t && "object" != typeof r) throw new Error("Invalid value `" + r + "` for setting `options." + t + "`"); e[t] = r } return this.options = e, this.escape = i(e), this } }, function(e, t, r) { "use strict"; e.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", "hgroup", "hr", "html", "iframe", "legend", "li", "link", "main", "menu", "menuitem", "meta", "nav", "noframes", "ol", "optgroup", "option", "p", "param", "pre", "section", "source", "title", "summary", "table", "tbody", "td", "tfoot", "th", "thead", "title", "tr", "track", "ul"] }, function(e, t, r) { "use strict"; var n = r(64), i = r(1385); e.exports = function() { var e, t = String(this.file), r = { line: 1, column: 1, offset: 0 }, a = n(r); 65279 === (t = t.replace(o, "\n")).charCodeAt(0) && (t = t.slice(1), a.column++, a.offset++); e = { type: "root", children: this.tokenizeBlock(t, a), position: { start: r, end: this.eof || n(r) } }, this.options.position || i(e, !0); return e }; var o = /\r\n|\r/g }, function(e, t, r) { "use strict"; var n = r(593); function i(e) { delete e.position } function o(e) { e.position = void 0 } e.exports = function(e, t) { return n(e, t ? i : o), e } }, function(e, t, r) { "use strict"; e.exports = i; var n = r(1387); function i(e, t, r, i) { var a; function s(e, n, u) { var c, l = []; return (t && !a(e, n, u[u.length - 1] || null) || !1 !== (l = o(r(e, u)))[0]) && e.children && "skip" !== l[0] && !1 === (c = o(function(e, t) { var r, n = i ? -1 : 1, o = (i ? e.length : -1) + n; for (; o > -1 && o < e.length;) { if (!1 === (r = s(e[o], o, t))[0]) return r; o = "number" == typeof r[1] ? r[1] : o + n } }(e.children, u.concat(e))))[0] ? c : l } "function" == typeof t && "function" != typeof r && (i = r, r = t, t = null), a = n(t), s(e, null, []) } function o(e) { return null !== e && "object" == typeof e && "length" in e ? e : "number" == typeof e ? [!0, e] : [e] } i.CONTINUE = !0, i.SKIP = "skip", i.EXIT = !1 }, function(e, t, r) { "use strict"; function n(e) { if ("string" == typeof e) return function(e) { return function(t) { return Boolean(t && t.type === e) } }(e); if (null == e) return a; if ("object" == typeof e) return ("length" in e ? o : i)(e); if ("function" == typeof e) return e; throw new Error("Expected function, string, or object as test") } function i(e) { return function(t) { var r; for (r in e) if (t[r] !== e[r]) return !1; return !0 } } function o(e) { var t = function(e) { for (var t = [], r = e.length, i = -1; ++i < r;) t[i] = n(e[i]); return t }(e), r = t.length; return function() { var e = -1; for (; ++e < r;) if (t[e].apply(this, arguments)) return !0; return !1 } } function a() { return !0 } e.exports = n }, function(e, t, r) { "use strict"; var n = r(41); e.exports = function(e, t, r) { var i, o, a, s, u = t.charAt(0); if ("\n" !== u) return; if (r) return !0; s = 1, i = t.length, o = u, a = ""; for (; s < i && (u = t.charAt(s), n(u));) a += u, "\n" === u && (o += a, a = ""), s++; e(o) } }, function(e, t, r) { "use strict"; var n = r(49), i = r(313); e.exports = function(e, t, r) { var n, a, s, u = -1, c = t.length, l = "", f = "", p = "", d = ""; for (; ++u < c;) if (n = t.charAt(u), s) if (s = !1, l += p, f += d, p = "", d = "", "\n" === n) p = n, d = n; else for (l += n, f += n; ++u < c;) { if (!(n = t.charAt(u)) || "\n" === n) { d = n, p = n; break } l += n, f += n } else if (" " === n && t.charAt(u + 1) === n && t.charAt(u + 2) === n && t.charAt(u + 3) === n) p += o, u += 3, s = !0; else if ("\t" === n) p += n, s = !0; else { for (a = ""; "\t" === n || " " === n;) a += n, n = t.charAt(++u); if ("\n" !== n) break; p += a + n, d += n } if (f) return !!r || e(l)({ type: "code", lang: null, meta: null, value: i(f) }) }; var o = n(" ", 4) }, function(e, t, r) { "use strict"; var n = r(313); e.exports = function(e, t, r) { var i, o, a, s, u, c, l, f, p, d, h, v, m, y = this.options.gfm, b = t.length + 1, g = 0, _ = ""; if (!y) return; for (; g < b && (" " === (a = t.charAt(g)) || "\t" === a);) _ += a, g++; if (v = g, "~" !== (a = t.charAt(g)) && "`" !== a) return; g++, o = a, i = 1, _ += a; for (; g < b && (a = t.charAt(g)) === o;) _ += a, i++, g++; if (i < 3) return; for (; g < b && (" " === (a = t.charAt(g)) || "\t" === a);) _ += a, g++; s = "", l = ""; for (; g < b && "\n" !== (a = t.charAt(g)) && "~" !== a && "`" !== a;) " " === a || "\t" === a ? l += a : (s += l + a, l = ""), g++; if ((a = t.charAt(g)) && "\n" !== a) return; if (r) return !0; (m = e.now()).column += _.length, m.offset += _.length, _ += s, s = this.decode.raw(this.unescape(s), m), l && (_ += l); l = "", d = "", h = "", f = "", p = ""; for (; g < b;) if (a = t.charAt(g), f += d, p += h, d = "", h = "", "\n" === a) { for (f ? (d += a, h += a) : _ += a, l = "", g++; g < b && " " === (a = t.charAt(g));) l += a, g++; if (d += l, h += l.slice(v), !(l.length >= 4)) { for (l = ""; g < b && (a = t.charAt(g)) === o;) l += a, g++; if (d += l, h += l, !(l.length < i)) { for (l = ""; g < b && (" " === (a = t.charAt(g)) || "\t" === a);) d += a, h += a, g++; if (!a || "\n" === a) break } } } else f += a, h += a, g++; _ += f + d, g = -1, b = s.length; for (; ++g < b;) if (" " === (a = s.charAt(g)) || "\t" === a) u || (u = s.slice(0, g)); else if (u) { c = s.slice(g); break } return e(_)({ type: "code", lang: u || s || null, meta: c || null, value: n(p) }) } }, function(e, t, r) { "use strict"; var n = r(107), i = r(314); e.exports = function(e, t, r) { var o, a, s, u, c, l, f, p, d, h = this.offset, v = this.blockTokenizers, m = this.interruptBlockquote, y = e.now(), b = y.line, g = t.length, _ = [], T = [], S = [], A = 0; for (; A < g && (" " === (a = t.charAt(A)) || "\t" === a);) A++; if (">" !== t.charAt(A)) return; if (r) return !0; A = 0; for (; A < g;) { for (u = t.indexOf("\n", A), f = A, p = !1, -1 === u && (u = g); A < g && (" " === (a = t.charAt(A)) || "\t" === a);) A++; if (">" === t.charAt(A) ? (A++, p = !0, " " === t.charAt(A) && A++) : A = f, c = t.slice(A, u), !p && !n(c)) { A = f; break } if (!p && (s = t.slice(A), i(m, v, this, [e, s, !0]))) break; l = f === A ? c : t.slice(f, u), S.push(A - f), _.push(l), T.push(c), A = u + 1 } A = -1, g = S.length, o = e(_.join("\n")); for (; ++A < g;) h[b] = (h[b] || 0) + S[A], b++; return d = this.enterBlock(), T = this.tokenizeBlock(T.join("\n"), y), d(), o({ type: "blockquote", children: T }) } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r) { var n, i, o, a = this.options.pedantic, s = t.length + 1, u = -1, c = e.now(), l = "", f = ""; for (; ++u < s;) { if (" " !== (n = t.charAt(u)) && "\t" !== n) { u--; break } l += n } o = 0; for (; ++u <= s;) { if ("#" !== (n = t.charAt(u))) { u--; break } l += n, o++ } if (o > 6) return; if (!o || !a && "#" === t.charAt(u + 1)) return; s = t.length + 1, i = ""; for (; ++u < s;) { if (" " !== (n = t.charAt(u)) && "\t" !== n) { u--; break } i += n } if (!a && 0 === i.length && n && "\n" !== n) return; if (r) return !0; l += i, i = "", f = ""; for (; ++u < s && (n = t.charAt(u)) && "\n" !== n;) if (" " === n || "\t" === n || "#" === n) { for (; " " === n || "\t" === n;) i += n, n = t.charAt(++u); if (a || !f || i || "#" !== n) { for (; "#" === n;) i += n, n = t.charAt(++u); for (; " " === n || "\t" === n;) i += n, n = t.charAt(++u); u-- } else f += n } else f += i + n, i = ""; return c.column += l.length, c.offset += l.length, e(l += f + i)({ type: "heading", depth: o, children: this.tokenizeInline(f, c) }) } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r) { var n, i, o, a, s = -1, u = t.length + 1, c = ""; for (; ++s < u && ("\t" === (n = t.charAt(s)) || " " === n);) c += n; if ("*" !== n && "-" !== n && "_" !== n) return; i = n, c += n, o = 1, a = ""; for (; ++s < u;) if ((n = t.charAt(s)) === i) o++, c += a + i, a = ""; else { if (" " !== n) return o >= 3 && (!n || "\n" === n) ? (c += a, !!r || e(c)({ type: "thematicBreak" })) : void 0; a += n } } }, function(e, t, r) { "use strict"; var n = r(107), i = r(49), o = r(141), a = r(594), s = r(1395), u = r(314); e.exports = function(e, t, r) { var i, a, s, c, l, f, p, d, v, m, y, b, g, _, T, S, A, E, C, O, w, I, P = this.options.commonmark, x = this.options.pedantic, N = this.blockTokenizers, k = this.interruptList, R = 0, L = t.length, M = null, j = 0, D = !1; for (; R < L;) { if ("\t" === (s = t.charAt(R))) j += 4 - j % 4; else { if (" " !== s) break; j++ } R++ } if (j >= 4) return; if ("*" === (s = t.charAt(R)) || "+" === s || "-" === s) c = s, a = !1; else { for (a = !0, i = ""; R < L && (s = t.charAt(R), o(s));) i += s, R++; if (s = t.charAt(R), !i || !("." === s || P && ")" === s)) return; M = parseInt(i, 10), c = s } if (" " !== (s = t.charAt(++R)) && "\t" !== s && (x || "\n" !== s && "" !== s)) return; if (r) return !0; R = 0, g = [], _ = [], T = []; for (; R < L;) { for (l = t.indexOf("\n", R), f = R, p = !1, I = !1, -1 === l && (l = L), w = R + 4, j = 0; R < L;) { if ("\t" === (s = t.charAt(R))) j += 4 - j % 4; else { if (" " !== s) break; j++ } R++ } if (j >= 4 && (I = !0), S && j >= S.indent && (I = !0), s = t.charAt(R), d = null, !I) { if ("*" === s || "+" === s || "-" === s) d = s, R++, j++; else { for (i = ""; R < L && (s = t.charAt(R), o(s));) i += s, R++; s = t.charAt(R), R++, i && ("." === s || P && ")" === s) && (d = s, j += i.length + 1) } if (d) if ("\t" === (s = t.charAt(R))) j += 4 - j % 4, R++; else if (" " === s) { for (w = R + 4; R < w && " " === t.charAt(R);) R++, j++; R === w && " " === t.charAt(R) && (R -= 3, j -= 3) } else "\n" !== s && "" !== s && (d = null) } if (d) { if (!x && c !== d) break; p = !0 } else P || I || " " !== t.charAt(f) ? P && S && (I = j >= S.indent || j > 4) : I = !0, p = !1, R = f; if (m = t.slice(f, l), v = f === R ? m : t.slice(R, l), ("*" === d || "_" === d || "-" === d) && N.thematicBreak.call(this, e, m, !0)) break; if (y = b, b = !p && !n(v).length, I && S) S.value = S.value.concat(T, m), _ = _.concat(T, m), T = []; else if (p) 0 !== T.length && (D = !0, S.value.push(""), S.trail = T.concat()), S = { value: [m], indent: j, trail: [] }, g.push(S), _ = _.concat(T, m), T = []; else if (b) { if (y && !P) break; T.push(m) } else { if (y) break; if (u(k, N, this, [e, m, !0])) break; S.value = S.value.concat(T, m), _ = _.concat(T, m), T = [] } R = l + 1 } C = e(_.join("\n")).reset({ type: "list", ordered: a, start: M, spread: D, children: [] }), A = this.enterList(), E = this.enterBlock(), R = -1, L = g.length; for (; ++R < L;) S = g[R].value.join("\n"), O = e.now(), e(S)(h(this, S, O), C), S = g[R].trail.join("\n"), R !== L - 1 && (S += "\n"), e(S); return A(), E(), C }; var c = /\n\n(?!\s*$)/, l = /^\[([ \t]|x|X)][ \t]/, f = /^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/, p = /^([ \t]*)([*+-]|\d+[.)])([ \t]+)/, d = /^( {1,4}|\t)?/gm; function h(e, t, r) { var n, i, o = e.offset, a = e.options.pedantic ? v : m, s = null; return t = a.apply(null, arguments), e.options.gfm && (n = t.match(l)) && (i = n[0].length, s = "x" === n[1].toLowerCase(), o[r.line] += i, t = t.slice(i)), { type: "listItem", spread: c.test(t), checked: s, children: e.tokenizeBlock(t, r) } } function v(e, t, r) { var n = e.offset, i = r.line; return t = t.replace(p, o), i = r.line, t.replace(d, o); function o(e) { return n[i] = (n[i] || 0) + e.length, i++, "" } } function m(e, t, r) { var n, o, u, c, l, p, d, h = e.offset, v = r.line; for (c = (t = t.replace(f, (function(e, t, r, a, s) { o = t + r + a, u = s, Number(r) < 10 && o.length % 2 == 1 && (r = " " + r); return (n = t + i(" ", r.length) + a) + u }))).split("\n"), (l = s(t, a(n).indent).split("\n"))[0] = u, h[v] = (h[v] || 0) + o.length, v++, p = 0, d = c.length; ++p < d;) h[v] = (h[v] || 0) + c[p].length - l[p].length, v++; return l.join("\n") } }, function(e, t, r) { "use strict"; var n = r(107), i = r(49), o = r(594); e.exports = function(e, t) { var r, a, s, u, c = e.split("\n"), l = c.length + 1, f = 1 / 0, p = []; c.unshift(i(" ", t) + "!"); for (; l--;) if (a = o(c[l]), p[l] = a.stops, 0 !== n(c[l]).length) { if (!a.indent) { f = 1 / 0; break } a.indent > 0 && a.indent < f && (f = a.indent) } if (f !== 1 / 0) for (l = c.length; l--;) { for (s = p[l], r = f; r && !(r in s);) r--; u = 0 !== n(c[l]).length && f && r !== f ? "\t" : "", c[l] = u + c[l].slice(r in s ? s[r] + 1 : 0) } return c.shift(), c.join("\n") } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r) { var n, i, o, a, s, u = e.now(), c = t.length, l = -1, f = ""; for (; ++l < c;) { if (" " !== (o = t.charAt(l)) || l >= 3) { l--; break } f += o } n = "", i = ""; for (; ++l < c;) { if ("\n" === (o = t.charAt(l))) { l--; break } " " === o || "\t" === o ? i += o : (n += i + o, i = "") } if (u.column += f.length, u.offset += f.length, f += n + i, o = t.charAt(++l), a = t.charAt(++l), "\n" !== o || "=" !== a && "-" !== a) return; f += o, i = a, s = "=" === a ? 1 : 2; for (; ++l < c;) { if ((o = t.charAt(l)) !== a) { if ("\n" !== o) return; l--; break } i += o } if (r) return !0; return e(f + i)({ type: "heading", depth: s, children: this.tokenizeInline(n, u) }) } }, function(e, t, r) { "use strict"; var n = r(595).openCloseTag; e.exports = function(e, t, r) { var n, m, y, b, g, _, T, S = this.options.blocks.join("|"), A = new RegExp("^</?(" + S + ")(?=(\\s|/?>|$))", "i"), E = t.length, C = 0, O = [ [i, o, !0], [a, s, !0], [u, c, !0], [l, f, !0], [p, d, !0], [A, h, !0], [v, h, !1] ]; for (; C < E && ("\t" === (b = t.charAt(C)) || " " === b);) C++; if ("<" !== t.charAt(C)) return; n = -1 === (n = t.indexOf("\n", C + 1)) ? E : n, m = t.slice(C, n), y = -1, g = O.length; for (; ++y < g;) if (O[y][0].test(m)) { _ = O[y]; break } if (!_) return; if (r) return _[2]; if (C = n, !_[1].test(m)) for (; C < E;) { if (n = -1 === (n = t.indexOf("\n", C + 1)) ? E : n, m = t.slice(C + 1, n), _[1].test(m)) { m && (C = n); break } C = n } return T = t.slice(0, C), e(T)({ type: "html", value: T }) }; var i = /^<(script|pre|style)(?=(\s|>|$))/i, o = /<\/(script|pre|style)>/i, a = /^<!--/, s = /-->/, u = /^<\?/, c = /\?>/, l = /^<![A-Za-z]/, f = />/, p = /^<!\[CDATA\[/, d = /\]\]>/, h = /^$/, v = new RegExp(n.source + "\\s*$") }, function(e, t, r) { "use strict"; var n = r(41), i = r(315); e.exports = a, a.notInList = !0, a.notInBlock = !0; var o = /^( {4}|\t)?/gm; function a(e, t, r) { var a, s, u, c, l, f, p, d, h, v, m, y, b = this.offset; if (this.options.footnotes) { for (a = 0, s = t.length, u = "", c = e.now(), l = c.line; a < s && (h = t.charAt(a), n(h));) u += h, a++; if ("[" === t.charAt(a) && "^" === t.charAt(a + 1)) { for (a = (u += "[^").length, p = ""; a < s && "]" !== (h = t.charAt(a));) "\\" === h && (p += h, a++, h = t.charAt(a)), p += h, a++; if (p && "]" === t.charAt(a) && ":" === t.charAt(a + 1)) { if (r) return !0; for (v = p, a = (u += p + "]:").length; a < s && ("\t" === (h = t.charAt(a)) || " " === h);) u += h, a++; for (c.column += u.length, c.offset += u.length, p = "", f = "", d = ""; a < s;) { if ("\n" === (h = t.charAt(a))) { for (d = h, a++; a < s && "\n" === (h = t.charAt(a));) d += h, a++; for (p += d, d = ""; a < s && " " === (h = t.charAt(a));) d += h, a++; if (0 === d.length) break; p += d } p && (f += p, p = ""), f += h, a++ } return u += f, f = f.replace(o, (function(e) { return b[l] = (b[l] || 0) + e.length, l++, "" })), m = e(u), y = this.enterBlock(), f = this.tokenizeBlock(f, c), y(), m({ type: "footnoteDefinition", identifier: i(v), label: v, children: f }) } } } } }, function(e, t, r) { "use strict"; e.exports = function(e) { return String(e).replace(/\s+/g, " ") } }, function(e, t, r) { "use strict"; var n = r(41), i = r(315); e.exports = o, o.notInList = !0, o.notInBlock = !0; function o(e, t, r) { for (var n, o, u, c, l, f, p, d, h = this.options.commonmark, v = 0, m = t.length, y = ""; v < m && (" " === (c = t.charAt(v)) || "\t" === c);) y += c, v++; if ("[" === (c = t.charAt(v))) { for (v++, y += c, u = ""; v < m && "]" !== (c = t.charAt(v));) "\\" === c && (u += c, v++, c = t.charAt(v)), u += c, v++; if (u && "]" === t.charAt(v) && ":" === t.charAt(v + 1)) { for (f = u, v = (y += u + "]:").length, u = ""; v < m && ("\t" === (c = t.charAt(v)) || " " === c || "\n" === c);) y += c, v++; if (u = "", n = y, "<" === (c = t.charAt(v))) { for (v++; v < m && a(c = t.charAt(v));) u += c, v++; if ((c = t.charAt(v)) === a.delimiter) y += "<" + u + c, v++; else { if (h) return; v -= u.length + 1, u = "" } } if (!u) { for (; v < m && s(c = t.charAt(v));) u += c, v++; y += u } if (u) { for (p = u, u = ""; v < m && ("\t" === (c = t.charAt(v)) || " " === c || "\n" === c);) u += c, v++; if (l = null, '"' === (c = t.charAt(v)) ? l = '"' : "'" === c ? l = "'" : "(" === c && (l = ")"), l) { if (!u) return; for (v = (y += u + c).length, u = ""; v < m && (c = t.charAt(v)) !== l;) { if ("\n" === c) { if (v++, "\n" === (c = t.charAt(v)) || c === l) return; u += "\n" } u += c, v++ } if ((c = t.charAt(v)) !== l) return; o = y, y += u + c, v++, d = u, u = "" } else u = "", v = y.length; for (; v < m && ("\t" === (c = t.charAt(v)) || " " === c);) y += c, v++; return (c = t.charAt(v)) && "\n" !== c ? void 0 : !!r || (n = e(n).test().end, p = this.decode.raw(this.unescape(p), n, { nonTerminated: !1 }), d && (o = e(o).test().end, d = this.decode.raw(this.unescape(d), o)), e(y)({ type: "definition", identifier: i(f), label: f, title: d || null, url: p })) } } } } function a(e) { return ">" !== e && "[" !== e && "]" !== e } function s(e) { return "[" !== e && "]" !== e && !n(e) } a.delimiter = ">" }, function(e, t, r) { "use strict"; var n = r(41); e.exports = function(e, t, r) { var i, o, a, s, u, c, l, f, p, d, h, v, m, y, b, g, _, T, S, A, E, C, O, w; if (!this.options.gfm) return; i = 0, T = 0, c = t.length + 1, l = []; for (; i < c;) { if (C = t.indexOf("\n", i), O = t.indexOf("|", i + 1), -1 === C && (C = t.length), -1 === O || O > C) { if (T < 2) return; break } l.push(t.slice(i, C)), T++, i = C + 1 } s = l.join("\n"), o = l.splice(1, 1)[0] || [], i = 0, c = o.length, T--, a = !1, h = []; for (; i < c;) { if ("|" === (p = o.charAt(i))) { if (d = null, !1 === a) { if (!1 === w) return } else h.push(a), a = !1; w = !1 } else if ("-" === p) d = !0, a = a || null; else if (":" === p) a = "left" === a ? "center" : d && null === a ? "right" : "left"; else if (!n(p)) return; i++ }!1 !== a && h.push(a); if (h.length < 1) return; if (r) return !0; _ = -1, A = [], E = e(s).reset({ type: "table", align: h, children: A }); for (; ++_ < T;) { for (S = l[_], u = { type: "tableRow", children: [] }, _ && e("\n"), e(S).reset(u, E), c = S.length + 1, i = 0, f = "", v = "", m = !0, y = null, b = null; i < c;) if ("\t" !== (p = S.charAt(i)) && " " !== p) { if ("" === p || "|" === p) if (m) e(p); else { if (p && b) { f += p, i++; continue }!v && !p || m || (s = v, f.length > 1 && (p ? (s += f.slice(0, f.length - 1), f = f.charAt(f.length - 1)) : (s += f, f = "")), g = e.now(), e(s)({ type: "tableCell", children: this.tokenizeInline(v, g) }, u)), e(f + p), f = "", v = "" } else if (f && (v += f, f = ""), v += p, "\\" === p && i !== c - 2 && (v += S.charAt(i + 1), i++), "`" === p) { for (y = 1; S.charAt(i + 1) === p;) v += p, i++, y++; b ? y >= b && (b = 0) : b = y } m = !1, i++ } else v ? f += p : e(p), i++; _ || e("\n" + o) } return E } }, function(e, t, r) { "use strict"; var n = r(107), i = r(141), o = r(313), a = r(314); e.exports = function(e, t, r) { var s, u, c, l, f, p = this.options, d = p.commonmark, h = p.gfm, v = this.blockTokenizers, m = this.interruptParagraph, y = t.indexOf("\n"), b = t.length; for (; y < b;) { if (-1 === y) { y = b; break } if ("\n" === t.charAt(y + 1)) break; if (d) { for (l = 0, s = y + 1; s < b;) { if ("\t" === (c = t.charAt(s))) { l = 4; break } if (" " !== c) break; l++, s++ } if (l >= 4 && "\n" !== c) { y = t.indexOf("\n", y + 1); continue } } if (u = t.slice(y + 1), a(m, v, this, [e, u, !0])) break; if (v.list.call(this, e, u, !0) && (this.inList || d || h && !i(n.left(u).charAt(0)))) break; if (s = y, -1 !== (y = t.indexOf("\n", y + 1)) && "" === n(t.slice(s, y))) { y = s; break } } if (u = t.slice(0, y), "" === n(u)) return e(u), null; if (r) return !0; return f = e.now(), u = o(u), e(u)({ type: "paragraph", children: this.tokenizeInline(u, f) }) } }, function(e, t, r) { "use strict"; var n = r(1404); e.exports = i, i.locator = n; function i(e, t, r) { var n, i; if ("\\" === t.charAt(0) && (n = t.charAt(1), -1 !== this.escape.indexOf(n))) return !!r || (i = "\n" === n ? { type: "break" } : { type: "text", value: n }, e("\\" + n)(i)) } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { return e.indexOf("\\", t) } }, function(e, t, r) { "use strict"; var n = r(41), i = r(201), o = r(596); e.exports = s, s.locator = o, s.notInLink = !0; var a = "mailto:".length; function s(e, t, r) { var o, s, u, c, l, f = "", p = t.length, d = 0, h = "", v = !1, m = ""; if ("<" === t.charAt(0)) { for (d++, f = "<"; d < p && (o = t.charAt(d), !(n(o) || ">" === o || "@" === o || ":" === o && "/" === t.charAt(d + 1)));) h += o, d++; if (h) { if (m += h, h = "", m += o = t.charAt(d), d++, "@" === o) v = !0; else { if (":" !== o || "/" !== t.charAt(d + 1)) return; m += "/", d++ } for (; d < p && (o = t.charAt(d), !n(o) && ">" !== o);) h += o, d++; if (o = t.charAt(d), h && ">" === o) return !!r || (u = m += h, f += m + o, (s = e.now()).column++, s.offset++, v && ("mailto:" === m.slice(0, a).toLowerCase() ? (u = u.substr(a), s.column += a, s.offset += a) : m = "mailto:" + m), c = this.inlineTokenizers, this.inlineTokenizers = { text: c.text }, l = this.enterLink(), u = this.tokenizeInline(u, s), this.inlineTokenizers = c, l(), e(f)({ type: "link", title: null, url: i(m, { nonTerminated: !1 }), children: u })) } } } }, function(e, t, r) { "use strict"; var n = r(201), i = r(41), o = r(1407); e.exports = u, u.locator = o, u.notInLink = !0; var a = ["http://", "https://", "mailto:"], s = a.length; function u(e, t, r) { var o, u, c, l, f, p, d, h, v, m, y, b, g; if (this.options.gfm) { for (o = "", l = -1; ++l < s;) if (p = a[l], (d = t.slice(0, p.length)).toLowerCase() === p) { o = d; break } if (o) { for (l = o.length, h = t.length, v = "", m = 0; l < h && (c = t.charAt(l), !i(c) && "<" !== c) && ("." !== c && "," !== c && ":" !== c && ";" !== c && '"' !== c && "'" !== c && ")" !== c && "]" !== c || (y = t.charAt(l + 1)) && !i(y)) && ("(" !== c && "[" !== c || m++, ")" !== c && "]" !== c || !(--m < 0));) v += c, l++; if (v) { if (u = o += v, "mailto:" === p) { if (-1 === (f = v.indexOf("@")) || f === h - 1) return; u = u.substr("mailto:".length) } return !!r || (g = this.enterLink(), b = this.inlineTokenizers, this.inlineTokenizers = { text: b.text }, u = this.tokenizeInline(u, e.now()), this.inlineTokenizers = b, g(), e(o)({ type: "link", title: null, url: n(o, { nonTerminated: !1 }), children: u })) } } } } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r, i = n.length, o = -1, a = -1; if (!this.options.gfm) return -1; for (; ++o < i;) - 1 !== (r = e.indexOf(n[o], t)) && (r < a || -1 === a) && (a = r); return a }; var n = ["https://", "http://", "mailto:"] }, function(e, t, r) { "use strict"; var n = r(590), i = r(596), o = r(595).tag; e.exports = u, u.locator = i; var a = /^<a /i, s = /^<\/a>/i; function u(e, t, r) { var i, u, c = t.length; if (!("<" !== t.charAt(0) || c < 3) && (i = t.charAt(1), (n(i) || "?" === i || "!" === i || "/" === i) && (u = t.match(o)))) return !!r || (u = u[0], !this.inLink && a.test(u) ? this.inLink = !0 : this.inLink && s.test(u) && (this.inLink = !1), e(u)({ type: "html", value: u })) } }, function(e, t, r) { "use strict"; var n = r(41), i = r(597); e.exports = o, o.locator = i; function o(e, t, r) { var i, o, a, s, u, c, l, f, p, d, h, v, m, y, b, g, _, T, S = "", A = 0, E = t.charAt(0), C = this.options.pedantic, O = this.options.commonmark, w = this.options.gfm; if ("!" === E && (f = !0, S = E, E = t.charAt(++A)), "[" === E && (f || !this.inLink)) { for (S += E, y = "", A++, h = t.length, m = 0, (g = e.now()).column += A, g.offset += A; A < h;) { if (c = E = t.charAt(A), "`" === E) { for (o = 1; "`" === t.charAt(A + 1);) c += E, A++, o++; a ? o >= a && (a = 0) : a = o } else if ("\\" === E) A++, c += t.charAt(A); else if (a && !w || "[" !== E) { if ((!a || w) && "]" === E) { if (!m) { if (!C) for (; A < h && (E = t.charAt(A + 1), n(E));) c += E, A++; if ("(" !== t.charAt(A + 1)) return; c += "(", i = !0, A++; break } m-- } } else m++; y += c, c = "", A++ } if (i) { for (p = y, S += y + c, A++; A < h && (E = t.charAt(A), n(E));) S += E, A++; if (y = "", s = S, "<" === (E = t.charAt(A))) { for (A++, s += "<"; A < h && ">" !== (E = t.charAt(A));) { if (O && "\n" === E) return; y += E, A++ } if (">" !== t.charAt(A)) return; S += "<" + y + ">", b = y, A++ } else { for (E = null, c = ""; A < h && (E = t.charAt(A), !c || !('"' === E || "'" === E || O && "(" === E));) { if (n(E)) { if (!C) break; c += E } else { if ("(" === E) m++; else if (")" === E) { if (0 === m) break; m-- } y += c, c = "", "\\" === E && (y += "\\", E = t.charAt(++A)), y += E } A++ } b = y, A = (S += y).length } for (y = ""; A < h && (E = t.charAt(A), n(E));) y += E, A++; if (E = t.charAt(A), S += y, y && ('"' === E || "'" === E || O && "(" === E)) if (A++, y = "", d = "(" === E ? ")" : E, u = S += E, O) { for (; A < h && (E = t.charAt(A)) !== d;) "\\" === E && (y += "\\", E = t.charAt(++A)), A++, y += E; if ((E = t.charAt(A)) !== d) return; for (v = y, S += y + E, A++; A < h && (E = t.charAt(A), n(E));) S += E, A++ } else for (c = ""; A < h;) { if ((E = t.charAt(A)) === d) l && (y += d + c, c = ""), l = !0; else if (l) { if (")" === E) { S += y + d + c, v = y; break } n(E) ? c += E : (y += d + c + E, c = "", l = !1) } else y += E; A++ } if (")" === t.charAt(A)) return !!r || (S += ")", b = this.decode.raw(this.unescape(b), e(s).test().end, { nonTerminated: !1 }), v && (u = e(u).test().end, v = this.decode.raw(this.unescape(v), u)), T = { type: f ? "image" : "link", title: v || null, url: b }, f ? T.alt = this.decode.raw(this.unescape(p), g) || null : (_ = this.enterLink(), T.children = this.tokenizeInline(p, g), _()), e(S)(T)) } } } }, function(e, t, r) { "use strict"; var n = r(41), i = r(597), o = r(315); e.exports = a, a.locator = i; function a(e, t, r) { var i, a, s, u, c, l, f, p, d = this.options.commonmark, h = t.charAt(0), v = 0, m = t.length, y = "", b = "", g = "link", _ = "shortcut"; if ("!" === h && (g = "image", b = h, h = t.charAt(++v)), "[" === h) { if (v++, b += h, l = "", this.options.footnotes && "^" === t.charAt(v)) { if ("image" === g) return; b += "^", v++, g = "footnote" } for (p = 0; v < m;) { if ("[" === (h = t.charAt(v))) f = !0, p++; else if ("]" === h) { if (!p) break; p-- } "\\" === h && (l += "\\", h = t.charAt(++v)), l += h, v++ } if (y = l, i = l, "]" === (h = t.charAt(v))) { if (v++, y += h, l = "", !d) for (; v < m && (h = t.charAt(v), n(h));) l += h, v++; if (h = t.charAt(v), "footnote" !== g && "[" === h) { for (a = "", l += h, v++; v < m && "[" !== (h = t.charAt(v)) && "]" !== h;) "\\" === h && (a += "\\", h = t.charAt(++v)), a += h, v++; "]" === (h = t.charAt(v)) ? (_ = a ? "full" : "collapsed", l += a + h, v++) : a = "", y += l, l = "" } else { if (!i) return; a = i } if ("full" === _ || !f) return y = b + y, "link" === g && this.inLink ? null : !!r || ("footnote" === g && -1 !== i.indexOf(" ") ? e(y)({ type: "footnote", children: this.tokenizeInline(i, e.now()) }) : ((s = e.now()).column += b.length, s.offset += b.length, u = { type: g + "Reference", identifier: o(a = "full" === _ ? a : i), label: a }, "link" !== g && "image" !== g || (u.referenceType = _), "link" === g ? (c = this.enterLink(), u.children = this.tokenizeInline(i, s), c()) : "image" === g && (u.alt = this.decode.raw(this.unescape(i), s) || null), e(y)(u))) } } } }, function(e, t, r) { "use strict"; var n = r(107), i = r(41), o = r(1412); e.exports = a, a.locator = o; function a(e, t, r) { var o, a, s, u, c, l, f, p = 0, d = t.charAt(p); if (!("*" !== d && "_" !== d || t.charAt(++p) !== d || (a = this.options.pedantic, c = (s = d) + s, l = t.length, p++, u = "", d = "", a && i(t.charAt(p))))) for (; p < l;) { if (f = d, !((d = t.charAt(p)) !== s || t.charAt(p + 1) !== s || a && i(f)) && (d = t.charAt(p + 2)) !== s) { if (!n(u)) return; return !!r || ((o = e.now()).column += 2, o.offset += 2, e(c + u + c)({ type: "strong", children: this.tokenizeInline(u, o) })) } a || "\\" !== d || (u += d, d = t.charAt(++p)), u += d, p++ } } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r = e.indexOf("**", t), n = e.indexOf("__", t); if (-1 === n) return r; if (-1 === r) return n; return n < r ? n : r } }, function(e, t, r) { "use strict"; var n = r(107), i = r(1414), o = r(41), a = r(1415); e.exports = s, s.locator = a; function s(e, t, r) { var a, s, u, c, l, f, p, d = 0, h = t.charAt(d); if (!("*" !== h && "_" !== h || (s = this.options.pedantic, l = h, u = h, f = t.length, d++, c = "", h = "", s && o(t.charAt(d))))) for (; d < f;) { if (p = h, !((h = t.charAt(d)) !== u || s && o(p))) { if ((h = t.charAt(++d)) !== u) { if (!n(c) || p === u) return; if (!s && "_" === u && i(h)) { c += u; continue } return !!r || ((a = e.now()).column++, a.offset++, e(l + c + u)({ type: "emphasis", children: this.tokenizeInline(c, a) })) } c += u } s || "\\" !== h || (c += h, h = t.charAt(++d)), c += h, d++ } } }, function(e, t, r) { "use strict"; e.exports = function(e) { return i.test("number" == typeof e ? n(e) : e.charAt(0)) }; var n = String.fromCharCode, i = /\w/ }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r = e.indexOf("*", t), n = e.indexOf("_", t); if (-1 === n) return r; if (-1 === r) return n; return n < r ? n : r } }, function(e, t, r) { "use strict"; var n = r(41), i = r(1417); e.exports = o, o.locator = i; function o(e, t, r) { var i, o, a, s = "", u = "", c = "", l = ""; if (this.options.gfm && "~" === t.charAt(0) && "~" === t.charAt(1) && !n(t.charAt(2))) for (i = 1, o = t.length, (a = e.now()).column += 2, a.offset += 2; ++i < o;) { if (!("~" !== (s = t.charAt(i)) || "~" !== u || c && n(c))) return !!r || e("~~" + l + "~~")({ type: "delete", children: this.tokenizeInline(l, a) }); l += u, c = u, u = s } } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { return e.indexOf("~~", t) } }, function(e, t, r) { "use strict"; var n = r(41), i = r(1419); e.exports = o, o.locator = i; function o(e, t, r) { for (var i, o, a, s, u, c, l, f, p = t.length, d = 0, h = "", v = ""; d < p && "`" === t.charAt(d);) h += "`", d++; if (h) { for (u = h, s = d, h = "", f = t.charAt(d), a = 0; d < p;) { if (c = f, f = t.charAt(d + 1), "`" === c ? (a++, v += c) : (a = 0, h += c), a && "`" !== f) { if (a === s) { u += h + v, l = !0; break } h += v, v = "" } d++ } if (!l) { if (s % 2 != 0) return; h = "" } if (r) return !0; for (i = "", o = "", p = h.length, d = -1; ++d < p;) c = h.charAt(d), n(c) ? o += c : (o && (i && (i += o), o = ""), i += c); return e(u)({ type: "inlineCode", value: i }) } } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { return e.indexOf("`", t) } }, function(e, t, r) { "use strict"; var n = r(1421); e.exports = i, i.locator = n; function i(e, t, r) { for (var n, i = t.length, o = -1, a = ""; ++o < i;) { if ("\n" === (n = t.charAt(o))) { if (o < 2) return; return !!r || e(a += n)({ type: "break" }) } if (" " !== n) return; a += n } } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r = e.indexOf("\n", t); for (; r > t && " " === e.charAt(r - 1);) r--; return r } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r) { var n, i, o, a, s, u, c, l, f, p; if (r) return !0; n = this.inlineMethods, a = n.length, i = this.inlineTokenizers, o = -1, f = t.length; for (; ++o < a;) "text" !== (l = n[o]) && i[l] && ((c = i[l].locator) || e.file.fail("Missing locator: `" + l + "`"), -1 !== (u = c.call(this, t, 1)) && u < f && (f = u)); s = t.slice(0, f), p = e.now(), this.decode(s, p, (function(t, r, n) { e(n || t)({ type: "text", value: t }) })) } }, function(e, t, r) { "use strict"; var n = r(585), i = r(64), o = r(1424); function a(e) { var t = n(o); t.prototype.options = i(t.prototype.options, this.data("settings"), e), this.Compiler = t } e.exports = a, a.Compiler = o }, function(e, t, r) { "use strict"; var n = r(64), i = r(586); function o(e, t) { this.inLink = !1, this.inTable = !1, this.tree = e, this.file = t, this.options = n(this.options), this.setOptions({}) } e.exports = o; var a = o.prototype; a.enterLink = i("inLink", !1), a.enterTable = i("inTable", !1), a.enterLinkReference = r(1425), a.options = r(599), a.setOptions = r(1426), a.compile = r(1432), a.visit = r(1434), a.all = r(1435), a.block = r(1436), a.visitOrderedItems = r(1437), a.visitUnorderedItems = r(1438), a.visitors = { root: r(1439), text: r(1440), heading: r(1441), paragraph: r(1442), blockquote: r(1443), list: r(1444), listItem: r(1445), inlineCode: r(1446), code: r(1447), html: r(1448), thematicBreak: r(1449), strong: r(1450), emphasis: r(1451), break: r(1452), delete: r(1453), link: r(1454), linkReference: r(1456), imageReference: r(1458), definition: r(1459), image: r(1460), footnote: r(1461), footnoteReference: r(1462), footnoteDefinition: r(1463), table: r(1464), tableCell: r(1466) } }, function(e, t, r) { "use strict"; var n = r(598); e.exports = function(e, t) { var r = e.encode, i = e.escape, o = e.enterLink(); if ("shortcut" !== t.referenceType && "collapsed" !== t.referenceType) return o; return e.escape = n, e.encode = n, function() { e.encode = r, e.escape = i, o() } } }, function(e, t, r) { "use strict"; var n = r(64), i = r(1427), o = r(599), a = r(1430), s = r(598); e.exports = function(e) { var t, r, f = this.options; if (null == e) e = {}; else { if ("object" != typeof e) throw new Error("Invalid value `" + e + "` for setting `options`"); e = n(e) } for (r in o) c[typeof o[r]](e, r, f[r], u[r]); (t = e.ruleRepetition) && t < 3 && l(t, "options.ruleRepetition"); return this.encode = function(e) { var t = {}; if ("false" === e) return s; "true" === e && (t.useNamedReferences = !0); "escape" === e && (t.escapeOnly = !0, t.useNamedReferences = !0); return (function(e) { return i(e, t) }) }(String(e.entities)), this.escape = a(e), this.options = e, this }; var u = { entities: { true: !0, false: !0, numbers: !0, escape: !0 }, bullet: { "*": !0, "-": !0, "+": !0 }, rule: { "-": !0, _: !0, "*": !0 }, listItemIndent: { tab: !0, mixed: !0, 1: !0 }, emphasis: { _: !0, "*": !0 }, strong: { _: !0, "*": !0 }, fence: { "`": !0, "~": !0 } }, c = { boolean: function(e, t, r) { var n = e[t]; null == n && (n = r); "boolean" != typeof n && l(n, "options." + t); e[t] = n }, string: function(e, t, r, n) { var i = e[t]; null == i && (i = r); (i = String(i)) in n || l(i, "options." + t); e[t] = i }, number: function(e, t, r) { var n = e[t]; null == n && (n = r); isNaN(n) && l(n, "options." + t); e[t] = n }, function: function(e, t, r) { var n = e[t]; null == n && (n = r); "function" != typeof n && l(n, "options." + t); e[t] = n } }; function l(e, t) { throw new Error("Invalid value `" + e + "` for setting `" + t + "`") } }, function(e, t, r) { "use strict"; var n = r(1428), i = r(587), o = r(588), a = r(589), s = r(1429); e.exports = d, d.escape = function(e) { return d(e, { escapeOnly: !0, useNamedReferences: !0 }) }; var u = {}.hasOwnProperty, c = function() { var e, t = {}; for (e in n) t[n[e]] = e; return t }(), l = m(['"', "'", "<", ">", "&", "`"]), f = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, p = /[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g; function d(e, t) { var r = t || {}, n = r.subset, i = n ? m(n) : l, o = r.escapeOnly, a = r.omitOptionalSemicolons; return e = e.replace(i, (function(e, t, n) { return h(e, n.charAt(t + 1), r) })), n || o ? e : e.replace(f, (function(e, t, r) { return v(1024 * (e.charCodeAt(0) - 55296) + e.charCodeAt(1) - 56320 + 65536, r.charAt(t + 2), a) })).replace(p, (function(e, t, n) { return h(e, n.charAt(t + 1), r) })) } function h(e, t, r) { var n, o, l = r.useShortestReferences, f = r.omitOptionalSemicolons; return (l || r.useNamedReferences) && u.call(c, e) && (n = function(e, t, r, n) { var o = "&" + e; if (r && u.call(i, e) && -1 === s.indexOf(e) && (!n || t && "=" !== t && !a(t))) return o; return o + ";" }(c[e], t, f, r.attribute)), !l && n || (o = v(e.charCodeAt(0), t, f)), n && (!l || n.length < o.length) ? n : o } function v(e, t, r) { var n = "&#x" + e.toString(16).toUpperCase(); return r && t && !o(t) ? n : n + ";" } function m(e) { return new RegExp("[" + e.join("") + "]", "g") } }, function(e) { e.exports = JSON.parse('{"nbsp":"\xa0","iexcl":"\xa1","cent":"\xa2","pound":"\xa3","curren":"\xa4","yen":"\xa5","brvbar":"\xa6","sect":"\xa7","uml":"\xa8","copy":"\xa9","ordf":"\xaa","laquo":"\xab","not":"\xac","shy":"\xad","reg":"\xae","macr":"\xaf","deg":"\xb0","plusmn":"\xb1","sup2":"\xb2","sup3":"\xb3","acute":"\xb4","micro":"\xb5","para":"\xb6","middot":"\xb7","cedil":"\xb8","sup1":"\xb9","ordm":"\xba","raquo":"\xbb","frac14":"\xbc","frac12":"\xbd","frac34":"\xbe","iquest":"\xbf","Agrave":"\xc0","Aacute":"\xc1","Acirc":"\xc2","Atilde":"\xc3","Auml":"\xc4","Aring":"\xc5","AElig":"\xc6","Ccedil":"\xc7","Egrave":"\xc8","Eacute":"\xc9","Ecirc":"\xca","Euml":"\xcb","Igrave":"\xcc","Iacute":"\xcd","Icirc":"\xce","Iuml":"\xcf","ETH":"\xd0","Ntilde":"\xd1","Ograve":"\xd2","Oacute":"\xd3","Ocirc":"\xd4","Otilde":"\xd5","Ouml":"\xd6","times":"\xd7","Oslash":"\xd8","Ugrave":"\xd9","Uacute":"\xda","Ucirc":"\xdb","Uuml":"\xdc","Yacute":"\xdd","THORN":"\xde","szlig":"\xdf","agrave":"\xe0","aacute":"\xe1","acirc":"\xe2","atilde":"\xe3","auml":"\xe4","aring":"\xe5","aelig":"\xe6","ccedil":"\xe7","egrave":"\xe8","eacute":"\xe9","ecirc":"\xea","euml":"\xeb","igrave":"\xec","iacute":"\xed","icirc":"\xee","iuml":"\xef","eth":"\xf0","ntilde":"\xf1","ograve":"\xf2","oacute":"\xf3","ocirc":"\xf4","otilde":"\xf5","ouml":"\xf6","divide":"\xf7","oslash":"\xf8","ugrave":"\xf9","uacute":"\xfa","ucirc":"\xfb","uuml":"\xfc","yacute":"\xfd","thorn":"\xfe","yuml":"\xff","fnof":"\u0192","Alpha":"\u0391","Beta":"\u0392","Gamma":"\u0393","Delta":"\u0394","Epsilon":"\u0395","Zeta":"\u0396","Eta":"\u0397","Theta":"\u0398","Iota":"\u0399","Kappa":"\u039a","Lambda":"\u039b","Mu":"\u039c","Nu":"\u039d","Xi":"\u039e","Omicron":"\u039f","Pi":"\u03a0","Rho":"\u03a1","Sigma":"\u03a3","Tau":"\u03a4","Upsilon":"\u03a5","Phi":"\u03a6","Chi":"\u03a7","Psi":"\u03a8","Omega":"\u03a9","alpha":"\u03b1","beta":"\u03b2","gamma":"\u03b3","delta":"\u03b4","epsilon":"\u03b5","zeta":"\u03b6","eta":"\u03b7","theta":"\u03b8","iota":"\u03b9","kappa":"\u03ba","lambda":"\u03bb","mu":"\u03bc","nu":"\u03bd","xi":"\u03be","omicron":"\u03bf","pi":"\u03c0","rho":"\u03c1","sigmaf":"\u03c2","sigma":"\u03c3","tau":"\u03c4","upsilon":"\u03c5","phi":"\u03c6","chi":"\u03c7","psi":"\u03c8","omega":"\u03c9","thetasym":"\u03d1","upsih":"\u03d2","piv":"\u03d6","bull":"\u2022","hellip":"\u2026","prime":"\u2032","Prime":"\u2033","oline":"\u203e","frasl":"\u2044","weierp":"\u2118","image":"\u2111","real":"\u211c","trade":"\u2122","alefsym":"\u2135","larr":"\u2190","uarr":"\u2191","rarr":"\u2192","darr":"\u2193","harr":"\u2194","crarr":"\u21b5","lArr":"\u21d0","uArr":"\u21d1","rArr":"\u21d2","dArr":"\u21d3","hArr":"\u21d4","forall":"\u2200","part":"\u2202","exist":"\u2203","empty":"\u2205","nabla":"\u2207","isin":"\u2208","notin":"\u2209","ni":"\u220b","prod":"\u220f","sum":"\u2211","minus":"\u2212","lowast":"\u2217","radic":"\u221a","prop":"\u221d","infin":"\u221e","ang":"\u2220","and":"\u2227","or":"\u2228","cap":"\u2229","cup":"\u222a","int":"\u222b","there4":"\u2234","sim":"\u223c","cong":"\u2245","asymp":"\u2248","ne":"\u2260","equiv":"\u2261","le":"\u2264","ge":"\u2265","sub":"\u2282","sup":"\u2283","nsub":"\u2284","sube":"\u2286","supe":"\u2287","oplus":"\u2295","otimes":"\u2297","perp":"\u22a5","sdot":"\u22c5","lceil":"\u2308","rceil":"\u2309","lfloor":"\u230a","rfloor":"\u230b","lang":"\u2329","rang":"\u232a","loz":"\u25ca","spades":"\u2660","clubs":"\u2663","hearts":"\u2665","diams":"\u2666","quot":"\\"","amp":"&","lt":"<","gt":">","OElig":"\u0152","oelig":"\u0153","Scaron":"\u0160","scaron":"\u0161","Yuml":"\u0178","circ":"\u02c6","tilde":"\u02dc","ensp":"\u2002","emsp":"\u2003","thinsp":"\u2009","zwnj":"\u200c","zwj":"\u200d","lrm":"\u200e","rlm":"\u200f","ndash":"\u2013","mdash":"\u2014","lsquo":"\u2018","rsquo":"\u2019","sbquo":"\u201a","ldquo":"\u201c","rdquo":"\u201d","bdquo":"\u201e","dagger":"\u2020","Dagger":"\u2021","permil":"\u2030","lsaquo":"\u2039","rsaquo":"\u203a","euro":"\u20ac"}') }, function(e) { e.exports = JSON.parse('["cent","copy","divide","gt","lt","not","para","times"]') }, function(e, t, r) { "use strict"; var n = r(141), i = r(1431), o = r(41), a = r(591), s = r(600); e.exports = function(e) { return function(t, r, d) { var h, v, m, y, b, g, _ = e.gfm, T = e.commonmark, S = e.pedantic, A = T ? [".", ")"] : ["."], E = d && d.children, C = E && E.indexOf(r), O = E && E[C - 1], w = E && E[C + 1], I = t.length, P = a(e), x = -1, N = [], k = N; h = O ? f(O) && c.test(O.value) : !d || "root" === d.type || "paragraph" === d.type; for (; ++x < I;) { if (v = t.charAt(x), g = !1, "\n" === v) h = !0; else if ("\\" === v || "`" === v || "*" === v || "!" === v && "[" === t.charAt(x + 1) || "[" === v || "<" === v || "&" === v && s(t.slice(x)) > 0 || "]" === v && this.inLink || _ && "~" === v && "~" === t.charAt(x + 1) || _ && "|" === v && (this.inTable || l(t, x)) || "_" === v && x > 0 && x < I - 1 && (S || !i(t.charAt(x - 1)) || !i(t.charAt(x + 1))) || _ && !this.inLink && ":" === v && p(N.join(""))) g = !0; else if (h) if (">" === v || "#" === v || "*" === v || "-" === v || "+" === v) g = !0; else if (n(v)) { for (b = x + 1; b < I && n(t.charAt(b));) b++; - 1 !== A.indexOf(t.charAt(b)) && ((w = t.charAt(b + 1)) && " " !== w && "\t" !== w && "\n" !== w || (N.push(t.slice(x, b)), x = b, v = t.charAt(x), g = !0)) } h && !o(v) && (h = !1), N.push(g ? R(v) : v) } if (E && f(r)) { if (O && "shortcut" === O.referenceType) { for (x = -1, I = k.length; ++x < I;) if (" " !== (v = k[x]) && "\t" !== v) { "(" !== v && ":" !== v || (k[x] = R(v)); break } f(w) && x === I && "(" === w.value.charAt(0) && k.push("\\") } _ && !this.inLink && f(O) && ":" === t.charAt(0) && p(O.value.slice(-6)) && (k[0] = R(":")), f(w) && "&" === t.charAt(I - 1) && 0 !== s("&" + w.value) && (k[k.length - 1] = R("&")), w && "link" === w.type && "!" === t.charAt(I - 1) && (k[k.length - 1] = R("!")), _ && f(w) && "~" === t.charAt(I - 1) && "~" === w.value.charAt(0) && k.splice(k.length - 1, 0, "\\"), m = f(O) && i(O.value.slice(-1)), y = f(w) && i(w.value.charAt(0)), 1 === I ? "_" !== t || !S && m && y || k.unshift("\\") : ("_" !== t.charAt(0) || !S && m && i(t.charAt(1)) || k.unshift("\\"), "_" !== t.charAt(I - 1) || !S && y && i(t.charAt(I - 2)) || k.splice(k.length - 1, 0, "\\")) } return k.join(""); function R(e) { return -1 === P.indexOf(e) ? u[e] : "\\" + e } } }; var u = { "<": "<", ":": ":", "&": "&", "|": "|", "~": "~" }, c = /\n\s*$/; function l(e, t) { var r, n = e.lastIndexOf("\n", t), i = e.indexOf("\n", t); for (i = -1 === i ? e.length : i; ++n < i;) if (":" !== (r = e.charAt(n)) && "-" !== r && " " !== r && "|" !== r) return !1; return !0 } function f(e) { return e && "text" === e.type } function p(e) { var t = e.slice(-6).toLowerCase(); return "mailto" === t || "https" === t.slice(-5) || "http" === t.slice(-4) } }, function(e, t, r) { "use strict"; e.exports = function(e) { if ("string" != typeof e) throw new TypeError("Expected a string"); return !/[^0-9a-z\xDF-\xFF]/.test(e.toLowerCase()) } }, function(e, t, r) { "use strict"; var n = r(1433); e.exports = function() { return this.visit(n(this.tree, this.options.commonmark)) } }, function(e, t, r) { "use strict"; var n = r(593); function i(e, t) { var r, n; return "text" === e.type ? !e.position || (r = e.position.start, n = e.position.end, r.line !== n.line || n.column - r.column === e.value.length) : t && "blockquote" === e.type } e.exports = function(e, t) { return n(e, (function(e, r, n) { var o = n ? n.children : [], a = r && o[r - 1]; if (a && e.type === a.type && i(a, t) && i(e, t)) return e.value && (a.value += e.value), e.children && (a.children = a.children.concat(e.children)), o.splice(r, 1), a.position && e.position && (a.position.end = e.position.end), r })), e } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r = this.visitors; "function" != typeof r[e.type] && this.file.fail(new Error("Missing compiler for node of type `" + e.type + "`: `" + e + "`"), e); return r[e.type].call(this, e, t) } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = e.children, r = t.length, n = [], i = -1; for (; ++i < r;) n[i] = this.visit(t[i], e); return n } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t, r, n = this.options, i = n.fences, o = n.commonmark ? "\n\n\x3c!----\x3e\n\n" : "\n\n\n", a = [], s = e.children, u = s.length, c = -1; for (; ++c < u;) t = r, r = s[c], t && ("list" === t.type && ("list" === r.type && t.ordered === r.ordered || "code" === r.type && !r.lang && !i) ? a.push(o) : a.push("\n\n")), a.push(this.visit(r, e)); return a.join("") } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t, r = this.visitors.listItem, n = this.options.incrementListMarker, i = [], o = e.start, a = e.children, s = a.length, u = -1; o = null == o ? 1 : o; for (; ++u < s;) t = (n ? o + u : o) + ".", i[u] = r.call(this, a[u], e, u, t); return i.join(e.spread ? "\n\n" : "\n") } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = this.options.bullet, r = this.visitors.listItem, n = e.children, i = n.length, o = -1, a = []; for (; ++o < i;) a[o] = r.call(this, n[o], e, o, t); return a.join(e.spread ? "\n\n" : "\n") } }, function(e, t, r) { "use strict"; e.exports = function(e) { return this.block(e) + "\n" } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { return this.encode(this.escape(e.value, e, t), e) } }, function(e, t, r) { "use strict"; var n = r(49); e.exports = function(e) { var t, r = e.depth, i = this.options.setext, o = this.options.closeAtx, a = this.all(e).join(""); if (i && r < 3) return a + "\n" + n(1 === r ? "=" : "-", a.length); return (t = n("#", e.depth)) + " " + a + (o ? " " + t : "") } }, function(e, t, r) { "use strict"; e.exports = function(e) { return this.all(e).join("") } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t, r = this.block(e).split("\n"), n = [], i = r.length, o = -1; for (; ++o < i;) t = r[o], n[o] = (t ? " " : "") + t; return ">" + n.join("\n>") } }, function(e, t, r) { "use strict"; e.exports = function(e) { return (e.ordered ? this.visitOrderedItems : this.visitUnorderedItems).call(this, e) } }, function(e, t, r) { "use strict"; var n = r(49), i = r(601); e.exports = function(e, t, r, a) { var s, u, c, l = this.options.listItemIndent, f = a || this.options.bullet, p = null == e.spread || e.spread, d = e.checked, h = e.children, v = h.length, m = [], y = -1; for (; ++y < v;) m[y] = this.visit(h[y], e); s = m.join(p ? "\n\n" : "\n"), "boolean" == typeof d && (s = "[" + (d ? "x" : " ") + "] " + s); "1" === l || "mixed" === l && -1 === s.indexOf("\n") ? (u = f.length + 1, c = " ") : (u = 4 * o((f.length + 1) / 4), c = n(" ", u - f.length)); return s ? f + c + i(s, u / 4).slice(u) : f }; var o = Math.ceil }, function(e, t, r) { "use strict"; var n = r(602), i = r(49); e.exports = function(e) { var t = e.value, r = i("`", n(t, "`") + 1), o = r, a = r; "`" === t.charAt(0) && (o += " "); "`" === t.charAt(t.length - 1) && (a = " " + a); return o + t + a } }, function(e, t, r) { "use strict"; var n = r(602), i = r(49), o = r(601); e.exports = function(e, t) { var r, a = e.value, s = this.options, u = s.fence, c = e.lang || ""; c && e.meta && (c += " " + e.meta); if (!(c = this.encode(this.escape(c, e))) && !s.fences && a) return t && "listItem" === t.type && "tab" !== s.listItemIndent && s.pedantic && this.file.fail("Cannot indent code properly. See https://git.io/fxKR8", e.position), o(a, 1); return (r = i(u, Math.max(n(a, u) + 1, 3))) + c + "\n" + a + "\n" + r } }, function(e, t, r) { "use strict"; e.exports = function(e) { return e.value } }, function(e, t, r) { "use strict"; var n = r(49); e.exports = function() { var e = this.options, t = n(e.rule, e.ruleRepetition); return e.ruleSpaces ? t.split("").join(" ") : t } }, function(e, t, r) { "use strict"; var n = r(49); e.exports = function(e) { var t = n(this.options.strong, 2); return t + this.all(e).join("") + t } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = this.options.emphasis, r = this.all(e).join(""); this.options.pedantic && "_" === t && -1 !== r.indexOf(t) && (t = "*"); return t + r + t } }, function(e, t, r) { "use strict"; e.exports = function() { return this.options.commonmark ? "\\\n" : " \n" } }, function(e, t, r) { "use strict"; e.exports = function(e) { return "~~" + this.all(e).join("") + "~~" } }, function(e, t, r) { "use strict"; var n = r(316), i = r(317); e.exports = function(e) { var t = this.encode(e.url || "", e), r = this.enterLink(), a = this.encode(this.escape(e.url || "", e)), s = this.all(e).join(""); if (r(), null == e.title && o.test(t) && a === s) return n(this.encode(e.url), !0); t = n(t), e.title && (t += " " + i(this.encode(this.escape(e.title, e), e))); return "[" + s + "](" + t + ")" }; var o = /^[a-z][a-z+.-]+:\/?/i }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r, n = 0; if (e = String(e), "string" != typeof t || 1 !== t.length) throw new Error("Expected character"); r = e.indexOf(t); for (; - 1 !== r;) n++, r = e.indexOf(t, r + 1); return n } }, function(e, t, r) { "use strict"; var n = r(1457), i = r(603); e.exports = function(e) { var t = e.referenceType, r = this.enterLinkReference(this, e), o = this.all(e).join(""); r(), ("shortcut" === t || "collapsed" === t) && (o = n(o, e.label || e.identifier)); return "[" + o + "]" + i(e) } }, function(e, t, r) { "use strict"; var n = r(600); e.exports = function(e, t) { var r, o = e.length, a = t.length, s = [], u = 0, c = 0; for (; c < o;) { for (r = c; c < o && !i.test(e.charAt(c));) c += 1; for (s.push(e.slice(r, c)); u < a && !i.test(t.charAt(u));) u += 1; for (r = u; u < a && i.test(t.charAt(u));) "&" === t.charAt(u) && (u += n(t.slice(u))), u += 1; for (s.push(t.slice(r, u)); c < o && i.test(e.charAt(c));) c += 1 } return s.join("") }; var i = /[-!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~_]/ }, function(e, t, r) { "use strict"; var n = r(603); e.exports = function(e) { return "![" + (this.encode(e.alt, e) || "") + "]" + n(e) } }, function(e, t, r) { "use strict"; var n = r(316), i = r(317); e.exports = function(e) { var t = n(e.url); e.title && (t += " " + i(e.title)); return "[" + (e.label || e.identifier) + "]: " + t } }, function(e, t, r) { "use strict"; var n = r(316), i = r(317); e.exports = function(e) { var t = n(this.encode(e.url || "", e)), r = this.enterLink(), o = this.encode(this.escape(e.alt || "", e)); r(), e.title && (t += " " + i(this.encode(e.title, e))); return "![" + o + "](" + t + ")" } }, function(e, t, r) { "use strict"; e.exports = function(e) { return "[^" + this.all(e).join("") + "]" } }, function(e, t, r) { "use strict"; e.exports = function(e) { return "[^" + (e.label || e.identifier) + "]" } }, function(e, t, r) { "use strict"; var n = r(49), i = n(" ", 4); e.exports = function(e) { var t = this.all(e).join("\n\n" + i); return "[^" + (e.label || e.identifier) + "]: " + t } }, function(e, t, r) { "use strict"; var n = r(1465); e.exports = function(e) { var t, r, i = this.options, o = i.looseTable, a = i.spacedTable, s = i.paddedTable, u = i.stringLength, c = e.children, l = c.length, f = this.enterTable(), p = []; for (; l--;) p[l] = this.all(c[l]); f(), o ? (t = "", r = "") : a ? (t = "| ", r = " |") : (t = "|", r = "|"); return n(p, { align: e.align, pad: s, start: t, end: r, stringLength: u, delimiter: a ? " | " : "|" }) } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r, i, c, l, f, p, d, h, v, m, y, b, g = t || {}, _ = g.delimiter, T = g.start, S = g.end, A = g.align, E = g.stringLength || a, C = 0, O = -1, w = e.length, I = []; A = A ? A.concat() : [], null == _ && (_ = " | "); null == T && (T = "| "); null == S && (S = " |"); for (; ++O < w;) for (l = e[O], p = -1, l.length > C && (C = l.length); ++p < C;) d = l[p] ? u(l[p]) : null, I[p] || (I[p] = 3), d > I[p] && (I[p] = d); "string" == typeof A && (A = s(C, A).split("")); p = -1; for (; ++p < C;) "string" == typeof(r = A[p]) && (r = r.charAt(0).toLowerCase()), "l" !== r && "r" !== r && "c" !== r && "." !== r && (r = ""), A[p] = r; O = -1, c = []; for (; ++O < w;) { for (l = e[O], p = -1, f = []; ++p < C;) v = o(v = l[p]), "." === A[p] ? (d = u(v), h = I[p] + (n.test(v) ? 0 : 1) - (E(v) - d), f[p] = v + s(h - 1)) : f[p] = v; c[O] = f } I = [], O = -1; for (; ++O < w;) for (f = c[O], p = -1; ++p < C;) v = f[p], I[p] || (I[p] = 3), (h = E(v)) > I[p] && (I[p] = h); O = -1; for (; ++O < w;) { if (f = c[O], p = -1, !1 !== g.pad) for (; ++p < C;) v = f[p], d = I[p] - (E(v) || 0), m = s(d), "r" === A[p] || "." === A[p] ? v = m + v : "c" === A[p] ? ((d /= 2) % 1 == 0 ? (y = d, b = d) : (y = d + .5, b = d - .5), v = s(y) + v + s(b)) : v += m, f[p] = v; c[O] = f.join(_) } if (!1 !== g.rule) { for (p = -1, i = []; ++p < C;) !1 === g.pad ? (v = e[0][p], m = (m = E(o(v))) > 3 ? m : 3) : m = I[p], r = A[p], v = "r" === r || "" === r ? "-" : ":", v += s(m - 2, "-"), v += "l" !== r && "" !== r ? ":" : "-", i[p] = v; c.splice(1, 0, i.join(_)) } return T + c.join(S + "\n" + T) + S }; var n = /\./, i = /\.[^.]*$/; function o(e) { return null == e ? "" : String(e) } function a(e) { return String(e).length } function s(e, t) { return new Array(e + 1).join(t || " ") } function u(e) { var t = i.exec(e); return t ? t.index + 1 : e.length } }, function(e, t, r) { "use strict"; e.exports = function(e) { return this.all(e).join("") } }, function(e, t, r) { "use strict"; e.exports = function() { return i }; var n = {}; function i(e) { var t = e && e.type; return t in n && (e = n[t](e)), "length" in e && (e = o(e)), e.children && (e.children = o(e.children)), e } function o(e) { for (var t, r = -1, n = e.length, o = []; ++r < n;)(t = i(e[r])) && "number" == typeof t.length ? o = o.concat(t.map(i)) : o.push(t); return function(e) { var t, r = -1, n = e.length, i = [], o = null; for (; ++r < n;) t = e[r], o && "value" in t && t.type === o.type ? o.value += t.value : (i.push(t), o = t); return i }(o) } function a(e) { return { type: "text", value: e.alt || e.title || "" } } function s(e) { return { type: "text", value: e.value } } function u(e) { return e.children } function c() { return { type: "text", value: "" } } n.heading = function(e) { return { type: "paragraph", children: e.children } }, n.text = s, n.inlineCode = s, n.image = a, n.imageReference = a, n.break = function() { return { type: "text", value: "\n" } }, n.blockquote = u, n.list = u, n.listItem = u, n.strong = u, n.emphasis = u, n.delete = u, n.link = u, n.linkReference = u, n.code = c, n.horizontalRule = c, n.thematicBreak = c, n.html = c, n.table = c, n.tableCell = c, n.definition = c, n.yaml = c, n.toml = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = Date.now(), r = (a = (0, n.useState)(), s = 2, function(e) { if (Array.isArray(e)) return e }(a) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(a, s) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }()), i = (r[0], r[1]), o = t >= e; var a, s; return (0, n.useEffect)((function() { if (!o) { var r = setTimeout((function() { return i({}) }), Math.max(0, e - t)); return function() { return clearTimeout(r) } } }), [t, o, e]), o }; var n = r(0) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return function() { return function(e) { return function(t) { var r = t.activity, n = t.sendState, a = function(e, t) { if (null == e) return {}; var r, n, i = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]) } return i }(t, ["activity", "sendState"]); return n !== c ? i.default.createElement(o.default, { activity: r, sendState: n }) : e(function(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? s(Object(r), !0).forEach((function(t) { u(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : s(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e }({ activity: r, sendState: n }, a)) } } } }; var n = r(48), i = a(r(0)), o = a(r(609)); function a(e) { return e && e.__esModule ? e : { default: e } } function s(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function u(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } var c = n.Constants.ActivityClientState.SENT }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = c(r(1)), o = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = u(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), a = c(r(1471)), s = c(r(15)); function u() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return u = function() { return e }, e } function c(e) { return e && e.__esModule ? e : { default: e } } var l = ["RETRY"], f = function(e) { var t = e.onRetryClick, r = (0, o.useCallback)((function(e) { return "RETRY" === e.data && t() }), [t]), n = (0, s.default)()("ACTIVITY_STATUS_SEND_FAILED_RETRY"); return o.default.createElement(a.default, { onReference: r, references: l }, n) }; f.propTypes = { onRetryClick: i.default.func.isRequired }; var p = f; t.default = p }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = r(7), o = h(r(1)), a = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = d(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), s = h(r(186)), u = h(r(139)), c = h(r(194)), l = h(r(1472)), f = h(r(20)), p = h(r(576)); function d() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return d = function() { return e }, e } function h(e) { return e && e.__esModule ? e : { default: e } } function v(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } function m(e) { return function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } }(e) || function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) }(e) || function() { throw new TypeError("Invalid attempt to spread non-iterable instance") }() } function y(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function b(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? y(Object(r), !0).forEach((function(t) { g(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : y(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function g(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } var _ = function(e) { var t = e.children, r = e.onReference, n = e.references; "string" != typeof t && (console.warn('botframework-webchat: "children" prop passed to <InlineMarkdown> must be of type string.'), t = ""); var o = v((0, l.default)(), 1)[0], d = v((0, f.default)(), 1)[0].accent, h = (0, a.useMemo)((function() { return (0, i.css)({ "& button[data-markdown-href]": { appearance: "none", backgroundColor: "transparent", border: 0, color: d, cursor: "pointer", fontFamily: "inherit", fontSize: "inherit", padding: 0 } }) + "" }), [d]), y = (n = n.map((function(e) { return e.toUpperCase() }))).reduce((function(e, t) { var r = e.hrefToRef, n = e.refToHref, i = (0, c.default)(); return { hrefToRef: b(b({}, r), {}, g({}, i, t)), refToHref: b(b({}, n), {}, g({}, t, i)) } }), { hrefToRef: {}, refToHref: {} }), _ = y.hrefToRef, T = y.refToHref, S = (0, a.useMemo)((function() { var e, r = o.parseInline(t, { references: n.reduce((function(e, t) { return b(b({}, e), {}, g({}, t, { href: "#".concat(T[t]) })) }), {}) }), i = (e = r, (0, p.default)(e, (function(e) { switch ((e = b({}, e)).type) { case "link_open": e.tag = "button", e.attrs = [].concat(m((0, s.default)(e.attrs, [function(e) { var t = v(e, 2), r = t[0], n = t[1]; return "href" === r && n.startsWithWebChat("#") }], (function(e) { return ["data-markdown-href", v(e, 2)[1].substr(1)] }))), [ ["type", "button"] ]); break; case "link_close": e.tag = "button" } return e }))); return { __html: o.renderer.render(i) } }), [t, T, o, n]), A = (0, a.useCallback)((function(e) { e.stopPropagation(); var t = e.target.getAttribute("data-markdown-href"); t && r && r((0, u.default)("reference", { data: _[t] })) }), [_, r]); return a.default.createElement("span", { className: h, dangerouslySetInnerHTML: S, onClick: A }) }; _.defaultProps = { children: "", onReference: void 0, references: [] }, _.propTypes = { children: o.default.string, onReference: o.default.func, references: o.default.arrayOf(o.default.string) }; var T = _; t.default = T }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n, i = (n = r(4)) && n.__esModule ? n : { default: n }; var o = function() { return (0, i.default)().internalMarkdownItState }; t.default = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return function() { return function(e) { return function(t) { var r = t.activity, o = t.sameTimestampGroup, u = function(e, t) { if (null == e) return {}; var r, n, i = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i }(e, t); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]) } return i }(t, ["activity", "sameTimestampGroup"]); return o ? e(function(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? a(Object(r), !0).forEach((function(t) { s(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : a(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e }({ activity: r, sameTimestampGroup: o }, u)) : n.default.createElement(i.default, { activity: r, "aria-hidden": !0 }) } } } }; var n = o(r(0)), i = o(r(611)); function o(e) { return e && e.__esModule ? e : { default: e } } function a(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function s(e, t, r) { return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = u(r(1)), i = u(r(0)), o = u(r(34)), a = u(r(144)), s = u(r(15)); function u(e) { return e && e.__esModule ? e : { default: e } } var c = function(e) { var t = e.value, r = (0, s.default)(), n = (0, a.default)()(t); return i.default.createElement(i.default.Fragment, null, i.default.createElement(o.default, { text: r("ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT", n) }), i.default.createElement("span", { "aria-hidden": !0 }, n)) }; c.propTypes = { value: n.default.string.isRequired }; var l = c; t.default = l }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = l(r(1)), i = l(r(0)), o = l(r(34)), a = l(r(144)), s = l(r(1476)), u = l(r(15)), c = l(r(612)); function l(e) { return e && e.__esModule ? e : { default: e } } var f = function(e) { var t = e.value, r = (0, a.default)(), n = (0, c.default)(), l = (0, u.default)(); return (0, s.default)(t, 6e4), i.default.createElement(i.default.Fragment, null, i.default.createElement(o.default, { text: l("ACTIVITY_STATUS_SEND_STATUS_ALT_SENT_AT", r(t)) }), i.default.createElement("span", { "aria-hidden": !0 }, n(t))) }; f.propTypes = { value: n.default.string.isRequired }; var p = f; t.default = p }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r) { var a = (f = (0, n.useState)(s(e, t)), p = 2, function(e) { if (Array.isArray(e)) return e }(f) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(f, p) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }()), u = a[0], c = a[1], l = (0, n.useCallback)((function() { r && r(), c(s(e, t) + (0, i.default)()) }), [r, e, t]); var f, p; return (0, o.default)(u, l), [u, c] }; var n = r(0), i = a(r(298)), o = a(r(285)); function a(e) { return e && e.__esModule ? e : { default: e } } function s(e, t) { var r = new Date(e).getTime(), n = Date.now(); return r > n ? r : n + t - (n - r) % t } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = s(r(1)), i = s(r(0)), o = s(r(614)), a = s(r(6)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var c = function(e) { var t = e.attachment, r = u((0, a.default)(), 1)[0].audioAttachment; return i.default.createElement("div", { className: r }, i.default.createElement(o.default, { alt: t.name, src: t.contentUrl })) }; c.propTypes = { attachment: n.default.shape({ contentUrl: n.default.string.isRequired, name: n.default.string }).isRequired }; var l = c; t.default = l }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = a(r(1)), i = a(r(0)), o = a(r(615)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = function(e) { var t = e.activity, r = (t = void 0 === t ? {} : t).attachments, n = void 0 === r ? [] : r, a = t.channelData, s = (a = void 0 === a ? {} : a).attachmentSizes, u = void 0 === s ? [] : s, c = e.attachment, l = u[n.indexOf(c)]; return i.default.createElement(o.default, { fileName: c.name, href: c.contentUrl, size: l }) }; s.propTypes = { activity: n.default.shape({ attachment: n.default.array, channelData: n.default.shape({ attachmentSizes: n.default.arrayOf(n.default.number) }) }).isRequired, attachment: n.default.shape({ contentUrl: n.default.string, name: n.default.string.isRequired }).isRequired }; var u = s; t.default = u }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = o(r(1)), i = o(r(0)); function o(e) { return e && e.__esModule ? e : { default: e } } var a = function(e) { var t = e.className, r = e.size; return i.default.createElement("svg", { className: t, height: 22 * r, viewBox: "0 0 31.8 46", width: 22 * r }, i.default.createElement("path", { d: "M26.8,23.8l-10.9,11L5,23.8l1.6-1.6l8.2,8.3V5H17v25.5l8.2-8.3L26.8,23.8z M5.8,41v-2.2H26V41H5.8z" })) }; a.defaultProps = { className: "", size: 1 }, a.propTypes = { className: n.default.string, size: n.default.number }; var s = a; t.default = s }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = a(r(1)), i = a(r(0)), o = a(r(617)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = function(e) { var t = e.attachment; return i.default.createElement(o.default, { alt: t.name, src: t.thumbnailUrl || t.contentUrl }) }; s.propTypes = { activity: n.default.shape({ attachments: n.default.array.isRequired }).isRequired, attachment: n.default.oneOfType([n.default.shape({ contentUrl: n.default.string.isRequired, name: n.default.string, thumbnailUrl: n.default.string }), n.default.shape({ contentUrl: n.default.string, name: n.default.string, thumbnailUrl: n.default.string.isRequired })]).isRequired }; var u = s; t.default = u }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = a(r(1)), i = a(r(0)), o = a(r(619)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = function(e) { var t = e.attachment, r = (t = void 0 === t ? {} : t).content, n = t.contentType; return !!r && i.default.createElement(o.default, { contentType: n, text: r }) }; s.propTypes = { attachment: n.default.shape({ content: n.default.string.isRequired, contentType: n.default.string.isRequired }).isRequired }; var u = s; t.default = u }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = c(r(3)), o = c(r(1)), a = c(r(0)), s = c(r(6)), u = c(r(621)); function c(e) { return e && e.__esModule ? e : { default: e } } function l(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var f = (0, n.css)({ display: "flex", flexDirection: "column" }), p = function(e) { var t = e.attachment, r = l((0, s.default)(), 1)[0].videoAttachment; return a.default.createElement("div", { className: (0, i.default)(f + "", r + "") }, a.default.createElement(u.default, { alt: t.name, src: t.contentUrl })) }; p.propTypes = { attachment: o.default.shape({ contentUrl: o.default.string.isRequired, name: o.default.string }).isRequired }; var d = p; t.default = d }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = f(r(3)), o = f(r(1)), a = f(r(0)), s = f(r(618)), u = f(r(142)), c = f(r(143)), l = f(r(6)); function f(e) { return e && e.__esModule ? e : { default: e } } function p(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var d = (0, n.css)({ "& .webchat__imageAvatar__image": { width: "100%" } }), h = function(e) { var t = e.fromUser, r = p((0, u.default)(), 1)[0].image, n = p((0, c.default)(), 1)[0].image, o = p((0, l.default)(), 1)[0].imageAvatar; return a.default.createElement("div", { className: (0, i.default)(d + "", "webchat__imageAvatar", o + "") }, a.default.createElement(s.default, { alt: "", className: "webchat__imageAvatar__image", height: "100%", src: t ? n : r, width: "100%" })) }; h.defaultProps = { fromUser: !1 }, h.propTypes = { fromUser: o.default.bool }; var v = h; t.default = v }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = l(r(3)), o = l(r(1)), a = l(r(0)), s = l(r(142)), u = l(r(143)), c = l(r(6)); function l(e) { return e && e.__esModule ? e : { default: e } } function f(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var p = (0, n.css)({ alignItems: "center", display: "flex", "& .webchat__initialsAvatar__initials": { justifyContent: "center" } }), d = function(e) { var t = e.fromUser, r = f((0, s.default)(), 1)[0].initials, n = f((0, u.default)(), 1)[0].initials, o = f((0, c.default)(), 1)[0].initialsAvatar; return a.default.createElement("div", { className: (0, i.default)(p + "", "webchat__initialsAvatar", t && "webchat__initialsAvatar--fromUser", o + "") }, a.default.createElement("div", { className: "webchat__initialsAvatar__initials" }, t ? n : r)) }; d.defaultProps = { fromUser: !1 }, d.propTypes = { fromUser: o.default.bool }; var h = d; t.default = h }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = o(r(106)), i = o(r(1486)); function o(e) { return e && e.__esModule ? e : { default: e } } var a = function() { return (0, n.default)((function() { return function(e) { return function(t) { return "connectivitystatus" !== t.notification.id && e(t) } } }), (0, i.default)()) }; t.default = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = o(r(0)), i = o(r(1487)); function o(e) { return e && e.__esModule ? e : { default: e } } var a = function() { return function() { return function() { return function(e) { var t = e.notification; return n.default.createElement(i.default, { notification: t }) } } } }; t.default = a }, function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = r(7), o = y(r(3)), a = y(r(1)), s = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = m(); if (t && t.has(e)) return t.get(e); var r = {}, i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(r, o, a) : r[o] = e[o] } r.default = e, t && t.set(e, r); return r }(r(0)), u = y(r(1488)), c = y(r(541)), l = y(r(194)), f = y(r(34)), p = y(r(626)), d = y(r(1489)), h = y(r(15)), v = y(r(6)); function m() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return m = function() { return e }, e } function y(e) { return e && e.__esModule ? e : { default: e } } function b(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var g = (0, i.css)({ display: "flex", "& .webchat__toast__text": { flex: 1 } }), _ = function(e) { var t = e.notification, r = t.alt, n = t.id, i = t.level, a = t.message, m = b((0, v.default)(), 1)[0].toast, y = (0, s.useMemo)((function() { return "webchat__toast__".concat((0, l.default)()) }), []), _ = (0, h.default)(), T = (0, p.default)(), S = (0, d.default)(), A = (0, s.useCallback)((function() { return T(n) }), [T, n]), E = (0, s.useMemo)((function() { return { __html: S(a) } }), [a, S]); return s.default.createElement("div", { "aria-describedby": y, "aria-label": _("TOAST_TITLE_ALT"), className: (0, o.default)(g + "", m + "", { "webchat__toast--error": "error" === i, "webchat__toast--info": "info" === i, "webchat__toast--success": "success" === i, "webchat__toast--warn": "warn" === i }), role: "dialog" }, s.default.createElement("div", { className: "webchat__toast__iconBox" }, s.default.createElement(c.default, { className: "webchat__toast__icon", level: i })), !!r && s.default.createElement(f.default, { text: r }), s.default.createElement("div", { "aria-hidden": !!r, className: "webchat__toast__text", dangerouslySetInnerHTML: E, id: y }), s.default.createElement("button", { "aria-label": _("TOAST_DISMISS_BUTTON"), className: "webchat__toast__dismissButton", onClick: A, type: "button" }, s.default.createElement("div", { "aria-hidden": !0, className: "webchat__toast__dismissButtonFocus" }, s.default.createElement(u.default, null)))) }; _.propTypes = { notification: a.default.shape({ alt: a.default.string, id: a.default.string.isRequired, level: a.default.string.isRequired, message: a.default.string.isRequired }).isRequired }; var T = _; t.default = T }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = o(r(1)), i = o(r(0)); function o(e) { return e && e.__esModule ? e : { default: e } } var a = function(e) { var t = e.className; return i.default.createElement("svg", { className: (t || "") + "", height: "14", viewBox: "0 0 14 14", width: "14", xmlns: "http://www.w3.org/2000/svg" }, i.default.createElement("path", { d: "M7.71094 7L13.1016 12.3984L12.3984 13.1016L7 7.71094L1.60156 13.1016L0.898438 12.3984L6.28906 7L0.898438 1.60156L1.60156 0.898438L7 6.28906L12.3984 0.898438L13.1016 1.60156L7.71094 7Z" })) }; a.defaultProps = { className: void 0 }, a.propTypes = { className: n.default.string }; var s = a; t.default = s }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n, i = (n = r(4)) && n.__esModule ? n : { default: n }; var o = function() { return (0, i.default)().internalRenderMarkdownInline }; t.default = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return function() { return function() { return function(e) { return e.visible && i.default.createElement(f, null) } } } }; var n = c(r(3)), i = c(r(0)), o = c(r(1491)), a = c(r(23)), s = c(r(15)), u = c(r(6)); function c(e) { return e && e.__esModule ? e : { default: e } } function l(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var f = function() { var e = l((0, u.default)(), 1)[0].typingIndicator, t = l((0, a.default)(), 1)[0], r = (0, s.default)(); return i.default.createElement("div", { className: (0, n.default)(e + "", "rtl" === t && "webchat__typingIndicator--rtl") }, i.default.createElement(o.default, { "aria-label": r("TYPING_INDICATOR_ALT") })) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(7), i = l(r(3)), o = l(r(0)), a = l(r(34)), s = l(r(23)), u = l(r(15)), c = l(r(6)); function l(e) { return e && e.__esModule ? e : { default: e } } function f(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } var p = (0, n.css)({ transform: "scale(-1, 1)" }), d = function() { var e = f((0, c.default)(), 1)[0].typingAnimation, t = f((0, s.default)(), 1)[0], r = (0, u.default)(), n = "rtl" === t ? p + "" : ""; return o.default.createElement(o.default.Fragment, null, o.default.createElement(a.default, { text: r("TYPING_INDICATOR_ALT") }), o.default.createElement("div", { "aria-hidden": !0, className: (0, i.default)("webchat__typingIndicator", n + "", e + "") })) }; t.default = d }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = a(r(1)), i = a(r(0)), o = r(625); function a(e) { return e && e.__esModule ? e : { default: e } } var s = function(e) { var t = e["aria-hidden"], r = e.className, n = e.fromUser; return console.warn("botframework-webchat: <Avatar> component is deprecated and will be removed on or after 2022-02-25. Please use `useRenderAvatar` hook instead."), i.default.createElement(o.DefaultAvatar, { "aria-hidden": t, className: r, fromUser: n }) }; s.defaultProps = { "aria-hidden": !1, className: "", fromUser: !1 }, s.propTypes = { "aria-hidden": n.default.bool, className: n.default.string, fromUser: n.default.bool }; var u = s; t.default = u }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "useActiveTyping", { enumerable: !0, get: function() { return n.default } }), Object.defineProperty(t, "useActivities", { enumerable: !0, get: function() { return i.default } }), Object.defineProperty(t, "useAvatarForBot", { enumerable: !0, get: function() { return o.default } }), Object.defineProperty(t, "useAvatarForUser", { enumerable: !0, get: function() { return a.default } }), Object.defineProperty(t, "useByteFormatter", { enumerable: !0, get: function() { return s.default } }), Object.defineProperty(t, "useConnectivityStatus", { enumerable: !0, get: function() { return u.default } }), Object.defineProperty(t, "useDateFormatter", { enumerable: !0, get: function() { return c.default } }), Object.defineProperty(t, "useDebouncedNotifications", { enumerable: !0, get: function() { return l.default } }), Object.defineProperty(t, "useDictateInterims", { enumerable: !0, get: function() { return f.default } }), Object.defineProperty(t, "useDictateState", { enumerable: !0, get: function() { return p.default } }), Object.defineProperty(t, "useDirection", { enumerable: !0, get: function() { return d.default } }), Object.defineProperty(t, "useDisabled", { enumerable: !0, get: function() { return h.default } }), Object.defineProperty(t, "useDismissNotification", { enumerable: !0, get: function() { return v.default } }), Object.defineProperty(t, "useEmitTypingIndicator", { enumerable: !0, get: function() { return m.default } }), Object.defineProperty(t, "useFocus", { enumerable: !0, get: function() { return y.default } }), Object.defineProperty(t, "useFocusSendBox", { enumerable: !0, get: function() { return b.default } }), Object.defineProperty(t, "useGrammars", { enumerable: !0, get: function() { return g.default } }), Object.defineProperty(t, "useGroupTimestamp", { enumerable: !0, get: function() { return _.default } }), Object.defineProperty(t, "useLanguage", { enumerable: !0, get: function() { return T.default } }), Object.defineProperty(t, "useLastTypingAt", { enumerable: !0, get: function() { return S.default } }), Object.defineProperty(t, "useLocalize", { enumerable: !0, get: function() { return A.default } }), Object.defineProperty(t, "useLocalizeDate", { enumerable: !0, get: function() { return E.default } }), Object.defineProperty(t, "useLocalizer", { enumerable: !0, get: function() { return C.default } }), Object.defineProperty(t, "useMarkActivityAsSpoken", { enumerable: !0, get: function() { return O.default } }), Object.defineProperty(t, "usePerformCardAction", { enumerable: !0, get: function() { return w.default } }), Object.defineProperty(t, "usePostActivity", { enumerable: !0, get: function() { return I.default } }), Object.defineProperty(t, "useReferenceGrammarID", { enumerable: !0, get: function() { return P.default } }), Object.defineProperty(t, "useRelativeTimeFormatter", { enumerable: !0, get: function() { return x.default } }), Object.defineProperty(t, "useRenderActivity", { enumerable: !0, get: function() { return N.default } }), Object.defineProperty(t, "useRenderActivityStatus", { enumerable: !0, get: function() { return k.default } }), Object.defineProperty(t, "useRenderAttachment", { enumerable: !0, get: function() { return R.default } }), Object.defineProperty(t, "useRenderAvatar", { enumerable: !0, get: function() { return L.default } }), Object.defineProperty(t, "useRenderMarkdownAsHTML", { enumerable: !0, get: function() { return M.default } }), Object.defineProperty(t, "useRenderToast", { enumerable: !0, get: function() { return j.default } }), Object.defineProperty(t, "useRenderTypingIndicator", { enumerable: !0, get: function() { return D.default } }), Object.defineProperty(t, "useScrollToEnd", { enumerable: !0, get: function() { return U.default } }), Object.defineProperty(t, "useSendBoxValue", { enumerable: !0, get: function() { return B.default } }), Object.defineProperty(t, "useSendEvent", { enumerable: !0, get: function() { return F.default } }), Object.defineProperty(t, "useSendFiles", { enumerable: !0, get: function() { return z.default } }), Object.defineProperty(t, "useSendMessage", { enumerable: !0, get: function() { return V.default } }), Object.defineProperty(t, "useSendMessageBack", { enumerable: !0, get: function() { return G.default } }), Object.defineProperty(t, "useSendPostBack", { enumerable: !0, get: function() { return q.default } }), Object.defineProperty(t, "useSendTimeoutForActivity", { enumerable: !0, get: function() { return H.default } }), Object.defineProperty(t, "useSendTypingIndicator", { enumerable: !0, get: function() { return W.default } }), Object.defineProperty(t, "useSetNotification", { enumerable: !0, get: function() { return Y.default } }), Object.defineProperty(t, "useShouldSpeakIncomingActivity", { enumerable: !0, get: function() { return K.default } }), Object.defineProperty(t, "useStartDictate", { enumerable: !0, get: function() { return $.default } }), Object.defineProperty(t, "useStopDictate", { enumerable: !0, get: function() { return J.default } }), Object.defineProperty(t, "useStyleOptions", { enumerable: !0, get: function() { return X.default } }), Object.defineProperty(t, "useStyleSet", { enumerable: !0, get: function() { return Z.default } }), Object.defineProperty(t, "useSubmitSendBox", { enumerable: !0, get: function() { return Q.default } }), Object.defineProperty(t, "useSuggestedActions", { enumerable: !0, get: function() { return ee.default } }), Object.defineProperty(t, "useTimeoutForSend", { enumerable: !0, get: function() { return te.default } }), Object.defineProperty(t, "useTrackDimension", { enumerable: !0, get: function() { return re.default } }), Object.defineProperty(t, "useTrackEvent", { enumerable: !0, get: function() { return ne.default } }), Object.defineProperty(t, "useTrackException", { enumerable: !0, get: function() { return ie.default } }), Object.defineProperty(t, "useTrackTiming", { enumerable: !0, get: function() { return oe.default } }), Object.defineProperty(t, "useUserID", { enumerable: !0, get: function() { return ae.default } }), Object.defineProperty(t, "useUsername", { enumerable: !0, get: function() { return se.default } }), Object.defineProperty(t, "useVoiceSelector", { enumerable: !0, get: function() { return ue.default } }), Object.defineProperty(t, "useWebSpeechPonyfill", { enumerable: !0, get: function() { return ce.default } }), Object.defineProperty(t, "useMicrophoneButtonClick", { enumerable: !0, get: function() { return le.useMicrophoneButtonClick } }), Object.defineProperty(t, "useMicrophoneButtonDisabled", { enumerable: !0, get: function() { return le.useMicrophoneButtonDisabled } }), Object.defineProperty(t, "useSendBoxSpeechInterimsVisible", { enumerable: !0, get: function() { return fe.useSendBoxSpeechInterimsVisible } }), Object.defineProperty(t, "useTextBoxSubmit", { enumerable: !0, get: function() { return pe.useTextBoxSubmit } }), Object.defineProperty(t, "useTextBoxValue", { enumerable: !0, get: function() { return pe.useTextBoxValue } }), Object.defineProperty(t, "useTypingIndicatorVisible", { enumerable: !0, get: function() { return de.useTypingIndicatorVisible } }); var n = he(r(551)), i = he(r(196)), o = he(r(142)), a = he(r(143)), s = he(r(616)), u = he(r(1494)), c = he(r(144)), l = he(r(286)), f = he(r(188)), p = he(r(136)), d = he(r(23)), h = he(r(88)), v = he(r(626)), m = he(r(579)), y = he(r(89)), b = he(r(1495)), g = he(r(1496)), _ = he(r(605)), T = he(r(104)), S = he(r(1497)), A = he(r(1498)), E = he(r(1499)), C = he(r(15)), O = he(r(560)), w = he(r(532)), I = he(r(610)), P = he(r(575)), x = he(r(612)), N = he(r(562)), k = he(r(319)), R = he(r(563)), L = he(r(320)), M = he(r(620)), j = he(r(542)), D = he(r(552)), U = he(r(138)), B = he(r(189)), F = he(r(1500)), z = he(r(539)), V = he(r(1501)), G = he(r(1502)), q = he(r(1503)), H = he(r(606)), W = he(r(580)), Y = he(r(1504)), K = he(r(294)), $ = he(r(522)), J = he(r(190)), X = he(r(20)), Z = he(r(6)), Q = he(r(191)), ee = he(r(533)), te = he(r(1505)), re = he(r(582)), ne = he(r(192)), ie = he(r(195)), oe = he(r(540)), ae = he(r(1506)), se = he(r(1507)), ue = he(r(561)), ce = he(r(137)), le = r(290), fe = r(518), pe = r(299), de = r(550); function he(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, n.useSelector)((function(e) { return e.connectivityStatus }))] }; var n = r(38) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { o && (console.warn('botframework-webchat: "useFocusSendBox" is deprecated and will be removed on or after 2022-04-21. Please use "useFocus(\'sendBox\')" instead.'), o = !1); return (0, i.default)().bind(null, "sendBox") }; var n, i = (n = r(89)) && n.__esModule ? n : { default: n }; var o = !0 }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.default)().grammars] }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { n || (console.warn('botframework-webchat: "useLastTypingAt" is deprecated. Please use "useActiveTyping" instead. They will be removed on or after 2022-02-16.'), n = !0); return [(0, i.useSelector)((function(e) { return e.lastTypingAt }))] }; var n, i = r(38) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { for (var t = (0, i.default)(), r = a(t, 1), n = r[0], s = arguments.length, u = new Array(s > 1 ? s - 1 : 0), c = 1; c < s; c++) u[c - 1] = arguments[c]; return o.localize.apply(void 0, [e, n].concat(u)) }; var n, i = (n = r(104)) && n.__esModule ? n : { default: n }, o = r(628); function a(e, t) { return function(e) { if (Array.isArray(e)) return e }(e) || function(e, t) { if (!(Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e))) return; var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r }(e, t) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }() } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = (r = (0, n.default)(), o = 1, function(e) { if (Array.isArray(e)) return e }(r) || function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } }(r, o) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") }())[0]; var r, o; return (0, i.default)(e, t) }; var n = o(r(104)), i = o(r(321)); function o(e) { return e && e.__esModule ? e : { default: e } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().sendEvent }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().sendMessage }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().sendMessageBack }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().sendPostBack }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return (0, i.default)().setNotification }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(e = (0, i.default)(), t = 1, s(e) || a(e, t) || o())[0].sendTimeout]; var e, t }; var n, i = (n = r(20)) && n.__esModule ? n : { default: n }; function o() { throw new TypeError("Invalid attempt to destructure non-iterable instance") } function a(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } } function s(e) { if (Array.isArray(e)) return e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.default)().userID] }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return [(0, i.default)().username] }; var n, i = (n = r(4)) && n.__esModule ? n : { default: n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { window.SpeechRecognition || window.webkitSpeechRecognition || console.warn("Web Chat: This browser does not support Web Speech API Speech Recognition."); window.speechSynthesis || console.warn("Web Chat: This browser does not support Web Speech API Speech Synthesis."); return function() { return { SpeechGrammarList: window.SpeechGrammarList || window.webkitSpeechGrammarList, SpeechRecognition: window.SpeechRecognition || window.webkitSpeechRecognition, speechSynthesis: window.speechSynthesis, SpeechSynthesisUtterance: window.SpeechSynthesisUtterance } } } }, function(e, t) { e.exports = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i } }, function(e, t, r) { r(677), r(678), r(682), r(740), r(650), r(745); var n = r(112); e.exports = n.Promise }, function(e, t, r) { var n = r(25), i = r(326), o = n.WeakMap; e.exports = "function" == typeof o && /native code/.test(i(o)) }, function(e, t, r) { "use strict"; var n = r(323), i = r(637); e.exports = n ? {}.toString : function() { return "[object " + i(this) + "]" } }, function(e, t, r) { var n = r(327), i = r(214), o = function(e) { return function(t, r) { var o, a, s = String(i(t)), u = n(r), c = s.length; return u < 0 || u >= c ? e ? "" : void 0 : (o = s.charCodeAt(u)) < 55296 || o > 56319 || u + 1 === c || (a = s.charCodeAt(u + 1)) < 56320 || a > 57343 ? e ? s.charAt(u) : o : e ? s.slice(u, u + 2) : a - 56320 + (o - 55296 << 10) + 65536 } }; e.exports = { codeAt: o(!1), charAt: o(!0) } }, function(e, t, r) { var n = r(58), i = r(680), o = r(681), a = r(35); e.exports = n("Reflect", "ownKeys") || function(e) { var t = i.f(a(e)), r = o.f; return r ? t.concat(r(e)) : t } }, function(e, t, r) { var n = r(327), i = Math.max, o = Math.min; e.exports = function(e, t) { var r = n(e); return r < 0 ? i(r + t, 0) : o(r, t) } }, function(e, t, r) { "use strict"; var n = r(640).IteratorPrototype, i = r(216), o = r(156), a = r(157), s = r(146), u = function() { return this }; e.exports = function(e, t, r) { var c = t + " Iterator"; return e.prototype = i(n, { next: o(1, r) }), a(e, c, !1, !0), s[c] = u, e } }, function(e, t, r) { var n = r(51); e.exports = !n((function() { function e() {} return e.prototype.constructor = null, Object.getPrototypeOf(new e) !== e.prototype })) }, function(e, t, r) { var n = r(65), i = r(66), o = r(35), a = r(641); e.exports = n ? Object.defineProperties : function(e, t) { o(e); for (var r, n = a(t), s = n.length, u = 0; s > u;) i.f(e, r = n[u++], t[r]); return e } }, function(e, t, r) { var n = r(57); e.exports = function(e) { if (!n(e) && null !== e) throw TypeError("Can't set " + String(e) + " as a prototype"); return e } }, function(e, t, r) { var n, i, o, a, s, u, c, l, f = r(25), p = r(203).f, d = r(111), h = r(646).set, v = r(647), m = f.MutationObserver || f.WebKitMutationObserver, y = f.process, b = f.Promise, g = "process" == d(y), _ = p(f, "queueMicrotask"), T = _ && _.value; T || (n = function() { var e, t; for (g && (e = y.domain) && e.exit(); i;) { t = i.fn, i = i.next; try { t() } catch (e) { throw i ? a() : o = void 0, e } } o = void 0, e && e.enter() }, g ? a = function() { y.nextTick(n) } : m && !v ? (s = !0, u = document.createTextNode(""), new m(n).observe(u, { characterData: !0 }), a = function() { u.data = s = !s }) : b && b.resolve ? (c = b.resolve(void 0), l = c.then, a = function() { l.call(c, n) }) : a = function() { h.call(f, n) }), e.exports = T || function(e) { var t = { fn: e, next: void 0 }; o && (o.next = t), i || (i = t, a()), o = t } }, function(e, t, r) { var n = r(25); e.exports = function(e, t) { var r = n.console; r && r.error && (1 === arguments.length ? r.error(e) : r.error(e, t)) } }, function(e, t, r) { "use strict"; var n = r(27), i = r(65), o = r(329), a = r(363), s = r(216), u = r(66), c = r(156), l = r(56), f = r(68), p = r(110), d = p.set, h = p.getterFor("AggregateError"), v = function(e, t) { var r = this; if (!(r instanceof v)) return new v(e, t); a && (r = a(new Error(t), o(r))); var n = []; return l(e, n.push, n), i ? d(r, { errors: n, type: "AggregateError" }) : r.errors = n, void 0 !== t && f(r, "message", String(t)), r }; v.prototype = s(Error.prototype, { constructor: c(5, v), message: c(5, ""), name: c(5, "AggregateError") }), i && u.f(v.prototype, "errors", { get: function() { return h(this).errors }, configurable: !0 }), n({ global: !0 }, { AggregateError: v }) }, function(e, t, r) { r(650) }, function(e, t, r) { "use strict"; var n = r(27), i = r(147), o = r(205); n({ target: "Promise", stat: !0 }, { try: function(e) { var t = i.f(this), r = o(e); return (r.error ? t.reject : t.resolve)(r.value), t.promise } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(53), o = r(58), a = r(147), s = r(205), u = r(56); n({ target: "Promise", stat: !0 }, { any: function(e) { var t = this, r = a.f(t), n = r.resolve, c = r.reject, l = s((function() { var r = i(t.resolve), a = [], s = 0, l = 1, f = !1; u(e, (function(e) { var i = s++, u = !1; a.push(void 0), l++, r.call(t, e).then((function(e) { u || f || (f = !0, n(e)) }), (function(e) { u || f || (u = !0, a[i] = e, --l || c(new(o("AggregateError"))(a, "No one promise resolved"))) })) })), --l || c(new(o("AggregateError"))(a, "No one promise resolved")) })); return l.error && c(l.value), r.promise } }) }, function(e, t, r) { "use strict"; var n = r(39), i = r(331), o = r(654); t.toSubscriber = function(e, t, r) { if (e) { if (e instanceof n.Subscriber) return e; if (e[i.rxSubscriber]) return e[i.rxSubscriber]() } return e || t || r ? new n.Subscriber(e, t, r) : new n.Subscriber(o.empty) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t) { e.call(this), this.errors = t; var r = Error.call(this, t ? t.length + " errors occurred during unsubscription:\n " + t.map((function(e, t) { return t + 1 + ") " + e.toString() })).join("\n ") : ""); this.name = r.name = "UnsubscriptionError", this.stack = r.stack, this.message = r.message } return n(t, e), t }(Error); t.UnsubscriptionError = i }, function(e, t, r) { "use strict"; var n = r(1529); function i(e) { return e ? 1 === e.length ? e[0] : function(t) { return e.reduce((function(e, t) { return t(e) }), t) } : n.noop } t.pipe = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t - 0] = arguments[t]; return i(e) }, t.pipeFromArray = i }, function(e, t, r) { "use strict"; t.noop = function() {} }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t, r) { e.call(this), this.subject = t, this.subscriber = r, this.closed = !1 } return n(t, e), t.prototype.unsubscribe = function() { if (!this.closed) { this.closed = !0; var e = this.subject, t = e.observers; if (this.subject = null, t && 0 !== t.length && !e.isStopped && !e.closed) { var r = t.indexOf(this.subscriber); - 1 !== r && t.splice(r, 1) } } }, t }(r(148).Subscription); t.SubjectSubscription = i }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(67), o = function(e) { function t(t, r) { e.call(this, t, r), this.scheduler = t, this.work = r, this.pending = !1 } return n(t, e), t.prototype.schedule = function(e, t) { if (void 0 === t && (t = 0), this.closed) return this; this.state = e, this.pending = !0; var r = this.id, n = this.scheduler; return null != r && (this.id = this.recycleAsyncId(n, r, t)), this.delay = t, this.id = this.id || this.requestAsyncId(n, this.id, t), this }, t.prototype.requestAsyncId = function(e, t, r) { return void 0 === r && (r = 0), i.root.setInterval(e.flush.bind(e, this), r) }, t.prototype.recycleAsyncId = function(e, t, r) { if (void 0 === r && (r = 0), null !== r && this.delay === r && !1 === this.pending) return t; i.root.clearInterval(t) }, t.prototype.execute = function(e, t) { if (this.closed) return new Error("executing a cancelled action"); this.pending = !1; var r = this._execute(e, t); if (r) return r; !1 === this.pending && null != this.id && (this.id = this.recycleAsyncId(this.scheduler, this.id, null)) }, t.prototype._execute = function(e, t) { var r = !1, n = void 0; try { this.work(e) } catch (e) { r = !0, n = !!e && e || new Error(e) } if (r) return this.unsubscribe(), n }, t.prototype._unsubscribe = function() { var e = this.id, t = this.scheduler, r = t.actions, n = r.indexOf(this); this.work = null, this.state = null, this.pending = !1, this.scheduler = null, -1 !== n && r.splice(n, 1), null != e && (this.id = this.recycleAsyncId(t, e, null)), this.delay = null }, t }(r(1532).Action); t.AsyncAction = o }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t, r) { e.call(this) } return n(t, e), t.prototype.schedule = function(e, t) { return void 0 === t && (t = 0), this }, t }(r(148).Subscription); t.Action = i }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t() { e.apply(this, arguments), this.actions = [], this.active = !1, this.scheduled = void 0 } return n(t, e), t.prototype.flush = function(e) { var t = this.actions; if (this.active) t.push(e); else { var r; this.active = !0; do { if (r = e.execute(e.state, e.delay)) break } while (e = t.shift()); if (this.active = !1, r) { for (; e = t.shift();) e.unsubscribe(); throw r } } }, t }(r(1534).Scheduler); t.AsyncScheduler = i }, function(e, t, r) { "use strict"; var n = function() { function e(t, r) { void 0 === r && (r = e.now), this.SchedulerAction = t, this.now = r } return e.prototype.schedule = function(e, t, r) { return void 0 === t && (t = 0), new this.SchedulerAction(this, e).schedule(r, t) }, e.now = Date.now ? Date.now : function() { return +new Date }, e }(); t.Scheduler = n }, function(e, t, r) { "use strict"; var n = r(12), i = r(1536); n.Observable.prototype.catch = i._catch, n.Observable.prototype._catch = i._catch }, function(e, t, r) { "use strict"; var n = r(1537); t._catch = function(e) { return n.catchError(e)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(210), o = r(211); t.catchError = function(e) { return function(t) { var r = new a(e), n = t.lift(r); return r.caught = n } }; var a = function() { function e(e) { this.selector = e } return e.prototype.call = function(e, t) { return t.subscribe(new s(e, this.selector, this.caught)) }, e }(), s = function(e) { function t(t, r, n) { e.call(this, t), this.selector = r, this.caught = n } return n(t, e), t.prototype.error = function(t) { if (!this.isStopped) { var r = void 0; try { r = this.selector(t, this.caught) } catch (t) { return void e.prototype.error.call(this, t) } this._unsubscribeAndRecycle(), this.add(o.subscribeToResult(this, r)) } }, t }(i.OuterSubscriber) }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t, r, n) { e.call(this), this.parent = t, this.outerValue = r, this.outerIndex = n, this.index = 0 } return n(t, e), t.prototype._next = function(e) { this.parent.notifyNext(this.outerValue, e, this.outerIndex, this.index++, this) }, t.prototype._error = function(e) { this.parent.notifyError(e, this), this.unsubscribe() }, t.prototype._complete = function() { this.parent.notifyComplete(this), this.unsubscribe() }, t }(r(39).Subscriber); t.InnerSubscriber = i }, function(e, t, r) { "use strict"; var n = r(12), i = r(1540); n.Observable.prototype.combineLatest = i.combineLatest }, function(e, t, r) { "use strict"; var n = r(1541); t.combineLatest = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t - 0] = arguments[t]; return n.combineLatest.apply(void 0, e)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(334), o = r(207), a = r(210), s = r(211), u = {}; t.combineLatest = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t - 0] = arguments[t]; var r = null; return "function" == typeof e[e.length - 1] && (r = e.pop()), 1 === e.length && o.isArray(e[0]) && (e = e[0].slice()), function(t) { return t.lift.call(new i.ArrayObservable([t].concat(e)), new c(r)) } }; var c = function() { function e(e) { this.project = e } return e.prototype.call = function(e, t) { return t.subscribe(new l(e, this.project)) }, e }(); t.CombineLatestOperator = c; var l = function(e) { function t(t, r) { e.call(this, t), this.project = r, this.active = 0, this.values = [], this.observables = [] } return n(t, e), t.prototype._next = function(e) { this.values.push(u), this.observables.push(e) }, t.prototype._complete = function() { var e = this.observables, t = e.length; if (0 === t) this.destination.complete(); else { this.active = t, this.toRespond = t; for (var r = 0; r < t; r++) { var n = e[r]; this.add(s.subscribeToResult(this, n, n, r)) } } }, t.prototype.notifyComplete = function(e) { 0 == (this.active -= 1) && this.destination.complete() }, t.prototype.notifyNext = function(e, t, r, n, i) { var o = this.values, a = o[r], s = this.toRespond ? a === u ? --this.toRespond : this.toRespond : 0; o[r] = t, 0 === s && (this.project ? this._tryProject(o) : this.destination.next(o.slice())) }, t.prototype._tryProject = function(e) { var t; try { t = this.project.apply(this, e) } catch (e) { return void this.destination.error(e) } this.destination.next(t) }, t }(a.OuterSubscriber); t.CombineLatestSubscriber = l }, function(e, t, r) { "use strict"; t.isScheduler = function(e) { return e && "function" == typeof e.schedule } }, function(e, t, r) { "use strict"; var n = r(12), i = r(1544); n.Observable.prototype.count = i.count }, function(e, t, r) { "use strict"; var n = r(1545); t.count = function(e) { return n.count(e)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(39); t.count = function(e) { return function(t) { return t.lift(new o(e, t)) } }; var o = function() { function e(e, t) { this.predicate = e, this.source = t } return e.prototype.call = function(e, t) { return t.subscribe(new a(e, this.predicate, this.source)) }, e }(), a = function(e) { function t(t, r, n) { e.call(this, t), this.predicate = r, this.source = n, this.count = 0, this.index = 0 } return n(t, e), t.prototype._next = function(e) { this.predicate ? this._tryPredicate(e) : this.count++ }, t.prototype._tryPredicate = function(e) { var t; try { t = this.predicate(e, this.index++, this.source) } catch (e) { return void this.destination.error(e) } t && this.count++ }, t.prototype._complete = function() { this.destination.next(this.count), this.destination.complete() }, t }(i.Subscriber) }, function(e, t, r) { "use strict"; var n = r(12), i = r(1547); n.Observable.prototype.delay = i.delay }, function(e, t, r) { "use strict"; var n = r(209), i = r(1548); t.delay = function(e, t) { return void 0 === t && (t = n.async), i.delay(e, t)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(209), o = r(1549), a = r(39), s = r(659); t.delay = function(e, t) { void 0 === t && (t = i.async); var r = o.isDate(e) ? +e - t.now() : Math.abs(e); return function(e) { return e.lift(new u(r, t)) } }; var u = function() { function e(e, t) { this.delay = e, this.scheduler = t } return e.prototype.call = function(e, t) { return t.subscribe(new c(e, this.delay, this.scheduler)) }, e }(), c = function(e) { function t(t, r, n) { e.call(this, t), this.delay = r, this.scheduler = n, this.queue = [], this.active = !1, this.errored = !1 } return n(t, e), t.dispatch = function(e) { for (var t = e.source, r = t.queue, n = e.scheduler, i = e.destination; r.length > 0 && r[0].time - n.now() <= 0;) r.shift().notification.observe(i); if (r.length > 0) { var o = Math.max(0, r[0].time - n.now()); this.schedule(e, o) } else t.active = !1 }, t.prototype._schedule = function(e) { this.active = !0, this.add(e.schedule(t.dispatch, this.delay, { source: this, destination: this.destination, scheduler: e })) }, t.prototype.scheduleNotification = function(e) { if (!0 !== this.errored) { var t = this.scheduler, r = new l(t.now() + this.delay, e); this.queue.push(r), !1 === this.active && this._schedule(t) } }, t.prototype._next = function(e) { this.scheduleNotification(s.Notification.createNext(e)) }, t.prototype._error = function(e) { this.errored = !0, this.queue = [], this.destination.error(e) }, t.prototype._complete = function() { this.scheduleNotification(s.Notification.createComplete()) }, t }(a.Subscriber), l = function(e, t) { this.time = e, this.notification = t } }, function(e, t, r) { "use strict"; t.isDate = function(e) { return e instanceof Date && !isNaN(+e) } }, function(e, t, r) { "use strict"; var n = r(12), i = r(1551); n.Observable.prototype.do = i._do, n.Observable.prototype._do = i._do }, function(e, t, r) { "use strict"; var n = r(1552); t._do = function(e, t, r) { return n.tap(e, t, r)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(39); t.tap = function(e, t, r) { return function(n) { return n.lift(new o(e, t, r)) } }; var o = function() { function e(e, t, r) { this.nextOrObserver = e, this.error = t, this.complete = r } return e.prototype.call = function(e, t) { return t.subscribe(new a(e, this.nextOrObserver, this.error, this.complete)) }, e }(), a = function(e) { function t(t, r, n, o) { e.call(this, t); var a = new i.Subscriber(r, n, o); a.syncErrorThrowable = !0, this.add(a), this.safeSubscriber = a } return n(t, e), t.prototype._next = function(e) { var t = this.safeSubscriber; t.next(e), t.syncErrorThrown ? this.destination.error(t.syncErrorValue) : this.destination.next(e) }, t.prototype._error = function(e) { var t = this.safeSubscriber; t.error(e), t.syncErrorThrown ? this.destination.error(t.syncErrorValue) : this.destination.error(e) }, t.prototype._complete = function() { var e = this.safeSubscriber; e.complete(), e.syncErrorThrown ? this.destination.error(e.syncErrorValue) : this.destination.complete() }, t }(i.Subscriber) }, function(e, t, r) { "use strict"; var n = r(12), i = r(1554); n.Observable.prototype.filter = i.filter }, function(e, t, r) { "use strict"; var n = r(1555); t.filter = function(e, t) { return n.filter(e, t)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(39); t.filter = function(e, t) { return function(r) { return r.lift(new o(e, t)) } }; var o = function() { function e(e, t) { this.predicate = e, this.thisArg = t } return e.prototype.call = function(e, t) { return t.subscribe(new a(e, this.predicate, this.thisArg)) }, e }(), a = function(e) { function t(t, r, n) { e.call(this, t), this.predicate = r, this.thisArg = n, this.count = 0 } return n(t, e), t.prototype._next = function(e) { var t; try { t = this.predicate.call(this.thisArg, e, this.count++) } catch (e) { return void this.destination.error(e) } t && this.destination.next(e) }, t }(i.Subscriber) }, function(e, t, r) { "use strict"; var n = r(12), i = r(1557); n.Observable.prototype.map = i.map }, function(e, t, r) { "use strict"; var n = r(660); t.map = function(e, t) { return n.map(e, t)(this) } }, function(e, t, r) { "use strict"; var n = r(12), i = r(1559); n.Observable.prototype.mergeMap = i.mergeMap, n.Observable.prototype.flatMap = i.mergeMap }, function(e, t, r) { "use strict"; var n = r(661); t.mergeMap = function(e, t, r) { return void 0 === r && (r = Number.POSITIVE_INFINITY), n.mergeMap(e, t, r)(this) } }, function(e, t, r) { "use strict"; var n = r(12), i = r(1561); n.Observable.prototype.concatMap = i.concatMap }, function(e, t, r) { "use strict"; var n = r(1562); t.concatMap = function(e, t) { return n.concatMap(e, t)(this) } }, function(e, t, r) { "use strict"; var n = r(661); t.concatMap = function(e, t) { return n.mergeMap(e, t, 1) } }, function(e, t, r) { "use strict"; var n = r(12), i = r(1564); n.Observable.prototype.retryWhen = i.retryWhen }, function(e, t, r) { "use strict"; var n = r(1565); t.retryWhen = function(e) { return n.retryWhen(e)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(206), o = r(330), a = r(208), s = r(210), u = r(211); t.retryWhen = function(e) { return function(t) { return t.lift(new c(e, t)) } }; var c = function() { function e(e, t) { this.notifier = e, this.source = t } return e.prototype.call = function(e, t) { return t.subscribe(new l(e, this.notifier, this.source)) }, e }(), l = function(e) { function t(t, r, n) { e.call(this, t), this.notifier = r, this.source = n } return n(t, e), t.prototype.error = function(t) { if (!this.isStopped) { var r = this.errors, n = this.retries, s = this.retriesSubscription; if (n) this.errors = null, this.retriesSubscription = null; else { if (r = new i.Subject, (n = o.tryCatch(this.notifier)(r)) === a.errorObject) return e.prototype.error.call(this, a.errorObject.e); s = u.subscribeToResult(this, n) } this._unsubscribeAndRecycle(), this.errors = r, this.retries = n, this.retriesSubscription = s, r.next(t) } }, t.prototype._unsubscribe = function() { var e = this.errors, t = this.retriesSubscription; e && (e.unsubscribe(), this.errors = null), t && (t.unsubscribe(), this.retriesSubscription = null), this.retries = null }, t.prototype.notifyNext = function(e, t, r, n, i) { var o = this.errors, a = this.retries, s = this.retriesSubscription; this.errors = null, this.retries = null, this.retriesSubscription = null, this._unsubscribeAndRecycle(), this.errors = o, this.retries = a, this.retriesSubscription = s, this.source.subscribe(this) }, t }(s.OuterSubscriber) }, function(e, t, r) { "use strict"; var n = r(12), i = r(1567); n.Observable.prototype.share = i.share }, function(e, t, r) { "use strict"; var n = r(1568); t.share = function() { return n.share()(this) } }, function(e, t, r) { "use strict"; var n = r(1569), i = r(662), o = r(206); function a() { return new o.Subject } t.share = function() { return function(e) { return i.refCount()(n.multicast(a)(e)) } } }, function(e, t, r) { "use strict"; var n = r(1570); t.multicast = function(e, t) { return function(r) { var o; if (o = "function" == typeof e ? e : function() { return e }, "function" == typeof t) return r.lift(new i(o, t)); var a = Object.create(r, n.connectableObservableDescriptor); return a.source = r, a.subjectFactory = o, a } }; var i = function() { function e(e, t) { this.subjectFactory = e, this.selector = t } return e.prototype.call = function(e, t) { var r = this.selector, n = this.subjectFactory(), i = r(n).subscribe(e); return i.add(t.subscribe(n)), i }, e }(); t.MulticastOperator = i }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(206), o = r(12), a = r(39), s = r(148), u = r(662), c = function(e) { function t(t, r) { e.call(this), this.source = t, this.subjectFactory = r, this._refCount = 0, this._isComplete = !1 } return n(t, e), t.prototype._subscribe = function(e) { return this.getSubject().subscribe(e) }, t.prototype.getSubject = function() { var e = this._subject; return e && !e.isStopped || (this._subject = this.subjectFactory()), this._subject }, t.prototype.connect = function() { var e = this._connection; return e || (this._isComplete = !1, (e = this._connection = new s.Subscription).add(this.source.subscribe(new f(this.getSubject(), this))), e.closed ? (this._connection = null, e = s.Subscription.EMPTY) : this._connection = e), e }, t.prototype.refCount = function() { return u.refCount()(this) }, t }(o.Observable); t.ConnectableObservable = c; var l = c.prototype; t.connectableObservableDescriptor = { operator: { value: null }, _refCount: { value: 0, writable: !0 }, _subject: { value: null, writable: !0 }, _connection: { value: null, writable: !0 }, _subscribe: { value: l._subscribe }, _isComplete: { value: l._isComplete, writable: !0 }, getSubject: { value: l.getSubject }, connect: { value: l.connect }, refCount: { value: l.refCount } }; var f = function(e) { function t(t, r) { e.call(this, t), this.connectable = r } return n(t, e), t.prototype._error = function(t) { this._unsubscribe(), e.prototype._error.call(this, t) }, t.prototype._complete = function() { this.connectable._isComplete = !0, this._unsubscribe(), e.prototype._complete.call(this) }, t.prototype._unsubscribe = function() { var e = this.connectable; if (e) { this.connectable = null; var t = e._connection; e._refCount = 0, e._subject = null, e._connection = null, t && t.unsubscribe() } }, t }(i.SubjectSubscriber), p = (function() { function e(e) { this.connectable = e } e.prototype.call = function(e, t) { var r = this.connectable; r._refCount++; var n = new p(e, r), i = t.subscribe(n); return n.closed || (n.connection = r.connect()), i } }(), function(e) { function t(t, r) { e.call(this, t), this.connectable = r } return n(t, e), t.prototype._unsubscribe = function() { var e = this.connectable; if (e) { this.connectable = null; var t = e._refCount; if (t <= 0) this.connection = null; else if (e._refCount = t - 1, t > 1) this.connection = null; else { var r = this.connection, n = e._connection; this.connection = null, !n || r && n !== r || n.unsubscribe() } } else this.connection = null }, t }(a.Subscriber)) }, function(e, t, r) { "use strict"; var n = r(12), i = r(1572); n.Observable.prototype.take = i.take }, function(e, t, r) { "use strict"; var n = r(1573); t.take = function(e) { return n.take(e)(this) } }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(39), o = r(1574), a = r(212); t.take = function(e) { return function(t) { return 0 === e ? new a.EmptyObservable : t.lift(new s(e)) } }; var s = function() { function e(e) { if (this.total = e, this.total < 0) throw new o.ArgumentOutOfRangeError } return e.prototype.call = function(e, t) { return t.subscribe(new u(e, this.total)) }, e }(), u = function(e) { function t(t, r) { e.call(this, t), this.total = r, this.count = 0 } return n(t, e), t.prototype._next = function(e) { var t = this.total, r = ++this.count; r <= t && (this.destination.next(e), r === t && (this.destination.complete(), this.unsubscribe())) }, t }(i.Subscriber) }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t() { var t = e.call(this, "argument out of range"); this.name = t.name = "ArgumentOutOfRangeError", this.stack = t.stack, this.message = t.message } return n(t, e), t }(Error); t.ArgumentOutOfRangeError = i }, function(e, t, r) { "use strict"; var n = r(12), i = r(1576); n.Observable.ajax = i.ajax }, function(e, t, r) { "use strict"; var n = r(1577); t.ajax = n.AjaxObservable.create }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(67), o = r(330), a = r(208), s = r(12), u = r(39), c = r(660); function l() { if (i.root.XMLHttpRequest) return new i.root.XMLHttpRequest; if (i.root.XDomainRequest) return new i.root.XDomainRequest; throw new Error("CORS is not supported by your browser") } function f(e, t) { return void 0 === t && (t = null), new b({ method: "GET", url: e, headers: t }) } function p(e, t, r) { return new b({ method: "POST", url: e, body: t, headers: r }) } function d(e, t) { return new b({ method: "DELETE", url: e, headers: t }) } function h(e, t, r) { return new b({ method: "PUT", url: e, body: t, headers: r }) } function v(e, t, r) { return new b({ method: "PATCH", url: e, body: t, headers: r }) } t.ajaxGet = f, t.ajaxPost = p, t.ajaxDelete = d, t.ajaxPut = h, t.ajaxPatch = v; var m = c.map((function(e, t) { return e.response })); function y(e, t) { return m(new b({ method: "GET", url: e, responseType: "json", headers: t })) } t.ajaxGetJSON = y; var b = function(e) { function t(t) { e.call(this); var r = { async: !0, createXHR: function() { return this.crossDomain ? l.call(this) : function() { if (i.root.XMLHttpRequest) return new i.root.XMLHttpRequest; var e = void 0; try { for (var t = ["Msxml2.XMLHTTP", "Microsoft.XMLHTTP", "Msxml2.XMLHTTP.4.0"], r = 0; r < 3; r++) try { if (e = t[r], new i.root.ActiveXObject(e)) break } catch (e) {} return new i.root.ActiveXObject(e) } catch (e) { throw new Error("XMLHttpRequest is not supported by your browser") } }() }, crossDomain: !1, withCredentials: !1, headers: {}, method: "GET", responseType: "json", timeout: 0 }; if ("string" == typeof t) r.url = t; else for (var n in t) t.hasOwnProperty(n) && (r[n] = t[n]); this.request = r } var r; return n(t, e), t.prototype._subscribe = function(e) { return new g(e, this.request) }, t.create = ((r = function(e) { return new t(e) }).get = f, r.post = p, r.delete = d, r.put = h, r.patch = v, r.getJSON = y, r), t }(s.Observable); t.AjaxObservable = b; var g = function(e) { function t(t, r) { e.call(this, t), this.request = r, this.done = !1; var n = r.headers = r.headers || {}; r.crossDomain || n["X-Requested-With"] || (n["X-Requested-With"] = "XMLHttpRequest"), "Content-Type" in n || i.root.FormData && r.body instanceof i.root.FormData || void 0 === r.body || (n["Content-Type"] = "application/x-www-form-urlencoded; charset=UTF-8"), r.body = this.serializeBody(r.body, r.headers["Content-Type"]), this.send() } return n(t, e), t.prototype.next = function(e) { this.done = !0; var t = this.xhr, r = this.request, n = this.destination, i = new _(e, t, r); n.next(i) }, t.prototype.send = function() { var e = this.request, t = this.request, r = t.user, n = t.method, i = t.url, s = t.async, u = t.password, c = t.headers, l = t.body, f = e.createXHR, p = o.tryCatch(f).call(e); if (p === a.errorObject) this.error(a.errorObject.e); else { this.xhr = p, this.setupEvents(p, e); if ((r ? o.tryCatch(p.open).call(p, n, i, s, r, u) : o.tryCatch(p.open).call(p, n, i, s)) === a.errorObject) return this.error(a.errorObject.e), null; if (s && (p.timeout = e.timeout, p.responseType = e.responseType), "withCredentials" in p && (p.withCredentials = !!e.withCredentials), this.setHeaders(p, c), (l ? o.tryCatch(p.send).call(p, l) : o.tryCatch(p.send).call(p)) === a.errorObject) return this.error(a.errorObject.e), null } return p }, t.prototype.serializeBody = function(e, t) { if (!e || "string" == typeof e) return e; if (i.root.FormData && e instanceof i.root.FormData) return e; if (t) { var r = t.indexOf(";"); - 1 !== r && (t = t.substring(0, r)) } switch (t) { case "application/x-www-form-urlencoded": return Object.keys(e).map((function(t) { return encodeURI(t) + "=" + encodeURI(e[t]) })).join("&"); case "application/json": return JSON.stringify(e); default: return e } }, t.prototype.setHeaders = function(e, t) { for (var r in t) t.hasOwnProperty(r) && e.setRequestHeader(r, t[r]) }, t.prototype.setupEvents = function(e, t) { var r = t.progressSubscriber; function n(e) { var t = n, r = t.subscriber, i = t.progressSubscriber, o = t.request; i && i.error(e), r.error(new A(this, o)) } if (e.ontimeout = n, n.request = t, n.subscriber = this, n.progressSubscriber = r, e.upload && "withCredentials" in e) { var o, a; if (r) o = function(e) { o.progressSubscriber.next(e) }, i.root.XDomainRequest ? e.onprogress = o : e.upload.onprogress = o, o.progressSubscriber = r; a = function(e) { var t = a, r = t.progressSubscriber, n = t.subscriber, i = t.request; r && r.error(e), n.error(new T("ajax error", this, i)) }, e.onerror = a, a.request = t, a.subscriber = this, a.progressSubscriber = r } function s(e) { var t = s, r = t.subscriber, n = t.progressSubscriber, i = t.request; if (4 === this.readyState) { var o = 1223 === this.status ? 204 : this.status, a = "text" === this.responseType ? this.response || this.responseText : this.response; 0 === o && (o = a ? 200 : 0), 200 <= o && o < 300 ? (n && n.complete(), r.next(e), r.complete()) : (n && n.error(e), r.error(new T("ajax error " + o, this, i))) } } e.onreadystatechange = s, s.subscriber = this, s.progressSubscriber = r, s.request = t }, t.prototype.unsubscribe = function() { var t = this.done, r = this.xhr; !t && r && 4 !== r.readyState && "function" == typeof r.abort && r.abort(), e.prototype.unsubscribe.call(this) }, t }(u.Subscriber); t.AjaxSubscriber = g; var _ = function(e, t, r) { this.originalEvent = e, this.xhr = t, this.request = r, this.status = t.status, this.responseType = t.responseType || r.responseType, this.response = S(this.responseType, t) }; t.AjaxResponse = _; var T = function(e) { function t(t, r, n) { e.call(this, t), this.message = t, this.xhr = r, this.request = n, this.status = r.status, this.responseType = r.responseType || n.responseType, this.response = S(this.responseType, r) } return n(t, e), t }(Error); function S(e, t) { switch (e) { case "json": return "response" in t ? t.responseType ? t.response : JSON.parse(t.response || t.responseText || "null") : JSON.parse(t.responseText || "null"); case "xml": return t.responseXML; case "text": default: return "response" in t ? t.response : t.responseText } } t.AjaxError = T; var A = function(e) { function t(t, r) { e.call(this, "ajax timeout", t, r) } return n(t, e), t }(T); t.AjaxTimeoutError = A }, function(e, t, r) { "use strict"; var n = r(12), i = r(1579); n.Observable.empty = i.empty }, function(e, t, r) { "use strict"; var n = r(212); t.empty = n.EmptyObservable.create }, function(e, t, r) { "use strict"; var n = r(12), i = r(1581); n.Observable.from = i.from }, function(e, t, r) { "use strict"; var n = r(1582); t.from = n.FromObservable.create }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(207), o = r(656), a = r(657), s = r(1583), u = r(1584), c = r(334), l = r(1585), f = r(333), p = r(12), d = r(1586), h = r(332), v = function(e) { function t(t, r) { e.call(this, null), this.ish = t, this.scheduler = r } return n(t, e), t.create = function(e, r) { if (null != e) { if ("function" == typeof e[h.observable]) return e instanceof p.Observable && !r ? e : new t(e, r); if (i.isArray(e)) return new c.ArrayObservable(e, r); if (a.isPromise(e)) return new s.PromiseObservable(e, r); if ("function" == typeof e[f.iterator] || "string" == typeof e) return new u.IteratorObservable(e, r); if (o.isArrayLike(e)) return new l.ArrayLikeObservable(e, r) } throw new TypeError((null !== e && typeof e || e) + " is not observable") }, t.prototype._subscribe = function(e) { var t = this.ish, r = this.scheduler; return null == r ? t[h.observable]().subscribe(e) : t[h.observable]().subscribe(new d.ObserveOnSubscriber(e, r, 0)) }, t }(p.Observable); t.FromObservable = v }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(67), o = function(e) { function t(t, r) { e.call(this), this.promise = t, this.scheduler = r } return n(t, e), t.create = function(e, r) { return new t(e, r) }, t.prototype._subscribe = function(e) { var t = this, r = this.promise, n = this.scheduler; if (null == n) this._isScalar ? e.closed || (e.next(this.value), e.complete()) : r.then((function(r) { t.value = r, t._isScalar = !0, e.closed || (e.next(r), e.complete()) }), (function(t) { e.closed || e.error(t) })).then(null, (function(e) { i.root.setTimeout((function() { throw e })) })); else if (this._isScalar) { if (!e.closed) return n.schedule(a, 0, { value: this.value, subscriber: e }) } else r.then((function(r) { t.value = r, t._isScalar = !0, e.closed || e.add(n.schedule(a, 0, { value: r, subscriber: e })) }), (function(t) { e.closed || e.add(n.schedule(s, 0, { err: t, subscriber: e })) })).then(null, (function(e) { i.root.setTimeout((function() { throw e })) })) }, t }(r(12).Observable); function a(e) { var t = e.value, r = e.subscriber; r.closed || (r.next(t), r.complete()) } function s(e) { var t = e.err, r = e.subscriber; r.closed || r.error(t) } t.PromiseObservable = o }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(67), o = r(12), a = r(333), s = function(e) { function t(t, r) { if (e.call(this), this.scheduler = r, null == t) throw new Error("iterator cannot be null."); this.iterator = function(e) { var t = e[a.iterator]; if (!t && "string" == typeof e) return new u(e); if (!t && void 0 !== e.length) return new c(e); if (!t) throw new TypeError("object is not iterable"); return e[a.iterator]() }(t) } return n(t, e), t.create = function(e, r) { return new t(e, r) }, t.dispatch = function(e) { var t = e.index, r = e.hasError, n = e.iterator, i = e.subscriber; if (r) i.error(e.error); else { var o = n.next(); o.done ? i.complete() : (i.next(o.value), e.index = t + 1, i.closed ? "function" == typeof n.return && n.return() : this.schedule(e)) } }, t.prototype._subscribe = function(e) { var r = this.iterator, n = this.scheduler; if (n) return n.schedule(t.dispatch, 0, { index: 0, iterator: r, subscriber: e }); for (;;) { var i = r.next(); if (i.done) { e.complete(); break } if (e.next(i.value), e.closed) { "function" == typeof r.return && r.return(); break } } }, t }(o.Observable); t.IteratorObservable = s; var u = function() { function e(e, t, r) { void 0 === t && (t = 0), void 0 === r && (r = e.length), this.str = e, this.idx = t, this.len = r } return e.prototype[a.iterator] = function() { return this }, e.prototype.next = function() { return this.idx < this.len ? { done: !1, value: this.str.charAt(this.idx++) } : { done: !0, value: void 0 } }, e }(), c = function() { function e(e, t, r) { void 0 === t && (t = 0), void 0 === r && (r = function(e) { var t = +e.length; if (isNaN(t)) return 0; if (0 === t || (r = t, "number" != typeof r || !i.root.isFinite(r))) return t; var r; if ((t = function(e) { var t = +e; if (0 === t) return t; if (isNaN(t)) return t; return t < 0 ? -1 : 1 }(t) * Math.floor(Math.abs(t))) <= 0) return 0; if (t > l) return l; return t }(e)), this.arr = e, this.idx = t, this.len = r } return e.prototype[a.iterator] = function() { return this }, e.prototype.next = function() { return this.idx < this.len ? { done: !1, value: this.arr[this.idx++] } : { done: !0, value: void 0 } }, e }(); var l = Math.pow(2, 53) - 1 }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(12), o = r(658), a = r(212), s = function(e) { function t(t, r) { e.call(this), this.arrayLike = t, this.scheduler = r, r || 1 !== t.length || (this._isScalar = !0, this.value = t[0]) } return n(t, e), t.create = function(e, r) { var n = e.length; return 0 === n ? new a.EmptyObservable : 1 === n ? new o.ScalarObservable(e[0], r) : new t(e, r) }, t.dispatch = function(e) { var t = e.arrayLike, r = e.index, n = e.length, i = e.subscriber; i.closed || (r >= n ? i.complete() : (i.next(t[r]), e.index = r + 1, this.schedule(e))) }, t.prototype._subscribe = function(e) { var r = this.arrayLike, n = this.scheduler, i = r.length; if (n) return n.schedule(t.dispatch, 0, { arrayLike: r, index: 0, length: i, subscriber: e }); for (var o = 0; o < i && !e.closed; o++) e.next(r[o]); e.complete() }, t }(i.Observable); t.ArrayLikeObservable = s }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(39), o = r(659); t.observeOn = function(e, t) { return void 0 === t && (t = 0), function(r) { return r.lift(new a(e, t)) } }; var a = function() { function e(e, t) { void 0 === t && (t = 0), this.scheduler = e, this.delay = t } return e.prototype.call = function(e, t) { return t.subscribe(new s(e, this.scheduler, this.delay)) }, e }(); t.ObserveOnOperator = a; var s = function(e) { function t(t, r, n) { void 0 === n && (n = 0), e.call(this, t), this.scheduler = r, this.delay = n } return n(t, e), t.dispatch = function(e) { var t = e.notification, r = e.destination; t.observe(r), this.unsubscribe() }, t.prototype.scheduleMessage = function(e) { this.add(this.scheduler.schedule(t.dispatch, this.delay, new u(e, this.destination))) }, t.prototype._next = function(e) { this.scheduleMessage(o.Notification.createNext(e)) }, t.prototype._error = function(e) { this.scheduleMessage(o.Notification.createError(e)) }, t.prototype._complete = function() { this.scheduleMessage(o.Notification.createComplete()) }, t }(i.Subscriber); t.ObserveOnSubscriber = s; var u = function(e, t) { this.notification = e, this.destination = t }; t.ObserveOnMessage = u }, function(e, t, r) { "use strict"; var n = r(12), i = r(1588); n.Observable.interval = i.interval }, function(e, t, r) { "use strict"; var n = r(1589); t.interval = n.IntervalObservable.create }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = r(1590), o = r(12), a = r(209), s = function(e) { function t(t, r) { void 0 === t && (t = 0), void 0 === r && (r = a.async), e.call(this), this.period = t, this.scheduler = r, (!i.isNumeric(t) || t < 0) && (this.period = 0), r && "function" == typeof r.schedule || (this.scheduler = a.async) } return n(t, e), t.create = function(e, r) { return void 0 === e && (e = 0), void 0 === r && (r = a.async), new t(e, r) }, t.dispatch = function(e) { var t = e.index, r = e.subscriber, n = e.period; r.next(t), r.closed || (e.index += 1, this.schedule(e, n)) }, t.prototype._subscribe = function(e) { var r = this.period, n = this.scheduler; e.add(n.schedule(t.dispatch, r, { index: 0, subscriber: e, period: r })) }, t }(o.Observable); t.IntervalObservable = s }, function(e, t, r) { "use strict"; var n = r(207); t.isNumeric = function(e) { return !n.isArray(e) && e - parseFloat(e) + 1 >= 0 } }, function(e, t, r) { "use strict"; var n = r(12), i = r(1592); n.Observable.of = i.of }, function(e, t, r) { "use strict"; var n = r(334); t.of = n.ArrayObservable.of }, function(e, t, r) { "use strict"; var n = r(12), i = r(1594); n.Observable.throw = i._throw }, function(e, t, r) { "use strict"; var n = r(1595); t._throw = n.ErrorObservable.create }, function(e, t, r) { "use strict"; var n = this && this.__extends || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]); function n() { this.constructor = e } e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n) }, i = function(e) { function t(t, r) { e.call(this), this.error = t, this.scheduler = r } return n(t, e), t.create = function(e, r) { return new t(e, r) }, t.dispatch = function(e) { var t = e.error; e.subscriber.error(t) }, t.prototype._subscribe = function(e) { var r = this.error, n = this.scheduler; if (e.syncErrorThrowable = !0, n) return n.schedule(t.dispatch, 0, { error: r, subscriber: e }); e.error(r) }, t }(r(12).Observable); t.ErrorObservable = i }, function(e, t, r) { "use strict"; var n = r(202); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = []; return e.forEach((function(e) { for (var r = (0, i.default)(e), n = r.extname, o = r.name, a = 0, s = e; t.includes(s);) s = [o, "(".concat(++a, ")")].filter((function(e) { return e })).join(" ") + n; t.push(s) })), t }; var i = n(r(1597)) }, function(e, t, r) { "use strict"; var n = r(202); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { if (e) { if (~e.indexOf(".")) { var t = e.split(".").reverse(), r = (0, i.default)(t), n = r[0], o = r.slice(1); return { extname: "." + n, name: o.reverse().join(".") } } return { extname: "", name: e } } return { extname: "", name: "" } }; var i = n(r(1598)) }, function(e, t, r) { var n = r(1599), i = r(663), o = r(1600); e.exports = function(e) { return n(e) || i(e) || o() } }, function(e, t) { e.exports = function(e) { if (Array.isArray(e)) return e } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") } }, function(e, t, r) { "use strict"; (function(e) { var n = r(1602), i = r(202); Object.defineProperty(t, "__esModule", { value: !0 }), t.DirectLineStreaming = void 0; var o = i(r(631)), a = i(r(1603)), s = i(r(1604)), u = i(r(1607)), c = i(r(632)), l = i(r(633)), f = i(r(634)), p = r(651), d = r(12), h = n(r(1608)), v = i(r(1629)), m = r(322), y = function() { function e(t, r, n) { (0, c.default)(this, e), (0, f.default)(this, "connectionStatus$", void 0), (0, f.default)(this, "subscriber", void 0), (0, f.default)(this, "shouldQueue", void 0), (0, f.default)(this, "activityQueue", []), this.subscriber = t, this.connectionStatus$ = r, this.shouldQueue = n } var t; return (0, l.default)(e, [{ key: "setSubscriber", value: function(e) { this.subscriber = e } }, { key: "processRequest", value: (t = (0, u.default)(a.default.mark((function e(t, r) { var n, i, o, u, c, l, f, p, d; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return n = (0, s.default)(t.streams), i = n.shift(), e.next = 4, i.readAsString(); case 4: if (o = e.sent, 1 === (u = JSON.parse(o)).activities.length) { e.next = 9; break } return this.subscriber.error(new Error("there should be exactly one activity")), e.abrupt("return", h.StreamingResponse.create(500)); case 9: if (c = u.activities[0], !(n.length > 0)) { e.next = 21; break } l = (0, s.default)(c.attachments); case 12: if (!(f = n.shift())) { e.next = 20; break } return e.next = 15, f.readAsString(); case 15: p = e.sent, d = "data:text/plain;base64," + p, l.push({ contentType: f.contentType, contentUrl: d }), e.next = 12; break; case 20: c.attachments = l; case 21: return this.shouldQueue() ? this.activityQueue.push(c) : this.subscriber.next(c), e.abrupt("return", h.StreamingResponse.create(200)); case 23: case "end": return e.stop() } }), e, this) }))), function(e, r) { return t.apply(this, arguments) }) }, { key: "flush", value: function() { var e = this; this.connectionStatus$.subscribe((function(e) {})), this.activityQueue.forEach((function(t) { return e.subscriber.next(t) })), this.activityQueue = [] } }]), e }(), b = function() { function t(e) { var r = this; (0, c.default)(this, t), (0, f.default)(this, "connectionStatus$", new p.BehaviorSubject(m.ConnectionStatus.Uninitialized)), (0, f.default)(this, "activity$", void 0), (0, f.default)(this, "activitySubscriber", void 0), (0, f.default)(this, "theStreamHandler", void 0), (0, f.default)(this, "domain", void 0), (0, f.default)(this, "conversationId", void 0), (0, f.default)(this, "token", void 0), (0, f.default)(this, "streamConnection", void 0), (0, f.default)(this, "queueActivities", void 0), (0, f.default)(this, "_botAgent", ""), this.token = e.token, this.refreshToken(), this.domain = e.domain, e.conversationId && (this.conversationId = e.conversationId), this._botAgent = this.getBotAgent(e.botAgent), this.queueActivities = !0, this.activity$ = d.Observable.create(function() { var e = (0, u.default)(a.default.mark((function e(t) { return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: r.activitySubscriber = t, r.theStreamHandler = new y(t, r.connectionStatus$, (function() { return r.queueActivities })), r.connectWithRetryAsync(); case 3: case "end": return e.stop() } }), e) }))); return function(t) { return e.apply(this, arguments) } }()).share() } var r, n, i, s; return (0, l.default)(t, [{ key: "reconnect", value: function(e) { var t = e.conversationId, r = e.token; this.conversationId = t, this.token = r, this.connectAsync() } }, { key: "end", value: function() { this.connectionStatus$.next(m.ConnectionStatus.Ended), this.streamConnection.disconnect() } }, { key: "commonHeaders", value: function() { return { Authorization: "Bearer ".concat(this.token), "x-ms-bot-agent": this._botAgent } } }, { key: "getBotAgent", value: function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "", t = "directlineStreaming"; return e && (t += "; ".concat(e)), "".concat("DirectLine/3.0", " (").concat(t, ")") } }, { key: "refreshToken", value: (s = (0, u.default)(a.default.mark((function e() { var t, r, n, i, o = arguments; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return !(o.length > 0 && void 0 !== o[0]) || o[0], o.length > 1 && void 0 !== o[1] && o[1], e.next = 4, this.waitUntilOnline(); case 4: t = 0; case 5: if (!(t < 3)) { e.next = 30; break } return t++, e.next = 9, new Promise((function(e) { return setTimeout(e, 9e5) })); case 9: return e.prev = 9, e.next = 12, (0, v.default)("".concat(this.domain, "/tokens/refresh"), { method: "POST", headers: this.commonHeaders() }); case 12: if (!(r = e.sent).ok) { e.next = 22; break } return t = 0, e.next = 17, r.json(); case 17: n = e.sent, i = n.token, this.token = i, e.next = 23; break; case 22: 403 === r.status || 403 === r.status ? (console.error("Fatal error while refreshing the token: ".concat(r.status, " ").concat(r.statusText)), this.streamConnection.disconnect()) : console.warn("Refresh attempt #".concat(t, " failed: ").concat(r.status, " ").concat(r.statusText)); case 23: e.next = 28; break; case 25: e.prev = 25, e.t0 = e.catch(9), console.warn("Refresh attempt #".concat(t, " threw an exception: ").concat(e.t0)); case 28: e.next = 5; break; case 30: console.error("Retries exhausted"), this.streamConnection.disconnect(); case 32: case "end": return e.stop() } }), e, this, [ [9, 25] ]) }))), function() { return s.apply(this, arguments) }) }, { key: "postActivity", value: function(e) { var t = this; return "message" === e.type && e.attachments && e.attachments.length > 0 ? this.postMessageWithAttachments(e) : d.Observable.create(function() { var r = (0, u.default)(a.default.mark((function r(n) { var i, o, s, u, c, l; return a.default.wrap((function(r) { for (;;) switch (r.prev = r.next) { case 0: return (i = h.StreamingRequest.create("POST", "/v3/directline/conversations/" + t.conversationId + "/activities")).setBody(JSON.stringify(e)), r.next = 4, t.streamConnection.send(i); case 4: if (o = r.sent, r.prev = 5, 200 === o.statusCode) { r.next = 8; break } throw new Error("PostActivity returned " + o.statusCode); case 8: if (1 === (s = o.streams.length)) { r.next = 11; break } throw new Error("Expected one stream but got " + s); case 11: return r.next = 13, o.streams[0].readAsString(); case 13: return u = r.sent, c = JSON.parse(u), l = c.Id, r.abrupt("return", n.next(l)); case 18: return r.prev = 18, r.t0 = r.catch(5), console.warn(r.t0), t.streamConnection.disconnect(), r.abrupt("return", n.error(r.t0)); case 23: case "end": return r.stop() } }), r, null, [ [5, 18] ]) }))); return function(e) { return r.apply(this, arguments) } }()) } }, { key: "postMessageWithAttachments", value: function(t) { var r = this, n = t.attachments, i = (0, o.default)(t, ["attachments"]); return d.Observable.create((function(t) { var o = []; (0, u.default)(a.default.mark((function s() { var c, l, f, p, d, m; return a.default.wrap((function(s) { for (;;) switch (s.prev = s.next) { case 0: return s.prev = 0, s.next = 3, Promise.all(n.map(function() { var e = (0, u.default)(a.default.mark((function e(t) { var r, n; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return r = t, e.next = 3, (0, v.default)(r.contentUrl); case 3: if (!(n = e.sent).ok) { e.next = 12; break } return e.next = 7, n.arrayBuffer(); case 7: return e.t0 = e.sent, e.t1 = r, e.abrupt("return", { arrayBuffer: e.t0, media: e.t1 }); case 12: throw new Error("..."); case 13: case "end": return e.stop() } }), e) }))); return function(t) { return e.apply(this, arguments) } }())); case 3: return s.sent.forEach((function(t) { var r = t.arrayBuffer, n = t.media, i = new e(r); console.log(i); var a = new h.SubscribableStream; a.write(i); var s = new h.HttpContent({ type: n.contentType, contentLength: i.length }, a); o.push(s) })), c = "/v3/directline/conversations/".concat(r.conversationId, "/users/").concat(i.from.id, "/upload"), l = h.StreamingRequest.create("PUT", c), (f = new h.SubscribableStream).write(JSON.stringify(i), "utf-8"), l.addStream(new h.HttpContent({ type: "application/vnd.microsoft.activity", contentLength: f.length }, f)), o.forEach((function(e) { return l.addStream(e) })), s.next = 13, r.streamConnection.send(l); case 13: if (!(p = s.sent).streams || 1 === p.streams.length) { s.next = 18; break } t.error(new Error("Invalid stream count ".concat(p.streams.length))), s.next = 23; break; case 18: return s.next = 20, p.streams[0].readAsJson(); case 20: d = s.sent, m = d.Id, t.next(m); case 23: s.next = 28; break; case 25: s.prev = 25, s.t0 = s.catch(0), t.error(s.t0); case 28: case "end": return s.stop() } }), s, null, [ [0, 25] ]) })))() })) } }, { key: "waitUntilOnline", value: (i = (0, u.default)(a.default.mark((function e() { var t = this; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.abrupt("return", new Promise((function(e, r) { t.connectionStatus$.subscribe((function(t) { if (t === m.ConnectionStatus.Online) return e() }), (function(e) { return r(e) })) }))); case 1: case "end": return e.stop() } }), e) }))), function() { return i.apply(this, arguments) }) }, { key: "connectAsync", value: (n = (0, u.default)(a.default.mark((function e() { var t, r, n, i, o = this; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if ((t = new RegExp("^http(s?)")).test(this.domain)) { e.next = 3; break } throw "Domain must begin with http or https"; case 3: return r = { token: this.token }, this.conversationId && (r.conversationId = this.conversationId), n = new URLSearchParams(r).toString(), i = "".concat(this.domain.replace(t, "ws$1"), "/conversations/connect?").concat(n), e.abrupt("return", new Promise(function() { var e = (0, u.default)(a.default.mark((function e(t, r) { var n, s, u, c; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.prev = 0, o.streamConnection = new h.WebSocketClient({ url: i, requestHandler: o.theStreamHandler, disconnectionHandler: function(e) { return t(e) } }), o.queueActivities = !0, e.next = 5, o.streamConnection.connect(); case 5: return n = h.StreamingRequest.create("POST", "/v3/directline/conversations"), e.next = 8, o.streamConnection.send(n); case 8: if (200 === (s = e.sent).statusCode) { e.next = 11; break } throw new Error("Connection response code " + s.statusCode); case 11: if (1 === s.streams.length) { e.next = 13; break } throw new Error("Expected 1 stream but got " + s.streams.length); case 13: return e.next = 15, s.streams[0].readAsString(); case 15: return u = e.sent, c = JSON.parse(u), o.conversationId = c.conversationId, o.connectionStatus$.next(m.ConnectionStatus.Online), e.next = 21, o.waitUntilOnline(); case 21: o.theStreamHandler.flush(), o.queueActivities = !1, e.next = 28; break; case 25: e.prev = 25, e.t0 = e.catch(0), r(e.t0); case 28: case "end": return e.stop() } }), e, null, [ [0, 25] ]) }))); return function(t, r) { return e.apply(this, arguments) } }())); case 8: case "end": return e.stop() } }), e, this) }))), function() { return n.apply(this, arguments) }) }, { key: "connectWithRetryAsync", value: (r = (0, u.default)(a.default.mark((function e() { var t, r, n, i = this; return a.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: t = 3; case 1: if (!(t > 0)) { e.next = 23; break } return t--, r = Date.now(), e.prev = 4, this.connectionStatus$.next(m.ConnectionStatus.Connecting), e.next = 8, this.connectAsync(); case 8: if (n = e.sent, console.warn("Retrying connection ".concat(n)), !(6e4 < Date.now() - r)) { e.next = 13; break } return t = 3, e.abrupt("continue", 1); case 13: e.next = 19; break; case 15: throw e.prev = 15, e.t0 = e.catch(4), console.error("Failed to connect ".concat(e.t0)), e.t0; case 19: return e.next = 21, new Promise((function(e) { return setTimeout(e, i.getRetryDelay()) })); case 21: e.next = 1; break; case 23: case "end": return e.stop() } }), e, this, [ [4, 15] ]) }))), function() { return r.apply(this, arguments) }) }, { key: "getRetryDelay", value: function() { return Math.floor(3e3 + 12e3 * Math.random()) } }]), t }(); t.DirectLineStreaming = b }).call(this, r(8).Buffer) }, function(e, t) { function r() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return r = function() { return e }, e } e.exports = function(e) { if (e && e.__esModule) return e; var t = r(); if (t && t.has(e)) return t.get(e); var n = {}; if (null != e) { var i = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o)) { var a = i ? Object.getOwnPropertyDescriptor(e, o) : null; a && (a.get || a.set) ? Object.defineProperty(n, o, a) : n[o] = e[o] } } return n.default = e, t && t.set(e, n), n } }, function(e, t, r) { e.exports = r(358) }, function(e, t, r) { var n = r(1605), i = r(663), o = r(1606); e.exports = function(e) { return n(e) || i(e) || o() } }, function(e, t) { e.exports = function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to spread non-iterable instance") } }, function(e, t) { function r(e, t, r, n, i, o, a) { try { var s = e[o](a), u = s.value } catch (e) { return void r(e) } s.done ? t(u) : Promise.resolve(u).then(n, i) } e.exports = function(e) { return function() { var t = this, n = arguments; return new Promise((function(i, o) { var a = e.apply(t, n); function s(e) { r(a, i, o, s, u, "next", e) } function u(e) { r(a, i, o, s, u, "throw", e) } s(void 0) })) } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(664); t.ContentStream = n.ContentStream; var i = r(335); t.HttpContent = i.HttpContent; var o = r(1612); t.RequestHandler = o.RequestHandler; var a = r(1613); t.StreamingRequest = a.StreamingRequest; var s = r(1614); t.StreamingResponse = s.StreamingResponse; var u = r(149); t.SubscribableStream = u.SubscribableStream; var c = r(1615); t.BrowserWebSocket = c.BrowserWebSocket, t.WebSocketClient = c.WebSocketClient, t.WebSocketServer = c.WebSocketServer }, function(e, t, r) { var n = r(1610), i = r(1611); e.exports = function(e, t, r) { var o = t && r || 0; "string" == typeof e && (t = "binary" === e ? new Array(16) : null, e = null); var a = (e = e || {}).random || (e.rng || n)(); if (a[6] = 15 & a[6] | 64, a[8] = 63 & a[8] | 128, t) for (var s = 0; s < 16; ++s) t[o + s] = a[s]; return t || i(a) } }, function(e, t) { var r = "undefined" != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || "undefined" != typeof msCrypto && "function" == typeof window.msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto); if (r) { var n = new Uint8Array(16); e.exports = function() { return r(n), n } } else { var i = new Array(16); e.exports = function() { for (var e, t = 0; t < 16; t++) 0 == (3 & t) && (e = 4294967296 * Math.random()), i[t] = e >>> ((3 & t) << 3) & 255; return i } } }, function(e, t) { for (var r = [], n = 0; n < 256; ++n) r[n] = (n + 256).toString(16).substr(1); e.exports = function(e, t) { var n = t || 0, i = r; return [i[e[n++]], i[e[n++]], i[e[n++]], i[e[n++]], "-", i[e[n++]], i[e[n++]], "-", i[e[n++]], i[e[n++]], "-", i[e[n++]], i[e[n++]], "-", i[e[n++]], i[e[n++]], i[e[n++]], i[e[n++]], i[e[n++]], i[e[n++]]].join("") } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() {}; t.RequestHandler = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(335), i = r(149), o = function() { function e() { this.streams = [] } return e.create = function(t, r, n) { var i = new e; return i.verb = t, i.path = r, n && i.setBody(n), i }, e.prototype.addStream = function(e) { if (!e) throw new Error("Argument Undefined Exception: content undefined."); this.streams.push(new n.HttpContentStream(e)) }, e.prototype.setBody = function(e) { if ("string" == typeof e) { var t = new i.SubscribableStream; t.write(e, "utf8"), this.addStream(new n.HttpContent({ type: "application/json; charset=utf-8", contentLength: t.length }, t)) } else "object" == typeof e && this.addStream(e) }, e }(); t.StreamingRequest = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(335), i = r(149), o = function() { function e() { this.streams = [] } return e.create = function(t, r) { var n = new e; return n.statusCode = t, r && n.addStream(r), n }, e.prototype.addStream = function(e) { this.streams.push(new n.HttpContentStream(e)) }, e.prototype.setBody = function(e) { var t = new i.SubscribableStream; t.write(JSON.stringify(e), "utf8"), this.addStream(new n.HttpContent({ type: "application/json; charset=utf-8", contentLength: t.length }, t)) }, e }(); t.StreamingResponse = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(665); t.BrowserWebSocket = n.BrowserWebSocket; var i = r(1618); t.WebSocketClient = i.WebSocketClient; var o = r(1628); t.WebSocketServer = o.WebSocketServer; var a = r(343); t.WebSocketTransport = a.WebSocketTransport }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.doesGlobalFileReaderExist = new Function('try {return typeof FileReader !== "undefined" && FileReader !== null;}catch(e){ return false;}') }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.doesGlobalWebSocketExist = new Function('try {return typeof WebSocket !== "undefined" && WebSocket !== null;}catch(e){ return false;}') }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(667), a = r(337), s = r(671), u = r(665), c = r(1626), l = r(666), f = r(343), p = function() { function e(e) { var t = e.url, r = e.requestHandler, n = e.disconnectionHandler, i = void 0 === n ? null : n; this._url = t, this._requestHandler = r, this._disconnectionHandler = i, this._requestManager = new a.RequestManager, this._sender = new s.PayloadSender, this._sender.disconnected = this.onConnectionDisconnected.bind(this), this._receiver = new s.PayloadReceiver, this._receiver.disconnected = this.onConnectionDisconnected.bind(this), this._protocolAdapter = new o.ProtocolAdapter(this._requestHandler, this._requestManager, this._sender, this._receiver) } return e.prototype.connect = function() { return n(this, void 0, void 0, (function() { var e, t; return i(this, (function(r) { switch (r.label) { case 0: return l.doesGlobalWebSocketExist() ? [4, (e = new u.BrowserWebSocket).connect(this._url)] : [3, 2]; case 1: return r.sent(), t = new f.WebSocketTransport(e), this._sender.connect(t), this._receiver.connect(t), [3, 6]; case 2: e = new c.NodeWebSocket, r.label = 3; case 3: return r.trys.push([3, 5, , 6]), [4, e.connect(this._url)]; case 4: return r.sent(), t = new f.WebSocketTransport(e), this._sender.connect(t), this._receiver.connect(t), [3, 6]; case 5: throw r.sent(), new Error("Unable to connect client to Node transport."); case 6: return [2] } })) })) }, e.prototype.disconnect = function() { this._sender.disconnect(new s.TransportDisconnectedEvent("Disconnect was called.")), this._receiver.disconnect(new s.TransportDisconnectedEvent("Disconnect was called.")) }, e.prototype.send = function(e) { return n(this, void 0, void 0, (function() { return i(this, (function(t) { return [2, this._protocolAdapter.sendRequest(e)] })) })) }, e.prototype.onConnectionDisconnected = function(e, t) { if (null == this._disconnectionHandler) throw new Error("Unable to re-connect client to Node transport for url " + this._url + ". Sender: '" + e + "'. Args:' " + t); this._disconnectionHandler("Disconnected") }, e }(); t.WebSocketClient = p }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = function() {}, a = function() { function e() { this._pendingRequests = {} } return e.prototype.pendingRequestCount = function() { return Object.keys(this._pendingRequests).length }, e.prototype.signalResponse = function(e, t) { return n(this, void 0, void 0, (function() { var r; return i(this, (function(n) { return (r = this._pendingRequests[e]) ? (r.resolve(t), delete this._pendingRequests[e], [2, !0]) : [2, !1] })) })) }, e.prototype.getResponse = function(e) { var t = this._pendingRequests[e]; if (t) return Promise.reject("requestId '" + e + "' already exists in RequestManager"); (t = new o).requestId = e; var r = new Promise((function(e, r) { t.resolve = e, t.reject = r })); return this._pendingRequests[e] = t, r }, e }(); t.RequestManager = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e, t, r) { this.sender = e, this.id = t, this.payloadType = r } return e.prototype.disassemble = function() { var e = { payloadType: this.payloadType, payloadLength: 0, id: this.id, end: !0 }; this.sender.sendPayload(e) }, e }(); t.CancelDisassembler = n }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }), o = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, a = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var s = r(91), u = function(e) { function t(t, r) { var n = e.call(this, t, r.id) || this; return n.payloadType = s.PayloadTypes.stream, n.contentStream = r, n } return i(t, e), t.prototype.getStream = function() { return o(this, void 0, void 0, (function() { var e; return a(this, (function(t) { return [2, { stream: e = this.contentStream.content.getStream(), streamLength: e.length }] })) })) }, t }(r(341).PayloadDisassembler); t.HttpContentStreamDisassembler = u }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }), o = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, a = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var s = r(91), u = r(341), c = function(e) { function t(t, r, n) { var i = e.call(this, t, r) || this; return i.payloadType = s.PayloadTypes.request, i.request = n, i } return i(t, e), t.prototype.getStream = function() { return o(this, void 0, void 0, (function() { var e; return a(this, (function(t) { return e = { verb: this.request.verb, path: this.request.path, streams: [] }, this.request.streams && this.request.streams.forEach((function(t) { e.streams.push(t.description) })), [2, u.PayloadDisassembler.serialize(e)] })) })) }, t }(u.PayloadDisassembler); t.RequestDisassembler = c }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }), o = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, a = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var s = r(91), u = r(341), c = function(e) { function t(t, r, n) { var i = e.call(this, t, r) || this; return i.payloadType = s.PayloadTypes.response, i.response = n, i } return i(t, e), t.prototype.getStream = function() { return o(this, void 0, void 0, (function() { var e; return a(this, (function(t) { return e = { statusCode: this.response.statusCode, streams: [] }, this.response.streams && this.response.streams.forEach((function(t) { e.streams.push(t.description) })), [2, u.PayloadDisassembler.serialize(e)] })) })) }, t }(u.PayloadDisassembler); t.ResponseDisassembler = c }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(91), a = r(338), s = r(339), u = r(342), c = function() { function e() { this.disconnected = function(e, t) {} } return e.prototype.connect = function(e) { if (this.isConnected) throw new Error("Already connected."); this._receiver = e, this.isConnected = !0, this.runReceive() }, e.prototype.subscribe = function(e, t) { this._getStream = e, this._receiveAction = t }, e.prototype.disconnect = function(e) { var t; try { this.isConnected && (this._receiver.close(), t = !0, this.isConnected = !1) } catch (e) { this.isConnected = !1, this.disconnected(this, new u.TransportDisconnectedEvent(e.message)) } this._receiver = null, this.isConnected = !1, t && this.disconnected(this, e || u.TransportDisconnectedEvent.Empty) }, e.prototype.runReceive = function() { this.receivePackets().catch() }, e.prototype.receivePackets = function() { return n(this, void 0, void 0, (function() { var e, t, r, n, c, l, f, p, d, h; return i(this, (function(i) { switch (i.label) { case 0: if (!this.isConnected || e) return [3, 11]; i.label = 1; case 1: i.trys.push([1, 9, , 10]), t = 0, i.label = 2; case 2: return t < s.PayloadConstants.MaxHeaderLength ? (r = this, [4, this._receiver.receive(s.PayloadConstants.MaxHeaderLength - t)]) : [3, 4]; case 3: return r._receiveHeaderBuffer = i.sent(), this._receiveHeaderBuffer && (t += this._receiveHeaderBuffer.length), [3, 2]; case 4: if (n = a.HeaderSerializer.deserialize(this._receiveHeaderBuffer), c = n.payloadType === o.PayloadTypes.stream, !(n.payloadLength > 0)) return [3, 8]; l = 0, f = this._getStream(n), i.label = 5; case 5: return l < n.payloadLength && l < s.PayloadConstants.MaxPayloadLength ? (p = Math.min(n.payloadLength - l, s.PayloadConstants.MaxPayloadLength), d = this, [4, this._receiver.receive(p)]) : [3, 7]; case 6: return d._receivePayloadBuffer = i.sent(), l += this._receivePayloadBuffer.byteLength, f.write(this._receivePayloadBuffer), c && this._receiveAction(n, f, l), [3, 5]; case 7: c || this._receiveAction(n, f, l), i.label = 8; case 8: return [3, 10]; case 9: return h = i.sent(), e = !0, this.disconnect(new u.TransportDisconnectedEvent(h.message)), [3, 10]; case 10: return [3, 0]; case 11: return [2] } })) })) }, e }(); t.PayloadReceiver = c }, function(e, t, r) { "use strict"; (function(e) { Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(338), i = r(339), o = r(342), a = function() { function t() {} return Object.defineProperty(t.prototype, "isConnected", { get: function() { return !!this.sender }, enumerable: !0, configurable: !0 }), t.prototype.connect = function(e) { this.sender = e }, t.prototype.sendPayload = function(e, t, r) { var n = { header: e, payload: t, sentCallback: r }; this.writePacket(n) }, t.prototype.disconnect = function(e) { this.isConnected && (this.sender.close(), this.sender = null, this.disconnected && this.disconnected(this, e || o.TransportDisconnectedEvent.Empty)) }, t.prototype.writePacket = function(t) { try { if (t.header.payloadLength > 0 && t.payload) { for (var r = t.header.payloadLength; r > 0;) { var a = r <= i.PayloadConstants.MaxPayloadLength ? r : i.PayloadConstants.MaxPayloadLength, s = t.payload.read(a), u = t.header; u.payloadLength = a, u.end = r <= i.PayloadConstants.MaxPayloadLength; var c = e.alloc(i.PayloadConstants.MaxHeaderLength); n.HeaderSerializer.serialize(u, c), this.sender.send(c), this.sender.send(s), r -= s.length } t.sentCallback && t.sentCallback() } } catch (e) { this.disconnect(new o.TransportDisconnectedEvent(e.message)) } }, t }(); t.PayloadSender = a }).call(this, r(8).Buffer) }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(263), a = r(474), s = r(1627), u = function() { function e(e) { this.wsSocket = e } return e.prototype.create = function(e, t, r) { return n(this, void 0, void 0, (function() { var n = this; return i(this, (function(i) { return this.wsServer = new s.Server({ noServer: !0 }), [2, new Promise((function(i, o) { try { n.wsServer.handleUpgrade(e, t, r, (function(e) { n.wsSocket = e, i() })) } catch (e) { o(e) } }))] })) })) }, Object.defineProperty(e.prototype, "isConnected", { get: function() { return this.wsSocket && this.wsSocket.readyState === s.OPEN }, enumerable: !0, configurable: !0 }), e.prototype.write = function(e) { this.wsSocket.send(e) }, e.prototype.connect = function(e, t) { return void 0 === t && (t = 8082), n(this, void 0, void 0, (function() { var r, n, u, c = this; return i(this, (function(i) { return this.wsServer = new s.Server({ noServer: !0 }), r = o.randomBytes(16).toString("base64"), n = { port: t, hostname: e, headers: { connection: "upgrade", "Sec-WebSocket-Key": r, "Sec-WebSocket-Version": "13" } }, (u = a.request(n)).end(), u.on("upgrade", (function(e, t, n) { c.wsServer.completeUpgrade(r, void 0, e, t, n, (function(e) { c.wsSocket = e })) })), [2, new Promise((function(e, t) { u.on("close", e), u.on("error", t) }))] })) })) }, e.prototype.setOnMessageHandler = function(e) { this.wsSocket.on("data", e), this.wsSocket.on("message", e) }, e.prototype.close = function(e, t) { return this.wsSocket.close(e, t) }, e.prototype.setOnCloseHandler = function(e) { this.wsSocket.on("close", e) }, e.prototype.setOnErrorHandler = function(e) { this.wsSocket.on("error", (function(t) { t && e(t) })) }, e }(); t.NodeWebSocket = u }, function(e, t, r) { "use strict"; e.exports = function() { throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object") } }, function(e, t, r) { "use strict"; var n = this && this.__awaiter || function(e, t, r, n) { return new(r || (r = Promise))((function(i, o) { function a(e) { try { u(n.next(e)) } catch (e) { o(e) } } function s(e) { try { u(n.throw(e)) } catch (e) { o(e) } } function u(e) { e.done ? i(e.value) : new r((function(t) { t(e.value) })).then(a, s) } u((n = n.apply(e, t || [])).next()) })) }, i = this && this.__generator || function(e, t) { var r, n, i, o, a = { label: 0, sent: function() { if (1 & i[0]) throw i[1]; return i[1] }, trys: [], ops: [] }; return o = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (o[Symbol.iterator] = function() { return this }), o; function s(o) { return function(s) { return function(o) { if (r) throw new TypeError("Generator is already executing."); for (; a;) try { if (r = 1, n && (i = 2 & o[0] ? n.return : o[0] ? n.throw || ((i = n.return) && i.call(n), 0) : n.next) && !(i = i.call(n, o[1])).done) return i; switch (n = 0, i && (o = [2 & o[0], i.value]), o[0]) { case 0: case 1: i = o; break; case 4: return a.label++, { value: o[1], done: !1 }; case 5: a.label++, n = o[1], o = [0]; continue; case 7: o = a.ops.pop(), a.trys.pop(); continue; default: if (!(i = (i = a.trys).length > 0 && i[i.length - 1]) && (6 === o[0] || 2 === o[0])) { a = 0; continue } if (3 === o[0] && (!i || o[1] > i[0] && o[1] < i[3])) { a.label = o[1]; break } if (6 === o[0] && a.label < i[1]) { a.label = i[1], i = o; break } if (i && a.label < i[2]) { a.label = i[2], a.ops.push(o); break } i[2] && a.ops.pop(), a.trys.pop(); continue } o = t.call(e, a) } catch (e) { o = [6, e], n = 0 } finally { r = i = 0 } if (5 & o[0]) throw o[1]; return { value: o[0] ? o[1] : void 0, done: !0 } }([o, s]) } } }; Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(667), a = r(337), s = r(671), u = r(343), c = function() { function e(e, t) { if (!e) throw new TypeError("WebSocketServer: Missing socket parameter"); this._socket = e, this._webSocketTransport = new u.WebSocketTransport(e), this._requestHandler = t, this._requestManager = new a.RequestManager, this._sender = new s.PayloadSender, this._sender.disconnected = this.onConnectionDisconnected.bind(this), this._receiver = new s.PayloadReceiver, this._receiver.disconnected = this.onConnectionDisconnected.bind(this), this._protocolAdapter = new o.ProtocolAdapter(this._requestHandler, this._requestManager, this._sender, this._receiver), this._closedSignal = function(e) { return e } } return Object.defineProperty(e.prototype, "isConnected", { get: function() { return this._socket.isConnected }, enumerable: !0, configurable: !0 }), e.prototype.start = function() { return n(this, void 0, void 0, (function() { return i(this, (function(e) { return this._sender.connect(this._webSocketTransport), this._receiver.connect(this._webSocketTransport), [2, this._closedSignal] })) })) }, e.prototype.send = function(e) { return n(this, void 0, void 0, (function() { return i(this, (function(t) { return [2, this._protocolAdapter.sendRequest(e)] })) })) }, e.prototype.disconnect = function() { this._sender.disconnect(new s.TransportDisconnectedEvent("Disconnect was called.")), this._receiver.disconnect(new s.TransportDisconnectedEvent("Disconnect was called.")) }, e.prototype.onConnectionDisconnected = function(e, t) { this._closedSignal && (this._closedSignal("close"), this._closedSignal = null), e === this._sender && this._receiver.disconnect(t), e === this._receiver && this._sender.disconnect(t) }, e }(); t.WebSocketServer = c }, function(e, t) { var r = function(e) { function t() { this.fetch = !1, this.DOMException = e.DOMException } return t.prototype = e, new t }("undefined" != typeof self ? self : this); ! function(e) { ! function(t) { var r = "URLSearchParams" in e, n = "Symbol" in e && "iterator" in Symbol, i = "FileReader" in e && "Blob" in e && function() { try { return new Blob, !0 } catch (e) { return !1 } }(), o = "FormData" in e, a = "ArrayBuffer" in e; if (a) var s = ["[object Int8Array]", "[object Uint8Array]", "[object Uint8ClampedArray]", "[object Int16Array]", "[object Uint16Array]", "[object Int32Array]", "[object Uint32Array]", "[object Float32Array]", "[object Float64Array]"], u = ArrayBuffer.isView || function(e) { return e && s.indexOf(Object.prototype.toString.call(e)) > -1 }; function c(e) { if ("string" != typeof e && (e = String(e)), /[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e)) throw new TypeError("Invalid character in header field name"); return e.toLowerCase() } function l(e) { return "string" != typeof e && (e = String(e)), e } function f(e) { var t = { next: function() { var t = e.shift(); return { done: void 0 === t, value: t } } }; return n && (t[Symbol.iterator] = function() { return t }), t } function p(e) { this.map = {}, e instanceof p ? e.forEach((function(e, t) { this.append(t, e) }), this) : Array.isArray(e) ? e.forEach((function(e) { this.append(e[0], e[1]) }), this) : e && Object.getOwnPropertyNames(e).forEach((function(t) { this.append(t, e[t]) }), this) } function d(e) { if (e.bodyUsed) return Promise.reject(new TypeError("Already read")); e.bodyUsed = !0 } function h(e) { return new Promise((function(t, r) { e.onload = function() { t(e.result) }, e.onerror = function() { r(e.error) } })) } function v(e) { var t = new FileReader, r = h(t); return t.readAsArrayBuffer(e), r } function m(e) { if (e.slice) return e.slice(0); var t = new Uint8Array(e.byteLength); return t.set(new Uint8Array(e)), t.buffer } function y() { return this.bodyUsed = !1, this._initBody = function(e) { var t; this._bodyInit = e, e ? "string" == typeof e ? this._bodyText = e : i && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : o && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e : r && URLSearchParams.prototype.isPrototypeOf(e) ? this._bodyText = e.toString() : a && i && ((t = e) && DataView.prototype.isPrototypeOf(t)) ? (this._bodyArrayBuffer = m(e.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : a && (ArrayBuffer.prototype.isPrototypeOf(e) || u(e)) ? this._bodyArrayBuffer = m(e) : this._bodyText = e = Object.prototype.toString.call(e) : this._bodyText = "", this.headers.get("content-type") || ("string" == typeof e ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : r && URLSearchParams.prototype.isPrototypeOf(e) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8")) }, i && (this.blob = function() { var e = d(this); if (e) return e; if (this._bodyBlob) return Promise.resolve(this._bodyBlob); if (this._bodyArrayBuffer) return Promise.resolve(new Blob([this._bodyArrayBuffer])); if (this._bodyFormData) throw new Error("could not read FormData body as blob"); return Promise.resolve(new Blob([this._bodyText])) }, this.arrayBuffer = function() { return this._bodyArrayBuffer ? d(this) || Promise.resolve(this._bodyArrayBuffer) : this.blob().then(v) }), this.text = function() { var e, t, r, n = d(this); if (n) return n; if (this._bodyBlob) return e = this._bodyBlob, t = new FileReader, r = h(t), t.readAsText(e), r; if (this._bodyArrayBuffer) return Promise.resolve(function(e) { for (var t = new Uint8Array(e), r = new Array(t.length), n = 0; n < t.length; n++) r[n] = String.fromCharCode(t[n]); return r.join("") }(this._bodyArrayBuffer)); if (this._bodyFormData) throw new Error("could not read FormData body as text"); return Promise.resolve(this._bodyText) }, o && (this.formData = function() { return this.text().then(_) }), this.json = function() { return this.text().then(JSON.parse) }, this } p.prototype.append = function(e, t) { e = c(e), t = l(t); var r = this.map[e]; this.map[e] = r ? r + ", " + t : t }, p.prototype.delete = function(e) { delete this.map[c(e)] }, p.prototype.get = function(e) { return e = c(e), this.has(e) ? this.map[e] : null }, p.prototype.has = function(e) { return this.map.hasOwnProperty(c(e)) }, p.prototype.set = function(e, t) { this.map[c(e)] = l(t) }, p.prototype.forEach = function(e, t) { for (var r in this.map) this.map.hasOwnProperty(r) && e.call(t, this.map[r], r, this) }, p.prototype.keys = function() { var e = []; return this.forEach((function(t, r) { e.push(r) })), f(e) }, p.prototype.values = function() { var e = []; return this.forEach((function(t) { e.push(t) })), f(e) }, p.prototype.entries = function() { var e = []; return this.forEach((function(t, r) { e.push([r, t]) })), f(e) }, n && (p.prototype[Symbol.iterator] = p.prototype.entries); var b = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"]; function g(e, t) { var r, n, i = (t = t || {}).body; if (e instanceof g) { if (e.bodyUsed) throw new TypeError("Already read"); this.url = e.url, this.credentials = e.credentials, t.headers || (this.headers = new p(e.headers)), this.method = e.method, this.mode = e.mode, this.signal = e.signal, i || null == e._bodyInit || (i = e._bodyInit, e.bodyUsed = !0) } else this.url = String(e); if (this.credentials = t.credentials || this.credentials || "same-origin", !t.headers && this.headers || (this.headers = new p(t.headers)), this.method = (r = t.method || this.method || "GET", n = r.toUpperCase(), b.indexOf(n) > -1 ? n : r), this.mode = t.mode || this.mode || null, this.signal = t.signal || this.signal, this.referrer = null, ("GET" === this.method || "HEAD" === this.method) && i) throw new TypeError("Body not allowed for GET or HEAD requests"); this._initBody(i) } function _(e) { var t = new FormData; return e.trim().split("&").forEach((function(e) { if (e) { var r = e.split("="), n = r.shift().replace(/\+/g, " "), i = r.join("=").replace(/\+/g, " "); t.append(decodeURIComponent(n), decodeURIComponent(i)) } })), t } function T(e, t) { t || (t = {}), this.type = "default", this.status = void 0 === t.status ? 200 : t.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in t ? t.statusText : "OK", this.headers = new p(t.headers), this.url = t.url || "", this._initBody(e) } g.prototype.clone = function() { return new g(this, { body: this._bodyInit }) }, y.call(g.prototype), y.call(T.prototype), T.prototype.clone = function() { return new T(this._bodyInit, { status: this.status, statusText: this.statusText, headers: new p(this.headers), url: this.url }) }, T.error = function() { var e = new T(null, { status: 0, statusText: "" }); return e.type = "error", e }; var S = [301, 302, 303, 307, 308]; T.redirect = function(e, t) { if (-1 === S.indexOf(t)) throw new RangeError("Invalid status code"); return new T(null, { status: t, headers: { location: e } }) }, t.DOMException = e.DOMException; try { new t.DOMException } catch (e) { t.DOMException = function(e, t) { this.message = e, this.name = t; var r = Error(e); this.stack = r.stack }, t.DOMException.prototype = Object.create(Error.prototype), t.DOMException.prototype.constructor = t.DOMException } function A(e, r) { return new Promise((function(n, o) { var a = new g(e, r); if (a.signal && a.signal.aborted) return o(new t.DOMException("Aborted", "AbortError")); var s = new XMLHttpRequest; function u() { s.abort() } s.onload = function() { var e, t, r = { status: s.status, statusText: s.statusText, headers: (e = s.getAllResponseHeaders() || "", t = new p, e.replace(/\r?\n[\t ]+/g, " ").split(/\r?\n/).forEach((function(e) { var r = e.split(":"), n = r.shift().trim(); if (n) { var i = r.join(":").trim(); t.append(n, i) } })), t) }; r.url = "responseURL" in s ? s.responseURL : r.headers.get("X-Request-URL"); var i = "response" in s ? s.response : s.responseText; n(new T(i, r)) }, s.onerror = function() { o(new TypeError("Network request failed")) }, s.ontimeout = function() { o(new TypeError("Network request failed")) }, s.onabort = function() { o(new t.DOMException("Aborted", "AbortError")) }, s.open(a.method, a.url, !0), "include" === a.credentials ? s.withCredentials = !0 : "omit" === a.credentials && (s.withCredentials = !1), "responseType" in s && i && (s.responseType = "blob"), a.headers.forEach((function(e, t) { s.setRequestHeader(t, e) })), a.signal && (a.signal.addEventListener("abort", u), s.onreadystatechange = function() { 4 === s.readyState && a.signal.removeEventListener("abort", u) }), s.send(void 0 === a._bodyInit ? null : a._bodyInit) })) } A.polyfill = !0, e.fetch || (e.fetch = A, e.Headers = p, e.Request = g, e.Response = T), t.Headers = p, t.Request = g, t.Response = T, t.fetch = A }({}) }(r), delete r.fetch.polyfill, (t = r.fetch).default = r.fetch, t.fetch = r.fetch, t.Headers = r.Headers, t.Request = r.Request, t.Response = r.Response, e.exports = t }, function(e, t, r) { "use strict"; var n = r(78), i = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(673)), a = i(r(75)), s = i(r(93)), u = i(r(31)), c = n(r(0)), l = i(r(217)), f = i(r(150)); function p(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function d(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? p(Object(r), !0).forEach((function(t) { (0, s.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : p(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var h = r(37).hooks.useDirection; var v = function(e) { var t = e.actionPerformedClassName, r = e.content, n = e.disabled, i = (0, f.default)(), s = (0, a.default)(i, 1)[0], u = s.AdaptiveCard, p = h(), v = (0, a.default)(p, 1)[0], m = (0, c.useMemo)((function() { if (r) { var e = new u, t = []; return u.onParseError = function(e) { return t.push(e) }, e.parse(function e(t) { if (!t.actions) return t; var r = t.actions.filter((function(e) { return "Action.Submit" !== e.type })).map((function(t) { return "Action.ShowCard" === t.type ? d({}, t, { card: e(t.card) }) : t })); return d({}, t, { nextActions: r }) }(d({ version: "1.0" }, "object" === (0, o.default)(r) ? r : {}))), function e(t, r, n) { if (t instanceof n.Container && (t.rtl = r), t.getItemAt && t.getItemCount) for (var i = t.getItemCount(), o = 0; o < i; o++) { e(t.getItemAt(o), r, n) } }(e, "rtl" === v, s), u.onParseError = null, { card: e, errors: t } } return {} }), [u, s, r, v]).card; return !!m && c.default.createElement(l.default, { actionPerformedClassName: t, adaptiveCard: m, disabled: n }) }; v.defaultProps = { actionPerformedClassName: "", disabled: void 0 }, v.propTypes = { actionPerformedClassName: u.default.string, content: u.default.any.isRequired, disabled: u.default.bool }; var m = v; t.default = m }, function(e, t) { e.exports = function(e) { if (Array.isArray(e)) return e } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") } }, function(e, t) { e.exports = function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) } }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, u.default)().hostConfigFromProps, t = c(), r = (0, i.default)(t, 1)[0]; return [(0, a.useMemo)((function() { return e || (0, s.default)(r) }), [e, r])] }; var i = n(r(75)), o = r(37), a = r(0), s = n(r(1742)), u = n(r(1635)), c = o.hooks.useStyleOptions }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = (0, i.useContext)(o.default); if (!e) throw new Error("This hook can only be used on component that is decendants of <ComposerWithAdaptiveCards>"); return e }; var i = r(0), o = n(r(1636)) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = (0, r(0).createContext)(); t.default = n }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(75)), o = r(37), a = n(r(31)), s = n(r(0)), u = n(r(364)), c = o.Components.ImageContent, l = o.Components.VideoContent, f = o.hooks.useStyleSet, p = function(e) { var t = e.actionPerformedClassName, r = e.content, n = e.disabled, o = r.media, a = void 0 === o ? [] : o, p = f(), d = (0, i.default)(p, 1)[0].animationCardAttachment; return s.default.createElement("div", { className: d }, s.default.createElement("ul", { className: "media-list" }, a.map((function(e, t) { var r = e.profile, n = void 0 === r ? "" : r, i = e.url; return s.default.createElement("li", { key: t }, /\.gif$/i.test(i) ? s.default.createElement(c, { alt: n, src: i }) : s.default.createElement(l, { alt: n, src: i })) }))), s.default.createElement(u.default, { actionPerformedClassName: t, content: r, disabled: n })) }; p.defaultProps = { actionPerformedClassName: "", disabled: void 0 }, p.propTypes = { actionPerformedClassName: a.default.string, content: a.default.shape({ media: a.default.arrayOf(a.default.shape({ profile: a.default.string, url: a.default.string.isRequired })).isRequired }).isRequired, disabled: a.default.bool }; var d = p; t.default = d }, function(e, t, r) { "use strict"; function n(e) { for (var r in e) t.hasOwnProperty(r) || (t[r] = e[r]) } Object.defineProperty(t, "__esModule", { value: !0 }), n(r(1745)), n(r(345)), n(r(1639)), n(r(365)), n(r(689)) }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(345), a = r(689), s = r(365), u = function() { function e(e, t) { this.default = "#000000", this.subtle = "#666666", e && (this.default = e), t && (this.subtle = t) } return e.prototype.parse = function(e) { e && (this.default = e.default || this.default, this.subtle = e.subtle || this.subtle) }, e }(); t.ColorDefinition = u; var c = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.highlightColors = new u("#22000000", "#11000000"), t } return i(t, e), t.prototype.parse = function(t) { e.prototype.parse.call(this, t), t && this.highlightColors.parse(t.highlightColors) }, t }(u); t.TextColorDefinition = c; var l = function(e) { this.allowCustomStyle = !1, e && (this.allowCustomStyle = e.allowCustomStyle || this.allowCustomStyle) }; t.AdaptiveCardConfig = l; var f = function() { function e(e) { this.imageSize = o.Size.Medium, this.maxImageHeight = 100, e && (this.imageSize = null != e.imageSize ? e.imageSize : this.imageSize, this.maxImageHeight = a.getNumberValue(e.maxImageHeight, 100)) } return e.prototype.toJSON = function() { return { imageSize: o.Size[this.imageSize], maxImageHeight: this.maxImageHeight } }, e }(); t.ImageSetConfig = f; var p = function() { function e(e) { this.allowInlinePlayback = !0, e && (this.defaultPoster = e.defaultPoster, this.allowInlinePlayback = e.allowInlinePlayback || this.allowInlinePlayback) } return e.prototype.toJSON = function() { return { defaultPoster: this.defaultPoster, allowInlinePlayback: this.allowInlinePlayback } }, e }(); t.MediaConfig = p; var d = function() { function e(e) { this.size = o.TextSize.Default, this.color = o.TextColor.Default, this.isSubtle = !1, this.weight = o.TextWeight.Default, this.wrap = !0, e && (this.size = a.parseHostConfigEnum(o.TextSize, e.size, o.TextSize.Default), this.color = a.parseHostConfigEnum(o.TextColor, e.color, o.TextColor.Default), this.isSubtle = e.isSubtle || this.isSubtle, this.weight = a.parseHostConfigEnum(o.TextWeight, e.weight, this.getDefaultWeight()), this.wrap = null != e.wrap ? e.wrap : this.wrap) } return e.prototype.getDefaultWeight = function() { return o.TextWeight.Default }, e.prototype.toJSON = function() { return { size: o.TextSize[this.size], color: o.TextColor[this.color], isSubtle: this.isSubtle, weight: o.TextWeight[this.weight], wrap: this.wrap } }, e }(); t.FactTextDefinition = d; var h = function(e) { function t(t) { var r = e.call(this, t) || this; return r.maxWidth = 150, r.weight = o.TextWeight.Bolder, t && (r.maxWidth = null != t.maxWidth ? t.maxWidth : r.maxWidth, r.weight = a.parseHostConfigEnum(o.TextWeight, t.weight, o.TextWeight.Bolder)), r } return i(t, e), t.prototype.getDefaultWeight = function() { return o.TextWeight.Bolder }, t }(d); t.FactTitleDefinition = h; var v = function(e) { this.title = new h, this.value = new d, this.spacing = 10, e && (this.title = new h(e.title), this.value = new d(e.value), this.spacing = e.spacing && null != e.spacing ? e.spacing && e.spacing : this.spacing) }; t.FactSetConfig = v; var m = function() { function e(e) { this.actionMode = o.ShowCardActionMode.Inline, this.inlineTopMargin = 16, this.style = o.ContainerStyle.Emphasis, e && (this.actionMode = a.parseHostConfigEnum(o.ShowCardActionMode, e.actionMode, o.ShowCardActionMode.Inline), this.inlineTopMargin = null != e.inlineTopMargin ? e.inlineTopMargin : this.inlineTopMargin, this.style = e.style && "string" == typeof e.style ? e.style : o.ContainerStyle.Emphasis) } return e.prototype.toJSON = function() { return { actionMode: o.ShowCardActionMode[this.actionMode], inlineTopMargin: this.inlineTopMargin, style: this.style } }, e }(); t.ShowCardActionConfig = m; var y = function() { function e(e) { if (this.maxActions = 5, this.spacing = o.Spacing.Default, this.buttonSpacing = 20, this.showCard = new m, this.preExpandSingleShowCardAction = !1, this.actionsOrientation = o.Orientation.Horizontal, this.actionAlignment = o.ActionAlignment.Left, this.iconPlacement = o.ActionIconPlacement.LeftOfTitle, this.allowTitleToWrap = !1, this.iconSize = 24, e) { this.maxActions = null != e.maxActions ? e.maxActions : this.maxActions, this.spacing = a.parseHostConfigEnum(o.Spacing, e.spacing && e.spacing, o.Spacing.Default), this.buttonSpacing = null != e.buttonSpacing ? e.buttonSpacing : this.buttonSpacing, this.showCard = new m(e.showCard), this.preExpandSingleShowCardAction = a.getBoolValue(e.preExpandSingleShowCardAction, !1), this.actionsOrientation = a.parseHostConfigEnum(o.Orientation, e.actionsOrientation, o.Orientation.Horizontal), this.actionAlignment = a.parseHostConfigEnum(o.ActionAlignment, e.actionAlignment, o.ActionAlignment.Left), this.iconPlacement = a.parseHostConfigEnum(o.ActionIconPlacement, e.iconPlacement, o.ActionIconPlacement.LeftOfTitle), this.allowTitleToWrap = null != e.allowTitleToWrap ? e.allowTitleToWrap : this.allowTitleToWrap; try { var t = s.SizeAndUnit.parse(e.iconSize); t.unit == o.SizeUnit.Pixel && (this.iconSize = t.physicalSize) } catch (e) {} } } return e.prototype.toJSON = function() { return { maxActions: this.maxActions, spacing: o.Spacing[this.spacing], buttonSpacing: this.buttonSpacing, showCard: this.showCard, preExpandSingleShowCardAction: this.preExpandSingleShowCardAction, actionsOrientation: o.Orientation[this.actionsOrientation], actionAlignment: o.ActionAlignment[this.actionAlignment] } }, e }(); t.ActionsConfig = y; var b = function() { function e(e) { this.default = new c, this.dark = new c, this.light = new c, this.accent = new c, this.good = new c, this.warning = new c, this.attention = new c, this.parse(e) } return e.prototype.parseSingleColor = function(e, t) { e && this[t].parse(e[t]) }, e.prototype.parse = function(e) { e && (this.parseSingleColor(e, "default"), this.parseSingleColor(e, "dark"), this.parseSingleColor(e, "light"), this.parseSingleColor(e, "accent"), this.parseSingleColor(e, "good"), this.parseSingleColor(e, "warning"), this.parseSingleColor(e, "attention")) }, e }(); t.ColorSetDefinition = b; var g = function() { function e(e) { this.foregroundColors = new b({ default: { default: "#333333", subtle: "#EE333333" }, dark: { default: "#000000", subtle: "#66000000" }, light: { default: "#FFFFFF", subtle: "#33000000" }, accent: { default: "#2E89FC", subtle: "#882E89FC" }, good: { default: "#54A254", subtle: "#DD54A254" }, warning: { default: "#E69500", subtle: "#DDE69500" }, attention: { default: "#CC3300", subtle: "#DDCC3300" } }), this.parse(e) } return e.prototype.parse = function(e) { e && (this.backgroundColor = e.backgroundColor, this.foregroundColors.parse(e.foregroundColors), this.highlightBackgroundColor = e.highlightBackgroundColor, this.highlightForegroundColor = e.highlightForegroundColor) }, Object.defineProperty(e.prototype, "isBuiltIn", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), e }(); t.ContainerStyleDefinition = g; var _ = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), Object.defineProperty(t.prototype, "isBuiltIn", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), t }(g), T = function() { function e(e) { if (this._allStyles = {}, this._allStyles[o.ContainerStyle.Default] = new _, this._allStyles[o.ContainerStyle.Emphasis] = new _, this._allStyles[o.ContainerStyle.Accent] = new _, this._allStyles[o.ContainerStyle.Good] = new _, this._allStyles[o.ContainerStyle.Attention] = new _, this._allStyles[o.ContainerStyle.Warning] = new _, e) { this._allStyles[o.ContainerStyle.Default].parse(e[o.ContainerStyle.Default]), this._allStyles[o.ContainerStyle.Emphasis].parse(e[o.ContainerStyle.Emphasis]), this._allStyles[o.ContainerStyle.Accent].parse(e[o.ContainerStyle.Accent]), this._allStyles[o.ContainerStyle.Good].parse(e[o.ContainerStyle.Good]), this._allStyles[o.ContainerStyle.Attention].parse(e[o.ContainerStyle.Attention]), this._allStyles[o.ContainerStyle.Warning].parse(e[o.ContainerStyle.Warning]); var t = e.customStyles; if (t && Array.isArray(t)) for (var r = 0, n = t; r < n.length; r++) { var i = n[r]; if (i) { var a = i.name; a && "string" == typeof a && (this._allStyles.hasOwnProperty(a) ? this._allStyles[a].parse(i.style) : this._allStyles[a] = new g(i.style)) } } } } return e.prototype.toJSON = function() { var e = this, t = []; Object.keys(this._allStyles).forEach((function(r) { e._allStyles[r].isBuiltIn || t.push({ name: r, style: e._allStyles[r] }) })); var r = { default: this.default, emphasis: this.emphasis }; return t.length > 0 && (r.customStyles = t), r }, e.prototype.getStyleByName = function(e, t) { return void 0 === t && (t = null), this._allStyles.hasOwnProperty(e) ? this._allStyles[e] : t }, Object.defineProperty(e.prototype, "default", { get: function() { return this._allStyles[o.ContainerStyle.Default] }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "emphasis", { get: function() { return this._allStyles[o.ContainerStyle.Emphasis] }, enumerable: !0, configurable: !0 }), e }(); t.ContainerStyleSet = T; var S = function() { function e(e, t, r) { void 0 === e && (e = 1), void 0 === t && (t = 1), this._isValid = !0, this._major = e, this._minor = t, this._label = r } return e.parse = function(t, r) { if (!t) return null; var n = new e; n._versionString = t; var i = /(\d+).(\d+)/gi.exec(t); return null != i && 3 == i.length ? (n._major = parseInt(i[1]), n._minor = parseInt(i[2])) : n._isValid = !1, !n._isValid && r && r.push({ error: o.ValidationError.InvalidPropertyValue, message: "Invalid version string: " + n._versionString }), n }, e.prototype.toString = function() { return this._isValid ? this._major + "." + this._minor : this._versionString }, e.prototype.compareTo = function(e) { if (!this.isValid || !e.isValid) throw new Error("Cannot compare invalid version."); return this.major > e.major ? 1 : this.major < e.major ? -1 : this.minor > e.minor ? 1 : this.minor < e.minor ? -1 : 0 }, Object.defineProperty(e.prototype, "label", { get: function() { return this._label ? this._label : this.toString() }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "major", { get: function() { return this._major }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "minor", { get: function() { return this._minor }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isValid", { get: function() { return this._isValid }, enumerable: !0, configurable: !0 }), e }(); t.Version = S; var A = function() { function e() { this.capabilities = null } return e.prototype.setCapability = function(e, t) { this.capabilities || (this.capabilities = {}), this.capabilities[e] = t }, e.prototype.parse = function(e, t) { if (e) for (var r in e) { var n = e[r]; if ("string" == typeof n) if ("*" == n) this.setCapability(r, "*"); else { var i = S.parse(n, t); i.isValid && this.setCapability(r, i) } } }, e.prototype.hasCapability = function(e, t) { return !(!this.capabilities || !this.capabilities.hasOwnProperty(e)) && ("*" == t || "*" == this.capabilities[e] || t.compareTo(this.capabilities[e]) <= 0) }, e.prototype.areAllMet = function(e) { if (this.capabilities) for (var t in this.capabilities) if (!e.hasCapability(t, this.capabilities[t])) return !1; return !0 }, e }(); t.HostCapabilities = A; var E = function() { function e(e) { this.fontFamily = "Segoe UI,Segoe,Segoe WP,Helvetica Neue,Helvetica,sans-serif", this.fontSizes = { small: 12, default: 14, medium: 17, large: 21, extraLarge: 26 }, this.fontWeights = { lighter: 200, default: 400, bolder: 600 }, e && (this.fontFamily = e) } return e.prototype.parse = function(e) { this.fontFamily = e.fontFamily || this.fontFamily, this.fontSizes = { small: e.fontSizes && e.fontSizes.small || this.fontSizes.small, default: e.fontSizes && e.fontSizes.default || this.fontSizes.default, medium: e.fontSizes && e.fontSizes.medium || this.fontSizes.medium, large: e.fontSizes && e.fontSizes.large || this.fontSizes.large, extraLarge: e.fontSizes && e.fontSizes.extraLarge || this.fontSizes.extraLarge }, this.fontWeights = { lighter: e.fontWeights && e.fontWeights.lighter || this.fontWeights.lighter, default: e.fontWeights && e.fontWeights.default || this.fontWeights.default, bolder: e.fontWeights && e.fontWeights.bolder || this.fontWeights.bolder } }, e.monospace = new e("'Courier New', Courier, monospace"), e }(); t.FontTypeDefinition = E; var C = function() { function e(e) { this.default = new E, this.monospace = new E("'Courier New', Courier, monospace"), e && (this.default.parse(e.default), this.monospace.parse(e.monospace)) } return e.prototype.getStyleDefinition = function(e) { switch (e) { case o.FontType.Monospace: return this.monospace; case o.FontType.Default: default: return this.default } }, e }(); t.FontTypeSet = C; var O = function() { function e(e) { this.hostCapabilities = new A, this.choiceSetInputValueSeparator = ",", this.supportsInteractivity = !0, this.fontTypes = null, this.spacing = { small: 3, default: 8, medium: 20, large: 30, extraLarge: 40, padding: 15 }, this.separator = { lineThickness: 1, lineColor: "#EEEEEE" }, this.imageSizes = { small: 40, medium: 80, large: 160 }, this.containerStyles = new T, this.actions = new y, this.adaptiveCard = new l, this.imageSet = new f, this.media = new p, this.factSet = new v, this.cssClassNamePrefix = null, this.alwaysAllowBleed = !1, e && (("string" == typeof e || e instanceof String) && (e = JSON.parse(e)), this.choiceSetInputValueSeparator = e && "string" == typeof e.choiceSetInputValueSeparator ? e.choiceSetInputValueSeparator : this.choiceSetInputValueSeparator, this.supportsInteractivity = e && "boolean" == typeof e.supportsInteractivity ? e.supportsInteractivity : this.supportsInteractivity, this._legacyFontType = new E, this._legacyFontType.parse(e), e.fontTypes && (this.fontTypes = new C(e.fontTypes)), e.lineHeights && (this.lineHeights = { small: e.lineHeights.small, default: e.lineHeights.default, medium: e.lineHeights.medium, large: e.lineHeights.large, extraLarge: e.lineHeights.extraLarge }), this.imageSizes = { small: e.imageSizes && e.imageSizes.small || this.imageSizes.small, medium: e.imageSizes && e.imageSizes.medium || this.imageSizes.medium, large: e.imageSizes && e.imageSizes.large || this.imageSizes.large }, this.containerStyles = new T(e.containerStyles), this.spacing = { small: e.spacing && e.spacing.small || this.spacing.small, default: e.spacing && e.spacing.default || this.spacing.default, medium: e.spacing && e.spacing.medium || this.spacing.medium, large: e.spacing && e.spacing.large || this.spacing.large, extraLarge: e.spacing && e.spacing.extraLarge || this.spacing.extraLarge, padding: e.spacing && e.spacing.padding || this.spacing.padding }, this.separator = { lineThickness: e.separator && e.separator.lineThickness || this.separator.lineThickness, lineColor: e.separator && e.separator.lineColor || this.separator.lineColor }, this.actions = new y(e.actions || this.actions), this.adaptiveCard = new l(e.adaptiveCard || this.adaptiveCard), this.imageSet = new f(e.imageSet), this.factSet = new v(e.factSet)) } return e.prototype.getFontTypeDefinition = function(e) { return this.fontTypes ? this.fontTypes.getStyleDefinition(e) : e == o.FontType.Monospace ? E.monospace : this._legacyFontType }, e.prototype.getEffectiveSpacing = function(e) { switch (e) { case o.Spacing.Small: return this.spacing.small; case o.Spacing.Default: return this.spacing.default; case o.Spacing.Medium: return this.spacing.medium; case o.Spacing.Large: return this.spacing.large; case o.Spacing.ExtraLarge: return this.spacing.extraLarge; case o.Spacing.Padding: return this.spacing.padding; default: return 0 } }, e.prototype.paddingDefinitionToSpacingDefinition = function(e) { return new s.SpacingDefinition(this.getEffectiveSpacing(e.top), this.getEffectiveSpacing(e.right), this.getEffectiveSpacing(e.bottom), this.getEffectiveSpacing(e.left)) }, e.prototype.makeCssClassNames = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; for (var r = [], n = 0, i = e; n < i.length; n++) { var o = i[n]; r.push((this.cssClassNamePrefix ? this.cssClassNamePrefix + "-" : "") + o) } return r }, e.prototype.makeCssClassName = function() { for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t]; var r = this.makeCssClassNames.apply(this, e).join(" "); return r || "" }, Object.defineProperty(e.prototype, "fontFamily", { get: function() { return this._legacyFontType.fontFamily }, set: function(e) { this._legacyFontType.fontFamily = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "fontSizes", { get: function() { return this._legacyFontType.fontSizes }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "fontWeights", { get: function() { return this._legacyFontType.fontWeights }, enumerable: !0, configurable: !0 }), e }(); t.HostConfig = O }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(75)), o = r(37), a = n(r(31)), s = n(r(0)), u = n(r(364)), c = o.Components.AudioContent, l = o.hooks.useStyleSet, f = function(e) { var t = e.actionPerformedClassName, r = e.content, n = e.disabled, o = l(), a = (0, i.default)(o, 1)[0].audioCardAttachment, f = r.autostart, p = void 0 !== f && f, d = r.autoloop, h = void 0 !== d && d, v = r.image, m = (v = void 0 === v ? {} : v).url, y = void 0 === m ? "" : m, b = r.media, g = void 0 === b ? [] : b; return s.default.createElement("div", { className: a }, s.default.createElement("ul", { className: "media-list" }, g.map((function(e, t) { var r = e.url; return s.default.createElement("li", { key: t }, s.default.createElement(c, { autoPlay: p, loop: h, poster: y, src: r })) }))), s.default.createElement(u.default, { actionPerformedClassName: t, content: r, disabled: n })) }; f.defaultProps = { actionPerformedClassName: "", disabled: void 0 }, f.propTypes = { actionPerformedClassName: a.default.string, content: a.default.shape({ autostart: a.default.bool, autoloop: a.default.bool, image: a.default.shape({ url: a.default.string.isRequired }), media: a.default.arrayOf(a.default.shape({ url: a.default.string.isRequired }).isRequired).isRequired }).isRequired, disabled: a.default.bool }; var p = f; t.default = p }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return function() { return function(e) { function t(t) { var r = t.activity, n = t.attachment; return "application/vnd.microsoft.card.hero" === n.contentType ? o.default.createElement(c.default, { activity: r, attachment: n }) : "application/vnd.microsoft.card.adaptive" === n.contentType ? o.default.createElement(a.default, { activity: r, attachment: n }) : "application/vnd.microsoft.card.animation" === n.contentType ? o.default.createElement(s.default, { activity: r, attachment: n }) : "application/vnd.microsoft.card.audio" === n.contentType ? o.default.createElement(u.default, { activity: r, attachment: n }) : "application/vnd.microsoft.card.oauth" === n.contentType ? o.default.createElement(l.default, { activity: r, attachment: n }) : "application/vnd.microsoft.card.receipt" === n.contentType ? o.default.createElement(f.default, { activity: r, attachment: n }) : "application/vnd.microsoft.card.signin" === n.contentType ? o.default.createElement(p.default, { activity: r, attachment: n }) : "application/vnd.microsoft.card.thumbnail" === n.contentType ? o.default.createElement(d.default, { activity: r, attachment: n }) : "application/vnd.microsoft.card.video" === n.contentType ? o.default.createElement(h.default, { activity: r, attachment: n }) : e({ activity: r, attachment: n }) } return t.propTypes = { activity: i.default.any.isRequired, attachment: i.default.shape({ contentType: i.default.string.isRequired }).isRequired }, t } } }; var i = n(r(31)), o = n(r(0)), a = n(r(1747)), s = n(r(1748)), u = n(r(1749)), c = n(r(1750)), l = n(r(1751)), f = n(r(1752)), p = n(r(1754)), d = n(r(1755)), h = n(r(1756)) }, function(e, t, r) { "use strict"; var n = r(78), i = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(75)), a = r(37), s = i(r(31)), u = n(r(0)), c = i(r(344)), l = i(r(217)), f = i(r(150)), p = a.hooks.useDirection, d = a.hooks.useStyleOptions, h = function(e) { var t = e.actionPerformedClassName, r = e.content, n = e.disabled, i = (0, f.default)(), a = (0, o.default)(i, 1)[0], s = d(), h = (0, o.default)(s, 1)[0], v = p(), m = (0, o.default)(v, 1)[0], y = (0, u.useMemo)((function() { var e = new c.default(a, h, m); if (r) return (r.images || []).forEach((function(t) { return e.addImage(t.url, null, t.tap) })), e.addCommon(r), e.card }), [a, r, m, h]); return u.default.createElement(l.default, { actionPerformedClassName: t, adaptiveCard: y, disabled: n, tapAction: r && r.tap }) }; h.defaultProps = { actionPerformedClassName: "", disabled: void 0 }, h.propTypes = { actionPerformedClassName: s.default.string, content: s.default.shape({ images: s.default.arrayOf(s.default.shape({ tap: s.default.any, url: s.default.string })), tap: s.default.any }).isRequired, disabled: s.default.bool }; var v = h; t.default = v }, function(e, t, r) { "use strict"; var n = r(78), i = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(75)), a = r(37), s = i(r(31)), u = n(r(0)), c = i(r(344)), l = i(r(217)), f = i(r(150)), p = a.hooks.useDirection, d = a.hooks.useStyleOptions, h = function(e) { var t = e.actionPerformedClassName, r = e.content, n = e.disabled, i = (0, f.default)(), a = (0, o.default)(i, 1)[0], s = p(), h = (0, o.default)(s, 1)[0], v = d(), m = (0, o.default)(v, 1)[0], y = (0, u.useMemo)((function() { if (r) { var e = new c.default(a, m, h); return e.addCommonHeaders(r), e.addButtons(r.buttons, !0), e.card } }), [a, r, h, m]); return u.default.createElement(l.default, { actionPerformedClassName: t, adaptiveCard: y, disabled: n }) }; h.defaultProps = { actionPerformedClassName: "", disabled: void 0 }, h.propTypes = { actionPerformedClassName: s.default.string, content: s.default.shape({ buttons: s.default.array }).isRequired, disabled: s.default.bool }; var v = h; t.default = v }, function(e, t, r) { "use strict"; var n = r(78), i = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(1753)), a = i(r(75)), s = r(37), u = i(r(31)), c = n(r(0)), l = i(r(344)), f = i(r(217)), p = i(r(150)), d = s.hooks.useDirection, h = s.hooks.useLocalizer, v = s.hooks.useStyleOptions; function m(e) { return null == e } var y = function(e) { var t = e.actionPerformedClassName, r = e.content, n = e.disabled, i = (0, p.default)(), s = (0, a.default)(i, 1)[0], u = d(), y = (0, a.default)(u, 1)[0], b = v(), g = (0, a.default)(b, 1)[0], _ = h(), T = _("RECEIPT_CARD_TAX"), S = _("RECEIPT_CARD_TOTAL"), A = _("RECEIPT_CARD_VAT"), E = (0, c.useMemo)((function() { var e = new l.default(s, g, y), t = s.HorizontalAlignment, n = s.TextSize, i = s.TextWeight, u = r.buttons, c = r.facts, f = r.items, p = r.tax, d = r.title, h = r.total, v = r.vat, b = g.richCardWrapTitle; if (r) { if (e.addTextBlock(d, { size: n.Medium, weight: i.Bolder, wrap: b }), c) { var _ = e.addColumnSet([75, 25]), E = (0, a.default)(_, 2), C = E[0], O = E[1]; c.map((function(r) { var i = r.key, o = r.value; e.addTextBlock(i, { size: n.Medium }, C), e.addTextBlock(o, { size: n.Medium, horizontalAlignment: t.Right }, O) })) } if (f && f.map((function(r) { var s, u = r.image, c = (u = void 0 === u ? {} : u).tap, l = u.url, f = r.price, p = r.subtitle, d = r.title; if (l) { var h = e.addColumnSet([15, 75, 10]), v = (0, o.default)(h), m = v[0]; s = v.slice(1), e.addImage(l, m, c) } else s = e.addColumnSet([75, 25]); var y = s, g = (0, a.default)(y, 2), _ = g[0], T = g[1]; e.addTextBlock(d, { size: n.Medium, weight: i.Bolder, wrap: b }, _), e.addTextBlock(p, { size: n.Medium, wrap: b }, _), e.addTextBlock(f, { horizontalAlignment: t.Right }, T) })), !m(v)) { var w = e.addColumnSet([75, 25]); e.addTextBlock(A, { size: n.Medium, weight: i.Bolder }, w[0]), e.addTextBlock(v, { horizontalAlignment: t.Right }, w[1]) } if (!m(p)) { var I = e.addColumnSet([75, 25]); e.addTextBlock(T, { size: n.Medium, weight: i.Bolder }, I[0]), e.addTextBlock(p, { horizontalAlignment: t.Right }, I[1]) } if (!m(h)) { var P = e.addColumnSet([75, 25]); e.addTextBlock(S, { size: n.Medium, weight: i.Bolder }, P[0]), e.addTextBlock(h, { horizontalAlignment: t.Right, size: n.Medium, weight: i.Bolder }, P[1]) } return e.addButtons(u), e.card } }), [s, r, y, g, T, S, A]); return c.default.createElement(f.default, { actionPerformedClassName: t, adaptiveCard: E, disabled: n, tapAction: r && r.tap }) }; y.defaultProps = { actionPerformedClassName: "", disabled: void 0 }, y.propTypes = { actionPerformedClassName: u.default.string, content: u.default.shape({ buttons: u.default.array, facts: u.default.arrayOf(u.default.shape({ key: u.default.string, value: u.default.string })), items: u.default.arrayOf(u.default.shape({ image: u.default.shape({ tap: u.default.any, url: u.default.string.isRequired }), price: u.default.string.isRequired, subtitle: u.default.string, title: u.default.string.isRequired })), tap: u.default.any, tax: u.default.string, title: u.default.string, total: u.default.string, vat: u.default.string }).isRequired, disabled: u.default.bool }; var b = y; t.default = b }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(75)), o = r(37), a = n(r(31)), s = n(r(0)), u = n(r(364)), c = o.hooks.useStyleSet, l = function(e) { var t = e.actionPerformedClassName, r = e.content, n = e.disabled, o = c(), a = (0, i.default)(o, 1)[0].animationCardAttachment; return s.default.createElement("div", { className: a }, s.default.createElement(u.default, { actionPerformedClassName: t, content: r, disabled: n })) }; l.defaultProps = { actionPerformedClassName: "", disabled: void 0 }, l.propTypes = { actionPerformedClassName: a.default.string, content: a.default.any.isRequired, disabled: a.default.bool }; var f = l; t.default = f }, function(e, t, r) { "use strict"; var n = r(78), i = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(75)), a = r(37), s = i(r(31)), u = n(r(0)), c = i(r(344)), l = i(r(217)), f = i(r(150)), p = a.hooks.useDirection, d = a.hooks.useStyleOptions, h = function(e) { var t = e.actionPerformedClassName, r = e.content, n = e.disabled, i = (0, f.default)(), a = (0, o.default)(i, 1)[0], s = p(), h = (0, o.default)(s, 1)[0], v = d(), m = (0, o.default)(v, 1)[0], y = (0, u.useMemo)((function() { if (r) { var e = new c.default(a, m, h), t = a.TextSize, n = a.TextWeight, i = r.buttons, s = r.images, u = r.subtitle, l = r.text, f = r.title, p = m.richCardWrapTitle; if (s && s.length) { var d = e.addColumnSet([75, 25]), v = (0, o.default)(d, 2), y = v[0], b = v[1], g = (0, o.default)(s, 1)[0], _ = g.tap, T = g.url; e.addTextBlock(f, { size: t.Medium, weight: n.Bolder, wrap: p }, y), e.addTextBlock(u, { isSubtle: !0, wrap: p }, y), e.addImage(T, b, _), e.addTextBlock(l, { wrap: !0 }), e.addButtons(i) } else e.addCommon(r); return e.card } }), [a, h, r, m]); return u.default.createElement(l.default, { actionPerformedClassName: t, adaptiveCard: y, disabled: n, tapAction: r && r.tap }) }; h.defaultProps = { actionPerformedClassName: "", disabled: void 0 }, h.propTypes = { actionPerformedClassName: s.default.string, content: s.default.shape({ buttons: s.default.array, images: s.default.arrayOf(s.default.shape({ tap: s.default.any, url: s.default.string.isRequired })), subtitle: s.default.string, tap: s.default.any, text: s.default.string, title: s.default.string }).isRequired, disabled: s.default.bool }; var v = h; t.default = v }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(75)), o = r(37), a = n(r(31)), s = n(r(0)), u = n(r(364)), c = o.hooks.useStyleSet, l = o.Components.VideoContent, f = function(e) { var t = e.actionPerformedClassName, r = e.content, n = e.disabled, o = r.media, a = r.autostart, f = r.autoloop, p = r.image, d = (p = void 0 === p ? {} : p).url, h = c(), v = (0, i.default)(h, 1)[0].audioCardAttachment; return s.default.createElement("div", { className: v }, s.default.createElement("ul", { className: "media-list" }, o.map((function(e, t) { var r = e.url; return s.default.createElement("li", { key: t }, s.default.createElement(l, { autoPlay: a, loop: f, poster: d, src: r })) }))), s.default.createElement(u.default, { actionPerformedClassName: t, content: r, disabled: n })) }; f.defaultProps = { actionPerformedClassName: "", disabled: void 0 }, f.propTypes = { actionPerformedClassName: a.default.string, content: a.default.shape({ autoloop: a.default.bool, autostart: a.default.bool, image: a.default.shape({ url: a.default.string }), media: a.default.arrayOf(a.default.shape({ url: a.default.string })) }).isRequired, disabled: a.default.bool }; var p = f; t.default = p }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n, i = r(92), o = r(151); ! function(e) { e[e.Text = 0] = "Text", e[e.Binary = 1] = "Binary" }(n = t.MessageType || (t.MessageType = {})); var a = function() { function e(e, t, r, a) { if (this.privBody = null, e === n.Text && t && "string" != typeof t) throw new i.InvalidOperationError("Payload must be a string"); if (e === n.Binary && t && !(t instanceof ArrayBuffer)) throw new i.InvalidOperationError("Payload must be ArrayBuffer"); switch (this.privMessageType = e, this.privBody = t, this.privHeaders = r || {}, this.privId = a || o.createNoDashGuid(), this.messageType) { case n.Binary: this.privSize = null !== this.binaryBody ? this.binaryBody.byteLength : 0; break; case n.Text: this.privSize = this.textBody.length } } return Object.defineProperty(e.prototype, "messageType", { get: function() { return this.privMessageType }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "headers", { get: function() { return this.privHeaders }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "body", { get: function() { return this.privBody }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "textBody", { get: function() { if (this.privMessageType === n.Binary) throw new i.InvalidOperationError("Not supported for binary message"); return this.privBody }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "binaryBody", { get: function() { if (this.privMessageType === n.Text) throw new i.InvalidOperationError("Not supported for text message"); return this.privBody }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "id", { get: function() { return this.privId }, enumerable: !0, configurable: !0 }), e }(); t.ConnectionMessage = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(92), i = r(151), o = function() { function e(e) { var t = this; this.privEventListeners = {}, this.privIsDisposed = !1, this.onEvent = function(e) { if (t.isDisposed()) throw new n.ObjectDisposedError("EventSource"); if (t.metadata) for (var r in t.metadata) r && e.metadata && (e.metadata[r] || (e.metadata[r] = t.metadata[r])); for (var i in t.privEventListeners) i && t.privEventListeners[i] && t.privEventListeners[i](e) }, this.attach = function(e) { var r = i.createNoDashGuid(); return t.privEventListeners[r] = e, { detach: function() { delete t.privEventListeners[r] } } }, this.attachListener = function(e) { return t.attach(e.onEvent) }, this.isDisposed = function() { return t.privIsDisposed }, this.dispose = function() { t.privEventListeners = null, t.privIsDisposed = !0 }, this.privMetadata = e } return Object.defineProperty(e.prototype, "metadata", { get: function() { return this.privMetadata }, enumerable: !0, configurable: !0 }), e }(); t.EventSource = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(92), i = function e(t) { var r = this; if (this.privSubscriptionIdCounter = 0, this.privAddSubscriptions = {}, this.privRemoveSubscriptions = {}, this.privDisposedSubscriptions = {}, this.privDisposeReason = null, this.get = function(e) { return r.throwIfDisposed(), r.privList[e] }, this.first = function() { return r.get(0) }, this.last = function() { return r.get(r.length() - 1) }, this.add = function(e) { r.throwIfDisposed(), r.insertAt(r.privList.length, e) }, this.insertAt = function(e, t) { r.throwIfDisposed(), 0 === e ? r.privList.unshift(t) : e === r.privList.length ? r.privList.push(t) : r.privList.splice(e, 0, t), r.triggerSubscriptions(r.privAddSubscriptions) }, this.removeFirst = function() { return r.throwIfDisposed(), r.removeAt(0) }, this.removeLast = function() { return r.throwIfDisposed(), r.removeAt(r.length() - 1) }, this.removeAt = function(e) { return r.throwIfDisposed(), r.remove(e, 1)[0] }, this.remove = function(e, t) { r.throwIfDisposed(); var n = r.privList.splice(e, t); return r.triggerSubscriptions(r.privRemoveSubscriptions), n }, this.clear = function() { r.throwIfDisposed(), r.remove(0, r.length()) }, this.length = function() { return r.throwIfDisposed(), r.privList.length }, this.onAdded = function(e) { r.throwIfDisposed(); var t = r.privSubscriptionIdCounter++; return r.privAddSubscriptions[t] = e, { detach: function() { delete r.privAddSubscriptions[t] } } }, this.onRemoved = function(e) { r.throwIfDisposed(); var t = r.privSubscriptionIdCounter++; return r.privRemoveSubscriptions[t] = e, { detach: function() { delete r.privRemoveSubscriptions[t] } } }, this.onDisposed = function(e) { r.throwIfDisposed(); var t = r.privSubscriptionIdCounter++; return r.privDisposedSubscriptions[t] = e, { detach: function() { delete r.privDisposedSubscriptions[t] } } }, this.join = function(e) { return r.throwIfDisposed(), r.privList.join(e) }, this.toArray = function() { var e = Array(); return r.privList.forEach((function(t) { e.push(t) })), e }, this.any = function(e) { return r.throwIfDisposed(), e ? r.where(e).length() > 0 : r.length() > 0 }, this.all = function(e) { return r.throwIfDisposed(), r.where(e).length() === r.length() }, this.forEach = function(e) { r.throwIfDisposed(); for (var t = 0; t < r.length(); t++) e(r.privList[t], t) }, this.select = function(t) { r.throwIfDisposed(); for (var n = [], i = 0; i < r.privList.length; i++) n.push(t(r.privList[i], i)); return new e(n) }, this.where = function(t) { r.throwIfDisposed(); for (var n = new e, i = 0; i < r.privList.length; i++) t(r.privList[i], i) && n.add(r.privList[i]); return n }, this.orderBy = function(t) { return r.throwIfDisposed(), new e(r.toArray().sort(t)) }, this.orderByDesc = function(e) { return r.throwIfDisposed(), r.orderBy((function(t, r) { return e(r, t) })) }, this.clone = function() { return r.throwIfDisposed(), new e(r.toArray()) }, this.concat = function(t) { return r.throwIfDisposed(), new e(r.privList.concat(t.toArray())) }, this.concatArray = function(t) { return r.throwIfDisposed(), new e(r.privList.concat(t)) }, this.isDisposed = function() { return null == r.privList }, this.dispose = function(e) { r.isDisposed() || (r.privDisposeReason = e, r.privList = null, r.privAddSubscriptions = null, r.privRemoveSubscriptions = null, r.triggerSubscriptions(r.privDisposedSubscriptions)) }, this.throwIfDisposed = function() { if (r.isDisposed()) throw new n.ObjectDisposedError("List", r.privDisposeReason) }, this.triggerSubscriptions = function(e) { if (e) for (var t in e) t && e[t]() }, this.privList = [], t) for (var i = 0, o = t; i < o.length; i++) { var a = o[i]; this.privList.push(a) } }; t.List = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n, i = r(92), o = r(1650), a = r(692); ! function(e) { e[e.Dequeue = 0] = "Dequeue", e[e.Peek = 1] = "Peek" }(n || (n = {})); var s = function(e) { var t = this; this.privPromiseStore = new o.List, this.privIsDrainInProgress = !1, this.privIsDisposing = !1, this.privDisposeReason = null, this.enqueue = function(e) { t.throwIfDispose(), t.enqueueFromPromise(a.PromiseHelper.fromResult(e)) }, this.enqueueFromPromise = function(e) { t.throwIfDispose(), t.privPromiseStore.add(e), e.finally((function() { for (; t.privPromiseStore.length() > 0 && t.privPromiseStore.first().result().isCompleted;) { var e = t.privPromiseStore.removeFirst(); e.result().isError || t.privList.add(e.result().result) } })) }, this.dequeue = function() { t.throwIfDispose(); var e = new a.Deferred; return t.privSubscribers && (t.privSubscribers.add({ deferral: e, type: n.Dequeue }), t.drain()), e.promise() }, this.peek = function() { t.throwIfDispose(); var e = new a.Deferred; return t.privSubscribers && (t.privSubscribers.add({ deferral: e, type: n.Peek }), t.drain()), e.promise() }, this.length = function() { return t.throwIfDispose(), t.privList.length() }, this.isDisposed = function() { return null == t.privSubscribers }, this.drainAndDispose = function(e, r) { if (!t.isDisposed() && !t.privIsDisposing) { t.privDisposeReason = r, t.privIsDisposing = !0; var n = t.privSubscribers; if (n) { for (; n.length() > 0;) n.removeFirst().deferral.resolve(void 0); t.privSubscribers === n && (t.privSubscribers = n) } for (var i = 0, o = t.privDetachables; i < o.length; i++) o[i].detach(); if (t.privPromiseStore.length() > 0 && e) return a.PromiseHelper.whenAll(t.privPromiseStore.toArray()).continueWith((function() { return t.privSubscribers = null, t.privList.forEach((function(t, r) { e(t) })), t.privList = null, !0 })); t.privSubscribers = null, t.privList = null } return a.PromiseHelper.fromResult(!0) }, this.dispose = function(e) { t.drainAndDispose(null, e) }, this.drain = function() { if (!t.privIsDrainInProgress && !t.privIsDisposing) { t.privIsDrainInProgress = !0; var e = t.privSubscribers, r = t.privList; if (e && r) { for (; r.length() > 0 && e.length() > 0 && !t.privIsDisposing;) { var i = e.removeFirst(); if (i.type === n.Peek) i.deferral.resolve(r.first()); else { var o = r.removeFirst(); i.deferral.resolve(o) } } t.privSubscribers === e && (t.privSubscribers = e), t.privList === r && (t.privList = r) } t.privIsDrainInProgress = !1 } }, this.throwIfDispose = function() { if (t.isDisposed()) { if (t.privDisposeReason) throw new i.InvalidOperationError(t.privDisposeReason); throw new i.ObjectDisposedError("Queue") } if (t.privIsDisposing) throw new i.InvalidOperationError("Queue disposing") }, this.privList = e || new o.List, this.privDetachables = [], this.privSubscribers = new o.List, this.privDetachables.push(this.privList.onAdded(this.drain)) }; t.Queue = s }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(151), a = r(21), s = r(28), u = r(9), c = r(346), l = function() { function e() {} return e.createPushStream = function(e) { return f.create(e) }, e.createPullStream = function(e, t) { return d.create(e, t) }, e }(); t.AudioInputStream = l; var f = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.create = function(e) { return new p(e) }, t }(l); t.PushAudioInputStream = f; var p = function(e) { function t(t) { var r = e.call(this) || this; return r.onEvent = function(e) { r.privEvents.onEvent(e), s.Events.instance.onEvent(e) }, r.privFormat = void 0 === t ? c.AudioStreamFormatImpl.getDefaultInputFormat() : t, r.privEvents = new s.EventSource, r.privId = o.createNoDashGuid(), r.privStream = new s.ChunkedArrayBufferStream(r.privFormat.avgBytesPerSec / 10), r } return i(t, e), Object.defineProperty(t.prototype, "format", { get: function() { return s.PromiseHelper.fromResult(this.privFormat) }, enumerable: !0, configurable: !0 }), t.prototype.write = function(e) { this.privStream.writeStreamChunk({ buffer: e, isEnd: !1, timeReceived: Date.now() }) }, t.prototype.close = function() { this.privStream.close() }, t.prototype.id = function() { return this.privId }, t.prototype.turnOn = function() { return this.onEvent(new s.AudioSourceInitializingEvent(this.privId)), this.onEvent(new s.AudioSourceReadyEvent(this.privId)), s.PromiseHelper.fromResult(!0) }, t.prototype.attach = function(e) { var t = this; return this.onEvent(new s.AudioStreamNodeAttachingEvent(this.privId, e)), this.turnOn().onSuccessContinueWith((function(e) { return t.privStream.getReader() })).onSuccessContinueWith((function(r) { return t.onEvent(new s.AudioStreamNodeAttachedEvent(t.privId, e)), { detach: function() { r.close(), t.onEvent(new s.AudioStreamNodeDetachedEvent(t.privId, e)), t.turnOff() }, id: function() { return e }, read: function() { return r.read() } } })) }, t.prototype.detach = function(e) { this.onEvent(new s.AudioStreamNodeDetachedEvent(this.privId, e)) }, t.prototype.turnOff = function() { return s.PromiseHelper.fromResult(!1) }, Object.defineProperty(t.prototype, "events", { get: function() { return this.privEvents }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "deviceInfo", { get: function() { return s.PromiseHelper.fromResult({ bitspersample: this.privFormat.bitsPerSample, channelcount: this.privFormat.channels, connectivity: a.connectivity.Unknown, manufacturer: "Speech SDK", model: "PushStream", samplerate: this.privFormat.samplesPerSec, type: a.type.Stream }) }, enumerable: !0, configurable: !0 }), t }(f); t.PushAudioInputStreamImpl = p; var d = function(e) { function t() { return e.call(this) || this } return i(t, e), t.create = function(e, t) { return new h(e, t) }, t }(l); t.PullAudioInputStream = d; var h = function(e) { function t(t, r) { var n = e.call(this) || this; return n.onEvent = function(e) { n.privEvents.onEvent(e), s.Events.instance.onEvent(e) }, n.privFormat = void 0 === r ? u.AudioStreamFormat.getDefaultInputFormat() : r, n.privEvents = new s.EventSource, n.privId = o.createNoDashGuid(), n.privCallback = t, n.privIsClosed = !1, n.privBufferSize = n.privFormat.avgBytesPerSec / 10, n } return i(t, e), Object.defineProperty(t.prototype, "format", { get: function() { return s.PromiseHelper.fromResult(this.privFormat) }, enumerable: !0, configurable: !0 }), t.prototype.close = function() { this.privIsClosed = !0, this.privCallback.close() }, t.prototype.id = function() { return this.privId }, t.prototype.turnOn = function() { return this.onEvent(new s.AudioSourceInitializingEvent(this.privId)), this.onEvent(new s.AudioSourceReadyEvent(this.privId)), s.PromiseHelper.fromResult(!0) }, t.prototype.attach = function(e) { var t = this; return this.onEvent(new s.AudioStreamNodeAttachingEvent(this.privId, e)), this.turnOn().onSuccessContinueWith((function(r) { return t.onEvent(new s.AudioStreamNodeAttachedEvent(t.privId, e)), { detach: function() { t.privCallback.close(), t.onEvent(new s.AudioStreamNodeDetachedEvent(t.privId, e)), t.turnOff() }, id: function() { return e }, read: function() { for (var e, r = 0; r < t.privBufferSize;) { var n = new ArrayBuffer(t.privBufferSize - r), i = t.privCallback.read(n); if (void 0 === e) e = n; else new Int8Array(e).set(new Int8Array(n), r); if (0 === i) break; r += i } return s.PromiseHelper.fromResult({ buffer: e.slice(0, r), isEnd: t.privIsClosed || 0 === r, timeReceived: Date.now() }) } } })) }, t.prototype.detach = function(e) { this.onEvent(new s.AudioStreamNodeDetachedEvent(this.privId, e)) }, t.prototype.turnOff = function() { return s.PromiseHelper.fromResult(!1) }, Object.defineProperty(t.prototype, "events", { get: function() { return this.privEvents }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "deviceInfo", { get: function() { return s.PromiseHelper.fromResult({ bitspersample: this.privFormat.bitsPerSample, channelcount: this.privFormat.channels, connectivity: a.connectivity.Unknown, manufacturer: "Speech SDK", model: "PullStream", samplerate: this.privFormat.samplesPerSec, type: a.type.Stream }) }, enumerable: !0, configurable: !0 }), t }(d); t.PullAudioInputStreamImpl = h }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(151), a = r(28), s = r(346); t.bufferSize = 4096; var u = function() { function e() {} return e.createPullStream = function(e) { return c.create(e) }, e }(); t.AudioOutputStream = u; var c = function(e) { function r() { return null !== e && e.apply(this, arguments) || this } return i(r, e), r.create = function(e) { return new l(t.bufferSize, e) }, r }(u); t.PullAudioOutputStream = c; var l = function(e) { function t(t, r) { var n = e.call(this) || this; return n.privFormat = void 0 === r ? s.AudioStreamFormatImpl.getDefaultInputFormat() : r, n.privId = o.createNoDashGuid(), n.privStream = new a.ChunkedArrayBufferStream(t), n.streamReader = n.privStream.getReader(), n } return i(t, e), Object.defineProperty(t.prototype, "format", { get: function() { return this.privFormat }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isClosed", { get: function() { return this.privStream.isClosed }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "id", { get: function() { return this.privId }, enumerable: !0, configurable: !0 }), t.prototype.read = function() { return this.streamReader.read().onSuccessContinueWithPromise((function(e) { return a.PromiseHelper.fromResult(e.buffer) })) }, t.prototype.write = function(e) { this.privStream.writeStreamChunk({ buffer: e, isEnd: !1, timeReceived: Date.now() }) }, t.prototype.close = function() { this.privStream.close() }, t }(c); t.PullAudioOutputStreamImpl = l }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n, i, o, a, s, u, c) { var l = e.call(this, r, n, i, o, a, s, u, c) || this; return l.privTranslations = t, l } return i(t, e), Object.defineProperty(t.prototype, "translations", { get: function() { return this.privTranslations }, enumerable: !0, configurable: !0 }), t }(r(9).SpeechRecognitionResult); t.TranslationRecognitionResult = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.SpeechServiceConnection_Key = 0] = "SpeechServiceConnection_Key", e[e.SpeechServiceConnection_Endpoint = 1] = "SpeechServiceConnection_Endpoint", e[e.SpeechServiceConnection_Region = 2] = "SpeechServiceConnection_Region", e[e.SpeechServiceAuthorization_Token = 3] = "SpeechServiceAuthorization_Token", e[e.SpeechServiceAuthorization_Type = 4] = "SpeechServiceAuthorization_Type", e[e.SpeechServiceConnection_EndpointId = 5] = "SpeechServiceConnection_EndpointId", e[e.SpeechServiceConnection_TranslationToLanguages = 6] = "SpeechServiceConnection_TranslationToLanguages", e[e.SpeechServiceConnection_TranslationVoice = 7] = "SpeechServiceConnection_TranslationVoice", e[e.SpeechServiceConnection_TranslationFeatures = 8] = "SpeechServiceConnection_TranslationFeatures", e[e.SpeechServiceConnection_IntentRegion = 9] = "SpeechServiceConnection_IntentRegion", e[e.SpeechServiceConnection_ProxyHostName = 10] = "SpeechServiceConnection_ProxyHostName", e[e.SpeechServiceConnection_ProxyPort = 11] = "SpeechServiceConnection_ProxyPort", e[e.SpeechServiceConnection_ProxyUserName = 12] = "SpeechServiceConnection_ProxyUserName", e[e.SpeechServiceConnection_ProxyPassword = 13] = "SpeechServiceConnection_ProxyPassword", e[e.SpeechServiceConnection_RecoMode = 14] = "SpeechServiceConnection_RecoMode", e[e.SpeechServiceConnection_RecoLanguage = 15] = "SpeechServiceConnection_RecoLanguage", e[e.Speech_SessionId = 16] = "Speech_SessionId", e[e.SpeechServiceResponse_RequestDetailedResultTrueFalse = 17] = "SpeechServiceResponse_RequestDetailedResultTrueFalse", e[e.SpeechServiceResponse_RequestProfanityFilterTrueFalse = 18] = "SpeechServiceResponse_RequestProfanityFilterTrueFalse", e[e.SpeechServiceResponse_JsonResult = 19] = "SpeechServiceResponse_JsonResult", e[e.SpeechServiceResponse_JsonErrorDetails = 20] = "SpeechServiceResponse_JsonErrorDetails", e[e.CancellationDetails_Reason = 21] = "CancellationDetails_Reason", e[e.CancellationDetails_ReasonText = 22] = "CancellationDetails_ReasonText", e[e.CancellationDetails_ReasonDetailedText = 23] = "CancellationDetails_ReasonDetailedText", e[e.LanguageUnderstandingServiceResponse_JsonResult = 24] = "LanguageUnderstandingServiceResponse_JsonResult", e[e.SpeechServiceConnection_Url = 25] = "SpeechServiceConnection_Url", e[e.SpeechServiceConnection_InitialSilenceTimeoutMs = 26] = "SpeechServiceConnection_InitialSilenceTimeoutMs", e[e.SpeechServiceConnection_EndSilenceTimeoutMs = 27] = "SpeechServiceConnection_EndSilenceTimeoutMs", e[e.SpeechServiceConnection_EnableAudioLogging = 28] = "SpeechServiceConnection_EnableAudioLogging", e[e.SpeechServiceResponse_ProfanityOption = 29] = "SpeechServiceResponse_ProfanityOption", e[e.SpeechServiceResponse_PostProcessingOption = 30] = "SpeechServiceResponse_PostProcessingOption", e[e.SpeechServiceResponse_RequestWordLevelTimestamps = 31] = "SpeechServiceResponse_RequestWordLevelTimestamps", e[e.SpeechServiceResponse_StablePartialResultThreshold = 32] = "SpeechServiceResponse_StablePartialResultThreshold", e[e.SpeechServiceResponse_OutputFormatOption = 33] = "SpeechServiceResponse_OutputFormatOption", e[e.SpeechServiceResponse_TranslationRequestStablePartialResult = 34] = "SpeechServiceResponse_TranslationRequestStablePartialResult", e[e.Conversation_ApplicationId = 35] = "Conversation_ApplicationId", e[e.Conversation_DialogType = 36] = "Conversation_DialogType", e[e.Conversation_Initial_Silence_Timeout = 37] = "Conversation_Initial_Silence_Timeout", e[e.Conversation_From_Id = 38] = "Conversation_From_Id", e[e.Conversation_Speech_Activity_Template = 39] = "Conversation_Speech_Activity_Template", e[e.SpeechServiceConnection_Host = 40] = "SpeechServiceConnection_Host", e[e.ConversationTranslator_Host = 41] = "ConversationTranslator_Host", e[e.ConversationTranslator_Name = 42] = "ConversationTranslator_Name", e[e.ConversationTranslator_CorrelationId = 43] = "ConversationTranslator_CorrelationId", e[e.ConversationTranslator_Token = 44] = "ConversationTranslator_Token" }(t.PropertyId || (t.PropertyId = {})) }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(113), a = r(21), s = r(9), u = r(347), c = r(21), l = r(366), f = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.interactiveRelativeUri = "/speech/recognition/interactive/cognitiveservices/v1", t.conversationRelativeUri = "/speech/recognition/conversation/cognitiveservices/v1", t.dictationRelativeUri = "/speech/recognition/dictation/cognitiveservices/v1", t.create = function(e, r, n) { var i = e.parameters.getProperty(s.PropertyId.SpeechServiceConnection_Endpoint, void 0), u = e.parameters.getProperty(s.PropertyId.SpeechServiceConnection_Region, void 0), f = e.parameters.getProperty(s.PropertyId.SpeechServiceConnection_Host, "wss://" + u + ".stt.speech.microsoft.com"), p = {}, d = e.parameters.getProperty(s.PropertyId.SpeechServiceConnection_EndpointId, void 0), h = e.parameters.getProperty(s.PropertyId.SpeechServiceConnection_RecoLanguage, void 0); if (d ? i && -1 !== i.search(l.QueryParameterNames.DeploymentIdParamName) || (p[l.QueryParameterNames.DeploymentIdParamName] = d) : h && (i && -1 !== i.search(l.QueryParameterNames.LanguageParamName) || (p[l.QueryParameterNames.LanguageParamName] = h)), i && -1 !== i.search(l.QueryParameterNames.FormatParamName) || (p[l.QueryParameterNames.FormatParamName] = e.parameters.getProperty(a.OutputFormatPropertyName, s.OutputFormat[s.OutputFormat.Simple]).toLowerCase()), t.setCommonUrlParams(e, p, i), !i) switch (e.recognitionMode) { case c.RecognitionMode.Conversation: i = "true" === e.parameters.getProperty(a.ForceDictationPropertyName, "false") ? f + t.dictationRelativeUri : f + t.conversationRelativeUri; break; case c.RecognitionMode.Dictation: i = f + t.dictationRelativeUri; break; default: i = f + t.interactiveRelativeUri } var v = {}; return void 0 !== r.token && "" !== r.token && (v[r.headerName] = r.token), v[l.QueryParameterNames.ConnectionIdHeader] = n, e.parameters.setProperty(s.PropertyId.SpeechServiceConnection_Url, i), new o.WebsocketConnection(i, p, v, new c.WebsocketMessageFormatter, o.ProxyInfo.fromRecognizerConfig(e), n) }, t } return i(t, e), t }(u.ConnectionFactoryBase); t.SpeechConnectionFactory = f }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(1658); t.Conversation = n.Conversation; var i = r(1815); t.ConversationExpirationEventArgs = i.ConversationExpirationEventArgs; var o = r(1816); t.ConversationParticipantsChangedEventArgs = o.ConversationParticipantsChangedEventArgs; var a = r(1817); t.ConversationTranslationCanceledEventArgs = a.ConversationTranslationCanceledEventArgs; var s = r(1818); t.ConversationTranslationEventArgs = s.ConversationTranslationEventArgs; var u = r(1819); t.ConversationTranslationResult = u.ConversationTranslationResult; var c = r(1820); t.ConversationTranslator = c.ConversationTranslator; var l = r(1821); t.Participant = l.Participant, t.User = l.User; var f = r(1822); t.ParticipantChangedReason = f.ParticipantChangedReason }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }), o = this && this.__spreadArrays || function() { for (var e = 0, t = 0, r = arguments.length; t < r; t++) e += arguments[t].length; var n = Array(e), i = 0; for (t = 0; t < r; t++) for (var o = arguments[t], a = 0, s = o.length; a < s; a++, i++) n[i] = o[a]; return n }; Object.defineProperty(t, "__esModule", { value: !0 }); var a = r(21), s = r(46), u = r(9), c = function() { function e() {} return e.createConversationAsync = function(e, t, r) { s.Contracts.throwIfNullOrUndefined(e, a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "config")), s.Contracts.throwIfNullOrUndefined(e.region, a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "SpeechServiceConnection_Region")), e.subscriptionKey || e.getProperty(u.PropertyId[u.PropertyId.SpeechServiceAuthorization_Token]) || s.Contracts.throwIfNullOrUndefined(e.subscriptionKey, a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "SpeechServiceConnection_Key")); var n = new l(e); return n.createConversationAsync((function() { t && t() }), (function(e) { r && r(e) })), n }, e }(); t.Conversation = c; var l = function(e) { function t(t) { var r = e.call(this) || this; r.privIsDisposed = !1, r.privIsConnected = !1, r.onConnected = function(e) { r.privIsConnected = !0; try { r.privConversationTranslator.sessionStarted && r.privConversationTranslator.sessionStarted(r.privConversationTranslator, e) } catch (e) {} }, r.onDisconnected = function(e) { r.close(!1); try { r.privConversationTranslator.sessionStopped && r.privConversationTranslator.sessionStopped(r.privConversationTranslator, e) } catch (e) {} }, r.onCanceled = function(e, t) { r.close(!1); try { r.privConversationTranslator.canceled && r.privConversationTranslator.canceled(r.privConversationTranslator, t) } catch (t) {} }, r.onParticipantUpdateCommandReceived = function(e, t) { var n, i; try { var o = r.privParticipants.getParticipant(t.id); if (void 0 !== o) { switch (t.key) { case a.ConversationTranslatorCommandTypes.changeNickname: o.displayName = t.value; break; case a.ConversationTranslatorCommandTypes.setUseTTS: o.useTts = t.value; break; case a.ConversationTranslatorCommandTypes.setProfanityFiltering: o.profanity = t.value; break; case a.ConversationTranslatorCommandTypes.setMute: o.isMuted = t.value; break; case a.ConversationTranslatorCommandTypes.setTranslateToLanguages: o.translateToLanguages = t.value } r.privParticipants.addOrUpdateParticipant(o), (null === (n = r.privConversationTranslator) || void 0 === n ? void 0 : n.participantsChanged) && (null === (i = r.privConversationTranslator) || void 0 === i || i.participantsChanged(r.privConversationTranslator, new u.ConversationParticipantsChangedEventArgs(u.ParticipantChangedReason.Updated, [r.toParticipant(o)], t.sessionId))) } } catch (t) {} }, r.onLockRoomCommandReceived = function(e, t) {}, r.onMuteAllCommandReceived = function(e, t) { var n, i; try { r.privParticipants.participants.forEach((function(e) { return e.isMuted = !e.isHost && t.isMuted })), (null === (n = r.privConversationTranslator) || void 0 === n ? void 0 : n.participantsChanged) && (null === (i = r.privConversationTranslator) || void 0 === i || i.participantsChanged(r.privConversationTranslator, new u.ConversationParticipantsChangedEventArgs(u.ParticipantChangedReason.Updated, r.toParticipants(!1), t.sessionId))) } catch (t) {} }, r.onParticipantJoinCommandReceived = function(e, t) { var n, i; try { var o = r.privParticipants.addOrUpdateParticipant(t.participant); void 0 !== o && (null === (n = r.privConversationTranslator) || void 0 === n ? void 0 : n.participantsChanged) && (null === (i = r.privConversationTranslator) || void 0 === i || i.participantsChanged(r.privConversationTranslator, new u.ConversationParticipantsChangedEventArgs(u.ParticipantChangedReason.JoinedConversation, [r.toParticipant(o)], t.sessionId))) } catch (t) {} }, r.onParticipantLeaveCommandReceived = function(e, t) { var n, i; try { var o = r.privParticipants.getParticipant(t.participant.id); void 0 !== o && (r.privParticipants.deleteParticipant(t.participant.id), (null === (n = r.privConversationTranslator) || void 0 === n ? void 0 : n.participantsChanged) && (null === (i = r.privConversationTranslator) || void 0 === i || i.participantsChanged(r.privConversationTranslator, new u.ConversationParticipantsChangedEventArgs(u.ParticipantChangedReason.LeftConversation, [r.toParticipant(o)], t.sessionId)))) } catch (t) {} }, r.onTranslationReceived = function(e, t) { var n, i, o, s, c, l; try { switch (t.command) { case a.ConversationTranslatorMessageTypes.final: (null === (n = r.privConversationTranslator) || void 0 === n ? void 0 : n.transcribed) && (null === (i = r.privConversationTranslator) || void 0 === i || i.transcribed(r.privConversationTranslator, new u.ConversationTranslationEventArgs(t.payload, void 0, t.sessionId))); break; case a.ConversationTranslatorMessageTypes.partial: (null === (o = r.privConversationTranslator) || void 0 === o ? void 0 : o.transcribing) && (null === (s = r.privConversationTranslator) || void 0 === s || s.transcribing(r.privConversationTranslator, new u.ConversationTranslationEventArgs(t.payload, void 0, t.sessionId))); break; case a.ConversationTranslatorMessageTypes.instantMessage: (null === (c = r.privConversationTranslator) || void 0 === c ? void 0 : c.textMessageReceived) && (null === (l = r.privConversationTranslator) || void 0 === l || l.textMessageReceived(r.privConversationTranslator, new u.ConversationTranslationEventArgs(t.payload, void 0, t.sessionId))) } } catch (t) {} }, r.onParticipantsListReceived = function(e, t) { var n, i; try { if (void 0 !== t.sessionToken && null !== t.sessionToken && (r.privRoom.token = t.sessionToken), r.privParticipants.participants = o(t.participants), void 0 !== r.privParticipants.me && (r.privIsReady = !0), (null === (n = r.privConversationTranslator) || void 0 === n ? void 0 : n.participantsChanged) && (null === (i = r.privConversationTranslator) || void 0 === i || i.participantsChanged(r.privConversationTranslator, new u.ConversationParticipantsChangedEventArgs(u.ParticipantChangedReason.JoinedConversation, r.toParticipants(!0), t.sessionId))), r.me.isHost) { var a = r.privConversationTranslator.properties.getProperty(u.PropertyId.ConversationTranslator_Name); void 0 !== a && a.length > 0 && a !== r.me.displayName && r.changeNicknameAsync(a) } } catch (t) {} }, r.onConversationExpiration = function(e, t) { var n, i; try { (null === (n = r.privConversationTranslator) || void 0 === n ? void 0 : n.conversationExpiration) && (null === (i = r.privConversationTranslator) || void 0 === i || i.conversationExpiration(r.privConversationTranslator, t)) } catch (t) {} }, r.privProperties = new u.PropertyCollection, r.privManager = new a.ConversationManager, t.getProperty(u.PropertyId[u.PropertyId.SpeechServiceConnection_RecoLanguage]) || t.setProperty(u.PropertyId[u.PropertyId.SpeechServiceConnection_RecoLanguage], a.ConversationTranslatorConfig.defaultLanguageCode), r.privLanguage = t.getProperty(u.PropertyId[u.PropertyId.SpeechServiceConnection_RecoLanguage]), 0 === t.targetLanguages.length && t.addTargetLanguage(r.privLanguage), t.getProperty(u.PropertyId[u.PropertyId.SpeechServiceResponse_ProfanityOption]) || t.setProfanity(u.ProfanityOption.Masked); var n = t.getProperty(u.PropertyId[u.PropertyId.ConversationTranslator_Name]); (null == n || n.length <= 1 || n.length > 50) && (n = "Host"), t.setProperty(u.PropertyId[u.PropertyId.ConversationTranslator_Name], n), r.privConfig = t; var i = t; return s.Contracts.throwIfNull(i, "speechConfig"), r.privProperties = i.properties.clone(), r.privIsConnected = !1, r.privParticipants = new a.InternalParticipants, r.privIsReady = !1, r } return i(t, e), Object.defineProperty(t.prototype, "conversationTranslator", { set: function(e) { this.privConversationTranslator = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "room", { get: function() { return this.privRoom }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "connection", { get: function() { return this.privConversationRecognizer }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "authorizationToken", { get: function() { return this.privToken }, set: function(e) { s.Contracts.throwIfNullOrWhitespace(e, "authorizationToken"), this.privToken = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "config", { get: function() { return this.privConfig }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "conversationId", { get: function() { return this.privRoom ? this.privRoom.roomId : "" }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "properties", { get: function() { return this.privProperties }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "speechRecognitionLanguage", { get: function() { return this.privLanguage }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isMutedByHost", { get: function() { var e, t; return (null === (e = this.privParticipants.me) || void 0 === e || !e.isHost) && (null === (t = this.privParticipants.me) || void 0 === t ? void 0 : t.isMuted) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isConnected", { get: function() { return this.privIsConnected && this.privIsReady }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "participants", { get: function() { return this.toParticipants(!0) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "me", { get: function() { return this.toParticipant(this.privParticipants.me) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "host", { get: function() { return this.toParticipant(this.privParticipants.host) }, enumerable: !0, configurable: !0 }), t.prototype.createConversationAsync = function(e, t) { var r = this; try { this.privConversationRecognizer && this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedStart), t), this.privManager.createOrJoin(this.privProperties, void 0, (function(n) { n || r.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedConnect), t), r.privRoom = n, r.handleCallback(e, t) }), (function(e) { r.handleError(e, t) })) } catch (e) { this.handleError(e, t) } }, t.prototype.startConversationAsync = function(e, t) { var r = this; try { this.privConversationRecognizer && this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedStart), t), s.Contracts.throwIfNullOrUndefined(this.privRoom, a.ConversationTranslatorConfig.strings.permissionDeniedConnect), this.privParticipants.meId = this.privRoom.participantId, this.privConversationRecognizer = new a.ConversationTranslatorRecognizer(this.privConfig), this.privConversationRecognizer.conversation = this.privRoom, this.privConversationRecognizerConnection = u.Connection.fromRecognizer(this.privConversationRecognizer), this.privConversationRecognizerConnection.connected = this.onConnected, this.privConversationRecognizerConnection.disconnected = this.onDisconnected, this.privConversationRecognizer.canceled = this.onCanceled, this.privConversationRecognizer.participantUpdateCommandReceived = this.onParticipantUpdateCommandReceived, this.privConversationRecognizer.lockRoomCommandReceived = this.onLockRoomCommandReceived, this.privConversationRecognizer.muteAllCommandReceived = this.onMuteAllCommandReceived, this.privConversationRecognizer.participantJoinCommandReceived = this.onParticipantJoinCommandReceived, this.privConversationRecognizer.participantLeaveCommandReceived = this.onParticipantLeaveCommandReceived, this.privConversationRecognizer.translationReceived = this.onTranslationReceived, this.privConversationRecognizer.participantsListReceived = this.onParticipantsListReceived, this.privConversationRecognizer.conversationExpiration = this.onConversationExpiration, this.privConversationRecognizer.connect(this.privRoom.token, (function() { r.handleCallback(e, t) }), (function(e) { r.handleError(e, t) })) } catch (e) { this.handleError(e, t) } }, t.prototype.joinConversationAsync = function(e, t, r, n, i) { var o = this; try { s.Contracts.throwIfNullOrWhitespace(e, a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "conversationId")), s.Contracts.throwIfNullOrWhitespace(t, a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "nickname")), s.Contracts.throwIfNullOrWhitespace(r, a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "language")), this.privManager.createOrJoin(this.privProperties, e, (function(e) { s.Contracts.throwIfNullOrUndefined(e, a.ConversationTranslatorConfig.strings.permissionDeniedConnect), o.privRoom = e, o.privConfig.authorizationToken = e.cognitiveSpeechAuthToken, n && n(e.cognitiveSpeechAuthToken) }), (function(e) { o.handleError(e, i) })) } catch (e) { this.handleError(e, i) } }, t.prototype.deleteConversationAsync = function(e, t) { var r = this; try { s.Contracts.throwIfNullOrUndefined(this.privProperties, a.ConversationTranslatorConfig.strings.permissionDeniedConnect), s.Contracts.throwIfNullOrWhitespace(this.privRoom.token, a.ConversationTranslatorConfig.strings.permissionDeniedConnect), this.privManager.leave(this.privProperties, this.privRoom.token, (function() { r.handleCallback(e, t) }), (function(e) { r.handleError(e, t) })), this.dispose() } catch (e) { this.handleError(e, t) } }, t.prototype.endConversationAsync = function(e, t) { try { this.close(!0), this.handleCallback(e, t) } catch (e) { this.handleError(e, t) } }, t.prototype.lockConversationAsync = function(e, t) { var r, n = this; try { s.Contracts.throwIfDisposed(this.privIsDisposed), s.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()), s.Contracts.throwIfNullOrUndefined(this.privRoom, a.ConversationTranslatorConfig.strings.permissionDeniedSend), this.canSendAsHost || this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedConversation.replace("{command}", "lock")), t), null === (r = this.privConversationRecognizer) || void 0 === r || r.sendLockRequest(!0, (function() { n.handleCallback(e, t) }), (function(e) { n.handleError(e, t) })) } catch (e) { this.handleError(e, t) } }, t.prototype.muteAllParticipantsAsync = function(e, t) { var r, n = this; try { s.Contracts.throwIfDisposed(this.privIsDisposed), s.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()), s.Contracts.throwIfNullOrUndefined(this.privConversationRecognizer, a.ConversationTranslatorConfig.strings.permissionDeniedSend), s.Contracts.throwIfNullOrUndefined(this.privRoom, a.ConversationTranslatorConfig.strings.permissionDeniedSend), this.canSendAsHost || this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedConversation.replace("{command}", "mute")), t), null === (r = this.privConversationRecognizer) || void 0 === r || r.sendMuteAllRequest(!0, (function() { n.handleCallback(e, t) }), (function(e) { n.handleError(e, t) })) } catch (e) { this.handleError(e, t) } }, t.prototype.muteParticipantAsync = function(e, t, r) { var n, i = this; try { s.Contracts.throwIfDisposed(this.privIsDisposed), s.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()), s.Contracts.throwIfNullOrWhitespace(e, a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "userId")), s.Contracts.throwIfNullOrUndefined(this.privRoom, a.ConversationTranslatorConfig.strings.permissionDeniedSend), this.canSend || this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedSend), r), this.me.isHost || this.me.id === e || this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedParticipant.replace("{command}", "mute")), r), -1 === this.privParticipants.getParticipantIndex(e) && this.handleError(new Error(a.ConversationTranslatorConfig.strings.invalidParticipantRequest), r), null === (n = this.privConversationRecognizer) || void 0 === n || n.sendMuteRequest(e, !0, (function() { i.handleCallback(t, r) }), (function(e) { i.handleError(e, r) })) } catch (e) { this.handleError(e, r) } }, t.prototype.removeParticipantAsync = function(e, t, r) { var n, i = this; try { s.Contracts.throwIfDisposed(this.privIsDisposed), s.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()), s.Contracts.throwIfNullOrUndefined(this.privRoom, a.ConversationTranslatorConfig.strings.permissionDeniedSend), this.canSendAsHost || this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedParticipant.replace("{command}", "remove")), r); var o = ""; if ("string" == typeof e) o = e; else if (e.hasOwnProperty("id")) { o = e.id } else if (e.hasOwnProperty("userId")) { o = e.userId } s.Contracts.throwIfNullOrWhitespace(o, a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "userId")), -1 === this.participants.findIndex((function(e) { return e.id === o })) && this.handleError(new Error(a.ConversationTranslatorConfig.strings.invalidParticipantRequest), r), null === (n = this.privConversationRecognizer) || void 0 === n || n.sendEjectRequest(o, (function() { i.handleCallback(t, r) }), (function(e) { i.handleError(e, r) })) } catch (e) { this.handleError(e, r) } }, t.prototype.unlockConversationAsync = function(e, t) { var r, n = this; try { s.Contracts.throwIfDisposed(this.privIsDisposed), s.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()), s.Contracts.throwIfNullOrUndefined(this.privRoom, a.ConversationTranslatorConfig.strings.permissionDeniedSend), this.canSendAsHost || this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedConversation.replace("{command}", "unlock")), t), null === (r = this.privConversationRecognizer) || void 0 === r || r.sendLockRequest(!1, (function() { n.handleCallback(e, t) }), (function(e) { n.handleError(e, t) })) } catch (e) { this.handleError(e, t) } }, t.prototype.unmuteAllParticipantsAsync = function(e, t) { var r, n = this; try { s.Contracts.throwIfDisposed(this.privIsDisposed), s.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()), s.Contracts.throwIfNullOrUndefined(this.privRoom, a.ConversationTranslatorConfig.strings.permissionDeniedSend), this.canSendAsHost || this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedConversation.replace("{command}", "unmute all")), t), null === (r = this.privConversationRecognizer) || void 0 === r || r.sendMuteAllRequest(!1, (function() { n.handleCallback(e, t) }), (function(e) { n.handleError(e, t) })) } catch (e) { this.handleError(e, t) } }, t.prototype.unmuteParticipantAsync = function(e, t, r) { var n, i = this; try { s.Contracts.throwIfDisposed(this.privIsDisposed), s.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()), s.Contracts.throwIfNullOrWhitespace(e, a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "userId")), s.Contracts.throwIfNullOrUndefined(this.privRoom, a.ConversationTranslatorConfig.strings.permissionDeniedSend), this.canSend || this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedSend), r), this.me.isHost || this.me.id === e || this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedParticipant.replace("{command}", "mute")), r), -1 === this.privParticipants.getParticipantIndex(e) && this.handleError(new Error(a.ConversationTranslatorConfig.strings.invalidParticipantRequest), r), null === (n = this.privConversationRecognizer) || void 0 === n || n.sendMuteRequest(e, !1, (function() { i.handleCallback(t, r) }), (function(e) { i.handleError(e, r) })) } catch (e) { this.handleError(e, r) } }, t.prototype.sendTextMessageAsync = function(e, t, r) { var n, i = this; try { s.Contracts.throwIfDisposed(this.privIsDisposed), s.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()), s.Contracts.throwIfNullOrWhitespace(e, a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "message")), s.Contracts.throwIfNullOrUndefined(this.privRoom, a.ConversationTranslatorConfig.strings.permissionDeniedSend), this.canSend || this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedSend), r), e.length > a.ConversationTranslatorConfig.textMessageMaxLength && this.handleError(new Error(a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "message length")), r), null === (n = this.privConversationRecognizer) || void 0 === n || n.sendMessageRequest(e, (function() { i.handleCallback(t, r) }), (function(e) { i.handleError(e, r) })) } catch (e) { this.handleError(e, r) } }, t.prototype.changeNicknameAsync = function(e, t, r) { var n, i = this; try { s.Contracts.throwIfDisposed(this.privIsDisposed), s.Contracts.throwIfDisposed(this.privConversationRecognizer.isDisposed()), s.Contracts.throwIfNullOrWhitespace(e, a.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "nickname")), s.Contracts.throwIfNullOrUndefined(this.privRoom, a.ConversationTranslatorConfig.strings.permissionDeniedSend), this.canSend || this.handleError(new Error(a.ConversationTranslatorConfig.strings.permissionDeniedSend), r), null === (n = this.privConversationRecognizer) || void 0 === n || n.sendChangeNicknameRequest(e, (function() { i.handleCallback(t, r) }), (function(e) { i.handleError(e, r) })) } catch (e) { this.handleError(e, r) } }, t.prototype.isDisposed = function() { return this.privIsDisposed }, t.prototype.dispose = function(e) { var t; this.isDisposed || (this.privIsDisposed = !0, null === (t = this.config) || void 0 === t || t.close(), this.privConversationRecognizerConnection && (this.privConversationRecognizerConnection.closeConnection(), this.privConversationRecognizerConnection.close(), this.privConversationRecognizerConnection = void 0), this.privConfig = void 0, this.privLanguage = void 0, this.privProperties = void 0, this.privRoom = void 0, this.privToken = void 0, this.privManager = void 0, this.privConversationRecognizer = void 0, this.privIsConnected = !1, this.privIsReady = !1, this.privParticipants = void 0, this.privRoom = void 0) }, t.prototype.close = function(e) { var t, r, n; try { this.privIsConnected = !1, null === (t = this.privConversationRecognizerConnection) || void 0 === t || t.closeConnection(), null === (r = this.privConversationRecognizerConnection) || void 0 === r || r.close(), this.privConversationRecognizer.close(), this.privConversationRecognizerConnection = void 0, this.privConversationRecognizer = void 0, null === (n = this.privConversationTranslator) || void 0 === n || n.dispose() } catch (e) {} e && this.dispose() }, Object.defineProperty(t.prototype, "canSend", { get: function() { var e; return this.privIsConnected && !(null === (e = this.privParticipants.me) || void 0 === e ? void 0 : e.isMuted) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "canSendAsHost", { get: function() { var e; return this.privIsConnected && (null === (e = this.privParticipants.me) || void 0 === e ? void 0 : e.isHost) }, enumerable: !0, configurable: !0 }), t.prototype.handleCallback = function(e, t) { if (e) { try { e() } catch (e) { t && t(e) } e = void 0 } }, t.prototype.handleError = function(e, t) { if (t) if (e instanceof Error) { var r = e; t(r.name + ": " + r.message) } else t(e) }, t.prototype.toParticipants = function(e) { var t = this, r = this.privParticipants.participants.map((function(e) { return t.toParticipant(e) })); return e ? r : r.filter((function(e) { return !1 === e.isHost })) }, t.prototype.toParticipant = function(e) { return new u.Participant(e.id, e.avatar, e.displayName, e.isHost, e.isMuted, e.isUsingTts, e.preferredLanguage) }, t }(c); t.ConversationImpl = l }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(28), a = function(e) { function t(t, r, n, i, a, s, u) { var c = this; if (!r) throw new o.ArgumentNullError("path"); if (!n) throw new o.ArgumentNullError("requestId"); var l = {}; if (l.path = r, l["x-requestid"] = n, l["x-timestamp"] = (new Date).toISOString(), i && (l["content-type"] = i), s) for (var f in s) f && (l[f] = s[f]); return (c = u ? e.call(this, t, a, l, u) || this : e.call(this, t, a, l) || this).privPath = r, c.privRequestId = n, c.privContentType = i, c.privAdditionalHeaders = s, c } return i(t, e), Object.defineProperty(t.prototype, "path", { get: function() { return this.privPath }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "requestId", { get: function() { return this.privRequestId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "contentType", { get: function() { return this.privContentType }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "additionalHeaders", { get: function() { return this.privAdditionalHeaders }, enumerable: !0, configurable: !0 }), t.fromConnectionMessage = function(e) { var r = null, n = null, i = null, o = {}; if (e.headers) for (var a in e.headers) a && (a.toLowerCase() === "path".toLowerCase() ? r = e.headers[a] : a.toLowerCase() === "x-requestid".toLowerCase() ? n = e.headers[a] : a.toLowerCase() === "x-timestamp".toLowerCase() ? e.headers[a] : a.toLowerCase() === "content-type".toLowerCase() ? i = e.headers[a] : o[a] = e.headers[a]); return new t(e.messageType, r, n, i, e.body, o, e.id) }, t }(o.ConnectionMessage); t.SpeechConnectionMessage = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.privActivityResponse = JSON.parse(e) } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "conversationId", { get: function() { return this.privActivityResponse.conversationId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "messageDataStreamType", { get: function() { return this.privActivityResponse.messageDataStreamType }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "messagePayload", { get: function() { return this.privActivityResponse.messagePayload }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "version", { get: function() { return this.privActivityResponse.version }, enumerable: !0, configurable: !0 }), e }(); t.ActivityPayloadResponse = n, function(e) { e[e.None = 0] = "None", e[e.TextToSpeechAudio = 1] = "TextToSpeechAudio" }(t.MessageDataStreamType || (t.MessageDataStreamType = {})) }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n, i) { var o = e.call(this, t, r, n, i) || this, a = JSON.parse(o.textBody); return void 0 !== a.type && (o.privConversationMessageType = a.type), o } return i(t, e), Object.defineProperty(t.prototype, "conversationMessageType", { get: function() { return this.privConversationMessageType }, enumerable: !0, configurable: !0 }), t }(r(28).ConnectionMessage); t.ConversationConnectionMessage = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(9), a = function(e) { function t(t, r) { var n = e.call(this, r) || this; return n.privIsMuted = t, n } return i(t, e), Object.defineProperty(t.prototype, "isMuted", { get: function() { return this.privIsMuted }, enumerable: !0, configurable: !0 }), t }(o.SessionEventArgs); t.MuteAllEventArgs = a; var s = function(e) { function t(t, r) { var n = e.call(this, r) || this; return n.privIsLocked = t, n } return i(t, e), Object.defineProperty(t.prototype, "isMuted", { get: function() { return this.privIsLocked }, enumerable: !0, configurable: !0 }), t }(o.SessionEventArgs); t.LockRoomEventArgs = s; var u = function(e) { function t(t, r) { var n = e.call(this, r) || this; return n.privParticipant = t, n } return i(t, e), Object.defineProperty(t.prototype, "participant", { get: function() { return this.privParticipant }, enumerable: !0, configurable: !0 }), t }(o.SessionEventArgs); t.ParticipantEventArgs = u; var c = function(e) { function t(t, r, n, i) { var o = e.call(this, i) || this; return o.privKey = r, o.privValue = n, o.privParticipantId = t, o } return i(t, e), Object.defineProperty(t.prototype, "value", { get: function() { return this.privValue }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "key", { get: function() { return this.privKey }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "id", { get: function() { return this.privParticipantId }, enumerable: !0, configurable: !0 }), t }(o.SessionEventArgs); t.ParticipantAttributeEventArgs = c; var l = function(e) { function t(t, r, n, i, o, a, s, u, c) { var l = e.call(this, c) || this; return l.privRoomId = t, l.privSessionToken = r, l.privTranslateTo = n, l.privProfanityFilter = i, l.privRoomProfanityFilter = o, l.privIsRoomLocked = a, l.privIsRoomLocked = s, l.privParticipants = u, l } return i(t, e), Object.defineProperty(t.prototype, "sessionToken", { get: function() { return this.privSessionToken }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "conversationId", { get: function() { return this.privRoomId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "translateTo", { get: function() { return this.privTranslateTo }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "profanityFilter", { get: function() { return this.privProfanityFilter }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "roomProfanityFilter", { get: function() { return this.privRoomProfanityFilter }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isRoomLocked", { get: function() { return this.privIsRoomLocked }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isMuteAll", { get: function() { return this.privIsMuteAll }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "participants", { get: function() { return this.privParticipants }, enumerable: !0, configurable: !0 }), t }(o.SessionEventArgs); t.ParticipantsListEventArgs = l; var f = function() { function e(e, t, r) { this.privPayload = t, this.privCommand = e, this.privSessionId = r } return Object.defineProperty(e.prototype, "payload", { get: function() { return this.privPayload }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "command", { get: function() { return this.privCommand }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "sessionId", { get: function() { return this.privSessionId }, enumerable: !0, configurable: !0 }), e }(); t.ConversationReceivedTranslationEventArgs = f }, function(e, t, r) { "use strict"; (function(e, n) { Object.defineProperty(t, "__esModule", { value: !0 }); var i = r(28), o = r(1863), a = r(1864), s = r(1865), u = function() { function t(r, u, c, l, f) { var p = this; if (this.open = function() { if (p.privConnectionState === i.ConnectionState.Disconnected) return i.PromiseHelper.fromError("Cannot open a connection that is in " + p.privConnectionState + " state"); if (p.privConnectionEstablishDeferral) return p.privConnectionEstablishDeferral.promise(); p.privConnectionEstablishDeferral = new i.Deferred, p.privCertificateValidatedDeferral = new i.Deferred, p.privConnectionState = i.ConnectionState.Connecting; try { var r = void 0 !== e && "0" !== e.env.NODE_TLS_REJECT_UNAUTHORIZED && !p.privUri.startsWithWebChat("ws:"); if ("undefined" == typeof WebSocket || t.forceNpmWebSocket) if (void 0 !== p.proxyInfo && void 0 !== p.proxyInfo.HostName && p.proxyInfo.Port > 0) { var u = { host: p.proxyInfo.HostName, port: p.proxyInfo.Port }; void 0 !== p.proxyInfo.UserName && (u.headers = { "Proxy-Authentication": "Basic " + new n(p.proxyInfo.UserName + ":" + (void 0 === p.proxyInfo.Password) ? "" : p.proxyInfo.Password).toString("base64") }, r && (u.headers.requestOCSP = "true")); var c = { agent: new o(u), headers: p.privHeaders }; p.privWebsocketClient = new a(p.privUri, c), r ? p.privWebsocketClient.addListener("upgrade", (function(e) { var t = e.socket, r = t.getPeerCertificate(!0); t.cork(), s.check({ cert: r.raw, httpOptions: c, issuer: r.issuerCertificate.raw }, (function(e, r) { e ? (p.privCertificateValidatedDeferral.reject(e.message), t.destroy(e)) : (p.privCertificateValidatedDeferral.resolve(!0), t.uncork()) })) })) : p.privCertificateValidatedDeferral.resolve(!0) } else { var l = { headers: p.privHeaders }; p.privCertificateValidatedDeferral.resolve(!0), r && (l.agent = new s.Agent({})), p.privWebsocketClient = new a(p.privUri, l) } else p.privCertificateValidatedDeferral.resolve(!0), p.privWebsocketClient = new WebSocket(p.privUri); p.privWebsocketClient.binaryType = "arraybuffer", p.privReceivingMessageQueue = new i.Queue, p.privDisconnectDeferral = new i.Deferred, p.privSendMessageQueue = new i.Queue, p.processSendQueue() } catch (e) { return p.privConnectionEstablishDeferral.resolve(new i.ConnectionOpenResponse(500, e)), p.privConnectionEstablishDeferral.promise() } return p.onEvent(new i.ConnectionStartEvent(p.privConnectionId, p.privUri)), p.privWebsocketClient.onopen = function(e) { p.privCertificateValidatedDeferral.promise().on((function() { p.privConnectionState = i.ConnectionState.Connected, p.onEvent(new i.ConnectionEstablishedEvent(p.privConnectionId)), p.privConnectionEstablishDeferral.resolve(new i.ConnectionOpenResponse(200, "")) }), (function(e) { p.privConnectionEstablishDeferral.reject(e) })) }, p.privWebsocketClient.onerror = function(e) { p.privConnectionState, i.ConnectionState.Connecting }, p.privWebsocketClient.onclose = function(e) { p.privConnectionState === i.ConnectionState.Connecting ? (p.privConnectionState = i.ConnectionState.Disconnected, p.privConnectionEstablishDeferral.resolve(new i.ConnectionOpenResponse(e.code, e.reason))) : p.onEvent(new i.ConnectionClosedEvent(p.privConnectionId, e.code, e.reason)), p.onClose(e.code, e.reason) }, p.privWebsocketClient.onmessage = function(e) { var t = (new Date).toISOString(); if (p.privConnectionState === i.ConnectionState.Connected) { var r = new i.Deferred; if (p.privReceivingMessageQueue.enqueueFromPromise(r.promise()), e.data instanceof ArrayBuffer) { var n = new i.RawWebsocketMessage(i.MessageType.Binary, e.data); p.privMessageFormatter.toConnectionMessage(n).on((function(e) { p.onEvent(new i.ConnectionMessageReceivedEvent(p.privConnectionId, t, e)), r.resolve(e) }), (function(e) { r.reject("Invalid binary message format. Error: " + e) })) } else { n = new i.RawWebsocketMessage(i.MessageType.Text, e.data); p.privMessageFormatter.toConnectionMessage(n).on((function(e) { p.onEvent(new i.ConnectionMessageReceivedEvent(p.privConnectionId, t, e)), r.resolve(e) }), (function(e) { r.reject("Invalid text message format. Error: " + e) })) } } }, p.privConnectionEstablishDeferral.promise() }, this.send = function(e) { if (p.privConnectionState !== i.ConnectionState.Connected) return i.PromiseHelper.fromError("Cannot send on connection that is in " + p.privConnectionState + " state"); var t = new i.Deferred, r = new i.Deferred; return p.privSendMessageQueue.enqueueFromPromise(r.promise()), p.privMessageFormatter.fromConnectionMessage(e).on((function(n) { r.resolve({ Message: e, RawWebsocketMessage: n, sendStatusDeferral: t }) }), (function(e) { r.reject("Error formatting the message. " + e) })), t.promise() }, this.read = function() { return p.privConnectionState !== i.ConnectionState.Connected ? i.PromiseHelper.fromError("Cannot read on connection that is in " + p.privConnectionState + " state") : p.privReceivingMessageQueue.dequeue() }, this.close = function(e) { if (!p.privWebsocketClient) { var t = new i.Deferred; return t.resolve(!0), t.promise() } return p.privConnectionState !== i.ConnectionState.Disconnected && p.privWebsocketClient.close(1e3, e || "Normal closure by client"), p.privDisconnectDeferral.promise() }, this.sendRawMessage = function(e) { try { return e ? (p.onEvent(new i.ConnectionMessageSentEvent(p.privConnectionId, (new Date).toISOString(), e.Message)), p.isWebsocketOpen ? (p.privWebsocketClient.send(e.RawWebsocketMessage.payload), i.PromiseHelper.fromResult(!0)) : i.PromiseHelper.fromError("websocket send error: Websocket not ready")) : i.PromiseHelper.fromResult(!0) } catch (e) { return i.PromiseHelper.fromError("websocket send error: " + e) } }, this.onClose = function(e, t) { var r = "Connection closed. " + e + ": " + t; p.privConnectionState = i.ConnectionState.Disconnected, p.privDisconnectDeferral.resolve(!0), p.privReceivingMessageQueue.dispose(t), p.privReceivingMessageQueue.drainAndDispose((function(e) {}), r), p.privSendMessageQueue.drainAndDispose((function(e) { e.sendStatusDeferral.reject(r) }), r) }, this.processSendQueue = function() { p.privSendMessageQueue.dequeue().on((function(e) { e && p.sendRawMessage(e).on((function(t) { e.sendStatusDeferral.resolve(t), p.processSendQueue() }), (function(t) { e.sendStatusDeferral.reject(t), p.processSendQueue() })) }), (function(e) {})) }, this.onEvent = function(e) { p.privConnectionEvents.onEvent(e), i.Events.instance.onEvent(e) }, !r) throw new i.ArgumentNullError("uri"); if (!c) throw new i.ArgumentNullError("messageFormatter"); this.proxyInfo = l, this.privConnectionEvents = new i.EventSource, this.privConnectionId = u, this.privMessageFormatter = c, this.privConnectionState = i.ConnectionState.None, this.privUri = r, this.privHeaders = f } return Object.defineProperty(t.prototype, "state", { get: function() { return this.privConnectionState }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "events", { get: function() { return this.privConnectionEvents }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isWebsocketOpen", { get: function() { return this.privWebsocketClient && this.privWebsocketClient.readyState === this.privWebsocketClient.OPEN }, enumerable: !0, configurable: !0 }), t.forceNpmWebSocket = !1, t }(); t.WebsocketMessageAdapter = u }).call(this, r(26), r(8).Buffer) }, function(e, t, r) { var n = r(1665); function i() { if ("function" != typeof WeakMap) return null; var e = new WeakMap; return i = function() { return e }, e } e.exports = function(e) { if (e && e.__esModule) return e; if (null === e || "object" !== n(e) && "function" != typeof e) return { default: e }; var t = i(); if (t && t.has(e)) return t.get(e); var r = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var a in e) if (Object.prototype.hasOwnProperty.call(e, a)) { var s = o ? Object.getOwnPropertyDescriptor(e, a) : null; s && (s.get || s.set) ? Object.defineProperty(r, a, s) : r[a] = e[a] } return r.default = e, t && t.set(e, r), r } }, function(e, t) { function r(t) { return "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? e.exports = r = function(e) { return typeof e } : e.exports = r = function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e }, r(t) } e.exports = r }, function(e, t) { e.exports = function(e, t) { (null == t || t > e.length) && (t = e.length); for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r]; return n } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(702), i = { AudioConfig: n.AudioConfig, OutputFormat: n.OutputFormat, ResultReason: n.ResultReason, SpeechConfig: n.SpeechConfig, SpeechRecognizer: n.SpeechRecognizer }; t.default = i }, function(e, t) { e.exports = function(e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var i = t[n] = { i: n, l: !1, exports: {} }; return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } return r.m = e, r.c = t, r.d = function(e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }, r.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, r.t = function(e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var i in e) r.d(n, i, function(t) { return e[t] }.bind(null, i)); return n }, r.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return r.d(t, "a", t), t }, r.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, r.p = "", r(r.s = 1) }([function(e, t, r) { "use strict"; e.exports = function() { var e = {}; return e.promise = new Promise((function(t, r) { e.resolve = t, e.reject = r })), e } }, function(e, t, r) { "use strict"; r.r(t); var n = r(0), i = r.n(n); t.default = i.a }]) }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.authorizationToken, r = e.credentials, n = e.looseEvent, i = e.looseEvents, c = e.region, p = void 0 === c ? "westus" : c, d = e.subscriptionKey, h = (0, s.default)(e, ["authorizationToken", "credentials", "looseEvent", "looseEvents", "region", "subscriptionKey"]); void 0 !== n && (console.warn('web-speech-cognitive-services: The option "looseEvent" should be named as "looseEvents".'), i = n); if (!r) { if (!t && !d) throw new Error("web-speech-cognitive-services: Credentials must be specified."); console.warn("web-speech-cognitive-services: We are deprecating authorizationToken, region, and subscriptionKey. Please use credentials instead. The deprecated option will be removed on or after 2020-11-14."), r = function() { var e = (0, a.default)(o.default.mark((function e() { return o.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (!t) { e.next = 8; break } return e.next = 3, (0, u.default)(t); case 3: e.t1 = e.sent, e.t2 = p, e.t0 = { authorizationToken: e.t1, region: e.t2 }, e.next = 13; break; case 8: return e.t3 = p, e.next = 11, (0, u.default)(d); case 11: e.t4 = e.sent, e.t0 = { region: e.t3, subscriptionKey: e.t4 }; case 13: return e.abrupt("return", e.t0); case 14: case "end": return e.stop() } }), e) }))); return function() { return e.apply(this, arguments) } }() } return l(l({}, h), {}, { fetchCredentials: (v = (0, a.default)(o.default.mark((function e() { var t, n, i, a, s, c, l, p; return o.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, u.default)(r); case 2: if (t = e.sent, n = t.authorizationToken, i = t.customVoiceHostname, a = t.region, s = t.speechRecognitionHostname, c = t.speechSynthesisHostname, l = t.subscriptionKey, !(!n && !l || n && l)) { e.next = 13; break } throw new Error('web-speech-cognitive-services: Either "authorizationToken" or "subscriptionKey" must be provided.'); case 13: if (a || s && c) { e.next = 17; break } throw new Error('web-speech-cognitive-services: Either "region" or "speechRecognitionHostname" and "speechSynthesisHostname" must be set.'); case 17: if (!a || !(i || s || c)) { e.next = 21; break } throw new Error('web-speech-cognitive-services: Only either "region" or "customVoiceHostname", "speechRecognitionHostname" and "speechSynthesisHostname" can be set.'); case 21: if (!n) { e.next = 26; break } if ("string" == typeof n) { e.next = 24; break } throw new Error('web-speech-cognitive-services: "authorizationToken" must be a string.'); case 24: e.next = 28; break; case 26: if ("string" == typeof l) { e.next = 28; break } throw new Error('web-speech-cognitive-services: "subscriptionKey" must be a string.'); case 28: return f && l && (console.warn("web-speech-cognitive-services: In production environment, subscription key should not be used, authorization token should be used instead."), f = !1), p = n ? { authorizationToken: n } : { subscriptionKey: l }, a ? p.region = a : (p.customVoiceHostname = i, p.speechRecognitionHostname = s, p.speechSynthesisHostname = c), e.abrupt("return", p); case 32: case "end": return e.stop() } }), e) }))), function() { return v.apply(this, arguments) }), looseEvents: i }); var v }; var i = n(r(218)), o = n(r(95)), a = n(r(96)), s = n(r(1881)), u = n(r(1883)); function c(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function l(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? c(Object(r), !0).forEach((function(t) { (0, i.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : c(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var f = !0 }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(152)), o = n(r(158)), a = function() { function e(t) { var r = t.gender, n = t.lang, o = t.voiceURI; (0, i.default)(this, e), this._default = !1, this._gender = r, this._lang = n, this._localService = !1, this._name = o, this._voiceURI = o } return (0, o.default)(e, [{ key: "default", get: function() { return this._default } }, { key: "gender", get: function() { return this._gender } }, { key: "lang", get: function() { return this._lang } }, { key: "localService", get: function() { return this._localService } }, { key: "name", get: function() { return this._name } }, { key: "voiceURI", get: function() { return this._voiceURI } }]), e }(); t.default = a }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(152)); t.default = function e(t) { (0, i.default)(this, e), this.type = t } }, function(e, t, r) { var n = r(153), i = r(1673), o = r(704), a = r(348), s = r(1675), u = r(97), c = r(1676), l = Object.getOwnPropertyDescriptor; t.f = n ? l : function(e, t) { if (e = a(e), t = s(t, !0), c) try { return l(e, t) } catch (e) {} if (u(e, t)) return o(!i.f.call(e, t), e[t]) } }, function(e, t, r) { "use strict"; var n = {}.propertyIsEnumerable, i = Object.getOwnPropertyDescriptor, o = i && !n.call({ 1: 2 }, 1); t.f = o ? function(e) { var t = i(this, e); return !!t && t.enumerable } : n }, function(e, t) { var r = {}.toString; e.exports = function(e) { return r.call(e).slice(8, -1) } }, function(e, t, r) { var n = r(220); e.exports = function(e, t) { if (!n(e)) return e; var r, i; if (t && "function" == typeof(r = e.toString) && !n(i = r.call(e))) return i; if ("function" == typeof(r = e.valueOf) && !n(i = r.call(e))) return i; if (!t && "function" == typeof(r = e.toString) && !n(i = r.call(e))) return i; throw TypeError("Can't convert object to primitive value") } }, function(e, t, r) { var n = r(153), i = r(219), o = r(1677); e.exports = !n && !i((function() { return 7 != Object.defineProperty(o("div"), "a", { get: function() { return 7 } }).a })) }, function(e, t, r) { var n = r(76), i = r(220), o = n.document, a = i(o) && i(o.createElement); e.exports = function(e) { return a ? o.createElement(e) : {} } }, function(e, t, r) { var n = r(1679), i = Function.toString; "function" != typeof n.inspectSource && (n.inspectSource = function(e) { return i.call(e) }), e.exports = n.inspectSource }, function(e, t, r) { var n = r(76), i = r(706), o = n["__core-js_shared__"] || i("__core-js_shared__", {}); e.exports = o }, function(e, t, r) { var n = r(708), i = r(1679); (e.exports = function(e, t) { return i[e] || (i[e] = void 0 !== t ? t : {}) })("versions", []).push({ version: "3.6.4", mode: n ? "pure" : "global", copyright: "\xa9 2020 Denis Pushkarev (zloirock.ru)" }) }, function(e, t) { var r = 0, n = Math.random(); e.exports = function(e) { return "Symbol(" + String(void 0 === e ? "" : e) + ")_" + (++r + n).toString(36) } }, function(e, t, r) { var n = r(97), i = r(348), o = r(1912).indexOf, a = r(709); e.exports = function(e, t) { var r, s = i(e), u = 0, c = []; for (r in s) !n(a, r) && n(s, r) && c.push(r); for (; t.length > u;) n(s, r = t[u++]) && (~o(c, r) || c.push(r)); return c } }, function(e, t, r) { var n = r(711), i = Math.min; e.exports = function(e) { return e > 0 ? i(n(e), 9007199254740991) : 0 } }, function(e, t, r) { var n = r(1682), i = r(712); e.exports = Object.keys || function(e) { return n(e, i) } }, function(e, t) { function r(t) { return "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? e.exports = r = function(e) { return typeof e } : e.exports = r = function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e }, r(t) } e.exports = r }, function(e, t, r) { var n = r(1924), i = r(1925), o = r(1926); e.exports = function(e) { return n(e) || i(e) || o() } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(702), i = { AudioConfig: n.AudioConfig, OutputFormat: n.OutputFormat, ResultReason: n.ResultReason, SpeechConfig: n.SpeechConfig, SpeechRecognizer: n.SpeechRecognizer }; t.default = i }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}; if ("error" === e) { if ("function" == typeof ErrorEvent) return new ErrorEvent(e, t) } else if ("function" == typeof CustomEvent) return new CustomEvent(e, t); var r = document.createEvent("Event"); return r.initEvent(e, !0, !0), Object.entries(t).forEach((function(e) { var t = (0, i.default)(e, 2), n = t[0], o = t[1]; r[n] = o })), r }; var i = n(r(1936)) }, function(e, t, r) { "use strict"; var n = r(713), i = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(349)), a = i(r(714)), s = i(r(715)), u = i(r(716)), c = n(r(717)); var l = function(e) { (0, a.default)(r, e); var t = function(e) { function t() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0 } catch (e) { return !1 } } return function() { var r, n = (0, u.default)(e); if (t()) { var i = (0, u.default)(this).constructor; r = Reflect.construct(n, arguments, i) } else r = n.apply(this, arguments); return (0, s.default)(this, r) } }(r); function r(e) { var n; if ((0, o.default)(this, r), n = t.call(this), e && (!e.format || !e.streamReader)) throw new Error("The first argument must be a Cognitive Services audio stream."); return n.audioStream = e, n } return r }(c.default); (0, c.defineEventAttribute)(l, "boundary"), (0, c.defineEventAttribute)(l, "end"), (0, c.defineEventAttribute)(l, "error"), (0, c.defineEventAttribute)(l, "start"); var f = l; t.default = f }, function(e, t, r) { var n = r(219); e.exports = !!Object.getOwnPropertySymbols && !n((function() { return !String(Symbol()) })) }, function(e, t) { e.exports = function(e) { if ("function" != typeof e) throw TypeError(String(e) + " is not a function"); return e } }, function(e, t, r) { var n = r(1693), i = r(351), o = r(77)("iterator"); e.exports = function(e) { if (null != e) return e[o] || e["@@iterator"] || i[n(e)] } }, function(e, t, r) { var n = r(719), i = r(1674), o = r(77)("toStringTag"), a = "Arguments" == i(function() { return arguments }()); e.exports = n ? i : function(e) { var t, r, n; return void 0 === e ? "Undefined" : null === e ? "Null" : "string" == typeof(r = function(e, t) { try { return e[t] } catch (e) {} }(t = Object(e), o)) ? r : a ? i(t) : "Object" == (n = i(t)) && "function" == typeof t.callee ? "Arguments" : n } }, function(e, t, r) { "use strict"; var n = r(703), i = r(1969), o = r(1696), a = r(1974), s = r(1698), u = r(154), c = r(368), l = r(77), f = r(708), p = r(351), d = r(1695), h = d.IteratorPrototype, v = d.BUGGY_SAFARI_ITERATORS, m = l("iterator"), y = function() { return this }; e.exports = function(e, t, r, l, d, b, g) { i(r, t, l); var _, T, S, A = function(e) { if (e === d && I) return I; if (!v && e in O) return O[e]; switch (e) { case "keys": case "values": case "entries": return function() { return new r(this, e) } } return function() { return new r(this) } }, E = t + " Iterator", C = !1, O = e.prototype, w = O[m] || O["@@iterator"] || d && O[d], I = !v && w || A(d), P = "Array" == t && O.entries || w; if (P && (_ = o(P.call(new e)), h !== Object.prototype && _.next && (f || o(_) === h || (a ? a(_, h) : "function" != typeof _[m] && u(_, m, y)), s(_, E, !0, !0), f && (p[E] = y))), "values" == d && w && "values" !== w.name && (C = !0, I = function() { return w.call(this) }), f && !g || O[m] === I || u(O, m, I), p[t] = I, d) if (T = { values: A("values"), keys: b ? I : A("keys"), entries: A("entries") }, g) for (S in T) !v && !C && S in O || c(O, S, T[S]); else n({ target: t, proto: !0, forced: v || C }, T); return T } }, function(e, t, r) { "use strict"; var n, i, o, a = r(1696), s = r(154), u = r(97), c = r(77), l = r(708), f = c("iterator"), p = !1; [].keys && ("next" in (o = [].keys()) ? (i = a(a(o))) !== Object.prototype && (n = i) : p = !0), null == n && (n = {}), l || u(n, f) || s(n, f, (function() { return this })), e.exports = { IteratorPrototype: n, BUGGY_SAFARI_ITERATORS: p } }, function(e, t, r) { var n = r(97), i = r(1970), o = r(707), a = r(1971), s = o("IE_PROTO"), u = Object.prototype; e.exports = a ? Object.getPrototypeOf : function(e) { return e = i(e), n(e, s) ? e[s] : "function" == typeof e.constructor && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? u : null } }, function(e, t, r) { var n, i = r(114), o = r(1972), a = r(712), s = r(709), u = r(1973), c = r(1677), l = r(707), f = l("IE_PROTO"), p = function() {}, d = function(e) { return "<script>" + e + "<\/script>" }, h = function() { try { n = document.domain && new ActiveXObject("htmlfile") } catch (e) {} var e, t; h = n ? function(e) { e.write(d("")), e.close(); var t = e.parentWindow.Object; return e = null, t }(n) : ((t = c("iframe")).style.display = "none", u.appendChild(t), t.src = String("javascript:"), (e = t.contentWindow.document).open(), e.write(d("document.F=Object")), e.close(), e.F); for (var r = a.length; r--;) delete h.prototype[a[r]]; return h() }; s[f] = !0, e.exports = Object.create || function(e, t) { var r; return null !== e ? (p.prototype = i(e), r = new p, p.prototype = null, r[f] = e) : r = h(), void 0 === t ? r : o(r, t) } }, function(e, t, r) { var n = r(155).f, i = r(97), o = r(77)("toStringTag"); e.exports = function(e, t, r) { e && !i(e = r ? e : e.prototype, o) && n(e, o, { configurable: !0, value: t }) } }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return e = function(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? c(Object(r), !0).forEach((function(t) { (0, i.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : c(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e }({}, o.defaultStyleOptions, {}, e), { adaptiveCardRenderer: (0, a.default)(e), animationCardAttachment: (0, s.default)(e), audioCardAttachment: (0, u.default)(e) } }; var i = n(r(93)), o = r(37), a = n(r(1985)), s = n(r(1986)), u = n(r(1987)); function c(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } }, function(e, t) { function r() { return e.exports = r = Object.assign || function(e) { for (var t = 1; t < arguments.length; t++) { var r = arguments[t]; for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]) } return e }, r.apply(this, arguments) } e.exports = r }, function(e, t, r) { var n = r(1989); e.exports = function(e, t) { if (null == e) return {}; var r, i, o = n(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (i = 0; i < a.length; i++) r = a[i], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (o[r] = e[r]) } return o } }, function(e, t, r) { "use strict"; var n = r(16), i = r(78); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(1638)), a = n(r(31)), s = i(r(0)), u = n(r(1636)), c = function(e) { var t = e.adaptiveCardsHostConfig, r = e.adaptiveCardsPackage, n = e.children, i = (0, s.useMemo)((function() { return r || o }), [r]), a = (0, s.useMemo)((function() { return { adaptiveCardsPackage: i, hostConfigFromProps: t } }), [t, i]); return s.default.createElement(u.default.Provider, { value: a }, n) }; c.defaultProps = { adaptiveCardsHostConfig: void 0, adaptiveCardsPackage: void 0, children: void 0 }, c.propTypes = { adaptiveCardsHostConfig: a.default.any, adaptiveCardsPackage: a.default.any, children: a.default.any }; var l = c; t.default = l }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.attachmentMiddleware, r = e.renderMarkdown, n = e.styleOptions, f = e.styleSet, p = (0, o.useMemo)((function() { return (0, a.concatMiddleware)(t, (0, s.default)()) }), [t]), d = (0, o.useMemo)((function() { return function(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? l(Object(r), !0).forEach((function(t) { (0, i.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : l(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e }({}, a.defaultStyleOptions, {}, n) }), [n]), h = (0, o.useMemo)((function() { return f ? void 0 : (0, u.default)(d) }), [d, f]), v = (0, o.useMemo)((function() { return void 0 === r ? function(e) { return (0, c.default)(e, d) } : r }), [d, r]); return { attachmentMiddleware: p, extraStyleSet: h, renderMarkdown: v } }; var i = n(r(93)), o = r(0), a = r(37), s = n(r(1641)), u = n(r(1699)), c = n(r(1704)); function l(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { t.markdownRespectCRLF && (e = e.replace(/\n\r|\r\n/g, (function(e) { return "\n\r" === e ? "\r\n" : "\n\r" }))); var r = c.render(e); return (0, s.default)(r, u) }; var i = n(r(1990)), o = n(r(1991)), a = n(r(2044)), s = n(r(2045)), u = { allowedAttributes: { a: ["aria-label", "href", "name", "rel", "target", "title"], img: ["alt", "src"] }, allowedSchemes: ["data", "http", "https", "ftp", "mailto", "sip", "tel"], allowedTags: ["a", "b", "blockquote", "br", "caption", "code", "div", "em", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "img", "li", "nl", "ol", "p", "pre", "span", "strike", "strong", "table", "tbody", "td", "tfoot", "th", "thead", "tr", "ul"] }, c = new o.default({ breaks: !1, html: !1, linkify: !0, typographer: !0, xhtmlOut: !0 }).use(a.default).use(i.default, "url_new_win", "link_open", (function(e, t) { var r = e[t].attrIndex("target"); ~r ? e[t].attrs[r][1] = "_blank" : e[t].attrPush(["target", "_blank"]); var n = e[t].attrIndex("rel"); ~n ? e[t].attrs[n][1] = "noopener noreferrer" : e[t].attrPush(["rel", "noopener noreferrer"]) })) }, function(e, t, r) { "use strict"; e.exports = r(720) }, function(e, t, r) { "use strict"; e.exports.encode = r(1993), e.exports.decode = r(1994), e.exports.format = r(1995), e.exports.parse = r(1996) }, function(e, t) { e.exports = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/ }, function(e, t) { e.exports = /[\0-\x1F\x7F-\x9F]/ }, function(e, t) { e.exports = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/ }, function(e, t, r) { "use strict"; var n = "<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>", i = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", o = new RegExp("^(?:" + n + "|" + i + "|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"), a = new RegExp("^(?:" + n + "|" + i + ")"); e.exports.HTML_TAG_RE = o, e.exports.HTML_OPEN_CLOSE_TAG_RE = a }, function(e, t, r) { "use strict"; function n(e, t) { var r, n, i, o, a, s = [], u = t.length; for (r = 0; r < u; r++) 126 === (i = t[r]).marker && -1 !== i.end && (o = t[i.end], (a = e.tokens[i.token]).type = "s_open", a.tag = "s", a.nesting = 1, a.markup = "~~", a.content = "", (a = e.tokens[o.token]).type = "s_close", a.tag = "s", a.nesting = -1, a.markup = "~~", a.content = "", "text" === e.tokens[o.token - 1].type && "~" === e.tokens[o.token - 1].content && s.push(o.token - 1)); for (; s.length;) { for (n = (r = s.pop()) + 1; n < e.tokens.length && "s_close" === e.tokens[n].type;) n++; r !== --n && (a = e.tokens[n], e.tokens[n] = e.tokens[r], e.tokens[r] = a) } } e.exports.tokenize = function(e, t) { var r, n, i, o, a = e.pos, s = e.src.charCodeAt(a); if (t) return !1; if (126 !== s) return !1; if (i = (n = e.scanDelims(e.pos, !0)).length, o = String.fromCharCode(s), i < 2) return !1; for (i % 2 && (e.push("text", "", 0).content = o, i--), r = 0; r < i; r += 2) e.push("text", "", 0).content = o + o, e.delimiters.push({ marker: s, length: 0, jump: r, token: e.tokens.length - 1, end: -1, open: n.can_open, close: n.can_close }); return e.pos += n.length, !0 }, e.exports.postProcess = function(e) { var t, r = e.tokens_meta, i = e.tokens_meta.length; for (n(e, e.delimiters), t = 0; t < i; t++) r[t] && r[t].delimiters && n(e, r[t].delimiters) } }, function(e, t, r) { "use strict"; function n(e, t) { var r, n, i, o, a, s; for (r = t.length - 1; r >= 0; r--) 95 !== (n = t[r]).marker && 42 !== n.marker || -1 !== n.end && (i = t[n.end], s = r > 0 && t[r - 1].end === n.end + 1 && t[r - 1].token === n.token - 1 && t[n.end + 1].token === i.token + 1 && t[r - 1].marker === n.marker, a = String.fromCharCode(n.marker), (o = e.tokens[n.token]).type = s ? "strong_open" : "em_open", o.tag = s ? "strong" : "em", o.nesting = 1, o.markup = s ? a + a : a, o.content = "", (o = e.tokens[i.token]).type = s ? "strong_close" : "em_close", o.tag = s ? "strong" : "em", o.nesting = -1, o.markup = s ? a + a : a, o.content = "", s && (e.tokens[t[r - 1].token].content = "", e.tokens[t[n.end + 1].token].content = "", r--)) } e.exports.tokenize = function(e, t) { var r, n, i = e.pos, o = e.src.charCodeAt(i); if (t) return !1; if (95 !== o && 42 !== o) return !1; for (n = e.scanDelims(e.pos, 42 === o), r = 0; r < n.length; r++) e.push("text", "", 0).content = String.fromCharCode(o), e.delimiters.push({ marker: o, length: n.length, jump: r, token: e.tokens.length - 1, end: -1, open: n.can_open, close: n.can_close }); return e.pos += n.length, !0 }, e.exports.postProcess = function(e) { var t, r = e.tokens_meta, i = e.tokens_meta.length; for (n(e, e.delimiters), t = 0; t < i; t++) r[t] && r[t].delimiters && n(e, r[t].delimiters) } }, function(e, t, r) { var n = r(1714), i = { input: !0, option: !0, optgroup: !0, select: !0, button: !0, datalist: !0, textarea: !0 }, o = { tr: { tr: !0, th: !0, td: !0 }, th: { th: !0 }, td: { thead: !0, th: !0, td: !0 }, body: { head: !0, link: !0, script: !0 }, li: { li: !0 }, p: { p: !0 }, h1: { p: !0 }, h2: { p: !0 }, h3: { p: !0 }, h4: { p: !0 }, h5: { p: !0 }, h6: { p: !0 }, select: i, input: i, output: i, button: i, datalist: i, textarea: i, option: { option: !0 }, optgroup: { optgroup: !0 } }, a = { __proto__: null, area: !0, base: !0, basefont: !0, br: !0, col: !0, command: !0, embed: !0, frame: !0, hr: !0, img: !0, input: !0, isindex: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 }, s = { __proto__: null, math: !0, svg: !0 }, u = { __proto__: null, mi: !0, mo: !0, mn: !0, ms: !0, mtext: !0, "annotation-xml": !0, foreignObject: !0, desc: !0, title: !0 }, c = /\s|\//; function l(e, t) { this._options = t || {}, this._cbs = e || {}, this._tagname = "", this._attribname = "", this._attribvalue = "", this._attribs = null, this._stack = [], this._foreignContext = [], this.startIndex = 0, this.endIndex = null, this._lowerCaseTagNames = "lowerCaseTags" in this._options ? !!this._options.lowerCaseTags : !this._options.xmlMode, this._lowerCaseAttributeNames = "lowerCaseAttributeNames" in this._options ? !!this._options.lowerCaseAttributeNames : !this._options.xmlMode, this._options.Tokenizer && (n = this._options.Tokenizer), this._tokenizer = new n(this._options, this), this._cbs.onparserinit && this._cbs.onparserinit(this) } r(2)(l, r(108).EventEmitter), l.prototype._updatePosition = function(e) { null === this.endIndex ? this._tokenizer._sectionStart <= e ? this.startIndex = 0 : this.startIndex = this._tokenizer._sectionStart - e : this.startIndex = this.endIndex + 1, this.endIndex = this._tokenizer.getAbsoluteIndex() }, l.prototype.ontext = function(e) { this._updatePosition(1), this.endIndex--, this._cbs.ontext && this._cbs.ontext(e) }, l.prototype.onopentagname = function(e) { if (this._lowerCaseTagNames && (e = e.toLowerCase()), this._tagname = e, !this._options.xmlMode && e in o) for (var t; (t = this._stack[this._stack.length - 1]) in o[e]; this.onclosetag(t)); !this._options.xmlMode && e in a || (this._stack.push(e), e in s ? this._foreignContext.push(!0) : e in u && this._foreignContext.push(!1)), this._cbs.onopentagname && this._cbs.onopentagname(e), this._cbs.onopentag && (this._attribs = {}) }, l.prototype.onopentagend = function() { this._updatePosition(1), this._attribs && (this._cbs.onopentag && this._cbs.onopentag(this._tagname, this._attribs), this._attribs = null), !this._options.xmlMode && this._cbs.onclosetag && this._tagname in a && this._cbs.onclosetag(this._tagname), this._tagname = "" }, l.prototype.onclosetag = function(e) { if (this._updatePosition(1), this._lowerCaseTagNames && (e = e.toLowerCase()), (e in s || e in u) && this._foreignContext.pop(), !this._stack.length || e in a && !this._options.xmlMode) this._options.xmlMode || "br" !== e && "p" !== e || (this.onopentagname(e), this._closeCurrentTag()); else { var t = this._stack.lastIndexOf(e); if (-1 !== t) if (this._cbs.onclosetag) for (t = this._stack.length - t; t--;) this._cbs.onclosetag(this._stack.pop()); else this._stack.length = t; else "p" !== e || this._options.xmlMode || (this.onopentagname(e), this._closeCurrentTag()) } }, l.prototype.onselfclosingtag = function() { this._options.xmlMode || this._options.recognizeSelfClosing || this._foreignContext[this._foreignContext.length - 1] ? this._closeCurrentTag() : this.onopentagend() }, l.prototype._closeCurrentTag = function() { var e = this._tagname; this.onopentagend(), this._stack[this._stack.length - 1] === e && (this._cbs.onclosetag && this._cbs.onclosetag(e), this._stack.pop()) }, l.prototype.onattribname = function(e) { this._lowerCaseAttributeNames && (e = e.toLowerCase()), this._attribname = e }, l.prototype.onattribdata = function(e) { this._attribvalue += e }, l.prototype.onattribend = function() { this._cbs.onattribute && this._cbs.onattribute(this._attribname, this._attribvalue), this._attribs && !Object.prototype.hasOwnProperty.call(this._attribs, this._attribname) && (this._attribs[this._attribname] = this._attribvalue), this._attribname = "", this._attribvalue = "" }, l.prototype._getInstructionName = function(e) { var t = e.search(c), r = t < 0 ? e : e.substr(0, t); return this._lowerCaseTagNames && (r = r.toLowerCase()), r }, l.prototype.ondeclaration = function(e) { if (this._cbs.onprocessinginstruction) { var t = this._getInstructionName(e); this._cbs.onprocessinginstruction("!" + t, "!" + e) } }, l.prototype.onprocessinginstruction = function(e) { if (this._cbs.onprocessinginstruction) { var t = this._getInstructionName(e); this._cbs.onprocessinginstruction("?" + t, "?" + e) } }, l.prototype.oncomment = function(e) { this._updatePosition(4), this._cbs.oncomment && this._cbs.oncomment(e), this._cbs.oncommentend && this._cbs.oncommentend() }, l.prototype.oncdata = function(e) { this._updatePosition(1), this._options.xmlMode || this._options.recognizeCDATA ? (this._cbs.oncdatastart && this._cbs.oncdatastart(), this._cbs.ontext && this._cbs.ontext(e), this._cbs.oncdataend && this._cbs.oncdataend()) : this.oncomment("[CDATA[" + e + "]]") }, l.prototype.onerror = function(e) { this._cbs.onerror && this._cbs.onerror(e) }, l.prototype.onend = function() { if (this._cbs.onclosetag) for (var e = this._stack.length; e > 0; this._cbs.onclosetag(this._stack[--e])); this._cbs.onend && this._cbs.onend() }, l.prototype.reset = function() { this._cbs.onreset && this._cbs.onreset(), this._tokenizer.reset(), this._tagname = "", this._attribname = "", this._attribs = null, this._stack = [], this._cbs.onparserinit && this._cbs.onparserinit(this) }, l.prototype.parseComplete = function(e) { this.reset(), this.end(e) }, l.prototype.write = function(e) { this._tokenizer.write(e) }, l.prototype.end = function(e) { this._tokenizer.end(e) }, l.prototype.pause = function() { this._tokenizer.pause() }, l.prototype.resume = function() { this._tokenizer.resume() }, l.prototype.parseChunk = l.prototype.write, l.prototype.done = l.prototype.end, e.exports = l }, function(e, t, r) { e.exports = me; var n = r(2046), i = r(2048), o = r(2049), a = r(2050), s = 0, u = s++, c = s++, l = s++, f = s++, p = s++, d = s++, h = s++, v = s++, m = s++, y = s++, b = s++, g = s++, _ = s++, T = s++, S = s++, A = s++, E = s++, C = s++, O = s++, w = s++, I = s++, P = s++, x = s++, N = s++, k = s++, R = s++, L = s++, M = s++, j = s++, D = s++, U = s++, B = s++, F = s++, z = s++, V = s++, G = s++, q = s++, H = s++, W = s++, Y = s++, K = s++, $ = s++, J = s++, X = s++, Z = s++, Q = s++, ee = s++, te = s++, re = s++, ne = s++, ie = s++, oe = s++, ae = s++, se = s++, ue = s++, ce = 0, le = ce++, fe = ce++, pe = ce++; function de(e) { return " " === e || "\n" === e || "\t" === e || "\f" === e || "\r" === e } function he(e, t, r) { var n = e.toLowerCase(); return e === n ? function(e) { e === n ? this._state = t : (this._state = r, this._index--) } : function(i) { i === n || i === e ? this._state = t : (this._state = r, this._index--) } } function ve(e, t) { var r = e.toLowerCase(); return function(n) { n === r || n === e ? this._state = t : (this._state = l, this._index--) } } function me(e, t) { this._state = u, this._buffer = "", this._sectionStart = 0, this._index = 0, this._bufferOffset = 0, this._baseState = u, this._special = le, this._cbs = t, this._running = !0, this._ended = !1, this._xmlMode = !(!e || !e.xmlMode), this._decodeEntities = !(!e || !e.decodeEntities) } me.prototype._stateText = function(e) { "<" === e ? (this._index > this._sectionStart && this._cbs.ontext(this._getSection()), this._state = c, this._sectionStart = this._index) : this._decodeEntities && this._special === le && "&" === e && (this._index > this._sectionStart && this._cbs.ontext(this._getSection()), this._baseState = u, this._state = ie, this._sectionStart = this._index) }, me.prototype._stateBeforeTagName = function(e) { "/" === e ? this._state = p : "<" === e ? (this._cbs.ontext(this._getSection()), this._sectionStart = this._index) : ">" === e || this._special !== le || de(e) ? this._state = u : "!" === e ? (this._state = S, this._sectionStart = this._index + 1) : "?" === e ? (this._state = E, this._sectionStart = this._index + 1) : (this._state = this._xmlMode || "s" !== e && "S" !== e ? l : U, this._sectionStart = this._index) }, me.prototype._stateInTagName = function(e) { ("/" === e || ">" === e || de(e)) && (this._emitToken("onopentagname"), this._state = v, this._index--) }, me.prototype._stateBeforeCloseingTagName = function(e) { de(e) || (">" === e ? this._state = u : this._special !== le ? "s" === e || "S" === e ? this._state = B : (this._state = u, this._index--) : (this._state = d, this._sectionStart = this._index)) }, me.prototype._stateInCloseingTagName = function(e) { (">" === e || de(e)) && (this._emitToken("onclosetag"), this._state = h, this._index--) }, me.prototype._stateAfterCloseingTagName = function(e) { ">" === e && (this._state = u, this._sectionStart = this._index + 1) }, me.prototype._stateBeforeAttributeName = function(e) { ">" === e ? (this._cbs.onopentagend(), this._state = u, this._sectionStart = this._index + 1) : "/" === e ? this._state = f : de(e) || (this._state = m, this._sectionStart = this._index) }, me.prototype._stateInSelfClosingTag = function(e) { ">" === e ? (this._cbs.onselfclosingtag(), this._state = u, this._sectionStart = this._index + 1) : de(e) || (this._state = v, this._index--) }, me.prototype._stateInAttributeName = function(e) { ("=" === e || "/" === e || ">" === e || de(e)) && (this._cbs.onattribname(this._getSection()), this._sectionStart = -1, this._state = y, this._index--) }, me.prototype._stateAfterAttributeName = function(e) { "=" === e ? this._state = b : "/" === e || ">" === e ? (this._cbs.onattribend(), this._state = v, this._index--) : de(e) || (this._cbs.onattribend(), this._state = m, this._sectionStart = this._index) }, me.prototype._stateBeforeAttributeValue = function(e) { '"' === e ? (this._state = g, this._sectionStart = this._index + 1) : "'" === e ? (this._state = _, this._sectionStart = this._index + 1) : de(e) || (this._state = T, this._sectionStart = this._index, this._index--) }, me.prototype._stateInAttributeValueDoubleQuotes = function(e) { '"' === e ? (this._emitToken("onattribdata"), this._cbs.onattribend(), this._state = v) : this._decodeEntities && "&" === e && (this._emitToken("onattribdata"), this._baseState = this._state, this._state = ie, this._sectionStart = this._index) }, me.prototype._stateInAttributeValueSingleQuotes = function(e) { "'" === e ? (this._emitToken("onattribdata"), this._cbs.onattribend(), this._state = v) : this._decodeEntities && "&" === e && (this._emitToken("onattribdata"), this._baseState = this._state, this._state = ie, this._sectionStart = this._index) }, me.prototype._stateInAttributeValueNoQuotes = function(e) { de(e) || ">" === e ? (this._emitToken("onattribdata"), this._cbs.onattribend(), this._state = v, this._index--) : this._decodeEntities && "&" === e && (this._emitToken("onattribdata"), this._baseState = this._state, this._state = ie, this._sectionStart = this._index) }, me.prototype._stateBeforeDeclaration = function(e) { this._state = "[" === e ? P : "-" === e ? C : A }, me.prototype._stateInDeclaration = function(e) { ">" === e && (this._cbs.ondeclaration(this._getSection()), this._state = u, this._sectionStart = this._index + 1) }, me.prototype._stateInProcessingInstruction = function(e) { ">" === e && (this._cbs.onprocessinginstruction(this._getSection()), this._state = u, this._sectionStart = this._index + 1) }, me.prototype._stateBeforeComment = function(e) { "-" === e ? (this._state = O, this._sectionStart = this._index + 1) : this._state = A }, me.prototype._stateInComment = function(e) { "-" === e && (this._state = w) }, me.prototype._stateAfterComment1 = function(e) { this._state = "-" === e ? I : O }, me.prototype._stateAfterComment2 = function(e) { ">" === e ? (this._cbs.oncomment(this._buffer.substring(this._sectionStart, this._index - 2)), this._state = u, this._sectionStart = this._index + 1) : "-" !== e && (this._state = O) }, me.prototype._stateBeforeCdata1 = he("C", x, A), me.prototype._stateBeforeCdata2 = he("D", N, A), me.prototype._stateBeforeCdata3 = he("A", k, A), me.prototype._stateBeforeCdata4 = he("T", R, A), me.prototype._stateBeforeCdata5 = he("A", L, A), me.prototype._stateBeforeCdata6 = function(e) { "[" === e ? (this._state = M, this._sectionStart = this._index + 1) : (this._state = A, this._index--) }, me.prototype._stateInCdata = function(e) { "]" === e && (this._state = j) }, me.prototype._stateAfterCdata1 = function(e) { this._state = "]" === e ? D : M }, me.prototype._stateAfterCdata2 = function(e) { ">" === e ? (this._cbs.oncdata(this._buffer.substring(this._sectionStart, this._index - 2)), this._state = u, this._sectionStart = this._index + 1) : "]" !== e && (this._state = M) }, me.prototype._stateBeforeSpecial = function(e) { "c" === e || "C" === e ? this._state = F : "t" === e || "T" === e ? this._state = J : (this._state = l, this._index--) }, me.prototype._stateBeforeSpecialEnd = function(e) { this._special !== fe || "c" !== e && "C" !== e ? this._special !== pe || "t" !== e && "T" !== e ? this._state = u : this._state = ee : this._state = H }, me.prototype._stateBeforeScript1 = ve("R", z), me.prototype._stateBeforeScript2 = ve("I", V), me.prototype._stateBeforeScript3 = ve("P", G), me.prototype._stateBeforeScript4 = ve("T", q), me.prototype._stateBeforeScript5 = function(e) { ("/" === e || ">" === e || de(e)) && (this._special = fe), this._state = l, this._index-- }, me.prototype._stateAfterScript1 = he("R", W, u), me.prototype._stateAfterScript2 = he("I", Y, u), me.prototype._stateAfterScript3 = he("P", K, u), me.prototype._stateAfterScript4 = he("T", $, u), me.prototype._stateAfterScript5 = function(e) { ">" === e || de(e) ? (this._special = le, this._state = d, this._sectionStart = this._index - 6, this._index--) : this._state = u }, me.prototype._stateBeforeStyle1 = ve("Y", X), me.prototype._stateBeforeStyle2 = ve("L", Z), me.prototype._stateBeforeStyle3 = ve("E", Q), me.prototype._stateBeforeStyle4 = function(e) { ("/" === e || ">" === e || de(e)) && (this._special = pe), this._state = l, this._index-- }, me.prototype._stateAfterStyle1 = he("Y", te, u), me.prototype._stateAfterStyle2 = he("L", re, u), me.prototype._stateAfterStyle3 = he("E", ne, u), me.prototype._stateAfterStyle4 = function(e) { ">" === e || de(e) ? (this._special = le, this._state = d, this._sectionStart = this._index - 5, this._index--) : this._state = u }, me.prototype._stateBeforeEntity = he("#", oe, ae), me.prototype._stateBeforeNumericEntity = he("X", ue, se), me.prototype._parseNamedEntityStrict = function() { if (this._sectionStart + 1 < this._index) { var e = this._buffer.substring(this._sectionStart + 1, this._index), t = this._xmlMode ? a : i; t.hasOwnProperty(e) && (this._emitPartial(t[e]), this._sectionStart = this._index + 1) } }, me.prototype._parseLegacyEntity = function() { var e = this._sectionStart + 1, t = this._index - e; for (t > 6 && (t = 6); t >= 2;) { var r = this._buffer.substr(e, t); if (o.hasOwnProperty(r)) return this._emitPartial(o[r]), void(this._sectionStart += t + 1); t-- } }, me.prototype._stateInNamedEntity = function(e) { ";" === e ? (this._parseNamedEntityStrict(), this._sectionStart + 1 < this._index && !this._xmlMode && this._parseLegacyEntity(), this._state = this._baseState) : (e < "a" || e > "z") && (e < "A" || e > "Z") && (e < "0" || e > "9") && (this._xmlMode || this._sectionStart + 1 === this._index || (this._baseState !== u ? "=" !== e && this._parseNamedEntityStrict() : this._parseLegacyEntity()), this._state = this._baseState, this._index--) }, me.prototype._decodeNumericEntity = function(e, t) { var r = this._sectionStart + e; if (r !== this._index) { var i = this._buffer.substring(r, this._index), o = parseInt(i, t); this._emitPartial(n(o)), this._sectionStart = this._index } else this._sectionStart--; this._state = this._baseState }, me.prototype._stateInNumericEntity = function(e) { ";" === e ? (this._decodeNumericEntity(2, 10), this._sectionStart++) : (e < "0" || e > "9") && (this._xmlMode ? this._state = this._baseState : this._decodeNumericEntity(2, 10), this._index--) }, me.prototype._stateInHexEntity = function(e) { ";" === e ? (this._decodeNumericEntity(3, 16), this._sectionStart++) : (e < "a" || e > "f") && (e < "A" || e > "F") && (e < "0" || e > "9") && (this._xmlMode ? this._state = this._baseState : this._decodeNumericEntity(3, 16), this._index--) }, me.prototype._cleanup = function() { this._sectionStart < 0 ? (this._buffer = "", this._bufferOffset += this._index, this._index = 0) : this._running && (this._state === u ? (this._sectionStart !== this._index && this._cbs.ontext(this._buffer.substr(this._sectionStart)), this._buffer = "", this._bufferOffset += this._index, this._index = 0) : this._sectionStart === this._index ? (this._buffer = "", this._bufferOffset += this._index, this._index = 0) : (this._buffer = this._buffer.substr(this._sectionStart), this._index -= this._sectionStart, this._bufferOffset += this._sectionStart), this._sectionStart = 0) }, me.prototype.write = function(e) { this._ended && this._cbs.onerror(Error(".write() after done!")), this._buffer += e, this._parse() }, me.prototype._parse = function() { for (; this._index < this._buffer.length && this._running;) { var e = this._buffer.charAt(this._index); this._state === u ? this._stateText(e) : this._state === c ? this._stateBeforeTagName(e) : this._state === l ? this._stateInTagName(e) : this._state === p ? this._stateBeforeCloseingTagName(e) : this._state === d ? this._stateInCloseingTagName(e) : this._state === h ? this._stateAfterCloseingTagName(e) : this._state === f ? this._stateInSelfClosingTag(e) : this._state === v ? this._stateBeforeAttributeName(e) : this._state === m ? this._stateInAttributeName(e) : this._state === y ? this._stateAfterAttributeName(e) : this._state === b ? this._stateBeforeAttributeValue(e) : this._state === g ? this._stateInAttributeValueDoubleQuotes(e) : this._state === _ ? this._stateInAttributeValueSingleQuotes(e) : this._state === T ? this._stateInAttributeValueNoQuotes(e) : this._state === S ? this._stateBeforeDeclaration(e) : this._state === A ? this._stateInDeclaration(e) : this._state === E ? this._stateInProcessingInstruction(e) : this._state === C ? this._stateBeforeComment(e) : this._state === O ? this._stateInComment(e) : this._state === w ? this._stateAfterComment1(e) : this._state === I ? this._stateAfterComment2(e) : this._state === P ? this._stateBeforeCdata1(e) : this._state === x ? this._stateBeforeCdata2(e) : this._state === N ? this._stateBeforeCdata3(e) : this._state === k ? this._stateBeforeCdata4(e) : this._state === R ? this._stateBeforeCdata5(e) : this._state === L ? this._stateBeforeCdata6(e) : this._state === M ? this._stateInCdata(e) : this._state === j ? this._stateAfterCdata1(e) : this._state === D ? this._stateAfterCdata2(e) : this._state === U ? this._stateBeforeSpecial(e) : this._state === B ? this._stateBeforeSpecialEnd(e) : this._state === F ? this._stateBeforeScript1(e) : this._state === z ? this._stateBeforeScript2(e) : this._state === V ? this._stateBeforeScript3(e) : this._state === G ? this._stateBeforeScript4(e) : this._state === q ? this._stateBeforeScript5(e) : this._state === H ? this._stateAfterScript1(e) : this._state === W ? this._stateAfterScript2(e) : this._state === Y ? this._stateAfterScript3(e) : this._state === K ? this._stateAfterScript4(e) : this._state === $ ? this._stateAfterScript5(e) : this._state === J ? this._stateBeforeStyle1(e) : this._state === X ? this._stateBeforeStyle2(e) : this._state === Z ? this._stateBeforeStyle3(e) : this._state === Q ? this._stateBeforeStyle4(e) : this._state === ee ? this._stateAfterStyle1(e) : this._state === te ? this._stateAfterStyle2(e) : this._state === re ? this._stateAfterStyle3(e) : this._state === ne ? this._stateAfterStyle4(e) : this._state === ie ? this._stateBeforeEntity(e) : this._state === oe ? this._stateBeforeNumericEntity(e) : this._state === ae ? this._stateInNamedEntity(e) : this._state === se ? this._stateInNumericEntity(e) : this._state === ue ? this._stateInHexEntity(e) : this._cbs.onerror(Error("unknown _state"), this._state), this._index++ } this._cleanup() }, me.prototype.pause = function() { this._running = !1 }, me.prototype.resume = function() { this._running = !0, this._index < this._buffer.length && this._parse(), this._ended && this._finish() }, me.prototype.end = function(e) { this._ended && this._cbs.onerror(Error(".end() after done!")), e && this.write(e), this._ended = !0, this._running && this._finish() }, me.prototype._finish = function() { this._sectionStart < this._index && this._handleTrailingData(), this._cbs.onend() }, me.prototype._handleTrailingData = function() { var e = this._buffer.substr(this._sectionStart); this._state === M || this._state === j || this._state === D ? this._cbs.oncdata(e) : this._state === O || this._state === w || this._state === I ? this._cbs.oncomment(e) : this._state !== ae || this._xmlMode ? this._state !== se || this._xmlMode ? this._state !== ue || this._xmlMode ? this._state !== l && this._state !== v && this._state !== b && this._state !== y && this._state !== m && this._state !== _ && this._state !== g && this._state !== T && this._state !== d && this._cbs.ontext(e) : (this._decodeNumericEntity(3, 16), this._sectionStart < this._index && (this._state = this._baseState, this._handleTrailingData())) : (this._decodeNumericEntity(2, 10), this._sectionStart < this._index && (this._state = this._baseState, this._handleTrailingData())) : (this._parseLegacyEntity(), this._sectionStart < this._index && (this._state = this._baseState, this._handleTrailingData())) }, me.prototype.reset = function() { me.call(this, { xmlMode: this._xmlMode, decodeEntities: this._decodeEntities }, this._cbs) }, me.prototype.getAbsoluteIndex = function() { return this._bufferOffset + this._index }, me.prototype._getSection = function() { return this._buffer.substring(this._sectionStart, this._index) }, me.prototype._emitToken = function(e) { this._cbs[e](this._getSection()), this._sectionStart = -1 }, me.prototype._emitPartial = function(e) { this._baseState !== u ? this._cbs.onattribdata(e) : this._cbs.ontext(e) } }, function(e, t, r) { var n = r(352), i = /\s+/g, o = r(1716), a = r(2051); function s(e, t, r) { "object" == typeof e ? (r = t, t = e, e = null) : "function" == typeof t && (r = t, t = u), this._callback = e, this._options = t || u, this._elementCB = r, this.dom = [], this._done = !1, this._tagStack = [], this._parser = this._parser || null } var u = { normalizeWhitespace: !1, withStartIndices: !1, withEndIndices: !1 }; s.prototype.onparserinit = function(e) { this._parser = e }, s.prototype.onreset = function() { s.call(this, this._callback, this._options, this._elementCB) }, s.prototype.onend = function() { this._done || (this._done = !0, this._parser = null, this._handleCallback(null)) }, s.prototype._handleCallback = s.prototype.onerror = function(e) { if ("function" == typeof this._callback) this._callback(e, this.dom); else if (e) throw e }, s.prototype.onclosetag = function() { var e = this._tagStack.pop(); this._options.withEndIndices && e && (e.endIndex = this._parser.endIndex), this._elementCB && this._elementCB(e) }, s.prototype._createDomElement = function(e) { if (!this._options.withDomLvl1) return e; var t; for (var r in t = "tag" === e.type ? Object.create(a) : Object.create(o), e) e.hasOwnProperty(r) && (t[r] = e[r]); return t }, s.prototype._addDomElement = function(e) { var t = this._tagStack[this._tagStack.length - 1], r = t ? t.children : this.dom, n = r[r.length - 1]; e.next = null, this._options.withStartIndices && (e.startIndex = this._parser.startIndex), this._options.withEndIndices && (e.endIndex = this._parser.endIndex), n ? (e.prev = n, n.next = e) : e.prev = null, r.push(e), e.parent = t || null }, s.prototype.onopentag = function(e, t) { var r = { type: "script" === e ? n.Script : "style" === e ? n.Style : n.Tag, name: e, attribs: t, children: [] }, i = this._createDomElement(r); this._addDomElement(i), this._tagStack.push(i) }, s.prototype.ontext = function(e) { var t, r = this._options.normalizeWhitespace || this._options.ignoreWhitespace; if (!this._tagStack.length && this.dom.length && (t = this.dom[this.dom.length - 1]).type === n.Text) r ? t.data = (t.data + e).replace(i, " ") : t.data += e; else if (this._tagStack.length && (t = this._tagStack[this._tagStack.length - 1]) && (t = t.children[t.children.length - 1]) && t.type === n.Text) r ? t.data = (t.data + e).replace(i, " ") : t.data += e; else { r && (e = e.replace(i, " ")); var o = this._createDomElement({ data: e, type: n.Text }); this._addDomElement(o) } }, s.prototype.oncomment = function(e) { var t = this._tagStack[this._tagStack.length - 1]; if (t && t.type === n.Comment) t.data += e; else { var r = { data: e, type: n.Comment }, i = this._createDomElement(r); this._addDomElement(i), this._tagStack.push(i) } }, s.prototype.oncdatastart = function() { var e = { children: [{ data: "", type: n.Text }], type: n.CDATA }, t = this._createDomElement(e); this._addDomElement(t), this._tagStack.push(t) }, s.prototype.oncommentend = s.prototype.oncdataend = function() { this._tagStack.pop() }, s.prototype.onprocessinginstruction = function(e, t) { var r = this._createDomElement({ name: e, data: t, type: n.Directive }); this._addDomElement(r) }, e.exports = s }, function(e, t) { var r = e.exports = { get firstChild() { var e = this.children; return e && e[0] || null }, get lastChild() { var e = this.children; return e && e[e.length - 1] || null }, get nodeType() { return i[this.type] || i.element } }, n = { tagName: "name", childNodes: "children", parentNode: "parent", previousSibling: "prev", nextSibling: "next", nodeValue: "data" }, i = { element: 1, text: 3, cdata: 4, comment: 8 }; Object.keys(n).forEach((function(e) { var t = n[e]; Object.defineProperty(r, e, { get: function() { return this[t] || null }, set: function(e) { return this[t] = e, e } }) })) }, function(e, t, r) { var n = e.exports; [r(2053), r(2061), r(2062), r(2063), r(2064), r(2065)].forEach((function(e) { Object.keys(e).forEach((function(t) { n[t] = e[t].bind(n) })) })) }, function(e, t, r) { "use strict"; var n = this && this.__importDefault || function(e) { return e && e.__esModule ? e : { default: e } }; Object.defineProperty(t, "__esModule", { value: !0 }); var i = n(r(720)), o = n(r(2057)), a = n(r(1719)), s = n(r(2058)); function u(e) { var t = Object.keys(e).join("|"), r = l(e), n = new RegExp("&(?:" + (t += "|#[xX][\\da-fA-F]+|#\\d+") + ");", "g"); return function(e) { return String(e).replace(n, r) } } t.decodeXML = u(a.default), t.decodeHTMLStrict = u(i.default); var c = function(e, t) { return e < t ? 1 : -1 }; function l(e) { return function(t) { return "#" === t.charAt(1) ? "X" === t.charAt(2) || "x" === t.charAt(2) ? s.default(parseInt(t.substr(3), 16)) : s.default(parseInt(t.substr(2), 10)) : e[t.slice(1, -1)] } } t.decodeHTML = function() { for (var e = Object.keys(o.default).sort(c), t = Object.keys(i.default).sort(c), r = 0, n = 0; r < t.length; r++) e[n] === t[r] ? (t[r] += ";?", n++) : t[r] += ";"; var a = new RegExp("&(?:" + t.join("|") + "|#[xX][\\da-fA-F]+;?|#\\d+;?)", "g"), s = l(i.default); function u(e) { return ";" !== e.substr(-1) && (e += ";"), s(e) } return function(e) { return String(e).replace(a, u) } }() }, function(e) { e.exports = JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}') }, function(e, t, r) { "use strict"; var n = this && this.__importDefault || function(e) { return e && e.__esModule ? e : { default: e } }; Object.defineProperty(t, "__esModule", { value: !0 }); var i = u(n(r(1719)).default), o = c(i); t.encodeXML = h(i, o); var a = u(n(r(720)).default), s = c(a); function u(e) { return Object.keys(e).sort().reduce((function(t, r) { return t[e[r]] = "&" + r + ";", t }), {}) } function c(e) { var t = [], r = []; return Object.keys(e).forEach((function(e) { return 1 === e.length ? t.push("\\" + e) : r.push(e) })), r.unshift("[" + t.join("") + "]"), new RegExp(r.join("|"), "g") } t.encodeHTML = h(a, s); var l = /[^\0-\x7F]/g, f = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; function p(e) { return "&#x" + e.charCodeAt(0).toString(16).toUpperCase() + ";" } function d(e, t) { return "&#x" + (1024 * (e.charCodeAt(0) - 55296) + e.charCodeAt(1) - 56320 + 65536).toString(16).toUpperCase() + ";" } function h(e, t) { return function(r) { return r.replace(t, (function(t) { return e[t] })).replace(f, d).replace(l, p) } } var v = c(i); t.escape = function(e) { return e.replace(v, p).replace(f, d).replace(l, p) } }, function(e, t, r) { e.exports = s; var n = r(1713), i = r(2067).Writable, o = r(109).StringDecoder, a = r(8).Buffer; function s(e, t) { var r = this._parser = new n(e, t), a = this._decoder = new o; i.call(this, { decodeStrings: !1 }), this.once("finish", (function() { r.end(a.end()) })) } r(2)(s, i), s.prototype._write = function(e, t, r) { e instanceof a && (e = this._decoder.write(e)), this._parser.write(e), r() } }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = a(r(2079)), i = a(r(2080)), o = a(r(2081)); function a(e) { return e && e.__esModule ? e : { default: e } } function s(e) { var t = "function" == typeof Map ? new Map : void 0; return (s = function(e) { if (null === e || (r = e, -1 === Function.toString.call(r).indexOf("[native code]"))) return e; var r; if ("function" != typeof e) throw new TypeError("Super expression must either be null or a function"); if (void 0 !== t) { if (t.has(e)) return t.get(e); t.set(e, n) } function n() { return c(e, arguments, f(this).constructor) } return n.prototype = Object.create(e.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), l(n, e) })(e) } function u() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0 } catch (e) { return !1 } } function c(e, t, r) { return (c = u() ? Reflect.construct : function(e, t, r) { var n = [null]; n.push.apply(n, t); var i = new(Function.bind.apply(e, n)); return r && l(i, r.prototype), i }).apply(null, arguments) } function l(e, t) { return (l = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e })(e, t) } function f(e) { return (f = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) })(e) } var p = function(e) { var t, r; function a(t, r, n, i, o, s) { var u; return (u = e.call(this, t) || this).name = "CssSyntaxError", u.reason = t, o && (u.file = o), i && (u.source = i), s && (u.plugin = s), void 0 !== r && void 0 !== n && (u.line = r, u.column = n), u.setMessage(), Error.captureStackTrace && Error.captureStackTrace(function(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e }(u), a), u } r = e, (t = a).prototype = Object.create(r.prototype), t.prototype.constructor = t, t.__proto__ = r; var s = a.prototype; return s.setMessage = function() { this.message = this.plugin ? this.plugin + ": " : "", this.message += this.file ? this.file : "<css input>", void 0 !== this.line && (this.message += ":" + this.line + ":" + this.column), this.message += ": " + this.reason }, s.showSourceCode = function(e) { var t = this; if (!this.source) return ""; var r = this.source; o.default && (void 0 === e && (e = n.default.stdout), e && (r = (0, o.default)(r))); var a = r.split(/\r?\n/), s = Math.max(this.line - 3, 0), u = Math.min(this.line + 2, a.length), c = String(u).length; function l(t) { return e && i.default.red ? i.default.red.bold(t) : t } function f(t) { return e && i.default.gray ? i.default.gray(t) : t } return a.slice(s, u).map((function(e, r) { var n = s + 1 + r, i = " " + (" " + n).slice(-c) + " | "; if (n === t.line) { var o = f(i.replace(/\d/g, " ")) + e.slice(0, t.column - 1).replace(/[^\t]/g, " "); return l(">") + f(i) + e + "\n " + o + l("^") } return " " + f(i) + e })).join("\n") }, s.toString = function() { var e = this.showSourceCode(); return e && (e = "\n\n" + e + "\n"), this.name + ": " + this.message + e }, a }(s(Error)); t.default = p, e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = { colon: ": ", indent: " ", beforeDecl: "\n", beforeRule: "\n", beforeOpen: " ", beforeClose: "\n", beforeComment: "\n", after: "\n", emptyBody: "", commentLeft: " ", commentRight: " ", semicolon: !1 }; var i = function() { function e(e) { this.builder = e } var t = e.prototype; return t.stringify = function(e, t) { this[e.type](e, t) }, t.root = function(e) { this.body(e), e.raws.after && this.builder(e.raws.after) }, t.comment = function(e) { var t = this.raw(e, "left", "commentLeft"), r = this.raw(e, "right", "commentRight"); this.builder("/*" + t + e.text + r + "*/", e) }, t.decl = function(e, t) { var r = this.raw(e, "between", "colon"), n = e.prop + r + this.rawValue(e, "value"); e.important && (n += e.raws.important || " !important"), t && (n += ";"), this.builder(n, e) }, t.rule = function(e) { this.block(e, this.rawValue(e, "selector")), e.raws.ownSemicolon && this.builder(e.raws.ownSemicolon, e, "end") }, t.atrule = function(e, t) { var r = "@" + e.name, n = e.params ? this.rawValue(e, "params") : ""; if (void 0 !== e.raws.afterName ? r += e.raws.afterName : n && (r += " "), e.nodes) this.block(e, r + n); else { var i = (e.raws.between || "") + (t ? ";" : ""); this.builder(r + n + i, e) } }, t.body = function(e) { for (var t = e.nodes.length - 1; t > 0 && "comment" === e.nodes[t].type;) t -= 1; for (var r = this.raw(e, "semicolon"), n = 0; n < e.nodes.length; n++) { var i = e.nodes[n], o = this.raw(i, "before"); o && this.builder(o), this.stringify(i, t !== n || r) } }, t.block = function(e, t) { var r, n = this.raw(e, "between", "beforeOpen"); this.builder(t + n + "{", e, "start"), e.nodes && e.nodes.length ? (this.body(e), r = this.raw(e, "after")) : r = this.raw(e, "after", "emptyBody"), r && this.builder(r), this.builder("}", e, "end") }, t.raw = function(e, t, r) { var i; if (r || (r = t), t && void 0 !== (i = e.raws[t])) return i; var o = e.parent; if ("before" === r && (!o || "root" === o.type && o.first === e)) return ""; if (!o) return n[r]; var a = e.root(); if (a.rawCache || (a.rawCache = {}), void 0 !== a.rawCache[r]) return a.rawCache[r]; if ("before" === r || "after" === r) return this.beforeAfter(e, r); var s, u = "raw" + ((s = r)[0].toUpperCase() + s.slice(1)); return this[u] ? i = this[u](a, e) : a.walk((function(e) { if (void 0 !== (i = e.raws[t])) return !1 })), void 0 === i && (i = n[r]), a.rawCache[r] = i, i }, t.rawSemicolon = function(e) { var t; return e.walk((function(e) { if (e.nodes && e.nodes.length && "decl" === e.last.type && void 0 !== (t = e.raws.semicolon)) return !1 })), t }, t.rawEmptyBody = function(e) { var t; return e.walk((function(e) { if (e.nodes && 0 === e.nodes.length && void 0 !== (t = e.raws.after)) return !1 })), t }, t.rawIndent = function(e) { return e.raws.indent ? e.raws.indent : (e.walk((function(r) { var n = r.parent; if (n && n !== e && n.parent && n.parent === e && void 0 !== r.raws.before) { var i = r.raws.before.split("\n"); return t = (t = i[i.length - 1]).replace(/[^\s]/g, ""), !1 } })), t); var t }, t.rawBeforeComment = function(e, t) { var r; return e.walkComments((function(e) { if (void 0 !== e.raws.before) return -1 !== (r = e.raws.before).indexOf("\n") && (r = r.replace(/[^\n]+$/, "")), !1 })), void 0 === r ? r = this.raw(t, null, "beforeDecl") : r && (r = r.replace(/[^\s]/g, "")), r }, t.rawBeforeDecl = function(e, t) { var r; return e.walkDecls((function(e) { if (void 0 !== e.raws.before) return -1 !== (r = e.raws.before).indexOf("\n") && (r = r.replace(/[^\n]+$/, "")), !1 })), void 0 === r ? r = this.raw(t, null, "beforeRule") : r && (r = r.replace(/[^\s]/g, "")), r }, t.rawBeforeRule = function(e) { var t; return e.walk((function(r) { if (r.nodes && (r.parent !== e || e.first !== r) && void 0 !== r.raws.before) return -1 !== (t = r.raws.before).indexOf("\n") && (t = t.replace(/[^\n]+$/, "")), !1 })), t && (t = t.replace(/[^\s]/g, "")), t }, t.rawBeforeClose = function(e) { var t; return e.walk((function(e) { if (e.nodes && e.nodes.length > 0 && void 0 !== e.raws.after) return -1 !== (t = e.raws.after).indexOf("\n") && (t = t.replace(/[^\n]+$/, "")), !1 })), t && (t = t.replace(/[^\s]/g, "")), t }, t.rawBeforeOpen = function(e) { var t; return e.walk((function(e) { if ("decl" !== e.type && void 0 !== (t = e.raws.between)) return !1 })), t }, t.rawColon = function(e) { var t; return e.walkDecls((function(e) { if (void 0 !== e.raws.between) return t = e.raws.between.replace(/[^\s:]/g, ""), !1 })), t }, t.beforeAfter = function(e, t) { var r; r = "decl" === e.type ? this.raw(e, null, "beforeDecl") : "comment" === e.type ? this.raw(e, null, "beforeComment") : "before" === t ? this.raw(e, null, "beforeRule") : this.raw(e, null, "beforeClose"); for (var n = e.parent, i = 0; n && "root" !== n.type;) i += 1, n = n.parent; if (-1 !== r.indexOf("\n")) { var o = this.raw(e, null, "indent"); if (o.length) for (var a = 0; a < i; a++) r += o } return r }, t.rawValue = function(e, t) { var r = e[t], n = e.raws[t]; return n && n.value === r ? n.raw : r }, e }(); t.default = i, e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n, i = (n = r(1725)) && n.__esModule ? n : { default: n }; var o = function() { function e(e) { void 0 === e && (e = []), this.version = "7.0.27", this.plugins = this.normalize(e) } var t = e.prototype; return t.use = function(e) { return this.plugins = this.plugins.concat(this.normalize([e])), this }, t.process = function(e) { function t(t) { return e.apply(this, arguments) } return t.toString = function() { return e.toString() }, t }((function(e, t) { return void 0 === t && (t = {}), 0 === this.plugins.length && (t.parser, t.stringifier), new i.default(this, e, t) })), t.normalize = function(e) { var t = [], r = e, n = Array.isArray(r), i = 0; for (r = n ? r : r[Symbol.iterator]();;) { var o; if (n) { if (i >= r.length) break; o = r[i++] } else { if ((i = r.next()).done) break; o = i.value } var a = o; if (a.postcss && (a = a.postcss), "object" == typeof a && Array.isArray(a.plugins)) t = t.concat(a.plugins); else if ("function" == typeof a) t.push(a); else { if ("object" != typeof a || !a.parse && !a.stringify) throw new Error(a + " is not a PostCSS plugin") } } return t }, e }(); t.default = o, e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = s(r(2082)), i = s(r(726)), o = (s(r(2089)), s(r(2090))), a = s(r(727)); function s(e) { return e && e.__esModule ? e : { default: e } } function u(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function c(e) { return "object" == typeof e && "function" == typeof e.then } var l = function() { function e(t, r, n) { var i; if (this.stringified = !1, this.processed = !1, "object" == typeof r && null !== r && "root" === r.type) i = r; else if (r instanceof e || r instanceof o.default) i = r.root, r.map && (void 0 === n.map && (n.map = {}), n.map.inline || (n.map.inline = !1), n.map.prev = r.map); else { var s = a.default; n.syntax && (s = n.syntax.parse), n.parser && (s = n.parser), s.parse && (s = s.parse); try { i = s(r, n) } catch (e) { this.error = e } } this.result = new o.default(t, i, n) } var t, r, s, l = e.prototype; return l.warnings = function() { return this.sync().warnings() }, l.toString = function() { return this.css }, l.then = function(e, t) { return this.async().then(e, t) }, l.catch = function(e) { return this.async().catch(e) }, l.finally = function(e) { return this.async().then(e, e) }, l.handleError = function(e, t) { try { if (this.error = e, "CssSyntaxError" !== e.name || e.plugin) { if (t.postcssVersion); } else e.plugin = t.postcssPlugin, e.setMessage() } catch (e) { console && console.error && console.error(e) } }, l.asyncTick = function(e, t) { var r = this; if (this.plugin >= this.processor.plugins.length) return this.processed = !0, e(); try { var n = this.processor.plugins[this.plugin], i = this.run(n); this.plugin += 1, c(i) ? i.then((function() { r.asyncTick(e, t) })).catch((function(e) { r.handleError(e, n), r.processed = !0, t(e) })) : this.asyncTick(e, t) } catch (e) { this.processed = !0, t(e) } }, l.async = function() { var e = this; return this.processed ? new Promise((function(t, r) { e.error ? r(e.error) : t(e.stringify()) })) : (this.processing || (this.processing = new Promise((function(t, r) { if (e.error) return r(e.error); e.plugin = 0, e.asyncTick(t, r) })).then((function() { return e.processed = !0, e.stringify() }))), this.processing) }, l.sync = function() { if (this.processed) return this.result; if (this.processed = !0, this.processing) throw new Error("Use process(css).then(cb) to work with async plugins"); if (this.error) throw this.error; var e = this.result.processor.plugins, t = Array.isArray(e), r = 0; for (e = t ? e : e[Symbol.iterator]();;) { var n; if (t) { if (r >= e.length) break; n = e[r++] } else { if ((r = e.next()).done) break; n = r.value } var i = n; if (c(this.run(i))) throw new Error("Use process(css).then(cb) to work with async plugins") } return this.result }, l.run = function(e) { this.result.lastPlugin = e; try { return e(this.result.root, this.result) } catch (t) { throw this.handleError(t, e), t } }, l.stringify = function() { if (this.stringified) return this.result; this.stringified = !0, this.sync(); var e = this.result.opts, t = i.default; e.syntax && (t = e.syntax.stringify), e.stringifier && (t = e.stringifier), t.stringify && (t = t.stringify); var r = new n.default(t, this.result.root, this.result.opts).generate(); return this.result.css = r[0], this.result.map = r[1], this.result }, t = e, (r = [{ key: "processor", get: function() { return this.result.processor } }, { key: "opts", get: function() { return this.result.opts } }, { key: "css", get: function() { return this.stringify().css } }, { key: "content", get: function() { return this.stringify().content } }, { key: "map", get: function() { return this.stringify().map } }, { key: "root", get: function() { return this.sync().root } }, { key: "messages", get: function() { return this.sync().messages } }]) && u(t.prototype, r), s && u(t, s), e }(); t.default = l, e.exports = t.default }, function(e, t, r) { t.SourceMapGenerator = r(1727).SourceMapGenerator, t.SourceMapConsumer = r(2085).SourceMapConsumer, t.SourceNode = r(2088).SourceNode }, function(e, t, r) { var n = r(1728), i = r(353), o = r(1729).ArraySet, a = r(2084).MappingList; function s(e) { e || (e = {}), this._file = i.getArg(e, "file", null), this._sourceRoot = i.getArg(e, "sourceRoot", null), this._skipValidation = i.getArg(e, "skipValidation", !1), this._sources = new o, this._names = new o, this._mappings = new a, this._sourcesContents = null } s.prototype._version = 3, s.fromSourceMap = function(e) { var t = e.sourceRoot, r = new s({ file: e.file, sourceRoot: t }); return e.eachMapping((function(e) { var n = { generated: { line: e.generatedLine, column: e.generatedColumn } }; null != e.source && (n.source = e.source, null != t && (n.source = i.relative(t, n.source)), n.original = { line: e.originalLine, column: e.originalColumn }, null != e.name && (n.name = e.name)), r.addMapping(n) })), e.sources.forEach((function(n) { var o = n; null !== t && (o = i.relative(t, n)), r._sources.has(o) || r._sources.add(o); var a = e.sourceContentFor(n); null != a && r.setSourceContent(n, a) })), r }, s.prototype.addMapping = function(e) { var t = i.getArg(e, "generated"), r = i.getArg(e, "original", null), n = i.getArg(e, "source", null), o = i.getArg(e, "name", null); this._skipValidation || this._validateMapping(t, r, n, o), null != n && (n = String(n), this._sources.has(n) || this._sources.add(n)), null != o && (o = String(o), this._names.has(o) || this._names.add(o)), this._mappings.add({ generatedLine: t.line, generatedColumn: t.column, originalLine: null != r && r.line, originalColumn: null != r && r.column, source: n, name: o }) }, s.prototype.setSourceContent = function(e, t) { var r = e; null != this._sourceRoot && (r = i.relative(this._sourceRoot, r)), null != t ? (this._sourcesContents || (this._sourcesContents = Object.create(null)), this._sourcesContents[i.toSetString(r)] = t) : this._sourcesContents && (delete this._sourcesContents[i.toSetString(r)], 0 === Object.keys(this._sourcesContents).length && (this._sourcesContents = null)) }, s.prototype.applySourceMap = function(e, t, r) { var n = t; if (null == t) { if (null == e.file) throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.'); n = e.file } var a = this._sourceRoot; null != a && (n = i.relative(a, n)); var s = new o, u = new o; this._mappings.unsortedForEach((function(t) { if (t.source === n && null != t.originalLine) { var o = e.originalPositionFor({ line: t.originalLine, column: t.originalColumn }); null != o.source && (t.source = o.source, null != r && (t.source = i.join(r, t.source)), null != a && (t.source = i.relative(a, t.source)), t.originalLine = o.line, t.originalColumn = o.column, null != o.name && (t.name = o.name)) } var c = t.source; null == c || s.has(c) || s.add(c); var l = t.name; null == l || u.has(l) || u.add(l) }), this), this._sources = s, this._names = u, e.sources.forEach((function(t) { var n = e.sourceContentFor(t); null != n && (null != r && (t = i.join(r, t)), null != a && (t = i.relative(a, t)), this.setSourceContent(t, n)) }), this) }, s.prototype._validateMapping = function(e, t, r, n) { if (t && "number" != typeof t.line && "number" != typeof t.column) throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values."); if ((!(e && "line" in e && "column" in e && e.line > 0 && e.column >= 0) || t || r || n) && !(e && "line" in e && "column" in e && t && "line" in t && "column" in t && e.line > 0 && e.column >= 0 && t.line > 0 && t.column >= 0 && r)) throw new Error("Invalid mapping: " + JSON.stringify({ generated: e, source: r, original: t, name: n })) }, s.prototype._serializeMappings = function() { for (var e, t, r, o, a = 0, s = 1, u = 0, c = 0, l = 0, f = 0, p = "", d = this._mappings.toArray(), h = 0, v = d.length; h < v; h++) { if (e = "", (t = d[h]).generatedLine !== s) for (a = 0; t.generatedLine !== s;) e += ";", s++; else if (h > 0) { if (!i.compareByGeneratedPositionsInflated(t, d[h - 1])) continue; e += "," } e += n.encode(t.generatedColumn - a), a = t.generatedColumn, null != t.source && (o = this._sources.indexOf(t.source), e += n.encode(o - f), f = o, e += n.encode(t.originalLine - 1 - c), c = t.originalLine - 1, e += n.encode(t.originalColumn - u), u = t.originalColumn, null != t.name && (r = this._names.indexOf(t.name), e += n.encode(r - l), l = r)), p += e } return p }, s.prototype._generateSourcesContent = function(e, t) { return e.map((function(e) { if (!this._sourcesContents) return null; null != t && (e = i.relative(t, e)); var r = i.toSetString(e); return Object.prototype.hasOwnProperty.call(this._sourcesContents, r) ? this._sourcesContents[r] : null }), this) }, s.prototype.toJSON = function() { var e = { version: this._version, sources: this._sources.toArray(), names: this._names.toArray(), mappings: this._serializeMappings() }; return null != this._file && (e.file = this._file), null != this._sourceRoot && (e.sourceRoot = this._sourceRoot), this._sourcesContents && (e.sourcesContent = this._generateSourcesContent(e.sources, e.sourceRoot)), e }, s.prototype.toString = function() { return JSON.stringify(this.toJSON()) }, t.SourceMapGenerator = s }, function(e, t, r) { var n = r(2083); t.encode = function(e) { var t, r = "", i = function(e) { return e < 0 ? 1 + (-e << 1) : 0 + (e << 1) }(e); do { t = 31 & i, (i >>>= 5) > 0 && (t |= 32), r += n.encode(t) } while (i > 0); return r }, t.decode = function(e, t, r) { var i, o, a, s, u = e.length, c = 0, l = 0; do { if (t >= u) throw new Error("Expected more digits in base 64 VLQ value."); if (-1 === (o = n.decode(e.charCodeAt(t++)))) throw new Error("Invalid base64 digit: " + e.charAt(t - 1)); i = !!(32 & o), c += (o &= 31) << l, l += 5 } while (i); r.value = (s = (a = c) >> 1, 1 == (1 & a) ? -s : s), r.rest = t } }, function(e, t, r) { var n = r(353), i = Object.prototype.hasOwnProperty, o = "undefined" != typeof Map; function a() { this._array = [], this._set = o ? new Map : Object.create(null) } a.fromArray = function(e, t) { for (var r = new a, n = 0, i = e.length; n < i; n++) r.add(e[n], t); return r }, a.prototype.size = function() { return o ? this._set.size : Object.getOwnPropertyNames(this._set).length }, a.prototype.add = function(e, t) { var r = o ? e : n.toSetString(e), a = o ? this.has(e) : i.call(this._set, r), s = this._array.length; a && !t || this._array.push(e), a || (o ? this._set.set(e, s) : this._set[r] = s) }, a.prototype.has = function(e) { if (o) return this._set.has(e); var t = n.toSetString(e); return i.call(this._set, t) }, a.prototype.indexOf = function(e) { if (o) { var t = this._set.get(e); if (t >= 0) return t } else { var r = n.toSetString(e); if (i.call(this._set, r)) return this._set[r] } throw new Error('"' + e + '" is not in the set.') }, a.prototype.at = function(e) { if (e >= 0 && e < this._array.length) return this._array[e]; throw new Error("No element indexed by " + e) }, a.prototype.toArray = function() { return this._array.slice() }, t.ArraySet = a }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = { split: function(e, t, r) { for (var n = [], i = "", o = !1, a = 0, s = !1, u = !1, c = 0; c < e.length; c++) { var l = e[c]; s ? u ? u = !1 : "\\" === l ? u = !0 : l === s && (s = !1) : '"' === l || "'" === l ? s = l : "(" === l ? a += 1 : ")" === l ? a > 0 && (a -= 1) : 0 === a && -1 !== t.indexOf(l) && (o = !0), o ? ("" !== i && n.push(i.trim()), i = "", o = !1) : i += l } return (r || "" !== i) && n.push(i.trim()), n }, space: function(e) { return n.split(e, [" ", "\n", "\t"]) }, comma: function(e) { return n.split(e, [","], !0) } }, i = n; t.default = i, e.exports = t.default }, function(e, t, r) { "use strict"; var n; t.__esModule = !0, t.default = void 0; var i = function(e) { var t, n; function i(t) { var r; return (r = e.call(this, t) || this).type = "root", r.nodes || (r.nodes = []), r } n = e, (t = i).prototype = Object.create(n.prototype), t.prototype.constructor = t, t.__proto__ = n; var o = i.prototype; return o.removeChild = function(t, r) { var n = this.index(t); return !r && 0 === n && this.nodes.length > 1 && (this.nodes[1].raws.before = this.nodes[n].raws.before), e.prototype.removeChild.call(this, t) }, o.normalize = function(t, r, n) { var i = e.prototype.normalize.call(this, t); if (r) if ("prepend" === n) this.nodes.length > 1 ? r.raws.before = this.nodes[1].raws.before : delete r.raws.before; else if (this.first !== r) { var o = i, a = Array.isArray(o), s = 0; for (o = a ? o : o[Symbol.iterator]();;) { var u; if (a) { if (s >= o.length) break; u = o[s++] } else { if ((s = o.next()).done) break; u = s.value } u.raws.before = r.raws.before } } return i }, o.toResult = function(e) { return void 0 === e && (e = {}), new(r(1725))(new(r(1724)), this, e).stringify() }, i }(((n = r(730)) && n.__esModule ? n : { default: n }).default); t.default = i, e.exports = t.default }, function(e, t, r) { var n = r(117), i = r(679), o = r(357), a = r(215), s = r(2101), u = [].push, c = function(e) { var t = 1 == e, r = 2 == e, c = 3 == e, l = 4 == e, f = 6 == e, p = 5 == e || f; return function(d, h, v, m) { for (var y, b, g = o(d), _ = i(g), T = n(h, v, 3), S = a(_.length), A = 0, E = m || s, C = t ? E(d, S) : r ? E(d, 0) : void 0; S > A; A++) if ((p || A in _) && (b = T(y = _[A], A, g), e)) if (t) C[A] = b; else if (b) switch (e) { case 3: return !0; case 5: return y; case 6: return A; case 2: u.call(C, y) } else if (l) return !1; return f ? -1 : c || l ? l : C } }; e.exports = { forEach: c(0), map: c(1), filter: c(2), some: c(3), every: c(4), find: c(5), findIndex: c(6) } }, function(e, t, r) { var n = r(65), i = r(51), o = r(52), a = Object.defineProperty, s = {}, u = function(e) { throw e }; e.exports = function(e, t) { if (o(s, e)) return s[e]; t || (t = {}); var r = [][e], c = !!o(t, "ACCESSORS") && t.ACCESSORS, l = o(t, 0) ? t[0] : u, f = o(t, 1) ? t[1] : void 0; return s[e] = !!r && !i((function() { if (c && !n) return !0; var e = { length: -1 }; c ? a(e, 1, { enumerable: !0, get: u }) : e[1] = 1, r.call(e, l, f) })) } }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }); var i = { createDirectLine: !0, createDirectLineAppServiceExtension: !0, Components: !0, hooks: !0, renderWebChat: !0, createAdaptiveCardsAttachmentMiddleware: !0, createCognitiveServicesSpeechServicesPonyfillFactory: !0, createDirectLineSpeechAdapters: !0, createStyleSet: !0, renderMarkdown: !0 }; Object.defineProperty(t, "createAdaptiveCardsAttachmentMiddleware", { enumerable: !0, get: function() { return p.default } }), Object.defineProperty(t, "createCognitiveServicesSpeechServicesPonyfillFactory", { enumerable: !0, get: function() { return d.default } }), Object.defineProperty(t, "createDirectLineSpeechAdapters", { enumerable: !0, get: function() { return h.default } }), Object.defineProperty(t, "createStyleSet", { enumerable: !0, get: function() { return v.default } }), Object.defineProperty(t, "renderMarkdown", { enumerable: !0, get: function() { return A.default } }), t.renderWebChat = t.hooks = t.Components = t.default = t.createDirectLineAppServiceExtension = t.createDirectLine = void 0; var o = n(r(93)), a = r(734); Object.keys(a).forEach((function(e) { "default" !== e && "__esModule" !== e && (Object.prototype.hasOwnProperty.call(i, e) || Object.defineProperty(t, e, { enumerable: !0, get: function() { return a[e] } })) })); var s = n(r(1630)), u = n(r(629)), c = n(r(1637)), l = n(r(1640)), f = n(r(676)), p = n(r(1641)), d = n(r(1757)), h = n(r(1902)), v = n(r(1984)), m = n(r(630)), y = n(r(672)), b = n(r(1988)), g = n(r(1642)), _ = n(r(1643)), T = n(r(2098)), S = n(r(1644)), A = n(r(1704)), E = n(r(1645)), C = n(r(1646)), O = n(r(1634)), w = n(r(150)), I = n(r(1647)); function P(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function x(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? P(Object(r), !0).forEach((function(t) { (0, o.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : P(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var N = f.default.bind(null, T.default); t.renderWebChat = N; var k = function(e) { return e.botAgent && console.warn("Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."), (0, m.default)(x({}, e, { botAgent: "WebChat/".concat(a.version, " (Full)") })) }; t.createDirectLine = k; var R = function(e) { return e.botAgent && console.warn("Web Chat: Developers are not currently allowed to set botAgent. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."), (0, y.default)(x({}, e, { botAgent: "WebChat/".concat(a.version, " (Full)") })) }; t.createDirectLineAppServiceExtension = R; var L = x({}, a.hooks, { useAdaptiveCardsHostConfig: O.default, useAdaptiveCardsPackage: w.default }); t.hooks = L; var M = x({}, a.Components, { AdaptiveCardContent: s.default, AudioCardContent: l.default, AnimationCardContent: c.default, Composer: b.default, HeroCardContent: g.default, OAuthCardContent: _.default, ReceiptCardContent: S.default, SignInCardContent: E.default, ThumbnailCardContent: C.default, VideoCardContent: I.default }); t.Components = M; var j = T.default; t.default = j, window.WebChat = x({}, window.WebChat, { Components: M, createAdaptiveCardsAttachmentMiddleware: p.default, createCognitiveServicesSpeechServicesPonyfillFactory: d.default, createDirectLine: k, createDirectLineAppServiceExtension: R, createDirectLineSpeechAdapters: h.default, createStyleSet: v.default, hooks: L, ReactWebChat: T.default, renderMarkdown: A.default, renderWebChat: N }), (0, u.default)("full") }, function(e, t) { e.exports = function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } } }, function(e, t, r) { "use strict"; var n = r(1737); function i() {} function o() {} o.resetWarningCache = i, e.exports = function() { function e(e, t, r, i, o, a) { if (a !== n) { var s = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"); throw s.name = "Invariant Violation", s } } function t() { return e } e.isRequired = e; var r = { array: e, bool: e, func: e, number: e, object: e, string: e, symbol: e, any: e, arrayOf: t, element: e, elementType: e, instanceOf: t, node: e, objectOf: t, oneOf: t, oneOfType: t, shape: t, exact: t, checkPropTypes: o, resetWarningCache: i }; return r.PropTypes = r, r } }, function(e, t, r) { "use strict"; e.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED" }, function(e, t, r) { var n = r(1739), i = r(1633), o = r(1740); e.exports = function(e) { return n(e) || i(e) || o() } }, function(e, t) { e.exports = function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to spread non-iterable instance") } }, function(e, t, r) { var n; ! function() { "use strict"; var r = {}.hasOwnProperty; function i() { for (var e = [], t = 0; t < arguments.length; t++) { var n = arguments[t]; if (n) { var o = typeof n; if ("string" === o || "number" === o) e.push(n); else if (Array.isArray(n) && n.length) { var a = i.apply(null, n); a && e.push(a) } else if ("object" === o) for (var s in n) r.call(n, s) && n[s] && e.push(s) } } return e.join(" ") } e.exports ? (i.default = i, e.exports = i) : void 0 === (n = function() { return i }.apply(t, [])) || (e.exports = n) }() }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n = r(37); t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : n.defaultStyleOptions, t = e.accent, r = e.bubbleTextColor, i = e.cardEmphasisBackgroundColor, o = e.primaryFont, a = e.subtle; return { containerStyles: { default: { foregroundColors: { default: { default: r, subtle: a }, accent: { default: t, subtle: t } } }, emphasis: { backgroundColor: i, foregroundColors: { default: { default: r, subtle: a } } }, accent: { backgroundColor: "#C7DEF9", foregroundColors: { default: { default: "#333333", subtle: "#EE333333" } } }, good: { backgroundColor: "#CCFFCC", foregroundColors: { default: { default: "#333333", subtle: "#EE333333" } } }, attention: { backgroundColor: "#FFC5B2", foregroundColors: { default: { default: "#333333", subtle: "#EE333333" } } }, warning: { backgroundColor: "#FFE2B2", foregroundColors: { default: { default: "#333333", subtle: "#EE333333" } } } }, supportsInteractivity: !0, fontFamily: o, imageSizes: { small: 40, medium: 80, large: 160 }, actions: { actionAlignment: "stretch", actionsOrientation: "vertical", buttonSpacing: 8, maxActions: 100, showCard: { actionMode: "inline", inlineTopMargin: 8 }, spacing: "default" }, adaptiveCard: { allowCustomStyle: !1 }, imageSet: { imageSize: "medium", maxImageHeight: 100 }, factSet: { title: { color: "default", size: "default", isSubtle: !1, weight: "bolder", wrap: !0, maxWidth: 150 }, value: { color: "default", size: "default", isSubtle: !1, weight: "default", wrap: !0 }, spacing: 8 } } } }, function(e, t) { e.exports = function(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } }, function(e, t) { function r(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } e.exports = function(e, t, n) { return t && r(e.prototype, t), n && r(e, n), e } }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o, a = r(345), s = r(365), u = r(689), c = r(1639), l = r(1746); function f(e, t) { e && e.setCollection(t) } function p(e, t) { if (t) for (var r = 0; r < t.length; r++) if (e.getJsonTypeName() === t[r]) return !1; return !0 } function d(e, t, r, n, i, a, s) { var c = null; if (t && "object" == typeof t) { var l = !1, f = u.getStringValue(t.type); if (r && r.indexOf(f) >= 0) ue(a(f, o.ForbiddenType), s); else if ((c = i(f)) ? (c.setParent(e), c.parse(t, s), l = c.shouldFallback() && n) : (l = n, ue(a(f, o.UnknownType), s)), l) { var p = t.fallback; p || e.setShouldFallback(!0), "string" == typeof p && "drop" === p.toLowerCase() ? c = null : "object" == typeof p && (c = d(e, p, r, !0, i, a, s)) } } return c } function h(e, t, r, n, i) { return d(e, t, r, n, (function(e) { return de.actionTypeRegistry.createInstance(e) }), (function(e, t) { return t == o.UnknownType ? { error: a.ValidationError.UnknownActionType, message: "Unknown action type: " + e + ". Fallback will be used if present." } : { error: a.ValidationError.ActionTypeNotAllowed, message: "Action type " + e + " is not allowed in this context." } }), i) } function v(e, t, r, n) { return d(e, t, [], r, (function(e) { return de.elementTypeRegistry.createInstance(e) }), (function(e, t) { return t == o.UnknownType ? { error: a.ValidationError.UnknownElementType, message: "Unknown element type: " + e + ". Fallback will be used if present." } : { error: a.ValidationError.ElementTypeNotAllowed, message: "Element type " + e + " is not allowed in this context." } }), n) }! function(e) { e[e.UnknownType = 0] = "UnknownType", e[e.ForbiddenType = 1] = "ForbiddenType" }(o || (o = {})), t.createActionInstance = h, t.createElementInstance = v; var m = function() { function e() { this._rawProperties = {} } return e.prototype.parse = function(e, t) { this._rawProperties = de.enableFullJsonRoundTrip ? e : {} }, e.prototype.toJSON = function() { return de.enableFullJsonRoundTrip && this._rawProperties && "object" == typeof this._rawProperties ? this._rawProperties : {} }, e.prototype.setCustomProperty = function(e, t) { "string" == typeof t && u.isNullOrEmpty(t) || null == t ? delete this._rawProperties[e] : this._rawProperties[e] = t }, e.prototype.getCustomProperty = function(e) { return this._rawProperties[e] }, e }(); t.SerializableObject = m; var y = function(e) { this.cardObject = e, this.errors = [] }; t.ValidationFailure = y; var b = function() { function e() { this.allIds = {}, this.failures = [] } return e.prototype.getFailureIndex = function(e) { for (var t = 0; t < this.failures.length; t++) if (this.failures[t].cardObject === e) return t; return -1 }, e.prototype.addFailure = function(e, t) { var r, n = this.getFailureIndex(e); n < 0 ? (r = new y(e), this.failures.push(r)) : r = this.failures[n], r.errors.push(t) }, e }(); t.ValidationResults = b; var g = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.prototype.internalValidateProperties = function(e) { u.isNullOrEmpty(this.id) || (e.allIds.hasOwnProperty(this.id) ? (1 == e.allIds[this.id] && e.addFailure(this, { error: a.ValidationError.DuplicateId, message: "Duplicate Id: " + this.id }), e.allIds[this.id] += 1) : e.allIds[this.id] = 1) }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.id = u.getStringValue(t.id) }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "type", this.getJsonTypeName()), u.setProperty(t, "id", this.id), t }, t.prototype.validateProperties = function() { var e = new b; return this.internalValidateProperties(e), e }, t }(m); t.CardObject = g; var _ = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._shouldFallback = !1, t._lang = void 0, t._hostConfig = null, t._parent = null, t._renderedElement = null, t._separatorElement = null, t._isVisible = !0, t._truncatedDueToOverflow = !1, t._defaultRenderedElementDisplayMode = null, t._padding = null, t.requires = new c.HostCapabilities, t.horizontalAlignment = null, t.spacing = a.Spacing.Default, t.separator = !1, t.customCssSelector = null, t.height = "auto", t.minPixelHeight = null, t } return i(t, e), t.prototype.internalRenderSeparator = function() { var e = u.renderSeparation(this.hostConfig, { spacing: this.hostConfig.getEffectiveSpacing(this.spacing), lineThickness: this.separator ? this.hostConfig.separator.lineThickness : null, lineColor: this.separator ? this.hostConfig.separator.lineColor : null }, this.separatorOrientation); if (de.alwaysBleedSeparators && e && this.separatorOrientation == a.Orientation.Horizontal) { var t = this.getParentContainer(); if (t && t.getEffectivePadding()) { var r = this.hostConfig.paddingDefinitionToSpacingDefinition(t.getEffectivePadding()); e.style.marginLeft = "-" + r.left + "px", e.style.marginRight = "-" + r.right + "px" } } return e }, t.prototype.updateRenderedElementVisibility = function() { var e = this.isDesignMode() || this.isVisible ? this._defaultRenderedElementDisplayMode : "none"; this._renderedElement && (this._renderedElement.style.display = e), this._separatorElement && (this.parent && this.parent.isFirstElement(this) ? this._separatorElement.style.display = "none" : this._separatorElement.style.display = e) }, t.prototype.hideElementDueToOverflow = function() { this._renderedElement && this.isVisible && (this._renderedElement.style.visibility = "hidden", this.isVisible = !1, se(this, !1)) }, t.prototype.showElementHiddenDueToOverflow = function() { this._renderedElement && !this.isVisible && (this._renderedElement.style.visibility = null, this.isVisible = !0, se(this, !1)) }, t.prototype.handleOverflow = function(e) { if (this.isVisible || this.isHiddenDueToOverflow()) { var t = this.truncateOverflow(e); this._truncatedDueToOverflow = t || this._truncatedDueToOverflow, t ? t && !this.isVisible && this.showElementHiddenDueToOverflow() : this.hideElementDueToOverflow() } }, t.prototype.resetOverflow = function() { var e = !1; return this._truncatedDueToOverflow && (this.undoOverflowTruncation(), this._truncatedDueToOverflow = !1, e = !0), this.isHiddenDueToOverflow && this.showElementHiddenDueToOverflow(), e }, t.prototype.createPlaceholderElement = function() { var e = document.createElement("div"); return e.style.border = "1px dashed #DDDDDD", e.style.padding = "4px", e.style.minHeight = "32px", e.style.fontSize = "10px", e.innerText = "Empty " + this.getJsonTypeName(), e }, t.prototype.adjustRenderedElementSize = function(e) { "auto" === this.height ? e.style.flex = "0 0 auto" : e.style.flex = "1 1 auto", this.minPixelHeight && (e.style.minHeight = this.minPixelHeight + "px") }, t.prototype.overrideInternalRender = function() { return this.internalRender() }, t.prototype.applyPadding = function() { if (this.separatorElement) if (de.alwaysBleedSeparators && this.separatorOrientation == a.Orientation.Horizontal && !this.isBleeding()) { var e = new s.PaddingDefinition; this.getImmediateSurroundingPadding(e); var t = this.hostConfig.paddingDefinitionToSpacingDefinition(e); this.separatorElement.style.marginLeft = "-" + t.left + "px", this.separatorElement.style.marginRight = "-" + t.right + "px" } else this.separatorElement.style.marginRight = "0", this.separatorElement.style.marginLeft = "0" }, t.prototype.truncateOverflow = function(e) { return !1 }, t.prototype.undoOverflowTruncation = function() {}, t.prototype.getDefaultPadding = function() { return new s.PaddingDefinition }, t.prototype.getHasBackground = function() { return !1 }, t.prototype.getPadding = function() { return this._padding }, t.prototype.setPadding = function(e) { this._padding = e }, Object.defineProperty(t.prototype, "supportsMinHeight", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "useDefaultSizing", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "allowCustomPadding", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "separatorOrientation", { get: function() { return a.Orientation.Horizontal }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "defaultStyle", { get: function() { return a.ContainerStyle.Default }, enumerable: !0, configurable: !0 }), t.prototype.asString = function() { return "" }, t.prototype.isBleeding = function() { return !1 }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "isVisible", this.isVisible, !0), null !== this.horizontalAlignment && u.setEnumProperty(a.HorizontalAlignment, t, "horizontalAlignment", this.horizontalAlignment), u.setEnumProperty(a.Spacing, t, "spacing", this.spacing, a.Spacing.Default), u.setProperty(t, "separator", this.separator, !1), u.setProperty(t, "height", this.height, "auto"), this.supportsMinHeight && u.setProperty(t, "minHeight", "number" != typeof this.minPixelHeight || isNaN(this.minPixelHeight) ? void 0 : this.minPixelHeight + "px"), t }, t.prototype.setParent = function(e) { this._parent = e }, t.prototype.getEffectiveStyle = function() { return this.parent ? this.parent.getEffectiveStyle() : this.defaultStyle }, t.prototype.getForbiddenElementTypes = function() { return null }, t.prototype.getForbiddenActionTypes = function() { return null }, t.prototype.getImmediateSurroundingPadding = function(e, t, r, n, i) { if (void 0 === t && (t = !0), void 0 === r && (r = !0), void 0 === n && (n = !0), void 0 === i && (i = !0), this.parent) { var o = t && this.parent.isTopElement(this), s = r && this.parent.isRightMostElement(this), u = n && this.parent.isBottomElement(this), c = i && this.parent.isLeftMostElement(this), l = this.parent.getEffectivePadding(); l && (o && l.top != a.Spacing.None && (e.top = l.top, o = !1), s && l.right != a.Spacing.None && (e.right = l.right, s = !1), u && l.bottom != a.Spacing.None && (e.bottom = l.bottom, u = !1), c && l.left != a.Spacing.None && (e.left = l.left, c = !1)), (o || s || u || c) && this.parent.getImmediateSurroundingPadding(e, o, s, u, c) } }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), function(e, t, r) { var n = e.getRootElement(), i = n && n.onParseElement ? n.onParseElement : de.onParseElement; null != i && i(e, t, r) }(this, t, r), this.requires.parse(t.requires, r), this.isVisible = u.getBoolValue(t.isVisible, this.isVisible), this.horizontalAlignment = u.getEnumValue(a.HorizontalAlignment, t.horizontalAlignment, this.horizontalAlignment), this.spacing = u.getEnumValue(a.Spacing, t.spacing, a.Spacing.Default), this.separator = u.getBoolValue(t.separator, this.separator); var n = t.separation; void 0 !== n && ("none" === n ? (this.spacing = a.Spacing.None, this.separator = !1) : "strong" === n ? (this.spacing = a.Spacing.Large, this.separator = !0) : "default" === n && (this.spacing = a.Spacing.Default, this.separator = !1), ue({ error: a.ValidationError.Deprecated, message: 'The "separation" property is deprecated and will be removed. Use the "spacing" and "separator" properties instead.' }, r)); var i = t.height; if ("auto" !== i && "stretch" !== i || (this.height = i), this.supportsMinHeight) { var o = t.minHeight; if (o && "string" == typeof o) { var c = !1; try { var l = s.SizeAndUnit.parse(o, !0); l.unit == a.SizeUnit.Pixel && (this.minPixelHeight = l.physicalSize, c = !0) } catch (e) {} c || ue({ error: a.ValidationError.InvalidPropertyValue, message: 'Invalid "minHeight" value: ' + o }, r) } } else this.minPixelHeight = null }, t.prototype.getActionCount = function() { return 0 }, t.prototype.getActionAt = function(e) { throw new Error("Index out of range.") }, t.prototype.remove = function() { return !!(this.parent && this.parent instanceof P) && this.parent.removeItem(this) }, t.prototype.render = function() { return this._renderedElement = this.overrideInternalRender(), this._separatorElement = this.internalRenderSeparator(), this._renderedElement ? (this.customCssSelector && this._renderedElement.classList.add(this.customCssSelector), this._renderedElement.style.boxSizing = "border-box", this._defaultRenderedElementDisplayMode = this._renderedElement.style.display, this.adjustRenderedElementSize(this._renderedElement), this.updateLayout(!1)) : this.isDesignMode() && (this._renderedElement = this.createPlaceholderElement()), this._renderedElement }, t.prototype.updateLayout = function(e) { void 0 === e && (e = !0), this.updateRenderedElementVisibility(), this.applyPadding() }, t.prototype.indexOf = function(e) { return -1 }, t.prototype.isDesignMode = function() { var e = this.getRootElement(); return e instanceof de && e.designMode }, t.prototype.isRendered = function() { return this._renderedElement && this._renderedElement.offsetHeight > 0 }, t.prototype.isFirstElement = function(e) { return !0 }, t.prototype.isLastElement = function(e) { return !0 }, t.prototype.isAtTheVeryLeft = function() { return !this.parent || this.parent.isLeftMostElement(this) && this.parent.isAtTheVeryLeft() }, t.prototype.isAtTheVeryRight = function() { return !this.parent || this.parent.isRightMostElement(this) && this.parent.isAtTheVeryRight() }, t.prototype.isAtTheVeryTop = function() { return !this.parent || this.parent.isFirstElement(this) && this.parent.isAtTheVeryTop() }, t.prototype.isAtTheVeryBottom = function() { return !this.parent || this.parent.isLastElement(this) && this.parent.isAtTheVeryBottom() }, t.prototype.isBleedingAtTop = function() { return !1 }, t.prototype.isBleedingAtBottom = function() { return !1 }, t.prototype.isLeftMostElement = function(e) { return !0 }, t.prototype.isRightMostElement = function(e) { return !0 }, t.prototype.isTopElement = function(e) { return this.isFirstElement(e) }, t.prototype.isBottomElement = function(e) { return this.isLastElement(e) }, t.prototype.isHiddenDueToOverflow = function() { return this._renderedElement && "hidden" == this._renderedElement.style.visibility }, t.prototype.getRootElement = function() { for (var e = this; e.parent;) e = e.parent; return e }, t.prototype.getParentContainer = function() { for (var e = this.parent; e;) { if (e instanceof te) return e; e = e.parent } return null }, t.prototype.getAllInputs = function() { return [] }, t.prototype.getResourceInformation = function() { return [] }, t.prototype.getElementById = function(e) { return this.id === e ? this : null }, t.prototype.getActionById = function(e) { return null }, t.prototype.shouldFallback = function() { return this._shouldFallback || !this.requires.areAllMet(this.hostConfig.hostCapabilities) }, t.prototype.setShouldFallback = function(e) { this._shouldFallback = e }, t.prototype.getEffectivePadding = function() { var e = this.getPadding(); return e && this.allowCustomPadding ? e : this.getDefaultPadding() }, Object.defineProperty(t.prototype, "lang", { get: function() { return this._lang ? this._lang : this.parent ? this.parent.lang : void 0 }, set: function(e) { if (e && "" != e) { if (!/^[a-z]{2,3}$/gi.exec(e)) throw new Error("Invalid language identifier: " + e) } this._lang = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "hostConfig", { get: function() { return this._hostConfig ? this._hostConfig : this.parent ? this.parent.hostConfig : ve }, set: function(e) { this._hostConfig = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "index", { get: function() { return this.parent ? this.parent.indexOf(this) : 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isInteractive", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isStandalone", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isInline", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "parent", { get: function() { return this._parent }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isVisible", { get: function() { return this._isVisible }, set: function(e) { de.useAdvancedCardBottomTruncation && !e && this.undoOverflowTruncation(), this._isVisible != e && (this._isVisible = e, this.updateRenderedElementVisibility(), this._renderedElement && se(this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "hasVisibleSeparator", { get: function() { return !(!this.parent || !this.separatorElement) && (!this.parent.isFirstElement(this) && (this.isVisible || this.isDesignMode())) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "renderedElement", { get: function() { return this._renderedElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "separatorElement", { get: function() { return this._separatorElement }, enumerable: !0, configurable: !0 }), t }(g); t.CardElement = _; var T = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._selectAction = null, t.size = a.TextSize.Default, t.weight = a.TextWeight.Default, t.color = a.TextColor.Default, t.isSubtle = !1, t.fontType = null, t } return i(t, e), t.prototype.getEffectiveStyleDefinition = function() { return this.hostConfig.containerStyles.getStyleByName(this.getEffectiveStyle()) }, t.prototype.getFontSize = function(e) { switch (this.size) { case a.TextSize.Small: return e.fontSizes.small; case a.TextSize.Medium: return e.fontSizes.medium; case a.TextSize.Large: return e.fontSizes.large; case a.TextSize.ExtraLarge: return e.fontSizes.extraLarge; default: return e.fontSizes.default } }, t.prototype.getColorDefinition = function(e, t) { switch (t) { case a.TextColor.Accent: return e.accent; case a.TextColor.Dark: return e.dark; case a.TextColor.Light: return e.light; case a.TextColor.Good: return e.good; case a.TextColor.Warning: return e.warning; case a.TextColor.Attention: return e.attention; default: return e.default } }, t.prototype.setText = function(e) { this._text = e }, t.prototype.asString = function() { return this.text }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setEnumProperty(a.TextSize, t, "size", this.size, a.TextSize.Default), u.setEnumProperty(a.TextWeight, t, "weight", this.weight, a.TextWeight.Default), u.setEnumProperty(a.TextColor, t, "color", this.color, a.TextColor.Default), u.setProperty(t, "text", this.text), u.setProperty(t, "isSubtle", this.isSubtle, !1), u.setEnumProperty(a.FontType, t, "fontType", this.fontType, a.FontType.Default), t }, t.prototype.applyStylesTo = function(e) { var t, r = this.hostConfig.getFontTypeDefinition(this.fontType); switch (r.fontFamily && (e.style.fontFamily = r.fontFamily), this.size) { case a.TextSize.Small: t = r.fontSizes.small; break; case a.TextSize.Medium: t = r.fontSizes.medium; break; case a.TextSize.Large: t = r.fontSizes.large; break; case a.TextSize.ExtraLarge: t = r.fontSizes.extraLarge; break; default: t = r.fontSizes.default } e.style.fontSize = t + "px"; var n, i = this.getColorDefinition(this.getEffectiveStyleDefinition().foregroundColors, this.effectiveColor); switch (e.style.color = u.stringToCssColor(this.isSubtle ? i.subtle : i.default), this.weight) { case a.TextWeight.Lighter: n = r.fontWeights.lighter; break; case a.TextWeight.Bolder: n = r.fontWeights.bolder; break; default: n = r.fontWeights.default } e.style.fontWeight = n.toString() }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.text = u.getStringValue(t.text); var n = u.getStringValue(t.size); n && "normal" === n.toLowerCase() ? (this.size = a.TextSize.Default, ue({ error: a.ValidationError.Deprecated, message: 'The TextBlock.size value "normal" is deprecated and will be removed. Use "default" instead.' }, r)) : this.size = u.getEnumValue(a.TextSize, n, this.size); var i = u.getStringValue(t.weight); i && "normal" === i.toLowerCase() ? (this.weight = a.TextWeight.Default, ue({ error: a.ValidationError.Deprecated, message: 'The TextBlock.weight value "normal" is deprecated and will be removed. Use "default" instead.' }, r)) : this.weight = u.getEnumValue(a.TextWeight, i, this.weight), this.color = u.getEnumValue(a.TextColor, t.color, this.color), this.isSubtle = u.getBoolValue(t.isSubtle, this.isSubtle), this.fontType = u.getEnumValue(a.FontType, t.fontType, this.fontType) }, Object.defineProperty(t.prototype, "effectiveColor", { get: function() { return this.color ? this.color : a.TextColor.Default }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "text", { get: function() { return this._text }, set: function(e) { this.setText(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "selectAction", { get: function() { return this._selectAction }, set: function(e) { this._selectAction = e, this._selectAction && this._selectAction.setParent(this) }, enumerable: !0, configurable: !0 }), t }(_); t.BaseTextBlock = T; var S = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._processedText = null, t._treatAsPlainText = !0, t.wrap = !1, t.useMarkdown = !0, t } return i(t, e), t.prototype.restoreOriginalContent = function() { var e = this.maxLines ? this._computedLineHeight * this.maxLines + "px" : null; this.renderedElement.style.maxHeight = e, this.renderedElement.innerHTML = this._originalInnerHtml }, t.prototype.truncateIfSupported = function(e) { var t = this.renderedElement.children, r = !t.length; if (r || 1 == t.length && "p" == t[0].tagName.toLowerCase()) { var n = r ? this.renderedElement : t[0]; return u.truncate(n, e, this._computedLineHeight), !0 } return !1 }, t.prototype.setText = function(t) { e.prototype.setText.call(this, t), this._processedText = null }, t.prototype.getRenderedDomElementType = function() { return "div" }, t.prototype.internalRender = function() { var e = this; if (this._processedText = null, u.isNullOrEmpty(this.text)) return null; var t = this.hostConfig, r = document.createElement(this.getRenderedDomElementType()); if (r.classList.add(t.makeCssClassName("ac-textBlock")), r.style.overflow = "hidden", this.applyStylesTo(r), this.selectAction && (r.onclick = function(t) { t.preventDefault(), t.cancelBubble = !0, e.selectAction.execute() }, t.supportsInteractivity && (r.tabIndex = 0, r.setAttribute("role", this.selectAction.getAriaRole()), r.setAttribute("aria-label", this.selectAction.title), r.classList.add(t.makeCssClassName("ac-selectable")))), !this._processedText) { this._treatAsPlainText = !0; var n = l.formatText(this.lang, this.text); if (this.useMarkdown) { de.allowMarkForTextHighlighting && (n = n.replace(/<mark>/g, "===").replace(/<\/mark>/g, "/==")); var i = de.applyMarkdown(n); if (i.didProcess && i.outputHtml) { if (this._processedText = i.outputHtml, this._treatAsPlainText = !1, de.allowMarkForTextHighlighting) { var o = "", a = this.getEffectiveStyleDefinition(); a.highlightBackgroundColor && (o += "background-color: " + a.highlightBackgroundColor + ";"), a.highlightForegroundColor && (o += "color: " + a.highlightForegroundColor + ";"), u.isNullOrEmpty(o) || (o = 'style="' + o + '"'), this._processedText = this._processedText.replace(/===/g, "<mark " + o + ">").replace(/\/==/g, "</mark>") } } else this._processedText = n, this._treatAsPlainText = !0 } else this._processedText = n, this._treatAsPlainText = !0 } if (this._treatAsPlainText ? r.innerText = this._processedText : r.innerHTML = this._processedText, r.firstElementChild instanceof HTMLElement) { var s = r.firstElementChild; s.style.marginTop = "0px", s.style.width = "100%", this.wrap || (s.style.overflow = "hidden", s.style.textOverflow = "ellipsis") } r.lastElementChild instanceof HTMLElement && (r.lastElementChild.style.marginBottom = "0px"); for (var c = r.getElementsByTagName("a"), f = 0; f < c.length; f++) { var p = c[f]; p.classList.add(t.makeCssClassName("ac-anchor")), p.target = "_blank", p.onclick = function(t) { oe(e, t.target) && (t.preventDefault(), t.cancelBubble = !0) } } return this.wrap ? (r.style.wordWrap = "break-word", this.maxLines > 0 && (r.style.maxHeight = this._computedLineHeight * this.maxLines + "px", r.style.overflow = "hidden")) : (r.style.whiteSpace = "nowrap", r.style.textOverflow = "ellipsis"), (de.useAdvancedTextBlockTruncation || de.useAdvancedCardBottomTruncation) && (this._originalInnerHtml = r.innerHTML), r }, t.prototype.truncateOverflow = function(e) { return e >= this._computedLineHeight && this.truncateIfSupported(e) }, t.prototype.undoOverflowTruncation = function() { if (this.restoreOriginalContent(), de.useAdvancedTextBlockTruncation && this.maxLines) { var e = this._computedLineHeight * this.maxLines; this.truncateIfSupported(e) } }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "wrap", this.wrap, !1), u.setNumberProperty(t, "maxLines", this.maxLines), t }, t.prototype.applyStylesTo = function(t) { e.prototype.applyStylesTo.call(this, t); var r = this.getParentContainer(), n = !!r && r.isRtl(); switch (this.horizontalAlignment) { case a.HorizontalAlignment.Center: t.style.textAlign = "center"; break; case a.HorizontalAlignment.Right: t.style.textAlign = n ? "left" : "right"; break; default: t.style.textAlign = n ? "right" : "left" } var i = this.hostConfig.lineHeights; if (i) switch (this.size) { case a.TextSize.Small: this._computedLineHeight = i.small; break; case a.TextSize.Medium: this._computedLineHeight = i.medium; break; case a.TextSize.Large: this._computedLineHeight = i.large; break; case a.TextSize.ExtraLarge: this._computedLineHeight = i.extraLarge; break; default: this._computedLineHeight = i.default } else this._computedLineHeight = 1.33 * this.getFontSize(this.hostConfig.getFontTypeDefinition(this.fontType)); t.style.lineHeight = this._computedLineHeight + "px" }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.wrap = u.getBoolValue(t.wrap, this.wrap), this.maxLines = u.getNumberValue(t.maxLines) }, t.prototype.getJsonTypeName = function() { return "TextBlock" }, t.prototype.updateLayout = function(t) { void 0 === t && (t = !1), e.prototype.updateLayout.call(this, t), de.useAdvancedTextBlockTruncation && this.maxLines && this.isRendered() && (this.restoreOriginalContent(), this.truncateIfSupported(this._computedLineHeight * this.maxLines)) }, t }(T); t.TextBlock = S; var A = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.prototype.getRenderedDomElementType = function() { return "label" }, t.prototype.internalRender = function() { var t = e.prototype.internalRender.call(this); return t && !u.isNullOrEmpty(this.forElementId) && (t.htmlFor = this.forElementId), t }, t }(S), E = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.italic = !1, t.strikethrough = !1, t.highlight = !1, t } return i(t, e), t.prototype.internalRender = function() { var e = this; if (u.isNullOrEmpty(this.text)) return null; var t = this.hostConfig, r = l.formatText(this.lang, this.text), n = document.createElement("span"); if (n.classList.add(t.makeCssClassName("ac-textRun")), this.applyStylesTo(n), this.selectAction && t.supportsInteractivity) { var i = document.createElement("a"); i.classList.add(t.makeCssClassName("ac-anchor")), i.href = this.selectAction.getHref(), i.target = "_blank", i.onclick = function(t) { t.preventDefault(), t.cancelBubble = !0, e.selectAction.execute() }, i.innerText = r, n.appendChild(i) } else n.innerText = r; return n }, t.prototype.applyStylesTo = function(t) { if (e.prototype.applyStylesTo.call(this, t), this.italic && (t.style.fontStyle = "italic"), this.strikethrough && (t.style.textDecoration = "line-through"), this.highlight) { var r = this.getColorDefinition(this.getEffectiveStyleDefinition().foregroundColors, this.effectiveColor); t.style.backgroundColor = u.stringToCssColor(this.isSubtle ? r.highlightColors.subtle : r.highlightColors.default) } }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "italic", this.italic, !1), u.setProperty(t, "strikethrough", this.strikethrough, !1), u.setProperty(t, "highlight", this.highlight, !1), this.selectAction && u.setProperty(t, "selectAction", this.selectAction.toJSON()), t }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.italic = u.getBoolValue(t.italic, this.italic), this.strikethrough = u.getBoolValue(t.strikethrough, this.strikethrough), this.highlight = u.getBoolValue(t.highlight, this.highlight), this.selectAction = h(this, t.selectAction, [J.JsonTypeName], !this.isDesignMode(), r) }, t.prototype.getJsonTypeName = function() { return "TextRun" }, Object.defineProperty(t.prototype, "isStandalone", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isInline", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), t }(T); t.TextRun = E; var C = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._inlines = [], t } return i(t, e), t.prototype.internalAddInline = function(e, t) { if (void 0 === t && (t = !1), !e.isInline) throw new Error("RichTextBlock.addInline: the specified card element cannot be used as a RichTextBlock inline."); if (!(null == e.parent || t) && e.parent != this) throw new Error("RichTextBlock.addInline: the specified inline already belongs to another RichTextBlock."); e.setParent(this), this._inlines.push(e) }, t.prototype.internalRender = function() { if (this._inlines.length > 0) { var e = document.createElement("div"); e.className = this.hostConfig.makeCssClassName("ac-richTextBlock"); var t = this.getParentContainer(), r = !!t && t.isRtl(); switch (this.horizontalAlignment) { case a.HorizontalAlignment.Center: e.style.textAlign = "center"; break; case a.HorizontalAlignment.Right: e.style.textAlign = r ? "left" : "right"; break; default: e.style.textAlign = r ? "right" : "left" } for (var n = 0, i = 0, o = this._inlines; i < o.length; i++) { var s = o[i].render(); s && (e.appendChild(s), n++) } if (n > 0) return e } return null }, t.prototype.asString = function() { for (var e = "", t = 0, r = this._inlines; t < r.length; t++) { e += r[t].asString() } return e }, t.prototype.parse = function(t, r) { if (e.prototype.parse.call(this, t, r), this._inlines = [], Array.isArray(t.inlines)) for (var n = 0, i = t.inlines; n < i.length; n++) { var o = i[n], a = void 0; if ("string" == typeof o) { var s = new E; s.text = o, a = s } else a = v(this, o, !1, r); a && this.internalAddInline(a, !0) } }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); if (this._inlines.length > 0) { for (var r = [], n = 0, i = this._inlines; n < i.length; n++) { var o = i[n]; r.push(o.toJSON()) } u.setProperty(t, "inlines", r) } return t }, t.prototype.getJsonTypeName = function() { return "RichTextBlock" }, t.prototype.getInlineCount = function() { return this._inlines.length }, t.prototype.getInlineAt = function(e) { if (e >= 0 && e < this._inlines.length) return this._inlines[e]; throw new Error("RichTextBlock.getInlineAt: Index out of range (" + e + ")") }, t.prototype.addInline = function(e) { this.internalAddInline(e) }, t.prototype.removeInline = function(e) { var t = this._inlines.indexOf(e); return t >= 0 && (this._inlines[t].setParent(null), this._inlines.splice(t, 1), !0) }, t }(_); t.RichTextBlock = C; var O = function(e) { function t(t, r) { void 0 === t && (t = void 0), void 0 === r && (r = void 0); var n = e.call(this) || this; return n.name = t, n.value = r, n } return i(t, e), t.prototype.parse = function(t) { e.prototype.parse.call(this, t), this.name = u.getStringValue(t.title), this.value = u.getStringValue(t.value) }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "title", this.name), u.setProperty(t, "value", this.value), t }, t }(m); t.Fact = O; var w = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.facts = [], t } return i(t, e), Object.defineProperty(t.prototype, "useDefaultSizing", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t.prototype.internalRender = function() { var e = null, t = this.hostConfig; if (this.facts.length > 0) { (e = document.createElement("table")).style.borderWidth = "0px", e.style.borderSpacing = "0px", e.style.borderStyle = "none", e.style.borderCollapse = "collapse", e.style.display = "block", e.style.overflow = "hidden", e.classList.add(t.makeCssClassName("ac-factset")); for (var r = 0; r < this.facts.length; r++) { var n = document.createElement("tr"); r > 0 && (n.style.marginTop = t.factSet.spacing + "px"); var i = document.createElement("td"); i.style.padding = "0", i.classList.add(t.makeCssClassName("ac-fact-title")), t.factSet.title.maxWidth && (i.style.maxWidth = t.factSet.title.maxWidth + "px"), i.style.verticalAlign = "top"; var o = new S; o.setParent(this), o.text = u.isNullOrEmpty(this.facts[r].name) && this.isDesignMode() ? "Title" : this.facts[r].name, o.size = t.factSet.title.size, o.color = t.factSet.title.color, o.isSubtle = t.factSet.title.isSubtle, o.weight = t.factSet.title.weight, o.wrap = t.factSet.title.wrap, o.spacing = a.Spacing.None, u.appendChild(i, o.render()), u.appendChild(n, i), (i = document.createElement("td")).style.width = "10px", u.appendChild(n, i), (i = document.createElement("td")).style.padding = "0", i.style.verticalAlign = "top", i.classList.add(t.makeCssClassName("ac-fact-value")), (o = new S).setParent(this), o.text = this.facts[r].value, o.size = t.factSet.value.size, o.color = t.factSet.value.color, o.isSubtle = t.factSet.value.isSubtle, o.weight = t.factSet.value.weight, o.wrap = t.factSet.value.wrap, o.spacing = a.Spacing.None, u.appendChild(i, o.render()), u.appendChild(n, i), u.appendChild(e, n) } } return e }, t.prototype.getJsonTypeName = function() { return "FactSet" }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setArrayProperty(t, "facts", this.facts), t }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.facts = []; var n = t.facts; if (Array.isArray(n)) for (var i = 0, o = n; i < o.length; i++) { var a = o[i], s = new O; s.parse(a), this.facts.push(s) } }, t }(_); t.FactSet = w; var I = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.style = a.ImageStyle.Default, t.size = a.Size.Auto, t.pixelWidth = null, t.pixelHeight = null, t.altText = "", t } return i(t, e), t.prototype.parseDimension = function(e, t, r) { if (t) { if ("string" == typeof t) try { var n = s.SizeAndUnit.parse(t); if (n.unit == a.SizeUnit.Pixel) return n.physicalSize } catch (e) {} ue({ error: a.ValidationError.InvalidPropertyValue, message: "Invalid image " + e + ": " + t }, r) } return 0 }, t.prototype.applySize = function(e) { if (this.pixelWidth || this.pixelHeight) this.pixelWidth && (e.style.width = this.pixelWidth + "px"), this.pixelHeight && (e.style.height = this.pixelHeight + "px"); else switch (this.size) { case a.Size.Stretch: e.style.width = "100%"; break; case a.Size.Auto: e.style.maxWidth = "100%"; break; case a.Size.Small: e.style.width = this.hostConfig.imageSizes.small + "px"; break; case a.Size.Large: e.style.width = this.hostConfig.imageSizes.large + "px"; break; case a.Size.Medium: e.style.width = this.hostConfig.imageSizes.medium + "px" } }, Object.defineProperty(t.prototype, "useDefaultSizing", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t.prototype.internalRender = function() { var e = this, t = null; if (!u.isNullOrEmpty(this.url)) { switch ((t = document.createElement("div")).style.display = "flex", t.style.alignItems = "flex-start", t.onkeypress = function(t) { !e.selectAction || 13 != t.keyCode && 32 != t.keyCode || (t.preventDefault(), t.cancelBubble = !0, e.selectAction.execute()) }, t.onclick = function(t) { e.selectAction && (t.preventDefault(), t.cancelBubble = !0, e.selectAction.execute()) }, this.horizontalAlignment) { case a.HorizontalAlignment.Center: t.style.justifyContent = "center"; break; case a.HorizontalAlignment.Right: t.style.justifyContent = "flex-end"; break; default: t.style.justifyContent = "flex-start" } var r = this.hostConfig, n = document.createElement("img"); n.onload = function(t) { ie(e) }, n.onerror = function(t) { var r = e.getRootElement(); if (e.renderedElement.innerHTML = "", r && r.designMode) { var n = document.createElement("div"); n.style.display = "flex", n.style.alignItems = "center", n.style.justifyContent = "center", n.style.backgroundColor = "#EEEEEE", n.style.color = "black", n.innerText = ":-(", n.style.padding = "10px", e.applySize(n), e.renderedElement.appendChild(n) } ie(e) }, n.style.maxHeight = "100%", n.style.minWidth = "0", n.classList.add(r.makeCssClassName("ac-image")), null != this.selectAction && r.supportsInteractivity && (n.tabIndex = 0, n.setAttribute("role", this.selectAction.getAriaRole()), n.setAttribute("aria-label", this.selectAction.title), n.classList.add(r.makeCssClassName("ac-selectable"))), this.applySize(n), this.style === a.ImageStyle.Person && (n.style.borderRadius = "50%", n.style.backgroundPosition = "50% 50%", n.style.backgroundRepeat = "no-repeat"), u.isNullOrEmpty(this.backgroundColor) || (n.style.backgroundColor = u.stringToCssColor(this.backgroundColor)), n.src = this.url, u.isNullOrEmpty(this.altText) || (n.alt = this.altText), t.appendChild(n) } return t }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return this._selectAction && u.setProperty(t, "selectAction", this._selectAction.toJSON()), u.setEnumProperty(a.ImageStyle, t, "style", this.style, a.ImageStyle.Default), u.setProperty(t, "backgroundColor", this.backgroundColor), u.setProperty(t, "url", this.url), u.setEnumProperty(a.Size, t, "size", this.size, a.Size.Auto), this.pixelWidth && u.setProperty(t, "width", this.pixelWidth + "px"), this.pixelHeight && u.setProperty(t, "height", this.pixelHeight + "px"), u.setProperty(t, "altText", this.altText), t }, t.prototype.getJsonTypeName = function() { return "Image" }, t.prototype.getActionById = function(t) { var r = e.prototype.getActionById.call(this, t); return !r && this.selectAction && (r = this.selectAction.getActionById(t)), r }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.url = u.getStringValue(t.url), this.backgroundColor = u.getStringValue(t.backgroundColor); var n = u.getStringValue(t.style); n && "normal" === n.toLowerCase() ? (this.style = a.ImageStyle.Default, ue({ error: a.ValidationError.Deprecated, message: 'The Image.style value "normal" is deprecated and will be removed. Use "default" instead.' }, r)) : this.style = u.getEnumValue(a.ImageStyle, n, this.style), this.size = u.getEnumValue(a.Size, t.size, this.size), this.altText = u.getStringValue(t.altText), t.pixelWidth && "number" == typeof t.pixelWidth && (this.pixelWidth = t.pixelWidth, ue({ error: a.ValidationError.Deprecated, message: "The pixelWidth property is deprecated and will be removed. Use the width property instead." }, r)), t.pixelHeight && "number" == typeof t.pixelHeight && (this.pixelHeight = t.pixelHeight, ue({ error: a.ValidationError.Deprecated, message: "The pixelHeight property is deprecated and will be removed. Use the height property instead." }, r)); var i = this.parseDimension("width", t.width, r); i > 0 && (this.pixelWidth = i), (i = this.parseDimension("height", t.height, r)) > 0 && (this.pixelHeight = i), this.selectAction = h(this, t.selectAction, [J.JsonTypeName], !this.isDesignMode(), r) }, t.prototype.getResourceInformation = function() { return u.isNullOrEmpty(this.url) ? [] : [{ url: this.url, mimeType: "image" }] }, Object.defineProperty(t.prototype, "selectAction", { get: function() { return this._selectAction }, set: function(e) { this._selectAction = e, this._selectAction && this._selectAction.setParent(this) }, enumerable: !0, configurable: !0 }), t }(_); t.Image = I; var P = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._selectAction = null, t.allowVerticalOverflow = !1, t } return i(t, e), t.prototype.isElementAllowed = function(e, t) { if (!this.hostConfig.supportsInteractivity && e.isInteractive) return !1; if (t) for (var r = 0, n = t; r < n.length; r++) { var i = n[r]; if (e.getJsonTypeName() === i) return !1 } return !0 }, t.prototype.applyPadding = function() { if (e.prototype.applyPadding.call(this), this.renderedElement) { var t = new s.SpacingDefinition; this.getEffectivePadding() && (t = this.hostConfig.paddingDefinitionToSpacingDefinition(this.getEffectivePadding())), this.renderedElement.style.paddingTop = t.top + "px", this.renderedElement.style.paddingRight = t.right + "px", this.renderedElement.style.paddingBottom = t.bottom + "px", this.renderedElement.style.paddingLeft = t.left + "px", this.renderedElement.style.marginRight = "0", this.renderedElement.style.marginLeft = "0" } }, t.prototype.getSelectAction = function() { return this._selectAction }, t.prototype.setSelectAction = function(e) { this._selectAction = e, this._selectAction && this._selectAction.setParent(this) }, Object.defineProperty(t.prototype, "isSelectable", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.isSelectable && (this._selectAction = h(this, t.selectAction, [J.JsonTypeName], !this.isDesignMode(), r)) }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return this._selectAction && this.isSelectable && u.setProperty(t, "selectAction", this._selectAction.toJSON()), t }, t.prototype.internalValidateProperties = function(t) { e.prototype.internalValidateProperties.call(this, t); for (var r = 0; r < this.getItemCount(); r++) { var n = this.getItemAt(r); !this.hostConfig.supportsInteractivity && n.isInteractive && t.addFailure(this, { error: a.ValidationError.InteractivityNotAllowed, message: "Interactivity is not allowed." }), this.isElementAllowed(n, this.getForbiddenElementTypes()) || t.addFailure(this, { error: a.ValidationError.InteractivityNotAllowed, message: "Elements of type " + n.getJsonTypeName() + " are not allowed in this container." }), n.internalValidateProperties(t) } this._selectAction && this._selectAction.internalValidateProperties(t) }, t.prototype.render = function() { var t = this, r = e.prototype.render.call(this), n = this.hostConfig; return this.allowVerticalOverflow && (r.style.overflowX = "hidden", r.style.overflowY = "auto"), r && this.isSelectable && this._selectAction && n.supportsInteractivity && (r.classList.add(n.makeCssClassName("ac-selectable")), r.tabIndex = 0, r.setAttribute("role", this._selectAction.getAriaRole()), r.setAttribute("aria-label", this._selectAction.title), r.onclick = function(e) { null != t._selectAction && (e.preventDefault(), e.cancelBubble = !0, t._selectAction.execute()) }, r.onkeypress = function(e) { null == t._selectAction || 13 != e.keyCode && 32 != e.keyCode || (e.preventDefault(), e.cancelBubble = !0, t._selectAction.execute()) }), r }, t.prototype.updateLayout = function(t) { if (void 0 === t && (t = !0), e.prototype.updateLayout.call(this, t), t) for (var r = 0; r < this.getItemCount(); r++) this.getItemAt(r).updateLayout() }, t.prototype.getAllInputs = function() { for (var e = [], t = 0; t < this.getItemCount(); t++) e = e.concat(this.getItemAt(t).getAllInputs()); return e }, t.prototype.getResourceInformation = function() { for (var e = [], t = 0; t < this.getItemCount(); t++) e = e.concat(this.getItemAt(t).getResourceInformation()); return e }, t.prototype.getElementById = function(t) { var r = e.prototype.getElementById.call(this, t); if (!r) for (var n = 0; n < this.getItemCount() && !(r = this.getItemAt(n).getElementById(t)); n++); return r }, t }(_); t.CardElementContainer = P; var x = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._images = [], t.imageSize = a.Size.Medium, t } return i(t, e), t.prototype.internalRender = function() { var e = null; if (this._images.length > 0) { (e = document.createElement("div")).style.display = "flex", e.style.flexWrap = "wrap"; for (var t = 0; t < this._images.length; t++) { this._images[t].size = this.imageSize; var r = this._images[t].render(); r.style.display = "inline-flex", r.style.margin = "0px", r.style.marginRight = "10px", r.style.maxHeight = this.hostConfig.imageSet.maxImageHeight + "px", u.appendChild(e, r) } } return e }, t.prototype.getItemCount = function() { return this._images.length }, t.prototype.getItemAt = function(e) { return this._images[e] }, t.prototype.getFirstVisibleRenderedItem = function() { return this._images && this._images.length > 0 ? this._images[0] : null }, t.prototype.getLastVisibleRenderedItem = function() { return this._images && this._images.length > 0 ? this._images[this._images.length - 1] : null }, t.prototype.removeItem = function(e) { if (e instanceof I) { var t = this._images.indexOf(e); if (t >= 0) return this._images.splice(t, 1), e.setParent(null), this.updateLayout(), !0 } return !1 }, t.prototype.getJsonTypeName = function() { return "ImageSet" }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); if (u.setEnumProperty(a.Size, t, "imageSize", this.imageSize, a.Size.Medium), this._images.length > 0) { for (var r = [], n = 0, i = this._images; n < i.length; n++) { var o = i[n]; r.push(o.toJSON()) } u.setProperty(t, "images", r) } return t }, t.prototype.parse = function(t, r) { if (e.prototype.parse.call(this, t, r), this.imageSize = u.getEnumValue(a.Size, t.imageSize, a.Size.Medium), null != t.images) { var n = t.images; this._images = []; for (var i = 0; i < n.length; i++) { var o = new I; o.parse(n[i], r), this.addImage(o) } } }, t.prototype.addImage = function(e) { if (e.parent) throw new Error("This image already belongs to another ImageSet"); this._images.push(e), e.setParent(this) }, t.prototype.indexOf = function(e) { return e instanceof I ? this._images.indexOf(e) : -1 }, t }(P); t.ImageSet = x; var N = function(e) { function t(t, r) { void 0 === t && (t = void 0), void 0 === r && (r = void 0); var n = e.call(this) || this; return n.url = t, n.mimeType = r, n } return i(t, e), t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.mimeType = u.getStringValue(t.mimeType), this.url = u.getStringValue(t.url) }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "mimeType", this.mimeType), u.setProperty(t, "url", this.url), t }, t }(m); t.MediaSource = N; var k = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.sources = [], t } return i(t, e), t.prototype.getPosterUrl = function() { return this.poster ? this.poster : this.hostConfig.media.defaultPoster }, t.prototype.processSources = function() { this._selectedSources = [], this._selectedMediaType = void 0; for (var e = 0, r = this.sources; e < r.length; e++) { var n = r[e], i = n.mimeType ? n.mimeType.split("/") : []; if (2 == i.length) { if (!this._selectedMediaType) { var o = t.supportedMediaTypes.indexOf(i[0]); o >= 0 && (this._selectedMediaType = t.supportedMediaTypes[o]) } i[0] == this._selectedMediaType && this._selectedSources.push(n) } } }, t.prototype.renderPoster = function() { var e = this, r = document.createElement("div"); r.className = this.hostConfig.makeCssClassName("ac-media-poster"), r.setAttribute("role", "contentinfo"), r.setAttribute("aria-label", this.altText ? this.altText : "Media content"), r.style.position = "relative", r.style.display = "flex"; var n = this.getPosterUrl(); if (n) { var i = document.createElement("img"); i.style.width = "100%", i.style.height = "100%", i.onerror = function(e) { i.parentNode.removeChild(i), r.classList.add("empty"), r.style.minHeight = "150px" }, i.src = n, r.appendChild(i) } else r.classList.add("empty"), r.style.minHeight = "150px"; if (this.hostConfig.supportsInteractivity && this._selectedSources.length > 0) { var o = document.createElement("div"); o.setAttribute("role", "button"), o.setAttribute("aria-label", "Play media"), o.className = this.hostConfig.makeCssClassName("ac-media-playButton"), o.style.display = "flex", o.style.alignItems = "center", o.style.justifyContent = "center", o.onclick = function(r) { if (e.hostConfig.media.allowInlinePlayback) { r.preventDefault(), r.cancelBubble = !0; var n = e.renderMediaPlayer(); e.renderedElement.innerHTML = "", e.renderedElement.appendChild(n), n.play() } else t.onPlay && (r.preventDefault(), r.cancelBubble = !0, t.onPlay(e)) }; var a = document.createElement("div"); a.className = this.hostConfig.makeCssClassName("ac-media-playButton-arrow"), a.style.width = "12px", a.style.height = "15px", a.style.borderTopWidth = "7.5px", a.style.borderBottomWidth = "7.5px", a.style.borderLeftWidth = "12px", a.style.borderRightWidth = "0", a.style.borderStyle = "solid", a.style.borderTopColor = "transparent", a.style.borderRightColor = "transparent", a.style.borderBottomColor = "transparent", a.style.transform = "translate(1.2px,0px)", o.appendChild(a); var s = document.createElement("div"); s.style.position = "absolute", s.style.left = "0", s.style.top = "0", s.style.width = "100%", s.style.height = "100%", s.style.display = "flex", s.style.justifyContent = "center", s.style.alignItems = "center", s.appendChild(o), r.appendChild(s) } return r }, t.prototype.renderMediaPlayer = function() { var e; if ("video" == this._selectedMediaType) { var t = document.createElement("video"), r = this.getPosterUrl(); r && (t.poster = r), e = t } else e = document.createElement("audio"); e.controls = !0, e.preload = "none", e.style.width = "100%"; for (var n = 0, i = this.sources; n < i.length; n++) { var o = i[n], a = document.createElement("source"); a.src = o.url, a.type = o.mimeType, e.appendChild(a) } return e }, t.prototype.internalRender = function() { var e = document.createElement("div"); return e.className = this.hostConfig.makeCssClassName("ac-media"), this.processSources(), e.appendChild(this.renderPoster()), e }, t.prototype.parse = function(t, r) { if (e.prototype.parse.call(this, t, r), this.poster = u.getStringValue(t.poster), this.altText = u.getStringValue(t.altText), this.sources = [], Array.isArray(t.sources)) for (var n = 0, i = t.sources; n < i.length; n++) { var o = i[n], a = new N; a.parse(o, r), this.sources.push(a) } }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "poster", this.poster), u.setProperty(t, "altText", this.altText), u.setArrayProperty(t, "sources", this.sources), t }, t.prototype.getJsonTypeName = function() { return "Media" }, t.prototype.getResourceInformation = function() { var e = [], t = this.getPosterUrl(); u.isNullOrEmpty(t) || e.push({ url: t, mimeType: "image" }); for (var r = 0, n = this.sources; r < n.length; r++) { var i = n[r]; u.isNullOrEmpty(i.url) || e.push({ url: i.url, mimeType: i.mimeType }) } return e }, Object.defineProperty(t.prototype, "selectedMediaType", { get: function() { return this._selectedMediaType }, enumerable: !0, configurable: !0 }), t.supportedMediaTypes = ["audio", "video"], t }(_); t.Media = k; var R = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.necessity = a.InputValidationNecessity.Optional, t.errorMessage = void 0, t } return i(t, e), t.prototype.parse = function(t) { e.prototype.parse.call(this, t), this.necessity = u.getEnumValue(a.InputValidationNecessity, t.necessity, this.necessity), this.errorMessage = u.getStringValue(t.errorMessage) }, t.prototype.toJSON = function() { if (this.necessity == a.InputValidationNecessity.Optional && u.isNullOrEmpty(this.errorMessage)) return null; var t = e.prototype.toJSON.call(this); return u.setEnumProperty(a.InputValidationNecessity, t, "necessity", this.necessity, a.InputValidationNecessity.Optional), u.setProperty(t, "errorMessage", this.errorMessage), t }, t }(m); t.InputValidationOptions = R; var L = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.validation = new R, t } return i(t, e), Object.defineProperty(t.prototype, "isNullable", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "renderedInputControlElement", { get: function() { return this._renderedInputControlElement }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "inputControlContainerElement", { get: function() { return this._inputControlContainerElement }, enumerable: !0, configurable: !0 }), t.prototype.overrideInternalRender = function() { var e = this.hostConfig; return this._outerContainerElement = document.createElement("div"), this._outerContainerElement.style.display = "flex", this._outerContainerElement.style.flexDirection = "column", this._inputControlContainerElement = document.createElement("div"), this._inputControlContainerElement.className = e.makeCssClassName("ac-input-container"), this._inputControlContainerElement.style.display = "flex", this._renderedInputControlElement = this.internalRender(), this._renderedInputControlElement.style.minWidth = "0px", de.useBuiltInInputValidation && this.isNullable && this.validation.necessity == a.InputValidationNecessity.RequiredWithVisualCue && this._renderedInputControlElement.classList.add(e.makeCssClassName("ac-input-required")), this._inputControlContainerElement.appendChild(this._renderedInputControlElement), this._outerContainerElement.appendChild(this._inputControlContainerElement), this._outerContainerElement }, t.prototype.valueChanged = function() { var e, t, r; this.resetValidationFailureCue(), this.onValueChanged && this.onValueChanged(this), t = (e = this).getRootElement(), (r = t && t.onInputValueChanged ? t.onInputValueChanged : de.onInputValueChanged) && r(e) }, t.prototype.resetValidationFailureCue = function() { de.useBuiltInInputValidation && this.renderedElement && (this._renderedInputControlElement.classList.remove(this.hostConfig.makeCssClassName("ac-input-validation-failed")), this._errorMessageElement && (this._outerContainerElement.removeChild(this._errorMessageElement), this._errorMessageElement = null)) }, t.prototype.showValidationErrorMessage = function() { this.renderedElement && de.useBuiltInInputValidation && de.displayInputValidationErrors && !u.isNullOrEmpty(this.validation.errorMessage) && (this._errorMessageElement = document.createElement("span"), this._errorMessageElement.className = this.hostConfig.makeCssClassName("ac-input-validation-error-message"), this._errorMessageElement.textContent = this.validation.errorMessage, this._outerContainerElement.appendChild(this._errorMessageElement)) }, t.prototype.parseInputValue = function(e) { return e }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "title", this.title), u.setProperty(t, "value", this.renderedElement && !u.isNullOrEmpty(this.value) ? this.value : this.defaultValue), de.useBuiltInInputValidation && u.setProperty(t, "validation", this.validation.toJSON()), t }, t.prototype.internalValidateProperties = function(t) { e.prototype.internalValidateProperties.call(this, t), u.isNullOrEmpty(this.id) && t.addFailure(this, { error: a.ValidationError.PropertyCantBeNull, message: "All inputs must have a unique Id" }) }, t.prototype.validateValue = function() { if (de.useBuiltInInputValidation) { this.resetValidationFailureCue(); var e = this.validation.necessity == a.InputValidationNecessity.Optional || !u.isNullOrEmpty(this.value); return !e && this.renderedElement && (this._renderedInputControlElement.classList.add(this.hostConfig.makeCssClassName("ac-input-validation-failed")), this.showValidationErrorMessage()), e } return !0 }, t.prototype.parse = function(t, r) { if (e.prototype.parse.call(this, t, r), this.id = u.getStringValue(t.id), this.defaultValue = u.getStringValue(t.value), de.useBuiltInInputValidation) { var n = t.validation; n && this.validation.parse(n) } }, t.prototype.getAllInputs = function() { return [this] }, Object.defineProperty(t.prototype, "defaultValue", { get: function() { return this._defaultValue }, set: function(e) { this._defaultValue = this.parseInputValue(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isInteractive", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), t }(_); t.Input = L; var M = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.isMultiline = !1, t.style = a.InputTextStyle.Text, t } return i(t, e), t.prototype.internalRender = function() { var e = this; if (this.isMultiline) { var t = document.createElement("textarea"); return t.className = this.hostConfig.makeCssClassName("ac-input", "ac-textInput", "ac-multiline"), t.style.flex = "1 1 auto", t.tabIndex = 0, u.isNullOrEmpty(this.placeholder) || (t.placeholder = this.placeholder, t.setAttribute("aria-label", this.placeholder)), u.isNullOrEmpty(this.defaultValue) || (t.value = this.defaultValue), this.maxLength && this.maxLength > 0 && (t.maxLength = this.maxLength), t.oninput = function() { e.valueChanged() }, t.onkeypress = function(t) { 10 == t.keyCode && e.inlineAction && e.inlineAction.execute() }, t } var r = document.createElement("input"); return r.type = a.InputTextStyle[this.style].toLowerCase(), r.className = this.hostConfig.makeCssClassName("ac-input", "ac-textInput"), r.style.flex = "1 1 auto", r.tabIndex = 0, u.isNullOrEmpty(this.placeholder) || (r.placeholder = this.placeholder, r.setAttribute("aria-label", this.placeholder)), u.isNullOrEmpty(this.defaultValue) || (r.value = this.defaultValue), this.maxLength && this.maxLength > 0 && (r.maxLength = this.maxLength), r.oninput = function() { e.valueChanged() }, r.onkeypress = function(t) { 13 == t.keyCode && e.inlineAction && e.inlineAction.execute() }, r }, t.prototype.overrideInternalRender = function() { var t = this, r = e.prototype.overrideInternalRender.call(this); if (this.inlineAction) { var n = document.createElement("button"); if (n.className = this.hostConfig.makeCssClassName("ac-inlineActionButton"), n.onclick = function(e) { e.preventDefault(), e.cancelBubble = !0, t.inlineAction.execute() }, u.isNullOrEmpty(this.inlineAction.iconUrl)) n.classList.add("textOnly"), n.textContent = u.isNullOrEmpty(this.inlineAction.title) ? "Title" : this.inlineAction.title; else { n.classList.add("iconOnly"); var i = document.createElement("img"); i.style.height = "100%", i.style.display = "none", i.onload = function() { i.style.removeProperty("display") }, i.onerror = function() { n.removeChild(i), n.classList.remove("iconOnly"), n.classList.add("textOnly"), n.textContent = u.isNullOrEmpty(t.inlineAction.title) ? "Title" : t.inlineAction.title }, i.src = this.inlineAction.iconUrl, n.appendChild(i), u.isNullOrEmpty(this.inlineAction.title) || (n.title = this.inlineAction.title) } n.style.marginLeft = "8px", this.inputControlContainerElement.appendChild(n) } return r }, t.prototype.getJsonTypeName = function() { return "Input.Text" }, t.prototype.getActionById = function(t) { var r = e.prototype.getActionById.call(this, t); return !r && this.inlineAction && (r = this.inlineAction.getActionById(t)), r }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "placeholder", this.placeholder), u.setNumberProperty(t, "maxLength", this.maxLength), u.setProperty(t, "isMultiline", this.isMultiline, !1), u.setEnumProperty(a.InputTextStyle, t, "style", this.style, a.InputTextStyle.Text), this._inlineAction && u.setProperty(t, "inlineAction", this._inlineAction.toJSON()), t }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.maxLength = u.getNumberValue(t.maxLength), this.isMultiline = u.getBoolValue(t.isMultiline, this.isMultiline), this.placeholder = u.getStringValue(t.placeholder), this.style = u.getEnumValue(a.InputTextStyle, t.style, this.style), this.inlineAction = h(this, t.inlineAction, [J.JsonTypeName], !this.isDesignMode(), r) }, Object.defineProperty(t.prototype, "inlineAction", { get: function() { return this._inlineAction }, set: function(e) { this._inlineAction = e, this._inlineAction && this._inlineAction.setParent(this) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "value", { get: function() { return this.renderedInputControlElement ? (this.isMultiline, this.renderedInputControlElement.value) : null }, enumerable: !0, configurable: !0 }), t }(L); t.TextInput = M; var j = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.valueOn = "true", t.valueOff = "false", t.wrap = !1, t } return i(t, e), t.prototype.internalRender = function() { var e = this, t = document.createElement("div"); if (t.className = this.hostConfig.makeCssClassName("ac-input", "ac-toggleInput"), t.style.width = "100%", t.style.display = "flex", t.style.alignItems = "center", this._checkboxInputElement = document.createElement("input"), this._checkboxInputElement.id = u.generateUniqueId(), this._checkboxInputElement.type = "checkbox", this._checkboxInputElement.style.display = "inline-block", this._checkboxInputElement.style.verticalAlign = "middle", this._checkboxInputElement.style.margin = "0", this._checkboxInputElement.style.flex = "0 0 auto", this._checkboxInputElement.setAttribute("aria-label", this.title), this._checkboxInputElement.tabIndex = 0, this.defaultValue == this.valueOn && (this._checkboxInputElement.checked = !0), this._checkboxInputElement.onchange = function() { e.valueChanged() }, u.appendChild(t, this._checkboxInputElement), !u.isNullOrEmpty(this.title) || this.isDesignMode()) { var r = new A; r.setParent(this), r.forElementId = this._checkboxInputElement.id, r.hostConfig = this.hostConfig, r.text = u.isNullOrEmpty(this.title) ? this.getJsonTypeName() : this.title, r.useMarkdown = de.useMarkdownInRadioButtonAndCheckbox, r.wrap = this.wrap; var n = r.render(); n.style.display = "inline-block", n.style.flex = "1 1 auto", n.style.marginLeft = "6px", n.style.verticalAlign = "middle"; var i = document.createElement("div"); i.style.width = "6px", u.appendChild(t, i), u.appendChild(t, n) } return t }, Object.defineProperty(t.prototype, "isNullable", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t.prototype.getJsonTypeName = function() { return "Input.Toggle" }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "valueOn", this.valueOn, "true"), u.setProperty(t, "valueOff", this.valueOff, "false"), u.setProperty(t, "wrap", this.wrap), t }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.title = u.getStringValue(t.title), this.valueOn = u.getStringValue(t.valueOn, this.valueOn), this.valueOff = u.getStringValue(t.valueOff, this.valueOff), this.wrap = u.getBoolValue(t.wrap, this.wrap) }, Object.defineProperty(t.prototype, "value", { get: function() { return this._checkboxInputElement ? this._checkboxInputElement.checked ? this.valueOn : this.valueOff : null }, enumerable: !0, configurable: !0 }), t }(L); t.ToggleInput = j; var D = function(e) { function t(t, r) { void 0 === t && (t = void 0), void 0 === r && (r = void 0); var n = e.call(this) || this; return n.title = t, n.value = r, n } return i(t, e), t.prototype.parse = function(t) { e.prototype.parse.call(this, t), this.title = u.getStringValue(t.title, ""), this.value = u.getStringValue(t.value, "") }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "title", this.title), u.setProperty(t, "value", this.value), t }, t }(m); t.Choice = D; var U = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.choices = [], t.isCompact = !1, t.isMultiSelect = !1, t.wrap = !1, t } return i(t, e), t.getUniqueCategoryName = function() { var e = "__ac-category" + t.uniqueCategoryCounter; return t.uniqueCategoryCounter++, e }, t.prototype.internalApplyAriaCurrent = function() { var e = this._selectElement.options; if (e) for (var t = 0; t < e.length; t++) e[t].selected ? e[t].setAttribute("aria-current", "true") : e[t].removeAttribute("aria-current") }, t.prototype.internalRender = function() { var e = this; if (this.isMultiSelect) { var r = this.defaultValue ? this.defaultValue.split(this.hostConfig.choiceSetInputValueSeparator) : null; (c = document.createElement("div")).className = this.hostConfig.makeCssClassName("ac-input", "ac-choiceSetInput-multiSelect"), c.style.width = "100%", this._toggleInputs = []; for (var n = 0; n < this.choices.length; n++) { var i = document.createElement("input"); i.id = u.generateUniqueId(), i.type = "checkbox", i.style.margin = "0", i.style.display = "inline-block", i.style.verticalAlign = "middle", i.value = this.choices[n].value, i.style.flex = "0 0 auto", i.setAttribute("aria-label", this.choices[n].title), r && r.indexOf(this.choices[n].value) >= 0 && (i.checked = !0), i.onchange = function() { e.valueChanged() }, this._toggleInputs.push(i), (p = new A).setParent(this), p.forElementId = i.id, p.hostConfig = this.hostConfig, p.text = u.isNullOrEmpty(this.choices[n].title) ? "Choice " + n : this.choices[n].title, p.useMarkdown = de.useMarkdownInRadioButtonAndCheckbox, p.wrap = this.wrap, (d = p.render()).style.display = "inline-block", d.style.flex = "1 1 auto", d.style.marginLeft = "6px", d.style.verticalAlign = "middle", (h = document.createElement("div")).style.width = "6px", (v = document.createElement("div")).style.display = "flex", v.style.alignItems = "center", u.appendChild(v, i), u.appendChild(v, h), u.appendChild(v, d), u.appendChild(c, v) } return c } if (this.isCompact) { this._selectElement = document.createElement("select"), this._selectElement.className = this.hostConfig.makeCssClassName("ac-input", "ac-multichoiceInput", "ac-choiceSetInput-compact"), this._selectElement.style.width = "100%"; var o = document.createElement("option"); o.selected = !0, o.disabled = !0, o.hidden = !0, o.value = "", this.placeholder && (o.text = this.placeholder), u.appendChild(this._selectElement, o); for (var a = 0; a < this.choices.length; a++) { var s = document.createElement("option"); s.value = this.choices[a].value, s.text = this.choices[a].title, s.setAttribute("aria-label", this.choices[a].title), this.choices[a].value == this.defaultValue && (s.selected = !0), u.appendChild(this._selectElement, s) } return this._selectElement.onchange = function() { e.internalApplyAriaCurrent(), e.valueChanged() }, this.internalApplyAriaCurrent(), this._selectElement } var c, l = t.getUniqueCategoryName(); (c = document.createElement("div")).className = this.hostConfig.makeCssClassName("ac-input", "ac-choiceSetInput-expanded"), c.style.width = "100%", this._toggleInputs = []; for (var f = 0; f < this.choices.length; f++) { var p, d, h, v, m = document.createElement("input"); m.id = u.generateUniqueId(), m.type = "radio", m.style.margin = "0", m.style.display = "inline-block", m.style.verticalAlign = "middle", m.name = u.isNullOrEmpty(this.id) ? l : this.id, m.value = this.choices[f].value, m.style.flex = "0 0 auto", m.setAttribute("aria-label", this.choices[f].title), this.choices[f].value == this.defaultValue && (m.checked = !0), m.onchange = function() { e.valueChanged() }, this._toggleInputs.push(m), (p = new A).setParent(this), p.forElementId = m.id, p.hostConfig = this.hostConfig, p.text = u.isNullOrEmpty(this.choices[f].title) ? "Choice " + f : this.choices[f].title, p.useMarkdown = de.useMarkdownInRadioButtonAndCheckbox, p.wrap = this.wrap, (d = p.render()).style.display = "inline-block", d.style.flex = "1 1 auto", d.style.marginLeft = "6px", d.style.verticalAlign = "middle", (h = document.createElement("div")).style.width = "6px", (v = document.createElement("div")).style.display = "flex", v.style.alignItems = "center", u.appendChild(v, m), u.appendChild(v, h), u.appendChild(v, d), u.appendChild(c, v) } return c }, t.prototype.getJsonTypeName = function() { return "Input.ChoiceSet" }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "placeholder", this.placeholder), u.setArrayProperty(t, "choices", this.choices), u.setProperty(t, "style", this.isCompact ? null : "expanded"), u.setProperty(t, "isMultiSelect", this.isMultiSelect, !1), u.setProperty(t, "wrap", this.wrap, !1), t }, t.prototype.internalValidateProperties = function(t) { e.prototype.internalValidateProperties.call(this, t), 0 == this.choices.length && t.addFailure(this, { error: a.ValidationError.CollectionCantBeEmpty, message: "An Input.ChoiceSet must have at least one choice defined." }); for (var r = 0, n = this.choices; r < n.length; r++) { var i = n[r]; i.title && i.value || t.addFailure(this, { error: a.ValidationError.PropertyCantBeNull, message: "All choices in an Input.ChoiceSet must have their title and value properties set." }) } }, t.prototype.parse = function(t, r) { if (e.prototype.parse.call(this, t, r), this.isCompact = !("expanded" === t.style), this.isMultiSelect = u.getBoolValue(t.isMultiSelect, this.isMultiSelect), this.placeholder = u.getStringValue(t.placeholder), this.choices = [], Array.isArray(t.choices)) for (var n = 0, i = t.choices; n < i.length; n++) { var o = i[n], a = new D; a.parse(o), this.choices.push(a) } this.wrap = u.getBoolValue(t.wrap, this.wrap) }, Object.defineProperty(t.prototype, "value", { get: function() { if (this.isMultiSelect) { if (!this._toggleInputs || 0 == this._toggleInputs.length) return null; var e = ""; for (t = 0; t < this._toggleInputs.length; t++) this._toggleInputs[t].checked && ("" != e && (e += this.hostConfig.choiceSetInputValueSeparator), e += this._toggleInputs[t].value); return "" == e ? null : e } if (this.isCompact) return this._selectElement && this._selectElement.selectedIndex > 0 ? this._selectElement.value : null; if (!this._toggleInputs || 0 == this._toggleInputs.length) return null; for (var t = 0; t < this._toggleInputs.length; t++) if (this._toggleInputs[t].checked) return this._toggleInputs[t].value; return null }, enumerable: !0, configurable: !0 }), t.uniqueCategoryCounter = 0, t }(L); t.ChoiceSetInput = U; var B = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.prototype.internalRender = function() { var e = this; return this._numberInputElement = document.createElement("input"), this._numberInputElement.setAttribute("type", "number"), this.min && this._numberInputElement.setAttribute("min", this.min.toString()), this.max && this._numberInputElement.setAttribute("max", this.max.toString()), this._numberInputElement.className = this.hostConfig.makeCssClassName("ac-input", "ac-numberInput"), this._numberInputElement.style.width = "100%", this._numberInputElement.tabIndex = 0, u.isNullOrEmpty(this.defaultValue) || (this._numberInputElement.value = this.defaultValue), u.isNullOrEmpty(this.placeholder) || (this._numberInputElement.placeholder = this.placeholder, this._numberInputElement.setAttribute("aria-label", this.placeholder)), this._numberInputElement.oninput = function() { e.valueChanged() }, this._numberInputElement }, t.prototype.getJsonTypeName = function() { return "Input.Number" }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "placeholder", this.placeholder), u.setNumberProperty(t, "min", this.min), u.setNumberProperty(t, "max", this.max), t }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.placeholder = u.getStringValue(t.placeholder), this.min = u.getNumberValue(t.min), this.max = u.getNumberValue(t.max) }, Object.defineProperty(t.prototype, "min", { get: function() { return this._min }, set: function(e) { this._min = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "max", { get: function() { return this._max }, set: function(e) { this._max = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "value", { get: function() { return this._numberInputElement ? this._numberInputElement.value : void 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "valueAsNumber", { get: function() { return this._numberInputElement ? this._numberInputElement.valueAsNumber : void 0 }, enumerable: !0, configurable: !0 }), t }(L); t.NumberInput = B; var F = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.prototype.internalRender = function() { var e = this; return this._dateInputElement = document.createElement("input"), this._dateInputElement.setAttribute("type", "date"), this._dateInputElement.setAttribute("min", this.min), this._dateInputElement.setAttribute("max", this.max), this._dateInputElement.className = this.hostConfig.makeCssClassName("ac-input", "ac-dateInput"), this._dateInputElement.style.width = "100%", this._dateInputElement.oninput = function() { e.valueChanged() }, u.isNullOrEmpty(this.defaultValue) || (this._dateInputElement.value = this.defaultValue), this._dateInputElement }, t.prototype.getJsonTypeName = function() { return "Input.Date" }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "min", this.min), u.setProperty(t, "max", this.max), t }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.min = u.getStringValue(t.min), this.max = u.getStringValue(t.max) }, Object.defineProperty(t.prototype, "min", { get: function() { return this._min }, set: function(e) { this._min = this.parseInputValue(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "max", { get: function() { return this._max }, set: function(e) { this._max = this.parseInputValue(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "value", { get: function() { return this._dateInputElement ? this._dateInputElement.value : null }, enumerable: !0, configurable: !0 }), t }(L); t.DateInput = F; var z, V = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.prototype.internalRender = function() { var e = this; return this._timeInputElement = document.createElement("input"), this._timeInputElement.setAttribute("type", "time"), this._timeInputElement.setAttribute("min", this.min), this._timeInputElement.setAttribute("max", this.max), this._timeInputElement.className = this.hostConfig.makeCssClassName("ac-input", "ac-timeInput"), this._timeInputElement.style.width = "100%", this._timeInputElement.oninput = function() { e.valueChanged() }, u.isNullOrEmpty(this.defaultValue) || (this._timeInputElement.value = this.defaultValue), this._timeInputElement }, t.prototype.parseInputValue = function(e) { return /^[0-9]{2}:[0-9]{2}$/.test(e) ? e : null }, t.prototype.getJsonTypeName = function() { return "Input.Time" }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "min", this.min), u.setProperty(t, "max", this.max), t }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.min = u.getStringValue(t.min), this.max = u.getStringValue(t.max) }, Object.defineProperty(t.prototype, "min", { get: function() { return this._min }, set: function(e) { this._min = this.parseInputValue(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "max", { get: function() { return this._max }, set: function(e) { this._max = this.parseInputValue(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "value", { get: function() { return this._timeInputElement ? this._timeInputElement.value : null }, enumerable: !0, configurable: !0 }), t }(L); t.TimeInput = V, function(e) { e[e.Normal = 0] = "Normal", e[e.Expanded = 1] = "Expanded", e[e.Subdued = 2] = "Subdued" }(z || (z = {})); var G = function() { function e(e, t) { this._state = z.Normal, this.onClick = null, this.action = e, this._parentContainerStyle = t } return e.prototype.updateCssStyle = function() { var e, t, r = this.action.parent.hostConfig; switch (this.action.renderedElement.className = r.makeCssClassName("ac-pushButton"), u.isNullOrEmpty(this._parentContainerStyle) || this.action.renderedElement.classList.add("style-" + this._parentContainerStyle), this.action instanceof J && this.action.renderedElement.classList.add(r.makeCssClassName("expandable")), this.action.renderedElement.classList.remove(r.makeCssClassName("expanded")), this.action.renderedElement.classList.remove(r.makeCssClassName("subdued")), this._state) { case z.Expanded: this.action.renderedElement.classList.add(r.makeCssClassName("expanded")); break; case z.Subdued: this.action.renderedElement.classList.add(r.makeCssClassName("subdued")) } u.isNullOrEmpty(this.action.style) || (this.action.style === a.ActionStyle.Positive ? (e = this.action.renderedElement.classList).add.apply(e, r.makeCssClassNames("primary", "style-positive")) : (t = this.action.renderedElement.classList).add.apply(t, r.makeCssClassNames("style-" + this.action.style.toLowerCase()))) }, e.prototype.render = function() { var e = this; this.action.render(), this.action.renderedElement.onclick = function(t) { t.preventDefault(), t.cancelBubble = !0, e.click() }, this.updateCssStyle() }, e.prototype.click = function() { null != this.onClick && this.onClick(this) }, Object.defineProperty(e.prototype, "state", { get: function() { return this._state }, set: function(e) { this._state = e, this.updateCssStyle() }, enumerable: !0, configurable: !0 }), e }(), q = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._shouldFallback = !1, t._parent = null, t._actionCollection = null, t._renderedElement = null, t.requires = new c.HostCapabilities, t.style = a.ActionStyle.Default, t } return i(t, e), t.prototype.setCollection = function(e) { this._actionCollection = e }, t.prototype.addCssClasses = function(e) {}, t.prototype.internalGetReferencedInputs = function(e) { return {} }, t.prototype.internalPrepareForExecution = function(e) {}, t.prototype.internalValidateInputs = function(e) { var t = []; if (de.useBuiltInInputValidation && !this.ignoreInputValidation) for (var r = 0, n = Object.keys(e); r < n.length; r++) { var i = e[n[r]]; i.validateValue() || t.push(i) } return t }, t.prototype.getAriaRole = function() { return "button" }, t.prototype.getHref = function() { return "" }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "type", this.getJsonTypeName()), u.setProperty(t, "title", this.title), u.setProperty(t, "iconUrl", this.iconUrl), u.setProperty(t, "style", this.style, a.ActionStyle.Default), t }, t.prototype.render = function(e) { void 0 === e && (e = "ac-pushButton"); var t = this.parent.hostConfig, r = document.createElement("button"); this.addCssClasses(r), r.setAttribute("aria-label", this.title), r.type = "button", r.style.display = "flex", r.style.alignItems = "center", r.style.justifyContent = "center", r.setAttribute("role", this.getAriaRole()); var n = !u.isNullOrEmpty(this.title), i = document.createElement("div"); if (i.style.overflow = "hidden", i.style.textOverflow = "ellipsis", t.actions.iconPlacement == a.ActionIconPlacement.AboveTitle || t.actions.allowTitleToWrap || (i.style.whiteSpace = "nowrap"), n && (i.innerText = this.title), u.isNullOrEmpty(this.iconUrl)) r.classList.add("noIcon"), r.appendChild(i); else { var o = document.createElement("img"); o.src = this.iconUrl, o.style.width = t.actions.iconSize + "px", o.style.height = t.actions.iconSize + "px", o.style.flex = "0 0 auto", t.actions.iconPlacement == a.ActionIconPlacement.AboveTitle ? (r.classList.add("iconAbove"), r.style.flexDirection = "column", n && (o.style.marginBottom = "4px")) : (r.classList.add("iconLeft"), n && (o.style.marginRight = "4px")), r.appendChild(o), r.appendChild(i) } this._renderedElement = r }, t.prototype.setParent = function(e) { this._parent = e }, t.prototype.execute = function() { var e, t, r; this.onExecute && this.onExecute(this), t = (e = this).parent.getRootElement(), (r = t && t.onExecuteAction ? t.onExecuteAction : de.onExecuteAction) && e.prepareForExecution() && r(e) }, t.prototype.prepareForExecution = function() { var e = this.getReferencedInputs(); return !(this.internalValidateInputs(e).length > 0) && (this.internalPrepareForExecution(e), !0) }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), function(e, t, r) { var n = e.parent ? e.parent.getRootElement() : null, i = n && n.onParseAction ? n.onParseAction : de.onParseAction; null != i && i(e, t, r) }(this, t, r), this.requires.parse(t.requires, r), t.title || "" === t.title || ue({ error: a.ValidationError.PropertyCantBeNull, message: "Actions should always have a title." }, r), this.title = u.getStringValue(t.title), this.iconUrl = u.getStringValue(t.iconUrl), this.style = u.getStringValue(t.style, this.style) }, t.prototype.remove = function() { return !!this._actionCollection && this._actionCollection.removeAction(this) }, t.prototype.getAllInputs = function() { return [] }, t.prototype.getResourceInformation = function() { return u.isNullOrEmpty(this.iconUrl) ? [] : [{ url: this.iconUrl, mimeType: "image" }] }, t.prototype.getActionById = function(e) { if (this.id == e) return this }, t.prototype.getReferencedInputs = function() { return this.internalGetReferencedInputs(this.parent.getRootElement().getAllInputs()) }, t.prototype.validateInputs = function() { return this.internalValidateInputs(this.getReferencedInputs()) }, t.prototype.shouldFallback = function() { return this._shouldFallback || !this.requires.areAllMet(this.parent.hostConfig.hostCapabilities) }, Object.defineProperty(t.prototype, "isPrimary", { get: function() { return this.style == a.ActionStyle.Positive }, set: function(e) { e ? this.style = a.ActionStyle.Positive : this.style == a.ActionStyle.Positive && (this.style = a.ActionStyle.Default) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "ignoreInputValidation", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "parent", { get: function() { return this._parent }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "renderedElement", { get: function() { return this._renderedElement }, enumerable: !0, configurable: !0 }), t }(g); t.Action = q; var H = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._isPrepared = !1, t._ignoreInputValidation = !1, t } return i(t, e), t.prototype.internalGetReferencedInputs = function(e) { for (var t = {}, r = 0, n = e; r < n.length; r++) { var i = n[r]; t[i.id] = i } return t }, t.prototype.internalPrepareForExecution = function(e) { this._originalData ? this._processedData = JSON.parse(JSON.stringify(this._originalData)) : this._processedData = {}; for (var t = 0, r = Object.keys(e); t < r.length; t++) { var n = e[r[t]]; null != n.value && (this._processedData[n.id] = n.value) } this._isPrepared = !0 }, t.prototype.getJsonTypeName = function() { return t.JsonTypeName }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "ignoreInputValidation", this.ignoreInputValidation, !1), u.setProperty(t, "data", this._originalData), t }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this._ignoreInputValidation = u.getBoolValue(t.ignoreInputValidation, this._ignoreInputValidation), this.data = t.data }, Object.defineProperty(t.prototype, "ignoreInputValidation", { get: function() { return this._ignoreInputValidation }, set: function(e) { this._ignoreInputValidation = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "data", { get: function() { return this._isPrepared ? this._processedData : this._originalData }, set: function(e) { this._originalData = e, this._isPrepared = !1 }, enumerable: !0, configurable: !0 }), t.JsonTypeName = "Action.Submit", t }(q); t.SubmitAction = H; var W = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.prototype.getJsonTypeName = function() { return t.JsonTypeName }, t.prototype.getAriaRole = function() { return "link" }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "url", this.url), t }, t.prototype.internalValidateProperties = function(t) { e.prototype.internalValidateProperties.call(this, t), u.isNullOrEmpty(this.url) && t.addFailure(this, { error: a.ValidationError.PropertyCantBeNull, message: "An Action.OpenUrl must have its url property set." }) }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.url = u.getStringValue(t.url) }, t.prototype.getHref = function() { return this.url }, t.JsonTypeName = "Action.OpenUrl", t }(q); t.OpenUrlAction = W; var Y = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.targetElements = {}, t } return i(t, e), t.prototype.getJsonTypeName = function() { return t.JsonTypeName }, t.prototype.execute = function() { for (var e = 0, t = Object.keys(this.targetElements); e < t.length; e++) { var r = t[e], n = this.parent.getRootElement().getElementById(r); n && ("boolean" == typeof this.targetElements[r] ? n.isVisible = this.targetElements[r] : n.isVisible = !n.isVisible) } }, t.prototype.parse = function(t) { e.prototype.parse.call(this, t), this.targetElements = {}; var r = t.targetElements; if (r && Array.isArray(r)) for (var n = 0, i = r; n < i.length; n++) { var o = i[n]; if ("string" == typeof o) this.targetElements[o] = void 0; else if ("object" == typeof o) { var a = o.elementId; a && "string" == typeof a && (this.targetElements[a] = u.getBoolValue(o.isVisible, void 0)) } } }, t.prototype.toJSON = function() { for (var t = e.prototype.toJSON.call(this), r = [], n = 0, i = Object.keys(this.targetElements); n < i.length; n++) { var o = i[n]; "boolean" == typeof this.targetElements[o] ? r.push({ elementId: o, isVisible: this.targetElements[o] }) : r.push(o) } return t.targetElements = r, t }, t.prototype.addTargetElement = function(e, t) { void 0 === t && (t = void 0), this.targetElements[e] = t }, t.prototype.removeTargetElement = function(e) { delete this.targetElements[e] }, t.JsonTypeName = "Action.ToggleVisibility", t }(q); t.ToggleVisibilityAction = Y; var K = function(e) { function t(t, r) { void 0 === t && (t = ""), void 0 === r && (r = ""); var n = e.call(this) || this; return n._value = new s.StringWithSubstitutions, n.name = t, n.value = r, n } return i(t, e), t.prototype.parse = function(t) { e.prototype.parse.call(this, t), this.name = u.getStringValue(t.name), this.value = u.getStringValue(t.value) }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "name", this.name), u.setProperty(t, "value", this._value.getOriginal()), t }, t.prototype.getReferencedInputs = function(e, t) { this._value.getReferencedInputs(e, t) }, t.prototype.prepareForExecution = function(e) { this._value.substituteInputValues(e, s.ContentTypes.applicationXWwwFormUrlencoded) }, Object.defineProperty(t.prototype, "value", { get: function() { return this._value.get() }, set: function(e) { this._value.set(e) }, enumerable: !0, configurable: !0 }), t }(m); t.HttpHeader = K; var $ = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._url = new s.StringWithSubstitutions, t._body = new s.StringWithSubstitutions, t._headers = [], t._ignoreInputValidation = !1, t } return i(t, e), t.prototype.internalGetReferencedInputs = function(e) { var t = {}; this._url.getReferencedInputs(e, t); for (var r = 0, n = this._headers; r < n.length; r++) { n[r].getReferencedInputs(e, t) } return this._body.getReferencedInputs(e, t), t }, t.prototype.internalPrepareForExecution = function(e) { this._url.substituteInputValues(e, s.ContentTypes.applicationXWwwFormUrlencoded); for (var t = s.ContentTypes.applicationJson, r = 0, n = this._headers; r < n.length; r++) { var i = n[r]; i.prepareForExecution(e), i.name && "content-type" == i.name.toLowerCase() && (t = i.value) } this._body.substituteInputValues(e, t) }, t.prototype.getJsonTypeName = function() { return t.JsonTypeName }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "method", this.method), u.setProperty(t, "url", this._url.getOriginal()), u.setProperty(t, "body", this._body.getOriginal()), u.setProperty(t, "ignoreInputValidation", this.ignoreInputValidation, !1), u.setArrayProperty(t, "headers", this.headers), t }, t.prototype.internalValidateProperties = function(t) { if (e.prototype.internalValidateProperties.call(this, t), u.isNullOrEmpty(this.url) && t.addFailure(this, { error: a.ValidationError.PropertyCantBeNull, message: "An Action.Http must have its url property set." }), this.headers.length > 0) for (var r = 0, n = this.headers; r < n.length; r++) { n[r].name || t.addFailure(this, { error: a.ValidationError.PropertyCantBeNull, message: "All headers of an Action.Http must have their name and value properties set." }) } }, t.prototype.parse = function(t, r) { if (e.prototype.parse.call(this, t, r), this.url = u.getStringValue(t.url), this.method = u.getStringValue(t.method), this.body = u.getStringValue(t.body), this._ignoreInputValidation = u.getBoolValue(t.ignoreInputValidation, this._ignoreInputValidation), this._headers = [], Array.isArray(t.headers)) for (var n = 0, i = t.headers; n < i.length; n++) { var o = i[n], a = new K; a.parse(o), this.headers.push(a) } }, Object.defineProperty(t.prototype, "ignoreInputValidation", { get: function() { return this._ignoreInputValidation }, set: function(e) { this._ignoreInputValidation = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "url", { get: function() { return this._url.get() }, set: function(e) { this._url.set(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "body", { get: function() { return this._body.get() }, set: function(e) { this._body.set(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "headers", { get: function() { return this._headers ? this._headers : [] }, set: function(e) { this._headers = e }, enumerable: !0, configurable: !0 }), t.JsonTypeName = "Action.Http", t }(q); t.HttpAction = $; var J = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.card = new he, t } return i(t, e), t.prototype.addCssClasses = function(t) { e.prototype.addCssClasses.call(this, t), t.classList.add(this.parent.hostConfig.makeCssClassName("expandable")) }, t.prototype.getJsonTypeName = function() { return t.JsonTypeName }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return this.card && u.setProperty(t, "card", this.card.toJSON()), t }, t.prototype.internalValidateProperties = function(t) { e.prototype.internalValidateProperties.call(this, t), this.card.internalValidateProperties(t) }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r); var n = t.card; n ? this.card.parse(n, r) : ue({ error: a.ValidationError.PropertyCantBeNull, message: 'An Action.ShowCard must have its "card" property set to a valid AdaptiveCard object.' }, r) }, t.prototype.setParent = function(t) { e.prototype.setParent.call(this, t), this.card.setParent(t) }, t.prototype.getAllInputs = function() { return this.card.getAllInputs() }, t.prototype.getResourceInformation = function() { return e.prototype.getResourceInformation.call(this).concat(this.card.getResourceInformation()) }, t.prototype.getActionById = function(t) { var r = e.prototype.getActionById.call(this, t); return r || (r = this.card.getActionById(t)), r }, t.JsonTypeName = "Action.ShowCard", t }(q); t.ShowCardAction = J; var X = function() { function e(e) { this._expandedAction = null, this._renderedActionCount = 0, this._actionCard = null, this.items = [], this.buttons = [], this._owner = e } return e.prototype.refreshContainer = function() { if (this._actionCardContainer.innerHTML = "", null !== this._actionCard) { this._actionCardContainer.style.marginTop = this._renderedActionCount > 0 ? this._owner.hostConfig.actions.showCard.inlineTopMargin + "px" : "0px"; var e = this._owner.getEffectivePadding(); this._owner.getImmediateSurroundingPadding(e); var t = this._owner.hostConfig.paddingDefinitionToSpacingDefinition(e); null !== this._actionCard && (this._actionCard.style.paddingLeft = t.left + "px", this._actionCard.style.paddingRight = t.right + "px", this._actionCard.style.marginLeft = "-" + t.left + "px", this._actionCard.style.marginRight = "-" + t.right + "px", 0 == t.bottom || this._owner.isDesignMode() || (this._actionCard.style.paddingBottom = t.bottom + "px", this._actionCard.style.marginBottom = "-" + t.bottom + "px"), u.appendChild(this._actionCardContainer, this._actionCard)) } else this._actionCardContainer.style.marginTop = "0px" }, e.prototype.layoutChanged = function() { this._owner.getRootElement().updateLayout() }, e.prototype.hideActionCard = function() { var e = this._expandedAction; this._expandedAction = null, this._actionCard = null, this.refreshContainer(), e && (this.layoutChanged(), ae(e, !1)) }, e.prototype.showActionCard = function(e, t, r) { if (void 0 === t && (t = !1), void 0 === r && (r = !0), null != e.card) { e.card.suppressStyle = t; var n = e.card.renderedElement ? e.card.renderedElement : e.card.render(); this._actionCard = n, this._expandedAction = e, this.refreshContainer(), r && (this.layoutChanged(), ae(e, !0)) } }, e.prototype.collapseExpandedAction = function() { for (var e = 0; e < this.buttons.length; e++) this.buttons[e].state = z.Normal; this.hideActionCard() }, e.prototype.expandShowCardAction = function(e, t) { for (var r = 0; r < this.buttons.length; r++) this.buttons[r].action !== e ? this.buttons[r].state = z.Subdued : this.buttons[r].state = z.Expanded; this.showActionCard(e, !(this._owner.isAtTheVeryLeft() && this._owner.isAtTheVeryRight()), t) }, e.prototype.actionClicked = function(e) { if (e.action instanceof J) this._owner.hostConfig.actions.showCard.actionMode === a.ShowCardActionMode.Popup ? e.action.execute() : e.action === this._expandedAction ? this.collapseExpandedAction() : this.expandShowCardAction(e.action, !0); else { for (var t = 0; t < this.buttons.length; t++) this.buttons[t].state = z.Normal; this.hideActionCard(), e.action.execute() } }, e.prototype.getParentContainer = function() { return this._owner instanceof te ? this._owner : this._owner.getParentContainer() }, e.prototype.findActionButton = function(e) { for (var t = 0, r = this.buttons; t < r.length; t++) { var n = r[t]; if (n.action == e) return n } return null }, e.prototype.parse = function(e, t) { if (this.clear(), e && e instanceof Array) for (var r = 0, n = e; r < n.length; r++) { var i = n[r], o = h(this._owner, i, [], !this._owner.isDesignMode(), t); o && this.addAction(o) } }, e.prototype.toJSON = function() { if (this.items.length > 0) { for (var e = [], t = 0, r = this.items; t < r.length; t++) { var n = r[t]; e.push(n.toJSON()) } return e } return null }, e.prototype.getActionById = function(e) { for (var t = null, r = 0; r < this.items.length && !(t = this.items[r].getActionById(e)); r++); return t }, e.prototype.validateProperties = function(e) { this._owner.hostConfig.actions.maxActions && this.items.length > this._owner.hostConfig.actions.maxActions && e.addFailure(this._owner, { error: a.ValidationError.TooManyActions, message: "A maximum of " + this._owner.hostConfig.actions.maxActions + " actions are allowed." }), this.items.length > 0 && !this._owner.hostConfig.supportsInteractivity && e.addFailure(this._owner, { error: a.ValidationError.InteractivityNotAllowed, message: "Interactivity is not allowed." }); for (var t = 0, r = this.items; t < r.length; t++) { var n = r[t]; p(n, this._owner.getForbiddenActionTypes()) || e.addFailure(this._owner, { error: a.ValidationError.ActionTypeNotAllowed, message: "Actions of type " + n.getJsonTypeName() + " are not allowe." }), n.internalValidateProperties(e) } }, e.prototype.render = function(e, t) { var r = this, n = this._owner.hostConfig; if (!n.supportsInteractivity) return null; var i = document.createElement("div"), o = n.actions.maxActions ? Math.min(n.actions.maxActions, this.items.length) : this.items.length, s = this._owner.getForbiddenActionTypes(); if (this._actionCardContainer = document.createElement("div"), this._renderedActionCount = 0, n.actions.preExpandSingleShowCardAction && 1 == o && this.items[0] instanceof J && p(this.items[0], s)) this.showActionCard(this.items[0], !0), this._renderedActionCount = 1; else { var c = document.createElement("div"); if (c.className = n.makeCssClassName("ac-actionSet"), c.style.display = "flex", e == a.Orientation.Horizontal) if (c.style.flexDirection = "row", this._owner.horizontalAlignment && n.actions.actionAlignment != a.ActionAlignment.Stretch) switch (this._owner.horizontalAlignment) { case a.HorizontalAlignment.Center: c.style.justifyContent = "center"; break; case a.HorizontalAlignment.Right: c.style.justifyContent = "flex-end"; break; default: c.style.justifyContent = "flex-start" } else switch (n.actions.actionAlignment) { case a.ActionAlignment.Center: c.style.justifyContent = "center"; break; case a.ActionAlignment.Right: c.style.justifyContent = "flex-end"; break; default: c.style.justifyContent = "flex-start" } else if (c.style.flexDirection = "column", this._owner.horizontalAlignment && n.actions.actionAlignment != a.ActionAlignment.Stretch) switch (this._owner.horizontalAlignment) { case a.HorizontalAlignment.Center: c.style.alignItems = "center"; break; case a.HorizontalAlignment.Right: c.style.alignItems = "flex-end"; break; default: c.style.alignItems = "flex-start" } else switch (n.actions.actionAlignment) { case a.ActionAlignment.Center: c.style.alignItems = "center"; break; case a.ActionAlignment.Right: c.style.alignItems = "flex-end"; break; case a.ActionAlignment.Stretch: c.style.alignItems = "stretch"; break; default: c.style.alignItems = "flex-start" } for (var l = this.getParentContainer().getEffectiveStyle(), f = 0; f < this.items.length; f++) if (p(this.items[f], s)) { var d = this.findActionButton(this.items[f]); if (d || ((d = new G(this.items[f], l)).onClick = function(e) { r.actionClicked(e) }, this.buttons.push(d)), d.render(), n.actions.actionsOrientation == a.Orientation.Horizontal && n.actions.actionAlignment == a.ActionAlignment.Stretch ? d.action.renderedElement.style.flex = "0 1 100%" : d.action.renderedElement.style.flex = "0 1 auto", c.appendChild(d.action.renderedElement), this._renderedActionCount++, this._renderedActionCount >= n.actions.maxActions || f == this.items.length - 1) break; if (n.actions.buttonSpacing > 0) { var h = document.createElement("div"); e === a.Orientation.Horizontal ? (h.style.flex = "0 0 auto", h.style.width = n.actions.buttonSpacing + "px") : h.style.height = n.actions.buttonSpacing + "px", u.appendChild(c, h) } } var v = document.createElement("div"); v.style.overflow = "hidden", v.appendChild(c), u.appendChild(i, v) } u.appendChild(i, this._actionCardContainer); for (f = 0; f < this.buttons.length; f++) if (this.buttons[f].state == z.Expanded) { this.expandShowCardAction(this.buttons[f].action, !1); break } return this._renderedActionCount > 0 ? i : null }, e.prototype.addAction = function(e) { if (!e) throw new Error("The action parameter cannot be null."); if (e.parent && e.parent !== this._owner || !(this.items.indexOf(e) < 0)) throw new Error("The action already belongs to another element."); this.items.push(e), e.parent || e.setParent(this._owner), f(e, this) }, e.prototype.removeAction = function(e) { this.expandedAction && this._expandedAction == e && this.collapseExpandedAction(); var t = this.items.indexOf(e); if (t >= 0) { this.items.splice(t, 1), e.setParent(null), f(e, null); for (var r = 0; r < this.buttons.length; r++) if (this.buttons[r].action == e) { this.buttons.splice(r, 1); break } return !0 } return !1 }, e.prototype.clear = function() { this.items = [], this.buttons = [], this._expandedAction = null, this._renderedActionCount = 0 }, e.prototype.getAllInputs = function() { for (var e = [], t = 0; t < this.items.length; t++) { var r = this.items[t]; e = e.concat(r.getAllInputs()) } return e }, e.prototype.getResourceInformation = function() { for (var e = [], t = 0; t < this.items.length; t++) e = e.concat(this.items[t].getResourceInformation()); return e }, Object.defineProperty(e.prototype, "renderedActionCount", { get: function() { return this._renderedActionCount }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "expandedAction", { get: function() { return this._expandedAction }, enumerable: !0, configurable: !0 }), e }(), Z = function(e) { function t() { var t = e.call(this) || this; return t.orientation = null, t._actionCollection = new X(t), t } return i(t, e), t.prototype.internalRender = function() { return this._actionCollection.render(this.orientation ? this.orientation : this.hostConfig.actions.actionsOrientation, this.isDesignMode()) }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setEnumProperty(a.Orientation, t, "orientation", this.orientation), u.setProperty(t, "actions", this._actionCollection.toJSON()), t }, t.prototype.isBleedingAtBottom = function() { return 0 == this._actionCollection.renderedActionCount ? e.prototype.isBleedingAtBottom.call(this) : 1 == this._actionCollection.items.length ? null != this._actionCollection.expandedAction && !this.hostConfig.actions.preExpandSingleShowCardAction : null != this._actionCollection.expandedAction }, t.prototype.getJsonTypeName = function() { return "ActionSet" }, t.prototype.getActionCount = function() { return this._actionCollection.items.length }, t.prototype.getActionAt = function(t) { if (t >= 0 && t < this.getActionCount()) return this._actionCollection.items[t]; e.prototype.getActionAt.call(this, t) }, t.prototype.internalValidateProperties = function(t) { e.prototype.internalValidateProperties.call(this, t), this._actionCollection.validateProperties(t) }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r); var n = t.orientation; n && (this.orientation = u.getEnumValue(a.Orientation, n, a.Orientation.Horizontal)), this._actionCollection.parse(t.actions, r) }, t.prototype.addAction = function(e) { this._actionCollection.addAction(e) }, t.prototype.getAllInputs = function() { return this._actionCollection.getAllInputs() }, t.prototype.getResourceInformation = function() { return this._actionCollection.getResourceInformation() }, Object.defineProperty(t.prototype, "isInteractive", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), t }(_); t.ActionSet = Z; var Q = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._style = null, t._bleed = !1, t } return i(t, e), t.prototype.applyBackground = function() { var e = this.hostConfig.containerStyles.getStyleByName(this.style, this.hostConfig.containerStyles.getStyleByName(this.defaultStyle)); u.isNullOrEmpty(e.backgroundColor) || (this.renderedElement.style.backgroundColor = u.stringToCssColor(e.backgroundColor)) }, t.prototype.applyPadding = function() { if (e.prototype.applyPadding.call(this), this.renderedElement) { var t = new s.SpacingDefinition; if (this.getEffectivePadding() && (t = this.hostConfig.paddingDefinitionToSpacingDefinition(this.getEffectivePadding())), this.renderedElement.style.paddingTop = t.top + "px", this.renderedElement.style.paddingRight = t.right + "px", this.renderedElement.style.paddingBottom = t.bottom + "px", this.renderedElement.style.paddingLeft = t.left + "px", this.isBleeding()) { var r = new s.PaddingDefinition; this.getImmediateSurroundingPadding(r); var n = this.hostConfig.paddingDefinitionToSpacingDefinition(r); this.renderedElement.style.marginRight = "-" + n.right + "px", this.renderedElement.style.marginLeft = "-" + n.left + "px", this.isDesignMode() || (this.renderedElement.style.marginTop = "-" + n.top + "px", this.renderedElement.style.marginBottom = "-" + n.bottom + "px"), this.separatorElement && this.separatorOrientation == a.Orientation.Horizontal && (this.separatorElement.style.marginLeft = "-" + n.left + "px", this.separatorElement.style.marginRight = "-" + n.right + "px") } else this.renderedElement.style.marginRight = "0", this.renderedElement.style.marginLeft = "0", this.renderedElement.style.marginTop = "0", this.renderedElement.style.marginBottom = "0", this.separatorElement && (this.separatorElement.style.marginRight = "0", this.separatorElement.style.marginLeft = "0") } }, t.prototype.getHasBackground = function() { for (var e = this.parent; e;) { var r = e instanceof te && e.backgroundImage.isValid(); if (e instanceof t && this.hasExplicitStyle && (e.getEffectiveStyle() != this.getEffectiveStyle() || r)) return !0; e = e.parent } return !1 }, t.prototype.getDefaultPadding = function() { return this.getHasBackground() ? new s.PaddingDefinition(a.Spacing.Padding, a.Spacing.Padding, a.Spacing.Padding, a.Spacing.Padding) : e.prototype.getDefaultPadding.call(this) }, t.prototype.getHasExpandedAction = function() { return !1 }, t.prototype.getBleed = function() { return this._bleed }, t.prototype.setBleed = function(e) { this._bleed = e }, Object.defineProperty(t.prototype, "renderedActionCount", { get: function() { return 0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "hasExplicitStyle", { get: function() { return null != this._style }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "allowCustomStyle", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "supportsMinHeight", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), t.prototype.isBleeding = function() { return (this.getHasBackground() || this.hostConfig.alwaysAllowBleed) && this.getBleed() }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "style", this.style), t }, t.prototype.internalValidateProperties = function(t) { (e.prototype.internalValidateProperties.call(this, t), this._style) && (this.hostConfig.containerStyles.getStyleByName(this._style) || t.addFailure(this, { error: a.ValidationError.InvalidPropertyValue, message: "Unknown container style: " + this._style })) }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this._style = u.getStringValue(t.style) }, t.prototype.render = function() { var t = e.prototype.render.call(this); return t && this.getHasBackground() && this.applyBackground(), t }, t.prototype.getEffectiveStyle = function() { var t = this.style; return t || e.prototype.getEffectiveStyle.call(this) }, Object.defineProperty(t.prototype, "style", { get: function() { return this.allowCustomStyle && this._style && this.hostConfig.containerStyles.getStyleByName(this._style) ? this._style : null }, set: function(e) { this._style = e }, enumerable: !0, configurable: !0 }), t }(P); t.StylableCardElementContainer = Q; var ee = function(e) { function t() { var r = null !== e && e.apply(this, arguments) || this; return r.fillMode = t.defaultFillMode, r.horizontalAlignment = t.defaultHorizontalAlignment, r.verticalAlignment = t.defaultVerticalAlignment, r } return i(t, e), t.prototype.reset = function() { this.url = void 0, this.fillMode = t.defaultFillMode, this.horizontalAlignment = t.defaultHorizontalAlignment, this.verticalAlignment = t.defaultVerticalAlignment }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.url = u.getStringValue(t.url), this.fillMode = u.getEnumValue(a.FillMode, t.fillMode, this.fillMode), this.horizontalAlignment = u.getEnumValue(a.HorizontalAlignment, t.horizontalAlignment, this.horizontalAlignment), this.verticalAlignment = u.getEnumValue(a.VerticalAlignment, t.verticalAlignment, this.verticalAlignment) }, t.prototype.toJSON = function() { if (!this.isValid()) return null; if (this.fillMode == t.defaultFillMode && this.horizontalAlignment == t.defaultHorizontalAlignment && this.verticalAlignment == t.defaultVerticalAlignment) return this.url; var r = e.prototype.toJSON.call(this); return u.setProperty(r, "url", this.url), u.setEnumProperty(a.FillMode, r, "fillMode", this.fillMode, t.defaultFillMode), u.setEnumProperty(a.HorizontalAlignment, r, "horizontalAlignment", this.horizontalAlignment, t.defaultHorizontalAlignment), u.setEnumProperty(a.VerticalAlignment, r, "verticalAlignment", this.verticalAlignment, t.defaultVerticalAlignment), r }, t.prototype.apply = function(e) { if (this.url) { switch (e.style.backgroundImage = "url('" + this.url + "')", this.fillMode) { case a.FillMode.Repeat: e.style.backgroundRepeat = "repeat"; break; case a.FillMode.RepeatHorizontally: e.style.backgroundRepeat = "repeat-x"; break; case a.FillMode.RepeatVertically: e.style.backgroundRepeat = "repeat-y"; break; case a.FillMode.Cover: default: e.style.backgroundRepeat = "no-repeat", e.style.backgroundSize = "cover" } switch (this.horizontalAlignment) { case a.HorizontalAlignment.Center: e.style.backgroundPositionX = "center"; break; case a.HorizontalAlignment.Right: e.style.backgroundPositionX = "right" } switch (this.verticalAlignment) { case a.VerticalAlignment.Center: e.style.backgroundPositionY = "center"; break; case a.VerticalAlignment.Bottom: e.style.backgroundPositionY = "bottom" } } }, t.prototype.isValid = function() { return !u.isNullOrEmpty(this.url) }, t.defaultFillMode = a.FillMode.Cover, t.defaultHorizontalAlignment = a.HorizontalAlignment.Left, t.defaultVerticalAlignment = a.VerticalAlignment.Top, t }(m); t.BackgroundImage = ee; var te = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._items = [], t._renderedItems = [], t.backgroundImage = new ee, t.verticalContentAlignment = a.VerticalAlignment.Top, t.rtl = null, t } return i(t, e), t.prototype.insertItemAt = function(e, t, r) { if (e.parent && !r) throw new Error("The element already belongs to another container."); if (!e.isStandalone) throw new Error("Elements of type " + e.getJsonTypeName() + " cannot be used as standalone elements."); t < 0 || t >= this._items.length ? this._items.push(e) : this._items.splice(t, 0, e), e.setParent(this) }, t.prototype.supportsExcplitiHeight = function() { return !0 }, t.prototype.getItemsCollectionPropertyName = function() { return "items" }, t.prototype.applyBackground = function() { this.backgroundImage.isValid() && this.backgroundImage.apply(this.renderedElement), e.prototype.applyBackground.call(this) }, t.prototype.internalRender = function() { this._renderedItems = []; var e = this.hostConfig, t = document.createElement("div"); switch (null != this.rtl && this.rtl && (t.dir = "rtl"), t.classList.add(e.makeCssClassName("ac-container")), t.style.display = "flex", t.style.flexDirection = "column", de.useAdvancedCardBottomTruncation && (t.style.minHeight = "-webkit-min-content"), this.verticalContentAlignment) { case a.VerticalAlignment.Center: t.style.justifyContent = "center"; break; case a.VerticalAlignment.Bottom: t.style.justifyContent = "flex-end"; break; default: t.style.justifyContent = "flex-start" } if (this._items.length > 0) for (var r = 0; r < this._items.length; r++) { var n = this.isElementAllowed(this._items[r], this.getForbiddenElementTypes()) ? this._items[r].render() : null; n && (this._renderedItems.length > 0 && this._items[r].separatorElement && (this._items[r].separatorElement.style.flex = "0 0 auto", u.appendChild(t, this._items[r].separatorElement)), u.appendChild(t, n), this._renderedItems.push(this._items[r])) } else if (this.isDesignMode()) { var i = this.createPlaceholderElement(); i.style.width = "100%", i.style.height = "100%", t.appendChild(i) } return t }, t.prototype.truncateOverflow = function(e) { for (var t = this.renderedElement.offsetTop + e + 1, r = function(e) { var n = e.renderedElement; if (n) switch (u.getFitStatus(n, t)) { case a.ContainerFitStatus.FullyInContainer: e.resetOverflow() && r(e); break; case a.ContainerFitStatus.Overflowing: var i = t - n.offsetTop; e.handleOverflow(i); break; case a.ContainerFitStatus.FullyOutOfContainer: e.handleOverflow(0) } }, n = 0, i = this._items; n < i.length; n++) { var o = i[n]; r(o) } return !0 }, t.prototype.undoOverflowTruncation = function() { for (var e = 0, t = this._items; e < t.length; e++) { t[e].resetOverflow() } }, t.prototype.getHasBackground = function() { return this.backgroundImage.isValid() || e.prototype.getHasBackground.call(this) }, Object.defineProperty(t.prototype, "isSelectable", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); if (u.setProperty(t, "backgroundImage", this.backgroundImage.toJSON()), u.setEnumProperty(a.VerticalAlignment, t, "verticalContentAlignment", this.verticalContentAlignment, a.VerticalAlignment.Top), this._items.length > 0) { for (var r = [], n = 0, i = this._items; n < i.length; n++) { var o = i[n]; r.push(o.toJSON()) } u.setProperty(t, this.getItemsCollectionPropertyName(), r) } return u.setProperty(t, "bleed", this.bleed, !1), t }, t.prototype.getItemCount = function() { return this._items.length }, t.prototype.getItemAt = function(e) { return this._items[e] }, t.prototype.getFirstVisibleRenderedItem = function() { if (this.renderedElement && this._renderedItems && this._renderedItems.length > 0) for (var e = 0, t = this._renderedItems; e < t.length; e++) { var r = t[e]; if (r.isVisible) return r } return null }, t.prototype.getLastVisibleRenderedItem = function() { if (this.renderedElement && this._renderedItems && this._renderedItems.length > 0) for (var e = this._renderedItems.length - 1; e >= 0; e--) if (this._renderedItems[e].isVisible) return this._renderedItems[e]; return null }, t.prototype.getJsonTypeName = function() { return "Container" }, t.prototype.isFirstElement = function(e) { for (var t = this.isDesignMode(), r = 0; r < this._items.length; r++) if (this._items[r].isVisible || t) return this._items[r] == e; return !1 }, t.prototype.isLastElement = function(e) { for (var t = this.isDesignMode(), r = this._items.length - 1; r >= 0; r--) if (this._items[r].isVisible || t) return this._items[r] == e; return !1 }, t.prototype.isRtl = function() { if (null != this.rtl) return this.rtl; var e = this.getParentContainer(); return !!e && e.isRtl() }, t.prototype.isBleedingAtTop = function() { var e = this.getFirstVisibleRenderedItem(); return this.isBleeding() || !!e && e.isBleedingAtTop() }, t.prototype.isBleedingAtBottom = function() { var e = this.getLastVisibleRenderedItem(); return this.isBleeding() || !!e && (e.isBleedingAtBottom() && e.getEffectiveStyle() == this.getEffectiveStyle()) }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this.setShouldFallback(!1), this._items = [], this._renderedItems = [], this.backgroundImage.reset(); var n = t.backgroundImage; if (n && ("string" == typeof n ? (this.backgroundImage.url = n, this.backgroundImage.fillMode = a.FillMode.Cover) : "object" == typeof n && this.backgroundImage.parse(n, r)), this.verticalContentAlignment = u.getEnumValue(a.VerticalAlignment, t.verticalContentAlignment, this.verticalContentAlignment), null != t[this.getItemsCollectionPropertyName()]) { var i = t[this.getItemsCollectionPropertyName()]; this.clear(); for (var o = 0; o < i.length; o++) { var s = v(this, i[o], !this.isDesignMode(), r); s && this.insertItemAt(s, -1, !0) } } this.bleed = u.getBoolValue(t.bleed, this.bleed) }, t.prototype.indexOf = function(e) { return this._items.indexOf(e) }, t.prototype.addItem = function(e) { this.insertItemAt(e, -1, !1) }, t.prototype.insertItemBefore = function(e, t) { this.insertItemAt(e, this._items.indexOf(t), !1) }, t.prototype.insertItemAfter = function(e, t) { this.insertItemAt(e, this._items.indexOf(t) + 1, !1) }, t.prototype.removeItem = function(e) { var t = this._items.indexOf(e); return t >= 0 && (this._items.splice(t, 1), e.setParent(null), this.updateLayout(), !0) }, t.prototype.clear = function() { this._items = [] }, t.prototype.getResourceInformation = function() { var t = e.prototype.getResourceInformation.call(this); return this.backgroundImage.isValid() && t.push({ url: this.backgroundImage.url, mimeType: "image" }), t }, t.prototype.getActionById = function(t) { var r = e.prototype.getActionById.call(this, t); if (!r && (this.selectAction && (r = this.selectAction.getActionById(t)), !r)) for (var n = 0; n < this._items.length && !(r = this._items[n].getActionById(t)); n++); return r }, Object.defineProperty(t.prototype, "padding", { get: function() { return this.getPadding() }, set: function(e) { this.setPadding(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "selectAction", { get: function() { return this.getSelectAction() }, set: function(e) { this.setSelectAction(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "bleed", { get: function() { return this.getBleed() }, set: function(e) { this.setBleed(e) }, enumerable: !0, configurable: !0 }), t }(Q); t.Container = te; var re = function(e) { function t(t) { void 0 === t && (t = "stretch"); var r = e.call(this) || this; return r._computedWeight = 0, r.width = "stretch", r.width = t, r } return i(t, e), t.prototype.adjustRenderedElementSize = function(e) { if (this.isDesignMode() ? (e.style.minWidth = "20px", e.style.minHeight = (this.minPixelHeight ? Math.max(this.minPixelHeight, 20) : 20) + "px") : (e.style.minWidth = "0", this.minPixelHeight && (e.style.minHeight = this.minPixelHeight + "px")), "auto" === this.width) e.style.flex = "0 1 auto"; else if ("stretch" === this.width) e.style.flex = "1 1 50px"; else { var t = this.width; t.unit == a.SizeUnit.Pixel ? (e.style.flex = "0 0 auto", e.style.width = t.physicalSize + "px") : e.style.flex = "1 1 " + (this._computedWeight > 0 ? this._computedWeight : t.physicalSize) + "%" } }, Object.defineProperty(t.prototype, "separatorOrientation", { get: function() { return a.Orientation.Vertical }, enumerable: !0, configurable: !0 }), t.prototype.getJsonTypeName = function() { return "Column" }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return this.width instanceof s.SizeAndUnit ? this.width.unit == a.SizeUnit.Pixel ? u.setProperty(t, "width", this.width.physicalSize + "px") : u.setNumberProperty(t, "width", this.width.physicalSize) : u.setProperty(t, "width", this.width), t }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r); var n = t.width; if (void 0 === n && void 0 !== (n = t.size) && ue({ error: a.ValidationError.Deprecated, message: 'The "Column.size" property is deprecated and will be removed. Use the "Column.width" property instead.' }, r), n) { var i = !1; try { this.width = s.SizeAndUnit.parse(n) } catch (e) { "string" != typeof n || "auto" !== n && "stretch" !== n ? i = !0 : this.width = n } i && ue({ error: a.ValidationError.InvalidPropertyValue, message: "Invalid column width:" + n + ' - defaulting to "auto"' }, r) } }, Object.defineProperty(t.prototype, "hasVisibleSeparator", { get: function() { return !!(this.parent && this.parent instanceof ne) && (this.separatorElement && !this.parent.isLeftMostElement(this)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "isStandalone", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t }(te); t.Column = re; var ne = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._columns = [], t } return i(t, e), t.prototype.createColumnInstance = function(e, t) { return d(this, e, [], !this.isDesignMode(), (function(e) { return e && "Column" !== e ? null : new re }), (function(e, t) { return t == o.UnknownType ? { error: a.ValidationError.UnknownElementType, message: "Unknown element type: " + e + ". Fallback will be used if present." } : { error: a.ValidationError.ElementTypeNotAllowed, message: "Element type " + e + " isn't allowed in a ColumnSet." } }), t) }, t.prototype.internalRender = function() { if (this._renderedColumns = [], this._columns.length > 0) { var e = this.hostConfig, t = document.createElement("div"); switch (t.className = e.makeCssClassName("ac-columnSet"), t.style.display = "flex", de.useAdvancedCardBottomTruncation && (t.style.minHeight = "-webkit-min-content"), this.horizontalAlignment) { case a.HorizontalAlignment.Center: t.style.justifyContent = "center"; break; case a.HorizontalAlignment.Right: t.style.justifyContent = "flex-end"; break; default: t.style.justifyContent = "flex-start" } for (var r = 0, n = 0, i = this._columns; n < i.length; n++) { (l = i[n]).width instanceof s.SizeAndUnit && l.width.unit == a.SizeUnit.Weight && (r += l.width.physicalSize) } for (var o = 0, c = this._columns; o < c.length; o++) { var l; if ((l = c[o]).width instanceof s.SizeAndUnit && l.width.unit == a.SizeUnit.Weight && r > 0) { var f = 100 / r * l.width.physicalSize; l._computedWeight = f } var p = l.render(); p && (this._renderedColumns.length > 0 && l.separatorElement && (l.separatorElement.style.flex = "0 0 auto", u.appendChild(t, l.separatorElement)), u.appendChild(t, p), this._renderedColumns.push(l)) } return this._renderedColumns.length > 0 ? t : null } return null }, t.prototype.truncateOverflow = function(e) { for (var t = 0, r = this._columns; t < r.length; t++) { r[t].handleOverflow(e) } return !0 }, t.prototype.undoOverflowTruncation = function() { for (var e = 0, t = this._columns; e < t.length; e++) { t[e].resetOverflow() } }, Object.defineProperty(t.prototype, "isSelectable", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); if (this._columns.length > 0) { for (var r = [], n = 0, i = this._columns; n < i.length; n++) { var o = i[n]; r.push(o.toJSON()) } u.setProperty(t, "columns", r) } return u.setProperty(t, "bleed", this.bleed, !1), t }, t.prototype.isFirstElement = function(e) { for (var t = 0; t < this._columns.length; t++) if (this._columns[t].isVisible) return this._columns[t] == e; return !1 }, t.prototype.isBleedingAtTop = function() { if (this.isBleeding()) return !0; if (this._renderedColumns && this._renderedColumns.length > 0) for (var e = 0, t = this._columns; e < t.length; e++) { if (t[e].isBleedingAtTop()) return !0 } return !1 }, t.prototype.isBleedingAtBottom = function() { if (this.isBleeding()) return !0; if (this._renderedColumns && this._renderedColumns.length > 0) for (var e = 0, t = this._columns; e < t.length; e++) { if (t[e].isBleedingAtBottom()) return !0 } return !1 }, t.prototype.getCount = function() { return this._columns.length }, t.prototype.getItemCount = function() { return this.getCount() }, t.prototype.getFirstVisibleRenderedItem = function() { return this.renderedElement && this._renderedColumns && this._renderedColumns.length > 0 ? this._renderedColumns[0] : null }, t.prototype.getLastVisibleRenderedItem = function() { return this.renderedElement && this._renderedColumns && this._renderedColumns.length > 0 ? this._renderedColumns[this._renderedColumns.length - 1] : null }, t.prototype.getColumnAt = function(e) { return this._columns[e] }, t.prototype.getItemAt = function(e) { return this.getColumnAt(e) }, t.prototype.getJsonTypeName = function() { return "ColumnSet" }, t.prototype.parse = function(t, r) { if (e.prototype.parse.call(this, t, r), null != t.columns) { var n = t.columns; this._columns = []; for (var i = 0; i < n.length; i++) { var o = this.createColumnInstance(n[i], r); o && this._columns.push(o) } } this.bleed = u.getBoolValue(t.bleed, this.bleed) }, t.prototype.internalValidateProperties = function(t) { e.prototype.internalValidateProperties.call(this, t); for (var r = 0, n = 0, i = 0, o = this._columns; i < o.length; i++) { var s = o[i]; "number" == typeof s.width ? r++ : "stretch" === s.width && n++ } r > 0 && n > 0 && t.addFailure(this, { error: a.ValidationError.Hint, message: "It is not recommended to use weighted and stretched columns in the same ColumnSet, because in such a situation stretched columns will always get the minimum amount of space." }) }, t.prototype.addColumn = function(e) { if (e.parent) throw new Error("This column already belongs to another ColumnSet."); this._columns.push(e), e.setParent(this) }, t.prototype.removeItem = function(e) { if (e instanceof re) { var t = this._columns.indexOf(e); if (t >= 0) return this._columns.splice(t, 1), e.setParent(null), this.updateLayout(), !0 } return !1 }, t.prototype.indexOf = function(e) { return e instanceof re ? this._columns.indexOf(e) : -1 }, t.prototype.isLeftMostElement = function(e) { return 0 == this._columns.indexOf(e) }, t.prototype.isRightMostElement = function(e) { return this._columns.indexOf(e) == this._columns.length - 1 }, t.prototype.isTopElement = function(e) { return this._columns.indexOf(e) >= 0 }, t.prototype.isBottomElement = function(e) { return this._columns.indexOf(e) >= 0 }, t.prototype.getActionById = function(e) { for (var t = null, r = 0; r < this._columns.length && !(t = this._columns[r].getActionById(e)); r++); return t }, Object.defineProperty(t.prototype, "bleed", { get: function() { return this.getBleed() }, set: function(e) { this.setBleed(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "padding", { get: function() { return this.getPadding() }, set: function(e) { this.setPadding(e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "selectAction", { get: function() { return this.getSelectAction() }, set: function(e) { this.setSelectAction(e) }, enumerable: !0, configurable: !0 }), t }(Q); function ie(e) { var t = e.getRootElement(), r = t && t.onImageLoaded ? t.onImageLoaded : de.onImageLoaded; r && r(e) } function oe(e, t) { var r = e.getRootElement(), n = r && r.onAnchorClicked ? r.onAnchorClicked : de.onAnchorClicked; return null != n && n(e, t) } function ae(e, t) { var r = e.parent.getRootElement(), n = r && r.onInlineCardExpanded ? r.onInlineCardExpanded : de.onInlineCardExpanded; n && n(e, t) } function se(e, t) { void 0 === t && (t = !0); var r = e.getRootElement(); t && r.updateLayout(); var n = r, i = n && n.onElementVisibilityChanged ? n.onElementVisibilityChanged : de.onElementVisibilityChanged; null != i && i(e) } function ue(e, t) { t && t.push(e), null != de.onParseError && de.onParseError(e) } t.ColumnSet = ne; var ce = function(e) { function t() { var t = e.call(this) || this; return t._actionCollection = new X(t), t } return i(t, e), t.prototype.internalRender = function() { var t = e.prototype.internalRender.call(this), r = this._actionCollection.render(this.hostConfig.actions.actionsOrientation, !1); return r && (u.appendChild(t, u.renderSeparation(this.hostConfig, { spacing: this.hostConfig.getEffectiveSpacing(this.hostConfig.actions.spacing), lineThickness: null, lineColor: null }, a.Orientation.Horizontal)), u.appendChild(t, r)), this.renderIfEmpty || t.children.length > 0 ? t : null }, t.prototype.getHasExpandedAction = function() { return 0 != this.renderedActionCount && (1 == this.renderedActionCount ? null != this._actionCollection.expandedAction && !this.hostConfig.actions.preExpandSingleShowCardAction : null != this._actionCollection.expandedAction) }, Object.defineProperty(t.prototype, "renderedActionCount", { get: function() { return this._actionCollection.renderedActionCount }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "renderIfEmpty", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "actions", this._actionCollection.toJSON()), t }, t.prototype.getActionCount = function() { return this._actionCollection.items.length }, t.prototype.getActionAt = function(t) { if (t >= 0 && t < this.getActionCount()) return this._actionCollection.items[t]; e.prototype.getActionAt.call(this, t) }, t.prototype.getActionById = function(t) { var r = this._actionCollection.getActionById(t); return r || e.prototype.getActionById.call(this, t) }, t.prototype.parse = function(t, r) { e.prototype.parse.call(this, t, r), this._actionCollection.parse(t.actions, r) }, t.prototype.internalValidateProperties = function(t) { e.prototype.internalValidateProperties.call(this, t), this._actionCollection && this._actionCollection.validateProperties(t) }, t.prototype.isLastElement = function(t) { return e.prototype.isLastElement.call(this, t) && 0 == this._actionCollection.items.length }, t.prototype.addAction = function(e) { this._actionCollection.addAction(e) }, t.prototype.clear = function() { e.prototype.clear.call(this), this._actionCollection.clear() }, t.prototype.getAllInputs = function() { return e.prototype.getAllInputs.call(this).concat(this._actionCollection.getAllInputs()) }, t.prototype.getResourceInformation = function() { return e.prototype.getResourceInformation.call(this).concat(this._actionCollection.getResourceInformation()) }, t.prototype.isBleedingAtBottom = function() { return 0 == this._actionCollection.renderedActionCount ? e.prototype.isBleedingAtBottom.call(this) : 1 == this._actionCollection.items.length ? null != this._actionCollection.expandedAction && !this.hostConfig.actions.preExpandSingleShowCardAction : null != this._actionCollection.expandedAction }, Object.defineProperty(t.prototype, "isStandalone", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t }(te); t.ContainerWithActions = ce; var le = function() { function e() { this._items = [], this.reset() } return e.prototype.findTypeRegistration = function(e) { for (var t = 0; t < this._items.length; t++) if (this._items[t].typeName === e) return this._items[t]; return null }, e.prototype.clear = function() { this._items = [] }, e.prototype.registerType = function(e, t) { var r = this.findTypeRegistration(e); null != r ? r.createInstance = t : (r = { typeName: e, createInstance: t }, this._items.push(r)) }, e.prototype.unregisterType = function(e) { for (var t = 0; t < this._items.length; t++) if (this._items[t].typeName === e) return void this._items.splice(t, 1) }, e.prototype.createInstance = function(e) { var t = this.findTypeRegistration(e); return t ? t.createInstance() : null }, e.prototype.getItemCount = function() { return this._items.length }, e.prototype.getItemAt = function(e) { return this._items[e] }, e }(); t.TypeRegistry = le; var fe = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.prototype.reset = function() { this.clear(), this.registerType("Container", (function() { return new te })), this.registerType("TextBlock", (function() { return new S })), this.registerType("RichTextBlock", (function() { return new C })), this.registerType("TextRun", (function() { return new E })), this.registerType("Image", (function() { return new I })), this.registerType("ImageSet", (function() { return new x })), this.registerType("Media", (function() { return new k })), this.registerType("FactSet", (function() { return new w })), this.registerType("ColumnSet", (function() { return new ne })), this.registerType("ActionSet", (function() { return new Z })), this.registerType("Input.Text", (function() { return new M })), this.registerType("Input.Date", (function() { return new F })), this.registerType("Input.Time", (function() { return new V })), this.registerType("Input.Number", (function() { return new B })), this.registerType("Input.ChoiceSet", (function() { return new U })), this.registerType("Input.Toggle", (function() { return new j })) }, t }(le); t.ElementTypeRegistry = fe; var pe = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.prototype.reset = function() { this.clear(), this.registerType(W.JsonTypeName, (function() { return new W })), this.registerType(H.JsonTypeName, (function() { return new H })), this.registerType(J.JsonTypeName, (function() { return new J })), this.registerType(Y.JsonTypeName, (function() { return new Y })) }, t }(le); t.ActionTypeRegistry = pe; var de = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t._cardTypeName = "AdaptiveCard", t._fallbackCard = null, t.onAnchorClicked = null, t.onExecuteAction = null, t.onElementVisibilityChanged = null, t.onImageLoaded = null, t.onInlineCardExpanded = null, t.onInputValueChanged = null, t.onParseElement = null, t.onParseAction = null, t.version = new c.Version(1, 0), t.designMode = !1, t } return i(t, e), Object.defineProperty(t, "processMarkdown", { get: function() { throw new Error("The processMarkdown event has been removed. Please update your code and set onProcessMarkdown instead.") }, set: function(e) { throw new Error("The processMarkdown event has been removed. Please update your code and set onProcessMarkdown instead.") }, enumerable: !0, configurable: !0 }), t.applyMarkdown = function(e) { var r = { didProcess: !1 }; return t.onProcessMarkdown ? t.onProcessMarkdown(e, r) : window.markdownit ? (r.outputHtml = window.markdownit().render(e), r.didProcess = !0) : console.warn("Markdown processing isn't enabled. Please see https://www.npmjs.com/package/adaptivecards#supporting-markdown"), r }, t.prototype.isVersionSupported = function() { return !!this.bypassVersionCheck || !(!this.version || !this.version.isValid || t.currentVersion.major < this.version.major || t.currentVersion.major == this.version.major && t.currentVersion.minor < this.version.minor) }, t.prototype.getItemsCollectionPropertyName = function() { return "body" }, t.prototype.internalRender = function() { var r = e.prototype.internalRender.call(this); return t.useAdvancedCardBottomTruncation && (r.style.minHeight = null), r }, t.prototype.getHasBackground = function() { return !0 }, t.prototype.getDefaultPadding = function() { return new s.PaddingDefinition(a.Spacing.Padding, a.Spacing.Padding, a.Spacing.Padding, a.Spacing.Padding) }, Object.defineProperty(t.prototype, "renderIfEmpty", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "bypassVersionCheck", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "allowCustomStyle", { get: function() { return this.hostConfig.adaptiveCard && this.hostConfig.adaptiveCard.allowCustomStyle }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "hasBackground", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), t.prototype.getJsonTypeName = function() { return "AdaptiveCard" }, t.prototype.toJSON = function() { var t = e.prototype.toJSON.call(this); return u.setProperty(t, "$schema", "http://adaptivecards.io/schemas/adaptive-card.json"), !this.bypassVersionCheck && this.version && u.setProperty(t, "version", this.version.toString()), u.setProperty(t, "fallbackText", this.fallbackText), u.setProperty(t, "lang", this.lang), u.setProperty(t, "speak", this.speak), t }, t.prototype.internalValidateProperties = function(r) { e.prototype.internalValidateProperties.call(this, r), "AdaptiveCard" != this._cardTypeName && r.addFailure(this, { error: a.ValidationError.MissingCardType, message: 'Invalid or missing card type. Make sure the card\'s type property is set to "AdaptiveCard".' }), this.bypassVersionCheck || this.version ? this.isVersionSupported() || r.addFailure(this, { error: a.ValidationError.UnsupportedCardVersion, message: "The specified card version (" + this.version + ") is not supported. The maximum supported card version is " + t.currentVersion }) : r.addFailure(this, { error: a.ValidationError.PropertyCantBeNull, message: "The version property must be specified." }) }, t.prototype.parse = function(r, n) { this._fallbackCard = null, this._cardTypeName = u.getStringValue(r.type), this.speak = u.getStringValue(r.speak); var i = u.getStringValue(r.lang); if (i && "string" == typeof i) try { this.lang = i } catch (e) { ue({ error: a.ValidationError.InvalidPropertyValue, message: e.message }, n) } this.version = c.Version.parse(r.version, n), this.fallbackText = u.getStringValue(r.fallbackText); var o = v(null, r.fallback, !this.isDesignMode(), n); o && (this._fallbackCard = new t, this._fallbackCard.addItem(o)), e.prototype.parse.call(this, r, n) }, t.prototype.render = function(t) { var r; return this.shouldFallback() && this._fallbackCard ? (this._fallbackCard.hostConfig = this.hostConfig, r = this._fallbackCard.render()) : (r = e.prototype.render.call(this)) && (r.classList.add(this.hostConfig.makeCssClassName("ac-adaptiveCard")), s.GlobalSettings.setTabIndexAtCardRoot && (r.tabIndex = 0), u.isNullOrEmpty(this.speak) || r.setAttribute("aria-label", this.speak)), t && (t.appendChild(r), this.updateLayout()), r }, t.prototype.updateLayout = function(r) { if (void 0 === r && (r = !0), e.prototype.updateLayout.call(this, r), t.useAdvancedCardBottomTruncation && this.isRendered()) { var n = this.renderedElement, i = this.hostConfig.getEffectiveSpacing(a.Spacing.Default); this.handleOverflow(n.offsetHeight - i) } }, t.prototype.shouldFallback = function() { return e.prototype.shouldFallback.call(this) || !this.isVersionSupported() }, Object.defineProperty(t.prototype, "hasVisibleSeparator", { get: function() { return !1 }, enumerable: !0, configurable: !0 }), t.currentVersion = new c.Version(1, 2), t.useAdvancedTextBlockTruncation = !0, t.useAdvancedCardBottomTruncation = !1, t.useMarkdownInRadioButtonAndCheckbox = !0, t.allowMarkForTextHighlighting = !1, t.alwaysBleedSeparators = !1, t.enableFullJsonRoundTrip = !1, t.useBuiltInInputValidation = !0, t.displayInputValidationErrors = !0, t.elementTypeRegistry = new fe, t.actionTypeRegistry = new pe, t.onAnchorClicked = null, t.onExecuteAction = null, t.onElementVisibilityChanged = null, t.onImageLoaded = null, t.onInlineCardExpanded = null, t.onInputValueChanged = null, t.onParseElement = null, t.onParseAction = null, t.onParseError = null, t.onProcessMarkdown = null, t }(ce); t.AdaptiveCard = de; var he = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.suppressStyle = !1, t } return i(t, e), t.prototype.getDefaultPadding = function() { return new s.PaddingDefinition(this.suppressStyle ? a.Spacing.None : a.Spacing.Padding, a.Spacing.Padding, this.suppressStyle ? a.Spacing.None : a.Spacing.Padding, a.Spacing.Padding) }, Object.defineProperty(t.prototype, "bypassVersionCheck", { get: function() { return !0 }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "defaultStyle", { get: function() { return this.suppressStyle ? a.ContainerStyle.Default : this.hostConfig.actions.showCard.style ? this.hostConfig.actions.showCard.style : a.ContainerStyle.Emphasis }, enumerable: !0, configurable: !0 }), t.prototype.render = function(t) { var r = e.prototype.render.call(this, t); return r.setAttribute("aria-live", "polite"), r.removeAttribute("tabindex"), r }, t.prototype.getForbiddenActionTypes = function() { return [J] }, t }(de), ve = new c.HostConfig({ supportsInteractivity: !0, spacing: { small: 10, default: 20, medium: 30, large: 40, extraLarge: 50, padding: 20 }, separator: { lineThickness: 1, lineColor: "#EEEEEE" }, fontTypes: { default: { fontFamily: "'Segoe UI', Tahoma, Geneva, Verdana, sans-serif", fontSizes: { small: 12, default: 14, medium: 17, large: 21, extraLarge: 26 }, fontWeights: { lighter: 200, default: 400, bolder: 600 } }, monospace: { fontFamily: "'Courier New', Courier, monospace", fontSizes: { small: 12, default: 14, medium: 17, large: 21, extraLarge: 26 }, fontWeights: { lighter: 200, default: 400, bolder: 600 } } }, imageSizes: { small: 40, medium: 80, large: 160 }, containerStyles: { default: { backgroundColor: "#FFFFFF", foregroundColors: { default: { default: "#333333", subtle: "#EE333333" }, dark: { default: "#000000", subtle: "#66000000" }, light: { default: "#FFFFFF", subtle: "#33000000" }, accent: { default: "#2E89FC", subtle: "#882E89FC" }, attention: { default: "#cc3300", subtle: "#DDcc3300" }, good: { default: "#54a254", subtle: "#DD54a254" }, warning: { default: "#e69500", subtle: "#DDe69500" } } }, emphasis: { backgroundColor: "#08000000", foregroundColors: { default: { default: "#333333", subtle: "#EE333333" }, dark: { default: "#000000", subtle: "#66000000" }, light: { default: "#FFFFFF", subtle: "#33000000" }, accent: { default: "#2E89FC", subtle: "#882E89FC" }, attention: { default: "#cc3300", subtle: "#DDcc3300" }, good: { default: "#54a254", subtle: "#DD54a254" }, warning: { default: "#e69500", subtle: "#DDe69500" } } }, accent: { backgroundColor: "#C7DEF9", foregroundColors: { default: { default: "#333333", subtle: "#EE333333" }, dark: { default: "#000000", subtle: "#66000000" }, light: { default: "#FFFFFF", subtle: "#33000000" }, accent: { default: "#2E89FC", subtle: "#882E89FC" }, attention: { default: "#cc3300", subtle: "#DDcc3300" }, good: { default: "#54a254", subtle: "#DD54a254" }, warning: { default: "#e69500", subtle: "#DDe69500" } } }, good: { backgroundColor: "#CCFFCC", foregroundColors: { default: { default: "#333333", subtle: "#EE333333" }, dark: { default: "#000000", subtle: "#66000000" }, light: { default: "#FFFFFF", subtle: "#33000000" }, accent: { default: "#2E89FC", subtle: "#882E89FC" }, attention: { default: "#cc3300", subtle: "#DDcc3300" }, good: { default: "#54a254", subtle: "#DD54a254" }, warning: { default: "#e69500", subtle: "#DDe69500" } } }, attention: { backgroundColor: "#FFC5B2", foregroundColors: { default: { default: "#333333", subtle: "#EE333333" }, dark: { default: "#000000", subtle: "#66000000" }, light: { default: "#FFFFFF", subtle: "#33000000" }, accent: { default: "#2E89FC", subtle: "#882E89FC" }, attention: { default: "#cc3300", subtle: "#DDcc3300" }, good: { default: "#54a254", subtle: "#DD54a254" }, warning: { default: "#e69500", subtle: "#DDe69500" } } }, warning: { backgroundColor: "#FFE2B2", foregroundColors: { default: { default: "#333333", subtle: "#EE333333" }, dark: { default: "#000000", subtle: "#66000000" }, light: { default: "#FFFFFF", subtle: "#33000000" }, accent: { default: "#2E89FC", subtle: "#882E89FC" }, attention: { default: "#cc3300", subtle: "#DDcc3300" }, good: { default: "#54a254", subtle: "#DD54a254" }, warning: { default: "#e69500", subtle: "#DDe69500" } } } }, actions: { maxActions: 5, spacing: a.Spacing.Default, buttonSpacing: 10, showCard: { actionMode: a.ShowCardActionMode.Inline, inlineTopMargin: 16 }, actionsOrientation: a.Orientation.Horizontal, actionAlignment: a.ActionAlignment.Left }, adaptiveCard: { allowCustomStyle: !1 }, imageSet: { imageSize: a.Size.Medium, maxImageHeight: 100 }, factSet: { title: { color: a.TextColor.Default, size: a.TextSize.Default, isSubtle: !1, weight: a.TextWeight.Bolder, wrap: !0, maxWidth: 150 }, value: { color: a.TextColor.Default, size: a.TextSize.Default, isSubtle: !1, weight: a.TextWeight.Default, wrap: !0 }, spacing: 10 } }) }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function() { function e(e) { this._regularExpression = e } return e.prototype.format = function(e, t) { for (var r, n = t; null != (r = this._regularExpression.exec(t));) n = n.replace(r[0], this.internalFormat(e, r)); return n }, e }(), a = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.prototype.internalFormat = function(e, t) { var r = new Date(Date.parse(t[1])), n = null != t[2] ? t[2].toLowerCase() : "compact"; return "compact" != n ? r.toLocaleDateString(e, { day: "numeric", weekday: n, month: n, year: "numeric" }) : r.toLocaleDateString() }, t }(o), s = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.prototype.internalFormat = function(e, t) { return new Date(Date.parse(t[1])).toLocaleTimeString(e, { hour: "numeric", minute: "2-digit" }) }, t }(o); t.formatText = function(e, t) { for (var r = [new a(/\{{2}DATE\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))(?:, ?(COMPACT|LONG|SHORT))?\)\}{2}/g), new s(/\{{2}TIME\((\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:Z|(?:(?:-|\+)\d{2}:\d{2})))\)\}{2}/g)], n = t, i = 0; i < r.length; i++) n = r[i].format(e, n); return n } }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(31)), o = n(r(0)), a = n(r(1630)), s = function(e) { var t = e.attachment.content, r = e.disabled; return o.default.createElement(a.default, { content: t, disabled: r }) }, u = s; t.default = u, s.defaultProps = { disabled: void 0 }, s.propTypes = { attachment: i.default.shape({ content: i.default.any.isRequired }).isRequired, disabled: i.default.bool } }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(31)), o = n(r(0)), a = n(r(1637)), s = function(e) { var t = e.attachment.content, r = e.disabled; return o.default.createElement(a.default, { content: t, disabled: r }) }; s.defaultProps = { disabled: void 0 }, s.propTypes = { attachment: i.default.shape({ content: i.default.shape({ media: i.default.arrayOf(i.default.shape({ profile: i.default.string, url: i.default.string.isRequired })).isRequired }).isRequired }).isRequired, disabled: i.default.bool }; var u = s; t.default = u }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(31)), o = n(r(0)), a = n(r(1640)), s = function(e) { var t = e.attachment.content, r = e.disabled; return o.default.createElement(a.default, { content: t, disabled: r }) }; s.defaultProps = { disabled: void 0 }, s.propTypes = { attachment: i.default.shape({ content: i.default.shape({ autostart: i.default.bool, autoloop: i.default.bool, image: i.default.shape({ url: i.default.string.isRequired }), media: i.default.arrayOf(i.default.shape({ url: i.default.string.isRequired }).isRequired).isRequired }) }).isRequired, disabled: i.default.bool }; var u = s; t.default = u }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(31)), o = n(r(0)), a = n(r(1642)), s = function(e) { var t = e.attachment, r = (t = void 0 === t ? {} : t).content, n = e.disabled; return !!r && o.default.createElement(a.default, { content: r, disabled: n }) }; s.defaultProps = { disabled: void 0 }, s.propTypes = { attachment: i.default.shape({ content: i.default.shape({ tap: i.default.any }).isRequired }).isRequired, disabled: i.default.bool }; var u = s; t.default = u }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(31)), o = n(r(0)), a = n(r(1643)), s = function(e) { var t = e.attachment, r = (t = void 0 === t ? {} : t).content, n = e.disabled; return o.default.createElement(a.default, { content: r, disabled: n }) }; s.defaultProps = { disabled: void 0 }, s.propTypes = { attachment: i.default.shape({ content: i.default.shape({ buttons: i.default.array }).isRequired }).isRequired, disabled: i.default.bool }; var u = s; t.default = u }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(31)), o = n(r(0)), a = n(r(1644)), s = function(e) { var t = e.attachment.content, r = e.disabled; return o.default.createElement(a.default, { content: t, disabled: r }) }; s.defaultProps = { disabled: void 0 }, s.propTypes = { attachment: i.default.shape({ content: i.default.shape({ buttons: i.default.array, facts: i.default.arrayOf(i.default.shape({ key: i.default.string, value: i.default.string })), items: i.default.arrayOf(i.default.shape({ image: i.default.shape({ tap: i.default.any, url: i.default.string.isRequired }), price: i.default.string.isRequired, subtitle: i.default.string, title: i.default.string.isRequired })), tap: i.default.any, tax: i.default.string, title: i.default.string, total: i.default.string, vat: i.default.string }).isRequired }).isRequired, disabled: i.default.bool }; var u = s; t.default = u }, function(e, t, r) { var n = r(1631), i = r(1633), o = r(1632); e.exports = function(e) { return n(e) || i(e) || o() } }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(31)), o = n(r(0)), a = n(r(1645)), s = function(e) { var t = e.attachment.content, r = e.disabled; return o.default.createElement(a.default, { content: t, disabled: r }) }; s.defaultProps = { disabled: void 0 }, s.propTypes = { attachment: i.default.shape({ content: i.default.any.isRequired }).isRequired, disabled: i.default.bool }; var u = s; t.default = u }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(31)), o = n(r(0)), a = n(r(1646)), s = function(e) { var t = e.attachment.content, r = e.disabled; return o.default.createElement(a.default, { content: t, disabled: r }) }; s.defaultProps = { disabled: void 0 }, s.propTypes = { attachment: i.default.shape({ content: i.default.shape({ buttons: i.default.array, images: i.default.arrayOf(i.default.shape({ tap: i.default.any, url: i.default.string.isRequired })), subtitle: i.default.string, tap: i.default.any, text: i.default.string, title: i.default.string }).isRequired }).isRequired, disabled: i.default.bool }; var u = s; t.default = u }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(31)), o = n(r(0)), a = n(r(1647)), s = function(e) { var t = e.attachment.content, r = e.disabled; return o.default.createElement(a.default, { content: t, disabled: r }) }; s.defaultProps = { disabled: void 0 }, s.propTypes = { attachment: i.default.shape({ content: i.default.shape({ autoloop: i.default.bool, autostart: i.default.bool, image: i.default.shape({ url: i.default.string }), media: i.default.arrayOf(i.default.shape({ url: i.default.string })) }) }).isRequired, disabled: i.default.bool }; var u = s; t.default = u }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.audioConfig, r = e.audioContext, n = e.audioInputDeviceId, c = e.authorizationToken, l = e.credentials, f = e.enableTelemetry, p = e.region, d = e.speechRecognitionEndpointId, h = e.speechSynthesisDeploymentId, v = e.speechSynthesisOutputFormat, m = e.subscriptionKey, y = e.textNormalization; if (!window.navigator.mediaDevices && !t) return console.warn("botframework-webchat: Your browser does not support Web Audio or the page is not loaded via HTTPS or localhost. Cognitive Services Speech Services is disabled. However, you may pass a custom AudioConfig to enable speech in this environment."), function() { return {} }; !l && (c || p || m) && (console.warn('botframework-webchat: "authorizationToken", "region", and "subscriptionKey" are deprecated and will be removed on or after 2020-12-17. Please use "credentials" instead.'), l = function() { var e = (0, o.default)(i.default.mark((function e() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (!c) { e.next = 6; break } return e.next = 3, u(c); case 3: return e.t0 = e.sent, e.t1 = p, e.abrupt("return", { authorizationToken: e.t0, region: e.t1 }); case 6: return e.t2 = p, e.next = 9, u(m); case 9: return e.t3 = e.sent, e.abrupt("return", { region: e.t2, subscriptionKey: e.t3 }); case 11: case "end": return e.stop() } }), e) }))); return function() { return e.apply(this, arguments) } }()); t && n && console.warn('botframework-webchat: "audioConfig" and "audioInputDeviceId" cannot be set at the same time; ignoring "audioInputDeviceId".'); if (!t) { var b = (t = n ? a.AudioConfig.fromMicrophoneInput(n) : a.AudioConfig.fromDefaultMicrophoneInput()).privSource; b.destroyAudioContext = function() { b.privContext && (b.privRecorder.releaseMediaResources(b.privContext), "running" === b.privContext.state && b.privContext.suspend()) } } return function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, n = e.referenceGrammarID, i = (0, s.default)({ audioConfig: t, audioContext: r, credentials: l, enableTelemetry: f, referenceGrammars: n ? ["luis/".concat(n, "-PRODUCTION")] : [], speechRecognitionEndpointId: d, speechSynthesisDeploymentId: h, speechSynthesisOutputFormat: v, textNormalization: y }), o = i.SpeechGrammarList, a = i.SpeechRecognition, u = i.speechSynthesis, c = i.SpeechSynthesisUtterance; return { SpeechGrammarList: o, SpeechRecognition: a, speechSynthesis: u, SpeechSynthesisUtterance: c } } }; var i = n(r(687)), o = n(r(688)), a = r(690), s = n(r(1868)); function u(e) { return "function" == typeof e ? e() : e } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(28), i = function(e) { var t = this; void 0 === e && (e = n.EventType.Warning), this.onEvent = function(e) { if (e.eventType >= t.privLogLevelFilter) { var r = t.toString(e); switch (e.eventType) { case n.EventType.Debug: console.debug(r); break; case n.EventType.Info: console.info(r); break; case n.EventType.Warning: console.warn(r); break; case n.EventType.Error: console.error(r); break; default: console.log(r) } } }, this.toString = function(e) { var t = ["" + e.EventTime, "" + e.Name]; for (var r in e) if (r && e.hasOwnProperty(r) && "eventTime" !== r && "eventType" !== r && "eventId" !== r && "name" !== r && "constructor" !== r) { var n = e[r], i = "<NULL>"; null != n && (i = "number" == typeof n || "string" == typeof n ? n.toString() : JSON.stringify(n)), t.push(r + ": " + i) } return t.join(" | ") }, this.privLogLevelFilter = e }; t.ConsoleLoggingListener = i }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(691), a = function(e) { function t(t, r, n) { void 0 === n && (n = o.EventType.Info); var i = e.call(this, t, n) || this; return i.privAudioSourceId = r, i } return i(t, e), Object.defineProperty(t.prototype, "audioSourceId", { get: function() { return this.privAudioSourceId }, enumerable: !0, configurable: !0 }), t }(o.PlatformEvent); t.AudioSourceEvent = a; var s = function(e) { function t(t) { return e.call(this, "AudioSourceInitializingEvent", t) || this } return i(t, e), t }(a); t.AudioSourceInitializingEvent = s; var u = function(e) { function t(t) { return e.call(this, "AudioSourceReadyEvent", t) || this } return i(t, e), t }(a); t.AudioSourceReadyEvent = u; var c = function(e) { function t(t) { return e.call(this, "AudioSourceOffEvent", t) || this } return i(t, e), t }(a); t.AudioSourceOffEvent = c; var l = function(e) { function t(t, r) { var n = e.call(this, "AudioSourceErrorEvent", t, o.EventType.Error) || this; return n.privError = r, n } return i(t, e), Object.defineProperty(t.prototype, "error", { get: function() { return this.privError }, enumerable: !0, configurable: !0 }), t }(a); t.AudioSourceErrorEvent = l; var f = function(e) { function t(t, r, n) { var i = e.call(this, t, r) || this; return i.privAudioNodeId = n, i } return i(t, e), Object.defineProperty(t.prototype, "audioNodeId", { get: function() { return this.privAudioNodeId }, enumerable: !0, configurable: !0 }), t }(a); t.AudioStreamNodeEvent = f; var p = function(e) { function t(t, r) { return e.call(this, "AudioStreamNodeAttachingEvent", t, r) || this } return i(t, e), t }(f); t.AudioStreamNodeAttachingEvent = p; var d = function(e) { function t(t, r) { return e.call(this, "AudioStreamNodeAttachedEvent", t, r) || this } return i(t, e), t }(f); t.AudioStreamNodeAttachedEvent = d; var h = function(e) { function t(t, r) { return e.call(this, "AudioStreamNodeDetachedEvent", t, r) || this } return i(t, e), t }(f); t.AudioStreamNodeDetachedEvent = h; var v = function(e) { function t(t, r, n) { var i = e.call(this, "AudioStreamNodeErrorEvent", t, r) || this; return i.privError = n, i } return i(t, e), Object.defineProperty(t.prototype, "error", { get: function() { return this.privError }, enumerable: !0, configurable: !0 }), t }(f); t.AudioStreamNodeErrorEvent = v }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(691), a = function(e) { function t(t, r, n) { void 0 === n && (n = o.EventType.Info); var i = e.call(this, t, n) || this; return i.privJsonResult = r, i } return i(t, e), Object.defineProperty(t.prototype, "jsonString", { get: function() { return this.privJsonResult }, enumerable: !0, configurable: !0 }), t }(o.PlatformEvent); t.ServiceEvent = a; var s = function(e) { function t(t, r, n) { void 0 === n && (n = o.EventType.Info); var i = e.call(this, t, n) || this; return i.privConnectionId = r, i } return i(t, e), Object.defineProperty(t.prototype, "connectionId", { get: function() { return this.privConnectionId }, enumerable: !0, configurable: !0 }), t }(o.PlatformEvent); t.ConnectionEvent = s; var u = function(e) { function t(t, r, n) { var i = e.call(this, "ConnectionStartEvent", t) || this; return i.privUri = r, i.privHeaders = n, i } return i(t, e), Object.defineProperty(t.prototype, "uri", { get: function() { return this.privUri }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "headers", { get: function() { return this.privHeaders }, enumerable: !0, configurable: !0 }), t }(s); t.ConnectionStartEvent = u; var c = function(e) { function t(t, r) { return e.call(this, "ConnectionEstablishedEvent", t) || this } return i(t, e), t }(s); t.ConnectionEstablishedEvent = c; var l = function(e) { function t(t, r, n) { var i = e.call(this, "ConnectionClosedEvent", t, o.EventType.Debug) || this; return i.privRreason = n, i.privStatusCode = r, i } return i(t, e), Object.defineProperty(t.prototype, "reason", { get: function() { return this.privRreason }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "statusCode", { get: function() { return this.privStatusCode }, enumerable: !0, configurable: !0 }), t }(s); t.ConnectionClosedEvent = l; var f = function(e) { function t(t, r, n) { var i = e.call(this, "ConnectionEstablishErrorEvent", t, o.EventType.Error) || this; return i.privStatusCode = r, i.privReason = n, i } return i(t, e), Object.defineProperty(t.prototype, "reason", { get: function() { return this.privReason }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "statusCode", { get: function() { return this.privStatusCode }, enumerable: !0, configurable: !0 }), t }(s); t.ConnectionEstablishErrorEvent = f; var p = function(e) { function t(t, r, n) { var i = e.call(this, "ConnectionMessageReceivedEvent", t) || this; return i.privNetworkReceivedTime = r, i.privMessage = n, i } return i(t, e), Object.defineProperty(t.prototype, "networkReceivedTime", { get: function() { return this.privNetworkReceivedTime }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "message", { get: function() { return this.privMessage }, enumerable: !0, configurable: !0 }), t }(s); t.ConnectionMessageReceivedEvent = p; var d = function(e) { function t(t, r, n) { var i = e.call(this, "ConnectionMessageSentEvent", t) || this; return i.privNetworkSentTime = r, i.privMessage = n, i } return i(t, e), Object.defineProperty(t.prototype, "networkSentTime", { get: function() { return this.privNetworkSentTime }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "message", { get: function() { return this.privMessage }, enumerable: !0, configurable: !0 }), t }(s); t.ConnectionMessageSentEvent = d }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e, t) { this.privStatusCode = e, this.privReason = t } return Object.defineProperty(e.prototype, "statusCode", { get: function() { return this.privStatusCode }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "reason", { get: function() { return this.privReason }, enumerable: !0, configurable: !0 }), e }(); t.ConnectionOpenResponse = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(92), i = r(1649), o = function() { function e() {} return Object.defineProperty(e, "instance", { get: function() { return e.privInstance }, enumerable: !0, configurable: !0 }), e.privInstance = new i.EventSource, e.setEventSource = function(t) { if (!t) throw new n.ArgumentNullError("eventSource"); e.privInstance = t }, e }(); t.Events = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.None = 0] = "None", e[e.Connected = 1] = "Connected", e[e.Connecting = 2] = "Connecting", e[e.Disconnected = 3] = "Disconnected" }(t.ConnectionState || (t.ConnectionState = {})) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(1648), i = r(92), o = r(151), a = function() { function e(e, t, r) { if (this.privPayload = null, !t) throw new i.ArgumentNullError("payload"); if (e === n.MessageType.Binary && !(t instanceof ArrayBuffer)) throw new i.InvalidOperationError("Payload must be ArrayBuffer"); if (e === n.MessageType.Text && "string" != typeof t) throw new i.InvalidOperationError("Payload must be a string"); this.privMessageType = e, this.privPayload = t, this.privId = r || o.createNoDashGuid() } return Object.defineProperty(e.prototype, "messageType", { get: function() { return this.privMessageType }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "payload", { get: function() { return this.privPayload }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "textContent", { get: function() { if (this.privMessageType === n.MessageType.Binary) throw new i.InvalidOperationError("Not supported for binary message"); return this.privPayload }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "binaryContent", { get: function() { if (this.privMessageType === n.MessageType.Text) throw new i.InvalidOperationError("Not supported for text message"); return this.privPayload }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "id", { get: function() { return this.privId }, enumerable: !0, configurable: !0 }), e }(); t.RawWebsocketMessage = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function(e, t) { var r = this; this.encode = function(e) { var t = r.downSampleAudioFrame(e, r.privActualSampleRate, r.privDesiredSampleRate); if (!t) return null; var n = 2 * t.length, i = new ArrayBuffer(n), o = new DataView(i); return r.floatTo16BitPCM(o, 0, t), i }, this.setString = function(e, t, r) { for (var n = 0; n < r.length; n++) e.setUint8(t + n, r.charCodeAt(n)) }, this.floatTo16BitPCM = function(e, t, r) { for (var n = 0; n < r.length; n++, t += 2) { var i = Math.max(-1, Math.min(1, r[n])); e.setInt16(t, i < 0 ? 32768 * i : 32767 * i, !0) } }, this.downSampleAudioFrame = function(e, t, r) { if (r === t || r > t) return e; for (var n = t / r, i = Math.round(e.length / n), o = new Float32Array(i), a = 0, s = 0; s < i;) { for (var u = Math.round((s + 1) * n), c = 0, l = 0; a < u && a < e.length;) c += e[a++], l++; o[s++] = c / l } return o }, this.privActualSampleRate = e, this.privDesiredSampleRate = t }; t.RiffPcmEncoder = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(92), i = r(151), o = r(1651), a = function() { function e(e) { var t = this; this.privReaderIdCounter = 1, this.privIsEnded = !1, this.getReader = function() { var e = t.privReaderIdCounter; t.privReaderIdCounter++; var r = new o.Queue, n = t.privStreambuffer.length; t.privReaderQueues[e] = r; for (var i = 0; i < n; i++) r.enqueue(t.privStreambuffer[i]); return new s(t.privId, r, (function() { delete t.privReaderQueues[e] })) }, this.throwIfClosed = function() { if (t.privIsEnded) throw new n.InvalidOperationError("Stream closed") }, this.privId = e || i.createNoDashGuid(), this.privStreambuffer = [], this.privReaderQueues = {} } return Object.defineProperty(e.prototype, "isClosed", { get: function() { return this.privIsEnded }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "id", { get: function() { return this.privId }, enumerable: !0, configurable: !0 }), e.prototype.close = function() { this.privIsEnded || (this.writeStreamChunk({ buffer: null, isEnd: !0, timeReceived: Date.now() }), this.privIsEnded = !0) }, e.prototype.writeStreamChunk = function(e) { for (var t in this.throwIfClosed(), this.privStreambuffer.push(e), this.privReaderQueues) if (!this.privReaderQueues[t].isDisposed()) try { this.privReaderQueues[t].enqueue(e) } catch (e) {} }, e }(); t.Stream = a; var s = function() { function e(e, t, r) { var i = this; this.privIsClosed = !1, this.read = function() { if (i.isClosed) throw new n.InvalidOperationError("StreamReader closed"); return i.privReaderQueue.dequeue().onSuccessContinueWith((function(e) { return (void 0 === e || e.isEnd) && i.privReaderQueue.dispose("End of stream reached"), e })) }, this.close = function() { i.privIsClosed || (i.privIsClosed = !0, i.privReaderQueue.dispose("StreamReader closed"), i.privOnClose()) }, this.privReaderQueue = t, this.privOnClose = r, this.privStreamId = e } return Object.defineProperty(e.prototype, "isClosed", { get: function() { return this.privIsClosed }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "streamId", { get: function() { return this.privStreamId }, enumerable: !0, configurable: !0 }), e }(); t.StreamReader = s }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r) { var n = e.call(this, r) || this; return n.privTargetChunkSize = t, n.privNextBufferReadyBytes = 0, n } return i(t, e), t.prototype.writeStreamChunk = function(t) { if (t.isEnd || 0 === this.privNextBufferReadyBytes && t.buffer.byteLength === this.privTargetChunkSize) e.prototype.writeStreamChunk.call(this, t); else for (var r = 0; r < t.buffer.byteLength;) { void 0 === this.privNextBufferToWrite && (this.privNextBufferToWrite = new ArrayBuffer(this.privTargetChunkSize), this.privNextBufferStartTime = t.timeReceived); var n = Math.min(t.buffer.byteLength - r, this.privTargetChunkSize - this.privNextBufferReadyBytes), i = new Uint8Array(this.privNextBufferToWrite), o = new Uint8Array(t.buffer.slice(r, n + r)); i.set(o, this.privNextBufferReadyBytes), this.privNextBufferReadyBytes += n, r += n, this.privNextBufferReadyBytes === this.privTargetChunkSize && (e.prototype.writeStreamChunk.call(this, { buffer: this.privNextBufferToWrite, isEnd: !1, timeReceived: this.privNextBufferStartTime }), this.privNextBufferReadyBytes = 0, this.privNextBufferToWrite = void 0) } }, t.prototype.close = function() { 0 === this.privNextBufferReadyBytes || this.isClosed || e.prototype.writeStreamChunk.call(this, { buffer: this.privNextBufferToWrite.slice(0, this.privNextBufferReadyBytes), isEnd: !1, timeReceived: this.privNextBufferStartTime }), e.prototype.close.call(this) }, t }(r(28).Stream); t.ChunkedArrayBufferStream = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(346), i = r(21), o = r(28); t.AudioWorkletSourceURLPropertyName = "MICROPHONE-WorkletSourceUrl"; var a = function() { function e(t, r, n) { var i = this; this.privRecorder = t, this.deviceId = r, this.privStreams = {}, this.turnOn = function() { if (i.privInitializeDeferral) return i.privInitializeDeferral.promise(); i.privInitializeDeferral = new o.Deferred; try { i.createAudioContext() } catch (t) { if (t instanceof Error) { var e = t; i.privInitializeDeferral.reject(e.name + ": " + e.message) } else i.privInitializeDeferral.reject(t); return i.privInitializeDeferral.promise() } var t = window.navigator, r = t.getUserMedia || t.webkitGetUserMedia || t.mozGetUserMedia || t.msGetUserMedia; if (t.mediaDevices && (r = function(e, r, n) { t.mediaDevices.getUserMedia(e).then(r).catch(n) }), r) { var n = function() { i.onEvent(new o.AudioSourceInitializingEvent(i.privId)), r({ audio: !i.deviceId || { deviceId: i.deviceId }, video: !1 }, (function(e) { i.privMediaStream = e, i.onEvent(new o.AudioSourceReadyEvent(i.privId)), i.privInitializeDeferral.resolve(!0) }), (function(e) { var t = "Error occurred during microphone initialization: " + e, r = i.privInitializeDeferral; i.privInitializeDeferral = null, r.reject(t), i.onEvent(new o.AudioSourceErrorEvent(i.privId, t)) })) }; "suspended" === i.privContext.state ? i.privContext.resume().then(n, (function(e) { i.privInitializeDeferral.reject("Failed to initialize audio context: " + e) })) : n() } else { var a = "Browser does not support getUserMedia."; i.privInitializeDeferral.reject(a), i.onEvent(new o.AudioSourceErrorEvent(a, "")) } return i.privInitializeDeferral.promise() }, this.id = function() { return i.privId }, this.attach = function(e) { return i.onEvent(new o.AudioStreamNodeAttachingEvent(i.privId, e)), i.listen(e).onSuccessContinueWith((function(t) { return i.onEvent(new o.AudioStreamNodeAttachedEvent(i.privId, e)), { detach: function() { t.close(), i.turnOff(), delete i.privStreams[e], i.onEvent(new o.AudioStreamNodeDetachedEvent(i.privId, e)) }, id: function() { return e }, read: function() { return t.read() } } })) }, this.detach = function(e) { e && i.privStreams[e] && (i.privStreams[e].close(), delete i.privStreams[e], i.onEvent(new o.AudioStreamNodeDetachedEvent(i.privId, e))) }, this.turnOff = function() { for (var e in i.privStreams) if (e) { var t = i.privStreams[e]; t && t.close() } return i.onEvent(new o.AudioSourceOffEvent(i.privId)), i.privInitializeDeferral = null, i.destroyAudioContext(), o.PromiseHelper.fromResult(!0) }, this.listen = function(e) { return i.turnOn().onSuccessContinueWith((function(t) { var r = new o.ChunkedArrayBufferStream(i.privOutputChunkSize, e); i.privStreams[e] = r; try { i.privRecorder.record(i.privContext, i.privMediaStream, r) } catch (t) { throw i.onEvent(new o.AudioStreamNodeErrorEvent(i.privId, e, t)), t } return r.getReader() })) }, this.onEvent = function(e) { i.privEvents.onEvent(e), o.Events.instance.onEvent(e) }, this.createAudioContext = function() { if (!i.privContext) { var e = window.AudioContext || window.webkitAudioContext || !1; if (!e) throw new Error("Browser does not support Web Audio API (AudioContext is not available)."); i.privContext = new e } }, this.destroyAudioContext = function() { if (i.privContext) { i.privRecorder.releaseMediaResources(i.privContext); var e = !1; "close" in i.privContext && (e = !0), e ? (i.privContext.close(), i.privContext = null) : null !== i.privContext && "running" === i.privContext.state && i.privContext.suspend() } }, this.privOutputChunkSize = e.AUDIOFORMAT.avgBytesPerSec / 10, this.privId = n || o.createNoDashGuid(), this.privEvents = new o.EventSource } return Object.defineProperty(e.prototype, "format", { get: function() { return o.PromiseHelper.fromResult(e.AUDIOFORMAT) }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "events", { get: function() { return this.privEvents }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "deviceInfo", { get: function() { return this.getMicrophoneLabel().onSuccessContinueWith((function(t) { return { bitspersample: e.AUDIOFORMAT.bitsPerSample, channelcount: e.AUDIOFORMAT.channels, connectivity: i.connectivity.Unknown, manufacturer: "Speech SDK", model: t, samplerate: e.AUDIOFORMAT.samplesPerSec, type: i.type.Microphones } })) }, enumerable: !0, configurable: !0 }), e.prototype.setProperty = function(e, r) { if (e !== t.AudioWorkletSourceURLPropertyName) throw new Error("Property '" + e + "' is not supported on Microphone."); this.privRecorder.setWorkletUrl(r) }, e.prototype.getMicrophoneLabel = function() { var e = this; if (void 0 !== this.privMicrophoneLabel) return o.PromiseHelper.fromResult(this.privMicrophoneLabel); if (void 0 === this.privMediaStream || !this.privMediaStream.active) return o.PromiseHelper.fromResult("microphone"); this.privMicrophoneLabel = "microphone"; var t = this.privMediaStream.getTracks()[0].getSettings().deviceId; if (void 0 === t) return o.PromiseHelper.fromResult(this.privMicrophoneLabel); var r = new o.Deferred; return navigator.mediaDevices.enumerateDevices().then((function(n) { for (var i = 0, o = n; i < o.length; i++) { var a = o[i]; if (a.deviceId === t) { e.privMicrophoneLabel = a.label; break } } r.resolve(e.privMicrophoneLabel) }), (function() { return r.resolve(e.privMicrophoneLabel) })), r.promise() }, e.AUDIOFORMAT = n.AudioStreamFormat.getDefaultInputFormat(), e }(); t.MicAudioSource = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(28), i = r(694), o = function(e) { var t = this; if (this.fetch = function(e) { return n.PromiseHelper.fromResult(t.privAuthInfo) }, this.fetchOnExpiry = function(e) { return n.PromiseHelper.fromResult(t.privAuthInfo) }, !e) throw new n.ArgumentNullError("subscriptionKey"); this.privAuthInfo = new i.AuthInfo("Ocp-Apim-Subscription-Key", e) }; t.CognitiveSubscriptionKeyAuthentication = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(28), i = r(694), o = function(e, t) { var r = this; if (this.fetch = function(e) { return r.privFetchCallback(e).onSuccessContinueWith((function(e) { return new i.AuthInfo("Authorization", e) })) }, this.fetchOnExpiry = function(e) { return r.privFetchOnExpiryCallback(e).onSuccessContinueWith((function(e) { return new i.AuthInfo("Authorization", e) })) }, !e) throw new n.ArgumentNullError("fetchCallback"); if (!t) throw new n.ArgumentNullError("fetchOnExpiryCallback"); this.privFetchCallback = e, this.privFetchOnExpiryCallback = t }; t.CognitiveTokenAuthentication = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(113), a = r(9), s = r(347), u = r(21), c = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.create = function(e, r, n) { var i = e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Endpoint); if (!i) { var s = e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_IntentRegion); i = e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Host, "wss://speech.platform.bing.com") + "/speech/" + t.getSpeechRegionFromIntentRegion(s) + "/recognition/interactive/cognitiveservices/v1" } var c = { format: "simple", language: e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage) }; t.setCommonUrlParams(e, c, i); var l = {}; return void 0 !== r.token && "" !== r.token && (l[r.headerName] = r.token), l["X-ConnectionId"] = n, e.parameters.setProperty(a.PropertyId.SpeechServiceConnection_Url, i), new o.WebsocketConnection(i, c, l, new u.WebsocketMessageFormatter, o.ProxyInfo.fromRecognizerConfig(e), n) }, t } return i(t, e), t.prototype.getSpeechRegionFromIntentRegion = function(e) { switch (e) { case "West US": case "US West": case "westus": return "uswest"; case "West US 2": case "US West 2": case "westus2": return "uswest2"; case "South Central US": case "US South Central": case "southcentralus": return "ussouthcentral"; case "West Central US": case "US West Central": case "westcentralus": return "uswestcentral"; case "East US": case "US East": case "eastus": return "useast"; case "East US 2": case "US East 2": case "eastus2": return "useast2"; case "West Europe": case "Europe West": case "westeurope": return "europewest"; case "North Europe": case "Europe North": case "northeurope": return "europenorth"; case "Brazil South": case "South Brazil": case "southbrazil": return "brazilsouth"; case "Australia East": case "East Australia": case "eastaustralia": return "australiaeast"; case "Southeast Asia": case "Asia Southeast": case "southeastasia": return "asiasoutheast"; case "East Asia": case "Asia East": case "eastasia": return "asiaeast"; default: return e } }, t }(s.ConnectionFactoryBase); t.IntentConnectionFactory = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.Error = 0] = "Error", e[e.EndOfStream = 1] = "EndOfStream" }(t.CancellationReason || (t.CancellationReason = {})) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() {}; t.PullAudioInputStreamCallback = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(46), i = function() { function e() { this.privDisposed = !1 } return e.fromFile = function(e) { throw n.Contracts.throwIfFileDoesNotExist(e, "fileName"), new Error("Not yet implemented.") }, e.fromStream = function(e) { throw n.Contracts.throwIfNull(e, "file"), new Error("Not yet implemented.") }, e.prototype.close = function() { this.privDisposed || (this.privDisposed = !0) }, e }(); t.KeywordRecognitionModel = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.privSessionId = e } return Object.defineProperty(e.prototype, "sessionId", { get: function() { return this.privSessionId }, enumerable: !0, configurable: !0 }), e }(); t.SessionEventArgs = n }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r) { var n = e.call(this, r) || this; return n.privOffset = t, n } return i(t, e), Object.defineProperty(t.prototype, "offset", { get: function() { return this.privOffset }, enumerable: !0, configurable: !0 }), t }(r(9).SessionEventArgs); t.RecognitionEventArgs = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.Simple = 0] = "Simple", e[e.Detailed = 1] = "Detailed" }(t.OutputFormat || (t.OutputFormat = {})) }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n) { var i = e.call(this, r, n) || this; return i.privResult = t, i } return i(t, e), Object.defineProperty(t.prototype, "result", { get: function() { return this.privResult }, enumerable: !0, configurable: !0 }), t }(r(9).RecognitionEventArgs); t.IntentRecognitionEventArgs = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e, t, r, n, i, o, a, s) { this.privResultId = e, this.privReason = t, this.privText = r, this.privDuration = n, this.privOffset = i, this.privErrorDetails = o, this.privJson = a, this.privProperties = s } return Object.defineProperty(e.prototype, "resultId", { get: function() { return this.privResultId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "reason", { get: function() { return this.privReason }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "text", { get: function() { return this.privText }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "duration", { get: function() { return this.privDuration }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "offset", { get: function() { return this.privOffset }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "errorDetails", { get: function() { return this.privErrorDetails }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "json", { get: function() { return this.privJson }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "properties", { get: function() { return this.privProperties }, enumerable: !0, configurable: !0 }), e }(); t.RecognitionResult = n }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n, i, o, a, s, u) { return e.call(this, t, r, n, i, o, a, s, u) || this } return i(t, e), t }(r(9).RecognitionResult); t.SpeechRecognitionResult = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n, i, o, a, s, u, c) { var l = e.call(this, r, n, i, o, a, s, u, c) || this; return l.privIntentId = t, l } return i(t, e), Object.defineProperty(t.prototype, "intentId", { get: function() { return this.privIntentId }, enumerable: !0, configurable: !0 }), t }(r(9).SpeechRecognitionResult); t.IntentRecognitionResult = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(46), a = function() { function e() {} return e.fromEndpoint = function(e) { o.Contracts.throwIfNull(e, "uri"), o.Contracts.throwIfNullOrWhitespace(e.hostname, "uri"); var t = new s, r = e.host.indexOf("."); if (-1 === r) throw new Error("Could not determine region from endpoint"); t.region = e.host.substr(0, r); var n = e.pathname.lastIndexOf("/") + 1; if (-1 === n) throw new Error("Could not determine appId from endpoint"); if (t.appId = e.pathname.substr(n), t.subscriptionKey = e.searchParams.get("subscription-key"), void 0 === t.subscriptionKey) throw new Error("Could not determine subscription key from endpoint"); return t }, e.fromAppId = function(e) { o.Contracts.throwIfNullOrWhitespace(e, "appId"); var t = new s; return t.appId = e, t }, e.fromSubscription = function(e, t, r) { o.Contracts.throwIfNullOrWhitespace(e, "subscriptionKey"), o.Contracts.throwIfNullOrWhitespace(t, "appId"), o.Contracts.throwIfNullOrWhitespace(r, "region"); var n = new s; return n.appId = t, n.region = r, n.subscriptionKey = e, n }, e }(); t.LanguageUnderstandingModel = a; var s = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t }(a); t.LanguageUnderstandingModelImpl = s }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n) { var i = e.call(this, r, n) || this; return i.privResult = t, i } return i(t, e), Object.defineProperty(t.prototype, "result", { get: function() { return this.privResult }, enumerable: !0, configurable: !0 }), t }(r(9).RecognitionEventArgs); t.SpeechRecognitionEventArgs = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n, i, o) { var a = e.call(this, i, o) || this; return a.privReason = t, a.privErrorDetails = r, a.privErrorCode = n, a } return i(t, e), Object.defineProperty(t.prototype, "reason", { get: function() { return this.privReason }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "errorCode", { get: function() { return this.privErrorCode }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "errorDetails", { get: function() { return this.privErrorDetails }, enumerable: !0, configurable: !0 }), t }(r(9).RecognitionEventArgs); t.SpeechRecognitionCanceledEventArgs = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n) { var i = e.call(this, r, n) || this; return i.privResult = t, i } return i(t, e), Object.defineProperty(t.prototype, "result", { get: function() { return this.privResult }, enumerable: !0, configurable: !0 }), t }(r(9).RecognitionEventArgs); t.TranslationRecognitionEventArgs = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r) { var n = e.call(this, r) || this; return n.privResult = t, n } return i(t, e), Object.defineProperty(t.prototype, "result", { get: function() { return this.privResult }, enumerable: !0, configurable: !0 }), t }(r(9).SessionEventArgs); t.TranslationSynthesisEventArgs = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e, t) { this.privReason = e, this.privAudio = t } return Object.defineProperty(e.prototype, "audio", { get: function() { return this.privAudio }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "reason", { get: function() { return this.privReason }, enumerable: !0, configurable: !0 }), e }(); t.TranslationSynthesisResult = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.NoMatch = 0] = "NoMatch", e[e.Canceled = 1] = "Canceled", e[e.RecognizingSpeech = 2] = "RecognizingSpeech", e[e.RecognizedSpeech = 3] = "RecognizedSpeech", e[e.RecognizingIntent = 4] = "RecognizingIntent", e[e.RecognizedIntent = 5] = "RecognizedIntent", e[e.TranslatingSpeech = 6] = "TranslatingSpeech", e[e.TranslatedSpeech = 7] = "TranslatedSpeech", e[e.SynthesizingAudio = 8] = "SynthesizingAudio", e[e.SynthesizingAudioCompleted = 9] = "SynthesizingAudioCompleted" }(t.ResultReason || (t.ResultReason = {})) }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(21), a = r(46), s = r(9), u = function() { function e() {} return e.fromSubscription = function(e, t) { a.Contracts.throwIfNullOrWhitespace(e, "subscriptionKey"), a.Contracts.throwIfNullOrWhitespace(t, "region"); var r = new c; return r.setProperty(s.PropertyId.SpeechServiceConnection_Region, t), r.setProperty(s.PropertyId.SpeechServiceConnection_IntentRegion, t), r.setProperty(s.PropertyId.SpeechServiceConnection_Key, e), r }, e.fromEndpoint = function(e, t) { a.Contracts.throwIfNull(e, "endpoint"); var r = new c; return r.setProperty(s.PropertyId.SpeechServiceConnection_Endpoint, e.href), void 0 !== t && r.setProperty(s.PropertyId.SpeechServiceConnection_Key, t), r }, e.fromHost = function(e, t) { a.Contracts.throwIfNull(e, "hostName"); var r = new c; return r.setProperty(s.PropertyId.SpeechServiceConnection_Host, e.protocol + "//" + e.hostname + ("" === e.port ? "" : ":" + e.port)), void 0 !== t && r.setProperty(s.PropertyId.SpeechServiceConnection_Key, t), r }, e.fromAuthorizationToken = function(e, t) { a.Contracts.throwIfNull(e, "authorizationToken"), a.Contracts.throwIfNullOrWhitespace(t, "region"); var r = new c; return r.setProperty(s.PropertyId.SpeechServiceConnection_Region, t), r.setProperty(s.PropertyId.SpeechServiceConnection_IntentRegion, t), r.authorizationToken = e, r }, e.prototype.close = function() {}, e }(); t.SpeechConfig = u; var c = function(e) { function t() { var t = e.call(this) || this; return t.privProperties = new s.PropertyCollection, t.speechRecognitionLanguage = "en-US", t.outputFormat = s.OutputFormat.Simple, t } return i(t, e), Object.defineProperty(t.prototype, "properties", { get: function() { return this.privProperties }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "endPoint", { get: function() { return new URL(this.privProperties.getProperty(s.PropertyId.SpeechServiceConnection_Endpoint)) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "subscriptionKey", { get: function() { return this.privProperties.getProperty(s.PropertyId.SpeechServiceConnection_Key) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "region", { get: function() { return this.privProperties.getProperty(s.PropertyId.SpeechServiceConnection_Region) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "authorizationToken", { get: function() { return this.privProperties.getProperty(s.PropertyId.SpeechServiceAuthorization_Token) }, set: function(e) { this.privProperties.setProperty(s.PropertyId.SpeechServiceAuthorization_Token, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "speechRecognitionLanguage", { get: function() { return this.privProperties.getProperty(s.PropertyId.SpeechServiceConnection_RecoLanguage) }, set: function(e) { this.privProperties.setProperty(s.PropertyId.SpeechServiceConnection_RecoLanguage, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "outputFormat", { get: function() { return s.OutputFormat[this.privProperties.getProperty(o.OutputFormatPropertyName, void 0)] }, set: function(e) { this.privProperties.setProperty(o.OutputFormatPropertyName, s.OutputFormat[e]) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "endpointId", { get: function() { return this.privProperties.getProperty(s.PropertyId.SpeechServiceConnection_EndpointId) }, set: function(e) { this.privProperties.setProperty(s.PropertyId.SpeechServiceConnection_EndpointId, e) }, enumerable: !0, configurable: !0 }), t.prototype.setProperty = function(e, t) { a.Contracts.throwIfNull(t, "value"), this.privProperties.setProperty(e, t) }, t.prototype.getProperty = function(e, t) { return this.privProperties.getProperty(e, t) }, t.prototype.setProxy = function(e, t, r, n) { this.setProperty(s.PropertyId[s.PropertyId.SpeechServiceConnection_ProxyHostName], e), this.setProperty(s.PropertyId[s.PropertyId.SpeechServiceConnection_ProxyPort], t), this.setProperty(s.PropertyId[s.PropertyId.SpeechServiceConnection_ProxyUserName], r), this.setProperty(s.PropertyId[s.PropertyId.SpeechServiceConnection_ProxyPassword], n) }, t.prototype.setServiceProperty = function(e, t, r) { var n = JSON.parse(this.privProperties.getProperty(o.ServicePropertiesPropertyName, "{}")); n[e] = t, this.privProperties.setProperty(o.ServicePropertiesPropertyName, JSON.stringify(n)) }, t.prototype.setProfanity = function(e) { this.privProperties.setProperty(s.PropertyId.SpeechServiceResponse_ProfanityOption, s.ProfanityOption[e]) }, t.prototype.enableAudioLogging = function() { this.privProperties.setProperty(s.PropertyId.SpeechServiceConnection_EnableAudioLogging, "true") }, t.prototype.requestWordLevelTimestamps = function() { this.privProperties.setProperty(s.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps, "true") }, t.prototype.enableDictation = function() { this.privProperties.setProperty(o.ForceDictationPropertyName, "true") }, t.prototype.clone = function() { var e = new t; return e.privProperties = this.privProperties.clone(), e }, t }(u); t.SpeechConfigImpl = c }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(21), a = r(46), s = r(9), u = function(e) { function t() { return e.call(this) || this } return i(t, e), t.fromSubscription = function(e, t) { a.Contracts.throwIfNullOrWhitespace(e, "subscriptionKey"), a.Contracts.throwIfNullOrWhitespace(t, "region"); var r = new c; return r.properties.setProperty(s.PropertyId.SpeechServiceConnection_Key, e), r.properties.setProperty(s.PropertyId.SpeechServiceConnection_Region, t), r }, t.fromAuthorizationToken = function(e, t) { a.Contracts.throwIfNullOrWhitespace(e, "authorizationToken"), a.Contracts.throwIfNullOrWhitespace(t, "region"); var r = new c; return r.properties.setProperty(s.PropertyId.SpeechServiceAuthorization_Token, e), r.properties.setProperty(s.PropertyId.SpeechServiceConnection_Region, t), r }, t.fromHost = function(e, t) { a.Contracts.throwIfNull(e, "hostName"); var r = new c; return r.setProperty(s.PropertyId.SpeechServiceConnection_Host, e.protocol + "//" + e.hostname + ("" === e.port ? "" : ":" + e.port)), void 0 !== t && r.setProperty(s.PropertyId.SpeechServiceConnection_Key, t), r }, t.fromEndpoint = function(e, t) { a.Contracts.throwIfNull(e, "endpoint"), a.Contracts.throwIfNull(t, "subscriptionKey"); var r = new c; return r.properties.setProperty(s.PropertyId.SpeechServiceConnection_Endpoint, e.href), r.properties.setProperty(s.PropertyId.SpeechServiceConnection_Key, t), r }, t }(s.SpeechConfig); t.SpeechTranslationConfig = u; var c = function(e) { function t() { var t = e.call(this) || this; return t.privSpeechProperties = new s.PropertyCollection, t.outputFormat = s.OutputFormat.Simple, t } return i(t, e), Object.defineProperty(t.prototype, "authorizationToken", { set: function(e) { a.Contracts.throwIfNullOrWhitespace(e, "value"), this.privSpeechProperties.setProperty(s.PropertyId.SpeechServiceAuthorization_Token, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "speechRecognitionLanguage", { set: function(e) { a.Contracts.throwIfNullOrWhitespace(e, "value"), this.privSpeechProperties.setProperty(s.PropertyId.SpeechServiceConnection_RecoLanguage, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "subscriptionKey", { get: function() { return this.privSpeechProperties.getProperty(s.PropertyId[s.PropertyId.SpeechServiceConnection_Key]) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "outputFormat", { get: function() { return s.OutputFormat[this.privSpeechProperties.getProperty(o.OutputFormatPropertyName, void 0)] }, set: function(e) { this.privSpeechProperties.setProperty(o.OutputFormatPropertyName, s.OutputFormat[e]) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "endpointId", { get: function() { return this.privSpeechProperties.getProperty(s.PropertyId.SpeechServiceConnection_EndpointId) }, set: function(e) { this.privSpeechProperties.setProperty(s.PropertyId.SpeechServiceConnection_EndpointId, e) }, enumerable: !0, configurable: !0 }), t.prototype.addTargetLanguage = function(e) { a.Contracts.throwIfNullOrWhitespace(e, "value"); var t = this.targetLanguages; t.push(e), this.privSpeechProperties.setProperty(s.PropertyId.SpeechServiceConnection_TranslationToLanguages, t.join(",")) }, Object.defineProperty(t.prototype, "targetLanguages", { get: function() { return void 0 !== this.privSpeechProperties.getProperty(s.PropertyId.SpeechServiceConnection_TranslationToLanguages, void 0) ? this.privSpeechProperties.getProperty(s.PropertyId.SpeechServiceConnection_TranslationToLanguages).split(",") : [] }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "voiceName", { get: function() { return this.getProperty(s.PropertyId[s.PropertyId.SpeechServiceConnection_TranslationVoice]) }, set: function(e) { a.Contracts.throwIfNullOrWhitespace(e, "value"), this.privSpeechProperties.setProperty(s.PropertyId.SpeechServiceConnection_TranslationVoice, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "region", { get: function() { return this.privSpeechProperties.getProperty(s.PropertyId.SpeechServiceConnection_Region) }, enumerable: !0, configurable: !0 }), t.prototype.setProxy = function(e, t, r, n) { this.setProperty(s.PropertyId[s.PropertyId.SpeechServiceConnection_ProxyHostName], e), this.setProperty(s.PropertyId[s.PropertyId.SpeechServiceConnection_ProxyPort], t), this.setProperty(s.PropertyId[s.PropertyId.SpeechServiceConnection_ProxyUserName], r), this.setProperty(s.PropertyId[s.PropertyId.SpeechServiceConnection_ProxyPassword], n) }, t.prototype.getProperty = function(e, t) { return this.privSpeechProperties.getProperty(e, t) }, t.prototype.setProperty = function(e, t) { this.privSpeechProperties.setProperty(e, t) }, Object.defineProperty(t.prototype, "properties", { get: function() { return this.privSpeechProperties }, enumerable: !0, configurable: !0 }), t.prototype.close = function() {}, t.prototype.setServiceProperty = function(e, t, r) { var n = JSON.parse(this.privSpeechProperties.getProperty(o.ServicePropertiesPropertyName, "{}")); n[e] = t, this.privSpeechProperties.setProperty(o.ServicePropertiesPropertyName, JSON.stringify(n)) }, t.prototype.setProfanity = function(e) { this.privSpeechProperties.setProperty(s.PropertyId.SpeechServiceResponse_ProfanityOption, s.ProfanityOption[e]) }, t.prototype.enableAudioLogging = function() { this.privSpeechProperties.setProperty(s.PropertyId.SpeechServiceConnection_EnableAudioLogging, "true") }, t.prototype.requestWordLevelTimestamps = function() { this.privSpeechProperties.setProperty(s.PropertyId.SpeechServiceResponse_RequestWordLevelTimestamps, "true") }, t.prototype.enableDictation = function() { this.privSpeechProperties.setProperty(o.ForceDictationPropertyName, "true") }, t }(u); t.SpeechTranslationConfigImpl = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(9), i = function() { function e() { this.privKeys = [], this.privValues = [] } return e.prototype.getProperty = function(e, t) { var r; r = "string" == typeof e ? e : n.PropertyId[e]; for (var i = 0; i < this.privKeys.length; i++) if (this.privKeys[i] === r) return this.privValues[i]; return t }, e.prototype.setProperty = function(e, t) { var r; r = "string" == typeof e ? e : n.PropertyId[e]; for (var i = 0; i < this.privKeys.length; i++) if (this.privKeys[i] === r) return void(this.privValues[i] = t); this.privKeys.push(r), this.privValues.push(t) }, e.prototype.clone = function() { for (var t = new e, r = 0; r < this.privKeys.length; r++) t.privKeys.push(this.privKeys[r]), t.privValues.push(this.privValues[r]); return t }, e }(); t.PropertyCollection = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(21), i = r(28), o = r(46), a = r(9), s = function() { function e(e, t, r) { this.audioConfig = void 0 !== e ? e : a.AudioConfig.fromDefaultMicrophoneInput(), this.privDisposed = !1, this.privProperties = t.clone(), this.privConnectionFactory = r, this.implCommonRecognizerSetup() } return e.prototype.close = function() { o.Contracts.throwIfDisposed(this.privDisposed), this.dispose(!0) }, Object.defineProperty(e.prototype, "internalData", { get: function() { return this.privReco }, enumerable: !0, configurable: !0 }), e.prototype.dispose = function(e) { this.privDisposed || (e && this.privReco && (this.privReco.audioSource.turnOff(), this.privReco.dispose()), this.privDisposed = !0) }, Object.defineProperty(e, "telemetryEnabled", { get: function() { return n.ServiceRecognizerBase.telemetryDataEnabled }, enumerable: !0, configurable: !0 }), e.enableTelemetry = function(e) { n.ServiceRecognizerBase.telemetryDataEnabled = e }, e.prototype.implCommonRecognizerSetup = function() { var e = this, t = "undefined" != typeof window ? "Browser" : "Node", r = "unknown", o = "unknown"; "undefined" != typeof navigator && (t = t + "/" + navigator.platform, r = navigator.userAgent, o = navigator.appVersion); var s = this.createRecognizerConfig(new n.SpeechServiceConfig(new n.Context(new n.OS(t, r, o)))), u = this.privProperties.getProperty(a.PropertyId.SpeechServiceConnection_Key, void 0), c = u && "" !== u ? new n.CognitiveSubscriptionKeyAuthentication(u) : new n.CognitiveTokenAuthentication((function(t) { var r = e.privProperties.getProperty(a.PropertyId.SpeechServiceAuthorization_Token, void 0); return i.PromiseHelper.fromResult(r) }), (function(t) { var r = e.privProperties.getProperty(a.PropertyId.SpeechServiceAuthorization_Token, void 0); return i.PromiseHelper.fromResult(r) })); this.privReco = this.createServiceRecognizer(c, this.privConnectionFactory, this.audioConfig, s) }, e.prototype.recognizeOnceAsyncImpl = function(e, t, r) { var n = this; try { o.Contracts.throwIfDisposed(this.privDisposed), this.implRecognizerStop().on((function(i) { try { n.privReco.recognize(e, (function(e) { n.implRecognizerStop().on((function(r) { t && t(e) }), (function(e) { r && r(e) })) }), (function(e) { n.implRecognizerStop(), r && r(e) })).on((function(e) {}), (function(e) { r && r(e) })) } catch (e) { if (r) if (e instanceof Error) { var o = e; r(o.name + ": " + o.message) } else r(e); n.dispose(!0) } }), (function(e) { r && r(e) })) } catch (e) { if (r) if (e instanceof Error) { var i = e; r(i.name + ": " + i.message) } else r(e); this.dispose(!0) } }, e.prototype.startContinuousRecognitionAsyncImpl = function(e, t, r) { var n = this; try { o.Contracts.throwIfDisposed(this.privDisposed), this.implRecognizerStop().on((function(i) { n.privReco.recognize(e, void 0, void 0).on((function(e) { if (t) { try { t() } catch (e) { r && r(e) } t = void 0 } }), (function(e) { r && r(e), n.dispose(!0) })) }), (function(e) { r && r(e), n.dispose(!0) })) } catch (e) { if (r) if (e instanceof Error) { var i = e; r(i.name + ": " + i.message) } else r(e); this.dispose(!0) } }, e.prototype.stopContinuousRecognitionAsyncImpl = function(e, t) { try { o.Contracts.throwIfDisposed(this.privDisposed), this.implRecognizerStop().on((function(r) { if (e) try { e() } catch (e) { t && t(e) } }), (function(e) { t && t(e) })) } catch (e) { if (t) if (e instanceof Error) { var r = e; t(r.name + ": " + r.message) } else t(e); this.dispose(!0) } }, e.prototype.implRecognizerStop = function() { return this.privReco ? this.privReco.stopRecognizing() : i.PromiseHelper.fromResult(!0) }, e }(); t.Recognizer = s }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(21), a = r(1656), s = r(46), u = r(9), c = function(e) { function t(t, r) { var n = this, i = t; return s.Contracts.throwIfNull(i, "speechConfig"), s.Contracts.throwIfNullOrWhitespace(i.properties.getProperty(u.PropertyId.SpeechServiceConnection_RecoLanguage), u.PropertyId[u.PropertyId.SpeechServiceConnection_RecoLanguage]), (n = e.call(this, r, i.properties, new a.SpeechConnectionFactory) || this).privDisposedSpeechRecognizer = !1, n } return i(t, e), Object.defineProperty(t.prototype, "endpointId", { get: function() { return s.Contracts.throwIfDisposed(this.privDisposedSpeechRecognizer), this.properties.getProperty(u.PropertyId.SpeechServiceConnection_EndpointId, "00000000-0000-0000-0000-000000000000") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "authorizationToken", { get: function() { return this.properties.getProperty(u.PropertyId.SpeechServiceAuthorization_Token) }, set: function(e) { s.Contracts.throwIfNullOrWhitespace(e, "token"), this.properties.setProperty(u.PropertyId.SpeechServiceAuthorization_Token, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "speechRecognitionLanguage", { get: function() { return s.Contracts.throwIfDisposed(this.privDisposedSpeechRecognizer), this.properties.getProperty(u.PropertyId.SpeechServiceConnection_RecoLanguage) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "outputFormat", { get: function() { return s.Contracts.throwIfDisposed(this.privDisposedSpeechRecognizer), this.properties.getProperty(o.OutputFormatPropertyName, u.OutputFormat[u.OutputFormat.Simple]) === u.OutputFormat[u.OutputFormat.Simple] ? u.OutputFormat.Simple : u.OutputFormat.Detailed }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "properties", { get: function() { return this.privProperties }, enumerable: !0, configurable: !0 }), t.prototype.recognizeOnceAsync = function(e, t) { this.recognizeOnceAsyncImpl(o.RecognitionMode.Interactive, e, t) }, t.prototype.startContinuousRecognitionAsync = function(e, t) { this.startContinuousRecognitionAsyncImpl(o.RecognitionMode.Conversation, e, t) }, t.prototype.stopContinuousRecognitionAsync = function(e, t) { this.stopContinuousRecognitionAsyncImpl(e, t) }, t.prototype.startKeywordRecognitionAsync = function(e, t, r) { s.Contracts.throwIfNull(e, "model"), r && r("Not yet implemented.") }, t.prototype.stopKeywordRecognitionAsync = function(e, t) { e && e() }, t.prototype.close = function() { s.Contracts.throwIfDisposed(this.privDisposedSpeechRecognizer), this.dispose(!0) }, t.prototype.dispose = function(t) { this.privDisposedSpeechRecognizer || (t && (this.implRecognizerStop(), this.privDisposedSpeechRecognizer = !0), e.prototype.dispose.call(this, t)) }, t.prototype.createRecognizerConfig = function(e) { return new o.RecognizerConfig(e, this.properties) }, t.prototype.createServiceRecognizer = function(e, t, r, n) { var i = r; return new o.SpeechServiceRecognizer(e, t, i, n, this) }, t }(u.Recognizer); t.SpeechRecognizer = c }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(21), a = r(46), s = r(9), u = function(e) { function t(t, r) { var n = this; a.Contracts.throwIfNullOrUndefined(t, "speechConfig"); var i = t; return a.Contracts.throwIfNullOrUndefined(i, "speechConfig"), (n = e.call(this, r, i.properties, new o.IntentConnectionFactory) || this).privAddedIntents = [], n.privAddedLmIntents = {}, n.privDisposedIntentRecognizer = !1, n.privProperties = i.properties, a.Contracts.throwIfNullOrWhitespace(n.properties.getProperty(s.PropertyId.SpeechServiceConnection_RecoLanguage), s.PropertyId[s.PropertyId.SpeechServiceConnection_RecoLanguage]), n } return i(t, e), Object.defineProperty(t.prototype, "speechRecognitionLanguage", { get: function() { return a.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer), this.properties.getProperty(s.PropertyId.SpeechServiceConnection_RecoLanguage) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "authorizationToken", { get: function() { return this.properties.getProperty(s.PropertyId.SpeechServiceAuthorization_Token) }, set: function(e) { this.properties.setProperty(s.PropertyId.SpeechServiceAuthorization_Token, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "properties", { get: function() { return this.privProperties }, enumerable: !0, configurable: !0 }), t.prototype.recognizeOnceAsync = function(e, t) { if (a.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer), 0 !== Object.keys(this.privAddedLmIntents).length || void 0 !== this.privUmbrellaIntent) { var r = this.buildSpeechContext(); this.privReco.speechContext.setSection("intent", r.Intent), this.privReco.dynamicGrammar.addReferenceGrammar(r.ReferenceGrammars), this.privReco.setIntents(this.privAddedLmIntents, this.privUmbrellaIntent) } this.recognizeOnceAsyncImpl(o.RecognitionMode.Interactive, e, t) }, t.prototype.startContinuousRecognitionAsync = function(e, t) { if (0 !== Object.keys(this.privAddedLmIntents).length) { var r = this.buildSpeechContext(); this.privReco.speechContext.setSection("intent", r.Intent), this.privReco.dynamicGrammar.addReferenceGrammar(r.ReferenceGrammars), this.privReco.setIntents(this.privAddedLmIntents, this.privUmbrellaIntent) } this.startContinuousRecognitionAsyncImpl(o.RecognitionMode.Conversation, e, t) }, t.prototype.stopContinuousRecognitionAsync = function(e, t) { this.stopContinuousRecognitionAsyncImpl(e, t) }, t.prototype.startKeywordRecognitionAsync = function(e, t, r) { a.Contracts.throwIfNull(e, "model"), r && r("Not yet implemented.") }, t.prototype.stopKeywordRecognitionAsync = function(e, t) { e && e() }, t.prototype.addIntent = function(e, t) { a.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer), a.Contracts.throwIfNullOrWhitespace(t, "intentId"), a.Contracts.throwIfNullOrWhitespace(e, "simplePhrase"), this.privAddedIntents.push([t, e]) }, t.prototype.addIntentWithLanguageModel = function(e, t, r) { a.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer), a.Contracts.throwIfNullOrWhitespace(e, "intentId"), a.Contracts.throwIfNull(t, "model"); var n = t; a.Contracts.throwIfNullOrWhitespace(n.appId, "model.appId"), this.privAddedLmIntents[e] = new o.AddedLmIntent(n, r) }, t.prototype.addAllIntents = function(e, t) { a.Contracts.throwIfNull(e, "model"); var r = e; a.Contracts.throwIfNullOrWhitespace(r.appId, "model.appId"), this.privUmbrellaIntent = new o.AddedLmIntent(r, t) }, t.prototype.close = function() { a.Contracts.throwIfDisposed(this.privDisposedIntentRecognizer), this.dispose(!0) }, t.prototype.createRecognizerConfig = function(e) { return new o.RecognizerConfig(e, this.properties) }, t.prototype.createServiceRecognizer = function(e, t, r, n) { var i = r; return new o.IntentServiceRecognizer(e, t, i, n, this) }, t.prototype.dispose = function(t) { this.privDisposedIntentRecognizer || t && (this.privDisposedIntentRecognizer = !0, e.prototype.dispose.call(this, t)) }, t.prototype.buildSpeechContext = function() { var e, t, r, n = []; void 0 !== this.privUmbrellaIntent && (e = this.privUmbrellaIntent.modelImpl.appId, t = this.privUmbrellaIntent.modelImpl.region, r = this.privUmbrellaIntent.modelImpl.subscriptionKey); for (var i = 0, o = Object.keys(this.privAddedLmIntents); i < o.length; i++) { var a = o[i], u = this.privAddedLmIntents[a]; if (void 0 === e) e = u.modelImpl.appId; else if (e !== u.modelImpl.appId) throw new Error("Intents must all be from the same LUIS model"); if (void 0 === t) t = u.modelImpl.region; else if (t !== u.modelImpl.region) throw new Error("Intents must all be from the same LUIS model in a single region"); if (void 0 === r) r = u.modelImpl.subscriptionKey; else if (r !== u.modelImpl.subscriptionKey) throw new Error("Intents must all use the same subscription key"); var c = "luis/" + e + "-PRODUCTION#" + a; n.push(c) } return { Intent: { id: e, key: void 0 === r ? this.privProperties.getProperty(s.PropertyId[s.PropertyId.SpeechServiceConnection_Key]) : r, provider: "LUIS" }, ReferenceGrammars: void 0 === this.privUmbrellaIntent ? n : ["luis/" + e + "-PRODUCTION"] } }, t }(s.Recognizer); t.IntentRecognizer = u }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(21), a = r(46), s = r(9), u = function(e) { function t(t, r) { var n = this, i = t; return a.Contracts.throwIfNull(i, "speechConfig"), (n = e.call(this, r, i.properties, new o.TranslationConnectionFactory) || this).privDisposedTranslationRecognizer = !1, n.privProperties = i.properties.clone(), void 0 !== n.properties.getProperty(s.PropertyId.SpeechServiceConnection_TranslationVoice, void 0) && a.Contracts.throwIfNullOrWhitespace(n.properties.getProperty(s.PropertyId.SpeechServiceConnection_TranslationVoice), s.PropertyId[s.PropertyId.SpeechServiceConnection_TranslationVoice]), a.Contracts.throwIfNullOrWhitespace(n.properties.getProperty(s.PropertyId.SpeechServiceConnection_TranslationToLanguages), s.PropertyId[s.PropertyId.SpeechServiceConnection_TranslationToLanguages]), a.Contracts.throwIfNullOrWhitespace(n.properties.getProperty(s.PropertyId.SpeechServiceConnection_RecoLanguage), s.PropertyId[s.PropertyId.SpeechServiceConnection_RecoLanguage]), n } return i(t, e), Object.defineProperty(t.prototype, "speechRecognitionLanguage", { get: function() { return a.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer), this.properties.getProperty(s.PropertyId.SpeechServiceConnection_RecoLanguage) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "targetLanguages", { get: function() { return a.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer), this.properties.getProperty(s.PropertyId.SpeechServiceConnection_TranslationToLanguages).split(",") }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "voiceName", { get: function() { return a.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer), this.properties.getProperty(s.PropertyId.SpeechServiceConnection_TranslationVoice, void 0) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "authorizationToken", { get: function() { return this.properties.getProperty(s.PropertyId.SpeechServiceAuthorization_Token) }, set: function(e) { this.properties.setProperty(s.PropertyId.SpeechServiceAuthorization_Token, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "properties", { get: function() { return this.privProperties }, enumerable: !0, configurable: !0 }), t.prototype.recognizeOnceAsync = function(e, t) { a.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer), this.recognizeOnceAsyncImpl(o.RecognitionMode.Conversation, e, t) }, t.prototype.startContinuousRecognitionAsync = function(e, t) { this.startContinuousRecognitionAsyncImpl(o.RecognitionMode.Conversation, e, t) }, t.prototype.stopContinuousRecognitionAsync = function(e, t) { this.stopContinuousRecognitionAsyncImpl(e, t) }, t.prototype.close = function() { a.Contracts.throwIfDisposed(this.privDisposedTranslationRecognizer), this.dispose(!0) }, t.prototype.dispose = function(t) { this.privDisposedTranslationRecognizer || t && (this.implRecognizerStop(), this.privDisposedTranslationRecognizer = !0, e.prototype.dispose.call(this, t)) }, t.prototype.createRecognizerConfig = function(e) { return new o.RecognizerConfig(e, this.properties) }, t.prototype.createServiceRecognizer = function(e, t, r, n) { var i = r; return new o.TranslationServiceRecognizer(e, t, i, n, this) }, t }(s.Recognizer); t.TranslationRecognizer = u }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(9), i = function() { function e() { this.privMap = new n.PropertyCollection } return e.prototype.get = function(e, t) { return this.privMap.getProperty(e, t) }, e.prototype.set = function(e, t) { this.privMap.setProperty(e, t) }, e }(); t.Translations = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.NotRecognized = 0] = "NotRecognized", e[e.InitialSilenceTimeout = 1] = "InitialSilenceTimeout", e[e.InitialBabbleTimeout = 2] = "InitialBabbleTimeout" }(t.NoMatchReason || (t.NoMatchReason = {})) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(21), i = r(9), o = function() { function e(e) { this.privReason = e } return e.fromResult = function(t) { var r = n.SimpleSpeechPhrase.fromJSON(t.json), o = i.NoMatchReason.NotRecognized; switch (r.RecognitionStatus) { case n.RecognitionStatus.BabbleTimeout: o = i.NoMatchReason.InitialBabbleTimeout; break; case n.RecognitionStatus.InitialSilenceTimeout: o = i.NoMatchReason.InitialSilenceTimeout; break; default: o = i.NoMatchReason.NotRecognized } return new e(o) }, Object.defineProperty(e.prototype, "reason", { get: function() { return this.privReason }, enumerable: !0, configurable: !0 }), e }(); t.NoMatchDetails = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e, t, r, n, i) { this.privCancelReason = t, this.privErrorDetails = r, this.privResult = i, this.privSessionId = e, this.privErrorCode = n } return Object.defineProperty(e.prototype, "result", { get: function() { return this.privResult }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "sessionId", { get: function() { return this.privSessionId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "reason", { get: function() { return this.privCancelReason }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "errorCode", { get: function() { return this.privErrorCode }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "errorDetails", { get: function() { return this.privErrorDetails }, enumerable: !0, configurable: !0 }), e }(); t.TranslationRecognitionCanceledEventArgs = n }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n, i, o, a) { var s = e.call(this, i, o, a) || this; return s.privReason = t, s.privErrorDetails = r, s.privErrorCode = n, s } return i(t, e), Object.defineProperty(t.prototype, "reason", { get: function() { return this.privReason }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "errorCode", { get: function() { return this.privErrorCode }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "errorDetails", { get: function() { return this.privErrorDetails }, enumerable: !0, configurable: !0 }), t }(r(9).IntentRecognitionEventArgs); t.IntentRecognitionCanceledEventArgs = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(21), i = r(9), o = function() { function e(e, t, r) { this.privReason = e, this.privErrorDetails = t, this.privErrorCode = r } return e.fromResult = function(t) { var r = i.CancellationReason.Error, o = i.CancellationErrorCode.NoError; if (t.json) { var a = n.SimpleSpeechPhrase.fromJSON(t.json); r = n.EnumTranslation.implTranslateCancelResult(a.RecognitionStatus) } return t.properties && (o = i.CancellationErrorCode[t.properties.getProperty(n.CancellationErrorCodePropertyName, i.CancellationErrorCode[i.CancellationErrorCode.NoError])]), new e(r, t.errorDetails, o) }, Object.defineProperty(e.prototype, "reason", { get: function() { return this.privReason }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "errorDetails", { get: function() { return this.privErrorDetails }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "ErrorCode", { get: function() { return this.privErrorCode }, enumerable: !0, configurable: !0 }), e }(); t.CancellationDetails = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.NoError = 0] = "NoError", e[e.AuthenticationFailure = 1] = "AuthenticationFailure", e[e.BadRequestParameters = 2] = "BadRequestParameters", e[e.TooManyRequests = 3] = "TooManyRequests", e[e.ConnectionFailure = 4] = "ConnectionFailure", e[e.ServiceTimeout = 5] = "ServiceTimeout", e[e.ServiceError = 6] = "ServiceError", e[e.RuntimeError = 7] = "RuntimeError" }(t.CancellationErrorCode || (t.CancellationErrorCode = {})) }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t }(r(9).SessionEventArgs); t.ConnectionEventArgs = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n) { var i = e.call(this, n) || this; return i.privJsonResult = t, i.privEventName = r, i } return i(t, e), Object.defineProperty(t.prototype, "jsonString", { get: function() { return this.privJsonResult }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "eventName", { get: function() { return this.privEventName }, enumerable: !0, configurable: !0 }), t }(r(9).SessionEventArgs); t.ServiceEventArgs = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(9), i = function() { function e() {} return e.fromRecognizer = function(t) { var r = t.internalData, i = new e; return i.privServiceRecognizer = r, i.privEventListener = i.privServiceRecognizer.connectionEvents.attach((function(e) { "ConnectionEstablishedEvent" === e.name ? i.connected && i.connected(new n.ConnectionEventArgs(e.connectionId)) : "ConnectionClosedEvent" === e.name && i.disconnected && i.disconnected(new n.ConnectionEventArgs(e.connectionId)) })), i.privServiceEventListener = i.privServiceRecognizer.serviceEvents.attach((function(e) { i.receivedServiceMessage && i.receivedServiceMessage(new n.ServiceEventArgs(e.jsonString, e.name)) })), i }, e.prototype.openConnection = function() { this.privServiceRecognizer.connect() }, e.prototype.closeConnection = function() { this.privServiceRecognizer.disconnect() }, e.prototype.close = function() {}, e }(); t.Connection = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.privGrammerBuilder = e.dynamicGrammar } return e.fromRecognizer = function(t) { return new e(t.internalData) }, e.prototype.addPhrase = function(e) { this.privGrammerBuilder.addPhrase(e) }, e.prototype.addPhrases = function(e) { this.privGrammerBuilder.addPhrase(e) }, e.prototype.clear = function() { this.privGrammerBuilder.clearPhrases() }, e }(); t.PhraseListGrammar = n }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(46), a = r(695), s = r(9), u = function(e) { function t() { return e.call(this) || this } return i(t, e), t.fromSubscription = function(e, t, r) { o.Contracts.throwIfNullOrWhitespace(e, "subscription"), o.Contracts.throwIfNullOrWhitespace(t, "region"); var n = new a.DialogServiceConfigImpl; return n.setProperty(s.PropertyId.Conversation_DialogType, "bot_framework"), n.setProperty(s.PropertyId.SpeechServiceConnection_Key, e), n.setProperty(s.PropertyId.SpeechServiceConnection_Region, t), r && n.setProperty(s.PropertyId.Conversation_ApplicationId, r), n }, t.fromAuthorizationToken = function(e, t) { o.Contracts.throwIfNullOrWhitespace(e, "authorizationToken"), o.Contracts.throwIfNullOrWhitespace(t, "region"); var r = new a.DialogServiceConfigImpl; return r.setProperty(s.PropertyId.Conversation_DialogType, "bot_framework"), r.setProperty(s.PropertyId.SpeechServiceAuthorization_Token, e), r.setProperty(s.PropertyId.SpeechServiceConnection_Region, t), r }, t }(a.DialogServiceConfigImpl); t.BotFrameworkConfig = u }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(46), a = r(695), s = r(9), u = function(e) { function t() { return e.call(this) || this } return i(t, e), t.fromSubscription = function(e, t, r) { o.Contracts.throwIfNullOrWhitespace(e, "applicationId"), o.Contracts.throwIfNullOrWhitespace(t, "subscription"), o.Contracts.throwIfNullOrWhitespace(r, "region"); var n = new a.DialogServiceConfigImpl; return n.setProperty(s.PropertyId.Conversation_DialogType, "custom_commands"), n.setProperty(s.PropertyId.Conversation_ApplicationId, e), n.setProperty(s.PropertyId.SpeechServiceConnection_Key, t), n.setProperty(s.PropertyId.SpeechServiceConnection_Region, r), n }, t.fromAuthorizationToken = function(e, t, r) { o.Contracts.throwIfNullOrWhitespace(e, "applicationId"), o.Contracts.throwIfNullOrWhitespace(t, "authorizationToken"), o.Contracts.throwIfNullOrWhitespace(r, "region"); var n = new a.DialogServiceConfigImpl; return n.setProperty(s.PropertyId.Conversation_DialogType, "custom_commands"), n.setProperty(s.PropertyId.Conversation_ApplicationId, e), n.setProperty(s.PropertyId.SpeechServiceAuthorization_Token, t), n.setProperty(s.PropertyId.SpeechServiceConnection_Region, r), n }, Object.defineProperty(t.prototype, "applicationId", { get: function() { return this.getProperty(s.PropertyId.Conversation_ApplicationId) }, set: function(e) { o.Contracts.throwIfNullOrWhitespace(e, "value"), this.setProperty(s.PropertyId.Conversation_ApplicationId, e) }, enumerable: !0, configurable: !0 }), t }(a.DialogServiceConfigImpl); t.CustomCommandsConfig = u }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(1810), a = r(21), s = r(46), u = r(9), c = r(1655), l = function(e) { function t(t, r) { var n = this, i = t; s.Contracts.throwIfNull(t, "dialogConfig"), (n = e.call(this, r, i.properties, new o.DialogConnectionFactory) || this).isTurnComplete = !0, n.privIsDisposed = !1, n.privProperties = i.properties.clone(); var a = n.buildAgentConfig(); return n.privReco.agentConfig.set(a), n } return i(t, e), t.prototype.connect = function() { this.privReco.connect() }, t.prototype.disconnect = function() { this.privReco.disconnect() }, Object.defineProperty(t.prototype, "authorizationToken", { get: function() { return this.properties.getProperty(c.PropertyId.SpeechServiceAuthorization_Token) }, set: function(e) { s.Contracts.throwIfNullOrWhitespace(e, "token"), this.properties.setProperty(c.PropertyId.SpeechServiceAuthorization_Token, e) }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "properties", { get: function() { return this.privProperties }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "speechActivityTemplate", { get: function() { return this.properties.getProperty(c.PropertyId.Conversation_Speech_Activity_Template) }, set: function(e) { this.properties.setProperty(c.PropertyId.Conversation_Speech_Activity_Template, e) }, enumerable: !0, configurable: !0 }), t.prototype.listenOnceAsync = function(e, t) { var r = this; if (this.isTurnComplete) try { s.Contracts.throwIfDisposed(this.privIsDisposed), this.connect(), this.implRecognizerStop(), this.isTurnComplete = !1, this.privReco.recognize(a.RecognitionMode.Conversation, (function(t) { r.implRecognizerStop(), r.isTurnComplete = !0, e && e(t) }), (function(e) { r.implRecognizerStop(), r.isTurnComplete = !0, t && t(e) })).on((function(e) {}), (function(e) { t && t(e) })) } catch (e) { if (t) if (e instanceof Error) { var n = e; t(n.name + ": " + n.message) } else t(e); this.dispose(!0) } }, t.prototype.sendActivityAsync = function(e) { this.privReco.sendMessage(e) }, t.prototype.close = function() { s.Contracts.throwIfDisposed(this.privIsDisposed), this.dispose(!0) }, t.prototype.dispose = function(t) { this.privIsDisposed || t && (this.implRecognizerStop(), this.privIsDisposed = !0, e.prototype.dispose.call(this, t)) }, t.prototype.createRecognizerConfig = function(e) { return new a.RecognizerConfig(e, this.privProperties) }, t.prototype.createServiceRecognizer = function(e, t, r, n) { var i = r; return new a.DialogServiceAdapter(e, t, i, n, this) }, t.prototype.buildAgentConfig = function() { return { botInfo: { commType: this.properties.getProperty("Conversation_Communication_Type", "Default"), commandsCulture: void 0, connectionId: this.properties.getProperty(c.PropertyId.Conversation_ApplicationId), conversationId: void 0, fromId: this.properties.getProperty(c.PropertyId.Conversation_From_Id, void 0) }, version: .2 } }, t }(u.Recognizer); t.DialogServiceConnector = l }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(113), a = r(9), s = r(347), u = r(21), c = r(366), l = "convai.speech.microsoft.com", f = { authHeader: "X-DLS-Secret", resourcePath: "", version: "v3" }, p = { authHeader: "X-CommandsAppId", resourcePath: "commands", version: "v1" }; function d(e) { switch (e) { case "custom_commands": return p; case "bot_framework": return f } throw new Error("Invalid dialog type '" + e + "'") } var h = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.create = function(e, r, n) { var i = e.parameters.getProperty(a.PropertyId.Conversation_ApplicationId, ""), s = e.parameters.getProperty(a.PropertyId.Conversation_DialogType), f = e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Region), p = e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage, "en-US"), h = {}; h[c.QueryParameterNames.LanguageParamName] = p, h[c.QueryParameterNames.FormatParamName] = e.parameters.getProperty(a.PropertyId.SpeechServiceResponse_OutputFormatOption, a.OutputFormat[a.OutputFormat.Simple]).toLowerCase(); var v = d(s), m = v.resourcePath, y = v.version, b = v.authHeader, g = {}; null != r.token && "" !== r.token && (g[r.headerName] = r.token), g[c.QueryParameterNames.ConnectionIdHeader] = n, "" !== i && (g[b] = i); var _ = e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Endpoint, ""); return "" === _ && (_ = "" === i ? "wss://" + f + "." + l + "/api/" + y : "wss://" + f + "." + l + "/" + m + "/api/" + y), t.setCommonUrlParams(e, h, _), new o.WebsocketConnection(_, h, g, new u.WebsocketMessageFormatter, o.ProxyInfo.fromRecognizerConfig(e), n) }, t } return i(t, e), t }(s.ConnectionFactoryBase); t.DialogConnectionFactory = h }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e, t) { this.privActivity = e, this.privAudioStream = t } return Object.defineProperty(e.prototype, "activity", { get: function() { return this.privActivity }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "audioStream", { get: function() { return this.privAudioStream }, enumerable: !0, configurable: !0 }), e }(); t.ActivityReceivedEventArgs = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.UriQueryParameter = 0] = "UriQueryParameter" }(t.ServicePropertyChannel || (t.ServicePropertyChannel = {})) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.Masked = 0] = "Masked", e[e.Removed = 1] = "Removed", e[e.Raw = 2] = "Raw" }(t.ProfanityOption || (t.ProfanityOption = {})) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(92), i = function() { function e(e) { this.audioContext = null, this.gainNode = null, this.autoUpdateBufferTimer = 0, this.init(e) } return e.prototype.playAudioSample = function(e) { this.ensureInitializedContext(); var t = this.formatAudioData(e), r = new Float32Array(this.samples.length + t.length); r.set(this.samples, 0), r.set(t, this.samples.length), this.samples = r }, e.prototype.stopAudio = function() { null !== this.audioContext && (this.samples = new Float32Array, clearInterval(this.autoUpdateBufferTimer), this.audioContext.close(), this.audioContext = null) }, e.prototype.init = function(e) { this.audioFormat = e, this.samples = new Float32Array }, e.prototype.ensureInitializedContext = function() { var e = this; if (null === this.audioContext) { this.createAudioContext(); this.autoUpdateBufferTimer = setInterval((function() { e.updateAudioBuffer() }), 200) } }, e.prototype.createAudioContext = function() { this.audioContext = new AudioContext, this.gainNode = this.audioContext.createGain(), this.gainNode.gain.value = 1, this.gainNode.connect(this.audioContext.destination), this.startTime = this.audioContext.currentTime }, e.prototype.formatAudioData = function(e) { switch (this.audioFormat.bitsPerSample) { case 8: return this.formatArrayBuffer(new Int8Array(e), 128); case 16: return this.formatArrayBuffer(new Int16Array(e), 32768); case 32: return this.formatArrayBuffer(new Int32Array(e), 2147483648); default: throw new n.InvalidOperationError("Only WAVE_FORMAT_PCM (8/16/32 bps) format supported at this time") } }, e.prototype.formatArrayBuffer = function(e, t) { for (var r = new Float32Array(e.length), n = 0; n < e.length; n++) r[n] = e[n] / t; return r }, e.prototype.updateAudioBuffer = function() { if (0 !== this.samples.length) { for (var e = this.audioFormat.channels, t = this.audioContext.createBufferSource(), r = this.samples.length / e, n = this.audioContext.createBuffer(e, r, this.audioFormat.samplesPerSec), i = 0; i < e; i++) for (var o = i, a = n.getChannelData(i), s = 0; s < this.samples.length; s++, o += e) a[s] = this.samples[o]; this.startTime < this.audioContext.currentTime && (this.startTime = this.audioContext.currentTime), t.buffer = n, t.connect(this.gainNode), t.start(this.startTime), this.startTime += n.duration, this.samples = new Float32Array } }, e }(); t.BaseAudioPlayer = i }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r) { var n = e.call(this, r) || this; return n.privExpirationTime = t, n } return i(t, e), Object.defineProperty(t.prototype, "expirationTime", { get: function() { return this.privExpirationTime }, enumerable: !0, configurable: !0 }), t }(r(9).SessionEventArgs); t.ConversationExpirationEventArgs = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n) { var i = e.call(this, n) || this; return i.privReason = t, i.privParticipant = r, i } return i(t, e), Object.defineProperty(t.prototype, "reason", { get: function() { return this.privReason }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "participants", { get: function() { return this.privParticipant }, enumerable: !0, configurable: !0 }), t }(r(9).SessionEventArgs); t.ConversationParticipantsChangedEventArgs = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n, i, o) { var a = e.call(this, i, o) || this; return a.privReason = t, a.privErrorDetails = r, a.privErrorCode = n, a } return i(t, e), Object.defineProperty(t.prototype, "reason", { get: function() { return this.privReason }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "errorCode", { get: function() { return this.privErrorCode }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "errorDetails", { get: function() { return this.privErrorDetails }, enumerable: !0, configurable: !0 }), t }(r(9).RecognitionEventArgs); t.ConversationTranslationCanceledEventArgs = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n) { var i = e.call(this, r, n) || this; return i.privResult = t, i } return i(t, e), Object.defineProperty(t.prototype, "result", { get: function() { return this.privResult }, enumerable: !0, configurable: !0 }), t }(r(9).RecognitionEventArgs); t.ConversationTranslationEventArgs = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = function(e) { function t(t, r, n, i, o, a, s, u, c, l, f) { var p = e.call(this, r, i, o, a, s, u, c, l, f) || this; return p.privId = t, p.privOrigLang = n, p } return i(t, e), Object.defineProperty(t.prototype, "participantId", { get: function() { return this.privId }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "originalLang", { get: function() { return this.privOrigLang }, enumerable: !0, configurable: !0 }), t }(r(1654).TranslationRecognitionResult); t.ConversationTranslationResult = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n, i = r(21), o = r(46), a = r(9), s = r(1658), u = r(1657); ! function(e) { e[e.Inactive = 0] = "Inactive", e[e.Connecting = 1] = "Connecting", e[e.Connected = 2] = "Connected" }(n = t.SpeechState || (t.SpeechState = {})); var c = function() { function e(e) { var t = this; this.privIsDisposed = !1, this.privIsSpeaking = !1, this.privSpeechState = n.Inactive, this.onSpeechConnected = function(e) { t.privSpeechState = n.Connected }, this.onSpeechDisconnected = function(e) { t.privSpeechState = n.Inactive, t.cancelSpeech() }, this.onSpeechRecognized = function(e, r) { var n; (null === (n = r.result) || void 0 === n ? void 0 : n.errorDetails) && (t.cancelSpeech(), t.fireCancelEvent(r.result.errorDetails)) }, this.onSpeechRecognizing = function(e, t) {}, this.onSpeechCanceled = function(e, r) { if (t.privSpeechState !== n.Inactive) try { t.cancelSpeech() } catch (e) { t.privSpeechState = n.Inactive } }, this.onSpeechSessionStarted = function(e, r) { t.privSpeechState = n.Connected }, this.onSpeechSessionStopped = function(e, r) { t.privSpeechState = n.Inactive }, this.privProperties = new a.PropertyCollection, this.privAudioConfig = e } return Object.defineProperty(e.prototype, "properties", { get: function() { return this.privProperties }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "speechRecognitionLanguage", { get: function() { return this.privSpeechRecognitionLanguage }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "participants", { get: function() { var e; return null === (e = this.privConversation) || void 0 === e ? void 0 : e.participants }, enumerable: !0, configurable: !0 }), e.prototype.joinConversationAsync = function(e, t, r, n, u) { var c = this; try { if ("string" == typeof e) { o.Contracts.throwIfNullOrUndefined(e, i.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "conversation id")), o.Contracts.throwIfNullOrWhitespace(t, i.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "nickname")), this.privConversation && this.handleError(new Error(i.ConversationTranslatorConfig.strings.permissionDeniedStart), u); var l = r; null != l && "" !== l || (l = i.ConversationTranslatorConfig.defaultLanguageCode), this.privSpeechTranslationConfig = a.SpeechTranslationConfig.fromSubscription(i.ConversationTranslatorConfig.auth.placeholderSubscriptionKey, i.ConversationTranslatorConfig.auth.placeholderRegion), this.privSpeechTranslationConfig.setProfanity(a.ProfanityOption.Masked), this.privSpeechTranslationConfig.addTargetLanguage(l), this.privSpeechTranslationConfig.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_RecoLanguage], l), this.privSpeechTranslationConfig.setProperty(a.PropertyId[a.PropertyId.ConversationTranslator_Name], t); var f = this.privProperties.getProperty(a.PropertyId.ConversationTranslator_Host); f && this.privSpeechTranslationConfig.setProperty(a.PropertyId[a.PropertyId.ConversationTranslator_Host], f); var p = this.privProperties.getProperty(a.PropertyId.SpeechServiceConnection_Host); p && this.privSpeechTranslationConfig.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_Host], p), this.privConversation = new s.ConversationImpl(this.privSpeechTranslationConfig), this.privConversation.conversationTranslator = this, this.privConversation.joinConversationAsync(e, t, l, (function(e) { e || c.handleError(new Error(i.ConversationTranslatorConfig.strings.permissionDeniedConnect), u), c.privSpeechTranslationConfig.authorizationToken = e, c.privConversation.startConversationAsync((function() { c.handleCallback(n, u) }), (function(e) { c.handleError(e, u) })) }), (function(e) { c.handleError(e, u) })) } else "object" == typeof e ? (o.Contracts.throwIfNullOrUndefined(e, i.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "conversation id")), o.Contracts.throwIfNullOrWhitespace(t, i.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "nickname")), this.privProperties.setProperty(a.PropertyId.ConversationTranslator_Name, t), this.privConversation = e, this.privConversation.conversationTranslator = this, o.Contracts.throwIfNullOrUndefined(this.privConversation, i.ConversationTranslatorConfig.strings.permissionDeniedConnect), o.Contracts.throwIfNullOrUndefined(this.privConversation.room.token, i.ConversationTranslatorConfig.strings.permissionDeniedConnect), this.privSpeechTranslationConfig = e.config, this.handleCallback(r, n)) : this.handleError(new Error(i.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "invalid conversation type")), n) } catch (e) { this.handleError(e, "string" == typeof r ? u : n) } }, e.prototype.leaveConversationAsync = function(e, t) { var r = this; try { this.cancelSpeech(), this.privConversation.endConversationAsync((function() { r.privConversation.deleteConversationAsync((function() { r.handleCallback(e, t), r.dispose() }), (function(e) { r.handleError(e, t) })) }), (function(e) { r.handleError(e, t) })) } catch (e) { this.handleError(e, t) } }, e.prototype.sendTextMessageAsync = function(e, t, r) { var n; try { o.Contracts.throwIfNullOrUndefined(this.privConversation, i.ConversationTranslatorConfig.strings.permissionDeniedSend), o.Contracts.throwIfNullOrWhitespace(e, i.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", e)), null === (n = this.privConversation) || void 0 === n || n.sendTextMessageAsync(e, t, r) } catch (e) { this.handleError(e, r) } }, e.prototype.startTranscribingAsync = function(e, t) { var r = this; try { o.Contracts.throwIfNullOrUndefined(this.privConversation, i.ConversationTranslatorConfig.strings.permissionDeniedSend), o.Contracts.throwIfNullOrUndefined(this.privConversation.room.token, i.ConversationTranslatorConfig.strings.permissionDeniedConnect), this.canSpeak || this.handleError(new Error(i.ConversationTranslatorConfig.strings.permissionDeniedSend), t), void 0 === this.privTranslationRecognizer ? this.connectTranslatorRecognizer((function() { r.startContinuousRecognition((function() { r.privIsSpeaking = !0, r.handleCallback(e, t) }), (function(e) { r.privIsSpeaking = !1, r.cancelSpeech(), r.handleError(e, t) })) }), (function(e) { r.handleError(e, t) })) : this.startContinuousRecognition((function() { r.privIsSpeaking = !0, r.handleCallback(e, t) }), (function(e) { r.privIsSpeaking = !1, r.cancelSpeech(), r.handleError(e, t) })) } catch (e) { this.handleError(e, t), this.cancelSpeech() } }, e.prototype.stopTranscribingAsync = function(e, t) { var r, n = this; try { if (!this.privIsSpeaking) return this.cancelSpeech(), void this.handleCallback(e, t); this.privIsSpeaking = !1, null === (r = this.privTranslationRecognizer) || void 0 === r || r.stopContinuousRecognitionAsync((function() { n.handleCallback(e, t) }), (function(e) { n.handleError(e, t), n.cancelSpeech() })) } catch (e) { this.handleError(e, t), this.cancelSpeech() } }, e.prototype.isDisposed = function() { return this.privIsDisposed }, e.prototype.dispose = function(e) { var t, r; this.isDisposed && !this.privIsSpeaking || (this.cancelSpeech(), this.privIsDisposed = !0, null === (t = this.privSpeechTranslationConfig) || void 0 === t || t.close(), this.privSpeechRecognitionLanguage = void 0, this.privProperties = void 0, this.privAudioConfig = void 0, this.privSpeechTranslationConfig = void 0, null === (r = this.privConversation) || void 0 === r || r.dispose(), this.privConversation = void 0) }, e.prototype.connectTranslatorRecognizer = function(e, t) { try { void 0 === this.privAudioConfig && (this.privAudioConfig = a.AudioConfig.fromDefaultMicrophoneInput()), this.privSpeechTranslationConfig.getProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_Key]) === i.ConversationTranslatorConfig.auth.placeholderSubscriptionKey && this.privSpeechTranslationConfig.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_Key], ""); var r = encodeURIComponent(this.privConversation.room.token), n = this.privSpeechTranslationConfig.getProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_Host], i.ConversationTranslatorConfig.speechHost), o = "wss://" + (n = n.replace("{region}", this.privConversation.room.cognitiveSpeechRegion)) + i.ConversationTranslatorConfig.speechPath + "?" + i.ConversationTranslatorConfig.params.token + "=" + r; this.privSpeechTranslationConfig.setProperty(a.PropertyId[a.PropertyId.SpeechServiceConnection_Endpoint], o), this.privTranslationRecognizer = new a.TranslationRecognizer(this.privSpeechTranslationConfig, this.privAudioConfig), this.privTranslationRecognizerConnection = a.Connection.fromRecognizer(this.privTranslationRecognizer), this.privTranslationRecognizerConnection.connected = this.onSpeechConnected, this.privTranslationRecognizerConnection.disconnected = this.onSpeechDisconnected, this.privTranslationRecognizer.recognized = this.onSpeechRecognized, this.privTranslationRecognizer.recognizing = this.onSpeechRecognizing, this.privTranslationRecognizer.canceled = this.onSpeechCanceled, this.privTranslationRecognizer.sessionStarted = this.onSpeechSessionStarted, this.privTranslationRecognizer.sessionStopped = this.onSpeechSessionStopped, this.handleCallback(e, t) } catch (e) { this.handleError(e, t), this.cancelSpeech() } }, e.prototype.startContinuousRecognition = function(e, t) { this.privTranslationRecognizer.startContinuousRecognitionAsync(e, t) }, e.prototype.fireCancelEvent = function(e) { var t, r, n; try { if (this.canceled) { var i = new u.ConversationTranslationCanceledEventArgs(null !== (t = null == e ? void 0 : e.reason) && void 0 !== t ? t : a.CancellationReason.Error, null !== (r = null == e ? void 0 : e.errorDetails) && void 0 !== r ? r : e, null !== (n = null == e ? void 0 : e.errorCode) && void 0 !== n ? n : a.CancellationErrorCode.RuntimeError, void 0, null == e ? void 0 : e.sessionId); this.canceled(this, i) } } catch (e) {} }, e.prototype.cancelSpeech = function() { var e, t; try { this.privIsSpeaking = !1, null === (e = this.privTranslationRecognizer) || void 0 === e || e.stopContinuousRecognitionAsync(), null === (t = this.privTranslationRecognizerConnection) || void 0 === t || t.closeConnection(), this.privTranslationRecognizerConnection = void 0, this.privTranslationRecognizer = void 0, this.privSpeechState = n.Inactive } catch (e) {} }, Object.defineProperty(e.prototype, "canSpeak", { get: function() { return !!this.privConversation.isConnected && (!this.privIsSpeaking && this.privSpeechState !== n.Connected && this.privSpeechState !== n.Connecting && !this.privConversation.isMutedByHost) }, enumerable: !0, configurable: !0 }), e.prototype.handleCallback = function(e, t) { if (e) { try { e() } catch (e) { t && t(e) } e = void 0 } }, e.prototype.handleError = function(e, t) { if (t) if (e instanceof Error) { var r = e; t(r.name + ": " + r.message) } else t(e) }, e }(); t.ConversationTranslator = c }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(9), i = function() { function e(e) { this.privUserId = e } return Object.defineProperty(e.prototype, "userId", { get: function() { return this.privUserId }, enumerable: !0, configurable: !0 }), e }(); t.User = i; var o = function() { function e(e, t, r, i, o, a, s) { this.privId = e, this.privAvatar = t, this.privDisplayName = r, this.privIsHost = i, this.privIsMuted = o, this.privIsUsingTts = a, this.privPreferredLanguage = s, this.privPoperties = new n.PropertyCollection } return Object.defineProperty(e.prototype, "avatar", { get: function() { return this.privAvatar }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "displayName", { get: function() { return this.privDisplayName }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "id", { get: function() { return this.privId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "preferredLanguage", { get: function() { return this.privPreferredLanguage }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isHost", { get: function() { return this.privIsHost }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isMuted", { get: function() { return this.privIsMuted }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isUsingTts", { get: function() { return this.privIsUsingTts }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "properties", { get: function() { return this.privPoperties }, enumerable: !0, configurable: !0 }), e }(); t.Participant = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.JoinedConversation = 0] = "JoinedConversation", e[e.LeftConversation = 1] = "LeftConversation", e[e.Updated = 2] = "Updated" }(t.ParticipantChangedReason || (t.ParticipantChangedReason = {})) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(113), i = r(28), o = r(9), a = r(21), s = r(1659), u = function() { function e(t, r, n, u, c) { var l = this; if (this.recognizeOverride = void 0, this.disconnectOverride = void 0, this.sendTelemetryData = function() { var t = l.privRequestSession.getTelemetry(); if (!0 !== e.telemetryDataEnabled || l.privIsDisposed || null === t) return i.PromiseHelper.fromResult(!0); if (e.telemetryData) try { e.telemetryData(t) } catch (e) {} return l.fetchConnection().onSuccessContinueWith((function(e) { return e.send(new s.SpeechConnectionMessage(i.MessageType.Text, "telemetry", l.privRequestSession.requestId, "application/json", t)) })) }, this.receiveMessageOverride = void 0, this.receiveMessage = function() { return l.fetchConnection().on((function(e) { return e.read().onSuccessContinueWithPromise((function(e) { if (void 0 !== l.receiveMessageOverride) return l.receiveMessageOverride(); if (l.privIsDisposed) return i.PromiseHelper.fromResult(void 0); if (!e) return l.privRequestSession.isRecognizing ? l.receiveMessage() : i.PromiseHelper.fromResult(!0); l.privServiceHasSentMessage = !0; var t = s.SpeechConnectionMessage.fromConnectionMessage(e); if (t.requestId.toLowerCase() === l.privRequestSession.requestId.toLowerCase()) switch (t.path.toLowerCase()) { case "turn.start": l.privMustReportEndOfStream = !0, l.privRequestSession.onServiceTurnStartResponse(); break; case "speech.startdetected": var r = a.SpeechDetected.fromJSON(t.textBody), n = new o.RecognitionEventArgs(r.Offset, l.privRequestSession.sessionId); l.privRecognizer.speechStartDetected && l.privRecognizer.speechStartDetected(l.privRecognizer, n); break; case "speech.enddetected": var u = void 0; u = t.textBody.length > 0 ? t.textBody : "{ Offset: 0 }"; var c = a.SpeechDetected.fromJSON(u); l.privRecognizerConfig.isContinuousRecognition && l.privRequestSession.onServiceRecognized(c.Offset + l.privRequestSession.currentTurnAudioOffset); var f = new o.RecognitionEventArgs(c.Offset + l.privRequestSession.currentTurnAudioOffset, l.privRequestSession.sessionId); l.privRecognizer.speechEndDetected && l.privRecognizer.speechEndDetected(l.privRecognizer, f); break; case "turn.end": l.sendTelemetryData(), l.privRequestSession.isSpeechEnded && l.privMustReportEndOfStream && (l.privMustReportEndOfStream = !1, l.cancelRecognitionLocal(o.CancellationReason.EndOfStream, o.CancellationErrorCode.NoError, void 0)); var p = new o.SessionEventArgs(l.privRequestSession.sessionId); if (l.privRequestSession.onServiceTurnEndResponse(l.privRecognizerConfig.isContinuousRecognition), !l.privRecognizerConfig.isContinuousRecognition || l.privRequestSession.isSpeechEnded || !l.privRequestSession.isRecognizing) return l.privRecognizer.sessionStopped && l.privRecognizer.sessionStopped(l.privRecognizer, p), i.PromiseHelper.fromResult(!0); l.fetchConnection().onSuccessContinueWith((function(e) { l.sendSpeechContext(e), l.sendWaveHeader(e) })); break; default: l.processTypeSpecificMessages(t) || l.privServiceEvents && l.serviceEvents.onEvent(new i.ServiceEvent(t.path.toLowerCase(), t.textBody)) } return l.receiveMessage() })) }), (function(e) {})) }, this.sendSpeechContext = function(e) { var t = l.speechContext.toJSON(); return t ? e.send(new s.SpeechConnectionMessage(i.MessageType.Text, "speech.context", l.privRequestSession.requestId, "application/json", t)) : i.PromiseHelper.fromResult(!0) }, this.connectImplOverride = void 0, this.configConnectionOverride = void 0, this.fetchConnectionOverride = void 0, this.sendSpeechServiceConfig = function(t, r, n) { if (!0 !== e.telemetryDataEnabled) { var o = { context: { system: JSON.parse(n).context.system } }; n = JSON.stringify(o) } return n ? t.send(new s.SpeechConnectionMessage(i.MessageType.Text, "speech.config", r.requestId, "application/json", n)) : i.PromiseHelper.fromResult(!0) }, this.sendAudio = function(e) { return l.audioSource.format.onSuccessContinueWithPromise((function(t) { var r = new i.Deferred, n = Date.now(), o = l.privRecognizerConfig.parameters.getProperty("SPEECH-TransmitLengthBeforThrottleMs", "5000"), a = t.avgBytesPerSec / 1e3 * parseInt(o, 10), u = l.privRequestSession.recogNumber, c = function() { l.privIsDisposed || l.privRequestSession.isSpeechEnded || !l.privRequestSession.isRecognizing || l.privRequestSession.recogNumber !== u || l.fetchConnection().on((function(o) { e.read().on((function(e) { var u, f; l.privRequestSession.isSpeechEnded ? r.resolve(!0) : (!e || e.isEnd ? (u = null, f = 0) : (u = e.buffer, l.privRequestSession.onAudioSent(u.byteLength), f = a >= l.privRequestSession.bytesSent ? 0 : Math.max(0, n - Date.now())), setTimeout((function() { null !== u && (n = Date.now() + 1e3 * u.byteLength / (2 * t.avgBytesPerSec)); var a = o.send(new s.SpeechConnectionMessage(i.MessageType.Binary, "audio", l.privRequestSession.requestId, null, u)); (null == e ? void 0 : e.isEnd) ? (l.privRequestSession.onSpeechEnded(), r.resolve(!0)) : a.continueWith((function(e) { c() })) }), f)) }), (function(e) { l.privRequestSession.isSpeechEnded ? r.resolve(!0) : r.reject(e) })) }), (function(e) { r.reject(e) })) }; return c(), r.promise() })) }, this.fetchConnection = function() { return void 0 !== l.fetchConnectionOverride ? l.fetchConnectionOverride() : l.configureConnection() }, !t) throw new i.ArgumentNullError("authentication"); if (!r) throw new i.ArgumentNullError("connectionFactory"); if (!n) throw new i.ArgumentNullError("audioSource"); if (!u) throw new i.ArgumentNullError("recognizerConfig"); this.privMustReportEndOfStream = !1, this.privAuthentication = t, this.privConnectionFactory = r, this.privAudioSource = n, this.privRecognizerConfig = u, this.privIsDisposed = !1, this.privRecognizer = c, this.privRequestSession = new a.RequestSession(this.privAudioSource.id()), this.privConnectionEvents = new i.EventSource, this.privServiceEvents = new i.EventSource, this.privDynamicGrammar = new a.DynamicGrammarBuilder, this.privSpeechContext = new a.SpeechContext(this.privDynamicGrammar), this.privAgentConfig = new a.AgentConfig } return Object.defineProperty(e.prototype, "audioSource", { get: function() { return this.privAudioSource }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "speechContext", { get: function() { return this.privSpeechContext }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "dynamicGrammar", { get: function() { return this.privDynamicGrammar }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "agentConfig", { get: function() { return this.privAgentConfig }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "conversationTranslatorToken", { set: function(e) { this.privRecognizerConfig.parameters.setProperty(o.PropertyId.ConversationTranslator_Token, e) }, enumerable: !0, configurable: !0 }), e.prototype.isDisposed = function() { return this.privIsDisposed }, e.prototype.dispose = function(e) { this.privIsDisposed = !0, this.privConnectionConfigurationPromise && this.privConnectionConfigurationPromise.onSuccessContinueWith((function(t) { t.dispose(e) })) }, Object.defineProperty(e.prototype, "connectionEvents", { get: function() { return this.privConnectionEvents }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "serviceEvents", { get: function() { return this.privServiceEvents }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "recognitionMode", { get: function() { return this.privRecognizerConfig.recognitionMode }, enumerable: !0, configurable: !0 }), e.prototype.recognize = function(e, t, r) { var a = this; return void 0 !== this.recognizeOverride ? this.recognizeOverride(e, t, r) : (this.privConnectionConfigurationPromise = null, this.privRecognizerConfig.recognitionMode = e, this.privSuccessCallback = t, this.privErrorCallback = r, this.privRequestSession.startNewRecognition(), this.privRequestSession.listenForServiceTelemetry(this.privAudioSource.events), this.connectImpl(), this.audioSource.attach(this.privRequestSession.audioNodeId).onSuccessContinueWithPromise((function(e) { var t; return a.audioSource.format.onSuccessContinueWithPromise((function(r) { return t = new n.ReplayableAudioNode(e, r.avgBytesPerSec), a.privRequestSession.onAudioSourceAttachCompleted(t, !1), a.audioSource.deviceInfo.onSuccessContinueWithPromise((function(e) { return a.privRecognizerConfig.SpeechServiceConfig.Context.audio = { source: e }, a.configureConnection().continueWithPromise((function(e) { if (e.isError) return a.cancelRecognitionLocal(o.CancellationReason.Error, o.CancellationErrorCode.ConnectionFailure, e.error), i.PromiseHelper.fromError(e.error); var r = new o.SessionEventArgs(a.privRequestSession.sessionId); a.privRecognizer.sessionStarted && a.privRecognizer.sessionStarted(a.privRecognizer, r); a.receiveMessage(); return a.sendAudio(t).on((function(e) {}), (function(e) { a.cancelRecognitionLocal(o.CancellationReason.Error, o.CancellationErrorCode.RuntimeError, e) })), i.PromiseHelper.fromResult(!0) })) })) })) }))) }, e.prototype.stopRecognizing = function() { var e = this; return this.privRequestSession.isRecognizing ? (this.audioSource.turnOff(), this.sendFinalAudio().onSuccessContinueWithPromise((function(t) { return e.privRequestSession.onStopRecognizing(), e.privRequestSession.turnCompletionPromise.onSuccessContinueWith((function(t) { return e.privRequestSession.onStopRecognizing(), e.privRequestSession.dispose(), !0 })) }))) : i.PromiseHelper.fromResult(!0) }, e.prototype.connect = function() { this.connectImpl().result() }, e.prototype.connectAsync = function(e, t) { this.connectImpl().continueWith((function(r) { try { r.isError ? t && t(r.error) : r.isCompleted && e && e() } catch (e) { t && t(e) } })) }, e.prototype.disconnect = function() { void 0 === this.disconnectOverride ? (this.cancelRecognitionLocal(o.CancellationReason.Error, o.CancellationErrorCode.NoError, "Disconnecting"), this.privConnectionPromise.result().isCompleted ? this.privConnectionPromise.result().isError || (this.privConnectionPromise.result().result.dispose(), this.privConnectionPromise = null) : this.privConnectionPromise.onSuccessContinueWith((function(e) { e.dispose() }))) : this.disconnectOverride() }, e.prototype.disconnectAsync = function(e, t) { try { if (void 0 !== this.disconnectOverride) return this.disconnectOverride(), void(e && e()); this.cancelRecognitionLocal(o.CancellationReason.Error, o.CancellationErrorCode.NoError, "Disconnecting"), this.privConnectionPromise.continueWith((function(r) { try { r.isError ? t && t(r.error) : r.isCompleted && (r.result.dispose(), e && e()) } catch (e) { t && t(e) } })) } catch (e) { t && t(e) } }, e.prototype.sendMessage = function(e) {}, Object.defineProperty(e.prototype, "activityTemplate", { get: function() { return this.privActivityTemplate }, set: function(e) { this.privActivityTemplate = e }, enumerable: !0, configurable: !0 }), e.prototype.cancelRecognitionLocal = function(e, t, r) { this.privRequestSession.isRecognizing && (this.privRequestSession.onStopRecognizing(), this.cancelRecognition(this.privRequestSession.sessionId, this.privRequestSession.requestId, e, t, r)) }, e.prototype.sendWaveHeader = function(e) { var t = this; return this.audioSource.format.onSuccessContinueWithPromise((function(r) { return e.send(new s.SpeechConnectionMessage(i.MessageType.Binary, "audio", t.privRequestSession.requestId, "audio/x-wav", r.header)) })) }, e.prototype.connectImpl = function(e) { var t = this; if (void 0 === e && (e = !1), void 0 !== this.connectImplOverride) return this.connectImplOverride(e); if (this.privConnectionPromise) return this.privConnectionPromise.result().isCompleted && (this.privConnectionPromise.result().isError || this.privConnectionPromise.result().result.state() === i.ConnectionState.Disconnected) && !0 === this.privServiceHasSentMessage ? (this.privConnectionId = null, this.privConnectionPromise = null, this.privServiceHasSentMessage = !1, this.connectImpl()) : this.privConnectionPromise; this.privAuthFetchEventId = i.createNoDashGuid(), this.privConnectionId = i.createNoDashGuid(), this.privRequestSession.onPreConnectionStart(this.privAuthFetchEventId, this.privConnectionId); var r = e ? this.privAuthentication.fetchOnExpiry(this.privAuthFetchEventId) : this.privAuthentication.fetch(this.privAuthFetchEventId); return this.privConnectionPromise = r.continueWithPromise((function(r) { if (r.isError) throw t.privRequestSession.onAuthCompleted(!0, r.error), new Error(r.error); t.privRequestSession.onAuthCompleted(!1); var n = t.privConnectionFactory.create(t.privRecognizerConfig, r.result, t.privConnectionId); return t.privRequestSession.listenForServiceTelemetry(n.events), n.events.attach((function(e) { t.connectionEvents.onEvent(e) })), n.open().onSuccessContinueWithPromise((function(r) { return 200 === r.statusCode ? (t.privRequestSession.onPreConnectionStart(t.privAuthFetchEventId, t.privConnectionId), t.privRequestSession.onConnectionEstablishCompleted(r.statusCode), i.PromiseHelper.fromResult(n)) : 403 !== r.statusCode || e ? (t.privRequestSession.onConnectionEstablishCompleted(r.statusCode, r.reason), i.PromiseHelper.fromError("Unable to contact server. StatusCode: " + r.statusCode + ", " + t.privRecognizerConfig.parameters.getProperty(o.PropertyId.SpeechServiceConnection_Endpoint) + " Reason: " + r.reason)) : t.connectImpl(!0) })) })), this.privConnectionPromise }, e.prototype.writeBufferToConsole = function(e) { var t = "Buffer Size: "; if (null === e) t += "null"; else { var r = new Uint8Array(e); t += e.byteLength + "\r\n"; for (var n = 0; n < e.byteLength; n++) t += r[n].toString(16).padStart(2, "0") + " " } console.info(t) }, e.prototype.sendFinalAudio = function() { var e = this, t = new i.Deferred; return this.fetchConnection().on((function(r) { r.send(new s.SpeechConnectionMessage(i.MessageType.Binary, "audio", e.privRequestSession.requestId, null, null)).on((function(e) { t.resolve(!0) }), (function(e) { t.reject(e) })) }), (function(e) { t.reject(e) })), t.promise() }, e.prototype.configureConnection = function() { var e = this; return void 0 !== this.configConnectionOverride ? this.configConnectionOverride() : this.privConnectionConfigurationPromise ? this.privConnectionConfigurationPromise.result().isCompleted && (this.privConnectionConfigurationPromise.result().isError || this.privConnectionConfigurationPromise.result().result.state() === i.ConnectionState.Disconnected) ? (this.privConnectionConfigurationPromise = null, this.configureConnection()) : this.privConnectionConfigurationPromise : (this.privConnectionConfigurationPromise = this.connectImpl().onSuccessContinueWithPromise((function(t) { return e.sendSpeechServiceConfig(t, e.privRequestSession, e.privRecognizerConfig.SpeechServiceConfig.serialize()).onSuccessContinueWithPromise((function(r) { return e.sendSpeechContext(t).onSuccessContinueWithPromise((function(r) { return e.sendWaveHeader(t).onSuccessContinueWith((function(e) { return t })) })) })) })), this.privConnectionConfigurationPromise) }, e.telemetryDataEnabled = !0, e }(); t.ServiceRecognizerBase = u }, function(e, t, r) { "use strict"; var n; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.Interactive = 0] = "Interactive", e[e.Conversation = 1] = "Conversation", e[e.Dictation = 2] = "Dictation" }(n = t.RecognitionMode || (t.RecognitionMode = {})), function(e) { e[e.Simple = 0] = "Simple", e[e.Detailed = 1] = "Detailed" }(t.SpeechResultFormat || (t.SpeechResultFormat = {})); var i = function() { function e(e, t) { this.privRecognitionMode = n.Interactive, this.privSpeechServiceConfig = e || new o(new a(null)), this.privParameters = t } return Object.defineProperty(e.prototype, "parameters", { get: function() { return this.privParameters }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "recognitionMode", { get: function() { return this.privRecognitionMode }, set: function(e) { this.privRecognitionMode = e, this.privRecognitionActivityTimeout = e === n.Interactive ? 8e3 : 25e3, this.privSpeechServiceConfig.Recognition = n[e] }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "SpeechServiceConfig", { get: function() { return this.privSpeechServiceConfig }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "recognitionActivityTimeout", { get: function() { return this.privRecognitionActivityTimeout }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isContinuousRecognition", { get: function() { return this.privRecognitionMode !== n.Interactive }, enumerable: !0, configurable: !0 }), e }(); t.RecognizerConfig = i; var o = function() { function e(e) { var t = this; this.serialize = function() { return JSON.stringify(t, (function(e, t) { if (t && "object" == typeof t) { var r = {}; for (var n in t) Object.hasOwnProperty.call(t, n) && (r[n && n.charAt(0).toLowerCase() + n.substring(1)] = t[n]); return r } return t })) }, this.context = e } return Object.defineProperty(e.prototype, "Context", { get: function() { return this.context }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Recognition", { get: function() { return this.recognition }, set: function(e) { this.recognition = e.toLowerCase() }, enumerable: !0, configurable: !0 }), e }(); t.SpeechServiceConfig = o; var a = function(e) { this.system = new s, this.os = e }; t.Context = a; var s = function() { this.name = "SpeechSDK", this.version = "1.10.1", this.build = "JavaScript", this.lang = "JavaScript" }; t.System = s; var u = function(e, t, r) { this.platform = e, this.name = t, this.version = r }; t.OS = u; var c = function(e, t, r) { this.manufacturer = e, this.model = t, this.version = r }; t.Device = c, function(e) { e.Bluetooth = "Bluetooth", e.Wired = "Wired", e.WiFi = "WiFi", e.Cellular = "Cellular", e.InBuilt = "InBuilt", e.Unknown = "Unknown" }(t.connectivity || (t.connectivity = {})), function(e) { e.Phone = "Phone", e.Speaker = "Speaker", e.Car = "Car", e.Headset = "Headset", e.Thermostat = "Thermostat", e.Microphones = "Microphones", e.Deskphone = "Deskphone", e.RemoteControl = "RemoteControl", e.Unknown = "Unknown", e.File = "File", e.Stream = "Stream" }(t.type || (t.type = {})) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(28), i = function() { var e = this; this.toConnectionMessage = function(t) { var r = new n.Deferred; try { if (t.messageType === n.MessageType.Text) { var i = t.textContent, o = {}, a = null; if (i) { var s = i.split("\r\n\r\n"); s && s.length > 0 && (o = e.parseHeaders(s[0]), s.length > 1 && (a = s[1])) } r.resolve(new n.ConnectionMessage(t.messageType, a, o, t.id)) } else if (t.messageType === n.MessageType.Binary) { var u = t.binaryContent; if (o = {}, a = null, !u || u.byteLength < 2) throw new Error("Invalid binary message format. Header length missing."); var c = new DataView(u), l = c.getInt16(0); if (u.byteLength < l + 2) throw new Error("Invalid binary message format. Header content missing."); for (var f = "", p = 0; p < l; p++) f += String.fromCharCode(c.getInt8(p + 2)); o = e.parseHeaders(f), u.byteLength > l + 2 && (a = u.slice(2 + l)), r.resolve(new n.ConnectionMessage(t.messageType, a, o, t.id)) } } catch (e) { r.reject("Error formatting the message. Error: " + e) } return r.promise() }, this.fromConnectionMessage = function(t) { var r = new n.Deferred; try { if (t.messageType === n.MessageType.Text) { var i = e.makeHeaders(t) + "\r\n" + (t.textBody ? t.textBody : ""); r.resolve(new n.RawWebsocketMessage(n.MessageType.Text, i, t.id)) } else if (t.messageType === n.MessageType.Binary) { var o = e.makeHeaders(t), a = t.binaryBody, s = new Int8Array(e.stringToArrayBuffer(o)), u = (i = new ArrayBuffer(2 + s.byteLength + (a ? a.byteLength : 0)), new DataView(i)); u.setInt16(0, s.length); for (var c = 0; c < s.byteLength; c++) u.setInt8(2 + c, s[c]); if (a) { var l = new Int8Array(a); for (c = 0; c < l.byteLength; c++) u.setInt8(2 + s.byteLength + c, l[c]) } r.resolve(new n.RawWebsocketMessage(n.MessageType.Binary, i, t.id)) } } catch (e) { r.reject("Error formatting the message. " + e) } return r.promise() }, this.makeHeaders = function(e) { var t = ""; if (e.headers) for (var r in e.headers) r && (t += r + ": " + e.headers[r] + "\r\n"); return t }, this.parseHeaders = function(e) { var t = {}; if (e) { var r = e.match(/[^\r\n]+/g); if (t) for (var n = 0, i = r; n < i.length; n++) { var o = i[n]; if (o) { var a = o.indexOf(":"), s = a > 0 ? o.substr(0, a).trim().toLowerCase() : o, u = a > 0 && o.length > a + 1 ? o.substr(a + 1).trim() : ""; t[s] = u } } } return t }, this.stringToArrayBuffer = function(e) { for (var t = new ArrayBuffer(e.length), r = new DataView(t), n = 0; n < e.length; n++) r.setUint8(n, e.charCodeAt(n)); return t } }; t.WebsocketMessageFormatter = i }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(113), a = r(9), s = r(347), u = r(21), c = r(366), l = function(e) { function t() { var t = null !== e && e.apply(this, arguments) || this; return t.create = function(e, r, n) { var i = e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Endpoint, void 0); if (!i) { var s = e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Region, void 0); i = e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_Host, "wss://" + s + ".s2s.speech.microsoft.com") + "/speech/translation/cognitiveservices/v1" } var l = { from: e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_RecoLanguage), to: e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_TranslationToLanguages) }; t.setCommonUrlParams(e, l, i), t.setUrlParameter(a.PropertyId.SpeechServiceResponse_TranslationRequestStablePartialResult, c.QueryParameterNames.StableTranslation, e, l, i); void 0 !== e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_TranslationVoice, void 0) && (l.voice = e.parameters.getProperty(a.PropertyId.SpeechServiceConnection_TranslationVoice), l.features = "texttospeech"); var f = {}; return void 0 !== r.token && "" !== r.token && (f[r.headerName] = r.token), f["X-ConnectionId"] = n, e.parameters.setProperty(a.PropertyId.SpeechServiceConnection_Url, i), new o.WebsocketConnection(i, l, f, new u.WebsocketMessageFormatter, o.ProxyInfo.fromRecognizerConfig(e), n) }, t } return i(t, e), t }(s.ConnectionFactoryBase); t.TranslationConnectionFactory = l }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(9), i = r(21), o = function() { function e() {} return e.implTranslateRecognitionResult = function(e) { var t = n.ResultReason.Canceled; switch (e) { case i.RecognitionStatus.Success: t = n.ResultReason.RecognizedSpeech; break; case i.RecognitionStatus.NoMatch: case i.RecognitionStatus.InitialSilenceTimeout: case i.RecognitionStatus.BabbleTimeout: case i.RecognitionStatus.EndOfDictation: t = n.ResultReason.NoMatch; break; case i.RecognitionStatus.Error: default: t = n.ResultReason.Canceled } return t }, e.implTranslateCancelResult = function(e) { var t = n.CancellationReason.EndOfStream; switch (e) { case i.RecognitionStatus.Success: case i.RecognitionStatus.EndOfDictation: case i.RecognitionStatus.NoMatch: t = n.CancellationReason.EndOfStream; break; case i.RecognitionStatus.InitialSilenceTimeout: case i.RecognitionStatus.BabbleTimeout: case i.RecognitionStatus.Error: default: t = n.CancellationReason.Error } return t }, e.implTranslateCancelErrorCode = function(e) { var t = n.CancellationErrorCode.NoError; switch (e) { case i.RecognitionStatus.Error: t = n.CancellationErrorCode.ServiceError; break; case i.RecognitionStatus.TooManyRequests: t = n.CancellationErrorCode.TooManyRequests; break; default: t = n.CancellationErrorCode.NoError } return t }, e }(); t.EnumTranslation = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), function(e) { e[e.Success = 0] = "Success", e[e.SynthesisEnd = 1] = "SynthesisEnd", e[e.Error = 2] = "Error" }(t.SynthesisStatus || (t.SynthesisStatus = {})), function(e) { e[e.Success = 0] = "Success", e[e.NoMatch = 1] = "NoMatch", e[e.InitialSilenceTimeout = 2] = "InitialSilenceTimeout", e[e.BabbleTimeout = 3] = "BabbleTimeout", e[e.Error = 4] = "Error", e[e.EndOfDictation = 5] = "EndOfDictation", e[e.TooManyRequests = 6] = "TooManyRequests" }(t.RecognitionStatus || (t.RecognitionStatus = {})) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(21), i = function() { function e(e) { this.privSynthesisEnd = JSON.parse(e), this.privSynthesisEnd.SynthesisStatus = n.SynthesisStatus[this.privSynthesisEnd.SynthesisStatus] } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "SynthesisStatus", { get: function() { return this.privSynthesisEnd.SynthesisStatus }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "FailureReason", { get: function() { return this.privSynthesisEnd.FailureReason }, enumerable: !0, configurable: !0 }), e }(); t.TranslationSynthesisEnd = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(693), i = function() { function e(e) { this.privTranslationHypothesis = JSON.parse(e), this.privTranslationHypothesis.Translation.TranslationStatus = n.TranslationStatus[this.privTranslationHypothesis.Translation.TranslationStatus] } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "Duration", { get: function() { return this.privTranslationHypothesis.Duration }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Offset", { get: function() { return this.privTranslationHypothesis.Offset }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Text", { get: function() { return this.privTranslationHypothesis.Text }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Translation", { get: function() { return this.privTranslationHypothesis.Translation }, enumerable: !0, configurable: !0 }), e }(); t.TranslationHypothesis = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(21), i = r(693), o = function() { function e(e) { this.privTranslationPhrase = JSON.parse(e), this.privTranslationPhrase.RecognitionStatus = n.RecognitionStatus[this.privTranslationPhrase.RecognitionStatus], void 0 !== this.privTranslationPhrase.Translation && (this.privTranslationPhrase.Translation.TranslationStatus = i.TranslationStatus[this.privTranslationPhrase.Translation.TranslationStatus]) } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "RecognitionStatus", { get: function() { return this.privTranslationPhrase.RecognitionStatus }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Offset", { get: function() { return this.privTranslationPhrase.Offset }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Duration", { get: function() { return this.privTranslationPhrase.Duration }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Text", { get: function() { return this.privTranslationPhrase.Text }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Translation", { get: function() { return this.privTranslationPhrase.Translation }, enumerable: !0, configurable: !0 }), e }(); t.TranslationPhrase = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(28), a = r(9), s = r(21), u = function(e) { function t(t, r, n, i, o) { var a = e.call(this, t, r, n, i, o) || this; return a.privTranslationRecognizer = o, a } return i(t, e), t.prototype.processTypeSpecificMessages = function(e) { var t = new a.PropertyCollection, r = !1; switch (e.messageType === o.MessageType.Text && t.setProperty(a.PropertyId.SpeechServiceResponse_JsonResult, e.textBody), e.path.toLowerCase()) { case "translation.hypothesis": var n = this.fireEventForResult(s.TranslationHypothesis.fromJSON(e.textBody), t); if (this.privRequestSession.onHypothesis(this.privRequestSession.currentTurnAudioOffset + n.offset), this.privTranslationRecognizer.recognizing) try { this.privTranslationRecognizer.recognizing(this.privTranslationRecognizer, n) } catch (e) {} r = !0; break; case "translation.phrase": var i = s.TranslationPhrase.fromJSON(e.textBody); if (this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset + i.Offset + i.Duration), i.RecognitionStatus === s.RecognitionStatus.Success) { var u = this.fireEventForResult(i, t); if (this.privTranslationRecognizer.recognized) try { this.privTranslationRecognizer.recognized(this.privTranslationRecognizer, u) } catch (e) {} if (this.privSuccessCallback) { try { this.privSuccessCallback(u.result) } catch (e) { this.privErrorCallback && this.privErrorCallback(e) } this.privSuccessCallback = void 0, this.privErrorCallback = void 0 } break } var c = s.EnumTranslation.implTranslateRecognitionResult(i.RecognitionStatus), l = new a.TranslationRecognitionResult(void 0, this.privRequestSession.requestId, c, i.Text, i.Duration, this.privRequestSession.currentTurnAudioOffset + i.Offset, void 0, e.textBody, t); if (c === a.ResultReason.Canceled) { var f = s.EnumTranslation.implTranslateCancelResult(i.RecognitionStatus); this.cancelRecognitionLocal(f, s.EnumTranslation.implTranslateCancelErrorCode(i.RecognitionStatus), void 0) } else { if (!this.privRequestSession.isSpeechEnded || c !== a.ResultReason.NoMatch || i.RecognitionStatus === s.RecognitionStatus.InitialSilenceTimeout) { var p = new a.TranslationRecognitionEventArgs(l, l.offset, this.privRequestSession.sessionId); if (this.privTranslationRecognizer.recognized) try { this.privTranslationRecognizer.recognized(this.privTranslationRecognizer, p) } catch (e) {} } if (this.privSuccessCallback) { try { this.privSuccessCallback(l) } catch (e) { this.privErrorCallback && this.privErrorCallback(e) } this.privSuccessCallback = void 0, this.privErrorCallback = void 0 } } r = !0; break; case "translation.synthesis": this.sendSynthesisAudio(e.binaryBody, this.privRequestSession.sessionId), r = !0; break; case "translation.synthesis.end": var d = s.TranslationSynthesisEnd.fromJSON(e.textBody); switch (d.SynthesisStatus) { case s.SynthesisStatus.Error: if (this.privTranslationRecognizer.synthesizing) { var h = new a.TranslationSynthesisResult(a.ResultReason.Canceled, void 0), v = new a.TranslationSynthesisEventArgs(h, this.privRequestSession.sessionId); try { this.privTranslationRecognizer.synthesizing(this.privTranslationRecognizer, v) } catch (e) {} } if (this.privTranslationRecognizer.canceled) { var m = new a.TranslationRecognitionCanceledEventArgs(this.privRequestSession.sessionId, a.CancellationReason.Error, d.FailureReason, a.CancellationErrorCode.ServiceError, null); try { this.privTranslationRecognizer.canceled(this.privTranslationRecognizer, m) } catch (e) {} } break; case s.SynthesisStatus.Success: this.sendSynthesisAudio(void 0, this.privRequestSession.sessionId) } r = !0 } return r }, t.prototype.cancelRecognition = function(e, t, r, n, i) { var o = new a.PropertyCollection; if (o.setProperty(s.CancellationErrorCodePropertyName, a.CancellationErrorCode[n]), this.privTranslationRecognizer.canceled) { var u = new a.TranslationRecognitionCanceledEventArgs(e, r, i, n, void 0); try { this.privTranslationRecognizer.canceled(this.privTranslationRecognizer, u) } catch (e) {} } if (this.privSuccessCallback) { var c = new a.TranslationRecognitionResult(void 0, t, a.ResultReason.Canceled, void 0, void 0, void 0, i, void 0, o); try { this.privSuccessCallback(c), this.privSuccessCallback = void 0 } catch (e) {} } }, t.prototype.fireEventForResult = function(e, t) { var r, n; if (void 0 !== e.Translation.Translations) { r = new a.Translations; for (var i = 0, u = e.Translation.Translations; i < u.length; i++) { var c = u[i]; r.set(c.Language, c.Text) } } n = e instanceof s.TranslationPhrase ? e.Translation.TranslationStatus === o.TranslationStatus.Success ? a.ResultReason.TranslatedSpeech : a.ResultReason.RecognizedSpeech : a.ResultReason.TranslatingSpeech; var l = e.Offset + this.privRequestSession.currentTurnAudioOffset, f = new a.TranslationRecognitionResult(r, this.privRequestSession.requestId, n, e.Text, e.Duration, l, e.Translation.FailureReason, JSON.stringify(e), t); return new a.TranslationRecognitionEventArgs(f, l, this.privRequestSession.sessionId) }, t.prototype.sendSynthesisAudio = function(e, t) { var r = void 0 === e ? a.ResultReason.SynthesizingAudioCompleted : a.ResultReason.SynthesizingAudio, n = new a.TranslationSynthesisResult(r, e), i = new a.TranslationSynthesisEventArgs(n, t); if (this.privTranslationRecognizer.synthesizing) try { this.privTranslationRecognizer.synthesizing(this.privTranslationRecognizer, i) } catch (e) {} }, t }(s.ServiceRecognizerBase); t.TranslationServiceRecognizer = u }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.privSpeechStartDetected = JSON.parse(e) } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "Offset", { get: function() { return this.privSpeechStartDetected.Offset }, enumerable: !0, configurable: !0 }), e }(); t.SpeechDetected = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.privSpeechHypothesis = JSON.parse(e) } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "Text", { get: function() { return this.privSpeechHypothesis.Text }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Offset", { get: function() { return this.privSpeechHypothesis.Offset }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Duration", { get: function() { return this.privSpeechHypothesis.Duration }, enumerable: !0, configurable: !0 }), e }(); t.SpeechHypothesis = n }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(9), a = r(21), s = function(e) { function t(t, r, n, i, o) { var a = e.call(this, t, r, n, i, o) || this; return a.privSpeechRecognizer = o, a } return i(t, e), t.prototype.processTypeSpecificMessages = function(e) { var t, r = new o.PropertyCollection; r.setProperty(o.PropertyId.SpeechServiceResponse_JsonResult, e.textBody); var n = !1; switch (e.path.toLowerCase()) { case "speech.hypothesis": case "speech.fragment": var i = a.SpeechHypothesis.fromJSON(e.textBody), s = i.Offset + this.privRequestSession.currentTurnAudioOffset; t = new o.SpeechRecognitionResult(this.privRequestSession.requestId, o.ResultReason.RecognizingSpeech, i.Text, i.Duration, s, void 0, e.textBody, r), this.privRequestSession.onHypothesis(s); var u = new o.SpeechRecognitionEventArgs(t, i.Duration, this.privRequestSession.sessionId); if (this.privSpeechRecognizer.recognizing) try { this.privSpeechRecognizer.recognizing(this.privSpeechRecognizer, u) } catch (e) {} n = !0; break; case "speech.phrase": var c = a.SimpleSpeechPhrase.fromJSON(e.textBody), l = a.EnumTranslation.implTranslateRecognitionResult(c.RecognitionStatus); if (this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset + c.Offset + c.Duration), o.ResultReason.Canceled === l) { var f = a.EnumTranslation.implTranslateCancelResult(c.RecognitionStatus); this.cancelRecognitionLocal(f, a.EnumTranslation.implTranslateCancelErrorCode(c.RecognitionStatus), void 0) } else { if (!this.privRequestSession.isSpeechEnded || l !== o.ResultReason.NoMatch || c.RecognitionStatus === a.RecognitionStatus.InitialSilenceTimeout) { if (this.privRecognizerConfig.parameters.getProperty(a.OutputFormatPropertyName) === o.OutputFormat[o.OutputFormat.Simple]) t = new o.SpeechRecognitionResult(this.privRequestSession.requestId, l, c.DisplayText, c.Duration, c.Offset + this.privRequestSession.currentTurnAudioOffset, void 0, e.textBody, r); else { var p = a.DetailedSpeechPhrase.fromJSON(e.textBody); t = new o.SpeechRecognitionResult(this.privRequestSession.requestId, l, p.RecognitionStatus === a.RecognitionStatus.Success ? p.NBest[0].Display : void 0, p.Duration, p.Offset + this.privRequestSession.currentTurnAudioOffset, void 0, e.textBody, r) } var d = new o.SpeechRecognitionEventArgs(t, t.offset, this.privRequestSession.sessionId); if (this.privSpeechRecognizer.recognized) try { this.privSpeechRecognizer.recognized(this.privSpeechRecognizer, d) } catch (e) {} } if (this.privSuccessCallback) { try { this.privSuccessCallback(t) } catch (e) { this.privErrorCallback && this.privErrorCallback(e) } this.privSuccessCallback = void 0, this.privErrorCallback = void 0 } } n = !0 } return n }, t.prototype.cancelRecognition = function(e, t, r, n, i) { var s = new o.PropertyCollection; if (s.setProperty(a.CancellationErrorCodePropertyName, o.CancellationErrorCode[n]), this.privSpeechRecognizer.canceled) { var u = new o.SpeechRecognitionCanceledEventArgs(r, i, n, void 0, e); try { this.privSpeechRecognizer.canceled(this.privSpeechRecognizer, u) } catch (e) {} } if (this.privSuccessCallback) { var c = new o.SpeechRecognitionResult(t, o.ResultReason.Canceled, void 0, void 0, void 0, i, void 0, s); try { this.privSuccessCallback(c), this.privSuccessCallback = void 0 } catch (e) {} } }, t }(a.ServiceRecognizerBase); t.SpeechServiceRecognizer = s }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(21), i = function() { function e(e) { this.privDetailedSpeechPhrase = JSON.parse(e), this.privDetailedSpeechPhrase.RecognitionStatus = n.RecognitionStatus[this.privDetailedSpeechPhrase.RecognitionStatus] } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "RecognitionStatus", { get: function() { return this.privDetailedSpeechPhrase.RecognitionStatus }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "NBest", { get: function() { return this.privDetailedSpeechPhrase.NBest }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Duration", { get: function() { return this.privDetailedSpeechPhrase.Duration }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Offset", { get: function() { return this.privDetailedSpeechPhrase.Offset }, enumerable: !0, configurable: !0 }), e }(); t.DetailedSpeechPhrase = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(21), i = function() { function e(e) { this.privSimpleSpeechPhrase = JSON.parse(e), this.privSimpleSpeechPhrase.RecognitionStatus = n.RecognitionStatus[this.privSimpleSpeechPhrase.RecognitionStatus] } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "RecognitionStatus", { get: function() { return this.privSimpleSpeechPhrase.RecognitionStatus }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "DisplayText", { get: function() { return this.privSimpleSpeechPhrase.DisplayText }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Offset", { get: function() { return this.privSimpleSpeechPhrase.Offset }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Duration", { get: function() { return this.privSimpleSpeechPhrase.Duration }, enumerable: !0, configurable: !0 }), e }(); t.SimpleSpeechPhrase = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function(e, t) { this.modelImpl = e, this.intentName = t }; t.AddedLmIntent = n }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(28), a = r(9), s = r(21), u = function(e) { function t(t, r, n, i, o) { var a = e.call(this, t, r, n, i, o) || this; return a.privIntentRecognizer = o, a.privIntentDataSent = !1, a } return i(t, e), t.prototype.setIntents = function(e, t) { this.privAddedLmIntents = e, this.privUmbrellaIntent = t, this.privIntentDataSent = !0 }, t.prototype.processTypeSpecificMessages = function(e) { var t, r, n = this, i = !1, u = new a.PropertyCollection; switch (e.messageType === o.MessageType.Text && u.setProperty(a.PropertyId.SpeechServiceResponse_JsonResult, e.textBody), e.path.toLowerCase()) { case "speech.hypothesis": var c = s.SpeechHypothesis.fromJSON(e.textBody); if (t = new a.IntentRecognitionResult(void 0, this.privRequestSession.requestId, a.ResultReason.RecognizingIntent, c.Text, c.Duration, c.Offset + this.privRequestSession.currentTurnAudioOffset, void 0, e.textBody, u), this.privRequestSession.onHypothesis(t.offset), r = new a.IntentRecognitionEventArgs(t, c.Offset + this.privRequestSession.currentTurnAudioOffset, this.privRequestSession.sessionId), this.privIntentRecognizer.recognizing) try { this.privIntentRecognizer.recognizing(this.privIntentRecognizer, r) } catch (e) {} i = !0; break; case "speech.phrase": var l = s.SimpleSpeechPhrase.fromJSON(e.textBody); t = new a.IntentRecognitionResult(void 0, this.privRequestSession.requestId, s.EnumTranslation.implTranslateRecognitionResult(l.RecognitionStatus), l.DisplayText, l.Duration, l.Offset + this.privRequestSession.currentTurnAudioOffset, void 0, e.textBody, u), r = new a.IntentRecognitionEventArgs(t, t.offset, this.privRequestSession.sessionId); !1 === this.privIntentDataSent || a.ResultReason.NoMatch === r.result.reason ? (this.privRequestSession.onPhraseRecognized(r.offset + r.result.duration), function() { if (n.privIntentRecognizer.recognized) try { n.privIntentRecognizer.recognized(n.privIntentRecognizer, r) } catch (e) {} if (n.privSuccessCallback) { try { n.privSuccessCallback(t) } catch (e) { n.privErrorCallback && n.privErrorCallback(e) } n.privSuccessCallback = void 0, n.privErrorCallback = void 0 } }()) : this.privPendingIntentArgs = r, i = !0; break; case "response": if (r = this.privPendingIntentArgs, this.privPendingIntentArgs = void 0, void 0 === r) { if ("" === e.textBody) return; r = new a.IntentRecognitionEventArgs(new a.IntentRecognitionResult, 0, this.privRequestSession.sessionId) } var f = s.IntentResponse.fromJSON(e.textBody), p = this.privAddedLmIntents[f.topScoringIntent.intent]; if (void 0 !== this.privUmbrellaIntent && (p = this.privUmbrellaIntent), null !== f && void 0 !== p) { var d = void 0 === p.intentName ? f.topScoringIntent.intent : p.intentName, h = r.result.reason; void 0 !== d && (h = a.ResultReason.RecognizedIntent); var v = void 0 !== r.result.properties ? r.result.properties : new a.PropertyCollection; v.setProperty(a.PropertyId.LanguageUnderstandingServiceResponse_JsonResult, e.textBody), r = new a.IntentRecognitionEventArgs(new a.IntentRecognitionResult(d, r.result.resultId, h, r.result.text, r.result.duration, r.result.offset, r.result.errorDetails, r.result.json, v), r.offset, r.sessionId) } if (this.privRequestSession.onPhraseRecognized(r.offset + r.result.duration), this.privIntentRecognizer.recognized) try { this.privIntentRecognizer.recognized(this.privIntentRecognizer, r) } catch (e) {} if (this.privSuccessCallback) { try { this.privSuccessCallback(r.result) } catch (e) { this.privErrorCallback && this.privErrorCallback(e) } this.privSuccessCallback = void 0, this.privErrorCallback = void 0 } i = !0 } return i }, t.prototype.cancelRecognition = function(e, t, r, n, i) { var o = new a.PropertyCollection; if (o.setProperty(s.CancellationErrorCodePropertyName, a.CancellationErrorCode[n]), this.privIntentRecognizer.canceled) { var u = new a.IntentRecognitionCanceledEventArgs(r, i, n, void 0, void 0, e); try { this.privIntentRecognizer.canceled(this.privIntentRecognizer, u) } catch (e) {} } if (this.privSuccessCallback) { var c = new a.IntentRecognitionResult(void 0, t, a.ResultReason.Canceled, void 0, void 0, void 0, i, void 0, o); try { this.privSuccessCallback(c), this.privSuccessCallback = void 0 } catch (e) {} } }, t }(s.ServiceRecognizerBase); t.IntentServiceRecognizer = u }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.privIntentResponse = JSON.parse(e) } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "query", { get: function() { return this.privIntentResponse.query }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "topScoringIntent", { get: function() { return this.privIntentResponse.topScoringIntent }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "entities", { get: function() { return this.privIntentResponse.entities }, enumerable: !0, configurable: !0 }), e }(); t.IntentResponse = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(28), i = r(696), o = r(1842), a = function() { function e(e) { var t = this; this.privIsDisposed = !1, this.privDetachables = new Array, this.privIsAudioNodeDetached = !1, this.privIsRecognizing = !1, this.privIsSpeechEnded = !1, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privHypothesisReceived = !1, this.privBytesSent = 0, this.privRecogNumber = 0, this.onAudioSourceAttachCompleted = function(e, r, n) { t.privAudioNode = e, t.privIsAudioNodeDetached = !1, r ? t.onComplete() : t.onEvent(new i.ListeningStartedEvent(t.privRequestId, t.privSessionId, t.privAudioSourceId, t.privAudioNodeId)) }, this.onPreConnectionStart = function(e, r) { t.privAuthFetchEventId = e, t.privSessionId = r, t.onEvent(new i.ConnectingToServiceEvent(t.privRequestId, t.privAuthFetchEventId, t.privSessionId)) }, this.onAuthCompleted = function(e, r) { e && t.onComplete() }, this.onConnectionEstablishCompleted = function(e, r) { if (200 === e) return t.onEvent(new i.RecognitionStartedEvent(t.requestId, t.privAudioSourceId, t.privAudioNodeId, t.privAuthFetchEventId, t.privSessionId)), t.privAudioNode && t.privAudioNode.replay(), t.privTurnStartAudioOffset = t.privLastRecoOffset, void(t.privBytesSent = 0); 403 === e && t.onComplete() }, this.onServiceTurnEndResponse = function(e) { t.privTurnDeferral.resolve(!0), !e || t.isSpeechEnded ? t.onComplete() : (t.privTurnStartAudioOffset = t.privLastRecoOffset, t.privRequestId = n.createNoDashGuid(), t.privAudioNode.replay()) }, this.onServiceTurnStartResponse = function() { t.privTurnDeferral.state() === n.PromiseState.None && t.privTurnDeferral.reject("Another turn started before current completed."), t.privTurnDeferral = new n.Deferred }, this.dispose = function(e) { if (!t.privIsDisposed) { t.privIsDisposed = !0; for (var r = 0, n = t.privDetachables; r < n.length; r++) { n[r].detach() } t.privServiceTelemetryListener.dispose() } }, this.getTelemetry = function() { return t.privServiceTelemetryListener.hasTelemetry ? t.privServiceTelemetryListener.getTelemetry() : null }, this.onEvent = function(e) { t.privServiceTelemetryListener && t.privServiceTelemetryListener.onEvent(e), n.Events.instance.onEvent(e) }, this.onComplete = function() { t.privIsRecognizing && (t.privIsRecognizing = !1, t.detachAudioNode()) }, this.detachAudioNode = function() { t.privIsAudioNodeDetached || (t.privIsAudioNodeDetached = !0, t.privAudioNode && t.privAudioNode.detach()) }, this.privAudioSourceId = e, this.privRequestId = n.createNoDashGuid(), this.privAudioNodeId = n.createNoDashGuid(), this.privTurnDeferral = new n.Deferred, this.privTurnDeferral.resolve(!0) } return Object.defineProperty(e.prototype, "sessionId", { get: function() { return this.privSessionId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "requestId", { get: function() { return this.privRequestId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "audioNodeId", { get: function() { return this.privAudioNodeId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "turnCompletionPromise", { get: function() { return this.privTurnDeferral.promise() }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isSpeechEnded", { get: function() { return this.privIsSpeechEnded }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isRecognizing", { get: function() { return this.privIsRecognizing }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "currentTurnAudioOffset", { get: function() { return this.privTurnStartAudioOffset }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "recogNumber", { get: function() { return this.privRecogNumber }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "bytesSent", { get: function() { return this.privBytesSent }, enumerable: !0, configurable: !0 }), e.prototype.listenForServiceTelemetry = function(e) { this.privServiceTelemetryListener && this.privDetachables.push(e.attachListener(this.privServiceTelemetryListener)) }, e.prototype.startNewRecognition = function() { this.privIsSpeechEnded = !1, this.privIsRecognizing = !0, this.privTurnStartAudioOffset = 0, this.privLastRecoOffset = 0, this.privRequestId = n.createNoDashGuid(), this.privRecogNumber++, this.privServiceTelemetryListener = new o.ServiceTelemetryListener(this.privRequestId, this.privAudioSourceId, this.privAudioNodeId), this.onEvent(new i.RecognitionTriggeredEvent(this.requestId, this.privSessionId, this.privAudioSourceId, this.privAudioNodeId)) }, e.prototype.onHypothesis = function(e) { this.privHypothesisReceived || (this.privHypothesisReceived = !0, this.privServiceTelemetryListener.hypothesisReceived(this.privAudioNode.findTimeAtOffset(e))) }, e.prototype.onPhraseRecognized = function(e) { this.privServiceTelemetryListener.phraseReceived(this.privAudioNode.findTimeAtOffset(e)), this.onServiceRecognized(e) }, e.prototype.onServiceRecognized = function(e) { this.privLastRecoOffset = e, this.privHypothesisReceived = !1, this.privAudioNode.shrinkBuffers(e) }, e.prototype.onAudioSent = function(e) { this.privBytesSent += e }, e.prototype.onStopRecognizing = function() { this.onComplete() }, e.prototype.onSpeechEnded = function() { this.privIsSpeechEnded = !0 }, e }(); t.RequestSession = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(28), i = r(696), o = function() { function e(e, t, r) { var o = this; this.privIsDisposed = !1, this.privListeningTriggerMetric = null, this.privMicMetric = null, this.privConnectionEstablishMetric = null, this.onEvent = function(e) { o.privIsDisposed || (e instanceof i.RecognitionTriggeredEvent && e.requestId === o.privRequestId && (o.privListeningTriggerMetric = { End: e.eventTime, Name: "ListeningTrigger", Start: e.eventTime }), e instanceof n.AudioStreamNodeAttachingEvent && e.audioSourceId === o.privAudioSourceId && e.audioNodeId === o.privAudioNodeId && (o.privMicStartTime = e.eventTime), e instanceof n.AudioStreamNodeAttachedEvent && e.audioSourceId === o.privAudioSourceId && e.audioNodeId === o.privAudioNodeId && (o.privMicStartTime = e.eventTime), e instanceof n.AudioSourceErrorEvent && e.audioSourceId === o.privAudioSourceId && (o.privMicMetric || (o.privMicMetric = { End: e.eventTime, Error: e.error, Name: "Microphone", Start: o.privMicStartTime })), e instanceof n.AudioStreamNodeErrorEvent && e.audioSourceId === o.privAudioSourceId && e.audioNodeId === o.privAudioNodeId && (o.privMicMetric || (o.privMicMetric = { End: e.eventTime, Error: e.error, Name: "Microphone", Start: o.privMicStartTime })), e instanceof n.AudioStreamNodeDetachedEvent && e.audioSourceId === o.privAudioSourceId && e.audioNodeId === o.privAudioNodeId && (o.privMicMetric || (o.privMicMetric = { End: e.eventTime, Name: "Microphone", Start: o.privMicStartTime })), e instanceof i.ConnectingToServiceEvent && e.requestId === o.privRequestId && (o.privConnectionId = e.sessionId), e instanceof n.ConnectionStartEvent && e.connectionId === o.privConnectionId && (o.privConnectionStartTime = e.eventTime), e instanceof n.ConnectionEstablishedEvent && e.connectionId === o.privConnectionId && (o.privConnectionEstablishMetric || (o.privConnectionEstablishMetric = { End: e.eventTime, Id: o.privConnectionId, Name: "Connection", Start: o.privConnectionStartTime })), e instanceof n.ConnectionEstablishErrorEvent && e.connectionId === o.privConnectionId && (o.privConnectionEstablishMetric || (o.privConnectionEstablishMetric = { End: e.eventTime, Error: o.getConnectionError(e.statusCode), Id: o.privConnectionId, Name: "Connection", Start: o.privConnectionStartTime })), e instanceof n.ConnectionMessageReceivedEvent && e.connectionId === o.privConnectionId && e.message && e.message.headers && e.message.headers.path && (o.privReceivedMessages[e.message.headers.path] || (o.privReceivedMessages[e.message.headers.path] = new Array), o.privReceivedMessages[e.message.headers.path].push(e.networkReceivedTime))) }, this.getTelemetry = function() { var e = new Array; o.privListeningTriggerMetric && e.push(o.privListeningTriggerMetric), o.privMicMetric && e.push(o.privMicMetric), o.privConnectionEstablishMetric && e.push(o.privConnectionEstablishMetric), o.privPhraseLatencies.length > 0 && e.push({ PhraseLatencyMs: o.privPhraseLatencies }), o.privHypothesisLatencies.length > 0 && e.push({ FirstHypothesisLatencyMs: o.privHypothesisLatencies }); var t = { Metrics: e, ReceivedMessages: o.privReceivedMessages }, r = JSON.stringify(t); return o.privReceivedMessages = {}, o.privListeningTriggerMetric = null, o.privMicMetric = null, o.privConnectionEstablishMetric = null, o.privPhraseLatencies = [], o.privHypothesisLatencies = [], r }, this.dispose = function() { o.privIsDisposed = !0 }, this.getConnectionError = function(e) { switch (e) { case 400: case 1002: case 1003: case 1005: case 1007: case 1008: case 1009: return "BadRequest"; case 401: return "Unauthorized"; case 403: return "Forbidden"; case 503: case 1001: return "ServerUnavailable"; case 500: case 1011: return "ServerError"; case 408: case 504: return "Timeout"; default: return "statuscode:" + e.toString() } }, this.privRequestId = e, this.privAudioSourceId = t, this.privAudioNodeId = r, this.privReceivedMessages = {}, this.privPhraseLatencies = [], this.privHypothesisLatencies = [] } return e.prototype.phraseReceived = function(e) { e > 0 && this.privPhraseLatencies.push(Date.now() - e) }, e.prototype.hypothesisReceived = function(e) { e > 0 && this.privHypothesisLatencies.push(Date.now() - e) }, Object.defineProperty(e.prototype, "hasTelemetry", { get: function() { return 0 !== Object.keys(this.privReceivedMessages).length || null !== this.privListeningTriggerMetric || null !== this.privMicMetric || null !== this.privConnectionEstablishMetric || 0 !== this.privPhraseLatencies.length || 0 !== this.privHypothesisLatencies.length }, enumerable: !0, configurable: !0 }), e }(); t.ServiceTelemetryListener = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.privContext = {}, this.privDynamicGrammar = e } return e.prototype.setSection = function(e, t) { this.privContext[e] = t }, e.prototype.toJSON = function() { var e = this.privDynamicGrammar.generateGrammarObject(); return this.setSection("dgi", e), JSON.stringify(this.privContext) }, e }(); t.SpeechContext = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e() {} return e.prototype.addPhrase = function(e) { this.privPhrases || (this.privPhrases = []), e instanceof Array ? this.privPhrases = this.privPhrases.concat(e) : this.privPhrases.push(e) }, e.prototype.clearPhrases = function() { this.privPhrases = void 0 }, e.prototype.addReferenceGrammar = function(e) { this.privGrammars || (this.privGrammars = []), e instanceof Array ? this.privGrammars = this.privGrammars.concat(e) : this.privGrammars.push(e) }, e.prototype.clearGrammars = function() { this.privGrammars = void 0 }, e.prototype.generateGrammarObject = function() { if (void 0 !== this.privGrammars || void 0 !== this.privPhrases) { var e = {}; if (e.ReferenceGrammars = this.privGrammars, void 0 !== this.privPhrases && 0 !== this.privPhrases.length) { var t = []; this.privPhrases.forEach((function(e, r, n) { t.push({ Text: e }) })), e.Groups = [{ Type: "Generic", Items: t }] } return e } }, e }(); t.DynamicGrammarBuilder = n }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(113), a = r(28), s = r(9), u = r(1846), c = r(21), l = r(1660), f = r(1659), p = function(e) { function t(t, r, n, i, l) { var p = e.call(this, t, r, n, i, l) || this; return p.sendMessage = function(e) { var t = a.createGuid(), r = a.createNoDashGuid(), n = { context: { interactionId: t }, messagePayload: e, version: .5 }, i = JSON.stringify(n); p.fetchDialogConnection().onSuccessContinueWith((function(e) { e.send(new f.SpeechConnectionMessage(a.MessageType.Text, "agent", r, "application/json", i)) })) }, p.listenOnce = function(e, t, r) { return p.privRecognizerConfig.recognitionMode = e, p.privSuccessCallback = t, p.privErrorCallback = r, p.privDialogRequestSession.startNewRecognition(), p.privDialogRequestSession.listenForServiceTelemetry(p.privDialogAudioSource.events), p.dialogConnectImpl(), p.sendPreAudioMessages(), p.privDialogAudioSource.attach(p.privDialogRequestSession.audioNodeId).continueWithPromise((function(e) { var t; return e.isError ? (p.cancelRecognition(p.privDialogRequestSession.sessionId, p.privDialogRequestSession.requestId, s.CancellationReason.Error, s.CancellationErrorCode.ConnectionFailure, e.error), a.PromiseHelper.fromError(e.error)) : p.privDialogAudioSource.format.onSuccessContinueWithPromise((function(r) { return t = new o.ReplayableAudioNode(e.result, r.avgBytesPerSec), p.privDialogRequestSession.onAudioSourceAttachCompleted(t, !1), p.privDialogAudioSource.deviceInfo.onSuccessContinueWithPromise((function(e) { return p.privRecognizerConfig.SpeechServiceConfig.Context.audio = { source: e }, p.configConnection().continueWithPromise((function(e) { if (e.isError) return p.cancelRecognitionLocal(s.CancellationReason.Error, s.CancellationErrorCode.ConnectionFailure, e.error), a.PromiseHelper.fromError(e.error); var r = new s.SessionEventArgs(p.privDialogRequestSession.sessionId); return p.privRecognizer.sessionStarted && p.privRecognizer.sessionStarted(p.privRecognizer, r), p.sendAudio(t).on((function(e) {}), (function(e) { p.cancelRecognition(p.privDialogRequestSession.sessionId, p.privDialogRequestSession.requestId, s.CancellationReason.Error, s.CancellationErrorCode.RuntimeError, e) })), a.PromiseHelper.fromResult(!0) })) })) })) })) }, p.sendAudio = function(e) { return p.privDialogAudioSource.format.onSuccessContinueWithPromise((function(t) { var r = new a.Deferred, n = Date.now(), i = p.privRecognizerConfig.parameters.getProperty("SPEECH-TransmitLengthBeforThrottleMs", "5000"), o = t.avgBytesPerSec / 1e3 * parseInt(i, 10), s = p.privDialogRequestSession.recogNumber, u = function() { p.privDialogIsDisposed || p.privDialogRequestSession.isSpeechEnded || !p.privDialogRequestSession.isRecognizing || p.privDialogRequestSession.recogNumber !== s || p.fetchDialogConnection().on((function(i) { e.read().on((function(e) { var s, c; p.privDialogRequestSession.isSpeechEnded ? r.resolve(!0) : (!e || e.isEnd ? (s = null, c = 0) : (s = e.buffer, p.privDialogRequestSession.onAudioSent(s.byteLength), c = o >= p.privDialogRequestSession.bytesSent ? 0 : Math.max(0, n - Date.now())), setTimeout((function() { null !== s && (n = Date.now() + 1e3 * s.byteLength / (2 * t.avgBytesPerSec)); var o = i.send(new f.SpeechConnectionMessage(a.MessageType.Binary, "audio", p.privDialogRequestSession.requestId, null, s)); e && !e.isEnd ? o.continueWith((function(e) { u() })) : (p.privDialogRequestSession.onSpeechEnded(), r.resolve(!0)) }), c)) }), (function(e) { p.privDialogRequestSession.isSpeechEnded ? r.resolve(!0) : r.reject(e) })) }), (function(e) { r.reject(e) })) }; return u(), r.promise() })) }, p.receiveDialogMessageOverride = function() { var e = new a.Deferred; return p.fetchDialogConnection().on((function(t) { return t.read().onSuccessContinueWithPromise((function(t) { var r = p.isDisposed(), n = !p.isDisposed() && p.terminateMessageLoop; if (r || n) return e.resolve(void 0), a.PromiseHelper.fromResult(void 0); if (!t) return p.receiveDialogMessageOverride(); var i = f.SpeechConnectionMessage.fromConnectionMessage(t); switch (i.path.toLowerCase()) { case "turn.start": var o = i.requestId.toUpperCase(); o !== p.privDialogRequestSession.requestId.toUpperCase() ? p.privTurnStateManager.StartTurn(o) : p.privDialogRequestSession.onServiceTurnStartResponse(); break; case "speech.startdetected": var u = c.SpeechDetected.fromJSON(i.textBody), l = new s.RecognitionEventArgs(u.Offset, p.privDialogRequestSession.sessionId); p.privRecognizer.speechStartDetected && p.privRecognizer.speechStartDetected(p.privRecognizer, l); break; case "speech.enddetected": var d = void 0; d = i.textBody.length > 0 ? i.textBody : "{ Offset: 0 }"; var h = c.SpeechDetected.fromJSON(d); p.privDialogRequestSession.onServiceRecognized(h.Offset + p.privDialogRequestSession.currentTurnAudioOffset); var v = new s.RecognitionEventArgs(h.Offset + p.privDialogRequestSession.currentTurnAudioOffset, p.privDialogRequestSession.sessionId); p.privRecognizer.speechEndDetected && p.privRecognizer.speechEndDetected(p.privRecognizer, v); break; case "turn.end": var m = i.requestId.toUpperCase(); if (m !== p.privDialogRequestSession.requestId.toUpperCase()) p.privTurnStateManager.CompleteTurn(m); else { var y = new s.SessionEventArgs(p.privDialogRequestSession.sessionId); if (p.privDialogRequestSession.onServiceTurnEndResponse(!1), p.privDialogRequestSession.isSpeechEnded && p.privRecognizer.sessionStopped && p.privRecognizer.sessionStopped(p.privRecognizer, y), p.privSuccessCallback && p.privLastResult) { try { p.privSuccessCallback(p.privLastResult), p.privLastResult = null } catch (e) { p.privErrorCallback && p.privErrorCallback(e) } p.privSuccessCallback = void 0, p.privErrorCallback = void 0 } } break; default: p.processTypeSpecificMessages(i) || p.serviceEvents && p.serviceEvents.onEvent(new a.ServiceEvent(i.path.toLowerCase(), i.textBody)) } return p.receiveDialogMessageOverride() })) }), (function(t) { return p.terminateMessageLoop = !0, e.resolve(void 0), a.PromiseHelper.fromResult(void 0) })), e.promise() }, p.fetchDialogConnection = function() { return p.configConnection() }, p.sendAgentConfig = function(e) { if (p.agentConfig && !p.agentConfigSent) { if ("custom_commands" === p.privRecognizerConfig.parameters.getProperty(s.PropertyId.Conversation_DialogType)) { var t = p.agentConfig.get(); t.botInfo.commandsCulture = p.privRecognizerConfig.parameters.getProperty(s.PropertyId.SpeechServiceConnection_RecoLanguage, "en-us"), p.agentConfig.set(t) } var r = p.agentConfig.toJsonString(); return p.agentConfigSent = !0, e.send(new f.SpeechConnectionMessage(a.MessageType.Text, "agent.config", p.privDialogRequestSession.requestId, "application/json", r)) } return a.PromiseHelper.fromResult(!0) }, p.sendAgentContext = function(e) { var t = a.createGuid(), r = p.privDialogServiceConnector.properties.getProperty(s.PropertyId.Conversation_Speech_Activity_Template), n = { channelData: "", context: { interactionId: t }, messagePayload: void 0 === typeof r ? void 0 : r, version: .5 }, i = JSON.stringify(n); return e.send(new f.SpeechConnectionMessage(a.MessageType.Text, "speech.agent.context", p.privDialogRequestSession.requestId, "application/json", i)) }, p.privDialogServiceConnector = l, p.privDialogAuthentication = t, p.receiveMessageOverride = p.receiveDialogMessageOverride, p.privTurnStateManager = new u.DialogServiceTurnStateManager, p.recognizeOverride = p.listenOnce, p.connectImplOverride = p.dialogConnectImpl, p.configConnectionOverride = p.configConnection, p.fetchConnectionOverride = p.fetchDialogConnection, p.disconnectOverride = p.privDisconnect, p.privDialogAudioSource = n, p.privDialogRequestSession = new c.RequestSession(n.id()), p.privDialogConnectionFactory = r, p.privDialogIsDisposed = !1, p.agentConfigSent = !1, p.privLastResult = null, p } return i(t, e), t.prototype.isDisposed = function() { return this.privDialogIsDisposed }, t.prototype.dispose = function(e) { this.privDialogIsDisposed = !0, this.privConnectionConfigPromise && this.privConnectionConfigPromise.onSuccessContinueWith((function(t) { t.dispose(e) })) }, t.prototype.privDisconnect = function() { this.cancelRecognition(this.privDialogRequestSession.sessionId, this.privDialogRequestSession.requestId, s.CancellationReason.Error, s.CancellationErrorCode.NoError, "Disconnecting"), this.terminateMessageLoop = !0, this.agentConfigSent = !1, this.privDialogConnectionPromise.result().isCompleted ? this.privDialogConnectionPromise.result().isError || (this.privDialogConnectionPromise.result().result.dispose(), this.privDialogConnectionPromise = null) : this.privDialogConnectionPromise.onSuccessContinueWith((function(e) { e.dispose() })) }, t.prototype.processTypeSpecificMessages = function(e) { var t, r, n = new s.PropertyCollection; switch (e.messageType === a.MessageType.Text && n.setProperty(s.PropertyId.SpeechServiceResponse_JsonResult, e.textBody), e.path.toLowerCase()) { case "speech.phrase": var i = c.SimpleSpeechPhrase.fromJSON(e.textBody); if (this.privDialogRequestSession.onPhraseRecognized(this.privDialogRequestSession.currentTurnAudioOffset + i.Offset + i.Duration), i.RecognitionStatus === c.RecognitionStatus.Success) { var o = this.fireEventForResult(i, n); if (this.privLastResult = o.result, this.privDialogServiceConnector.recognized) try { this.privDialogServiceConnector.recognized(this.privDialogServiceConnector, o) } catch (e) {} } r = !0; break; case "speech.hypothesis": var u = c.SpeechHypothesis.fromJSON(e.textBody), f = u.Offset + this.privDialogRequestSession.currentTurnAudioOffset; t = new s.SpeechRecognitionResult(this.privDialogRequestSession.requestId, s.ResultReason.RecognizingSpeech, u.Text, u.Duration, f, void 0, e.textBody, n), this.privDialogRequestSession.onHypothesis(f); var p = new s.SpeechRecognitionEventArgs(t, u.Duration, this.privDialogRequestSession.sessionId); if (this.privDialogServiceConnector.recognizing) try { this.privDialogServiceConnector.recognizing(this.privDialogServiceConnector, p) } catch (e) {} r = !0; break; case "audio": var d = e.requestId.toUpperCase(), h = this.privTurnStateManager.GetTurn(d); try { e.binaryBody ? h.audioStream.write(e.binaryBody) : h.endAudioStream() } catch (e) {} r = !0; break; case "response": var v = e.requestId.toUpperCase(), m = l.ActivityPayloadResponse.fromJSON(e.textBody); h = this.privTurnStateManager.GetTurn(v); if (m.conversationId) { var y = this.agentConfig.get(); y.botInfo.conversationId = m.conversationId, this.agentConfig.set(y) } var b = h.processActivityPayload(m), g = new s.ActivityReceivedEventArgs(m.messagePayload, b); if (this.privDialogServiceConnector.activityReceived) try { this.privDialogServiceConnector.activityReceived(this.privDialogServiceConnector, g) } catch (e) {} r = !0 } return r }, t.prototype.cancelRecognition = function(e, t, r, n, i) { if (this.terminateMessageLoop = !0, this.privDialogRequestSession.isRecognizing && this.privDialogRequestSession.onStopRecognizing(), this.privDialogServiceConnector.canceled) { var o = new s.PropertyCollection; o.setProperty(c.CancellationErrorCodePropertyName, s.CancellationErrorCode[n]); var a = new s.SpeechRecognitionCanceledEventArgs(r, i, n, void 0, e); try { this.privDialogServiceConnector.canceled(this.privDialogServiceConnector, a) } catch (e) {} if (this.privSuccessCallback) { var u = new s.SpeechRecognitionResult(void 0, s.ResultReason.Canceled, void 0, void 0, void 0, i, void 0, o); try { this.privSuccessCallback(u), this.privSuccessCallback = void 0 } catch (e) {} } } }, t.prototype.sendWaveHeader = function(e) { var t = this; return this.audioSource.format.onSuccessContinueWithPromise((function(r) { return e.send(new f.SpeechConnectionMessage(a.MessageType.Binary, "audio", t.privDialogRequestSession.requestId, null, r.header)) })) }, t.prototype.dialogConnectImpl = function(e) { var t = this; if (void 0 === e && (e = !1), this.privDialogConnectionPromise) return this.privDialogConnectionPromise.result().isCompleted && (this.privDialogConnectionPromise.result().isError || this.privDialogConnectionPromise.result().result.state() === a.ConnectionState.Disconnected) ? (this.agentConfigSent = !1, this.privDialogConnectionPromise = null, this.terminateMessageLoop = !0, this.configConnection()) : this.privDialogConnectionPromise; this.privDialogAuthFetchEventId = a.createNoDashGuid(), void 0 === this.privConnectionId && (this.privConnectionId = a.createNoDashGuid()), this.privDialogRequestSession.onPreConnectionStart(this.privDialogAuthFetchEventId, this.privConnectionId); var r = e ? this.privDialogAuthentication.fetchOnExpiry(this.privDialogAuthFetchEventId) : this.privDialogAuthentication.fetch(this.privDialogAuthFetchEventId); return this.privDialogConnectionPromise = r.continueWithPromise((function(r) { if (r.isError) throw t.privDialogRequestSession.onAuthCompleted(!0, r.error), new Error(r.error); t.privDialogRequestSession.onAuthCompleted(!1); var n = t.privDialogConnectionFactory.create(t.privRecognizerConfig, r.result, t.privConnectionId); return t.privDialogRequestSession.listenForServiceTelemetry(n.events), n.events.attach((function(e) { t.connectionEvents.onEvent(e) })), n.open().onSuccessContinueWithPromise((function(r) { return 200 === r.statusCode ? (t.privDialogRequestSession.onPreConnectionStart(t.privDialogAuthFetchEventId, t.privConnectionId), t.privDialogRequestSession.onConnectionEstablishCompleted(r.statusCode), a.PromiseHelper.fromResult(n)) : 403 !== r.statusCode || e ? (t.privDialogRequestSession.onConnectionEstablishCompleted(r.statusCode, r.reason), a.PromiseHelper.fromError("Unable to contact server. StatusCode: " + r.statusCode + ", " + t.privRecognizerConfig.parameters.getProperty(s.PropertyId.SpeechServiceConnection_Endpoint) + " Reason: " + r.reason)) : t.dialogConnectImpl(!0) })) })), this.privConnectionLoop = this.startMessageLoop(), this.privDialogConnectionPromise }, t.prototype.startMessageLoop = function() { var e = this; return this.terminateMessageLoop = !1, this.receiveDialogMessageOverride().on((function(e) { return !0 }), (function(t) { e.cancelRecognition(e.privDialogRequestSession.sessionId, e.privDialogRequestSession.requestId, s.CancellationReason.Error, s.CancellationErrorCode.RuntimeError, t) })) }, t.prototype.configConnection = function() { var e = this; return this.privConnectionConfigPromise ? this.privConnectionConfigPromise.result().isCompleted && (this.privConnectionConfigPromise.result().isError || this.privConnectionConfigPromise.result().result.state() === a.ConnectionState.Disconnected) ? (this.privConnectionConfigPromise = null, this.configConnection()) : this.privConnectionConfigPromise : this.terminateMessageLoop ? (this.terminateMessageLoop = !1, a.PromiseHelper.fromError("Connection to service terminated.")) : (this.privConnectionConfigPromise = this.dialogConnectImpl().onSuccessContinueWithPromise((function(t) { return e.sendSpeechServiceConfig(t, e.privDialogRequestSession, e.privRecognizerConfig.SpeechServiceConfig.serialize()).onSuccessContinueWithPromise((function(r) { return e.sendAgentConfig(t).onSuccessContinueWith((function(e) { return t })) })) })), this.privConnectionConfigPromise) }, t.prototype.sendPreAudioMessages = function() { var e = this; this.fetchDialogConnection().onSuccessContinueWith((function(t) { e.sendAgentContext(t), e.sendWaveHeader(t) })) }, t.prototype.fireEventForResult = function(e, t) { var r = c.EnumTranslation.implTranslateRecognitionResult(e.RecognitionStatus), n = e.Offset + this.privDialogRequestSession.currentTurnAudioOffset, i = new s.SpeechRecognitionResult(this.privDialogRequestSession.requestId, r, e.DisplayText, e.Duration, n, void 0, JSON.stringify(e), t); return new s.SpeechRecognitionEventArgs(i, n, this.privDialogRequestSession.sessionId) }, t }(c.ServiceRecognizerBase); t.DialogServiceAdapter = p }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(92), i = r(1847), o = function() { function e() { this.privTurnMap = new Map } return e.prototype.StartTurn = function(e) { if (this.privTurnMap.has(e)) throw new n.InvalidOperationError("Service error: There is already a turn with id:" + e); var t = new i.DialogServiceTurnState(this, e); return this.privTurnMap.set(e, t), this.privTurnMap.get(e) }, e.prototype.GetTurn = function(e) { return this.privTurnMap.get(e) }, e.prototype.CompleteTurn = function(e) { if (!this.privTurnMap.has(e)) throw new n.InvalidOperationError("Service error: Received turn end for an unknown turn id:" + e); var t = this.privTurnMap.get(e); return t.complete(), this.privTurnMap.delete(e), t }, e }(); t.DialogServiceTurnStateManager = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(1653), i = r(1660), o = function() { function e(e, t) { this.privRequestId = t, this.privIsCompleted = !1, this.privAudioStream = null, this.privTurnManager = e, this.resetTurnEndTimeout() } return Object.defineProperty(e.prototype, "audioStream", { get: function() { return this.resetTurnEndTimeout(), this.privAudioStream }, enumerable: !0, configurable: !0 }), e.prototype.processActivityPayload = function(e) { return e.messageDataStreamType === i.MessageDataStreamType.TextToSpeechAudio && (this.privAudioStream = n.AudioOutputStream.createPullStream()), this.privAudioStream }, e.prototype.endAudioStream = function() { null === this.privAudioStream || this.privAudioStream.isClosed || this.privAudioStream.close() }, e.prototype.complete = function() { void 0 !== this.privTimeoutToken && clearTimeout(this.privTimeoutToken), this.endAudioStream() }, e.prototype.resetTurnEndTimeout = function() { var e = this; void 0 !== this.privTimeoutToken && clearTimeout(this.privTimeoutToken), this.privTimeoutToken = setTimeout((function() { e.privTurnManager.CompleteTurn(e.privRequestId) }), 2e3) }, e }(); t.DialogServiceTurnState = o }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e() {} return e.prototype.toJsonString = function() { return JSON.stringify(this.iPrivConfig) }, e.prototype.get = function() { return this.iPrivConfig }, e.prototype.set = function(e) { this.iPrivConfig = e }, e }(); t.AgentConfig = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(1850); t.ConversationManager = n.ConversationManager; var i = r(367); t.ConversationTranslatorConfig = i.ConversationTranslatorConfig; var o = r(1851); t.ConversationTranslatorRecognizer = o.ConversationTranslatorRecognizer; var a = r(1662); t.ConversationReceivedTranslationEventArgs = a.ConversationReceivedTranslationEventArgs, t.LockRoomEventArgs = a.LockRoomEventArgs, t.MuteAllEventArgs = a.MuteAllEventArgs, t.ParticipantAttributeEventArgs = a.ParticipantAttributeEventArgs, t.ParticipantEventArgs = a.ParticipantEventArgs, t.ParticipantsListEventArgs = a.ParticipantsListEventArgs; var s = r(697); t.ConversationTranslatorCommandTypes = s.ConversationTranslatorCommandTypes, t.ConversationTranslatorMessageTypes = s.ConversationTranslatorMessageTypes, t.InternalParticipants = s.InternalParticipants }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(46), i = r(9), o = r(367), a = function() { function e() {} return e.prototype.createOrJoin = function(e, t, r, a) { try { n.Contracts.throwIfNullOrUndefined(e, "args"); var s = e.getProperty(i.PropertyId.SpeechServiceConnection_RecoLanguage, o.ConversationTranslatorConfig.defaultLanguageCode), u = e.getProperty(i.PropertyId.ConversationTranslator_Name), c = e.getProperty(i.PropertyId.ConversationTranslator_Host, o.ConversationTranslatorConfig.host), l = e.getProperty(i.PropertyId.ConversationTranslator_CorrelationId), f = e.getProperty(i.PropertyId.SpeechServiceConnection_Key), p = e.getProperty(i.PropertyId.SpeechServiceConnection_Region), d = e.getProperty(i.PropertyId.SpeechServiceAuthorization_Token); n.Contracts.throwIfNullOrWhitespace(s, "languageCode"), n.Contracts.throwIfNullOrWhitespace(u, "nickname"), n.Contracts.throwIfNullOrWhitespace(c, "endpointHost"); var h = {}; h[o.ConversationTranslatorConfig.params.apiVersion] = o.ConversationTranslatorConfig.apiVersion, h[o.ConversationTranslatorConfig.params.languageCode] = s, h[o.ConversationTranslatorConfig.params.nickname] = u; var v = {}; l && (v[o.ConversationTranslatorConfig.params.correlationId] = l), v[o.ConversationTranslatorConfig.params.clientAppId] = o.ConversationTranslatorConfig.clientAppId, void 0 !== t ? h[o.ConversationTranslatorConfig.params.roomId] = t : (n.Contracts.throwIfNullOrUndefined(p, o.ConversationTranslatorConfig.strings.authInvalidSubscriptionRegion), v[o.ConversationTranslatorConfig.params.subscriptionRegion] = p, f ? v[o.ConversationTranslatorConfig.params.subscriptionKey] = f : d ? v[o.ConversationTranslatorConfig.params.authorization] = "Bearer " + d : n.Contracts.throwIfNullOrUndefined(f, o.ConversationTranslatorConfig.strings.authInvalidSubscriptionKey)); var m = {}; m.headers = v; var y = "https://" + c + o.ConversationTranslatorConfig.restPath; o.request("post", y, h, null, m, (function(e) { var t = o.extractHeaderValue(o.ConversationTranslatorConfig.params.requestId, e.headers); if (e.ok) { var n = JSON.parse(e.data); if (n && (n.requestId = t), r) { try { r(n) } catch (e) { a && a(e) } r = void 0 } } else if (a) { var i = o.ConversationTranslatorConfig.strings.invalidCreateJoinConversationResponse.replace("{status}", e.status.toString()), s = void 0; try { i += " [" + (s = JSON.parse(e.data)).error.code + ": " + s.error.message + "]" } catch (t) { i += " [" + e.data + "]" } t && (i += " " + t), a(i) } })) } catch (e) { if (a) if (e instanceof Error) { var b = e; a(b.name + ": " + b.message) } else a(e) } }, e.prototype.leave = function(e, t, r, a) { try { n.Contracts.throwIfNullOrUndefined(e, o.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "config")), n.Contracts.throwIfNullOrWhitespace(t, o.ConversationTranslatorConfig.strings.invalidArgs.replace("{arg}", "token")); var s = e.getProperty(i.PropertyId.ConversationTranslator_Host, o.ConversationTranslatorConfig.host), u = e.getProperty(i.PropertyId.ConversationTranslator_CorrelationId), c = {}; c[o.ConversationTranslatorConfig.params.apiVersion] = o.ConversationTranslatorConfig.apiVersion, c[o.ConversationTranslatorConfig.params.sessionToken] = t; var l = {}; u && (l[o.ConversationTranslatorConfig.params.correlationId] = u); var f = {}; f.headers = l; var p = "https://" + s + o.ConversationTranslatorConfig.restPath; o.request("delete", p, c, null, f, (function(e) { if (e.ok, r) { try { r() } catch (e) { a && a(e) } r = void 0 } })) } catch (e) { if (a) if (e instanceof Error) { var d = e; a(d.name + ": " + d.message) } else a(e) } }, e }(); t.ConversationManager = a }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(21), a = r(46), s = r(9), u = r(1852), c = r(1854), l = r(697), f = r(367), p = function(e) { function t(t, r) { var n = this, i = t; return a.Contracts.throwIfNull(i, "speechConfig"), (n = e.call(this, r, i.properties, new u.ConversationConnectionFactory) || this).privIsDisposed = !1, n.privProperties = i.properties.clone(), n } return i(t, e), Object.defineProperty(t.prototype, "conversation", { set: function(e) { this.privRoom = e }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "speechRecognitionLanguage", { get: function() { return this.privSpeechRecognitionLanguage }, enumerable: !0, configurable: !0 }), Object.defineProperty(t.prototype, "properties", { get: function() { return this.privProperties }, enumerable: !0, configurable: !0 }), t.prototype.isDisposed = function() { return this.privIsDisposed }, t.prototype.connect = function(e, t, r) { try { a.Contracts.throwIfDisposed(this.privIsDisposed), a.Contracts.throwIfNullOrWhitespace(e, "token"), this.privReco.conversationTranslatorToken = e, this.privReco.connectAsync(t, r) } catch (e) { if (r) if (e instanceof Error) { var n = e; r(n.name + ": " + n.message) } else r(e) } }, t.prototype.disconnect = function(e, t) { try { a.Contracts.throwIfDisposed(this.privIsDisposed), this.privRoom = void 0, this.privReco.disconnectAsync(e, t) } catch (e) { if (t) if (e instanceof Error) { var r = e; t(r.name + ": " + r.message) } else t(e); this.dispose(!0) } }, t.prototype.sendMessageRequest = function(e, t, r) { try { a.Contracts.throwIfDisposed(this.privIsDisposed), a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId, "conversationId"), a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId, "participantId"), a.Contracts.throwIfNullOrWhitespace(e, "message"); var n = { participantId: this.privRoom.participantId, roomId: this.privRoom.roomId, text: e, type: l.ConversationTranslatorMessageTypes.instantMessage }; this.sendMessage(JSON.stringify(n), t, r) } catch (e) { if (r) if (e instanceof Error) { var i = e; r(i.name + ": " + i.message) } else r(e); this.dispose(!0) } }, t.prototype.sendLockRequest = function(e, t, r) { try { a.Contracts.throwIfDisposed(this.privIsDisposed), a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId, "conversationId"), a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId, "participantId"), a.Contracts.throwIfNullOrUndefined(e, "isLocked"); var n = { command: l.ConversationTranslatorCommandTypes.setLockState, participantId: this.privRoom.participantId, roomid: this.privRoom.roomId, type: l.ConversationTranslatorMessageTypes.participantCommand, value: e }; this.sendMessage(JSON.stringify(n), t, r) } catch (e) { if (r) if (e instanceof Error) { var i = e; r(i.name + ": " + i.message) } else r(e); this.dispose(!0) } }, t.prototype.sendMuteAllRequest = function(e, t, r) { try { a.Contracts.throwIfDisposed(this.privIsDisposed), a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId, "conversationId"), a.Contracts.throwIfNullOrWhitespace(this.privRoom.participantId, "participantId"), a.Contracts.throwIfNullOrUndefined(e, "isMuted"); var n = { command: l.ConversationTranslatorCommandTypes.setMuteAll, participantId: this.privRoom.participantId, roomid: this.privRoom.roomId, type: l.ConversationTranslatorMessageTypes.participantCommand, value: e }; this.sendMessage(JSON.stringify(n), t, r) } catch (e) { if (r) if (e instanceof Error) { var i = e; r(i.name + ": " + i.message) } else r(e); this.dispose(!0) } }, t.prototype.sendMuteRequest = function(e, t, r, n) { try { a.Contracts.throwIfDisposed(this.privIsDisposed), a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId, "conversationId"), a.Contracts.throwIfNullOrWhitespace(e, "participantId"), a.Contracts.throwIfNullOrUndefined(t, "isMuted"); var i = { command: l.ConversationTranslatorCommandTypes.setMute, participantId: e, roomid: this.privRoom.roomId, type: l.ConversationTranslatorMessageTypes.participantCommand, value: t }; this.sendMessage(JSON.stringify(i), r, n) } catch (e) { if (n) if (e instanceof Error) { var o = e; n(o.name + ": " + o.message) } else n(e); this.dispose(!0) } }, t.prototype.sendEjectRequest = function(e, t, r) { try { a.Contracts.throwIfDisposed(this.privIsDisposed), a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId, "conversationId"), a.Contracts.throwIfNullOrWhitespace(e, "participantId"); var n = { command: l.ConversationTranslatorCommandTypes.ejectParticipant, participantId: e, roomid: this.privRoom.roomId, type: l.ConversationTranslatorMessageTypes.participantCommand }; if (this.sendMessage(JSON.stringify(n), t, r), t) try { t() } catch (e) { r && r(e) } } catch (e) { if (r) if (e instanceof Error) { var i = e; r(i.name + ": " + i.message) } else r(e); this.dispose(!0) } }, t.prototype.sendChangeNicknameRequest = function(e, t, r) { try { a.Contracts.throwIfDisposed(this.privIsDisposed), a.Contracts.throwIfNullOrWhitespace(this.privRoom.roomId, "conversationId"), a.Contracts.throwIfNullOrWhitespace(e, "nickname"); var n = { command: l.ConversationTranslatorCommandTypes.changeNickname, nickname: e, participantId: this.privRoom.participantId, roomid: this.privRoom.roomId, type: l.ConversationTranslatorMessageTypes.participantCommand, value: e }; this.sendMessage(JSON.stringify(n), t, r) } catch (e) { if (r) if (e instanceof Error) { var i = e; r(i.name + ": " + i.message) } else r(e); this.dispose(!0) } }, t.prototype.close = function() { a.Contracts.throwIfDisposed(this.privIsDisposed), this.dispose(!0) }, t.prototype.dispose = function(t) { this.privIsDisposed || t && (this.privIsDisposed = !0, e.prototype.dispose.call(this, t)) }, t.prototype.createRecognizerConfig = function(e) { return new o.RecognizerConfig(e, this.privProperties) }, t.prototype.createServiceRecognizer = function(e, t, r, n) { var i = r; return new c.ConversationServiceAdapter(e, t, i, n, this) }, t.prototype.sendMessage = function(e, t, r) { var n = this.privReco; f.PromiseToEmptyCallback(n.sendMessageAsync(e), t, r) }, t }(s.Recognizer); t.ConversationTranslatorRecognizer = p }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(113), a = r(28), s = r(46), u = r(9), c = r(347), l = r(367), f = r(1853), p = function(e) { function t() { return null !== e && e.apply(this, arguments) || this } return i(t, e), t.prototype.create = function(e, t, r) { var n = e.parameters.getProperty(u.PropertyId.ConversationTranslator_Host, l.ConversationTranslatorConfig.host), i = e.parameters.getProperty(u.PropertyId.ConversationTranslator_CorrelationId, a.createGuid()), c = "wss://" + n + l.ConversationTranslatorConfig.webSocketPath, p = e.parameters.getProperty(u.PropertyId.ConversationTranslator_Token, void 0); s.Contracts.throwIfNullOrUndefined(p, "token"); var d = {}; return d[l.ConversationTranslatorConfig.params.apiVersion] = l.ConversationTranslatorConfig.apiVersion, d[l.ConversationTranslatorConfig.params.token] = p, d[l.ConversationTranslatorConfig.params.correlationId] = i, new o.WebsocketConnection(c, d, {}, new f.ConversationWebsocketMessageFormatter, o.ProxyInfo.fromRecognizerConfig(e), r) }, t }(c.ConnectionFactoryBase); t.ConversationConnectionFactory = p }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(28), i = r(1661), o = function() { this.toConnectionMessage = function(e) { var t = new n.Deferred; try { if (e.messageType === n.MessageType.Text) { var r = new i.ConversationConnectionMessage(e.messageType, e.textContent, {}, e.id); t.resolve(r) } else e.messageType === n.MessageType.Binary && t.resolve(new i.ConversationConnectionMessage(e.messageType, e.binaryContent, void 0, e.id)) } catch (e) { t.reject("Error formatting the message. Error: " + e) } return t.promise() }, this.fromConnectionMessage = function(e) { var t = new n.Deferred; try { if (e.messageType === n.MessageType.Text) { var r = "" + (e.textBody ? e.textBody : ""); t.resolve(new n.RawWebsocketMessage(n.MessageType.Text, r, e.id)) } } catch (e) { t.reject("Error formatting the message. " + e) } return t.promise() } }; t.ConversationWebsocketMessageFormatter = o }, function(e, t, r) { "use strict"; var n, i = this && this.__extends || (n = function(e, t) { return (n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) { e.__proto__ = t } || function(e, t) { for (var r in t) t.hasOwnProperty(r) && (e[r] = t[r]) })(e, t) }, function(e, t) { function r() { this.constructor = e } n(e, t), e.prototype = null === t ? Object.create(t) : (r.prototype = t.prototype, new r) }); Object.defineProperty(t, "__esModule", { value: !0 }); var o = r(28), a = r(692), s = r(9), u = r(21), c = r(1661), l = r(1855), f = r(1662), p = r(697), d = r(1856), h = function(e) { function t(t, r, n, i, u) { var h = e.call(this, t, r, n, i, u) || this; return h.privUtteranceId = "", h.sendMessageAsync = function(e) { var t = new a.Sink; return h.fetchConversationConnection().continueWith((function(r) { try { r.isError ? t.reject(r.error) : r.result.send(new c.ConversationConnectionMessage(o.MessageType.Text, e)).continueWith((function(e) { try { e.isError ? t.reject(e.error) : t.resolve(e.result) } catch (e) { t.reject("Unhandled inner error: " + e) } })) } catch (e) { t.reject("Unhandled error: " + e) } })), new o.Promise(t) }, h.noOp = function() {}, h.receiveConversationMessageOverride = function(e, t) { var r = new o.Deferred; return h.fetchConversationConnection().on((function(e) { return e.read().onSuccessContinueWithPromise((function(e) { var t = h.isDisposed(), n = !h.isDisposed() && h.terminateMessageLoop, i = h.privConversationRequestSession.sessionId; if (t || n) return r.resolve(void 0), o.PromiseHelper.fromResult(void 0); if (!e) return h.receiveConversationMessageOverride(); try { switch (e.conversationMessageType.toLowerCase()) { case "info": case "participant_command": case "command": var a = d.CommandResponsePayload.fromJSON(e.textBody); switch (a.command.toLowerCase()) { case "participantlist": var u = d.ParticipantsListPayloadResponse.fromJSON(e.textBody), c = u.participants.map((function(e) { return { avatar: e.avatar, displayName: e.nickname, id: e.participantId, isHost: e.ishost, isMuted: e.ismuted, isUsingTts: e.usetts, preferredLanguage: e.locale } })); h.privConversationServiceConnector.participantsListReceived && h.privConversationServiceConnector.participantsListReceived(h.privConversationServiceConnector, new f.ParticipantsListEventArgs(u.roomid, u.token, u.translateTo, u.profanityFilter, u.roomProfanityFilter, u.roomLocked, u.muteAll, c, i)); break; case "settranslatetolanguages": h.privConversationServiceConnector.participantUpdateCommandReceived && h.privConversationServiceConnector.participantUpdateCommandReceived(h.privConversationServiceConnector, new f.ParticipantAttributeEventArgs(a.participantId, p.ConversationTranslatorCommandTypes.setTranslateToLanguages, a.value, i)); break; case "setprofanityfiltering": h.privConversationServiceConnector.participantUpdateCommandReceived && h.privConversationServiceConnector.participantUpdateCommandReceived(h.privConversationServiceConnector, new f.ParticipantAttributeEventArgs(a.participantId, p.ConversationTranslatorCommandTypes.setProfanityFiltering, a.value, i)); break; case "setmute": h.privConversationServiceConnector.participantUpdateCommandReceived && h.privConversationServiceConnector.participantUpdateCommandReceived(h.privConversationServiceConnector, new f.ParticipantAttributeEventArgs(a.participantId, p.ConversationTranslatorCommandTypes.setMute, a.value, i)); break; case "setmuteall": h.privConversationServiceConnector.muteAllCommandReceived && h.privConversationServiceConnector.muteAllCommandReceived(h.privConversationServiceConnector, new f.MuteAllEventArgs(a.value, i)); break; case "roomexpirationwarning": h.privConversationServiceConnector.conversationExpiration && h.privConversationServiceConnector.conversationExpiration(h.privConversationServiceConnector, new s.ConversationExpirationEventArgs(a.value, h.privConversationRequestSession.sessionId)); break; case "setusetts": h.privConversationServiceConnector.participantUpdateCommandReceived && h.privConversationServiceConnector.participantUpdateCommandReceived(h.privConversationServiceConnector, new f.ParticipantAttributeEventArgs(a.participantId, p.ConversationTranslatorCommandTypes.setUseTTS, a.value, i)); break; case "setlockstate": h.privConversationServiceConnector.lockRoomCommandReceived && h.privConversationServiceConnector.lockRoomCommandReceived(h.privConversationServiceConnector, new f.LockRoomEventArgs(a.value, i)); break; case "changenickname": h.privConversationServiceConnector.participantUpdateCommandReceived && h.privConversationServiceConnector.participantUpdateCommandReceived(h.privConversationServiceConnector, new f.ParticipantAttributeEventArgs(a.participantId, p.ConversationTranslatorCommandTypes.changeNickname, a.nickname, i)); break; case "joinsession": var l = d.ParticipantPayloadResponse.fromJSON(e.textBody), v = { avatar: l.avatar, displayName: l.nickname, id: l.participantId, isHost: l.ishost, isMuted: l.ismuted, isUsingTts: l.usetts, preferredLanguage: l.locale }; h.privConversationServiceConnector.participantJoinCommandReceived && h.privConversationServiceConnector.participantJoinCommandReceived(h.privConversationServiceConnector, new f.ParticipantEventArgs(v, i)); break; case "leavesession": var m = { id: a.participantId }; h.privConversationServiceConnector.participantLeaveCommandReceived && h.privConversationServiceConnector.participantLeaveCommandReceived(h.privConversationServiceConnector, new f.ParticipantEventArgs(m, i)); break; case "disconnectsession": a.participantId } break; case "partial": case "final": var y = d.SpeechResponsePayload.fromJSON(e.textBody), b = new s.ConversationTranslationResult(y.participantId, h.getTranslations(y.translations), y.language, void 0, void 0, y.recognition, void 0, void 0, e.textBody, void 0); y.isFinal ? void 0 !== b.text && b.text.length > 0 && y.id !== h.privUtteranceId && h.privConversationServiceConnector.translationReceived && h.privConversationServiceConnector.translationReceived(h.privConversationServiceConnector, new f.ConversationReceivedTranslationEventArgs(p.ConversationTranslatorMessageTypes.final, b, i)) : h.privConversationServiceConnector.translationReceived && h.privConversationServiceConnector.translationReceived(h.privConversationServiceConnector, new f.ConversationReceivedTranslationEventArgs(p.ConversationTranslatorMessageTypes.partial, b, i)), h.privUtteranceId = y.id; break; case "translated_message": var g = d.TextResponsePayload.fromJSON(e.textBody), _ = new s.ConversationTranslationResult(g.participantId, h.getTranslations(g.translations), g.language, void 0, void 0, g.originalText, void 0, void 0, void 0, e.textBody, void 0); h.privConversationServiceConnector.translationReceived && h.privConversationServiceConnector.translationReceived(h.privConversationServiceConnector, new f.ConversationReceivedTranslationEventArgs(p.ConversationTranslatorMessageTypes.instantMessage, _, i)) } } catch (e) {} return h.receiveConversationMessageOverride() })) }), (function(e) { h.terminateMessageLoop = !0 })), r.promise() }, h.fetchConversationConnection = function() { return h.configConnection() }, h.privConversationServiceConnector = u, h.privConversationAuthentication = t, h.receiveMessageOverride = h.receiveConversationMessageOverride, h.recognizeOverride = h.noOp, h.connectImplOverride = h.conversationConnectImpl, h.configConnectionOverride = h.configConnection, h.fetchConnectionOverride = h.fetchConversationConnection, h.disconnectOverride = h.privDisconnect, h.privConversationRequestSession = new l.ConversationRequestSession(o.createNoDashGuid()), h.privConversationConnectionFactory = r, h.privConversationIsDisposed = !1, h } return i(t, e), t.prototype.isDisposed = function() { return this.privConversationIsDisposed }, t.prototype.dispose = function(e) { this.privConversationIsDisposed = !0, this.privConnectionConfigPromise && this.privConnectionConfigPromise.onSuccessContinueWith((function(t) { t.dispose(e) })) }, t.prototype.sendMessage = function(e) { this.fetchConversationConnection().onSuccessContinueWith((function(t) { t.send(new c.ConversationConnectionMessage(o.MessageType.Text, e)) })) }, t.prototype.privDisconnect = function() { this.terminateMessageLoop || (this.cancelRecognition(this.privConversationRequestSession.sessionId, this.privConversationRequestSession.requestId, s.CancellationReason.Error, s.CancellationErrorCode.NoError, "Disconnecting"), this.terminateMessageLoop = !0, this.privConversationConnectionPromise.result().isCompleted ? this.privConversationConnectionPromise.result().isError || (this.privConversationConnectionPromise.result().result.dispose(), this.privConversationConnectionPromise = null) : this.privConversationConnectionPromise.onSuccessContinueWith((function(e) { e.dispose() }))) }, t.prototype.processTypeSpecificMessages = function(e, t, r) { return !0 }, t.prototype.cancelRecognition = function(e, t, r, n, i) { this.terminateMessageLoop = !0; var o = new s.ConversationTranslationCanceledEventArgs(r, i, n, void 0, e); try { this.privConversationServiceConnector.canceled && this.privConversationServiceConnector.canceled(this.privConversationServiceConnector, o) } catch (e) {} }, t.prototype.conversationConnectImpl = function(e) { var t = this; if (void 0 === e && (e = !1), this.privConversationConnectionPromise) return this.privConversationConnectionPromise.result().isCompleted && (this.privConversationConnectionPromise.result().isError || this.privConversationConnectionPromise.result().result.state() === o.ConnectionState.Disconnected) ? (this.privConnectionId = null, this.privConversationConnectionPromise = null, this.terminateMessageLoop = !0, this.conversationConnectImpl()) : this.privConversationConnectionPromise; this.privConversationAuthFetchEventId = o.createNoDashGuid(), void 0 === this.privConnectionId && (this.privConnectionId = o.createNoDashGuid()), this.privConversationRequestSession.onPreConnectionStart(this.privConversationAuthFetchEventId, this.privConnectionId); var r = e ? this.privConversationAuthentication.fetchOnExpiry(this.privConversationAuthFetchEventId) : this.privConversationAuthentication.fetch(this.privConversationAuthFetchEventId); return this.privConversationConnectionPromise = r.continueWithPromise((function(r) { if (r.isError) throw t.privConversationRequestSession.onAuthCompleted(!0, r.error), new Error(r.error); t.privConversationRequestSession.onAuthCompleted(!1); var n = t.privConversationConnectionFactory.create(t.privRecognizerConfig, r.result, t.privConnectionId); return n.events.attach((function(e) { t.connectionEvents.onEvent(e) })), n.open().onSuccessContinueWithPromise((function(r) { if (200 === r.statusCode) { t.privConversationRequestSession.onPreConnectionStart(t.privConversationAuthFetchEventId, t.privConnectionId), t.privConversationRequestSession.onConnectionEstablishCompleted(r.statusCode); var i = new s.SessionEventArgs(t.privConversationRequestSession.sessionId); return t.privConversationServiceConnector.connectionOpened && t.privConversationServiceConnector.connectionOpened(t.privConversationServiceConnector, i), o.PromiseHelper.fromResult(n) } return 403 !== r.statusCode || e ? (t.privConversationRequestSession.onConnectionEstablishCompleted(r.statusCode, r.reason), o.PromiseHelper.fromError("Unable to contact server. StatusCode: " + r.statusCode + ", " + t.privRecognizerConfig.parameters.getProperty(s.PropertyId.SpeechServiceConnection_Endpoint) + " Reason: " + r.reason)) : t.conversationConnectImpl(!0) })) })), this.privConnectionLoop = this.startMessageLoop(), this.privConversationConnectionPromise }, t.prototype.startMessageLoop = function() { var e = this; return this.terminateMessageLoop = !1, this.receiveConversationMessageOverride().on((function(e) { return !0 }), (function(t) { e.cancelRecognition(e.privRequestSession ? e.privRequestSession.sessionId : "", e.privRequestSession ? e.privRequestSession.requestId : "", s.CancellationReason.Error, s.CancellationErrorCode.RuntimeError, t) })) }, t.prototype.configConnection = function() { return this.privConnectionConfigPromise ? this.privConnectionConfigPromise.result().isCompleted && (this.privConnectionConfigPromise.result().isError || this.privConnectionConfigPromise.result().result.state() === o.ConnectionState.Disconnected) ? (this.privConnectionConfigPromise = null, this.configConnection()) : this.privConnectionConfigPromise : this.terminateMessageLoop ? o.PromiseHelper.fromResult(void 0) : (this.privConnectionConfigPromise = this.conversationConnectImpl().onSuccessContinueWith((function(e) { return e })), this.privConnectionConfigPromise) }, t.prototype.getTranslations = function(e) { var t; if (void 0 !== e) { t = new s.Translations; for (var r = 0, n = e; r < n.length; r++) { var i = n[r]; t.set(i.lang, i.translation) } } return t }, t }(u.ServiceRecognizerBase); t.ConversationServiceAdapter = h }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(28), i = function() { function e(e) { var t = this; this.privIsDisposed = !1, this.privDetachables = new Array, this.onPreConnectionStart = function(e, r) { t.privSessionId = r }, this.onAuthCompleted = function(e, r) { e && t.onComplete() }, this.onConnectionEstablishCompleted = function(e, r) { 200 !== e && 403 === e && t.onComplete() }, this.onServiceTurnEndResponse = function(e) { e ? t.privRequestId = n.createNoDashGuid() : t.onComplete() }, this.dispose = function(e) { if (!t.privIsDisposed) { t.privIsDisposed = !0; for (var r = 0, n = t.privDetachables; r < n.length; r++) { n[r].detach() } } }, this.onComplete = function() {}, this.privSessionId = e, this.privRequestId = n.createNoDashGuid(), this.privRequestCompletionDeferral = new n.Deferred } return Object.defineProperty(e.prototype, "sessionId", { get: function() { return this.privSessionId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "requestId", { get: function() { return this.privRequestId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "completionPromise", { get: function() { return this.privRequestCompletionDeferral.promise() }, enumerable: !0, configurable: !0 }), e }(); t.ConversationRequestSession = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(1857); t.CommandResponsePayload = n.CommandResponsePayload; var i = r(1858); t.ParticipantsListPayloadResponse = i.ParticipantsListPayloadResponse, t.ParticipantPayloadResponse = i.ParticipantPayloadResponse; var o = r(1859); t.SpeechResponsePayload = o.SpeechResponsePayload, t.TextResponsePayload = o.TextResponsePayload }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.privCommandResponse = JSON.parse(e) } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "type", { get: function() { return this.privCommandResponse.type }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "command", { get: function() { return this.privCommandResponse.command }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "id", { get: function() { return this.privCommandResponse.id }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "nickname", { get: function() { return this.privCommandResponse.nickname }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "participantId", { get: function() { return this.privCommandResponse.participantId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "roomid", { get: function() { return this.privCommandResponse.roomid }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "value", { get: function() { return this.privCommandResponse.value }, enumerable: !0, configurable: !0 }), e }(); t.CommandResponsePayload = n }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.privParticipantsPayloadResponse = JSON.parse(e) } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "roomid", { get: function() { return this.privParticipantsPayloadResponse.roomid }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "id", { get: function() { return this.privParticipantsPayloadResponse.id }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "command", { get: function() { return this.privParticipantsPayloadResponse.command }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "participants", { get: function() { return this.privParticipantsPayloadResponse.participants }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "token", { get: function() { return this.privParticipantsPayloadResponse.token }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "translateTo", { get: function() { return this.privParticipantsPayloadResponse.translateTo }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "profanityFilter", { get: function() { return this.privParticipantsPayloadResponse.profanityFilter }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "roomProfanityFilter", { get: function() { return this.privParticipantsPayloadResponse.roomProfanityFilter }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "roomLocked", { get: function() { return this.privParticipantsPayloadResponse.roomLocked }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "muteAll", { get: function() { return this.privParticipantsPayloadResponse.muteAll }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "type", { get: function() { return this.privParticipantsPayloadResponse.type }, enumerable: !0, configurable: !0 }), e }(); t.ParticipantsListPayloadResponse = n; var i = function() { function e(e) { this.privParticipantPayloadResponse = JSON.parse(e) } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "nickname", { get: function() { return this.privParticipantPayloadResponse.nickname }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "locale", { get: function() { return this.privParticipantPayloadResponse.locale }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "usetts", { get: function() { return this.privParticipantPayloadResponse.usetts }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "ismuted", { get: function() { return this.privParticipantPayloadResponse.ismuted }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "ishost", { get: function() { return this.privParticipantPayloadResponse.ishost }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "participantId", { get: function() { return this.privParticipantPayloadResponse.participantId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "avatar", { get: function() { return this.privParticipantPayloadResponse.avatar }, enumerable: !0, configurable: !0 }), e }(); t.ParticipantPayloadResponse = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = function() { function e(e) { this.privSpeechResponse = JSON.parse(e) } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "recognition", { get: function() { return this.privSpeechResponse.recognition }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "translations", { get: function() { return this.privSpeechResponse.translations }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "id", { get: function() { return this.privSpeechResponse.id }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "language", { get: function() { return this.privSpeechResponse.language }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "nickname", { get: function() { return this.privSpeechResponse.nickname }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "participantId", { get: function() { return this.privSpeechResponse.participantId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "roomid", { get: function() { return this.privSpeechResponse.roomid }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "timestamp", { get: function() { return this.privSpeechResponse.timestamp }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "type", { get: function() { return this.privSpeechResponse.type }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "isFinal", { get: function() { return "final" === this.privSpeechResponse.type }, enumerable: !0, configurable: !0 }), e }(); t.SpeechResponsePayload = n; var i = function() { function e(e) { this.privTextResponse = JSON.parse(e) } return e.fromJSON = function(t) { return new e(t) }, Object.defineProperty(e.prototype, "originalText", { get: function() { return this.privTextResponse.originalText }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "translations", { get: function() { return this.privTextResponse.translations }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "id", { get: function() { return this.privTextResponse.id }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "language", { get: function() { return this.privTextResponse.language }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "nickname", { get: function() { return this.privTextResponse.nickname }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "participantId", { get: function() { return this.privTextResponse.participantId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "roomid", { get: function() { return this.privTextResponse.roomid }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "timestamp", { get: function() { return this.privTextResponse.timestamp }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "type", { get: function() { return this.privTextResponse.type }, enumerable: !0, configurable: !0 }), e }(); t.TextResponsePayload = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(346), i = r(21), o = r(28), a = function() { function e(e, t) { var r = this; this.privStreams = {}, this.turnOn = function() { if ("undefined" == typeof FileReader) { var e = "Browser does not support FileReader."; return r.onEvent(new o.AudioSourceErrorEvent(e, "")), o.PromiseHelper.fromError(e) } if (r.privFile.name.lastIndexOf(".wav") !== r.privFile.name.length - 4) { e = r.privFile.name + " is not supported. Only WAVE files are allowed at the moment."; return r.onEvent(new o.AudioSourceErrorEvent(e, "")), o.PromiseHelper.fromError(e) } return r.onEvent(new o.AudioSourceInitializingEvent(r.privId)), r.onEvent(new o.AudioSourceReadyEvent(r.privId)), o.PromiseHelper.fromResult(!0) }, this.id = function() { return r.privId }, this.attach = function(e) { return r.onEvent(new o.AudioStreamNodeAttachingEvent(r.privId, e)), r.upload(e).onSuccessContinueWith((function(t) { return r.onEvent(new o.AudioStreamNodeAttachedEvent(r.privId, e)), { detach: function() { t.close(), delete r.privStreams[e], r.onEvent(new o.AudioStreamNodeDetachedEvent(r.privId, e)), r.turnOff() }, id: function() { return e }, read: function() { return t.read() } } })) }, this.detach = function(e) { e && r.privStreams[e] && (r.privStreams[e].close(), delete r.privStreams[e], r.onEvent(new o.AudioStreamNodeDetachedEvent(r.privId, e))) }, this.turnOff = function() { for (var e in r.privStreams) if (e) { var t = r.privStreams[e]; t && !t.isClosed && t.close() } return r.onEvent(new o.AudioSourceOffEvent(r.privId)), o.PromiseHelper.fromResult(!0) }, this.readHeader = function() { var e = r.privFile.slice(0, 44), t = new FileReader, i = new o.Deferred; return t.onload = function(e) { var t = e.target.result, r = new DataView(t); "RIFF" !== String.fromCharCode(r.getUint8(0), r.getUint8(1), r.getUint8(2), r.getUint8(3)) && i.reject("Invalid WAV header in file, RIFF was not found"), "WAVEfmt" !== String.fromCharCode(r.getUint8(8), r.getUint8(9), r.getUint8(10), r.getUint8(11), r.getUint8(12), r.getUint8(13), r.getUint8(14)) && i.reject("Invalid WAV header in file, WAVEfmt was not found"); var o = r.getUint16(22, !0), a = r.getUint32(24, !0), s = r.getUint16(34, !0); i.resolve(n.AudioStreamFormat.getWaveFormatPCM(a, s, o)) }, t.readAsArrayBuffer(e), i.promise() }, this.upload = function(e) { return r.turnOn().onSuccessContinueWithPromise((function(t) { return r.privAudioFormatPromise.onSuccessContinueWith((function(t) { new o.ChunkedArrayBufferStream(3200); var n = new FileReader, i = new o.ChunkedArrayBufferStream(t.avgBytesPerSec / 10, e); r.privStreams[e] = i; n.onload = function(e) { i.isClosed || (i.writeStreamChunk({ buffer: n.result, isEnd: !1, timeReceived: Date.now() }), i.close()) }, n.onerror = function(t) { var n = "Error occurred while processing '" + r.privFile.name + "'. " + t; throw r.onEvent(new o.AudioStreamNodeErrorEvent(r.privId, e, n)), new Error(n) }; var a = r.privFile.slice(44); return n.readAsArrayBuffer(a), i.getReader() })) })) }, this.onEvent = function(e) { r.privEvents.onEvent(e), o.Events.instance.onEvent(e) }, this.privId = t || o.createNoDashGuid(), this.privEvents = new o.EventSource, this.privFile = e, this.privAudioFormatPromise = this.readHeader() } return Object.defineProperty(e.prototype, "format", { get: function() { return this.privAudioFormatPromise }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "events", { get: function() { return this.privEvents }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "deviceInfo", { get: function() { return this.privAudioFormatPromise.onSuccessContinueWithPromise((function(e) { return o.PromiseHelper.fromResult({ bitspersample: e.bitsPerSample, channelcount: e.channels, connectivity: i.connectivity.Unknown, manufacturer: "Speech SDK", model: "File", samplerate: e.samplesPerSec, type: i.type.File }) })) }, enumerable: !0, configurable: !0 }), e }(); t.FileAudioSource = a }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(28), i = function() { function e() { var e = this; this.record = function(t, r, i) { var o = function() { var e = 0; try { return t.createScriptProcessor(e, 1, 1) } catch (n) { e = 2048; for (var r = t.sampleRate; e < 16384 && r >= 32e3;) e <<= 1, r >>= 1; return t.createScriptProcessor(e, 1, 1) } }(), a = new n.RiffPcmEncoder(t.sampleRate, 16e3); o.onaudioprocess = function(e) { var t = e.inputBuffer.getChannelData(0); if (i && !i.isClosed) { var r = a.encode(t); r && (i.writeStreamChunk({ buffer: r, isEnd: !1, timeReceived: Date.now() }), !1) } }; var s = t.createMediaStreamSource(r); e.privSpeechProcessorScript && t.audioWorklet ? t.audioWorklet.addModule(e.privSpeechProcessorScript).then((function() { var n = new AudioWorkletNode(t, "speech-processor"); n.port.onmessage = function(e) { var t = e.data; if (i && !i.isClosed) { var r = a.encode(t); r && (i.writeStreamChunk({ buffer: r, isEnd: !1, timeReceived: Date.now() }), !1) } }, s.connect(n), n.connect(t.destination), e.privMediaResources = { scriptProcessorNode: n, source: s, stream: r } })).catch((function() { s.connect(o), o.connect(t.destination), e.privMediaResources = { scriptProcessorNode: o, source: s, stream: r } })) : (s.connect(o), o.connect(t.destination), e.privMediaResources = { scriptProcessorNode: o, source: s, stream: r }) }, this.releaseMediaResources = function(t) { e.privMediaResources && (e.privMediaResources.scriptProcessorNode && (e.privMediaResources.scriptProcessorNode.disconnect(t.destination), e.privMediaResources.scriptProcessorNode = null), e.privMediaResources.source && (e.privMediaResources.source.disconnect(), e.privMediaResources.stream.getTracks().forEach((function(e) { return e.stop() })), e.privMediaResources.source = null)) } } return e.prototype.setWorkletUrl = function(e) { this.privSpeechProcessorScript = e }, e }(); t.PcmRecorder = i }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(28), i = r(1663), o = function() { function e(e, t, r, o, a, s) { var u = this; if (this.privIsDisposed = !1, this.dispose = function() { u.privIsDisposed = !0, u.privConnectionMessageAdapter && u.privConnectionMessageAdapter.close() }, this.isDisposed = function() { return u.privIsDisposed }, this.state = function() { return u.privConnectionMessageAdapter.state }, this.open = function() { return u.privConnectionMessageAdapter.open() }, this.send = function(e) { return u.privConnectionMessageAdapter.send(e) }, this.read = function() { return u.privConnectionMessageAdapter.read() }, !e) throw new n.ArgumentNullError("uri"); if (!o) throw new n.ArgumentNullError("messageFormatter"); this.privMessageFormatter = o; var c = "", l = 0; if (t) for (var f in t) { if (f) c += 0 === l && -1 === e.indexOf("?") ? "?" : "&", c += f + "=" + encodeURIComponent(t[f]), l++ } if (r) for (var p in r) { if (p) c += 0 === l ? "?" : "&", c += p + "=" + encodeURIComponent(r[p]), l++ } this.privUri = e + c, this.privId = s || n.createNoDashGuid(), this.privConnectionMessageAdapter = new i.WebsocketMessageAdapter(this.privUri, this.id, this.privMessageFormatter, a, r) } return Object.defineProperty(e.prototype, "id", { get: function() { return this.privId }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "events", { get: function() { return this.privConnectionMessageAdapter.events }, enumerable: !0, configurable: !0 }), e }(); t.WebsocketConnection = o }, function(e, t) {}, function(e, t) {}, function(e, t) {}, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(28), i = function() { function e(e, t) { var r = this; this.privBuffers = [], this.privReplayOffset = 0, this.privLastShrinkOffset = 0, this.privBufferStartOffset = 0, this.privBufferSerial = 0, this.privBufferedBytes = 0, this.privReplay = !1, this.privLastChunkAcquiredTime = 0, this.id = function() { return r.privAudioNode.id() }, this.privAudioNode = e, this.privBytesPerSecond = t } return e.prototype.read = function() { var e = this; if (this.privReplay && 0 !== this.privBuffers.length) { var t = this.privReplayOffset - this.privBufferStartOffset, r = Math.round(t * this.privBytesPerSecond * 1e-7); 0 != r % 2 && r++; for (var i = 0; i < this.privBuffers.length && r >= this.privBuffers[i].chunk.buffer.byteLength;) r -= this.privBuffers[i++].chunk.buffer.byteLength; var a = this.privBuffers[i].chunk.buffer.slice(r); return this.privReplayOffset += a.byteLength / this.privBytesPerSecond * 1e7, i === this.privBuffers.length - 1 && (this.privReplay = !1), n.PromiseHelper.fromResult({ buffer: a, isEnd: !1, timeReceived: this.privBuffers[i].chunk.timeReceived }) } return this.privAudioNode.read().onSuccessContinueWith((function(t) { return t && t.buffer && (e.privBuffers.push(new o(t, e.privBufferSerial++, e.privBufferedBytes)), e.privBufferedBytes += t.buffer.byteLength), t })) }, e.prototype.detach = function() { this.privAudioNode.detach(), this.privBuffers = void 0 }, e.prototype.replay = function() { this.privBuffers && 0 !== this.privBuffers.length && (this.privReplay = !0, this.privReplayOffset = this.privLastShrinkOffset) }, e.prototype.shrinkBuffers = function(e) { if (void 0 !== this.privBuffers) { this.privLastShrinkOffset = e; for (var t = e - this.privBufferStartOffset, r = Math.round(t * this.privBytesPerSecond * 1e-7), n = 0; n < this.privBuffers.length && r >= this.privBuffers[n].chunk.buffer.byteLength;) r -= this.privBuffers[n++].chunk.buffer.byteLength; this.privBufferStartOffset = Math.round(e - r / this.privBytesPerSecond * 1e7), this.privBuffers = this.privBuffers.slice(n) } }, e.prototype.findTimeAtOffset = function(e) { if (e < this.privBufferStartOffset || void 0 === this.privBuffers) return 0; for (var t = 0, r = this.privBuffers; t < r.length; t++) { var n = r[t], i = n.byteOffset / this.privBytesPerSecond * 1e7, o = i + n.chunk.buffer.byteLength / this.privBytesPerSecond * 1e7; if (e >= i && e <= o) return n.chunk.timeReceived } return 0 }, e }(); t.ReplayableAudioNode = i; var o = function(e, t, r) { this.chunk = e, this.serial = t, this.byteOffset = r } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(9), i = function() { function e(e, t, r, n) { this.privProxyHostName = e, this.privProxyPort = t, this.privProxyUserName = r, this.privProxyPassword = n } return e.fromRecognizerConfig = function(t) { return new e(t.parameters.getProperty(n.PropertyId.SpeechServiceConnection_ProxyHostName), parseInt(t.parameters.getProperty(n.PropertyId.SpeechServiceConnection_ProxyPort), 10), t.parameters.getProperty(n.PropertyId.SpeechServiceConnection_ProxyUserName), t.parameters.getProperty(n.PropertyId.SpeechServiceConnection_ProxyPassword)) }, Object.defineProperty(e.prototype, "HostName", { get: function() { return this.privProxyHostName }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Port", { get: function() { return this.privProxyPort }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "UserName", { get: function() { return this.privProxyUserName }, enumerable: !0, configurable: !0 }), Object.defineProperty(e.prototype, "Password", { get: function() { return this.privProxyPassword }, enumerable: !0, configurable: !0 }), e }(); t.ProxyInfo = i }, function(e, t, r) { "use strict"; var n = r(1664), i = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { for (var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = arguments.length, r = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) r[n - 1] = arguments[n]; var i = l(l({}, a.default.apply(void 0, [e].concat(r))), s.default.apply(void 0, [e].concat(r))); return l(l({}, i), {}, { then: function(e) { console.warn("web-speech-cognitive-services: This function no longer need to be called in an asynchronous fashion. Please update your code. We will remove this Promise.then function on or after 2020-08-10."), e(i) } }) }, Object.defineProperty(t, "createSpeechRecognitionPonyfill", { enumerable: !0, get: function() { return a.default } }), Object.defineProperty(t, "createSpeechRecognitionPonyfillFromRecognizer", { enumerable: !0, get: function() { return a.createSpeechRecognitionPonyfillFromRecognizer } }), Object.defineProperty(t, "createSpeechSynthesisPonyfill", { enumerable: !0, get: function() { return s.default } }), Object.defineProperty(t, "fetchAuthorizationToken", { enumerable: !0, get: function() { return u.default } }); var o = i(r(218)), a = n(r(1869)), s = i(r(1885)), u = i(r(1901)); function c(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function l(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? c(Object(r), !0).forEach((function(t) { (0, o.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : c(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var f = document.createElement("meta"); f.setAttribute("name", "web-speech-cognitive-services"), f.setAttribute("content", "version=".concat("7.0.0")), document.head.appendChild(f) }, function(e, t, r) { "use strict"; var n = r(1664); Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "createSpeechRecognitionPonyfillFromRecognizer", { enumerable: !0, get: function() { return i.createSpeechRecognitionPonyfillFromRecognizer } }), t.default = void 0; var i = n(r(1870)), o = i.default; t.default = o }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.createSpeechRecognitionPonyfillFromRecognizer = k, t.default = void 0; var i = n(r(95)), o = n(r(1871)), a = n(r(96)), s = n(r(158)), u = n(r(698)), c = n(r(699)), l = n(r(700)), f = n(r(218)), p = n(r(152)), d = r(701), h = n(r(1878)), v = n(r(1880)), m = n(r(1669)), y = n(r(1884)), b = n(r(1667)); function g(e) { var t = function() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0 } catch (e) { return !1 } }(); return function() { var r, n = (0, l.default)(e); if (t) { var i = (0, l.default)(this).constructor; r = Reflect.construct(n, arguments, i) } else r = n.apply(this, arguments); return (0, c.default)(this, r) } } function _(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function T(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? _(Object(r), !0).forEach((function(t) { (0, f.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : _(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var S = b.default.AudioConfig, A = b.default.OutputFormat, E = b.default.ResultReason, C = b.default.SpeechConfig, O = b.default.SpeechRecognizer; function w(e) { var t = e.duration, r = e.errorDetails, n = e.json, i = e.offset, o = e.properties, a = e.reason, s = e.resultId, u = e.text; return { duration: t, errorDetails: r, json: JSON.parse(n), offset: i, properties: o, reason: a, resultId: s, text: u } } function I(e, t) { return function() { return e.apply(void 0, arguments).onSuccessContinueWith((function(e) { return t(e) })) } } function P(e) { return function() { for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++) r[n] = arguments[n]; return new Promise((function(t, n) { return e.apply(void 0, r.concat([t, n])) })) } } var x = function e(t) { var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = r.data, i = r.emma, o = r.interpretation, a = r.resultIndex, s = r.results; (0, p.default)(this, e), this.data = n, this.emma = i, this.interpretation = o, this.resultIndex = a, this.results = s, this.type = t }; function N(e) { var t, r, n = e.attach; return e.attach = I(n.bind(e), (function(n) { return T(T({}, n), {}, { read: I(n.read.bind(n), (function(n) { var i, o; return !t && (i = n.buffer, o = new Int16Array(i), [].reduce.call(o, (function(e, t) { return e + Math.abs(t) }), 0) / o.length > 150) && (e.events.onEvent({ name: "FirstAudibleChunk" }), t = !0), r ? { buffer: new ArrayBuffer(0), isEnd: !0, timeReceived: Date.now() } : n })) }) })), { audioConfig: e, pause: function() { r = !0 }, unprepare: function() { e.attach = n } } } function k(e) { var t = e.createRecognizer, r = e.enableTelemetry, n = e.looseEvents, c = e.referenceGrammars, l = e.textNormalization; O.enableTelemetry(!1 !== r); var f = function(e) { (0, u.default)(d, e); var r, f = g(d); function d() { var e; return (0, p.default)(this, d), (e = f.call(this))._continuous = !1, e._interimResults = !1, e._lang = "undefined" != typeof window ? window.document.documentElement.getAttribute("lang") || window.navigator.language : "en-US", e._grammars = new y.default, e._maxAlternatives = 1, e } return (0, s.default)(d, [{ key: "emitCognitiveServices", value: function(e, t) { this.dispatchEvent(new x("cognitiveservices", { data: T(T({}, t), {}, { type: e }) })) } }, { key: "start", value: function() { var e = this; this._startOnce().catch((function(t) { e.dispatchEvent(new ErrorEvent("error", { error: t, message: t && (t.stack || t.message) })) })) } }, { key: "_startOnce", value: (r = (0, a.default)(i.default.mark((function e() { var r, a, s, u, f, p, d, m, y, b, g, _, T, S, A, C, O, I = this; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, t(this.lang); case 2: return r = e.sent, a = N(r.audioConfig), s = a.pause, u = a.unprepare, e.prev = 4, f = (0, v.default)(), y = r.audioConfig.events.attach((function(e) { var t = e.name; "AudioSourceReadyEvent" === t ? f.push({ audioSourceReady: {} }) : "AudioSourceOffEvent" === t ? f.push({ audioSourceOff: {} }) : "FirstAudibleChunk" === t && f.push({ firstAudibleChunk: {} }) })), b = y.detach, r.canceled = function(e, t) { var r = t.errorDetails, n = t.offset, i = t.reason, o = t.sessionId; f.push({ canceled: { errorDetails: r, offset: n, reason: i, sessionId: o } }) }, r.recognized = function(e, t) { var r = t.offset, n = t.result, i = t.sessionId; f.push({ recognized: { offset: r, result: w(n), sessionId: i } }) }, r.recognizing = function(e, t) { var r = t.offset, n = t.result, i = t.sessionId; f.push({ recognizing: { offset: r, result: w(n), sessionId: i } }) }, r.sessionStarted = function(e, t) { var r = t.sessionId; f.push({ sessionStarted: { sessionId: r } }) }, r.sessionStopped = function(e, t) { var r = t.sessionId; f.push({ sessionStopped: { sessionId: r } }) }, r.speechStartDetected = function(e, t) { var r = t.offset, n = t.sessionId; f.push({ speechStartDetected: { offset: r, sessionId: n } }) }, r.speechEndDetected = function(e, t) { var r = t.sessionId; f.push({ speechEndDetected: { sessionId: r } }) }, g = this.grammars.phrases, _ = r.privReco.dynamicGrammar, c && c.length && _.addReferenceGrammar(c), g && g.length && _.addPhrase(g), e.next = 20, P(r.startContinuousRecognitionAsync.bind(r))(); case 20: r.stopContinuousRecognitionAsync ? (this.abort = function() { return f.push({ abort: {} }) }, this.stop = function() { return f.push({ stop: {} }) }) : this.abort = this.stop = void 0, A = [], C = i.default.mark((function e(t) { var a, u, c, v, y, b, g, _, C, O, w, N; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, f.shift(); case 2: if (a = e.sent, u = a.abort, c = a.audioSourceOff, v = a.audioSourceReady, y = a.canceled, b = a.firstAudibleChunk, g = a.recognized, _ = a.recognizing, C = a.stop, Object.keys(a).forEach((function(e) { return I.emitCognitiveServices(e, a[e]) })), O = y && y.errorDetails, !/Permission[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]denied/.test(O || "")) { e.next = 9; break } return S = { error: "not-allowed", type: "error" }, e.abrupt("return", "break"); case 9: if (t || I.dispatchEvent(new x("start")), !O) { e.next = 15; break } return /1006/.test(O) ? (T || (I.dispatchEvent(new x("audiostart")), I.dispatchEvent(new x("audioend"))), S = { error: "network", type: "error" }) : S = { error: "unknown", type: "error" }, e.abrupt("return", "break"); case 15: if (!u && !C) { e.next = 22; break } if (u ? (S = { error: "aborted", type: "error" }, m = "abort") : (s(), m = "stop"), !u || !r.stopContinuousRecognitionAsync) { e.next = 20; break } return e.next = 20, P(r.stopContinuousRecognitionAsync.bind(r))(); case 20: e.next = 61; break; case 22: if (!v) { e.next = 27; break } I.dispatchEvent(new x("audiostart")), T = !0, e.next = 61; break; case 27: if (!b) { e.next = 32; break } I.dispatchEvent(new x("soundstart")), p = !0, e.next = 61; break; case 32: if (!c) { e.next = 40; break } return d && I.dispatchEvent(new x("speechend")), p && I.dispatchEvent(new x("soundend")), T && I.dispatchEvent(new x("audioend")), T = p = d = !1, e.abrupt("return", "break"); case 40: if ("abort" === m) { e.next = 61; break } if (!g || !g.result || g.result.reason !== E.NoMatch) { e.next = 45; break } S = { error: "no-speech", type: "error" }, e.next = 61; break; case 45: if (!g && !_) { e.next = 61; break } if (T || (I.dispatchEvent(new x("audiostart")), T = !0), p || (I.dispatchEvent(new x("soundstart")), p = !0), d || (I.dispatchEvent(new x("speechstart")), d = !0), !g) { e.next = 60; break } if (w = (0, h.default)(g.result, { maxAlternatives: I.maxAlternatives, textNormalization: l }), (N = !!w[0].transcript) && (A = [].concat((0, o.default)(A), [w]), I.continuous && I.dispatchEvent(new x("result", { results: A }))), S = I.continuous && N ? null : { results: A, type: "result" }, I.continuous || !r.stopContinuousRecognitionAsync) { e.next = 57; break } return e.next = 57, P(r.stopContinuousRecognitionAsync.bind(r))(); case 57: n && S && N && (I.dispatchEvent(new x(S.type, S)), S = null), e.next = 61; break; case 60: _ && I.interimResults && I.dispatchEvent(new x("result", { results: [].concat((0, o.default)(A), [(0, h.default)(_.result, { maxAlternatives: I.maxAlternatives, textNormalization: l })]) })); case 61: case "end": return e.stop() } }), e) })), O = 0; case 24: if (m && !T) { e.next = 32; break } return e.delegateYield(C(O), "t0", 26); case 26: if ("break" !== e.t0) { e.next = 29; break } return e.abrupt("break", 32); case 29: O++, e.next = 24; break; case 32: d && this.dispatchEvent(new x("speechend")), p && this.dispatchEvent(new x("soundend")), T && this.dispatchEvent(new x("audioend")), S && ("result" !== S.type || S.results.length || (S = { error: "no-speech", type: "error" }), "error" === S.type ? this.dispatchEvent(new ErrorEvent("error", S)) : this.dispatchEvent(new x(S.type, S))), this.dispatchEvent(new x("end")), b(), e.next = 44; break; case 40: throw e.prev = 40, e.t1 = e.catch(4), console.error(e.t1), e.t1; case 44: return e.prev = 44, u(), r.dispose(), e.finish(44); case 48: case "end": return e.stop() } }), e, this, [ [4, 40, 44, 48] ]) }))), function() { return r.apply(this, arguments) }) }, { key: "continuous", get: function() { return this._continuous }, set: function(e) { this._continuous = e } }, { key: "grammars", get: function() { return this._grammars }, set: function(e) { if (!(e instanceof y.default)) throw new Error("The provided value is not of type 'SpeechGrammarList'"); this._grammars = e } }, { key: "interimResults", get: function() { return this._interimResults }, set: function(e) { this._interimResults = e } }, { key: "maxAlternatives", get: function() { return this._maxAlternatives }, set: function(e) { this._maxAlternatives = e } }, { key: "lang", get: function() { return this._lang }, set: function(e) { this._lang = e } }]), d }(d.EventTarget); return (0, d.defineEventAttribute)(f.prototype, "audioend"), (0, d.defineEventAttribute)(f.prototype, "audiostart"), (0, d.defineEventAttribute)(f.prototype, "cognitiveservices"), (0, d.defineEventAttribute)(f.prototype, "end"), (0, d.defineEventAttribute)(f.prototype, "error"), (0, d.defineEventAttribute)(f.prototype, "nomatch"), (0, d.defineEventAttribute)(f.prototype, "result"), (0, d.defineEventAttribute)(f.prototype, "soundend"), (0, d.defineEventAttribute)(f.prototype, "soundstart"), (0, d.defineEventAttribute)(f.prototype, "speechend"), (0, d.defineEventAttribute)(f.prototype, "speechstart"), (0, d.defineEventAttribute)(f.prototype, "start"), { SpeechGrammarList: y.default, SpeechRecognition: f, SpeechRecognitionEvent: x } } t.default = function(e) { var t = (0, m.default)(e), r = t.audioConfig, n = void 0 === r ? S.fromDefaultMicrophoneInput() : r, o = t.enableTelemetry, s = void 0 === o || o, u = t.fetchCredentials, c = t.looseEvents, l = t.referenceGrammars, f = t.speechRecognitionEndpointId, p = t.textNormalization, d = void 0 === p ? "display" : p; return n || window.navigator.mediaDevices && window.navigator.mediaDevices.getUserMedia ? k({ audioConfig: n, createRecognizer: function() { var e = (0, a.default)(i.default.mark((function e(t) { var r, o, a, s, c, l, p; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, u(); case 2: return r = e.sent, o = r.authorizationToken, a = r.region, s = r.speechRecognitionHostname, c = r.subscriptionKey, s ? (p = { hostname: s, port: 443, protocol: "wss:" }, o ? (l = C.fromHost(p)).authorizationToken = o : l = C.fromHost(p, c)) : l = o ? C.fromAuthorizationToken(o, a) : C.fromSubscription(c, a), f && (l.endpointId = f), l.outputFormat = A.Detailed, l.speechRecognitionLanguage = t || "en-US", e.abrupt("return", new O(l, n)); case 12: case "end": return e.stop() } }), e) }))); return function(t) { return e.apply(this, arguments) } }(), enableTelemetry: s, looseEvents: c, referenceGrammars: l, textNormalization: d }) : (console.warn("web-speech-cognitive-services: This browser does not support WebRTC and it will not work with Cognitive Services Speech Services."), {}) } }, function(e, t, r) { var n = r(1872), i = r(1873), o = r(1874), a = r(1875); e.exports = function(e) { return n(e) || i(e) || o(e) || a() } }, function(e, t, r) { var n = r(1666); e.exports = function(e) { if (Array.isArray(e)) return n(e) } }, function(e, t) { e.exports = function(e) { if ("undefined" != typeof Symbol && Symbol.iterator in Object(e)) return Array.from(e) } }, function(e, t, r) { var n = r(1666); e.exports = function(e, t) { if (e) { if ("string" == typeof e) return n(e, t); var r = Object.prototype.toString.call(e).slice(8, -1); return "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? n(e, t) : void 0 } } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.") } }, function(e, t) { function r(t, n) { return e.exports = r = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e }, r(t, n) } e.exports = r }, function(e, t) { e.exports = function(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e } }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = t.maxAlternatives, n = void 0 === r ? 1 / 0 : r, o = t.textNormalization, u = void 0 === o ? "display" : o; if (e.reason === a || e.reason === s && !e.json.NBest) { var c = [{ confidence: .5, transcript: e.text }]; return e.reason === s && (c.isFinal = !0), c } if (e.reason === s) { var l = (0, i.default)((e.json.NBest || []).slice(0, n).map((function(e) { var t = e.Confidence, r = e.Display, n = e.ITN, i = e.Lexical, o = e.MaskedITN; return { confidence: t, transcript: "itn" === u ? n : "lexical" === u ? i : "maskeditn" === u ? o : r } })), { isFinal: !0 }); return l } return [] }; var i = n(r(1879)), o = n(r(1667)).default.ResultReason, a = o.RecognizingSpeech, s = o.RecognizedSpeech }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { var r = a(a(a({}, [].reduce.call(e, (function(e, t, r) { return e[r] = t, e }), {})), t), {}, (0, i.default)({ length: e.length }, Symbol.iterator, (function() { return [].slice.call(r)[Symbol.iterator]() }))); return r }; var i = n(r(218)); function o(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function a(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? o(Object(r), !0).forEach((function(t) { (0, i.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : o(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e, t = []; return { push: function(r) { if (e) { var n = e.resolve; e = null, n(r) } else t.push(r) }, shift: function() { return t.length ? Promise.resolve(t.shift()) : (e || (e = (0, i.default)())).promise } } }; var i = n(r(1668)) }, function(e, t, r) { var n = r(1882); e.exports = function(e, t) { if (null == e) return {}; var r, i, o = n(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (i = 0; i < a.length; i++) r = a[i], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (o[r] = e[r]) } return o } }, function(e, t) { e.exports = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return "function" == typeof e ? e() : e } }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(152)), o = n(r(158)), a = function() { function e() { (0, i.default)(this, e), this._phrases = [] } return (0, o.default)(e, [{ key: "addFromString", value: function() { throw new Error("JSGF is not supported") } }, { key: "phrases", get: function() { return this._phrases }, set: function(e) { if (Array.isArray(e)) this._phrases = e; else { if ("string" != typeof e) throw new Error("The provided value is not an array or of type 'string'"); this._phrases = [e] } } }]), e }(); t.default = a }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(1886)).default; t.default = i }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(95)), o = n(r(96)), a = n(r(152)), s = n(r(158)), u = n(r(698)), c = n(r(699)), l = n(r(700)), f = r(701), p = n(r(1668)), d = n(r(1887)), h = n(r(1888)), v = n(r(1891)), m = n(r(1892)), y = n(r(1669)), b = n(r(1671)), g = n(r(1893)); function _(e) { var t = function() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0 } catch (e) { return !1 } }(); return function() { var r, n = (0, l.default)(e); if (t) { var i = (0, l.default)(this).constructor; r = Reflect.construct(n, arguments, i) } else r = n.apply(this, arguments); return (0, c.default)(this, r) } } var T = []; t.default = function(e) { var t = (0, y.default)(e), r = t.audioContext, n = t.fetchCredentials, c = t.ponyfill, l = void 0 === c ? { AudioContext: window.AudioContext || window.webkitAudioContext } : c, S = t.speechSynthesisDeploymentId, A = t.speechSynthesisOutputFormat, E = void 0 === A ? "audio-24khz-160kbitrate-mono-mp3" : A; if (!r && !l.AudioContext) return console.warn("web-speech-cognitive-services: This browser does not support Web Audio and it will not work with Cognitive Services Speech Services."), {}; var C = function(e) { (0, u.default)(f, e); var t, c = _(f); function f() { var e; return (0, a.default)(this, f), (e = c.call(this)).queue = new h.default({ audioContext: r, ponyfill: l }), e.updateVoices(), e } return (0, s.default)(f, [{ key: "cancel", value: function() { this.queue.stop() } }, { key: "getVoices", value: function() { return T } }, { key: "pause", value: function() { this.queue.pause() } }, { key: "resume", value: function() { this.queue.resume() } }, { key: "speak", value: function(e) { if (!(e instanceof g.default)) throw new Error("invalid utterance"); var t = (0, p.default)(), r = t.reject, i = t.resolve, o = t.promise, a = function(e) { var t = e.error, n = e.message, i = new Error(t); i.stack = n, r(i) }; return e.addEventListener("end", i), e.addEventListener("error", a), e.preload({ deploymentId: S, fetchCredentials: n, outputFormat: E }), this.queue.push(e), o.finally((function() { e.removeEventListener("end", i), e.removeEventListener("error", a) })) } }, { key: "updateVoices", value: (t = (0, o.default)(i.default.mark((function e() { var t, r, a, s, u, c = this; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, n(); case 2: if (t = e.sent, r = t.customVoiceHostname, a = t.region, s = t.speechSynthesisHostname, u = t.subscriptionKey, !S) { e.next = 14; break } if (!u) { e.next = 12; break } return console.warn("web-speech-cognitive-services: Listing of custom voice models are only available when using subscription key."), e.next = 12, (0, d.default)((0, o.default)(i.default.mark((function e() { var t; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, v.default)({ customVoiceHostname: r, deploymentId: S, region: a, speechSynthesisHostname: s, subscriptionKey: u }); case 2: t = e.sent, c.getVoices = function() { return t }; case 4: case "end": return e.stop() } }), e) })))); case 12: e.next = 16; break; case 14: return e.next = 16, (0, d.default)((0, o.default)(i.default.mark((function e() { var t; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.t0 = m.default, e.next = 3, n(); case 3: return e.t1 = e.sent, e.next = 6, (0, e.t0)(e.t1); case 6: t = e.sent, c.getVoices = function() { return t }; case 8: case "end": return e.stop() } }), e) })))); case 16: this.dispatchEvent(new b.default("voiceschanged")); case 17: case "end": return e.stop() } }), e, this) }))), function() { return t.apply(this, arguments) }) }, { key: "speaking", get: function() { return this.queue.speaking } }]), f }(f.EventTarget); return (0, f.defineEventAttribute)(C.prototype, "voiceschanged"), { speechSynthesis: new C, SpeechSynthesisEvent: b.default, SpeechSynthesisUtterance: g.default } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null; try { var r = e.call(t); return "function" == typeof r.then ? new Promise((function(e) { r.then(e, (function() { return e() })) })) : r } catch (e) {} }, e.exports = t.default, e.exports.default = t.default }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(95)), o = n(r(96)), a = n(r(152)), s = n(r(158)), u = n(r(1889)), c = n(r(1890)), l = function() { function e(t) { var r = t.audioContext, n = t.ponyfill; (0, a.default)(this, e), this.consumer = null, this.paused = !1, this.queue = [], this.getAudioContext = (0, u.default)((function() { return r || new n.AudioContext })) } var t; return (0, s.default)(e, [{ key: "pause", value: function() { this.paused = !0, this.consumer && this.consumer.pause() } }, { key: "push", value: function(e) { this.queue.push(e), this.startConsumer() } }, { key: "resume", value: function() { this.paused = !1, this.consumer ? this.consumer.resume() : this.startConsumer() } }, { key: "startConsumer", value: (t = (0, o.default)(i.default.mark((function e() { return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (this.paused || !this.queue.length || this.consumer) { e.next = 7; break } return this.consumer = new c.default(this.getAudioContext()), e.next = 4, this.consumer.start(this.queue); case 4: this.consumer = null, e.next = 0; break; case 7: case "end": return e.stop() } }), e, this) }))), function() { return t.apply(this, arguments) }) }, { key: "stop", value: function() { this.queue.splice(0), this.consumer && this.consumer.stop() } }, { key: "speaking", get: function() { return !!this.consumer } }]), e }(); t.default = l }, function(e, t, r) { "use strict"; function n(e, t) { if (e.length !== t.length) return !1; for (var r = 0; r < e.length; r++) if (e[r] !== t[r]) return !1; return !0 } e.exports = function(e, t) { var r; void 0 === t && (t = n); var i, o = [], a = !1; return function() { for (var n = [], s = 0; s < arguments.length; s++) n[s] = arguments[s]; return a && r === this && t(n, o) || (i = e.apply(this, n), a = !0, r = this, o = n), i } } }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(95)), o = n(r(96)), a = n(r(152)), s = n(r(158)), u = function() { function e(t) { (0, a.default)(this, e), this.audioContext = t } var t; return (0, s.default)(e, [{ key: "pause", value: function() { this.audioContext && this.audioContext.suspend(), this.playingUtterance && this.playingUtterance.dispatchEvent(new CustomEvent("pause")) } }, { key: "resume", value: function() { this.audioContext && this.audioContext.resume(), this.playingUtterance && this.playingUtterance.dispatchEvent(new CustomEvent("resume")) } }, { key: "start", value: (t = (0, o.default)(i.default.mark((function e(t) { var r; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (!(r = t.shift())) { e.next = 7; break } return this.playingUtterance = r, e.next = 4, r.play(this.audioContext); case 4: this.playingUtterance = null, e.next = 0; break; case 7: case "end": return e.stop() } }), e, this) }))), function(e) { return t.apply(this, arguments) }) }, { key: "stop", value: function() { this.playingUtterance && this.playingUtterance.stop(), "suspended" === this.audioContext.state && this.audioContext.resume() } }]), e }(); t.default = u }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return c.apply(this, arguments) }; var i = n(r(95)), o = n(r(96)), a = n(r(1670)); function s(e) { return u.apply(this, arguments) } function u() { return (u = (0, o.default)(i.default.mark((function e(t) { var r, n, o, a, s, u; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return r = t.customVoiceHostname, n = t.deploymentId, o = t.region, a = t.subscriptionKey, s = r || "".concat(o, ".cris.ai"), e.next = 4, fetch("https://".concat(encodeURI(s), "/api/texttospeech/v2.0/endpoints/").concat(encodeURIComponent(n)), { headers: { accept: "application/json", "ocp-apim-subscription-key": a } }); case 4: if ((u = e.sent).ok) { e.next = 7; break } throw new Error("Failed to fetch custom voices"); case 7: return e.abrupt("return", u.json()); case 8: case "end": return e.stop() } }), e) })))).apply(this, arguments) } function c() { return (c = (0, o.default)(i.default.mark((function e(t) { var r, n, o, u, c, l; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return r = t.customVoiceHostname, n = t.deploymentId, o = t.region, u = t.subscriptionKey, e.next = 3, s({ customVoiceHostname: r, deploymentId: n, region: o, subscriptionKey: u }); case 3: return c = e.sent, l = c.models, e.abrupt("return", l.map((function(e) { var t = e.properties.Gender, r = e.locale, n = e.name; return new a.default({ gender: t, lang: r, voiceURI: n }) })).sort((function(e, t) { var r = e.name, n = t.name; return r > n ? 1 : r < n ? -1 : 0 }))); case 6: case "end": return e.stop() } }), e) })))).apply(this, arguments) } }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return l.apply(this, arguments) }; var i = n(r(95)), o = n(r(218)), a = n(r(96)), s = n(r(1670)); function u(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function c(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? u(Object(r), !0).forEach((function(t) { (0, o.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : u(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function l() { return (l = (0, a.default)(i.default.mark((function e(t) { var r, n, o, a, u, l, f; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return r = t.authorizationToken, n = t.region, o = t.speechSynthesisHostname, a = t.subscriptionKey, u = o || "".concat(encodeURI(n), ".tts.speech.microsoft.com"), e.next = 4, fetch("https://".concat(u, "/cognitiveservices/voices/list"), { headers: c({ "content-type": "application/json" }, r ? { authorization: "Bearer ".concat(r) } : { "Ocp-Apim-Subscription-Key": a }) }); case 4: if ((l = e.sent).ok) { e.next = 7; break } throw new Error("Failed to fetch voices"); case 7: return e.next = 9, l.json(); case 9: return f = e.sent, e.abrupt("return", f.map((function(e) { var t = e.Gender, r = e.Locale, n = e.Name; return new s.default({ gender: t, lang: r, voiceURI: n }) })).sort((function(e, t) { var r = e.name, n = t.name; return r > n ? 1 : r < n ? -1 : 0 }))); case 11: case "end": return e.stop() } }), e) })))).apply(this, arguments) } }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(95)), o = n(r(96)), a = n(r(152)), s = n(r(158)), u = n(r(698)), c = n(r(699)), l = n(r(700)), f = r(701), p = n(r(1894)), d = n(r(1896)), h = n(r(1671)), v = n(r(1900)); function m(e) { var t = function() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0 } catch (e) { return !1 } }(); return function() { var r, n = (0, l.default)(e); if (t) { var i = (0, l.default)(this).constructor; r = Reflect.construct(n, arguments, i) } else r = n.apply(this, arguments); return (0, c.default)(this, r) } } function y(e, t) { return new Promise((function(r, n) { var i = e.decodeAudioData(t, r, n); i && "function" == typeof i.then && r(i) })) } function b(e, t, r) { return new Promise((function(n, i) { var o = new p.default, a = new p.default, s = (0, v.default)(e, "statechange", (function(e) { return "closed" === e.target.state && o.eventListener() })); try { r.buffer = t, r.onended = a.eventListener, r.connect(e.destination), r.start(0), Promise.race([o.upcoming(), a.upcoming()]).then(n) } catch (e) { i(e) } finally { s() } })) } var g = function(e) { (0, u.default)(n, e); var t, r = m(n); function n(e) { var t; return (0, a.default)(this, n), (t = r.call(this))._lang = null, t._pitch = 1, t._rate = 1, t._voice = null, t._volume = 1, t.text = e, t.onboundary = null, t.onend = null, t.onerror = null, t.onmark = null, t.onpause = null, t.onresume = null, t.onstart = null, t } return (0, s.default)(n, [{ key: "preload", value: function(e) { var t = e.deploymentId, r = e.fetchCredentials, n = e.outputFormat; this.arrayBufferPromise = (0, d.default)({ fetchCredentials: r, deploymentId: t, lang: this.lang || window.navigator.language, outputFormat: n, pitch: this.pitch, rate: this.rate, text: this.text, voice: this.voice && this.voice.voiceURI, volume: this.volume }), this.arrayBufferPromise.catch() } }, { key: "play", value: (t = (0, o.default)(i.default.mark((function e(t) { var r, n; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.prev = 0, this.dispatchEvent(new h.default("start")), r = t.createBufferSource(), e.t0 = y, e.t1 = t, e.next = 7, this.arrayBufferPromise; case 7: return e.t2 = e.sent, e.next = 10, (0, e.t0)(e.t1, e.t2); case 10: return n = e.sent, this._playingSource = r, e.next = 14, b(t, n, r); case 14: this._playingSource = null, this.dispatchEvent(new h.default("end")), e.next = 21; break; case 18: e.prev = 18, e.t3 = e.catch(0), this.dispatchEvent(new ErrorEvent("error", { error: "synthesis-failed", message: e.t3.stack })); case 21: case "end": return e.stop() } }), e, this, [ [0, 18] ]) }))), function(e) { return t.apply(this, arguments) }) }, { key: "stop", value: function() { this._playingSource && this._playingSource.stop() } }, { key: "lang", get: function() { return this._lang }, set: function(e) { this._lang = e } }, { key: "pitch", get: function() { return this._pitch }, set: function(e) { this._pitch = e } }, { key: "rate", get: function() { return this._rate }, set: function(e) { this._rate = e } }, { key: "voice", get: function() { return this._voice }, set: function(e) { this._voice = e } }, { key: "volume", get: function() { return this._volume }, set: function(e) { this._volume = e } }]), n }(f.EventTarget); (0, f.defineEventAttribute)(g.prototype, "boundary"), (0, f.defineEventAttribute)(g.prototype, "end"), (0, f.defineEventAttribute)(g.prototype, "error"), (0, f.defineEventAttribute)(g.prototype, "mark"), (0, f.defineEventAttribute)(g.prototype, "pause"), (0, f.defineEventAttribute)(g.prototype, "resume"), (0, f.defineEventAttribute)(g.prototype, "start"); var _ = g; t.default = _ }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n, i = (n = r(1895)) && n.__esModule ? n : { default: n }; function o(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function a(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } var s = function() { function e() { var t = this, r = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; o(this, e), this.defers = [], this.upcomingDeferred = null, this.eventListener = this.eventListener.bind(this), this.options = r, this.one = this.one.bind(this), this.upcoming = this.upcoming.bind(this), this[Symbol.iterator] = function() { return { next: function() { return { done: !1, value: t.upcoming() } } } } } var t, r, n; return t = e, (r = [{ key: "eventListener", value: function(e) { var t = this.defers.shift(), r = this.options.array ? [].slice.call(arguments) : e; t && t.resolve(r), this.upcomingDeferred && (this.upcomingDeferred.resolve(r), this.upcomingDeferred = null) } }, { key: "one", value: function() { var e = (0, i.default)(); return this.defers.push(e), e.promise } }, { key: "upcoming", value: function() { return this.upcomingDeferred || (this.upcomingDeferred = (0, i.default)()), this.upcomingDeferred.promise } }]) && a(t.prototype, r), n && a(t, n), e }(); t.default = s, e.exports = t.default, e.exports.default = t.default }, function(e, t, r) { "use strict"; e.exports = function() { var e = {}; return e.promise = new Promise((function(t, r) { e.resolve = t, e.reject = r })), e } }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return h.apply(this, arguments) }; var i = n(r(95)), o = n(r(218)), a = n(r(96)), s = r(1897), u = n(r(1898)), c = n(r(1899)); function l(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function f(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? l(Object(r), !0).forEach((function(t) { (0, o.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : l(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var p = "Microsoft Server Speech Text to Speech Voice (en-US, JessaRUS)", d = "SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU3LjU2LjEwMQAAAAAAAAAAAAAA//tAwAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAACAAABhgC7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7//////////////////////////////////////////////////////////////////8AAAAATGF2YzU3LjY0AAAAAAAAAAAAAAAAJAUHAAAAAAAAAYYoRBqpAAAAAAD/+xDEAAPAAAGkAAAAIAAANIAAAARMQU1FMy45OS41VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7EMQpg8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV"; function h() { return (h = (0, a.default)(i.default.mark((function e(t) { var r, n, o, a, l, h, v, m, y, b, g, _, T, S, A, E, C, O, w, I, P, x; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (r = t.deploymentId, n = t.fetchCredentials, o = t.lang, a = void 0 === o ? "en-US" : o, l = t.outputFormat, h = void 0 === l ? "riff-16khz-16bit-mono-pcm" : l, v = t.pitch, m = t.rate, y = t.text, b = t.voice, g = void 0 === b ? p : b, _ = t.volume, y) { e.next = 3; break } return e.abrupt("return", (0, s.decode)(d)); case 3: return e.next = 5, n(); case 5: if (T = e.sent, S = T.authorizationToken, A = T.region, E = T.speechSynthesisHostname, C = T.subscriptionKey, !(S && C || !S && !C)) { e.next = 14; break } throw new Error('Only "authorizationToken" or "subscriptionKey" should be set.'); case 14: if (!(A && E || !A && !E)) { e.next = 16; break } throw new Error('Only "region" or "speechSynthesisHostnamename" should be set.'); case 16: return O = (0, c.default)(y) ? y : (0, u.default)({ lang: a, pitch: v, rate: m, text: y, voice: g, volume: _ }), w = E || "".concat(encodeURI(A), r ? ".voice.speech.microsoft.com" : ".tts.speech.microsoft.com"), I = r ? "?deploymentId=".concat(encodeURI(r)) : "", P = "https://".concat(w, "/cognitiveservices/v1").concat(I), e.next = 22, fetch(P, { headers: f({ "Content-Type": "application/ssml+xml", "X-Microsoft-OutputFormat": h }, S ? { Authorization: "Bearer ".concat(S) } : { "Ocp-Apim-Subscription-Key": C }), method: "POST", body: O }); case 22: if ((x = e.sent).ok) { e.next = 25; break } throw new Error("web-speech-cognitive-services: Failed to syntheis speech, server returned ".concat(x.status)); case 25: return e.abrupt("return", x.arrayBuffer()); case 26: case "end": return e.stop() } }), e) })))).apply(this, arguments) } }, function(e, t) { ! function() { "use strict"; for (var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", r = new Uint8Array(256), n = 0; n < e.length; n++) r[e.charCodeAt(n)] = n; t.encode = function(t) { var r, n = new Uint8Array(t), i = n.length, o = ""; for (r = 0; r < i; r += 3) o += e[n[r] >> 2], o += e[(3 & n[r]) << 4 | n[r + 1] >> 4], o += e[(15 & n[r + 1]) << 2 | n[r + 2] >> 6], o += e[63 & n[r + 2]]; return i % 3 == 2 ? o = o.substring(0, o.length - 1) + "=" : i % 3 == 1 && (o = o.substring(0, o.length - 2) + "=="), o }, t.decode = function(e) { var t, n, i, o, a, s = .75 * e.length, u = e.length, c = 0; "=" === e[e.length - 1] && (s--, "=" === e[e.length - 2] && s--); var l = new ArrayBuffer(s), f = new Uint8Array(l); for (t = 0; t < u; t += 4) n = r[e.charCodeAt(t)], i = r[e.charCodeAt(t + 1)], o = r[e.charCodeAt(t + 2)], a = r[e.charCodeAt(t + 3)], f[c++] = n << 2 | i >> 4, f[c++] = (15 & i) << 4 | o >> 2, f[c++] = (3 & o) << 6 | 63 & a; return l } }() }, function(e, t, r) { "use strict"; function n(e) { var t = Math.round(100 * (e - 1)); return t >= 0 && (t = "+" + t), t + "%" } Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.lang, r = e.pitch, i = void 0 === r ? 1 : r, o = e.rate, a = void 0 === o ? 1 : o, s = e.text, u = e.voice, c = e.volume; return '<speak version="1.0" xml:lang="'.concat(t, '">\n <voice xml:lang="').concat(t, '" name="').concat(u, '">\n <prosody pitch="').concat(n(i), '" rate="').concat(n(a), '" volume="').concat(n(c), '">\n ').concat(s, "\n </prosody>\n </voice>\n</speak>") } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return n.test(e) || i.test(e) }; var n = /^[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*<speak([\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]|\/?>)/, i = /^[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*<\?xml[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/ }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r) { return e.addEventListener(t, r), function() { return e.removeEventListener(t, r) } } }, function(e, t, r) { "use strict"; var n = r(47); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return s.apply(this, arguments) }; var i = n(r(95)), o = n(r(96)), a = "https://{region}.api.cognitive.microsoft.com/sts/v1.0/issueToken"; function s() { return (s = (0, o.default)(i.default.mark((function e(t) { var r, n, o; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return r = t.region, n = t.subscriptionKey, e.next = 3, fetch(a.replace(/\{region\}/, r), { headers: { "Ocp-Apim-Subscription-Key": n }, method: "POST" }); case 3: if ((o = e.sent).ok) { e.next = 6; break } throw new Error("Failed to fetch authorization token, server returned ".concat(o.status)); case 6: return e.abrupt("return", o.text()); case 7: case "end": return e.stop() } }), e) })))).apply(this, arguments) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return n.createAdapters.apply(void 0, arguments) }; var n = r(1903) }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "createAdapters", { enumerable: !0, get: function() { return i.default } }), r(1904); var i = n(r(1917)); if ("undefined" != typeof HTMLDocument && "undefined" != typeof document && document instanceof HTMLDocument) { var o = document.createElement("meta"); o.setAttribute("name", "botframework-directlinespeech:version"), o.setAttribute("content", "4.9.1"), document.head.appendChild(o) } }, function(e, t, r) { var n = r(1905); e.exports = n }, function(e, t, r) { r(1906); var n = r(370); e.exports = n.Object.entries }, function(e, t, r) { var n = r(703), i = r(1916).entries; n({ target: "Object", stat: !0 }, { entries: function(e) { return i(e) } }) }, function(e, t, r) { var n = r(219), i = r(1674), o = "".split; e.exports = n((function() { return !Object("z").propertyIsEnumerable(0) })) ? function(e) { return "String" == i(e) ? o.call(e, "") : Object(e) } : Object }, function(e, t, r) { var n = r(76), i = r(1678), o = n.WeakMap; e.exports = "function" == typeof o && /native code/.test(i(o)) }, function(e, t, r) { var n = r(97), i = r(1910), o = r(1672), a = r(155); e.exports = function(e, t) { for (var r = i(t), s = a.f, u = o.f, c = 0; c < r.length; c++) { var l = r[c]; n(e, l) || s(e, l, u(t, l)) } } }, function(e, t, r) { var n = r(710), i = r(1911), o = r(1914), a = r(114); e.exports = n("Reflect", "ownKeys") || function(e) { var t = i.f(a(e)), r = o.f; return r ? t.concat(r(e)) : t } }, function(e, t, r) { var n = r(1682), i = r(712).concat("length", "prototype"); t.f = Object.getOwnPropertyNames || function(e) { return n(e, i) } }, function(e, t, r) { var n = r(348), i = r(1683), o = r(1913), a = function(e) { return function(t, r, a) { var s, u = n(t), c = i(u.length), l = o(a, c); if (e && r != r) { for (; c > l;) if ((s = u[l++]) != s) return !0 } else for (; c > l; l++) if ((e || l in u) && u[l] === r) return e || l || 0; return !e && -1 } }; e.exports = { includes: a(!0), indexOf: a(!1) } }, function(e, t, r) { var n = r(711), i = Math.max, o = Math.min; e.exports = function(e, t) { var r = n(e); return r < 0 ? i(r + t, 0) : o(r, t) } }, function(e, t) { t.f = Object.getOwnPropertySymbols }, function(e, t, r) { var n = r(219), i = /#|\.prototype\./, o = function(e, t) { var r = s[a(e)]; return r == c || r != u && ("function" == typeof t ? n(t) : !!t) }, a = o.normalize = function(e) { return String(e).replace(i, ".").toLowerCase() }, s = o.data = {}, u = o.NATIVE = "N", c = o.POLYFILL = "P"; e.exports = o }, function(e, t, r) { var n = r(153), i = r(1684), o = r(348), a = r(1673).f, s = function(e) { return function(t) { for (var r, s = o(t), u = i(s), c = u.length, l = 0, f = []; c > l;) r = u[l++], n && !a.call(s, r) || f.push(e ? [r, s[r]] : s[r]); return f } }; e.exports = { entries: s(!0), values: s(!1) } }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return p.apply(this, arguments) }; var i = n(r(159)), o = n(r(160)), a = r(690), s = r(702), u = n(r(1919)), c = n(r(1949)), l = n(r(1982)), f = n(r(1983)); function p() { return (p = (0, o.default)(i.default.mark((function e(t) { var r, n, p, d, h, v, m, y, b, g, _, T, S, A, E, C, O, w, I, P, x, N; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (r = t.audioConfig, n = t.audioContext, p = t.audioInputDeviceId, d = t.enableTelemetry, h = t.fetchCredentials, v = t.speechRecognitionEndpointId, m = t.speechRecognitionLanguage, y = void 0 === m ? "undefined" != typeof window && void 0 !== window.navigator && window.navigator.language || "en-US" : m, b = t.speechSynthesisDeploymentId, g = t.speechSynthesisOutputFormat, _ = t.textNormalization, T = t.userID, S = t.username, h) { e.next = 3; break } throw new Error('"fetchCredentials" must be specified.'); case 3: return e.next = 5, (0, f.default)(h); case 5: if (A = e.sent, E = A.authorizationToken, C = A.region, O = A.subscriptionKey, !(!E && !O || E && O || E && "string" != typeof E || O && "string" != typeof O)) { e.next = 11; break } throw new Error('"fetchCredentials" must return either "authorizationToken" or "subscriptionKey" as a non-empty string only.'); case 11: if (void 0 !== d && console.warn("botframework-directlinespeech: Telemetry options are not yet supported. Please refer to Cognitive Services documentation for details."), C && "string" == typeof C) { e.next = 14; break } throw new Error('"fetchCredentials" must return "region" as a non-empty string.'); case 14: return r && p ? console.warn('botframework-directlinespeech-sdk: Only "audioConfig" or "audioInputDeviceId" can be specified, but not both; ignoring "audioInputDeviceId".') : r || (r = p ? a.AudioConfig.fromMicrophoneInput(p) : a.AudioConfig.fromDefaultMicrophoneInput()), v && console.warn('botframework-directlinespeech: Custom Speech is currently not supported; ignoring "speechRecognitionEndpointId".'), b && console.warn('botframework-directlinespeech: Custom Voice is currently not supported; ignoring "speechSynthesisDeploymentId".'), g && console.warn('botframework-directlinespeech: Synthesis output format is currently not supported; ignoring "speechSynthesisOutputFormat".'), _ && console.warn('botframework-directlinespeech: Text normalization is currently not supported; ignoring "textNormalization".'), (T || S) && console.warn('botframework-directlinespeech: Custom "userId" and "username" are currently not supported and are ignored.'), (w = E ? s.BotFrameworkConfig.fromAuthorizationToken(E, C) : s.BotFrameworkConfig.fromSubscription(O, C)).setProperty(s.PropertyId.SpeechServiceConnection_RecoLanguage, y), T && w.setProperty(s.PropertyId.Conversation_From_Id, T), (I = (0, l.default)(new s.DialogServiceConnector(w, r))).connect(), E && (P = setInterval((0, o.default)(i.default.mark((function e() { var t, r, n; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return I.privIsDisposed && clearInterval(P), e.next = 3, (0, f.default)(h); case 3: if (t = e.sent, r = t.authorizationToken, n = t.region, r) { e.next = 8; break } return e.abrupt("return", console.warn('botframework-directlinespeech-sdk: Renew token failed because "fetchCredentials" call returned no authorization token.')); case 8: if (C === n) { e.next = 10; break } return e.abrupt("return", console.warn("botframework-directlinespeech-sdk: Region change is not supported for renewed token. Authorization token is not renewed.")); case 10: I.authorizationToken = r; case 11: case "end": return e.stop() } }), e) }))), 12e4)), x = new c.default({ dialogServiceConnector: I }), N = (0, u.default)({ audioContext: n, enableTelemetry: d, recognizer: I, textNormalization: _ }), e.abrupt("return", { directLine: x, webSpeechPonyfillFactory: N }); case 29: case "end": return e.stop() } }), e) })))).apply(this, arguments) } }, function(e, t, r) { var n = function(e) { "use strict"; var t = Object.prototype, r = t.hasOwnProperty, n = "function" == typeof Symbol ? Symbol : {}, i = n.iterator || "@@iterator", o = n.asyncIterator || "@@asyncIterator", a = n.toStringTag || "@@toStringTag"; function s(e, t, r, n) { var i = t && t.prototype instanceof l ? t : l, o = Object.create(i.prototype), a = new S(n || []); return o._invoke = function(e, t, r) { var n = "suspendedStart"; return function(i, o) { if ("executing" === n) throw new Error("Generator is already running"); if ("completed" === n) { if ("throw" === i) throw o; return E() } for (r.method = i, r.arg = o;;) { var a = r.delegate; if (a) { var s = g(a, r); if (s) { if (s === c) continue; return s } } if ("next" === r.method) r.sent = r._sent = r.arg; else if ("throw" === r.method) { if ("suspendedStart" === n) throw n = "completed", r.arg; r.dispatchException(r.arg) } else "return" === r.method && r.abrupt("return", r.arg); n = "executing"; var l = u(e, t, r); if ("normal" === l.type) { if (n = r.done ? "completed" : "suspendedYield", l.arg === c) continue; return { value: l.arg, done: r.done } } "throw" === l.type && (n = "completed", r.method = "throw", r.arg = l.arg) } } }(e, r, a), o } function u(e, t, r) { try { return { type: "normal", arg: e.call(t, r) } } catch (e) { return { type: "throw", arg: e } } } e.wrap = s; var c = {}; function l() {} function f() {} function p() {} var d = {}; d[i] = function() { return this }; var h = Object.getPrototypeOf, v = h && h(h(A([]))); v && v !== t && r.call(v, i) && (d = v); var m = p.prototype = l.prototype = Object.create(d); function y(e) { ["next", "throw", "return"].forEach((function(t) { e[t] = function(e) { return this._invoke(t, e) } })) } function b(e, t) { var n; this._invoke = function(i, o) { function a() { return new t((function(n, a) { ! function n(i, o, a, s) { var c = u(e[i], e, o); if ("throw" !== c.type) { var l = c.arg, f = l.value; return f && "object" == typeof f && r.call(f, "__await") ? t.resolve(f.__await).then((function(e) { n("next", e, a, s) }), (function(e) { n("throw", e, a, s) })) : t.resolve(f).then((function(e) { l.value = e, a(l) }), (function(e) { return n("throw", e, a, s) })) } s(c.arg) }(i, o, n, a) })) } return n = n ? n.then(a, a) : a() } } function g(e, t) { var r = e.iterator[t.method]; if (void 0 === r) { if (t.delegate = null, "throw" === t.method) { if (e.iterator.return && (t.method = "return", t.arg = void 0, g(e, t), "throw" === t.method)) return c; t.method = "throw", t.arg = new TypeError("The iterator does not provide a 'throw' method") } return c } var n = u(r, e.iterator, t.arg); if ("throw" === n.type) return t.method = "throw", t.arg = n.arg, t.delegate = null, c; var i = n.arg; return i ? i.done ? (t[e.resultName] = i.value, t.next = e.nextLoc, "return" !== t.method && (t.method = "next", t.arg = void 0), t.delegate = null, c) : i : (t.method = "throw", t.arg = new TypeError("iterator result is not an object"), t.delegate = null, c) } function _(e) { var t = { tryLoc: e[0] }; 1 in e && (t.catchLoc = e[1]), 2 in e && (t.finallyLoc = e[2], t.afterLoc = e[3]), this.tryEntries.push(t) } function T(e) { var t = e.completion || {}; t.type = "normal", delete t.arg, e.completion = t } function S(e) { this.tryEntries = [{ tryLoc: "root" }], e.forEach(_, this), this.reset(!0) } function A(e) { if (e) { var t = e[i]; if (t) return t.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var n = -1, o = function t() { for (; ++n < e.length;) if (r.call(e, n)) return t.value = e[n], t.done = !1, t; return t.value = void 0, t.done = !0, t }; return o.next = o } } return { next: E } } function E() { return { value: void 0, done: !0 } } return f.prototype = m.constructor = p, p.constructor = f, p[a] = f.displayName = "GeneratorFunction", e.isGeneratorFunction = function(e) { var t = "function" == typeof e && e.constructor; return !!t && (t === f || "GeneratorFunction" === (t.displayName || t.name)) }, e.mark = function(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, p) : (e.__proto__ = p, a in e || (e[a] = "GeneratorFunction")), e.prototype = Object.create(m), e }, e.awrap = function(e) { return { __await: e } }, y(b.prototype), b.prototype[o] = function() { return this }, e.AsyncIterator = b, e.async = function(t, r, n, i, o) { void 0 === o && (o = Promise); var a = new b(s(t, r, n, i), o); return e.isGeneratorFunction(r) ? a : a.next().then((function(e) { return e.done ? e.value : a.next() })) }, y(m), m[a] = "Generator", m[i] = function() { return this }, m.toString = function() { return "[object Generator]" }, e.keys = function(e) { var t = []; for (var r in e) t.push(r); return t.reverse(), function r() { for (; t.length;) { var n = t.pop(); if (n in e) return r.value = n, r.done = !1, r } return r.done = !0, r } }, e.values = A, S.prototype = { constructor: S, reset: function(e) { 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(T), !e) for (var t in this) "t" === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0) }, stop: function() { this.done = !0; var e = this.tryEntries[0].completion; if ("throw" === e.type) throw e.arg; return this.rval }, dispatchException: function(e) { if (this.done) throw e; var t = this; function n(r, n) { return a.type = "throw", a.arg = e, t.next = r, n && (t.method = "next", t.arg = void 0), !!n } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var o = this.tryEntries[i], a = o.completion; if ("root" === o.tryLoc) return n("end"); if (o.tryLoc <= this.prev) { var s = r.call(o, "catchLoc"), u = r.call(o, "finallyLoc"); if (s && u) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0); if (this.prev < o.finallyLoc) return n(o.finallyLoc) } else if (s) { if (this.prev < o.catchLoc) return n(o.catchLoc, !0) } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < o.finallyLoc) return n(o.finallyLoc) } } } }, abrupt: function(e, t) { for (var n = this.tryEntries.length - 1; n >= 0; --n) { var i = this.tryEntries[n]; if (i.tryLoc <= this.prev && r.call(i, "finallyLoc") && this.prev < i.finallyLoc) { var o = i; break } } o && ("break" === e || "continue" === e) && o.tryLoc <= t && t <= o.finallyLoc && (o = null); var a = o ? o.completion : {}; return a.type = e, a.arg = t, o ? (this.method = "next", this.next = o.finallyLoc, c) : this.complete(a) }, complete: function(e, t) { if ("throw" === e.type) throw e.arg; return "break" === e.type || "continue" === e.type ? this.next = e.arg : "return" === e.type ? (this.rval = this.arg = e.arg, this.method = "return", this.next = "end") : "normal" === e.type && t && (this.next = t), c }, finish: function(e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), T(r), c } }, catch: function(e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var r = this.tryEntries[t]; if (r.tryLoc === e) { var n = r.completion; if ("throw" === n.type) { var i = n.arg; T(r) } return i } } throw new Error("illegal catch attempt") }, delegateYield: function(e, t, r) { return this.delegate = { iterator: A(e), resultName: t, nextLoc: r }, "next" === this.method && (this.arg = void 0), c } }, e }(e.exports); try { regeneratorRuntime = n } catch (e) { Function("r", "regeneratorRuntime = r")(n) } }, function(e, t, r) { "use strict"; var n = r(713), i = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.audioContext, r = e.enableTelemetry, n = e.ponyfill, i = void 0 === n ? { AudioContext: window.AudioContext || window.webkitAudioContext } : n, T = e.recognizer, S = e.textNormalization; if (!i.AudioContext) return console.warn("botframework-directlinespeech-sdk: This browser does not support Web Audio API. Speech support is disabled."), function() { return {} }; return function() { var e = (0, p.createSpeechRecognitionPonyfillFromRecognizer)({ createRecognizer: function() { return T }, enableTelemetry: r, looseEvents: !0, textNormalization: S }), n = e.SpeechGrammarList, A = e.SpeechRecognition; t || (t = new i.AudioContext); var E = (0, m.default)(), C = E.cancelAll, O = E.push, w = function(e) { (0, c.default)(n, e); var r = function(e) { function t() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0 } catch (e) { return !1 } } return function() { var r, n = (0, f.default)(e); if (t()) { var i = (0, f.default)(this).constructor; r = Reflect.construct(n, arguments, i) } else r = n.apply(this, arguments); return (0, l.default)(this, r) } }(n); function n() { return (0, s.default)(this, n), r.apply(this, arguments) } return (0, u.default)(n, [{ key: "cancel", value: function() { C() } }, { key: "getVoices", value: function() { return [] } }, { key: "speak", value: function(e) { O((function() { var r = new d.default, n = r.signal; return { abort: r.abort.bind(r), result: (0, a.default)(o.default.mark((function r() { var i, a, s; return o.default.wrap((function(r) { for (;;) switch (r.prev = r.next) { case 0: if (e.dispatchEvent((0, h.default)("start")), r.prev = 1, !e.audioStream) { r.next = 8; break } return i = e.audioStream, a = i.format, s = i.streamReader, r.next = 6, (0, b.default)(t, a, s, { signal: n }); case 6: r.next = 10; break; case 8: return r.next = 10, (0, g.default)(t); case 10: r.next = 16; break; case 12: if (r.prev = 12, r.t0 = r.catch(1), "aborted" === r.t0.message) { r.next = 16; break } return r.abrupt("return", e.dispatchEvent((0, v.default)(r.t0))); case 16: e.dispatchEvent((0, h.default)("end")); case 17: case "end": return r.stop() } }), r, null, [ [1, 12] ]) })))() } })).result.catch((function(e) { if (!/^cancelled/i.test(e.message)) throw e })) } }]), n }(y.default); return (0, y.defineEventAttribute)(w, "voiceschanged"), { SpeechGrammarList: n, SpeechRecognition: A, speechSynthesis: new w, SpeechSynthesisUtterance: _.default } } }; var o = i(r(159)), a = i(r(160)), s = i(r(349)), u = i(r(371)), c = i(r(714)), l = i(r(715)), f = i(r(716)), p = r(1922), d = i(r(1935)), h = i(r(1688)), v = i(r(1940)), m = i(r(1941)), y = n(r(717)), b = i(r(1942)), g = i(r(1945)), _ = i(r(1689)) }, function(e, t) { function r(t, n) { return e.exports = r = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e }, r(t, n) } e.exports = r }, function(e, t) { e.exports = function(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e } }, function(e, t, r) { "use strict"; var n = r(713); Object.defineProperty(t, "__esModule", { value: !0 }), Object.defineProperty(t, "createSpeechRecognitionPonyfillFromRecognizer", { enumerable: !0, get: function() { return i.createSpeechRecognitionPonyfillFromRecognizer } }), t.default = void 0; var i = n(r(1923)), o = i.default; t.default = o }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.createSpeechRecognitionPonyfillFromRecognizer = N, t.default = void 0; var i = n(r(159)), o = n(r(1686)), a = n(r(160)), s = n(r(371)), u = n(r(715)), c = n(r(716)), l = n(r(714)), f = n(r(350)), p = n(r(349)), d = r(717), h = n(r(1927)), v = n(r(1929)), m = n(r(1930)), y = n(r(1934)), b = n(r(1687)); function g(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function _(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? g(Object(r), !0).forEach((function(t) { (0, f.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : g(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var T = b.default.AudioConfig, S = b.default.OutputFormat, A = b.default.ResultReason, E = b.default.SpeechConfig, C = b.default.SpeechRecognizer; function O(e) { var t = e.duration, r = e.errorDetails, n = e.json, i = e.offset, o = e.properties, a = e.reason, s = e.resultId, u = e.text; return { duration: t, errorDetails: r, json: JSON.parse(n), offset: i, properties: o, reason: a, resultId: s, text: u } } function w(e, t) { return function() { return e.apply(void 0, arguments).onSuccessContinueWith((function(e) { return t(e) })) } } function I(e) { return function() { for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++) r[n] = arguments[n]; return new Promise((function(t, n) { return e.apply(void 0, r.concat([t, n])) })) } } var P = function e(t) { var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, n = r.data, i = r.emma, o = r.interpretation, a = r.resultIndex, s = r.results; (0, p.default)(this, e), this.data = n, this.emma = i, this.interpretation = o, this.resultIndex = a, this.results = s, this.type = t }; function x(e) { var t, r, n = e.attach; return e.attach = w(n.bind(e), (function(n) { return _({}, n, { read: w(n.read.bind(n), (function(n) { var i, o; return !t && (i = n.buffer, o = new Int16Array(i), [].reduce.call(o, (function(e, t) { return e + Math.abs(t) }), 0) / o.length > 150) && (e.events.onEvent({ name: "FirstAudibleChunk" }), t = !0), r ? { buffer: new ArrayBuffer(0), isEnd: !0, timeReceived: Date.now() } : n })) }) })), { audioConfig: e, pause: function() { r = !0 }, unprepare: function() { e.attach = n } } } function N(e) { var t = e.createRecognizer, r = e.enableTelemetry, n = e.looseEvents, f = e.referenceGrammars, m = e.textNormalization; C.enableTelemetry(!1 !== r); var b = function(e) { function r() { var e; return (0, p.default)(this, r), (e = (0, u.default)(this, (0, c.default)(r).call(this)))._continuous = !1, e._interimResults = !1, e._lang = "undefined" != typeof window ? window.document.documentElement.getAttribute("lang") || window.navigator.language : "en-US", e._grammars = new y.default, e._maxAlternatives = 1, e } var d; return (0, l.default)(r, e), (0, s.default)(r, [{ key: "emitCognitiveServices", value: function(e, t) { this.dispatchEvent(new P("cognitiveservices", { data: _({}, t, { type: e }) })) } }, { key: "start", value: function() { var e = this; this._startOnce().catch((function(t) { e.dispatchEvent(new ErrorEvent("error", { error: t, message: t && (t.stack || t.message) })) })) } }, { key: "_startOnce", value: (d = (0, a.default)(i.default.mark((function e() { var r, a, s, u, c, l, p, d, y, b, g, _, T, S, E, C, w, N = this; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, t(this.lang); case 2: return r = e.sent, a = x(r.audioConfig), s = a.pause, u = a.unprepare, e.prev = 4, c = (0, v.default)(), y = r.audioConfig.events.attach((function(e) { var t = e.name; "AudioSourceReadyEvent" === t ? c.push({ audioSourceReady: {} }) : "AudioSourceOffEvent" === t ? c.push({ audioSourceOff: {} }) : "FirstAudibleChunk" === t && c.push({ firstAudibleChunk: {} }) })), b = y.detach, r.canceled = function(e, t) { var r = t.errorDetails, n = t.offset, i = t.reason, o = t.sessionId; c.push({ canceled: { errorDetails: r, offset: n, reason: i, sessionId: o } }) }, r.recognized = function(e, t) { var r = t.offset, n = t.result, i = t.sessionId; c.push({ recognized: { offset: r, result: O(n), sessionId: i } }) }, r.recognizing = function(e, t) { var r = t.offset, n = t.result, i = t.sessionId; c.push({ recognizing: { offset: r, result: O(n), sessionId: i } }) }, r.sessionStarted = function(e, t) { var r = t.sessionId; c.push({ sessionStarted: { sessionId: r } }) }, r.sessionStopped = function(e, t) { var r = t.sessionId; c.push({ sessionStopped: { sessionId: r } }) }, r.speechStartDetected = function(e, t) { var r = t.offset, n = t.sessionId; c.push({ speechStartDetected: { offset: r, sessionId: n } }) }, r.speechEndDetected = function(e, t) { var r = t.sessionId; c.push({ speechEndDetected: { sessionId: r } }) }, g = this.grammars.phrases, _ = r.privReco.dynamicGrammar, f && f.length && _.addReferenceGrammar(f), g && g.length && _.addPhrase(g), e.next = 20, I(r.startContinuousRecognitionAsync.bind(r))(); case 20: r.stopContinuousRecognitionAsync ? (this.abort = function() { return c.push({ abort: {} }) }, this.stop = function() { return c.push({ stop: {} }) }) : this.abort = this.stop = void 0, E = [], C = i.default.mark((function e(t) { var a, u, f, v, y, b, g, _, C, O, w, x; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, c.shift(); case 2: if (a = e.sent, u = a.abort, f = a.audioSourceOff, v = a.audioSourceReady, y = a.canceled, b = a.firstAudibleChunk, g = a.recognized, _ = a.recognizing, C = a.stop, Object.keys(a).forEach((function(e) { return N.emitCognitiveServices(e, a[e]) })), O = y && y.errorDetails, !/Permission[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]denied/.test(O || "")) { e.next = 9; break } return S = { error: "not-allowed", type: "error" }, e.abrupt("return", "break"); case 9: if (t || N.dispatchEvent(new P("start")), !O) { e.next = 15; break } return /1006/.test(O) ? (T || (N.dispatchEvent(new P("audiostart")), N.dispatchEvent(new P("audioend"))), S = { error: "network", type: "error" }) : S = { error: "unknown", type: "error" }, e.abrupt("return", "break"); case 15: if (!u && !C) { e.next = 22; break } if (u ? (S = { error: "aborted", type: "error" }, d = "abort") : (s(), d = "stop"), !u || !r.stopContinuousRecognitionAsync) { e.next = 20; break } return e.next = 20, I(r.stopContinuousRecognitionAsync.bind(r))(); case 20: e.next = 61; break; case 22: if (!v) { e.next = 27; break } N.dispatchEvent(new P("audiostart")), T = !0, e.next = 61; break; case 27: if (!b) { e.next = 32; break } N.dispatchEvent(new P("soundstart")), l = !0, e.next = 61; break; case 32: if (!f) { e.next = 40; break } return p && N.dispatchEvent(new P("speechend")), l && N.dispatchEvent(new P("soundend")), T && N.dispatchEvent(new P("audioend")), T = l = p = !1, e.abrupt("return", "break"); case 40: if ("abort" === d) { e.next = 61; break } if (!g || !g.result || g.result.reason !== A.NoMatch) { e.next = 45; break } S = { error: "no-speech", type: "error" }, e.next = 61; break; case 45: if (!g && !_) { e.next = 61; break } if (T || (N.dispatchEvent(new P("audiostart")), T = !0), l || (N.dispatchEvent(new P("soundstart")), l = !0), p || (N.dispatchEvent(new P("speechstart")), p = !0), !g) { e.next = 60; break } if (w = (0, h.default)(g.result, { maxAlternatives: N.maxAlternatives, textNormalization: m }), (x = !!w[0].transcript) && (E = [].concat((0, o.default)(E), [w]), N.continuous && N.dispatchEvent(new P("result", { results: E }))), S = N.continuous && x ? null : { results: E, type: "result" }, N.continuous || !r.stopContinuousRecognitionAsync) { e.next = 57; break } return e.next = 57, I(r.stopContinuousRecognitionAsync.bind(r))(); case 57: n && S && x && (N.dispatchEvent(new P(S.type, S)), S = null), e.next = 61; break; case 60: _ && N.interimResults && N.dispatchEvent(new P("result", { results: [].concat((0, o.default)(E), [(0, h.default)(_.result, { maxAlternatives: N.maxAlternatives, textNormalization: m })]) })); case 61: case "end": return e.stop() } }), e) })), w = 0; case 24: if (d && !T) { e.next = 32; break } return e.delegateYield(C(w), "t0", 26); case 26: if ("break" !== e.t0) { e.next = 29; break } return e.abrupt("break", 32); case 29: w++, e.next = 24; break; case 32: p && this.dispatchEvent(new P("speechend")), l && this.dispatchEvent(new P("soundend")), T && this.dispatchEvent(new P("audioend")), S && ("result" !== S.type || S.results.length || (S = { error: "no-speech", type: "error" }), "error" === S.type ? this.dispatchEvent(new ErrorEvent("error", S)) : this.dispatchEvent(new P(S.type, S))), this.dispatchEvent(new P("end")), b(), e.next = 44; break; case 40: throw e.prev = 40, e.t1 = e.catch(4), console.error(e.t1), e.t1; case 44: return e.prev = 44, u(), r.dispose(), e.finish(44); case 48: case "end": return e.stop() } }), e, this, [ [4, 40, 44, 48] ]) }))), function() { return d.apply(this, arguments) }) }, { key: "continuous", get: function() { return this._continuous }, set: function(e) { this._continuous = e } }, { key: "grammars", get: function() { return this._grammars }, set: function(e) { if (!(e instanceof y.default)) throw new Error("The provided value is not of type 'SpeechGrammarList'"); this._grammars = e } }, { key: "interimResults", get: function() { return this._interimResults }, set: function(e) { this._interimResults = e } }, { key: "maxAlternatives", get: function() { return this._maxAlternatives }, set: function(e) { this._maxAlternatives = e } }, { key: "lang", get: function() { return this._lang }, set: function(e) { this._lang = e } }]), r }(d.EventTarget); return (0, d.defineEventAttribute)(b.prototype, "audioend"), (0, d.defineEventAttribute)(b.prototype, "audiostart"), (0, d.defineEventAttribute)(b.prototype, "cognitiveservices"), (0, d.defineEventAttribute)(b.prototype, "end"), (0, d.defineEventAttribute)(b.prototype, "error"), (0, d.defineEventAttribute)(b.prototype, "nomatch"), (0, d.defineEventAttribute)(b.prototype, "result"), (0, d.defineEventAttribute)(b.prototype, "soundend"), (0, d.defineEventAttribute)(b.prototype, "soundstart"), (0, d.defineEventAttribute)(b.prototype, "speechend"), (0, d.defineEventAttribute)(b.prototype, "speechstart"), (0, d.defineEventAttribute)(b.prototype, "start"), { SpeechGrammarList: y.default, SpeechRecognition: b, SpeechRecognitionEvent: P } } t.default = function(e) { var t = (0, m.default)(e), r = t.audioConfig, n = void 0 === r ? T.fromDefaultMicrophoneInput() : r, o = t.enableTelemetry, s = void 0 === o || o, u = t.fetchCredentials, c = t.looseEvents, l = t.referenceGrammars, f = t.speechRecognitionEndpointId, p = t.textNormalization, d = void 0 === p ? "display" : p; return n || window.navigator.mediaDevices && window.navigator.mediaDevices.getUserMedia ? N({ audioConfig: n, createRecognizer: function() { var e = (0, a.default)(i.default.mark((function e(t) { var r, o, a, s, c, l, p; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, u(); case 2: return r = e.sent, o = r.authorizationToken, a = r.region, s = r.speechRecognitionHostname, c = r.subscriptionKey, s ? (p = { hostname: s, port: 443, protocol: "wss:" }, o ? (l = E.fromHost(p)).authorizationToken = o : l = E.fromHost(p, c)) : l = o ? E.fromAuthorizationToken(o, a) : E.fromSubscription(c, a), f && (l.endpointId = f), l.outputFormat = S.Detailed, l.speechRecognitionLanguage = t || "en-US", e.abrupt("return", new C(l, n)); case 12: case "end": return e.stop() } }), e) }))); return function(t) { return e.apply(this, arguments) } }(), enableTelemetry: s, looseEvents: c, referenceGrammars: l, textNormalization: d }) : (console.warn("web-speech-cognitive-services: This browser does not support WebRTC and it will not work with Cognitive Services Speech Services."), {}) } }, function(e, t) { e.exports = function(e) { if (Array.isArray(e)) { for (var t = 0, r = new Array(e.length); t < e.length; t++) r[t] = e[t]; return r } } }, function(e, t) { e.exports = function(e) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) return Array.from(e) } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to spread non-iterable instance") } }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r = t.maxAlternatives, n = void 0 === r ? 1 / 0 : r, o = t.textNormalization, u = void 0 === o ? "display" : o; if (e.reason === a || e.reason === s && !e.json.NBest) { var c = [{ confidence: .5, transcript: e.text }]; return e.reason === s && (c.isFinal = !0), c } if (e.reason === s) { var l = (0, i.default)((e.json.NBest || []).slice(0, n).map((function(e) { var t = e.Confidence, r = e.Display, n = e.ITN, i = e.Lexical, o = e.MaskedITN; return { confidence: t, transcript: "itn" === u ? n : "lexical" === u ? i : "maskeditn" === u ? o : r } })), { isFinal: !0 }); return l } return [] }; var i = n(r(1928)), o = n(r(1687)).default.ResultReason, a = o.RecognizingSpeech, s = o.RecognizedSpeech }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t) { var r = function(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? o(Object(r), !0).forEach((function(t) { (0, i.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : o(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e }({}, [].reduce.call(e, (function(e, t, r) { return e[r] = t, e }), {}), {}, t, (0, i.default)({ length: e.length }, Symbol.iterator, (function() { return [].slice.call(r)[Symbol.iterator]() }))); return r }; var i = n(r(350)); function o(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e, t = []; return { push: function(r) { if (e) { var n = e.resolve; e = null, n(r) } else t.push(r) }, shift: function() { return t.length ? Promise.resolve(t.shift()) : (e || (e = (0, i.default)())).promise } } }; var i = n(r(718)) }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}, t = e.authorizationToken, r = e.credentials, n = e.looseEvent, i = e.looseEvents, c = e.region, p = void 0 === c ? "westus" : c, d = e.subscriptionKey, h = (0, s.default)(e, ["authorizationToken", "credentials", "looseEvent", "looseEvents", "region", "subscriptionKey"]); void 0 !== n && (console.warn('web-speech-cognitive-services: The option "looseEvent" should be named as "looseEvents".'), i = n); if (!r) { if (!t && !d) throw new Error("web-speech-cognitive-services: Credentials must be specified."); console.warn("web-speech-cognitive-services: We are deprecating authorizationToken, region, and subscriptionKey. Please use credentials instead. The deprecated option will be removed on or after 2020-11-14."), r = function() { var e = (0, a.default)(o.default.mark((function e() { return o.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (!t) { e.next = 8; break } return e.next = 3, (0, u.default)(t); case 3: e.t1 = e.sent, e.t2 = p, e.t0 = { authorizationToken: e.t1, region: e.t2 }, e.next = 13; break; case 8: return e.t3 = p, e.next = 11, (0, u.default)(d); case 11: e.t4 = e.sent, e.t0 = { region: e.t3, subscriptionKey: e.t4 }; case 13: return e.abrupt("return", e.t0); case 14: case "end": return e.stop() } }), e) }))); return function() { return e.apply(this, arguments) } }() } return l({}, h, { fetchCredentials: (v = (0, a.default)(o.default.mark((function e() { var t, n, i, a, s, c, l, p; return o.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return e.next = 2, (0, u.default)(r); case 2: if (t = e.sent, n = t.authorizationToken, i = t.customVoiceHostname, a = t.region, s = t.speechRecognitionHostname, c = t.speechSynthesisHostname, l = t.subscriptionKey, !(!n && !l || n && l)) { e.next = 13; break } throw new Error('web-speech-cognitive-services: Either "authorizationToken" or "subscriptionKey" must be provided.'); case 13: if (a || s && c) { e.next = 17; break } throw new Error('web-speech-cognitive-services: Either "region" or "speechRecognitionHostname" and "speechSynthesisHostname" must be set.'); case 17: if (!a || !(i || s || c)) { e.next = 21; break } throw new Error('web-speech-cognitive-services: Only either "region" or "customVoiceHostname", "speechRecognitionHostname" and "speechSynthesisHostname" can be set.'); case 21: if (!n) { e.next = 26; break } if ("string" == typeof n) { e.next = 24; break } throw new Error('web-speech-cognitive-services: "authorizationToken" must be a string.'); case 24: e.next = 28; break; case 26: if ("string" == typeof l) { e.next = 28; break } throw new Error('web-speech-cognitive-services: "subscriptionKey" must be a string.'); case 28: return f && l && (console.warn("web-speech-cognitive-services: In production environment, subscription key should not be used, authorization token should be used instead."), f = !1), p = n ? { authorizationToken: n } : { subscriptionKey: l }, a ? p.region = a : (p.customVoiceHostname = i, p.speechRecognitionHostname = s, p.speechSynthesisHostname = c), e.abrupt("return", p); case 32: case "end": return e.stop() } }), e) }))), function() { return v.apply(this, arguments) }), looseEvents: i }); var v }; var i = n(r(350)), o = n(r(159)), a = n(r(160)), s = n(r(1931)), u = n(r(1933)); function c(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function l(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? c(Object(r), !0).forEach((function(t) { (0, i.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : c(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var f = !0 }, function(e, t, r) { var n = r(1932); e.exports = function(e, t) { if (null == e) return {}; var r, i, o = n(e, t); if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(e); for (i = 0; i < a.length; i++) r = a[i], t.indexOf(r) >= 0 || Object.prototype.propertyIsEnumerable.call(e, r) && (o[r] = e[r]) } return o } }, function(e, t) { e.exports = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return "function" == typeof e ? e() : e } }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(349)), o = n(r(371)), a = function() { function e() { (0, i.default)(this, e), this._phrases = [] } return (0, o.default)(e, [{ key: "addFromString", value: function() { throw new Error("JSGF is not supported") } }, { key: "phrases", get: function() { return this._phrases }, set: function(e) { if (Array.isArray(e)) this._phrases = e; else { if ("string" != typeof e) throw new Error("The provided value is not an array or of type 'string'"); this._phrases = [e] } } }]), e }(); t.default = a }, function(e, t) { e.exports = function(e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var i = t[n] = { i: n, l: !1, exports: {} }; return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } return r.m = e, r.c = t, r.d = function(e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }, r.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, r.t = function(e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var i in e) r.d(n, i, function(t) { return e[t] }.bind(null, i)); return n }, r.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return r.d(t, "a", t), t }, r.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, r.p = "", r(r.s = 0) }([function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } r.r(t), r.d(t, "AbortController", (function() { return R })), r.d(t, "AbortSignal", (function() { return L })); var i = new WeakMap, o = new WeakMap; function a(e) { var t = i.get(e); return console.assert(null != t, "'this' is expected an Event object, but got", e), t } function s(e) { null == e.passiveListener ? e.event.cancelable && (e.canceled = !0, "function" == typeof e.event.preventDefault && e.event.preventDefault()) : "undefined" != typeof console && "function" == typeof console.error && console.error("Unable to preventDefault inside passive event listener invocation.", e.passiveListener) } function u(e, t) { i.set(this, { eventTarget: e, event: t, eventPhase: 2, currentTarget: e, canceled: !1, stopped: !1, immediateStopped: !1, passiveListener: null, timeStamp: t.timeStamp || Date.now() }), Object.defineProperty(this, "isTrusted", { value: !1, enumerable: !0 }); for (var r = Object.keys(t), n = 0; n < r.length; ++n) { var o = r[n]; o in this || Object.defineProperty(this, o, c(o)) } } function c(e) { return { get: function() { return a(this).event[e] }, set: function(t) { a(this).event[e] = t }, configurable: !0, enumerable: !0 } } function l(e) { return { value: function() { var t = a(this).event; return t[e].apply(t, arguments) }, configurable: !0, enumerable: !0 } } function f(e) { if (null == e || e === Object.prototype) return u; var t = o.get(e); return null == t && (t = function(e, t) { var r = Object.keys(t); if (0 === r.length) return e; function n(t, r) { e.call(this, t, r) } n.prototype = Object.create(e.prototype, { constructor: { value: n, configurable: !0, writable: !0 } }); for (var i = 0; i < r.length; ++i) { var o = r[i]; if (!(o in e.prototype)) { var a = "function" == typeof Object.getOwnPropertyDescriptor(t, o).value; Object.defineProperty(n.prototype, o, a ? l(o) : c(o)) } } return n }(f(Object.getPrototypeOf(e)), e), o.set(e, t)), t } function p(e) { return a(e).immediateStopped } function d(e, t) { a(e).passiveListener = t } u.prototype = { get type() { return a(this).event.type }, get target() { return a(this).eventTarget }, get currentTarget() { return a(this).currentTarget }, composedPath: function() { var e = a(this).currentTarget; return null == e ? [] : [e] }, get NONE() { return 0 }, get CAPTURING_PHASE() { return 1 }, get AT_TARGET() { return 2 }, get BUBBLING_PHASE() { return 3 }, get eventPhase() { return a(this).eventPhase }, stopPropagation: function() { var e = a(this); e.stopped = !0, "function" == typeof e.event.stopPropagation && e.event.stopPropagation() }, stopImmediatePropagation: function() { var e = a(this); e.stopped = !0, e.immediateStopped = !0, "function" == typeof e.event.stopImmediatePropagation && e.event.stopImmediatePropagation() }, get bubbles() { return Boolean(a(this).event.bubbles) }, get cancelable() { return Boolean(a(this).event.cancelable) }, preventDefault: function() { s(a(this)) }, get defaultPrevented() { return a(this).canceled }, get composed() { return Boolean(a(this).event.composed) }, get timeStamp() { return a(this).timeStamp }, get srcElement() { return a(this).eventTarget }, get cancelBubble() { return a(this).stopped }, set cancelBubble(e) { if (e) { var t = a(this); t.stopped = !0, "boolean" == typeof t.event.cancelBubble && (t.event.cancelBubble = !0) } }, get returnValue() { return !a(this).canceled }, set returnValue(e) { e || s(a(this)) }, initEvent: function() {} }, Object.defineProperty(u.prototype, "constructor", { value: u, configurable: !0, writable: !0 }), "undefined" != typeof window && void 0 !== window.Event && (Object.setPrototypeOf(u.prototype, window.Event.prototype), o.set(window.Event.prototype, u)); var h = new WeakMap; function v(e) { return null !== e && "object" === n(e) } function m(e) { var t = h.get(e); if (null == t) throw new TypeError("'this' is expected an EventTarget object, but got another value."); return t } function y(e, t) { Object.defineProperty(e, "on".concat(t), function(e) { return { get: function() { for (var t = m(this).get(e); null != t;) { if (3 === t.listenerType) return t.listener; t = t.next } return null }, set: function(t) { "function" == typeof t || v(t) || (t = null); for (var r = m(this), n = null, i = r.get(e); null != i;) 3 === i.listenerType ? null !== n ? n.next = i.next : null !== i.next ? r.set(e, i.next) : r.delete(e) : n = i, i = i.next; if (null !== t) { var o = { listener: t, listenerType: 3, passive: !1, once: !1, next: null }; null === n ? r.set(e, o) : n.next = o } }, configurable: !0, enumerable: !0 } }(t)) } function b(e) { function t() { g.call(this) } t.prototype = Object.create(g.prototype, { constructor: { value: t, configurable: !0, writable: !0 } }); for (var r = 0; r < e.length; ++r) y(t.prototype, e[r]); return t } function g() { if (!(this instanceof g)) { if (1 === arguments.length && Array.isArray(arguments[0])) return b(arguments[0]); if (arguments.length > 0) { for (var e = new Array(arguments.length), t = 0; t < arguments.length; ++t) e[t] = arguments[t]; return b(e) } throw new TypeError("Cannot call a class as a function") } h.set(this, new Map) } g.prototype = { addEventListener: function(e, t, r) { if (null != t) { if ("function" != typeof t && !v(t)) throw new TypeError("'listener' should be a function or an object."); var n = m(this), i = v(r), o = (i ? Boolean(r.capture) : Boolean(r)) ? 1 : 2, a = { listener: t, listenerType: o, passive: i && Boolean(r.passive), once: i && Boolean(r.once), next: null }, s = n.get(e); if (void 0 !== s) { for (var u = null; null != s;) { if (s.listener === t && s.listenerType === o) return; u = s, s = s.next } u.next = a } else n.set(e, a) } }, removeEventListener: function(e, t, r) { if (null != t) for (var n = m(this), i = (v(r) ? Boolean(r.capture) : Boolean(r)) ? 1 : 2, o = null, a = n.get(e); null != a;) { if (a.listener === t && a.listenerType === i) return void(null !== o ? o.next = a.next : null !== a.next ? n.set(e, a.next) : n.delete(e)); o = a, a = a.next } }, dispatchEvent: function(e) { if (null == e || "string" != typeof e.type) throw new TypeError('"event.type" should be a string.'); var t = m(this), r = e.type, n = t.get(r); if (null == n) return !0; for (var i = function(e, t) { return new(f(Object.getPrototypeOf(t)))(e, t) }(this, e), o = null; null != n;) { if (n.once ? null !== o ? o.next = n.next : null !== n.next ? t.set(r, n.next) : t.delete(r) : o = n, d(i, n.passive ? n.listener : null), "function" == typeof n.listener) try { n.listener.call(this, i) } catch (e) { "undefined" != typeof console && "function" == typeof console.error && console.error(e) } else 3 !== n.listenerType && "function" == typeof n.listener.handleEvent && n.listener.handleEvent(i); if (p(i)) break; n = n.next } return d(i, null), function(e, t) { a(e).eventPhase = t }(i, 0), function(e, t) { a(e).currentTarget = t }(i, null), !i.defaultPrevented } }, Object.defineProperty(g.prototype, "constructor", { value: g, configurable: !0, writable: !0 }), "undefined" != typeof window && void 0 !== window.EventTarget && Object.setPrototypeOf(g.prototype, window.EventTarget.prototype); function _(e) { return (_ = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } function T(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function S(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } function A(e, t, r) { return t && S(e.prototype, t), r && S(e, r), e } function E(e, t) { return (E = Object.setPrototypeOf || function(e, t) { return e.__proto__ = t, e })(e, t) } function C(e, t) { return !t || "object" !== _(t) && "function" != typeof t ? function(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e }(e) : t } function O(e) { return (O = Object.setPrototypeOf ? Object.getPrototypeOf : function(e) { return e.__proto__ || Object.getPrototypeOf(e) })(e) } var w = function(e) { ! function(e, t) { if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function"); e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), t && E(e, t) }(r, e); var t = function(e) { function t() { if ("undefined" == typeof Reflect || !Reflect.construct) return !1; if (Reflect.construct.sham) return !1; if ("function" == typeof Proxy) return !0; try { return Date.prototype.toString.call(Reflect.construct(Date, [], (function() {}))), !0 } catch (e) { return !1 } } return function() { var r, n = O(e); if (t()) { var i = O(this).constructor; r = Reflect.construct(n, arguments, i) } else r = n.apply(this, arguments); return C(this, r) } }(r); function r() { throw T(this, r), t.call(this), new TypeError("AbortSignal cannot be constructed directly") } return A(r, [{ key: "aborted", get: function() { var e = I.get(this); if ("boolean" != typeof e) throw new TypeError("Expected 'this' to be an 'AbortSignal' object, but got ".concat(null === this ? "null" : _(this))); return e } }]), r }(g); y(w.prototype, "abort"); var I = new WeakMap; Object.defineProperties(w.prototype, { aborted: { enumerable: !0 } }), "function" == typeof Symbol && "symbol" === _(Symbol.toStringTag) && Object.defineProperty(w.prototype, Symbol.toStringTag, { configurable: !0, value: "AbortSignal" }); var P = function() { function e() { var t; T(this, e), x.set(this, (t = Object.create(w.prototype), g.call(t), I.set(t, !1), t)) } return A(e, [{ key: "abort", value: function() { var e; e = N(this), !1 === I.get(e) && (I.set(e, !0), e.dispatchEvent({ type: "abort" })) } }, { key: "signal", get: function() { return N(this) } }]), e }(), x = new WeakMap; function N(e) { var t = x.get(e); if (null == t) throw new TypeError("Expected 'this' to be an 'AbortController' object, but got ".concat(null === e ? "null" : _(e))); return t } Object.defineProperties(P.prototype, { signal: { enumerable: !0 }, abort: { enumerable: !0 } }), "function" == typeof Symbol && "symbol" === _(Symbol.toStringTag) && Object.defineProperty(P.prototype, Symbol.toStringTag, { configurable: !0, value: "AbortController" }); var k = P, R = ("undefined" == typeof window ? {} : window).AbortController || k, L = ("undefined" == typeof window ? {} : window).AbortSignal || w; t.default = R }]) }, function(e, t, r) { var n = r(1937), i = r(1938), o = r(1939); e.exports = function(e, t) { return n(e) || i(e, t) || o() } }, function(e, t) { e.exports = function(e) { if (Array.isArray(e)) return e } }, function(e, t) { e.exports = function(e, t) { if (Symbol.iterator in Object(e) || "[object Arguments]" === Object.prototype.toString.call(e)) { var r = [], n = !0, i = !1, o = void 0; try { for (var a, s = e[Symbol.iterator](); !(n = (a = s.next()).done) && (r.push(a.value), !t || r.length !== t); n = !0); } catch (e) { i = !0, o = e } finally { try { n || null == s.return || s.return() } finally { if (i) throw o } } return r } } }, function(e, t) { e.exports = function() { throw new TypeError("Invalid attempt to destructure non-iterable instance") } }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return (0, i.default)("error", { error: e }) }; var i = n(r(1688)) }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { var e = [], t = { cancelAll: function() { e.forEach((function(e) { return (0, e.cancel)() })) }, push: function(t) { var r, n = (0, a.default)(), s = (0, a.default)(), u = { promise: s.promise }, c = u.cancel = function() { t = function() { return { result: Promise.reject(new Error("cancelled before start")) } }, r && r(), n.reject(new Error("cancelled in the midway")) }, l = function() { var a = (0, o.default)(i.default.mark((function o() { var a, c, l; return i.default.wrap((function(i) { for (;;) switch (i.prev = i.next) { case 0: return a = t(), c = a.abort, l = a.result, r = c, i.prev = 2, i.t0 = s, i.next = 6, Promise.race([l, n.promise]); case 6: i.t1 = i.sent, i.t0.resolve.call(i.t0, i.t1), i.next = 13; break; case 10: i.prev = 10, i.t2 = i.catch(2), s.reject(i.t2); case 13: e = e.filter((function(e) { return e !== u })); case 14: case "end": return i.stop() } }), o, null, [ [2, 10] ]) }))); return function() { return a.apply(this, arguments) } }(), f = e[e.length - 1], p = f && f.promise || Promise.resolve(); return e.push(u), p.then(l, l), { cancel: c, result: s.promise } } }; return Object.defineProperty(t, "length", { get: function() { return e.length } }), t }; var i = n(r(159)), o = n(r(160)), a = n(r(718)) }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r) { return m.apply(this, arguments) }; var i = n(r(159)), o = n(r(350)), a = n(r(160)), s = n(r(1943)), u = n(r(1944)); function c(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function l(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? c(Object(r), !0).forEach((function(t) { (0, o.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : c(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } function f(e, t) { for (var r = new Float32Array(e.length), n = 0; n < e.length; n++) r[n] = e[n] / t; return r } function p(e, t) { switch (e.bitsPerSample) { case 8: return f(new Int8Array(t), 128); case 16: return f(new Int16Array(t), 32768); case 32: return f(new Int32Array(t), 2147483648); default: throw new Error("Only WAVE_FORMAT_PCM (8/16/32 bps) format supported at this time") } } function d(e) { return new Promise((function(t, r) { e.onabort = function() { return r(new Error("aborted")) } })) } function h(e, t) { for (var r = t.channels, n = new Array(r), i = e.length / r, o = 0; o < r; o++) { var a = new Float32Array(i); n[o] = a; for (var s = 0; s < i; s++) a[s] = e[s * r + o] } return n } function v(e, t) { if (1 === t) return e; for (var r, n = new Array(t).fill(e[0]), i = new Float32Array(e.length * t), o = 0; o < e.length; o++) for (var a = e[o], s = o * t, u = 0; u < t; u++) n.shift(), n.push(a), i[s + u] = (r = n).reduce((function(e, t) { return e + t }), 0) / r.length; return i } function m() { return (m = (0, a.default)(i.default.mark((function e(t, r, n) { var o, a, c, f, m = arguments; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return o = m.length > 3 && void 0 !== m[3] ? m[3] : {}, a = o.signal, c = void 0 === a ? {} : a, f = [], e.prev = 2, e.delegateYield(i.default.mark((function e() { var o, a, f, m, y, b, g, _, T, S; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: if (o = d(c), a = function() { return Promise.race([o.catch((function() { return { isEnd: !0 } })), (0, s.default)(n.read())]) }, !c.aborted) { e.next = 4; break } throw new Error("aborted"); case 4: for (f = r.samplesPerSec, m = 1; f < 44100 && f < 96e3;) m++, f = r.samplesPerSec * m; return y = (0, u.default)(t, l({}, r, { samplesPerSec: f }), 4096 / (r.bitsPerSample / 8) * m), e.next = 10, a(); case 10: b = e.sent, g = 0; case 12: if (b.isEnd || !(g < 1e3) || c.aborted) { e.next = 25; break } if (!c.aborted) { e.next = 15; break } return e.abrupt("break", 25); case 15: _ = p(r, b.buffer), T = h(_, r), S = T.map((function(e) { return v(e, m) })), y.push(S); case 19: return e.next = 21, a(); case 21: b = e.sent, g++, e.next = 12; break; case 25: if (o.catch((function() { return y.cancelAll() })), !c.aborted) { e.next = 28; break } throw new Error("aborted"); case 28: return e.next = 30, Promise.race([o, y.flush()]); case 30: case "end": return e.stop() } }), e) }))(), "t0", 4); case 4: return e.prev = 4, f.forEach((function(e) { return e.stop() })), e.finish(4); case 7: case "end": return e.stop() } }), e, null, [ [2, , 4, 7] ]) })))).apply(this, arguments) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return new Promise((function(t, r) { return e.on(t, r) })) } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e, t, r) { var n, i = t.channels, o = t.samplesPerSec, a = new Array(3).fill().map((function() { return e.createBuffer(i, r, o) })), s = [], u = []; return { cancelAll: function() { u.splice(0), s.forEach((function(e) { return e.stop() })) }, flush: function() { return new Promise((function(e) { return u.push(e) })) }, push: function(t) { if (!t) throw new Error("multiChannelArray must not be falsy."); u.push(t), function t() { "number" != typeof n && (n = e.currentTime); var r = e.createBufferSource(), i = u.shift(); if ("function" == typeof i) i(); else if (i) { var o = a.shift(); if (!o) return void u.unshift(i); ! function(e) { for (var t = e.numberOfChannels, r = 0; r < t; r++) { var n = e.getChannelData(r); [].fill.call(n, 0) } }(o), function(e, t) { for (var r = e.numberOfChannels, n = 0; n < r; n++) { var i = t[n]; if (e.copyToChannel) e.copyToChannel(i, n); else for (var o = i.length, a = e.getChannelData(n), s = 0; s < o; s++) a[s] = i[s] } }(o, i), r.buffer = o, r.connect(e.destination), r.start(n), s.push(r), n += o.duration, r.addEventListener("ended", (function() { s = s.filter((function(e) { return e !== r })), a.push(o), t() })) } }() } } } }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return f.apply(this, arguments) }; var i = n(r(159)), o = n(r(160)), a = r(1946), s = n(r(1947)), u = "SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU3LjU2LjEwMQAAAAAAAAAAAAAA//tAwAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAACAAABhgC7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7//////////////////////////////////////////////////////////////////8AAAAATGF2YzU3LjY0AAAAAAAAAAAAAAAAJAUHAAAAAAAAAYYoRBqpAAAAAAD/+xDEAAPAAAGkAAAAIAAANIAAAARMQU1FMy45OS41VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7EMQpg8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV"; function c(e, t) { return new Promise((function(r, n) { var i = e.decodeAudioData(t, r, n); i && "function" == typeof i.then && r(i) })) } function l(e, t, r) { return new Promise((function(n, i) { var o, a, u, c = new s.default, l = new s.default, f = (a = "statechange", u = function(e) { return "closed" === e.target.state && c.eventListener() }, (o = e).addEventListener(a, u), function() { return o.removeEventListener(a, u) }); try { r.buffer = t, r.onended = l.eventListener, r.connect(e.destination), r.start(0), Promise.race([c.upcoming(), l.upcoming()]).then(n) } catch (e) { i(e) } finally { f() } })) } function f() { return (f = (0, o.default)(i.default.mark((function e(t) { var r, n; return i.default.wrap((function(e) { for (;;) switch (e.prev = e.next) { case 0: return r = t.createBufferSource(), e.next = 3, c(t, (0, a.decode)(u)); case 3: return n = e.sent, e.next = 6, l(t, n, r); case 6: case "end": return e.stop() } }), e) })))).apply(this, arguments) } }, function(e, t) { ! function() { "use strict"; for (var e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", r = new Uint8Array(256), n = 0; n < e.length; n++) r[e.charCodeAt(n)] = n; t.encode = function(t) { var r, n = new Uint8Array(t), i = n.length, o = ""; for (r = 0; r < i; r += 3) o += e[n[r] >> 2], o += e[(3 & n[r]) << 4 | n[r + 1] >> 4], o += e[(15 & n[r + 1]) << 2 | n[r + 2] >> 6], o += e[63 & n[r + 2]]; return i % 3 == 2 ? o = o.substring(0, o.length - 1) + "=" : i % 3 == 1 && (o = o.substring(0, o.length - 2) + "=="), o }, t.decode = function(e) { var t, n, i, o, a, s = .75 * e.length, u = e.length, c = 0; "=" === e[e.length - 1] && (s--, "=" === e[e.length - 2] && s--); var l = new ArrayBuffer(s), f = new Uint8Array(l); for (t = 0; t < u; t += 4) n = r[e.charCodeAt(t)], i = r[e.charCodeAt(t + 1)], o = r[e.charCodeAt(t + 2)], a = r[e.charCodeAt(t + 3)], f[c++] = n << 2 | i >> 4, f[c++] = (15 & i) << 4 | o >> 2, f[c++] = (3 & o) << 6 | 63 & a; return l } }() }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var n, i = (n = r(1948)) && n.__esModule ? n : { default: n }; function o(e, t) { if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") } function a(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } var s = function() { function e() { var t = this, r = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}; o(this, e), this.defers = [], this.upcomingDeferred = null, this.eventListener = this.eventListener.bind(this), this.options = r, this.one = this.one.bind(this), this.upcoming = this.upcoming.bind(this), this[Symbol.iterator] = function() { return { next: function() { return { done: !1, value: t.upcoming() } } } } } var t, r, n; return t = e, (r = [{ key: "eventListener", value: function(e) { var t = this.defers.shift(), r = this.options.array ? [].slice.call(arguments) : e; t && t.resolve(r), this.upcomingDeferred && (this.upcomingDeferred.resolve(r), this.upcomingDeferred = null) } }, { key: "one", value: function() { var e = (0, i.default)(); return this.defers.push(e), e.promise } }, { key: "upcoming", value: function() { return this.upcomingDeferred || (this.upcomingDeferred = (0, i.default)()), this.upcomingDeferred.promise } }]) && a(t.prototype, r), n && a(t, n), e }(); t.default = s, e.exports = t.default, e.exports.default = t.default }, function(e, t, r) { "use strict"; e.exports = function() { var e = {}; return e.promise = new Promise((function(t, r) { e.resolve = t, e.reject = r })), e } }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(350)), o = n(r(349)), a = n(r(371)), s = n(r(1950)), u = n(r(1980)), c = n(r(1981)), l = n(r(1689)); function f(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function p(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? f(Object(r), !0).forEach((function(t) { (0, i.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : f(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var d = function() { function e(t) { var r, n = this, i = t.dialogServiceConnector; (0, o.default)(this, e), this.dialogServiceConnector = i, this.activity$ = (0, c.default)(new s.default((function(e) { n._activityObserver = e, r.next(0), r.next(1), r.next(2) }))), this.connectionStatus$ = (0, c.default)(new s.default((function(e) { r = e }))), i.activityReceived = function(e, t) { var r = t.activity, i = t.audioStream; try { n._activityObserver && n._activityObserver.next(p({}, r, { channelData: p({}, r.channelData, { speechSynthesisUtterance: new l.default(i) }), from: p({}, r.from, { role: "bot" }), timestamp: (new Date).toISOString() })) } catch (e) { console.error(e) } } } return (0, a.default)(e, [{ key: "end", value: function() { try { this.dialogServiceConnector.close() } catch (e) { if (!~e.message.indexOf("already disposed")) throw e } } }, { key: "postActivity", value: function(e) { e = p({}, e, { from: { role: "user" } }); try { var t = (0, u.default)().toString(36).substr(2); return !(!e.channelData || !e.channelData.speech) || this.dialogServiceConnector.sendActivityAsync(e), this._activityObserver && this._activityObserver.next(p({}, e, { id: t, timestamp: (new Date).toISOString() })), s.default.of(t) } catch (e) { return new s.default((function(t) { return t.error(e) })) } } }]), e }(); t.default = d }, function(e, t, r) { r(1951), r(1962), r(1965), r(1967), r(1976); var n = r(370); e.exports = n.Observable }, function(e, t, r) { "use strict"; var n = r(703), i = r(153), o = r(1952), a = r(1691), s = r(114), u = r(220), c = r(1954), l = r(155).f, f = r(154), p = r(1955), d = r(1956), h = r(1957), v = r(1961), m = r(77), y = r(369), b = m("observable"), g = y.get, _ = y.set, T = function(e) { return null == e ? void 0 : a(e) }, S = function(e) { var t = e.cleanup; if (t) { e.cleanup = void 0; try { t() } catch (e) { v(e) } } }, A = function(e) { return void 0 === e.observer }, E = function(e, t) { if (!i) { e.closed = !0; var r = t.subscriptionObserver; r && (r.closed = !0) } t.observer = void 0 }, C = function(e, t) { var r, n = _(this, { cleanup: void 0, observer: s(e), subscriptionObserver: void 0 }); i || (this.closed = !1); try { (r = T(e.start)) && r.call(e, this) } catch (e) { v(e) } if (!A(n)) { var o = n.subscriptionObserver = new O(this); try { var u = t(o), c = u; null != u && (n.cleanup = "function" == typeof u.unsubscribe ? function() { c.unsubscribe() } : a(u)) } catch (e) { return void o.error(e) } A(n) && S(n) } }; C.prototype = p({}, { unsubscribe: function() { var e = g(this); A(e) || (E(this, e), S(e)) } }), i && l(C.prototype, "closed", { configurable: !0, get: function() { return A(g(this)) } }); var O = function(e) { _(this, { subscription: e }), i || (this.closed = !1) }; O.prototype = p({}, { next: function(e) { var t = g(g(this).subscription); if (!A(t)) { var r = t.observer; try { var n = T(r.next); n && n.call(r, e) } catch (e) { v(e) } } }, error: function(e) { var t = g(this).subscription, r = g(t); if (!A(r)) { var n = r.observer; E(t, r); try { var i = T(n.error); i ? i.call(n, e) : v(e) } catch (e) { v(e) } S(r) } }, complete: function() { var e = g(this).subscription, t = g(e); if (!A(t)) { var r = t.observer; E(e, t); try { var n = T(r.complete); n && n.call(r) } catch (e) { v(e) } S(t) } } }), i && l(O.prototype, "closed", { configurable: !0, get: function() { return A(g(g(this).subscription)) } }); var w = function(e) { c(this, w, "Observable"), _(this, { subscriber: a(e) }) }; p(w.prototype, { subscribe: function(e) { var t = arguments.length; return new C("function" == typeof e ? { next: e, error: t > 1 ? arguments[1] : void 0, complete: t > 2 ? arguments[2] : void 0 } : u(e) ? e : {}, g(this).subscriber) } }), p(w, { from: function(e) { var t = "function" == typeof this ? this : w, r = T(s(e)[b]); if (r) { var n = s(r.call(e)); return n.constructor === t ? n : new t((function(e) { return n.subscribe(e) })) } var i = d(e); return new t((function(e) { h(i, (function(t) { if (e.next(t), e.closed) return h.stop() }), void 0, !1, !0), e.complete() })) }, of: function() { for (var e = "function" == typeof this ? this : w, t = arguments.length, r = new Array(t), n = 0; n < t;) r[n] = arguments[n++]; return new e((function(e) { for (var n = 0; n < t; n++) if (e.next(r[n]), e.closed) return; e.complete() })) } }), f(w.prototype, b, (function() { return this })), n({ global: !0 }, { Observable: w }), o("Observable") }, function(e, t, r) { "use strict"; var n = r(710), i = r(155), o = r(77), a = r(153), s = o("species"); e.exports = function(e) { var t = n(e), r = i.f; a && t && !t[s] && r(t, s, { configurable: !0, get: function() { return this } }) } }, function(e, t, r) { var n = r(1690); e.exports = n && !Symbol.sham && "symbol" == typeof Symbol.iterator }, function(e, t) { e.exports = function(e, t, r) { if (!(e instanceof t)) throw TypeError("Incorrect " + (r ? r + " " : "") + "invocation"); return e } }, function(e, t, r) { var n = r(368); e.exports = function(e, t, r) { for (var i in t) n(e, i, t[i], r); return e } }, function(e, t, r) { var n = r(114), i = r(1692); e.exports = function(e) { var t = i(e); if ("function" != typeof t) throw TypeError(String(e) + " is not iterable"); return n(t.call(e)) } }, function(e, t, r) { var n = r(114), i = r(1958), o = r(1683), a = r(1959), s = r(1692), u = r(1960), c = function(e, t) { this.stopped = e, this.result = t }; (e.exports = function(e, t, r, l, f) { var p, d, h, v, m, y, b, g = a(t, r, l ? 2 : 1); if (f) p = e; else { if ("function" != typeof(d = s(e))) throw TypeError("Target is not iterable"); if (i(d)) { for (h = 0, v = o(e.length); v > h; h++) if ((m = l ? g(n(b = e[h])[0], b[1]) : g(e[h])) && m instanceof c) return m; return new c(!1) } p = d.call(e) } for (y = p.next; !(b = y.call(p)).done;) if ("object" == typeof(m = u(p, g, b.value, l)) && m && m instanceof c) return m; return new c(!1) }).stop = function(e) { return new c(!0, e) } }, function(e, t, r) { var n = r(77), i = r(351), o = n("iterator"), a = Array.prototype; e.exports = function(e) { return void 0 !== e && (i.Array === e || a[o] === e) } }, function(e, t, r) { var n = r(1691); e.exports = function(e, t, r) { if (n(e), void 0 === t) return e; switch (r) { case 0: return function() { return e.call(t) }; case 1: return function(r) { return e.call(t, r) }; case 2: return function(r, n) { return e.call(t, r, n) }; case 3: return function(r, n, i) { return e.call(t, r, n, i) } } return function() { return e.apply(t, arguments) } } }, function(e, t, r) { var n = r(114); e.exports = function(e, t, r, i) { try { return i ? t(n(r)[0], r[1]) : t(r) } catch (t) { var o = e.return; throw void 0 !== o && n(o.call(e)), t } } }, function(e, t, r) { var n = r(76); e.exports = function(e, t) { var r = n.console; r && r.error && (1 === arguments.length ? r.error(e) : r.error(e, t)) } }, function(e, t, r) { r(1963)("observable") }, function(e, t, r) { var n = r(370), i = r(97), o = r(1964), a = r(155).f; e.exports = function(e) { var t = n.Symbol || (n.Symbol = {}); i(t, e) || a(t, e, { value: o.f(e) }) } }, function(e, t, r) { var n = r(77); t.f = n }, function(e, t, r) { var n = r(719), i = r(368), o = r(1966); n || i(Object.prototype, "toString", o, { unsafe: !0 }) }, function(e, t, r) { "use strict"; var n = r(719), i = r(1693); e.exports = n ? {}.toString : function() { return "[object " + i(this) + "]" } }, function(e, t, r) { "use strict"; var n = r(1968).charAt, i = r(369), o = r(1694), a = i.set, s = i.getterFor("String Iterator"); o(String, "String", (function(e) { a(this, { type: "String Iterator", string: String(e), index: 0 }) }), (function() { var e, t = s(this), r = t.string, i = t.index; return i >= r.length ? { value: void 0, done: !0 } : (e = n(r, i), t.index += e.length, { value: e, done: !1 }) })) }, function(e, t, r) { var n = r(711), i = r(705), o = function(e) { return function(t, r) { var o, a, s = String(i(t)), u = n(r), c = s.length; return u < 0 || u >= c ? e ? "" : void 0 : (o = s.charCodeAt(u)) < 55296 || o > 56319 || u + 1 === c || (a = s.charCodeAt(u + 1)) < 56320 || a > 57343 ? e ? s.charAt(u) : o : e ? s.slice(u, u + 2) : a - 56320 + (o - 55296 << 10) + 65536 } }; e.exports = { codeAt: o(!1), charAt: o(!0) } }, function(e, t, r) { "use strict"; var n = r(1695).IteratorPrototype, i = r(1697), o = r(704), a = r(1698), s = r(351), u = function() { return this }; e.exports = function(e, t, r) { var c = t + " Iterator"; return e.prototype = i(n, { next: o(1, r) }), a(e, c, !1, !0), s[c] = u, e } }, function(e, t, r) { var n = r(705); e.exports = function(e) { return Object(n(e)) } }, function(e, t, r) { var n = r(219); e.exports = !n((function() { function e() {} return e.prototype.constructor = null, Object.getPrototypeOf(new e) !== e.prototype })) }, function(e, t, r) { var n = r(153), i = r(155), o = r(114), a = r(1684); e.exports = n ? Object.defineProperties : function(e, t) { o(e); for (var r, n = a(t), s = n.length, u = 0; s > u;) i.f(e, r = n[u++], t[r]); return e } }, function(e, t, r) { var n = r(710); e.exports = n("document", "documentElement") }, function(e, t, r) { var n = r(114), i = r(1975); e.exports = Object.setPrototypeOf || ("__proto__" in {} ? function() { var e, t = !1, r = {}; try { (e = Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set).call(r, []), t = r instanceof Array } catch (e) {} return function(r, o) { return n(r), i(o), t ? e.call(r, o) : r.__proto__ = o, r } }() : void 0) }, function(e, t, r) { var n = r(220); e.exports = function(e) { if (!n(e) && null !== e) throw TypeError("Can't set " + String(e) + " as a prototype"); return e } }, function(e, t, r) { var n = r(76), i = r(1977), o = r(1978), a = r(154), s = r(77), u = s("iterator"), c = s("toStringTag"), l = o.values; for (var f in i) { var p = n[f], d = p && p.prototype; if (d) { if (d[u] !== l) try { a(d, u, l) } catch (e) { d[u] = l } if (d[c] || a(d, c, f), i[f]) for (var h in o) if (d[h] !== o[h]) try { a(d, h, o[h]) } catch (e) { d[h] = o[h] } } } }, function(e, t) { e.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 } }, function(e, t, r) { "use strict"; var n = r(348), i = r(1979), o = r(351), a = r(369), s = r(1694), u = a.set, c = a.getterFor("Array Iterator"); e.exports = s(Array, "Array", (function(e, t) { u(this, { type: "Array Iterator", target: n(e), index: 0, kind: t }) }), (function() { var e = c(this), t = e.target, r = e.kind, n = e.index++; return !t || n >= t.length ? (e.target = void 0, { value: void 0, done: !0 }) : "keys" == r ? { value: n, done: !1 } : "values" == r ? { value: t[n], done: !1 } : { value: [n, t[n]], done: !1 } }), "values"), o.Arguments = o.Array, i("keys"), i("values"), i("entries") }, function(e, t, r) { var n = r(77), i = r(1697), o = r(155), a = n("unscopables"), s = Array.prototype; null == s[a] && o.f(s, a, { configurable: !0, value: i(null) }), e.exports = function(e) { s[a][e] = !0 } }, function(e, t) { e.exports = function(e) { var t = "Uint32Array" in e, r = e.crypto || e.msCrypto, n = r && "function" == typeof r.getRandomValues; if (!(t && n)) return Math.random; var i = new Uint32Array(1), o = Math.pow(2, 32); function a() { return r.getRandomValues(i), i[0] / o } return a.cryptographic = !0, a }("undefined" != typeof self ? self : window) }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t, r = []; return new Observable((function(n) { return t || (t = e.subscribe({ complete: function() { r.forEach((function(e) { return e.complete() })) }, error: function(e) { r.forEach((function(t) { return t.error(e) })) }, next: function(e) { r.forEach((function(t) { return t.next(e) })) } })), r.push(n), function() { (r = r.filter((function(e) { return e !== n }))).length || (t.unsubscribe(), t = null) } })) } }, function(e, t, r) { "use strict"; var n = r(50); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t; return e.listenOnceAsync = a(e.listenOnceAsync.bind(e), (function(e, r) { t = (0, o.default)(); for (var n = arguments.length, i = new Array(n > 2 ? n - 2 : 0), s = 2; s < n; s++) i[s - 2] = arguments[s]; return [a(e, null, (function(e) { return t.resolve(e), e })), a(r, null, (function(e) { return t.reject(e), e }))].concat(i) })), e.startContinuousRecognitionAsync = function(t, r) { e.listenOnceAsync((function() {}), (function(e) { t = null, r && r(e) })), setTimeout((function() { r = null, t && t() }), 0) }, e }; var i = n(r(1686)), o = n(r(718)); function a(e, t, r) { return function() { for (var n = arguments.length, o = new Array(n), a = 0; a < n; a++) o[a] = arguments[a]; o = t ? t.apply(void 0, (0, i.default)(o)) : o; var s = e.apply(void 0, (0, i.default)(o)); return r ? r(s) : s } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return "function" == typeof e ? e() : e } }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return function(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? s(Object(r), !0).forEach((function(t) { (0, i.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : s(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e }({}, (0, o.createStyleSet)(e), {}, (0, a.default)(e)) }; var i = n(r(93)), o = r(37), a = n(r(1699)); function s(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { var t = e.accent, r = e.paddingRegular; return { "&.webchat__adaptive-card-renderer": { "& .ac-input, & .ac-inlineActionButton, & .ac-quickActionButton": { fontFamily: e.primaryFont }, "& .ac-multichoiceInput": { padding: r }, "& .ac-pushButton": { appearance: "none", backgroundColor: "White", borderStyle: "solid", borderWidth: 1, color: t, fontWeight: 600, padding: r }, "& .ac-pushButton.style-destructive": { backgroundColor: "#E50000", color: "white" }, "& .ac-pushButton.style-destructive:hover, & .ac-pushButton.style-destructive:active": { backgroundColor: "#BF0000" }, "& .ac-pushButton.style-positive": { backgroundColor: "#0078D7", color: "white" }, "& .ac-pushButton.style-positive:hover, & .ac-pushButton.style-positive:active": { backgroundColor: "#006ABC" }, "& .ac-pushButton, & input, & select, & textarea": { '&[aria-disabled="true"]': { backgroundColor: "#EBEBE4", borderColor: "#A9A9A9", borderStyle: "solid", borderWidth: 1, color: "#545454" } }, '& .ac-pushButton[aria-disabled="true"]': { backgroundColor: "#F0F0F0", color: "#6D6D6D" }, '& input[aria-disabled="true"]': { padding: "2px 1px" } } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function() { return { display: "flex", flexDirection: "column", "& > ul.media-list": { listStyleType: "none", margin: 0, padding: 0 } } } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.default = function(e) { return { display: "flex", flexDirection: "column", "& > ul.media-list": { listStyleType: "none", margin: e.paddingRegular, padding: 0 } } } }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var i = n(r(93)), o = n(r(1700)), a = n(r(1701)), s = n(r(31)), u = n(r(0)), c = n(r(1702)), l = r(37), f = n(r(1703)); function p(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function d(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? p(Object(r), !0).forEach((function(t) { (0, i.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : p(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var h = l.Components.Composer, v = function(e) { var t = e.adaptiveCardsHostConfig, r = e.adaptiveCardsPackage, n = e.children, i = (0, a.default)(e, ["adaptiveCardsHostConfig", "adaptiveCardsPackage", "children"]), s = (0, f.default)(e); return u.default.createElement(c.default, { adaptiveCardsHostConfig: t, adaptiveCardsPackage: r }, u.default.createElement(h, (0, o.default)({}, i, s), n)) }; v.defaultProps = d({}, h.defaultProps, { adaptiveCardsHostConfig: void 0, adaptiveCardsPackage: void 0, children: void 0 }), v.propTypes = d({}, h.propTypes, { adaptiveCardsHostConfig: s.default.any, adaptiveCardsPackage: s.default.any, children: s.default.any }); var m = v; t.default = m }, function(e, t) { e.exports = function(e, t) { if (null == e) return {}; var r, n, i = {}, o = Object.keys(e); for (n = 0; n < o.length; n++) r = o[n], t.indexOf(r) >= 0 || (i[r] = e[r]); return i } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r, n) { e.core.ruler.push(t, (function(e) { var t, i, o; for (i = e.tokens.length - 1; i >= 0; i--) if ("inline" === e.tokens[i].type) for (t = (o = e.tokens[i].children).length - 1; t >= 0; t--) o[t].type === r && n(o, t) })) } }, function(e, t, r) { "use strict"; e.exports = r(1992) }, function(e, t, r) { "use strict"; var n = r(24), i = r(1999), o = r(2003), a = r(2004), s = r(2012), u = r(2026), c = r(2039), l = r(1706), f = r(354), p = { default: r(2041), zero: r(2042), commonmark: r(2043) }, d = /^(vbscript|javascript|file|data):/, h = /^data:image\/(gif|png|jpeg|webp);/; function v(e) { var t = e.trim().toLowerCase(); return !d.test(t) || !!h.test(t) } var m = ["http:", "https:", "mailto:"]; function y(e) { var t = l.parse(e, !0); if (t.hostname && (!t.protocol || m.indexOf(t.protocol) >= 0)) try { t.hostname = f.toASCII(t.hostname) } catch (e) {} return l.encode(l.format(t)) } function b(e) { var t = l.parse(e, !0); if (t.hostname && (!t.protocol || m.indexOf(t.protocol) >= 0)) try { t.hostname = f.toUnicode(t.hostname) } catch (e) {} return l.decode(l.format(t)) } function g(e, t) { if (!(this instanceof g)) return new g(e, t); t || n.isString(e) || (t = e || {}, e = "default"), this.inline = new u, this.block = new s, this.core = new a, this.renderer = new o, this.linkify = new c, this.validateLink = v, this.normalizeLink = y, this.normalizeLinkText = b, this.utils = n, this.helpers = n.assign({}, i), this.options = {}, this.configure(e), t && this.set(t) } g.prototype.set = function(e) { return n.assign(this.options, e), this }, g.prototype.configure = function(e) { var t, r = this; if (n.isString(e) && !(e = p[t = e])) throw new Error('Wrong `markdown-it` preset "' + t + '", check name'); if (!e) throw new Error("Wrong `markdown-it` preset, can't be empty"); return e.options && r.set(e.options), e.components && Object.keys(e.components).forEach((function(t) { e.components[t].rules && r[t].ruler.enableOnly(e.components[t].rules), e.components[t].rules2 && r[t].ruler2.enableOnly(e.components[t].rules2) })), this }, g.prototype.enable = function(e, t) { var r = []; Array.isArray(e) || (e = [e]), ["core", "block", "inline"].forEach((function(t) { r = r.concat(this[t].ruler.enable(e, !0)) }), this), r = r.concat(this.inline.ruler2.enable(e, !0)); var n = e.filter((function(e) { return r.indexOf(e) < 0 })); if (n.length && !t) throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n); return this }, g.prototype.disable = function(e, t) { var r = []; Array.isArray(e) || (e = [e]), ["core", "block", "inline"].forEach((function(t) { r = r.concat(this[t].ruler.disable(e, !0)) }), this), r = r.concat(this.inline.ruler2.disable(e, !0)); var n = e.filter((function(e) { return r.indexOf(e) < 0 })); if (n.length && !t) throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n); return this }, g.prototype.use = function(e) { var t = [this].concat(Array.prototype.slice.call(arguments, 1)); return e.apply(e, t), this }, g.prototype.parse = function(e, t) { if ("string" != typeof e) throw new Error("Input data should be a String"); var r = new this.core.State(e, this, t); return this.core.process(r), r.tokens }, g.prototype.render = function(e, t) { return t = t || {}, this.renderer.render(this.parse(e, t), this.options, t) }, g.prototype.parseInline = function(e, t) { var r = new this.core.State(e, this, t); return r.inlineMode = !0, this.core.process(r), r.tokens }, g.prototype.renderInline = function(e, t) { return t = t || {}, this.renderer.render(this.parseInline(e, t), this.options, t) }, e.exports = g }, function(e, t, r) { "use strict"; var n = {}; function i(e, t, r) { var o, a, s, u, c, l = ""; for ("string" != typeof t && (r = t, t = i.defaultChars), void 0 === r && (r = !0), c = function(e) { var t, r, i = n[e]; if (i) return i; for (i = n[e] = [], t = 0; t < 128; t++) r = String.fromCharCode(t), /^[0-9a-z]$/i.test(r) ? i.push(r) : i.push("%" + ("0" + t.toString(16).toUpperCase()).slice(-2)); for (t = 0; t < e.length; t++) i[e.charCodeAt(t)] = e[t]; return i }(t), o = 0, a = e.length; o < a; o++) if (s = e.charCodeAt(o), r && 37 === s && o + 2 < a && /^[0-9a-f]{2}$/i.test(e.slice(o + 1, o + 3))) l += e.slice(o, o + 3), o += 2; else if (s < 128) l += c[s]; else if (s >= 55296 && s <= 57343) { if (s >= 55296 && s <= 56319 && o + 1 < a && (u = e.charCodeAt(o + 1)) >= 56320 && u <= 57343) { l += encodeURIComponent(e[o] + e[o + 1]), o++; continue } l += "%EF%BF%BD" } else l += encodeURIComponent(e[o]); return l } i.defaultChars = ";/?:@&=+$,-_.!~*'()#", i.componentChars = "-_.!~*'()", e.exports = i }, function(e, t, r) { "use strict"; var n = {}; function i(e, t) { var r; return "string" != typeof t && (t = i.defaultChars), r = function(e) { var t, r, i = n[e]; if (i) return i; for (i = n[e] = [], t = 0; t < 128; t++) r = String.fromCharCode(t), i.push(r); for (t = 0; t < e.length; t++) i[r = e.charCodeAt(t)] = "%" + ("0" + r.toString(16).toUpperCase()).slice(-2); return i }(t), e.replace(/(%[a-f0-9]{2})+/gi, (function(e) { var t, n, i, o, a, s, u, c = ""; for (t = 0, n = e.length; t < n; t += 3)(i = parseInt(e.slice(t + 1, t + 3), 16)) < 128 ? c += r[i] : 192 == (224 & i) && t + 3 < n && 128 == (192 & (o = parseInt(e.slice(t + 4, t + 6), 16))) ? (c += (u = i << 6 & 1984 | 63 & o) < 128 ? "\ufffd\ufffd" : String.fromCharCode(u), t += 3) : 224 == (240 & i) && t + 6 < n && (o = parseInt(e.slice(t + 4, t + 6), 16), a = parseInt(e.slice(t + 7, t + 9), 16), 128 == (192 & o) && 128 == (192 & a)) ? (c += (u = i << 12 & 61440 | o << 6 & 4032 | 63 & a) < 2048 || u >= 55296 && u <= 57343 ? "\ufffd\ufffd\ufffd" : String.fromCharCode(u), t += 6) : 240 == (248 & i) && t + 9 < n && (o = parseInt(e.slice(t + 4, t + 6), 16), a = parseInt(e.slice(t + 7, t + 9), 16), s = parseInt(e.slice(t + 10, t + 12), 16), 128 == (192 & o) && 128 == (192 & a) && 128 == (192 & s)) ? ((u = i << 18 & 1835008 | o << 12 & 258048 | a << 6 & 4032 | 63 & s) < 65536 || u > 1114111 ? c += "\ufffd\ufffd\ufffd\ufffd" : (u -= 65536, c += String.fromCharCode(55296 + (u >> 10), 56320 + (1023 & u))), t += 9) : c += "\ufffd"; return c })) } i.defaultChars = ";/?:@&=+$,#", i.componentChars = "", e.exports = i }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = ""; return t += e.protocol || "", t += e.slashes ? "//" : "", t += e.auth ? e.auth + "@" : "", e.hostname && -1 !== e.hostname.indexOf(":") ? t += "[" + e.hostname + "]" : t += e.hostname || "", t += e.port ? ":" + e.port : "", t += e.pathname || "", t += e.search || "", t += e.hash || "" } }, function(e, t, r) { "use strict"; function n() { 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 i = /^([a-z0-9.+-]+:)/i, o = /:[0-9]*$/, a = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, s = ["{", "}", "|", "\\", "^", "`"].concat(["<", ">", '"', "`", " ", "\r", "\n", "\t"]), u = ["'"].concat(s), c = ["%", "/", "?", ";", "#"].concat(u), l = ["/", "?", "#"], f = /^[+a-z0-9A-Z_-]{0,63}$/, p = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, d = { javascript: !0, "javascript:": !0 }, h = { http: !0, https: !0, ftp: !0, gopher: !0, file: !0, "http:": !0, "https:": !0, "ftp:": !0, "gopher:": !0, "file:": !0 }; n.prototype.parse = function(e, t) { var r, n, o, s, u, v = e; if (v = v.trim(), !t && 1 === e.split("#").length) { var m = a.exec(v); if (m) return this.pathname = m[1], m[2] && (this.search = m[2]), this } var y = i.exec(v); if (y && (o = (y = y[0]).toLowerCase(), this.protocol = y, v = v.substr(y.length)), (t || y || v.match(/^\/\/[^@\/]+@[^@\/]+/)) && (!(u = "//" === v.substr(0, 2)) || y && d[y] || (v = v.substr(2), this.slashes = !0)), !d[y] && (u || y && !h[y])) { var b, g, _ = -1; for (r = 0; r < l.length; r++) - 1 !== (s = v.indexOf(l[r])) && (-1 === _ || s < _) && (_ = s); for (-1 !== (g = -1 === _ ? v.lastIndexOf("@") : v.lastIndexOf("@", _)) && (b = v.slice(0, g), v = v.slice(g + 1), this.auth = b), _ = -1, r = 0; r < c.length; r++) - 1 !== (s = v.indexOf(c[r])) && (-1 === _ || s < _) && (_ = s); - 1 === _ && (_ = v.length), ":" === v[_ - 1] && _--; var T = v.slice(0, _); v = v.slice(_), this.parseHost(T), this.hostname = this.hostname || ""; var S = "[" === this.hostname[0] && "]" === this.hostname[this.hostname.length - 1]; if (!S) { var A = this.hostname.split(/\./); for (r = 0, n = A.length; r < n; r++) { var E = A[r]; if (E && !E.match(f)) { for (var C = "", O = 0, w = E.length; O < w; O++) E.charCodeAt(O) > 127 ? C += "x" : C += E[O]; if (!C.match(f)) { var I = A.slice(0, r), P = A.slice(r + 1), x = E.match(p); x && (I.push(x[1]), P.unshift(x[2])), P.length && (v = P.join(".") + v), this.hostname = I.join("."); break } } } } this.hostname.length > 255 && (this.hostname = ""), S && (this.hostname = this.hostname.substr(1, this.hostname.length - 2)) } var N = v.indexOf("#"); - 1 !== N && (this.hash = v.substr(N), v = v.slice(0, N)); var k = v.indexOf("?"); return -1 !== k && (this.search = v.substr(k), v = v.slice(0, k)), v && (this.pathname = v), h[o] && this.hostname && !this.pathname && (this.pathname = ""), this }, n.prototype.parseHost = function(e) { var t = o.exec(e); t && (":" !== (t = t[0]) && (this.port = t.substr(1)), e = e.substr(0, e.length - t.length)), e && (this.hostname = e) }, e.exports = function(e, t) { if (e && e instanceof n) return e; var r = new n; return r.parse(e, t), r } }, function(e, t, r) { "use strict"; t.Any = r(1707), t.Cc = r(1708), t.Cf = r(1998), t.P = r(721), t.Z = r(1709) }, function(e, t) { e.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]/ }, function(e, t, r) { "use strict"; t.parseLinkLabel = r(2e3), t.parseLinkDestination = r(2001), t.parseLinkTitle = r(2002) }, function(e, t, r) { "use strict"; e.exports = function(e, t, r) { var n, i, o, a, s = -1, u = e.posMax, c = e.pos; for (e.pos = t + 1, n = 1; e.pos < u;) { if (93 === (o = e.src.charCodeAt(e.pos)) && 0 === --n) { i = !0; break } if (a = e.pos, e.md.inline.skipToken(e), 91 === o) if (a === e.pos - 1) n++; else if (r) return e.pos = c, -1 } return i && (s = e.pos), e.pos = c, s } }, function(e, t, r) { "use strict"; var n = r(24).unescapeAll; e.exports = function(e, t, r) { var i, o, a = t, s = { ok: !1, pos: 0, lines: 0, str: "" }; if (60 === e.charCodeAt(t)) { for (t++; t < r;) { if (10 === (i = e.charCodeAt(t))) return s; if (62 === i) return s.pos = t + 1, s.str = n(e.slice(a + 1, t)), s.ok = !0, s; 92 === i && t + 1 < r ? t += 2 : t++ } return s } for (o = 0; t < r && 32 !== (i = e.charCodeAt(t)) && !(i < 32 || 127 === i);) if (92 === i && t + 1 < r) t += 2; else { if (40 === i && o++, 41 === i) { if (0 === o) break; o-- } t++ } return a === t || 0 !== o || (s.str = n(e.slice(a, t)), s.lines = 0, s.pos = t, s.ok = !0), s } }, function(e, t, r) { "use strict"; var n = r(24).unescapeAll; e.exports = function(e, t, r) { var i, o, a = 0, s = t, u = { ok: !1, pos: 0, lines: 0, str: "" }; if (t >= r) return u; if (34 !== (o = e.charCodeAt(t)) && 39 !== o && 40 !== o) return u; for (t++, 40 === o && (o = 41); t < r;) { if ((i = e.charCodeAt(t)) === o) return u.pos = t + 1, u.lines = a, u.str = n(e.slice(s + 1, t)), u.ok = !0, u; 10 === i ? a++ : 92 === i && t + 1 < r && (t++, 10 === e.charCodeAt(t) && a++), t++ } return u } }, function(e, t, r) { "use strict"; var n = r(24).assign, i = r(24).unescapeAll, o = r(24).escapeHtml, a = {}; function s() { this.rules = n({}, a) } a.code_inline = function(e, t, r, n, i) { var a = e[t]; return "<code" + i.renderAttrs(a) + ">" + o(e[t].content) + "</code>" }, a.code_block = function(e, t, r, n, i) { var a = e[t]; return "<pre" + i.renderAttrs(a) + "><code>" + o(e[t].content) + "</code></pre>\n" }, a.fence = function(e, t, r, n, a) { var s, u, c, l, f = e[t], p = f.info ? i(f.info).trim() : "", d = ""; return p && (d = p.split(/\s+/g)[0]), 0 === (s = r.highlight && r.highlight(f.content, d) || o(f.content)).indexOf("<pre") ? s + "\n" : p ? (u = f.attrIndex("class"), c = f.attrs ? f.attrs.slice() : [], u < 0 ? c.push(["class", r.langPrefix + d]) : c[u][1] += " " + r.langPrefix + d, l = { attrs: c }, "<pre><code" + a.renderAttrs(l) + ">" + s + "</code></pre>\n") : "<pre><code" + a.renderAttrs(f) + ">" + s + "</code></pre>\n" }, a.image = function(e, t, r, n, i) { var o = e[t]; return o.attrs[o.attrIndex("alt")][1] = i.renderInlineAsText(o.children, r, n), i.renderToken(e, t, r) }, a.hardbreak = function(e, t, r) { return r.xhtmlOut ? "<br />\n" : "<br>\n" }, a.softbreak = function(e, t, r) { return r.breaks ? r.xhtmlOut ? "<br />\n" : "<br>\n" : "\n" }, a.text = function(e, t) { return o(e[t].content) }, a.html_block = function(e, t) { return e[t].content }, a.html_inline = function(e, t) { return e[t].content }, s.prototype.renderAttrs = function(e) { var t, r, n; if (!e.attrs) return ""; for (n = "", t = 0, r = e.attrs.length; t < r; t++) n += " " + o(e.attrs[t][0]) + '="' + o(e.attrs[t][1]) + '"'; return n }, s.prototype.renderToken = function(e, t, r) { var n, i = "", o = !1, a = e[t]; return a.hidden ? "" : (a.block && -1 !== a.nesting && t && e[t - 1].hidden && (i += "\n"), i += (-1 === a.nesting ? "</" : "<") + a.tag, i += this.renderAttrs(a), 0 === a.nesting && r.xhtmlOut && (i += " /"), a.block && (o = !0, 1 === a.nesting && t + 1 < e.length && ("inline" === (n = e[t + 1]).type || n.hidden || -1 === n.nesting && n.tag === a.tag) && (o = !1)), i += o ? ">\n" : ">") }, s.prototype.renderInline = function(e, t, r) { for (var n, i = "", o = this.rules, a = 0, s = e.length; a < s; a++) void 0 !== o[n = e[a].type] ? i += o[n](e, a, t, r, this) : i += this.renderToken(e, a, t); return i }, s.prototype.renderInlineAsText = function(e, t, r) { for (var n = "", i = 0, o = e.length; i < o; i++) "text" === e[i].type ? n += e[i].content : "image" === e[i].type && (n += this.renderInlineAsText(e[i].children, t, r)); return n }, s.prototype.render = function(e, t, r) { var n, i, o, a = "", s = this.rules; for (n = 0, i = e.length; n < i; n++) "inline" === (o = e[n].type) ? a += this.renderInline(e[n].children, t, r) : void 0 !== s[o] ? a += s[e[n].type](e, n, t, r, this) : a += this.renderToken(e, n, t, r); return a }, e.exports = s }, function(e, t, r) { "use strict"; var n = r(722), i = [ ["normalize", r(2005)], ["block", r(2006)], ["inline", r(2007)], ["linkify", r(2008)], ["replacements", r(2009)], ["smartquotes", r(2010)] ]; function o() { this.ruler = new n; for (var e = 0; e < i.length; e++) this.ruler.push(i[e][0], i[e][1]) } o.prototype.process = function(e) { var t, r, n; for (t = 0, r = (n = this.ruler.getRules("")).length; t < r; t++) n[t](e) }, o.prototype.State = r(2011), e.exports = o }, function(e, t, r) { "use strict"; var n = /\r\n?|\n/g, i = /\0/g; e.exports = function(e) { var t; t = (t = e.src.replace(n, "\n")).replace(i, "\ufffd"), e.src = t } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t; e.inlineMode ? ((t = new e.Token("inline", "", 0)).content = e.src, t.map = [0, 1], t.children = [], e.tokens.push(t)) : e.md.block.parse(e.src, e.md, e.env, e.tokens) } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t, r, n, i = e.tokens; for (r = 0, n = i.length; r < n; r++) "inline" === (t = i[r]).type && e.md.inline.parse(t.content, e.md, e.env, t.children) } }, function(e, t, r) { "use strict"; var n = r(24).arrayReplaceAt; function i(e) { return /^<\/a\s*>/i.test(e) } e.exports = function(e) { var t, r, o, a, s, u, c, l, f, p, d, h, v, m, y, b, g, _, T = e.tokens; if (e.md.options.linkify) for (r = 0, o = T.length; r < o; r++) if ("inline" === T[r].type && e.md.linkify.pretest(T[r].content)) for (v = 0, t = (a = T[r].children).length - 1; t >= 0; t--) if ("link_close" !== (u = a[t]).type) { if ("html_inline" === u.type && (_ = u.content, /^<a[>\s]/i.test(_) && v > 0 && v--, i(u.content) && v++), !(v > 0) && "text" === u.type && e.md.linkify.test(u.content)) { for (f = u.content, g = e.md.linkify.match(f), c = [], h = u.level, d = 0, l = 0; l < g.length; l++) m = g[l].url, y = e.md.normalizeLink(m), e.md.validateLink(y) && (b = g[l].text, b = g[l].schema ? "mailto:" !== g[l].schema || /^mailto:/i.test(b) ? e.md.normalizeLinkText(b) : e.md.normalizeLinkText("mailto:" + b).replace(/^mailto:/, "") : e.md.normalizeLinkText("http://" + b).replace(/^http:\/\//, ""), (p = g[l].index) > d && ((s = new e.Token("text", "", 0)).content = f.slice(d, p), s.level = h, c.push(s)), (s = new e.Token("link_open", "a", 1)).attrs = [ ["href", y] ], s.level = h++, s.markup = "linkify", s.info = "auto", c.push(s), (s = new e.Token("text", "", 0)).content = b, s.level = h, c.push(s), (s = new e.Token("link_close", "a", -1)).level = --h, s.markup = "linkify", s.info = "auto", c.push(s), d = g[l].lastIndex); d < f.length && ((s = new e.Token("text", "", 0)).content = f.slice(d), s.level = h, c.push(s)), T[r].children = a = n(a, t, c) } } else for (t--; a[t].level !== u.level && "link_open" !== a[t].type;) t-- } }, function(e, t, r) { "use strict"; var n = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, i = /\((c|tm|r|p)\)/i, o = /\((c|tm|r|p)\)/gi, a = { c: "\xa9", r: "\xae", p: "\xa7", tm: "\u2122" }; function s(e, t) { return a[t.toLowerCase()] } function u(e) { var t, r, n = 0; for (t = e.length - 1; t >= 0; t--) "text" !== (r = e[t]).type || n || (r.content = r.content.replace(o, s)), "link_open" === r.type && "auto" === r.info && n--, "link_close" === r.type && "auto" === r.info && n++ } function c(e) { var t, r, i = 0; for (t = e.length - 1; t >= 0; t--) "text" !== (r = e[t]).type || i || n.test(r.content) && (r.content = r.content.replace(/\+-/g, "\xb1").replace(/\.{2,}/g, "\u2026").replace(/([?!])\u2026/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---([^-]|$)/gm, "$1\u2014$2").replace(/(^|\s)--(\s|$)/gm, "$1\u2013$2").replace(/(^|[^-\s])--([^-\s]|$)/gm, "$1\u2013$2")), "link_open" === r.type && "auto" === r.info && i--, "link_close" === r.type && "auto" === r.info && i++ } e.exports = function(e) { var t; if (e.md.options.typographer) for (t = e.tokens.length - 1; t >= 0; t--) "inline" === e.tokens[t].type && (i.test(e.tokens[t].content) && u(e.tokens[t].children), n.test(e.tokens[t].content) && c(e.tokens[t].children)) } }, function(e, t, r) { "use strict"; var n = r(24).isWhiteSpace, i = r(24).isPunctChar, o = r(24).isMdAsciiPunct, a = /['"]/, s = /['"]/g; function u(e, t, r) { return e.substr(0, t) + r + e.substr(t + 1) } function c(e, t) { var r, a, c, l, f, p, d, h, v, m, y, b, g, _, T, S, A, E, C, O, w; for (C = [], r = 0; r < e.length; r++) { for (a = e[r], d = e[r].level, A = C.length - 1; A >= 0 && !(C[A].level <= d); A--); if (C.length = A + 1, "text" === a.type) { f = 0, p = (c = a.content).length; e: for (; f < p && (s.lastIndex = f, l = s.exec(c));) { if (T = S = !0, f = l.index + 1, E = "'" === l[0], v = 32, l.index - 1 >= 0) v = c.charCodeAt(l.index - 1); else for (A = r - 1; A >= 0 && ("softbreak" !== e[A].type && "hardbreak" !== e[A].type); A--) if ("text" === e[A].type) { v = e[A].content.charCodeAt(e[A].content.length - 1); break } if (m = 32, f < p) m = c.charCodeAt(f); else for (A = r + 1; A < e.length && ("softbreak" !== e[A].type && "hardbreak" !== e[A].type); A++) if ("text" === e[A].type) { m = e[A].content.charCodeAt(0); break } if (y = o(v) || i(String.fromCharCode(v)), b = o(m) || i(String.fromCharCode(m)), g = n(v), (_ = n(m)) ? T = !1 : b && (g || y || (T = !1)), g ? S = !1 : y && (_ || b || (S = !1)), 34 === m && '"' === l[0] && v >= 48 && v <= 57 && (S = T = !1), T && S && (T = !1, S = b), T || S) { if (S) for (A = C.length - 1; A >= 0 && (h = C[A], !(C[A].level < d)); A--) if (h.single === E && C[A].level === d) { h = C[A], E ? (O = t.md.options.quotes[2], w = t.md.options.quotes[3]) : (O = t.md.options.quotes[0], w = t.md.options.quotes[1]), a.content = u(a.content, l.index, w), e[h.token].content = u(e[h.token].content, h.pos, O), f += w.length - 1, h.token === r && (f += O.length - 1), p = (c = a.content).length, C.length = A; continue e } T ? C.push({ token: r, pos: l.index, single: E, level: d }) : S && E && (a.content = u(a.content, l.index, "\u2019")) } else E && (a.content = u(a.content, l.index, "\u2019")) } } } } e.exports = function(e) { var t; if (e.md.options.typographer) for (t = e.tokens.length - 1; t >= 0; t--) "inline" === e.tokens[t].type && a.test(e.tokens[t].content) && c(e.tokens[t].children, e) } }, function(e, t, r) { "use strict"; var n = r(723); function i(e, t, r) { this.src = e, this.env = r, this.tokens = [], this.inlineMode = !1, this.md = t } i.prototype.Token = n, e.exports = i }, function(e, t, r) { "use strict"; var n = r(722), i = [ ["table", r(2013), ["paragraph", "reference"]], ["code", r(2014)], ["fence", r(2015), ["paragraph", "reference", "blockquote", "list"]], ["blockquote", r(2016), ["paragraph", "reference", "blockquote", "list"]], ["hr", r(2017), ["paragraph", "reference", "blockquote", "list"]], ["list", r(2018), ["paragraph", "reference", "blockquote"]], ["reference", r(2019)], ["heading", r(2020), ["paragraph", "reference", "blockquote"]], ["lheading", r(2021)], ["html_block", r(2022), ["paragraph", "reference", "blockquote"]], ["paragraph", r(2024)] ]; function o() { this.ruler = new n; for (var e = 0; e < i.length; e++) this.ruler.push(i[e][0], i[e][1], { alt: (i[e][2] || []).slice() }) } o.prototype.tokenize = function(e, t, r) { for (var n, i = this.ruler.getRules(""), o = i.length, a = t, s = !1, u = e.md.options.maxNesting; a < r && (e.line = a = e.skipEmptyLines(a), !(a >= r)) && !(e.sCount[a] < e.blkIndent);) { if (e.level >= u) { e.line = r; break } for (n = 0; n < o && !i[n](e, a, r, !1); n++); e.tight = !s, e.isEmpty(e.line - 1) && (s = !0), (a = e.line) < r && e.isEmpty(a) && (s = !0, a++, e.line = a) } }, o.prototype.parse = function(e, t, r, n) { var i; e && (i = new this.State(e, t, r, n), this.tokenize(i, i.line, i.lineMax)) }, o.prototype.State = r(2025), e.exports = o }, function(e, t, r) { "use strict"; var n = r(24).isSpace; function i(e, t) { var r = e.bMarks[t] + e.blkIndent, n = e.eMarks[t]; return e.src.substr(r, n - r) } function o(e) { var t, r = [], n = 0, i = e.length, o = 0, a = 0, s = !1, u = 0; for (t = e.charCodeAt(n); n < i;) 96 === t ? s ? (s = !1, u = n) : o % 2 == 0 && (s = !0, u = n) : 124 !== t || o % 2 != 0 || s || (r.push(e.substring(a, n)), a = n + 1), 92 === t ? o++ : o = 0, ++n === i && s && (s = !1, n = u + 1), t = e.charCodeAt(n); return r.push(e.substring(a)), r } e.exports = function(e, t, r, a) { var s, u, c, l, f, p, d, h, v, m, y, b; if (t + 2 > r) return !1; if (f = t + 1, e.sCount[f] < e.blkIndent) return !1; if (e.sCount[f] - e.blkIndent >= 4) return !1; if ((c = e.bMarks[f] + e.tShift[f]) >= e.eMarks[f]) return !1; if (124 !== (s = e.src.charCodeAt(c++)) && 45 !== s && 58 !== s) return !1; for (; c < e.eMarks[f];) { if (124 !== (s = e.src.charCodeAt(c)) && 45 !== s && 58 !== s && !n(s)) return !1; c++ } for (p = (u = i(e, t + 1)).split("|"), v = [], l = 0; l < p.length; l++) { if (!(m = p[l].trim())) { if (0 === l || l === p.length - 1) continue; return !1 } if (!/^:?-+:?$/.test(m)) return !1; 58 === m.charCodeAt(m.length - 1) ? v.push(58 === m.charCodeAt(0) ? "center" : "right") : 58 === m.charCodeAt(0) ? v.push("left") : v.push("") } if (-1 === (u = i(e, t).trim()).indexOf("|")) return !1; if (e.sCount[t] - e.blkIndent >= 4) return !1; if ((d = (p = o(u.replace(/^\||\|$/g, ""))).length) > v.length) return !1; if (a) return !0; for ((h = e.push("table_open", "table", 1)).map = y = [t, 0], (h = e.push("thead_open", "thead", 1)).map = [t, t + 1], (h = e.push("tr_open", "tr", 1)).map = [t, t + 1], l = 0; l < p.length; l++)(h = e.push("th_open", "th", 1)).map = [t, t + 1], v[l] && (h.attrs = [ ["style", "text-align:" + v[l]] ]), (h = e.push("inline", "", 0)).content = p[l].trim(), h.map = [t, t + 1], h.children = [], h = e.push("th_close", "th", -1); for (h = e.push("tr_close", "tr", -1), h = e.push("thead_close", "thead", -1), (h = e.push("tbody_open", "tbody", 1)).map = b = [t + 2, 0], f = t + 2; f < r && !(e.sCount[f] < e.blkIndent) && -1 !== (u = i(e, f).trim()).indexOf("|") && !(e.sCount[f] - e.blkIndent >= 4); f++) { for (p = o(u.replace(/^\||\|$/g, "")), h = e.push("tr_open", "tr", 1), l = 0; l < d; l++) h = e.push("td_open", "td", 1), v[l] && (h.attrs = [ ["style", "text-align:" + v[l]] ]), (h = e.push("inline", "", 0)).content = p[l] ? p[l].trim() : "", h.children = [], h = e.push("td_close", "td", -1); h = e.push("tr_close", "tr", -1) } return h = e.push("tbody_close", "tbody", -1), h = e.push("table_close", "table", -1), y[1] = b[1] = f, e.line = f, !0 } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r) { var n, i, o; if (e.sCount[t] - e.blkIndent < 4) return !1; for (i = n = t + 1; n < r;) if (e.isEmpty(n)) n++; else { if (!(e.sCount[n] - e.blkIndent >= 4)) break; i = ++n } return e.line = i, (o = e.push("code_block", "code", 0)).content = e.getLines(t, i, 4 + e.blkIndent, !0), o.map = [t, e.line], !0 } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r, n) { var i, o, a, s, u, c, l, f = !1, p = e.bMarks[t] + e.tShift[t], d = e.eMarks[t]; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (p + 3 > d) return !1; if (126 !== (i = e.src.charCodeAt(p)) && 96 !== i) return !1; if (u = p, (o = (p = e.skipChars(p, i)) - u) < 3) return !1; if (l = e.src.slice(u, p), a = e.src.slice(p, d), 96 === i && a.indexOf(String.fromCharCode(i)) >= 0) return !1; if (n) return !0; for (s = t; !(++s >= r) && !((p = u = e.bMarks[s] + e.tShift[s]) < (d = e.eMarks[s]) && e.sCount[s] < e.blkIndent);) if (e.src.charCodeAt(p) === i && !(e.sCount[s] - e.blkIndent >= 4 || (p = e.skipChars(p, i)) - u < o || (p = e.skipSpaces(p)) < d)) { f = !0; break } return o = e.sCount[t], e.line = s + (f ? 1 : 0), (c = e.push("fence", "code", 0)).info = a, c.content = e.getLines(t + 1, s, o, !0), c.markup = l, c.map = [t, e.line], !0 } }, function(e, t, r) { "use strict"; var n = r(24).isSpace; e.exports = function(e, t, r, i) { var o, a, s, u, c, l, f, p, d, h, v, m, y, b, g, _, T, S, A, E, C = e.lineMax, O = e.bMarks[t] + e.tShift[t], w = e.eMarks[t]; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (62 !== e.src.charCodeAt(O++)) return !1; if (i) return !0; for (u = d = e.sCount[t] + O - (e.bMarks[t] + e.tShift[t]), 32 === e.src.charCodeAt(O) ? (O++, u++, d++, o = !1, _ = !0) : 9 === e.src.charCodeAt(O) ? (_ = !0, (e.bsCount[t] + d) % 4 == 3 ? (O++, u++, d++, o = !1) : o = !0) : _ = !1, h = [e.bMarks[t]], e.bMarks[t] = O; O < w && (a = e.src.charCodeAt(O), n(a));) 9 === a ? d += 4 - (d + e.bsCount[t] + (o ? 1 : 0)) % 4 : d++, O++; for (v = [e.bsCount[t]], e.bsCount[t] = e.sCount[t] + 1 + (_ ? 1 : 0), l = O >= w, b = [e.sCount[t]], e.sCount[t] = d - u, g = [e.tShift[t]], e.tShift[t] = O - e.bMarks[t], S = e.md.block.ruler.getRules("blockquote"), y = e.parentType, e.parentType = "blockquote", E = !1, p = t + 1; p < r && (e.sCount[p] < e.blkIndent && (E = !0), !((O = e.bMarks[p] + e.tShift[p]) >= (w = e.eMarks[p]))); p++) if (62 !== e.src.charCodeAt(O++) || E) { if (l) break; for (T = !1, s = 0, c = S.length; s < c; s++) if (S[s](e, p, r, !0)) { T = !0; break } if (T) { e.lineMax = p, 0 !== e.blkIndent && (h.push(e.bMarks[p]), v.push(e.bsCount[p]), g.push(e.tShift[p]), b.push(e.sCount[p]), e.sCount[p] -= e.blkIndent); break } h.push(e.bMarks[p]), v.push(e.bsCount[p]), g.push(e.tShift[p]), b.push(e.sCount[p]), e.sCount[p] = -1 } else { for (u = d = e.sCount[p] + O - (e.bMarks[p] + e.tShift[p]), 32 === e.src.charCodeAt(O) ? (O++, u++, d++, o = !1, _ = !0) : 9 === e.src.charCodeAt(O) ? (_ = !0, (e.bsCount[p] + d) % 4 == 3 ? (O++, u++, d++, o = !1) : o = !0) : _ = !1, h.push(e.bMarks[p]), e.bMarks[p] = O; O < w && (a = e.src.charCodeAt(O), n(a));) 9 === a ? d += 4 - (d + e.bsCount[p] + (o ? 1 : 0)) % 4 : d++, O++; l = O >= w, v.push(e.bsCount[p]), e.bsCount[p] = e.sCount[p] + 1 + (_ ? 1 : 0), b.push(e.sCount[p]), e.sCount[p] = d - u, g.push(e.tShift[p]), e.tShift[p] = O - e.bMarks[p] } for (m = e.blkIndent, e.blkIndent = 0, (A = e.push("blockquote_open", "blockquote", 1)).markup = ">", A.map = f = [t, 0], e.md.block.tokenize(e, t, p), (A = e.push("blockquote_close", "blockquote", -1)).markup = ">", e.lineMax = C, e.parentType = y, f[1] = e.line, s = 0; s < g.length; s++) e.bMarks[s + t] = h[s], e.tShift[s + t] = g[s], e.sCount[s + t] = b[s], e.bsCount[s + t] = v[s]; return e.blkIndent = m, !0 } }, function(e, t, r) { "use strict"; var n = r(24).isSpace; e.exports = function(e, t, r, i) { var o, a, s, u, c = e.bMarks[t] + e.tShift[t], l = e.eMarks[t]; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (42 !== (o = e.src.charCodeAt(c++)) && 45 !== o && 95 !== o) return !1; for (a = 1; c < l;) { if ((s = e.src.charCodeAt(c++)) !== o && !n(s)) return !1; s === o && a++ } return !(a < 3) && (i || (e.line = t + 1, (u = e.push("hr", "hr", 0)).map = [t, e.line], u.markup = Array(a + 1).join(String.fromCharCode(o))), !0) } }, function(e, t, r) { "use strict"; var n = r(24).isSpace; function i(e, t) { var r, i, o, a; return i = e.bMarks[t] + e.tShift[t], o = e.eMarks[t], 42 !== (r = e.src.charCodeAt(i++)) && 45 !== r && 43 !== r || i < o && (a = e.src.charCodeAt(i), !n(a)) ? -1 : i } function o(e, t) { var r, i = e.bMarks[t] + e.tShift[t], o = i, a = e.eMarks[t]; if (o + 1 >= a) return -1; if ((r = e.src.charCodeAt(o++)) < 48 || r > 57) return -1; for (;;) { if (o >= a) return -1; if (!((r = e.src.charCodeAt(o++)) >= 48 && r <= 57)) { if (41 === r || 46 === r) break; return -1 } if (o - i >= 10) return -1 } return o < a && (r = e.src.charCodeAt(o), !n(r)) ? -1 : o } e.exports = function(e, t, r, n) { var a, s, u, c, l, f, p, d, h, v, m, y, b, g, _, T, S, A, E, C, O, w, I, P, x, N, k, R, L = !1, M = !0; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (e.listIndent >= 0 && e.sCount[t] - e.listIndent >= 4 && e.sCount[t] < e.blkIndent) return !1; if (n && "paragraph" === e.parentType && e.tShift[t] >= e.blkIndent && (L = !0), (I = o(e, t)) >= 0) { if (p = !0, x = e.bMarks[t] + e.tShift[t], b = Number(e.src.substr(x, I - x - 1)), L && 1 !== b) return !1 } else { if (!((I = i(e, t)) >= 0)) return !1; p = !1 } if (L && e.skipSpaces(I) >= e.eMarks[t]) return !1; if (y = e.src.charCodeAt(I - 1), n) return !0; for (m = e.tokens.length, p ? (R = e.push("ordered_list_open", "ol", 1), 1 !== b && (R.attrs = [ ["start", b] ])) : R = e.push("bullet_list_open", "ul", 1), R.map = v = [t, 0], R.markup = String.fromCharCode(y), _ = t, P = !1, k = e.md.block.ruler.getRules("list"), A = e.parentType, e.parentType = "list"; _ < r;) { for (w = I, g = e.eMarks[_], f = T = e.sCount[_] + I - (e.bMarks[t] + e.tShift[t]); w < g;) { if (9 === (a = e.src.charCodeAt(w))) T += 4 - (T + e.bsCount[_]) % 4; else { if (32 !== a) break; T++ } w++ } if ((l = (s = w) >= g ? 1 : T - f) > 4 && (l = 1), c = f + l, (R = e.push("list_item_open", "li", 1)).markup = String.fromCharCode(y), R.map = d = [t, 0], O = e.tight, C = e.tShift[t], E = e.sCount[t], S = e.listIndent, e.listIndent = e.blkIndent, e.blkIndent = c, e.tight = !0, e.tShift[t] = s - e.bMarks[t], e.sCount[t] = T, s >= g && e.isEmpty(t + 1) ? e.line = Math.min(e.line + 2, r) : e.md.block.tokenize(e, t, r, !0), e.tight && !P || (M = !1), P = e.line - t > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = S, e.tShift[t] = C, e.sCount[t] = E, e.tight = O, (R = e.push("list_item_close", "li", -1)).markup = String.fromCharCode(y), _ = t = e.line, d[1] = _, s = e.bMarks[t], _ >= r) break; if (e.sCount[_] < e.blkIndent) break; if (e.sCount[t] - e.blkIndent >= 4) break; for (N = !1, u = 0, h = k.length; u < h; u++) if (k[u](e, _, r, !0)) { N = !0; break } if (N) break; if (p) { if ((I = o(e, _)) < 0) break } else if ((I = i(e, _)) < 0) break; if (y !== e.src.charCodeAt(I - 1)) break } return (R = p ? e.push("ordered_list_close", "ol", -1) : e.push("bullet_list_close", "ul", -1)).markup = String.fromCharCode(y), v[1] = _, e.line = _, e.parentType = A, M && function(e, t) { var r, n, i = e.level + 2; for (r = t + 2, n = e.tokens.length - 2; r < n; r++) e.tokens[r].level === i && "paragraph_open" === e.tokens[r].type && (e.tokens[r + 2].hidden = !0, e.tokens[r].hidden = !0, r += 2) }(e, m), !0 } }, function(e, t, r) { "use strict"; var n = r(24).normalizeReference, i = r(24).isSpace; e.exports = function(e, t, r, o) { var a, s, u, c, l, f, p, d, h, v, m, y, b, g, _, T, S = 0, A = e.bMarks[t] + e.tShift[t], E = e.eMarks[t], C = t + 1; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (91 !== e.src.charCodeAt(A)) return !1; for (; ++A < E;) if (93 === e.src.charCodeAt(A) && 92 !== e.src.charCodeAt(A - 1)) { if (A + 1 === E) return !1; if (58 !== e.src.charCodeAt(A + 1)) return !1; break } for (c = e.lineMax, _ = e.md.block.ruler.getRules("reference"), v = e.parentType, e.parentType = "reference"; C < c && !e.isEmpty(C); C++) if (!(e.sCount[C] - e.blkIndent > 3 || e.sCount[C] < 0)) { for (g = !1, f = 0, p = _.length; f < p; f++) if (_[f](e, C, c, !0)) { g = !0; break } if (g) break } for (E = (b = e.getLines(t, C, e.blkIndent, !1).trim()).length, A = 1; A < E; A++) { if (91 === (a = b.charCodeAt(A))) return !1; if (93 === a) { h = A; break }(10 === a || 92 === a && ++A < E && 10 === b.charCodeAt(A)) && S++ } if (h < 0 || 58 !== b.charCodeAt(h + 1)) return !1; for (A = h + 2; A < E; A++) if (10 === (a = b.charCodeAt(A))) S++; else if (!i(a)) break; if (!(m = e.md.helpers.parseLinkDestination(b, A, E)).ok) return !1; if (l = e.md.normalizeLink(m.str), !e.md.validateLink(l)) return !1; for (s = A = m.pos, u = S += m.lines, y = A; A < E; A++) if (10 === (a = b.charCodeAt(A))) S++; else if (!i(a)) break; for (m = e.md.helpers.parseLinkTitle(b, A, E), A < E && y !== A && m.ok ? (T = m.str, A = m.pos, S += m.lines) : (T = "", A = s, S = u); A < E && (a = b.charCodeAt(A), i(a));) A++; if (A < E && 10 !== b.charCodeAt(A) && T) for (T = "", A = s, S = u; A < E && (a = b.charCodeAt(A), i(a));) A++; return !(A < E && 10 !== b.charCodeAt(A)) && (!!(d = n(b.slice(1, h))) && (o || (void 0 === e.env.references && (e.env.references = {}), void 0 === e.env.references[d] && (e.env.references[d] = { title: T, href: l }), e.parentType = v, e.line = t + S + 1), !0)) } }, function(e, t, r) { "use strict"; var n = r(24).isSpace; e.exports = function(e, t, r, i) { var o, a, s, u, c = e.bMarks[t] + e.tShift[t], l = e.eMarks[t]; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (35 !== (o = e.src.charCodeAt(c)) || c >= l) return !1; for (a = 1, o = e.src.charCodeAt(++c); 35 === o && c < l && a <= 6;) a++, o = e.src.charCodeAt(++c); return !(a > 6 || c < l && !n(o)) && (i || (l = e.skipSpacesBack(l, c), (s = e.skipCharsBack(l, 35, c)) > c && n(e.src.charCodeAt(s - 1)) && (l = s), e.line = t + 1, (u = e.push("heading_open", "h" + String(a), 1)).markup = "########".slice(0, a), u.map = [t, e.line], (u = e.push("inline", "", 0)).content = e.src.slice(c, l).trim(), u.map = [t, e.line], u.children = [], (u = e.push("heading_close", "h" + String(a), -1)).markup = "########".slice(0, a)), !0) } }, function(e, t, r) { "use strict"; e.exports = function(e, t, r) { var n, i, o, a, s, u, c, l, f, p, d = t + 1, h = e.md.block.ruler.getRules("paragraph"); if (e.sCount[t] - e.blkIndent >= 4) return !1; for (p = e.parentType, e.parentType = "paragraph"; d < r && !e.isEmpty(d); d++) if (!(e.sCount[d] - e.blkIndent > 3)) { if (e.sCount[d] >= e.blkIndent && (u = e.bMarks[d] + e.tShift[d]) < (c = e.eMarks[d]) && (45 === (f = e.src.charCodeAt(u)) || 61 === f) && (u = e.skipChars(u, f), (u = e.skipSpaces(u)) >= c)) { l = 61 === f ? 1 : 2; break } if (!(e.sCount[d] < 0)) { for (i = !1, o = 0, a = h.length; o < a; o++) if (h[o](e, d, r, !0)) { i = !0; break } if (i) break } } return !!l && (n = e.getLines(t, d, e.blkIndent, !1).trim(), e.line = d + 1, (s = e.push("heading_open", "h" + String(l), 1)).markup = String.fromCharCode(f), s.map = [t, e.line], (s = e.push("inline", "", 0)).content = n, s.map = [t, e.line - 1], s.children = [], (s = e.push("heading_close", "h" + String(l), -1)).markup = String.fromCharCode(f), e.parentType = p, !0) } }, function(e, t, r) { "use strict"; var n = r(2023), i = r(1710).HTML_OPEN_CLOSE_TAG_RE, o = [ [/^<(script|pre|style)(?=(\s|>|$))/i, /<\/(script|pre|style)>/i, !0], [/^<!--/, /-->/, !0], [/^<\?/, /\?>/, !0], [/^<![A-Z]/, />/, !0], [/^<!\[CDATA\[/, /\]\]>/, !0], [new RegExp("^</?(" + n.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0], [new RegExp(i.source + "\\s*$"), /^$/, !1] ]; e.exports = function(e, t, r, n) { var i, a, s, u, c = e.bMarks[t] + e.tShift[t], l = e.eMarks[t]; if (e.sCount[t] - e.blkIndent >= 4) return !1; if (!e.md.options.html) return !1; if (60 !== e.src.charCodeAt(c)) return !1; for (u = e.src.slice(c, l), i = 0; i < o.length && !o[i][0].test(u); i++); if (i === o.length) return !1; if (n) return o[i][2]; if (a = t + 1, !o[i][1].test(u)) for (; a < r && !(e.sCount[a] < e.blkIndent); a++) if (c = e.bMarks[a] + e.tShift[a], l = e.eMarks[a], u = e.src.slice(c, l), o[i][1].test(u)) { 0 !== u.length && a++; break } return e.line = a, (s = e.push("html_block", "", 0)).map = [t, a], s.content = e.getLines(t, a, e.blkIndent, !0), !0 } }, function(e, t, r) { "use strict"; e.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", "meta", "nav", "noframes", "ol", "optgroup", "option", "p", "param", "section", "source", "summary", "table", "tbody", "td", "tfoot", "th", "thead", "title", "tr", "track", "ul"] }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r, n, i, o, a, s, u = t + 1, c = e.md.block.ruler.getRules("paragraph"), l = e.lineMax; for (s = e.parentType, e.parentType = "paragraph"; u < l && !e.isEmpty(u); u++) if (!(e.sCount[u] - e.blkIndent > 3 || e.sCount[u] < 0)) { for (n = !1, i = 0, o = c.length; i < o; i++) if (c[i](e, u, l, !0)) { n = !0; break } if (n) break } return r = e.getLines(t, u, e.blkIndent, !1).trim(), e.line = u, (a = e.push("paragraph_open", "p", 1)).map = [t, e.line], (a = e.push("inline", "", 0)).content = r, a.map = [t, e.line], a.children = [], a = e.push("paragraph_close", "p", -1), e.parentType = s, !0 } }, function(e, t, r) { "use strict"; var n = r(723), i = r(24).isSpace; function o(e, t, r, n) { var o, a, s, u, c, l, f, p; for (this.src = e, this.md = t, this.env = r, this.tokens = n, 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 = "", p = !1, s = u = l = f = 0, c = (a = this.src).length; u < c; u++) { if (o = a.charCodeAt(u), !p) { if (i(o)) { l++, 9 === o ? f += 4 - f % 4 : f++; continue } p = !0 } 10 !== o && u !== c - 1 || (10 !== o && u++, this.bMarks.push(s), this.eMarks.push(u), this.tShift.push(l), this.sCount.push(f), this.bsCount.push(0), p = !1, l = 0, f = 0, s = u + 1) } this.bMarks.push(a.length), this.eMarks.push(a.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1 } o.prototype.push = function(e, t, r) { var i = new n(e, t, r); return i.block = !0, r < 0 && this.level--, i.level = this.level, r > 0 && this.level++, this.tokens.push(i), i }, o.prototype.isEmpty = function(e) { return this.bMarks[e] + this.tShift[e] >= this.eMarks[e] }, o.prototype.skipEmptyLines = function(e) { for (var t = this.lineMax; e < t && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++); return e }, o.prototype.skipSpaces = function(e) { for (var t, r = this.src.length; e < r && (t = this.src.charCodeAt(e), i(t)); e++); return e }, o.prototype.skipSpacesBack = function(e, t) { if (e <= t) return e; for (; e > t;) if (!i(this.src.charCodeAt(--e))) return e + 1; return e }, o.prototype.skipChars = function(e, t) { for (var r = this.src.length; e < r && this.src.charCodeAt(e) === t; e++); return e }, o.prototype.skipCharsBack = function(e, t, r) { if (e <= r) return e; for (; e > r;) if (t !== this.src.charCodeAt(--e)) return e + 1; return e }, o.prototype.getLines = function(e, t, r, n) { var o, a, s, u, c, l, f, p = e; if (e >= t) return ""; for (l = new Array(t - e), o = 0; p < t; p++, o++) { for (a = 0, f = u = this.bMarks[p], c = p + 1 < t || n ? this.eMarks[p] + 1 : this.eMarks[p]; u < c && a < r;) { if (s = this.src.charCodeAt(u), i(s)) 9 === s ? a += 4 - (a + this.bsCount[p]) % 4 : a++; else { if (!(u - f < this.tShift[p])) break; a++ } u++ } l[o] = a > r ? new Array(a - r + 1).join(" ") + this.src.slice(u, c) : this.src.slice(u, c) } return l.join("") }, o.prototype.Token = n, e.exports = o }, function(e, t, r) { "use strict"; var n = r(722), i = [ ["text", r(2027)], ["newline", r(2028)], ["escape", r(2029)], ["backticks", r(2030)], ["strikethrough", r(1711).tokenize], ["emphasis", r(1712).tokenize], ["link", r(2031)], ["image", r(2032)], ["autolink", r(2033)], ["html_inline", r(2034)], ["entity", r(2035)] ], o = [ ["balance_pairs", r(2036)], ["strikethrough", r(1711).postProcess], ["emphasis", r(1712).postProcess], ["text_collapse", r(2037)] ]; function a() { var e; for (this.ruler = new n, e = 0; e < i.length; e++) this.ruler.push(i[e][0], i[e][1]); for (this.ruler2 = new n, e = 0; e < o.length; e++) this.ruler2.push(o[e][0], o[e][1]) } a.prototype.skipToken = function(e) { var t, r, n = e.pos, i = this.ruler.getRules(""), o = i.length, a = e.md.options.maxNesting, s = e.cache; if (void 0 === s[n]) { if (e.level < a) for (r = 0; r < o && (e.level++, t = i[r](e, !0), e.level--, !t); r++); else e.pos = e.posMax; t || e.pos++, s[n] = e.pos } else e.pos = s[n] }, a.prototype.tokenize = function(e) { for (var t, r, n = this.ruler.getRules(""), i = n.length, o = e.posMax, a = e.md.options.maxNesting; e.pos < o;) { if (e.level < a) for (r = 0; r < i && !(t = n[r](e, !1)); r++); if (t) { if (e.pos >= o) break } else e.pending += e.src[e.pos++] } e.pending && e.pushPending() }, a.prototype.parse = function(e, t, r, n) { var i, o, a, s = new this.State(e, t, r, n); for (this.tokenize(s), a = (o = this.ruler2.getRules("")).length, i = 0; i < a; i++) o[i](s) }, a.prototype.State = r(2038), e.exports = a }, function(e, t, r) { "use strict"; function n(e) { switch (e) { 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 } } e.exports = function(e, t) { for (var r = e.pos; r < e.posMax && !n(e.src.charCodeAt(r));) r++; return r !== e.pos && (t || (e.pending += e.src.slice(e.pos, r)), e.pos = r, !0) } }, function(e, t, r) { "use strict"; var n = r(24).isSpace; e.exports = function(e, t) { var r, i, o = e.pos; if (10 !== e.src.charCodeAt(o)) return !1; for (r = e.pending.length - 1, i = e.posMax, t || (r >= 0 && 32 === e.pending.charCodeAt(r) ? r >= 1 && 32 === e.pending.charCodeAt(r - 1) ? (e.pending = e.pending.replace(/ +$/, ""), e.push("hardbreak", "br", 0)) : (e.pending = e.pending.slice(0, -1), e.push("softbreak", "br", 0)) : e.push("softbreak", "br", 0)), o++; o < i && n(e.src.charCodeAt(o));) o++; return e.pos = o, !0 } }, function(e, t, r) { "use strict"; for (var n = r(24).isSpace, i = [], o = 0; o < 256; o++) i.push(0); "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e) { i[e.charCodeAt(0)] = 1 })), e.exports = function(e, t) { var r, o = e.pos, a = e.posMax; if (92 !== e.src.charCodeAt(o)) return !1; if (++o < a) { if ((r = e.src.charCodeAt(o)) < 256 && 0 !== i[r]) return t || (e.pending += e.src[o]), e.pos += 2, !0; if (10 === r) { for (t || e.push("hardbreak", "br", 0), o++; o < a && (r = e.src.charCodeAt(o), n(r));) o++; return e.pos = o, !0 } } return t || (e.pending += "\\"), e.pos++, !0 } }, function(e, t, r) { "use strict"; e.exports = function(e, t) { var r, n, i, o, a, s, u = e.pos; if (96 !== e.src.charCodeAt(u)) return !1; for (r = u, u++, n = e.posMax; u < n && 96 === e.src.charCodeAt(u);) u++; for (i = e.src.slice(r, u), o = a = u; - 1 !== (o = e.src.indexOf("`", a));) { for (a = o + 1; a < n && 96 === e.src.charCodeAt(a);) a++; if (a - o === i.length) return t || ((s = e.push("code_inline", "code", 0)).markup = i, s.content = e.src.slice(u, o).replace(/\n/g, " ").replace(/^ (.+) $/, "$1")), e.pos = a, !0 } return t || (e.pending += i), e.pos += i.length, !0 } }, function(e, t, r) { "use strict"; var n = r(24).normalizeReference, i = r(24).isSpace; e.exports = function(e, t) { var r, o, a, s, u, c, l, f, p, d = "", h = e.pos, v = e.posMax, m = e.pos, y = !0; if (91 !== e.src.charCodeAt(e.pos)) return !1; if (u = e.pos + 1, (s = e.md.helpers.parseLinkLabel(e, e.pos, !0)) < 0) return !1; if ((c = s + 1) < v && 40 === e.src.charCodeAt(c)) { for (y = !1, c++; c < v && (o = e.src.charCodeAt(c), i(o) || 10 === o); c++); if (c >= v) return !1; for (m = c, (l = e.md.helpers.parseLinkDestination(e.src, c, e.posMax)).ok && (d = e.md.normalizeLink(l.str), e.md.validateLink(d) ? c = l.pos : d = ""), m = c; c < v && (o = e.src.charCodeAt(c), i(o) || 10 === o); c++); if (l = e.md.helpers.parseLinkTitle(e.src, c, e.posMax), c < v && m !== c && l.ok) for (p = l.str, c = l.pos; c < v && (o = e.src.charCodeAt(c), i(o) || 10 === o); c++); else p = ""; (c >= v || 41 !== e.src.charCodeAt(c)) && (y = !0), c++ } if (y) { if (void 0 === e.env.references) return !1; if (c < v && 91 === e.src.charCodeAt(c) ? (m = c + 1, (c = e.md.helpers.parseLinkLabel(e, c)) >= 0 ? a = e.src.slice(m, c++) : c = s + 1) : c = s + 1, a || (a = e.src.slice(u, s)), !(f = e.env.references[n(a)])) return e.pos = h, !1; d = f.href, p = f.title } return t || (e.pos = u, e.posMax = s, e.push("link_open", "a", 1).attrs = r = [ ["href", d] ], p && r.push(["title", p]), e.md.inline.tokenize(e), e.push("link_close", "a", -1)), e.pos = c, e.posMax = v, !0 } }, function(e, t, r) { "use strict"; var n = r(24).normalizeReference, i = r(24).isSpace; e.exports = function(e, t) { var r, o, a, s, u, c, l, f, p, d, h, v, m, y = "", b = e.pos, g = e.posMax; if (33 !== e.src.charCodeAt(e.pos)) return !1; if (91 !== e.src.charCodeAt(e.pos + 1)) return !1; if (c = e.pos + 2, (u = e.md.helpers.parseLinkLabel(e, e.pos + 1, !1)) < 0) return !1; if ((l = u + 1) < g && 40 === e.src.charCodeAt(l)) { for (l++; l < g && (o = e.src.charCodeAt(l), i(o) || 10 === o); l++); if (l >= g) return !1; for (m = l, (p = e.md.helpers.parseLinkDestination(e.src, l, e.posMax)).ok && (y = e.md.normalizeLink(p.str), e.md.validateLink(y) ? l = p.pos : y = ""), m = l; l < g && (o = e.src.charCodeAt(l), i(o) || 10 === o); l++); if (p = e.md.helpers.parseLinkTitle(e.src, l, e.posMax), l < g && m !== l && p.ok) for (d = p.str, l = p.pos; l < g && (o = e.src.charCodeAt(l), i(o) || 10 === o); l++); else d = ""; if (l >= g || 41 !== e.src.charCodeAt(l)) return e.pos = b, !1; l++ } else { if (void 0 === e.env.references) return !1; if (l < g && 91 === e.src.charCodeAt(l) ? (m = l + 1, (l = e.md.helpers.parseLinkLabel(e, l)) >= 0 ? s = e.src.slice(m, l++) : l = u + 1) : l = u + 1, s || (s = e.src.slice(c, u)), !(f = e.env.references[n(s)])) return e.pos = b, !1; y = f.href, d = f.title } return t || (a = e.src.slice(c, u), e.md.inline.parse(a, e.md, e.env, v = []), (h = e.push("image", "img", 0)).attrs = r = [ ["src", y], ["alt", ""] ], h.children = v, h.content = a, d && r.push(["title", d])), e.pos = l, e.posMax = g, !0 } }, function(e, t, r) { "use strict"; var n = /^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[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])?)*)>/, i = /^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/; e.exports = function(e, t) { var r, o, a, s, u, c, l = e.pos; return 60 === e.src.charCodeAt(l) && (!((r = e.src.slice(l)).indexOf(">") < 0) && (i.test(r) ? (s = (o = r.match(i))[0].slice(1, -1), u = e.md.normalizeLink(s), !!e.md.validateLink(u) && (t || ((c = e.push("link_open", "a", 1)).attrs = [ ["href", u] ], c.markup = "autolink", c.info = "auto", (c = e.push("text", "", 0)).content = e.md.normalizeLinkText(s), (c = e.push("link_close", "a", -1)).markup = "autolink", c.info = "auto"), e.pos += o[0].length, !0)) : !!n.test(r) && (s = (a = r.match(n))[0].slice(1, -1), u = e.md.normalizeLink("mailto:" + s), !!e.md.validateLink(u) && (t || ((c = e.push("link_open", "a", 1)).attrs = [ ["href", u] ], c.markup = "autolink", c.info = "auto", (c = e.push("text", "", 0)).content = e.md.normalizeLinkText(s), (c = e.push("link_close", "a", -1)).markup = "autolink", c.info = "auto"), e.pos += a[0].length, !0)))) } }, function(e, t, r) { "use strict"; var n = r(1710).HTML_TAG_RE; e.exports = function(e, t) { var r, i, o, a = e.pos; return !!e.md.options.html && (o = e.posMax, !(60 !== e.src.charCodeAt(a) || a + 2 >= o) && (!(33 !== (r = e.src.charCodeAt(a + 1)) && 63 !== r && 47 !== r && ! function(e) { var t = 32 | e; return t >= 97 && t <= 122 }(r)) && (!!(i = e.src.slice(a).match(n)) && (t || (e.push("html_inline", "", 0).content = e.src.slice(a, a + i[0].length)), e.pos += i[0].length, !0)))) } }, function(e, t, r) { "use strict"; var n = r(1705), i = r(24).has, o = r(24).isValidEntityCode, a = r(24).fromCodePoint, s = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, u = /^&([a-z][a-z0-9]{1,31});/i; e.exports = function(e, t) { var r, c, l = e.pos, f = e.posMax; if (38 !== e.src.charCodeAt(l)) return !1; if (l + 1 < f) if (35 === e.src.charCodeAt(l + 1)) { if (c = e.src.slice(l).match(s)) return t || (r = "x" === c[1][0].toLowerCase() ? parseInt(c[1].slice(1), 16) : parseInt(c[1], 10), e.pending += o(r) ? a(r) : a(65533)), e.pos += c[0].length, !0 } else if ((c = e.src.slice(l).match(u)) && i(n, c[1])) return t || (e.pending += n[c[1]]), e.pos += c[0].length, !0; return t || (e.pending += "&"), e.pos++, !0 } }, function(e, t, r) { "use strict"; function n(e, t) { var r, n, i, o, a, s, u, c, l = {}, f = t.length; for (r = 0; r < f; r++) if ((i = t[r]).length = i.length || 0, i.close) { for (l.hasOwnProperty(i.marker) || (l[i.marker] = [-1, -1, -1]), a = l[i.marker][i.length % 3], s = -1, n = r - i.jump - 1; n > a; n -= o.jump + 1) if ((o = t[n]).marker === i.marker && (-1 === s && (s = n), o.open && o.end < 0 && o.level === i.level && (u = !1, (o.close || i.open) && (o.length + i.length) % 3 == 0 && (o.length % 3 == 0 && i.length % 3 == 0 || (u = !0)), !u))) { c = n > 0 && !t[n - 1].open ? t[n - 1].jump + 1 : 0, i.jump = r - n + c, i.open = !1, o.end = r, o.jump = c, o.close = !1, s = -1; break } - 1 !== s && (l[i.marker][(i.length || 0) % 3] = s) } } e.exports = function(e) { var t, r = e.tokens_meta, i = e.tokens_meta.length; for (n(0, e.delimiters), t = 0; t < i; t++) r[t] && r[t].delimiters && n(0, r[t].delimiters) } }, function(e, t, r) { "use strict"; e.exports = function(e) { var t, r, n = 0, i = e.tokens, o = e.tokens.length; for (t = r = 0; t < o; t++) i[t].nesting < 0 && n--, i[t].level = n, i[t].nesting > 0 && n++, "text" === i[t].type && t + 1 < o && "text" === i[t + 1].type ? i[t + 1].content = i[t].content + i[t + 1].content : (t !== r && (i[r] = i[t]), r++); t !== r && (i.length = r) } }, function(e, t, r) { "use strict"; var n = r(723), i = r(24).isWhiteSpace, o = r(24).isPunctChar, a = r(24).isMdAsciiPunct; function s(e, t, r, n) { this.src = e, this.env = r, this.md = t, this.tokens = n, this.tokens_meta = Array(n.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [] } s.prototype.pushPending = function() { var e = new n("text", "", 0); return e.content = this.pending, e.level = this.pendingLevel, this.tokens.push(e), this.pending = "", e }, s.prototype.push = function(e, t, r) { this.pending && this.pushPending(); var i = new n(e, t, r), o = null; return r < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), i.level = this.level, r > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], o = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(i), this.tokens_meta.push(o), i }, s.prototype.scanDelims = function(e, t) { var r, n, s, u, c, l, f, p, d, h = e, v = !0, m = !0, y = this.posMax, b = this.src.charCodeAt(e); for (r = e > 0 ? this.src.charCodeAt(e - 1) : 32; h < y && this.src.charCodeAt(h) === b;) h++; return s = h - e, n = h < y ? this.src.charCodeAt(h) : 32, f = a(r) || o(String.fromCharCode(r)), d = a(n) || o(String.fromCharCode(n)), l = i(r), (p = i(n)) ? v = !1 : d && (l || f || (v = !1)), l ? m = !1 : f && (p || d || (m = !1)), t ? (u = v, c = m) : (u = v && (!m || f), c = m && (!v || d)), { can_open: u, can_close: c, length: s } }, s.prototype.Token = n, e.exports = s }, function(e, t, r) { "use strict"; function n(e) { var t = Array.prototype.slice.call(arguments, 1); return t.forEach((function(t) { t && Object.keys(t).forEach((function(r) { e[r] = t[r] })) })), e } function i(e) { return Object.prototype.toString.call(e) } function o(e) { return "[object Function]" === i(e) } function a(e) { return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&") } var s = { fuzzyLink: !0, fuzzyEmail: !0, fuzzyIP: !1 }; var u = { "http:": { validate: function(e, t, r) { var n = e.slice(t); return r.re.http || (r.re.http = new RegExp("^\\/\\/" + r.re.src_auth + r.re.src_host_port_strict + r.re.src_path, "i")), r.re.http.test(n) ? n.match(r.re.http)[0].length : 0 } }, "https:": "http:", "ftp:": "http:", "//": { validate: function(e, t, r) { var n = e.slice(t); return r.re.no_http || (r.re.no_http = new RegExp("^" + r.re.src_auth + "(?:localhost|(?:(?:" + r.re.src_domain + ")\\.)+" + r.re.src_domain_root + ")" + r.re.src_port + r.re.src_host_terminator + r.re.src_path, "i")), r.re.no_http.test(n) ? t >= 3 && ":" === e[t - 3] || t >= 3 && "/" === e[t - 3] ? 0 : n.match(r.re.no_http)[0].length : 0 } }, "mailto:": { validate: function(e, t, r) { var n = e.slice(t); return r.re.mailto || (r.re.mailto = new RegExp("^" + r.re.src_email_name + "@" + r.re.src_host_strict, "i")), r.re.mailto.test(n) ? n.match(r.re.mailto)[0].length : 0 } } }, c = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|"); function l(e) { var t = e.re = r(2040)(e.__opts__), n = e.__tlds__.slice(); function s(e) { return e.replace("%TLDS%", t.src_tlds) } e.onCompile(), e.__tlds_replaced__ || n.push("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]"), n.push(t.src_xn), t.src_tlds = n.join("|"), t.email_fuzzy = RegExp(s(t.tpl_email_fuzzy), "i"), t.link_fuzzy = RegExp(s(t.tpl_link_fuzzy), "i"), t.link_no_ip_fuzzy = RegExp(s(t.tpl_link_no_ip_fuzzy), "i"), t.host_fuzzy_test = RegExp(s(t.tpl_host_fuzzy_test), "i"); var u = []; function c(e, t) { throw new Error('(LinkifyIt) Invalid schema "' + e + '": ' + t) } e.__compiled__ = {}, Object.keys(e.__schemas__).forEach((function(t) { var r = e.__schemas__[t]; if (null !== r) { var n = { validate: null, link: null }; if (e.__compiled__[t] = n, "[object Object]" === i(r)) return ! function(e) { return "[object RegExp]" === i(e) }(r.validate) ? o(r.validate) ? n.validate = r.validate : c(t, r) : n.validate = function(e) { return function(t, r) { var n = t.slice(r); return e.test(n) ? n.match(e)[0].length : 0 } }(r.validate), void(o(r.normalize) ? n.normalize = r.normalize : r.normalize ? c(t, r) : n.normalize = function(e, t) { t.normalize(e) }); ! function(e) { return "[object String]" === i(e) }(r) ? c(t, r): u.push(t) } })), u.forEach((function(t) { e.__compiled__[e.__schemas__[t]] && (e.__compiled__[t].validate = e.__compiled__[e.__schemas__[t]].validate, e.__compiled__[t].normalize = e.__compiled__[e.__schemas__[t]].normalize) })), e.__compiled__[""] = { validate: null, normalize: function(e, t) { t.normalize(e) } }; var l = Object.keys(e.__compiled__).filter((function(t) { return t.length > 0 && e.__compiled__[t] })).map(a).join("|"); e.re.schema_test = RegExp("(^|(?!_)(?:[><\uff5c]|" + t.src_ZPCc + "))(" + l + ")", "i"), e.re.schema_search = RegExp("(^|(?!_)(?:[><\uff5c]|" + t.src_ZPCc + "))(" + l + ")", "ig"), e.re.pretest = RegExp("(" + e.re.schema_test.source + ")|(" + e.re.host_fuzzy_test.source + ")|@", "i"), function(e) { e.__index__ = -1, e.__text_cache__ = "" }(e) } function f(e, t) { var r = e.__index__, n = e.__last_index__, i = e.__text_cache__.slice(r, n); this.schema = e.__schema__.toLowerCase(), this.index = r + t, this.lastIndex = n + t, this.raw = i, this.text = i, this.url = i } function p(e, t) { var r = new f(e, t); return e.__compiled__[r.schema].normalize(r, e), r } function d(e, t) { if (!(this instanceof d)) return new d(e, t); var r; t || (r = e, Object.keys(r || {}).reduce((function(e, t) { return e || s.hasOwnProperty(t) }), !1) && (t = e, e = {})), this.__opts__ = n({}, s, t), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = n({}, u, e), this.__compiled__ = {}, this.__tlds__ = c, this.__tlds_replaced__ = !1, this.re = {}, l(this) } d.prototype.add = function(e, t) { return this.__schemas__[e] = t, l(this), this }, d.prototype.set = function(e) { return this.__opts__ = n(this.__opts__, e), this }, d.prototype.test = function(e) { if (this.__text_cache__ = e, this.__index__ = -1, !e.length) return !1; var t, r, n, i, o, a, s, u; if (this.re.schema_test.test(e)) for ((s = this.re.schema_search).lastIndex = 0; null !== (t = s.exec(e));) if (i = this.testSchemaAt(e, t[2], s.lastIndex)) { this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + i; break } return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (u = e.search(this.re.host_fuzzy_test)) >= 0 && (this.__index__ < 0 || u < this.__index__) && null !== (r = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) && (o = r.index + r[1].length, (this.__index__ < 0 || o < this.__index__) && (this.__schema__ = "", this.__index__ = o, this.__last_index__ = r.index + r[0].length)), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && e.indexOf("@") >= 0 && null !== (n = e.match(this.re.email_fuzzy)) && (o = n.index + n[1].length, a = n.index + n[0].length, (this.__index__ < 0 || o < this.__index__ || o === this.__index__ && a > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = o, this.__last_index__ = a)), this.__index__ >= 0 }, d.prototype.pretest = function(e) { return this.re.pretest.test(e) }, d.prototype.testSchemaAt = function(e, t, r) { return this.__compiled__[t.toLowerCase()] ? this.__compiled__[t.toLowerCase()].validate(e, r, this) : 0 }, d.prototype.match = function(e) { var t = 0, r = []; this.__index__ >= 0 && this.__text_cache__ === e && (r.push(p(this, t)), t = this.__last_index__); for (var n = t ? e.slice(t) : e; this.test(n);) r.push(p(this, t)), n = n.slice(this.__last_index__), t += this.__last_index__; return r.length ? r : null }, d.prototype.tlds = function(e, t) { return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter((function(e, t, r) { return e !== r[t - 1] })).reverse(), l(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, l(this), this) }, d.prototype.normalize = function(e) { e.schema || (e.url = "http://" + e.url), "mailto:" !== e.schema || /^mailto:/i.test(e.url) || (e.url = "mailto:" + e.url) }, d.prototype.onCompile = function() {}, e.exports = d }, function(e, t, r) { "use strict"; e.exports = function(e) { var t = {}; t.src_Any = r(1707).source, t.src_Cc = r(1708).source, t.src_Z = r(1709).source, t.src_P = r(721).source, t.src_ZPCc = [t.src_Z, t.src_P, t.src_Cc].join("|"), t.src_ZCc = [t.src_Z, t.src_Cc].join("|"); return t.src_pseudo_letter = "(?:(?![><\uff5c]|" + t.src_ZPCc + ")" + t.src_Any + ")", t.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]?)", t.src_auth = "(?:(?:(?!" + t.src_ZCc + "|[@/\\[\\]()]).)+@)?", t.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", t.src_host_terminator = "(?=$|[><\uff5c]|" + t.src_ZPCc + ")(?!-|_|:\\d|\\.-|\\.(?!$|" + t.src_ZPCc + "))", t.src_path = "(?:[/?#](?:(?!" + t.src_ZCc + "|[><\uff5c]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!" + t.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + t.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + t.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + t.src_ZCc + '|["]).)+\\"|\\\'(?:(?!' + t.src_ZCc + "|[']).)+\\'|\\'(?=" + t.src_pseudo_letter + "|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!" + t.src_ZCc + "|[.]).|" + (e && e["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + "\\,(?!" + t.src_ZCc + ").|\\!(?!" + t.src_ZCc + "|[!]).|\\?(?!" + t.src_ZCc + "|[?]).)+|\\/)?", t.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', t.src_xn = "xn--[a-z0-9\\-]{1,59}", t.src_domain_root = "(?:" + t.src_xn + "|" + t.src_pseudo_letter + "{1,63})", t.src_domain = "(?:" + t.src_xn + "|(?:" + t.src_pseudo_letter + ")|(?:" + t.src_pseudo_letter + "(?:-|" + t.src_pseudo_letter + "){0,61}" + t.src_pseudo_letter + "))", t.src_host = "(?:(?:(?:(?:" + t.src_domain + ")\\.)*" + t.src_domain + "))", t.tpl_host_fuzzy = "(?:" + t.src_ip4 + "|(?:(?:(?:" + t.src_domain + ")\\.)+(?:%TLDS%)))", t.tpl_host_no_ip_fuzzy = "(?:(?:(?:" + t.src_domain + ")\\.)+(?:%TLDS%))", t.src_host_strict = t.src_host + t.src_host_terminator, t.tpl_host_fuzzy_strict = t.tpl_host_fuzzy + t.src_host_terminator, t.src_host_port_strict = t.src_host + t.src_port + t.src_host_terminator, t.tpl_host_port_fuzzy_strict = t.tpl_host_fuzzy + t.src_port + t.src_host_terminator, t.tpl_host_port_no_ip_fuzzy_strict = t.tpl_host_no_ip_fuzzy + t.src_port + t.src_host_terminator, t.tpl_host_fuzzy_test = "localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:" + t.src_ZPCc + "|>|$))", t.tpl_email_fuzzy = '(^|[><\uff5c]|"|\\(|' + t.src_ZCc + ")(" + t.src_email_name + "@" + t.tpl_host_fuzzy_strict + ")", t.tpl_link_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|" + t.src_ZPCc + "))((?![$+<=>^`|\uff5c])" + t.tpl_host_port_fuzzy_strict + t.src_path + ")", t.tpl_link_no_ip_fuzzy = "(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|" + t.src_ZPCc + "))((?![$+<=>^`|\uff5c])" + t.tpl_host_port_no_ip_fuzzy_strict + t.src_path + ")", t } }, function(e, t, r) { "use strict"; e.exports = { options: { html: !1, xhtmlOut: !1, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "\u201c\u201d\u2018\u2019", highlight: null, maxNesting: 100 }, components: { core: {}, block: {}, inline: {} } } }, function(e, t, r) { "use strict"; e.exports = { options: { html: !1, xhtmlOut: !1, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "\u201c\u201d\u2018\u2019", highlight: null, maxNesting: 20 }, components: { core: { rules: ["normalize", "block", "inline"] }, block: { rules: ["paragraph"] }, inline: { rules: ["text"], rules2: ["balance_pairs", "text_collapse"] } } } }, function(e, t, r) { "use strict"; e.exports = { options: { html: !0, xhtmlOut: !0, breaks: !1, langPrefix: "language-", linkify: !1, typographer: !1, quotes: "\u201c\u201d\u2018\u2019", 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"] } } } }, function(e, t) { e.exports = function(e) { var t = {}; function r(n) { if (t[n]) return t[n].exports; var i = t[n] = { i: n, l: !1, exports: {} }; return e[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports } return r.m = e, r.c = t, r.d = function(e, t, n) { r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n }) }, r.r = function(e) { "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 }) }, r.t = function(e, t) { if (1 & t && (e = r(e)), 8 & t) return e; if (4 & t && "object" == typeof e && e && e.__esModule) return e; var n = Object.create(null); if (r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: e }), 2 & t && "string" != typeof e) for (var i in e) r.d(n, i, function(t) { return e[t] }.bind(null, i)); return n }, r.n = function(e) { var t = e && e.__esModule ? function() { return e.default } : function() { return e }; return r.d(t, "a", t), t }, r.o = function(e, t) { return Object.prototype.hasOwnProperty.call(e, t) }, r.p = "", r(r.s = 1) }([function(e, t, r) { "use strict"; function n(e) { return (n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) { return typeof e } : function(e) { return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e })(e) } var i = r(2), o = { leftDelimiter: "{", rightDelimiter: "}", allowedAttributes: [] }; function a(e, t, r) { var i, o, s = { match: !1, j: null }, u = (i = e, (o = void 0 !== r.shift ? t + r.shift : r.position) >= 0 ? i[o] : i[i.length + o]); if (void 0 === u) return s; var c = function(e) { if ("shift" === e || "position" === e) return "continue"; if (void 0 === u[e]) return { v: s }; if ("children" === e && function(e) { return Array.isArray(e) && e.length && e.every((function(e) { return "object" === n(e) })) }(r.children)) { var t = function() { if (0 === u.children.length) return { v: { v: s } }; var e, t = r.children, n = u.children; if (t.every((function(e) { return void 0 !== e.position }))) { if (e = t.every((function(e) { return a(n, e.position, e).match }))) { var i = function(e) { return e.slice(-1)[0] || {} }(t).position; s.j = i >= 0 ? i : n.length + i } } else for (var o = function(r) { if (e = t.every((function(e) { return a(n, r, e).match }))) return s.j = r, "break" }, c = 0; c < n.length && "break" !== o(c); c++); return !1 === e ? { v: { v: s } } : { v: "continue" } }(); if ("object" === n(t)) return t.v } switch (n(r[e])) { case "boolean": case "number": case "string": if (u[e] !== r[e]) return { v: s }; break; case "function": if (!r[e](u[e])) return { v: s }; break; case "object": if (function(e) { return Array.isArray(e) && e.length && e.every((function(e) { return "function" == typeof e })) }(r[e])) { if (!1 === r[e].every((function(t) { return t(u[e]) }))) return { v: s }; break } default: throw new Error("Unknown type of pattern test (key: ".concat(e, "). Test should be of type boolean, number, string, function or array of functions.")) } }; for (var l in r) { var f = c(l); switch (f) { case "continue": continue; default: if ("object" === n(f)) return f.v } } return s.match = !0, s } e.exports = function(e, t) { var r = Object.assign({}, o); r = Object.assign(r, t); var n = i(r); e.core.ruler.before("linkify", "curly_attributes", (function(e) { for (var t = e.tokens, r = function(e) { for (var r = 0; r < n.length; r++) { var i = n[r], o = null; i.tests.every((function(r) { var n = a(t, e, r); return null !== n.j && (o = n.j), n.match })) && (i.transform(t, e, o), "inline attributes" !== i.name && "inline nesting 0" !== i.name || r--) } }, i = 0; i < t.length; i++) r(i) })) } }, function(e, t, r) { "use strict"; r.r(t); var n = r(0), i = r.n(n); t.default = i.a }, function(e, t, r) { "use strict"; var n = r(3); function i(e) { return e.slice(-1)[0] } e.exports = function(e) { var t = new RegExp("^ {0,3}[-*_]{3,} ?" + n.escapeRegExp(e.leftDelimiter) + "[^" + n.escapeRegExp(e.rightDelimiter) + "]"); return [{ name: "fenced code blocks", tests: [{ shift: 0, block: !0, info: n.hasDelimiters("end", e) }], transform: function(t, r) { var i = t[r], o = i.info.lastIndexOf(e.leftDelimiter), a = n.getAttrs(i.info, o, e); n.addAttrs(a, i), i.info = n.removeDelimiter(i.info, e) } }, { name: "inline nesting 0", tests: [{ shift: 0, type: "inline", children: [{ shift: -1, type: function(e) { return "image" === e || "code_inline" === e } }, { shift: 0, type: "text", content: n.hasDelimiters("start", e) }] }], transform: function(t, r, i) { var o = t[r].children[i], a = o.content.indexOf(e.rightDelimiter), s = t[r].children[i - 1], u = n.getAttrs(o.content, 0, e); n.addAttrs(u, s), o.content.length === a + e.rightDelimiter.length ? t[r].children.splice(i, 1) : o.content = o.content.slice(a + e.rightDelimiter.length) } }, { name: "tables", tests: [{ shift: 0, type: "table_close" }, { shift: 1, type: "paragraph_open" }, { shift: 2, type: "inline", content: n.hasDelimiters("only", e) }], transform: function(t, r) { var i = t[r + 2], o = n.getMatchingOpeningToken(t, r), a = n.getAttrs(i.content, 0, e); n.addAttrs(a, o), t.splice(r + 1, 3) } }, { name: "inline attributes", tests: [{ shift: 0, type: "inline", children: [{ shift: -1, nesting: -1 }, { shift: 0, type: "text", content: n.hasDelimiters("start", e) }] }], transform: function(t, r, i) { var o = t[r].children[i], a = o.content, s = n.getAttrs(a, 0, e), u = n.getMatchingOpeningToken(t[r].children, i - 1); n.addAttrs(s, u), o.content = a.slice(a.indexOf(e.rightDelimiter) + e.rightDelimiter.length) } }, { name: "list softbreak", tests: [{ shift: -2, type: "list_item_open" }, { shift: 0, type: "inline", children: [{ position: -2, type: "softbreak" }, { position: -1, type: "text", content: n.hasDelimiters("only", e) }] }], transform: function(t, r, i) { for (var o = t[r].children[i].content, a = n.getAttrs(o, 0, e), s = r - 2; t[s - 1] && "ordered_list_open" !== t[s - 1].type && "bullet_list_open" !== t[s - 1].type;) s--; n.addAttrs(a, t[s - 1]), t[r].children = t[r].children.slice(0, -2) } }, { name: "list double softbreak", tests: [{ shift: 0, type: function(e) { return "bullet_list_close" === e || "ordered_list_close" === e } }, { shift: 1, type: "paragraph_open" }, { shift: 2, type: "inline", content: n.hasDelimiters("only", e), children: function(e) { return 1 === e.length } }, { shift: 3, type: "paragraph_close" }], transform: function(t, r) { var i = t[r + 2].content, o = n.getAttrs(i, 0, e), a = n.getMatchingOpeningToken(t, r); n.addAttrs(o, a), t.splice(r + 1, 3) } }, { name: "list item end", tests: [{ shift: -2, type: "list_item_open" }, { shift: 0, type: "inline", children: [{ position: -1, type: "text", content: n.hasDelimiters("end", e) }] }], transform: function(t, r, o) { var a = t[r].children[o], s = a.content, u = n.getAttrs(s, s.lastIndexOf(e.leftDelimiter), e); n.addAttrs(u, t[r - 2]); var c = s.slice(0, s.lastIndexOf(e.leftDelimiter)); a.content = " " !== i(c) ? c : c.slice(0, -1) } }, { name: "\n{.a} softbreak then curly in start", tests: [{ shift: 0, type: "inline", children: [{ position: -2, type: "softbreak" }, { position: -1, type: "text", content: n.hasDelimiters("only", e) }] }], transform: function(t, r, i) { for (var o = t[r].children[i], a = n.getAttrs(o.content, 0, e), s = r + 1; t[s + 1] && -1 === t[s + 1].nesting;) s++; var u = n.getMatchingOpeningToken(t, s); n.addAttrs(a, u), t[r].children = t[r].children.slice(0, -2) } }, { name: "horizontal rule", tests: [{ shift: 0, type: "paragraph_open" }, { shift: 1, type: "inline", children: function(e) { return 1 === e.length }, content: function(e) { return null !== e.match(t) } }, { shift: 2, type: "paragraph_close" }], transform: function(t, r) { var i = t[r]; i.type = "hr", i.tag = "hr", i.nesting = 0; var o = t[r + 1].content, a = o.lastIndexOf(e.leftDelimiter); i.attrs = n.getAttrs(o, a, e), i.markup = o, t.splice(r + 1, 2) } }, { name: "end of block", tests: [{ shift: 0, type: "inline", children: [{ position: -1, content: n.hasDelimiters("end", e), type: function(e) { return "code_inline" !== e } }] }], transform: function(t, r, o) { for (var a = t[r].children[o], s = a.content, u = n.getAttrs(s, s.lastIndexOf(e.leftDelimiter), e), c = r + 1; t[c + 1] && -1 === t[c + 1].nesting;) c++; var l = n.getMatchingOpeningToken(t, c); n.addAttrs(u, l); var f = s.slice(0, s.lastIndexOf(e.leftDelimiter)); a.content = " " !== i(f) ? f : f.slice(0, -1) } }] } }, function(e, t, r) { "use strict"; function n(e) { return e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&") } t.getAttrs = function(e, t, r) { for (var n = /[^\t\n\f />"'=]/, i = [], o = "", a = "", s = !0, u = !1, c = t + r.leftDelimiter.length; c < e.length; c++) { if (e.slice(c, c + r.rightDelimiter.length) === r.rightDelimiter) { "" !== o && i.push([o, a]); break } var l = e.charAt(c); if ("=" === l && s) s = !1; else if ("." !== l || "" !== o) if ("#" !== l || "" !== o) if ('"' !== l || "" !== a) if ('"' === l && u) u = !1; else if (" " !== l || u) s && -1 === l.search(n) || (s ? o += l : a += l); else { if ("" === o) continue; i.push([o, a]), o = "", a = "", s = !0 } else u = !0; else o = "id", s = !1; else "." === e.charAt(c + 1) ? (o = "css-module", c += 1) : o = "class", s = !1 } if (r.allowedAttributes && r.allowedAttributes.length) { var f = r.allowedAttributes; return i.filter((function(e) { var t = e[0]; return f.some((function(e) { return t === e || e instanceof RegExp && e.test(t) })) })) } return i }, t.addAttrs = function(e, t) { for (var r = 0, n = e.length; r < n; ++r) { var i = e[r][0]; "class" === i ? t.attrJoin("class", e[r][1]) : "css-module" === i ? t.attrJoin("css-module", e[r][1]) : t.attrPush(e[r]) } return t }, t.hasDelimiters = function(e, t) { if (!e) throw new Error('Parameter `where` not passed. Should be "start", "middle", "end" or "only".'); return function(r) { var n, i, o, a = t.leftDelimiter.length + 1 + t.rightDelimiter.length; if (!r || "string" != typeof r || r.length < a) return !1; var s, u, c, l = a - t.rightDelimiter.length; switch (e) { case "start": i = -1 == (n = r.slice(0, t.leftDelimiter.length) === t.leftDelimiter ? 0 : -1) ? -1 : r.indexOf(t.rightDelimiter, l), (o = r.charAt(i + t.rightDelimiter.length)) && -1 !== t.rightDelimiter.indexOf(o) && (i = -1); break; case "end": i = (i = -1 === (n = r.lastIndexOf(t.leftDelimiter)) ? -1 : r.indexOf(t.rightDelimiter, n + l)) === r.length - t.rightDelimiter.length ? i : -1; break; case "only": n = r.slice(0, t.leftDelimiter.length) === t.leftDelimiter ? 0 : -1, i = r.slice(r.length - t.rightDelimiter.length) === t.rightDelimiter ? r.length - t.rightDelimiter.length : -1 } return -1 !== n && -1 !== i && (u = "." === (s = r.substring(n, i + t.rightDelimiter.length)).charAt(t.leftDelimiter.length), c = "#" === s.charAt(t.leftDelimiter.length), u || c ? s.length >= a + 1 : s.length >= a) } }, t.removeDelimiter = function(e, t) { var r = n(t.leftDelimiter), i = n(t.rightDelimiter), o = new RegExp("[ \\n]?" + r + "[^" + r + i + "]+" + i + "$"), a = e.search(o); return -1 !== a ? e.slice(0, a) : e }, t.escapeRegExp = n, t.getMatchingOpeningToken = function(e, t) { if ("softbreak" === e[t].type) return !1; if (0 === e[t].nesting) return e[t]; for (var r = e[t].level, n = e[t].type.replace("_close", "_open"); t >= 0; --t) if (e[t].type === n && e[t].level === r) return e[t] }; var i = /[&<>"]/, o = /[&<>"]/g, a = { "&": "&", "<": "<", ">": ">", '"': """ }; function s(e) { return a[e] } t.escapeHtml = function(e) { return i.test(e) ? e.replace(o, s) : e } }]) }, function(e, t, r) { "use strict"; var n = r(372), i = r(674), o = r(2070), a = r(2071), s = r(2072), u = r(2073), c = r(2074), l = r(2075), f = r(2078), p = r(675); function d(e, t) { e && Object.keys(e).forEach((function(r) { t(e[r], r) })) } function h(e, t) { return {}.hasOwnProperty.call(e, t) } function v(e, t) { var r = []; return d(e, (function(e) { t(e) && r.push(e) })), r } e.exports = y; var m = /^[^\0\t\n\f\r /<=>]+$/; function y(e, t, r) { var g = ""; function _(e, t) { var r = this; this.tag = e, this.attribs = t || {}, this.tagPosition = g.length, this.text = "", this.updateParentNodeText = function() { I.length && (I[I.length - 1].text += r.text) } } t ? (t = i(y.defaults, t)).parser ? t.parser = i(b, t.parser) : t.parser = b : (t = y.defaults).parser = b; var T, S, A = t.nonTextTags || ["script", "style", "textarea"]; t.allowedAttributes && (T = {}, S = {}, d(t.allowedAttributes, (function(e, t) { T[t] = []; var r = []; e.forEach((function(e) { u(e) && e.indexOf("*") >= 0 ? r.push(o(e).replace(/\\\*/g, ".*")) : T[t].push(e) })), S[t] = new RegExp("^(" + r.join("|") + ")$") }))); var E = {}; d(t.allowedClasses, (function(e, t) { T && (h(T, t) || (T[t] = []), T[t].push("class")), E[t] = e })); var C, O = {}; d(t.transformTags, (function(e, t) { var r; "function" == typeof e ? r = e : "string" == typeof e && (r = y.simpleTransform(e)), "*" === t ? C = r : O[t] = r })); var w = 0, I = [], P = {}, x = {}, N = !1, k = 0, R = new n.Parser({ onopentag: function(e, r) { if (N) k++; else { var n = new _(e, r); I.push(n); var i, o = !1, u = !!n.text; h(O, e) && (i = O[e](e, r), n.attribs = r = i.attribs, void 0 !== i.text && (n.innerText = i.text), e !== i.tagName && (n.name = e = i.tagName, x[w] = i.tagName)), C && (i = C(e, r), n.attribs = r = i.attribs, e !== i.tagName && (n.name = e = i.tagName, x[w] = i.tagName)), t.allowedTags && -1 === t.allowedTags.indexOf(e) && (o = !0, -1 !== A.indexOf(e) && (N = !0, k = 1), P[w] = !0), w++, o || (g += "<" + e, (!T || h(T, e) || T["*"]) && d(r, (function(r, i) { if (m.test(i)) { var o, u = !1; if (!T || h(T, e) && -1 !== T[e].indexOf(i) || T["*"] && -1 !== T["*"].indexOf(i) || h(S, e) && S[e].test(i) || S["*"] && S["*"].test(i)) u = !0; else if (T && T[e]) { var y = !0, b = !1, _ = void 0; try { for (var A, C = T[e][Symbol.iterator](); !(y = (A = C.next()).done); y = !0) { var O = A.value; if (c(O) && O.name && O.name === i) { u = !0; var w = ""; if (!0 === O.multiple) { var I = r.split(" "), P = !0, x = !1, N = void 0; try { for (var k, R = I[Symbol.iterator](); !(P = (k = R.next()).done); P = !0) { var j = k.value; - 1 !== O.values.indexOf(j) && ("" === w ? w = j : w += " " + j) } } catch (e) { x = !0, N = e } finally { try { !P && R.return && R.return() } finally { if (x) throw N } } } else O.values.indexOf(r) >= 0 && (w = r); r = w } } } catch (e) { b = !0, _ = e } finally { try { !y && C.return && C.return() } finally { if (b) throw _ } } } if (u) { if (-1 !== t.allowedSchemesAppliedToAttributes.indexOf(i) && M(e, r)) return void delete n.attribs[i]; if ("iframe" === e && "src" === i) { var D = !0; try { (o = p.parse(r, !1, !0)) && null === o.host && null === o.protocol ? D = h(t, "allowIframeRelativeUrls") ? t.allowIframeRelativeUrls : !t.allowedIframeHostnames : t.allowedIframeHostnames && (D = t.allowedIframeHostnames.find((function(e) { return e === o.hostname }))) } catch (e) { D = !1 } if (!D) return void delete n.attribs[i] } if ("srcset" === i) try { if (d(o = l.parse(r), (function(e) { M("srcset", e.url) && (e.evil = !0) })), !(o = v(o, (function(e) { return !e.evil }))).length) return void delete n.attribs[i]; r = l.stringify(v(o, (function(e) { return !e.evil }))), n.attribs[i] = r } catch (e) { return void delete n.attribs[i] } if ("class" === i && !(r = function(e, t) { if (!t) return e; return (e = e.split(/\s+/)).filter((function(e) { return -1 !== t.indexOf(e) })).join(" ") }(r, E[e])).length) return void delete n.attribs[i]; if ("style" === i) try { if (0 === (r = function(e) { return e.nodes[0].nodes.reduce((function(e, t) { return e.push(t.prop + ":" + t.value + ";"), e }), []).join("") }(function(e, t) { if (!t) return e; var r, n = a(e), i = e.nodes[0]; r = t[i.selector] && t["*"] ? s(a(t[i.selector]), t["*"], (function(e, t) { if (Array.isArray(e)) return e.concat(t) })) : t[i.selector] || t["*"]; r && (n.nodes[0].nodes = i.nodes.reduce(function(e) { return function(t, r) { e.hasOwnProperty(r.prop) && (e[r.prop].some((function(e) { return e.test(r.value) })) && t.push(r)); return t } }(r), [])); return n }(f.parse(e + " {" + r + "}"), t.allowedStyles))).length) return void delete n.attribs[i] } catch (e) { return void delete n.attribs[i] } g += " " + i, r.length && (g += '="' + L(r, !0) + '"') } else delete n.attribs[i] } else delete n.attribs[i] })), -1 !== t.selfClosing.indexOf(e) ? g += " />" : (g += ">", !n.innerText || u || t.textFilter || (g += n.innerText))) } }, ontext: function(e) { if (!N) { var r, n = I[I.length - 1]; if (n && (r = n.tag, e = void 0 !== n.innerText ? n.innerText : e), "script" === r || "style" === r) g += e; else { var i = L(e, !1); t.textFilter ? g += t.textFilter(i) : g += i } if (I.length) I[I.length - 1].text += e } }, onclosetag: function(e) { if (N) { if (--k) return; N = !1 } var r = I.pop(); if (r) { if (N = !1, w--, P[w]) return delete P[w], void r.updateParentNodeText(); x[w] && (e = x[w], delete x[w]), t.exclusiveFilter && t.exclusiveFilter(r) ? g = g.substr(0, r.tagPosition) : (r.updateParentNodeText(), -1 === t.selfClosing.indexOf(e) && (g += "</" + e + ">")) } } }, t.parser); return R.write(e), R.end(), g; function L(e, r) { return "string" != typeof e && (e += ""), t.parser.decodeEntities && (e = e.replace(/&/g, "&").replace(/</g, "<").replace(/\>/g, ">"), r && (e = e.replace(/\"/g, """))), e = e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g, "&").replace(/</g, "<").replace(/\>/g, ">"), r && (e = e.replace(/\"/g, """)), e } function M(e, r) { var n = (r = (r = r.replace(/[\x00-\x20]+/g, "")).replace(/<\!\-\-.*?\-\-\>/g, "")).match(/^([a-zA-Z]+)\:/); if (!n) return !!r.match(/^[\/\\]{2}/) && !t.allowProtocolRelative; var i = n[1].toLowerCase(); return h(t.allowedSchemesByTag, e) ? -1 === t.allowedSchemesByTag[e].indexOf(i) : !t.allowedSchemes || -1 === t.allowedSchemes.indexOf(i) } } var b = { decodeEntities: !0 }; y.defaults = { allowedTags: ["h3", "h4", "h5", "h6", "blockquote", "p", "a", "ul", "ol", "nl", "li", "b", "i", "strong", "em", "strike", "code", "hr", "br", "div", "table", "thead", "caption", "tbody", "tr", "th", "td", "pre", "iframe"], allowedAttributes: { a: ["href", "name", "target"], img: ["src"] }, selfClosing: ["img", "br", "hr", "area", "base", "basefont", "input", "link", "meta"], allowedSchemes: ["http", "https", "ftp", "mailto"], allowedSchemesByTag: {}, allowedSchemesAppliedToAttributes: ["href", "src", "cite"], allowProtocolRelative: !0 }, y.simpleTransform = function(e, t, r) { return r = void 0 === r || r, t = t || {}, function(n, i) { var o; if (r) for (o in t) i[o] = t[o]; else i = t; return { tagName: e, attribs: i } } } }, function(e, t, r) { var n = r(2047); e.exports = function(e) { if (e >= 55296 && e <= 57343 || e > 1114111) return "\ufffd"; e in n && (e = n[e]); var t = ""; e > 65535 && (e -= 65536, t += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | 1023 & e); return t += String.fromCharCode(e) } }, function(e) { e.exports = JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}') }, function(e) { e.exports = JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}') }, function(e) { e.exports = JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","AElig":"\xc6","aelig":"\xe6","Agrave":"\xc0","agrave":"\xe0","amp":"&","AMP":"&","Aring":"\xc5","aring":"\xe5","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","brvbar":"\xa6","Ccedil":"\xc7","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","COPY":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","Eacute":"\xc9","eacute":"\xe9","Ecirc":"\xca","ecirc":"\xea","Egrave":"\xc8","egrave":"\xe8","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","GT":">","Iacute":"\xcd","iacute":"\xed","Icirc":"\xce","icirc":"\xee","iexcl":"\xa1","Igrave":"\xcc","igrave":"\xec","iquest":"\xbf","Iuml":"\xcf","iuml":"\xef","laquo":"\xab","lt":"<","LT":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","Ntilde":"\xd1","ntilde":"\xf1","Oacute":"\xd3","oacute":"\xf3","Ocirc":"\xd4","ocirc":"\xf4","Ograve":"\xd2","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","Oslash":"\xd8","oslash":"\xf8","Otilde":"\xd5","otilde":"\xf5","Ouml":"\xd6","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","QUOT":"\\"","raquo":"\xbb","reg":"\xae","REG":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","THORN":"\xde","thorn":"\xfe","times":"\xd7","Uacute":"\xda","uacute":"\xfa","Ucirc":"\xdb","ucirc":"\xfb","Ugrave":"\xd9","ugrave":"\xf9","uml":"\xa8","Uuml":"\xdc","uuml":"\xfc","Yacute":"\xdd","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}') }, function(e) { e.exports = JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}') }, function(e, t, r) { var n = r(1716), i = e.exports = Object.create(n), o = { tagName: "name" }; Object.keys(o).forEach((function(e) { var t = o[e]; Object.defineProperty(i, e, { get: function() { return this[t] || null }, set: function(e) { return this[t] = e, e } }) })) }, function(e, t, r) { var n = r(1715), i = r(1717); function o(e, t) { this.init(e, t) } function a(e, t) { return i.getElementsByTagName(e, t, !0) } function s(e, t) { return i.getElementsByTagName(e, t, !0, 1)[0] } function u(e, t, r) { return i.getText(i.getElementsByTagName(e, t, r, 1)).trim() } function c(e, t, r, n, i) { var o = u(r, n, i); o && (e[t] = o) } r(2)(o, n), o.prototype.init = n; var l = function(e) { return "rss" === e || "feed" === e || "rdf:RDF" === e }; o.prototype.onend = function() { var e, t, r = {}, i = s(l, this.dom); i && ("feed" === i.name ? (t = i.children, r.type = "atom", c(r, "id", "id", t), c(r, "title", "title", t), (e = s("link", t)) && (e = e.attribs) && (e = e.href) && (r.link = e), c(r, "description", "subtitle", t), (e = u("updated", t)) && (r.updated = new Date(e)), c(r, "author", "email", t, !0), r.items = a("entry", t).map((function(e) { var t, r = {}; return c(r, "id", "id", e = e.children), c(r, "title", "title", e), (t = s("link", e)) && (t = t.attribs) && (t = t.href) && (r.link = t), (t = u("summary", e) || u("content", e)) && (r.description = t), (t = u("updated", e)) && (r.pubDate = new Date(t)), r }))) : (t = s("channel", i.children).children, r.type = i.name.substr(0, 3), r.id = "", c(r, "title", "title", t), c(r, "link", "link", t), c(r, "description", "description", t), (e = u("lastBuildDate", t)) && (r.updated = new Date(e)), c(r, "author", "managingEditor", t, !0), r.items = a("item", i.children).map((function(e) { var t, r = {}; return c(r, "id", "guid", e = e.children), c(r, "title", "title", e), c(r, "link", "link", e), c(r, "description", "description", e), (t = u("pubDate", e)) && (r.pubDate = new Date(t)), r })))), this.dom = r, n.prototype._handleCallback.call(this, i ? null : Error("couldn't find root of feed")) }, e.exports = o }, function(e, t, r) { var n = r(352), i = r(2054), o = n.isTag; e.exports = { getInnerHTML: function(e, t) { return e.children ? e.children.map((function(e) { return i(e, t) })).join("") : "" }, getOuterHTML: i, getText: function e(t) { return Array.isArray(t) ? t.map(e).join("") : o(t) ? "br" === t.name ? "\n" : e(t.children) : t.type === n.CDATA ? e(t.children) : t.type === n.Text ? t.data : "" } } }, function(e, t, r) { var n = r(2055), i = r(2056), o = r(2060); o.elementNames.__proto__ = null, o.attributeNames.__proto__ = null; var a = { __proto__: null, style: !0, script: !0, xmp: !0, iframe: !0, noembed: !0, noframes: !0, plaintext: !0, noscript: !0 }; var s = { __proto__: null, area: !0, base: !0, basefont: !0, br: !0, col: !0, command: !0, embed: !0, frame: !0, hr: !0, img: !0, input: !0, isindex: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 }, u = e.exports = function(e, t) { Array.isArray(e) || e.cheerio || (e = [e]), t = t || {}; for (var r = "", i = 0; i < e.length; i++) { var o = e[i]; "root" === o.type ? r += u(o.children, t) : n.isTag(o) ? r += l(o, t) : o.type === n.Directive ? r += f(o) : o.type === n.Comment ? r += h(o) : o.type === n.CDATA ? r += d(o) : r += p(o, t) } return r }, c = ["mi", "mo", "mn", "ms", "mtext", "annotation-xml", "foreignObject", "desc", "title"]; function l(e, t) { "foreign" === t.xmlMode && (e.name = o.elementNames[e.name] || e.name, e.parent && c.indexOf(e.parent.name) >= 0 && (t = Object.assign({}, t, { xmlMode: !1 }))), !t.xmlMode && ["svg", "math"].indexOf(e.name) >= 0 && (t = Object.assign({}, t, { xmlMode: "foreign" })); var r = "<" + e.name, n = function(e, t) { if (e) { var r, n = ""; for (var a in e) r = e[a], n && (n += " "), "foreign" === t.xmlMode && (a = o.attributeNames[a] || a), n += a, (null !== r && "" !== r || t.xmlMode) && (n += '="' + (t.decodeEntities ? i.encodeXML(r) : r.replace(/\"/g, """)) + '"'); return n } }(e.attribs, t); return n && (r += " " + n), !t.xmlMode || e.children && 0 !== e.children.length ? (r += ">", e.children && (r += u(e.children, t)), s[e.name] && !t.xmlMode || (r += "</" + e.name + ">")) : r += "/>", r } function f(e) { return "<" + e.data + ">" } function p(e, t) { var r = e.data || ""; return !t.decodeEntities || e.parent && e.parent.name in a || (r = i.encodeXML(r)), r } function d(e) { return "<![CDATA[" + e.children[0].data + "]]>" } function h(e) { return "\x3c!--" + e.data + "--\x3e" } }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }), t.isTag = function(e) { return "tag" === e.type || "script" === e.type || "style" === e.type }, t.Text = "text", t.Directive = "directive", t.Comment = "comment", t.Script = "script", t.Style = "style", t.Tag = "tag", t.CDATA = "cdata", t.Doctype = "doctype" }, function(e, t, r) { "use strict"; Object.defineProperty(t, "__esModule", { value: !0 }); var n = r(1718), i = r(1720); t.decode = function(e, t) { return (!t || t <= 0 ? n.decodeXML : n.decodeHTML)(e) }, t.decodeStrict = function(e, t) { return (!t || t <= 0 ? n.decodeXML : n.decodeHTMLStrict)(e) }, t.encode = function(e, t) { return (!t || t <= 0 ? i.encodeXML : i.encodeHTML)(e) }; var o = r(1720); t.encodeXML = o.encodeXML, t.encodeHTML = o.encodeHTML, t.escape = o.escape, t.encodeHTML4 = o.encodeHTML, t.encodeHTML5 = o.encodeHTML; var a = r(1718); t.decodeXML = a.decodeXML, t.decodeHTML = a.decodeHTML, t.decodeHTMLStrict = a.decodeHTMLStrict, t.decodeHTML4 = a.decodeHTML, t.decodeHTML5 = a.decodeHTML, t.decodeHTML4Strict = a.decodeHTMLStrict, t.decodeHTML5Strict = a.decodeHTMLStrict, t.decodeXMLStrict = a.decodeXML }, function(e) { e.exports = JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","AElig":"\xc6","aelig":"\xe6","Agrave":"\xc0","agrave":"\xe0","amp":"&","AMP":"&","Aring":"\xc5","aring":"\xe5","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","brvbar":"\xa6","Ccedil":"\xc7","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","COPY":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","Eacute":"\xc9","eacute":"\xe9","Ecirc":"\xca","ecirc":"\xea","Egrave":"\xc8","egrave":"\xe8","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","GT":">","Iacute":"\xcd","iacute":"\xed","Icirc":"\xce","icirc":"\xee","iexcl":"\xa1","Igrave":"\xcc","igrave":"\xec","iquest":"\xbf","Iuml":"\xcf","iuml":"\xef","laquo":"\xab","lt":"<","LT":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","Ntilde":"\xd1","ntilde":"\xf1","Oacute":"\xd3","oacute":"\xf3","Ocirc":"\xd4","ocirc":"\xf4","Ograve":"\xd2","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","Oslash":"\xd8","oslash":"\xf8","Otilde":"\xd5","otilde":"\xf5","Ouml":"\xd6","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","QUOT":"\\"","raquo":"\xbb","reg":"\xae","REG":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","THORN":"\xde","thorn":"\xfe","times":"\xd7","Uacute":"\xda","uacute":"\xfa","Ucirc":"\xdb","ucirc":"\xfb","Ugrave":"\xd9","ugrave":"\xf9","uml":"\xa8","Uuml":"\xdc","uuml":"\xfc","Yacute":"\xdd","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}') }, function(e, t, r) { "use strict"; var n = this && this.__importDefault || function(e) { return e && e.__esModule ? e : { default: e } }; Object.defineProperty(t, "__esModule", { value: !0 }); var i = n(r(2059)); t.default = function(e) { if (e >= 55296 && e <= 57343 || e > 1114111) return "\ufffd"; e in i.default && (e = i.default[e]); var t = ""; return e > 65535 && (e -= 65536, t += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | 1023 & e), t += String.fromCharCode(e) } }, function(e) { e.exports = JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}') }, function(e) { e.exports = JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}') }, function(e, t) { var r = t.getChildren = function(e) { return e.children }, n = t.getParent = function(e) { return e.parent }; t.getSiblings = function(e) { var t = n(e); return t ? r(t) : [e] }, t.getAttributeValue = function(e, t) { return e.attribs && e.attribs[t] }, t.hasAttrib = function(e, t) { return !!e.attribs && hasOwnProperty.call(e.attribs, t) }, t.getName = function(e) { return e.name } }, function(e, t) { t.removeElement = function(e) { if (e.prev && (e.prev.next = e.next), e.next && (e.next.prev = e.prev), e.parent) { var t = e.parent.children; t.splice(t.lastIndexOf(e), 1) } }, t.replaceElement = function(e, t) { var r = t.prev = e.prev; r && (r.next = t); var n = t.next = e.next; n && (n.prev = t); var i = t.parent = e.parent; if (i) { var o = i.children; o[o.lastIndexOf(e)] = t } }, t.appendChild = function(e, t) { if (t.parent = e, 1 !== e.children.push(t)) { var r = e.children[e.children.length - 2]; r.next = t, t.prev = r, t.next = null } }, t.append = function(e, t) { var r = e.parent, n = e.next; if (t.next = n, t.prev = e, e.next = t, t.parent = r, n) { if (n.prev = t, r) { var i = r.children; i.splice(i.lastIndexOf(n), 0, t) } } else r && r.children.push(t) }, t.prepend = function(e, t) { var r = e.parent; if (r) { var n = r.children; n.splice(n.lastIndexOf(e), 0, t) } e.prev && (e.prev.next = t), t.parent = r, t.prev = e.prev, t.next = e, e.prev = t } }, function(e, t, r) { var n = r(352).isTag; function i(e, t, r, n) { for (var o, a = [], s = 0, u = t.length; s < u && !(e(t[s]) && (a.push(t[s]), --n <= 0)) && (o = t[s].children, !(r && o && o.length > 0 && (o = i(e, o, r, n), a = a.concat(o), (n -= o.length) <= 0))); s++); return a } e.exports = { filter: function(e, t, r, n) { Array.isArray(t) || (t = [t]); "number" == typeof n && isFinite(n) || (n = 1 / 0); return i(e, t, !1 !== r, n) }, find: i, findOneChild: function(e, t) { for (var r = 0, n = t.length; r < n; r++) if (e(t[r])) return t[r]; return null }, findOne: function e(t, r) { for (var i = null, o = 0, a = r.length; o < a && !i; o++) n(r[o]) && (t(r[o]) ? i = r[o] : r[o].children.length > 0 && (i = e(t, r[o].children))); return i }, existsOne: function e(t, r) { for (var i = 0, o = r.length; i < o; i++) if (n(r[i]) && (t(r[i]) || r[i].children.length > 0 && e(t, r[i].children))) return !0; return !1 }, findAll: function(e, t) { var r = [], i = t.slice(); for (; i.length;) { var o = i.shift(); n(o) && (o.children && o.children.length > 0 && i.unshift.apply(i, o.children), e(o) && r.push(o)) } return r } } }, function(e, t, r) { var n = r(352), i = t.isTag = n.isTag; t.testElement = function(e, t) { for (var r in e) if (e.hasOwnProperty(r)) { if ("tag_name" === r) { if (!i(t) || !e.tag_name(t.name)) return !1 } else if ("tag_type" === r) { if (!e.tag_type(t.type)) return !1 } else if ("tag_contains" === r) { if (i(t) || !e.tag_contains(t.data)) return !1 } else if (!t.attribs || !e[r](t.attribs[r])) return !1 } else; return !0 }; var o = { tag_name: function(e) { return "function" == typeof e ? function(t) { return i(t) && e(t.name) } : "*" === e ? i : function(t) { return i(t) && t.name === e } }, tag_type: function(e) { return "function" == typeof e ? function(t) { return e(t.type) } : function(t) { return t.type === e } }, tag_contains: function(e) { return "function" == typeof e ? function(t) { return !i(t) && e(t.data) } : function(t) { return !i(t) && t.data === e } } }; function a(e, t) { return "function" == typeof t ? function(r) { return r.attribs && t(r.attribs[e]) } : function(r) { return r.attribs && r.attribs[e] === t } } function s(e, t) { return function(r) { return e(r) || t(r) } } t.getElements = function(e, t, r, n) { var i = Object.keys(e).map((function(t) { var r = e[t]; return t in o ? o[t](r) : a(t, r) })); return 0 === i.length ? [] : this.filter(i.reduce(s), t, r, n) }, t.getElementById = function(e, t, r) { return Array.isArray(t) || (t = [t]), this.findOne(a("id", e), t, !1 !== r) }, t.getElementsByTagName = function(e, t, r, n) { return this.filter(o.tag_name(e), t, r, n) }, t.getElementsByTagType = function(e, t, r, n) { return this.filter(o.tag_type(e), t, r, n) } }, function(e, t) { t.removeSubsets = function(e) { for (var t, r, n, i = e.length; --i > -1;) { for (t = r = e[i], e[i] = null, n = !0; r;) { if (e.indexOf(r) > -1) { n = !1, e.splice(i, 1); break } r = r.parent } n && (e[i] = t) } return e }; var r = 1, n = 2, i = 4, o = 8, a = 16, s = t.compareDocumentPosition = function(e, t) { var s, u, c, l, f, p, d = [], h = []; if (e === t) return 0; for (s = e; s;) d.unshift(s), s = s.parent; for (s = t; s;) h.unshift(s), s = s.parent; for (p = 0; d[p] === h[p];) p++; return 0 === p ? r : (c = (u = d[p - 1]).children, l = d[p], f = h[p], c.indexOf(l) > c.indexOf(f) ? u === t ? i | a : i : u === e ? n | o : n) }; t.uniqueSort = function(e) { var t, r, o = e.length; for (e = e.slice(); --o > -1;) t = e[o], (r = e.indexOf(t)) > -1 && r < o && e.splice(o, 1); return e.sort((function(e, t) { var r = s(e, t); return r & n ? -1 : r & i ? 1 : 0 })), e } }, function(e, t, r) { e.exports = i; var n = r(1721); function i(e) { n.call(this, new o(this), e) } function o(e) { this.scope = e } r(2)(i, n), i.prototype.readable = !0; var a = r(372).EVENTS; Object.keys(a).forEach((function(e) { if (0 === a[e]) o.prototype["on" + e] = function() { this.scope.emit(e) }; else if (1 === a[e]) o.prototype["on" + e] = function(t) { this.scope.emit(e, t) }; else { if (2 !== a[e]) throw Error("wrong number of arguments!"); o.prototype["on" + e] = function(t, r) { this.scope.emit(e, t, r) } } })) }, function(e, t) {}, function(e, t, r) { function n(e) { this._cbs = e || {} } e.exports = n; var i = r(372).EVENTS; Object.keys(i).forEach((function(e) { if (0 === i[e]) e = "on" + e, n.prototype[e] = function() { this._cbs[e] && this._cbs[e]() }; else if (1 === i[e]) e = "on" + e, n.prototype[e] = function(t) { this._cbs[e] && this._cbs[e](t) }; else { if (2 !== i[e]) throw Error("wrong number of arguments"); e = "on" + e, n.prototype[e] = function(t, r) { this._cbs[e] && this._cbs[e](t, r) } } })) }, function(e, t, r) { function n(e) { this._cbs = e || {}, this.events = [] } e.exports = n; var i = r(372).EVENTS; Object.keys(i).forEach((function(e) { if (0 === i[e]) e = "on" + e, n.prototype[e] = function() { this.events.push([e]), this._cbs[e] && this._cbs[e]() }; else if (1 === i[e]) e = "on" + e, n.prototype[e] = function(t) { this.events.push([e, t]), this._cbs[e] && this._cbs[e](t) }; else { if (2 !== i[e]) throw Error("wrong number of arguments"); e = "on" + e, n.prototype[e] = function(t, r) { this.events.push([e, t, r]), this._cbs[e] && this._cbs[e](t, r) } } })), n.prototype.onreset = function() { this.events = [], this._cbs.onreset && this._cbs.onreset() }, n.prototype.restart = function() { this._cbs.onreset && this._cbs.onreset(); for (var e = 0, t = this.events.length; e < t; e++) if (this._cbs[this.events[e][0]]) { var r = this.events[e].length; 1 === r ? this._cbs[this.events[e][0]]() : 2 === r ? this._cbs[this.events[e][0]](this.events[e][1]) : this._cbs[this.events[e][0]](this.events[e][1], this.events[e][2]) } } }, function(e, t, r) { (function(t) { var r = /[\\^$.*+?()[\]{}|]/g, n = RegExp(r.source), i = "object" == typeof t && t && t.Object === Object && t, o = "object" == typeof self && self && self.Object === Object && self, a = i || o || Function("return this")(), s = Object.prototype.toString, u = a.Symbol, c = u ? u.prototype : void 0, l = c ? c.toString : void 0; function f(e) { if ("string" == typeof e) return e; if (function(e) { return "symbol" == typeof e || function(e) { return !!e && "object" == typeof e }(e) && "[object Symbol]" == s.call(e) }(e)) return l ? l.call(e) : ""; var t = e + ""; return "0" == t && 1 / e == -1 / 0 ? "-0" : t } e.exports = function(e) { var t; return (e = null == (t = e) ? "" : f(t)) && n.test(e) ? e.replace(r, "\\$&") : e } }).call(this, r(14)) }, function(e, t, r) { (function(e, r) { var n = "[object Arguments]", i = "[object Function]", o = "[object GeneratorFunction]", a = "[object Map]", s = "[object Set]", u = /\w*$/, c = /^\[object .+?Constructor\]$/, l = /^(?:0|[1-9]\d*)$/, f = {}; f[n] = f["[object Array]"] = f["[object ArrayBuffer]"] = f["[object DataView]"] = f["[object Boolean]"] = f["[object Date]"] = f["[object Float32Array]"] = f["[object Float64Array]"] = f["[object Int8Array]"] = f["[object Int16Array]"] = f["[object Int32Array]"] = f[a] = f["[object Number]"] = f["[object Object]"] = f["[object RegExp]"] = f[s] = f["[object String]"] = f["[object Symbol]"] = f["[object Uint8Array]"] = f["[object Uint8ClampedArray]"] = f["[object Uint16Array]"] = f["[object Uint32Array]"] = !0, f["[object Error]"] = f[i] = f["[object WeakMap]"] = !1; var p = "object" == typeof e && e && e.Object === Object && e, d = "object" == typeof self && self && self.Object === Object && self, h = p || d || Function("return this")(), v = t && !t.nodeType && t, m = v && "object" == typeof r && r && !r.nodeType && r, y = m && m.exports === v; function b(e, t) { return e.set(t[0], t[1]), e } function g(e, t) { return e.add(t), e } function _(e, t, r, n) { var i = -1, o = e ? e.length : 0; for (n && o && (r = e[++i]); ++i < o;) r = t(r, e[i], i, e); return r } function T(e) { var t = !1; if (null != e && "function" != typeof e.toString) try { t = !!(e + "") } catch (e) {} return t } function S(e) { var t = -1, r = Array(e.size); return e.forEach((function(e, n) { r[++t] = [n, e] })), r } function A(e, t) { return function(r) { return e(t(r)) } } function E(e) { var t = -1, r = Array(e.size); return e.forEach((function(e) { r[++t] = e })), r } var C, O = Array.prototype, w = Function.prototype, I = Object.prototype, P = h["__core-js_shared__"], x = (C = /[^.]+$/.exec(P && P.keys && P.keys.IE_PROTO || "")) ? "Symbol(src)_1." + C : "", N = w.toString, k = I.hasOwnProperty, R = I.toString, L = RegExp("^" + N.call(k).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), M = y ? h.Buffer : void 0, j = h.Symbol, D = h.Uint8Array, U = A(Object.getPrototypeOf, Object), B = Object.create, F = I.propertyIsEnumerable, z = O.splice, V = Object.getOwnPropertySymbols, G = M ? M.isBuffer : void 0, q = A(Object.keys, Object), H = me(h, "DataView"), W = me(h, "Map"), Y = me(h, "Promise"), K = me(h, "Set"), $ = me(h, "WeakMap"), J = me(Object, "create"), X = Te(H), Z = Te(W), Q = Te(Y), ee = Te(K), te = Te($), re = j ? j.prototype : void 0, ne = re ? re.valueOf : void 0; function ie(e) { var t = -1, r = e ? e.length : 0; for (this.clear(); ++t < r;) { var n = e[t]; this.set(n[0], n[1]) } } function oe(e) { var t = -1, r = e ? e.length : 0; for (this.clear(); ++t < r;) { var n = e[t]; this.set(n[0], n[1]) } } function ae(e) { var t = -1, r = e ? e.length : 0; for (this.clear(); ++t < r;) { var n = e[t]; this.set(n[0], n[1]) } } function se(e) { this.__data__ = new oe(e) } function ue(e, t) { var r = Ae(e) || function(e) { return function(e) { return function(e) { return !!e && "object" == typeof e }(e) && Ee(e) }(e) && k.call(e, "callee") && (!F.call(e, "callee") || R.call(e) == n) }(e) ? function(e, t) { for (var r = -1, n = Array(e); ++r < e;) n[r] = t(r); return n }(e.length, String) : [], i = r.length, o = !!i; for (var a in e) !t && !k.call(e, a) || o && ("length" == a || ge(a, i)) || r.push(a); return r } function ce(e, t, r) { var n = e[t]; k.call(e, t) && Se(n, r) && (void 0 !== r || t in e) || (e[t] = r) } function le(e, t) { for (var r = e.length; r--;) if (Se(e[r][0], t)) return r; return -1 } function fe(e, t, r, c, l, p, d) { var h; if (c && (h = p ? c(e, l, p, d) : c(e)), void 0 !== h) return h; if (!we(e)) return e; var v = Ae(e); if (v) { if (h = function(e) { var t = e.length, r = e.constructor(t); t && "string" == typeof e[0] && k.call(e, "index") && (r.index = e.index, r.input = e.input); return r }(e), !t) return function(e, t) { var r = -1, n = e.length; t || (t = Array(n)); for (; ++r < n;) t[r] = e[r]; return t }(e, h) } else { var m = be(e), y = m == i || m == o; if (Ce(e)) return function(e, t) { if (t) return e.slice(); var r = new e.constructor(e.length); return e.copy(r), r }(e, t); if ("[object Object]" == m || m == n || y && !p) { if (T(e)) return p ? e : {}; if (h = function(e) { return "function" != typeof e.constructor || _e(e) ? {} : (t = U(e), we(t) ? B(t) : {}); var t }(y ? {} : e), !t) return function(e, t) { return he(e, ye(e), t) }(e, function(e, t) { return e && he(t, Ie(t), e) }(h, e)) } else { if (!f[m]) return p ? e : {}; h = function(e, t, r, n) { var i = e.constructor; switch (t) { case "[object ArrayBuffer]": return de(e); case "[object Boolean]": case "[object Date]": return new i(+e); case "[object DataView]": return function(e, t) { var r = t ? de(e.buffer) : e.buffer; return new e.constructor(r, e.byteOffset, e.byteLength) }(e, n); case "[object Float32Array]": case "[object Float64Array]": case "[object Int8Array]": case "[object Int16Array]": case "[object Int32Array]": case "[object Uint8Array]": case "[object Uint8ClampedArray]": case "[object Uint16Array]": case "[object Uint32Array]": return function(e, t) { var r = t ? de(e.buffer) : e.buffer; return new e.constructor(r, e.byteOffset, e.length) }(e, n); case a: return function(e, t, r) { return _(t ? r(S(e), !0) : S(e), b, new e.constructor) }(e, n, r); case "[object Number]": case "[object String]": return new i(e); case "[object RegExp]": return function(e) { var t = new e.constructor(e.source, u.exec(e)); return t.lastIndex = e.lastIndex, t }(e); case s: return function(e, t, r) { return _(t ? r(E(e), !0) : E(e), g, new e.constructor) }(e, n, r); case "[object Symbol]": return o = e, ne ? Object(ne.call(o)) : {} } var o }(e, m, fe, t) } } d || (d = new se); var A = d.get(e); if (A) return A; if (d.set(e, h), !v) var C = r ? function(e) { return function(e, t, r) { var n = t(e); return Ae(e) ? n : function(e, t) { for (var r = -1, n = t.length, i = e.length; ++r < n;) e[i + r] = t[r]; return e }(n, r(e)) }(e, Ie, ye) }(e) : Ie(e); return function(e, t) { for (var r = -1, n = e ? e.length : 0; ++r < n && !1 !== t(e[r], r, e);); }(C || e, (function(n, i) { C && (n = e[i = n]), ce(h, i, fe(n, t, r, c, i, e, d)) })), h } function pe(e) { return !(!we(e) || (t = e, x && x in t)) && (Oe(e) || T(e) ? L : c).test(Te(e)); var t } function de(e) { var t = new e.constructor(e.byteLength); return new D(t).set(new D(e)), t } function he(e, t, r, n) { r || (r = {}); for (var i = -1, o = t.length; ++i < o;) { var a = t[i], s = n ? n(r[a], e[a], a, r, e) : void 0; ce(r, a, void 0 === s ? e[a] : s) } return r } function ve(e, t) { var r, n, i = e.__data__; return ("string" == (n = typeof(r = t)) || "number" == n || "symbol" == n || "boolean" == n ? "__proto__" !== r : null === r) ? i["string" == typeof t ? "string" : "hash"] : i.map } function me(e, t) { var r = function(e, t) { return null == e ? void 0 : e[t] }(e, t); return pe(r) ? r : void 0 } ie.prototype.clear = function() { this.__data__ = J ? J(null) : {} }, ie.prototype.delete = function(e) { return this.has(e) && delete this.__data__[e] }, ie.prototype.get = function(e) { var t = this.__data__; if (J) { var r = t[e]; return "__lodash_hash_undefined__" === r ? void 0 : r } return k.call(t, e) ? t[e] : void 0 }, ie.prototype.has = function(e) { var t = this.__data__; return J ? void 0 !== t[e] : k.call(t, e) }, ie.prototype.set = function(e, t) { return this.__data__[e] = J && void 0 === t ? "__lodash_hash_undefined__" : t, this }, oe.prototype.clear = function() { this.__data__ = [] }, oe.prototype.delete = function(e) { var t = this.__data__, r = le(t, e); return !(r < 0) && (r == t.length - 1 ? t.pop() : z.call(t, r, 1), !0) }, oe.prototype.get = function(e) { var t = this.__data__, r = le(t, e); return r < 0 ? void 0 : t[r][1] }, oe.prototype.has = function(e) { return le(this.__data__, e) > -1 }, oe.prototype.set = function(e, t) { var r = this.__data__, n = le(r, e); return n < 0 ? r.push([e, t]) : r[n][1] = t, this }, ae.prototype.clear = function() { this.__data__ = { hash: new ie, map: new(W || oe), string: new ie } }, ae.prototype.delete = function(e) { return ve(this, e).delete(e) }, ae.prototype.get = function(e) { return ve(this, e).get(e) }, ae.prototype.has = function(e) { return ve(this, e).has(e) }, ae.prototype.set = function(e, t) { return ve(this, e).set(e, t), this }, se.prototype.clear = function() { this.__data__ = new oe }, se.prototype.delete = function(e) { return this.__data__.delete(e) }, se.prototype.get = function(e) { return this.__data__.get(e) }, se.prototype.has = function(e) { return this.__data__.has(e) }, se.prototype.set = function(e, t) { var r = this.__data__; if (r instanceof oe) { var n = r.__data__; if (!W || n.length < 199) return n.push([e, t]), this; r = this.__data__ = new ae(n) } return r.set(e, t), this }; var ye = V ? A(V, Object) : function() { return [] }, be = function(e) { return R.call(e) }; function ge(e, t) { return !!(t = null == t ? 9007199254740991 : t) && ("number" == typeof e || l.test(e)) && e > -1 && e % 1 == 0 && e < t } function _e(e) { var t = e && e.constructor; return e === ("function" == typeof t && t.prototype || I) } function Te(e) { if (null != e) { try { return N.call(e) } catch (e) {} try { return e + "" } catch (e) {} } return "" } function Se(e, t) { return e === t || e != e && t != t }(H && "[object DataView]" != be(new H(new ArrayBuffer(1))) || W && be(new W) != a || Y && "[object Promise]" != be(Y.resolve()) || K && be(new K) != s || $ && "[object WeakMap]" != be(new $)) && (be = function(e) { var t = R.call(e), r = "[object Object]" == t ? e.constructor : void 0, n = r ? Te(r) : void 0; if (n) switch (n) { case X: return "[object DataView]"; case Z: return a; case Q: return "[object Promise]"; case ee: return s; case te: return "[object WeakMap]" } return t }); var Ae = Array.isArray; function Ee(e) { return null != e && function(e) { return "number" == typeof e && e > -1 && e % 1 == 0 && e <= 9007199254740991 }(e.length) && !Oe(e) } var Ce = G || function() { return !1 }; function Oe(e) { var t = we(e) ? R.call(e) : ""; return t == i || t == o } function we(e) { var t = typeof e; return !!e && ("object" == t || "function" == t) } function Ie(e) { return Ee(e) ? ue(e) : function(e) { if (!_e(e)) return q(e); var t = []; for (var r in Object(e)) k.call(e, r) && "constructor" != r && t.push(r); return t }(e) } r.exports = function(e) { return fe(e, !0, !0) } }).call(this, r(14), r(116)(e)) }, function(e, t, r) { (function(e, r) { var n = /^\[object .+?Constructor\]$/, i = /^(?:0|[1-9]\d*)$/, o = {}; o["[object Float32Array]"] = o["[object Float64Array]"] = o["[object Int8Array]"] = o["[object Int16Array]"] = o["[object Int32Array]"] = o["[object Uint8Array]"] = o["[object Uint8ClampedArray]"] = o["[object Uint16Array]"] = o["[object Uint32Array]"] = !0, o["[object Arguments]"] = o["[object Array]"] = o["[object ArrayBuffer]"] = o["[object Boolean]"] = o["[object DataView]"] = o["[object Date]"] = o["[object Error]"] = o["[object Function]"] = o["[object Map]"] = o["[object Number]"] = o["[object Object]"] = o["[object RegExp]"] = o["[object Set]"] = o["[object String]"] = o["[object WeakMap]"] = !1; var a = "object" == typeof e && e && e.Object === Object && e, s = "object" == typeof self && self && self.Object === Object && self, u = a || s || Function("return this")(), c = t && !t.nodeType && t, l = c && "object" == typeof r && r && !r.nodeType && r, f = l && l.exports === c, p = f && a.process, d = function() { try { var e = l && l.require && l.require("util").types; return e || p && p.binding && p.binding("util") } catch (e) {} }(), h = d && d.isTypedArray; function v(e, t, r) { switch (r.length) { case 0: return e.call(t); case 1: return e.call(t, r[0]); case 2: return e.call(t, r[0], r[1]); case 3: return e.call(t, r[0], r[1], r[2]) } return e.apply(t, r) } var m, y, b, g = Array.prototype, _ = Function.prototype, T = Object.prototype, S = u["__core-js_shared__"], A = _.toString, E = T.hasOwnProperty, C = (m = /[^.]+$/.exec(S && S.keys && S.keys.IE_PROTO || "")) ? "Symbol(src)_1." + m : "", O = T.toString, w = A.call(Object), I = RegExp("^" + A.call(E).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), P = f ? u.Buffer : void 0, x = u.Symbol, N = u.Uint8Array, k = P ? P.allocUnsafe : void 0, R = (y = Object.getPrototypeOf, b = Object, function(e) { return y(b(e)) }), L = Object.create, M = T.propertyIsEnumerable, j = g.splice, D = x ? x.toStringTag : void 0, U = function() { try { var e = ce(Object, "defineProperty"); return e({}, "", {}), e } catch (e) {} }(), B = P ? P.isBuffer : void 0, F = Math.max, z = Date.now, V = ce(u, "Map"), G = ce(Object, "create"), q = function() { function e() {} return function(t) { if (!Te(t)) return {}; if (L) return L(t); e.prototype = t; var r = new e; return e.prototype = void 0, r } }(); function H(e) { var t = -1, r = null == e ? 0 : e.length; for (this.clear(); ++t < r;) { var n = e[t]; this.set(n[0], n[1]) } } function W(e) { var t = -1, r = null == e ? 0 : e.length; for (this.clear(); ++t < r;) { var n = e[t]; this.set(n[0], n[1]) } } function Y(e) { var t = -1, r = null == e ? 0 : e.length; for (this.clear(); ++t < r;) { var n = e[t]; this.set(n[0], n[1]) } } function K(e) { var t = this.__data__ = new W(e); this.size = t.size } function $(e, t) { var r = me(e), n = !r && ve(e), i = !r && !n && be(e), o = !r && !n && !i && Ae(e), a = r || n || i || o, s = a ? function(e, t) { for (var r = -1, n = Array(e); ++r < e;) n[r] = t(r); return n }(e.length, String) : [], u = s.length; for (var c in e) !t && !E.call(e, c) || a && ("length" == c || i && ("offset" == c || "parent" == c) || o && ("buffer" == c || "byteLength" == c || "byteOffset" == c) || le(c, u)) || s.push(c); return s } function J(e, t, r) { (void 0 === r || he(e[t], r)) && (void 0 !== r || t in e) || Q(e, t, r) } function X(e, t, r) { var n = e[t]; E.call(e, t) && he(n, r) && (void 0 !== r || t in e) || Q(e, t, r) } function Z(e, t) { for (var r = e.length; r--;) if (he(e[r][0], t)) return r; return -1 } function Q(e, t, r) { "__proto__" == t && U ? U(e, t, { configurable: !0, enumerable: !0, value: r, writable: !0 }) : e[t] = r } H.prototype.clear = function() { this.__data__ = G ? G(null) : {}, this.size = 0 }, H.prototype.delete = function(e) { var t = this.has(e) && delete this.__data__[e]; return this.size -= t ? 1 : 0, t }, H.prototype.get = function(e) { var t = this.__data__; if (G) { var r = t[e]; return "__lodash_hash_undefined__" === r ? void 0 : r } return E.call(t, e) ? t[e] : void 0 }, H.prototype.has = function(e) { var t = this.__data__; return G ? void 0 !== t[e] : E.call(t, e) }, H.prototype.set = function(e, t) { var r = this.__data__; return this.size += this.has(e) ? 0 : 1, r[e] = G && void 0 === t ? "__lodash_hash_undefined__" : t, this }, W.prototype.clear = function() { this.__data__ = [], this.size = 0 }, W.prototype.delete = function(e) { var t = this.__data__, r = Z(t, e); return !(r < 0) && (r == t.length - 1 ? t.pop() : j.call(t, r, 1), --this.size, !0) }, W.prototype.get = function(e) { var t = this.__data__, r = Z(t, e); return r < 0 ? void 0 : t[r][1] }, W.prototype.has = function(e) { return Z(this.__data__, e) > -1 }, W.prototype.set = function(e, t) { var r = this.__data__, n = Z(r, e); return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this }, Y.prototype.clear = function() { this.size = 0, this.__data__ = { hash: new H, map: new(V || W), string: new H } }, Y.prototype.delete = function(e) { var t = ue(this, e).delete(e); return this.size -= t ? 1 : 0, t }, Y.prototype.get = function(e) { return ue(this, e).get(e) }, Y.prototype.has = function(e) { return ue(this, e).has(e) }, Y.prototype.set = function(e, t) { var r = ue(this, e), n = r.size; return r.set(e, t), this.size += r.size == n ? 0 : 1, this }, K.prototype.clear = function() { this.__data__ = new W, this.size = 0 }, K.prototype.delete = function(e) { var t = this.__data__, r = t.delete(e); return this.size = t.size, r }, K.prototype.get = function(e) { return this.__data__.get(e) }, K.prototype.has = function(e) { return this.__data__.has(e) }, K.prototype.set = function(e, t) { var r = this.__data__; if (r instanceof W) { var n = r.__data__; if (!V || n.length < 199) return n.push([e, t]), this.size = ++r.size, this; r = this.__data__ = new Y(n) } return r.set(e, t), this.size = r.size, this }; var ee, te = function(e, t, r) { for (var n = -1, i = Object(e), o = r(e), a = o.length; a--;) { var s = o[ee ? a : ++n]; if (!1 === t(i[s], s, i)) break } return e }; function re(e) { return null == e ? void 0 === e ? "[object Undefined]" : "[object Null]" : D && D in Object(e) ? function(e) { var t = E.call(e, D), r = e[D]; try { e[D] = void 0; var n = !0 } catch (e) {} var i = O.call(e); n && (t ? e[D] = r : delete e[D]); return i }(e) : function(e) { return O.call(e) }(e) } function ne(e) { return Se(e) && "[object Arguments]" == re(e) } function ie(e) { return !(!Te(e) || function(e) { return !!C && C in e }(e)) && (ge(e) ? I : n).test(function(e) { if (null != e) { try { return A.call(e) } catch (e) {} try { return e + "" } catch (e) {} } return "" }(e)) } function oe(e) { if (!Te(e)) return function(e) { var t = []; if (null != e) for (var r in Object(e)) t.push(r); return t }(e); var t = fe(e), r = []; for (var n in e)("constructor" != n || !t && E.call(e, n)) && r.push(n); return r } function ae(e, t, r, n, i) { e !== t && te(t, (function(o, a) { if (i || (i = new K), Te(o)) ! function(e, t, r, n, i, o, a) { var s = pe(e, r), u = pe(t, r), c = a.get(u); if (c) return void J(e, r, c); var l = o ? o(s, u, r + "", e, t, a) : void 0, f = void 0 === l; if (f) { var p = me(u), d = !p && be(u), h = !p && !d && Ae(u); l = u, p || d || h ? me(s) ? l = s : Se(g = s) && ye(g) ? l = function(e, t) { var r = -1, n = e.length; t || (t = Array(n)); for (; ++r < n;) t[r] = e[r]; return t }(s) : d ? (f = !1, l = function(e, t) { if (t) return e.slice(); var r = e.length, n = k ? k(r) : new e.constructor(r); return e.copy(n), n }(u, !0)) : h ? (f = !1, v = u, m = !0 ? (y = v.buffer, b = new y.constructor(y.byteLength), new N(b).set(new N(y)), b) : v.buffer, l = new v.constructor(m, v.byteOffset, v.length)) : l = [] : function(e) { if (!Se(e) || "[object Object]" != re(e)) return !1; var t = R(e); if (null === t) return !0; var r = E.call(t, "constructor") && t.constructor; return "function" == typeof r && r instanceof r && A.call(r) == w }(u) || ve(u) ? (l = s, ve(s) ? l = function(e) { return function(e, t, r, n) { var i = !r; r || (r = {}); var o = -1, a = t.length; for (; ++o < a;) { var s = t[o], u = n ? n(r[s], e[s], s, r, e) : void 0; void 0 === u && (u = e[s]), i ? Q(r, s, u) : X(r, s, u) } return r }(e, Ee(e)) }(s) : Te(s) && !ge(s) || (l = function(e) { return "function" != typeof e.constructor || fe(e) ? {} : q(R(e)) }(u))) : f = !1 } var v, m, y, b; var g; f && (a.set(u, l), i(l, u, n, o, a), a.delete(u)); J(e, r, l) }(e, t, a, r, ae, n, i); else { var s = n ? n(pe(e, a), o, a + "", e, t, i) : void 0; void 0 === s && (s = o), J(e, a, s) } }), Ee) } function se(e, t) { return de(function(e, t, r) { return t = F(void 0 === t ? e.length - 1 : t, 0), function() { for (var n = arguments, i = -1, o = F(n.length - t, 0), a = Array(o); ++i < o;) a[i] = n[t + i]; i = -1; for (var s = Array(t + 1); ++i < t;) s[i] = n[i]; return s[t] = r(a), v(e, this, s) } }(e, t, we), e + "") } function ue(e, t) { var r, n, i = e.__data__; return ("string" == (n = typeof(r = t)) || "number" == n || "symbol" == n || "boolean" == n ? "__proto__" !== r : null === r) ? i["string" == typeof t ? "string" : "hash"] : i.map } function ce(e, t) { var r = function(e, t) { return null == e ? void 0 : e[t] }(e, t); return ie(r) ? r : void 0 } function le(e, t) { var r = typeof e; return !!(t = null == t ? 9007199254740991 : t) && ("number" == r || "symbol" != r && i.test(e)) && e > -1 && e % 1 == 0 && e < t } function fe(e) { var t = e && e.constructor; return e === ("function" == typeof t && t.prototype || T) } function pe(e, t) { if (("constructor" !== t || "function" != typeof e[t]) && "__proto__" != t) return e[t] } var de = function(e) { var t = 0, r = 0; return function() { var n = z(), i = 16 - (n - r); if (r = n, i > 0) { if (++t >= 800) return arguments[0] } else t = 0; return e.apply(void 0, arguments) } }(U ? function(e, t) { return U(e, "toString", { configurable: !0, enumerable: !1, value: (r = t, function() { return r }), writable: !0 }); var r } : we); function he(e, t) { return e === t || e != e && t != t } var ve = ne(function() { return arguments }()) ? ne : function(e) { return Se(e) && E.call(e, "callee") && !M.call(e, "callee") }, me = Array.isArray; function ye(e) { return null != e && _e(e.length) && !ge(e) } var be = B || function() { return !1 }; function ge(e) { if (!Te(e)) return !1; var t = re(e); return "[object Function]" == t || "[object GeneratorFunction]" == t || "[object AsyncFunction]" == t || "[object Proxy]" == t } function _e(e) { return "number" == typeof e && e > -1 && e % 1 == 0 && e <= 9007199254740991 } function Te(e) { var t = typeof e; return null != e && ("object" == t || "function" == t) } function Se(e) { return null != e && "object" == typeof e } var Ae = h ? function(e) { return function(t) { return e(t) } }(h) : function(e) { return Se(e) && _e(e.length) && !!o[re(e)] }; function Ee(e) { return ye(e) ? $(e, !0) : oe(e) } var Ce, Oe = (Ce = function(e, t, r, n) { ae(e, t, r, n) }, se((function(e, t) { var r = -1, n = t.length, i = n > 1 ? t[n - 1] : void 0, o = n > 2 ? t[2] : void 0; for (i = Ce.length > 3 && "function" == typeof i ? (n--, i) : void 0, o && function(e, t, r) { if (!Te(r)) return !1; var n = typeof t; return !!("number" == n ? ye(r) && le(t, r.length) : "string" == n && t in r) && he(r[t], e) }(t[0], t[1], o) && (i = n < 3 ? void 0 : i, n = 1), e = Object(e); ++r < n;) { var a = t[r]; a && Ce(e, a, r, i) } return e }))); function we(e) { return e } r.exports = Oe }).call(this, r(14), r(116)(e)) }, function(e, t) { var r = Object.prototype.toString, n = Array.isArray; e.exports = function(e) { return "string" == typeof e || !n(e) && function(e) { return !!e && "object" == typeof e }(e) && "[object String]" == r.call(e) } }, function(e, t) { var r, n, i = Function.prototype, o = Object.prototype, a = i.toString, s = o.hasOwnProperty, u = a.call(Object), c = o.toString, l = (r = Object.getPrototypeOf, n = Object, function(e) { return r(n(e)) }); e.exports = function(e) { if (! function(e) { return !!e && "object" == typeof e }(e) || "[object Object]" != c.call(e) || function(e) { var t = !1; if (null != e && "function" != typeof e.toString) try { t = !!(e + "") } catch (e) {} return t }(e)) return !1; var t = l(e); if (null === t) return !0; var r = s.call(t, "constructor") && t.constructor; return "function" == typeof r && r instanceof r && a.call(r) == u } }, function(e, t, r) { "use strict"; var n = r(2076), i = r(2077), o = /^\d+$/; t.parse = function(e) { return (t = e.split(",").map((function(e) { var t = {}; return e.trim().split(/\s+/).forEach((function(e, r) { if (0 === r) return t.url = e; var i = e.substring(0, e.length - 1), a = e[e.length - 1], s = parseInt(i, 10), u = parseFloat(i); if ("w" === a && o.test(i)) t.width = s; else if ("h" === a && o.test(i)) t.height = s; else { if ("x" !== a || n(u)) throw new Error("Invalid srcset descriptor: " + e + "."); t.density = u } })), t }))).sort().filter((function(e, r) { return JSON.stringify(e) !== JSON.stringify(t[r - 1]) })); var t }, t.stringify = function(e) { return i(e.map((function(e) { if (!e.url) throw new Error("URL is required."); var t = [e.url]; return e.width && t.push(e.width + "w"), e.height && t.push(e.height + "h"), e.density && t.push(e.density + "x"), t.join(" ") }))).join(", ") } }, function(e, t, r) { "use strict"; e.exports = Number.isNaN || function(e) { return e != e } }, function(e, t, r) { "use strict"; (function(t) { var r; "Set" in t ? "function" == typeof Set.prototype.forEach && (r = !1, new Set([!0]).forEach((function(e) { r = e })), !0 === r) ? e.exports = function(e) { var t = []; return new Set(e).forEach((function(e) { t.push(e) })), t } : e.exports = function(e) { var t = new Set; return e.filter((function(e) { return !t.has(e) && (t.add(e), !0) })) } : e.exports = function(e) { for (var t = [], r = 0; r < e.length; r++) - 1 === t.indexOf(e[r]) && t.push(e[r]); return t } }).call(this, r(14)) }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = d(r(724)), i = d(r(1724)), o = d(r(726)), a = d(r(728)), s = d(r(729)), u = d(r(2097)), c = d(r(727)), l = d(r(1730)), f = d(r(731)), p = d(r(1731)); function d(e) { return e && e.__esModule ? e : { default: e } } function h() { for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r]; return 1 === t.length && Array.isArray(t[0]) && (t = t[0]), new i.default(t) } h.plugin = function(e, t) { function r() { var r = t.apply(void 0, arguments); return r.postcssPlugin = e, r.postcssVersion = (new i.default).version, r } var n; return Object.defineProperty(r, "postcss", { get: function() { return n || (n = r()), n } }), r.process = function(e, t, n) { return h([r(n)]).process(e, t) }, r }, h.stringify = o.default, h.parse = c.default, h.vendor = u.default, h.list = l.default, h.comment = function(e) { return new a.default(e) }, h.atRule = function(e) { return new s.default(e) }, h.decl = function(e) { return new n.default(e) }, h.rule = function(e) { return new f.default(e) }, h.root = function(e) { return new p.default(e) }; var v = h; t.default = v, e.exports = t.default }, function(e, t) {}, function(e, t) {}, function(e, t) {}, function(e, t, r) { "use strict"; (function(n) { t.__esModule = !0, t.default = void 0; var i = a(r(1726)), o = a(r(200)); function a(e) { return e && e.__esModule ? e : { default: e } } var s = function() { function e(e, t, r) { this.stringify = e, this.mapOpts = r.map || {}, this.root = t, this.opts = r } var t = e.prototype; return t.isMap = function() { return void 0 !== this.opts.map ? !!this.opts.map : this.previous().length > 0 }, t.previous = function() { var e = this; return this.previousMaps || (this.previousMaps = [], this.root.walk((function(t) { if (t.source && t.source.input.map) { var r = t.source.input.map; - 1 === e.previousMaps.indexOf(r) && e.previousMaps.push(r) } }))), this.previousMaps }, t.isInline = function() { if (void 0 !== this.mapOpts.inline) return this.mapOpts.inline; var e = this.mapOpts.annotation; return (void 0 === e || !0 === e) && (!this.previous().length || this.previous().some((function(e) { return e.inline }))) }, t.isSourcesContent = function() { return void 0 !== this.mapOpts.sourcesContent ? this.mapOpts.sourcesContent : !this.previous().length || this.previous().some((function(e) { return e.withContent() })) }, t.clearAnnotation = function() { if (!1 !== this.mapOpts.annotation) for (var e, t = this.root.nodes.length - 1; t >= 0; t--) "comment" === (e = this.root.nodes[t]).type && 0 === e.text.indexOf("# sourceMappingURL=") && this.root.removeChild(t) }, t.setSourcesContent = function() { var e = this, t = {}; this.root.walk((function(r) { if (r.source) { var n = r.source.input.from; if (n && !t[n]) { t[n] = !0; var i = e.relative(n); e.map.setSourceContent(i, r.source.input.css) } } })) }, t.applyPrevMaps = function() { var e = this.previous(), t = Array.isArray(e), r = 0; for (e = t ? e : e[Symbol.iterator]();;) { var n; if (t) { if (r >= e.length) break; n = e[r++] } else { if ((r = e.next()).done) break; n = r.value } var a = n, s = this.relative(a.file), u = a.root || o.default.dirname(a.file), c = void 0; !1 === this.mapOpts.sourcesContent ? (c = new i.default.SourceMapConsumer(a.text)).sourcesContent && (c.sourcesContent = c.sourcesContent.map((function() { return null }))) : c = a.consumer(), this.map.applySourceMap(c, s, this.relative(u)) } }, t.isAnnotation = function() { return !!this.isInline() || (void 0 !== this.mapOpts.annotation ? this.mapOpts.annotation : !this.previous().length || this.previous().some((function(e) { return e.annotation }))) }, t.toBase64 = function(e) { return n ? n.from(e).toString("base64") : window.btoa(unescape(encodeURIComponent(e))) }, t.addAnnotation = function() { var e; e = this.isInline() ? "data:application/json;base64," + this.toBase64(this.map.toString()) : "string" == typeof this.mapOpts.annotation ? this.mapOpts.annotation : this.outputFile() + ".map"; var t = "\n"; - 1 !== this.css.indexOf("\r\n") && (t = "\r\n"), this.css += t + "/*# sourceMappingURL=" + e + " */" }, t.outputFile = function() { return this.opts.to ? this.relative(this.opts.to) : this.opts.from ? this.relative(this.opts.from) : "to.css" }, t.generateMap = function() { return this.generateString(), this.isSourcesContent() && this.setSourcesContent(), this.previous().length > 0 && this.applyPrevMaps(), this.isAnnotation() && this.addAnnotation(), this.isInline() ? [this.css] : [this.css, this.map] }, t.relative = function(e) { if (0 === e.indexOf("<")) return e; if (/^\w+:\/\//.test(e)) return e; var t = this.opts.to ? o.default.dirname(this.opts.to) : "."; return "string" == typeof this.mapOpts.annotation && (t = o.default.dirname(o.default.resolve(t, this.mapOpts.annotation))), e = o.default.relative(t, e), "\\" === o.default.sep ? e.replace(/\\/g, "/") : e }, t.sourcePath = function(e) { return this.mapOpts.from ? this.mapOpts.from : this.relative(e.source.input.from) }, t.generateString = function() { var e = this; this.css = "", this.map = new i.default.SourceMapGenerator({ file: this.outputFile() }); var t, r, n = 1, o = 1; this.stringify(this.root, (function(i, a, s) { if (e.css += i, a && "end" !== s && (a.source && a.source.start ? e.map.addMapping({ source: e.sourcePath(a), generated: { line: n, column: o - 1 }, original: { line: a.source.start.line, column: a.source.start.column - 1 } }) : e.map.addMapping({ source: "<no source>", original: { line: 1, column: 0 }, generated: { line: n, column: o - 1 } })), (t = i.match(/\n/g)) ? (n += t.length, r = i.lastIndexOf("\n"), o = i.length - r) : o += i.length, a && "start" !== s) { var u = a.parent || { raws: {} }; ("decl" !== a.type || a !== u.last || u.raws.semicolon) && (a.source && a.source.end ? e.map.addMapping({ source: e.sourcePath(a), generated: { line: n, column: o - 2 }, original: { line: a.source.end.line, column: a.source.end.column - 1 } }) : e.map.addMapping({ source: "<no source>", original: { line: 1, column: 0 }, generated: { line: n, column: o - 1 } })) } })) }, t.generate = function() { if (this.clearAnnotation(), this.isMap()) return this.generateMap(); var e = ""; return this.stringify(this.root, (function(t) { e += t })), [e] }, e }(); t.default = s, e.exports = t.default }).call(this, r(8).Buffer) }, function(e, t) { var r = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""); t.encode = function(e) { if (0 <= e && e < r.length) return r[e]; throw new TypeError("Must be between 0 and 63: " + e) }, t.decode = function(e) { return 65 <= e && e <= 90 ? e - 65 : 97 <= e && e <= 122 ? e - 97 + 26 : 48 <= e && e <= 57 ? e - 48 + 52 : 43 == e ? 62 : 47 == e ? 63 : -1 } }, function(e, t, r) { var n = r(353); function i() { this._array = [], this._sorted = !0, this._last = { generatedLine: -1, generatedColumn: 0 } } i.prototype.unsortedForEach = function(e, t) { this._array.forEach(e, t) }, i.prototype.add = function(e) { var t, r, i, o, a, s; t = this._last, r = e, i = t.generatedLine, o = r.generatedLine, a = t.generatedColumn, s = r.generatedColumn, o > i || o == i && s >= a || n.compareByGeneratedPositionsInflated(t, r) <= 0 ? (this._last = e, this._array.push(e)) : (this._sorted = !1, this._array.push(e)) }, i.prototype.toArray = function() { return this._sorted || (this._array.sort(n.compareByGeneratedPositionsInflated), this._sorted = !0), this._array }, t.MappingList = i }, function(e, t, r) { var n = r(353), i = r(2086), o = r(1729).ArraySet, a = r(1728), s = r(2087).quickSort; function u(e, t) { var r = e; return "string" == typeof e && (r = n.parseSourceMapInput(e)), null != r.sections ? new f(r, t) : new c(r, t) } function c(e, t) { var r = e; "string" == typeof e && (r = n.parseSourceMapInput(e)); var i = n.getArg(r, "version"), a = n.getArg(r, "sources"), s = n.getArg(r, "names", []), u = n.getArg(r, "sourceRoot", null), c = n.getArg(r, "sourcesContent", null), l = n.getArg(r, "mappings"), f = n.getArg(r, "file", null); if (i != this._version) throw new Error("Unsupported version: " + i); u && (u = n.normalize(u)), a = a.map(String).map(n.normalize).map((function(e) { return u && n.isAbsolute(u) && n.isAbsolute(e) ? n.relative(u, e) : e })), this._names = o.fromArray(s.map(String), !0), this._sources = o.fromArray(a, !0), this._absoluteSources = this._sources.toArray().map((function(e) { return n.computeSourceURL(u, e, t) })), this.sourceRoot = u, this.sourcesContent = c, this._mappings = l, this._sourceMapURL = t, this.file = f } function l() { this.generatedLine = 0, this.generatedColumn = 0, this.source = null, this.originalLine = null, this.originalColumn = null, this.name = null } function f(e, t) { var r = e; "string" == typeof e && (r = n.parseSourceMapInput(e)); var i = n.getArg(r, "version"), a = n.getArg(r, "sections"); if (i != this._version) throw new Error("Unsupported version: " + i); this._sources = new o, this._names = new o; var s = { line: -1, column: 0 }; this._sections = a.map((function(e) { if (e.url) throw new Error("Support for url field in sections not implemented."); var r = n.getArg(e, "offset"), i = n.getArg(r, "line"), o = n.getArg(r, "column"); if (i < s.line || i === s.line && o < s.column) throw new Error("Section offsets must be ordered and non-overlapping."); return s = r, { generatedOffset: { generatedLine: i + 1, generatedColumn: o + 1 }, consumer: new u(n.getArg(e, "map"), t) } })) } u.fromSourceMap = function(e, t) { return c.fromSourceMap(e, t) }, u.prototype._version = 3, u.prototype.__generatedMappings = null, Object.defineProperty(u.prototype, "_generatedMappings", { configurable: !0, enumerable: !0, get: function() { return this.__generatedMappings || this._parseMappings(this._mappings, this.sourceRoot), this.__generatedMappings } }), u.prototype.__originalMappings = null, Object.defineProperty(u.prototype, "_originalMappings", { configurable: !0, enumerable: !0, get: function() { return this.__originalMappings || this._parseMappings(this._mappings, this.sourceRoot), this.__originalMappings } }), u.prototype._charIsMappingSeparator = function(e, t) { var r = e.charAt(t); return ";" === r || "," === r }, u.prototype._parseMappings = function(e, t) { throw new Error("Subclasses must implement _parseMappings") }, u.GENERATED_ORDER = 1, u.ORIGINAL_ORDER = 2, u.GREATEST_LOWER_BOUND = 1, u.LEAST_UPPER_BOUND = 2, u.prototype.eachMapping = function(e, t, r) { var i, o = t || null; switch (r || u.GENERATED_ORDER) { case u.GENERATED_ORDER: i = this._generatedMappings; break; case u.ORIGINAL_ORDER: i = this._originalMappings; break; default: throw new Error("Unknown order of iteration.") } var a = this.sourceRoot; i.map((function(e) { var t = null === e.source ? null : this._sources.at(e.source); return { source: t = n.computeSourceURL(a, t, this._sourceMapURL), generatedLine: e.generatedLine, generatedColumn: e.generatedColumn, originalLine: e.originalLine, originalColumn: e.originalColumn, name: null === e.name ? null : this._names.at(e.name) } }), this).forEach(e, o) }, u.prototype.allGeneratedPositionsFor = function(e) { var t = n.getArg(e, "line"), r = { source: n.getArg(e, "source"), originalLine: t, originalColumn: n.getArg(e, "column", 0) }; if (r.source = this._findSourceIndex(r.source), r.source < 0) return []; var o = [], a = this._findMapping(r, this._originalMappings, "originalLine", "originalColumn", n.compareByOriginalPositions, i.LEAST_UPPER_BOUND); if (a >= 0) { var s = this._originalMappings[a]; if (void 0 === e.column) for (var u = s.originalLine; s && s.originalLine === u;) o.push({ line: n.getArg(s, "generatedLine", null), column: n.getArg(s, "generatedColumn", null), lastColumn: n.getArg(s, "lastGeneratedColumn", null) }), s = this._originalMappings[++a]; else for (var c = s.originalColumn; s && s.originalLine === t && s.originalColumn == c;) o.push({ line: n.getArg(s, "generatedLine", null), column: n.getArg(s, "generatedColumn", null), lastColumn: n.getArg(s, "lastGeneratedColumn", null) }), s = this._originalMappings[++a] } return o }, t.SourceMapConsumer = u, c.prototype = Object.create(u.prototype), c.prototype.consumer = u, c.prototype._findSourceIndex = function(e) { var t, r = e; if (null != this.sourceRoot && (r = n.relative(this.sourceRoot, r)), this._sources.has(r)) return this._sources.indexOf(r); for (t = 0; t < this._absoluteSources.length; ++t) if (this._absoluteSources[t] == e) return t; return -1 }, c.fromSourceMap = function(e, t) { var r = Object.create(c.prototype), i = r._names = o.fromArray(e._names.toArray(), !0), a = r._sources = o.fromArray(e._sources.toArray(), !0); r.sourceRoot = e._sourceRoot, r.sourcesContent = e._generateSourcesContent(r._sources.toArray(), r.sourceRoot), r.file = e._file, r._sourceMapURL = t, r._absoluteSources = r._sources.toArray().map((function(e) { return n.computeSourceURL(r.sourceRoot, e, t) })); for (var u = e._mappings.toArray().slice(), f = r.__generatedMappings = [], p = r.__originalMappings = [], d = 0, h = u.length; d < h; d++) { var v = u[d], m = new l; m.generatedLine = v.generatedLine, m.generatedColumn = v.generatedColumn, v.source && (m.source = a.indexOf(v.source), m.originalLine = v.originalLine, m.originalColumn = v.originalColumn, v.name && (m.name = i.indexOf(v.name)), p.push(m)), f.push(m) } return s(r.__originalMappings, n.compareByOriginalPositions), r }, c.prototype._version = 3, Object.defineProperty(c.prototype, "sources", { get: function() { return this._absoluteSources.slice() } }), c.prototype._parseMappings = function(e, t) { for (var r, i, o, u, c, f = 1, p = 0, d = 0, h = 0, v = 0, m = 0, y = e.length, b = 0, g = {}, _ = {}, T = [], S = []; b < y;) if (";" === e.charAt(b)) f++, b++, p = 0; else if ("," === e.charAt(b)) b++; else { for ((r = new l).generatedLine = f, u = b; u < y && !this._charIsMappingSeparator(e, u); u++); if (o = g[i = e.slice(b, u)]) b += i.length; else { for (o = []; b < u;) a.decode(e, b, _), c = _.value, b = _.rest, o.push(c); if (2 === o.length) throw new Error("Found a source, but no line and column"); if (3 === o.length) throw new Error("Found a source and line, but no column"); g[i] = o } r.generatedColumn = p + o[0], p = r.generatedColumn, o.length > 1 && (r.source = v + o[1], v += o[1], r.originalLine = d + o[2], d = r.originalLine, r.originalLine += 1, r.originalColumn = h + o[3], h = r.originalColumn, o.length > 4 && (r.name = m + o[4], m += o[4])), S.push(r), "number" == typeof r.originalLine && T.push(r) } s(S, n.compareByGeneratedPositionsDeflated), this.__generatedMappings = S, s(T, n.compareByOriginalPositions), this.__originalMappings = T }, c.prototype._findMapping = function(e, t, r, n, o, a) { if (e[r] <= 0) throw new TypeError("Line must be greater than or equal to 1, got " + e[r]); if (e[n] < 0) throw new TypeError("Column must be greater than or equal to 0, got " + e[n]); return i.search(e, t, o, a) }, c.prototype.computeColumnSpans = function() { for (var e = 0; e < this._generatedMappings.length; ++e) { var t = this._generatedMappings[e]; if (e + 1 < this._generatedMappings.length) { var r = this._generatedMappings[e + 1]; if (t.generatedLine === r.generatedLine) { t.lastGeneratedColumn = r.generatedColumn - 1; continue } } t.lastGeneratedColumn = 1 / 0 } }, c.prototype.originalPositionFor = function(e) { var t = { generatedLine: n.getArg(e, "line"), generatedColumn: n.getArg(e, "column") }, r = this._findMapping(t, this._generatedMappings, "generatedLine", "generatedColumn", n.compareByGeneratedPositionsDeflated, n.getArg(e, "bias", u.GREATEST_LOWER_BOUND)); if (r >= 0) { var i = this._generatedMappings[r]; if (i.generatedLine === t.generatedLine) { var o = n.getArg(i, "source", null); null !== o && (o = this._sources.at(o), o = n.computeSourceURL(this.sourceRoot, o, this._sourceMapURL)); var a = n.getArg(i, "name", null); return null !== a && (a = this._names.at(a)), { source: o, line: n.getArg(i, "originalLine", null), column: n.getArg(i, "originalColumn", null), name: a } } } return { source: null, line: null, column: null, name: null } }, c.prototype.hasContentsOfAllSources = function() { return !!this.sourcesContent && (this.sourcesContent.length >= this._sources.size() && !this.sourcesContent.some((function(e) { return null == e }))) }, c.prototype.sourceContentFor = function(e, t) { if (!this.sourcesContent) return null; var r = this._findSourceIndex(e); if (r >= 0) return this.sourcesContent[r]; var i, o = e; if (null != this.sourceRoot && (o = n.relative(this.sourceRoot, o)), null != this.sourceRoot && (i = n.urlParse(this.sourceRoot))) { var a = o.replace(/^file:\/\//, ""); if ("file" == i.scheme && this._sources.has(a)) return this.sourcesContent[this._sources.indexOf(a)]; if ((!i.path || "/" == i.path) && this._sources.has("/" + o)) return this.sourcesContent[this._sources.indexOf("/" + o)] } if (t) return null; throw new Error('"' + o + '" is not in the SourceMap.') }, c.prototype.generatedPositionFor = function(e) { var t = n.getArg(e, "source"); if ((t = this._findSourceIndex(t)) < 0) return { line: null, column: null, lastColumn: null }; var r = { source: t, originalLine: n.getArg(e, "line"), originalColumn: n.getArg(e, "column") }, i = this._findMapping(r, this._originalMappings, "originalLine", "originalColumn", n.compareByOriginalPositions, n.getArg(e, "bias", u.GREATEST_LOWER_BOUND)); if (i >= 0) { var o = this._originalMappings[i]; if (o.source === r.source) return { line: n.getArg(o, "generatedLine", null), column: n.getArg(o, "generatedColumn", null), lastColumn: n.getArg(o, "lastGeneratedColumn", null) } } return { line: null, column: null, lastColumn: null } }, t.BasicSourceMapConsumer = c, f.prototype = Object.create(u.prototype), f.prototype.constructor = u, f.prototype._version = 3, Object.defineProperty(f.prototype, "sources", { get: function() { for (var e = [], t = 0; t < this._sections.length; t++) for (var r = 0; r < this._sections[t].consumer.sources.length; r++) e.push(this._sections[t].consumer.sources[r]); return e } }), f.prototype.originalPositionFor = function(e) { var t = { generatedLine: n.getArg(e, "line"), generatedColumn: n.getArg(e, "column") }, r = i.search(t, this._sections, (function(e, t) { var r = e.generatedLine - t.generatedOffset.generatedLine; return r || e.generatedColumn - t.generatedOffset.generatedColumn })), o = this._sections[r]; return o ? o.consumer.originalPositionFor({ line: t.generatedLine - (o.generatedOffset.generatedLine - 1), column: t.generatedColumn - (o.generatedOffset.generatedLine === t.generatedLine ? o.generatedOffset.generatedColumn - 1 : 0), bias: e.bias }) : { source: null, line: null, column: null, name: null } }, f.prototype.hasContentsOfAllSources = function() { return this._sections.every((function(e) { return e.consumer.hasContentsOfAllSources() })) }, f.prototype.sourceContentFor = function(e, t) { for (var r = 0; r < this._sections.length; r++) { var n = this._sections[r].consumer.sourceContentFor(e, !0); if (n) return n } if (t) return null; throw new Error('"' + e + '" is not in the SourceMap.') }, f.prototype.generatedPositionFor = function(e) { for (var t = 0; t < this._sections.length; t++) { var r = this._sections[t]; if (-1 !== r.consumer._findSourceIndex(n.getArg(e, "source"))) { var i = r.consumer.generatedPositionFor(e); if (i) return { line: i.line + (r.generatedOffset.generatedLine - 1), column: i.column + (r.generatedOffset.generatedLine === i.line ? r.generatedOffset.generatedColumn - 1 : 0) } } } return { line: null, column: null } }, f.prototype._parseMappings = function(e, t) { this.__generatedMappings = [], this.__originalMappings = []; for (var r = 0; r < this._sections.length; r++) for (var i = this._sections[r], o = i.consumer._generatedMappings, a = 0; a < o.length; a++) { var u = o[a], c = i.consumer._sources.at(u.source); c = n.computeSourceURL(i.consumer.sourceRoot, c, this._sourceMapURL), this._sources.add(c), c = this._sources.indexOf(c); var l = null; u.name && (l = i.consumer._names.at(u.name), this._names.add(l), l = this._names.indexOf(l)); var f = { source: c, generatedLine: u.generatedLine + (i.generatedOffset.generatedLine - 1), generatedColumn: u.generatedColumn + (i.generatedOffset.generatedLine === u.generatedLine ? i.generatedOffset.generatedColumn - 1 : 0), originalLine: u.originalLine, originalColumn: u.originalColumn, name: l }; this.__generatedMappings.push(f), "number" == typeof f.originalLine && this.__originalMappings.push(f) } s(this.__generatedMappings, n.compareByGeneratedPositionsDeflated), s(this.__originalMappings, n.compareByOriginalPositions) }, t.IndexedSourceMapConsumer = f }, function(e, t) { t.GREATEST_LOWER_BOUND = 1, t.LEAST_UPPER_BOUND = 2, t.search = function(e, r, n, i) { if (0 === r.length) return -1; var o = function e(r, n, i, o, a, s) { var u = Math.floor((n - r) / 2) + r, c = a(i, o[u], !0); return 0 === c ? u : c > 0 ? n - u > 1 ? e(u, n, i, o, a, s) : s == t.LEAST_UPPER_BOUND ? n < o.length ? n : -1 : u : u - r > 1 ? e(r, u, i, o, a, s) : s == t.LEAST_UPPER_BOUND ? u : r < 0 ? -1 : r }(-1, r.length, e, r, n, i || t.GREATEST_LOWER_BOUND); if (o < 0) return -1; for (; o - 1 >= 0 && 0 === n(r[o], r[o - 1], !0);) --o; return o } }, function(e, t) { function r(e, t, r) { var n = e[t]; e[t] = e[r], e[r] = n } function n(e, t, i, o) { if (i < o) { var a = i - 1; r(e, (l = i, f = o, Math.round(l + Math.random() * (f - l))), o); for (var s = e[o], u = i; u < o; u++) t(e[u], s) <= 0 && r(e, a += 1, u); r(e, a + 1, u); var c = a + 1; n(e, t, i, c - 1), n(e, t, c + 1, o) } var l, f } t.quickSort = function(e, t) { n(e, t, 0, e.length - 1) } }, function(e, t, r) { var n = r(1727).SourceMapGenerator, i = r(353), o = /(\r?\n)/, a = "$$$isSourceNode$$$"; function s(e, t, r, n, i) { this.children = [], this.sourceContents = {}, this.line = null == e ? null : e, this.column = null == t ? null : t, this.source = null == r ? null : r, this.name = null == i ? null : i, this[a] = !0, null != n && this.add(n) } s.fromStringWithSourceMap = function(e, t, r) { var n = new s, a = e.split(o), u = 0, c = function() { return e() + (e() || ""); function e() { return u < a.length ? a[u++] : void 0 } }, l = 1, f = 0, p = null; return t.eachMapping((function(e) { if (null !== p) { if (!(l < e.generatedLine)) { var t = (r = a[u] || "").substr(0, e.generatedColumn - f); return a[u] = r.substr(e.generatedColumn - f), f = e.generatedColumn, d(p, t), void(p = e) } d(p, c()), l++, f = 0 } for (; l < e.generatedLine;) n.add(c()), l++; if (f < e.generatedColumn) { var r = a[u] || ""; n.add(r.substr(0, e.generatedColumn)), a[u] = r.substr(e.generatedColumn), f = e.generatedColumn } p = e }), this), u < a.length && (p && d(p, c()), n.add(a.splice(u).join(""))), t.sources.forEach((function(e) { var o = t.sourceContentFor(e); null != o && (null != r && (e = i.join(r, e)), n.setSourceContent(e, o)) })), n; function d(e, t) { if (null === e || void 0 === e.source) n.add(t); else { var o = r ? i.join(r, e.source) : e.source; n.add(new s(e.originalLine, e.originalColumn, o, t, e.name)) } } }, s.prototype.add = function(e) { if (Array.isArray(e)) e.forEach((function(e) { this.add(e) }), this); else { if (!e[a] && "string" != typeof e) throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + e); e && this.children.push(e) } return this }, s.prototype.prepend = function(e) { if (Array.isArray(e)) for (var t = e.length - 1; t >= 0; t--) this.prepend(e[t]); else { if (!e[a] && "string" != typeof e) throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + e); this.children.unshift(e) } return this }, s.prototype.walk = function(e) { for (var t, r = 0, n = this.children.length; r < n; r++)(t = this.children[r])[a] ? t.walk(e) : "" !== t && e(t, { source: this.source, line: this.line, column: this.column, name: this.name }) }, s.prototype.join = function(e) { var t, r, n = this.children.length; if (n > 0) { for (t = [], r = 0; r < n - 1; r++) t.push(this.children[r]), t.push(e); t.push(this.children[r]), this.children = t } return this }, s.prototype.replaceRight = function(e, t) { var r = this.children[this.children.length - 1]; return r[a] ? r.replaceRight(e, t) : "string" == typeof r ? this.children[this.children.length - 1] = r.replace(e, t) : this.children.push("".replace(e, t)), this }, s.prototype.setSourceContent = function(e, t) { this.sourceContents[i.toSetString(e)] = t }, s.prototype.walkSourceContents = function(e) { for (var t = 0, r = this.children.length; t < r; t++) this.children[t][a] && this.children[t].walkSourceContents(e); var n = Object.keys(this.sourceContents); for (t = 0, r = n.length; t < r; t++) e(i.fromSetString(n[t]), this.sourceContents[n[t]]) }, s.prototype.toString = function() { var e = ""; return this.walk((function(t) { e += t })), e }, s.prototype.toStringWithSourceMap = function(e) { var t = { code: "", line: 1, column: 0 }, r = new n(e), i = !1, o = null, a = null, s = null, u = null; return this.walk((function(e, n) { t.code += e, null !== n.source && null !== n.line && null !== n.column ? (o === n.source && a === n.line && s === n.column && u === n.name || r.addMapping({ source: n.source, original: { line: n.line, column: n.column }, generated: { line: t.line, column: t.column }, name: n.name }), o = n.source, a = n.line, s = n.column, u = n.name, i = !0) : i && (r.addMapping({ generated: { line: t.line, column: t.column } }), o = null, i = !1); for (var c = 0, l = e.length; c < l; c++) 10 === e.charCodeAt(c) ? (t.line++, t.column = 0, c + 1 === l ? (o = null, i = !1) : i && r.addMapping({ source: n.source, original: { line: n.line, column: n.column }, generated: { line: t.line, column: t.column }, name: n.name })) : t.column++ })), this.walkSourceContents((function(e, t) { r.setSourceContent(e, t) })), { code: t.code, map: r } }, t.SourceNode = s }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = function(e) { if (n[e]) return; n[e] = !0, "undefined" != typeof console && console.warn && console.warn(e) }; var n = {}; e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n, i = (n = r(2091)) && n.__esModule ? n : { default: n }; function o(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } var a = function() { function e(e, t, r) { this.processor = e, this.messages = [], this.root = t, this.opts = r, this.css = void 0, this.map = void 0 } var t, r, n, a = e.prototype; return a.toString = function() { return this.css }, a.warn = function(e, t) { void 0 === t && (t = {}), t.plugin || this.lastPlugin && this.lastPlugin.postcssPlugin && (t.plugin = this.lastPlugin.postcssPlugin); var r = new i.default(e, t); return this.messages.push(r), r }, a.warnings = function() { return this.messages.filter((function(e) { return "warning" === e.type })) }, t = e, (r = [{ key: "content", get: function() { return this.css } }]) && o(t.prototype, r), n && o(t, n), e }(); t.default = a, e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = function() { function e(e, t) { if (void 0 === t && (t = {}), this.type = "warning", this.text = e, t.node && t.node.source) { var r = t.node.positionBy(t); this.line = r.line, this.column = r.column } for (var n in t) this[n] = t[n] } return e.prototype.toString = function() { return this.node ? this.node.error(this.text, { plugin: this.plugin, index: this.index, word: this.word }).message : this.plugin ? this.plugin + ": " + this.text : this.text }, e }(); t.default = n, e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = c(r(724)), i = c(r(2093)), o = c(r(728)), a = c(r(729)), s = c(r(1731)), u = c(r(731)); function c(e) { return e && e.__esModule ? e : { default: e } } var l = function() { function e(e) { this.input = e, this.root = new s.default, this.current = this.root, this.spaces = "", this.semicolon = !1, this.createTokenizer(), this.root.source = { input: e, start: { line: 1, column: 1 } } } var t = e.prototype; return t.createTokenizer = function() { this.tokenizer = (0, i.default)(this.input) }, t.parse = function() { for (var e; !this.tokenizer.endOfFile();) switch ((e = this.tokenizer.nextToken())[0]) { case "space": this.spaces += e[1]; break; case ";": this.freeSemicolon(e); break; case "}": this.end(e); break; case "comment": this.comment(e); break; case "at-word": this.atrule(e); break; case "{": this.emptyRule(e); break; default: this.other(e) } this.endFile() }, t.comment = function(e) { var t = new o.default; this.init(t, e[2], e[3]), t.source.end = { line: e[4], column: e[5] }; var r = e[1].slice(2, -2); if (/^\s*$/.test(r)) t.text = "", t.raws.left = r, t.raws.right = ""; else { var n = r.match(/^(\s*)([^]*[^\s])(\s*)$/); t.text = n[2], t.raws.left = n[1], t.raws.right = n[3] } }, t.emptyRule = function(e) { var t = new u.default; this.init(t, e[2], e[3]), t.selector = "", t.raws.between = "", this.current = t }, t.other = function(e) { for (var t = !1, r = null, n = !1, i = null, o = [], a = [], s = e; s;) { if (r = s[0], a.push(s), "(" === r || "[" === r) i || (i = s), o.push("(" === r ? ")" : "]"); else if (0 === o.length) { if (";" === r) { if (n) return void this.decl(a); break } if ("{" === r) return void this.rule(a); if ("}" === r) { this.tokenizer.back(a.pop()), t = !0; break } ":" === r && (n = !0) } else r === o[o.length - 1] && (o.pop(), 0 === o.length && (i = null)); s = this.tokenizer.nextToken() } if (this.tokenizer.endOfFile() && (t = !0), o.length > 0 && this.unclosedBracket(i), t && n) { for (; a.length && ("space" === (s = a[a.length - 1][0]) || "comment" === s);) this.tokenizer.back(a.pop()); this.decl(a) } else this.unknownWord(a) }, t.rule = function(e) { e.pop(); var t = new u.default; this.init(t, e[0][2], e[0][3]), t.raws.between = this.spacesAndCommentsFromEnd(e), this.raw(t, "selector", e), this.current = t }, t.decl = function(e) { var t = new n.default; this.init(t); var r, i = e[e.length - 1]; for (";" === i[0] && (this.semicolon = !0, e.pop()), i[4] ? t.source.end = { line: i[4], column: i[5] } : t.source.end = { line: i[2], column: i[3] }; "word" !== e[0][0];) 1 === e.length && this.unknownWord(e), t.raws.before += e.shift()[1]; for (t.source.start = { line: e[0][2], column: e[0][3] }, t.prop = ""; e.length;) { var o = e[0][0]; if (":" === o || "space" === o || "comment" === o) break; t.prop += e.shift()[1] } for (t.raws.between = ""; e.length;) { if (":" === (r = e.shift())[0]) { t.raws.between += r[1]; break } "word" === r[0] && /\w/.test(r[1]) && this.unknownWord([r]), t.raws.between += r[1] } "_" !== t.prop[0] && "*" !== t.prop[0] || (t.raws.before += t.prop[0], t.prop = t.prop.slice(1)), t.raws.between += this.spacesAndCommentsFromStart(e), this.precheckMissedSemicolon(e); for (var a = e.length - 1; a > 0; a--) { if ("!important" === (r = e[a])[1].toLowerCase()) { t.important = !0; var s = this.stringFrom(e, a); " !important" !== (s = this.spacesFromEnd(e) + s) && (t.raws.important = s); break } if ("important" === r[1].toLowerCase()) { for (var u = e.slice(0), c = "", l = a; l > 0; l--) { var f = u[l][0]; if (0 === c.trim().indexOf("!") && "space" !== f) break; c = u.pop()[1] + c } 0 === c.trim().indexOf("!") && (t.important = !0, t.raws.important = c, e = u) } if ("space" !== r[0] && "comment" !== r[0]) break } this.raw(t, "value", e), -1 !== t.value.indexOf(":") && this.checkMissedSemicolon(e) }, t.atrule = function(e) { var t, r, n = new a.default; n.name = e[1].slice(1), "" === n.name && this.unnamedAtrule(n, e), this.init(n, e[2], e[3]); for (var i = !1, o = !1, s = []; !this.tokenizer.endOfFile();) { if (";" === (e = this.tokenizer.nextToken())[0]) { n.source.end = { line: e[2], column: e[3] }, this.semicolon = !0; break } if ("{" === e[0]) { o = !0; break } if ("}" === e[0]) { if (s.length > 0) { for (t = s[r = s.length - 1]; t && "space" === t[0];) t = s[--r]; t && (n.source.end = { line: t[4], column: t[5] }) } this.end(e); break } if (s.push(e), this.tokenizer.endOfFile()) { i = !0; break } } n.raws.between = this.spacesAndCommentsFromEnd(s), s.length ? (n.raws.afterName = this.spacesAndCommentsFromStart(s), this.raw(n, "params", s), i && (e = s[s.length - 1], n.source.end = { line: e[4], column: e[5] }, this.spaces = n.raws.between, n.raws.between = "")) : (n.raws.afterName = "", n.params = ""), o && (n.nodes = [], this.current = n) }, t.end = function(e) { this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), this.semicolon = !1, this.current.raws.after = (this.current.raws.after || "") + this.spaces, this.spaces = "", this.current.parent ? (this.current.source.end = { line: e[2], column: e[3] }, this.current = this.current.parent) : this.unexpectedClose(e) }, t.endFile = function() { this.current.parent && this.unclosedBlock(), this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon), this.current.raws.after = (this.current.raws.after || "") + this.spaces }, t.freeSemicolon = function(e) { if (this.spaces += e[1], this.current.nodes) { var t = this.current.nodes[this.current.nodes.length - 1]; t && "rule" === t.type && !t.raws.ownSemicolon && (t.raws.ownSemicolon = this.spaces, this.spaces = "") } }, t.init = function(e, t, r) { this.current.push(e), e.source = { start: { line: t, column: r }, input: this.input }, e.raws.before = this.spaces, this.spaces = "", "comment" !== e.type && (this.semicolon = !1) }, t.raw = function(e, t, r) { for (var n, i, o, a, s = r.length, u = "", c = !0, l = /^([.|#])?([\w])+/i, f = 0; f < s; f += 1) "comment" !== (i = (n = r[f])[0]) || "rule" !== e.type ? "comment" === i || "space" === i && f === s - 1 ? c = !1 : u += n[1] : (a = r[f - 1], o = r[f + 1], "space" !== a[0] && "space" !== o[0] && l.test(a[1]) && l.test(o[1]) ? u += n[1] : c = !1); if (!c) { var p = r.reduce((function(e, t) { return e + t[1] }), ""); e.raws[t] = { value: u, raw: p } } e[t] = u }, t.spacesAndCommentsFromEnd = function(e) { for (var t, r = ""; e.length && ("space" === (t = e[e.length - 1][0]) || "comment" === t);) r = e.pop()[1] + r; return r }, t.spacesAndCommentsFromStart = function(e) { for (var t, r = ""; e.length && ("space" === (t = e[0][0]) || "comment" === t);) r += e.shift()[1]; return r }, t.spacesFromEnd = function(e) { for (var t = ""; e.length && "space" === e[e.length - 1][0];) t = e.pop()[1] + t; return t }, t.stringFrom = function(e, t) { for (var r = "", n = t; n < e.length; n++) r += e[n][1]; return e.splice(t, e.length - t), r }, t.colon = function(e) { for (var t, r, n, i = 0, o = 0; o < e.length; o++) { if ("(" === (r = (t = e[o])[0]) && (i += 1), ")" === r && (i -= 1), 0 === i && ":" === r) { if (n) { if ("word" === n[0] && "progid" === n[1]) continue; return o } this.doubleColon(t) } n = t } return !1 }, t.unclosedBracket = function(e) { throw this.input.error("Unclosed bracket", e[2], e[3]) }, t.unknownWord = function(e) { throw this.input.error("Unknown word", e[0][2], e[0][3]) }, t.unexpectedClose = function(e) { throw this.input.error("Unexpected }", e[2], e[3]) }, t.unclosedBlock = function() { var e = this.current.source.start; throw this.input.error("Unclosed block", e.line, e.column) }, t.doubleColon = function(e) { throw this.input.error("Double colon", e[2], e[3]) }, t.unnamedAtrule = function(e, t) { throw this.input.error("At-rule without name", t[2], t[3]) }, t.precheckMissedSemicolon = function() {}, t.checkMissedSemicolon = function(e) { var t = this.colon(e); if (!1 !== t) { for (var r, n = 0, i = t - 1; i >= 0 && ("space" === (r = e[i])[0] || 2 !== (n += 1)); i--); throw this.input.error("Missed semicolon", r[2], r[3]) } }, e }(); t.default = l, e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = function(e, t) { void 0 === t && (t = {}); var r, O, w, I, P, x, N, k, R, L, M, j, D, U, B = e.css.valueOf(), F = t.ignoreErrors, z = B.length, V = -1, G = 1, q = 0, H = [], W = []; function Y(t) { throw e.error("Unclosed " + t, G, q - V) } return { back: function(e) { W.push(e) }, nextToken: function(e) { if (W.length) return W.pop(); if (!(q >= z)) { var t = !!e && e.ignoreUnclosed; switch (((r = B.charCodeAt(q)) === s || r === c || r === f && B.charCodeAt(q + 1) !== s) && (V = q, G += 1), r) { case s: case u: case l: case f: case c: O = q; do { O += 1, (r = B.charCodeAt(O)) === s && (V = O, G += 1) } while (r === u || r === s || r === l || r === f || r === c); U = ["space", B.slice(q, O)], q = O - 1; break; case p: case d: case m: case y: case _: case b: case v: var K = String.fromCharCode(r); U = [K, K, G, q - V]; break; case h: if (j = H.length ? H.pop()[1] : "", D = B.charCodeAt(q + 1), "url" === j && D !== n && D !== i && D !== u && D !== s && D !== l && D !== c && D !== f) { O = q; do { if (L = !1, -1 === (O = B.indexOf(")", O + 1))) { if (F || t) { O = q; break } Y("bracket") } for (M = O; B.charCodeAt(M - 1) === o;) M -= 1, L = !L } while (L); U = ["brackets", B.slice(q, O + 1), G, q - V, G, O - V], q = O } else O = B.indexOf(")", q + 1), x = B.slice(q, O + 1), -1 === O || E.test(x) ? U = ["(", "(", G, q - V] : (U = ["brackets", x, G, q - V, G, O - V], q = O); break; case n: case i: w = r === n ? "'" : '"', O = q; do { if (L = !1, -1 === (O = B.indexOf(w, O + 1))) { if (F || t) { O = q + 1; break } Y("string") } for (M = O; B.charCodeAt(M - 1) === o;) M -= 1, L = !L } while (L); x = B.slice(q, O + 1), I = x.split("\n"), (P = I.length - 1) > 0 ? (k = G + P, R = O - I[P].length) : (k = G, R = V), U = ["string", B.slice(q, O + 1), G, q - V, k, O - R], V = R, G = k, q = O; break; case T: S.lastIndex = q + 1, S.test(B), O = 0 === S.lastIndex ? B.length - 1 : S.lastIndex - 2, U = ["at-word", B.slice(q, O + 1), G, q - V, G, O - V], q = O; break; case o: for (O = q, N = !0; B.charCodeAt(O + 1) === o;) O += 1, N = !N; if (r = B.charCodeAt(O + 1), N && r !== a && r !== u && r !== s && r !== l && r !== f && r !== c && (O += 1, C.test(B.charAt(O)))) { for (; C.test(B.charAt(O + 1));) O += 1; B.charCodeAt(O + 1) === u && (O += 1) } U = ["word", B.slice(q, O + 1), G, q - V, G, O - V], q = O; break; default: r === a && B.charCodeAt(q + 1) === g ? (0 === (O = B.indexOf("*/", q + 2) + 1) && (F || t ? O = B.length : Y("comment")), x = B.slice(q, O + 1), I = x.split("\n"), (P = I.length - 1) > 0 ? (k = G + P, R = O - I[P].length) : (k = G, R = V), U = ["comment", x, G, q - V, k, O - R], V = R, G = k, q = O) : (A.lastIndex = q + 1, A.test(B), O = 0 === A.lastIndex ? B.length - 1 : A.lastIndex - 2, U = ["word", B.slice(q, O + 1), G, q - V, G, O - V], H.push(U), q = O) } return q++, U } }, endOfFile: function() { return 0 === W.length && q >= z }, position: function() { return q } } }; var n = "'".charCodeAt(0), i = '"'.charCodeAt(0), o = "\\".charCodeAt(0), a = "/".charCodeAt(0), s = "\n".charCodeAt(0), u = " ".charCodeAt(0), c = "\f".charCodeAt(0), l = "\t".charCodeAt(0), f = "\r".charCodeAt(0), p = "[".charCodeAt(0), d = "]".charCodeAt(0), h = "(".charCodeAt(0), v = ")".charCodeAt(0), m = "{".charCodeAt(0), y = "}".charCodeAt(0), b = ";".charCodeAt(0), g = "*".charCodeAt(0), _ = ":".charCodeAt(0), T = "@".charCodeAt(0), S = /[ \n\t\r\f{}()'"\\;/[\]#]/g, A = /[ \n\t\r\f(){}:;@!'"\\\][#]|\/(?=\*)/g, E = /.[\\/("'\n]/, C = /[a-f0-9]/i; e.exports = t.default }, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = a(r(200)), i = a(r(1722)), o = a(r(2095)); function a(e) { return e && e.__esModule ? e : { default: e } } function s(e, t) { for (var r = 0; r < t.length; r++) { var n = t[r]; n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n) } } var u = 0, c = function() { function e(e, t) { if (void 0 === t && (t = {}), null === e || "object" == typeof e && !e.toString) throw new Error("PostCSS received " + e + " instead of CSS string"); this.css = e.toString(), "\ufeff" === this.css[0] || "\ufffe" === this.css[0] ? (this.hasBOM = !0, this.css = this.css.slice(1)) : this.hasBOM = !1, t.from && (/^\w+:\/\//.test(t.from) || n.default.isAbsolute(t.from) ? this.file = t.from : this.file = n.default.resolve(t.from)); var r = new o.default(this.css, t); if (r.text) { this.map = r; var i = r.consumer().file; !this.file && i && (this.file = this.mapResolve(i)) } this.file || (u += 1, this.id = "<input css " + u + ">"), this.map && (this.map.file = this.from) } var t, r, a, c = e.prototype; return c.error = function(e, t, r, n) { var o; void 0 === n && (n = {}); var a = this.origin(t, r); return (o = a ? new i.default(e, a.line, a.column, a.source, a.file, n.plugin) : new i.default(e, t, r, this.css, this.file, n.plugin)).input = { line: t, column: r, source: this.css }, this.file && (o.input.file = this.file), o }, c.origin = function(e, t) { if (!this.map) return !1; var r = this.map.consumer(), n = r.originalPositionFor({ line: e, column: t }); if (!n.source) return !1; var i = { file: this.mapResolve(n.source), line: n.line, column: n.column }, o = r.sourceContentFor(n.source); return o && (i.source = o), i }, c.mapResolve = function(e) { return /^\w+:\/\//.test(e) ? e : n.default.resolve(this.map.consumer().sourceRoot || ".", e) }, t = e, (r = [{ key: "from", get: function() { return this.file || this.id } }]) && s(t.prototype, r), a && s(t, a), e }(); t.default = c, e.exports = t.default }, function(e, t, r) { "use strict"; (function(n) { t.__esModule = !0, t.default = void 0; var i = s(r(1726)), o = s(r(200)), a = s(r(2096)); function s(e) { return e && e.__esModule ? e : { default: e } } var u = function() { function e(e, t) { this.loadAnnotation(e), this.inline = this.startWith(this.annotation, "data:"); var r = t.map ? t.map.prev : void 0, n = this.loadMap(t.from, r); n && (this.text = n) } var t = e.prototype; return t.consumer = function() { return this.consumerCache || (this.consumerCache = new i.default.SourceMapConsumer(this.text)), this.consumerCache }, t.withContent = function() { return !!(this.consumer().sourcesContent && this.consumer().sourcesContent.length > 0) }, t.startWith = function(e, t) { return !!e && e.substr(0, t.length) === t }, t.loadAnnotation = function(e) { var t = e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//); t && (this.annotation = t[1].trim()) }, t.decodeInline = function(e) { var t, r = "data:application/json,"; if (this.startWith(e, r)) return decodeURIComponent(e.substr(r.length)); if (/^data:application\/json;charset=utf-?8;base64,/.test(e) || /^data:application\/json;base64,/.test(e)) return t = e.substr(RegExp.lastMatch.length), n ? n.from(t, "base64").toString() : window.atob(t); var i = e.match(/data:application\/json;([^,]+),/)[1]; throw new Error("Unsupported source map encoding " + i) }, t.loadMap = function(e, t) { if (!1 === t) return !1; if (t) { if ("string" == typeof t) return t; if ("function" == typeof t) { var r = t(e); if (r && a.default.existsSync && a.default.existsSync(r)) return a.default.readFileSync(r, "utf-8").toString().trim(); throw new Error("Unable to load previous source map: " + r.toString()) } if (t instanceof i.default.SourceMapConsumer) return i.default.SourceMapGenerator.fromSourceMap(t).toString(); if (t instanceof i.default.SourceMapGenerator) return t.toString(); if (this.isMap(t)) return JSON.stringify(t); throw new Error("Unsupported previous source map format: " + t.toString()) } if (this.inline) return this.decodeInline(this.annotation); if (this.annotation) { var n = this.annotation; return e && (n = o.default.join(o.default.dirname(e), n)), this.root = o.default.dirname(n), !(!a.default.existsSync || !a.default.existsSync(n)) && a.default.readFileSync(n, "utf-8").toString().trim() } }, t.isMap = function(e) { return "object" == typeof e && ("string" == typeof e.mappings || "string" == typeof e._mappings) }, e }(); t.default = u, e.exports = t.default }).call(this, r(8).Buffer) }, function(e, t) {}, function(e, t, r) { "use strict"; t.__esModule = !0, t.default = void 0; var n = { prefix: function(e) { var t = e.match(/^(-\w+-)/); return t ? t[0] : "" }, unprefixed: function(e) { return e.replace(/^-\w+-/, "") } }; t.default = n, e.exports = t.default }, function(e, t, r) { "use strict"; var n = r(78), i = r(16); Object.defineProperty(t, "__esModule", { value: !0 }), t.default = void 0; var o = i(r(93)), a = i(r(1700)), s = i(r(1701)), u = i(r(37)), c = i(r(31)), l = n(r(0)), f = i(r(1702)), p = i(r(1703)); function d(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function h(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? d(Object(r), !0).forEach((function(t) { (0, o.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : d(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } var v = function(e) { var t = e.adaptiveCardHostConfig, r = e.adaptiveCardsHostConfig, n = e.adaptiveCardsPackage, i = (0, s.default)(e, ["adaptiveCardHostConfig", "adaptiveCardsHostConfig", "adaptiveCardsPackage"]); (0, l.useEffect)((function() { t && console.warn('Web Chat: "adaptiveCardHostConfig" is deprecated. Please use "adaptiveCardsHostConfig" instead. "adaptiveCardHostConfig" will be removed on or after 2022-01-01.') }), [t]); var o = (0, p.default)(e); return l.default.createElement(f.default, { adaptiveCardsHostConfig: t || r, adaptiveCardsPackage: n }, l.default.createElement(u.default, (0, a.default)({}, i, o))) }; v.defaultProps = h({}, u.default.defaultProps, { adaptiveCardHostConfig: void 0, adaptiveCardsHostConfig: void 0, adaptiveCardsPackage: void 0, renderMarkdown: void 0 }), v.propTypes = h({}, u.default.propTypes, { adaptiveCardHostConfig: c.default.any, adaptiveCardsHostConfig: c.default.any, adaptiveCardsPackage: c.default.any, renderMarkdown: c.default.func }); var m = v; t.default = m }, function(e, t, r) { var n = r(111); e.exports = Array.isArray || function(e) { return "Array" == n(e) } }, function(e, t, r) { "use strict"; var n = r(355), i = r(66), o = r(156); e.exports = function(e, t, r) { var a = n(t); a in e ? i.f(e, a, o(0, r)) : e[a] = r } }, function(e, t, r) { var n = r(57), i = r(2099), o = r(32)("species"); e.exports = function(e, t) { var r; return i(e) && ("function" != typeof(r = e.constructor) || r !== Array && !i(r.prototype) ? n(r) && null === (r = r[o]) && (r = void 0) : r = void 0), new(void 0 === r ? Array : r)(0 === t ? 0 : t) } }, function(e, t, r) { "use strict"; var n = r(1732).forEach, i = r(2128), o = r(1733), a = i("forEach"), s = o("forEach"); e.exports = a && s ? [].forEach : function(e) { return n(this, e, arguments.length > 1 ? arguments[1] : void 0) } }, function(e, t, r) { var n = r(65), i = r(641), o = r(145), a = r(638).f, s = function(e) { return function(t) { for (var r, s = o(t), u = i(s), c = u.length, l = 0, f = []; c > l;) r = u[l++], n && !a.call(s, r) || f.push(e ? [r, s[r]] : s[r]); return f } }; e.exports = { entries: s(!0), values: s(!1) } }, function(e, t, r) { var n = r(213), i = r(57), o = r(52), a = r(66).f, s = r(356), u = r(2160), c = s("meta"), l = 0, f = Object.isExtensible || function() { return !0 }, p = function(e) { a(e, c, { value: { objectID: "O" + ++l, weakData: {} } }) }, d = e.exports = { REQUIRED: !1, fastKey: function(e, t) { if (!i(e)) return "symbol" == typeof e ? e : ("string" == typeof e ? "S" : "P") + e; if (!o(e, c)) { if (!f(e)) return "F"; if (!t) return "E"; p(e) } return e[c].objectID }, getWeakData: function(e, t) { if (!o(e, c)) { if (!f(e)) return !0; if (!t) return !1; p(e) } return e[c].weakData }, onFreeze: function(e) { return u && d.REQUIRED && f(e) && !o(e, c) && p(e), e } }; n[c] = !0 }, function(e, t, r) { var n = r(35), i = r(684); e.exports = function(e) { var t = i(e); if ("function" != typeof t) throw TypeError(String(e) + " is not iterable"); return n(t.call(e)) } }, function(e, t, r) { var n = r(2188); e.exports = function(e) { if (n(e)) throw TypeError("The method doesn't accept regular expressions"); return e } }, function(e, t, r) { var n = r(32)("match"); e.exports = function(e) { var t = /./; try { "/./" [e](t) } catch (r) { try { return t[n] = !1, "/./" [e](t) } catch (e) {} } return !1 } }, function(e, t, r) { var n = r(32); t.f = n }, function(e, t, r) { "use strict"; var n = r(16); Object.defineProperty(t, "__esModule", { value: !0 }); var i = { createDirectLine: !0, createDirectLineAppServiceExtension: !0 }; t.createDirectLineAppServiceExtension = t.createDirectLine = void 0; var o = n(r(93)); r(2110), r(2113), r(2116), r(2120), r(2123), r(2125), r(2129), r(2133), r(2137), r(2141), r(2144), r(2147), r(2151), r(735), r(2154), r(2156), r(2185), r(2189), r(2192), r(746), r(2219); var a = r(734), s = n(r(629)), u = n(r(630)), c = n(r(672)), l = r(1734); function f(e, t) { var r = Object.keys(e); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); t && (n = n.filter((function(t) { return Object.getOwnPropertyDescriptor(e, t).enumerable }))), r.push.apply(r, n) } return r } function p(e) { for (var t = 1; t < arguments.length; t++) { var r = null != arguments[t] ? arguments[t] : {}; t % 2 ? f(Object(r), !0).forEach((function(t) { (0, o.default)(e, t, r[t]) })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : f(Object(r)).forEach((function(t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t)) })) } return e } Object.keys(l).forEach((function(e) { "default" !== e && "__esModule" !== e && (Object.prototype.hasOwnProperty.call(i, e) || Object.defineProperty(t, e, { enumerable: !0, get: function() { return l[e] } })) })); var d = function(e) { return e.botAgent && console.warn("Web Chat: Developers are not currently allowed to set botAgent in the createDirectLine function. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."), (0, u.default)(p({}, e, { botAgent: "WebChat/".concat(a.version, " (ES5)") })) }; t.createDirectLine = d; var h = function(e) { return e.botAgent && console.warn("Web Chat: Developers are not currently allowed to set botAgent in the createDirectLine function. See https://github.com/microsoft/BotFramework-WebChat/issues/2119 for more details."), (0, c.default)(p({}, e, { botAgent: "WebChat/".concat(a.version, " (ES5)") })) }; t.createDirectLineAppServiceExtension = h, window.WebChat = p({}, window.WebChat, { createDirectLine: d, createDirectLineAppServiceExtension: h }), (0, s.default)("full-es5") }, function(e, t, r) { var n = r(2111); e.exports = n }, function(e, t, r) { r(2112); var n = r(732); e.exports = n("Array", "findIndex") }, function(e, t, r) { "use strict"; var n = r(27), i = r(1732).findIndex, o = r(644), a = r(1733), s = !0, u = a("findIndex"); "findIndex" in [] && Array(1).findIndex((function() { s = !1 })), n({ target: "Array", proto: !0, forced: s || !u }, { findIndex: function(e) { return i(this, e, arguments.length > 1 ? arguments[1] : void 0) } }), o("findIndex") }, function(e, t, r) { var n = r(2114); e.exports = n }, function(e, t, r) { r(2115); var n = r(732); e.exports = n("Array", "find") }, function(e, t, r) { "use strict"; var n = r(27), i = r(1732).find, o = r(644), a = r(1733), s = !0, u = a("find"); "find" in [] && Array(1).find((function() { s = !1 })), n({ target: "Array", proto: !0, forced: s || !u }, { find: function(e) { return i(this, e, arguments.length > 1 ? arguments[1] : void 0) } }), o("find") }, function(e, t, r) { var n = r(2117); e.exports = n }, function(e, t, r) { r(678), r(2118); var n = r(112); e.exports = n.Array.from }, function(e, t, r) { var n = r(27), i = r(2119); n({ target: "Array", stat: !0, forced: !r(685)((function(e) { Array.from(e) })) }, { from: i }) }, function(e, t, r) { "use strict"; var n = r(117), i = r(357), o = r(744), a = r(743), s = r(215), u = r(2100), c = r(684); e.exports = function(e) { var t, r, l, f, p, d, h = i(e), v = "function" == typeof this ? this : Array, m = arguments.length, y = m > 1 ? arguments[1] : void 0, b = void 0 !== y, g = c(h), _ = 0; if (b && (y = n(y, m > 2 ? arguments[2] : void 0, 2)), null == g || v == Array && a(g)) for (r = new v(t = s(h.length)); t > _; _++) d = b ? y(h[_], _) : h[_], u(r, _, d); else for (p = (f = g.call(h)).next, r = new v; !(l = p.call(f)).done; _++) d = b ? o(f, y, [l.value, _], !0) : l.value, u(r, _, d); return r.length = _, r } }, function(e, t, r) { var n = r(2121); e.exports = n }, function(e, t, r) { r(2122); var n = r(732); e.exports = n("Array", "includes") }, function(e, t, r) { "use strict"; var n = r(27), i = r(738).includes, o = r(644); n({ target: "Array", proto: !0, forced: !r(1733)("indexOf", { ACCESSORS: !0, 1: 0 }) }, { includes: function(e) { return i(this, e, arguments.length > 1 ? arguments[1] : void 0) } }), o("includes") }, function(e, t, r) { var n = r(2124); e.exports = n }, function(e, t, r) { r(643); var n = r(732); e.exports = n("Array", "values") }, function(e, t, r) { var n = r(2126); e.exports = n }, function(e, t, r) { r(2127), r(682); var n = r(643), i = r(2102); e.exports = { keys: n.keys, values: n.values, entries: n.entries, iterator: n.values, forEach: i } }, function(e, t, r) { var n = r(25), i = r(739), o = r(2102), a = r(68); for (var s in i) { var u = n[s], c = u && u.prototype; if (c && c.forEach !== o) try { a(c, "forEach", o) } catch (e) { c.forEach = o } } }, function(e, t, r) { "use strict"; var n = r(51); e.exports = function(e, t) { var r = [][e]; return !!r && n((function() { r.call(null, t || function() { throw 1 }, 1) })) } }, function(e, t, r) { var n = r(2130); e.exports = n }, function(e, t, r) { r(2131); var n = r(112); e.exports = n.Math.sign }, function(e, t, r) { r(27)({ target: "Math", stat: !0 }, { sign: r(2132) }) }, function(e, t) { e.exports = Math.sign || function(e) { return 0 == (e = +e) || e != e ? e : e < 0 ? -1 : 1 } }, function(e, t, r) { var n = r(2134); e.exports = n }, function(e, t, r) { r(2135); var n = r(112); e.exports = n.Number.isFinite }, function(e, t, r) { r(27)({ target: "Number", stat: !0 }, { isFinite: r(2136) }) }, function(e, t, r) { var n = r(25).isFinite; e.exports = Number.isFinite || function(e) { return "number" == typeof e && n(e) } }, function(e, t, r) { var n = r(2138); e.exports = n }, function(e, t, r) { r(2139); var n = r(112); e.exports = n.Object.assign }, function(e, t, r) { var n = r(27), i = r(2140); n({ target: "Object", stat: !0, forced: Object.assign !== i }, { assign: i }) }, function(e, t, r) { "use strict"; var n = r(65), i = r(51), o = r(641), a = r(681), s = r(638), u = r(357), c = r(679), l = Object.assign, f = Object.defineProperty; e.exports = !l || i((function() { if (n && 1 !== l({ b: 1 }, l(f({}, "a", { enumerable: !0, get: function() { f(this, "b", { value: 3, enumerable: !1 }) } }), { b: 2 })).b) return !0; var e = {}, t = {}, r = Symbol(); return e[r] = 7, "abcdefghijklmnopqrst".split("").forEach((function(e) { t[e] = e })), 7 != l({}, e)[r] || "abcdefghijklmnopqrst" != o(l({}, t)).join("") })) ? function(e, t) { for (var r = u(e), i = arguments.length, l = 1, f = a.f, p = s.f; i > l;) for (var d, h = c(arguments[l++]), v = f ? o(h).concat(f(h)) : o(h), m = v.length, y = 0; m > y;) d = v[y++], n && !p.call(h, d) || (r[d] = h[d]); return r } : l }, function(e, t, r) { var n = r(2142); e.exports = n }, function(e, t, r) { r(2143); var n = r(112); e.exports = n.Object.entries }, function(e, t, r) { var n = r(27), i = r(2103).entries; n({ target: "Object", stat: !0 }, { entries: function(e) { return i(e) } }) }, function(e, t, r) { var n = r(2145); e.exports = n }, function(e, t, r) { r(643), r(2146); var n = r(112); e.exports = n.Object.fromEntries }, function(e, t, r) { var n = r(27), i = r(56), o = r(2100); n({ target: "Object", stat: !0 }, { fromEntries: function(e) { var t = {}; return i(e, (function(e, r) { o(t, e, r) }), void 0, !0), t } }) }, function(e, t, r) { var n = r(2148); e.exports = n }, function(e, t, r) { r(2149); var n = r(112); e.exports = n.Object.is }, function(e, t, r) { r(27)({ target: "Object", stat: !0 }, { is: r(2150) }) }, function(e, t) { e.exports = Object.is || function(e, t) { return e === t ? 0 !== e || 1 / e == 1 / t : e != e && t != t } }, function(e, t, r) { var n = r(2152); e.exports = n }, function(e, t, r) { r(2153); var n = r(112); e.exports = n.Object.values }, function(e, t, r) { var n = r(27), i = r(2103).values; n({ target: "Object", stat: !0 }, { values: function(e) { return i(e) } }) }, function(e, t, r) { var n = r(2155); e.exports = n }, function(e, t, r) { r(740), r(745); var n = r(732); e.exports = n("Promise", "finally") }, function(e, t, r) { var n = r(2157); r(2163), r(2165), r(2167), r(2169), r(2171), r(2172), r(2173), r(2174), r(2175), r(2176), r(2177), r(2178), r(2179), r(2180), r(2181), r(2182), r(2183), r(2184), e.exports = n }, function(e, t, r) { r(2158), r(677), r(678), r(682); var n = r(112); e.exports = n.Set }, function(e, t, r) { "use strict"; var n = r(2159), i = r(2162); e.exports = n("Set", (function(e) { return function() { return e(this, arguments.length ? arguments[0] : void 0) } }), i) }, function(e, t, r) { "use strict"; var n = r(27), i = r(25), o = r(362), a = r(94), s = r(2104), u = r(56), c = r(683), l = r(57), f = r(51), p = r(685), d = r(157), h = r(2161); e.exports = function(e, t, r) { var v = -1 !== e.indexOf("Map"), m = -1 !== e.indexOf("Weak"), y = v ? "set" : "add", b = i[e], g = b && b.prototype, _ = b, T = {}, S = function(e) { var t = g[e]; a(g, e, "add" == e ? function(e) { return t.call(this, 0 === e ? 0 : e), this } : "delete" == e ? function(e) { return !(m && !l(e)) && t.call(this, 0 === e ? 0 : e) } : "get" == e ? function(e) { return m && !l(e) ? void 0 : t.call(this, 0 === e ? 0 : e) } : "has" == e ? function(e) { return !(m && !l(e)) && t.call(this, 0 === e ? 0 : e) } : function(e, r) { return t.call(this, 0 === e ? 0 : e, r), this }) }; if (o(e, "function" != typeof b || !(m || g.forEach && !f((function() { (new b).entries().next() }))))) _ = r.getConstructor(t, e, v, y), s.REQUIRED = !0; else if (o(e, !0)) { var A = new _, E = A[y](m ? {} : -0, 1) != A, C = f((function() { A.has(1) })), O = p((function(e) { new b(e) })), w = !m && f((function() { for (var e = new b, t = 5; t--;) e[y](t, t); return !e.has(-0) })); O || ((_ = t((function(t, r) { c(t, _, e); var n = h(new b, t, _); return null != r && u(r, n[y], n, v), n }))).prototype = g, g.constructor = _), (C || w) && (S("delete"), S("has"), v && S("get")), (w || E) && S(y), m && g.clear && delete g.clear } return T[e] = _, n({ global: !0, forced: _ != b }, T), d(_, e), m || r.setStrong(_, e, v), _ } }, function(e, t, r) { var n = r(51); e.exports = !n((function() { return Object.isExtensible(Object.preventExtensions({})) })) }, function(e, t, r) { var n = r(57), i = r(363); e.exports = function(e, t, r) { var o, a; return i && "function" == typeof(o = t.constructor) && o !== r && n(a = o.prototype) && a !== r.prototype && i(e, a), e } }, function(e, t, r) { "use strict"; var n = r(66).f, i = r(216), o = r(741), a = r(117), s = r(683), u = r(56), c = r(361), l = r(742), f = r(65), p = r(2104).fastKey, d = r(110), h = d.set, v = d.getterFor; e.exports = { getConstructor: function(e, t, r, c) { var l = e((function(e, n) { s(e, l, t), h(e, { type: t, index: i(null), first: void 0, last: void 0, size: 0 }), f || (e.size = 0), null != n && u(n, e[c], e, r) })), d = v(t), m = function(e, t, r) { var n, i, o = d(e), a = y(e, t); return a ? a.value = r : (o.last = a = { index: i = p(t, !0), key: t, value: r, previous: n = o.last, next: void 0, removed: !1 }, o.first || (o.first = a), n && (n.next = a), f ? o.size++ : e.size++, "F" !== i && (o.index[i] = a)), e }, y = function(e, t) { var r, n = d(e), i = p(t); if ("F" !== i) return n.index[i]; for (r = n.first; r; r = r.next) if (r.key == t) return r }; return o(l.prototype, { clear: function() { for (var e = d(this), t = e.index, r = e.first; r;) r.removed = !0, r.previous && (r.previous = r.previous.next = void 0), delete t[r.index], r = r.next; e.first = e.last = void 0, f ? e.size = 0 : this.size = 0 }, delete: function(e) { var t = d(this), r = y(this, e); if (r) { var n = r.next, i = r.previous; delete t.index[r.index], r.removed = !0, i && (i.next = n), n && (n.previous = i), t.first == r && (t.first = n), t.last == r && (t.last = i), f ? t.size-- : this.size-- } return !!r }, forEach: function(e) { for (var t, r = d(this), n = a(e, arguments.length > 1 ? arguments[1] : void 0, 3); t = t ? t.next : r.first;) for (n(t.value, t.key, this); t && t.removed;) t = t.previous }, has: function(e) { return !!y(this, e) } }), o(l.prototype, r ? { get: function(e) { var t = y(this, e); return t && t.value }, set: function(e, t) { return m(this, 0 === e ? 0 : e, t) } } : { add: function(e) { return m(this, e = 0 === e ? 0 : e, e) } }), f && n(l.prototype, "size", { get: function() { return d(this).size } }), l }, setStrong: function(e, t, r) { var n = t + " Iterator", i = v(t), o = v(n); c(e, t, (function(e, t) { h(this, { type: n, target: e, state: i(e), kind: t, last: void 0 }) }), (function() { for (var e = o(this), t = e.kind, r = e.last; r && r.removed;) r = r.previous; return e.target && (e.last = r = r ? r.next : e.state.first) ? "keys" == t ? { value: r.key, done: !1 } : "values" == t ? { value: r.value, done: !1 } : { value: [r.key, r.value], done: !1 } : (e.target = void 0, { value: void 0, done: !0 }) }), r ? "entries" : "values", !r, !0), l(t) } } }, function(e, t, r) { r(27)({ target: "Set", stat: !0 }, { from: r(2164) }) }, function(e, t, r) { "use strict"; var n = r(53), i = r(117), o = r(56); e.exports = function(e) { var t, r, a, s, u = arguments.length, c = u > 1 ? arguments[1] : void 0; return n(this), (t = void 0 !== c) && n(c), null == e ? new this : (r = [], t ? (a = 0, s = i(c, u > 2 ? arguments[2] : void 0, 2), o(e, (function(e) { r.push(s(e, a++)) }))) : o(e, r.push, r), new this(r)) } }, function(e, t, r) { r(27)({ target: "Set", stat: !0 }, { of: r(2166) }) }, function(e, t, r) { "use strict"; e.exports = function() { for (var e = arguments.length, t = new Array(e); e--;) t[e] = arguments[e]; return new this(t) } }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(2168); n({ target: "Set", proto: !0, real: !0, forced: i }, { addAll: function() { return o.apply(this, arguments) } }) }, function(e, t, r) { "use strict"; var n = r(35), i = r(53); e.exports = function() { for (var e = n(this), t = i(e.add), r = 0, o = arguments.length; r < o; r++) t.call(e, arguments[r]); return e } }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(2170); n({ target: "Set", proto: !0, real: !0, forced: i }, { deleteAll: function() { return o.apply(this, arguments) } }) }, function(e, t, r) { "use strict"; var n = r(35), i = r(53); e.exports = function() { for (var e, t = n(this), r = i(t.delete), o = !0, a = 0, s = arguments.length; a < s; a++) e = r.call(t, arguments[a]), o = o && e; return !!o } }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(35), a = r(117), s = r(733), u = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { every: function(e) { var t = o(this), r = s(t), n = a(e, arguments.length > 1 ? arguments[1] : void 0, 3); return !u(r, (function(e) { if (!n(e, e, t)) return u.stop() }), void 0, !1, !0).stopped } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(58), a = r(35), s = r(53), u = r(204), c = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { difference: function(e) { var t = a(this), r = new(u(t, o("Set")))(t), n = s(r.delete); return c(e, (function(e) { n.call(r, e) })), r } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(58), a = r(35), s = r(53), u = r(117), c = r(204), l = r(733), f = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { filter: function(e) { var t = a(this), r = l(t), n = u(e, arguments.length > 1 ? arguments[1] : void 0, 3), i = new(c(t, o("Set"))), p = s(i.add); return f(r, (function(e) { n(e, e, t) && p.call(i, e) }), void 0, !1, !0), i } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(35), a = r(117), s = r(733), u = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { find: function(e) { var t = o(this), r = s(t), n = a(e, arguments.length > 1 ? arguments[1] : void 0, 3); return u(r, (function(e) { if (n(e, e, t)) return u.stop(e) }), void 0, !1, !0).result } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(58), a = r(35), s = r(53), u = r(204), c = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { intersection: function(e) { var t = a(this), r = new(u(t, o("Set"))), n = s(t.has), i = s(r.add); return c(e, (function(e) { n.call(t, e) && i.call(r, e) })), r } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(35), a = r(53), s = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { isDisjointFrom: function(e) { var t = o(this), r = a(t.has); return !s(e, (function(e) { if (!0 === r.call(t, e)) return s.stop() })).stopped } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(58), a = r(35), s = r(53), u = r(2105), c = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { isSubsetOf: function(e) { var t = u(this), r = a(e), n = r.has; return "function" != typeof n && (r = new(o("Set"))(e), n = s(r.has)), !c(t, (function(e) { if (!1 === n.call(r, e)) return c.stop() }), void 0, !1, !0).stopped } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(35), a = r(53), s = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { isSupersetOf: function(e) { var t = o(this), r = a(t.has); return !s(e, (function(e) { if (!1 === r.call(t, e)) return s.stop() })).stopped } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(35), a = r(733), s = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { join: function(e) { var t = o(this), r = a(t), n = void 0 === e ? "," : String(e), i = []; return s(r, i.push, i, !1, !0), i.join(n) } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(58), a = r(35), s = r(53), u = r(117), c = r(204), l = r(733), f = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { map: function(e) { var t = a(this), r = l(t), n = u(e, arguments.length > 1 ? arguments[1] : void 0, 3), i = new(c(t, o("Set"))), p = s(i.add); return f(r, (function(e) { p.call(i, n(e, e, t)) }), void 0, !1, !0), i } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(35), a = r(53), s = r(733), u = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { reduce: function(e) { var t = o(this), r = s(t), n = arguments.length < 2, i = n ? void 0 : arguments[1]; if (a(e), u(r, (function(r) { n ? (n = !1, i = r) : i = e(i, r, r, t) }), void 0, !1, !0), n) throw TypeError("Reduce of empty set with no initial value"); return i } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(35), a = r(117), s = r(733), u = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { some: function(e) { var t = o(this), r = s(t), n = a(e, arguments.length > 1 ? arguments[1] : void 0, 3); return u(r, (function(e) { if (n(e, e, t)) return u.stop() }), void 0, !1, !0).stopped } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(58), a = r(35), s = r(53), u = r(204), c = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { symmetricDifference: function(e) { var t = a(this), r = new(u(t, o("Set")))(t), n = s(r.delete), i = s(r.add); return c(e, (function(e) { n.call(r, e) || i.call(r, e) })), r } }) }, function(e, t, r) { "use strict"; var n = r(27), i = r(45), o = r(58), a = r(35), s = r(53), u = r(204), c = r(56); n({ target: "Set", proto: !0, real: !0, forced: i }, { union: function(e) { var t = a(this), r = new(u(t, o("Set")))(t); return c(e, s(r.add), r), r } }) }, function(e, t, r) { var n = r(2186); e.exports = n }, function(e, t, r) { r(2187); var n = r(732); e.exports = n("String", "endsWith") }, function(e, t, r) { "use strict"; var n, i = r(27), o = r(203).f, a = r(215), s = r(2106), u = r(214), c = r(2107), l = r(45), f = "".endsWith, p = Math.min, d = c("endsWith"); i({ target: "String", proto: !0, forced: !!(l || d || (n = o(String.prototype, "endsWith"), !n || n.writable)) && !d }, { endsWith: function(e) { var t = String(u(this)); s(e); var r = arguments.length > 1 ? arguments[1] : void 0, n = a(t.length), i = void 0 === r ? n : p(a(r), n), o = String(e); return f ? f.call(t, o, i) : t.slice(i - o.length, i) === o } }) }, function(e, t, r) { var n = r(57), i = r(111), o = r(32)("match"); e.exports = function(e) { var t; return n(e) && (void 0 !== (t = e[o]) ? !!t : "RegExp" == i(e)) } }, function(e, t, r) { var n = r(2190); e.exports = n }, function(e, t, r) { r(2191); var n = r(732); e.exports = n("String", "startsWithWebChat") }, function(e, t, r) { "use strict"; var n, i = r(27), o = r(203).f, a = r(215), s = r(2106), u = r(214), c = r(2107), l = r(45), f = "".startsWithWebChat, p = Math.min, d = c("startsWithWebChat"); i({ target: "String", proto: !0, forced: !!(l || d || (n = o(String.prototype, "startsWithWebChat"), !n || n.writable)) && !d }, { startsWithWebChat: function(e) { var t = String(u(this)); s(e); var r = a(p(arguments.length > 1 ? arguments[1] : void 0, t.length)), n = String(e); return f ? f.call(t, n, r) : t.slice(r, r + n.length) === n } }) }, function(e, t, r) { var n = r(2193); r(2214), r(2215), r(2216), r(2217), r(2218), e.exports = n }, function(e, t, r) { r(2194), r(677), r(2196), r(2198), r(2199), r(2200), r(2201), r(2202), r(2203), r(2204), r(2205), r(2206), r(2207), r(2208), r(2209), r(2210), r(2211), r(2212), r(2213); var n = r(112); e.exports = n.Symbol }, function(e, t, r) { "use strict"; var n = r(27), i = r(51), o = r(2099), a = r(57), s = r(357), u = r(215), c = r(2100), l = r(2101), f = r(2195), p = r(32), d = r(686), h = p("isConcatSpreadable"), v = d >= 51 || !i((function() { var e = []; return e[h] = !1, e.concat()[0] !== e })), m = f("concat"), y = function(e) { if (!a(e)) return !1; var t = e[h]; return void 0 !== t ? !!t : o(e) }; n({ target: "Array", proto: !0, forced: !v || !m }, { concat: function(e) { var t, r, n, i, o, a = s(this), f = l(a, 0), p = 0; for (t = -1, n = arguments.length; t < n; t++) if (o = -1 === t ? a : arguments[t], y(o)) { if (p + (i = u(o.length)) > 9007199254740991) throw TypeError("Maximum allowed index exceeded"); for (r = 0; r < i; r++, p++) r in o && c(f, p, o[r]) } else { if (p >= 9007199254740991) throw TypeError("Maximum allowed index exceeded"); c(f, p++, o) } return f.length = p, f } }) }, function(e, t, r) { var n = r(51), i = r(32), o = r(686), a = i("species"); e.exports = function(e) { return o >= 51 || !n((function() { var t = []; return (t.constructor = {})[a] = function() { return { foo: 1 } }, 1 !== t[e](Boolean).foo })) } }, function(e, t, r) { "use strict"; var n = r(27), i = r(25), o = r(58), a = r(45), s = r(65), u = r(360), c = r(736), l = r(51), f = r(52), p = r(2099), d = r(57), h = r(35), v = r(357), m = r(145), y = r(355), b = r(156), g = r(216), _ = r(641), T = r(680), S = r(2197), A = r(681), E = r(203), C = r(66), O = r(638), w = r(68), I = r(94), P = r(359), x = r(221), N = r(213), k = r(356), R = r(32), L = r(2108), M = r(115), j = r(157), D = r(110), U = r(1732).forEach, B = x("hidden"), F = R("toPrimitive"), z = D.set, V = D.getterFor("Symbol"), G = Object.prototype, q = i.Symbol, H = o("JSON", "stringify"), W = E.f, Y = C.f, K = S.f, $ = O.f, J = P("symbols"), X = P("op-symbols"), Z = P("string-to-symbol-registry"), Q = P("symbol-to-string-registry"), ee = P("wks"), te = i.QObject, re = !te || !te.prototype || !te.prototype.findChild, ne = s && l((function() { return 7 != g(Y({}, "a", { get: function() { return Y(this, "a", { value: 7 }).a } })).a })) ? function(e, t, r) { var n = W(G, t); n && delete G[t], Y(e, t, r), n && e !== G && Y(G, t, n) } : Y, ie = function(e, t) { var r = J[e] = g(q.prototype); return z(r, { type: "Symbol", tag: e, description: t }), s || (r.description = t), r }, oe = c ? function(e) { return "symbol" == typeof e } : function(e) { return Object(e) instanceof q }, ae = function(e, t, r) { e === G && ae(X, t, r), h(e); var n = y(t, !0); return h(r), f(J, n) ? (r.enumerable ? (f(e, B) && e[B][n] && (e[B][n] = !1), r = g(r, { enumerable: b(0, !1) })) : (f(e, B) || Y(e, B, b(1, {})), e[B][n] = !0), ne(e, n, r)) : Y(e, n, r) }, se = function(e, t) { h(e); var r = m(t), n = _(r).concat(fe(r)); return U(n, (function(t) { s && !ue.call(r, t) || ae(e, t, r[t]) })), e }, ue = function(e) { var t = y(e, !0), r = $.call(this, t); return !(this === G && f(J, t) && !f(X, t)) && (!(r || !f(this, t) || !f(J, t) || f(this, B) && this[B][t]) || r) }, ce = function(e, t) { var r = m(e), n = y(t, !0); if (r !== G || !f(J, n) || f(X, n)) { var i = W(r, n); return !i || !f(J, n) || f(r, B) && r[B][n] || (i.enumerable = !0), i } }, le = function(e) { var t = K(m(e)), r = []; return U(t, (function(e) { f(J, e) || f(N, e) || r.push(e) })), r }, fe = function(e) { var t = e === G, r = K(t ? X : m(e)), n = []; return U(r, (function(e) { !f(J, e) || t && !f(G, e) || n.push(J[e]) })), n }; (u || (I((q = function() { if (this instanceof q) throw TypeError("Symbol is not a constructor"); var e = arguments.length && void 0 !== arguments[0] ? String(arguments[0]) : void 0, t = k(e), r = function(e) { this === G && r.call(X, e), f(this, B) && f(this[B], t) && (this[B][t] = !1), ne(this, t, b(1, e)) }; return s && re && ne(G, t, { configurable: !0, set: r }), ie(t, e) }).prototype, "toString", (function() { return V(this).tag })), I(q, "withoutSetter", (function(e) { return ie(k(e), e) })), O.f = ue, C.f = ae, E.f = ce, T.f = S.f = le, A.f = fe, L.f = function(e) { return ie(R(e), e) }, s && (Y(q.prototype, "description", { configurable: !0, get: function() { return V(this).description } }), a || I(G, "propertyIsEnumerable", ue, { unsafe: !0 }))), n({ global: !0, wrap: !0, forced: !u, sham: !u }, { Symbol: q }), U(_(ee), (function(e) { M(e) })), n({ target: "Symbol", stat: !0, forced: !u }, { for: function(e) { var t = String(e); if (f(Z, t)) return Z[t]; var r = q(t); return Z[t] = r, Q[r] = t, r }, keyFor: function(e) { if (!oe(e)) throw TypeError(e + " is not a symbol"); if (f(Q, e)) return Q[e] }, useSetter: function() { re = !0 }, useSimple: function() { re = !1 } }), n({ target: "Object", stat: !0, forced: !u, sham: !s }, { create: function(e, t) { return void 0 === t ? g(e) : se(g(e), t) }, defineProperty: ae, defineProperties: se, getOwnPropertyDescriptor: ce }), n({ target: "Object", stat: !0, forced: !u }, { getOwnPropertyNames: le, getOwnPropertySymbols: fe }), n({ target: "Object", stat: !0, forced: l((function() { A.f(1) })) }, { getOwnPropertySymbols: function(e) { return A.f(v(e)) } }), H) && n({ target: "JSON", stat: !0, forced: !u || l((function() { var e = q(); return "[null]" != H([e]) || "{}" != H({ a: e }) || "{}" != H(Object(e)) })) }, { stringify: function(e, t, r) { for (var n, i = [e], o = 1; arguments.length > o;) i.push(arguments[o++]); if (n = t, (d(t) || void 0 !== e) && !oe(e)) return p(t) || (t = function(e, t) { if ("function" == typeof n && (t = n.call(this, e, t)), !oe(t)) return t }), i[1] = t, H.apply(null, i) } }); q.prototype[F] || w(q.prototype, F, q.prototype.valueOf), j(q, "Symbol"), N[B] = !0 }, function(e, t, r) { var n = r(145), i = r(680).f, o = {}.toString, a = "object" == typeof window && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; e.exports.f = function(e) { return a && "[object Window]" == o.call(e) ? function(e) { try { return i(e) } catch (e) { return a.slice() } }(e) : i(n(e)) } }, function(e, t, r) { r(115)("asyncIterator") }, function(e, t, r) { "use strict"; var n = r(27), i = r(65), o = r(25), a = r(52), s = r(57), u = r(66).f, c = r(737), l = o.Symbol; if (i && "function" == typeof l && (!("description" in l.prototype) || void 0 !== l().description)) { var f = {}, p = function() { var e = arguments.length < 1 || void 0 === arguments[0] ? void 0 : String(arguments[0]), t = this instanceof p ? new l(e) : void 0 === e ? l() : l(e); return "" === e && (f[t] = !0), t }; c(p, l); var d = p.prototype = l.prototype; d.constructor = p; var h = d.toString, v = "Symbol(test)" == String(l("test")), m = /^Symbol\((.*)\)[^)]+$/; u(d, "description", { configurable: !0, get: function() { var e = s(this) ? this.valueOf() : this, t = h.call(e); if (a(f, e)) return ""; var r = v ? t.slice(7, -1) : t.replace(m, "$1"); return "" === r ? void 0 : r } }), n({ global: !0, forced: !0 }, { Symbol: p }) } }, function(e, t, r) { r(115)("hasInstance") }, function(e, t, r) { r(115)("isConcatSpreadable") }, function(e, t, r) { r(115)("iterator") }, function(e, t, r) { r(115)("match") }, function(e, t, r) { r(115)("matchAll") }, function(e, t, r) { r(115)("replace") }, function(e, t, r) { r(115)("search") }, function(e, t, r) { r(115)("species") }, function(e, t, r) { r(115)("split") }, function(e, t, r) { r(115)("toPrimitive") }, function(e, t, r) { r(115)("toStringTag") }, function(e, t, r) { r(115)("unscopables") }, function(e, t, r) { r(157)(Math, "Math", !0) }, function(e, t, r) { var n = r(25); r(157)(n.JSON, "JSON", !0) }, function(e, t, r) { r(115)("asyncDispose") }, function(e, t, r) { r(115)("dispose") }, function(e, t, r) { r(115)("observable") }, function(e, t, r) { r(115)("patternMatch") }, function(e, t, r) { r(115)("replaceAll") }, function(e, t, r) { ! function(e) { "use strict"; var t = "URLSearchParams" in self, r = "Symbol" in self && "iterator" in Symbol, n = "FileReader" in self && "Blob" in self && function() { try { return new Blob, !0 } catch (e) { return !1 } }(), i = "FormData" in self, o = "ArrayBuffer" in self; if (o) var a = ["[object Int8Array]", "[object Uint8Array]", "[object Uint8ClampedArray]", "[object Int16Array]", "[object Uint16Array]", "[object Int32Array]", "[object Uint32Array]", "[object Float32Array]", "[object Float64Array]"], s = ArrayBuffer.isView || function(e) { return e && a.indexOf(Object.prototype.toString.call(e)) > -1 }; function u(e) { if ("string" != typeof e && (e = String(e)), /[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e)) throw new TypeError("Invalid character in header field name"); return e.toLowerCase() } function c(e) { return "string" != typeof e && (e = String(e)), e } function l(e) { var t = { next: function() { var t = e.shift(); return { done: void 0 === t, value: t } } }; return r && (t[Symbol.iterator] = function() { return t }), t } function f(e) { this.map = {}, e instanceof f ? e.forEach((function(e, t) { this.append(t, e) }), this) : Array.isArray(e) ? e.forEach((function(e) { this.append(e[0], e[1]) }), this) : e && Object.getOwnPropertyNames(e).forEach((function(t) { this.append(t, e[t]) }), this) } function p(e) { if (e.bodyUsed) return Promise.reject(new TypeError("Already read")); e.bodyUsed = !0 } function d(e) { return new Promise((function(t, r) { e.onload = function() { t(e.result) }, e.onerror = function() { r(e.error) } })) } function h(e) { var t = new FileReader, r = d(t); return t.readAsArrayBuffer(e), r } function v(e) { if (e.slice) return e.slice(0); var t = new Uint8Array(e.byteLength); return t.set(new Uint8Array(e)), t.buffer } function m() { return this.bodyUsed = !1, this._initBody = function(e) { var r; this._bodyInit = e, e ? "string" == typeof e ? this._bodyText = e : n && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : i && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e : t && URLSearchParams.prototype.isPrototypeOf(e) ? this._bodyText = e.toString() : o && n && (r = e) && DataView.prototype.isPrototypeOf(r) ? (this._bodyArrayBuffer = v(e.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : o && (ArrayBuffer.prototype.isPrototypeOf(e) || s(e)) ? this._bodyArrayBuffer = v(e) : this._bodyText = e = Object.prototype.toString.call(e) : this._bodyText = "", this.headers.get("content-type") || ("string" == typeof e ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : t && URLSearchParams.prototype.isPrototypeOf(e) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8")) }, n && (this.blob = function() { var e = p(this); if (e) return e; if (this._bodyBlob) return Promise.resolve(this._bodyBlob); if (this._bodyArrayBuffer) return Promise.resolve(new Blob([this._bodyArrayBuffer])); if (this._bodyFormData) throw new Error("could not read FormData body as blob"); return Promise.resolve(new Blob([this._bodyText])) }, this.arrayBuffer = function() { return this._bodyArrayBuffer ? p(this) || Promise.resolve(this._bodyArrayBuffer) : this.blob().then(h) }), this.text = function() { var e, t, r, n = p(this); if (n) return n; if (this._bodyBlob) return e = this._bodyBlob, t = new FileReader, r = d(t), t.readAsText(e), r; if (this._bodyArrayBuffer) return Promise.resolve(function(e) { for (var t = new Uint8Array(e), r = new Array(t.length), n = 0; n < t.length; n++) r[n] = String.fromCharCode(t[n]); return r.join("") }(this._bodyArrayBuffer)); if (this._bodyFormData) throw new Error("could not read FormData body as text"); return Promise.resolve(this._bodyText) }, i && (this.formData = function() { return this.text().then(g) }), this.json = function() { return this.text().then(JSON.parse) }, this } f.prototype.append = function(e, t) { e = u(e), t = c(t); var r = this.map[e]; this.map[e] = r ? r + ", " + t : t }, f.prototype.delete = function(e) { delete this.map[u(e)] }, f.prototype.get = function(e) { return e = u(e), this.has(e) ? this.map[e] : null }, f.prototype.has = function(e) { return this.map.hasOwnProperty(u(e)) }, f.prototype.set = function(e, t) { this.map[u(e)] = c(t) }, f.prototype.forEach = function(e, t) { for (var r in this.map) this.map.hasOwnProperty(r) && e.call(t, this.map[r], r, this) }, f.prototype.keys = function() { var e = []; return this.forEach((function(t, r) { e.push(r) })), l(e) }, f.prototype.values = function() { var e = []; return this.forEach((function(t) { e.push(t) })), l(e) }, f.prototype.entries = function() { var e = []; return this.forEach((function(t, r) { e.push([r, t]) })), l(e) }, r && (f.prototype[Symbol.iterator] = f.prototype.entries); var y = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"]; function b(e, t) { var r, n, i = (t = t || {}).body; if (e instanceof b) { if (e.bodyUsed) throw new TypeError("Already read"); this.url = e.url, this.credentials = e.credentials, t.headers || (this.headers = new f(e.headers)), this.method = e.method, this.mode = e.mode, this.signal = e.signal, i || null == e._bodyInit || (i = e._bodyInit, e.bodyUsed = !0) } else this.url = String(e); if (this.credentials = t.credentials || this.credentials || "same-origin", !t.headers && this.headers || (this.headers = new f(t.headers)), this.method = (r = t.method || this.method || "GET", n = r.toUpperCase(), y.indexOf(n) > -1 ? n : r), this.mode = t.mode || this.mode || null, this.signal = t.signal || this.signal, this.referrer = null, ("GET" === this.method || "HEAD" === this.method) && i) throw new TypeError("Body not allowed for GET or HEAD requests"); this._initBody(i) } function g(e) { var t = new FormData; return e.trim().split("&").forEach((function(e) { if (e) { var r = e.split("="), n = r.shift().replace(/\+/g, " "), i = r.join("=").replace(/\+/g, " "); t.append(decodeURIComponent(n), decodeURIComponent(i)) } })), t } function _(e, t) { t || (t = {}), this.type = "default", this.status = void 0 === t.status ? 200 : t.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in t ? t.statusText : "OK", this.headers = new f(t.headers), this.url = t.url || "", this._initBody(e) } b.prototype.clone = function() { return new b(this, { body: this._bodyInit }) }, m.call(b.prototype), m.call(_.prototype), _.prototype.clone = function() { return new _(this._bodyInit, { status: this.status, statusText: this.statusText, headers: new f(this.headers), url: this.url }) }, _.error = function() { var e = new _(null, { status: 0, statusText: "" }); return e.type = "error", e }; var T = [301, 302, 303, 307, 308]; _.redirect = function(e, t) { if (-1 === T.indexOf(t)) throw new RangeError("Invalid status code"); return new _(null, { status: t, headers: { location: e } }) }, e.DOMException = self.DOMException; try { new e.DOMException } catch (t) { e.DOMException = function(e, t) { this.message = e, this.name = t; var r = Error(e); this.stack = r.stack }, e.DOMException.prototype = Object.create(Error.prototype), e.DOMException.prototype.constructor = e.DOMException } function S(t, r) { return new Promise((function(i, o) { var a = new b(t, r); if (a.signal && a.signal.aborted) return o(new e.DOMException("Aborted", "AbortError")); var s = new XMLHttpRequest; function u() { s.abort() } s.onload = function() { var e, t, r = { status: s.status, statusText: s.statusText, headers: (e = s.getAllResponseHeaders() || "", t = new f, e.replace(/\r?\n[\t ]+/g, " ").split(/\r?\n/).forEach((function(e) { var r = e.split(":"), n = r.shift().trim(); if (n) { var i = r.join(":").trim(); t.append(n, i) } })), t) }; r.url = "responseURL" in s ? s.responseURL : r.headers.get("X-Request-URL"); var n = "response" in s ? s.response : s.responseText; i(new _(n, r)) }, s.onerror = function() { o(new TypeError("Network request failed")) }, s.ontimeout = function() { o(new TypeError("Network request failed")) }, s.onabort = function() { o(new e.DOMException("Aborted", "AbortError")) }, s.open(a.method, a.url, !0), "include" === a.credentials ? s.withCredentials = !0 : "omit" === a.credentials && (s.withCredentials = !1), "responseType" in s && n && (s.responseType = "blob"), a.headers.forEach((function(e, t) { s.setRequestHeader(t, e) })), a.signal && (a.signal.addEventListener("abort", u), s.onreadystatechange = function() { 4 === s.readyState && a.signal.removeEventListener("abort", u) }), s.send(void 0 === a._bodyInit ? null : a._bodyInit) })) } S.polyfill = !0, self.fetch || (self.fetch = S, self.Headers = f, self.Request = b, self.Response = _), e.Headers = f, e.Request = b, e.Response = _, e.fetch = S, Object.defineProperty(e, "__esModule", { value: !0 }) }(t) }]) }));