diff --git a/pc-nrfconnect-ble/package-lock.json b/pc-nrfconnect-ble/package-lock.json index decf783..2384dbf 100644 --- a/pc-nrfconnect-ble/package-lock.json +++ b/pc-nrfconnect-ble/package-lock.json @@ -1,6 +1,6 @@ { "name": "pc-nrfconnect-ble", - "version": "4.0.0", + "version": "4.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/pc-nrfconnect-ble/package.json b/pc-nrfconnect-ble/package.json index cf0133a..8bd0c27 100644 --- a/pc-nrfconnect-ble/package.json +++ b/pc-nrfconnect-ble/package.json @@ -1,6 +1,6 @@ { "name": "pc-nrfconnect-ble", - "version": "4.0.0", + "version": "4.0.2", "description": "A natural first choice for Bluetooth Low Energy development", "displayName": "Bluetooth Low Energy", "repository": { diff --git a/pc-nrfconnect-launcher/package-lock.json b/pc-nrfconnect-launcher/package-lock.json index d6f337f..ba71ff9 100644 --- a/pc-nrfconnect-launcher/package-lock.json +++ b/pc-nrfconnect-launcher/package-lock.json @@ -1,6 +1,6 @@ { "name": "nrfconnect-bluetooth-low-energy", - "version": "4.0.0", + "version": "4.0.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/pc-nrfconnect-launcher/package.json b/pc-nrfconnect-launcher/package.json index 96d8140..c86960b 100644 --- a/pc-nrfconnect-launcher/package.json +++ b/pc-nrfconnect-launcher/package.json @@ -1,6 +1,6 @@ { "name": "nrfconnect-bluetooth-low-energy", - "version": "4.0.0", + "version": "4.0.2", "description": "nRF Connect for Desktop", "repository": { "type": "git", diff --git a/pc-nrfconnect-launcher/resources/bundle/bundle.js b/pc-nrfconnect-launcher/resources/bundle/bundle.js index 67c4860..54f5d2e 100644 --- a/pc-nrfconnect-launcher/resources/bundle/bundle.js +++ b/pc-nrfconnect-launcher/resources/bundle/bundle.js @@ -1,696 +1,73996 @@ /* - * Copyright (c) 2022 Nordic Semiconductor ASA + * Copyright (c) 2015 Nordic Semiconductor ASA * * SPDX-License-Identifier: LicenseRef-Nordic-4-Clause */ +!(function (e, t) { + if ('object' == typeof exports && 'object' == typeof module) + module.exports = t( + require('react'), + require('pc-nrfconnect-shared'), + require('react-redux'), + require('react-dom'), + require('pc-ble-driver-js'), + require('@electron/remote'), + require('@nordicsemiconductor/nrf-device-lib-js'), + require('electron'), + require('bluetooth-numbers-database'), + require('electron-store') + ); + else if ('function' == typeof define && define.amd) + define([ + 'react', + 'pc-nrfconnect-shared', + 'react-redux', + 'react-dom', + 'pc-ble-driver-js', + '@electron/remote', + '@nordicsemiconductor/nrf-device-lib-js', + 'electron', + 'bluetooth-numbers-database', + 'electron-store', + ], t); + else { + var n = + 'object' == typeof exports + ? t( + require('react'), + require('pc-nrfconnect-shared'), + require('react-redux'), + require('react-dom'), + require('pc-ble-driver-js'), + require('@electron/remote'), + require('@nordicsemiconductor/nrf-device-lib-js'), + require('electron'), + require('bluetooth-numbers-database'), + require('electron-store') + ) + : t( + e.react, + e['pc-nrfconnect-shared'], + e['react-redux'], + e['react-dom'], + e['pc-ble-driver-js'], + e['@electron/remote'], + e['@nordicsemiconductor/nrf-device-lib-js'], + e.electron, + e['bluetooth-numbers-database'], + e['electron-store'] + ); + for (var r in n) ('object' == typeof exports ? exports : e)[r] = n[r]; + } +})(window, function (e, t, n, r, a, i, o, s, l, u) { + return (function (e) { + var t = {}; + function n(r) { + if (t[r]) return t[r].exports; + var a = (t[r] = { i: r, l: !1, exports: {} }); + return e[r].call(a.exports, a, a.exports, n), (a.l = !0), a.exports; + } + return ( + (n.m = e), + (n.c = t), + (n.d = function (e, t, r) { + n.o(e, t) || + Object.defineProperty(e, t, { enumerable: !0, get: r }); + }), + (n.r = function (e) { + 'undefined' != typeof Symbol && + Symbol.toStringTag && + Object.defineProperty(e, Symbol.toStringTag, { + value: 'Module', + }), + Object.defineProperty(e, '__esModule', { value: !0 }); + }), + (n.t = function (e, t) { + if ((1 & t && (e = n(e)), 8 & t)) return e; + if (4 & t && 'object' == typeof e && e && e.__esModule) + return e; + var r = Object.create(null); + if ( + (n.r(r), + Object.defineProperty(r, 'default', { + enumerable: !0, + value: e, + }), + 2 & t && 'string' != typeof e) + ) + for (var a in e) + n.d( + r, + a, + function (t) { + return e[t]; + }.bind(null, a) + ); + return r; + }), + (n.n = function (e) { + var t = + e && e.__esModule + ? function () { + return e.default; + } + : function () { + return e; + }; + return n.d(t, 'a', t), t; + }), + (n.o = function (e, t) { + return Object.prototype.hasOwnProperty.call(e, t); + }), + (n.p = './dist/'), + n((n.s = 251)) + ); + })([ + function (t, n) { + t.exports = e; + }, + function (e, t, n) { + e.exports = n(256)(); + }, + function (e, t, n) { + (function (e) { + e.exports = (function () { + 'use strict'; + var t, r; + function a() { + return t.apply(null, arguments); + } + function i(e) { + return ( + e instanceof Array || + '[object Array]' === + Object.prototype.toString.call(e) + ); + } + function o(e) { + return ( + null != e && + '[object Object]' === + Object.prototype.toString.call(e) + ); + } + function s(e, t) { + return Object.prototype.hasOwnProperty.call(e, t); + } + function l(e) { + if (Object.getOwnPropertyNames) + return 0 === Object.getOwnPropertyNames(e).length; + var t; + for (t in e) if (s(e, t)) return !1; + return !0; + } + function u(e) { + return void 0 === e; + } + function d(e) { + return ( + 'number' == typeof e || + '[object Number]' === + Object.prototype.toString.call(e) + ); + } + function c(e) { + return ( + e instanceof Date || + '[object Date]' === + Object.prototype.toString.call(e) + ); + } + function f(e, t) { + var n, + r = []; + for (n = 0; n < e.length; ++n) r.push(t(e[n], n)); + return r; + } + function p(e, t) { + for (var n in t) s(t, n) && (e[n] = t[n]); + return ( + s(t, 'toString') && (e.toString = t.toString), + s(t, 'valueOf') && (e.valueOf = t.valueOf), + e + ); + } + function h(e, t, n, r) { + return Ct(e, t, n, r, !0).utc(); + } + function m(e) { + return ( + null == e._pf && + (e._pf = { + empty: !1, + unusedTokens: [], + unusedInput: [], + overflow: -2, + charsLeftOver: 0, + nullInput: !1, + invalidEra: null, + invalidMonth: null, + invalidFormat: !1, + userInvalidated: !1, + iso: !1, + parsedDateParts: [], + era: null, + meridiem: null, + rfc2822: !1, + weekdayMismatch: !1, + }), + e._pf + ); + } + function _(e) { + if (null == e._isValid) { + var t = m(e), + n = r.call(t.parsedDateParts, function (e) { + return null != e; + }), + a = + !isNaN(e._d.getTime()) && + t.overflow < 0 && + !t.empty && + !t.invalidEra && + !t.invalidMonth && + !t.invalidWeekday && + !t.weekdayMismatch && + !t.nullInput && + !t.invalidFormat && + !t.userInvalidated && + (!t.meridiem || (t.meridiem && n)); + if ( + (e._strict && + (a = + a && + 0 === t.charsLeftOver && + 0 === t.unusedTokens.length && + void 0 === t.bigHour), + null != Object.isFrozen && Object.isFrozen(e)) + ) + return a; + e._isValid = a; + } + return e._isValid; + } + function v(e) { + var t = h(NaN); + return ( + null != e + ? p(m(t), e) + : (m(t).userInvalidated = !0), + t + ); + } + r = Array.prototype.some + ? Array.prototype.some + : function (e) { + var t, + n = Object(this), + r = n.length >>> 0; + for (t = 0; t < r; t++) + if (t in n && e.call(this, n[t], t, n)) + return !0; + return !1; + }; + var g = (a.momentProperties = []), + y = !1; + function b(e, t) { + var n, r, a; + if ( + (u(t._isAMomentObject) || + (e._isAMomentObject = t._isAMomentObject), + u(t._i) || (e._i = t._i), + u(t._f) || (e._f = t._f), + u(t._l) || (e._l = t._l), + u(t._strict) || (e._strict = t._strict), + u(t._tzm) || (e._tzm = t._tzm), + u(t._isUTC) || (e._isUTC = t._isUTC), + u(t._offset) || (e._offset = t._offset), + u(t._pf) || (e._pf = m(t)), + u(t._locale) || (e._locale = t._locale), + g.length > 0) + ) + for (n = 0; n < g.length; n++) + u((a = t[(r = g[n])])) || (e[r] = a); + return e; + } + function A(e) { + b(this, e), + (this._d = new Date( + null != e._d ? e._d.getTime() : NaN + )), + this.isValid() || (this._d = new Date(NaN)), + !1 === y && + ((y = !0), a.updateOffset(this), (y = !1)); + } + function E(e) { + return ( + e instanceof A || + (null != e && null != e._isAMomentObject) + ); + } + function w(e) { + !1 === a.suppressDeprecationWarnings && + 'undefined' != typeof console && + console.warn && + console.warn('Deprecation warning: ' + e); + } + function D(e, t) { + var n = !0; + return p(function () { + if ( + (null != a.deprecationHandler && + a.deprecationHandler(null, e), + n) + ) { + var r, + i, + o, + l = []; + for (i = 0; i < arguments.length; i++) { + if ( + ((r = ''), + 'object' == typeof arguments[i]) + ) { + for (o in ((r += '\n[' + i + '] '), + arguments[0])) + s(arguments[0], o) && + (r += + o + + ': ' + + arguments[0][o] + + ', '); + r = r.slice(0, -2); + } else r = arguments[i]; + l.push(r); + } + w( + e + + '\nArguments: ' + + Array.prototype.slice.call(l).join('') + + '\n' + + new Error().stack + ), + (n = !1); + } + return t.apply(this, arguments); + }, t); + } + var C, + M = {}; + function x(e, t) { + null != a.deprecationHandler && + a.deprecationHandler(e, t), + M[e] || (w(t), (M[e] = !0)); + } + function T(e) { + return ( + ('undefined' != typeof Function && + e instanceof Function) || + '[object Function]' === + Object.prototype.toString.call(e) + ); + } + function L(e, t) { + var n, + r = p({}, e); + for (n in t) + s(t, n) && + (o(e[n]) && o(t[n]) + ? ((r[n] = {}), + p(r[n], e[n]), + p(r[n], t[n])) + : null != t[n] + ? (r[n] = t[n]) + : delete r[n]); + for (n in e) + s(e, n) && + !s(t, n) && + o(e[n]) && + (r[n] = p({}, r[n])); + return r; + } + function S(e) { + null != e && this.set(e); + } + function k(e, t, n) { + var r = '' + Math.abs(e), + a = t - r.length; + return ( + (e >= 0 ? (n ? '+' : '') : '-') + + Math.pow(10, Math.max(0, a)).toString().substr(1) + + r + ); + } + (a.suppressDeprecationWarnings = !1), + (a.deprecationHandler = null), + (C = Object.keys + ? Object.keys + : function (e) { + var t, + n = []; + for (t in e) s(e, t) && n.push(t); + return n; + }); + var O = + /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, + I = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, + P = {}, + Y = {}; + function R(e, t, n, r) { + var a = r; + 'string' == typeof r && + (a = function () { + return this[r](); + }), + e && (Y[e] = a), + t && + (Y[t[0]] = function () { + return k( + a.apply(this, arguments), + t[1], + t[2] + ); + }), + n && + (Y[n] = function () { + return this.localeData().ordinal( + a.apply(this, arguments), + e + ); + }); + } + function N(e, t) { + return e.isValid() + ? ((t = j(t, e.localeData())), + (P[t] = + P[t] || + (function (e) { + var t, + n, + r, + a = e.match(O); + for (t = 0, n = a.length; t < n; t++) + Y[a[t]] + ? (a[t] = Y[a[t]]) + : (a[t] = (r = a[t]).match( + /\[[\s\S]/ + ) + ? r.replace(/^\[|\]$/g, '') + : r.replace(/\\/g, '')); + return function (t) { + var r, + i = ''; + for (r = 0; r < n; r++) + i += T(a[r]) + ? a[r].call(t, e) + : a[r]; + return i; + }; + })(t)), + P[t](e)) + : e.localeData().invalidDate(); + } + function j(e, t) { + var n = 5; + function r(e) { + return t.longDateFormat(e) || e; + } + for (I.lastIndex = 0; n >= 0 && I.test(e); ) + (e = e.replace(I, r)), (I.lastIndex = 0), (n -= 1); + return e; + } + var H = {}; + function B(e, t) { + var n = e.toLowerCase(); + H[n] = H[n + 's'] = H[t] = e; + } + function U(e) { + return 'string' == typeof e + ? H[e] || H[e.toLowerCase()] + : void 0; + } + function W(e) { + var t, + n, + r = {}; + for (n in e) s(e, n) && (t = U(n)) && (r[t] = e[n]); + return r; + } + var F = {}; + function V(e, t) { + F[e] = t; + } + function z(e) { + return (e % 4 == 0 && e % 100 != 0) || e % 400 == 0; + } + function q(e) { + return e < 0 ? Math.ceil(e) || 0 : Math.floor(e); + } + function G(e) { + var t = +e, + n = 0; + return 0 !== t && isFinite(t) && (n = q(t)), n; + } + function $(e, t) { + return function (n) { + return null != n + ? (K(this, e, n), a.updateOffset(this, t), this) + : J(this, e); + }; + } + function J(e, t) { + return e.isValid() + ? e._d['get' + (e._isUTC ? 'UTC' : '') + t]() + : NaN; + } + function K(e, t, n) { + e.isValid() && + !isNaN(n) && + ('FullYear' === t && + z(e.year()) && + 1 === e.month() && + 29 === e.date() + ? ((n = G(n)), + e._d['set' + (e._isUTC ? 'UTC' : '') + t]( + n, + e.month(), + Ee(n, e.month()) + )) + : e._d['set' + (e._isUTC ? 'UTC' : '') + t](n)); + } + var Q, + X = /\d/, + Z = /\d\d/, + ee = /\d{3}/, + te = /\d{4}/, + ne = /[+-]?\d{6}/, + re = /\d\d?/, + ae = /\d\d\d\d?/, + ie = /\d\d\d\d\d\d?/, + oe = /\d{1,3}/, + se = /\d{1,4}/, + le = /[+-]?\d{1,6}/, + ue = /\d+/, + de = /[+-]?\d+/, + ce = /Z|[+-]\d\d:?\d\d/gi, + fe = /Z|[+-]\d\d(?::?\d\d)?/gi, + pe = + /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i; + function he(e, t, n) { + Q[e] = T(t) + ? t + : function (e, r) { + return e && n ? n : t; + }; + } + function me(e, t) { + return s(Q, e) + ? Q[e](t._strict, t._locale) + : new RegExp( + _e( + e + .replace('\\', '') + .replace( + /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, + function (e, t, n, r, a) { + return t || n || r || a; + } + ) + ) + ); + } + function _e(e) { + return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); + } + Q = {}; + var ve, + ge = {}; + function ye(e, t) { + var n, + r = t; + for ( + 'string' == typeof e && (e = [e]), + d(t) && + (r = function (e, n) { + n[t] = G(e); + }), + n = 0; + n < e.length; + n++ + ) + ge[e[n]] = r; + } + function be(e, t) { + ye(e, function (e, n, r, a) { + (r._w = r._w || {}), t(e, r._w, r, a); + }); + } + function Ae(e, t, n) { + null != t && s(ge, e) && ge[e](t, n._a, n, e); + } + function Ee(e, t) { + if (isNaN(e) || isNaN(t)) return NaN; + var n, + r = ((t % (n = 12)) + n) % n; + return ( + (e += (t - r) / 12), + 1 === r ? (z(e) ? 29 : 28) : 31 - ((r % 7) % 2) + ); + } + (ve = Array.prototype.indexOf + ? Array.prototype.indexOf + : function (e) { + var t; + for (t = 0; t < this.length; ++t) + if (this[t] === e) return t; + return -1; + }), + R('M', ['MM', 2], 'Mo', function () { + return this.month() + 1; + }), + R('MMM', 0, 0, function (e) { + return this.localeData().monthsShort(this, e); + }), + R('MMMM', 0, 0, function (e) { + return this.localeData().months(this, e); + }), + B('month', 'M'), + V('month', 8), + he('M', re), + he('MM', re, Z), + he('MMM', function (e, t) { + return t.monthsShortRegex(e); + }), + he('MMMM', function (e, t) { + return t.monthsRegex(e); + }), + ye(['M', 'MM'], function (e, t) { + t[1] = G(e) - 1; + }), + ye(['MMM', 'MMMM'], function (e, t, n, r) { + var a = n._locale.monthsParse(e, r, n._strict); + null != a ? (t[1] = a) : (m(n).invalidMonth = e); + }); + var we = + 'January_February_March_April_May_June_July_August_September_October_November_December'.split( + '_' + ), + De = + 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split( + '_' + ), + Ce = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, + Me = pe, + xe = pe; + function Te(e, t, n) { + var r, + a, + i, + o = e.toLocaleLowerCase(); + if (!this._monthsParse) + for ( + this._monthsParse = [], + this._longMonthsParse = [], + this._shortMonthsParse = [], + r = 0; + r < 12; + ++r + ) + (i = h([2e3, r])), + (this._shortMonthsParse[r] = + this.monthsShort( + i, + '' + ).toLocaleLowerCase()), + (this._longMonthsParse[r] = this.months( + i, + '' + ).toLocaleLowerCase()); + return n + ? 'MMM' === t + ? -1 !== + (a = ve.call(this._shortMonthsParse, o)) + ? a + : null + : -1 !== (a = ve.call(this._longMonthsParse, o)) + ? a + : null + : 'MMM' === t + ? -1 !== (a = ve.call(this._shortMonthsParse, o)) || + -1 !== (a = ve.call(this._longMonthsParse, o)) + ? a + : null + : -1 !== (a = ve.call(this._longMonthsParse, o)) || + -1 !== (a = ve.call(this._shortMonthsParse, o)) + ? a + : null; + } + function Le(e, t) { + var n; + if (!e.isValid()) return e; + if ('string' == typeof t) + if (/^\d+$/.test(t)) t = G(t); + else if (!d((t = e.localeData().monthsParse(t)))) + return e; + return ( + (n = Math.min(e.date(), Ee(e.year(), t))), + e._d['set' + (e._isUTC ? 'UTC' : '') + 'Month']( + t, + n + ), + e + ); + } + function Se(e) { + return null != e + ? (Le(this, e), a.updateOffset(this, !0), this) + : J(this, 'Month'); + } + function ke() { + function e(e, t) { + return t.length - e.length; + } + var t, + n, + r = [], + a = [], + i = []; + for (t = 0; t < 12; t++) + (n = h([2e3, t])), + r.push(this.monthsShort(n, '')), + a.push(this.months(n, '')), + i.push(this.months(n, '')), + i.push(this.monthsShort(n, '')); + for ( + r.sort(e), a.sort(e), i.sort(e), t = 0; + t < 12; + t++ + ) + (r[t] = _e(r[t])), (a[t] = _e(a[t])); + for (t = 0; t < 24; t++) i[t] = _e(i[t]); + (this._monthsRegex = new RegExp( + '^(' + i.join('|') + ')', + 'i' + )), + (this._monthsShortRegex = this._monthsRegex), + (this._monthsStrictRegex = new RegExp( + '^(' + a.join('|') + ')', + 'i' + )), + (this._monthsShortStrictRegex = new RegExp( + '^(' + r.join('|') + ')', + 'i' + )); + } + function Oe(e) { + return z(e) ? 366 : 365; + } + R('Y', 0, 0, function () { + var e = this.year(); + return e <= 9999 ? k(e, 4) : '+' + e; + }), + R(0, ['YY', 2], 0, function () { + return this.year() % 100; + }), + R(0, ['YYYY', 4], 0, 'year'), + R(0, ['YYYYY', 5], 0, 'year'), + R(0, ['YYYYYY', 6, !0], 0, 'year'), + B('year', 'y'), + V('year', 1), + he('Y', de), + he('YY', re, Z), + he('YYYY', se, te), + he('YYYYY', le, ne), + he('YYYYYY', le, ne), + ye(['YYYYY', 'YYYYYY'], 0), + ye('YYYY', function (e, t) { + t[0] = + 2 === e.length ? a.parseTwoDigitYear(e) : G(e); + }), + ye('YY', function (e, t) { + t[0] = a.parseTwoDigitYear(e); + }), + ye('Y', function (e, t) { + t[0] = parseInt(e, 10); + }), + (a.parseTwoDigitYear = function (e) { + return G(e) + (G(e) > 68 ? 1900 : 2e3); + }); + var Ie = $('FullYear', !0); + function Pe(e, t, n, r, a, i, o) { + var s; + return ( + e < 100 && e >= 0 + ? ((s = new Date(e + 400, t, n, r, a, i, o)), + isFinite(s.getFullYear()) && s.setFullYear(e)) + : (s = new Date(e, t, n, r, a, i, o)), + s + ); + } + function Ye(e) { + var t, n; + return ( + e < 100 && e >= 0 + ? (((n = + Array.prototype.slice.call( + arguments + ))[0] = e + 400), + (t = new Date(Date.UTC.apply(null, n))), + isFinite(t.getUTCFullYear()) && + t.setUTCFullYear(e)) + : (t = new Date( + Date.UTC.apply(null, arguments) + )), + t + ); + } + function Re(e, t, n) { + var r = 7 + t - n; + return (-(7 + Ye(e, 0, r).getUTCDay() - t) % 7) + r - 1; + } + function Ne(e, t, n, r, a) { + var i, + o, + s = + 1 + + 7 * (t - 1) + + ((7 + n - r) % 7) + + Re(e, r, a); + return ( + s <= 0 + ? (o = Oe((i = e - 1)) + s) + : s > Oe(e) + ? ((i = e + 1), (o = s - Oe(e))) + : ((i = e), (o = s)), + { year: i, dayOfYear: o } + ); + } + function je(e, t, n) { + var r, + a, + i = Re(e.year(), t, n), + o = Math.floor((e.dayOfYear() - i - 1) / 7) + 1; + return ( + o < 1 + ? (r = o + He((a = e.year() - 1), t, n)) + : o > He(e.year(), t, n) + ? ((r = o - He(e.year(), t, n)), + (a = e.year() + 1)) + : ((a = e.year()), (r = o)), + { week: r, year: a } + ); + } + function He(e, t, n) { + var r = Re(e, t, n), + a = Re(e + 1, t, n); + return (Oe(e) - r + a) / 7; + } + function Be(e, t) { + return e.slice(t, 7).concat(e.slice(0, t)); + } + R('w', ['ww', 2], 'wo', 'week'), + R('W', ['WW', 2], 'Wo', 'isoWeek'), + B('week', 'w'), + B('isoWeek', 'W'), + V('week', 5), + V('isoWeek', 5), + he('w', re), + he('ww', re, Z), + he('W', re), + he('WW', re, Z), + be(['w', 'ww', 'W', 'WW'], function (e, t, n, r) { + t[r.substr(0, 1)] = G(e); + }), + R('d', 0, 'do', 'day'), + R('dd', 0, 0, function (e) { + return this.localeData().weekdaysMin(this, e); + }), + R('ddd', 0, 0, function (e) { + return this.localeData().weekdaysShort(this, e); + }), + R('dddd', 0, 0, function (e) { + return this.localeData().weekdays(this, e); + }), + R('e', 0, 0, 'weekday'), + R('E', 0, 0, 'isoWeekday'), + B('day', 'd'), + B('weekday', 'e'), + B('isoWeekday', 'E'), + V('day', 11), + V('weekday', 11), + V('isoWeekday', 11), + he('d', re), + he('e', re), + he('E', re), + he('dd', function (e, t) { + return t.weekdaysMinRegex(e); + }), + he('ddd', function (e, t) { + return t.weekdaysShortRegex(e); + }), + he('dddd', function (e, t) { + return t.weekdaysRegex(e); + }), + be(['dd', 'ddd', 'dddd'], function (e, t, n, r) { + var a = n._locale.weekdaysParse(e, r, n._strict); + null != a ? (t.d = a) : (m(n).invalidWeekday = e); + }), + be(['d', 'e', 'E'], function (e, t, n, r) { + t[r] = G(e); + }); + var Ue = + 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split( + '_' + ), + We = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + Fe = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + Ve = pe, + ze = pe, + qe = pe; + function Ge(e, t, n) { + var r, + a, + i, + o = e.toLocaleLowerCase(); + if (!this._weekdaysParse) + for ( + this._weekdaysParse = [], + this._shortWeekdaysParse = [], + this._minWeekdaysParse = [], + r = 0; + r < 7; + ++r + ) + (i = h([2e3, 1]).day(r)), + (this._minWeekdaysParse[r] = + this.weekdaysMin( + i, + '' + ).toLocaleLowerCase()), + (this._shortWeekdaysParse[r] = + this.weekdaysShort( + i, + '' + ).toLocaleLowerCase()), + (this._weekdaysParse[r] = this.weekdays( + i, + '' + ).toLocaleLowerCase()); + return n + ? 'dddd' === t + ? -1 !== (a = ve.call(this._weekdaysParse, o)) + ? a + : null + : 'ddd' === t + ? -1 !== + (a = ve.call(this._shortWeekdaysParse, o)) + ? a + : null + : -1 !== + (a = ve.call(this._minWeekdaysParse, o)) + ? a + : null + : 'dddd' === t + ? -1 !== (a = ve.call(this._weekdaysParse, o)) || + -1 !== + (a = ve.call(this._shortWeekdaysParse, o)) || + -1 !== (a = ve.call(this._minWeekdaysParse, o)) + ? a + : null + : 'ddd' === t + ? -1 !== + (a = ve.call(this._shortWeekdaysParse, o)) || + -1 !== (a = ve.call(this._weekdaysParse, o)) || + -1 !== (a = ve.call(this._minWeekdaysParse, o)) + ? a + : null + : -1 !== (a = ve.call(this._minWeekdaysParse, o)) || + -1 !== (a = ve.call(this._weekdaysParse, o)) || + -1 !== (a = ve.call(this._shortWeekdaysParse, o)) + ? a + : null; + } + function $e() { + function e(e, t) { + return t.length - e.length; + } + var t, + n, + r, + a, + i, + o = [], + s = [], + l = [], + u = []; + for (t = 0; t < 7; t++) + (n = h([2e3, 1]).day(t)), + (r = _e(this.weekdaysMin(n, ''))), + (a = _e(this.weekdaysShort(n, ''))), + (i = _e(this.weekdays(n, ''))), + o.push(r), + s.push(a), + l.push(i), + u.push(r), + u.push(a), + u.push(i); + o.sort(e), + s.sort(e), + l.sort(e), + u.sort(e), + (this._weekdaysRegex = new RegExp( + '^(' + u.join('|') + ')', + 'i' + )), + (this._weekdaysShortRegex = this._weekdaysRegex), + (this._weekdaysMinRegex = this._weekdaysRegex), + (this._weekdaysStrictRegex = new RegExp( + '^(' + l.join('|') + ')', + 'i' + )), + (this._weekdaysShortStrictRegex = new RegExp( + '^(' + s.join('|') + ')', + 'i' + )), + (this._weekdaysMinStrictRegex = new RegExp( + '^(' + o.join('|') + ')', + 'i' + )); + } + function Je() { + return this.hours() % 12 || 12; + } + function Ke(e, t) { + R(e, 0, 0, function () { + return this.localeData().meridiem( + this.hours(), + this.minutes(), + t + ); + }); + } + function Qe(e, t) { + return t._meridiemParse; + } + R('H', ['HH', 2], 0, 'hour'), + R('h', ['hh', 2], 0, Je), + R('k', ['kk', 2], 0, function () { + return this.hours() || 24; + }), + R('hmm', 0, 0, function () { + return '' + Je.apply(this) + k(this.minutes(), 2); + }), + R('hmmss', 0, 0, function () { + return ( + '' + + Je.apply(this) + + k(this.minutes(), 2) + + k(this.seconds(), 2) + ); + }), + R('Hmm', 0, 0, function () { + return '' + this.hours() + k(this.minutes(), 2); + }), + R('Hmmss', 0, 0, function () { + return ( + '' + + this.hours() + + k(this.minutes(), 2) + + k(this.seconds(), 2) + ); + }), + Ke('a', !0), + Ke('A', !1), + B('hour', 'h'), + V('hour', 13), + he('a', Qe), + he('A', Qe), + he('H', re), + he('h', re), + he('k', re), + he('HH', re, Z), + he('hh', re, Z), + he('kk', re, Z), + he('hmm', ae), + he('hmmss', ie), + he('Hmm', ae), + he('Hmmss', ie), + ye(['H', 'HH'], 3), + ye(['k', 'kk'], function (e, t, n) { + var r = G(e); + t[3] = 24 === r ? 0 : r; + }), + ye(['a', 'A'], function (e, t, n) { + (n._isPm = n._locale.isPM(e)), (n._meridiem = e); + }), + ye(['h', 'hh'], function (e, t, n) { + (t[3] = G(e)), (m(n).bigHour = !0); + }), + ye('hmm', function (e, t, n) { + var r = e.length - 2; + (t[3] = G(e.substr(0, r))), + (t[4] = G(e.substr(r))), + (m(n).bigHour = !0); + }), + ye('hmmss', function (e, t, n) { + var r = e.length - 4, + a = e.length - 2; + (t[3] = G(e.substr(0, r))), + (t[4] = G(e.substr(r, 2))), + (t[5] = G(e.substr(a))), + (m(n).bigHour = !0); + }), + ye('Hmm', function (e, t, n) { + var r = e.length - 2; + (t[3] = G(e.substr(0, r))), (t[4] = G(e.substr(r))); + }), + ye('Hmmss', function (e, t, n) { + var r = e.length - 4, + a = e.length - 2; + (t[3] = G(e.substr(0, r))), + (t[4] = G(e.substr(r, 2))), + (t[5] = G(e.substr(a))); + }); + var Xe, + Ze = $('Hours', !0), + et = { + calendar: { + sameDay: '[Today at] LT', + nextDay: '[Tomorrow at] LT', + nextWeek: 'dddd [at] LT', + lastDay: '[Yesterday at] LT', + lastWeek: '[Last] dddd [at] LT', + sameElse: 'L', + }, + longDateFormat: { + LTS: 'h:mm:ss A', + LT: 'h:mm A', + L: 'MM/DD/YYYY', + LL: 'MMMM D, YYYY', + LLL: 'MMMM D, YYYY h:mm A', + LLLL: 'dddd, MMMM D, YYYY h:mm A', + }, + invalidDate: 'Invalid date', + ordinal: '%d', + dayOfMonthOrdinalParse: /\d{1,2}/, + relativeTime: { + future: 'in %s', + past: '%s ago', + s: 'a few seconds', + ss: '%d seconds', + m: 'a minute', + mm: '%d minutes', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + w: 'a week', + ww: '%d weeks', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, + months: we, + monthsShort: De, + week: { dow: 0, doy: 6 }, + weekdays: Ue, + weekdaysMin: Fe, + weekdaysShort: We, + meridiemParse: /[ap]\.?m?\.?/i, + }, + tt = {}, + nt = {}; + function rt(e, t) { + var n, + r = Math.min(e.length, t.length); + for (n = 0; n < r; n += 1) if (e[n] !== t[n]) return n; + return r; + } + function at(e) { + return e ? e.toLowerCase().replace('_', '-') : e; + } + function it(t) { + var r = null; + if (void 0 === tt[t] && void 0 !== e && e && e.exports) + try { + (r = Xe._abbr), n(309)('./' + t), ot(r); + } catch (e) { + tt[t] = null; + } + return tt[t]; + } + function ot(e, t) { + var n; + return ( + e && + ((n = u(t) ? lt(e) : st(e, t)) + ? (Xe = n) + : 'undefined' != typeof console && + console.warn && + console.warn( + 'Locale ' + + e + + ' not found. Did you forget to load it?' + )), + Xe._abbr + ); + } + function st(e, t) { + if (null !== t) { + var n, + r = et; + if (((t.abbr = e), null != tt[e])) + x( + 'defineLocaleOverride', + 'use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.' + ), + (r = tt[e]._config); + else if (null != t.parentLocale) + if (null != tt[t.parentLocale]) + r = tt[t.parentLocale]._config; + else { + if (null == (n = it(t.parentLocale))) + return ( + nt[t.parentLocale] || + (nt[t.parentLocale] = []), + nt[t.parentLocale].push({ + name: e, + config: t, + }), + null + ); + r = n._config; + } + return ( + (tt[e] = new S(L(r, t))), + nt[e] && + nt[e].forEach(function (e) { + st(e.name, e.config); + }), + ot(e), + tt[e] + ); + } + return delete tt[e], null; + } + function lt(e) { + var t; + if ( + (e && + e._locale && + e._locale._abbr && + (e = e._locale._abbr), + !e) + ) + return Xe; + if (!i(e)) { + if ((t = it(e))) return t; + e = [e]; + } + return (function (e) { + for (var t, n, r, a, i = 0; i < e.length; ) { + for ( + t = (a = at(e[i]).split('-')).length, + n = (n = at(e[i + 1])) + ? n.split('-') + : null; + t > 0; -!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("react"),require("pc-nrfconnect-shared"),require("react-redux"),require("react-dom"),require("pc-ble-driver-js"),require("@electron/remote"),require("@nordicsemiconductor/nrf-device-lib-js"),require("electron"),require("bluetooth-numbers-database"),require("electron-store"));else if("function"==typeof define&&define.amd)define(["react","pc-nrfconnect-shared","react-redux","react-dom","pc-ble-driver-js","@electron/remote","@nordicsemiconductor/nrf-device-lib-js","electron","bluetooth-numbers-database","electron-store"],t);else{var n="object"==typeof exports?t(require("react"),require("pc-nrfconnect-shared"),require("react-redux"),require("react-dom"),require("pc-ble-driver-js"),require("@electron/remote"),require("@nordicsemiconductor/nrf-device-lib-js"),require("electron"),require("bluetooth-numbers-database"),require("electron-store")):t(e.react,e["pc-nrfconnect-shared"],e["react-redux"],e["react-dom"],e["pc-ble-driver-js"],e["@electron/remote"],e["@nordicsemiconductor/nrf-device-lib-js"],e.electron,e["bluetooth-numbers-database"],e["electron-store"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(window,(function(e,t,n,r,a,i,o,s,l,u){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="./dist/",n(n.s=290)}([function(e,t,n){"use strict";(function(e){e.exports=function(){var t,r;function a(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function u(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}a.suppressDeprecationWarnings=!1,a.deprecationHandler=null,D=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var P=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},Y={};function R(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(Y[e]=a),t&&(Y[t[0]]=function(){return S(a.apply(this,arguments),t[1],t[2])}),n&&(Y[n]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function N(e,t){return e.isValid()?(t=j(t,e.localeData()),I[t]=I[t]||function(e){var t,n,r,a=e.match(P);for(t=0,n=a.length;t=0&&O.test(e);)e=e.replace(O,r),O.lastIndex=0,n-=1;return e}var H={};function B(e,t){var n=e.toLowerCase();H[n]=H[n+"s"]=H[t]=e}function U(e){return"string"==typeof e?H[e]||H[e.toLowerCase()]:void 0}function W(e){var t,n,r={};for(n in e)s(e,n)&&(t=U(n))&&(r[t]=e[n]);return r}var F={};function V(e,t){F[e]=t}function z(e){return e%4==0&&e%100!=0||e%400==0}function q(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function G(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=q(t)),n}function $(e,t){return function(n){return null!=n?(K(this,e,n),a.updateOffset(this,t),this):J(this,e)}}function J(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function K(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&z(e.year())&&1===e.month()&&29===e.date()?(n=G(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ee(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var Q,X=/\d/,Z=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,re=/\d\d?/,ae=/\d\d\d\d?/,ie=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ue=/\d+/,de=/[+-]?\d+/,ce=/Z|[+-]\d\d:?\d\d/gi,fe=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function he(e,t,n){Q[e]=T(t)?t:function(e,r){return e&&n?n:t}}function me(e,t){return s(Q,e)?Q[e](t._strict,t._locale):new RegExp(_e(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a}))))}function _e(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}Q={};var ve,ge={};function ye(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),d(t)&&(r=function(e,n){n[t]=G(e)}),n=0;n68?1900:2e3)};var Oe=$("FullYear",!0);function Ie(e,t,n,r,a,i,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,a,i,o),s}function Ye(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Re(e,t,n){var r=7+t-n;return-(7+Ye(e,0,r).getUTCDay()-t)%7+r-1}function Ne(e,t,n,r,a){var i,o,s=1+7*(t-1)+(7+n-r)%7+Re(e,r,a);return s<=0?o=Pe(i=e-1)+s:s>Pe(e)?(i=e+1,o=s-Pe(e)):(i=e,o=s),{year:i,dayOfYear:o}}function je(e,t,n){var r,a,i=Re(e.year(),t,n),o=Math.floor((e.dayOfYear()-i-1)/7)+1;return o<1?r=o+He(a=e.year()-1,t,n):o>He(e.year(),t,n)?(r=o-He(e.year(),t,n),a=e.year()+1):(a=e.year(),r=o),{week:r,year:a}}function He(e,t,n){var r=Re(e,t,n),a=Re(e+1,t,n);return(Pe(e)-r+a)/7}function Be(e,t){return e.slice(t,7).concat(e.slice(0,t))}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),B("week","w"),B("isoWeek","W"),V("week",5),V("isoWeek",5),he("w",re),he("ww",re,Z),he("W",re),he("WW",re,Z),be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=G(e)})),R("d",0,"do","day"),R("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),R("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),R("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),B("day","d"),B("weekday","e"),B("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),he("d",re),he("e",re),he("E",re),he("dd",(function(e,t){return t.weekdaysMinRegex(e)})),he("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),he("dddd",(function(e,t){return t.weekdaysRegex(e)})),be(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);null!=a?t.d=a:m(n).invalidWeekday=e})),be(["d","e","E"],(function(e,t,n,r){t[r]=G(e)}));var Ue="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),We="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Fe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ve=pe,ze=pe,qe=pe;function Ge(e,t,n){var r,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=ve.call(this._weekdaysParse,o))?a:null:"ddd"===t?-1!==(a=ve.call(this._shortWeekdaysParse,o))?a:null:-1!==(a=ve.call(this._minWeekdaysParse,o))?a:null:"dddd"===t?-1!==(a=ve.call(this._weekdaysParse,o))||-1!==(a=ve.call(this._shortWeekdaysParse,o))||-1!==(a=ve.call(this._minWeekdaysParse,o))?a:null:"ddd"===t?-1!==(a=ve.call(this._shortWeekdaysParse,o))||-1!==(a=ve.call(this._weekdaysParse,o))||-1!==(a=ve.call(this._minWeekdaysParse,o))?a:null:-1!==(a=ve.call(this._minWeekdaysParse,o))||-1!==(a=ve.call(this._weekdaysParse,o))||-1!==(a=ve.call(this._shortWeekdaysParse,o))?a:null}function $e(){function e(e,t){return t.length-e.length}var t,n,r,a,i,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=_e(this.weekdaysMin(n,"")),a=_e(this.weekdaysShort(n,"")),i=_e(this.weekdays(n,"")),o.push(r),s.push(a),l.push(i),u.push(r),u.push(a),u.push(i);o.sort(e),s.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Je(){return this.hours()%12||12}function Ke(e,t){R(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Qe(e,t){return t._meridiemParse}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,Je),R("k",["kk",2],0,(function(){return this.hours()||24})),R("hmm",0,0,(function(){return""+Je.apply(this)+S(this.minutes(),2)})),R("hmmss",0,0,(function(){return""+Je.apply(this)+S(this.minutes(),2)+S(this.seconds(),2)})),R("Hmm",0,0,(function(){return""+this.hours()+S(this.minutes(),2)})),R("Hmmss",0,0,(function(){return""+this.hours()+S(this.minutes(),2)+S(this.seconds(),2)})),Ke("a",!0),Ke("A",!1),B("hour","h"),V("hour",13),he("a",Qe),he("A",Qe),he("H",re),he("h",re),he("k",re),he("HH",re,Z),he("hh",re,Z),he("kk",re,Z),he("hmm",ae),he("hmmss",ie),he("Hmm",ae),he("Hmmss",ie),ye(["H","HH"],3),ye(["k","kk"],(function(e,t,n){var r=G(e);t[3]=24===r?0:r})),ye(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ye(["h","hh"],(function(e,t,n){t[3]=G(e),m(n).bigHour=!0})),ye("hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r)),m(n).bigHour=!0})),ye("hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(a)),m(n).bigHour=!0})),ye("Hmm",(function(e,t,n){var r=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r))})),ye("Hmmss",(function(e,t,n){var r=e.length-4,a=e.length-2;t[3]=G(e.substr(0,r)),t[4]=G(e.substr(r,2)),t[5]=G(e.substr(a))}));var Xe,Ze=$("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:we,monthsShort:Me,week:{dow:0,doy:6},weekdays:Ue,weekdaysMin:Fe,weekdaysShort:We,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function rt(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=it(a.slice(0,t).join("-")))return r;if(n&&n.length>=t&&rt(a,n)>=t-1)break;t--}i++}return Xe}(e)}function ut(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Ee(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,m(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),m(e)._overflowWeeks&&-1===t&&(t=7),m(e)._overflowWeekday&&-1===t&&(t=8),m(e).overflow=t),e}var dt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ct=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ft=/Z|[+-]\d\d(?::?\d\d)?/,pt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],mt=/^\/?Date\((-?\d+)/i,_t=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function gt(e){var t,n,r,a,i,o,s=e._i,l=dt.exec(s)||ct.exec(s);if(l){for(m(e).iso=!0,t=0,n=pt.length;t7)&&(l=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,u=je(Ct(),i,o),n=At(t.gg,e._a[0],u.year),r=At(t.w,u.week),null!=t.d?((a=t.d)<0||a>6)&&(l=!0):null!=t.e?(a=t.e+i,(t.e<0||t.e>6)&&(l=!0)):a=i),r<1||r>He(n,i,o)?m(e)._overflowWeeks=!0:null!=l?m(e)._overflowWeekday=!0:(s=Ne(n,r,a,i,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=At(e._a[0],r[0]),(e._dayOfYear>Pe(o)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=Ye(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?Ye:Ie).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(m(e).weekdayMismatch=!0)}}function wt(e){if(e._f!==a.ISO_8601)if(e._f!==a.RFC_2822){e._a=[],m(e).empty=!0;var t,n,r,i,o,s,l=""+e._i,u=l.length,d=0;for(r=j(e._f,e._locale).match(P)||[],t=0;t0&&m(e).unusedInput.push(o),l=l.slice(l.indexOf(n)+n.length),d+=n.length),Y[i]?(n?m(e).empty=!1:m(e).unusedTokens.push(i),Ae(i,n,e)):e._strict&&!n&&m(e).unusedTokens.push(i);m(e).charsLeftOver=u-d,l.length>0&&m(e).unusedInput.push(l),e._a[3]<=12&&!0===m(e).bigHour&&e._a[3]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=m(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),Et(e),ut(e)}else bt(e);else gt(e)}function Mt(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new A(ut(t)):(c(t)?e._d=t:i(n)?function(e){var t,n,r,a,i,o,s=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(a=0;athis?this:e:v()}));function Lt(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Ct();for(n=t[0],r=1;r=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function on(e,t){return t.erasAbbrRegex(e)}function sn(){var e,t,n=[],r=[],a=[],i=[],o=this.eras();for(e=0,t=o.length;e(i=He(e,r,a))&&(t=i),dn.call(this,e,t,n,r,a))}function dn(e,t,n,r,a){var i=Ne(e,t,n,r,a),o=Ye(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),he("N",on),he("NN",on),he("NNN",on),he("NNNN",(function(e,t){return t.erasNameRegex(e)})),he("NNNNN",(function(e,t){return t.erasNarrowRegex(e)})),ye(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var a=n._locale.erasParse(e,r,n._strict);a?m(n).era=a:m(n).invalidEra=e})),he("y",ue),he("yy",ue),he("yyy",ue),he("yyyy",ue),he("yo",(function(e,t){return t._eraYearOrdinalRegex||ue})),ye(["y","yy","yyy","yyyy"],0),ye(["yo"],(function(e,t,n,r){var a;n._locale._eraYearOrdinalRegex&&(a=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[0]=n._locale.eraYearOrdinalParse(e,a):t[0]=parseInt(e,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ln("gggg","weekYear"),ln("ggggg","weekYear"),ln("GGGG","isoWeekYear"),ln("GGGGG","isoWeekYear"),B("weekYear","gg"),B("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),he("G",de),he("g",de),he("GG",re,Z),he("gg",re,Z),he("GGGG",se,te),he("gggg",se,te),he("GGGGG",le,ne),he("ggggg",le,ne),be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=G(e)})),be(["gg","GG"],(function(e,t,n,r){t[r]=a.parseTwoDigitYear(e)})),R("Q",0,"Qo","quarter"),B("quarter","Q"),V("quarter",7),he("Q",X),ye("Q",(function(e,t){t[1]=3*(G(e)-1)})),R("D",["DD",2],"Do","date"),B("date","D"),V("date",9),he("D",re),he("DD",re,Z),he("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ye(["D","DD"],2),ye("Do",(function(e,t){t[2]=G(e.match(re)[0])}));var cn=$("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),B("dayOfYear","DDD"),V("dayOfYear",4),he("DDD",oe),he("DDDD",ee),ye(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=G(e)})),R("m",["mm",2],0,"minute"),B("minute","m"),V("minute",14),he("m",re),he("mm",re,Z),ye(["m","mm"],4);var fn=$("Minutes",!1);R("s",["ss",2],0,"second"),B("second","s"),V("second",15),he("s",re),he("ss",re,Z),ye(["s","ss"],5);var pn,hn,mn=$("Seconds",!1);for(R("S",0,0,(function(){return~~(this.millisecond()/100)})),R(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),R(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),R(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),R(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),R(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),R(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),B("millisecond","ms"),V("millisecond",16),he("S",oe,X),he("SS",oe,Z),he("SSS",oe,ee),pn="SSSS";pn.length<=9;pn+="S")he(pn,ue);function _n(e,t){t[6]=G(1e3*("0."+e))}for(pn="S";pn.length<=9;pn+="S")ye(pn,_n);hn=$("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var vn=A.prototype;function gn(e){return e}vn.add=Gt,vn.calendar=function(e,t){1===arguments.length&&(arguments[0]?Kt(arguments[0])?(e=arguments[0],t=void 0):Qt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Ct(),r=Nt(n,this).startOf("day"),i=a.calendarFormat(this,r)||"sameElse",o=t&&(T(t[i])?t[i].call(this,n):t[i]);return this.format(o||this.localeData().calendar(i,this,Ct(n)))},vn.clone=function(){return new A(this)},vn.diff=function(e,t,n){var r,a,i;if(!this.isValid())return NaN;if(!(r=Nt(e,this)).isValid())return NaN;switch(a=6e4*(r.utcOffset()-this.utcOffset()),t=U(t)){case"year":i=Xt(this,r)/12;break;case"month":i=Xt(this,r);break;case"quarter":i=Xt(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-a)/864e5;break;case"week":i=(this-r-a)/6048e5;break;default:i=this-r}return n?i:q(i)},vn.endOf=function(e){var t,n;if(void 0===(e=U(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?an:rn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),a.updateOffset(this,!0),this},vn.format=function(e){e||(e=this.isUtc()?a.defaultFormatUtc:a.defaultFormat);var t=N(this,e);return this.localeData().postformat(t)},vn.from=function(e,t){return this.isValid()&&(E(e)&&e.isValid()||Ct(e).isValid())?Wt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.fromNow=function(e){return this.from(Ct(),e)},vn.to=function(e,t){return this.isValid()&&(E(e)&&e.isValid()||Ct(e).isValid())?Wt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},vn.toNow=function(e){return this.to(Ct(),e)},vn.get=function(e){return T(this[e=U(e)])?this[e]():this},vn.invalidAt=function(){return m(this).overflow},vn.isAfter=function(e,t){var n=E(e)?e:Ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=U(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()9999?N(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",N(n,"Z")):N(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},vn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n=a+'[")]',this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+n)},"undefined"!=typeof Symbol&&null!=Symbol.for&&(vn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),vn.toJSON=function(){return this.isValid()?this.toISOString():null},vn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},vn.unix=function(){return Math.floor(this.valueOf()/1e3)},vn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},vn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},vn.eraName=function(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ethis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},vn.isLocal=function(){return!!this.isValid()&&!this._isUTC},vn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},vn.isUtc=Ht,vn.isUTC=Ht,vn.zoneAbbr=function(){return this._isUTC?"UTC":""},vn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},vn.dates=M("dates accessor is deprecated. Use date instead.",cn),vn.months=M("months accessor is deprecated. Use month instead",ke),vn.years=M("years accessor is deprecated. Use year instead",Oe),vn.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),vn.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return b(t,this),(t=Mt(t))._a?(e=t._isUTC?h(t._a):Ct(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var r,a=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0;for(r=0;r0):this._isDSTShifted=!1,this._isDSTShifted}));var yn=k.prototype;function bn(e,t,n,r){var a=lt(),i=h().set(r,t);return a[n](i,e)}function An(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return bn(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=bn(e,r,n,"month");return a}function En(e,t,n,r){"boolean"==typeof e?(d(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,d(t)&&(n=t,t=void 0),t=t||"");var a,i=lt(),o=e?i._week.dow:0,s=[];if(null!=n)return bn(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=bn(t,(a+o)%7,r,"day");return s}yn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return T(r)?r.call(t,n):r},yn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(P).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])},yn.invalidDate=function(){return this._invalidDate},yn.ordinal=function(e){return this._ordinal.replace("%d",e)},yn.preparse=gn,yn.postformat=gn,yn.relativeTime=function(e,t,n,r){var a=this._relativeTime[n];return T(a)?a(e,t,n,r):a.replace(/%d/i,e)},yn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)},yn.set=function(e){var t,n;for(n in e)s(e,n)&&(T(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},yn.eras=function(e,t){var n,r,i,o=this._eras||lt("en")._eras;for(n=0,r=o.length;n=0)return l[r]},yn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?a(e.since).year():a(e.since).year()+(t-e.offset)*n},yn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||sn.call(this),e?this._erasAbbrRegex:this._erasRegex},yn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||sn.call(this),e?this._erasNameRegex:this._erasRegex},yn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||sn.call(this),e?this._erasNarrowRegex:this._erasRegex},yn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||De).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},yn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[De.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},yn.monthsParse=function(e,t,n){var r,a,i;if(this._monthsParseExact)return Te.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(a=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},yn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Se.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=xe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},yn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Se.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Ce),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},yn.week=function(e){return je(e,this._week.dow,this._week.doy).week},yn.firstDayOfYear=function(){return this._week.doy},yn.firstDayOfWeek=function(){return this._week.dow},yn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Be(n,this._week.dow):e?n[e.day()]:n},yn.weekdaysMin=function(e){return!0===e?Be(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},yn.weekdaysShort=function(e){return!0===e?Be(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},yn.weekdaysParse=function(e,t,n){var r,a,i;if(this._weekdaysParseExact)return Ge.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(a=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},yn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Ve),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},yn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ze),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},yn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},yn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},yn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===G(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),a.lang=M("moment.lang is deprecated. Use moment.locale instead.",ot),a.langData=M("moment.langData is deprecated. Use moment.localeData instead.",lt);var wn=Math.abs;function Mn(e,t,n,r){var a=Wt(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}function Dn(e){return e<0?Math.floor(e):Math.ceil(e)}function Cn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}var Ln=Tn("ms"),kn=Tn("s"),Sn=Tn("m"),Pn=Tn("h"),On=Tn("d"),In=Tn("w"),Yn=Tn("M"),Rn=Tn("Q"),Nn=Tn("y");function jn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Hn=jn("milliseconds"),Bn=jn("seconds"),Un=jn("minutes"),Wn=jn("hours"),Fn=jn("days"),Vn=jn("months"),zn=jn("years"),qn=Math.round,Gn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $n(e,t,n,r,a){return a.relativeTime(t||1,!!n,e,r)}var Jn=Math.abs;function Kn(e){return(e>0)-(e<0)||+e}function Qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,a,i,o,s,l=Jn(this._milliseconds)/1e3,u=Jn(this._days),d=Jn(this._months),c=this.asSeconds();return c?(e=q(l/60),t=q(e/60),l%=60,e%=60,n=q(d/12),d%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=c<0?"-":"",i=Kn(this._months)!==Kn(c)?"-":"",o=Kn(this._days)!==Kn(c)?"-":"",s=Kn(this._milliseconds)!==Kn(c)?"-":"",a+"P"+(n?i+n+"Y":"")+(d?i+d+"M":"")+(u?o+u+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var Xn=St.prototype;return Xn.isValid=function(){return this._isValid},Xn.abs=function(){var e=this._data;return this._milliseconds=wn(this._milliseconds),this._days=wn(this._days),this._months=wn(this._months),e.milliseconds=wn(e.milliseconds),e.seconds=wn(e.seconds),e.minutes=wn(e.minutes),e.hours=wn(e.hours),e.months=wn(e.months),e.years=wn(e.years),this},Xn.add=function(e,t){return Mn(this,e,t,1)},Xn.subtract=function(e,t){return Mn(this,e,t,-1)},Xn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=U(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Cn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(xn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Xn.asMilliseconds=Ln,Xn.asSeconds=kn,Xn.asMinutes=Sn,Xn.asHours=Pn,Xn.asDays=On,Xn.asWeeks=In,Xn.asMonths=Yn,Xn.asQuarters=Rn,Xn.asYears=Nn,Xn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*G(this._months/12):NaN},Xn._bubble=function(){var e,t,n,r,a,i=this._milliseconds,o=this._days,s=this._months,l=this._data;return i>=0&&o>=0&&s>=0||i<=0&&o<=0&&s<=0||(i+=864e5*Dn(xn(s)+o),o=0,s=0),l.milliseconds=i%1e3,e=q(i/1e3),l.seconds=e%60,t=q(e/60),l.minutes=t%60,n=q(t/60),l.hours=n%24,o+=q(n/24),a=q(Cn(o)),s+=a,o-=Dn(xn(a)),r=q(s/12),s%=12,l.days=o,l.months=s,l.years=r,this},Xn.clone=function(){return Wt(this)},Xn.get=function(e){return e=U(e),this.isValid()?this[e+"s"]():NaN},Xn.milliseconds=Hn,Xn.seconds=Bn,Xn.minutes=Un,Xn.hours=Wn,Xn.days=Fn,Xn.weeks=function(){return q(this.days()/7)},Xn.months=Vn,Xn.years=zn,Xn.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,a=!1,i=Gn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(a=e),"object"==typeof t&&(i=Object.assign({},Gn,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),n=this.localeData(),r=function(e,t,n,r){var a=Wt(e).abs(),i=qn(a.as("s")),o=qn(a.as("m")),s=qn(a.as("h")),l=qn(a.as("d")),u=qn(a.as("M")),d=qn(a.as("w")),c=qn(a.as("y")),f=i<=n.ss&&["s",i]||i0,f[4]=r,$n.apply(null,f)}(this,!a,i,n),a&&(r=n.pastFuture(+this,r)),n.postformat(r)},Xn.toISOString=Qn,Xn.toString=Qn,Xn.toJSON=Qn,Xn.locale=Zt,Xn.localeData=tn,Xn.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Qn),Xn.lang=en,R("X",0,0,"unix"),R("x",0,0,"valueOf"),he("x",de),he("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ye("x",(function(e,t,n){n._d=new Date(G(e))})),//! moment.js -a.version="2.29.1",t=Ct,a.fn=vn,a.min=function(){var e=[].slice.call(arguments,0);return Lt("isBefore",e)},a.max=function(){var e=[].slice.call(arguments,0);return Lt("isAfter",e)},a.now=function(){return Date.now?Date.now():+new Date},a.utc=h,a.unix=function(e){return Ct(1e3*e)},a.months=function(e,t){return An(e,t,"months")},a.isDate=c,a.locale=ot,a.invalid=v,a.duration=Wt,a.isMoment=E,a.weekdays=function(e,t,n){return En(e,t,n,"weekdays")},a.parseZone=function(){return Ct.apply(null,arguments).parseZone()},a.localeData=lt,a.isDuration=Pt,a.monthsShort=function(e,t){return An(e,t,"monthsShort")},a.weekdaysMin=function(e,t,n){return En(e,t,n,"weekdaysMin")},a.defineLocale=st,a.updateLocale=function(e,t){if(null!=t){var n,r,a=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(L(tt[e]._config,t)):(null!=(r=it(e))&&(a=r._config),t=L(a,t),null==r&&(t.abbr=e),(n=new k(t)).parentLocale=tt[e],tt[e]=n),ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===ot()&&ot(e)):null!=tt[e]&&delete tt[e]);return tt[e]},a.locales=function(){return D(tt)},a.weekdaysShort=function(e,t,n){return En(e,t,n,"weekdaysShort")},a.normalizeUnits=U,a.relativeTimeRounding=function(e){return void 0===e?qn:"function"==typeof e&&(qn=e,!0)},a.relativeTimeThreshold=function(e,t){return void 0!==Gn[e]&&(void 0===t?Gn[e]:(Gn[e]=t,"s"===e&&(Gn.ss=t-1),!0))},a.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},a.prototype=vn,a.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},a}()}).call(this,n(104)(e))},function(t,n){t.exports=e},function(e,t,n){"use strict";e.exports=n(296)()},function(e,t,n){"use strict";function r(){return t.default=r=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a},e.exports=t.default},function(e,t,n){"use strict";var r; -/*! + ) { + if ((r = it(a.slice(0, t).join('-')))) + return r; + if (n && n.length >= t && rt(a, n) >= t - 1) + break; + t--; + } + i++; + } + return Xe; + })(e); + } + function ut(e) { + var t, + n = e._a; + return ( + n && + -2 === m(e).overflow && + ((t = + n[1] < 0 || n[1] > 11 + ? 1 + : n[2] < 1 || n[2] > Ee(n[0], n[1]) + ? 2 + : n[3] < 0 || + n[3] > 24 || + (24 === n[3] && + (0 !== n[4] || + 0 !== n[5] || + 0 !== n[6])) + ? 3 + : n[4] < 0 || n[4] > 59 + ? 4 + : n[5] < 0 || n[5] > 59 + ? 5 + : n[6] < 0 || n[6] > 999 + ? 6 + : -1), + m(e)._overflowDayOfYear && + (t < 0 || t > 2) && + (t = 2), + m(e)._overflowWeeks && -1 === t && (t = 7), + m(e)._overflowWeekday && -1 === t && (t = 8), + (m(e).overflow = t)), + e + ); + } + var dt = + /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, + ct = + /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, + ft = /Z|[+-]\d\d(?::?\d\d)?/, + pt = [ + ['YYYYYY-MM-DD', /[+-]\d{6}-\d\d-\d\d/], + ['YYYY-MM-DD', /\d{4}-\d\d-\d\d/], + ['GGGG-[W]WW-E', /\d{4}-W\d\d-\d/], + ['GGGG-[W]WW', /\d{4}-W\d\d/, !1], + ['YYYY-DDD', /\d{4}-\d{3}/], + ['YYYY-MM', /\d{4}-\d\d/, !1], + ['YYYYYYMMDD', /[+-]\d{10}/], + ['YYYYMMDD', /\d{8}/], + ['GGGG[W]WWE', /\d{4}W\d{3}/], + ['GGGG[W]WW', /\d{4}W\d{2}/, !1], + ['YYYYDDD', /\d{7}/], + ['YYYYMM', /\d{6}/, !1], + ['YYYY', /\d{4}/, !1], + ], + ht = [ + ['HH:mm:ss.SSSS', /\d\d:\d\d:\d\d\.\d+/], + ['HH:mm:ss,SSSS', /\d\d:\d\d:\d\d,\d+/], + ['HH:mm:ss', /\d\d:\d\d:\d\d/], + ['HH:mm', /\d\d:\d\d/], + ['HHmmss.SSSS', /\d\d\d\d\d\d\.\d+/], + ['HHmmss,SSSS', /\d\d\d\d\d\d,\d+/], + ['HHmmss', /\d\d\d\d\d\d/], + ['HHmm', /\d\d\d\d/], + ['HH', /\d\d/], + ], + mt = /^\/?Date\((-?\d+)/i, + _t = + /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, + vt = { + UT: 0, + GMT: 0, + EDT: -240, + EST: -300, + CDT: -300, + CST: -360, + MDT: -360, + MST: -420, + PDT: -420, + PST: -480, + }; + function gt(e) { + var t, + n, + r, + a, + i, + o, + s = e._i, + l = dt.exec(s) || ct.exec(s); + if (l) { + for ( + m(e).iso = !0, t = 0, n = pt.length; + t < n; + t++ + ) + if (pt[t][1].exec(l[1])) { + (a = pt[t][0]), (r = !1 !== pt[t][2]); + break; + } + if (null == a) return void (e._isValid = !1); + if (l[3]) { + for (t = 0, n = ht.length; t < n; t++) + if (ht[t][1].exec(l[3])) { + i = (l[2] || ' ') + ht[t][0]; + break; + } + if (null == i) return void (e._isValid = !1); + } + if (!r && null != i) return void (e._isValid = !1); + if (l[4]) { + if (!ft.exec(l[4])) + return void (e._isValid = !1); + o = 'Z'; + } + (e._f = a + (i || '') + (o || '')), wt(e); + } else e._isValid = !1; + } + function yt(e) { + var t = parseInt(e, 10); + return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t; + } + function bt(e) { + var t, + n, + r, + a, + i, + o, + s, + l, + u = _t.exec( + e._i + .replace(/\([^)]*\)|[\n\t]/g, ' ') + .replace(/(\s\s+)/g, ' ') + .replace(/^\s\s*/, '') + .replace(/\s\s*$/, '') + ); + if (u) { + if ( + ((n = u[4]), + (r = u[3]), + (a = u[2]), + (i = u[5]), + (o = u[6]), + (s = u[7]), + (l = [ + yt(n), + De.indexOf(r), + parseInt(a, 10), + parseInt(i, 10), + parseInt(o, 10), + ]), + s && l.push(parseInt(s, 10)), + (t = l), + !(function (e, t, n) { + return ( + !e || + We.indexOf(e) === + new Date( + t[0], + t[1], + t[2] + ).getDay() || + ((m(n).weekdayMismatch = !0), + (n._isValid = !1), + !1) + ); + })(u[1], t, e)) + ) + return; + (e._a = t), + (e._tzm = (function (e, t, n) { + if (e) return vt[e]; + if (t) return 0; + var r = parseInt(n, 10), + a = r % 100; + return ((r - a) / 100) * 60 + a; + })(u[8], u[9], u[10])), + (e._d = Ye.apply(null, e._a)), + e._d.setUTCMinutes( + e._d.getUTCMinutes() - e._tzm + ), + (m(e).rfc2822 = !0); + } else e._isValid = !1; + } + function At(e, t, n) { + return null != e ? e : null != t ? t : n; + } + function Et(e) { + var t, + n, + r, + i, + o, + s = []; + if (!e._d) { + for ( + r = (function (e) { + var t = new Date(a.now()); + return e._useUTC + ? [ + t.getUTCFullYear(), + t.getUTCMonth(), + t.getUTCDate(), + ] + : [ + t.getFullYear(), + t.getMonth(), + t.getDate(), + ]; + })(e), + e._w && + null == e._a[2] && + null == e._a[1] && + (function (e) { + var t, n, r, a, i, o, s, l, u; + null != (t = e._w).GG || + null != t.W || + null != t.E + ? ((i = 1), + (o = 4), + (n = At( + t.GG, + e._a[0], + je(Mt(), 1, 4).year + )), + (r = At(t.W, 1)), + ((a = At(t.E, 1)) < 1 || + a > 7) && + (l = !0)) + : ((i = e._locale._week.dow), + (o = e._locale._week.doy), + (u = je(Mt(), i, o)), + (n = At( + t.gg, + e._a[0], + u.year + )), + (r = At(t.w, u.week)), + null != t.d + ? ((a = t.d) < 0 || + a > 6) && + (l = !0) + : null != t.e + ? ((a = t.e + i), + (t.e < 0 || t.e > 6) && + (l = !0)) + : (a = i)), + r < 1 || r > He(n, i, o) + ? (m(e)._overflowWeeks = !0) + : null != l + ? (m(e)._overflowWeekday = + !0) + : ((s = Ne(n, r, a, i, o)), + (e._a[0] = s.year), + (e._dayOfYear = + s.dayOfYear)); + })(e), + null != e._dayOfYear && + ((o = At(e._a[0], r[0])), + (e._dayOfYear > Oe(o) || + 0 === e._dayOfYear) && + (m(e)._overflowDayOfYear = !0), + (n = Ye(o, 0, e._dayOfYear)), + (e._a[1] = n.getUTCMonth()), + (e._a[2] = n.getUTCDate())), + t = 0; + t < 3 && null == e._a[t]; + ++t + ) + e._a[t] = s[t] = r[t]; + for (; t < 7; t++) + e._a[t] = s[t] = + null == e._a[t] + ? 2 === t + ? 1 + : 0 + : e._a[t]; + 24 === e._a[3] && + 0 === e._a[4] && + 0 === e._a[5] && + 0 === e._a[6] && + ((e._nextDay = !0), (e._a[3] = 0)), + (e._d = (e._useUTC ? Ye : Pe).apply(null, s)), + (i = e._useUTC + ? e._d.getUTCDay() + : e._d.getDay()), + null != e._tzm && + e._d.setUTCMinutes( + e._d.getUTCMinutes() - e._tzm + ), + e._nextDay && (e._a[3] = 24), + e._w && + void 0 !== e._w.d && + e._w.d !== i && + (m(e).weekdayMismatch = !0); + } + } + function wt(e) { + if (e._f !== a.ISO_8601) + if (e._f !== a.RFC_2822) { + (e._a = []), (m(e).empty = !0); + var t, + n, + r, + i, + o, + s, + l = '' + e._i, + u = l.length, + d = 0; + for ( + r = j(e._f, e._locale).match(O) || [], + t = 0; + t < r.length; + t++ + ) + (i = r[t]), + (n = (l.match(me(i, e)) || [])[0]) && + ((o = l.substr(0, l.indexOf(n))) + .length > 0 && + m(e).unusedInput.push(o), + (l = l.slice( + l.indexOf(n) + n.length + )), + (d += n.length)), + Y[i] + ? (n + ? (m(e).empty = !1) + : m(e).unusedTokens.push(i), + Ae(i, n, e)) + : e._strict && + !n && + m(e).unusedTokens.push(i); + (m(e).charsLeftOver = u - d), + l.length > 0 && m(e).unusedInput.push(l), + e._a[3] <= 12 && + !0 === m(e).bigHour && + e._a[3] > 0 && + (m(e).bigHour = void 0), + (m(e).parsedDateParts = e._a.slice(0)), + (m(e).meridiem = e._meridiem), + (e._a[3] = (function (e, t, n) { + var r; + return null == n + ? t + : null != e.meridiemHour + ? e.meridiemHour(t, n) + : null != e.isPM + ? ((r = e.isPM(n)) && + t < 12 && + (t += 12), + r || 12 !== t || (t = 0), + t) + : t; + })(e._locale, e._a[3], e._meridiem)), + null !== (s = m(e).era) && + (e._a[0] = e._locale.erasConvertYear( + s, + e._a[0] + )), + Et(e), + ut(e); + } else bt(e); + else gt(e); + } + function Dt(e) { + var t = e._i, + n = e._f; + return ( + (e._locale = e._locale || lt(e._l)), + null === t || (void 0 === n && '' === t) + ? v({ nullInput: !0 }) + : ('string' == typeof t && + (e._i = t = e._locale.preparse(t)), + E(t) + ? new A(ut(t)) + : (c(t) + ? (e._d = t) + : i(n) + ? (function (e) { + var t, + n, + r, + a, + i, + o, + s = !1; + if (0 === e._f.length) + return ( + (m(e).invalidFormat = + !0), + void (e._d = new Date( + NaN + )) + ); + for ( + a = 0; + a < e._f.length; + a++ + ) + (i = 0), + (o = !1), + (t = b({}, e)), + null != e._useUTC && + (t._useUTC = + e._useUTC), + (t._f = e._f[a]), + wt(t), + _(t) && (o = !0), + (i += + m( + t + ).charsLeftOver), + (i += + 10 * + m(t).unusedTokens + .length), + (m(t).score = i), + s + ? i < r && + ((r = i), + (n = t)) + : (null == r || + i < r || + o) && + ((r = i), + (n = t), + o && (s = !0)); + p(e, n || t); + })(e) + : n + ? wt(e) + : (function (e) { + var t = e._i; + u(t) + ? (e._d = new Date( + a.now() + )) + : c(t) + ? (e._d = new Date( + t.valueOf() + )) + : 'string' == typeof t + ? (function (e) { + var t = mt.exec( + e._i + ); + null === t + ? (gt(e), + !1 === + e._isValid && + (delete e._isValid, + bt(e), + !1 === + e._isValid && + (delete e._isValid, + e._strict + ? (e._isValid = + !1) + : a.createFromInputFallback( + e + )))) + : (e._d = + new Date( + +t[1] + )); + })(e) + : i(t) + ? ((e._a = f( + t.slice(0), + function (e) { + return parseInt( + e, + 10 + ); + } + )), + Et(e)) + : o(t) + ? (function (e) { + if (!e._d) { + var t = W(e._i), + n = + void 0 === + t.day + ? t.date + : t.day; + (e._a = f( + [ + t.year, + t.month, + n, + t.hour, + t.minute, + t.second, + t.millisecond, + ], + function ( + e + ) { + return ( + e && + parseInt( + e, + 10 + ) + ); + } + )), + Et(e); + } + })(e) + : d(t) + ? (e._d = new Date(t)) + : a.createFromInputFallback( + e + ); + })(e), + _(e) || (e._d = null), + e)) + ); + } + function Ct(e, t, n, r, a) { + var s, + u = {}; + return ( + (!0 !== t && !1 !== t) || ((r = t), (t = void 0)), + (!0 !== n && !1 !== n) || ((r = n), (n = void 0)), + ((o(e) && l(e)) || (i(e) && 0 === e.length)) && + (e = void 0), + (u._isAMomentObject = !0), + (u._useUTC = u._isUTC = a), + (u._l = n), + (u._i = e), + (u._f = t), + (u._strict = r), + (s = new A(ut(Dt(u))))._nextDay && + (s.add(1, 'd'), (s._nextDay = void 0)), + s + ); + } + function Mt(e, t, n, r) { + return Ct(e, t, n, r, !1); + } + (a.createFromInputFallback = D( + 'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.', + function (e) { + e._d = new Date(e._i + (e._useUTC ? ' UTC' : '')); + } + )), + (a.ISO_8601 = function () {}), + (a.RFC_2822 = function () {}); + var xt = D( + 'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var e = Mt.apply(null, arguments); + return this.isValid() && e.isValid() + ? e < this + ? this + : e + : v(); + } + ), + Tt = D( + 'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/', + function () { + var e = Mt.apply(null, arguments); + return this.isValid() && e.isValid() + ? e > this + ? this + : e + : v(); + } + ); + function Lt(e, t) { + var n, r; + if ( + (1 === t.length && i(t[0]) && (t = t[0]), !t.length) + ) + return Mt(); + for (n = t[0], r = 1; r < t.length; ++r) + (t[r].isValid() && !t[r][e](n)) || (n = t[r]); + return n; + } + var St = [ + 'year', + 'quarter', + 'month', + 'week', + 'day', + 'hour', + 'minute', + 'second', + 'millisecond', + ]; + function kt(e) { + var t = W(e), + n = t.year || 0, + r = t.quarter || 0, + a = t.month || 0, + i = t.week || t.isoWeek || 0, + o = t.day || 0, + l = t.hour || 0, + u = t.minute || 0, + d = t.second || 0, + c = t.millisecond || 0; + (this._isValid = (function (e) { + var t, + n, + r = !1; + for (t in e) + if ( + s(e, t) && + (-1 === ve.call(St, t) || + (null != e[t] && isNaN(e[t]))) + ) + return !1; + for (n = 0; n < St.length; ++n) + if (e[St[n]]) { + if (r) return !1; + parseFloat(e[St[n]]) !== G(e[St[n]]) && + (r = !0); + } + return !0; + })(t)), + (this._milliseconds = + +c + 1e3 * d + 6e4 * u + 1e3 * l * 60 * 60), + (this._days = +o + 7 * i), + (this._months = +a + 3 * r + 12 * n), + (this._data = {}), + (this._locale = lt()), + this._bubble(); + } + function Ot(e) { + return e instanceof kt; + } + function It(e) { + return e < 0 ? -1 * Math.round(-1 * e) : Math.round(e); + } + function Pt(e, t) { + R(e, 0, 0, function () { + var e = this.utcOffset(), + n = '+'; + return ( + e < 0 && ((e = -e), (n = '-')), + n + k(~~(e / 60), 2) + t + k(~~e % 60, 2) + ); + }); + } + Pt('Z', ':'), + Pt('ZZ', ''), + he('Z', fe), + he('ZZ', fe), + ye(['Z', 'ZZ'], function (e, t, n) { + (n._useUTC = !0), (n._tzm = Rt(fe, e)); + }); + var Yt = /([\+\-]|\d\d)/gi; + function Rt(e, t) { + var n, + r, + a = (t || '').match(e); + return null === a + ? null + : 0 === + (r = + 60 * + (n = ((a[a.length - 1] || []) + '').match( + Yt + ) || ['-', 0, 0])[1] + + G(n[2])) + ? 0 + : '+' === n[0] + ? r + : -r; + } + function Nt(e, t) { + var n, r; + return t._isUTC + ? ((n = t.clone()), + (r = + (E(e) || c(e) + ? e.valueOf() + : Mt(e).valueOf()) - n.valueOf()), + n._d.setTime(n._d.valueOf() + r), + a.updateOffset(n, !1), + n) + : Mt(e).local(); + } + function jt(e) { + return -Math.round(e._d.getTimezoneOffset()); + } + function Ht() { + return ( + !!this.isValid() && + this._isUTC && + 0 === this._offset + ); + } + a.updateOffset = function () {}; + var Bt = + /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, + Ut = + /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/; + function Wt(e, t) { + var n, + r, + a, + i, + o, + l, + u = e, + c = null; + return ( + Ot(e) + ? (u = { + ms: e._milliseconds, + d: e._days, + M: e._months, + }) + : d(e) || !isNaN(+e) + ? ((u = {}), + t ? (u[t] = +e) : (u.milliseconds = +e)) + : (c = Bt.exec(e)) + ? ((n = '-' === c[1] ? -1 : 1), + (u = { + y: 0, + d: G(c[2]) * n, + h: G(c[3]) * n, + m: G(c[4]) * n, + s: G(c[5]) * n, + ms: G(It(1e3 * c[6])) * n, + })) + : (c = Ut.exec(e)) + ? ((n = '-' === c[1] ? -1 : 1), + (u = { + y: Ft(c[2], n), + M: Ft(c[3], n), + w: Ft(c[4], n), + d: Ft(c[5], n), + h: Ft(c[6], n), + m: Ft(c[7], n), + s: Ft(c[8], n), + })) + : null == u + ? (u = {}) + : 'object' == typeof u && + ('from' in u || 'to' in u) && + ((i = Mt(u.from)), + (o = Mt(u.to)), + (a = + i.isValid() && o.isValid() + ? ((o = Nt(o, i)), + i.isBefore(o) + ? (l = Vt(i, o)) + : (((l = Vt( + o, + i + )).milliseconds = + -l.milliseconds), + (l.months = -l.months)), + l) + : { milliseconds: 0, months: 0 }), + ((u = {}).ms = a.milliseconds), + (u.M = a.months)), + (r = new kt(u)), + Ot(e) && s(e, '_locale') && (r._locale = e._locale), + Ot(e) && + s(e, '_isValid') && + (r._isValid = e._isValid), + r + ); + } + function Ft(e, t) { + var n = e && parseFloat(e.replace(',', '.')); + return (isNaN(n) ? 0 : n) * t; + } + function Vt(e, t) { + var n = {}; + return ( + (n.months = + t.month() - + e.month() + + 12 * (t.year() - e.year())), + e.clone().add(n.months, 'M').isAfter(t) && + --n.months, + (n.milliseconds = + +t - +e.clone().add(n.months, 'M')), + n + ); + } + function zt(e, t) { + return function (n, r) { + var a; + return ( + null === r || + isNaN(+r) || + (x( + t, + 'moment().' + + t + + '(period, number) is deprecated. Please use moment().' + + t + + '(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.' + ), + (a = n), + (n = r), + (r = a)), + qt(this, Wt(n, r), e), + this + ); + }; + } + function qt(e, t, n, r) { + var i = t._milliseconds, + o = It(t._days), + s = It(t._months); + e.isValid() && + ((r = null == r || r), + s && Le(e, J(e, 'Month') + s * n), + o && K(e, 'Date', J(e, 'Date') + o * n), + i && e._d.setTime(e._d.valueOf() + i * n), + r && a.updateOffset(e, o || s)); + } + (Wt.fn = kt.prototype), + (Wt.invalid = function () { + return Wt(NaN); + }); + var Gt = zt(1, 'add'), + $t = zt(-1, 'subtract'); + function Jt(e) { + return 'string' == typeof e || e instanceof String; + } + function Kt(e) { + return ( + E(e) || + c(e) || + Jt(e) || + d(e) || + (function (e) { + var t = i(e), + n = !1; + return ( + t && + (n = + 0 === + e.filter(function (t) { + return !d(t) && Jt(e); + }).length), + t && n + ); + })(e) || + (function (e) { + var t, + n, + r = o(e) && !l(e), + a = !1, + i = [ + 'years', + 'year', + 'y', + 'months', + 'month', + 'M', + 'days', + 'day', + 'd', + 'dates', + 'date', + 'D', + 'hours', + 'hour', + 'h', + 'minutes', + 'minute', + 'm', + 'seconds', + 'second', + 's', + 'milliseconds', + 'millisecond', + 'ms', + ]; + for (t = 0; t < i.length; t += 1) + (n = i[t]), (a = a || s(e, n)); + return r && a; + })(e) || + null == e + ); + } + function Qt(e) { + var t, + n = o(e) && !l(e), + r = !1, + a = [ + 'sameDay', + 'nextDay', + 'lastDay', + 'nextWeek', + 'lastWeek', + 'sameElse', + ]; + for (t = 0; t < a.length; t += 1) r = r || s(e, a[t]); + return n && r; + } + function Xt(e, t) { + if (e.date() < t.date()) return -Xt(t, e); + var n = + 12 * (t.year() - e.year()) + + (t.month() - e.month()), + r = e.clone().add(n, 'months'); + return ( + -( + n + + (t - r < 0 + ? (t - r) / + (r - e.clone().add(n - 1, 'months')) + : (t - r) / + (e.clone().add(n + 1, 'months') - r)) + ) || 0 + ); + } + function Zt(e) { + var t; + return void 0 === e + ? this._locale._abbr + : (null != (t = lt(e)) && (this._locale = t), this); + } + (a.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ'), + (a.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]'); + var en = D( + 'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.', + function (e) { + return void 0 === e + ? this.localeData() + : this.locale(e); + } + ); + function tn() { + return this._locale; + } + function nn(e, t) { + return ((e % t) + t) % t; + } + function rn(e, t, n) { + return e < 100 && e >= 0 + ? new Date(e + 400, t, n) - 126227808e5 + : new Date(e, t, n).valueOf(); + } + function an(e, t, n) { + return e < 100 && e >= 0 + ? Date.UTC(e + 400, t, n) - 126227808e5 + : Date.UTC(e, t, n); + } + function on(e, t) { + return t.erasAbbrRegex(e); + } + function sn() { + var e, + t, + n = [], + r = [], + a = [], + i = [], + o = this.eras(); + for (e = 0, t = o.length; e < t; ++e) + r.push(_e(o[e].name)), + n.push(_e(o[e].abbr)), + a.push(_e(o[e].narrow)), + i.push(_e(o[e].name)), + i.push(_e(o[e].abbr)), + i.push(_e(o[e].narrow)); + (this._erasRegex = new RegExp( + '^(' + i.join('|') + ')', + 'i' + )), + (this._erasNameRegex = new RegExp( + '^(' + r.join('|') + ')', + 'i' + )), + (this._erasAbbrRegex = new RegExp( + '^(' + n.join('|') + ')', + 'i' + )), + (this._erasNarrowRegex = new RegExp( + '^(' + a.join('|') + ')', + 'i' + )); + } + function ln(e, t) { + R(0, [e, e.length], 0, t); + } + function un(e, t, n, r, a) { + var i; + return null == e + ? je(this, r, a).year + : (t > (i = He(e, r, a)) && (t = i), + dn.call(this, e, t, n, r, a)); + } + function dn(e, t, n, r, a) { + var i = Ne(e, t, n, r, a), + o = Ye(i.year, 0, i.dayOfYear); + return ( + this.year(o.getUTCFullYear()), + this.month(o.getUTCMonth()), + this.date(o.getUTCDate()), + this + ); + } + R('N', 0, 0, 'eraAbbr'), + R('NN', 0, 0, 'eraAbbr'), + R('NNN', 0, 0, 'eraAbbr'), + R('NNNN', 0, 0, 'eraName'), + R('NNNNN', 0, 0, 'eraNarrow'), + R('y', ['y', 1], 'yo', 'eraYear'), + R('y', ['yy', 2], 0, 'eraYear'), + R('y', ['yyy', 3], 0, 'eraYear'), + R('y', ['yyyy', 4], 0, 'eraYear'), + he('N', on), + he('NN', on), + he('NNN', on), + he('NNNN', function (e, t) { + return t.erasNameRegex(e); + }), + he('NNNNN', function (e, t) { + return t.erasNarrowRegex(e); + }), + ye( + ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], + function (e, t, n, r) { + var a = n._locale.erasParse(e, r, n._strict); + a ? (m(n).era = a) : (m(n).invalidEra = e); + } + ), + he('y', ue), + he('yy', ue), + he('yyy', ue), + he('yyyy', ue), + he('yo', function (e, t) { + return t._eraYearOrdinalRegex || ue; + }), + ye(['y', 'yy', 'yyy', 'yyyy'], 0), + ye(['yo'], function (e, t, n, r) { + var a; + n._locale._eraYearOrdinalRegex && + (a = e.match(n._locale._eraYearOrdinalRegex)), + n._locale.eraYearOrdinalParse + ? (t[0] = n._locale.eraYearOrdinalParse( + e, + a + )) + : (t[0] = parseInt(e, 10)); + }), + R(0, ['gg', 2], 0, function () { + return this.weekYear() % 100; + }), + R(0, ['GG', 2], 0, function () { + return this.isoWeekYear() % 100; + }), + ln('gggg', 'weekYear'), + ln('ggggg', 'weekYear'), + ln('GGGG', 'isoWeekYear'), + ln('GGGGG', 'isoWeekYear'), + B('weekYear', 'gg'), + B('isoWeekYear', 'GG'), + V('weekYear', 1), + V('isoWeekYear', 1), + he('G', de), + he('g', de), + he('GG', re, Z), + he('gg', re, Z), + he('GGGG', se, te), + he('gggg', se, te), + he('GGGGG', le, ne), + he('ggggg', le, ne), + be( + ['gggg', 'ggggg', 'GGGG', 'GGGGG'], + function (e, t, n, r) { + t[r.substr(0, 2)] = G(e); + } + ), + be(['gg', 'GG'], function (e, t, n, r) { + t[r] = a.parseTwoDigitYear(e); + }), + R('Q', 0, 'Qo', 'quarter'), + B('quarter', 'Q'), + V('quarter', 7), + he('Q', X), + ye('Q', function (e, t) { + t[1] = 3 * (G(e) - 1); + }), + R('D', ['DD', 2], 'Do', 'date'), + B('date', 'D'), + V('date', 9), + he('D', re), + he('DD', re, Z), + he('Do', function (e, t) { + return e + ? t._dayOfMonthOrdinalParse || t._ordinalParse + : t._dayOfMonthOrdinalParseLenient; + }), + ye(['D', 'DD'], 2), + ye('Do', function (e, t) { + t[2] = G(e.match(re)[0]); + }); + var cn = $('Date', !0); + R('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear'), + B('dayOfYear', 'DDD'), + V('dayOfYear', 4), + he('DDD', oe), + he('DDDD', ee), + ye(['DDD', 'DDDD'], function (e, t, n) { + n._dayOfYear = G(e); + }), + R('m', ['mm', 2], 0, 'minute'), + B('minute', 'm'), + V('minute', 14), + he('m', re), + he('mm', re, Z), + ye(['m', 'mm'], 4); + var fn = $('Minutes', !1); + R('s', ['ss', 2], 0, 'second'), + B('second', 's'), + V('second', 15), + he('s', re), + he('ss', re, Z), + ye(['s', 'ss'], 5); + var pn, + hn, + mn = $('Seconds', !1); + for ( + R('S', 0, 0, function () { + return ~~(this.millisecond() / 100); + }), + R(0, ['SS', 2], 0, function () { + return ~~(this.millisecond() / 10); + }), + R(0, ['SSS', 3], 0, 'millisecond'), + R(0, ['SSSS', 4], 0, function () { + return 10 * this.millisecond(); + }), + R(0, ['SSSSS', 5], 0, function () { + return 100 * this.millisecond(); + }), + R(0, ['SSSSSS', 6], 0, function () { + return 1e3 * this.millisecond(); + }), + R(0, ['SSSSSSS', 7], 0, function () { + return 1e4 * this.millisecond(); + }), + R(0, ['SSSSSSSS', 8], 0, function () { + return 1e5 * this.millisecond(); + }), + R(0, ['SSSSSSSSS', 9], 0, function () { + return 1e6 * this.millisecond(); + }), + B('millisecond', 'ms'), + V('millisecond', 16), + he('S', oe, X), + he('SS', oe, Z), + he('SSS', oe, ee), + pn = 'SSSS'; + pn.length <= 9; + pn += 'S' + ) + he(pn, ue); + function _n(e, t) { + t[6] = G(1e3 * ('0.' + e)); + } + for (pn = 'S'; pn.length <= 9; pn += 'S') ye(pn, _n); + (hn = $('Milliseconds', !1)), + R('z', 0, 0, 'zoneAbbr'), + R('zz', 0, 0, 'zoneName'); + var vn = A.prototype; + function gn(e) { + return e; + } + (vn.add = Gt), + (vn.calendar = function (e, t) { + 1 === arguments.length && + (arguments[0] + ? Kt(arguments[0]) + ? ((e = arguments[0]), (t = void 0)) + : Qt(arguments[0]) && + ((t = arguments[0]), (e = void 0)) + : ((e = void 0), (t = void 0))); + var n = e || Mt(), + r = Nt(n, this).startOf('day'), + i = a.calendarFormat(this, r) || 'sameElse', + o = t && (T(t[i]) ? t[i].call(this, n) : t[i]); + return this.format( + o || this.localeData().calendar(i, this, Mt(n)) + ); + }), + (vn.clone = function () { + return new A(this); + }), + (vn.diff = function (e, t, n) { + var r, a, i; + if (!this.isValid()) return NaN; + if (!(r = Nt(e, this)).isValid()) return NaN; + switch ( + ((a = 6e4 * (r.utcOffset() - this.utcOffset())), + (t = U(t))) + ) { + case 'year': + i = Xt(this, r) / 12; + break; + case 'month': + i = Xt(this, r); + break; + case 'quarter': + i = Xt(this, r) / 3; + break; + case 'second': + i = (this - r) / 1e3; + break; + case 'minute': + i = (this - r) / 6e4; + break; + case 'hour': + i = (this - r) / 36e5; + break; + case 'day': + i = (this - r - a) / 864e5; + break; + case 'week': + i = (this - r - a) / 6048e5; + break; + default: + i = this - r; + } + return n ? i : q(i); + }), + (vn.endOf = function (e) { + var t, n; + if ( + void 0 === (e = U(e)) || + 'millisecond' === e || + !this.isValid() + ) + return this; + switch (((n = this._isUTC ? an : rn), e)) { + case 'year': + t = n(this.year() + 1, 0, 1) - 1; + break; + case 'quarter': + t = + n( + this.year(), + this.month() - + (this.month() % 3) + + 3, + 1 + ) - 1; + break; + case 'month': + t = n(this.year(), this.month() + 1, 1) - 1; + break; + case 'week': + t = + n( + this.year(), + this.month(), + this.date() - this.weekday() + 7 + ) - 1; + break; + case 'isoWeek': + t = + n( + this.year(), + this.month(), + this.date() - + (this.isoWeekday() - 1) + + 7 + ) - 1; + break; + case 'day': + case 'date': + t = + n( + this.year(), + this.month(), + this.date() + 1 + ) - 1; + break; + case 'hour': + (t = this._d.valueOf()), + (t += + 36e5 - + nn( + t + + (this._isUTC + ? 0 + : 6e4 * + this.utcOffset()), + 36e5 + ) - + 1); + break; + case 'minute': + (t = this._d.valueOf()), + (t += 6e4 - nn(t, 6e4) - 1); + break; + case 'second': + (t = this._d.valueOf()), + (t += 1e3 - nn(t, 1e3) - 1); + } + return ( + this._d.setTime(t), + a.updateOffset(this, !0), + this + ); + }), + (vn.format = function (e) { + e || + (e = this.isUtc() + ? a.defaultFormatUtc + : a.defaultFormat); + var t = N(this, e); + return this.localeData().postformat(t); + }), + (vn.from = function (e, t) { + return this.isValid() && + ((E(e) && e.isValid()) || Mt(e).isValid()) + ? Wt({ to: this, from: e }) + .locale(this.locale()) + .humanize(!t) + : this.localeData().invalidDate(); + }), + (vn.fromNow = function (e) { + return this.from(Mt(), e); + }), + (vn.to = function (e, t) { + return this.isValid() && + ((E(e) && e.isValid()) || Mt(e).isValid()) + ? Wt({ from: this, to: e }) + .locale(this.locale()) + .humanize(!t) + : this.localeData().invalidDate(); + }), + (vn.toNow = function (e) { + return this.to(Mt(), e); + }), + (vn.get = function (e) { + return T(this[(e = U(e))]) ? this[e]() : this; + }), + (vn.invalidAt = function () { + return m(this).overflow; + }), + (vn.isAfter = function (e, t) { + var n = E(e) ? e : Mt(e); + return ( + !(!this.isValid() || !n.isValid()) && + ('millisecond' === (t = U(t) || 'millisecond') + ? this.valueOf() > n.valueOf() + : n.valueOf() < + this.clone().startOf(t).valueOf()) + ); + }), + (vn.isBefore = function (e, t) { + var n = E(e) ? e : Mt(e); + return ( + !(!this.isValid() || !n.isValid()) && + ('millisecond' === (t = U(t) || 'millisecond') + ? this.valueOf() < n.valueOf() + : this.clone().endOf(t).valueOf() < + n.valueOf()) + ); + }), + (vn.isBetween = function (e, t, n, r) { + var a = E(e) ? e : Mt(e), + i = E(t) ? t : Mt(t); + return ( + !!( + this.isValid() && + a.isValid() && + i.isValid() + ) && + ('(' === (r = r || '()')[0] + ? this.isAfter(a, n) + : !this.isBefore(a, n)) && + (')' === r[1] + ? this.isBefore(i, n) + : !this.isAfter(i, n)) + ); + }), + (vn.isSame = function (e, t) { + var n, + r = E(e) ? e : Mt(e); + return ( + !(!this.isValid() || !r.isValid()) && + ('millisecond' === (t = U(t) || 'millisecond') + ? this.valueOf() === r.valueOf() + : ((n = r.valueOf()), + this.clone().startOf(t).valueOf() <= n && + n <= this.clone().endOf(t).valueOf())) + ); + }), + (vn.isSameOrAfter = function (e, t) { + return this.isSame(e, t) || this.isAfter(e, t); + }), + (vn.isSameOrBefore = function (e, t) { + return this.isSame(e, t) || this.isBefore(e, t); + }), + (vn.isValid = function () { + return _(this); + }), + (vn.lang = en), + (vn.locale = Zt), + (vn.localeData = tn), + (vn.max = Tt), + (vn.min = xt), + (vn.parsingFlags = function () { + return p({}, m(this)); + }), + (vn.set = function (e, t) { + if ('object' == typeof e) { + var n, + r = (function (e) { + var t, + n = []; + for (t in e) + s(e, t) && + n.push({ + unit: t, + priority: F[t], + }); + return ( + n.sort(function (e, t) { + return e.priority - t.priority; + }), + n + ); + })((e = W(e))); + for (n = 0; n < r.length; n++) + this[r[n].unit](e[r[n].unit]); + } else if (T(this[(e = U(e))])) return this[e](t); + return this; + }), + (vn.startOf = function (e) { + var t, n; + if ( + void 0 === (e = U(e)) || + 'millisecond' === e || + !this.isValid() + ) + return this; + switch (((n = this._isUTC ? an : rn), e)) { + case 'year': + t = n(this.year(), 0, 1); + break; + case 'quarter': + t = n( + this.year(), + this.month() - (this.month() % 3), + 1 + ); + break; + case 'month': + t = n(this.year(), this.month(), 1); + break; + case 'week': + t = n( + this.year(), + this.month(), + this.date() - this.weekday() + ); + break; + case 'isoWeek': + t = n( + this.year(), + this.month(), + this.date() - (this.isoWeekday() - 1) + ); + break; + case 'day': + case 'date': + t = n( + this.year(), + this.month(), + this.date() + ); + break; + case 'hour': + (t = this._d.valueOf()), + (t -= nn( + t + + (this._isUTC + ? 0 + : 6e4 * this.utcOffset()), + 36e5 + )); + break; + case 'minute': + (t = this._d.valueOf()), (t -= nn(t, 6e4)); + break; + case 'second': + (t = this._d.valueOf()), (t -= nn(t, 1e3)); + } + return ( + this._d.setTime(t), + a.updateOffset(this, !0), + this + ); + }), + (vn.subtract = $t), + (vn.toArray = function () { + var e = this; + return [ + e.year(), + e.month(), + e.date(), + e.hour(), + e.minute(), + e.second(), + e.millisecond(), + ]; + }), + (vn.toObject = function () { + var e = this; + return { + years: e.year(), + months: e.month(), + date: e.date(), + hours: e.hours(), + minutes: e.minutes(), + seconds: e.seconds(), + milliseconds: e.milliseconds(), + }; + }), + (vn.toDate = function () { + return new Date(this.valueOf()); + }), + (vn.toISOString = function (e) { + if (!this.isValid()) return null; + var t = !0 !== e, + n = t ? this.clone().utc() : this; + return n.year() < 0 || n.year() > 9999 + ? N( + n, + t + ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]' + : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ' + ) + : T(Date.prototype.toISOString) + ? t + ? this.toDate().toISOString() + : new Date( + this.valueOf() + + 60 * this.utcOffset() * 1e3 + ) + .toISOString() + .replace('Z', N(n, 'Z')) + : N( + n, + t + ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' + : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ' + ); + }), + (vn.inspect = function () { + if (!this.isValid()) + return 'moment.invalid(/* ' + this._i + ' */)'; + var e, + t, + n, + r = 'moment', + a = ''; + return ( + this.isLocal() || + ((r = + 0 === this.utcOffset() + ? 'moment.utc' + : 'moment.parseZone'), + (a = 'Z')), + (e = '[' + r + '("]'), + (t = + 0 <= this.year() && this.year() <= 9999 + ? 'YYYY' + : 'YYYYYY'), + (n = a + '[")]'), + this.format(e + t + '-MM-DD[T]HH:mm:ss.SSS' + n) + ); + }), + 'undefined' != typeof Symbol && + null != Symbol.for && + (vn[Symbol.for('nodejs.util.inspect.custom')] = + function () { + return 'Moment<' + this.format() + '>'; + }), + (vn.toJSON = function () { + return this.isValid() ? this.toISOString() : null; + }), + (vn.toString = function () { + return this.clone() + .locale('en') + .format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ'); + }), + (vn.unix = function () { + return Math.floor(this.valueOf() / 1e3); + }), + (vn.valueOf = function () { + return ( + this._d.valueOf() - 6e4 * (this._offset || 0) + ); + }), + (vn.creationData = function () { + return { + input: this._i, + format: this._f, + locale: this._locale, + isUTC: this._isUTC, + strict: this._strict, + }; + }), + (vn.eraName = function () { + var e, + t, + n, + r = this.localeData().eras(); + for (e = 0, t = r.length; e < t; ++e) { + if ( + ((n = this.clone() + .startOf('day') + .valueOf()), + r[e].since <= n && n <= r[e].until) + ) + return r[e].name; + if (r[e].until <= n && n <= r[e].since) + return r[e].name; + } + return ''; + }), + (vn.eraNarrow = function () { + var e, + t, + n, + r = this.localeData().eras(); + for (e = 0, t = r.length; e < t; ++e) { + if ( + ((n = this.clone() + .startOf('day') + .valueOf()), + r[e].since <= n && n <= r[e].until) + ) + return r[e].narrow; + if (r[e].until <= n && n <= r[e].since) + return r[e].narrow; + } + return ''; + }), + (vn.eraAbbr = function () { + var e, + t, + n, + r = this.localeData().eras(); + for (e = 0, t = r.length; e < t; ++e) { + if ( + ((n = this.clone() + .startOf('day') + .valueOf()), + r[e].since <= n && n <= r[e].until) + ) + return r[e].abbr; + if (r[e].until <= n && n <= r[e].since) + return r[e].abbr; + } + return ''; + }), + (vn.eraYear = function () { + var e, + t, + n, + r, + i = this.localeData().eras(); + for (e = 0, t = i.length; e < t; ++e) + if ( + ((n = i[e].since <= i[e].until ? 1 : -1), + (r = this.clone().startOf('day').valueOf()), + (i[e].since <= r && r <= i[e].until) || + (i[e].until <= r && r <= i[e].since)) + ) + return ( + (this.year() - a(i[e].since).year()) * + n + + i[e].offset + ); + return this.year(); + }), + (vn.year = Ie), + (vn.isLeapYear = function () { + return z(this.year()); + }), + (vn.weekYear = function (e) { + return un.call( + this, + e, + this.week(), + this.weekday(), + this.localeData()._week.dow, + this.localeData()._week.doy + ); + }), + (vn.isoWeekYear = function (e) { + return un.call( + this, + e, + this.isoWeek(), + this.isoWeekday(), + 1, + 4 + ); + }), + (vn.quarter = vn.quarters = + function (e) { + return null == e + ? Math.ceil((this.month() + 1) / 3) + : this.month( + 3 * (e - 1) + (this.month() % 3) + ); + }), + (vn.month = Se), + (vn.daysInMonth = function () { + return Ee(this.year(), this.month()); + }), + (vn.week = vn.weeks = + function (e) { + var t = this.localeData().week(this); + return null == e + ? t + : this.add(7 * (e - t), 'd'); + }), + (vn.isoWeek = vn.isoWeeks = + function (e) { + var t = je(this, 1, 4).week; + return null == e + ? t + : this.add(7 * (e - t), 'd'); + }), + (vn.weeksInYear = function () { + var e = this.localeData()._week; + return He(this.year(), e.dow, e.doy); + }), + (vn.weeksInWeekYear = function () { + var e = this.localeData()._week; + return He(this.weekYear(), e.dow, e.doy); + }), + (vn.isoWeeksInYear = function () { + return He(this.year(), 1, 4); + }), + (vn.isoWeeksInISOWeekYear = function () { + return He(this.isoWeekYear(), 1, 4); + }), + (vn.date = cn), + (vn.day = vn.days = + function (e) { + if (!this.isValid()) + return null != e ? this : NaN; + var t = this._isUTC + ? this._d.getUTCDay() + : this._d.getDay(); + return null != e + ? ((e = (function (e, t) { + return 'string' != typeof e + ? e + : isNaN(e) + ? 'number' == + typeof (e = t.weekdaysParse(e)) + ? e + : null + : parseInt(e, 10); + })(e, this.localeData())), + this.add(e - t, 'd')) + : t; + }), + (vn.weekday = function (e) { + if (!this.isValid()) return null != e ? this : NaN; + var t = + (this.day() + 7 - this.localeData()._week.dow) % + 7; + return null == e ? t : this.add(e - t, 'd'); + }), + (vn.isoWeekday = function (e) { + if (!this.isValid()) return null != e ? this : NaN; + if (null != e) { + var t = (function (e, t) { + return 'string' == typeof e + ? t.weekdaysParse(e) % 7 || 7 + : isNaN(e) + ? null + : e; + })(e, this.localeData()); + return this.day(this.day() % 7 ? t : t - 7); + } + return this.day() || 7; + }), + (vn.dayOfYear = function (e) { + var t = + Math.round( + (this.clone().startOf('day') - + this.clone().startOf('year')) / + 864e5 + ) + 1; + return null == e ? t : this.add(e - t, 'd'); + }), + (vn.hour = vn.hours = Ze), + (vn.minute = vn.minutes = fn), + (vn.second = vn.seconds = mn), + (vn.millisecond = vn.milliseconds = hn), + (vn.utcOffset = function (e, t, n) { + var r, + i = this._offset || 0; + if (!this.isValid()) return null != e ? this : NaN; + if (null != e) { + if ('string' == typeof e) { + if (null === (e = Rt(fe, e))) return this; + } else Math.abs(e) < 16 && !n && (e *= 60); + return ( + !this._isUTC && t && (r = jt(this)), + (this._offset = e), + (this._isUTC = !0), + null != r && this.add(r, 'm'), + i !== e && + (!t || this._changeInProgress + ? qt(this, Wt(e - i, 'm'), 1, !1) + : this._changeInProgress || + ((this._changeInProgress = !0), + a.updateOffset(this, !0), + (this._changeInProgress = null))), + this + ); + } + return this._isUTC ? i : jt(this); + }), + (vn.utc = function (e) { + return this.utcOffset(0, e); + }), + (vn.local = function (e) { + return ( + this._isUTC && + (this.utcOffset(0, e), + (this._isUTC = !1), + e && this.subtract(jt(this), 'm')), + this + ); + }), + (vn.parseZone = function () { + if (null != this._tzm) + this.utcOffset(this._tzm, !1, !0); + else if ('string' == typeof this._i) { + var e = Rt(ce, this._i); + null != e + ? this.utcOffset(e) + : this.utcOffset(0, !0); + } + return this; + }), + (vn.hasAlignedHourOffset = function (e) { + return ( + !!this.isValid() && + ((e = e ? Mt(e).utcOffset() : 0), + (this.utcOffset() - e) % 60 == 0) + ); + }), + (vn.isDST = function () { + return ( + this.utcOffset() > + this.clone().month(0).utcOffset() || + this.utcOffset() > + this.clone().month(5).utcOffset() + ); + }), + (vn.isLocal = function () { + return !!this.isValid() && !this._isUTC; + }), + (vn.isUtcOffset = function () { + return !!this.isValid() && this._isUTC; + }), + (vn.isUtc = Ht), + (vn.isUTC = Ht), + (vn.zoneAbbr = function () { + return this._isUTC ? 'UTC' : ''; + }), + (vn.zoneName = function () { + return this._isUTC + ? 'Coordinated Universal Time' + : ''; + }), + (vn.dates = D( + 'dates accessor is deprecated. Use date instead.', + cn + )), + (vn.months = D( + 'months accessor is deprecated. Use month instead', + Se + )), + (vn.years = D( + 'years accessor is deprecated. Use year instead', + Ie + )), + (vn.zone = D( + 'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/', + function (e, t) { + return null != e + ? ('string' != typeof e && (e = -e), + this.utcOffset(e, t), + this) + : -this.utcOffset(); + } + )), + (vn.isDSTShifted = D( + 'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information', + function () { + if (!u(this._isDSTShifted)) + return this._isDSTShifted; + var e, + t = {}; + return ( + b(t, this), + (t = Dt(t))._a + ? ((e = t._isUTC ? h(t._a) : Mt(t._a)), + (this._isDSTShifted = + this.isValid() && + (function (e, t, n) { + var r, + a = Math.min( + e.length, + t.length + ), + i = Math.abs( + e.length - t.length + ), + o = 0; + for (r = 0; r < a; r++) + ((n && e[r] !== t[r]) || + (!n && + G(e[r]) !== + G(t[r]))) && + o++; + return o + i; + })(t._a, e.toArray()) > 0)) + : (this._isDSTShifted = !1), + this._isDSTShifted + ); + } + )); + var yn = S.prototype; + function bn(e, t, n, r) { + var a = lt(), + i = h().set(r, t); + return a[n](i, e); + } + function An(e, t, n) { + if ( + (d(e) && ((t = e), (e = void 0)), + (e = e || ''), + null != t) + ) + return bn(e, t, n, 'month'); + var r, + a = []; + for (r = 0; r < 12; r++) a[r] = bn(e, r, n, 'month'); + return a; + } + function En(e, t, n, r) { + 'boolean' == typeof e + ? (d(t) && ((n = t), (t = void 0)), (t = t || '')) + : ((n = t = e), + (e = !1), + d(t) && ((n = t), (t = void 0)), + (t = t || '')); + var a, + i = lt(), + o = e ? i._week.dow : 0, + s = []; + if (null != n) return bn(t, (n + o) % 7, r, 'day'); + for (a = 0; a < 7; a++) + s[a] = bn(t, (a + o) % 7, r, 'day'); + return s; + } + (yn.calendar = function (e, t, n) { + var r = this._calendar[e] || this._calendar.sameElse; + return T(r) ? r.call(t, n) : r; + }), + (yn.longDateFormat = function (e) { + var t = this._longDateFormat[e], + n = this._longDateFormat[e.toUpperCase()]; + return t || !n + ? t + : ((this._longDateFormat[e] = n + .match(O) + .map(function (e) { + return 'MMMM' === e || + 'MM' === e || + 'DD' === e || + 'dddd' === e + ? e.slice(1) + : e; + }) + .join('')), + this._longDateFormat[e]); + }), + (yn.invalidDate = function () { + return this._invalidDate; + }), + (yn.ordinal = function (e) { + return this._ordinal.replace('%d', e); + }), + (yn.preparse = gn), + (yn.postformat = gn), + (yn.relativeTime = function (e, t, n, r) { + var a = this._relativeTime[n]; + return T(a) ? a(e, t, n, r) : a.replace(/%d/i, e); + }), + (yn.pastFuture = function (e, t) { + var n = + this._relativeTime[e > 0 ? 'future' : 'past']; + return T(n) ? n(t) : n.replace(/%s/i, t); + }), + (yn.set = function (e) { + var t, n; + for (n in e) + s(e, n) && + (T((t = e[n])) + ? (this[n] = t) + : (this['_' + n] = t)); + (this._config = e), + (this._dayOfMonthOrdinalParseLenient = + new RegExp( + (this._dayOfMonthOrdinalParse.source || + this._ordinalParse.source) + + '|' + + /\d{1,2}/.source + )); + }), + (yn.eras = function (e, t) { + var n, + r, + i, + o = this._eras || lt('en')._eras; + for (n = 0, r = o.length; n < r; ++n) { + switch (typeof o[n].since) { + case 'string': + (i = a(o[n].since).startOf('day')), + (o[n].since = i.valueOf()); + } + switch (typeof o[n].until) { + case 'undefined': + o[n].until = 1 / 0; + break; + case 'string': + (i = a(o[n].until) + .startOf('day') + .valueOf()), + (o[n].until = i.valueOf()); + } + } + return o; + }), + (yn.erasParse = function (e, t, n) { + var r, + a, + i, + o, + s, + l = this.eras(); + for ( + e = e.toUpperCase(), r = 0, a = l.length; + r < a; + ++r + ) + if ( + ((i = l[r].name.toUpperCase()), + (o = l[r].abbr.toUpperCase()), + (s = l[r].narrow.toUpperCase()), + n) + ) + switch (t) { + case 'N': + case 'NN': + case 'NNN': + if (o === e) return l[r]; + break; + case 'NNNN': + if (i === e) return l[r]; + break; + case 'NNNNN': + if (s === e) return l[r]; + } + else if ([i, o, s].indexOf(e) >= 0) return l[r]; + }), + (yn.erasConvertYear = function (e, t) { + var n = e.since <= e.until ? 1 : -1; + return void 0 === t + ? a(e.since).year() + : a(e.since).year() + (t - e.offset) * n; + }), + (yn.erasAbbrRegex = function (e) { + return ( + s(this, '_erasAbbrRegex') || sn.call(this), + e ? this._erasAbbrRegex : this._erasRegex + ); + }), + (yn.erasNameRegex = function (e) { + return ( + s(this, '_erasNameRegex') || sn.call(this), + e ? this._erasNameRegex : this._erasRegex + ); + }), + (yn.erasNarrowRegex = function (e) { + return ( + s(this, '_erasNarrowRegex') || sn.call(this), + e ? this._erasNarrowRegex : this._erasRegex + ); + }), + (yn.months = function (e, t) { + return e + ? i(this._months) + ? this._months[e.month()] + : this._months[ + (this._months.isFormat || Ce).test(t) + ? 'format' + : 'standalone' + ][e.month()] + : i(this._months) + ? this._months + : this._months.standalone; + }), + (yn.monthsShort = function (e, t) { + return e + ? i(this._monthsShort) + ? this._monthsShort[e.month()] + : this._monthsShort[ + Ce.test(t) ? 'format' : 'standalone' + ][e.month()] + : i(this._monthsShort) + ? this._monthsShort + : this._monthsShort.standalone; + }), + (yn.monthsParse = function (e, t, n) { + var r, a, i; + if (this._monthsParseExact) + return Te.call(this, e, t, n); + for ( + this._monthsParse || + ((this._monthsParse = []), + (this._longMonthsParse = []), + (this._shortMonthsParse = [])), + r = 0; + r < 12; + r++ + ) { + if ( + ((a = h([2e3, r])), + n && + !this._longMonthsParse[r] && + ((this._longMonthsParse[r] = new RegExp( + '^' + + this.months(a, '').replace( + '.', + '' + ) + + '$', + 'i' + )), + (this._shortMonthsParse[r] = new RegExp( + '^' + + this.monthsShort(a, '').replace( + '.', + '' + ) + + '$', + 'i' + ))), + n || + this._monthsParse[r] || + ((i = + '^' + + this.months(a, '') + + '|^' + + this.monthsShort(a, '')), + (this._monthsParse[r] = new RegExp( + i.replace('.', ''), + 'i' + ))), + n && + 'MMMM' === t && + this._longMonthsParse[r].test(e)) + ) + return r; + if ( + n && + 'MMM' === t && + this._shortMonthsParse[r].test(e) + ) + return r; + if (!n && this._monthsParse[r].test(e)) + return r; + } + }), + (yn.monthsRegex = function (e) { + return this._monthsParseExact + ? (s(this, '_monthsRegex') || ke.call(this), + e + ? this._monthsStrictRegex + : this._monthsRegex) + : (s(this, '_monthsRegex') || + (this._monthsRegex = xe), + this._monthsStrictRegex && e + ? this._monthsStrictRegex + : this._monthsRegex); + }), + (yn.monthsShortRegex = function (e) { + return this._monthsParseExact + ? (s(this, '_monthsRegex') || ke.call(this), + e + ? this._monthsShortStrictRegex + : this._monthsShortRegex) + : (s(this, '_monthsShortRegex') || + (this._monthsShortRegex = Me), + this._monthsShortStrictRegex && e + ? this._monthsShortStrictRegex + : this._monthsShortRegex); + }), + (yn.week = function (e) { + return je(e, this._week.dow, this._week.doy).week; + }), + (yn.firstDayOfYear = function () { + return this._week.doy; + }), + (yn.firstDayOfWeek = function () { + return this._week.dow; + }), + (yn.weekdays = function (e, t) { + var n = i(this._weekdays) + ? this._weekdays + : this._weekdays[ + e && + !0 !== e && + this._weekdays.isFormat.test(t) + ? 'format' + : 'standalone' + ]; + return !0 === e + ? Be(n, this._week.dow) + : e + ? n[e.day()] + : n; + }), + (yn.weekdaysMin = function (e) { + return !0 === e + ? Be(this._weekdaysMin, this._week.dow) + : e + ? this._weekdaysMin[e.day()] + : this._weekdaysMin; + }), + (yn.weekdaysShort = function (e) { + return !0 === e + ? Be(this._weekdaysShort, this._week.dow) + : e + ? this._weekdaysShort[e.day()] + : this._weekdaysShort; + }), + (yn.weekdaysParse = function (e, t, n) { + var r, a, i; + if (this._weekdaysParseExact) + return Ge.call(this, e, t, n); + for ( + this._weekdaysParse || + ((this._weekdaysParse = []), + (this._minWeekdaysParse = []), + (this._shortWeekdaysParse = []), + (this._fullWeekdaysParse = [])), + r = 0; + r < 7; + r++ + ) { + if ( + ((a = h([2e3, 1]).day(r)), + n && + !this._fullWeekdaysParse[r] && + ((this._fullWeekdaysParse[r] = + new RegExp( + '^' + + this.weekdays( + a, + '' + ).replace('.', '\\.?') + + '$', + 'i' + )), + (this._shortWeekdaysParse[r] = + new RegExp( + '^' + + this.weekdaysShort( + a, + '' + ).replace('.', '\\.?') + + '$', + 'i' + )), + (this._minWeekdaysParse[r] = new RegExp( + '^' + + this.weekdaysMin(a, '').replace( + '.', + '\\.?' + ) + + '$', + 'i' + ))), + this._weekdaysParse[r] || + ((i = + '^' + + this.weekdays(a, '') + + '|^' + + this.weekdaysShort(a, '') + + '|^' + + this.weekdaysMin(a, '')), + (this._weekdaysParse[r] = new RegExp( + i.replace('.', ''), + 'i' + ))), + n && + 'dddd' === t && + this._fullWeekdaysParse[r].test(e)) + ) + return r; + if ( + n && + 'ddd' === t && + this._shortWeekdaysParse[r].test(e) + ) + return r; + if ( + n && + 'dd' === t && + this._minWeekdaysParse[r].test(e) + ) + return r; + if (!n && this._weekdaysParse[r].test(e)) + return r; + } + }), + (yn.weekdaysRegex = function (e) { + return this._weekdaysParseExact + ? (s(this, '_weekdaysRegex') || $e.call(this), + e + ? this._weekdaysStrictRegex + : this._weekdaysRegex) + : (s(this, '_weekdaysRegex') || + (this._weekdaysRegex = Ve), + this._weekdaysStrictRegex && e + ? this._weekdaysStrictRegex + : this._weekdaysRegex); + }), + (yn.weekdaysShortRegex = function (e) { + return this._weekdaysParseExact + ? (s(this, '_weekdaysRegex') || $e.call(this), + e + ? this._weekdaysShortStrictRegex + : this._weekdaysShortRegex) + : (s(this, '_weekdaysShortRegex') || + (this._weekdaysShortRegex = ze), + this._weekdaysShortStrictRegex && e + ? this._weekdaysShortStrictRegex + : this._weekdaysShortRegex); + }), + (yn.weekdaysMinRegex = function (e) { + return this._weekdaysParseExact + ? (s(this, '_weekdaysRegex') || $e.call(this), + e + ? this._weekdaysMinStrictRegex + : this._weekdaysMinRegex) + : (s(this, '_weekdaysMinRegex') || + (this._weekdaysMinRegex = qe), + this._weekdaysMinStrictRegex && e + ? this._weekdaysMinStrictRegex + : this._weekdaysMinRegex); + }), + (yn.isPM = function (e) { + return 'p' === (e + '').toLowerCase().charAt(0); + }), + (yn.meridiem = function (e, t, n) { + return e > 11 ? (n ? 'pm' : 'PM') : n ? 'am' : 'AM'; + }), + ot('en', { + eras: [ + { + since: '0001-01-01', + until: 1 / 0, + offset: 1, + name: 'Anno Domini', + narrow: 'AD', + abbr: 'AD', + }, + { + since: '0000-12-31', + until: -1 / 0, + offset: 1, + name: 'Before Christ', + narrow: 'BC', + abbr: 'BC', + }, + ], + dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/, + ordinal: function (e) { + var t = e % 10; + return ( + e + + (1 === G((e % 100) / 10) + ? 'th' + : 1 === t + ? 'st' + : 2 === t + ? 'nd' + : 3 === t + ? 'rd' + : 'th') + ); + }, + }), + (a.lang = D( + 'moment.lang is deprecated. Use moment.locale instead.', + ot + )), + (a.langData = D( + 'moment.langData is deprecated. Use moment.localeData instead.', + lt + )); + var wn = Math.abs; + function Dn(e, t, n, r) { + var a = Wt(t, n); + return ( + (e._milliseconds += r * a._milliseconds), + (e._days += r * a._days), + (e._months += r * a._months), + e._bubble() + ); + } + function Cn(e) { + return e < 0 ? Math.floor(e) : Math.ceil(e); + } + function Mn(e) { + return (4800 * e) / 146097; + } + function xn(e) { + return (146097 * e) / 4800; + } + function Tn(e) { + return function () { + return this.as(e); + }; + } + var Ln = Tn('ms'), + Sn = Tn('s'), + kn = Tn('m'), + On = Tn('h'), + In = Tn('d'), + Pn = Tn('w'), + Yn = Tn('M'), + Rn = Tn('Q'), + Nn = Tn('y'); + function jn(e) { + return function () { + return this.isValid() ? this._data[e] : NaN; + }; + } + var Hn = jn('milliseconds'), + Bn = jn('seconds'), + Un = jn('minutes'), + Wn = jn('hours'), + Fn = jn('days'), + Vn = jn('months'), + zn = jn('years'), + qn = Math.round, + Gn = { + ss: 44, + s: 45, + m: 45, + h: 22, + d: 26, + w: null, + M: 11, + }; + function $n(e, t, n, r, a) { + return a.relativeTime(t || 1, !!n, e, r); + } + var Jn = Math.abs; + function Kn(e) { + return (e > 0) - (e < 0) || +e; + } + function Qn() { + if (!this.isValid()) + return this.localeData().invalidDate(); + var e, + t, + n, + r, + a, + i, + o, + s, + l = Jn(this._milliseconds) / 1e3, + u = Jn(this._days), + d = Jn(this._months), + c = this.asSeconds(); + return c + ? ((e = q(l / 60)), + (t = q(e / 60)), + (l %= 60), + (e %= 60), + (n = q(d / 12)), + (d %= 12), + (r = l ? l.toFixed(3).replace(/\.?0+$/, '') : ''), + (a = c < 0 ? '-' : ''), + (i = Kn(this._months) !== Kn(c) ? '-' : ''), + (o = Kn(this._days) !== Kn(c) ? '-' : ''), + (s = Kn(this._milliseconds) !== Kn(c) ? '-' : ''), + a + + 'P' + + (n ? i + n + 'Y' : '') + + (d ? i + d + 'M' : '') + + (u ? o + u + 'D' : '') + + (t || e || l ? 'T' : '') + + (t ? s + t + 'H' : '') + + (e ? s + e + 'M' : '') + + (l ? s + r + 'S' : '')) + : 'P0D'; + } + var Xn = kt.prototype; + return ( + (Xn.isValid = function () { + return this._isValid; + }), + (Xn.abs = function () { + var e = this._data; + return ( + (this._milliseconds = wn(this._milliseconds)), + (this._days = wn(this._days)), + (this._months = wn(this._months)), + (e.milliseconds = wn(e.milliseconds)), + (e.seconds = wn(e.seconds)), + (e.minutes = wn(e.minutes)), + (e.hours = wn(e.hours)), + (e.months = wn(e.months)), + (e.years = wn(e.years)), + this + ); + }), + (Xn.add = function (e, t) { + return Dn(this, e, t, 1); + }), + (Xn.subtract = function (e, t) { + return Dn(this, e, t, -1); + }), + (Xn.as = function (e) { + if (!this.isValid()) return NaN; + var t, + n, + r = this._milliseconds; + if ( + 'month' === (e = U(e)) || + 'quarter' === e || + 'year' === e + ) + switch ( + ((t = this._days + r / 864e5), + (n = this._months + Mn(t)), + e) + ) { + case 'month': + return n; + case 'quarter': + return n / 3; + case 'year': + return n / 12; + } + else + switch ( + ((t = + this._days + + Math.round(xn(this._months))), + e) + ) { + case 'week': + return t / 7 + r / 6048e5; + case 'day': + return t + r / 864e5; + case 'hour': + return 24 * t + r / 36e5; + case 'minute': + return 1440 * t + r / 6e4; + case 'second': + return 86400 * t + r / 1e3; + case 'millisecond': + return Math.floor(864e5 * t) + r; + default: + throw new Error('Unknown unit ' + e); + } + }), + (Xn.asMilliseconds = Ln), + (Xn.asSeconds = Sn), + (Xn.asMinutes = kn), + (Xn.asHours = On), + (Xn.asDays = In), + (Xn.asWeeks = Pn), + (Xn.asMonths = Yn), + (Xn.asQuarters = Rn), + (Xn.asYears = Nn), + (Xn.valueOf = function () { + return this.isValid() + ? this._milliseconds + + 864e5 * this._days + + (this._months % 12) * 2592e6 + + 31536e6 * G(this._months / 12) + : NaN; + }), + (Xn._bubble = function () { + var e, + t, + n, + r, + a, + i = this._milliseconds, + o = this._days, + s = this._months, + l = this._data; + return ( + (i >= 0 && o >= 0 && s >= 0) || + (i <= 0 && o <= 0 && s <= 0) || + ((i += 864e5 * Cn(xn(s) + o)), + (o = 0), + (s = 0)), + (l.milliseconds = i % 1e3), + (e = q(i / 1e3)), + (l.seconds = e % 60), + (t = q(e / 60)), + (l.minutes = t % 60), + (n = q(t / 60)), + (l.hours = n % 24), + (o += q(n / 24)), + (a = q(Mn(o))), + (s += a), + (o -= Cn(xn(a))), + (r = q(s / 12)), + (s %= 12), + (l.days = o), + (l.months = s), + (l.years = r), + this + ); + }), + (Xn.clone = function () { + return Wt(this); + }), + (Xn.get = function (e) { + return ( + (e = U(e)), + this.isValid() ? this[e + 's']() : NaN + ); + }), + (Xn.milliseconds = Hn), + (Xn.seconds = Bn), + (Xn.minutes = Un), + (Xn.hours = Wn), + (Xn.days = Fn), + (Xn.weeks = function () { + return q(this.days() / 7); + }), + (Xn.months = Vn), + (Xn.years = zn), + (Xn.humanize = function (e, t) { + if (!this.isValid()) + return this.localeData().invalidDate(); + var n, + r, + a = !1, + i = Gn; + return ( + 'object' == typeof e && ((t = e), (e = !1)), + 'boolean' == typeof e && (a = e), + 'object' == typeof t && + ((i = Object.assign({}, Gn, t)), + null != t.s && + null == t.ss && + (i.ss = t.s - 1)), + (n = this.localeData()), + (r = (function (e, t, n, r) { + var a = Wt(e).abs(), + i = qn(a.as('s')), + o = qn(a.as('m')), + s = qn(a.as('h')), + l = qn(a.as('d')), + u = qn(a.as('M')), + d = qn(a.as('w')), + c = qn(a.as('y')), + f = + (i <= n.ss && ['s', i]) || + (i < n.s && ['ss', i]) || + (o <= 1 && ['m']) || + (o < n.m && ['mm', o]) || + (s <= 1 && ['h']) || + (s < n.h && ['hh', s]) || + (l <= 1 && ['d']) || + (l < n.d && ['dd', l]); + return ( + null != n.w && + (f = + f || + (d <= 1 && ['w']) || + (d < n.w && ['ww', d])), + ((f = f || + (u <= 1 && ['M']) || + (u < n.M && ['MM', u]) || + (c <= 1 && ['y']) || ['yy', c])[2] = + t), + (f[3] = +e > 0), + (f[4] = r), + $n.apply(null, f) + ); + })(this, !a, i, n)), + a && (r = n.pastFuture(+this, r)), + n.postformat(r) + ); + }), + (Xn.toISOString = Qn), + (Xn.toString = Qn), + (Xn.toJSON = Qn), + (Xn.locale = Zt), + (Xn.localeData = tn), + (Xn.toIsoString = D( + 'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)', + Qn + )), + (Xn.lang = en), + R('X', 0, 0, 'unix'), + R('x', 0, 0, 'valueOf'), + he('x', de), + he('X', /[+-]?\d+(\.\d{1,3})?/), + ye('X', function (e, t, n) { + n._d = new Date(1e3 * parseFloat(e)); + }), + ye('x', function (e, t, n) { + n._d = new Date(G(e)); + }), + //! moment.js + (a.version = '2.29.1'), + (t = Mt), + (a.fn = vn), + (a.min = function () { + var e = [].slice.call(arguments, 0); + return Lt('isBefore', e); + }), + (a.max = function () { + var e = [].slice.call(arguments, 0); + return Lt('isAfter', e); + }), + (a.now = function () { + return Date.now ? Date.now() : +new Date(); + }), + (a.utc = h), + (a.unix = function (e) { + return Mt(1e3 * e); + }), + (a.months = function (e, t) { + return An(e, t, 'months'); + }), + (a.isDate = c), + (a.locale = ot), + (a.invalid = v), + (a.duration = Wt), + (a.isMoment = E), + (a.weekdays = function (e, t, n) { + return En(e, t, n, 'weekdays'); + }), + (a.parseZone = function () { + return Mt.apply(null, arguments).parseZone(); + }), + (a.localeData = lt), + (a.isDuration = Ot), + (a.monthsShort = function (e, t) { + return An(e, t, 'monthsShort'); + }), + (a.weekdaysMin = function (e, t, n) { + return En(e, t, n, 'weekdaysMin'); + }), + (a.defineLocale = st), + (a.updateLocale = function (e, t) { + if (null != t) { + var n, + r, + a = et; + null != tt[e] && null != tt[e].parentLocale + ? tt[e].set(L(tt[e]._config, t)) + : (null != (r = it(e)) && (a = r._config), + (t = L(a, t)), + null == r && (t.abbr = e), + ((n = new S(t)).parentLocale = tt[e]), + (tt[e] = n)), + ot(e); + } else + null != tt[e] && + (null != tt[e].parentLocale + ? ((tt[e] = tt[e].parentLocale), + e === ot() && ot(e)) + : null != tt[e] && delete tt[e]); + return tt[e]; + }), + (a.locales = function () { + return C(tt); + }), + (a.weekdaysShort = function (e, t, n) { + return En(e, t, n, 'weekdaysShort'); + }), + (a.normalizeUnits = U), + (a.relativeTimeRounding = function (e) { + return void 0 === e + ? qn + : 'function' == typeof e && ((qn = e), !0); + }), + (a.relativeTimeThreshold = function (e, t) { + return ( + void 0 !== Gn[e] && + (void 0 === t + ? Gn[e] + : ((Gn[e] = t), + 's' === e && (Gn.ss = t - 1), + !0)) + ); + }), + (a.calendarFormat = function (e, t) { + var n = e.diff(t, 'days', !0); + return n < -6 + ? 'sameElse' + : n < -1 + ? 'lastWeek' + : n < 0 + ? 'lastDay' + : n < 1 + ? 'sameDay' + : n < 2 + ? 'nextDay' + : n < 7 + ? 'nextWeek' + : 'sameElse'; + }), + (a.prototype = vn), + (a.HTML5_FMT = { + DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', + DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', + DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', + DATE: 'YYYY-MM-DD', + TIME: 'HH:mm', + TIME_SECONDS: 'HH:mm:ss', + TIME_MS: 'HH:mm:ss.SSS', + WEEK: 'GGGG-[W]WW', + MONTH: 'YYYY-MM', + }), + a + ); + })(); + }.call(this, n(98)(e))); + }, + function (e, t, n) { + 'use strict'; + function r() { + return (r = + Object.assign || + function (e) { + for (var t = 1; t < arguments.length; t++) { + var n = arguments[t]; + for (var r in n) + Object.prototype.hasOwnProperty.call(n, r) && + (e[r] = n[r]); + } + return e; + }).apply(this, arguments); + } + n.d(t, 'a', function () { + return r; + }); + }, + function (e, t, n) { + 'use strict'; + n.d(t, 'm', function () { + return r; + }), + n.d(t, 'c', function () { + return a; + }), + n.d(t, 'k', function () { + return i; + }), + n.d(t, 'f', function () { + return o; + }), + n.d(t, 'a', function () { + return s; + }), + n.d(t, 'b', function () { + return l; + }), + n.d(t, 'l', function () { + return u; + }), + n.d(t, 'e', function () { + return d; + }), + n.d(t, 'd', function () { + return c; + }), + n.d(t, 'o', function () { + return f; + }), + n.d(t, 'i', function () { + return p; + }), + n.d(t, 'j', function () { + return h; + }), + n.d(t, 'n', function () { + return m; + }), + n.d(t, 'h', function () { + return _; + }), + n.d(t, 'g', function () { + return v; + }); + var r = 'top', + a = 'bottom', + i = 'right', + o = 'left', + s = 'auto', + l = [r, a, i, o], + u = 'start', + d = 'end', + c = 'clippingParents', + f = 'viewport', + p = 'popper', + h = 'reference', + m = l.reduce(function (e, t) { + return e.concat([t + '-' + u, t + '-' + d]); + }, []), + _ = [].concat(l, [s]).reduce(function (e, t) { + return e.concat([t, t + '-' + u, t + '-' + d]); + }, []), + v = [ + 'beforeRead', + 'read', + 'afterRead', + 'beforeMain', + 'main', + 'afterMain', + 'beforeWrite', + 'write', + 'afterWrite', + ]; + }, + function (e, t, n) { + 'use strict'; + function r(e, t) { + if (null == e) return {}; + var n, + r, + a = {}, + i = Object.keys(e); + for (r = 0; r < i.length; r++) + (n = i[r]), t.indexOf(n) >= 0 || (a[n] = e[n]); + return a; + } + n.d(t, 'a', function () { + return r; + }); + }, + function (e, t, n) { + var r; + /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){var n={}.hasOwnProperty;function a(){for(var e=[],t=0;t>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?E(e)+t:t}function M(){return!0}function D(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function C(e,t){return T(e,t,0)}function x(e,t){return T(e,t,t)}function T(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var L,k,S,P="function"==typeof Symbol&&Symbol.iterator,O=P||"@@iterator";function I(e){this.next=e}function Y(e,t,n,r){var a=0===e?t:1===e?n:[t,n];return r?r.value=a:r={value:a,done:!1},r}function R(){return{value:void 0,done:!0}}function N(e){return!!B(e)}function j(e){return e&&"function"==typeof e.next}function H(e){var t=B(e);return t&&t.call(e)}function B(e){var t=e&&(P&&e[P]||e["@@iterator"]);if("function"==typeof t)return t}function U(e){return e&&"number"==typeof e.length}function W(e){return null==e?Q():o(e)?e.toSeq():function(e){var t=ee(e)||"object"==typeof e&&new G(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}(e)}function F(e){return null==e?Q().toKeyedSeq():o(e)?s(e)?e.toSeq():e.fromEntrySeq():X(e)}function V(e){return null==e?Q():o(e)?s(e)?e.entrySeq():e.toIndexedSeq():Z(e)}function z(e){return(null==e?Q():o(e)?s(e)?e.entrySeq():e:Z(e)).toSetSeq()}function q(e){this._array=e,this.size=e.length}function G(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function $(e){this._iterable=e,this.size=e.length||e.size}function J(e){this._iterator=e,this._iteratorCache=[]}function K(e){return!(!e||!e["@@__IMMUTABLE_SEQ__@@"])}function Q(){return L||(L=new q([]))}function X(e){var t=Array.isArray(e)?new q(e).fromEntrySeq():j(e)?new J(e).fromEntrySeq():N(e)?new $(e).fromEntrySeq():"object"==typeof e?new G(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function Z(e){var t=ee(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ee(e){return U(e)?new q(e):j(e)?new J(e):N(e)?new $(e):void 0}function te(e,t,n,r){var a=e._cache;if(a){for(var i=a.length-1,o=0;o<=i;o++){var s=a[n?i-o:o];if(!1===t(s[1],r?s[0]:o,e))return o+1}return o}return e.__iterateUncached(t,n)}function ne(e,t,n,r){var a=e._cache;if(a){var i=a.length-1,o=0;return new I((function(){var e=a[n?i-o:o];return o++>i?{value:void 0,done:!0}:Y(t,r?e[0]:o-1,e[1])}))}return e.__iteratorUncached(t,n)}function re(e,t){return t?function e(t,n,r,a){return Array.isArray(n)?t.call(a,r,V(n).map((function(r,a){return e(t,r,a,n)}))):ie(n)?t.call(a,r,F(n).map((function(r,a){return e(t,r,a,n)}))):n}(t,e,"",{"":e}):ae(e)}function ae(e){return Array.isArray(e)?V(e).map(ae).toList():ie(e)?F(e).map(ae).toMap():e}function ie(e){return e&&(e.constructor===Object||void 0===e.constructor)}function oe(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function se(e,t){if(e===t)return!0;if(!o(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||s(e)!==s(t)||l(e)!==l(t)||d(e)!==d(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!u(e);if(d(e)){var r=e.entries();return t.every((function(e,t){var a=r.next().value;return a&&oe(a[1],e)&&(n||oe(a[0],t))}))&&r.next().done}var a=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{a=!0;var i=e;e=t,t=i}var c=!0,f=t.__iterate((function(t,r){if(n?!e.has(t):a?!oe(t,e.get(r,m)):!oe(e.get(r,m),t))return c=!1,!1}));return c&&e.size===f}function le(e,t){if(!(this instanceof le))return new le(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(k)return k;k=this}}function ue(e,t){if(!e)throw new Error(t)}function de(e,t,n){if(!(this instanceof de))return new de(e,t,n);if(ue(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),tr?{value:void 0,done:!0}:Y(e,a,n[t?r-a++:a++])}))},t(G,F),G.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},G.prototype.has=function(e){return this._object.hasOwnProperty(e)},G.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,a=r.length-1,i=0;i<=a;i++){var o=r[t?a-i:i];if(!1===e(n[o],o,this))return i+1}return i},G.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,a=r.length-1,i=0;return new I((function(){var o=r[t?a-i:i];return i++>a?{value:void 0,done:!0}:Y(e,o,n[o])}))},G.prototype[h]=!0,t($,V),$.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=H(this._iterable),r=0;if(j(n))for(var a;!(a=n.next()).done&&!1!==e(a.value,r++,this););return r},$.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=H(this._iterable);if(!j(n))return new I(R);var r=0;return new I((function(){var t=n.next();return t.done?t:Y(e,r++,t.value)}))},t(J,V),J.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,r=this._iterator,a=this._iteratorCache,i=0;i=r.length){var t=n.next();if(t.done)return t;r[a]=t.value}return Y(e,a,r[a++])}))},t(le,V),le.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},le.prototype.get=function(e,t){return this.has(e)?this._value:t},le.prototype.includes=function(e){return oe(this._value,e)},le.prototype.slice=function(e,t){var n=this.size;return D(e,t,n)?this:new le(this._value,x(t,n)-C(e,n))},le.prototype.reverse=function(){return this},le.prototype.indexOf=function(e){return oe(this._value,e)?0:-1},le.prototype.lastIndexOf=function(e){return oe(this._value,e)?this.size:-1},le.prototype.__iterate=function(e,t){for(var n=0;n=0&&t=0&&nn?{value:void 0,done:!0}:Y(e,i++,o)}))},de.prototype.equals=function(e){return e instanceof de?this._start===e._start&&this._end===e._end&&this._step===e._step:se(this,e)},t(ce,n),t(fe,ce),t(pe,ce),t(he,ce),ce.Keyed=fe,ce.Indexed=pe,ce.Set=he;var me="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var n=65535&(e|=0),r=65535&(t|=0);return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0};function _e(e){return e>>>1&1073741824|3221225471&e}function ve(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!=e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)n^=e/=4294967295;return _e(n)}if("string"===t)return e.length>De?function(e){var t=Te[e];return void 0===t&&(t=ge(e),xe===Ce&&(xe=0,Te={}),xe++,Te[e]=t),t}(e):ge(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return function(e){var t;if(Ee&&void 0!==(t=ye.get(e)))return t;if(void 0!==(t=e[Me]))return t;if(!Ae){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[Me]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=++we,1073741824&we&&(we=0),Ee)ye.set(e,t);else{if(void 0!==be&&!1===be(e))throw new Error("Non-extensible objects are not allowed as keys.");if(Ae)Object.defineProperty(e,Me,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[Me]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[Me]=t}}return t}(e);if("function"==typeof e.toString)return ge(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ge(e){for(var t=0,n=0;n=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}}))},ke.prototype.toString=function(){return this.__toString("Map {","}")},ke.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},ke.prototype.set=function(e,t){return ze(this,e,t)},ke.prototype.setIn=function(e,t){return this.updateIn(e,m,(function(){return t}))},ke.prototype.remove=function(e){return ze(this,e,m)},ke.prototype.deleteIn=function(e){return this.updateIn(e,(function(){return m}))},ke.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},ke.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=function e(t,n,r,a){var i=t===m,o=n.next();if(o.done){var s=i?r:t,l=a(s);return l===s?t:l}ue(i||t&&t.set,"invalid keyPath");var u=o.value,d=i?m:t.get(u,m),c=e(d,n,r,a);return c===d?t:c===m?t.remove(u):(i?Ve():t).set(u,c)}(this,Jt(e),t,n);return r===m?void 0:r},ke.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ve()},ke.prototype.merge=function(){return Je(this,void 0,arguments)},ke.prototype.mergeWith=function(t){var n=e.call(arguments,1);return Je(this,t,n)},ke.prototype.mergeIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,Ve(),(function(e){return"function"==typeof e.merge?e.merge.apply(e,n):n[n.length-1]}))},ke.prototype.mergeDeep=function(){return Je(this,Ke,arguments)},ke.prototype.mergeDeepWith=function(t){var n=e.call(arguments,1);return Je(this,Qe(t),n)},ke.prototype.mergeDeepIn=function(t){var n=e.call(arguments,1);return this.updateIn(t,Ve(),(function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,n):n[n.length-1]}))},ke.prototype.sort=function(e){return At(jt(this,e))},ke.prototype.sortBy=function(e,t){return At(jt(this,t,e))},ke.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},ke.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new b)},ke.prototype.asImmutable=function(){return this.__ensureOwner()},ke.prototype.wasAltered=function(){return this.__altered},ke.prototype.__iterator=function(e,t){return new Be(this,e,t)},ke.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate((function(t){return r++,e(t[1],t[0],n)}),t),r},ke.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Fe(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},ke.isMap=Se;var Pe,Oe="@@__IMMUTABLE_MAP__@@",Ie=ke.prototype;function Ye(e,t){this.ownerID=e,this.entries=t}function Re(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ne(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function je(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function He(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function Be(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&We(e._root)}function Ue(e,t){return Y(e,t[0],t[1])}function We(e,t){return{node:e,index:0,__prev:t}}function Fe(e,t,n,r){var a=Object.create(Ie);return a.size=e,a._root=t,a.__ownerID=n,a.__hash=r,a.__altered=!1,a}function Ve(){return Pe||(Pe=Fe(0))}function ze(e,t,n){var r,a;if(e._root){var i=g(_),o=g(v);if(r=qe(e._root,e.__ownerID,0,void 0,t,n,i,o),!o.value)return e;a=e.size+(i.value?n===m?-1:1:0)}else{if(n===m)return e;a=1,r=new Ye(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=a,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?Fe(a,r):Ve()}function qe(e,t,n,r,a,i,o,s){return e?e.update(t,n,r,a,i,o,s):i===m?e:(y(s),y(o),new He(t,r,[a,i]))}function Ge(e){return e.constructor===He||e.constructor===je}function $e(e,t,n,r,a){if(e.keyHash===r)return new je(t,r,[e.entry,a]);var i,o=31&(0===n?e.keyHash:e.keyHash>>>n),s=31&(0===n?r:r>>>n);return new Re(t,1<>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function et(e,t,n,r){var a=r?e:A(e);return a[t]=n,a}Ie[Oe]=!0,Ie.delete=Ie.remove,Ie.removeIn=Ie.deleteIn,Ye.prototype.get=function(e,t,n,r){for(var a=this.entries,i=0,o=a.length;i=tt)return function(e,t,n,r){e||(e=new b);for(var a=new He(e,ve(n),[n,r]),i=0;i>>e)),i=this.bitmap;return 0==(i&a)?r:this.nodes[Ze(i&a-1)].get(e+5,t,n,r)},Re.prototype.update=function(e,t,n,r,a,i,o){void 0===n&&(n=ve(r));var s=31&(0===t?n:n>>>t),l=1<=nt)return function(e,t,n,r,a){for(var i=0,o=new Array(32),s=0;0!==n;s++,n>>>=1)o[s]=1&n?t[i++]:void 0;return o[r]=a,new Ne(e,i+1,o)}(e,f,u,s,h);if(d&&!h&&2===f.length&&Ge(f[1^c]))return f[1^c];if(d&&h&&1===f.length&&Ge(h))return h;var _=e&&e===this.ownerID,v=d?h?u:u^l:u|l,g=d?h?et(f,c,h,_):function(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var a=new Array(r),i=0,o=0;o>>e),i=this.nodes[a];return i?i.get(e+5,t,n,r):r},Ne.prototype.update=function(e,t,n,r,a,i,o){void 0===n&&(n=ve(r));var s=31&(0===t?n:n>>>t),l=a===m,u=this.nodes,d=u[s];if(l&&!d)return this;var c=qe(d,e,t+5,n,r,a,i,o);if(c===d)return this;var f=this.count;if(d){if(!c&&--f0&&r<32?pt(0,r,5,null,new lt(n.toArray())):t.withMutations((function(e){e.setSize(r),n.forEach((function(t,n){return e.set(n,t)}))})))}function it(e){return!(!e||!e[ot])}t(at,pe),at.of=function(){return this(arguments)},at.prototype.toString=function(){return this.__toString("List [","]")},at.prototype.get=function(e,t){if((e=w(this,e))>=0&&e=e.size||t<0)return e.withMutations((function(e){t<0?gt(e,t).set(0,n):gt(e,0,t+1).set(t,n)}));t+=e._origin;var r=e._tail,a=e._root,i=g(v);return t>=bt(e._capacity)?r=mt(r,e.__ownerID,0,t,n,i):a=mt(a,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=a,e._tail=r,e.__hash=void 0,e.__altered=!0,e):pt(e._origin,e._capacity,e._level,a,r):e}(this,e,t)},at.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},at.prototype.insert=function(e,t){return this.splice(e,0,t)},at.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):ht()},at.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(n){gt(n,0,t+e.length);for(var r=0;r>>t&31;if(r>=this.array.length)return new lt([],e);var a,i=0===r;if(t>0){var o=this.array[r];if((a=o&&o.removeBefore(e,t-5,n))===o&&i)return this}if(i&&!a)return this;var s=_t(this,e);if(!i)for(var l=0;l>>t&31;if(a>=this.array.length)return this;if(t>0){var i=this.array[a];if((r=i&&i.removeAfter(e,t-5,n))===i&&a===this.array.length-1)return this}var o=_t(this,e);return o.array.splice(a+1),r&&(o.array[a]=r),o};var ut,dt,ct={};function ft(e,t){var n=e._origin,r=e._capacity,a=bt(r),i=e._tail;return o(e._root,e._level,0);function o(e,s,l){return 0===s?function(e,o){var s=o===a?i&&i.array:e&&e.array,l=o>n?0:n-o,u=r-o;return u>32&&(u=32),function(){if(l===u)return ct;var e=t?--u:l++;return s&&s[e]}}(e,l):function(e,a,i){var s,l=e&&e.array,u=i>n?0:n-i>>a,d=1+(r-i>>a);return d>32&&(d=32),function(){for(;;){if(s){var e=s();if(e!==ct)return e;s=null}if(u===d)return ct;var n=t?--d:u++;s=o(l&&l[n],a-5,i+(n<>>n&31,l=e&&s0){var u=e&&e.array[s],d=mt(u,t,n-5,r,a,i);return d===u?e:((o=_t(e,t)).array[s]=d,o)}return l&&e.array[s]===a?e:(y(i),o=_t(e,t),void 0===a&&s===o.array.length-1?o.array.pop():o.array[s]=a,o)}function _t(e,t){return t&&e&&t===e.ownerID?e:new lt(e?e.array.slice():[],t)}function vt(e,t){if(t>=bt(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&31],r-=5;return n}}function gt(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new b,a=e._origin,i=e._capacity,o=a+t,s=void 0===n?i:n<0?i+n:a+n;if(o===a&&s===i)return e;if(o>=s)return e.clear();for(var l=e._level,u=e._root,d=0;o+d<0;)u=new lt(u&&u.array.length?[void 0,u]:[],r),d+=1<<(l+=5);d&&(o+=d,a+=d,s+=d,i+=d);for(var c=bt(i),f=bt(s);f>=1<c?new lt([],r):p;if(p&&f>c&&o5;_-=5){var v=c>>>_&31;m=m.array[v]=_t(m.array[v],r)}m.array[c>>>5&31]=p}if(s=f)o-=f,s-=f,l=5,u=null,h=h&&h.removeBefore(r,0,o);else if(o>a||f>>l&31;if(g!==f>>>l&31)break;g&&(d+=(1<a&&(u=u.removeBefore(r,l,o-d)),u&&fi&&(i=u.size),o(l)||(u=u.map((function(e){return re(e)}))),r.push(u)}return i>e.size&&(e=e.setSize(i)),Xe(e,t,r)}function bt(e){return e<32?0:e-1>>>5<<5}function At(e){return null==e?Mt():Et(e)?e:Mt().withMutations((function(t){var n=r(e);Le(n.size),n.forEach((function(e,n){return t.set(n,e)}))}))}function Et(e){return Se(e)&&d(e)}function wt(e,t,n,r){var a=Object.create(At.prototype);return a.size=e?e.size:0,a._map=e,a._list=t,a.__ownerID=n,a.__hash=r,a}function Mt(){return dt||(dt=wt(Ve(),ht()))}function Dt(e,t,n){var r,a,i=e._map,o=e._list,s=i.get(t),l=void 0!==s;if(n===m){if(!l)return e;o.size>=32&&o.size>=2*i.size?(r=(a=o.filter((function(e,t){return void 0!==e&&s!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(r.__ownerID=a.__ownerID=e.__ownerID)):(r=i.remove(t),a=s===o.size-1?o.pop():o.set(s,void 0))}else if(l){if(n===o.get(s)[1])return e;r=i,a=o.set(s,[t,n])}else r=i.set(t,o.size),a=o.set(o.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=a,e.__hash=void 0,e):wt(r,a)}function Ct(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function xt(e){this._iter=e,this.size=e.size}function Tt(e){this._iter=e,this.size=e.size}function Lt(e){this._iter=e,this.size=e.size}function kt(e){var t=qt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Gt,t.__iterateUncached=function(t,n){var r=this;return e.__iterate((function(e,n){return!1!==t(n,e,r)}),n)},t.__iteratorUncached=function(t,n){if(2===t){var r=e.__iterator(t,n);return new I((function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e}))}return e.__iterator(1===t?0:1,n)},t}function St(e,t,n){var r=qt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,a){var i=e.get(r,m);return i===m?a:t.call(n,i,r,e)},r.__iterateUncached=function(r,a){var i=this;return e.__iterate((function(e,a,o){return!1!==r(t.call(n,e,a,o),a,i)}),a)},r.__iteratorUncached=function(r,a){var i=e.__iterator(2,a);return new I((function(){var a=i.next();if(a.done)return a;var o=a.value,s=o[0];return Y(r,s,t.call(n,o[1],s,e),a)}))},r}function Pt(e,t){var n=qt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=kt(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Gt,n.__iterate=function(t,n){var r=this;return e.__iterate((function(e,n){return t(e,n,r)}),!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function Ot(e,t,n,r){var a=qt(e);return r&&(a.has=function(r){var a=e.get(r,m);return a!==m&&!!t.call(n,a,r,e)},a.get=function(r,a){var i=e.get(r,m);return i!==m&&t.call(n,i,r,e)?i:a}),a.__iterateUncached=function(a,i){var o=this,s=0;return e.__iterate((function(e,i,l){if(t.call(n,e,i,l))return s++,a(e,r?i:s-1,o)}),i),s},a.__iteratorUncached=function(a,i){var o=e.__iterator(2,i),s=0;return new I((function(){for(;;){var i=o.next();if(i.done)return i;var l=i.value,u=l[0],d=l[1];if(t.call(n,d,u,e))return Y(a,r?u:s++,d,i)}}))},a}function It(e,t,n,r){var a=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=a:n|=0),D(t,n,a))return e;var i=C(t,a),o=x(n,a);if(i!=i||o!=o)return It(e.toSeq().cacheResult(),t,n,r);var s,l=o-i;l==l&&(s=l<0?0:l);var u=qt(e);return u.size=0===s?s:e.size&&s||void 0,!r&&K(e)&&s>=0&&(u.get=function(t,n){return(t=w(this,t))>=0&&ts)return{value:void 0,done:!0};var e=a.next();return r||1===t?e:Y(t,l-1,0===t?void 0:e.value[1],e)}))},u}function Yt(e,t,n,r){var a=qt(e);return a.__iterateUncached=function(a,i){var o=this;if(i)return this.cacheResult().__iterate(a,i);var s=!0,l=0;return e.__iterate((function(e,i,u){if(!s||!(s=t.call(n,e,i,u)))return l++,a(e,r?i:l-1,o)})),l},a.__iteratorUncached=function(a,i){var o=this;if(i)return this.cacheResult().__iterator(a,i);var s=e.__iterator(2,i),l=!0,u=0;return new I((function(){var e,i,d;do{if((e=s.next()).done)return r||1===a?e:Y(a,u++,0===a?void 0:e.value[1],e);var c=e.value;i=c[0],d=c[1],l&&(l=t.call(n,d,i,o))}while(l);return 2===a?e:Y(a,i,d,e)}))},a}function Rt(e,t){var n=s(e),a=[e].concat(t).map((function(e){return o(e)?n&&(e=r(e)):e=n?X(e):Z(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===a.length)return e;if(1===a.length){var i=a[0];if(i===e||n&&s(i)||l(e)&&l(i))return i}var u=new q(a);return n?u=u.toKeyedSeq():l(e)||(u=u.toSetSeq()),(u=u.flatten(!0)).size=a.reduce((function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}}),0),u}function Nt(e,t,n){var r=qt(e);return r.__iterateUncached=function(r,a){var i=0,s=!1;return function e(l,u){var d=this;l.__iterate((function(a,l){return(!t||u0}function Ut(e,t,r){var a=qt(e);return a.size=new q(r).map((function(e){return e.size})).min(),a.__iterate=function(e,t){for(var n,r=this.__iterator(1,t),a=0;!(n=r.next()).done&&!1!==e(n.value,a++,this););return a},a.__iteratorUncached=function(e,a){var i=r.map((function(e){return e=n(e),H(a?e.reverse():e)})),o=0,s=!1;return new I((function(){var n;return s||(n=i.map((function(e){return e.next()})),s=n.some((function(e){return e.done}))),s?{value:void 0,done:!0}:Y(e,o++,t.apply(null,n.map((function(e){return e.value}))))}))},a}function Wt(e,t){return K(e)?t:e.constructor(t)}function Ft(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Vt(e){return Le(e.size),E(e)}function zt(e){return s(e)?r:l(e)?a:i}function qt(e){return Object.create((s(e)?F:l(e)?V:z).prototype)}function Gt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):W.prototype.cacheResult.call(this)}function $t(e,t){return e>t?1:e=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):An(e,t)},_n.prototype.pushAll=function(e){if(0===(e=a(e)).size)return this;Le(e.size);var t=this.size,n=this._head;return e.reverse().forEach((function(e){t++,n={value:e,next:n}})),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):An(t,n)},_n.prototype.pop=function(){return this.slice(1)},_n.prototype.unshift=function(){return this.push.apply(this,arguments)},_n.prototype.unshiftAll=function(e){return this.pushAll(e)},_n.prototype.shift=function(){return this.pop.apply(this,arguments)},_n.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):En()},_n.prototype.slice=function(e,t){if(D(e,t,this.size))return this;var n=C(e,this.size);if(x(t,this.size)!==this.size)return pe.prototype.slice.call(this,e,t);for(var r=this.size-n,a=this._head;n--;)a=a.next;return this.__ownerID?(this.size=r,this._head=a,this.__hash=void 0,this.__altered=!0,this):An(r,a)},_n.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?An(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},_n.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},_n.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new I((function(){if(r){var t=r.value;return r=r.next,Y(e,n++,t)}return{value:void 0,done:!0}}))},_n.isStack=vn;var gn,yn="@@__IMMUTABLE_STACK__@@",bn=_n.prototype;function An(e,t,n,r){var a=Object.create(bn);return a.size=e,a._head=t,a.__ownerID=n,a.__hash=r,a.__altered=!1,a}function En(){return gn||(gn=An(0))}function wn(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}bn[yn]=!0,bn.withMutations=Ie.withMutations,bn.asMutable=Ie.asMutable,bn.asImmutable=Ie.asImmutable,bn.wasAltered=Ie.wasAltered,n.Iterator=I,wn(n,{toArray:function(){Le(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate((function(t,n){e[n]=t})),e},toIndexedSeq:function(){return new xt(this)},toJS:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJS?e.toJS():e})).__toJS()},toJSON:function(){return this.toSeq().map((function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e})).__toJS()},toKeyedSeq:function(){return new Ct(this,!0)},toMap:function(){return ke(this.toKeyedSeq())},toObject:function(){Le(this.size);var e={};return this.__iterate((function(t,n){e[n]=t})),e},toOrderedMap:function(){return At(this.toKeyedSeq())},toOrderedSet:function(){return dn(s(this)?this.valueSeq():this)},toSet:function(){return tn(s(this)?this.valueSeq():this)},toSetSeq:function(){return new Tt(this)},toSeq:function(){return l(this)?this.toIndexedSeq():s(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return _n(s(this)?this.valueSeq():this)},toList:function(){return at(s(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var t=e.call(arguments,0);return Wt(this,Rt(this,t))},includes:function(e){return this.some((function(t){return oe(t,e)}))},entries:function(){return this.__iterator(2)},every:function(e,t){Le(this.size);var n=!0;return this.__iterate((function(r,a,i){if(!e.call(t,r,a,i))return n=!1,!1})),n},filter:function(e,t){return Wt(this,Ot(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return Le(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){Le(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate((function(r){n?n=!1:t+=e,t+=null!=r?r.toString():""})),t},keys:function(){return this.__iterator(0)},map:function(e,t){return Wt(this,St(this,e,t))},reduce:function(e,t,n){var r,a;return Le(this.size),arguments.length<2?a=!0:r=t,this.__iterate((function(t,i,o){a?(a=!1,r=t):r=e.call(n,r,t,i,o)})),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Wt(this,Pt(this,!0))},slice:function(e,t){return Wt(this,It(this,e,t,!0))},some:function(e,t){return!this.every(Tn(e),t)},sort:function(e){return Wt(this,jt(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(e,t){return E(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,n){var r=ke().asMutable();return e.__iterate((function(a,i){r.update(t.call(n,a,i,e),0,(function(e){return e+1}))})),r.asImmutable()}(this,e,t)},equals:function(e){return se(this,e)},entrySeq:function(){var e=this;if(e._cache)return new q(e._cache);var t=e.toSeq().map(xn).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Tn(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate((function(n,a,i){if(e.call(t,n,a,i))return r=[a,n],!1})),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(M)},flatMap:function(e,t){return Wt(this,function(e,t,n){var r=zt(e);return e.toSeq().map((function(a,i){return r(t.call(n,a,i,e))})).flatten(!0)}(this,e,t))},flatten:function(e){return Wt(this,Nt(this,e,!0))},fromEntrySeq:function(){return new Lt(this)},get:function(e,t){return this.find((function(t,n){return oe(n,e)}),void 0,t)},getIn:function(e,t){for(var n,r=this,a=Jt(e);!(n=a.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,m):m)===m)return t}return r},groupBy:function(e,t){return function(e,t,n){var r=s(e),a=(d(e)?At():ke()).asMutable();e.__iterate((function(i,o){a.update(t.call(n,i,o,e),(function(e){return(e=e||[]).push(r?[o,i]:i),e}))}));var i=zt(e);return a.map((function(t){return Wt(e,i(t))}))}(this,e,t)},has:function(e){return this.get(e,m)!==m},hasIn:function(e){return this.getIn(e,m)!==m},isSubset:function(e){return e="function"==typeof e.includes?e:n(e),this.every((function(t){return e.includes(t)}))},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:n(e)).isSubset(this)},keyOf:function(e){return this.findKey((function(t){return oe(t,e)}))},keySeq:function(){return this.toSeq().map(Cn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return Ht(this,e)},maxBy:function(e,t){return Ht(this,t,e)},min:function(e){return Ht(this,e?Ln(e):Pn)},minBy:function(e,t){return Ht(this,t?Ln(t):Pn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Wt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Wt(this,Yt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Tn(e),t)},sortBy:function(e,t){return Wt(this,jt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Wt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Wt(this,function(e,t,n){var r=qt(e);return r.__iterateUncached=function(r,a){var i=this;if(a)return this.cacheResult().__iterate(r,a);var o=0;return e.__iterate((function(e,a,s){return t.call(n,e,a,s)&&++o&&r(e,a,i)})),o},r.__iteratorUncached=function(r,a){var i=this;if(a)return this.cacheResult().__iterator(r,a);var o=e.__iterator(2,a),s=!0;return new I((function(){if(!s)return{value:void 0,done:!0};var e=o.next();if(e.done)return e;var a=e.value,l=a[0],u=a[1];return t.call(n,u,l,i)?2===r?e:Y(r,l,u,e):(s=!1,{value:void 0,done:!0})}))},r}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Tn(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(e){if(e.size===1/0)return 0;var t=d(e),n=s(e),r=t?1:0;return function(e,t){return t=me(t,3432918353),t=me(t<<15|t>>>-15,461845907),t=me(t<<13|t>>>-13,5),t=me((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=_e((t=me(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(n?t?function(e,t){r=31*r+On(ve(e),ve(t))|0}:function(e,t){r=r+On(ve(e),ve(t))|0}:t?function(e){r=31*r+ve(e)|0}:function(e){r=r+ve(e)|0}),r)}(this))}});var Mn=n.prototype;Mn[c]=!0,Mn[O]=Mn.values,Mn.__toJS=Mn.toArray,Mn.__toStringMapper=kn,Mn.inspect=Mn.toSource=function(){return this.toString()},Mn.chain=Mn.flatMap,Mn.contains=Mn.includes,wn(r,{flip:function(){return Wt(this,kt(this))},mapEntries:function(e,t){var n=this,r=0;return Wt(this,this.toSeq().map((function(a,i){return e.call(t,[i,a],r++,n)})).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Wt(this,this.toSeq().flip().map((function(r,a){return e.call(t,r,a,n)})).flip())}});var Dn=r.prototype;function Cn(e,t){return t}function xn(e,t){return[t,e]}function Tn(e){return function(){return!e.apply(this,arguments)}}function Ln(e){return function(){return-e.apply(this,arguments)}}function kn(e){return"string"==typeof e?JSON.stringify(e):String(e)}function Sn(){return A(arguments)}function Pn(e,t){return et?-1:0}function On(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}return Dn[f]=!0,Dn[O]=Mn.entries,Dn.__toJS=Mn.toObject,Dn.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+kn(e)},wn(a,{toKeyedSeq:function(){return new Ct(this,!1)},filter:function(e,t){return Wt(this,Ot(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Wt(this,Pt(this,!1))},slice:function(e,t){return Wt(this,It(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=C(e,e<0?this.count():this.size);var r=this.slice(0,e);return Wt(this,1===n?r:r.concat(A(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Wt(this,Nt(this,e,!1))},get:function(e,t){return(e=w(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,n){return n===e}),void 0,t)},has:function(e){return(e=w(this,e))>=0&&(void 0!==this.size?this.size===1/0||enew Promise((n,r)=>{const a=t().app.adapter.bleDriver.adapter;null!==a?(e({type:"DEVICE_CANCEL_CONNECT"}),a.cancelConnect(e=>{e&&r(new Error(e.message)),n()})):r(new Error("No adapter selected"))}).then(()=>{e({type:"DEVICE_CONNECT_CANCELED"})}).catch(t=>{e((0,p.showErrorDialog)(t))})},t.closeAdapter=function(){return(e,t)=>$(e,t)},t.connectToDevice=function(e){return(t,n)=>new Promise((r,a)=>{const i=n().app.adapter.bleDriver.adapter,o=n().app.adapter.connectionParameters;null===i&&a(new Error("No adapter selected"));const s={scanParams:{active:!0,interval:100,window:50,timeout:20},connParams:{min_conn_interval:o.connectionInterval,max_conn_interval:o.connectionInterval,slave_latency:o.slaveLatency,conn_sup_timeout:o.connectionSupervisionTimeout}};t(function(e){return{type:"DEVICE_CONNECT",device:e}}(e)),i.connect({address:e.address,type:e.addressType},s,e=>{e?a(new Error(e.message)):r()})}).catch(e=>{t((0,p.showErrorDialog)(e))})},t.detachFromDevice=function(e){return S(e)},t.disableDeviceEvents=function(e){return function(e){return{type:"DEVICE_DISABLE_EVENTS",deviceAddress:e}}(e)},t.disconnectFromDevice=function(e){return(t,n)=>new Promise((t,r)=>{const a=n().app.adapter.bleDriver.adapter;null===a&&r(new Error("No adapter selected")),a.disconnect(e.instanceId,(e,n)=>{e?r(new Error(e.message)):t(n)})}).catch(e=>{t((0,p.showErrorDialog)(e))})},t.enableDeviceEvents=function(e){return function(e){return{type:"DEVICE_ENABLE_EVENTS",deviceAddress:e}}(e)},t.hideConnectionParamDialog=function(){return{type:"HIDE_DIALOG"}},t.initAdapter=function(e){return t=>{if(e.serialport){const n=e.serialport.comName;e.traits.jlink?(0,u.isSupportedJLinkDevice)(e.boardVersion)?t(K(n,e)):(s.logger.info("The device is not in the list of supported devices. Attempting to open as a custom device."),t(X(n))):e.traits.nordicUsb?t(Q(n)):t(X(n))}else s.logger.error("Device has no serial port. Cannot open device.")}},t.openAdapter=J,t.openCustomAdapter=X,t.openJlinkAdapter=K,t.openNordicUsbAdapter=Q,t.pairWithDevice=function(e,t,n){return(r,a)=>new Promise((e,r)=>{const i=a().app.adapter.bleDriver.adapter;i||r(new Error("No adapter selected!")),i.authenticate(t.instanceId,n,t=>{t&&r(new Error(t.message)),s.logger.debug("Authenticate, secParams: "+n),e()})}).then(()=>{r(Y(t,n)),r(T(e,t,c.BLEEventState.PENDING))}).catch(n=>{r(T(e,t,c.BLEEventState.ERROR)),r((0,p.showErrorDialog)(n))})},t.rejectDeviceConnectionParams=function(e,t){return(n,r)=>new Promise((e,n)=>{const a=r().app.adapter.bleDriver.adapter;null===a&&n(new Error("No adapter selected!")),a.rejectConnParams(t.instanceId,t=>{t?n(new Error(t.message)):e()})}).then(()=>{n(M(e,t,c.BLEEventState.REJECTED))}).catch(r=>{n(M(e,t,c.BLEEventState.ERROR)),n((0,p.showErrorDialog)(r))})},t.rejectPairing=function(e,t){return(n,r)=>new Promise((e,n)=>{const a=r().app.adapter.bleDriver.adapter;if(null===a&&n(new Error("No adapter selected!")),"peripheral"===t.role)a.authenticate(t.instanceId,null,t=>{t&&n(new Error(t.message)),e()});else if("central"===t.role){const r=133;a.replySecParams(t.instanceId,r,null,null,t=>{t&&n(new Error(t.message)),e()})}else n(new Error("Invalid role"))}).then(()=>{n(T(e,t,c.BLEEventState.REJECTED))}).catch(()=>{n(T(e,t,c.BLEEventState.ERROR))})},t.replyAuthKey=function(e,t,n,r){return(a,i)=>G(a,i,e,t,n,r)},t.replyLescOob=function(e,t,n,r){return(a,i)=>new Promise((e,a)=>{const o=i().app.adapter.bleDriver.adapter;let l;l=""===n.confirm||""===n.random?null:{addr:{address:t.address,type:t.addressType},r:(0,d.hexStringToArray)(n.random),c:(0,d.hexStringToArray)(n.confirm)},s.logger.debug(`setLescOobData, ownOobData: ${JSON.stringify(r)}, peerOobData: ${JSON.stringify(l)}`),o.setLescOobData(t.instanceId,r,l,t=>{t&&a(new Error(t.message)),e()})}).then(()=>{a(T(e,t,c.BLEEventState.PENDING))}).catch(n=>{a((0,p.showErrorDialog)(n)),a(L(e,t,c.BLEEventState.ERROR))})},t.replyNumericalComparisonMatch=function(e,t,n){return(r,a)=>G(r,a,e,t,n?"BLE_GAP_AUTH_KEY_TYPE_PASSKEY":"BLE_GAP_AUTH_KEY_TYPE_NONE",null)},t.sendKeypress=function(e,t,n){return(r,a)=>{const i=e,o=a().app.adapter.bleDriver.adapter,s=o.driver,l=a().app.bleEvent.getIn(["events",i,"keypressStartSent"]);null!==o?new Promise((e,n)=>{!0!==l?o.notifyKeypress(t.instanceId,s.BLE_GAP_KP_NOT_TYPE_PASSKEY_START,t=>{t?n(new Error(t.message)):e()}):e()}).then(()=>(r(I(i,t,"BLE_GAP_KP_NOT_TYPE_PASSKEY_START")),new Promise((e,r)=>{let a;if("BLE_GAP_KP_NOT_TYPE_PASSKEY_START"===n)a=s.BLE_GAP_KP_NOT_TYPE_PASSKEY_START;else if("BLE_GAP_KP_NOT_TYPE_PASSKEY_END"===n)a=s.BLE_GAP_KP_NOT_TYPE_PASSKEY_END;else if("BLE_GAP_KP_NOT_TYPE_PASSKEY_DIGIT_IN"===n)a=s.BLE_GAP_KP_NOT_TYPE_PASSKEY_DIGIT_IN;else if("BLE_GAP_KP_NOT_TYPE_PASSKEY_DIGIT_OUT"===n)a=s.BLE_GAP_KP_NOT_TYPE_PASSKEY_DIGIT_OUT;else{if("BLE_GAP_KP_NOT_TYPE_PASSKEY_CLEAR"!==n)return void r(new Error("Unknown keypress received."));a=s.BLE_GAP_KP_NOT_TYPE_PASSKEY_CLEAR}o.notifyKeypress(t.instanceId,a,t=>{t?r(new Error(t.message)):e()})}).then(()=>{r(I(i,t,n))}).catch(e=>{r((0,p.showErrorDialog)(e))}))).catch(e=>{r((0,p.showErrorDialog)(e))}):r((0,p.showErrorDialog)("No adapter selected!"))}},t.setConnectionParams=function(e){return function(e){return{type:"SET_CONNECTION_PARAMS",params:e}}(e)},t.showConnectionDialog=function(){return{type:"SHOW_CONNECTION_PARAMS"}},t.toggleAutoConnUpdate=function(){return{type:"DEVICE_TOGGLE_AUTO_CONN_UPDATE"}},t.updateDeviceConnectionParams=function(e,t,n){return(r,a)=>W(r,a,e,t,n)},t.updateDeviceDataLength=function(e,t,n){return(r,a)=>q(r,a,e,t,n)},t.updateDeviceMtu=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return(a,i)=>r?z(a,i,e,t,n):V(a,i,e,t,n)},t.updateDevicePhyParams=function(e,t,n){return(r,a)=>F(r,a,e,t,n)};var r=h(n(311)),a=h(n(103)),i=h(n(105)),o=n(53),s=n(8),l=n(312),u=n(313),d=n(32),c=n(19),f=n(54),p=n(33);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t{const n=t.description&&t.description.errcode?`${t.message} (${t.description.errcode})`:""+t.message;e((0,p.showErrorDialog)(new Error(n)))}),n.on("warning",e=>{e.message.includes("not supported")?s.logger.warn(e.message):s.logger.info(e.message)}),n.on("logMessage",U),n.on("stateChanged",t=>{e(function(e,t){return{type:"ADAPTER_STATE_CHANGED",adapter:e,state:t}}(n,t))}),n.on("deviceDiscovered",n=>{N(n,t,()=>{e(function(e){return{type:"DEVICE_DISCOVERED",device:e}}(n))})}),n.on("deviceConnected",n=>{N(n,t,()=>{!function(e,t,n){const r=t().app.adapter.bleDriver.adapter;if(!r)return void s.logger.warn("No adapter");Object.assign(n,{rxPhy:c.BLEPHYType.BLE_GAP_PHY_1MBPS,txPhy:c.BLEPHYType.BLE_GAP_PHY_1MBPS,mtu:23,dataLength:27});const a=t().app.adapter.getIn(["selectedAdapter","security","bondStore",n.address]);if("peripheral"===n.role&&a){let e,t;a.getIn(["keys_own","enc_key","enc_info","lesc"])?(e=a.getIn(["keys_own","enc_key","enc_info"]).toJS(),t=a.getIn(["keys_own","enc_key","master_id"]).toJS()):(e=a.getIn(["keys_peer","enc_key","enc_info"]).toJS(),t=a.getIn(["keys_peer","enc_key","master_id"]).toJS()),r.encrypt(n.instanceId,t,e,n=>{n&&s.logger.warn("Encrypt procedure failed: "+n),s.logger.debug(`Encrypt, masterId: ${JSON.stringify(t)}, encInfo: ${JSON.stringify(e)}`)})}e(function(e){return{type:"DEVICE_CONNECTED",device:e}}(n)),e((0,f.discoverServices)(n))}(e,t,n)})}),n.on("deviceDisconnected",(n,r)=>{N(n,t,()=>{e(S(n,r))})}),n.on("connectTimedOut",t=>{e(function(e){return{type:"DEVICE_CONNECT_TIMEOUT",deviceAddress:e}}(t))}),n.on("scanTimedOut",()=>{e({type:"ADAPTER_SCAN_TIMEOUT",adapter:n})}),n.on("advertiseTimedOut",()=>{e({type:"ADAPTER_ADVERTISEMENT_TIMEOUT",adapter:n})}),n.on("securityRequestTimedOut",n=>{N(n,t,()=>{e(function(e){return{type:"DEVICE_SECURITY_REQUEST_TIMEOUT",device:e}}(n))})}),n.on("connParamUpdateRequest",(n,r)=>{N(n,t,()=>{!function(e,t,n,r){if(!0===t().app.adapter.autoConnUpdate){const a=_(_({},r),{},{maxConnectionInterval:r.minConnectionInterval});W(e,t,-1,n,a)}else e(P(n,r))}(e,t,n,r)})}),n.on("connParamUpdate",(n,r)=>{N(n,t,()=>{!function(e,t,n,r){"central"!==n.role||t().app.adapter.autoConnUpdate||e(P(n,r));e(M(-1,n,-1)),e(function(e){return{type:"DEVICE_CONNECTION_PARAMS_UPDATED",device:e}}(n))}(e,t,n,r)})}),n.on("attMtuRequest",(n,r)=>{N(n,t,()=>{!function(e,t,n,r){!0===t().app.adapter.autoConnUpdate?z(e,t,-1,n,r):e(function(e,t){return{type:"DEVICE_MTU_UPDATE_REQUEST",device:e,requestedMtu:t}}(n,r))}(e,t,n,r)})}),n.on("attMtuChanged",(n,r)=>{N(n,t,()=>{B(e,t,n,r)})}),n.on("characteristicValueChanged",n=>{H(e,t,n,n.valueHandle)}),n.on("descriptorValueChanged",n=>{H(e,t,n,n.handle)}),n.on("securityChanged",(n,r)=>{N(n,t,()=>{e(function(e,t){return{type:"DEVICE_SECURITY_CHANGED",device:e,parameters:t}}(n,r))})}),n.on("securityRequest",(n,r)=>{N(n,t,()=>{!function(e,t,n,r){const a=t().app.adapter.selectedAdapter,i=a.security.securityParams;if(!i)return void s.logger.warn("Security request received but security state is undefined");a.security.autoAcceptPairing?(e(Y(n,i)),function(e,t,n,r){const a=t().app.adapter.bleDriver.adapter;new Promise((t,i)=>{a.authenticate(n.instanceId,r,r=>{r&&(i(new Error(r.message)),e(k(n))),t(a)})})}(e,t,n,i)):e(O(n,r))}(e,t,n,r)})}),n.on("secParamsRequest",(n,r)=>{N(n,t,()=>{!function(e,t,n,r){const a=t().app.adapter.selectedAdapter,i=a.security.securityParams,o=t().app.adapter.bleDriver.adapter;if(e(function(e,t){return{type:"DEVICE_SECURITY_STORE_PEER_PARAMS",device:e,peerParams:t}}(n,r)),y.keys_own.pk={pk:o.computePublicKey()},"central"===n.role)if(n.ownPeriphInitiatedPairingPending){let r=t().app.adapter.getIn(["selectedAdapter","security","connectionsSecParameters",n.address,"ownParams"]);r||(s.logger.info("Could not retrieve stored security params, using default params"),r=i),o.replySecParams(n.instanceId,0,r,y,t=>{t&&(s.logger.warn("Error when calling replySecParams: "+t),e(k(n))),s.logger.debug("ReplySecParams, secParams: "+r),e(Y(n,r))})}else if(a.security.autoAcceptPairing)e(Z(-1,n,i));else{const t={bond:r.bond,mitm:r.mitm,lesc:r.lesc,keypress:r.keypress};e(O(n,t))}else"peripheral"===n.role&&o.replySecParams(n.instanceId,0,null,y,t=>{t&&(s.logger.warn("Error when calling replySecParams: "+t),e(k(n))),s.logger.debug("ReplySecParams, secParams: null")})}(e,t,n,r)})}),n.on("secInfoRequest",(n,r)=>{N(n,t,()=>{!function(e,t,n){const r=t().app.adapter.bleDriver.adapter,a=t().app.adapter.getIn(["selectedAdapter","security","bondStore",n.address]);let i,o;a?(i=a.getIn(["keys_own","enc_key","enc_info"]).toJS(),o=a.getIn(["keys_own","id_key","id_info"]).toJS()):(s.logger.info("Peer requested encryption, but no keys are found for address "+n.address),i=null,o=null);r.secInfoReply(n.instanceId,i,o,null,t=>{t&&(s.logger.warn("Error when calling secInfoReply: "+t),e(k(n))),s.logger.debug(`SecInfoReply, ${JSON.stringify(i)}, ${JSON.stringify(o)}`)})}(e,t,n)})}),n.on("authKeyRequest",(n,r)=>{N(n,t,()=>{!function(e,t,n,r){const a=t().app.adapter.getIn(["selectedAdapter","security","connectionsSecParameters",n.address]),i=!0===a.peerParams.keypress&&!0===a.ownParams.keypress;e(function(e,t,n){return{type:"DEVICE_AUTHKEY_REQUEST",device:e,keyType:t,sendKeypress:n}}(n,r,i))}(e,t,n,r)})}),n.on("passkeyDisplay",(n,r,a)=>{N(n,t,()=>{!function(e,t,n,r,a){const i=t().app.adapter.getIn(["selectedAdapter","security","connectionsSecParameters",n.address]),o=!0===i.peerParams.keypress&&!0===i.ownParams.keypress;e(function(e,t,n,r){return{type:"DEVICE_PASSKEY_DISPLAY",device:e,matchRequest:t,passkey:n,receiveKeypress:r}}(n,r,a,o))}(e,t,n,r,a)})}),n.on("lescDhkeyRequest",(n,r,a)=>{N(n,t,()=>{!function(e,t,n,r,a){const i=t().app.adapter.bleDriver.adapter,o=i.computeSharedSecret(r);i.replyLescDhkey(n.instanceId,o,t=>{t&&(s.logger.warn("Error when sending LESC DH key"),e(k(n)))});const l=i.computePublicKey();i.getLescOobData(n.instanceId,l,(t,r)=>{if(t)return s.logger.warn("Error in getLescOobData: "+t.message),void e(k(n));s.logger.debug("Own OOB data: "+JSON.stringify(r)),a&&e(function(e,t){return{type:"DEVICE_LESC_OOB_REQUEST",device:e,ownOobData:t}}(n,r))})}(e,t,n,r,a)})}),n.on("keyPressed",(n,r)=>{N(n,t,()=>{e(function(e,t){return{type:"DEVICE_PASSKEY_KEYPRESS_RECEIVED",device:e,keypressType:t}}(n,r))})}),n.on("authStatus",(n,r)=>{N(n,t,()=>{!function(e,t,n,r){if(0!==r.auth_status)return s.logger.warn("Authentication failed with status "+r.auth_status_name),void e(k(n));if(e(function(e){return{type:"DEVICE_AUTH_SUCCESS_OCCURED",device:e}}(n)),!(r.keyset&&r.keyset.keys_own&&r.keyset.keys_own.pk&&r.keyset.keys_own.enc_key&&r.keyset.keys_own.id_key))return;if(!r.bonded)return void s.logger.debug("No bonding performed, do not store keys");e(function(e,t){return{type:"DEVICE_ADD_BOND_INFO",device:e,params:t}}(n,r))}(e,0,n,r)})}),n.on("status",t=>{!function(e,t,n,r){if(null==r)return void s.logger.error("Received status callback, but adapter is not selected yet.");"RESET_PERFORMED"===n.name?r&&e({type:"ADAPTER_RESET_PERFORMED",adapter:r}):"CONNECTION_ACTIVE"===n.name?function(e,t){if(!t)return void s.logger.error("Trying to enable BLE, but adapter not provided.");new Promise((e,n)=>{t.enableBLE(null,t=>{t?n(new Error(t.message)):e()})}).then(()=>new Promise((e,n)=>{t.getState(t=>{t?n(new Error(t.message)):e()})})).then(()=>{s.logger.debug("SoftDevice BLE stack enabled.")}).catch(t=>{e((0,p.showErrorDialog)(t))})}(e,r):s.logger.error(`Received status with code ${n.id} ${n.name}, message: '${n.message}'`)}(e,0,t,n)}),n.on("phyUpdateRequest",(n,r)=>{N(n,t,()=>{!function(e,t,n,r){if(!0===t().app.adapter.autoConnUpdate){const a={tx_phys:r.tx_phys,rx_phys:r.rx_phys};F(e,t,-1,n,a)}else e(function(e,t){return{type:"DEVICE_PHY_UPDATE_REQUEST",device:e,requestedPhyParams:t}}(n,r))}(e,t,n,r)})}),n.on("phyUpdated",(n,r)=>{r.rx_phy,r.tx_phy;N(n,t,()=>{!function(e,t,n){e(D(-1,n,-1)),e(function(e){return{type:"DEVICE_PHY_UPDATED",device:e}}(n))}(e,0,n)})}),n.on("dataLengthUpdateRequest",(n,r)=>{N(n,t,()=>{!function(e,t,n,r){const a=r.max_rx_octets,i=r.max_tx_octets,o=Math.max(a,i);!0===t().app.adapter.autoConnUpdate?q(e,t,-1,n,o):e(function(e,t,n){return{type:"DEVICE_DATA_LENGTH_UPDATE_REQUEST",device:e,requestedMtu:t,requestedDataLength:n}}(n,void 0,o))}(e,t,n,r)})}),n.on("dataLengthUpdated",(n,r)=>{let a=r.effective_params,i=a.max_rx_octets,o=a.max_tx_octets;N(n,t,()=>{!function(e,t,n){e(x(-1,n,-1)),e(function(e){return{type:"DEVICE_DATA_LENGTH_UPDATED",device:e}}(n))}(e,0,n,Math.min(i,o))})})}function N(e,t,n){t().app.adapter.ignoredDeviceAddresses.has(e.address)||n()}function j(e){const t=A.slice();e({type:"ADAPTER_MULTI_ATTRIBUTE_VALUE_CHANGED",attributeValueArray:t}),A.length=0}function H(e,t,n,r){let i;Array.isArray(n.value)?i=n.value:n.value&&(i=n.value[Object.keys(n.value)[0]]),s.logger.info(`Attribute value changed, handle: 0x${(0,d.toHexString)(r)}, value (0x): ${(0,d.toHexString)(i)}`),b||(b=a.default.throttle(j,500)),A.push({attribute:n,value:n.value}),b(e)}function B(e,t,n,r){e(C(-1,n,-1)),e(function(e,t){return{type:"DEVICE_MTU_UPDATED",device:e,mtu:t}}(n,r))}function U(e,t){switch(e){case 0:case 1:s.logger.debug(t);break;case 2:s.logger.info(t);break;case 3:s.logger.warn(t);break;case 4:case 5:s.logger.error(t);break;default:s.logger.warn(`Log message of unknown severity ${e} received: ${t}`)}}function W(e,t,n,r,a){return new Promise((e,n)=>{t().app.adapter.bleDriver.adapter.updateConnectionParameters(r.instanceId,a,(t,r)=>{t?n(new Error(t.message)):e(r)})}).then(t=>{e(M(n,t,c.BLEEventState.SUCCESS))}).catch(t=>{e(M(n,r,c.BLEEventState.ERROR)),e((0,p.showErrorDialog)(t))})}function F(e,t,n,r,a){return new Promise((e,n)=>{t().app.adapter.bleDriver.adapter.phyUpdate(r.instanceId,a,(t,r)=>{t?n(new Error(t.message)):e(r)})}).then(t=>{e(D(n,t,c.BLEEventState.SUCCESS))}).catch(t=>{e(D(n,r,c.BLEEventState.ERROR)),e((0,p.showErrorDialog)(t))})}function V(e,t,n,r,a){return new Promise((i,o)=>{t().app.adapter.bleDriver.adapter.requestAttMtu(r.instanceId,a,e=>e?o(new Error(e.message)):i()),e(C(n,r,c.BLEEventState.SUCCESS))}).catch(t=>{e(C(n,r,c.BLEEventState.ERROR)),e((0,p.showErrorDialog)(t))})}function z(e,t,n,r,a){return new Promise((e,n)=>{t().app.adapter.bleDriver.adapter.attMtuReply(r.instanceId,a,t=>t?n(new Error(t.message)):e())}).then(()=>{e(C(n,r,c.BLEEventState.SUCCESS)),B(e,0,r,a)}).catch(t=>{e(C(n,r,c.BLEEventState.ERROR)),e((0,p.showErrorDialog)(t))})}function q(e,t,n,r,a){return new Promise((e,n)=>{t().app.adapter.bleDriver.adapter.dataLengthUpdate(r.instanceId,{max_rx_octets:a,max_tx_octets:a},(t,r)=>{t?n(new Error(t.message)):e(r)})}).then(t=>{e(x(n,t,c.BLEEventState.SUCCESS))}).catch(t=>{e(x(n,r,c.BLEEventState.ERROR)),e((0,p.showErrorDialog)(t))})}function G(e,t,n,r,a,i){const o=t().app.adapter.bleDriver.adapter,s=o.driver;null===o&&e((0,p.showErrorDialog)(new Error("No adapter selected!")));const l=t().app.bleEvent.getIn(["events",n,"keypressStartSent"]);return new Promise((e,t)=>{!0===l?o.notifyKeypress(r.instanceId,s.BLE_GAP_KP_NOT_TYPE_PASSKEY_END,n=>{n?t(new Error(n.message)):e()}):e()}).then(()=>(!0===l&&e(I(n,r,"BLE_GAP_KP_NOT_TYPE_PASSKEY_END")),new Promise((e,t)=>{const n={BLE_GAP_AUTH_KEY_TYPE_PASSKEY:1,BLE_GAP_AUTH_KEY_TYPE_OOB:2}[a]||0;o.replyAuthKey(r.instanceId,n,i,n=>{n&&t(new Error(n.message)),e()})}).then(()=>{e(T(n,r,c.BLEEventState.PENDING))}).catch(t=>{e((0,p.showErrorDialog)(t)),e(L(n,r,c.BLEEventState.ERROR))}))).catch(t=>{e((0,p.showErrorDialog)(t))})}function $(e,t){return new Promise((e,n)=>{const r=t().app.adapter.bleDriver.adapter;r?r.close(t=>{t?n(new Error(t.message)):e()}):e()}).then(()=>{const n=t().app.adapter.selectedAdapter;n&&e(function(e){return{type:"ADAPTER_CLOSED",adapter:e}}(n))}).catch(t=>{e((0,p.showErrorDialog)(t))})}function J(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e6;return(r,a)=>Promise.resolve().then(()=>null!==a().app.adapter.bleDriver.adapter?$(r,a):Promise.resolve()).then(()=>{const i=g.createAdapter("v"+t,e,e);r(w(i)),R(r,a,i);const o={baudRate:n,parity:"none",flowControl:"none",eventInterval:0,logLevel:"debug",enableBLE:!1};return new Promise((e,t)=>{setTimeout(()=>{i.open(o,n=>{n?t(n):(r(E(i)),e(i))})},500)})}).catch(e=>s.logger.error(e.message))}function K(e,t){return n=>{"darwin"!==i.default.platform()&&"linux"!==i.default.platform()||s.logger.info("Note: Adapters with Segger JLink debug probe requires MSD to be disabled to function properly on MacOS and Linux. Please visit www.nordicsemi.com/nRFConnectOSXfix for further instructions."),s.logger.info("Getting information from J-Link debugger...");const a=(0,l.getJlinkDeviceInfo)(t);s.logger.info(`Found device type: ${a.type}. J-Link firmware: ${a.firmwareString}.`);try{r.default.readFwInfo((0,s.getDeviceLibContext)(),t.id).then(t=>{const r=o.FirmwareRegistry.getSdApiAndVersionNumber(t.imageInfoList),a=r.version,i=r.sdBleApiVersion;s.logger.info(`Connectivity firmware version: ${a}. SoftDevice API version: ${i}.`),n(J(e,i))})}catch(e){s.logger.error("Unable to open device: "+e.message)}}}function Q(e){return t=>{const n=o.FirmwareRegistry.getNordicUsbConnectivityFirmware(),r=n.version,a=n.baudRate,i=n.sdBleApiVersion;s.logger.info(`Connectivity firmware version: ${r}. SoftDevice API version: ${i}. Baud rate: ${a}.`),t(J(e,i,a))}}function X(e){return t=>{const n=o.FirmwareRegistry.getJlinkConnectivityFirmware("nrf52","linux"),r=n.version,a=n.sdBleApiVersion,i=n.baudRate;s.logger.info("Opening custom device"),s.logger.info(`Note: firmware must be compatible with connectivity firmware version: ${r}, SoftDevice API version: ${a} and baud rate: ${i}.`),t(J(e,a,i))}}function Z(e,t,n){return(r,a)=>new Promise((e,r)=>{const i=a().app.adapter.bleDriver.adapter;null===i&&r(new Error("No adapter selected!")),y.keys_own.pk={pk:i.computePublicKey()},"peripheral"===t.role?i.authenticate(t.instanceId,n,t=>{t&&r(new Error(t.message)),s.logger.debug("Authenticate, secParams: "+n),e()}):"central"===t.role?i.replySecParams(t.instanceId,0,n,y,t=>{t&&r(new Error(t.message)),s.logger.debug(`ReplySecParams, secParams: ${JSON.stringify(n)}, secKeyset: ${JSON.stringify(y)}`),e()}):r(new Error("Unknown role"))}).then(()=>{r(Y(t,n)),r(T(e,t,c.BLEEventState.PENDING))}).catch(()=>{r(T(e,t,c.BLEEventState.ERROR))})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.write=t.viewport=t.variationPlacements=t.top=t.start=t.right=t.reference=t.read=t.popper=t.placements=t.modifierPhases=t.main=t.left=t.end=t.clippingParents=t.bottom=t.beforeWrite=t.beforeRead=t.beforeMain=t.basePlacements=t.auto=t.afterWrite=t.afterRead=t.afterMain=void 0;t.top="top";t.bottom="bottom";t.right="right";t.left="left";t.auto="auto";var r=["top","bottom","right","left"];t.basePlacements=r;t.start="start";t.end="end";t.clippingParents="clippingParents";t.viewport="viewport";t.popper="popper";t.reference="reference";var a=r.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]);t.variationPlacements=a;var i=[].concat(r,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]);t.placements=i;t.beforeRead="beforeRead";t.read="read";t.afterRead="afterRead";t.beforeMain="beforeMain";t.main="main";t.afterMain="afterMain";t.beforeWrite="beforeWrite";t.write="write";t.afterWrite="afterWrite";var o=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];t.modifierPhases=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImmutableService=t.ImmutableDevice=t.ImmutableDescriptor=t.ImmutableCharacteristic=t.ImmutableAdapter=void 0,t.getImmutableAdapter=function(e){return new s({port:e.state.port,state:h(e.state),connectedDevices:(0,r.Map)(),deviceDetails:void 0,serverSetup:void 0,security:void 0})},t.getImmutableAdapterState=h,t.getImmutableCharacteristic=function(e){const t=e.properties||{};return new c({instanceId:e.instanceId,serviceInstanceId:e.serviceInstanceId,uuid:e.uuid,name:e.name,declarationHandle:e.declarationHandle,valueHandle:e.valueHandle,value:(0,r.List)(e.value),properties:m(t),readPerm:e.readPerm,writePerm:e.writePerm,fixedLength:e.fixedLength,maxLength:e.maxLength,children:e.children})},t.getImmutableDescriptor=function(e){const t=function(e){const t=e.uuid,n=e.value;if("local.server"===p(e.instanceId).device&&"2902"===t){let e=new r.Map;const t=Object.keys(n);for(let a=0;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n0){var r=a(n,1);t.address=r[0]}return n.length>1&&(t.device=n.slice(0,2).join(".")),n.length>2&&(t.service=n.slice(0,3).join(".")),n.length>3&&(t.characteristic=n.slice(0,4).join(".")),n.length>4&&(t.descriptor=n.slice(0,5).join(".")),t}function h(e){return new o({instanceId:e.instanceId,port:e.port,serialNumber:e.serialNumber,available:e.available,scanning:e.scanning,advertising:e.advertising,connecting:e.connecting,address:e.address,name:e.name,firmwareVerison:e.firmwareVerison})}function m(e){return new u({broadcast:e.broadcast,read:e.read,writeWoResp:e.writeWoResp||e.write_wo_resp,write:e.write,notify:e.notify,indicate:e.indicate,authSignedWr:e.authSignedWr||e.auth_signed_wr,reliableWr:e.reliableWr||e.reliable_wr,wrAux:e.wrAux?e.wrAux:e.wr_aux})}t.ImmutableDescriptor=f},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(1)),a=l(n(18)),i=l(n(42)),o=l(n(2));const s=["id","inline","validationState","label","labelClassName","wrapperClassName","buttonAfter","value"];function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}const c=e=>{const t=e.id,n=e.inline,o=e.validationState,l=e.label,c=e.labelClassName,f=e.wrapperClassName,p=e.buttonAfter,h=e.value,m=d(e,s),_=n&&{className:"form-inline"},v=""+h;return"success"===o&&(m.isValid=!0),"error"===o&&(m.isInvalid=!0),r.default.createElement(a.default.Group,u({controlId:t},_),l&&r.default.createElement(a.default.Label,{className:c},l),r.default.createElement(i.default,{className:f},r.default.createElement(a.default.Control,u({value:v},m)),p&&r.default.createElement(i.default.Append,null,p)))};c.propTypes={buttonAfter:o.default.node,className:o.default.string,hasFeedback:o.default.bool,id:o.default.string,inline:o.default.bool,label:o.default.string,labelClassName:o.default.string,onChange:o.default.func,placeholder:o.default.string,title:o.default.string,validationState:o.default.string,wrapperClassName:o.default.string,value:o.default.oneOfType([o.default.string,o.default.number])},c.defaultProps={buttonAfter:null,className:null,hasFeedback:!1,id:"",inline:!0,label:"",labelClassName:"col-md-3 text-right",onChange:null,placeholder:"",title:null,validationState:null,value:null,wrapperClassName:"col-md-9"};var f=c;t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isElement=function(e){var t=(0,a.default)(e).Element;return e instanceof t||e instanceof Element},t.isHTMLElement=function(e){var t=(0,a.default)(e).HTMLElement;return e instanceof t||e instanceof HTMLElement},t.isShadowRoot=function(e){if("undefined"==typeof ShadowRoot)return!1;var t=(0,a.default)(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot};var r,a=(r=n(22))&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__DO_NOT_USE__ActionTypes=void 0,t.applyMiddleware=function(){for(var e=arguments.length,t=new Array(e),n=0;n{const t=i.default.join((0,i.dirname)(e),"nrfconnect","uuid_definitions.json");if(a.default.existsSync(t))return a.default.copyFileSync(t,b),!0;return!1})(e)||a.default.writeFile(b,JSON.stringify(E,null,4),e=>{e&&o.logger.debug("An error ocurred creating the file "+e.message)})},t.getPrettyUuid=function(e){if(4===e.length)return e.toUpperCase();const t=(e,t)=>`${e.substr(0,t)}-${e.substr(t)}`;return t(t(t(t(e.toUpperCase(),20),16),12),8)},t.getUuidDefinitionsFilePath=function(){return b},t.getUuidFormat=function(e){if(!e)return l.NO_FORMAT;const t=k(e),n=L();if(n[t]){const e=n[t].format;return e?e.toUpperCase():l.NO_FORMAT}return l.NO_FORMAT},t.getUuidName=function(e){const t=k(e),n=L();if(n[t])return n[t].name;return e},t.migrateOldPersistentStorage=void 0,t.populateUuids=function(){(0,s.default)().then(e=>{(e.characteristics||r.characteristics).forEach(e=>{const t=e.uuid.replace(/-/g,"");g[t]=p(p({},e),g[t])});(e.services||r.services).forEach(e=>{v[e.uuid.replace(/-/g,"")]={name:e.name}});(e.descriptors||r.descriptors).forEach(e=>{y[e.uuid.replace(/-/g,"")]={name:e.name}})})},t.uuid128bitDefinitions=T,t.uuid128bitDescriptorDefinitions=C,t.uuid128bitServiceDefinitions=function(){return D(),p(p({},v),w.uuid128bitServiceDefinitions)},t.uuid16bitDefinitions=x,t.uuid16bitServiceDefinitions=function(){return D(),p(p(p({},v),w.uuid16bitServiceDefinitions),l.uuid16bitServiceDefinitions)},t.uuidCharacteristicDefinitions=function(){return D(),p(p(p({},w.uuid16bitCharacteristicDefinitions),w.uuid128bitCharacteristicDefinitions),g)},t.uuidDefinitions=L,t.uuidDescriptorDefinitions=function(){return D(),p(p(p({},w.uuid16bitDescriptorDefinitions),C()),y)},t.uuidServiceDefinitions=function(){return D(),p(p(p({},w.uuid16bitServiceDefinitions),w.uuid128bitServiceDefinitions),v)};var r=n(317),a=c(n(40)),i=d(n(106)),o=n(8),s=c(n(318)),l=d(n(74));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function c(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{const t=i.default.join(e,"pc-nrfconnect-ble.json");if(!a.default.existsSync(t)){const n=i.default.join((0,i.dirname)(e),"nrfconnect","pc-nrfconnect-ble.json");a.default.existsSync(n)&&a.default.copyFileSync(n,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=_(n(3)),a=_(n(4)),i=_(n(5)),o=_(n(1)),s=_(n(102)),l=_(n(300)),u=_(n(303)),d=_(n(304)),c=_(n(305)),f=_(n(306)),p=_(n(307)),h=n(6),m=_(n(31));function _(e){return e&&e.__esModule?e:{default:e}}var v=["bsPrefix","inline","className","validated","as"],g=(0,m.default)("form-row"),y=o.default.forwardRef((function(e,t){var n=e.bsPrefix,s=e.inline,l=e.className,u=e.validated,d=e.as,c=void 0===d?"form":d,f=(0,a.default)(e,v);return n=(0,h.useBootstrapPrefix)(n,"form"),o.default.createElement(c,(0,r.default)({},f,{ref:t,className:(0,i.default)(l,u&&"was-validated",s&&n+"-inline")}))}));y.displayName="Form",y.defaultProps={inline:!1},y.Row=g,y.Group=d.default,y.Control=u.default,y.Check=s.default,y.File=l.default,y.Switch=p.default,y.Label=c.default,y.Text=f.default;var b=y;t.default=b,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BLEPHYType=t.BLEEventType=t.BLEEventState=void 0;t.BLEEventState={UNKNOWN:0,ERROR:1,REJECTED:2,DISCONNECTED:3,INDETERMINATE:4,SUCCESS:5,IGNORED:6,PENDING:7};t.BLEEventType={USER_INITIATED_CONNECTION_UPDATE:0,PEER_CENTRAL_INITIATED_CONNECTION_UPDATE:1,PEER_PERIPHERAL_INITIATED_CONNECTION_UPDATE:2,USER_INITIATED_PAIRING:3,PEER_INITIATED_PAIRING:4,PASSKEY_DISPLAY:5,PASSKEY_REQUEST:6,NUMERICAL_COMPARISON:7,LEGACY_OOB_REQUEST:8,LESC_OOB_REQUEST:9,USER_INITIATED_PHY_UPDATE:10,PEER_INITIATED_PHY_UPDATE:11,USER_INITIATED_MTU_UPDATE:12,PEER_INITIATED_MTU_UPDATE:13,USER_INITIATED_DATA_LENGTH_UPDATE:14,PEER_INITIATED_DATA_LENGTH_UPDATE:15};t.BLEPHYType={BLE_GAP_PHY_AUTO:0,BLE_GAP_PHY_1MBPS:1,BLE_GAP_PHY_2MBPS:2,BLE_GAP_PHY_CODED:4}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__assign=void 0,t.__asyncDelegator=function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,a){t[r]=e[r]?function(t){return(n=!n)?{value:s(e[r](t)),done:"return"===r}:a?a(t):t}:a}},t.__asyncGenerator=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,a=n.apply(e,t||[]),i=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(e){a[e]&&(r[e]=function(t){return new Promise((function(n,r){i.push([e,t,n,r])>1||l(e,t)}))})}function l(e,t){try{(n=a[e](t)).value instanceof s?Promise.resolve(n.value.v).then(u,d):c(i[0][2],n)}catch(e){c(i[0][3],e)}var n}function u(e){l("next",e)}function d(e){l("throw",e)}function c(e,t){e(t),i.shift(),i.length&&l(i[0][0],i[0][1])}},t.__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=i(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,a){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,a,(t=e[n](t)).done,t.value)}))}}},t.__await=s,t.__awaiter=function(e,t,n,r){return new(n||(n=Promise))((function(a,i){function o(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}l((r=r.apply(e,t||[])).next())}))},t.__classPrivateFieldGet=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},t.__classPrivateFieldSet=function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n},t.__createBinding=function(e,t,n,r){void 0===r&&(r=n);e[r]=t[n]},t.__decorate=function(e,t,n,r){var a,i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},t.__exportStar=function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])},t.__extends=function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},t.__generator=function(e,t){var n,r,a,i,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(a=2&i[0]?r.return:i[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,i[1])).done)return a;switch(r=0,a&&(i=[2&i[0],a.value]),i[0]){case 0:case 1:a=i;break;case 4:return o.label++,{value:i[1],done:!1};case 5:o.label++,r=i[1],i=[0];continue;case 7:i=o.ops.pop(),o.trys.pop();continue;default:if(!(a=o.trys,(a=a.length>0&&a[a.length-1])||6!==i[0]&&2!==i[0])){o=0;continue}if(3===i[0]&&(!a||i[1]>a[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return o}function s(e){return this instanceof s?(this.v=e,this):new s(e)}t.__assign=a},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=((r=n(1))&&r.__esModule?r:{default:r}).default.createContext({controlId:void 0});t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,i.default)(e);return(0,a.useCallback)((function(){return t.current&&t.current.apply(t,arguments)}),[t])};var r,a=n(1),i=(r=n(335))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split("-")[0]};n(11);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(((0,r.isElement)(e)?e.ownerDocument:e.document)||window.document).documentElement};var r=n(15);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(4)),i=l(n(5)),o=l(n(1)),s=n(6);function l(e){return e&&e.__esModule?e:{default:e}}var u=["bsPrefix","className","as"],d=["xl","lg","md","sm","xs"],c=o.default.forwardRef((function(e,t){var n=e.bsPrefix,l=e.className,c=e.as,f=void 0===c?"div":c,p=(0,a.default)(e,u),h=(0,s.useBootstrapPrefix)(n,"col"),m=[],_=[];return d.forEach((function(e){var t,n,r,a=p[e];if(delete p[e],"object"==typeof a&&null!=a){var i=a.span;t=void 0===i||i,n=a.offset,r=a.order}else t=a;var o="xs"!==e?"-"+e:"";t&&m.push(!0===t?""+h+o:""+h+o+"-"+t),null!=r&&_.push("order"+o+"-"+r),null!=n&&_.push("offset"+o+"-"+n)})),m.length||m.push(h),o.default.createElement(f,(0,r.default)({},p,{ref:t,className:i.default.apply(void 0,[l].concat(m,_))}))}));c.displayName="Col";var f=c;t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=x(n(4)),a=x(n(3)),i=x(n(5)),o=x(n(76)),s=x(n(56)),l=x(n(35)),u=x(n(112)),d=x(n(77)),c=x(n(78)),f=x(n(23)),p=x(n(79)),h=x(n(113)),m=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=C(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),_=x(n(343)),v=(x(n(30)),x(n(351))),g=x(n(120)),y=x(n(359)),b=x(n(121)),A=x(n(360)),E=x(n(361)),w=x(n(362)),M=x(n(364)),D=n(6);function C(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(C=function(e){return e?n:t})(e)}function x(e){return e&&e.__esModule?e:{default:e}}var T,L=["bsPrefix","className","style","dialogClassName","contentClassName","children","dialogAs","aria-labelledby","show","animation","backdrop","keyboard","onEscapeKeyDown","onShow","onHide","container","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","onEntered","onExit","onExiting","onEnter","onEntering","onExited","backdropClassName","manager"],k={show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,restoreFocus:!0,animation:!0,dialogAs:A.default};function S(e){return m.default.createElement(g.default,(0,a.default)({},e,{timeout:null}))}function P(e){return m.default.createElement(g.default,(0,a.default)({},e,{timeout:null}))}var O=m.default.forwardRef((function(e,t){var n=e.bsPrefix,g=e.className,y=e.style,A=e.dialogClassName,E=e.contentClassName,w=e.children,M=e.dialogAs,C=e["aria-labelledby"],x=e.show,k=e.animation,O=e.backdrop,I=e.keyboard,Y=e.onEscapeKeyDown,R=e.onShow,N=e.onHide,j=e.container,H=e.autoFocus,B=e.enforceFocus,U=e.restoreFocus,W=e.restoreFocusOptions,F=e.onEntered,V=e.onExit,z=e.onExiting,q=e.onEnter,G=e.onEntering,$=e.onExited,J=e.backdropClassName,K=e.manager,Q=(0,r.default)(e,L),X=(0,m.useState)({}),Z=X[0],ee=X[1],te=(0,m.useState)(!1),ne=te[0],re=te[1],ae=(0,m.useRef)(!1),ie=(0,m.useRef)(!1),oe=(0,m.useRef)(null),se=(0,c.default)(),le=se[0],ue=se[1],de=(0,f.default)(N);n=(0,D.useBootstrapPrefix)(n,"modal"),(0,m.useImperativeHandle)(t,(function(){return{get _modal(){return le}}}),[le]);var ce=(0,m.useMemo)((function(){return{onHide:de}}),[de]);function fe(){return K||(T||(T=new v.default),T)}function pe(e){if(s.default){var t=fe().isContainerOverflowing(le),n=e.scrollHeight>(0,l.default)(e).documentElement.clientHeight;ee({paddingRight:t&&!n?(0,d.default)():void 0,paddingLeft:!t&&n?(0,d.default)():void 0})}}var he=(0,f.default)((function(){le&&pe(le.dialog)}));(0,p.default)((function(){(0,u.default)(window,"resize",he),oe.current&&oe.current()}));var me=function(){ae.current=!0},_e=function(e){ae.current&&le&&e.target===le.dialog&&(ie.current=!0),ae.current=!1},ve=function(){re(!0),oe.current=(0,h.default)(le.dialog,(function(){re(!1)}))},ge=function(e){"static"!==O?ie.current||e.target!==e.currentTarget?ie.current=!1:null==N||N():function(e){e.target===e.currentTarget&&ve()}(e)},ye=(0,m.useCallback)((function(e){return m.default.createElement("div",(0,a.default)({},e,{className:(0,i.default)(n+"-backdrop",J,!k&&"show")}))}),[k,J,n]),be=(0,a.default)({},y,Z);k||(be.display="block");return m.default.createElement(b.default.Provider,{value:ce},m.default.createElement(_.default,{show:x,ref:ue,backdrop:O,container:j,keyboard:!0,autoFocus:H,enforceFocus:B,restoreFocus:U,restoreFocusOptions:W,onEscapeKeyDown:function(e){I||"static"!==O?I&&Y&&Y(e):(e.preventDefault(),ve())},onShow:R,onHide:N,onEnter:function(e,t){e&&(e.style.display="block",pe(e)),null==q||q(e,t)},onEntering:function(e,t){null==G||G(e,t),(0,o.default)(window,"resize",he)},onEntered:F,onExit:function(e){null==oe.current||oe.current(),null==V||V(e)},onExiting:z,onExited:function(e){e&&(e.style.display=""),null==$||$(e),(0,u.default)(window,"resize",he)},manager:fe(),containerClassName:n+"-open",transition:k?S:void 0,backdropTransition:k?P:void 0,renderBackdrop:ye,renderDialog:function(e){return m.default.createElement("div",(0,a.default)({role:"dialog"},e,{style:be,className:(0,i.default)(g,n,ne&&n+"-static"),onClick:O?ge:void 0,onMouseUp:_e,"aria-labelledby":C}),m.default.createElement(M,(0,a.default)({},Q,{onMouseDown:me,className:A,contentClassName:E}),w))}}))}));O.displayName="Modal",O.defaultProps=k,O.Body=y.default,O.Header=w.default,O.Title=M.default,O.Footer=E.default,O.Dialog=A.default,O.TRANSITION_DURATION=300,O.BACKDROP_TRANSITION_DURATION=150;var I=O;t.default=I,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Event=void 0,t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.BLE_EVENT_SHOW_DIALOG:return v(e,t.visible);case i.BLE_EVENT_CLEAR_ALL_EVENTS:return g(e);case i.BLE_EVENT_SELECT_EVENT_ID:return M(e,t.selectedEventId);case i.BLE_EVENT_IGNORE:return x(e,t.eventId);case i.BLE_EVENT_ACCEPT:return T(e,t.eventId);case i.BLE_EVENT_CREATE_USER_INITIATED_CONN_PARAMS_UPDATE_EVENT:return k(e,t.device);case i.BLE_EVENT_CREATE_USER_INITIATED_PHY_UPDATE_EVENT:return S(e,t.device);case i.BLE_EVENT_CREATE_USER_INITIATED_MTU_UPDATE_EVENT:return P(e,t.device);case i.BLE_EVENT_CREATE_USER_INITIATED_DATA_LENGTH_UPDATE_EVENT:return O(e,t.device);case i.BLE_EVENT_CREATE_USER_INITIATED_PAIRING_EVENT:return H(e,t.device,t.defaultSecParams);case i.BLE_EVENT_REMOVE:return L(e,t.eventId);case a.DEVICE_CONNECTION_PARAM_UPDATE_REQUEST:return y(e,t.device,t.requestedConnectionParams);case a.DEVICE_PHY_UPDATE_REQUEST:return b(e,t.device,t.requestedPhyParams);case a.DEVICE_MTU_UPDATE_REQUEST:return A(e,t.device,t.requestedMtu);case a.DEVICE_DATA_LENGTH_UPDATE_REQUEST:return E(e,t.device,t.requestedDataLength);case a.DEVICE_SECURITY_REQUEST:return I(e,t.device,t.params);case a.DEVICE_PASSKEY_DISPLAY:return Y(e,t.device,t.matchRequest,t.passkey,t.receiveKeypress);case a.DEVICE_PASSKEY_KEYPRESS_SENT:return R(e,t.eventId,t.keypressType);case a.DEVICE_PASSKEY_KEYPRESS_RECEIVED:return D(e,t.device,t.keypressType);case a.DEVICE_AUTHKEY_REQUEST:return N(e,t.device,t.keyType,t.sendKeypress);case a.DEVICE_LESC_OOB_REQUEST:return j(e,t.device,t.ownOobData);case a.DEVICE_AUTH_ERROR_OCCURED:return B(e,t.device);case a.DEVICE_AUTH_SUCCESS_OCCURED:return U(e,t.device);case a.DEVICE_SECURITY_REQUEST_TIMEOUT:return W(e,t.device);case a.DEVICE_AUTHKEY_STATUS:case a.DEVICE_PAIRING_STATUS:case a.DEVICE_CONNECTION_PARAM_UPDATE_STATUS:case a.DEVICE_PHY_UPDATE_STATUS:case a.DEVICE_MTU_UPDATE_STATUS:case a.DEVICE_DATA_LENGTH_UPDATE_STATUS:return w(e,t.id,t.status);case a.DEVICE_DISCONNECTED:return C(e,t.device);default:return e}};var r=n(9),a=d(n(10)),i=d(n(84)),o=n(19),s=d(n(12)),l=n(122);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}const c=new((0,r.Record)({visible:!1,events:(0,r.Map)(),selectedEventId:-1})),f=(0,r.Record)({id:null,type:null,device:null,requestedConnectionParams:null,requestedPhyParams:null,requestedMtu:null,requestedDataLength:null,pairingParameters:null,authKeyParams:null,ownOobData:null,state:o.BLEEventState.UNKNOWN,receiveKeypressEnabled:!1,keypressStartReceived:!1,keypressEndReceived:!1,sendKeypressEnabled:!1,keypressStartSent:!1,keypressEndSent:!1,keypressCount:0});t.Event=f;const p=(0,r.Record)({connectionSupervisionTimeout:0,maxConnectionInterval:0,minConnectionInterval:0,slaveLatency:0}),h=(0,r.Record)({passkey:""}),m=(0,r.Record)({txPhy:o.BLEPHYType.BLE_GAP_PHY_AUTO,rxPhy:o.BLEPHYType.BLE_GAP_PHY_AUTO});let _=0;function v(e,t){return e.set("visible",t)}function g(e){return function(e){return _=0,e.set("selectedEventId",-1)}(e).set("events",e.events.clear())}function y(e,t,n){const r=new p({connectionSupervisionTimeout:n.connectionSupervisionTimeout,maxConnectionInterval:n.maxConnectionInterval,minConnectionInterval:n.minConnectionInterval,slaveLatency:n.slaveLatency}),a="central"===t.role?o.BLEEventType.PEER_CENTRAL_INITIATED_CONNECTION_UPDATE:o.BLEEventType.PEER_PERIPHERAL_INITIATED_CONNECTION_UPDATE,i=new f({type:a,device:s.getImmutableDevice(t),requestedConnectionParams:r,id:_,state:o.BLEEventState.INDETERMINATE});let l=e.setIn(["events",_],i);return l=l.set("selectedEventId",_),l=l.set("visible",!0),_+=1,l}function b(e,t,n){const r=new m({txPhy:n.tx_phys,rxPhy:n.rx_phys}),a=new f({type:o.BLEEventType.PEER_INITIATED_PHY_UPDATE,device:s.getImmutableDevice(t),requestedPhyParams:r,id:_,state:o.BLEEventState.INDETERMINATE});let i=e.setIn(["events",_],a);return i=i.set("selectedEventId",_),i=i.set("visible",!0),_+=1,i}function A(e,t,n){const r=new f({type:o.BLEEventType.PEER_INITIATED_MTU_UPDATE,device:s.getImmutableDevice(t),requestedMtu:n,id:_,state:o.BLEEventState.INDETERMINATE});let a=e.setIn(["events",_],r);return a=a.set("selectedEventId",_),a=a.set("visible",!0),_+=1,a}function E(e,t,n){const r=new f({type:o.BLEEventType.PEER_INITIATED_DATA_LENGTH_UPDATE,device:s.getImmutableDevice(t),requestedDataLength:n,id:_,state:o.BLEEventState.INDETERMINATE});let a=e.setIn(["events",_],r);return a=a.set("selectedEventId",_),a=a.set("visible",!0),_+=1,a}function w(e,t,n){return t<0?e:e.setIn(["events",t,"state"],n)}function M(e,t){return e.set("selectedEventId",t)}function D(e,t,n){let r=e;return r.events.filter(e=>e.state===o.BLEEventState.INDETERMINATE&&e.device.instanceId===t.instanceId).forEach(e=>{e.type===o.BLEEventType.PASSKEY_DISPLAY&&!0===e.receiveKeypressEnabled&&(r=function(e,t,n){let r=e;if(t<0)return r;let a=r.getIn(["events",t,"keypressCount"]);switch(n){case"BLE_GAP_KP_NOT_TYPE_PASSKEY_DIGIT_IN":a+=1;break;case"BLE_GAP_KP_NOT_TYPE_PASSKEY_DIGIT_OUT":a-=1;break;case"BLE_GAP_KP_NOT_TYPE_PASSKEY_CLEAR":a=0;break;case"BLE_GAP_KP_NOT_TYPE_PASSKEY_START":r=r.setIn(["events",t,"keypressStartReceived"],!0);break;case"BLE_GAP_KP_NOT_TYPE_PASSKEY_END":r=r.setIn(["events",t,"keypressEndReceived"],!0)}return r.setIn(["events",t,"keypressCount"],a)}(r,e.id,n))}),r}function C(e,t){let n=e;return n.events.filter(e=>e.state===o.BLEEventState.INDETERMINATE&&e.device.instanceId===t.instanceId).forEach(e=>{n=w(n,e.id,o.BLEEventState.DISCONNECTED)}),n}function x(e,t){return e.setIn(["events",t,"state"],o.BLEEventState.IGNORED)}function T(e,t){return e.setIn(["events",t,"state"],o.BLEEventState.SUCCESS)}function L(e,t){let n=e;return n.selectedEventId===t&&(n=n.set("selectedEventId",-1)),n.deleteIn(["events",t])}function k(e,t){const n=new p({connectionSupervisionTimeout:t.connectionSupervisionTimeout,maxConnectionInterval:t.maxConnectionInterval,minConnectionInterval:t.minConnectionInterval,slaveLatency:t.slaveLatency}),r=new f({type:o.BLEEventType.USER_INITIATED_CONNECTION_UPDATE,device:s.getImmutableDevice(t),requestedConnectionParams:n,id:_,state:o.BLEEventState.INDETERMINATE});let a=e.setIn(["events",_],r);return a=a.set("selectedEventId",_),a=a.set("visible",!0),_+=1,a}function S(e,t){const n=new f({type:o.BLEEventType.USER_INITIATED_PHY_UPDATE,device:s.getImmutableDevice(t),requestedPhyParams:new m({rxPhy:t.rxPhy,txPhy:t.txPhy}),id:_,state:o.BLEEventState.INDETERMINATE});let r=e.setIn(["events",_],n);return r=r.set("selectedEventId",_),r=r.set("visible",!0),_+=1,r}function P(e,t){const n=new f({type:o.BLEEventType.USER_INITIATED_MTU_UPDATE,device:s.getImmutableDevice(t),requestedMtu:t.mtu,id:_,state:o.BLEEventState.INDETERMINATE});let r=e.setIn(["events",_],n);return r=r.set("selectedEventId",_),r=r.set("visible",!0),_+=1,r}function O(e,t){const n=new f({type:o.BLEEventType.USER_INITIATED_DATA_LENGTH_UPDATE,device:s.getImmutableDevice(t),requestedDataLength:251,id:_,state:o.BLEEventState.INDETERMINATE});let r=e.setIn(["events",_],n);return r=r.set("selectedEventId",_),r=r.set("visible",!0),_+=1,r}function I(e,t,n){const r=(0,l.getImmutableSecurityParameters)(n),a=new f({type:o.BLEEventType.PEER_INITIATED_PAIRING,device:s.getImmutableDevice(t),pairingParameters:r,id:_,state:o.BLEEventState.INDETERMINATE});let i=e.setIn(["events",_],a);return i=i.set("selectedEventId",_),i=i.set("visible",!0),_+=1,i}function Y(e,t,n,r,a){const i=n?o.BLEEventType.NUMERICAL_COMPARISON:o.BLEEventType.PASSKEY_DISPLAY,l=new h({passkey:r}),u=new f({type:i,device:s.getImmutableDevice(t),authKeyParams:l,id:_,state:o.BLEEventState.INDETERMINATE,receiveKeypressEnabled:a});let d=e.setIn(["events",_],u);return d=d.set("selectedEventId",_),d=d.set("visible",!0),_+=1,d}function R(e,t,n){if(t<0)return e;let r=e.getIn(["events",t,"keypressCount"]);return"BLE_GAP_KP_NOT_TYPE_PASSKEY_START"===n?e.setIn(["events",t,"keypressStartSent"],!0):"BLE_GAP_KP_NOT_TYPE_PASSKEY_END"===n?e.setIn(["events",t,"keypressEndSent"],!0):"BLE_GAP_KP_NOT_TYPE_PASSKEY_DIGIT_IN"===n?(r+=1,e.setIn(["events",t,"keypressCount"],r)):"BLE_GAP_KP_NOT_TYPE_PASSKEY_DIGIT_OUT"===n?(r-=1,e.setIn(["events",t,"keypressCount"],r)):"BLE_GAP_KP_NOT_TYPE_PASSKEY_CLEAR"===n?e.setIn(["events",t,"keypressCount"],0):e}function N(e,t,n,r){const a={BLE_GAP_AUTH_KEY_TYPE_PASSKEY:o.BLEEventType.PASSKEY_REQUEST,BLE_GAP_AUTH_KEY_TYPE_OOB:o.BLEEventType.LEGACY_OOB_REQUEST},i=new f({type:a[n]||null,device:s.getImmutableDevice(t),id:_,state:o.BLEEventState.INDETERMINATE,sendKeypressEnabled:r});let l=e.setIn(["events",_],i);return l=l.set("selectedEventId",_),l=l.set("visible",!0),_+=1,l}function j(e,t,n){const r=new f({type:o.BLEEventType.LESC_OOB_REQUEST,device:s.getImmutableDevice(t),id:_,state:o.BLEEventState.INDETERMINATE,ownOobData:n});let a=e.setIn(["events",_],r);return a=a.set("selectedEventId",_),a=a.set("visible",!0),_+=1,a}function H(e,t,n){const r=(0,l.getImmutableSecurityParameters)(n),a=new f({type:o.BLEEventType.USER_INITIATED_PAIRING,device:s.getImmutableDevice(t),pairingParameters:r,id:_,state:o.BLEEventState.INDETERMINATE});let i=e.setIn(["events",_],a);return i=i.set("selectedEventId",_),i=i.set("visible",!0),_+=1,i}function B(e,t){let n=e;if(!t)return n;return n.events.filter(e=>(e.state===o.BLEEventState.INDETERMINATE||e.state===o.BLEEventState.PENDING)&&e.device.instanceId===t.instanceId).forEach(e=>{n=w(n,e.id,o.BLEEventState.ERROR)}),n}function U(e,t){let n=e;if(!t)return n;return n.events.filter(e=>(e.state===o.BLEEventState.INDETERMINATE||e.state===o.BLEEventState.PENDING)&&e.device.instanceId===t.instanceId).forEach(e=>{n=w(n,e.id,o.BLEEventState.SUCCESS)}),n}function W(e,t){return B(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.round=t.min=t.max=void 0;var r=Math.max;t.max=r;var a=Math.min;t.min=a;var i=Math.round;t.round=i},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=void 0===t?{}:t,u=n.displayName,c=void 0===u?(m=e,m[0].toUpperCase()+(0,o.default)(m).slice(1)):u,f=n.Component,p=n.defaultProps,h=s.default.forwardRef((function(t,n){var o=t.className,u=t.bsPrefix,c=t.as,p=void 0===c?f||"div":c,h=(0,a.default)(t,d),m=(0,l.useBootstrapPrefix)(u,e);return s.default.createElement(p,(0,r.default)({ref:n,className:(0,i.default)(o,m)},h))}));var m;return h.defaultProps=p,h.displayName=c,h};var r=u(n(3)),a=u(n(4)),i=u(n(5)),o=u(n(308)),s=u(n(1)),l=n(6);function u(e){return e&&e.__esModule?e:{default:e}}var d=["className","bsPrefix","as"];e.exports=t.default},function(e,t,n){"use strict";function r(e){return("0"+e.toString(16)).slice(-2).toUpperCase()}function a(e){const t=[];return(new TextEncoder).encode(e).forEach(e=>{t.push(e)}),t}function i(e){let t=e;if(e.constructor===Array){t=e.map(e=>("0"+e.toString(16)).slice(-2)).join(" ").toUpperCase()}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.hexArrayToHexText=i,t.hexArrayToText=function(e){const t=[];e.forEach(e=>{t.push(parseInt(e,10))});return new TextDecoder("utf-8").decode(new Uint8Array(t))},t.hexStringToArray=function(e){let t=e;const n=[];for(;t.length>=2;){const e=parseInt(t.substring(0,2),16);n.push(e),t=t.substring(2,t.length)}return n},t.textToHexArray=a,t.textToHexText=function(e){return i(a(e))},t.toHexString=function(e){if(Array.isArray(e))return function(e){return e.map(r).join("-")}(e);if("number"==typeof e)return r(e);return""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERROR_DIALOG_SHOW=void 0,t.showErrorDialog=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Undefined error";return{type:"ERROR_DIALOG_SHOW",message:e.message||e}};t.ERROR_DIALOG_SHOW="ERROR_DIALOG_SHOW"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noCase=function(e,t){void 0===t&&(t={});var n=t.splitRegexp,s=void 0===n?a:n,l=t.stripRegexp,u=void 0===l?i:l,d=t.transform,c=void 0===d?r.lowerCase:d,f=t.delimiter,p=void 0===f?" ":f,h=o(o(e,s,"$1\0$2"),u,"\0"),m=0,_=h.length;for(;"\0"===h.charAt(m);)m++;for(;"\0"===h.charAt(_-1);)_--;return h.slice(m,_).split("\0").map(c).join(p)};var r=n(323),a=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],i=/[^A-Z0-9]+/gi;function o(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&e.ownerDocument||document},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(4)),i=l(n(5)),o=l(n(1)),s=n(6);function l(e){return e&&e.__esModule?e:{default:e}}var u=["bsPrefix","className","noGutters","as"],d=["xl","lg","md","sm","xs"],c=o.default.forwardRef((function(e,t){var n=e.bsPrefix,l=e.className,c=e.noGutters,f=e.as,p=void 0===f?"div":f,h=(0,a.default)(e,u),m=(0,s.useBootstrapPrefix)(n,"row"),_=m+"-cols",v=[];return d.forEach((function(e){var t,n=h[e];delete h[e];var r="xs"!==e?"-"+e:"";null!=(t=null!=n&&"object"==typeof n?n.cols:n)&&v.push(""+_+r+"-"+t)})),o.default.createElement(p,(0,r.default)({ref:t},h,{className:i.default.apply(void 0,[l,m,c&&"no-gutters"].concat(v))}))}));c.displayName="Row",c.defaultProps={noGutters:!1};var f=c;t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=v(n(3)),a=v(n(4)),i=v(n(5)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),s=v(n(372)),l=n(85),u=v(n(23)),d=v(n(410)),c=v(n(140)),f=v(n(143)),p=v(n(139)),h=n(6),m=v(n(31));function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function v(e){return e&&e.__esModule?e:{default:e}}var g=["bsPrefix","drop","show","className","alignRight","onSelect","onToggle","focusFirstItemOnShow","as","navbar"],y=(0,m.default)("dropdown-header",{defaultProps:{role:"heading"}}),b=(0,m.default)("dropdown-divider",{defaultProps:{role:"separator"}}),A=(0,m.default)("dropdown-item-text",{Component:"span"}),E=o.default.forwardRef((function(e,t){var n=(0,l.useUncontrolled)(e,{show:"onToggle"}),d=n.bsPrefix,c=n.drop,f=n.show,m=n.className,_=n.alignRight,v=n.onSelect,y=n.onToggle,b=n.focusFirstItemOnShow,A=n.as,E=void 0===A?"div":A,w=(n.navbar,(0,a.default)(n,g)),M=(0,o.useContext)(p.default),D=(0,h.useBootstrapPrefix)(d,"dropdown"),C=(0,u.default)((function(e,t,n){void 0===n&&(n=t.type),t.currentTarget!==document||"keydown"===n&&"Escape"!==t.key||(n="rootClose"),y&&y(e,t,{source:n})})),x=(0,u.default)((function(e,t){M&&M(e,t),v&&v(e,t),C(!1,t,"select")}));return o.default.createElement(p.default.Provider,{value:x},o.default.createElement(s.default,{drop:c,show:f,alignEnd:_,onToggle:C,focusFirstItemOnShow:b,itemSelector:"."+D+"-item:not(.disabled):not(:disabled)"},o.default.createElement(E,(0,r.default)({},w,{ref:t,className:(0,i.default)(m,f&&"show",(!c||"down"===c)&&D,"up"===c&&"dropup","right"===c&&"dropright","left"===c&&"dropleft")}))))}));E.displayName="Dropdown",E.defaultProps={navbar:!1},E.Divider=b,E.Header=y,E.Item=d.default,E.ItemText=A,E.Menu=c.default,E.Toggle=f.default;var w=E;t.default=w,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?(e.nodeName||"").toLowerCase():null},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e).getComputedStyle(e)};var r,a=(r=n(22))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t){e.exports=require("fs")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(1)),a=i(n(332));function i(e){return e&&e.__esModule?e:{default:e}}function o(){return(o=Object.assign||function(e){for(var t=1;tclass extends r.default.Component{constructor(e){super(e),this.bindings=[],this.bindHotkey=this.bindHotkey.bind(this)}componentWillUnmount(){this.bindings.forEach(e=>a.default.unbind(e))}bindHotkey(e,t,n){a.default.bind(e,(function(e){e.stopPropagation();for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;ai(i({},e),s.get("Security")),advSetup:()=>s.get("Adv",[]),scanResponse:()=>s.get("Scan",[]),autoAcceptPairing:()=>s.get("AutoAccept",!0),autoConnUpdate:()=>s.get("AutoUpdate",!0),activeScan:()=>s.get("ActiveScan",!0),scanTimeout:()=>s.get("ScanTimeout",60),advParams:()=>s.get("AdvParams",{interval:100,timeout:0}),connectionParams:e=>i(i({},e),s.get("ConParams"))};t.persistentStore=u},function(e,t,n){"use strict";function r(){return t.default=r=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t&&e<=n}const v={boxShadow:"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6)",borderColor:"#66afe9"};t.validInputStyle=v;const g={boxShadow:"inset 0 1px 1px rgba(0,0,0,.075), 0 0 5px rgba(255, 0, 0, 1)",borderColor:"rgb(200, 10, 10)"};t.invalidInputStyle=g;const y=e=>{let t=e.event,n=t.id,a=t.type,i=t.requestedConnectionParams,o=t.device,u=e.onIgnoreEvent,d=e.onUpdateConnectionParams,f=e.onRejectConnectionParams,y=e.onCancelUserInitiatedEvent;const b=o.address,A=c((0,r.useState)(i.minConnectionInterval),2),E=A[0],w=A[1],M=c((0,r.useState)(i.connectionSupervisionTimeout),2),D=M[0],C=M[1],x=c((0,r.useState)(i.slaveLatency),2),T=x[0],L=x[1],k=a===p,S=_(T,0,499),P=_(D,100,32e3),O=_(E,7.5,4e3),I=!S||!P;return r.default.createElement("div",null,r.default.createElement("div",{className:"event-header"},r.default.createElement("h4",null,a===m&&"Connection parameters update for device "+b,a===h&&"Connection parameters update request from device "+b,a===p&&"Connection parameters updated by peer central "+b)),r.default.createElement("form",{className:"form-horizontal"},r.default.createElement(l.default,{style:O?v:g,id:"interval_"+b,className:"form-control nordic-form-control",onChange:e=>{let t=e.target;""!==t.value&&w(parseFloat(t.value))},type:"number",min:7.5,max:4e3,step:1.25,value:""+E,readOnly:k,label:"Connection Interval (ms) "+(a===m?"":r.default.createElement("div",null,"(",i.minConnectionInterval,"-",i.maxConnectionInterval,")")),labelClassName:"col-md-7 text-right",wrapperClassName:"col-md-5"}),r.default.createElement(l.default,{style:S?v:g,id:"latency_"+b,className:"form-control nordic-form-control",onChange:e=>{let t=e.target;L(parseInt(t.value,10))},type:"number",value:T,min:0,max:499,step:1,readOnly:k,label:"Slave latency",labelClassName:"col-md-7 text-right",wrapperClassName:"col-md-5"}),r.default.createElement(l.default,{style:P?v:g,id:"timeout_"+b,className:"form-control nordic-form-control",onChange:e=>{let t=e.target;C(parseInt(t.value,10))},type:"number",min:100,max:32e3,step:10,readOnly:k,value:D,label:"Connection supervision timeout (ms)",labelClassName:"col-md-7 text-right",wrapperClassName:"col-md-5"}),r.default.createElement("div",{className:"row-of-buttons"},a===h&&r.default.createElement(r.default.Fragment,null,r.default.createElement(s.default,{label:"Ignore",onClick:()=>u(n)}),r.default.createElement(s.default,{label:"Reject",onClick:()=>f(o)})),a===p?r.default.createElement(r.default.Fragment,null,r.default.createElement(s.default,{label:"Accept",onClick:()=>d(n),primary:!0,disabled:I}),r.default.createElement(s.default,{label:"Disconnect",onClick:()=>f(o)})):r.default.createElement(s.default,{label:"Update",onClick:()=>{d(o,{minConnectionInterval:E,maxConnectionInterval:E,slaveLatency:T,connectionSupervisionTimeout:D})},primary:!0,disabled:I}),a===m&&r.default.createElement(s.default,{label:"Cancel",onClick:()=>y(n)}))))};y.propTypes={event:a.default.instanceOf(o.Event).isRequired,onRejectConnectionParams:a.default.func.isRequired,onUpdateConnectionParams:a.default.func.isRequired,onIgnoreEvent:a.default.func.isRequired,onCancelUserInitiatedEvent:a.default.func.isRequired};var b=y;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),i=1,o=1;if((0,r.isHTMLElement)(e)&&t){var s=e.offsetHeight,l=e.offsetWidth;l>0&&(i=(0,a.round)(n.width)/l||1),s>0&&(o=(0,a.round)(n.height)/s||1)}return{width:n.width/i,height:n.height/o,top:n.top/o,right:n.right/i,bottom:n.bottom/o,left:n.left/i,x:n.left/i,y:n.top/o}};var r=n(15),a=n(29);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)(e),n=d(e);for(;n&&(0,s.default)(n)&&"static"===(0,i.default)(n).position;)n=d(n);if(n&&("html"===(0,a.default)(n)||"body"===(0,a.default)(n)&&"static"===(0,i.default)(n).position))return t;return n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,o.isHTMLElement)(e)){if("fixed"===(0,i.default)(e).position)return null}var n=(0,l.default)(e);for(;(0,o.isHTMLElement)(n)&&["html","body"].indexOf((0,a.default)(n))<0;){var r=(0,i.default)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t};var r=u(n(22)),a=u(n(38)),i=u(n(39)),o=n(15),s=u(n(382)),l=u(n(62));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){return(0,o.isHTMLElement)(e)&&"fixed"!==(0,i.default)(e).position?e.offsetParent:null}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.split("-")[1]},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t={});var n=t,f=n.placement,p=void 0===f?e.placement:f,h=n.boundary,m=void 0===h?l.clippingParents:h,_=n.rootBoundary,v=void 0===_?l.viewport:_,g=n.elementContext,y=void 0===g?l.popper:g,b=n.altBoundary,A=void 0!==b&&b,E=n.padding,w=void 0===E?0:E,M=(0,d.default)("number"!=typeof w?w:(0,c.default)(w,l.basePlacements)),D=y===l.popper?l.reference:l.popper,C=e.rects.popper,x=e.elements[A?D:y],T=(0,r.default)((0,u.isElement)(x)?x:x.contextElement||(0,a.default)(e.elements.popper),m,v),L=(0,i.default)(e.elements.reference),k=(0,o.default)({reference:L,element:C,strategy:"absolute",placement:p}),S=(0,s.default)(Object.assign({},C,k)),P=y===l.popper?S:L,O={top:T.top-P.top+M.top,bottom:P.bottom-T.bottom+M.bottom,left:T.left-P.left+M.left,right:P.right-T.right+M.right},I=e.modifiersData.offset;if(y===l.popper&&I){var Y=I[p];Object.keys(O).forEach((function(e){var t=[l.right,l.bottom].indexOf(e)>=0?1:-1,n=[l.top,l.bottom].indexOf(e)>=0?"y":"x";O[e]+=Y[n]*t}))}return O};var r=f(n(388)),a=f(n(25)),i=f(n(48)),o=f(n(135)),s=f(n(134)),l=n(11),u=n(15),d=f(n(130)),c=f(n(132));function f(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHOW_DIALOG=t.SHOW_ADV_PARAMS=t.SET_ADVERTISING_PARAMS=t.SET_ADVDATA_COMPLETED=t.SET_ADVDATA=t.LOAD=t.HIDE_DIALOG=t.ERROR_OCCURED=t.DELETE_SCANRSP_ENTRY=t.DELETE_ADVDATA_ENTRY=t.APPLY_CHANGES=t.ADVERTISING_STOPPED=t.ADVERTISING_STARTED=t.ADD_SCANRSP_ENTRY=t.ADD_ADVDATA_ENTRY=void 0,t.addAdvEntry=function(e){return function(e){return{type:"ADVSETUP_ADD_ADVDATA_ENTRY",entry:e}}(e)},t.addScanRsp=function(e){return function(e){return{type:"ADVSETUP_ADD_SCANRSP_ENTRY",entry:e}}(e)},t.applyChanges=function(){return{type:"ADVSETUP_APPLY_CHANGES"}},t.deleteAdvData=function(e){return function(e){return{type:"ADVSETUP_DELETE_ADVDATA_ENTRY",id:e}}(e)},t.deleteScanRsp=function(e){return function(e){return{type:"ADVSETUP_DELETE_SCANRSP_ENTRY",id:e}}(e)},t.hideAdvParamDialog=function(){return l()},t.hideSetupDialog=function(){return l()},t.loadAdvSetup=function(e){return t=>{try{const n=(0,r.readFileSync)(e),i=JSON.parse(n),o=i.advertisingData,s=i.scanResponse;if(!o&&!s)throw new Error("Illegal format on advertising setup file.");t({type:"LOAD",advSetup:o,scanSetup:s}),a.logger.info(`Advertising setup loaded from ${e}.`)}catch(e){t((0,i.showErrorDialog)(e))}}},t.saveAdvSetup=function(e){return(t,n)=>{if(e){const a=n().app.advertising,o={advertisingData:a.tempAdvDataEntries,scanResponse:a.tempScanRespEntries};(0,r.writeFile)(e,JSON.stringify(o),e=>{e&&t((0,i.showErrorDialog)(e))})}}},t.setAdvParams=function(e){return function(e){return{type:"SET_ADVERTISING_PARAMS",params:e}}(e)},t.setAdvertisingData=function(){return(e,t)=>{const n=t().app.adapter.selectedAdapter;return n.state?n.state.available?o(e,t):Promise.reject(new Error("adapter is not available, cannot set advertising data")):Promise.reject(new Error("No adapter selected, or adapter is missing state. Failing."))}},t.showParamsDialog=function(){return{type:"SHOW_ADV_PARAMS"}},t.showSetupDialog=function(){return{type:"ADVSETUP_SHOW_DIALOG"}},t.toggleAdvertising=function(){return(e,t)=>{const n=t().app.adapter.selectedAdapter;return n.state?n.state.advertising&&n.state.available?function(e,t){return new Promise((e,n)=>{const r=t().app.adapter.bleDriver.adapter;null===r&&n(new Error("No adapter is selected.")),r.stopAdvertising(t=>{t?n(t):e()})}).then(()=>{e({type:"ADVSETUP_ADVERTISING_STOPPED"})}).catch(t=>{e(s(t))})}(e,t):!n.state.advertising&&n.state.available?function(e,t){const n=t().app.adapter.bleDriver.adapter,r=t().app.advertising.advParams;return o(e,t).then(()=>new Promise((e,t)=>{const a={interval:r.interval,timeout:r.timeout};null==n&&t(new Error("No adapter is selected.")),n.startAdvertising(a,n=>{n?t(n):e()})})).then(()=>{e({type:"ADVSETUP_ADVERTISING_STARTED"})}).catch(t=>{e(s(t))})}(e,t):Promise.reject(new Error("advertisingInProgress and adapterIsOpen is in a combination that makes it impossible to toggle advertising.")):Promise.reject(new Error("No adapter selected, or adapter is missing state. Failing."))}};var r=n(40),a=n(8),i=n(33);t.ADD_ADVDATA_ENTRY="ADVSETUP_ADD_ADVDATA_ENTRY";t.ADD_SCANRSP_ENTRY="ADVSETUP_ADD_SCANRSP_ENTRY";t.DELETE_ADVDATA_ENTRY="ADVSETUP_DELETE_ADVDATA_ENTRY";t.DELETE_SCANRSP_ENTRY="ADVSETUP_DELETE_SCANRSP_ENTRY";t.SHOW_DIALOG="ADVSETUP_SHOW_DIALOG";t.HIDE_DIALOG="ADVSETUP_HIDE_DIALOG";t.APPLY_CHANGES="ADVSETUP_APPLY_CHANGES";t.SET_ADVDATA="ADVSETUP_SET_ADVDATA";t.SET_ADVDATA_COMPLETED="ADVSETUP_SET_ADVDATA_COMPLETED";t.ADVERTISING_STARTED="ADVSETUP_ADVERTISING_STARTED";t.ADVERTISING_STOPPED="ADVSETUP_ADVERTISING_STOPPED";t.ERROR_OCCURED="ADVSETUP_ERROR_OCCURED";t.LOAD="LOAD";t.SHOW_ADV_PARAMS="SHOW_ADV_PARAMS";function o(e,t){return new Promise((n,r)=>{const a=t().app.adapter.bleDriver.adapter,i=t().app.advertising,o={},s={};null==a&&r(new Error("No adapter is selected.")),i.advDataEntries.forEach((e,t)=>{const n=e.typeApi.replace("custom","custom:"+t);o[n]=e.formattedValue}),i.scanResponseEntries.forEach((e,t)=>{const n=e.typeApi.replace("custom","custom:"+t);s[n]=e.formattedValue}),a.setAdvertisingData(o,s,t=>{t?(e(u(t.message)),r(t)):(e(u("")),n())})}).catch(t=>{e(u(t.message))})}function s(e){return{type:"ADVSETUP_ERROR_OCCURED",error:e}}function l(){return{type:"ADVSETUP_HIDE_DIALOG"}}function u(e){return{type:"ADVSETUP_SET_ADVDATA_COMPLETED",status:e}}t.SET_ADVERTISING_PARAMS="SET_ADVERTISING_PARAMS"},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WRITE_DESCRIPTOR=t.WRITE_CHARACTERISTIC=t.SET_ATTRIBUTE_EXPANDED=t.SELECT_COMPONENT=t.READ_DESCRIPTOR=t.READ_CHARACTERISTIC=t.ERROR_OCCURED=t.DISCOVERING_ATTRIBUTES=t.DISCOVERED_DEVICE_NAME=t.DISCOVERED_ATTRIBUTES=t.COMPLETED_WRITING_ATTRIBUTE=t.COMPLETED_READING_ATTRIBUTE=void 0,t.discoverCharacteristics=function(e){return(t,n)=>new Promise((r,a)=>{const i=n().app.adapter.bleDriver.adapter;null!==i?(t(c(e)),i.getCharacteristics(e.instanceId,(n,i)=>{if(n)return t(f(e)),void a(new Error(n.message));r(i)})):a(new Error("No adapter selected"))}).then(n=>(t(f(e,n)),n)).catch(e=>{t((0,u.showErrorDialog)(e))})},t.discoverCharacteristicsAndDescriptors=_,t.discoverDescriptors=m,t.discoverServices=function(e){return(t,n)=>new Promise((r,a)=>{const i=n().app.adapter.bleDriver.adapter;null!==i?(t(c(e)),i.getServices(e.instanceId,(e,t)=>{e?a(new Error(e.message)):r(t)})):t((0,u.showErrorDialog)(new Error("No adapter selected")))}).then(n=>{t(f(e,n)),function(e,t,n,r){new Promise((e,t)=>{const n=r.find(e=>e.uuid===o.GENERIC_ACCESS_UUID);n?e(n):t(new Error("Could not find GAP service"))}).then(t=>e(_(t))).then(t=>{const n=t.find(e=>e.uuid===o.DEVICE_NAME_UUID);if(n)return e(v(n))}).then(t=>e(function(e,t){return{type:"DEVICE_DETAILS_DISCOVERED_DEVICE_NAME",device:e,value:t}}(n,t))).catch(t=>e((0,u.showErrorDialog)(t)))}(t,0,e,n)}).catch(n=>{t(f(e)),/BLE_ERROR_INVALID_CONN_HANDLE/.test(n.message)?t((0,u.showErrorDialog)("Connection was lost during service discovery")):t((0,u.showErrorDialog)(n))})},t.openCustomUuidFile=function(){return()=>{const e=(0,l.getUuidDefinitionsFilePath)();(0,s.default)(e,e=>{e&&a.logger.info(e)})}},t.readCharacteristic=v,t.readDescriptor=function(e){return(t,n)=>new Promise((r,a)=>{const i=n().app.adapter.bleDriver.adapter;null!==i?i.readDescriptorValue(e.instanceId,(n,i)=>{if(n)return t(p(e,null,n)),void a(new Error(n.message));t(p(e,i)),r(i)}):a(new Error("No adapter selected"))}).catch(e=>{t((0,u.showErrorDialog)(e))})},t.selectComponent=function(e){return d(e)},t.setAttributeExpanded=function(e,t){return(n,r)=>{const a=r();if(null===a.app.adapter.bleDriver.adapter)return void n((0,u.showErrorDialog)(new Error("No adapter selected")));const o=(0,i.getInstanceIds)(e.instanceId),s=a.app.adapter.selectedAdapter.deviceDetails.devices.get(o.device).children.get(o.service);if(o.characteristic){const e=s.children.get(o.characteristic);e.children||e.expanded||e.discoveringChildren||n(m(e))}else s.children||s.expanded||s.discoveringChildren||n(_(s));n(function(e,t){return{type:"DEVICE_DETAILS_SET_ATTRIBUTE_EXPANDED",attribute:e,value:t}}(e,t)),n(d(e.instanceId))}},t.writeCharacteristic=function(e,t){return(n,r)=>new Promise((a,i)=>{const o=r().app.adapter.bleDriver.adapter;if(null===o)return void i(new Error("No adapter selected"));const s=!e.properties.writeWoResp;o.writeCharacteristicValue(e.instanceId,t,s,r=>{if(r)return n(h(e,null,r)),void i(new Error(r.message));n(h(e,t)),a()})}).catch(e=>{n((0,u.showErrorDialog)(e))})},t.writeDescriptor=function(e,t){return(n,r)=>new Promise((a,i)=>{const o=r().app.adapter.bleDriver.adapter;null!==o?o.writeDescriptorValue(e.instanceId,t,!0,r=>{if(r)return n(h(e,null,r)),void i(new Error(r.message));n(h(e,t)),a()}):i(new Error("No adapter selected"))}).catch(e=>{n((0,u.showErrorDialog)(e))})};var r,a=n(8),i=n(12),o=n(74),s=(r=n(314))&&r.__esModule?r:{default:r},l=n(17),u=n(33);t.SELECT_COMPONENT="DEVICE_DETAILS_SELECT_COMPONENT";t.DISCOVERING_ATTRIBUTES="DEVICE_DETAILS_DISCOVERING_ATTRIBUTES";t.DISCOVERED_ATTRIBUTES="DEVICE_DETAILS_DISCOVERED_ATTRIBUTES";t.DISCOVERED_DEVICE_NAME="DEVICE_DETAILS_DISCOVERED_DEVICE_NAME";t.SET_ATTRIBUTE_EXPANDED="DEVICE_DETAILS_SET_ATTRIBUTE_EXPANDED";t.WRITE_CHARACTERISTIC="DEVICE_DETAILS_WRITE_CHARACTERISTIC";t.READ_CHARACTERISTIC="DEVICE_DETAILS_READ_CHARACTERISTIC";t.WRITE_DESCRIPTOR="DEVICE_DETAILS_WRITE_DESCRIPTOR";t.READ_DESCRIPTOR="DEVICE_DETAILS_READ_DESCRIPTOR";t.COMPLETED_WRITING_ATTRIBUTE="DEVICE_DETAILS_COMPLETED_WRITING_ATTRIBUTE";t.COMPLETED_READING_ATTRIBUTE="DEVICE_DETAILS_COMPLETED_READING_ATTRIBUTE";function d(e){return{type:"DEVICE_DETAILS_SELECT_COMPONENT",component:e}}function c(e){return{type:"DEVICE_DETAILS_DISCOVERING_ATTRIBUTES",parent:e}}function f(e,t){return{type:"DEVICE_DETAILS_DISCOVERED_ATTRIBUTES",parent:e,attributes:t}}function p(e,t,n){return{type:"DEVICE_DETAILS_COMPLETED_READING_ATTRIBUTE",attribute:e,value:t,error:n}}function h(e,t,n){return{type:"DEVICE_DETAILS_COMPLETED_WRITING_ATTRIBUTE",attribute:e,value:t,error:n}}function m(e){return(t,n)=>new Promise((r,a)=>{const i=n().app.adapter.bleDriver.adapter;null!==i?(t(c(e)),i.getDescriptors(e.instanceId,(n,i)=>{if(n)return t(f(e)),void a(new Error(n.message));r(i)})):a(new Error("No adapter selected"))}).then(n=>{t(f(e,n))}).catch(e=>{t((0,u.showErrorDialog)(e))})}function _(e){return(t,n)=>new Promise((r,a)=>{const i=n().app.adapter.bleDriver.adapter;null!==i?(t(c(e)),i.getCharacteristics(e.instanceId,(n,i)=>{if(n)return t(f(e)),void a(new Error(n.message));r(i)})):a(new Error("No adapter selected"))}).then(n=>(t(f(e,n)),n)).then(e=>{let n=Promise.resolve();return e.forEach(e=>{n=n.then(()=>t(m(e)))}),n.then(()=>e)}).catch(e=>{t((0,u.showErrorDialog)(e))})}function v(e){return(t,n)=>new Promise((r,a)=>{const i=n().app.adapter.bleDriver.adapter;null!==i?i.readCharacteristicValue(e.instanceId,(n,i)=>{if(n)return t(p(e,null,n)),void a(new Error(n.message));r(i)}):a(new Error("No adapter selected"))}).then(n=>(t(p(e,n)),n)).catch(e=>{t((0,u.showErrorDialog)(e))})}t.ERROR_OCCURED="DEVICE_DETAILS_ERROR_OCCURED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dotCase=function(e,t){void 0===t&&(t={});return(0,a.noCase)(e,(0,r.__assign)({delimiter:"."},t))};var r=n(20),a=n(34)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=r,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(337)),a=o(n(339)),i=o(n(341));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(e,t){var n="",o="";if("string"==typeof t)return e.style.getPropertyValue((0,a.default)(t))||(0,r.default)(e).getPropertyValue((0,a.default)(t));Object.keys(t).forEach((function(r){var s=t[r];s||0===s?(0,i.default)(r)?o+=r+"("+s+") ":n+=(0,a.default)(r)+": "+s+";":e.style.removeProperty((0,a.default)(r))})),o&&(n+="transform: "+o+";"),e.style.cssText+=";"+n};t.default=s,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SECURITY_TOGGLE_AUTO_ACCEPT_PAIRING=t.SECURITY_SHOW_DIALOG=t.SECURITY_SET_PARAMS=t.SECURITY_HIDE_DIALOG=t.SECURITY_ERROR_OCCURED=t.SECURITY_DELETE_BOND_INFO=void 0,t.deleteBondInfo=function(){return{type:"SECURITY_DELETE_BOND_INFO"}},t.hideSecurityParamsDialog=function(){return{type:"SECURITY_HIDE_DIALOG"}},t.setSecurityParams=function(e){return function(e){return{type:"SECURITY_SET_PARAMS",params:e}}(e)},t.showSecurityParamsDialog=function(){return{type:"SECURITY_SHOW_DIALOG"}},t.toggleAutoAcceptPairing=function(){return{type:"SECURITY_TOGGLE_AUTO_ACCEPT_PAIRING"}};t.SECURITY_SET_PARAMS="SECURITY_SET_PARAMS";t.SECURITY_TOGGLE_AUTO_ACCEPT_PAIRING="SECURITY_TOGGLE_AUTO_ACCEPT_PAIRING";t.SECURITY_DELETE_BOND_INFO="SECURITY_DELETE_BOND_INFO";t.SECURITY_SHOW_DIALOG="SECURITY_SHOW_DIALOG";t.SECURITY_HIDE_DIALOG="SECURITY_HIDE_DIALOG";t.SECURITY_ERROR_OCCURED="SECURITY_ERROR_OCCURED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(1)),a=s(n(7)),i=s(n(2));const o=["label","onClick","primary","className"];function s(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}const d=e=>{let t=e.label,n=e.onClick,i=e.primary,s=e.className,d=u(e,o);return r.default.createElement(a.default,l({type:"button",onClick:n,className:s+" btn btn-default btn-sm btn-nordic",variant:i?"primary":"secondary"},d),t)};d.propTypes={className:i.default.string,label:i.default.string.isRequired,onClick:i.default.func.isRequired,primary:i.default.bool},d.defaultProps={primary:!1,className:""};var c=d;t.default=c,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("html"===(0,r.default)(e))return e;return e.assignedSlot||e.parentNode||((0,i.isShadowRoot)(e)?e.host:null)||(0,a.default)(e)};var r=o(n(38)),a=o(n(25)),i=n(15);function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.mergeRefs=i;var r=n(1),a=function(e){return e&&"function"!=typeof e?function(t){e.current=t}:e};function i(e,t){var n=a(e),r=a(t);return function(e){n&&n(e),r&&r(e)}}var o=function(e,t){return(0,r.useMemo)((function(){return i(e,t)}),[e,t])};t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(1)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(103)),i=d(n(2)),o=n(32),s=d(n(441));const l=["showText","value","title"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}class p extends r.default.Component{constructor(e){super(e),this.keyPressValidation=this.keyPressValidation.bind(this),this.formatInput=this.formatInput.bind(this),this.completeValidation=this.completeValidation.bind(this),this.onBeforeBackspace=this.onBeforeBackspace.bind(this),this.onBeforeDelete=this.onBeforeDelete.bind(this),this.getValueArray=this.getValueArray.bind(this),this.onChange=this.onChange.bind(this)}shouldComponentUpdate(e){const t=this.props,n=t.value,r=t.onRead,i=t.onWrite;return!a.isEqual(n,e.value)||(r!==e.onRead||i!==e.onWrite)}onBeforeBackspace(e){this.removeSelection(e,-1)}onBeforeDelete(e){this.removeSelection(e,0)}onChange(e){const t=this.props,n=t.onChange,r=t.showText;if(n){n(r?this.getValueArray(e):e)}}getValueArray(e){let t=e;if(this.props.showText&&(t=(0,o.textToHexText)(t)),!this.completeValidation(t))return;const n=[];for(let e=0;e{m(e)||t(function(e){return{type:"SERVER_SETUP_ADDED_NEW_CHARACTERISTIC",parent:e}}(e))}},t.addNewDescriptor=function(e){return t=>{m(e)||t(function(e){return{type:"SERVER_SETUP_ADDED_NEW_DESCRIPTOR",parent:e}}(e))}},t.addNewService=function(){return{type:"SERVER_SETUP_ADDED_NEW_SERVICE"}},t.applyServer=v,t.clearServer=function(){return{type:"SERVER_SETUP_CLEAR_SERVER"}},t.hideApplyDialog=function(){return{type:"SERVER_SETUP_HIDE_APPLY_DIALOG"}},t.hideClearDialog=function(){return{type:"SERVER_SETUP_HIDE_CLEAR_DIALOG"}},t.hideDeleteDialog=g,t.loadServerSetup=function(e){return t=>{try{const n=(0,a.readFileSync)(e),r=JSON.parse(n);if(!r)throw new Error("Illegal format on server setup file.");const i=JSON.stringify(r).replace(/"write_wo_resp"/g,'"writeWoResp"').replace(/"auth_signed_wr"/g,'"authSignedWr"').replace(/"reliable_wr"/g,'"reliableWr"').replace(/"wr_aux"/g,'"wrAux"');t(h(JSON.parse(i))),o.logger.info(`Server setup loaded from ${e}.`)}catch(e){t((0,d.showErrorDialog)(e))}}},t.removeAttribute=function(){return(e,t)=>{const n=t().app.adapter.selectedAdapter.serverSetup,r=(0,l.getInstanceIds)(n.selectedComponent);"local.server.0"!==r.service&&"local.server.1"!==r.service?e({type:"SERVER_SETUP_REMOVE_ATTRIBUTE"}):e(g())}},t.resetAndApplyServer=function(){return(e,t)=>{const n=t().app.adapter.bleDriver.adapter,r=t().app.adapter.selectedAdapter.serverSetup.toJS(),a=n.state,i=a.port,s=a.baudRate,l=n.driver.NRF_SD_BLE_API_VERSION;e(u.closeAdapter()).then(()=>{e(u.openAdapter(i,l,s)).then(t=>new Promise(n=>{const a=i=>{!0===i.bleEnabled&&(e(h(r)),e(v()),t.removeListener("stateChanged",a),n())};t.on("stateChanged",a)})).catch(e=>{o.logger.error("Unable to reset and apply server setup: "+e.message)})})}},t.saveChangedAttribute=function(e){return t=>{const n=e;if(n.value){if(n.fixedLength&&n.value.length{if(e){const r=n().app.adapter.selectedAdapter;(0,a.writeFile)(e,JSON.stringify(r.serverSetup),n=>{n?t((0,d.showErrorDialog)(n)):o.logger.info(`Server setup saved to ${e}.`)})}}},t.selectComponent=_,t.setAttributeExpanded=function(e,t){return n=>{n(function(e,t){return{type:"SERVER_SETUP_SET_ATTRIBUTE_EXPANDED",attribute:e,value:t}}(e,t)),n(p(e.instanceId))}},t.showApplyDialog=function(){return{type:"SERVER_SETUP_SHOW_APPLY_DIALOG"}},t.showClearDialog=function(){return{type:"SERVER_SETUP_SHOW_CLEAR_DIALOG"}},t.showDeleteDialog=function(){return{type:"SERVER_SETUP_SHOW_DELETE_DIALOG"}};var r,a=n(40),i=(r=n(53))&&r.__esModule?r:{default:r},o=n(8),s=n(67),l=n(12),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(10)),d=n(33);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}t.SELECT_COMPONENT="SERVER_SETUP_SELECT_COMPONENT";t.SET_ATTRIBUTE_EXPANDED="SERVER_SETUP_SET_ATTRIBUTE_EXPANDED";t.ADD_NEW_SERVICE="SERVER_SETUP_ADDED_NEW_SERVICE";t.ADD_NEW_CHARACTERISTIC="SERVER_SETUP_ADDED_NEW_CHARACTERISTIC";t.ADD_NEW_DESCRIPTOR="SERVER_SETUP_ADDED_NEW_DESCRIPTOR";t.CHANGED_ATTRIBUTE="SERVER_SETUP_CHANGED_ATTRIBUTE";t.REMOVE_ATTRIBUTE="SERVER_SETUP_REMOVE_ATTRIBUTE";t.CLEAR_SERVER="SERVER_SETUP_CLEAR_SERVER";t.APPLIED_SERVER="SERVER_SETUP_APPLIED_SERVER";t.SHOW_APPLY_DIALOG="SERVER_SETUP_SHOW_APPLY_DIALOG";t.HIDE_APPLY_DIALOG="SERVER_SETUP_HIDE_APPLY_DIALOG";t.SHOW_DELETE_DIALOG="SERVER_SETUP_SHOW_DELETE_DIALOG";t.HIDE_DELETE_DIALOG="SERVER_SETUP_HIDE_DELETE_DIALOG";t.SHOW_CLEAR_DIALOG="SERVER_SETUP_SHOW_CLEAR_DIALOG";t.HIDE_CLEAR_DIALOG="SERVER_SETUP_HIDE_CLEAR_DIALOG";const f="SERVER_SETUP_LOAD";t.LOAD=f;function p(e){return{type:"SERVER_SETUP_SELECT_COMPONENT",component:e}}function h(e){return{type:f,setup:e}}function m(e){const t=(0,l.getInstanceIds)(e.instanceId);return"local.server.0"===t.service||"local.server.1"===t.service}function _(e){return p(e)}function v(){return(e,t)=>{const n=t(),r="Invalid UUID. All attributes must have a valid UUID.",a=new i.default.ServiceFactory,l=n.app.adapter.selectedAdapter.serverSetup,u=n.app.adapter.bleDriver.adapter,c=[],f=l.children.toArray();for(let t=0;t{if(t)return o.logger.info("Failed to set services"),void o.logger.info(t);e(function(e){return{type:"SERVER_SETUP_APPLIED_SERVER",services:e}}(c))})}}function g(){return{type:"SERVER_SETUP_HIDE_DELETE_DIALOG"}}},function(e,t,n){"use strict";function r(e){const t=Error.call(this,e);return t.name="ValidationError",t}r.prototype=Object.create(Error.prototype,{constructor:{value:r}}),e.exports={ValidationError:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SUCCESS=t.ERROR=void 0,t.validateUuid=function(e){return/^[0-9a-fA-F]{4}$/.test(e)||/^[0-9a-fA-F]{32}$/.test(e)?"success":"error"};t.SUCCESS="success";t.ERROR="error"},function(e,t,n){"use strict";var r,a=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function s(e){for(var t=-1,n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n{const t=e.size,n=e.visible,a=e.className,i=e.onWhite,o={visibility:n?"visible":"hidden",width:t,height:t};return r.default.createElement("div",{className:a+(i?" on-white":""),style:o})};o.propTypes={size:a.default.number,visible:a.default.bool,className:a.default.string,onWhite:a.default.bool},o.defaultProps={size:16,visible:!1,className:"spinner",onWhite:!1};var s=o;t.default=s,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.optionsSupported=t.onceSupported=t.default=void 0;var r,a=(r=n(56))&&r.__esModule?r:{default:r};var i=!1;t.optionsSupported=i;var o=!1;t.onceSupported=o;try{var s={get passive(){return t.optionsSupported=i=!0},get once(){return t.onceSupported=o=t.optionsSupported=i=!0}};a.default&&(window.addEventListener("test",s,s),window.removeEventListener("test",s,!0))}catch(e){}var l=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!o){var a=r.once,s=r.capture,l=n;!o&&a&&(l=n.__once||function e(r){this.removeEventListener(t,e,s),n.call(this,r)},n.__once=l),e.addEventListener(t,l,i?r:s)}e.addEventListener(t,n,r)};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((!a&&0!==a||e)&&i.default){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),a=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return a};var r,a,i=(r=n(56))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.useState)(null)};var r=n(1);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,a.default)(e);(0,i.useEffect)((function(){return function(){return t.current()}}),[])};var r,a=(r=n(336))&&r.__esModule?r:{default:r},i=n(1);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(76)),a=i(n(112));function i(e){return e&&e.__esModule?e:{default:e}}var o=function(e,t,n,i){return(0,r.default)(e,t,n,i),function(){(0,a.default)(e,t,n,i)}};t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(16&e.compareDocumentPosition(t))},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.useRef)(!0),t=(0,r.useRef)((function(){return e.current}));return(0,r.useEffect)((function(){return function(){e.current=!1}}),[]),t.current};var r=n(1);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BLE_EVENT_TIMED_OUT=t.BLE_EVENT_SHOW_DIALOG=t.BLE_EVENT_SELECT_EVENT_ID=t.BLE_EVENT_REMOVE=t.BLE_EVENT_IGNORE=t.BLE_EVENT_CREATE_USER_INITIATED_PHY_UPDATE_EVENT=t.BLE_EVENT_CREATE_USER_INITIATED_PAIRING_EVENT=t.BLE_EVENT_CREATE_USER_INITIATED_MTU_UPDATE_EVENT=t.BLE_EVENT_CREATE_USER_INITIATED_DATA_LENGTH_UPDATE_EVENT=t.BLE_EVENT_CREATE_USER_INITIATED_CONN_PARAMS_UPDATE_EVENT=t.BLE_EVENT_CONN_PARAM_UPDATE_REQUEST=t.BLE_EVENT_CLEAR_ALL_EVENTS=t.BLE_EVENT_ACCEPT=void 0,t.acceptEvent=function(e){return function(e){return{type:"BLE_EVENT_ACCEPT",eventId:e}}(e)},t.clearAllEvents=function(){return{type:"BLE_EVENT_CLEAR_ALL_EVENTS"}},t.createUserInitiatedConnParamsUpdateEvent=function(e){return function(e){return{type:"BLE_EVENT_CREATE_USER_INITIATED_CONN_PARAMS_UPDATE_EVENT",device:e}}(e)},t.createUserInitiatedDataLengthUpdateEvent=function(e){return t=>{t(function(e,t){return{type:"BLE_EVENT_CREATE_USER_INITIATED_DATA_LENGTH_UPDATE_EVENT",device:e,dataLength:t}}(e))}},t.createUserInitiatedMtuUpdateEvent=function(e){return t=>{t(function(e,t){return{type:"BLE_EVENT_CREATE_USER_INITIATED_MTU_UPDATE_EVENT",device:e,mtu:t}}(e))}},t.createUserInitiatedPairingEvent=function(e){return(t,n)=>{const r=n().app.adapter.selectedAdapter.security.securityParams;t(function(e,t){return{type:"BLE_EVENT_CREATE_USER_INITIATED_PAIRING_EVENT",device:e,defaultSecParams:t}}(e,r))}},t.createUserInitiatedPhyUpdateEvent=function(e){return function(e){return{type:"BLE_EVENT_CREATE_USER_INITIATED_PHY_UPDATE_EVENT",device:e}}(e)},t.eventTimedOut=function(e){return function(e){return{type:"BLE_EVENT_TIMED_OUT",event:e}}(e)},t.ignoreEvent=function(e){return function(e){return{type:"BLE_EVENT_IGNORE",eventId:e}}(e)},t.removeEvent=function(e){return function(e){return{type:"BLE_EVENT_REMOVE",eventId:e}}(e)},t.selectEventId=function(e){return t=e,{type:"BLE_EVENT_SELECT_EVENT_ID",selectedEventId:t};var t},t.showDialog=function(e){return function(e){return{type:"BLE_EVENT_SHOW_DIALOG",visible:e}}(e)};t.BLE_EVENT_CONN_PARAM_UPDATE_REQUEST="BLE_EVENT_CONN_PARAM_UPDATE_REQUEST";t.BLE_EVENT_SHOW_DIALOG="BLE_EVENT_SHOW_DIALOG";t.BLE_EVENT_CLEAR_ALL_EVENTS="BLE_EVENT_CLEAR_ALL_EVENTS";t.BLE_EVENT_SELECT_EVENT_ID="BLE_EVENT_SELECT_EVENT_ID";t.BLE_EVENT_TIMED_OUT="BLE_EVENT_TIMED_OUT";t.BLE_EVENT_IGNORE="BLE_EVENT_IGNORE";t.BLE_EVENT_ACCEPT="BLE_EVENT_ACCEPT";t.BLE_EVENT_REMOVE="BLE_EVENT_REMOVE";t.BLE_EVENT_CREATE_USER_INITIATED_CONN_PARAMS_UPDATE_EVENT="BLE_EVENT_CREATE_USER_INITIATED_CONN_PARAMS_UPDATE_EVENT";t.BLE_EVENT_CREATE_USER_INITIATED_PHY_UPDATE_EVENT="BLE_EVENT_CREATE_USER_INITIATED_PHY_UPDATE_EVENT";t.BLE_EVENT_CREATE_USER_INITIATED_MTU_UPDATE_EVENT="BLE_EVENT_CREATE_USER_INITIATED_MTU_UPDATE_EVENT";t.BLE_EVENT_CREATE_USER_INITIATED_DATA_LENGTH_UPDATE_EVENT="BLE_EVENT_CREATE_USER_INITIATED_DATA_LENGTH_UPDATE_EVENT";t.BLE_EVENT_CREATE_USER_INITIATED_PAIRING_EVENT="BLE_EVENT_CREATE_USER_INITIATED_PAIRING_EVENT"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"uncontrollable",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"useUncontrolled",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"useUncontrolledProp",{enumerable:!0,get:function(){return a.useUncontrolledProp}});var r,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=a?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(374)),i=(r=n(375))&&r.__esModule?r:{default:r};function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}},function(e,t,n){"use strict";function r(){return t.default=r=Object.assign||function(e){for(var t=1;t=0?"x":"y"},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)((0,a.default)(e)).left+(0,i.default)(e).scrollLeft};var r=o(n(48)),a=o(n(25)),i=o(n(92));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,a.default)(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}};var r,a=(r=n(22))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,a.default)(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)};var r,a=(r=n(39))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(e&&"setState"in e)return a.default.findDOMNode(e);return null!=e?e:null};var r,a=(r=n(45))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_PROGRESS=t.TRANSFER_FILE_STARTED=t.TRANSFER_FILE_COMPLETED=t.SHOW_DIALOG=t.SHOW_CONFIRM_CLOSE_DIALOG=t.SET_FILE_PATH=t.PERFORM_SUCCESS=t.PERFORM_ERROR=t.PERFORM=t.LOAD_PACKAGE_INFO_SUCCESS=t.LOAD_PACKAGE_INFO_ERROR=t.LOAD_PACKAGE_INFO=t.HIDE_DIALOG=t.HIDE_CONFIRM_CLOSE_DIALOG=t.DEVICE_ENABLE_EVENTS=t.DEVICE_DISABLE_EVENTS=t.ABORT_SUCCESS=t.ABORT=void 0,t.hideConfirmCloseDialog=function(){return{type:"DFU_HIDE_CONFIRM_CLOSE"}},t.hideDfuDialog=function(){return(e,t)=>{const n=t().app.dfu.isStarted;l&&(n&&(e(u()),l.abort()),l.removeAllListeners("transferStart"),l.removeAllListeners("transferComplete"),l.removeAllListeners("progressUpdate"),l.removeAllListeners("logMessage")),e({type:"DFU_HIDE_DIALOG"})}},t.loadDfuPackageInfo=function(e){return t=>{t(function(e){return{type:"DFU_LOAD_PACKAGE_INFO",filePath:e}}(e)),l.getManifest(e,(e,n)=>{e?(t(function(e){return{type:"DFU_LOAD_PACKAGE_INFO_ERROR",error:e}}(e)),t((0,s.showErrorDialog)({message:e.message}))):t({type:"DFU_LOAD_PACKAGE_INFO_SUCCESS",packageInfo:n})})}},t.setDfuFilePath=function(e){return function(e){return{type:"DFU_SET_FILE_PATH",filePath:e}}(e)},t.showConfirmCloseDialog=function(){return{type:"DFU_SHOW_CONFIRM_CLOSE"}},t.showDfuDialog=function(e){return(t,n)=>{const r=n(),i=r.app.adapter.bleDriver.adapter;l=new a.default.Dfu("BLE",{adapter:i,targetAddress:e.address,targetAddressType:e.addressType,bondingData:(()=>{const t=r.app.adapter.getIn(["selectedAdapter","security","bondStore",e.address]);if("peripheral"===e.role&&t){let e,n;t.getIn(["keys_own","enc_key","enc_info","lesc"])?(e=t.getIn(["keys_own","enc_key","enc_info"]).toJS(),n=t.getIn(["keys_own","enc_key","master_id"]).toJS()):(e=t.getIn(["keys_peer","enc_key","enc_info"]).toJS(),n=t.getIn(["keys_peer","enc_key","master_id"]).toJS());return{encInfo:e,masterId:n}}return null})()}),function(e){l.on("transferStart",t=>{e(function(e){return{type:"DFU_TRANSFER_FILE_STARTED",fileName:e}}(t))}),l.on("transferComplete",t=>{e(function(e){return{type:"DFU_TRANSFER_FILE_COMPLETED",fileName:e}}(t))}),l.on("progressUpdate",t=>{var n;e({type:"DFU_UPDATE_PROGRESS",percentCompleted:(n=t).percentCompleted,status:n.stage,bytesPerSecond:n.bytesPerSecond,averageBytesPerSecond:n.averageBytesPerSecond,completedBytes:n.completedBytes,totalBytes:n.totalBytes})}),l.on("logMessage",c)}(t),t(function(e){return{type:"DFU_SHOW_DIALOG",device:e}}(e))}},t.startDfu=function(e){return(t,n)=>{t({type:"DFU_PERFORM"});const r=n(),a=r.app.adapter.bleDriver.adapter,i=r.app.dfu.device,u=(e=>{let t=e.toString(16).toUpperCase();t=("0".repeat(11)+t).slice(-12);return t.replace(/[0-9A-F]{2}\B/g,"$&:")})((c=i.address,parseInt(c.replace(/:/g,""),16)+1));var c;t((0,o.detachFromDevice)(i)),t((0,o.disableDeviceEvents)(i.address)),t((0,o.disableDeviceEvents)(u)),l.performDFU(e,(e,n)=>{e?(t(function(e){return{type:"DFU_PERFORM_ERROR",error:e}}(e)),t((0,s.showErrorDialog)({message:e.message}))):t(n?{type:"DFU_ABORT_SUCCESS"}:{type:"DFU_PERFORM_SUCCESS"}),d(a,i.address).then(()=>{t((0,o.enableDeviceEvents)(i.address))}),d(a,u).then(()=>{t((0,o.enableDeviceEvents)(u))})})}},t.stopDfu=function(){return e=>{e(u()),l.abort()}};var r,a=(r=n(53))&&r.__esModule?r:{default:r},i=n(8),o=n(10),s=n(33);t.SHOW_DIALOG="DFU_SHOW_DIALOG";t.HIDE_DIALOG="DFU_HIDE_DIALOG";t.SHOW_CONFIRM_CLOSE_DIALOG="DFU_SHOW_CONFIRM_CLOSE";t.HIDE_CONFIRM_CLOSE_DIALOG="DFU_HIDE_CONFIRM_CLOSE";t.SET_FILE_PATH="DFU_SET_FILE_PATH";t.LOAD_PACKAGE_INFO="DFU_LOAD_PACKAGE_INFO";t.LOAD_PACKAGE_INFO_SUCCESS="DFU_LOAD_PACKAGE_INFO_SUCCESS";t.LOAD_PACKAGE_INFO_ERROR="DFU_LOAD_PACKAGE_INFO_ERROR";t.PERFORM_SUCCESS="DFU_PERFORM_SUCCESS";t.PERFORM_ERROR="DFU_PERFORM_ERROR";t.PERFORM="DFU_PERFORM";t.TRANSFER_FILE_STARTED="DFU_TRANSFER_FILE_STARTED";t.TRANSFER_FILE_COMPLETED="DFU_TRANSFER_FILE_COMPLETED";t.ABORT="DFU_ABORT";t.ABORT_SUCCESS="DFU_ABORT_SUCCESS";t.UPDATE_PROGRESS="DFU_UPDATE_PROGRESS";t.DEVICE_DISABLE_EVENTS="DEVICE_DISABLE_EVENTS";t.DEVICE_ENABLE_EVENTS="DEVICE_ENABLE_EVENTS";let l;function u(){return{type:"DFU_ABORT"}}function d(e,t){const n=function(e,t){const n=e.getDevices(),r=Object.keys(n).find(e=>n[e].address===t);return n[r]}(e,t);return n?new Promise((t,r)=>{e.disconnect(n.instanceId,e=>{e?r(new Error(e.message)):t()})}):Promise.resolve()}function c(e,t){switch(e){case 0:case 1:i.logger.debug(t);break;case 2:i.logger.info(t);break;case 3:i.logger.warn(t);break;case 4:case 5:i.logger.error(t);break;default:i.logger.warn(`Log message of unknown severity ${e} received: ${t}`)}}},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CCCD_UUID=void 0;var r=c(n(1)),a=c(n(2)),i=n(12),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(437)),s=n(32),l=c(n(151)),u=c(n(149));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}t.CCCD_UUID="2902";class f extends r.default.Component{constructor(e){super(e),this.backgroundColor=o.getColor("brand-base"),this.bars=0,this.expandable=!0,this.attributeType="attribute",this.childAttributeType="service",this.childChanged=this.childChanged.bind(this),this.selectComponent=this.selectComponent.bind(this),this.onExpandAreaClick=this.onExpandAreaClick.bind(this),this.onAddAttribute=this.onAddAttribute.bind(this),this.onContentClick=this.onContentClick.bind(this)}componentDidUpdate(e){const t=this.props,n=t.item,r=t.onChange;n.value!==e.item.value&&(r&&r(),this.blink())}onAddAttribute(){const e=this.props,t=e.item,n=e.onAddCharacteristic,r=e.onAddDescriptor;"service"===this.attributeType?n(t):"characteristic"===this.attributeType&&r(t)}onExpandAreaClick(e){const t=this.props,n=t.item,r=t.onSetAttributeExpanded;e.stopPropagation(),r&&r(n,!n.expanded),this.selectComponent()}onContentClick(e){e.stopPropagation(),this.selectComponent()}onWrite(e){const t=this.props,n=t.item;(0,t.onWrite)(n,e)}onRead(){const e=this.props,t=e.item;(0,e.onRead)(t)}getChildren(){const e=this.props.item,t=e.expanded,n=e.discoveringChildren,a=e.children,i=[];return n?i.push(r.default.createElement(u.default,{key:"enumerating-"+this.childAttributeType,bars:this.bars+1})):a&&t&&i.push(this.renderChildren()),i}childChanged(){const e=this.props,t=e.item,n=e.onChange;n&&n(),t.expanded||this.blink()}blink(){const e=o.getColor("brand-primary"),t=o.getColor("brand-base"),n=`rgb(${e.r}, ${e.g}, ${e.b})`,r=`rgb(${t.r}, ${t.g}, ${t.b})`;this.bgDiv.style.transition="initial",this.bgDiv.style.backgroundColor=n,setTimeout(()=>{this.bgDiv.style.transition="background-color 2s",this.bgDiv.style.backgroundColor=r},25)}selectComponent(){const e=this.props,t=e.item,n=e.onSelectAttribute;n&&n(t.instanceId)}isLocalAttribute(){const e=this.props.item;return"local.server"===(0,i.getInstanceIds)(e.instanceId).device}renderContent(){return null}renderChildren(){return null}renderError(){const e=this.props.item.errorMessage||"",t=""===e?"hide":"";return r.default.createElement("div",{className:"error-label "+t},e)}renderName(){const e=this.props.item,t=e.handle,n=e.valueHandle,a=e.uuid,i=e.name;let o="";return t?o=`Handle: 0x${(0,s.toHexString)(t)}, `:n&&(o=`Value handle: 0x${(0,s.toHexString)(n)}, `),r.default.createElement("div",{className:this.attributeType+"-name truncate-text selectable",title:`${o}UUID: ${a}`},i)}render(){const e=this.props,t=e.item,n=e.selected,a=e.addNew,i=t.instanceId,o=t.expanded,s=t.children,u=[];for(let e=0;e{this.bgDiv=e},className:`${this.attributeType}-item ${m}`,style:{backgroundColor:_},onClick:this.onContentClick,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("div",{className:"expand-area",onClick:this.onExpandAreaClick,onKeyDown:()=>{},role:"button",tabIndex:0},u,r.default.createElement("div",{className:"icon-wrap"},r.default.createElement("i",{className:"icon-slim "+f,style:p}))),r.default.createElement("div",{className:"content-wrap",onClick:this.onExpandAreaClick,onKeyDown:()=>{},role:"button",tabIndex:0},d)),r.default.createElement("div",{style:{display:o?"block":"none"}},c,a&&r.default.createElement(l.default,{key:"add-new-"+this.childAttributeType,text:"New "+this.childAttributeType,id:"add-btn-"+i,parentInstanceId:i,selected:n,onClick:this.onAddAttribute,bars:this.bars+1})))}}f.propTypes={item:a.default.oneOfType([a.default.instanceOf(i.ImmutableService),a.default.instanceOf(i.ImmutableDescriptor),a.default.instanceOf(i.ImmutableCharacteristic)]).isRequired,selected:a.default.string,addNew:a.default.bool,onChange:a.default.func,onRead:a.default.func,onWrite:a.default.func,onSelectAttribute:a.default.func,onAddCharacteristic:a.default.func,onAddDescriptor:a.default.func,onSetAttributeExpanded:a.default.func},f.defaultProps={selected:null,addNew:!1,onChange:null,onRead:null,onWrite:null,onSelectAttribute:null,onAddCharacteristic:null,onAddDescriptor:null,onSetAttributeExpanded:null};var p=f;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(1)),a=l(n(2)),i=n(68),o=l(n(148)),s=l(n(14));function l(e){return e&&e.__esModule?e:{default:e}}class u extends r.default.PureComponent{constructor(e){super(e);const t=this.props.value;this.uuid=t,this.handleSelection=this.handleSelection.bind(this),this.onUuidChange=this.onUuidChange.bind(this)}onUuidChange(e){const t=this.props.handleSelection,n=e.target;this.uuid=n.value;const r=/^[0-9A-F]*$/i.test(this.uuid);let a=n.selectionStart;if(!r)return a-=1,void this.forceUpdate(()=>n.setSelectionRange(a,a));t(this.uuid)}validateUuidInput(){return(0,i.validateUuid)(this.uuid)}handleSelection(e,t){const n=this.props.handleSelection;this.uuid=t,n(t)}render(){const e=this.props,t=e.label,n=e.uuidDefinitions,a=e.value,i=r.default.createElement(o.default,{onSelect:this.handleSelection,title:`Predefined ${t}s`,uuidDefs:n()});return r.default.createElement(s.default,{label:t,hasFeedback:!0,validationState:this.validateUuidInput(),value:a,onChange:this.onUuidChange,buttonAfter:i})}}u.propTypes={label:a.default.string.isRequired,value:a.default.string.isRequired,uuidDefinitions:a.default.func.isRequired,handleSelection:a.default.func.isRequired};var d=u;t.default=d,e.exports=t.default},function(e,t,n){"use strict";var r=n(70),a=n.n(r),i=n(71),o=n.n(i)()(a.a);o.push([e.i,".colordefinition-brand-main{color:#009cde}.colordefinition-brand-primary{color:#0080b7}.colordefinition-brand-info{color:#6dcff6}.colordefinition-brand-base{color:#fff}.colordefinition-brand-success{color:#5cb85c}.colordefinition-brand-warning{color:#f0ad4e}.colordefinition-brand-danger{color:#d9534f}.colordefinition-bar1-color{color:#b3e1f5}.colordefinition-bar2-color{color:#66c4eb}.colordefinition-bar3-color{color:#009cde}.colordefinition-icon-color{color:#0080b7}","",{version:3,sources:["webpack://./resources/css/colordefinitions.scss","webpack://./resources/css/brand.scss"],names:[],mappings:"AAQA,4BACI,aCHoB,CDMxB,+BACI,aCNoB,CDSxB,4BACI,aCToB,CDYxB,4BACI,UCZoB,CDexB,+BACI,aCdoB,CDiBxB,+BACI,aCjBoB,CDoBxB,8BACI,aCpBoB,CDuBxB,4BACI,aCtBS,CDyBb,4BACI,aCzBS,CD4Bb,4BACI,aC5BS,CD+Bb,4BACI,aC9BS",sourcesContent:['/*\r\n * Copyright (c) 2015 Nordic Semiconductor ASA\r\n *\r\n * SPDX-License-Identifier: LicenseRef-Nordic-4-Clause\r\n */\r\n\r\n@import "./brand.scss";\r\n\r\n.colordefinition-brand-main {\r\n color: $brand-main;\r\n}\r\n\r\n.colordefinition-brand-primary {\r\n color: $brand-primary;\r\n}\r\n\r\n.colordefinition-brand-info {\r\n color: $brand-info;\r\n}\r\n\r\n.colordefinition-brand-base {\r\n color: $brand-base;\r\n}\r\n\r\n.colordefinition-brand-success {\r\n color: $brand-success;\r\n}\r\n\r\n.colordefinition-brand-warning {\r\n color: $brand-warning;\r\n}\r\n\r\n.colordefinition-brand-danger {\r\n color: $brand-danger;\r\n}\r\n\r\n.colordefinition-bar1-color {\r\n color: $bar1-color;\r\n}\r\n\r\n.colordefinition-bar2-color {\r\n color: $bar2-color;\r\n}\r\n\r\n.colordefinition-bar3-color {\r\n color: $bar3-color;\r\n}\r\n\r\n.colordefinition-icon-color {\r\n color: $icon-color;\r\n}\r\n',"/*\r\n * Copyright (c) 2015 Nordic Semiconductor ASA\r\n *\r\n * SPDX-License-Identifier: LicenseRef-Nordic-4-Clause\r\n */\r\n\r\n$brand-main: #009CDE; // Nordic primary blue\r\n$brand-primary: #0080B7; // Nordic secondary dark blue\r\n$brand-info: #6dcff6; // Nordic secondary light blue\r\n$brand-base: #ffffff; // White\r\n\r\n$brand-success: #5cb85c;\r\n$brand-warning: #f0ad4e;\r\n$brand-danger: #d9534f;\r\n\r\n$bar1-color: rgb(179, 225, 245);\r\n$bar2-color: rgb(102, 196, 235);\r\n$bar3-color: rgb(0, 156, 222);\r\n\r\n$icon-color: #0080B7;\r\n"],sourceRoot:""}]),t.a=o},function(e,t,n){"use strict";var r=n(70),a=n.n(r),i=n(71),o=n.n(i)()(a.a);o.push([e.i,'@keyframes rotator{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.spinner{border-radius:50%;background:linear-gradient(to right, #0080B7 10%, rgba(255, 255, 255, 0) 42%);position:relative;display:inline-block;animation:rotator 1.4s infinite linear;transform:translateZ(0)}.spinner:before{width:50%;height:50%;background:#0080b7;border-radius:100% 0 0 0;position:absolute;top:0;left:0;content:""}.spinner:after{background:#eceff1;width:75%;height:75%;border-radius:50%;content:"";margin:auto;position:absolute;top:0;left:0;bottom:0;right:0}.spinner.on-white:after{background:#fff}.core-main-view,.core-side-panel{padding:0}.selectable{user-select:initial}.nomargin{margin:0px}.glyphicon .form-control-feedback{right:45px}.icon-slim:before{margin:0;width:auto}.icon-slim.expand:before{margin:0 -5px;width:auto;font-size:21px}.icon-2x{font-size:200%}.icon-encircled{border-radius:50%;background-color:#333;color:#fff;width:24px;height:24px;display:block;padding-left:1px;padding-top:2px}.icon-foreground{overflow:hidden;position:absolute}.icon-background{color:#ddd}.icon-rotate-90:before{transform:rotate(90deg)}.icon-rotate-270:before{transform:rotate(270deg)}.btn .mdi:first-child{margin-right:4px}.btn .mdi:last-child{margin-left:4px}.border-box{box-sizing:border-box;-moz-box-sizing:border-box}.slidein{display:block}#diagramContainer{padding:20px;width:100%;position:relative;overflow:auto}@font-face{font-family:"Roboto Condensed";font-style:normal;font-weight:300}@font-face{font-family:"Roboto";font-style:italic;font-weight:300}@font-face{font-family:"Roboto";font-style:normal;font-weight:400}@font-face{font-family:"Roboto";font-style:italic;font-weight:400}@font-face{font-family:"Roboto";font-style:normal;font-weight:700}@font-face{font-family:"Roboto";font-style:italic;font-weight:700}.tree-view{overflow-y:hidden}.tree-view_children{margin-left:16px}.tree-view_children-collapsed{height:0px}.tree-view_arrow{cursor:pointer;margin-right:6px;display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tree-view_arrow-collapsed{-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg)}#log-entry{display:flex;flex-flow:column;margin:0;padding:0;font-family:"Roboto",sans-serif}#log-entry>device-info,#log-entry>status,#log-entry>device-status,#log-entry>service-info{margin:0px}#log-entry>device-info{display:flex;flex-flow:column;font-weight:bold}#log-entry>device-status{display:flex;flex-flow:row;justify-content:space-between}#log-entry>service-info{display:flex;flex-flow:column}#log-entry>service-info>service-flags>service-flag{height:20px;background:#aaa;border-radius:5px;text-align:center;overflow-y:auto;font-size:14px;padding:5px 10px 10px 5px}#main-area-wrapper{background-color:#f2f2f2;width:100%;min-width:930px}.nav-bar{background-color:#0080b7}.nav-bar .nrfconnect-logo{float:right;height:55px}.nav-bar .settings-menu{float:right;height:55px;width:40px;padding-top:10px;font-size:large;color:#fff}.nav-bar .nav-section{display:inline-block;padding:10px 10px 0 10px;height:55px}.nav-bar .nav-section.bl{border-left:1px solid #006e9e}.core-main-layout>div:nth-child(1){flex:1;display:flex;flex-flow:row}.core-main-layout{display:flex;flex-flow:row}.core-main-layout>div:nth-child(1){flex:1;display:flex;flex-flow:column}.core-main-layout>div:nth-child(1)>div:nth-child(1){flex:1;border-top:1px solid gray;box-shadow:inset 0px 0px 6px 0px gray}.core-main-layout>div:nth-child(1)>div:nth-child(2){border-top:1px solid gray;overflow:hidden}.core-main-layout>div:nth-child(2){box-shadow:inset 0px 5px 6px -5px gray;background-color:#fff;width:260px;border-top:1px solid gray;border-left:1px solid gray;overflow-y:auto}.indicator{display:inline-block;height:11px;width:11px;border-radius:50%;border:1px solid #645e5e}.indicator.on{background-color:#5cb85c}.indicator.off{background-color:#cfcfcf}.indicator.error{background-color:#d9534f}#discoveredDevicesContainer button:disabled{border-color:#009cde;color:#eee}#discoveredDevicesContainer .spinner{margin-left:10px}#discoveredDevicesContainer .discovery-options-expand{margin-top:3px}#discoveredDevicesContainer .discovery-options-expand span{font-size:12px}#discoveredDevicesContainer>.padded-row{border-bottom:1px solid #cfcfcf;padding-bottom:5px}#discoveredDevicesContainer>.padded-row i{font-size:14px}#discoveredDevicesContainer .discovery-options label{font-size:12px;font-weight:normal;margin-right:10px}#discoveredDevicesContainer .discovery-options .form-control{width:155px;height:22px;font-size:12px;padding-left:10px}#discoveredDevicesContainer .discovery-options .form-group{margin-bottom:0px}#discoveredDevicesContainer .discovery-options .form-check{display:unset;padding-left:unset}#discoveredDevicesContainer .discovery-options .form-check-input{position:unset;margin-left:3px;margin-right:.5rem}#discoveredDevicesContainer .discovery-options input{margin-top:2px}#discoveredDevicesContainer .rssi-bars{margin-bottom:7px;margin-left:4px}.btn-nordic{border-radius:0px}#diagramContainer .device.standalone{box-shadow:0px 0px 4px 0px #777a89}.device-details-view .device.standalone,.server-setup-view,.bleevent-dialog-view{border-bottom:1px solid #cfcfcf}.device-details-view .device.standalone .flag-line,.server-setup-view .flag-line,.bleevent-dialog-view .flag-line{display:none}.device{border-bottom:1px solid #d3d3d3;padding:4px 0;position:relative}.device .btn-nordic{float:right}.device .device-body>div{margin-top:5px}.device .device-body .discovered-device-address-line{height:22px}.device .flag-line{overflow:hidden}.device.standalone{border-bottom:none;padding:0;width:280px}.device.standalone .top-bar{background-color:#e6e6e6;min-height:20px}.device.standalone>div{padding:4px 10px}.device.standalone strong{font-size:14px}.device.standalone .device-body{padding:4px 10px 10px 10px}.device.standalone .device-body .btn-nordic{float:left;margin-left:10px}.device.standalone .device-body .icon-dfu-button{width:20px;height:20px}.device.standalone .device-body #dfuButton{width:32px;height:22px;padding:1px 5px;margin-left:10px}.device.standalone .device-body .mdi-signal-variant{margin-right:13px;float:right;font-size:18px}.device.standalone .device-body .dropdown{min-width:0px;display:inline-block}.device.standalone .device-body .dropdown .dropdown-menu{background-color:#fff}.device.standalone .device-body .dropdown .dropdown-menu li>a:focus{outline:1px solid #000}.device.standalone .device-body .dropdown .dropdown-menu li>a{background-color:#fff;color:#333}.device.standalone .device-body .dropdown .dropdown-menu li>a:hover{background-color:#e6e6e6}.device.standalone .device-body .dropdown>.dropdown-toggle{min-width:0;padding:0}.device.standalone .device-body .dropdown-toggle{margin-left:5px;min-width:0px;padding:0px;border:none}.device.standalone .device-body .dropdown-toggle .mdi-settings{font-size:18px}.device.standalone .connector{padding:0px}.device.main-device img{float:left;margin-right:20px;margin-top:25px;margin-left:20px}.device.main-device .device-body{padding-top:20px}.dropdown:not(core-nav-bar .dropdown){padding:0px;border:0px}.dropdown:not(core-nav-bar .dropdown)>.dropdown-toggle>.caret{position:absolute;left:90%;top:45%}.dropdown-toggle:focus{outline:5px auto}#dropdownUuidLookup .dropdown-toggle:after{content:none}#connectionDropDown .dropdown-toggle{margin-right:8px;font-size:1.1em;box-shadow:none;color:#000;background-color:#fff}#connectionDropDown .dropdown-toggle:hover{background-color:gray}#connectionDropDown .dropdown-toggle:after{content:none}#connectionDropDown .dropdown-toggle:focus{background-color:gray}.text-small{font-size:13px}.padded-row>:not(:last-child){margin-right:5px}.padded-row>:last-child{margin-right:0px}.padded-column>:not(:last-child){margin-bottom:5px}.padded-column>:last-child{margin-bottom:0px}:focus{outline-color:#b3b3b3 !important}.device-details-container{padding:20px;overflow-y:hidden}.device-details-container .device-details-view{box-shadow:0px 0px 4px 0px #777a89}.device-details-container>div{display:flex;align-items:flex-start;flex-direction:row}.subtle-text{color:gray}.subtler-text{color:#b3b3b3}.truncate-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item{box-shadow:0px 0px 4px 0px #777a89;background-color:#fff}.device-flag,.role-flag{border-radius:3px;font-size:10px;padding:0px 3px;margin-top:1px;margin-bottom:1px;display:inline-block;color:#fff}.device-flag{background:#eee;color:#000}.role-flag{background-color:#6dcff6;padding:3px 15px}.address-text{color:gray;font-size:11px}.adv-label{display:inline-block;font-size:11px;font-weight:bold}.adv-value{display:inline-block;margin-left:17px;font-size:11px}.adv-timeout{display:inline-block;font-size:11px;width:50px}.adv-line{background-color:#f8f8f8;margin:3px 0px 0px 3px;padding:0px 3px 0px 3px}.adv-line>:not(:last-child){margin-right:2px}.adv-line>:last-child{margin-right:0px}.adv-details{color:#555}.adv-details i[class^=icon-]:before{margin-left:0px;padding-left:0px;width:8px}.adv-data-delete{border-radius:4px;font-size:12px;line-height:8px;color:#000;background-color:#fff}.device-name{font-size:13px;font-weight:bold}.discovered-device-body .discovered-device-address-line{height:22px;margin-top:5px}.log-wrap{background-color:#f2f2f2}.log-wrap .infinite-log{position:relative;overflow-x:auto !important;background-color:#fff}.log-wrap .infinite-log>div{position:absolute;display:table;min-width:100%}.log-wrap .log-entry{height:20px;white-space:nowrap;background-color:#fff;display:table-row;min-width:100%}.log-wrap .log-entry .time,.log-wrap .log-entry .message{display:table-cell;padding:0 20px;border-right:1px dotted gray;border-bottom:1px dotted gray;height:20px;line-height:20px}.log-wrap .log-entry .time{width:132px}.log-wrap .log-trace,.log-wrap .log-debug,.log-wrap .log-info,.log-wrap .log-warning{background-color:#fff}.log-wrap .log-error,.log-wrap .log-fatal{color:#a94442;background-color:#f2dede}.log-wrap .log-unknown{color:#31708f;background-color:#d9edf7}.log-wrap .log-header{display:flex;flex-direction:row;align-items:center}.log-wrap .log-header-text{height:30px;line-height:30px;font-weight:bold;padding-left:20px;font-size:14px;margin:0;flex:1}.log-wrap .log-header-buttons{align-content:flex-end;padding:6px 6px 6px 0px}.service-name{font-size:12px;line-height:32px;float:left}.server-setup{padding:20px;height:100%}.device-details-container{height:100%}.device-details-container .local-server{margin:0px}.server-setup .server-setup-view,.server-setup .bleevent-dialog-view{display:flex;margin:0px;max-width:800px;height:100%;box-shadow:0px 0px 4px 0px #777a89}.server-setup .server-setup-view .server-setup-tree,.server-setup .bleevent-dialog-view .server-setup-tree{position:relative;height:100%}.server-setup .server-setup-view .server-setup-tree .service-items-wrap,.server-setup .bleevent-dialog-view .server-setup-tree .service-items-wrap{max-height:calc(100vh - 441px)}.server-setup .server-setup-view .server-setup-tree .service-items-wrap .flag-line,.server-setup .bleevent-dialog-view .server-setup-tree .service-items-wrap .flag-line{display:none}.server-setup .server-setup-view .server-setup-tree .service-items-wrap .editable-field,.server-setup .bleevent-dialog-view .server-setup-tree .service-items-wrap .editable-field{display:none}.server-setup .server-setup-view .server-setup-tree .service-items-wrap .btn-notify,.server-setup .bleevent-dialog-view .server-setup-tree .service-items-wrap .btn-notify{display:none}.server-setup .server-setup-view .server-setup-tree .server-setup-buttons,.server-setup .bleevent-dialog-view .server-setup-tree .server-setup-buttons{position:absolute;bottom:0px;width:100%;padding:10px;border-top:1px solid #cfcfcf}.server-setup .server-setup-view .server-setup-tree .server-setup-buttons .btn,.server-setup .bleevent-dialog-view .server-setup-tree .server-setup-buttons .btn{float:right;margin-left:5px}.server-setup .server-setup-view .server-setup-tree .device,.server-setup .bleevent-dialog-view .server-setup-tree .device{border-bottom:1px solid #cfcfcf}.server-setup .server-setup-view .selected-component-editor-border,.server-setup .bleevent-dialog-view .selected-component-editor-border{border-left:8px solid #b3e1f5}.server-setup .server-setup-view .item-editor,.server-setup .bleevent-dialog-view .item-editor{flex:1;min-width:350px;overflow-y:auto;overflow-x:hidden;height:100%}.server-setup .server-setup-view .item-editor>form,.server-setup .server-setup-view .item-editor .nothing-selected,.server-setup .bleevent-dialog-view .item-editor>form,.server-setup .bleevent-dialog-view .item-editor .nothing-selected{height:100%;padding:20px}.server-setup .server-setup-view .item-editor .nothing-selected,.server-setup .bleevent-dialog-view .item-editor .nothing-selected{border-left:1px solid #cfcfcf}.server-setup .server-setup-view .item-editor .uuid-lookup,.server-setup .bleevent-dialog-view .item-editor .uuid-lookup{margin-bottom:0px;padding-left:1px}.server-setup .server-setup-view .item-editor .form-horizontal .form-inline,.server-setup .bleevent-dialog-view .item-editor .form-horizontal .form-inline{margin-left:-15px;margin-right:-15px;margin-bottom:15px}.server-setup .server-setup-view .item-editor .form-inline,.server-setup .bleevent-dialog-view .item-editor .form-inline{width:100%}.server-setup .server-setup-view .item-editor .form-list,.server-setup .bleevent-dialog-view .item-editor .form-list{padding:0 15px;flex-direction:column;align-items:left}.server-setup .server-setup-view .item-editor .btn-toolbar .btn-nordic,.server-setup .bleevent-dialog-view .item-editor .btn-toolbar .btn-nordic{margin-left:5px}.bleevent-dialog .server-setup-view,.bleevent-dialog .bleevent-dialog-view{display:flex;margin:0px;max-width:800px;box-shadow:0px 0px 4px 0px #777a89}.bleevent-dialog .server-setup-view .server-setup-tree,.bleevent-dialog .bleevent-dialog-view .server-setup-tree{position:relative;max-height:calc(100vh - 285px)}.bleevent-dialog .server-setup-view .server-setup-tree .service-items-wrap,.bleevent-dialog .bleevent-dialog-view .server-setup-tree .service-items-wrap{max-height:calc(100vh - 441px)}.bleevent-dialog .server-setup-view .server-setup-tree .service-items-wrap .flag-line,.bleevent-dialog .bleevent-dialog-view .server-setup-tree .service-items-wrap .flag-line{display:none}.bleevent-dialog .server-setup-view .server-setup-tree .service-items-wrap .editable-field,.bleevent-dialog .bleevent-dialog-view .server-setup-tree .service-items-wrap .editable-field{display:none}.bleevent-dialog .server-setup-view .server-setup-tree .service-items-wrap .btn-notify,.bleevent-dialog .bleevent-dialog-view .server-setup-tree .service-items-wrap .btn-notify{display:none}.bleevent-dialog .server-setup-view .server-setup-tree .server-setup-buttons,.bleevent-dialog .bleevent-dialog-view .server-setup-tree .server-setup-buttons{position:absolute;bottom:0px;width:100%;padding:10px;border-top:1px solid #cfcfcf}.bleevent-dialog .server-setup-view .server-setup-tree .server-setup-buttons .btn,.bleevent-dialog .bleevent-dialog-view .server-setup-tree .server-setup-buttons .btn{float:right;margin-left:5px}.bleevent-dialog .server-setup-view .server-setup-tree .device,.bleevent-dialog .bleevent-dialog-view .server-setup-tree .device{border-bottom:1px solid #cfcfcf}.bleevent-dialog .server-setup-view .selected-component-editor-border,.bleevent-dialog .bleevent-dialog-view .selected-component-editor-border{border-left:8px solid #b3e1f5}.bleevent-dialog .server-setup-view .item-editor,.bleevent-dialog .bleevent-dialog-view .item-editor{flex:1;min-width:350px;overflow:auto;padding-bottom:12px}.bleevent-dialog .server-setup-view .item-editor .nothing-selected,.bleevent-dialog .bleevent-dialog-view .item-editor .nothing-selected{border-left:1px solid #cfcfcf}.bleevent-dialog .server-setup-view .item-editor .form-group label.control-label,.bleevent-dialog .bleevent-dialog-view .item-editor .form-group label.control-label{font-weight:bold;margin-bottom:0}.bleevent-dialog .server-setup-view .item-editor .container .row,.bleevent-dialog .bleevent-dialog-view .item-editor .container .row{margin-left:0;margin-right:0}.local-server .service-items-wrap{max-height:calc(100vh - 386px)}.remote-server .service-items-wrap{max-height:calc(100vh - 444px)}.device-details-view,.server-setup-view,.bleevent-dialog-view{background-color:#fff;margin:80px 0px 0px 20px}.device-details-view .service-items-wrap,.server-setup-view .service-items-wrap,.bleevent-dialog-view .service-items-wrap{overflow-y:auto;overflow-x:hidden;width:280px}.device-details-view .enumerating-items-wrap,.server-setup-view .enumerating-items-wrap,.bleevent-dialog-view .enumerating-items-wrap{display:flex}.device-details-view .enumerating-items-wrap .enumerating-content,.server-setup-view .enumerating-items-wrap .enumerating-content,.bleevent-dialog-view .enumerating-items-wrap .enumerating-content{width:100%;padding:4px 0px;border-bottom:1px solid #cfcfcf}.device-details-view .bar1,.device-details-view .bar2,.device-details-view .bar3,.server-setup-view .bar1,.server-setup-view .bar2,.server-setup-view .bar3,.bleevent-dialog-view .bar1,.bleevent-dialog-view .bar2,.bleevent-dialog-view .bar3{width:8px;border-bottom:1px solid #fff;margin-right:1px}.device-details-view .bar1,.server-setup-view .bar1,.bleevent-dialog-view .bar1{background-color:#b3e1f5}.device-details-view .bar2,.server-setup-view .bar2,.bleevent-dialog-view .bar2{background-color:#66c4eb}.device-details-view .bar3,.server-setup-view .bar3,.bleevent-dialog-view .bar3{background-color:#009cde}.device-details-view .service-item,.device-details-view .characteristic-item,.device-details-view .descriptor-item,.server-setup-view .service-item,.server-setup-view .characteristic-item,.server-setup-view .descriptor-item,.bleevent-dialog-view .service-item,.bleevent-dialog-view .characteristic-item,.bleevent-dialog-view .descriptor-item{padding:0;display:flex;align-items:stretch;min-height:40px}.device-details-view .service-item .expand-area,.device-details-view .characteristic-item .expand-area,.device-details-view .descriptor-item .expand-area,.server-setup-view .service-item .expand-area,.server-setup-view .characteristic-item .expand-area,.server-setup-view .descriptor-item .expand-area,.bleevent-dialog-view .service-item .expand-area,.bleevent-dialog-view .characteristic-item .expand-area,.bleevent-dialog-view .descriptor-item .expand-area{cursor:pointer;display:flex}.device-details-view .service-item .expand-area .icon-wrap,.device-details-view .characteristic-item .expand-area .icon-wrap,.device-details-view .descriptor-item .expand-area .icon-wrap,.server-setup-view .service-item .expand-area .icon-wrap,.server-setup-view .characteristic-item .expand-area .icon-wrap,.server-setup-view .descriptor-item .expand-area .icon-wrap,.bleevent-dialog-view .service-item .expand-area .icon-wrap,.bleevent-dialog-view .characteristic-item .expand-area .icon-wrap,.bleevent-dialog-view .descriptor-item .expand-area .icon-wrap{border-bottom:1px solid #cfcfcf}.device-details-view .service-item .expand-area .icon-wrap .icon-right-dir,.device-details-view .characteristic-item .expand-area .icon-wrap .icon-right-dir,.device-details-view .descriptor-item .expand-area .icon-wrap .icon-right-dir,.server-setup-view .service-item .expand-area .icon-wrap .icon-right-dir,.server-setup-view .characteristic-item .expand-area .icon-wrap .icon-right-dir,.server-setup-view .descriptor-item .expand-area .icon-wrap .icon-right-dir,.bleevent-dialog-view .service-item .expand-area .icon-wrap .icon-right-dir,.bleevent-dialog-view .characteristic-item .expand-area .icon-wrap .icon-right-dir,.bleevent-dialog-view .descriptor-item .expand-area .icon-wrap .icon-right-dir{margin-left:2px}.device-details-view .service-item .expand-area .icon-wrap .icon-down-dir,.device-details-view .characteristic-item .expand-area .icon-wrap .icon-down-dir,.device-details-view .descriptor-item .expand-area .icon-wrap .icon-down-dir,.server-setup-view .service-item .expand-area .icon-wrap .icon-down-dir,.server-setup-view .characteristic-item .expand-area .icon-wrap .icon-down-dir,.server-setup-view .descriptor-item .expand-area .icon-wrap .icon-down-dir,.bleevent-dialog-view .service-item .expand-area .icon-wrap .icon-down-dir,.bleevent-dialog-view .characteristic-item .expand-area .icon-wrap .icon-down-dir,.bleevent-dialog-view .descriptor-item .expand-area .icon-wrap .icon-down-dir{margin-left:0px}.device-details-view .icon-wrap,.server-setup-view .icon-wrap,.bleevent-dialog-view .icon-wrap{width:8px;flex:1;line-height:40px;color:#0080b7}.device-details-view .content-wrap,.server-setup-view .content-wrap,.bleevent-dialog-view .content-wrap{cursor:pointer;display:flex;border-bottom:1px solid #cfcfcf;flex:1}.device-details-view .content-wrap .content,.server-setup-view .content-wrap .content,.bleevent-dialog-view .content-wrap .content{align-self:center;padding:5px 0;margin-left:8px;width:100%}.device-details-view .content-wrap .content .editable,.server-setup-view .content-wrap .content .editable,.bleevent-dialog-view .content-wrap .content .editable{cursor:text;padding-top:5px}.device-details-view .content-wrap .content .editable:hover span,.server-setup-view .content-wrap .content .editable:hover span,.bleevent-dialog-view .content-wrap .content .editable:hover span{background:#eee}.device-details-view .content-wrap .content .editable>span,.server-setup-view .content-wrap .content .editable>span,.bleevent-dialog-view .content-wrap .content .editable>span{min-width:86%;max-width:86%;display:inline-block}.device-details-view .content-wrap .content .btn,.server-setup-view .content-wrap .content .btn,.bleevent-dialog-view .content-wrap .content .btn{padding:0 1px 0 1px;margin-right:5px;float:right;font-size:12px}.device-details-view .content-wrap .content .btn>img,.server-setup-view .content-wrap .content .btn>img,.bleevent-dialog-view .content-wrap .content .btn>img{width:32px;height:32px}.device-details-view .content-wrap .content textarea,.server-setup-view .content-wrap .content textarea,.bleevent-dialog-view .content-wrap .content textarea{min-width:86%;max-width:86%;font-size:10px;background-color:#eee}.device-details-view .characteristic-item .content-wrap,.device-details-view .descriptor-item .content-wrap,.server-setup-view .characteristic-item .content-wrap,.server-setup-view .descriptor-item .content-wrap,.bleevent-dialog-view .characteristic-item .content-wrap,.bleevent-dialog-view .descriptor-item .content-wrap{font-size:11px}.device-details-view .characteristic-item .error-label,.device-details-view .descriptor-item .error-label,.server-setup-view .characteristic-item .error-label,.server-setup-view .descriptor-item .error-label,.bleevent-dialog-view .characteristic-item .error-label,.bleevent-dialog-view .descriptor-item .error-label{margin:1px 3px 1px -3px;padding:2px 2px 2px 3px;border:1px solid #cfcfcf;background-color:#b3e1f5}.device-details-view .characteristic-item .hide,.device-details-view .descriptor-item .hide,.server-setup-view .characteristic-item .hide,.server-setup-view .descriptor-item .hide,.bleevent-dialog-view .characteristic-item .hide,.bleevent-dialog-view .descriptor-item .hide{display:none}.device-details-view .add-new,.server-setup-view .add-new,.bleevent-dialog-view .add-new{display:flex;font-size:11px;color:#0080b7}.device-details-view .add-new:hover,.device-details-view .add-new:hover .icon-wrap,.server-setup-view .add-new:hover,.server-setup-view .add-new:hover .icon-wrap,.bleevent-dialog-view .add-new:hover,.bleevent-dialog-view .add-new:hover .icon-wrap{color:#66c4eb}.device-details-view .add-new .icon-wrap,.server-setup-view .add-new .icon-wrap,.bleevent-dialog-view .add-new .icon-wrap{margin-right:5px;line-height:10px}.connection-info-button{z-index:1;font-size:14px}.connection-info-button.btn-xs{padding:0px;border-radius:15px}.connection-info-button .icon-encircled:hover{color:#e0e0e0}.connection-info-button .icon-encircled:active{color:#b3b3b3}.editable-field .tooltip{box-shadow:0px 3px 6px #e2e2e2;padding:5px 10px;opacity:1;margin:0;bottom:6px}.editable-field .tooltip .tooltip-arrow{border-top-color:#ebcccc;bottom:-6px}.editable-field .alert-wrap{position:relative}.editable-field .editable-field-editor-wrap{font-size:0}.editable-field .editable-field-editor-wrap>*{font-size:11px}.editable-field .subtle-text{padding-top:5px}.nordic-form-control{margin-top:4px;padding-bottom:0px;padding-top:0px;padding-right:0px;height:25px;border-radius:0}.nordic-form-group{margin-bottom:10px}.row-of-buttons{display:flex;justify-content:flex-end;margin-right:12px;margin-bottom:12px}.text-right{text-align:right !important;justify-content:flex-end !important}hr{margin-top:10px;margin-bottom:10px}.popover-content{padding:0px}.popover-content form{margin:5px 10px}.popover-content .form-group{margin-bottom:5px}.popover-content button{margin-left:10px;margin-right:10px;margin-bottom:10px}.popover-content label{text-align:left !important;font-weight:normal}.connection-request-modal{width:60%}.connection-request-modal .form-group{display:flex;justify-content:space-around;align-items:center}.connection-request-modal .form-group input[type=number]{width:60px;display:inline}.connection-request-modal .form-group>div>label{margin-right:8px}.popover{border-radius:3px 3px 0px 0px;padding:0px}.popover .spinner{margin-left:25px}.popover .popover-title{background-color:#e6e6e6;border-radius:3px 3px 0px 0px}.popover .connection-parameters{margin:4px 4px 4px 4px;display:inline-block}.popover .connection-parameter-label{margin-bottom:4px}.popover .connection-parameter-value{text-align:right;margin-bottom:4px}.connection-info-popover .popover-body{font-size:.875rem;padding:0px}.security-param-modal .btn-nordic{float:left;margin-left:10px}.security-param-modal .row{align-items:center}.security-param-modal .form-label{font-weight:bold}.security-param-modal .align-baseline{align-self:baseline}.security-param-modal .nothing-selected{border-left:none}.adv-param-modal .btn-nordic{float:left;margin-left:10px}.adv-param-modal .row{align-items:center}.adv-param-modal .form-label{font-weight:bold}.adv-param-modal .align-baseline{align-self:baseline}.adv-param-modal .nothing-selected{border-left:none}.events-modal .modal-dialog{min-width:60%}.events-modal .modal-title{border-bottom:none}.events-modal .modal-footer{border-top:none}.events-modal .device-details-view,.events-modal .server-setup-view,.events-modal .bleevent-dialog-view{margin-left:4px;margin-right:4px;margin-bottom:0px;margin-top:0px;max-width:none}.events-modal .device-details-view .service-items-wrap,.events-modal .server-setup-view .service-items-wrap,.events-modal .bleevent-dialog-view .service-items-wrap{width:230px}.events-modal .device-details-view .service-items-wrap .content,.events-modal .server-setup-view .service-items-wrap .content,.events-modal .bleevent-dialog-view .service-items-wrap .content{display:flex;align-items:center;margin-left:0px}.events-modal .device-details-view .service-items-wrap .content [class^=icon-]:before,.events-modal .server-setup-view .service-items-wrap .content [class^=icon-]:before,.events-modal .bleevent-dialog-view .service-items-wrap .content [class^=icon-]:before{margin-right:0px;margin-left:0px}.events-modal .device-details-view .item-editor,.events-modal .server-setup-view .item-editor,.events-modal .bleevent-dialog-view .item-editor{border-left:1px solid #cfcfcf}.events-modal .device-details-view .item-editor .container,.events-modal .server-setup-view .item-editor .container,.events-modal .bleevent-dialog-view .item-editor .container{padding-left:0;padding-right:0}.events-modal .device-details-view .item-editor .container .row,.events-modal .server-setup-view .item-editor .container .row,.events-modal .bleevent-dialog-view .item-editor .container .row{align-items:center}.events-modal .device-details-view .item-editor .event-header,.events-modal .server-setup-view .item-editor .event-header,.events-modal .bleevent-dialog-view .item-editor .event-header{padding-top:9px;border-bottom:1px solid #cfcfcf;text-align:center;font-weight:bold}.events-modal .device-details-view .item-editor .form-horizontal,.events-modal .server-setup-view .item-editor .form-horizontal,.events-modal .bleevent-dialog-view .item-editor .form-horizontal{margin-top:20px;padding-bottom:2px;border-bottom:1px solid #cfcfcf}.events-modal .device-details-view .item-editor .form-horizontal .btn-nordic,.events-modal .server-setup-view .item-editor .form-horizontal .btn-nordic,.events-modal .bleevent-dialog-view .item-editor .form-horizontal .btn-nordic{float:right;margin-top:15px;margin-left:15px}.events-modal .device-details-view .item-editor .form-horizontal .form-group,.events-modal .server-setup-view .item-editor .form-horizontal .form-group,.events-modal .bleevent-dialog-view .item-editor .form-horizontal .form-group{margin-right:15px}.events-modal .device-details-view .item-editor .form-label,.events-modal .server-setup-view .item-editor .form-label,.events-modal .bleevent-dialog-view .item-editor .form-label{font-weight:bold}.events-modal .device-details-view .item-editor .align-baseline,.events-modal .server-setup-view .item-editor .align-baseline,.events-modal .bleevent-dialog-view .item-editor .align-baseline{align-self:baseline}.events-modal .device-details-view .item-editor .nothing-selected,.events-modal .server-setup-view .item-editor .nothing-selected,.events-modal .bleevent-dialog-view .item-editor .nothing-selected{border-left:none}.success-item{background-color:#eee;color:#5cb85c;pointer-events:none}.failed-item{background-color:#eee;color:#d9534f;pointer-events:none}.left-space{margin-left:5px}.countdown-timer{font-size:1.6em;margin-left:30px}.adv-setup .adv-col{display:flex;flex-flow:column;align-items:stretch}.adv-setup .adv-row{display:flex;flex-flow:row;justify-content:center}.adv-setup .adv-pkt,.adv-setup .scan-rsp-pkt{flex:1;margin:10px}.adv-setup .type-label{font-weight:bold;margin-bottom:5px}.adv-setup .adv-drop-container,.adv-setup .adv-value-container{display:inline-block;vertical-align:top;margin:10px}.adv-setup .adv-value-container{width:340px}.adv-setup .form-group{width:100%}.adv-setup table{width:100%}.adv-setup .btn-add{margin-bottom:20px;align-self:center}.adv-setup .adv-header{margin-bottom:10px;font-weight:bold}.adv-setup .adv-table-container{padding:10px;border:1px solid #d3d3d3}.adv-setup .form-group{display:inline-block}.adv-setup .adv-dropdown{min-width:220px;text-align:left}.adv-setup .adv-dropdown .dropdown-menu{background-color:#fff}.adv-setup .adv-dropdown .dropdown-menu li>a:focus{outline:1px solid #000}.adv-setup .adv-dropdown .dropdown-menu li>a{background-color:#fff;color:#333}.adv-setup .adv-dropdown .dropdown-menu li>a:hover{background-color:#e6e6e6}.adv-setup .adv-uuid-lookup{margin-left:4px}.adv-setup .error-label{margin:5px;padding:5px}.adv-setup .modal-dialog{max-width:900px}.dfu-dialog .progress{width:100%;height:18px;margin-top:2px}.dfu-dialog .form-label{font-weight:bold}.dfu-dialog .input-group{align-self:center}.dfu-dialog .input-group pre{display:block;padding:9px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.dfu-dialog .row-of-buttons{margin-right:0}.scroll-menu{overflow-x:auto;max-height:300px;top:34px;width:300px}.uuid-lookup{display:inline-block;vertical-align:bottom;margin-bottom:22px}.uuid-lookup .dropdown-toggle{margin-left:0px;min-width:0px;padding:2px 2px 3px 2px;border-top-left-radius:0;border-bottom-left-radius:0;border-left:0}.uuid-lookup .dropdown-toggle span[class^=icon-]{font-size:18px;padding:3px}.uuid-dropdown{min-width:220px;text-align:left;min-width:0px}.uuid-dropdown .dropdown-menu{background-color:#fff}.uuid-dropdown .dropdown-menu li>a:focus{outline:1px solid #000}.uuid-dropdown .dropdown-menu li>a{background-color:#fff;color:#333}.uuid-dropdown .dropdown-menu li>a:hover{background-color:#e6e6e6}.top-spacer{margin-top:10px}.serialSerialnumber{font-size:12px}.brand-background{background-color:#b3e1f5}.neutral-background{background-color:#fff}.pull-right{float:right}#main-menu .mdi:last-child,.core-log-header-buttons .mdi:last-child{margin-left:0}#main-menu .mdi:first-child,.core-log-header-buttons .mdi:first-child{margin-right:0}.advertising-setup-footer{justify-content:space-between}.advertising-setup-footer div>button:not(:first-of-type){margin-left:8px}',"",{version:3,sources:["webpack://./resources/css/styles.scss","webpack://./resources/css/brand.scss","webpack://./resources/css/variables.scss"],names:[],mappings:"AAQA,mBACI,GACI,sBAAA,CAEJ,KACI,wBAAA,CAAA,CAGR,SACI,iBAAA,CACA,6EAAA,CAKA,iBAAA,CACA,oBAAA,CACA,sCAAA,CACA,uBAAA,CAEJ,gBACI,SAAA,CACA,UAAA,CACA,kBCZS,CDaT,wBAAA,CACA,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CAEJ,eACI,kBAAA,CACA,SAAA,CACA,UAAA,CACA,iBAAA,CACA,UAAA,CACA,WAAA,CACA,iBAAA,CACA,KAAA,CACA,MAAA,CACA,QAAA,CACA,OAAA,CAGJ,wBACI,eAAA,CAGJ,iCAEI,SAAA,CAGJ,YACI,mBAAA,CAGJ,UACI,UAAA,CAGJ,kCACI,UAAA,CAEJ,kBACI,QAAA,CACA,UAAA,CAGJ,yBACI,aAAA,CACA,UAAA,CACA,cAAA,CAGJ,SACI,cAAA,CAGJ,gBACI,iBAAA,CACA,qBAAA,CACA,UAAA,CACA,UAAA,CACA,WAAA,CACA,aAAA,CACA,gBAAA,CACA,eAAA,CAGJ,iBACI,eAAA,CACA,iBAAA,CAGJ,iBACI,UAAA,CAGJ,uBACI,uBAAA,CAGJ,wBACI,wBAAA,CAIA,sBACI,gBAAA,CAEJ,qBACI,eAAA,CAIR,YACI,qBAAA,CACA,0BAAA,CAEJ,SACI,aAAA,CAGJ,kBACI,YAAA,CACA,UAAA,CACA,iBAAA,CACA,aAAA,CAGJ,WACI,8BAAA,CACA,iBAAA,CACA,eAAA,CAGJ,WACI,oBAAA,CACA,iBAAA,CACA,eAAA,CAIJ,WACI,oBAAA,CACA,iBAAA,CACA,eAAA,CAGJ,WACI,oBAAA,CACA,iBAAA,CACA,eAAA,CAIJ,WACI,oBAAA,CACA,iBAAA,CACA,eAAA,CAGJ,WACI,oBAAA,CACA,iBAAA,CACA,eAAA,CAGJ,WACI,iBAAA,CAQJ,oBACI,gBAAA,CAGJ,8BACI,UAAA,CAGJ,iBACI,cAAA,CACA,gBAAA,CACA,oBAAA,CACA,wBAAA,CACA,qBAAA,CACA,oBAAA,CACA,gBAAA,CAIJ,2BACI,gCAAA,CACA,6BAAA,CACA,4BAAA,CACA,wBAAA,CAIJ,WACI,YAAA,CACA,gBAAA,CACA,QAAA,CACA,SAAA,CACA,+BAAA,CAIJ,0FAII,UAAA,CAGJ,uBACI,YAAA,CACA,gBAAA,CACA,gBAAA,CAGJ,yBACI,YAAA,CACA,aAAA,CACA,6BAAA,CAGJ,wBACI,YAAA,CACA,gBAAA,CASJ,mDACI,WAAA,CACA,eAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,cAAA,CACA,yBAAA,CAGJ,mBACI,wBE5Pe,CF6Pf,UAAA,CACA,eAAA,CAGJ,SACI,wBCtQoB,CDwQpB,0BACI,WAAA,CACA,WAAA,CAGJ,wBACI,WAAA,CACA,WAAA,CACA,UAAA,CACA,gBAAA,CACA,eAAA,CACA,UAAA,CAGJ,sBACI,oBAAA,CACA,wBAAA,CACA,WAAA,CACA,yBACI,6BAAA,CAKZ,mCACI,MAAA,CACA,YAAA,CACA,aAAA,CAGJ,kBACI,YAAA,CACA,aAAA,CACA,mCACI,MAAA,CACA,YAAA,CACA,gBAAA,CACA,oDAEI,MAAA,CACA,yBAAA,CACA,qCAAA,CAEJ,oDAEI,yBAAA,CACA,eAAA,CAIR,mCAEI,sCAAA,CACA,qBAAA,CACA,WAAA,CACA,yBAAA,CACA,0BAAA,CACA,eAAA,CAIR,WACI,oBAAA,CACA,WAAA,CACA,UAAA,CACA,iBAAA,CACA,wBAAA,CACA,cACI,wBCxUgB,CD0UpB,eACI,wBAAA,CAEJ,iBACI,wBC5UgB,CDiVpB,4CACI,oBCzVgB,CD0VhB,UEjUiB,CFmUrB,qCACI,gBAAA,CAGJ,sDACI,cAAA,CACA,2DACI,cAAA,CAIR,wCACI,+BAAA,CACA,kBAAA,CACA,0CACI,cAAA,CAKJ,qDACI,cAAA,CACA,kBAAA,CACA,iBAAA,CAEJ,6DACI,WAAA,CACA,WAAA,CACA,cAAA,CACA,iBAAA,CAEJ,2DACI,iBAAA,CAEJ,2DACI,aAAA,CACA,kBAAA,CAEJ,iEACI,cAAA,CACA,eAAA,CACA,kBAAA,CAEJ,qDACI,cAAA,CAGR,uCACI,iBAAA,CACA,eAAA,CAIR,YACI,iBAAA,CAGJ,qCACI,kCE/YoB,CFkZxB,iFAGI,+BAAA,CAEA,kHACI,YAAA,CAIR,QACI,+BAAA,CACA,aAAA,CACA,iBAAA,CAEA,oBACI,WAAA,CAGA,yBACI,cAAA,CAGJ,qDACI,WAAA,CAGR,mBACI,eAAA,CAGJ,mBACI,kBAAA,CACA,SAAA,CACA,WAAA,CAEA,4BACI,wBAAA,CACA,eAAA,CAEJ,uBACI,gBAAA,CAEJ,0BACI,cAAA,CAEJ,gCACI,0BAAA,CAEA,4CACI,UAAA,CACA,gBAAA,CAGJ,iDACI,UAAA,CACA,WAAA,CAEJ,2CACI,UAAA,CACA,WAAA,CACA,eAAA,CACA,gBAAA,CAGJ,oDAEI,iBAAA,CACA,WAAA,CACA,cAAA,CAGJ,0CACI,aAAA,CACA,oBAAA,CACA,yDAII,qBAAA,CAHA,oEACI,sBAAA,CAGJ,8DACI,qBAAA,CACA,UAAA,CAEJ,oEACI,wBAAA,CAGR,2DACI,WAAA,CACA,SAAA,CAIR,iDACI,eAAA,CACA,aAAA,CACA,WAAA,CACA,WAAA,CACA,+DACI,cAAA,CAIZ,8BACI,WAAA,CAIJ,wBACI,UAAA,CACA,iBAAA,CACA,eAAA,CACA,gBAAA,CAEJ,iCACI,gBAAA,CAKZ,sCACI,WAAA,CACA,UAAA,CAGI,8DACI,iBAAA,CACA,QAAA,CACA,OAAA,CAKZ,uBACI,gBAAA,CAIA,2CACI,YAAA,CAKJ,qCACI,gBAAA,CACA,eAAA,CACA,eAAA,CACA,UAAA,CACA,qBAAA,CAGJ,2CACI,qBAAA,CAGJ,2CACI,YAAA,CAGJ,2CACI,qBAAA,CAIR,YACI,cAAA,CAQA,8BACI,gBAFwB,CAK5B,wBACI,gBAAA,CASJ,iCACI,iBAF2B,CAK/B,2BACI,iBAAA,CASR,OACI,gCAAA,CAGJ,0BACI,YAAA,CACA,iBAAA,CAEA,+CACI,kCEtmBgB,CFymBpB,8BACI,YAAA,CACA,sBAAA,CACA,kBAAA,CAOR,aAFI,UAAA,CAMJ,cACI,aExmBqB,CF2mBzB,eACI,kBAAA,CACA,eAAA,CACA,sBAAA,CAGJ,MACI,kCEloBoB,CFmoBpB,qBAAA,CAOJ,wBAEI,iBAAA,CACA,cAAA,CACA,eAAA,CACA,cAAA,CACA,iBAAA,CACA,oBAAA,CACA,UAAA,CAGJ,aACI,eEpoBqB,CFqoBrB,UAAA,CAGJ,WACI,wBChqBoB,CDiqBpB,gBAAA,CAGJ,cA9CI,UAAA,CApDA,cAAA,CAuGJ,WACI,oBAAA,CAxGA,cAAA,CA0GA,gBAAA,CAGJ,WACI,oBAAA,CACA,gBAAA,CA/GA,cAAA,CAmHJ,aACI,oBAAA,CApHA,cAAA,CAsHA,UAAA,CAGJ,UAEI,wBAAA,CACA,sBAAA,CACA,uBAAA,CAzHA,4BACI,gBAqEqB,CAlEzB,sBACI,gBAAA,CAuHR,aACI,UEhrBqB,CFkrBrB,oCACI,eAAA,CACA,gBAAA,CACA,SAAA,CAIR,iBACI,iBAAA,CACA,cAAA,CACA,eAAA,CACA,UAAA,CACA,qBAAA,CAGJ,aACI,cAAA,CACA,gBAAA,CAIA,wDACI,WAAA,CACA,cAAA,CAIR,UACI,wBE9tBe,CF+tBf,wBACI,iBAAA,CACA,0BAAA,CACA,qBAAA,CACA,4BACI,iBAAA,CACA,aAAA,CACA,cAAA,CAIR,qBACI,WAAA,CACA,kBAAA,CACA,qBAAA,CACA,iBAAA,CACA,cAAA,CACA,yDAEI,kBAAA,CACA,cAAA,CACA,4BAAA,CACA,6BAAA,CACA,WAAA,CACA,gBAAA,CAEJ,2BACI,WAAA,CAIR,qFAII,qBAAA,CAEJ,0CAEI,aEpQyB,CFqQzB,wBEpQyB,CFsQ7B,uBACI,aEhRyB,CFiRzB,wBEhRyB,CFkR7B,sBACI,YAAA,CACA,kBAAA,CACA,kBAAA,CAEJ,2BACI,WAAA,CACA,gBAAA,CACA,gBAAA,CACA,iBAAA,CACA,cAAA,CACA,QAAA,CACA,MAAA,CAEJ,8BACI,sBAAA,CACA,uBAAA,CAIR,cACI,cAAA,CACA,gBAAA,CACA,UAAA,CAGJ,cACI,YAAA,CACA,WAAA,CAGJ,0BACI,WAAA,CACA,wCACI,UAAA,CAKJ,qEAEI,YAAA,CACA,UAAA,CACA,eAAA,CACA,WAAA,CACA,kCExzBgB,CFyzBhB,2GACI,iBAAA,CACA,WAAA,CACA,mJACI,8BAAA,CACA,yKACI,YAAA,CAEJ,mLACI,YAAA,CAEJ,2KACI,YAAA,CAGR,uJACI,iBAAA,CACA,UAAA,CACA,UAAA,CACA,YAAA,CACA,4BAAA,CAEA,iKACI,WAAA,CACA,eAAA,CAGR,2HACI,+BAAA,CAGR,yIACI,6BAAA,CAEJ,+FACI,MAAA,CACA,eAAA,CACA,eAAA,CACA,iBAAA,CACA,WAAA,CACA,4OAEI,WAAA,CACA,YAAA,CAEJ,mIACI,6BAAA,CAEJ,yHACI,iBAAA,CACA,gBAAA,CAEJ,2JACI,iBAAA,CACA,kBAAA,CACA,kBAAA,CAEJ,yHACI,UAAA,CAEJ,qHACI,cAAA,CACA,qBAAA,CACA,gBAAA,CAEJ,iJACI,eAAA,CAOZ,2EAEI,YAAA,CACA,UAAA,CACA,eAAA,CACA,kCEv4BgB,CFw4BhB,iHACI,iBAAA,CACA,8BAAA,CACA,yJACI,8BAAA,CACA,+KACI,YAAA,CAEJ,yLACI,YAAA,CAEJ,iLACI,YAAA,CAGR,6JACI,iBAAA,CACA,UAAA,CACA,UAAA,CACA,YAAA,CACA,4BAAA,CAEA,uKACI,WAAA,CACA,eAAA,CAGR,iIACI,+BAAA,CAGR,+IACI,6BAAA,CAEJ,qGACI,MAAA,CACA,eAAA,CACA,aAAA,CACA,mBAAA,CAEA,yIACI,6BAAA,CAGJ,qKACI,gBAAA,CACA,eAAA,CAEJ,qIACI,aAAA,CACA,cAAA,CAMhB,kCACI,8BAAA,CAEJ,mCACI,8BAAA,CAGJ,8DAGI,qBAAA,CACA,wBAAA,CACA,0HACI,eAAA,CACA,iBAAA,CACA,WAAA,CAEJ,sIACI,YAAA,CACA,qMACI,UAAA,CACA,eAAA,CACA,+BAAA,CAGR,gPAGI,SAAA,CACA,4BAAA,CACA,gBAAA,CAEJ,gFACI,wBC/9BK,CDi+BT,gFACI,wBCj+BK,CDm+BT,gFACI,wBCn+BK,CDq+BT,sVAGI,SAAA,CACA,YAAA,CACA,mBAAA,CACA,eAAA,CACA,2cACI,cAAA,CACA,YAAA,CACA,8iBACI,+BAAA,CACA,8rBACI,eAAA,CAEJ,qrBACI,eAAA,CAKhB,+FACI,SAAA,CACA,MAAA,CACA,gBAAA,CACA,aC5/BK,CD8/BT,wGACI,cAAA,CACA,YAAA,CACA,+BAAA,CACA,MAAA,CAEA,mIACI,iBAAA,CACA,aAAA,CACA,eAAA,CACA,UAAA,CACA,iKACI,WAAA,CACA,eAAA,CACA,kMACI,eEjgCK,CFmgCT,gLACI,aAAA,CACA,aAAA,CACA,oBAAA,CAGR,kJACI,mBAAA,CACA,gBAAA,CACA,WAAA,CACA,cAAA,CACA,8JACI,UAAA,CACA,WAAA,CAGR,8JAEI,aAAA,CACA,aAAA,CACA,cAAA,CACA,qBExhCS,CF8hCjB,kUACI,cAAA,CAEJ,4TACI,uBAAA,CACA,uBAAA,CACA,wBAAA,CACA,wBCrjCC,CDujCL,kRACI,YAAA,CAIR,yFACI,YAAA,CACA,cAAA,CACA,aC3jCK,CD4jCL,uPAEI,aCjkCC,CDmkCL,0HACI,gBAAA,CACA,gBAAA,CAKZ,wBACI,SAAA,CACA,cAAA,CACA,+BACI,WAAA,CACA,kBAAA,CAKJ,8CACI,aEvkCiB,CFykCrB,+CACI,aE3kCiB,CF+kCrB,yBACI,8BAAA,CAEA,gBAAA,CACA,SAAA,CACA,QAAA,CACA,UAJa,CAKb,wCACI,wBErmBqB,CFsmBrB,WAAA,CAGR,4BACI,iBAAA,CAEJ,4CACI,WAAA,CACA,8CACI,cAAA,CAGR,6BACI,eAAA,CAIR,qBACI,cAAA,CACA,kBAAA,CACA,eAAA,CACA,iBAAA,CACA,WAAA,CACA,eAAA,CAGJ,mBACI,kBAAA,CAGJ,gBACI,YAAA,CACA,wBAAA,CACA,iBAAA,CACA,kBAAA,CAGJ,YACI,2BAAA,CACA,mCAAA,CAGJ,GACI,eAAA,CACA,kBAAA,CAEJ,iBACI,WAAA,CACA,sBACI,eAAA,CAEJ,6BACI,iBAAA,CAEJ,wBACI,gBAAA,CACA,iBAAA,CACA,kBAAA,CAEJ,uBACI,0BAAA,CACA,kBAAA,CAIR,0BACI,SAAA,CACA,sCACI,YAAA,CACA,4BAAA,CACA,kBAAA,CACA,yDACI,UAAA,CACA,cAAA,CAEJ,gDACI,gBAAA,CAKZ,SACI,6BAAA,CACA,WAAA,CACA,kBACI,gBAAA,CAEJ,wBACI,wBEnsCe,CFosCf,6BAAA,CAEJ,gCACI,sBAAA,CACA,oBAAA,CAEJ,qCACI,iBAAA,CAEJ,qCACI,gBAAA,CACA,iBAAA,CAKJ,uCACI,iBAAA,CACA,WAAA,CAKJ,kCACI,UAAA,CACA,gBAAA,CAEJ,2BACI,kBAAA,CAEJ,kCACI,gBAAA,CAEJ,sCACI,mBAAA,CAEJ,wCACI,gBAAA,CAIJ,6BACI,UAAA,CACA,gBAAA,CAEJ,sBACI,kBAAA,CAEJ,6BACI,gBAAA,CAEJ,iCACI,mBAAA,CAEJ,mCACI,gBAAA,CAKJ,4BACI,aAAA,CAEJ,2BACI,kBAAA,CAEJ,4BACI,eAAA,CAEJ,wGAGI,eAAA,CACA,gBAAA,CACA,iBAAA,CACA,cAAA,CACA,cAAA,CACA,oKACI,WAAA,CACA,+LACI,YAAA,CACA,kBAAA,CACA,eAAA,CACA,iQACI,gBAAA,CACA,eAAA,CAIZ,+IAQI,6BAAA,CAPA,gLACI,cAAA,CACA,eAAA,CACA,+LACI,kBAAA,CAIR,yLACI,eAAA,CACA,+BAAA,CACA,iBAAA,CACA,gBAAA,CAEJ,kMACI,eAAA,CACA,kBAAA,CACA,+BAAA,CACA,sOACI,WAAA,CACA,eAAA,CACA,gBAAA,CAEJ,sOACI,iBAAA,CAGR,mLACI,gBAAA,CAEJ,+LACI,mBAAA,CAEJ,qMACI,gBAAA,CAMhB,cACI,qBElzCqB,CFmzCrB,aCv0CoB,CDw0CpB,mBAAA,CAGJ,aACI,qBExzCqB,CFyzCrB,aC30CoB,CD40CpB,mBAAA,CAEJ,YACI,eAAA,CAGJ,iBACI,eAAA,CACA,gBAAA,CAsBA,oBACI,YAAA,CACA,gBAAA,CACA,mBAAA,CAEJ,oBACI,YAAA,CACA,aAAA,CACA,sBAAA,CAEJ,6CAEI,MAAA,CACA,WAAA,CAEJ,uBACI,gBAAA,CACA,iBAAA,CAEJ,+DAEI,oBAAA,CACA,kBAAA,CACA,WAAA,CAEJ,gCACI,WAAA,CAEJ,uBACI,UAAA,CAEJ,iBACI,UAAA,CAEJ,oBACI,kBAAA,CACA,iBAAA,CAEJ,uBACI,kBAAA,CACA,gBAAA,CAEJ,gCACI,YAAA,CACA,wBAAA,CAEJ,uBACI,oBAAA,CAEJ,yBAnEA,eAAA,CACA,eAAA,CACA,wCAII,qBAAA,CAHA,mDACI,sBAAA,CAGJ,6CACI,qBAAA,CACA,UAAA,CAEJ,mDACI,wBAAA,CA0DR,4BACI,eAAA,CAEJ,wBACI,UAAA,CACA,WAAA,CAEJ,yBACI,eAAA,CAKJ,sBACI,UAAA,CACA,WAAA,CACA,cAAA,CAEJ,wBACI,gBAAA,CAEJ,yBACI,iBAAA,CACA,6BACI,aAAA,CACA,WAAA,CACA,eAAA,CACA,cAAA,CACA,sBAAA,CACA,UAAA,CACA,oBAAA,CACA,oBAAA,CACA,wBAAA,CACA,qBAAA,CACA,iBAAA,CAGR,4BACI,cAAA,CAIR,aACI,eAAA,CACA,gBAAA,CACA,QAAA,CACA,WAAA,CAGJ,aACI,oBAAA,CACA,qBAAA,CACA,kBAAA,CACA,8BACI,eAAA,CACA,aAAA,CACA,uBAAA,CACA,wBAAA,CACA,2BAAA,CACA,aAAA,CACA,iDACI,cAAA,CACA,WAAA,CAKZ,eAzII,eAAA,CACA,eAAA,CA0IA,aAAA,CAzIA,8BAII,qBAAA,CAHA,yCACI,sBAAA,CAGJ,mCACI,qBAAA,CACA,UAAA,CAEJ,yCACI,wBAAA,CAkIZ,YACI,eAAA,CAGJ,oBACI,cEn7CsB,CFs7C1B,kBACI,wBC7+CS,CDg/Cb,oBACI,qBAAA,CAGJ,YACI,WAAA,CAKA,oEACI,aAAA,CAEJ,sEACI,cAAA,CAIR,0BACI,6BAAA,CAEA,yDACI,eAAA",sourcesContent:["/*\r\n * Copyright (c) 2015 Nordic Semiconductor ASA\r\n *\r\n * SPDX-License-Identifier: LicenseRef-Nordic-4-Clause\r\n */\r\n\r\n@import './variables.scss';\r\n\r\n@keyframes rotator {\r\n 0% {\r\n transform: rotate(0deg);\r\n }\r\n 100% {\r\n transform: rotate(360deg);\r\n }\r\n}\r\n.spinner {\r\n border-radius: 50%;\r\n background: linear-gradient(\r\n to right,\r\n $icon-color 10%,\r\n rgba(255, 255, 255, 0) 42%\r\n );\r\n position: relative;\r\n display: inline-block;\r\n animation: rotator 1.4s infinite linear;\r\n transform: translateZ(0);\r\n}\r\n.spinner:before {\r\n width: 50%;\r\n height: 50%;\r\n background: $icon-color;\r\n border-radius: 100% 0 0 0;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n content: '';\r\n}\r\n.spinner:after {\r\n background: #eceff1;\r\n width: 75%;\r\n height: 75%;\r\n border-radius: 50%;\r\n content: '';\r\n margin: auto;\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n bottom: 0;\r\n right: 0;\r\n}\r\n\r\n.spinner.on-white:after {\r\n background: #fff;\r\n}\r\n\r\n.core-main-view,\r\n.core-side-panel {\r\n padding: 0;\r\n}\r\n\r\n.selectable {\r\n user-select: initial;\r\n}\r\n\r\n.nomargin {\r\n margin: 0px;\r\n}\r\n\r\n.glyphicon .form-control-feedback {\r\n right: 45px;\r\n}\r\n.icon-slim:before {\r\n margin: 0;\r\n width: auto;\r\n}\r\n\r\n.icon-slim.expand:before {\r\n margin: 0 -5px;\r\n width: auto;\r\n font-size: 21px;\r\n}\r\n\r\n.icon-2x {\r\n font-size: 200%;\r\n}\r\n\r\n.icon-encircled {\r\n border-radius: 50%;\r\n background-color: #333333;\r\n color: white;\r\n width: 24px;\r\n height: 24px;\r\n display: block;\r\n padding-left: 1px;\r\n padding-top: 2px;\r\n}\r\n\r\n.icon-foreground {\r\n overflow: hidden;\r\n position: absolute;\r\n}\r\n\r\n.icon-background {\r\n color: #dddddd;\r\n}\r\n\r\n.icon-rotate-90:before {\r\n transform: rotate(90deg);\r\n}\r\n\r\n.icon-rotate-270:before {\r\n transform: rotate(270deg);\r\n}\r\n\r\n.btn {\r\n .mdi:first-child {\r\n margin-right: 4px;\r\n }\r\n .mdi:last-child {\r\n margin-left: 4px;\r\n }\r\n}\r\n\r\n.border-box {\r\n box-sizing: border-box;\r\n -moz-box-sizing: border-box;\r\n}\r\n.slidein {\r\n display: block;\r\n}\r\n\r\n#diagramContainer {\r\n padding: 20px;\r\n width: 100%;\r\n position: relative;\r\n overflow: auto;\r\n}\r\n\r\n@font-face {\r\n font-family: 'Roboto Condensed';\r\n font-style: normal;\r\n font-weight: 300;\r\n}\r\n\r\n@font-face {\r\n font-family: 'Roboto';\r\n font-style: italic;\r\n font-weight: 300;\r\n}\r\n\r\n/* Normal */\r\n@font-face {\r\n font-family: 'Roboto';\r\n font-style: normal;\r\n font-weight: 400;\r\n}\r\n\r\n@font-face {\r\n font-family: 'Roboto';\r\n font-style: italic;\r\n font-weight: 400;\r\n}\r\n\r\n/* Bold */\r\n@font-face {\r\n font-family: 'Roboto';\r\n font-style: normal;\r\n font-weight: 700;\r\n}\r\n\r\n@font-face {\r\n font-family: 'Roboto';\r\n font-style: italic;\r\n font-weight: 700;\r\n}\r\n\r\n.tree-view {\r\n overflow-y: hidden;\r\n}\r\n\r\n.tree-view_item {\r\n /* immediate child of .tree-view, for styling convenience */\r\n}\r\n\r\n/* style for the children nodes container */\r\n.tree-view_children {\r\n margin-left: 16px;\r\n}\r\n\r\n.tree-view_children-collapsed {\r\n height: 0px;\r\n}\r\n\r\n.tree-view_arrow {\r\n cursor: pointer;\r\n margin-right: 6px;\r\n display: inline-block;\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n -ms-user-select: none;\r\n user-select: none;\r\n}\r\n\r\n/* rotate the triangle to close it */\r\n.tree-view_arrow-collapsed {\r\n -webkit-transform: rotate(-90deg);\r\n -moz-transform: rotate(-90deg);\r\n -ms-transform: rotate(-90deg);\r\n transform: rotate(-90deg);\r\n}\r\n\r\n/* Component that renders log entries */\r\n#log-entry {\r\n display: flex;\r\n flex-flow: column;\r\n margin: 0;\r\n padding: 0;\r\n font-family: 'Roboto', sans-serif;\r\n /*width: 300px;*/\r\n}\r\n\r\n#log-entry > device-info,\r\n#log-entry > status,\r\n#log-entry > device-status,\r\n#log-entry > service-info {\r\n margin: 0px;\r\n}\r\n\r\n#log-entry > device-info {\r\n display: flex;\r\n flex-flow: column;\r\n font-weight: bold;\r\n}\r\n\r\n#log-entry > device-status {\r\n display: flex;\r\n flex-flow: row;\r\n justify-content: space-between;\r\n}\r\n\r\n#log-entry > service-info {\r\n display: flex;\r\n flex-flow: column;\r\n}\r\n\r\n// TODO: fix here\r\n// #log-entry > service-info -> service-flags {\r\n// display:flex;\r\n// flex-flow: row;\r\n// }\r\n\r\n#log-entry > service-info > service-flags > service-flag {\r\n height: 20px;\r\n background: #aaaaaa;\r\n border-radius: 5px;\r\n text-align: center;\r\n overflow-y: auto;\r\n font-size: 14px;\r\n padding: 5px 10px 10px 5px;\r\n}\r\n\r\n#main-area-wrapper {\r\n background-color: $background-color;\r\n width: 100%;\r\n min-width: 930px;\r\n}\r\n\r\n.nav-bar {\r\n background-color: $brand-primary;\r\n\r\n .nrfconnect-logo {\r\n float: right;\r\n height: 55px;\r\n }\r\n\r\n .settings-menu {\r\n float: right;\r\n height: 55px;\r\n width: 40px;\r\n padding-top: 10px;\r\n font-size: large;\r\n color: white;\r\n }\r\n\r\n .nav-section {\r\n display: inline-block;\r\n padding: 10px 10px 0 10px;\r\n height: 55px;\r\n &.bl {\r\n border-left: 1px solid $brand-primary-dark;\r\n }\r\n }\r\n}\r\n\r\n.core-main-layout > div:nth-child(1) {\r\n flex: 1;\r\n display: flex;\r\n flex-flow: row;\r\n}\r\n\r\n.core-main-layout {\r\n display: flex;\r\n flex-flow: row;\r\n > div:nth-child(1) {\r\n flex: 1;\r\n display: flex;\r\n flex-flow: column;\r\n > div:nth-child(1) {\r\n //main\r\n flex: 1;\r\n border-top: 1px solid gray;\r\n box-shadow: inset -0px 0px 6px 0px gray;\r\n }\r\n > div:nth-child(2) {\r\n //log\r\n border-top: 1px solid gray;\r\n overflow: hidden;\r\n }\r\n }\r\n\r\n > div:nth-child(2) {\r\n //device details\r\n box-shadow: inset 0px 5px 6px -5px gray;\r\n background-color: white;\r\n width: 260px;\r\n border-top: 1px solid gray;\r\n border-left: 1px solid gray;\r\n overflow-y: auto;\r\n }\r\n}\r\n\r\n.indicator {\r\n display: inline-block;\r\n height: 11px;\r\n width: 11px;\r\n border-radius: 50%;\r\n border: 1px solid #645e5e;\r\n &.on {\r\n background-color: $brand-success;\r\n }\r\n &.off {\r\n background-color: #cfcfcf;\r\n }\r\n &.error {\r\n background-color: $brand-danger;\r\n }\r\n}\r\n\r\n#discoveredDevicesContainer {\r\n button:disabled {\r\n border-color: $brand-main;\r\n color: $gray-lighter;\r\n }\r\n .spinner {\r\n margin-left: 10px;\r\n }\r\n\r\n .discovery-options-expand {\r\n margin-top: 3px;\r\n span {\r\n font-size: 12px;\r\n }\r\n }\r\n\r\n > .padded-row {\r\n border-bottom: 1px solid $device-details-light-border-color;\r\n padding-bottom: 5px;\r\n i {\r\n font-size: 14px;\r\n }\r\n }\r\n\r\n .discovery-options {\r\n label {\r\n font-size: 12px;\r\n font-weight: normal;\r\n margin-right: 10px;\r\n }\r\n .form-control {\r\n width: 155px;\r\n height: 22px;\r\n font-size: 12px;\r\n padding-left: 10px;\r\n }\r\n .form-group {\r\n margin-bottom: 0px;\r\n }\r\n .form-check {\r\n display: unset;\r\n padding-left: unset;\r\n }\r\n .form-check-input {\r\n position: unset;\r\n margin-left: 3px;\r\n margin-right: 0.5rem;\r\n }\r\n input {\r\n margin-top: 2px;\r\n }\r\n }\r\n .rssi-bars {\r\n margin-bottom: 7px;\r\n margin-left: 4px;\r\n }\r\n}\r\n\r\n.btn-nordic {\r\n border-radius: 0px;\r\n}\r\n\r\n#diagramContainer .device.standalone {\r\n box-shadow: $draggable-box-shadow;\r\n}\r\n\r\n.device-details-view .device.standalone,\r\n.server-setup-view,\r\n.bleevent-dialog-view {\r\n border-bottom: 1px solid $device-details-light-border-color;\r\n\r\n .flag-line {\r\n display: none;\r\n }\r\n}\r\n\r\n.device {\r\n border-bottom: 1px solid lightgrey;\r\n padding: 4px 0;\r\n position: relative;\r\n\r\n .btn-nordic {\r\n float: right;\r\n }\r\n .device-body {\r\n > div {\r\n margin-top: 5px;\r\n }\r\n\r\n .discovered-device-address-line {\r\n height: 22px;\r\n }\r\n }\r\n .flag-line {\r\n overflow: hidden;\r\n }\r\n\r\n &.standalone {\r\n border-bottom: none;\r\n padding: 0;\r\n width: 280px;\r\n\r\n .top-bar {\r\n background-color: #e6e6e6;\r\n min-height: 20px;\r\n }\r\n > div {\r\n padding: 4px 10px;\r\n }\r\n strong {\r\n font-size: 14px;\r\n }\r\n .device-body {\r\n padding: 4px 10px 10px 10px;\r\n\r\n .btn-nordic {\r\n float: left;\r\n margin-left: 10px;\r\n }\r\n\r\n .icon-dfu-button {\r\n width: 20px;\r\n height: 20px;\r\n }\r\n #dfuButton {\r\n width: 32px;\r\n height: 22px;\r\n padding: 1px 5px;\r\n margin-left: 10px;\r\n }\r\n\r\n .mdi-signal-variant {\r\n // advertising icon\r\n margin-right: 13px;\r\n float: right;\r\n font-size: 18px;\r\n }\r\n\r\n .dropdown {\r\n min-width: 0px;\r\n display: inline-block;\r\n .dropdown-menu {\r\n li > a:focus {\r\n outline: 1px solid black;\r\n }\r\n background-color: #ffffff;\r\n li > a {\r\n background-color: #ffffff;\r\n color: #333333;\r\n }\r\n li > a:hover {\r\n background-color: #e6e6e6;\r\n }\r\n }\r\n > .dropdown-toggle {\r\n min-width: 0;\r\n padding: 0;\r\n }\r\n }\r\n\r\n .dropdown-toggle {\r\n margin-left: 5px;\r\n min-width: 0px;\r\n padding: 0px;\r\n border: none;\r\n .mdi-settings {\r\n font-size: 18px;\r\n }\r\n }\r\n }\r\n .connector {\r\n padding: 0px;\r\n }\r\n }\r\n &.main-device {\r\n img {\r\n float: left;\r\n margin-right: 20px;\r\n margin-top: 25px;\r\n margin-left: 20px;\r\n }\r\n .device-body {\r\n padding-top: 20px;\r\n }\r\n }\r\n}\r\n\r\n.dropdown:not(core-nav-bar .dropdown) {\r\n padding: 0px;\r\n border: 0px;\r\n\r\n > .dropdown-toggle {\r\n > .caret {\r\n position: absolute;\r\n left: 90%;\r\n top: 45%;\r\n }\r\n }\r\n}\r\n\r\n.dropdown-toggle:focus {\r\n outline: 5px auto;\r\n}\r\n\r\n#dropdownUuidLookup {\r\n .dropdown-toggle:after {\r\n content: none;\r\n }\r\n}\r\n\r\n#connectionDropDown {\r\n .dropdown-toggle {\r\n margin-right: 8px;\r\n font-size: 1.1em;\r\n box-shadow: none;\r\n color: black;\r\n background-color: white;\r\n }\r\n\r\n .dropdown-toggle:hover {\r\n background-color: gray;\r\n }\r\n\r\n .dropdown-toggle:after {\r\n content: none;\r\n }\r\n\r\n .dropdown-toggle:focus {\r\n background-color: gray;\r\n }\r\n}\r\n\r\n.text-small {\r\n font-size: 13px;\r\n}\r\n\r\n@mixin text-smaller {\r\n font-size: 11px;\r\n}\r\n\r\n@mixin padded-row-list($margin: 5px) {\r\n > :not(:last-child) {\r\n margin-right: $margin;\r\n }\r\n\r\n > :last-child {\r\n margin-right: 0px;\r\n }\r\n}\r\n\r\n.padded-row {\r\n @include padded-row-list();\r\n}\r\n\r\n@mixin padded-column-list($margin: 5px) {\r\n > :not(:last-child) {\r\n margin-bottom: $margin;\r\n }\r\n\r\n > :last-child {\r\n margin-bottom: 0px;\r\n }\r\n}\r\n\r\n.padded-column {\r\n @include padded-column-list;\r\n}\r\n\r\n//used when tabbing and space\r\n:focus {\r\n outline-color: $gray-medium-lighter !important;\r\n}\r\n\r\n.device-details-container {\r\n padding: 20px;\r\n overflow-y: hidden;\r\n\r\n .device-details-view {\r\n box-shadow: $draggable-box-shadow;\r\n }\r\n\r\n > div {\r\n display: flex;\r\n align-items: flex-start;\r\n flex-direction: row;\r\n }\r\n}\r\n\r\n@mixin subtle-text {\r\n color: grey;\r\n}\r\n.subtle-text {\r\n @include subtle-text;\r\n}\r\n\r\n.subtler-text {\r\n color: $gray-medium-lighter;\r\n}\r\n\r\n.truncate-text {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n}\r\n\r\n.item {\r\n box-shadow: $draggable-box-shadow;\r\n background-color: white;\r\n}\r\n\r\n@mixin flag-line {\r\n @include padded-row-list(2px);\r\n}\r\n\r\n.device-flag,\r\n.role-flag {\r\n border-radius: 3px;\r\n font-size: 10px;\r\n padding: 0px 3px;\r\n margin-top: 1px;\r\n margin-bottom: 1px;\r\n display: inline-block;\r\n color: white;\r\n}\r\n\r\n.device-flag {\r\n background: $gray-lighter;\r\n color: black;\r\n}\r\n\r\n.role-flag {\r\n background-color: $brand-info;\r\n padding: 3px 15px;\r\n}\r\n\r\n.address-text {\r\n @include subtle-text;\r\n @include text-smaller;\r\n}\r\n\r\n.adv-label {\r\n display: inline-block;\r\n @include text-smaller;\r\n font-weight: bold;\r\n}\r\n\r\n.adv-value {\r\n display: inline-block;\r\n margin-left: 17px;\r\n @include text-smaller;\r\n}\r\n\r\n.adv-timeout {\r\n display: inline-block;\r\n @include text-smaller;\r\n width: 50px;\r\n}\r\n\r\n.adv-line {\r\n @include flag-line;\r\n background-color: #f8f8f8;\r\n margin: 3px 0px 0px 3px;\r\n padding: 0px 3px 0px 3px;\r\n}\r\n\r\n.adv-details {\r\n color: $gray;\r\n\r\n i[class^='icon-']:before {\r\n margin-left: 0px;\r\n padding-left: 0px;\r\n width: 8px;\r\n }\r\n}\r\n\r\n.adv-data-delete {\r\n border-radius: 4px;\r\n font-size: 12px;\r\n line-height: 8px;\r\n color: black;\r\n background-color: white;\r\n}\r\n\r\n.device-name {\r\n font-size: 13px;\r\n font-weight: bold;\r\n}\r\n\r\n.discovered-device-body {\r\n .discovered-device-address-line {\r\n height: 22px;\r\n margin-top: 5px;\r\n }\r\n}\r\n\r\n.log-wrap {\r\n background-color: $background-color;\r\n .infinite-log {\r\n position: relative;\r\n overflow-x: auto !important;\r\n background-color: white;\r\n > div {\r\n position: absolute;\r\n display: table;\r\n min-width: 100%;\r\n }\r\n }\r\n\r\n .log-entry {\r\n height: 20px;\r\n white-space: nowrap;\r\n background-color: white;\r\n display: table-row;\r\n min-width: 100%;\r\n .time,\r\n .message {\r\n display: table-cell;\r\n padding: 0 20px;\r\n border-right: 1px dotted gray;\r\n border-bottom: 1px dotted gray;\r\n height: 20px;\r\n line-height: 20px;\r\n }\r\n .time {\r\n width: 132px;\r\n }\r\n }\r\n\r\n .log-trace,\r\n .log-debug,\r\n .log-info,\r\n .log-warning {\r\n background-color: white;\r\n }\r\n .log-error,\r\n .log-fatal {\r\n color: $state-danger-text;\r\n background-color: $state-danger-bg;\r\n }\r\n .log-unknown {\r\n color: $state-info-text;\r\n background-color: $state-info-bg;\r\n }\r\n .log-header {\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n .log-header-text {\r\n height: 30px;\r\n line-height: 30px;\r\n font-weight: bold;\r\n padding-left: 20px;\r\n font-size: 14px;\r\n margin: 0;\r\n flex: 1;\r\n }\r\n .log-header-buttons {\r\n align-content: flex-end;\r\n padding: 6px 6px 6px 0px;\r\n }\r\n}\r\n\r\n.service-name {\r\n font-size: 12px;\r\n line-height: 32px;\r\n float: left;\r\n}\r\n\r\n.server-setup {\r\n padding: 20px;\r\n height: 100%;\r\n}\r\n\r\n.device-details-container {\r\n height: 100%;\r\n .local-server {\r\n margin: 0px;\r\n }\r\n}\r\n\r\n.server-setup {\r\n .server-setup-view,\r\n .bleevent-dialog-view {\r\n display: flex;\r\n margin: 0px;\r\n max-width: 800px;\r\n height: 100%;\r\n box-shadow: $draggable-box-shadow;\r\n .server-setup-tree {\r\n position: relative;\r\n height: 100%;\r\n .service-items-wrap {\r\n max-height: calc(100vh - 441px);\r\n .flag-line {\r\n display: none;\r\n }\r\n .editable-field {\r\n display: none;\r\n }\r\n .btn-notify {\r\n display: none;\r\n }\r\n }\r\n .server-setup-buttons {\r\n position: absolute;\r\n bottom: 0px;\r\n width: 100%;\r\n padding: 10px;\r\n border-top: 1px solid $device-details-light-border-color;\r\n\r\n .btn {\r\n float: right;\r\n margin-left: 5px;\r\n }\r\n }\r\n .device {\r\n border-bottom: 1px solid $device-details-light-border-color;\r\n }\r\n }\r\n .selected-component-editor-border {\r\n border-left: 8px solid $bar1-color;\r\n }\r\n .item-editor {\r\n flex: 1;\r\n min-width: 350px;\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n height: 100%;\r\n > form,\r\n .nothing-selected {\r\n height: 100%;\r\n padding: 20px;\r\n }\r\n .nothing-selected {\r\n border-left: 1px solid $device-details-light-border-color;\r\n }\r\n .uuid-lookup {\r\n margin-bottom: 0px;\r\n padding-left: 1px;\r\n }\r\n .form-horizontal .form-inline {\r\n margin-left: -15px;\r\n margin-right: -15px;\r\n margin-bottom: 15px;\r\n }\r\n .form-inline {\r\n width: 100%;\r\n }\r\n .form-list {\r\n padding: 0 15px;\r\n flex-direction: column;\r\n align-items: left;\r\n }\r\n .btn-toolbar .btn-nordic {\r\n margin-left: 5px;\r\n }\r\n }\r\n }\r\n}\r\n\r\n.bleevent-dialog {\r\n .server-setup-view,\r\n .bleevent-dialog-view {\r\n display: flex;\r\n margin: 0px;\r\n max-width: 800px;\r\n box-shadow: $draggable-box-shadow;\r\n .server-setup-tree {\r\n position: relative;\r\n max-height: calc(100vh - 285px);\r\n .service-items-wrap {\r\n max-height: calc(100vh - 441px);\r\n .flag-line {\r\n display: none;\r\n }\r\n .editable-field {\r\n display: none;\r\n }\r\n .btn-notify {\r\n display: none;\r\n }\r\n }\r\n .server-setup-buttons {\r\n position: absolute;\r\n bottom: 0px;\r\n width: 100%;\r\n padding: 10px;\r\n border-top: 1px solid $device-details-light-border-color;\r\n\r\n .btn {\r\n float: right;\r\n margin-left: 5px;\r\n }\r\n }\r\n .device {\r\n border-bottom: 1px solid $device-details-light-border-color;\r\n }\r\n }\r\n .selected-component-editor-border {\r\n border-left: 8px solid $bar1-color;\r\n }\r\n .item-editor {\r\n flex: 1;\r\n min-width: 350px;\r\n overflow: auto;\r\n padding-bottom: 12px;\r\n\r\n .nothing-selected {\r\n border-left: 1px solid $device-details-light-border-color;\r\n }\r\n\r\n .form-group label.control-label {\r\n font-weight: bold;\r\n margin-bottom: 0;\r\n }\r\n .container .row {\r\n margin-left: 0;\r\n margin-right: 0;\r\n }\r\n }\r\n }\r\n}\r\n\r\n.local-server .service-items-wrap {\r\n max-height: calc(100vh - 386px);\r\n}\r\n.remote-server .service-items-wrap {\r\n max-height: calc(100vh - 444px);\r\n}\r\n\r\n.device-details-view,\r\n.server-setup-view,\r\n.bleevent-dialog-view {\r\n background-color: white;\r\n margin: 80px 0px 0px 20px;\r\n .service-items-wrap {\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n width: 280px;\r\n }\r\n .enumerating-items-wrap {\r\n display: flex;\r\n .enumerating-content {\r\n width: 100%;\r\n padding: 4px 0px;\r\n border-bottom: 1px solid $device-details-light-border-color;\r\n }\r\n }\r\n .bar1,\r\n .bar2,\r\n .bar3 {\r\n width: 8px;\r\n border-bottom: 1px solid white;\r\n margin-right: 1px;\r\n }\r\n .bar1 {\r\n background-color: $bar1-color;\r\n }\r\n .bar2 {\r\n background-color: $bar2-color;\r\n }\r\n .bar3 {\r\n background-color: $bar3-color;\r\n }\r\n .service-item,\r\n .characteristic-item,\r\n .descriptor-item {\r\n padding: 0;\r\n display: flex;\r\n align-items: stretch;\r\n min-height: 40px;\r\n .expand-area {\r\n cursor: pointer;\r\n display: flex;\r\n .icon-wrap {\r\n border-bottom: 1px solid $device-details-light-border-color;\r\n .icon-right-dir {\r\n margin-left: 2px;\r\n }\r\n .icon-down-dir {\r\n margin-left: 0px;\r\n }\r\n }\r\n }\r\n }\r\n .icon-wrap {\r\n width: 8px;\r\n flex: 1;\r\n line-height: 40px;\r\n color: $icon-color;\r\n }\r\n .content-wrap {\r\n cursor: pointer;\r\n display: flex;\r\n border-bottom: 1px solid $device-details-light-border-color;\r\n flex: 1;\r\n\r\n .content {\r\n align-self: center;\r\n padding: 5px 0;\r\n margin-left: 8px;\r\n width: 100%;\r\n .editable {\r\n cursor: text;\r\n padding-top: 5px;\r\n &:hover span {\r\n background: $gray-lighter;\r\n }\r\n > span {\r\n min-width: 86%; // TODO: Should we do more precise math?\r\n max-width: 86%; // Other elements will take more/less relative space with/out scrollbar\r\n display: inline-block;\r\n }\r\n }\r\n .btn {\r\n padding: 0 1px 0 1px;\r\n margin-right: 5px;\r\n float: right;\r\n font-size: 12px;\r\n > img {\r\n width: 32px;\r\n height: 32px;\r\n }\r\n }\r\n textarea {\r\n //border: 0;\r\n min-width: 86%;\r\n max-width: 86%;\r\n font-size: 10px;\r\n background-color: $gray-lighter;\r\n }\r\n }\r\n }\r\n .characteristic-item,\r\n .descriptor-item {\r\n .content-wrap {\r\n font-size: 11px;\r\n }\r\n .error-label {\r\n margin: 1px 3px 1px -3px;\r\n padding: 2px 2px 2px 3px;\r\n border: 1px solid $device-details-light-border-color;\r\n background-color: $bar1-color;\r\n }\r\n .hide {\r\n display: none;\r\n }\r\n }\r\n\r\n .add-new {\r\n display: flex;\r\n font-size: 11px;\r\n color: $icon-color;\r\n &:hover,\r\n &:hover .icon-wrap {\r\n color: $bar2-color;\r\n }\r\n .icon-wrap {\r\n margin-right: 5px;\r\n line-height: 10px;\r\n }\r\n }\r\n}\r\n\r\n.connection-info-button {\r\n z-index: 1;\r\n font-size: 14px;\r\n &.btn-xs {\r\n padding: 0px;\r\n border-radius: 15px;\r\n }\r\n &:hover {\r\n /*box-shadow: 0px 0px 6px rgba(200,200,200,1);*/\r\n }\r\n .icon-encircled:hover {\r\n color: $gray-medium1-lighter;\r\n }\r\n .icon-encircled:active {\r\n color: $gray-medium-lighter;\r\n }\r\n}\r\n.editable-field {\r\n .tooltip {\r\n box-shadow: 0px 3px 6px #e2e2e2;\r\n $arrow-size: 6px;\r\n padding: 5px 10px;\r\n opacity: 1;\r\n margin: 0;\r\n bottom: $arrow-size;\r\n .tooltip-arrow {\r\n border-top-color: $alert-danger-border;\r\n bottom: -1 * $arrow-size;\r\n }\r\n }\r\n .alert-wrap {\r\n position: relative;\r\n }\r\n .editable-field-editor-wrap {\r\n font-size: 0;\r\n > * {\r\n font-size: 11px;\r\n }\r\n }\r\n .subtle-text {\r\n padding-top: 5px;\r\n }\r\n}\r\n\r\n.nordic-form-control {\r\n margin-top: 4px;\r\n padding-bottom: 0px;\r\n padding-top: 0px;\r\n padding-right: 0px;\r\n height: 25px;\r\n border-radius: 0;\r\n}\r\n\r\n.nordic-form-group {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.row-of-buttons {\r\n display: flex;\r\n justify-content: flex-end;\r\n margin-right: 12px;\r\n margin-bottom: 12px;\r\n}\r\n\r\n.text-right {\r\n text-align: right !important;\r\n justify-content: flex-end !important;\r\n}\r\n\r\nhr {\r\n margin-top: 10px;\r\n margin-bottom: 10px;\r\n}\r\n.popover-content {\r\n padding: 0px;\r\n form {\r\n margin: 5px 10px;\r\n }\r\n .form-group {\r\n margin-bottom: 5px;\r\n }\r\n button {\r\n margin-left: 10px;\r\n margin-right: 10px;\r\n margin-bottom: 10px;\r\n }\r\n label {\r\n text-align: left !important;\r\n font-weight: normal;\r\n }\r\n}\r\n\r\n.connection-request-modal {\r\n width: 60%;\r\n .form-group {\r\n display: flex;\r\n justify-content: space-around;\r\n align-items: center;\r\n input[type='number'] {\r\n width: 60px;\r\n display: inline;\r\n }\r\n > div > label {\r\n margin-right: 8px;\r\n }\r\n }\r\n}\r\n\r\n.popover {\r\n border-radius: $border-radius-small $border-radius-small 0px 0px;\r\n padding: 0px;\r\n .spinner {\r\n margin-left: 25px;\r\n }\r\n .popover-title {\r\n background-color: $window-top-bar-color;\r\n border-radius: $border-radius-small $border-radius-small 0px 0px;\r\n }\r\n .connection-parameters {\r\n margin: 4px 4px 4px 4px;\r\n display: inline-block;\r\n }\r\n .connection-parameter-label {\r\n margin-bottom: 4px;\r\n }\r\n .connection-parameter-value {\r\n text-align: right;\r\n margin-bottom: 4px;\r\n }\r\n}\r\n\r\n.connection-info-popover {\r\n .popover-body {\r\n font-size: 0.875rem;\r\n padding: 0px;\r\n }\r\n}\r\n\r\n.security-param-modal {\r\n .btn-nordic {\r\n float: left;\r\n margin-left: 10px;\r\n }\r\n .row {\r\n align-items: center;\r\n }\r\n .form-label {\r\n font-weight: bold;\r\n }\r\n .align-baseline {\r\n align-self: baseline;\r\n }\r\n .nothing-selected {\r\n border-left: none;\r\n }\r\n}\r\n.adv-param-modal {\r\n .btn-nordic {\r\n float: left;\r\n margin-left: 10px;\r\n }\r\n .row {\r\n align-items: center;\r\n }\r\n .form-label {\r\n font-weight: bold;\r\n }\r\n .align-baseline {\r\n align-self: baseline;\r\n }\r\n .nothing-selected {\r\n border-left: none;\r\n }\r\n}\r\n\r\n.events-modal {\r\n .modal-dialog {\r\n min-width: 60%;\r\n }\r\n .modal-title {\r\n border-bottom: none;\r\n }\r\n .modal-footer {\r\n border-top: none;\r\n }\r\n .device-details-view,\r\n .server-setup-view,\r\n .bleevent-dialog-view {\r\n margin-left: 4px;\r\n margin-right: 4px;\r\n margin-bottom: 0px;\r\n margin-top: 0px;\r\n max-width: none;\r\n .service-items-wrap {\r\n width: 230px;\r\n .content {\r\n display: flex;\r\n align-items: center;\r\n margin-left: 0px;\r\n [class^='icon-']:before {\r\n margin-right: 0px;\r\n margin-left: 0px;\r\n }\r\n }\r\n }\r\n .item-editor {\r\n .container {\r\n padding-left: 0;\r\n padding-right: 0;\r\n .row {\r\n align-items: center;\r\n }\r\n }\r\n border-left: 1px solid #cfcfcf;\r\n .event-header {\r\n padding-top: 9px;\r\n border-bottom: 1px solid #cfcfcf;\r\n text-align: center;\r\n font-weight: bold;\r\n }\r\n .form-horizontal {\r\n margin-top: 20px;\r\n padding-bottom: 2px;\r\n border-bottom: 1px solid #cfcfcf;\r\n .btn-nordic {\r\n float: right;\r\n margin-top: 15px;\r\n margin-left: 15px;\r\n }\r\n .form-group {\r\n margin-right: 15px;\r\n }\r\n }\r\n .form-label {\r\n font-weight: bold;\r\n }\r\n .align-baseline {\r\n align-self: baseline;\r\n }\r\n .nothing-selected {\r\n border-left: none;\r\n }\r\n }\r\n }\r\n}\r\n\r\n.success-item {\r\n background-color: $gray-lighter;\r\n color: $brand-success;\r\n pointer-events: none;\r\n}\r\n\r\n.failed-item {\r\n background-color: $gray-lighter;\r\n color: $brand-danger;\r\n pointer-events: none;\r\n}\r\n.left-space {\r\n margin-left: 5px;\r\n}\r\n\r\n.countdown-timer {\r\n font-size: 1.6em;\r\n margin-left: 30px;\r\n}\r\n\r\n@mixin nordic-dropdown {\r\n min-width: 220px;\r\n text-align: left;\r\n .dropdown-menu {\r\n li > a:focus {\r\n outline: 1px solid black;\r\n }\r\n background-color: #ffffff;\r\n li > a {\r\n background-color: #ffffff;\r\n color: #333333;\r\n }\r\n li > a:hover {\r\n background-color: #e6e6e6;\r\n }\r\n }\r\n}\r\n\r\n.adv-setup {\r\n .adv-col {\r\n display: flex;\r\n flex-flow: column;\r\n align-items: stretch;\r\n }\r\n .adv-row {\r\n display: flex;\r\n flex-flow: row;\r\n justify-content: center;\r\n }\r\n .adv-pkt,\r\n .scan-rsp-pkt {\r\n flex: 1;\r\n margin: 10px;\r\n }\r\n .type-label {\r\n font-weight: bold;\r\n margin-bottom: 5px;\r\n }\r\n .adv-drop-container,\r\n .adv-value-container {\r\n display: inline-block;\r\n vertical-align: top;\r\n margin: 10px;\r\n }\r\n .adv-value-container {\r\n width: 340px;\r\n }\r\n .form-group {\r\n width: 100%;\r\n }\r\n table {\r\n width: 100%;\r\n }\r\n .btn-add {\r\n margin-bottom: 20px;\r\n align-self: center;\r\n }\r\n .adv-header {\r\n margin-bottom: 10px;\r\n font-weight: bold;\r\n }\r\n .adv-table-container {\r\n padding: 10px;\r\n border: 1px solid lightgray;\r\n }\r\n .form-group {\r\n display: inline-block;\r\n }\r\n .adv-dropdown {\r\n @include nordic-dropdown;\r\n }\r\n .adv-uuid-lookup {\r\n margin-left: 4px;\r\n }\r\n .error-label {\r\n margin: 5px;\r\n padding: 5px;\r\n }\r\n .modal-dialog {\r\n max-width: 900px;\r\n }\r\n}\r\n\r\n.dfu-dialog {\r\n .progress {\r\n width: 100%;\r\n height: 18px;\r\n margin-top: 2px;\r\n }\r\n .form-label {\r\n font-weight: bold;\r\n }\r\n .input-group {\r\n align-self: center;\r\n pre {\r\n display: block;\r\n padding: 9px;\r\n margin: 0 0 10px;\r\n font-size: 13px;\r\n line-height: 1.42857143;\r\n color: #333333;\r\n word-break: break-all;\r\n word-wrap: break-word;\r\n background-color: #f5f5f5;\r\n border: 1px solid #ccc;\r\n border-radius: 4px;\r\n }\r\n }\r\n .row-of-buttons {\r\n margin-right: 0;\r\n }\r\n}\r\n\r\n.scroll-menu {\r\n overflow-x: auto;\r\n max-height: 300px;\r\n top: 34px;\r\n width: 300px;\r\n}\r\n\r\n.uuid-lookup {\r\n display: inline-block;\r\n vertical-align: bottom;\r\n margin-bottom: 22px;\r\n .dropdown-toggle {\r\n margin-left: 0px;\r\n min-width: 0px;\r\n padding: 2px 2px 3px 2px;\r\n border-top-left-radius: 0;\r\n border-bottom-left-radius: 0;\r\n border-left: 0;\r\n span[class^='icon-'] {\r\n font-size: 18px;\r\n padding: 3px;\r\n }\r\n }\r\n}\r\n\r\n.uuid-dropdown {\r\n @include nordic-dropdown;\r\n min-width: 0px;\r\n}\r\n\r\n.top-spacer {\r\n margin-top: 10px;\r\n}\r\n\r\n.serialSerialnumber {\r\n font-size: $font-size-small;\r\n}\r\n\r\n.brand-background {\r\n background-color: $bar1-color;\r\n}\r\n\r\n.neutral-background {\r\n background-color: #ffffff;\r\n}\r\n\r\n.pull-right {\r\n float: right;\r\n}\r\n\r\n#main-menu,\r\n.core-log-header-buttons {\r\n .mdi:last-child {\r\n margin-left: 0;\r\n }\r\n .mdi:first-child {\r\n margin-right: 0;\r\n }\r\n}\r\n\r\n.advertising-setup-footer {\r\n justify-content: space-between;\r\n\r\n div > button:not(:first-of-type) {\r\n margin-left: 8px;\r\n }\r\n}\r\n","/*\r\n * Copyright (c) 2015 Nordic Semiconductor ASA\r\n *\r\n * SPDX-License-Identifier: LicenseRef-Nordic-4-Clause\r\n */\r\n\r\n$brand-main: #009CDE; // Nordic primary blue\r\n$brand-primary: #0080B7; // Nordic secondary dark blue\r\n$brand-info: #6dcff6; // Nordic secondary light blue\r\n$brand-base: #ffffff; // White\r\n\r\n$brand-success: #5cb85c;\r\n$brand-warning: #f0ad4e;\r\n$brand-danger: #d9534f;\r\n\r\n$bar1-color: rgb(179, 225, 245);\r\n$bar2-color: rgb(102, 196, 235);\r\n$bar3-color: rgb(0, 156, 222);\r\n\r\n$icon-color: #0080B7;\r\n",'/*\r\n * Copyright (c) 2015 Nordic Semiconductor ASA\r\n *\r\n * SPDX-License-Identifier: LicenseRef-Nordic-4-Clause\r\n */\r\n\r\n@import "./brand.scss";\r\n\r\n$device-details-light-border-color: rgb(207, 207, 207);\r\n\r\n$window-top-bar-color: #E6E6E6;\r\n$background-color: #F2F2F2;\r\n\r\n$draggable-box-shadow: 0px 0px 4px 0px #777A89;\r\n\r\n//\r\n// Bootstrap variables below\r\n// --------------------------------------------------\r\n\r\n\r\n//== Colors\r\n//\r\n//## Gray and brand colors for use across Bootstrap.\r\n\r\n$gray-base: #000;\r\n$gray-darker: lighten($gray-base, 13.5%); // #222\r\n$gray-dark: lighten($gray-base, 20%); // #333\r\n$gray: lighten($gray-base, 33.5%); // #555\r\n$gray-light: lighten($gray-base, 46.7%); // #777\r\n$gray-medium-lighter: lighten($gray-base, 70%);\r\n$gray-medium1-lighter: lighten($gray-base, 88%);\r\n$gray-lighter: lighten($gray-base, 93.5%); // #eee\r\n\r\n$brand-main-dark: darken($brand-main, 5%); // #008ac5\r\n$brand-main-darker: darken($brand-main, 10%); // #0078ab\r\n\r\n$brand-primary-dark: darken($brand-primary, 5%); // #006e9e //used by button border\r\n$brand-primary-darker: darken($brand-primary, 10%); // #005c84 //used by focus and active\r\n$brand-primary-darkest: darken($brand-primary, 17%); // #005c84 //used whe both focus and active at the same time\r\n\r\n//== Scaffolding\r\n//\r\n//## Settings for some of the most global styles.\r\n\r\n//** Background color for ``.\r\n$body-bg: #fff;\r\n//** Global text color on ``.\r\n$text-color: $gray-dark;\r\n\r\n//** Global textual link color.\r\n$link-color: $brand-primary;\r\n//** Link hover color set via `darken()` function.\r\n$link-hover-color: darken($link-color, 15%);\r\n//** Link hover decoration.\r\n$link-hover-decoration: underline;\r\n\r\n\r\n//== Typography\r\n//\r\n//## Font, line-height, and color for body text, headings, and more.\r\n\r\n$font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;\r\n$font-family-serif: Georgia, "Times New Roman", Times, serif;\r\n//** Default monospace fonts for ``, ``, and `
`.\r\n$font-family-monospace:   Menlo, Monaco, Consolas, "Courier New", monospace;\r\n$font-family-base:        $font-family-sans-serif;\r\n\r\n$font-size-base:          14px;\r\n$font-size-large:         ceil(($font-size-base * 1.25)); // ~18px\r\n$font-size-small:         ceil(($font-size-base * 0.85)); // ~12px\r\n\r\n$font-size-h1:            floor(($font-size-base * 2.6)); // ~36px\r\n$font-size-h2:            floor(($font-size-base * 2.15)); // ~30px\r\n$font-size-h3:            ceil(($font-size-base * 1.7)); // ~24px\r\n$font-size-h4:            ceil(($font-size-base * 1.25)); // ~18px\r\n$font-size-h5:            $font-size-base;\r\n$font-size-h6:            ceil(($font-size-base * 0.85)); // ~12px\r\n\r\n//** Unit-less `line-height` for use in components like buttons.\r\n$line-height-base:        1.428571429; // 20/14\r\n//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.\r\n$line-height-computed:    floor(($font-size-base * $line-height-base)); // ~20px\r\n\r\n//** By default, this inherits from the ``.\r\n$headings-font-family:    inherit;\r\n$headings-font-weight:    500;\r\n$headings-line-height:    1.1;\r\n$headings-color:          inherit;\r\n\r\n\r\n//== Iconography\r\n//\r\n//## Specify custom filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.\r\n\r\n//** File name for all font files.\r\n$icon-font-name:          "glyphicons-halflings-regular";\r\n//** Element ID within SVG icon file.\r\n$icon-font-svg-id:        "glyphicons_halflingsregular";\r\n\r\n\r\n//== Components\r\n//\r\n//## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).\r\n\r\n$padding-base-vertical:     6px;\r\n$padding-base-horizontal:   12px;\r\n\r\n$padding-large-vertical:    10px;\r\n$padding-large-horizontal:  16px;\r\n\r\n$padding-small-vertical:    5px;\r\n$padding-small-horizontal:  10px;\r\n\r\n$padding-xs-vertical:       1px;\r\n$padding-xs-horizontal:     5px;\r\n\r\n$line-height-large:         1.3333333; // extra decimals for Win 8.1 Chrome\r\n$line-height-small:         1.5;\r\n\r\n$border-radius-base:        4px;\r\n$border-radius-large:       6px;\r\n$border-radius-small:       3px;\r\n\r\n//** Global color for active items (e.g., navs or dropdowns).\r\n$component-active-color:    #fff;\r\n//** Global background color for active items (e.g., navs or dropdowns).\r\n$component-active-bg:       $brand-primary;\r\n\r\n//** Width of the `border` for generating carets that indicator dropdowns.\r\n$caret-width-base:          4px;\r\n//** Carets increase slightly in size for larger components.\r\n$caret-width-large:         5px;\r\n\r\n\r\n//== Tables\r\n//\r\n//## Customizes the `.table` component with basic values, each used across all table variations.\r\n\r\n//** Padding for ``s and ``s.\r\n$table-cell-padding:            8px;\r\n//** Padding for cells in `.table-condensed`.\r\n$table-condensed-cell-padding:  5px;\r\n\r\n//** Default background color used for all tables.\r\n$table-bg:                      transparent;\r\n//** Background color used for `.table-striped`.\r\n$table-bg-accent:               #f9f9f9;\r\n//** Background color used for `.table-hover`.\r\n$table-bg-hover:                #f5f5f5;\r\n$table-bg-active:               $table-bg-hover;\r\n\r\n//** Border color for table and cell borders.\r\n$table-border-color:            #ddd;\r\n\r\n\r\n//== Buttons\r\n//\r\n//## For each of Bootstrap\'s buttons, define text, background and border color.\r\n\r\n$btn-font-weight:                normal;\r\n\r\n$btn-default-color:              #333;\r\n$btn-default-bg:                 #fff;\r\n$btn-default-border:             #ccc;\r\n\r\n$btn-primary-color:              #fff;\r\n$btn-primary-bg:                 $brand-primary;\r\n$btn-primary-border:             darken($btn-primary-bg, 5%);\r\n\r\n$btn-success-color:              #fff;\r\n$btn-success-bg:                 $brand-success;\r\n$btn-success-border:             darken($btn-success-bg, 5%);\r\n\r\n$btn-info-color:                 #fff;\r\n$btn-info-bg:                    $brand-info;\r\n$btn-info-border:                darken($btn-info-bg, 5%);\r\n\r\n$btn-warning-color:              #fff;\r\n$btn-warning-bg:                 $brand-warning;\r\n$btn-warning-border:             darken($btn-warning-bg, 5%);\r\n\r\n$btn-danger-color:               #fff;\r\n$btn-danger-bg:                  $brand-danger;\r\n$btn-danger-border:              darken($btn-danger-bg, 5%);\r\n\r\n$btn-link-disabled-color:        $gray-light;\r\n\r\n// Allows for customizing button radius independently from global border radius\r\n$btn-border-radius-base:         $border-radius-base;\r\n$btn-border-radius-large:        $border-radius-large;\r\n$btn-border-radius-small:        $border-radius-small;\r\n\r\n\r\n//== Forms\r\n//\r\n//##\r\n\r\n//** `` background color\r\n$input-bg:                       #fff;\r\n//** `` background color\r\n$input-bg-disabled:              $gray-lighter;\r\n\r\n//** Text color for ``s\r\n$input-color:                    $gray;\r\n//** `` border color\r\n$input-border:                   #ccc;\r\n\r\n// TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4\r\n//** Default `.form-control` border radius\r\n// This has no effect on ``s in CSS.\r\n$input-border-radius:            $border-radius-base;\r\n//** Large `.form-control` border radius\r\n$input-border-radius-large:      $border-radius-large;\r\n//** Small `.form-control` border radius\r\n$input-border-radius-small:      $border-radius-small;\r\n\r\n//** Border color for inputs on focus\r\n$input-border-focus:             #66afe9;\r\n\r\n//** Placeholder text color\r\n$input-color-placeholder:        #999;\r\n\r\n//** Default `.form-control` height\r\n$input-height-base:              ($line-height-computed + ($padding-base-vertical * 2) + 2);\r\n//** Large `.form-control` height\r\n$input-height-large:             (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2);\r\n//** Small `.form-control` height\r\n$input-height-small:             (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2);\r\n\r\n//** `.form-group` margin\r\n$form-group-margin-bottom:       15px;\r\n\r\n$legend-color:                   $gray-dark;\r\n$legend-border-color:            #e5e5e5;\r\n\r\n//** Background color for textual input addons\r\n$input-group-addon-bg:           $gray-lighter;\r\n//** Border color for textual input addons\r\n$input-group-addon-border-color: $input-border;\r\n\r\n//** Disabled cursor for form controls and buttons.\r\n$cursor-disabled:                not-allowed;\r\n\r\n\r\n//== Dropdowns\r\n//\r\n//## Dropdown menu container and contents.\r\n\r\n//** Background for the dropdown menu.\r\n$dropdown-bg:                    #fff;\r\n//** Dropdown menu `border-color`.\r\n$dropdown-border:                rgba(0,0,0,.15);\r\n//** Dropdown menu `border-color` **for IE8**.\r\n$dropdown-fallback-border:       #ccc;\r\n//** Divider color for between dropdown items.\r\n$dropdown-divider-bg:            #e5e5e5;\r\n\r\n//** Dropdown link text color.\r\n$dropdown-link-color:            $gray-dark;\r\n//** Hover color for dropdown links.\r\n$dropdown-link-hover-color:      darken($gray-dark, 5%);\r\n//** Hover background for dropdown links.\r\n$dropdown-link-hover-bg:         #f5f5f5;\r\n\r\n//** Active dropdown menu item text color.\r\n$dropdown-link-active-color:     $component-active-color;\r\n//** Active dropdown menu item background color.\r\n$dropdown-link-active-bg:        $component-active-bg;\r\n\r\n//** Disabled dropdown menu item background color.\r\n$dropdown-link-disabled-color:   $gray-light;\r\n\r\n//** Text color for headers within dropdown menus.\r\n$dropdown-header-color:          $gray-light;\r\n\r\n//** Deprecated `$dropdown-caret-color` as of v3.1.0\r\n$dropdown-caret-color:           #000;\r\n\r\n\r\n//-- Z-index master list\r\n//\r\n// Warning: Avoid customizing these values. They\'re used for a bird\'s eye view\r\n// of components dependent on the z-axis and are designed to all work together.\r\n//\r\n// Note: These variables are not generated into the Customizer.\r\n\r\n$zindex-navbar:            1000;\r\n$zindex-dropdown:          1000;\r\n$zindex-popover:           1060;\r\n$zindex-tooltip:           1070;\r\n$zindex-navbar-fixed:      1030;\r\n$zindex-modal-background:  1040;\r\n$zindex-modal:             1050;\r\n\r\n\r\n//== Media queries breakpoints\r\n//\r\n//## Define the breakpoints at which your layout will change, adapting to different screen sizes.\r\n\r\n// Extra small screen / phone\r\n//** Deprecated `$screen-xs` as of v3.0.1\r\n$screen-xs:                  480px;\r\n//** Deprecated `$screen-xs-min` as of v3.2.0\r\n$screen-xs-min:              $screen-xs;\r\n//** Deprecated `$screen-phone` as of v3.0.1\r\n$screen-phone:               $screen-xs-min;\r\n\r\n// Small screen / tablet\r\n//** Deprecated `$screen-sm` as of v3.0.1\r\n$screen-sm:                  768px;\r\n$screen-sm-min:              $screen-sm;\r\n//** Deprecated `$screen-tablet` as of v3.0.1\r\n$screen-tablet:              $screen-sm-min;\r\n\r\n// Medium screen / desktop\r\n//** Deprecated `$screen-md` as of v3.0.1\r\n$screen-md:                  992px;\r\n$screen-md-min:              $screen-md;\r\n//** Deprecated `$screen-desktop` as of v3.0.1\r\n$screen-desktop:             $screen-md-min;\r\n\r\n// Large screen / wide desktop\r\n//** Deprecated `$screen-lg` as of v3.0.1\r\n$screen-lg:                  1200px;\r\n$screen-lg-min:              $screen-lg;\r\n//** Deprecated `$screen-lg-desktop` as of v3.0.1\r\n$screen-lg-desktop:          $screen-lg-min;\r\n\r\n// So media queries don\'t overlap when required, provide a maximum\r\n$screen-xs-max:              ($screen-sm-min - 1);\r\n$screen-sm-max:              ($screen-md-min - 1);\r\n$screen-md-max:              ($screen-lg-min - 1);\r\n\r\n\r\n//== Grid system\r\n//\r\n//## Define your custom responsive grid.\r\n\r\n//** Number of columns in the grid.\r\n$grid-columns:              12;\r\n//** Padding between columns. Gets divided in half for the left and right.\r\n$grid-gutter-width:         30px;\r\n// Navbar collapse\r\n//** Point at which the navbar becomes uncollapsed.\r\n$grid-float-breakpoint:     $screen-sm-min;\r\n//** Point at which the navbar begins collapsing.\r\n$grid-float-breakpoint-max: ($grid-float-breakpoint - 1);\r\n\r\n\r\n//== Container sizes\r\n//\r\n//## Define the maximum width of `.container` for different screen sizes.\r\n\r\n// Small screen / tablet\r\n$container-tablet:             (720px + $grid-gutter-width);\r\n//** For `$screen-sm-min` and up.\r\n$container-sm:                 $container-tablet;\r\n\r\n// Medium screen / desktop\r\n$container-desktop:            (940px + $grid-gutter-width);\r\n//** For `$screen-md-min` and up.\r\n$container-md:                 $container-desktop;\r\n\r\n// Large screen / wide desktop\r\n$container-large-desktop:      (1140px + $grid-gutter-width);\r\n//** For `$screen-lg-min` and up.\r\n$container-lg:                 $container-large-desktop;\r\n\r\n\r\n//== Navbar\r\n//\r\n//##\r\n\r\n// Basics of a navbar\r\n$navbar-height:                    50px;\r\n$navbar-margin-bottom:             $line-height-computed;\r\n$navbar-border-radius:             $border-radius-base;\r\n$navbar-padding-horizontal:        floor(($grid-gutter-width / 2));\r\n$navbar-padding-vertical:          (($navbar-height - $line-height-computed) / 2);\r\n$navbar-collapse-max-height:       340px;\r\n\r\n$navbar-default-color:             #777;\r\n$navbar-default-bg:                #f8f8f8;\r\n$navbar-default-border:            darken($navbar-default-bg, 6.5%);\r\n\r\n// Navbar links\r\n$navbar-default-link-color:                #777;\r\n$navbar-default-link-hover-color:          #333;\r\n$navbar-default-link-hover-bg:             transparent;\r\n$navbar-default-link-active-color:         #555;\r\n$navbar-default-link-active-bg:            darken($navbar-default-bg, 6.5%);\r\n$navbar-default-link-disabled-color:       #ccc;\r\n$navbar-default-link-disabled-bg:          transparent;\r\n\r\n// Navbar brand label\r\n$navbar-default-brand-color:               $navbar-default-link-color;\r\n$navbar-default-brand-hover-color:         darken($navbar-default-brand-color, 10%);\r\n$navbar-default-brand-hover-bg:            transparent;\r\n\r\n// Navbar toggle\r\n$navbar-default-toggle-hover-bg:           #ddd;\r\n$navbar-default-toggle-icon-bar-bg:        #888;\r\n$navbar-default-toggle-border-color:       #ddd;\r\n\r\n\r\n//=== Inverted navbar\r\n// Reset inverted navbar basics\r\n$navbar-inverse-color:                      lighten($gray-light, 15%);\r\n$navbar-inverse-bg:                         #222;\r\n$navbar-inverse-border:                     darken($navbar-inverse-bg, 10%);\r\n\r\n// Inverted navbar links\r\n$navbar-inverse-link-color:                 lighten($gray-light, 15%);\r\n$navbar-inverse-link-hover-color:           #fff;\r\n$navbar-inverse-link-hover-bg:              transparent;\r\n$navbar-inverse-link-active-color:          $navbar-inverse-link-hover-color;\r\n$navbar-inverse-link-active-bg:             darken($navbar-inverse-bg, 10%);\r\n$navbar-inverse-link-disabled-color:        #444;\r\n$navbar-inverse-link-disabled-bg:           transparent;\r\n\r\n// Inverted navbar brand label\r\n$navbar-inverse-brand-color:                $navbar-inverse-link-color;\r\n$navbar-inverse-brand-hover-color:          #fff;\r\n$navbar-inverse-brand-hover-bg:             transparent;\r\n\r\n// Inverted navbar toggle\r\n$navbar-inverse-toggle-hover-bg:            #333;\r\n$navbar-inverse-toggle-icon-bar-bg:         #fff;\r\n$navbar-inverse-toggle-border-color:        #333;\r\n\r\n\r\n//== Navs\r\n//\r\n//##\r\n\r\n//=== Shared nav styles\r\n$nav-link-padding:                          10px 15px;\r\n$nav-link-hover-bg:                         $gray-lighter;\r\n\r\n$nav-disabled-link-color:                   $gray-light;\r\n$nav-disabled-link-hover-color:             $gray-light;\r\n\r\n//== Tabs\r\n$nav-tabs-border-color:                     #ddd;\r\n\r\n$nav-tabs-link-hover-border-color:          $gray-lighter;\r\n\r\n$nav-tabs-active-link-hover-bg:             $body-bg;\r\n$nav-tabs-active-link-hover-color:          $gray;\r\n$nav-tabs-active-link-hover-border-color:   #ddd;\r\n\r\n$nav-tabs-justified-link-border-color:            #ddd;\r\n$nav-tabs-justified-active-link-border-color:     $body-bg;\r\n\r\n//== Pills\r\n$nav-pills-border-radius:                   $border-radius-base;\r\n$nav-pills-active-link-hover-bg:            $component-active-bg;\r\n$nav-pills-active-link-hover-color:         $component-active-color;\r\n\r\n\r\n//== Pagination\r\n//\r\n//##\r\n\r\n$pagination-color:                     $link-color;\r\n$pagination-bg:                        #fff;\r\n$pagination-border:                    #ddd;\r\n\r\n$pagination-hover-color:               $link-hover-color;\r\n$pagination-hover-bg:                  $gray-lighter;\r\n$pagination-hover-border:              #ddd;\r\n\r\n$pagination-active-color:              #fff;\r\n$pagination-active-bg:                 $brand-primary;\r\n$pagination-active-border:             $brand-primary;\r\n\r\n$pagination-disabled-color:            $gray-light;\r\n$pagination-disabled-bg:               #fff;\r\n$pagination-disabled-border:           #ddd;\r\n\r\n\r\n//== Pager\r\n//\r\n//##\r\n\r\n$pager-bg:                             $pagination-bg;\r\n$pager-border:                         $pagination-border;\r\n$pager-border-radius:                  15px;\r\n\r\n$pager-hover-bg:                       $pagination-hover-bg;\r\n\r\n$pager-active-bg:                      $pagination-active-bg;\r\n$pager-active-color:                   $pagination-active-color;\r\n\r\n$pager-disabled-color:                 $pagination-disabled-color;\r\n\r\n\r\n//== Jumbotron\r\n//\r\n//##\r\n\r\n$jumbotron-padding:              30px;\r\n$jumbotron-color:                inherit;\r\n$jumbotron-bg:                   $gray-lighter;\r\n$jumbotron-heading-color:        inherit;\r\n$jumbotron-font-size:            ceil(($font-size-base * 1.5));\r\n$jumbotron-heading-font-size:    ceil(($font-size-base * 4.5));\r\n\r\n\r\n//== Form states and alerts\r\n//\r\n//## Define colors for form feedback states and, by default, alerts.\r\n\r\n$state-success-text:             #3c763d;\r\n$state-success-bg:               #dff0d8;\r\n$state-success-border:           darken($state-success-bg, 5%);\r\n\r\n$state-info-text:                #31708f;\r\n$state-info-bg:                  #d9edf7;\r\n$state-info-border:              darken($state-info-bg, 7%);\r\n\r\n$state-warning-text:             #8a6d3b;\r\n$state-warning-bg:               #fcf8e3;\r\n$state-warning-border:           darken($state-warning-bg, 5%);\r\n\r\n$state-danger-text:              #a94442;\r\n$state-danger-bg:                #f2dede;\r\n$state-danger-border:            darken($state-danger-bg, 5%);\r\n\r\n\r\n//== Tooltips\r\n//\r\n//##\r\n\r\n//** Tooltip max width\r\n$tooltip-max-width:           200px;\r\n//** Tooltip text color\r\n$tooltip-color:               #fff;\r\n//** Tooltip background color\r\n$tooltip-bg:                  #000;\r\n$tooltip-opacity:             .9;\r\n\r\n//** Tooltip arrow width\r\n$tooltip-arrow-width:         5px;\r\n//** Tooltip arrow color\r\n$tooltip-arrow-color:         $tooltip-bg;\r\n\r\n\r\n//== Popovers\r\n//\r\n//##\r\n\r\n//** Popover body background color\r\n$popover-bg:                          #fff;\r\n//** Popover maximum width\r\n$popover-max-width:                   276px;\r\n//** Popover border color\r\n$popover-border-color:                rgba(0,0,0,.2);\r\n//** Popover fallback border color\r\n$popover-fallback-border-color:       #ccc;\r\n\r\n//** Popover title background color\r\n$popover-title-bg:                    darken($popover-bg, 3%);\r\n\r\n//** Popover arrow width\r\n$popover-arrow-width:                 10px;\r\n//** Popover arrow color\r\n$popover-arrow-color:                 $popover-bg;\r\n\r\n//** Popover outer arrow width\r\n$popover-arrow-outer-width:           ($popover-arrow-width + 1);\r\n//** Popover outer arrow color\r\n$popover-arrow-outer-color:           fadein($popover-border-color, 5%);\r\n//** Popover outer arrow fallback color\r\n$popover-arrow-outer-fallback-color:  darken($popover-fallback-border-color, 20%);\r\n\r\n\r\n//== Labels\r\n//\r\n//##\r\n\r\n//** Default label background color\r\n$label-default-bg:            $gray-light;\r\n//** Primary label background color\r\n$label-primary-bg:            $brand-primary;\r\n//** Success label background color\r\n$label-success-bg:            $brand-success;\r\n//** Info label background color\r\n$label-info-bg:               $brand-info;\r\n//** Warning label background color\r\n$label-warning-bg:            $brand-warning;\r\n//** Danger label background color\r\n$label-danger-bg:             $brand-danger;\r\n\r\n//** Default label text color\r\n$label-color:                 #fff;\r\n//** Default text color of a linked label\r\n$label-link-hover-color:      #fff;\r\n\r\n\r\n//== Modals\r\n//\r\n//##\r\n\r\n//** Padding applied to the modal body\r\n$modal-inner-padding:         15px;\r\n\r\n//** Padding applied to the modal title\r\n$modal-title-padding:         15px;\r\n//** Modal title line-height\r\n$modal-title-line-height:     $line-height-base;\r\n\r\n//** Background color of modal content area\r\n$modal-content-bg:                             #fff;\r\n//** Modal content border color\r\n$modal-content-border-color:                   rgba(0,0,0,.2);\r\n//** Modal content border color **for IE8**\r\n$modal-content-fallback-border-color:          #999;\r\n\r\n//** Modal backdrop background color\r\n$modal-backdrop-bg:           #000;\r\n//** Modal backdrop opacity\r\n$modal-backdrop-opacity:      .5;\r\n//** Modal header border color\r\n$modal-header-border-color:   #e5e5e5;\r\n//** Modal footer border color\r\n$modal-footer-border-color:   $modal-header-border-color;\r\n\r\n$modal-lg:                    900px;\r\n$modal-md:                    600px;\r\n$modal-sm:                    300px;\r\n\r\n\r\n//== Alerts\r\n//\r\n//## Define alert colors, border radius, and padding.\r\n\r\n$alert-padding:               15px;\r\n$alert-border-radius:         $border-radius-base;\r\n$alert-link-font-weight:      bold;\r\n\r\n$alert-success-bg:            $state-success-bg;\r\n$alert-success-text:          $state-success-text;\r\n$alert-success-border:        $state-success-border;\r\n\r\n$alert-info-bg:               $state-info-bg;\r\n$alert-info-text:             $state-info-text;\r\n$alert-info-border:           $state-info-border;\r\n\r\n$alert-warning-bg:            $state-warning-bg;\r\n$alert-warning-text:          $state-warning-text;\r\n$alert-warning-border:        $state-warning-border;\r\n\r\n$alert-danger-bg:             $state-danger-bg;\r\n$alert-danger-text:           $state-danger-text;\r\n$alert-danger-border:         $state-danger-border;\r\n\r\n\r\n//== Progress bars\r\n//\r\n//##\r\n\r\n//** Background color of the whole progress component\r\n$progress-bg:                 #f5f5f5;\r\n//** Progress bar text color\r\n$progress-bar-color:          #fff;\r\n//** Variable for setting rounded corners on progress bar.\r\n$progress-border-radius:      $border-radius-base;\r\n\r\n//** Default progress bar color\r\n$progress-bar-bg:             $brand-primary;\r\n//** Success progress bar color\r\n$progress-bar-success-bg:     $brand-success;\r\n//** Warning progress bar color\r\n$progress-bar-warning-bg:     $brand-warning;\r\n//** Danger progress bar color\r\n$progress-bar-danger-bg:      $brand-danger;\r\n//** Info progress bar color\r\n$progress-bar-info-bg:        $brand-info;\r\n\r\n\r\n//== List group\r\n//\r\n//##\r\n\r\n//** Background color on `.list-group-item`\r\n$list-group-bg:                 #fff;\r\n//** `.list-group-item` border color\r\n$list-group-border:             #ddd;\r\n//** List group border radius\r\n$list-group-border-radius:      $border-radius-base;\r\n\r\n//** Background color of single list items on hover\r\n$list-group-hover-bg:           #f5f5f5;\r\n//** Text color of active list items\r\n$list-group-active-color:       $component-active-color;\r\n//** Background color of active list items\r\n$list-group-active-bg:          $component-active-bg;\r\n//** Border color of active list elements\r\n$list-group-active-border:      $list-group-active-bg;\r\n//** Text color for content within active list items\r\n$list-group-active-text-color:  lighten($list-group-active-bg, 40%);\r\n\r\n//** Text color of disabled list items\r\n$list-group-disabled-color:      $gray-light;\r\n//** Background color of disabled list items\r\n$list-group-disabled-bg:         $gray-lighter;\r\n//** Text color for content within disabled list items\r\n$list-group-disabled-text-color: $list-group-disabled-color;\r\n\r\n$list-group-link-color:         #555;\r\n$list-group-link-hover-color:   $list-group-link-color;\r\n$list-group-link-heading-color: #333;\r\n\r\n\r\n//== Panels\r\n//\r\n//##\r\n\r\n$panel-bg:                    #fff;\r\n$panel-body-padding:          15px;\r\n$panel-heading-padding:       10px 15px;\r\n$panel-footer-padding:        $panel-heading-padding;\r\n$panel-border-radius:         $border-radius-base;\r\n\r\n//** Border color for elements within panels\r\n$panel-inner-border:          #ddd;\r\n$panel-footer-bg:             #f5f5f5;\r\n\r\n$panel-default-text:          $gray-dark;\r\n$panel-default-border:        #ddd;\r\n$panel-default-heading-bg:    #f5f5f5;\r\n\r\n$panel-primary-text:          #fff;\r\n$panel-primary-border:        $brand-primary;\r\n$panel-primary-heading-bg:    $brand-primary;\r\n\r\n$panel-success-text:          $state-success-text;\r\n$panel-success-border:        $state-success-border;\r\n$panel-success-heading-bg:    $state-success-bg;\r\n\r\n$panel-info-text:             $state-info-text;\r\n$panel-info-border:           $state-info-border;\r\n$panel-info-heading-bg:       $state-info-bg;\r\n\r\n$panel-warning-text:          $state-warning-text;\r\n$panel-warning-border:        $state-warning-border;\r\n$panel-warning-heading-bg:    $state-warning-bg;\r\n\r\n$panel-danger-text:           $state-danger-text;\r\n$panel-danger-border:         $state-danger-border;\r\n$panel-danger-heading-bg:     $state-danger-bg;\r\n\r\n\r\n//== Thumbnails\r\n//\r\n//##\r\n\r\n//** Padding around the thumbnail image\r\n$thumbnail-padding:           4px;\r\n//** Thumbnail background color\r\n$thumbnail-bg:                $body-bg;\r\n//** Thumbnail border color\r\n$thumbnail-border:            #ddd;\r\n//** Thumbnail border radius\r\n$thumbnail-border-radius:     $border-radius-base;\r\n\r\n//** Custom text color for thumbnail captions\r\n$thumbnail-caption-color:     $text-color;\r\n//** Padding around the thumbnail caption\r\n$thumbnail-caption-padding:   9px;\r\n\r\n\r\n//== Wells\r\n//\r\n//##\r\n\r\n$well-bg:                     #f5f5f5;\r\n$well-border:                 darken($well-bg, 7%);\r\n\r\n\r\n//== Badges\r\n//\r\n//##\r\n\r\n$badge-color:                 #fff;\r\n//** Linked badge text color on hover\r\n$badge-link-hover-color:      #fff;\r\n$badge-bg:                    $gray-light;\r\n\r\n//** Badge text color in active nav link\r\n$badge-active-color:          $link-color;\r\n//** Badge background color in active nav link\r\n$badge-active-bg:             #fff;\r\n\r\n$badge-font-weight:           bold;\r\n$badge-line-height:           1;\r\n$badge-border-radius:         10px;\r\n\r\n\r\n//== Breadcrumbs\r\n//\r\n//##\r\n\r\n$breadcrumb-padding-vertical:   8px;\r\n$breadcrumb-padding-horizontal: 15px;\r\n//** Breadcrumb background color\r\n$breadcrumb-bg:                 #f5f5f5;\r\n//** Breadcrumb text color\r\n$breadcrumb-color:              #ccc;\r\n//** Text color of current page in the breadcrumb\r\n$breadcrumb-active-color:       $gray-light;\r\n//** Textual separator for between breadcrumb elements\r\n$breadcrumb-separator:          "/";\r\n\r\n\r\n//== Carousel\r\n//\r\n//##\r\n\r\n$carousel-text-shadow:                        0 1px 2px rgba(0,0,0,.6);\r\n\r\n$carousel-control-color:                      #fff;\r\n$carousel-control-width:                      15%;\r\n$carousel-control-opacity:                    .5;\r\n$carousel-control-font-size:                  20px;\r\n\r\n$carousel-indicator-active-bg:                #fff;\r\n$carousel-indicator-border-color:             #fff;\r\n\r\n$carousel-caption-color:                      #fff;\r\n\r\n\r\n//== Close\r\n//\r\n//##\r\n\r\n$close-font-weight:           bold;\r\n$close-color:                 #000;\r\n$close-text-shadow:           0 1px 0 #fff;\r\n\r\n\r\n//== Code\r\n//\r\n//##\r\n\r\n$code-color:                  #c7254e;\r\n$code-bg:                     #f9f2f4;\r\n\r\n$kbd-color:                   #fff;\r\n$kbd-bg:                      #333;\r\n\r\n$pre-bg:                      #f5f5f5;\r\n$pre-color:                   $gray-dark;\r\n$pre-border-color:            #ccc;\r\n$pre-scrollable-max-height:   340px;\r\n\r\n\r\n//== Type\r\n//\r\n//##\r\n\r\n//** Horizontal offset for forms and lists.\r\n$component-offset-horizontal: 180px;\r\n//** Text muted color\r\n$text-muted:                  $gray-light;\r\n//** Abbreviations and acronyms border color\r\n$abbr-border-color:           $gray-light;\r\n//** Headings small color\r\n$headings-small-color:        $gray-light;\r\n//** Blockquote small color\r\n$blockquote-small-color:      $gray-light;\r\n//** Blockquote font size\r\n$blockquote-font-size:        ($font-size-base * 1.25);\r\n//** Blockquote border color\r\n$blockquote-border-color:     $gray-lighter;\r\n//** Page header border color\r\n$page-header-border-color:    $gray-lighter;\r\n//** Width of horizontal description list titles\r\n$dl-horizontal-offset:        $component-offset-horizontal;\r\n//** Horizontal line color.\r\n$hr-border:                   $gray-lighter;\r\n'],sourceRoot:""}]),t.a=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(3)),a=s(n(4)),i=s(n(1)),o=s(n(294));function s(e){return e&&e.__esModule?e:{default:e}}var l=["as","disabled","onKeyDown"];function u(e){return!e||"#"===e.trim()}var d=i.default.forwardRef((function(e,t){var n=e.as,s=void 0===n?"a":n,d=e.disabled,c=e.onKeyDown,f=(0,a.default)(e,l),p=function(e){var t=f.href,n=f.onClick;(d||u(t))&&e.preventDefault(),d?e.stopPropagation():n&&n(e)};return u(f.href)&&(f.role=f.role||"button",f.href=f.href||"#"),d&&(f.tabIndex=-1,f["aria-disabled"]=!0),i.default.createElement(s,(0,r.default)({ref:t},f,{onClick:p,onKeyDown:(0,o.default)((function(e){" "===e.key&&(e.preventDefault(),p(e))}),c)}))}));d.displayName="SafeAnchor";var c=d;t.default=c,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(3)),a=p(n(4)),i=p(n(5)),o=(p(n(72)),function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1))),s=p(n(73)),l=p(n(298)),u=p(n(299)),d=p(n(21)),c=n(6);function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}var h=["id","bsPrefix","bsCustomPrefix","inline","disabled","isValid","isInvalid","feedbackTooltip","feedback","className","style","title","type","label","children","custom","as"],m=o.default.forwardRef((function(e,t){var n=e.id,f=e.bsPrefix,p=e.bsCustomPrefix,m=e.inline,_=void 0!==m&&m,v=e.disabled,g=void 0!==v&&v,y=e.isValid,b=void 0!==y&&y,A=e.isInvalid,E=void 0!==A&&A,w=e.feedbackTooltip,M=void 0!==w&&w,D=e.feedback,C=e.className,x=e.style,T=e.title,L=void 0===T?"":T,k=e.type,S=void 0===k?"checkbox":k,P=e.label,O=e.children,I=e.custom,Y=e.as,R=void 0===Y?"input":Y,N=(0,a.default)(e,h),j="switch"===S||I,H=j?[p,"custom-control"]:[f,"form-check"],B=H[0],U=H[1];f=(0,c.useBootstrapPrefix)(B,U);var W=(0,o.useContext)(d.default).controlId,F=(0,o.useMemo)((function(){return{controlId:n||W,custom:j}}),[W,j,n]),V=j||null!=P&&!1!==P&&!O,z=o.default.createElement(l.default,(0,r.default)({},N,{type:"switch"===S?"checkbox":S,ref:t,isValid:b,isInvalid:E,isStatic:!V,disabled:g,as:R}));return o.default.createElement(d.default.Provider,{value:F},o.default.createElement("div",{style:x,className:(0,i.default)(C,f,j&&"custom-"+S,_&&f+"-inline")},O||o.default.createElement(o.default.Fragment,null,z,V&&o.default.createElement(u.default,{title:L},P),(b||E)&&o.default.createElement(s.default,{type:b?"valid":"invalid",tooltip:M},D))))}));m.displayName="FormCheck",m.Input=l.default,m.Label=u.default;var _=m;t.default=_,e.exports=t.default},function(e,t,n){"use strict";(function(e){var r;
-/**
- * @license
- * Lodash 
- * Copyright OpenJS Foundation and other contributors 
- * Released under MIT license 
- * Based on Underscore.js 1.8.3 
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */(function(){var a="Expected a function",i="__lodash_placeholder__",o=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],s="[object Arguments]",l="[object Array]",u="[object Boolean]",d="[object Date]",c="[object Error]",f="[object Function]",p="[object GeneratorFunction]",h="[object Map]",m="[object Number]",_="[object Object]",v="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",A="[object WeakMap]",E="[object ArrayBuffer]",w="[object DataView]",M="[object Float32Array]",D="[object Float64Array]",C="[object Int8Array]",x="[object Int16Array]",T="[object Int32Array]",L="[object Uint8Array]",k="[object Uint16Array]",S="[object Uint32Array]",P=/\b__p \+= '';/g,O=/\b(__p \+=) '' \+/g,I=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,R=/[&<>"']/g,N=RegExp(Y.source),j=RegExp(R.source),H=/<%-([\s\S]+?)%>/g,B=/<%([\s\S]+?)%>/g,U=/<%=([\s\S]+?)%>/g,W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/,V=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,z=/[\\^$.*+?()[\]{}|]/g,q=RegExp(z.source),G=/^\s+/,$=/\s/,J=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,K=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,X=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Z=/[()=,{}\[\]\/\s]/,ee=/\\(\\)?/g,te=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ne=/\w*$/,re=/^[-+]0x[0-9a-f]+$/i,ae=/^0b[01]+$/i,ie=/^\[object .+?Constructor\]$/,oe=/^0o[0-7]+$/i,se=/^(?:0|[1-9]\d*)$/,le=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ue=/($^)/,de=/['\n\r\u2028\u2029\\]/g,ce="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",fe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pe="[\\ud800-\\udfff]",he="["+fe+"]",me="["+ce+"]",_e="\\d+",ve="[\\u2700-\\u27bf]",ge="[a-z\\xdf-\\xf6\\xf8-\\xff]",ye="[^\\ud800-\\udfff"+fe+_e+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",be="\\ud83c[\\udffb-\\udfff]",Ae="[^\\ud800-\\udfff]",Ee="(?:\\ud83c[\\udde6-\\uddff]){2}",we="[\\ud800-\\udbff][\\udc00-\\udfff]",Me="[A-Z\\xc0-\\xd6\\xd8-\\xde]",De="(?:"+ge+"|"+ye+")",Ce="(?:"+Me+"|"+ye+")",xe="(?:"+me+"|"+be+")"+"?",Te="[\\ufe0e\\ufe0f]?"+xe+("(?:\\u200d(?:"+[Ae,Ee,we].join("|")+")[\\ufe0e\\ufe0f]?"+xe+")*"),Le="(?:"+[ve,Ee,we].join("|")+")"+Te,ke="(?:"+[Ae+me+"?",me,Ee,we,pe].join("|")+")",Se=RegExp("['’]","g"),Pe=RegExp(me,"g"),Oe=RegExp(be+"(?="+be+")|"+ke+Te,"g"),Ie=RegExp([Me+"?"+ge+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[he,Me,"$"].join("|")+")",Ce+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[he,Me+De,"$"].join("|")+")",Me+"?"+De+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Me+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",_e,Le].join("|"),"g"),Ye=RegExp("[\\u200d\\ud800-\\udfff"+ce+"\\ufe0e\\ufe0f]"),Re=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ne=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],je=-1,He={};He[M]=He[D]=He[C]=He[x]=He[T]=He[L]=He["[object Uint8ClampedArray]"]=He[k]=He[S]=!0,He[s]=He[l]=He[E]=He[u]=He[w]=He[d]=He[c]=He[f]=He[h]=He[m]=He[_]=He[v]=He[g]=He[y]=He[A]=!1;var Be={};Be[s]=Be[l]=Be[E]=Be[w]=Be[u]=Be[d]=Be[M]=Be[D]=Be[C]=Be[x]=Be[T]=Be[h]=Be[m]=Be[_]=Be[v]=Be[g]=Be[y]=Be[b]=Be[L]=Be["[object Uint8ClampedArray]"]=Be[k]=Be[S]=!0,Be[c]=Be[f]=Be[A]=!1;var Ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},We=parseFloat,Fe=parseInt,Ve="object"==typeof global&&global&&global.Object===Object&&global,ze="object"==typeof self&&self&&self.Object===Object&&self,qe=Ve||ze||Function("return this")(),Ge=t&&!t.nodeType&&t,$e=Ge&&"object"==typeof e&&e&&!e.nodeType&&e,Je=$e&&$e.exports===Ge,Ke=Je&&Ve.process,Qe=function(){try{var e=$e&&$e.require&&$e.require("util").types;return e||Ke&&Ke.binding&&Ke.binding("util")}catch(e){}}(),Xe=Qe&&Qe.isArrayBuffer,Ze=Qe&&Qe.isDate,et=Qe&&Qe.isMap,tt=Qe&&Qe.isRegExp,nt=Qe&&Qe.isSet,rt=Qe&&Qe.isTypedArray;function at(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function it(e,t,n,r){for(var a=-1,i=null==e?0:e.length;++a-1}function ct(e,t,n){for(var r=-1,a=null==e?0:e.length;++r-1;);return n}function It(e,t){for(var n=e.length;n--&&bt(t,e[n],0)>-1;);return n}function Yt(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var Rt=Dt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Nt=Dt({"&":"&","<":"<",">":">",'"':""","'":"'"});function jt(e){return"\\"+Ue[e]}function Ht(e){return Ye.test(e)}function Bt(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function Ut(e,t){return function(n){return e(t(n))}}function Wt(e,t){for(var n=-1,r=e.length,a=0,o=[];++n",""":'"',"'":"'"});var Jt=function e(t){var n,r=(t=null==t?qe:Jt.defaults(qe.Object(),t,Jt.pick(qe,Ne))).Array,$=t.Date,ce=t.Error,fe=t.Function,pe=t.Math,he=t.Object,me=t.RegExp,_e=t.String,ve=t.TypeError,ge=r.prototype,ye=fe.prototype,be=he.prototype,Ae=t["__core-js_shared__"],Ee=ye.toString,we=be.hasOwnProperty,Me=0,De=(n=/[^.]+$/.exec(Ae&&Ae.keys&&Ae.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Ce=be.toString,xe=Ee.call(he),Te=qe._,Le=me("^"+Ee.call(we).replace(z,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ke=Je?t.Buffer:void 0,Oe=t.Symbol,Ye=t.Uint8Array,Ue=ke?ke.allocUnsafe:void 0,Ve=Ut(he.getPrototypeOf,he),ze=he.create,Ge=be.propertyIsEnumerable,$e=ge.splice,Ke=Oe?Oe.isConcatSpreadable:void 0,Qe=Oe?Oe.iterator:void 0,vt=Oe?Oe.toStringTag:void 0,Dt=function(){try{var e=ei(he,"defineProperty");return e({},"",{}),e}catch(e){}}(),Kt=t.clearTimeout!==qe.clearTimeout&&t.clearTimeout,Qt=$&&$.now!==qe.Date.now&&$.now,Xt=t.setTimeout!==qe.setTimeout&&t.setTimeout,Zt=pe.ceil,en=pe.floor,tn=he.getOwnPropertySymbols,nn=ke?ke.isBuffer:void 0,rn=t.isFinite,an=ge.join,on=Ut(he.keys,he),sn=pe.max,ln=pe.min,un=$.now,dn=t.parseInt,cn=pe.random,fn=ge.reverse,pn=ei(t,"DataView"),hn=ei(t,"Map"),mn=ei(t,"Promise"),_n=ei(t,"Set"),vn=ei(t,"WeakMap"),gn=ei(he,"create"),yn=vn&&new vn,bn={},An=xi(pn),En=xi(hn),wn=xi(mn),Mn=xi(_n),Dn=xi(vn),Cn=Oe?Oe.prototype:void 0,xn=Cn?Cn.valueOf:void 0,Tn=Cn?Cn.toString:void 0;function Ln(e){if(zo(e)&&!Io(e)&&!(e instanceof On)){if(e instanceof Pn)return e;if(we.call(e,"__wrapped__"))return Ti(e)}return new Pn(e)}var kn=function(){function e(){}return function(t){if(!Vo(t))return{};if(ze)return ze(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Sn(){}function Pn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}function On(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function In(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function Qn(e,t,n,r,a,i){var o,l=1&t,c=2&t,A=4&t;if(n&&(o=a?n(e,r,a,i):n(e)),void 0!==o)return o;if(!Vo(e))return e;var P=Io(e);if(P){if(o=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&we.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return ga(e,o)}else{var O=ri(e),I=O==f||O==p;if(jo(e))return fa(e,l);if(O==_||O==s||I&&!a){if(o=c||I?{}:ii(e),!l)return c?function(e,t){return ya(e,ni(e),t)}(e,function(e,t){return e&&ya(t,Es(t),e)}(o,e)):function(e,t){return ya(e,ti(e),t)}(e,Gn(o,e))}else{if(!Be[O])return a?e:{};o=function(e,t,n){var r=e.constructor;switch(t){case E:return pa(e);case u:case d:return new r(+e);case w:return function(e,t){var n=t?pa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case D:case C:case x:case T:case L:case"[object Uint8ClampedArray]":case k:case S:return ha(e,n);case h:return new r;case m:case y:return new r(e);case v:return function(e){var t=new e.constructor(e.source,ne.exec(e));return t.lastIndex=e.lastIndex,t}(e);case g:return new r;case b:return a=e,xn?he(xn.call(a)):{}}var a}(e,O,l)}}i||(i=new jn);var Y=i.get(e);if(Y)return Y;i.set(e,o),Ko(e)?e.forEach((function(r){o.add(Qn(r,t,n,r,e,i))})):qo(e)&&e.forEach((function(r,a){o.set(a,Qn(r,t,n,a,e,i))}));var R=P?void 0:(A?c?Ga:qa:c?Es:As)(e);return ot(R||e,(function(r,a){R&&(r=e[a=r]),Vn(o,a,Qn(r,t,n,a,e,i))})),o}function Xn(e,t,n){var r=n.length;if(null==e)return!r;for(e=he(e);r--;){var a=n[r],i=t[a],o=e[a];if(void 0===o&&!(a in e)||!i(o))return!1}return!0}function Zn(e,t,n){if("function"!=typeof e)throw new ve(a);return bi((function(){e.apply(void 0,n)}),t)}function er(e,t,n,r){var a=-1,i=dt,o=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=ft(t,kt(n))),r?(i=ct,o=!1):t.length>=200&&(i=Pt,o=!1,t=new Nn(t));e:for(;++a-1},Yn.prototype.set=function(e,t){var n=this.__data__,r=zn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Rn.prototype.clear=function(){this.size=0,this.__data__={hash:new In,map:new(hn||Yn),string:new In}},Rn.prototype.delete=function(e){var t=Xa(this,e).delete(e);return this.size-=t?1:0,t},Rn.prototype.get=function(e){return Xa(this,e).get(e)},Rn.prototype.has=function(e){return Xa(this,e).has(e)},Rn.prototype.set=function(e,t){var n=Xa(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Nn.prototype.add=Nn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Nn.prototype.has=function(e){return this.__data__.has(e)},jn.prototype.clear=function(){this.__data__=new Yn,this.size=0},jn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},jn.prototype.get=function(e){return this.__data__.get(e)},jn.prototype.has=function(e){return this.__data__.has(e)},jn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Yn){var r=n.__data__;if(!hn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Rn(r)}return n.set(e,t),this.size=n.size,this};var tr=Ea(ur),nr=Ea(dr,!0);function rr(e,t){var n=!0;return tr(e,(function(e,r,a){return n=!!t(e,r,a)})),n}function ar(e,t,n){for(var r=-1,a=e.length;++r0&&n(s)?t>1?or(s,t-1,n,r,a):pt(a,s):r||(a[a.length]=s)}return a}var sr=wa(),lr=wa(!0);function ur(e,t){return e&&sr(e,t,As)}function dr(e,t){return e&&lr(e,t,As)}function cr(e,t){return ut(t,(function(t){return Uo(e[t])}))}function fr(e,t){for(var n=0,r=(t=la(t,e)).length;null!=e&&nt}function _r(e,t){return null!=e&&we.call(e,t)}function vr(e,t){return null!=e&&t in he(e)}function gr(e,t,n){for(var a=n?ct:dt,i=e[0].length,o=e.length,s=o,l=r(o),u=1/0,d=[];s--;){var c=e[s];s&&t&&(c=ft(c,kt(t))),u=ln(c.length,u),l[s]=!n&&(t||i>=120&&c.length>=120)?new Nn(s&&c):void 0}c=e[0];var f=-1,p=l[0];e:for(;++f=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}(e,t,n)}))}function Ir(e,t,n){for(var r=-1,a=t.length,i={};++r-1;)s!==e&&$e.call(s,l,1),$e.call(e,l,1);return e}function Rr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var a=t[n];if(n==r||a!==i){var i=a;si(a)?$e.call(e,a,1):ea(e,a)}}return e}function Nr(e,t){return e+en(cn()*(t-e+1))}function jr(e,t){var n="";if(!e||t<1||t>9007199254740991)return n;do{t%2&&(n+=e),(t=en(t/2))&&(e+=e)}while(t);return n}function Hr(e,t){return Ai(mi(e,t,Gs),e+"")}function Br(e){return Bn(ks(e))}function Ur(e,t){var n=ks(e);return Mi(n,Kn(t,0,n.length))}function Wr(e,t,n,r){if(!Vo(e))return e;for(var a=-1,i=(t=la(t,e)).length,o=i-1,s=e;null!=s&&++ai?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=r(i);++a>>1,o=e[i];null!==o&&!Xo(o)&&(n?o<=t:o=200){var u=t?null:ja(e);if(u)return Ft(u);o=!1,a=Pt,l=new Nn}else l=t?[]:s;e:for(;++r=r?e:qr(e,t,n)}var ca=Kt||function(e){return qe.clearTimeout(e)};function fa(e,t){if(t)return e.slice();var n=e.length,r=Ue?Ue(n):new e.constructor(n);return e.copy(r),r}function pa(e){var t=new e.constructor(e.byteLength);return new Ye(t).set(new Ye(e)),t}function ha(e,t){var n=t?pa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ma(e,t){if(e!==t){var n=void 0!==e,r=null===e,a=e==e,i=Xo(e),o=void 0!==t,s=null===t,l=t==t,u=Xo(t);if(!s&&!u&&!i&&e>t||i&&o&&l&&!s&&!u||r&&o&&l||!n&&l||!a)return 1;if(!r&&!i&&!u&&e1?n[a-1]:void 0,o=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,o&&li(n[0],n[1],o)&&(i=a<3?void 0:i,a=1),t=he(t);++r-1?a[i?t[o]:o]:void 0}}function Ta(e){return za((function(t){var n=t.length,r=n,i=Pn.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new ve(a);if(i&&!s&&"wrapper"==Ja(o))var s=new Pn([],!0)}for(r=s?r:n;++r1&&y.reverse(),c&&us))return!1;var u=i.get(e),d=i.get(t);if(u&&d)return u==t&&d==e;var c=-1,f=!0,p=2&n?new Nn:void 0;for(i.set(e,t),i.set(t,e);++c-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(J,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return ot(o,(function(n){var r="_."+n[0];t&n[1]&&!dt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(K);return t?t[1].split(Q):[]}(r),n)))}function wi(e){var t=0,n=0;return function(){var r=un(),a=16-(r-n);if(n=r,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Mi(e,t){var n=-1,r=e.length,a=r-1;for(t=void 0===t?r:t;++n1?e[t-1]:void 0;return n="function"==typeof n?(e.pop(),n):void 0,$i(e,n)}));function to(e){var t=Ln(e);return t.__chain__=!0,t}function no(e,t){return t(e)}var ro=za((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return Jn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof On&&si(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:no,args:[a],thisArg:void 0}),new Pn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(void 0),e}))):this.thru(a)}));var ao=ba((function(e,t,n){we.call(e,n)?++e[n]:$n(e,n,1)}));var io=xa(Pi),oo=xa(Oi);function so(e,t){return(Io(e)?ot:tr)(e,Qa(t,3))}function lo(e,t){return(Io(e)?st:nr)(e,Qa(t,3))}var uo=ba((function(e,t,n){we.call(e,n)?e[n].push(t):$n(e,n,[t])}));var co=Hr((function(e,t,n){var a=-1,i="function"==typeof t,o=Ro(e)?r(e.length):[];return tr(e,(function(e){o[++a]=i?at(t,e,n):yr(e,t,n)})),o})),fo=ba((function(e,t,n){$n(e,n,t)}));function po(e,t){return(Io(e)?ft:Tr)(e,Qa(t,3))}var ho=ba((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var mo=Hr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&li(e,t[0],t[1])?t=[]:n>2&&li(t[0],t[1],t[2])&&(t=[t[0]]),Or(e,or(t,1),[])})),_o=Qt||function(){return qe.Date.now()};function vo(e,t,n){return t=n?void 0:t,Ba(e,128,void 0,void 0,void 0,void 0,t=e&&null==t?e.length:t)}function go(e,t){var n;if("function"!=typeof t)throw new ve(a);return e=as(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var yo=Hr((function(e,t,n){var r=1;if(n.length){var a=Wt(n,Ka(yo));r|=32}return Ba(e,r,t,n,a)})),bo=Hr((function(e,t,n){var r=3;if(n.length){var a=Wt(n,Ka(bo));r|=32}return Ba(t,r,e,n,a)}));function Ao(e,t,n){var r,i,o,s,l,u,d=0,c=!1,f=!1,p=!0;if("function"!=typeof e)throw new ve(a);function h(t){var n=r,a=i;return r=i=void 0,d=t,s=e.apply(a,n)}function m(e){return d=e,l=bi(v,t),c?h(e):s}function _(e){var n=e-u;return void 0===u||n>=t||n<0||f&&e-d>=o}function v(){var e=_o();if(_(e))return g(e);l=bi(v,function(e){var n=t-(e-u);return f?ln(n,o-(e-d)):n}(e))}function g(e){return l=void 0,p&&r?h(e):(r=i=void 0,s)}function y(){var e=_o(),n=_(e);if(r=arguments,i=this,u=e,n){if(void 0===l)return m(u);if(f)return ca(l),l=bi(v,t),h(u)}return void 0===l&&(l=bi(v,t)),s}return t=os(t)||0,Vo(n)&&(c=!!n.leading,o=(f="maxWait"in n)?sn(os(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==l&&ca(l),d=0,r=u=i=l=void 0},y.flush=function(){return void 0===l?s:g(_o())},y}var Eo=Hr((function(e,t){return Zn(e,1,t)})),wo=Hr((function(e,t,n){return Zn(e,os(t)||0,n)}));function Mo(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new ve(a);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o)||i,o};return n.cache=new(Mo.Cache||Rn),n}function Do(e){if("function"!=typeof e)throw new ve(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Mo.Cache=Rn;var Co=ua((function(e,t){var n=(t=1==t.length&&Io(t[0])?ft(t[0],kt(Qa())):ft(or(t,1),kt(Qa()))).length;return Hr((function(r){for(var a=-1,i=ln(r.length,n);++a=t})),Oo=br(function(){return arguments}())?br:function(e){return zo(e)&&we.call(e,"callee")&&!Ge.call(e,"callee")},Io=r.isArray,Yo=Xe?kt(Xe):function(e){return zo(e)&&hr(e)==E};function Ro(e){return null!=e&&Fo(e.length)&&!Uo(e)}function No(e){return zo(e)&&Ro(e)}var jo=nn||ol,Ho=Ze?kt(Ze):function(e){return zo(e)&&hr(e)==d};function Bo(e){if(!zo(e))return!1;var t=hr(e);return t==c||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!$o(e)}function Uo(e){if(!Vo(e))return!1;var t=hr(e);return t==f||t==p||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Wo(e){return"number"==typeof e&&e==as(e)}function Fo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function Vo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function zo(e){return null!=e&&"object"==typeof e}var qo=et?kt(et):function(e){return zo(e)&&ri(e)==h};function Go(e){return"number"==typeof e||zo(e)&&hr(e)==m}function $o(e){if(!zo(e)||hr(e)!=_)return!1;var t=Ve(e);if(null===t)return!0;var n=we.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ee.call(n)==xe}var Jo=tt?kt(tt):function(e){return zo(e)&&hr(e)==v};var Ko=nt?kt(nt):function(e){return zo(e)&&ri(e)==g};function Qo(e){return"string"==typeof e||!Io(e)&&zo(e)&&hr(e)==y}function Xo(e){return"symbol"==typeof e||zo(e)&&hr(e)==b}var Zo=rt?kt(rt):function(e){return zo(e)&&Fo(e.length)&&!!He[hr(e)]};var es=Ya(xr),ts=Ya((function(e,t){return e<=t}));function ns(e){if(!e)return[];if(Ro(e))return Qo(e)?qt(e):ga(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=ri(e);return(t==h?Bt:t==g?Ft:ks)(e)}function rs(e){return e?(e=os(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function as(e){var t=rs(e),n=t%1;return t==t?n?t-n:t:0}function is(e){return e?Kn(as(e),0,4294967295):0}function os(e){if("number"==typeof e)return e;if(Xo(e))return NaN;if(Vo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Vo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Lt(e);var n=ae.test(e);return n||oe.test(e)?Fe(e.slice(2),n?2:8):re.test(e)?NaN:+e}function ss(e){return ya(e,Es(e))}function ls(e){return null==e?"":Xr(e)}var us=Aa((function(e,t){if(fi(t)||Ro(t))ya(t,As(t),e);else for(var n in t)we.call(t,n)&&Vn(e,n,t[n])})),ds=Aa((function(e,t){ya(t,Es(t),e)})),cs=Aa((function(e,t,n,r){ya(t,Es(t),e,r)})),fs=Aa((function(e,t,n,r){ya(t,As(t),e,r)})),ps=za(Jn);var hs=Hr((function(e,t){e=he(e);var n=-1,r=t.length,a=r>2?t[2]:void 0;for(a&&li(t[0],t[1],a)&&(r=1);++n1),t})),ya(e,Ga(e),n),r&&(n=Qn(n,7,Fa));for(var a=t.length;a--;)ea(n,t[a]);return n}));var Cs=za((function(e,t){return null==e?{}:function(e,t){return Ir(e,t,(function(t,n){return vs(e,n)}))}(e,t)}));function xs(e,t){if(null==e)return{};var n=ft(Ga(e),(function(e){return[e]}));return t=Qa(t),Ir(e,n,(function(e,n){return t(e,n[0])}))}var Ts=Ha(As),Ls=Ha(Es);function ks(e){return null==e?[]:St(e,As(e))}var Ss=Da((function(e,t,n){return t=t.toLowerCase(),e+(n?Ps(t):t)}));function Ps(e){return Bs(ls(e).toLowerCase())}function Os(e){return(e=ls(e))&&e.replace(le,Rt).replace(Pe,"")}var Is=Da((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ys=Da((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Rs=Ma("toLowerCase");var Ns=Da((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var js=Da((function(e,t,n){return e+(n?" ":"")+Bs(t)}));var Hs=Da((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Bs=Ma("toUpperCase");function Us(e,t,n){return e=ls(e),void 0===(t=n?void 0:t)?function(e){return Re.test(e)}(e)?function(e){return e.match(Ie)||[]}(e):function(e){return e.match(X)||[]}(e):e.match(t)||[]}var Ws=Hr((function(e,t){try{return at(e,void 0,t)}catch(e){return Bo(e)?e:new ce(e)}})),Fs=za((function(e,t){return ot(t,(function(t){t=Ci(t),$n(e,t,yo(e[t],e))})),e}));function Vs(e){return function(){return e}}var zs=Ta(),qs=Ta(!0);function Gs(e){return e}function $s(e){return Mr("function"==typeof e?e:Qn(e,1))}var Js=Hr((function(e,t){return function(n){return yr(n,e,t)}})),Ks=Hr((function(e,t){return function(n){return yr(e,n,t)}}));function Qs(e,t,n){var r=As(t),a=cr(t,r);null!=n||Vo(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=cr(t,As(t)));var i=!(Vo(n)&&"chain"in n&&!n.chain),o=Uo(e);return ot(a,(function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),a=n.__actions__=ga(this.__actions__);return a.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,pt([this.value()],arguments))})})),e}function Xs(){}var Zs=Pa(ft),el=Pa(lt),tl=Pa(_t);function nl(e){return ui(e)?Mt(Ci(e)):function(e){return function(t){return fr(t,e)}}(e)}var rl=Ia(),al=Ia(!0);function il(){return[]}function ol(){return!1}var sl=Sa((function(e,t){return e+t}),0),ll=Na("ceil"),ul=Sa((function(e,t){return e/t}),1),dl=Na("floor");var cl,fl=Sa((function(e,t){return e*t}),1),pl=Na("round"),hl=Sa((function(e,t){return e-t}),0);return Ln.after=function(e,t){if("function"!=typeof t)throw new ve(a);return e=as(e),function(){if(--e<1)return t.apply(this,arguments)}},Ln.ary=vo,Ln.assign=us,Ln.assignIn=ds,Ln.assignInWith=cs,Ln.assignWith=fs,Ln.at=ps,Ln.before=go,Ln.bind=yo,Ln.bindAll=Fs,Ln.bindKey=bo,Ln.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Io(e)?e:[e]},Ln.chain=to,Ln.chunk=function(e,t,n){t=(n?li(e,t,n):void 0===t)?1:sn(as(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var i=0,o=0,s=r(Zt(a/t));ia?0:a+n),(r=void 0===r||r>a?a:as(r))<0&&(r+=a),r=n>r?0:is(r);n>>0)?(e=ls(e))&&("string"==typeof t||null!=t&&!Jo(t))&&!(t=Xr(t))&&Ht(e)?da(qt(e),0,n):e.split(t,n):[]},Ln.spread=function(e,t){if("function"!=typeof e)throw new ve(a);return t=null==t?0:sn(as(t),0),Hr((function(n){var r=n[t],a=da(n,0,t);return r&&pt(a,r),at(e,this,a)}))},Ln.tail=function(e){var t=null==e?0:e.length;return t?qr(e,1,t):[]},Ln.take=function(e,t,n){return e&&e.length?qr(e,0,(t=n||void 0===t?1:as(t))<0?0:t):[]},Ln.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?qr(e,(t=r-(t=n||void 0===t?1:as(t)))<0?0:t,r):[]},Ln.takeRightWhile=function(e,t){return e&&e.length?na(e,Qa(t,3),!1,!0):[]},Ln.takeWhile=function(e,t){return e&&e.length?na(e,Qa(t,3)):[]},Ln.tap=function(e,t){return t(e),e},Ln.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new ve(a);return Vo(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ao(e,t,{leading:r,maxWait:t,trailing:i})},Ln.thru=no,Ln.toArray=ns,Ln.toPairs=Ts,Ln.toPairsIn=Ls,Ln.toPath=function(e){return Io(e)?ft(e,Ci):Xo(e)?[e]:ga(Di(ls(e)))},Ln.toPlainObject=ss,Ln.transform=function(e,t,n){var r=Io(e),a=r||jo(e)||Zo(e);if(t=Qa(t,4),null==n){var i=e&&e.constructor;n=a?r?new i:[]:Vo(e)&&Uo(i)?kn(Ve(e)):{}}return(a?ot:ur)(e,(function(e,r,a){return t(n,e,r,a)})),n},Ln.unary=function(e){return vo(e,1)},Ln.union=Vi,Ln.unionBy=zi,Ln.unionWith=qi,Ln.uniq=function(e){return e&&e.length?Zr(e):[]},Ln.uniqBy=function(e,t){return e&&e.length?Zr(e,Qa(t,2)):[]},Ln.uniqWith=function(e,t){return t="function"==typeof t?t:void 0,e&&e.length?Zr(e,void 0,t):[]},Ln.unset=function(e,t){return null==e||ea(e,t)},Ln.unzip=Gi,Ln.unzipWith=$i,Ln.update=function(e,t,n){return null==e?e:ta(e,t,sa(n))},Ln.updateWith=function(e,t,n,r){return r="function"==typeof r?r:void 0,null==e?e:ta(e,t,sa(n),r)},Ln.values=ks,Ln.valuesIn=function(e){return null==e?[]:St(e,Es(e))},Ln.without=Ji,Ln.words=Us,Ln.wrap=function(e,t){return xo(sa(t),e)},Ln.xor=Ki,Ln.xorBy=Qi,Ln.xorWith=Xi,Ln.zip=Zi,Ln.zipObject=function(e,t){return ia(e||[],t||[],Vn)},Ln.zipObjectDeep=function(e,t){return ia(e||[],t||[],Wr)},Ln.zipWith=eo,Ln.entries=Ts,Ln.entriesIn=Ls,Ln.extend=ds,Ln.extendWith=cs,Qs(Ln,Ln),Ln.add=sl,Ln.attempt=Ws,Ln.camelCase=Ss,Ln.capitalize=Ps,Ln.ceil=ll,Ln.clamp=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=os(n))==n?n:0),void 0!==t&&(t=(t=os(t))==t?t:0),Kn(os(e),t,n)},Ln.clone=function(e){return Qn(e,4)},Ln.cloneDeep=function(e){return Qn(e,5)},Ln.cloneDeepWith=function(e,t){return Qn(e,5,t="function"==typeof t?t:void 0)},Ln.cloneWith=function(e,t){return Qn(e,4,t="function"==typeof t?t:void 0)},Ln.conformsTo=function(e,t){return null==t||Xn(e,t,As(t))},Ln.deburr=Os,Ln.defaultTo=function(e,t){return null==e||e!=e?t:e},Ln.divide=ul,Ln.endsWith=function(e,t,n){e=ls(e),t=Xr(t);var r=e.length,a=n=void 0===n?r:Kn(as(n),0,r);return(n-=t.length)>=0&&e.slice(n,a)==t},Ln.eq=ko,Ln.escape=function(e){return(e=ls(e))&&j.test(e)?e.replace(R,Nt):e},Ln.escapeRegExp=function(e){return(e=ls(e))&&q.test(e)?e.replace(z,"\\$&"):e},Ln.every=function(e,t,n){var r=Io(e)?lt:rr;return n&&li(e,t,n)&&(t=void 0),r(e,Qa(t,3))},Ln.find=io,Ln.findIndex=Pi,Ln.findKey=function(e,t){return gt(e,Qa(t,3),ur)},Ln.findLast=oo,Ln.findLastIndex=Oi,Ln.findLastKey=function(e,t){return gt(e,Qa(t,3),dr)},Ln.floor=dl,Ln.forEach=so,Ln.forEachRight=lo,Ln.forIn=function(e,t){return null==e?e:sr(e,Qa(t,3),Es)},Ln.forInRight=function(e,t){return null==e?e:lr(e,Qa(t,3),Es)},Ln.forOwn=function(e,t){return e&&ur(e,Qa(t,3))},Ln.forOwnRight=function(e,t){return e&&dr(e,Qa(t,3))},Ln.get=_s,Ln.gt=So,Ln.gte=Po,Ln.has=function(e,t){return null!=e&&ai(e,t,_r)},Ln.hasIn=vs,Ln.head=Yi,Ln.identity=Gs,Ln.includes=function(e,t,n,r){e=Ro(e)?e:ks(e),n=n&&!r?as(n):0;var a=e.length;return n<0&&(n=sn(a+n,0)),Qo(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&bt(e,t,n)>-1},Ln.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:as(n);return a<0&&(a=sn(r+a,0)),bt(e,t,a)},Ln.inRange=function(e,t,n){return t=rs(t),void 0===n?(n=t,t=0):n=rs(n),function(e,t,n){return e>=ln(t,n)&&e=-9007199254740991&&e<=9007199254740991},Ln.isSet=Ko,Ln.isString=Qo,Ln.isSymbol=Xo,Ln.isTypedArray=Zo,Ln.isUndefined=function(e){return void 0===e},Ln.isWeakMap=function(e){return zo(e)&&ri(e)==A},Ln.isWeakSet=function(e){return zo(e)&&"[object WeakSet]"==hr(e)},Ln.join=function(e,t){return null==e?"":an.call(e,t)},Ln.kebabCase=Is,Ln.last=Hi,Ln.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return void 0!==n&&(a=(a=as(n))<0?sn(r+a,0):ln(a,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):yt(e,Et,a,!0)},Ln.lowerCase=Ys,Ln.lowerFirst=Rs,Ln.lt=es,Ln.lte=ts,Ln.max=function(e){return e&&e.length?ar(e,Gs,mr):void 0},Ln.maxBy=function(e,t){return e&&e.length?ar(e,Qa(t,2),mr):void 0},Ln.mean=function(e){return wt(e,Gs)},Ln.meanBy=function(e,t){return wt(e,Qa(t,2))},Ln.min=function(e){return e&&e.length?ar(e,Gs,xr):void 0},Ln.minBy=function(e,t){return e&&e.length?ar(e,Qa(t,2),xr):void 0},Ln.stubArray=il,Ln.stubFalse=ol,Ln.stubObject=function(){return{}},Ln.stubString=function(){return""},Ln.stubTrue=function(){return!0},Ln.multiply=fl,Ln.nth=function(e,t){return e&&e.length?Pr(e,as(t)):void 0},Ln.noConflict=function(){return qe._===this&&(qe._=Te),this},Ln.noop=Xs,Ln.now=_o,Ln.pad=function(e,t,n){e=ls(e);var r=(t=as(t))?zt(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return Oa(en(a),n)+e+Oa(Zt(a),n)},Ln.padEnd=function(e,t,n){e=ls(e);var r=(t=as(t))?zt(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var a=cn();return ln(e+a*(t-e+We("1e-"+((a+"").length-1))),t)}return Nr(e,t)},Ln.reduce=function(e,t,n){var r=Io(e)?ht:Ct,a=arguments.length<3;return r(e,Qa(t,4),n,a,tr)},Ln.reduceRight=function(e,t,n){var r=Io(e)?mt:Ct,a=arguments.length<3;return r(e,Qa(t,4),n,a,nr)},Ln.repeat=function(e,t,n){return t=(n?li(e,t,n):void 0===t)?1:as(t),jr(ls(e),t)},Ln.replace=function(){var e=arguments,t=ls(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Ln.result=function(e,t,n){var r=-1,a=(t=la(t,e)).length;for(a||(a=1,e=void 0);++r9007199254740991)return[];var n=4294967295,r=ln(e,4294967295);e-=4294967295;for(var a=Tt(r,t=Qa(t));++n=i)return e;var s=n-zt(r);if(s<1)return r;var l=o?da(o,0,s).join(""):e.slice(0,s);if(void 0===a)return l+r;if(o&&(s+=l.length-s),Jo(a)){if(e.slice(s).search(a)){var u,d=l;for(a.global||(a=me(a.source,ls(ne.exec(a))+"g")),a.lastIndex=0;u=a.exec(d);)var c=u.index;l=l.slice(0,void 0===c?s:c)}}else if(e.indexOf(Xr(a),s)!=s){var f=l.lastIndexOf(a);f>-1&&(l=l.slice(0,f))}return l+r},Ln.unescape=function(e){return(e=ls(e))&&N.test(e)?e.replace(Y,$t):e},Ln.uniqueId=function(e){var t=++Me;return ls(e)+t},Ln.upperCase=Hs,Ln.upperFirst=Bs,Ln.each=so,Ln.eachRight=lo,Ln.first=Yi,Qs(Ln,(cl={},ur(Ln,(function(e,t){we.call(Ln.prototype,t)||(cl[t]=e)})),cl),{chain:!1}),Ln.VERSION="4.17.21",ot(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Ln[e].placeholder=Ln})),ot(["drop","take"],(function(e,t){On.prototype[e]=function(n){n=void 0===n?1:sn(as(n),0);var r=this.__filtered__&&!t?new On(this):this.clone();return r.__filtered__?r.__takeCount__=ln(n,r.__takeCount__):r.__views__.push({size:ln(n,4294967295),type:e+(r.__dir__<0?"Right":"")}),r},On.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),ot(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;On.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Qa(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),ot(["head","last"],(function(e,t){var n="take"+(t?"Right":"");On.prototype[e]=function(){return this[n](1).value()[0]}})),ot(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");On.prototype[e]=function(){return this.__filtered__?new On(this):this[n](1)}})),On.prototype.compact=function(){return this.filter(Gs)},On.prototype.find=function(e){return this.filter(e).head()},On.prototype.findLast=function(e){return this.reverse().find(e)},On.prototype.invokeMap=Hr((function(e,t){return"function"==typeof e?new On(this):this.map((function(n){return yr(n,e,t)}))})),On.prototype.reject=function(e){return this.filter(Do(Qa(e)))},On.prototype.slice=function(e,t){e=as(e);var n=this;return n.__filtered__&&(e>0||t<0)?new On(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),void 0!==t&&(n=(t=as(t))<0?n.dropRight(-t):n.take(t-e)),n)},On.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},On.prototype.toArray=function(){return this.take(4294967295)},ur(On.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=Ln[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);a&&(Ln.prototype[t]=function(){var t=this.__wrapped__,o=r?[1]:arguments,s=t instanceof On,l=o[0],u=s||Io(t),d=function(e){var t=a.apply(Ln,pt([e],o));return r&&c?t[0]:t};u&&n&&"function"==typeof l&&1!=l.length&&(s=u=!1);var c=this.__chain__,f=!!this.__actions__.length,p=i&&!c,h=s&&!f;if(!i&&u){t=h?t:new On(this);var m=e.apply(t,o);return m.__actions__.push({func:no,args:[d],thisArg:void 0}),new Pn(m,c)}return p&&h?e.apply(this,o):(m=this.thru(d),p?r?m.value()[0]:m.value():m)})})),ot(["pop","push","shift","sort","splice","unshift"],(function(e){var t=ge[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Ln.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply(Io(a)?a:[],e)}return this[n]((function(n){return t.apply(Io(n)?n:[],e)}))}})),ur(On.prototype,(function(e,t){var n=Ln[t];if(n){var r=n.name+"";we.call(bn,r)||(bn[r]=[]),bn[r].push({name:t,func:n})}})),bn[La(void 0,2).name]=[{name:"wrapper",func:void 0}],On.prototype.clone=function(){var e=new On(this.__wrapped__);return e.__actions__=ga(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=ga(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=ga(this.__views__),e},On.prototype.reverse=function(){if(this.__filtered__){var e=new On(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},On.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Io(e),r=t<0,a=n?e.length:0,i=function(e,t,n){var r=-1,a=n.length;for(;++r=this.__values__.length;return{done:e,value:e?void 0:this.__values__[this.__index__++]}},Ln.prototype.plant=function(e){for(var t,n=this;n instanceof Sn;){var r=Ti(n);r.__index__=0,r.__values__=void 0,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t},Ln.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof On){var t=e;return this.__actions__.length&&(t=new On(this)),(t=t.reverse()).__actions__.push({func:no,args:[Fi],thisArg:void 0}),new Pn(t,this.__chain__)}return this.thru(Fi)},Ln.prototype.toJSON=Ln.prototype.valueOf=Ln.prototype.value=function(){return ra(this.__wrapped__,this.__actions__)},Ln.prototype.first=Ln.prototype.head,Qe&&(Ln.prototype[Qe]=function(){return this}),Ln}();qe._=Jt,void 0===(r=function(){return Jt}.call(t,n,t,e))||(e.exports=r)}).call(void 0)}).call(this,n(104)(e))},function(e,t,n){"use strict";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){e.exports=require("os")},function(e,t){e.exports=require("path")},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERROR_OCCURED=t.DISCOVERY_TOGGLE_OPTIONS_EXPANDED=t.DISCOVERY_TOGGLE_EXPANDED=t.DISCOVERY_SET_TIMEOUT=t.DISCOVERY_SET_OPTIONS=t.DISCOVERY_SCAN_STOPPED=t.DISCOVERY_SCAN_STARTED=t.DISCOVERY_DEVICE_FOUND=t.DISCOVERY_CLEAR_LIST=t.DISCOVERY_ACTIVE_SCAN=void 0,t.changeActiveScan=function(){return{type:"DISCOVERY_ACTIVE_SCAN"}},t.clearDevicesList=function(){return e=>{e({type:"DISCOVERY_CLEAR_LIST"})}},t.setDiscoveryOptions=function(e){return function(e){return{type:"DISCOVERY_SET_OPTIONS",options:e}}(e)},t.setTimeoutChange=function(e){return function(e){return{type:"DISCOVERY_SET_TIMEOUT",value:e}}(e)},t.toggleExpanded=function(e){return function(e){return{type:"DISCOVERY_TOGGLE_EXPANDED",deviceAddress:e}}(e)},t.toggleOptionsExpanded=function(){return{type:"DISCOVERY_TOGGLE_OPTIONS_EXPANDED"}},t.toggleScan=function(){return(e,t)=>{const n=t().app.adapter.selectedAdapter;n&&n.state?n.state.scanning&&n.state.available?function(e,t){new Promise((e,n)=>{const r=t().app.adapter.bleDriver.adapter;null===r&&n(new Error("No adapter is selected.")),r.stopScan(t=>{t?n(t):e()})}).then(()=>{e({type:"DISCOVERY_SCAN_STOPPED"})}).catch(t=>{e(r(t))})}(e,t):!n.state.scanning&&n.state.available?function(e,t){new Promise((e,n)=>{const r=t().app.discovery.options,a={active:r.activeScan,interval:r.scanInterval,window:r.scanWindow,timeout:r.scanTimeout},i=t().app.adapter.bleDriver.adapter;null==i&&n(new Error("No adapter is selected.")),i.startScan(a,t=>{t?n(t):e()})}).then(()=>{e({type:"DISCOVERY_SCAN_STARTED"})}).catch(t=>{e(r(t))})}(e,t):e(r("scanInProgress and adapterIsOpen is in a combination that makes it impossible to toggle scanning.")):e(r("No adapter selected or adapter is missing state. Failing."))}};t.DISCOVERY_DEVICE_FOUND="DISCOVERY_DEVICE_FOUND";t.DISCOVERY_CLEAR_LIST="DISCOVERY_CLEAR_LIST";t.DISCOVERY_SCAN_STARTED="DISCOVERY_SCAN_STARTED";t.DISCOVERY_SCAN_STOPPED="DISCOVERY_SCAN_STOPPED";t.DISCOVERY_TOGGLE_EXPANDED="DISCOVERY_TOGGLE_EXPANDED";t.DISCOVERY_TOGGLE_OPTIONS_EXPANDED="DISCOVERY_TOGGLE_OPTIONS_EXPANDED";t.DISCOVERY_SET_OPTIONS="DISCOVERY_SET_OPTIONS";t.DISCOVERY_ACTIVE_SCAN="DISCOVERY_ACTIVE_SCAN";t.DISCOVERY_SET_TIMEOUT="DISCOVERY_SET_TIMEOUT";function r(e){return{type:"ERROR_OCCURED",error:e}}t.ERROR_OCCURED="ERROR_OCCURED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pascalCase=function(e,t){void 0===t&&(t={});return(0,a.noCase)(e,(0,r.__assign)({delimiter:"",transform:i},t))},t.pascalCaseTransform=i,t.pascalCaseTransformMerge=function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()};var r=n(20),a=n(34);function i(e,t){var n=e.charAt(0),r=e.substr(1).toLowerCase();return t>0&&n>="0"&&n<="9"?"_"+n+r:""+n.toUpperCase()+r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.capitalCase=function(e,t){void 0===t&&(t={});return(0,a.noCase)(e,(0,r.__assign)({delimiter:" ",transform:o},t))},t.capitalCaseTransform=o;var r=n(20),a=n(34),i=n(110);function o(e){return(0,i.upperCaseFirst)(e.toLowerCase())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.upperCaseFirst=function(e){return e.charAt(0).toUpperCase()+e.substr(1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DiscoveryOptions=void 0,t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m(),t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.DISCOVERY_CLEAR_LIST:return A(e);case o.ERROR_OCCURED:return b(e,t.error);case o.DISCOVERY_SCAN_STARTED:return _(e);case o.DISCOVERY_SCAN_STOPPED:return v(e);case o.DISCOVERY_TOGGLE_EXPANDED:return x(e,t.deviceAddress);case o.DISCOVERY_TOGGLE_OPTIONS_EXPANDED:return T(e);case o.DISCOVERY_SET_OPTIONS:return L(e,t.options);case o.DISCOVERY_SET_TIMEOUT:return k(e,t.value);case o.DISCOVERY_ACTIVE_SCAN:return S(e);case i.DEVICE_DISCOVERED:return y(e,t.device);case i.DEVICE_CONNECT:return E(e,t.device);case i.DEVICE_CONNECTED:return w(e,t.device);case i.DEVICE_DISCONNECTED:return M(e,t.device);case i.DEVICE_CONNECT_TIMEOUT:return D(e,t.deviceAddress);case i.DEVICE_CANCEL_CONNECT:return C(e);case i.ADAPTER_RESET_PERFORMED:case i.ADAPTER_CLOSED:return m();default:return e}};var r=n(9),a=n(8),i=d(n(10)),o=d(n(107)),s=n(43),l=d(n(12));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;tnew r.Record({expanded:!1,sortByRssi:!1,filterString:"",scanInterval:100,scanWindow:20,scanTimeout:s.persistentStore.scanTimeout(),activeScan:s.persistentStore.activeScan(),filterRegexp:""})(e);t.DiscoveryOptions=h;const m=()=>new r.Record({devices:(0,r.OrderedMap)(),errors:(0,r.List)(),options:h()})();function _(e){return a.logger.info("Scan started"),e}function v(e){return a.logger.info("Scan stopped"),e}function g(e){let t=e;if(t.options.sortByRssi){const e=t.devices.sort((e,t)=>e.rssit.rssi?-1:0);t=t.set("devices",e)}return t}function y(e,t){let n=e,r=l.getImmutableDevice(t);const a=n.devices.get(t.address);if(a){""===a.name||t.name||(r=r.setIn(["name"],a.name)),a.services.size>0&&0===t.services.length&&(r=r.setIn(["services"],a.services)),r=r.setIn(["isExpanded"],a.isExpanded);const e=a.adData.merge(r.adData);r=r.mergeIn(["adData"],e)}return null===r.name&&(r=r.setIn(["name"],"")),n=n.setIn(["devices",t.address],r),n=g(n),n}function b(e,t){return e.set("errors",e.errors.push(t))}function A(e){return e.set("devices",e.devices.clear())}function E(e,t){return e.devices.get(t.address)?e.setIn(["devices",t.address,"isConnecting"],!0):e}function w(e,t){return e.devices.get(t.address)?e.setIn(["devices",t.address,"isConnecting"],!1).setIn(["devices",t.address,"connected"],!0):e}function M(e,t){return e.devices.get(t.address)?e.setIn(["devices",t.address,"connected"],!1):e}function D(e,t){return a.logger.info("Connection to device timed out"),e.setIn(["devices",t.address,"isConnecting"],!1)}function C(e){const t=e.devices.map(e=>e.set("isConnecting",!1));return e.set("devices",t)}function x(e,t){return e.updateIn(["devices",t,"isExpanded"],e=>!e)}function T(e){return e.updateIn(["options","expanded"],e=>!e)}function L(e,t){const n=f(f({},t),{},{filterRegexp:new RegExp(t.filterString,"i")});return g(e.set("options",h(n)))}function k(e,t){return s.persistentStore.setScanTimeout(+t),e.setIn(["options","scanTimeout"],+t)}function S(e){return s.persistentStore.setActiveScan(!e.options.activeScan),e.updateIn(["options","activeScan"],e=>!e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t,n,r){var a=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,a),n.__once&&e.removeEventListener(t,n.__once,a)};t.default=r,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){null==n&&(s=e,l=(0,r.default)(s,"transitionDuration")||"",u=-1===l.indexOf("ms")?1e3:1,n=parseFloat(l)*u||0);var s,l,u;var d=function(e,t,n){void 0===n&&(n=5);var r=!1,o=setTimeout((function(){r||(0,i.default)(e,"transitionend",!0)}),t+n),s=(0,a.default)(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(o),s()}}(e,n,o),c=(0,a.default)(e,"transitionend",t);return function(){d(),c()}};var r=o(n(57)),a=o(n(80)),i=o(n(342));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.useRef)(null);return(0,r.useEffect)((function(){t.current=e})),t.current};var r=n(1);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(345)),a=u(n(346)),i=u(n(57)),o=u(n(77)),s=u(n(347)),l=n(350);function u(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(e){var t=void 0===e?{}:e,n=t.hideSiblingNodes,r=void 0===n||n,a=t.handleContainerOverflow,i=void 0===a||a;this.hideSiblingNodes=void 0,this.handleContainerOverflow=void 0,this.modals=void 0,this.containers=void 0,this.data=void 0,this.scrollbarSize=void 0,this.hideSiblingNodes=r,this.handleContainerOverflow=i,this.modals=[],this.containers=[],this.data=[],this.scrollbarSize=(0,o.default)()}var t=e.prototype;return t.isContainerOverflowing=function(e){var t=this.data[this.containerIndexFromModal(e)];return t&&t.overflowing},t.containerIndexFromModal=function(e){return t=this.data,n=function(t){return-1!==t.modals.indexOf(e)},r=-1,t.some((function(e,t){return!!n(e,t)&&(r=t,!0)})),r;var t,n,r},t.setContainerStyle=function(e,t){var n={overflow:"hidden"};e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing&&(n.paddingRight=parseInt((0,i.default)(t,"paddingRight")||"0",10)+this.scrollbarSize+"px"),(0,i.default)(t,n)},t.removeContainerStyle=function(e,t){Object.assign(t.style,e.style)},t.add=function(e,t,n){var a=this.modals.indexOf(e),i=this.containers.indexOf(t);if(-1!==a)return a;if(a=this.modals.length,this.modals.push(e),this.hideSiblingNodes&&(0,l.hideSiblings)(t,e),-1!==i)return this.data[i].modals.push(e),a;var o={modals:[e],classes:n?n.split(/\s+/):[],overflowing:(0,s.default)(t)};return this.handleContainerOverflow&&this.setContainerStyle(o,t),o.classes.forEach(r.default.bind(null,t)),this.containers.push(t),this.data.push(o),a},t.remove=function(e){var t=this.modals.indexOf(e);if(-1!==t){var n=this.containerIndexFromModal(e),r=this.data[n],i=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.classes.forEach(a.default.bind(null,i)),this.handleContainerOverflow&&this.removeContainerStyle(r,i),this.hideSiblingNodes&&(0,l.showSiblings)(i,e),this.containers.splice(n,1),this.data.splice(n,1);else if(this.hideSiblingNodes){var o=r.modals[r.modals.length-1],s=o.backdrop,u=o.dialog;(0,l.ariaHidden)(!1,u),(0,l.ariaHidden)(!1,s)}}},t.isTopModal=function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e},e}();t.default=d,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.useState)((function(){return o(e)})),r=n[0],a=n[1];if(!r){var s=o(e);s&&a(s)}return(0,i.useEffect)((function(){t&&r&&t(r)}),[t,r]),(0,i.useEffect)((function(){var t=o(e);t!==r&&a(t)}),[e,r]),r},t.resolveContainerRef=void 0;var r,a=(r=n(35))&&r.__esModule?r:{default:r},i=n(1);var o=function(e){var t;return"undefined"==typeof document?null:null==e?(0,a.default)().body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),null!=(t=e)&&t.nodeType&&e||null)};t.resolveContainerRef=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,a.default)(e,t)};var r,a=(r=n(352))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return r(e.querySelectorAll(t))};var r=Function.prototype.bind.call(Function.prototype.call,[].slice);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(3)),a=f(n(4)),i=f(n(5)),o=c(n(1)),s=c(n(353)),l=f(n(357)),u=f(n(358));function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function f(e){return e&&e.__esModule?e:{default:e}}var p,h=["className","children"],m=((p={})[s.ENTERING]="show",p[s.ENTERED]="show",p),_=o.default.forwardRef((function(e,t){var n=e.className,d=e.children,c=(0,a.default)(e,h),f=(0,o.useCallback)((function(e){(0,u.default)(e),c.onEnter&&c.onEnter(e)}),[c]);return o.default.createElement(s.default,(0,r.default)({ref:t,addEndListener:l.default},c,{onEnter:f}),(function(e,t){return o.default.cloneElement(d,(0,r.default)({},t,{className:(0,i.default)("fade",n,d.props.className,m[e])}))}))}));_.defaultProps={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1},_.displayName="Fade";var v=_;t.default=v,e.exports=t.default},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=((r=n(1))&&r.__esModule?r:{default:r}).default.createContext({onHide:function(){}});t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v(),t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.SECURITY_SET_PARAMS:return y(e,t.params);case o.SECURITY_HIDE_DIALOG:return e.set("showingSecurityDialog",!1);case o.SECURITY_SHOW_DIALOG:return e.set("showingSecurityDialog",!0);case o.SECURITY_TOGGLE_AUTO_ACCEPT_PAIRING:return b(e);case o.SECURITY_DELETE_BOND_INFO:return e.set("bondStore",new r.Map);case i.DEVICE_ADD_BOND_INFO:return g(e,t.device,t.params);case i.DEVICE_SECURITY_STORE_PEER_PARAMS:return A(e,t.device,null,t.peerParams);case i.DEVICE_SECURITY_STORE_OWN_PARAMS:return A(e,t.device,t.ownParams,null);default:return e}},t.getImmutableSecurityParameters=function(e){return m(e)};var r=u(n(9)),a=n(8),i=u(n(10)),o=u(n(60)),s=n(43);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function u(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;tnew r.Record(s.persistentStore.secParams(c(c({},p),h)))(e);const _=(0,r.Record)({ownParams:m(),peerParams:m()}),v=()=>new r.Record({securityParams:m(),showingSecurityDialog:!1,autoAcceptPairing:s.persistentStore.autoAcceptPairing(),bondStore:new r.Map,connectionsSecParameters:new r.Map})();function g(e,t,n){const i=e.set("bondStore",e.bondStore.set(t.address,r.default.fromJS(n.keyset)));return a.logger.info("Storing bond info for device "+t.address),a.logger.debug("Bond info: "+JSON.stringify(e.bondStore)),i}function y(e,t){return s.persistentStore.setSecParams(t),e.set("securityParams",m(t))}function b(e){return s.persistentStore.setAutoAcceptPairing(!e.autoAcceptPairing),e.set("autoAcceptPairing",!e.autoAcceptPairing)}function A(e,t,n,r){let a=e.getIn(["connectionsSecParameters",t.address]);return a?(null!=n&&(a=a.set("ownParams",n)),null!=r&&(a=a.set("peerParams",r))):a=new _({ownParams:n,peerParams:r}),e.setIn(["connectionsSecParameters",t.address],a)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(1)),a=c(n(26)),i=c(n(46)),o=c(n(37)),s=c(n(145)),l=c(n(18)),u=c(n(36)),d=c(n(2));function c(e){return e&&e.__esModule?e:{default:e}}function f(e){switch(e){case 0:return"Display, no keyboard";case 1:return"Display and yes no entry";case 2:return"Keyboard, no display";case 3:return"No keyboard, no display";case 4:return"Keyboard and display";default:return""}}class p extends r.default.PureComponent{constructor(e){super(e),this.state={io_caps:this.props.securityParams.io_caps,lesc:this.props.securityParams.lesc,mitm:this.props.securityParams.mitm,oob:this.props.securityParams.oob,keypress:this.props.securityParams.keypress,bond:this.props.securityParams.bond,io_caps_title:f(this.props.securityParams.io_caps)}}onIoCapsSelect(e,t){const n=parseInt(t,10);this.setState({io_caps:n,io_caps_title:f(n)},()=>{this.props.onChange(this.state)})}handleCheckboxChange(e,t){this.setState({[e]:t},()=>{this.props.onChange(this.state)})}render(){return r.default.createElement(i.default,null,r.default.createElement(u.default,{className:"form-group"},r.default.createElement(a.default,{sm:4,className:"form-label text-right"},"IO capabilities"),r.default.createElement(a.default,{sm:7},r.default.createElement(s.default,{title:this.state.io_caps_title,key:"ioCapsDropdownKey",id:"ioCapsDropdownId",onSelect:(e,t)=>this.onIoCapsSelect(t,e),variant:"secondary"},r.default.createElement(o.default.Item,{eventKey:0},f(0)),r.default.createElement(o.default.Item,{eventKey:1},f(1)),r.default.createElement(o.default.Item,{eventKey:2},f(2)),r.default.createElement(o.default.Item,{eventKey:3},f(3)),r.default.createElement(o.default.Item,{eventKey:4},f(4))))),r.default.createElement(u.default,{className:"form-group"},r.default.createElement(a.default,{sm:4,className:"form-label text-right align-baseline"},"Authentication"),r.default.createElement(a.default,{sm:7},r.default.createElement(l.default.Group,{controlId:"enableLescCheck"},r.default.createElement(l.default.Check,{defaultChecked:this.state.lesc,onChange:e=>this.handleCheckboxChange("lesc",e.target.checked),label:"Enable LE Secure Connection pairing"})),r.default.createElement(l.default.Group,{controlId:"enableMitmCheck"},r.default.createElement(l.default.Check,{defaultChecked:this.state.mitm,onChange:e=>this.handleCheckboxChange("mitm",e.target.checked),label:"Enable MITM protection"})),r.default.createElement(l.default.Group,{controlId:"enableOobCheck"},r.default.createElement(l.default.Check,{defaultChecked:this.state.oob,onChange:e=>this.handleCheckboxChange("oob",e.target.checked),label:"Enable OOB data"})))),r.default.createElement(u.default,{className:"form-group"},r.default.createElement(a.default,{sm:4,className:"form-label text-right"},"Keypress notifications"),r.default.createElement(a.default,{sm:7},r.default.createElement(l.default.Group,{controlId:"enableKeypressCheck"},r.default.createElement(l.default.Check,{defaultChecked:this.state.keypress,onChange:e=>this.handleCheckboxChange("keypress",e.target.checked),label:"Enable keypress notifications"})))),r.default.createElement(u.default,{className:"form-group"},r.default.createElement(a.default,{sm:4,className:"form-label text-right align-baseline"},"Bonding"),r.default.createElement(a.default,{sm:7},r.default.createElement(l.default.Group,{controlId:"performBondingCheck"},r.default.createElement(l.default.Check,{defaultChecked:this.state.bond,onChange:e=>this.handleCheckboxChange("bond",e.target.checked),label:"Perform bonding"})))))}}p.propTypes={onChange:d.default.func.isRequired,securityParams:d.default.object.isRequired};var h=p;t.default=h,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canAcceptRef=function(e){return!!e&&("function"!=typeof e||e.prototype&&e.prototype.isReactComponent)},t.defaultKey=i,t.isProp=function(e,t){return void 0!==e[t]},t.uncontrolledPropTypes=function(e,t){var n={};return Object.keys(e).forEach((function(e){n[i(e)]=a})),n};var r;(r=n(87))&&r.__esModule;var a=function(){};function i(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.useDropdownMenu=m;var r=p(n(58)),a=p(n(44)),i=p(n(2)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),s=p(n(78)),l=p(n(88)),u=p(n(126)),d=p(n(136)),c=p(n(137));function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function p(e){return e&&e.__esModule?e:{default:e}}var h=function(){};function m(e){void 0===e&&(e={});var t=(0,o.useContext)(l.default),n=(0,s.default)(),r=n[0],i=n[1],f=(0,o.useRef)(!1),p=e,m=p.flip,_=p.offset,v=p.rootCloseEvent,g=p.fixed,y=void 0!==g&&g,b=p.popperConfig,A=void 0===b?{}:b,E=p.usePopper,w=void 0===E?!!t:E,M=null==(null==t?void 0:t.show)?!!e.show:t.show,D=null==(null==t?void 0:t.alignEnd)?e.alignEnd:t.alignEnd;M&&!f.current&&(f.current=!0);var C=t||{},x=C.drop,T=C.setMenu,L=C.menuElement,k=C.toggleElement,S=D?"bottom-end":"bottom-start";"up"===x?S=D?"top-end":"top-start":"right"===x?S=D?"right-end":"right-start":"left"===x&&(S=D?"left-end":"left-start");var P=(0,u.default)(k,L,(0,c.default)({placement:S,enabled:!(!w||!M),enableEvents:M,offset:_,flip:m,fixed:y,arrowElement:r,popperConfig:A})),O=(0,a.default)({ref:T||h,"aria-labelledby":null==k?void 0:k.id},P.attributes.popper,{style:P.styles.popper}),I={show:M,alignEnd:D,hasShown:f.current,toggle:null==t?void 0:t.toggle,popper:w?P:null,arrowProps:w?(0,a.default)({ref:i},P.attributes.arrow,{style:P.styles.arrow}):{}};return(0,d.default)(L,(function(e){null==t||t.toggle(!1,e)}),{clickTrigger:v,disabled:!M}),[O,I]}var _={children:i.default.func.isRequired,show:i.default.bool,alignEnd:i.default.bool,flip:i.default.bool,usePopper:i.default.oneOf([!0,!1]),popperConfig:i.default.object,rootCloseEvent:i.default.string};function v(e){var t=e.children,n=m((0,r.default)(e,["children"])),a=n[0],i=n[1];return o.default.createElement(o.default.Fragment,null,i.hasShown?t(a,i):null)}v.displayName="ReactOverlaysDropdownMenu",v.propTypes=_,v.defaultProps={usePopper:!0};var g=v;t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(44)),a=l(n(58)),i=n(1),o=l(n(380)),s=n(127);function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}},d={name:"applyStyles",enabled:!1},c={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:function(e){var t=e.state;return function(){var e=t.elements,n=e.reference,r=e.popper;if("removeAttribute"in n){var a=(n.getAttribute("aria-describedby")||"").split(",").filter((function(e){return e.trim()!==r.id}));a.length?n.setAttribute("aria-describedby",a.join(",")):n.removeAttribute("aria-describedby")}}},fn:function(e){var t,n=e.state.elements,r=n.popper,a=n.reference,i=null==(t=r.getAttribute("role"))?void 0:t.toLowerCase();if(r.id&&"tooltip"===i&&"setAttribute"in a){var o=a.getAttribute("aria-describedby");if(o&&-1!==o.split(",").indexOf(r.id))return;a.setAttribute("aria-describedby",o?o+","+r.id:r.id)}}},f=[];var p=function(e,t,n){var l=void 0===n?{}:n,p=l.enabled,h=void 0===p||p,m=l.placement,_=void 0===m?"bottom":m,v=l.strategy,g=void 0===v?"absolute":v,y=l.modifiers,b=void 0===y?f:y,A=(0,a.default)(l,["enabled","placement","strategy","modifiers"]),E=(0,i.useRef)(),w=(0,i.useCallback)((function(){var e;null==(e=E.current)||e.update()}),[]),M=(0,i.useCallback)((function(){var e;null==(e=E.current)||e.forceUpdate()}),[]),D=(0,o.default)((0,i.useState)({placement:_,update:w,forceUpdate:M,attributes:{},styles:{popper:u(g),arrow:{}}})),C=D[0],x=D[1],T=(0,i.useMemo)((function(){return{name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:function(e){var t=e.state,n={},r={};Object.keys(t.elements).forEach((function(e){n[e]=t.styles[e],r[e]=t.attributes[e]})),x({state:t,styles:n,attributes:r,update:w,forceUpdate:M,placement:t.placement})}}}),[w,M,x]);return(0,i.useEffect)((function(){E.current&&h&&E.current.setOptions({placement:_,strategy:g,modifiers:[].concat(b,[T,d])})}),[g,_,T,h]),(0,i.useEffect)((function(){if(h&&null!=e&&null!=t)return E.current=(0,s.createPopper)(e,t,(0,r.default)({},A,{placement:_,strategy:g,modifiers:[].concat(b,[c,T])})),function(){null!=E.current&&(E.current.destroy(),E.current=void 0,x((function(e){return(0,r.default)({},e,{attributes:{},styles:{popper:u(g)}})})))}}),[h,e,t]),C};t.default=p,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPopper=void 0,Object.defineProperty(t,"placements",{enumerable:!0,get:function(){return c.placements}});var r=f(n(381)),a=f(n(383)),i=f(n(384)),o=f(n(385)),s=f(n(393)),l=f(n(394)),u=f(n(395)),d=f(n(396)),c=n(11);function f(e){return e&&e.__esModule?e:{default:e}}var p=(0,n(398).popperGenerator)({defaultModifiers:[s.default,u.default,a.default,i.default,l.default,o.default,d.default,r.default]});t.createPopper=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.isShadowRoot)(n)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1};var r=n(15);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.within=a,t.withinMaxClamp=function(e,t,n){var r=a(e,t,n);return r>n?n:r};var r=n(29);function a(e,t,n){return(0,r.max)(e,(0,r.min)(t,n))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.assign({},(0,a.default)(),e)};var r,a=(r=n(131))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return{top:0,right:0,bottom:0,left:0}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){var s;void 0===n&&(n=[]);var l=(0,r.default)(t),u=l===(null==(s=t.ownerDocument)?void 0:s.body),d=(0,i.default)(l),c=u?[d].concat(d.visualViewport||[],(0,o.default)(l)?l:[]):l,f=n.concat(c);return u?f:f.concat(e((0,a.default)(c)))};var r=s(n(391)),a=s(n(62)),i=s(n(22)),o=s(n(93));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=e.reference,s=e.element,l=e.placement,u=l?(0,r.default)(l):null,d=l?(0,a.default)(l):null,c=n.x+n.width/2-s.width/2,f=n.y+n.height/2-s.height/2;switch(u){case o.top:t={x:c,y:n.y-s.height};break;case o.bottom:t={x:c,y:n.y+n.height};break;case o.right:t={x:n.x+n.width,y:f};break;case o.left:t={x:n.x-s.width,y:f};break;default:t={x:n.x,y:n.y}}var p=u?(0,i.default)(u):null;if(null!=p){var h="y"===p?"height":"width";switch(d){case o.start:t[p]=t[p]-(n[h]/2-s[h]/2);break;case o.end:t[p]=t[p]+(n[h]/2-s[h]/2)}}return t};var r=s(n(24)),a=s(n(50)),i=s(n(90)),o=n(11);function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(81)),a=u(n(80)),i=n(1),o=u(n(23)),s=u(n(30)),l=u(n(409));function u(e){return e&&e.__esModule?e:{default:e}}var d=function(){};var c=function(e){return e&&("current"in e?e.current:e)};var f=function(e,t,n){var u=void 0===n?{}:n,f=u.disabled,p=u.clickTrigger,h=void 0===p?"click":p,m=(0,i.useRef)(!1),_=t||d,v=(0,i.useCallback)((function(t){var n,a=c(e);(0,s.default)(!!a,"RootClose captured a close event but does not have a ref to compare it to. useRootClose(), should be passed a ref that resolves to a DOM node"),m.current=!(a&&(n=t,!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey))&&function(e){return 0===e.button}(t)&&!(0,r.default)(a,t.target))}),[e]),g=(0,o.default)((function(e){m.current||_(e)})),y=(0,o.default)((function(e){27===e.keyCode&&_(e)}));(0,i.useEffect)((function(){if(!f&&null!=e){var t=window.event,n=(0,l.default)(c(e)),r=(0,a.default)(n,h,v,!0),i=(0,a.default)(n,h,(function(e){e!==t?g(e):t=void 0})),o=(0,a.default)(n,"keyup",(function(e){e!==t?y(e):t=void 0})),s=[];return"ontouchstart"in n.documentElement&&(s=[].slice.call(n.body.children).map((function(e){return(0,a.default)(e,"mousemove",d)}))),function(){r(),i(),o(),s.forEach((function(e){return e()}))}}}),[e,f,h,v,g,y])};t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,r,s,l=e.enabled,u=e.enableEvents,d=e.placement,c=e.flip,f=e.offset,p=e.fixed,h=e.containerPadding,m=e.arrowElement,_=e.popperConfig,v=void 0===_?{}:_,g=i(v.modifiers);return(0,a.default)({},v,{placement:d,enabled:l,strategy:p?"fixed":v.strategy,modifiers:o((0,a.default)({},g,{eventListeners:{enabled:u},preventOverflow:(0,a.default)({},g.preventOverflow,{options:h?(0,a.default)({padding:h},null==(t=g.preventOverflow)?void 0:t.options):null==(n=g.preventOverflow)?void 0:n.options}),offset:{options:(0,a.default)({offset:f},null==(r=g.offset)?void 0:r.options)},arrow:(0,a.default)({},g.arrow,{enabled:!!m,options:(0,a.default)({},null==(s=g.arrow)?void 0:s.options,{element:m})}),flip:(0,a.default)({enabled:!!c},g.flip)}))})},t.toModifierArray=o,t.toModifierMap=i;var r,a=(r=n(44))&&r.__esModule?r:{default:r};function i(e){var t={};return Array.isArray(e)?(null==e||e.forEach((function(e){t[e.name]=e})),t):e||t}function o(e){return void 0===e&&(e={}),Array.isArray(e)?e:Object.keys(e).map((function(t){return e[t].name=t,e[t]}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.useDropdownToggle=u;var r=s(n(2)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=a?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),i=s(n(88));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){};function u(){var e=(0,a.useContext)(i.default)||{},t=e.show,n=void 0!==t&&t,r=e.toggle,o=void 0===r?l:r,s=e.setToggle,u=(0,a.useCallback)((function(e){o(!n,e)}),[n,o]);return[{ref:s||l,onClick:u,"aria-haspopup":!0,"aria-expanded":!!n},{show:n,toggle:o}]}var d={children:r.default.func.isRequired};function c(e){var t=e.children,n=u(),r=n[0],i=n[1];return a.default.createElement(a.default.Fragment,null,t(r,i))}c.displayName="ReactOverlaysDropdownToggle",c.propTypes=d;var f=c;t.default=f},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.makeEventKey=t.default=void 0;var a=((r=n(1))&&r.__esModule?r:{default:r}).default.createContext(null);t.makeEventKey=function(e,t){return void 0===t&&(t=null),null!=e?String(e):t||null};var i=a;t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.alignPropType=void 0;var r=m(n(3)),a=m(n(4)),i=m(n(5)),o=m(n(2)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),l=n(125),u=m(n(63)),d=(m(n(30)),m(n(412))),c=n(6),f=m(n(141)),p=m(n(142));function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}function m(e){return e&&e.__esModule?e:{default:e}}var _=["bsPrefix","className","align","alignRight","rootCloseEvent","flip","show","renderOnMount","as","popperConfig"],v=o.default.oneOf(["left","right"]),g=o.default.oneOfType([v,o.default.shape({sm:v}),o.default.shape({md:v}),o.default.shape({lg:v}),o.default.shape({xl:v})]);t.alignPropType=g;var y=s.default.forwardRef((function(e,t){var n=e.bsPrefix,o=e.className,h=e.align,m=e.alignRight,v=e.rootCloseEvent,g=e.flip,y=e.show,b=e.renderOnMount,A=e.as,E=void 0===A?"div":A,w=e.popperConfig,M=(0,a.default)(e,_),D=(0,s.useContext)(d.default),C=(0,c.useBootstrapPrefix)(n,"dropdown-menu"),x=(0,p.default)(),T=x[0],L=x[1],k=[];if(h)if("object"==typeof h){var S=Object.keys(h);if(S.length){var P=S[0],O=h[P];m="left"===O,k.push(C+"-"+P+"-"+O)}}else"right"===h&&(m=!0);var I=(0,l.useDropdownMenu)({flip:g,rootCloseEvent:v,show:y,alignEnd:m,usePopper:!D&&0===k.length,popperConfig:(0,r.default)({},w,{modifiers:L.concat((null==w?void 0:w.modifiers)||[])})}),Y=I[0],R=I[1],N=R.hasShown,j=R.popper,H=R.show,B=R.alignEnd,U=R.toggle;if(Y.ref=(0,u.default)(T,(0,u.default)((0,f.default)(t,"DropdownMenu"),Y.ref)),!N&&!b)return null;"string"!=typeof E&&(Y.show=H,Y.close=function(){return null==U?void 0:U(!1)},Y.alignRight=B);var W=M.style;return null!=j&&j.placement&&(W=(0,r.default)({},M.style,Y.style),M["x-placement"]=j.placement),s.default.createElement(E,(0,r.default)({},M,Y,{style:W,className:i.default.apply(void 0,[o,C,H&&"show",B&&C+"-right"].concat(k))}))}));y.displayName="DropdownMenu",y.defaultProps={align:"left",alignRight:!1,flip:!0};var b=y;t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e;var n=(0,a.useCallback)((function(e){null!=e&&e.isReactComponent&&(0,r.default)(!1)}),[t]);return(0,i.default)(n,e)};var r=o(n(87)),a=n(1),i=o(n(63));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.useRef)(null),t=(0,a.useRef)(null),n=(0,a.useRef)(null),r=(0,o.useBootstrapPrefix)(void 0,"popover"),l=(0,o.useBootstrapPrefix)(void 0,"dropdown-menu"),u=(0,a.useCallback)((function(n){n&&((0,i.default)(n,r)||(0,i.default)(n,l))&&(t.current=s(n),n.style.margin="0",e.current=n)}),[r,l]),d=(0,a.useMemo)((function(){return{name:"offset",options:{offset:function(e){var n=e.placement;if(!t.current)return[0,0];var r=t.current,a=r.top,i=r.left,o=r.bottom,s=r.right;switch(n.split("-")[0]){case"top":return[0,o];case"left":return[0,s];case"bottom":return[0,a];case"right":return[0,i];default:return[0,0]}}}}}),[t]),c=(0,a.useMemo)((function(){return{name:"arrow",options:{padding:function(){if(!n.current)return 0;var e=n.current,t=e.top,r=e.right,a=t||r;return{top:a,left:a,right:a,bottom:a}}}}}),[n]),f=(0,a.useMemo)((function(){return{name:"popoverArrowMargins",enabled:!0,phase:"main",fn:function(){},requiresIfExists:["arrow"],effect:function(t){var a=t.state;if(e.current&&a.elements.arrow&&(0,i.default)(e.current,r)){if(a.modifiersData["arrow#persistent"]){var o=s(a.elements.arrow),l=o.top,u=o.right,d=l||u;a.modifiersData["arrow#persistent"].padding={top:d,left:d,right:d,bottom:d}}else n.current=s(a.elements.arrow);return a.elements.arrow.style.margin="0",function(){a.elements.arrow&&(a.elements.arrow.style.margin="")}}}}}),[r]);return[u,[d,c,f]]};var r,a=n(1),i=(r=n(116))&&r.__esModule?r:{default:r},o=n(6);function s(e){var t=window.getComputedStyle(e);return{top:parseFloat(t.marginTop)||0,right:parseFloat(t.marginRight)||0,bottom:parseFloat(t.marginBottom)||0,left:parseFloat(t.marginLeft)||0}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(3)),a=f(n(4)),i=f(n(5)),o=(f(n(144)),f(n(1))),s=n(138),l=f(n(63)),u=f(n(7)),d=n(6),c=f(n(141));function f(e){return e&&e.__esModule?e:{default:e}}var p=["bsPrefix","split","className","childBsPrefix","as"],h=o.default.forwardRef((function(e,t){var n=e.bsPrefix,f=e.split,h=e.className,m=e.childBsPrefix,_=e.as,v=void 0===_?u.default:_,g=(0,a.default)(e,p),y=(0,d.useBootstrapPrefix)(n,"dropdown-toggle");void 0!==m&&(g.bsPrefix=m);var b=(0,s.useDropdownToggle)()[0];return b.ref=(0,l.default)(b.ref,(0,c.default)(t,"DropdownToggle")),o.default.createElement(v,(0,r.default)({className:(0,i.default)(h,y,f&&y+"-split")},b,g))}));h.displayName="DropdownToggle";var m=h;t.default=m,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n,r,a,i){var o=r||"<>",s=i||n;if(null==t[n])return new Error("The "+a+" `"+s+"` is required to make `"+o+"` accessible for users of assistive technologies such as screen readers.");for(var l=arguments.length,u=Array(l>5?l-5:0),d=5;de.length)&&(t=e.length);for(var n=0,r=new Array(t);n{let t=e.id,n=e.name,o=e.address,f=e.advertising,h=e.onToggleAdvertising,m=e.onSaveSetup,_=e.onLoadSetup,v=e.onToggleAutoConnUpdate,g=e.autoConnUpdate,y=e.onToggleAutoAcceptPairing,b=e.onShowSecurityParamsDialog,A=e.onOpenCustomUuidFile,E=e.security,w=e.isDeviceDetails,M=e.bindHotkey,D=e.onShowSetupDialog,C=e.onDeleteBondInfo,x=e.onShowAdvParams,T=e.onShowConnectionParams;const L=(0,i.useSelector)(e=>((e.app.adapter.bleDriver.adapter||{})._bleDriver||{}).NRF_SD_BLE_API_VERSION);(0,r.useEffect)(()=>h&&M("alt+a",h),[]);const k={visibility:f?"visible":"hidden"},S=f?"":"icon-background",P=f?"Stop advertising":"Start advertising",O=f?"Advertising":"Not advertising",I=g?"mdi mdi-check":"",Y=E&&E.autoAcceptPairing?"mdi mdi-check":"",R=L>=5?"Connection, phy, data length and mtu update":"Connection update",N=L>=5?"Automatically accept connection, phy, data length and mtu update requests":"Automatically accept connection update requests",j=r.default.createElement(a.default.Menu,null,h&&w&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a.default.Header,{key:"advHeader"},"Advertising"),r.default.createElement(a.default.Item,{key:"setup",onSelect:D},"Advertising setup..."),r.default.createElement(a.default.Item,{key:"params",onSelect:x},"Advertising parameters..."),r.default.createElement(a.default.Item,{key:"advertising",onSelect:h},P," ",r.default.createElement("span",{className:"subtler-text"},"(Alt+A)"))),_&&r.default.createElement(a.default.Item,{key:"load",onSelect:_},"Load setup..."),m&&r.default.createElement(a.default.Item,{key:"save",onSelect:m},"Save setup..."),v&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a.default.Divider,{key:"dividerConnUpdate"}),r.default.createElement(a.default.Header,{key:"connUpdateHeader"},R),r.default.createElement(a.default.Item,{key:"connectionParams",title:"Configure connection parameters ....",onSelect:T},"Connection parameters..."),r.default.createElement(a.default.Item,{key:"autoConnUpdate",title:N,onSelect:v},r.default.createElement("i",{className:I}),"Auto accept update requests")),y&&b&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a.default.Divider,{key:"dividerSecurity"}),r.default.createElement(a.default.Header,{key:"securityHeader"},"Security"),r.default.createElement(a.default.Item,{key:"setSecurityParams",title:"Configure security parameters related to pairing",onSelect:b},"Security parameters..."),r.default.createElement(a.default.Item,{key:"autoAcceptPairing",title:"Automatically accept security requests",onSelect:y},r.default.createElement("i",{className:Y}),"Auto reply security requests"),r.default.createElement(a.default.Item,{key:"deleteBondInfo",title:"Delete bond information",onSelect:C,disabled:null===E||0===E.bondStore.size},"Delete bond information")),A&&r.default.createElement(r.default.Fragment,null,r.default.createElement(a.default.Divider,{key:"dividerOpenUuidFile"}),r.default.createElement(a.default.Header,{key:"headerOpenUuidFile"},"Custom UUID definitions"),r.default.createElement(a.default.Item,{key:"openUuidFile",title:"Open custom UUID definitions file in default text editor",onSelect:A},"Open UUID definitions file")));return r.default.createElement("div",{id:t,className:"device main-device standalone",style:{position:"relative",height:"102px"}},r.default.createElement("img",{className:"center-block",src:s.default,height:41,width:16,title:"Development kit or dongle",alt:""}),r.default.createElement("div",{className:"device-body text-small"},r.default.createElement("div",{className:"pull-right"},r.default.createElement(a.default,{id:"connectionDropDown"},r.default.createElement(a.default.Toggle,null,r.default.createElement("span",{className:"mdi mdi-settings"})),j)),r.default.createElement("div",null,r.default.createElement("div",{className:"role-flag pull-right"},"Adapter"),n?r.default.createElement("strong",{className:"selectable"},n):r.default.createElement(p.default,{onWhite:!0,visible:!0})),r.default.createElement("div",{className:"address-text selectable"},o),r.default.createElement("div",{className:"mdi mdi-signal-variant "+S,"aria-hidden":"true",title:O,style:k}),r.default.createElement(u.default,null),r.default.createElement(c.default,null),r.default.createElement(l.default,null),r.default.createElement(d.default,null)))};_.propTypes={id:o.default.string.isRequired,name:o.default.string,address:o.default.string,advertising:o.default.bool,onToggleAdvertising:o.default.func,onShowSecurityParamsDialog:o.default.func,security:o.default.object,onShowSetupDialog:o.default.func,onShowAdvParams:o.default.func,onSaveSetup:o.default.func,onLoadSetup:o.default.func,autoConnUpdate:o.default.bool,onToggleAutoConnUpdate:o.default.func,onToggleAutoAcceptPairing:o.default.func,onDeleteBondInfo:o.default.func,onOpenCustomUuidFile:o.default.func,isDeviceDetails:o.default.bool,bindHotkey:o.default.func.isRequired,onShowConnectionParams:o.default.func},_.defaultProps={name:"",address:null,advertising:!1,onToggleAdvertising:null,onShowSecurityParamsDialog:null,security:null,onShowSetupDialog:null,onShowAdvParams:null,onSaveSetup:void 0,onLoadSetup:void 0,autoConnUpdate:!1,onToggleAutoConnUpdate:null,onToggleAutoAcceptPairing:null,onDeleteBondInfo:null,onOpenCustomUuidFile:null,isDeviceDetails:!1,onShowConnectionParams:null};var v=(0,f.default)(_);t.default=v,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(1)),a=s(n(37)),i=s(n(2)),o=n(17);function s(e){return e&&e.__esModule?e:{default:e}}class l extends r.default.Component{shouldComponentUpdate(e){const t=this.props.uuidDefs;return!(JSON.stringify(t)===JSON.stringify(e.uuidDefs))}render(){const e=this.props,t=e.title,n=e.onSelect,i=e.uuidDefs,s=e.pullRight,l=Object.keys(i).sort((e,t)=>parseInt(e,16)-parseInt(t,16));return r.default.createElement("div",{className:"uuid-lookup"},r.default.createElement(a.default,{className:"uuid-dropdown",id:"dropdownUuidLookup",title:t,onSelect:(e,t)=>n(t,e),alignRight:s},r.default.createElement(a.default.Toggle,{variant:"secondary",size:"lg"},r.default.createElement("span",{className:"mdi mdi-magnify","aria-hidden":"true"})),r.default.createElement(a.default.Menu,{className:"scroll-menu"},r.default.createElement(a.default.Header,{key:"header0"},t),l.map(e=>{return r.default.createElement(a.default.Item,{key:e,title:`${e}: ${(0,o.getUuidName)(e)}`,eventKey:e},`${t=e,t&&t.length>8?t.slice(0,8)+"...":t}: ${(0,o.getUuidName)(e)}`);var t}))))}}l.propTypes={title:i.default.string,onSelect:i.default.func.isRequired,uuidDefs:i.default.object.isRequired,pullRight:i.default.bool},l.defaultProps={title:"Predefined UUIDs",pullRight:!0};var u=l;t.default=u,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(1)),a=o(n(2)),i=o(n(75));function o(e){return e&&e.__esModule?e:{default:e}}const s=e=>{let t=e.bars;const n=[];for(let e=0;er.default.createElement(s.default,{key:e.instanceId,item:e,selectOnClick:i,selected:n,onSelectAttribute:l,onSetAttributeExpanded:u,onRead:d,onWrite:c,onReadDescriptor:f,onWriteDescriptor:p,onChange:this.childChanged,addNew:a,onAddDescriptor:o}))}}u.propTypes={item:a.default.instanceOf(i.ImmutableService).isRequired,selected:a.default.string,button:a.default.shape({icon:a.default.string,onClick:a.default.func}),onAddDescriptor:a.default.func,onSelectAttribute:a.default.func,onSetAttributeExpanded:a.default.func,onReadCharacteristic:a.default.func,onWriteCharacteristic:a.default.func,onReadDescriptor:a.default.func,onWriteDescriptor:a.default.func};var d=u;t.default=d,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(1)),a=i(n(2));function i(e){return e&&e.__esModule?e:{default:e}}const o=e=>{let t=e.bars,n=e.onClick,a=e.text;return r.default.createElement("div",{className:"add-new",onClick:n,onKeyDown:n,role:"button",tabIndex:0},Array(t).fill(1).map((e,t)=>r.default.createElement("div",{className:"bar"+(t+1),key:""+(t+1)})),r.default.createElement("div",{className:"content-wrap"},r.default.createElement("div",{className:"content padded-row"},r.default.createElement("span",{className:"icon-wrap"},r.default.createElement("i",{className:"icon-slim mdi mdi-plus-circle"})),r.default.createElement("span",null,a))))};o.propTypes={bars:a.default.number.isRequired,text:a.default.string.isRequired,onClick:a.default.func.isRequired};var s=o;t.default=s,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(1)),a=s(n(7)),i=s(n(27)),o=s(n(2));function s(e){return e&&e.__esModule?e:{default:e}}const l=e=>{const t=e.text,n=e.show,o=e.onCancel,s=e.onOk,l=e.okButtonText,u=e.cancelButtonText;return r.default.createElement("div",null,r.default.createElement(i.default,{show:n,onHide:o},r.default.createElement(i.default.Header,{closeButton:!0},r.default.createElement(i.default.Title,null,"Confirm")),r.default.createElement(i.default.Body,null,r.default.createElement("p",null,t)),r.default.createElement(i.default.Footer,null,r.default.createElement(a.default,{onClick:s},l),r.default.createElement(a.default,{onClick:o},u))))};l.propTypes={text:o.default.string.isRequired,show:o.default.bool.isRequired,onCancel:o.default.func.isRequired,onOk:o.default.func.isRequired,okButtonText:o.default.string,cancelButtonText:o.default.string},l.defaultProps={okButtonText:"OK",cancelButtonText:"Cancel"};var u=l;t.default=u,e.exports=t.default},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Afrikaans [af]
-//! author : Werner Mollentze : https://github.com/wernerm
-n(0).defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Arabic [ar]
-//! author : Abdel Said: https://github.com/abdelsaid
-//! author : Ahmed Elkhatib
-//! author : forabi https://github.com/forabi
-var r,a,i,o,s,l,u;r=n(0),a={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},o=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},s={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},l=function(e){return function(t,n,r,a){var i=o(t),l=s[e][o(t)];return 2===i&&(l=l[n?0:1]),l.replace(/%d/i,t)}},u=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],r.defineLocale("ar",{months:u,monthsShort:u,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:l("s"),ss:l("s"),m:l("m"),mm:l("m"),h:l("h"),hh:l("h"),d:l("d"),dd:l("d"),M:l("M"),MM:l("M"),y:l("y"),yy:l("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return i[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Arabic (Algeria) [ar-dz]
-//! author : Amine Roukh: https://github.com/Amine27
-//! author : Abdel Said: https://github.com/abdelsaid
-//! author : Ahmed Elkhatib
-//! author : forabi https://github.com/forabi
-//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem
-var r,a,i,o,s;r=n(0),a=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},o=function(e){return function(t,n,r,o){var s=a(t),l=i[e][a(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},s=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],r.defineLocale("ar-dz",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:o("s"),ss:o("s"),m:o("m"),mm:o("m"),h:o("h"),hh:o("h"),d:o("d"),dd:o("d"),M:o("M"),MM:o("M"),y:o("y"),yy:o("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Arabic (Kuwait) [ar-kw]
-//! author : Nusret Parlak: https://github.com/nusretparlak
-n(0).defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Arabic (Lybia) [ar-ly]
-//! author : Ali Hmer: https://github.com/kikoanis
-var r,a,i,o,s,l;r=n(0),a={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},o={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},s=function(e){return function(t,n,r,a){var s=i(t),l=o[e][i(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},l=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],r.defineLocale("ar-ly",{months:l,monthsShort:l,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Arabic (Morocco) [ar-ma]
-//! author : ElFadili Yassine : https://github.com/ElFadiliY
-//! author : Abdel Said : https://github.com/abdelsaid
-n(0).defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Arabic (Saudi Arabia) [ar-sa]
-//! author : Suhail Alkowaileet : https://github.com/xsoh
-var r,a,i;r=n(0),a={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,n){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return i[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale  :  Arabic (Tunisia) [ar-tn]
-//! author : Nader Toukabri : https://github.com/naderio
-n(0).defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Azerbaijani [az]
-//! author : topchiyev : https://github.com/topchiyev
-var r,a;r=n(0),a={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},r.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var t=e%10;return e+(a[t]||a[e%100-t]||a[e>=100?100:null])},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Belarusian [be]
-//! author : Dmitry Demidov : https://github.com/demidov91
-//! author: Praleska: http://praleska.pro/
-//! Author : Menelion Elensúle : https://github.com/Oire
-!function(e){function t(e,t,n){var r,a;return"m"===n?t?"хвіліна":"хвіліну":"h"===n?t?"гадзіна":"гадзіну":e+" "+(r=+e,a={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:t?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n].split("_"),r%10==1&&r%100!=11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2])}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:t,mm:t,h:t,hh:t,d:"дзень",dd:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Bulgarian [bg]
-//! author : Krasen Borisov : https://github.com/kraz
-n(0).defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Bambara [bm]
-//! author : Estelle Comment : https://github.com/estellecomment
-n(0).defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Bengali [bn]
-//! author : Kaushik Gandhi : https://github.com/kaushikgandhi
-var r,a,i;r=n(0),a={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,n){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Bengali (Bangladesh) [bn-bd]
-//! author : Asraf Hossain Patoary : https://github.com/ashwoolford
-var r,a,i;r=n(0),a={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},i={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"},r.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Tibetan [bo]
-//! author : Thupten N. Chakrishar : https://github.com/vajradog
-var r,a,i;r=n(0),a={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},i={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},r.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Breton [br]
-//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
-!function(e){//! moment.js locale configuration
-function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}var n=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,a=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:a,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:a,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(function e(t){return t>9?e(t%10):t}(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Bosnian [bs]
-//! author : Nedim Cholich : https://github.com/frontyard
-//! based on (hr) translation by Bojan Marković
-!function(e){//! moment.js locale configuration
-function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Catalan [ca]
-//! author : Juan G. Hurtado : https://github.com/juanghurtado
-n(0).defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Czech [cs]
-//! author : petrbela : https://github.com/petrbela
-!function(e){//! moment.js locale configuration
-var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),n="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),r=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],a=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function i(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"pár sekund":"pár sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sekund"):a+"sekundami";case"m":return t?"minuta":r?"minutu":"minutou";case"mm":return t||r?a+(i(e)?"minuty":"minut"):a+"minutami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hodin"):a+"hodinami";case"d":return t||r?"den":"dnem";case"dd":return t||r?a+(i(e)?"dny":"dní"):a+"dny";case"M":return t||r?"měsíc":"měsícem";case"MM":return t||r?a+(i(e)?"měsíce":"měsíců"):a+"měsíci";case"y":return t||r?"rok":"rokem";case"yy":return t||r?a+(i(e)?"roky":"let"):a+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Chuvash [cv]
-//! author : Anatoly Mironov : https://github.com/mirontoli
-n(0).defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Welsh [cy]
-//! author : Robert Allen : https://github.com/robgallen
-//! author : https://github.com/ryangreaves
-n(0).defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Danish [da]
-//! author : Ulrik Nielsen : https://github.com/mrbase
-n(0).defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : German [de]
-//! author : lluchs : https://github.com/lluchs
-//! author: Menelion Elensúle: https://github.com/Oire
-//! author : Mikolaj Dadela : https://github.com/mik01aj
-!function(e){//! moment.js locale configuration
-function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : German (Austria) [de-at]
-//! author : lluchs : https://github.com/lluchs
-//! author: Menelion Elensúle: https://github.com/Oire
-//! author : Martin Groller : https://github.com/MadMG
-//! author : Mikolaj Dadela : https://github.com/mik01aj
-!function(e){//! moment.js locale configuration
-function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : German (Switzerland) [de-ch]
-//! author : sschueller : https://github.com/sschueller
-!function(e){//! moment.js locale configuration
-function t(e,t,n,r){var a={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?a[n][0]:a[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Maldivian [dv]
-//! author : Jawish Hameed : https://github.com/jawish
-var r,a,i;r=n(0),a=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],i=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"],r.defineLocale("dv",{months:a,monthsShort:a,weekdays:i,weekdaysShort:i,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,n){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Greek [el]
-//! author : Aggelos Karalias : https://github.com/mehiel
-n(0).defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,n){return e>11?n?"μμ":"ΜΜ":n?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,r=this._calendarEl[e],a=t&&t.hours();return n=r,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(r=r.apply(t)),r.replace("{}",a%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : English (Australia) [en-au]
-//! author : Jared Morse : https://github.com/jarcoal
-n(0).defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : English (Canada) [en-ca]
-//! author : Jonathan Abourbih : https://github.com/jonbca
-n(0).defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : English (United Kingdom) [en-gb]
-//! author : Chris Gedrim : https://github.com/chrisgedrim
-n(0).defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : English (Ireland) [en-ie]
-//! author : Chris Cartlidge : https://github.com/chriscartlidge
-n(0).defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : English (Israel) [en-il]
-//! author : Chris Gedrim : https://github.com/chrisgedrim
-n(0).defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : English (India) [en-in]
-//! author : Jatin Agrawal : https://github.com/jatinag22
-n(0).defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : English (New Zealand) [en-nz]
-//! author : Luke McGregor : https://github.com/lukemcgregor
-n(0).defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : English (Singapore) [en-sg]
-//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension
-n(0).defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Esperanto [eo]
-//! author : Colin Dean : https://github.com/colindean
-//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
-//! comment : miestasmia corrected the translation by colindean
-//! comment : Vivakvo corrected the translation by colindean and miestasmia
-n(0).defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Spanish [es]
-//! author : Julio Napurí : https://github.com/julionc
-var r,a,i,o,s;r=n(0),a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),o=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,r.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?i[e.month()]:a[e.month()]:a},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Spanish (Dominican Republic) [es-do]
-var r,a,i,o,s;r=n(0),a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),o=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,r.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?i[e.month()]:a[e.month()]:a},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Spanish (Mexico) [es-mx]
-//! author : JC Franco : https://github.com/jcfranco
-var r,a,i,o,s;r=n(0),a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),o=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,r.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?i[e.month()]:a[e.month()]:a},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Spanish (United States) [es-us]
-//! author : bustta : https://github.com/bustta
-//! author : chrisrodz : https://github.com/chrisrodz
-var r,a,i,o,s;r=n(0),a="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),i="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),o=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,r.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?i[e.month()]:a[e.month()]:a},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Estonian [et]
-//! author : Henry Kehlmann : https://github.com/madhenry
-//! improvements : Illimar Tambek : https://github.com/ragulka
-!function(e){//! moment.js locale configuration
-function t(e,t,n,r){var a={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?a[n][2]?a[n][2]:a[n][1]:r?a[n][0]:a[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Basque [eu]
-//! author : Eneko Illarramendi : https://github.com/eillarra
-n(0).defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Persian [fa]
-//! author : Ebrahim Byagowi : https://github.com/ebraminio
-var r,a,i;r=n(0),a={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},i={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"},r.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,n){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return i[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Finnish [fi]
-//! author : Tarmo Aidantausta : https://github.com/bleadof
-!function(e){//! moment.js locale configuration
-var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),n=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function r(e,r,a,i){var o="";switch(a){case"s":return i?"muutaman sekunnin":"muutama sekunti";case"ss":o=i?"sekunnin":"sekuntia";break;case"m":return i?"minuutin":"minuutti";case"mm":o=i?"minuutin":"minuuttia";break;case"h":return i?"tunnin":"tunti";case"hh":o=i?"tunnin":"tuntia";break;case"d":return i?"päivän":"päivä";case"dd":o=i?"päivän":"päivää";break;case"M":return i?"kuukauden":"kuukausi";case"MM":o=i?"kuukauden":"kuukautta";break;case"y":return i?"vuoden":"vuosi";case"yy":o=i?"vuoden":"vuotta"}return o=function(e,r){return e<10?r?n[e]:t[e]:e}(e,i)+" "+o}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Filipino [fil]
-//! author : Dan Hagman : https://github.com/hagmandan
-//! author : Matthew Co : https://github.com/matthewdeeco
-n(0).defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Faroese [fo]
-//! author : Ragnar Johannesen : https://github.com/ragnar123
-//! author : Kristian Sakarisson : https://github.com/sakarisson
-n(0).defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : French [fr]
-//! author : John Fischer : https://github.com/jfroffice
-var r,a,i;r=n(0),a=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],r.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,monthsShortStrictRegex:/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : French (Canada) [fr-ca]
-//! author : Jonathan Abourbih : https://github.com/jonbca
-n(0).defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : French (Switzerland) [fr-ch]
-//! author : Gaspard Bucher : https://github.com/gaspard
-n(0).defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Frisian [fy]
-//! author : Robin van der Vliet : https://github.com/robin0van0der0v
-var r,a,i;r=n(0),a="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),i="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),r.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?i[e.month()]:a[e.month()]:a},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Irish or Irish Gaelic [ga]
-//! author : André Silva : https://github.com/askpt
-n(0).defineLocale("ga",{months:["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],weekdaysShort:["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],weekdaysMin:["Do","Lu","Má","Cé","Dé","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Scottish Gaelic [gd]
-//! author : Jon Ashdown : https://github.com/jonashdown
-n(0).defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],monthsShort:["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],monthsParseExact:!0,weekdays:["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["Dò","Lu","Mà","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Galician [gl]
-//! author : Juan G. Hurtado : https://github.com/juanghurtado
-n(0).defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Konkani Devanagari script [gom-deva]
-//! author : The Discoverer : https://github.com/WikiDiscoverer
-!function(e){//! moment.js locale configuration
-function t(e,t,n,r){var a={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?a[n][0]:a[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Konkani Latin script [gom-latn]
-//! author : The Discoverer : https://github.com/WikiDiscoverer
-!function(e){//! moment.js locale configuration
-function t(e,t,n,r){var a={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?a[n][0]:a[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Gujarati [gu]
-//! author : Kaushik Thanki : https://github.com/Kaushik1987
-var r,a,i;r=n(0),a={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},i={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"},r.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Hebrew [he]
-//! author : Tomer Cohen : https://github.com/tomer
-//! author : Moshe Simantov : https://github.com/DevelopmentIL
-//! author : Tal Ater : https://github.com/TalAter
-n(0).defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Hindi [hi]
-//! author : Mayank Singhal : https://github.com/mayanksinghal
-var r,a,i,o;r=n(0),a={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},o=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],r.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:o,longMonthsParse:o,shortMonthsParse:[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i],monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Croatian [hr]
-//! author : Bojan Marković : https://github.com/bmarkovic
-!function(e){//! moment.js locale configuration
-function t(e,t,n){var r=e+" ";switch(n){case"ss":return r+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return r+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return r+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return r+=1===e?"dan":"dana";case"MM":return r+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return r+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Hungarian [hu]
-//! author : Adam Brunner : https://github.com/adambrunner
-//! author : Peter Viszt  : https://github.com/passatgt
-!function(e){//! moment.js locale configuration
-var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function n(e,t,n,r){var a=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"ss":return a+(r||t)?" másodperc":" másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return a+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return a+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return a+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return a+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return a+(r||t?" év":" éve")}return""}function r(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return r.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return r.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Armenian [hy-am]
-//! author : Armendarabyan : https://github.com/armendarabyan
-n(0).defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Indonesian [id]
-//! author : Mohammad Satrio Utomo : https://github.com/tyok
-//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
-n(0).defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Icelandic [is]
-//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
-!function(e){//! moment.js locale configuration
-function t(e){return e%100==11||e%10!=1}function n(e,n,r,a){var i=e+" ";switch(r){case"s":return n||a?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?i+(n||a?"sekúndur":"sekúndum"):i+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?i+(n||a?"mínútur":"mínútum"):n?i+"mínúta":i+"mínútu";case"hh":return t(e)?i+(n||a?"klukkustundir":"klukkustundum"):i+"klukkustund";case"d":return n?"dagur":a?"dag":"degi";case"dd":return t(e)?n?i+"dagar":i+(a?"daga":"dögum"):n?i+"dagur":i+(a?"dag":"degi");case"M":return n?"mánuður":a?"mánuð":"mánuði";case"MM":return t(e)?n?i+"mánuðir":i+(a?"mánuði":"mánuðum"):n?i+"mánuður":i+(a?"mánuð":"mánuði");case"y":return n||a?"ár":"ári";case"yy":return t(e)?i+(n||a?"ár":"árum"):i+(n||a?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Italian [it]
-//! author : Lorenzo : https://github.com/aliem
-//! author: Mattia Larentis: https://github.com/nostalgiaz
-//! author: Marco : https://github.com/Manfre98
-n(0).defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Italian (Switzerland) [it-ch]
-//! author : xfh : https://github.com/xfh
-n(0).defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Japanese [ja]
-//! author : LI Long : https://github.com/baryon
-n(0).defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Javanese [jv]
-//! author : Rony Lantip : https://github.com/lantip
-//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
-n(0).defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Georgian [ka]
-//! author : Irakli Janiashvili : https://github.com/IrakliJani
-n(0).defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,n){return"ი"===n?t+"ში":t+n+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Kazakh [kk]
-//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
-var r,a;r=n(0),a={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},r.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){return e+(a[e]||a[e%10]||a[e>=100?100:null])},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Cambodian [km]
-//! author : Kruy Vanna : https://github.com/kruyvanna
-var r,a,i;r=n(0),a={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},i={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"},r.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,n){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Kannada [kn]
-//! author : Rajeev Naik : https://github.com/rajeevnaikte
-var r,a,i;r=n(0),a={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},i={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},r.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Korean [ko]
-//! author : Kyungwook, Park : https://github.com/kyungw00k
-//! author : Jeeeyul Lee 
-n(0).defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,n){return e<12?"오전":"오후"}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Kurdish [ku]
-//! author : Shahram Mebashar : https://github.com/ShahramMebashar
-var r,a,i,o;r=n(0),a={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},i={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},o=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],r.defineLocale("ku",{months:o,monthsShort:o,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,n){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return i[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Kyrgyz [ky]
-//! author : Chyngyz Arystan uulu : https://github.com/chyngyz
-var r,a;r=n(0),a={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"},r.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){return e+(a[e]||a[e%10]||a[e>=100?100:null])},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Luxembourgish [lb]
-//! author : mweimerskirch : https://github.com/mweimerskirch
-//! author : David Raison : https://github.com/kwisatz
-!function(e){//! moment.js locale configuration
-function t(e,t,n,r){var a={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?a[n][0]:a[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Lao [lo]
-//! author : Ryan Hart : https://github.com/ryanhart2
-n(0).defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,n){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Lithuanian [lt]
-//! author : Mindaugas Mozūras : https://github.com/mmozuras
-!function(e){//! moment.js locale configuration
-var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function n(e,t,n,r){return t?a(n)[0]:r?a(n)[1]:a(n)[2]}function r(e){return e%10==0||e>10&&e<20}function a(e){return t[e].split("_")}function i(e,t,i,o){var s=e+" ";return 1===e?s+n(0,t,i[0],o):t?s+(r(e)?a(i)[1]:a(i)[0]):o?s+a(i)[1]:s+(r(e)?a(i)[1]:a(i)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:function(e,t,n,r){return t?"kelios sekundės":r?"kelių sekundžių":"kelias sekundes"},ss:i,m:n,mm:i,h:n,hh:i,d:n,dd:i,M:n,MM:i,y:n,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Latvian [lv]
-//! author : Kristaps Karlsons : https://github.com/skakri
-//! author : Jānis Elmeris : https://github.com/JanisE
-!function(e){//! moment.js locale configuration
-var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function r(e,r,a){return e+" "+n(t[a],e,r)}function a(e,r,a){return n(t[a],e,r)}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:function(e,t){return t?"dažas sekundes":"dažām sekundēm"},ss:r,m:a,mm:r,h:a,hh:r,d:a,dd:r,M:a,MM:r,y:a,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Montenegrin [me]
-//! author : Miodrag Nikač  : https://github.com/miodragnikac
-var r,a;r=n(0),a={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var r=a.words[n];return 1===n.length?t?r[0]:r[1]:e+" "+a.correctGrammaticalCase(e,r)}},r.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mjesec",MM:a.translate,y:"godinu",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Maori [mi]
-//! author : John Corrigan  : https://github.com/johnideal
-n(0).defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Macedonian [mk]
-//! author : Borislav Mickov : https://github.com/B0k0
-//! author : Sashko Todorov : https://github.com/bkyceh
-n(0).defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-ев":0===n?e+"-ен":n>10&&n<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Malayalam [ml]
-//! author : Floyd Pink : https://github.com/floydpink
-n(0).defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,n){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Mongolian [mn]
-//! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7
-!function(e){//! moment.js locale configuration
-function t(e,t,n,r){switch(n){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,n){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Marathi [mr]
-//! author : Harshad Kale : https://github.com/kalehv
-//! author : Vivek Athalye : https://github.com/vnathalye
-!function(e){//! moment.js locale configuration
-var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var a="";if(t)switch(n){case"s":a="काही सेकंद";break;case"ss":a="%d सेकंद";break;case"m":a="एक मिनिट";break;case"mm":a="%d मिनिटे";break;case"h":a="एक तास";break;case"hh":a="%d तास";break;case"d":a="एक दिवस";break;case"dd":a="%d दिवस";break;case"M":a="एक महिना";break;case"MM":a="%d महिने";break;case"y":a="एक वर्ष";break;case"yy":a="%d वर्षे"}else switch(n){case"s":a="काही सेकंदां";break;case"ss":a="%d सेकंदां";break;case"m":a="एका मिनिटा";break;case"mm":a="%d मिनिटां";break;case"h":a="एका तासा";break;case"hh":a="%d तासां";break;case"d":a="एका दिवसा";break;case"dd":a="%d दिवसां";break;case"M":a="एका महिन्या";break;case"MM":a="%d महिन्यां";break;case"y":a="एका वर्षा";break;case"yy":a="%d वर्षां"}return a.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Malay [ms]
-//! author : Weldan Jamili : https://github.com/weldan
-n(0).defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Malay [ms-my]
-//! note : DEPRECATED, the correct one is [ms]
-//! author : Weldan Jamili : https://github.com/weldan
-n(0).defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Maltese (Malta) [mt]
-//! author : Alessandro Maruccia : https://github.com/alesma
-n(0).defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Burmese [my]
-//! author : Squar team, mysquar.com
-//! author : David Rossellat : https://github.com/gholadr
-//! author : Tin Aung Lin : https://github.com/thanyawzinmin
-var r,a,i;r=n(0),a={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},i={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"},r.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Norwegian Bokmål [nb]
-//! authors : Espen Hovlandsdal : https://github.com/rexxars
-//!           Sigurd Gartmann : https://github.com/sigurdga
-//!           Stephen Ramthun : https://github.com/stephenramthun
-n(0).defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Nepalese [ne]
-//! author : suvash : https://github.com/suvash
-var r,a,i;r=n(0),a={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},i={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},r.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Dutch [nl]
-//! author : Joris Röling : https://github.com/jorisroling
-//! author : Jacob Middag : https://github.com/middagj
-var r,a,i,o,s;r=n(0),a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),o=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,r.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?i[e.month()]:a[e.month()]:a},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Dutch (Belgium) [nl-be]
-//! author : Joris Röling : https://github.com/jorisroling
-//! author : Jacob Middag : https://github.com/middagj
-var r,a,i,o,s;r=n(0),a="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),i="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),o=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,r.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,t){return e?/-MMM-/.test(t)?i[e.month()]:a[e.month()]:a},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Nynorsk [nn]
-//! authors : https://github.com/mechuwind
-//!           Stephen Ramthun : https://github.com/stephenramthun
-n(0).defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Occitan, lengadocian dialecte [oc-lnc]
-//! author : Quentin PAGÈS : https://github.com/Quenty31
-n(0).defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Punjabi (India) [pa-in]
-//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit
-var r,a,i;r=n(0),a={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},i={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"},r.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Polish [pl]
-//! author : Rafal Hirsz : https://github.com/evoL
-!function(e){//! moment.js locale configuration
-var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),r=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function a(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function i(e,t,n){var r=e+" ";switch(n){case"ss":return r+(a(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return r+(a(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(a(e)?"godziny":"godzin");case"ww":return r+(a(e)?"tygodnie":"tygodni");case"MM":return r+(a(e)?"miesiące":"miesięcy");case"yy":return r+(a(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,r){return e?/D MMMM/.test(r)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:i,m:i,mm:i,h:i,hh:i,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:i,M:"miesiąc",MM:i,y:"rok",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Portuguese [pt]
-//! author : Jefferson : https://github.com/jalex79
-n(0).defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Portuguese (Brazil) [pt-br]
-//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
-n(0).defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Romanian [ro]
-//! author : Vlad Gurdiga : https://github.com/gurdiga
-//! author : Valentin Agachi : https://github.com/avaly
-//! author : Emanuel Cepoi : https://github.com/cepem
-!function(e){//! moment.js locale configuration
-function t(e,t,n){var r=" ";return(e%100>=20||e>=100&&e%100==0)&&(r=" de "),e+r+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Russian [ru]
-//! author : Viktorminator : https://github.com/Viktorminator
-//! author : Menelion Elensúle : https://github.com/Oire
-//! author : Коренберг Марк : https://github.com/socketpair
-!function(e){function t(e,t,n){var r,a;return"m"===n?t?"минута":"минуту":e+" "+(r=+e,a={ss:t?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n].split("_"),r%10==1&&r%100!=11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2])}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:t,m:t,mm:t,h:"час",hh:t,d:"день",dd:t,w:"неделя",ww:t,M:"месяц",MM:t,y:"год",yy:t},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Sindhi [sd]
-//! author : Narain Sagar : https://github.com/narainsagar
-var r,a,i;r=n(0),a=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],i=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"],r.defineLocale("sd",{months:a,monthsShort:a,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Northern Sami [se]
-//! authors : Bård Rolstad Henriksen : https://github.com/karamell
-n(0).defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Sinhalese [si]
-//! author : Sampath Sitinamaluwa : https://github.com/sampathsris
-n(0).defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,n){return e>11?n?"ප.ව.":"පස් වරු":n?"පෙ.ව.":"පෙර වරු"}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Slovak [sk]
-//! author : Martin Minka : https://github.com/k2s
-//! based on work of petrbela : https://github.com/petrbela
-!function(e){//! moment.js locale configuration
-var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),n="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function r(e){return e>1&&e<5}function a(e,t,n,a){var i=e+" ";switch(n){case"s":return t||a?"pár sekúnd":"pár sekundami";case"ss":return t||a?i+(r(e)?"sekundy":"sekúnd"):i+"sekundami";case"m":return t?"minúta":a?"minútu":"minútou";case"mm":return t||a?i+(r(e)?"minúty":"minút"):i+"minútami";case"h":return t?"hodina":a?"hodinu":"hodinou";case"hh":return t||a?i+(r(e)?"hodiny":"hodín"):i+"hodinami";case"d":return t||a?"deň":"dňom";case"dd":return t||a?i+(r(e)?"dni":"dní"):i+"dňami";case"M":return t||a?"mesiac":"mesiacom";case"MM":return t||a?i+(r(e)?"mesiace":"mesiacov"):i+"mesiacmi";case"y":return t||a?"rok":"rokom";case"yy":return t||a?i+(r(e)?"roky":"rokov"):i+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Slovenian [sl]
-//! author : Robert Sedovšek : https://github.com/sedovsek
-!function(e){//! moment.js locale configuration
-function t(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return a+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return a+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return a+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami";case"d":return t||r?"en dan":"enim dnem";case"dd":return a+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi";case"M":return t||r?"en mesec":"enim mesecem";case"MM":return a+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci";case"y":return t||r?"eno leto":"enim letom";case"yy":return a+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Albanian [sq]
-//! author : Flakërim Ismani : https://github.com/flakerimi
-//! author : Menelion Elensúle : https://github.com/Oire
-//! author : Oerd Cukalla : https://github.com/oerd
-n(0).defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Serbian [sr]
-//! author : Milan Janačković : https://github.com/milan-j
-//! author : Stefan Crnjaković  : https://github.com/crnjakovic
-var r,a;r=n(0),a={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var r=a.words[n];return 1===n.length?t?r[0]:r[1]:e+" "+a.correctGrammaticalCase(e,r)}},r.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"dan",dd:a.translate,M:"mesec",MM:a.translate,y:"godinu",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Serbian Cyrillic [sr-cyrl]
-//! author : Milan Janačković : https://github.com/milan-j
-//! author : Stefan Crnjaković  : https://github.com/crnjakovic
-var r,a;r=n(0),a={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,t,n){var r=a.words[n];return 1===n.length?t?r[0]:r[1]:e+" "+a.correctGrammaticalCase(e,r)}},r.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:a.translate,m:a.translate,mm:a.translate,h:a.translate,hh:a.translate,d:"дан",dd:a.translate,M:"месец",MM:a.translate,y:"годину",yy:a.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : siSwati [ss]
-//! author : Nicolai Davies : https://github.com/nicolaidavies
-n(0).defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Swedish [sv]
-//! author : Jens Alm : https://github.com/ulmus
-n(0).defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Swahili [sw]
-//! author : Fahad Kassim : https://github.com/fadsel
-n(0).defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Tamil [ta]
-//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
-var r,a,i;r=n(0),a={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},i={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},r.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return i[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return a[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Telugu [te]
-//! author : Krishna Chaitanya Thota : https://github.com/kcthota
-n(0).defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Tetun Dili (East Timor) [tet]
-//! author : Joshua Brooks : https://github.com/joshbrooks
-//! author : Onorio De J. Afonso : https://github.com/marobo
-//! author : Sonia Simoes : https://github.com/soniasimoes
-n(0).defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Tajik [tg]
-//! author : Orif N. Jr. : https://github.com/orif-jr
-var r,a;r=n(0),a={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"},r.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){return e+(a[e]||a[e%10]||a[e>=100?100:null])},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Thai [th]
-//! author : Kridsada Thanabulpong : https://github.com/sirn
-n(0).defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,n){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Turkmen [tk]
-//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy
-var r,a;r=n(0),a={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},r.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,t){switch(t){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var n=e%10;return e+(a[n]||a[e%100-n]||a[e>=100?100:null])}},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Tagalog (Philippines) [tl-ph]
-//! author : Dan Hagman : https://github.com/hagmandan
-n(0).defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Klingon [tlh]
-//! author : Dominika Kruk : https://github.com/amaranthrose
-!function(e){//! moment.js locale configuration
-var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,r,a){var i=function(e){var n=Math.floor(e%1e3/100),r=Math.floor(e%100/10),a=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),r>0&&(i+=(""!==i?" ":"")+t[r]+"maH"),a>0&&(i+=(""!==i?" ":"")+t[a]),""===i?"pagh":i}(e);switch(r){case"ss":return i+" lup";case"mm":return i+" tup";case"hh":return i+" rep";case"dd":return i+" jaj";case"MM":return i+" jar";case"yy":return i+" DIS"}}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa’ tup",mm:n,h:"wa’ rep",hh:n,d:"wa’ jaj",dd:n,M:"wa’ jar",MM:n,y:"wa’ DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Turkish [tr]
-//! authors : Erhan Gundogan : https://github.com/erhangundogan,
-//!           Burak Yiğit Kaya: https://github.com/BYK
-var r,a;r=n(0),a={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},r.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,t){switch(t){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var n=e%10;return e+(a[n]||a[e%100-n]||a[e>=100?100:null])}},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Talossan [tzl]
-//! author : Robin van der Vliet : https://github.com/robin0van0der0v
-//! author : Iustì Canun
-!function(e){function t(e,t,n,r){var a={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return r||t?a[n][0]:a[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Central Atlas Tamazight [tzm]
-//! author : Abdel Said : https://github.com/abdelsaid
-n(0).defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Central Atlas Tamazight Latin [tzm-latn]
-//! author : Abdel Said : https://github.com/abdelsaid
-n(0).defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Uyghur (China) [ug-cn]
-//! author: boyaq : https://github.com/boyaq
-n(0).defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"يېرىم كېچە":r<900?"سەھەر":r<1130?"چۈشتىن بۇرۇن":r<1230?"چۈش":r<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Ukrainian [uk]
-//! author : zemlanin : https://github.com/zemlanin
-//! Author : Menelion Elensúle : https://github.com/Oire
-!function(e){function t(e,t,n){var r,a;return"m"===n?t?"хвилина":"хвилину":"h"===n?t?"година":"годину":e+" "+(r=+e,a={ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n].split("_"),r%10==1&&r%100!=11?a[0]:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?a[1]:a[2])}function n(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:function(e,t){var n={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:n("[Сьогодні "),nextDay:n("[Завтра "),lastDay:n("[Вчора "),nextWeek:n("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[Минулої] dddd [").call(this);case 1:case 2:case 4:return n("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:t,m:t,mm:t,h:"годину",hh:t,d:"день",dd:t,M:"місяць",MM:t,y:"рік",yy:t},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(n(0))},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Urdu [ur]
-//! author : Sawood Alam : https://github.com/ibnesayeed
-//! author : Zack : https://github.com/ZackVision
-var r,a,i;r=n(0),a=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],i=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"],r.defineLocale("ur",{months:a,monthsShort:a,weekdays:i,weekdaysShort:i,weekdaysMin:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,n){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Uzbek [uz]
-//! author : Sardor Muminov : https://github.com/muminoff
-n(0).defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Uzbek Latin [uz-latn]
-//! author : Rasulbek Mirzayev : github.com/Rasulbeeek
-n(0).defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Vietnamese [vi]
-//! author : Bang Nguyen : https://github.com/bangnk
-//! author : Chien Kira : https://github.com/chienkira
-n(0).defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Pseudo [x-pseudo]
-//! author : Andrew Hood : https://github.com/andrewhood125
-n(0).defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Yoruba Nigeria [yo]
-//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe
-n(0).defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Chinese (China) [zh-cn]
-//! author : suupic : https://github.com/suupic
-//! author : Zeno Zeng : https://github.com/zenozeng
-//! author : uu109 : https://github.com/uu109
-n(0).defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Chinese (Hong Kong) [zh-hk]
-//! author : Ben : https://github.com/ben-lin
-//! author : Chris Lam : https://github.com/hehachris
-//! author : Konstantin : https://github.com/skfd
-//! author : Anthony : https://github.com/anthonylau
-n(0).defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1200?"上午":1200===r?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Chinese (Macau) [zh-mo]
-//! author : Ben : https://github.com/ben-lin
-//! author : Chris Lam : https://github.com/hehachris
-//! author : Tan Yuanhong : https://github.com/le0tan
-n(0).defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})},function(e,t,n){"use strict";
-//! moment.js locale configuration
-//! locale : Chinese (Taiwan) [zh-tw]
-//! author : Ben : https://github.com/ben-lin
-//! author : Chris Lam : https://github.com/hehachris
-n(0).defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(1)),a=s(n(18)),i=s(n(42)),o=s(n(2));function s(e){return e&&e.__esModule?e:{default:e}}const l=e=>{const t=e.children,n=e.inline,o=e.label,s=e.labelClassName,l=e.wrapperClassName,u=n&&{className:"form-inline"};return r.default.createElement(a.default.Group,u,r.default.createElement(a.default.Label,{className:s},o),r.default.createElement(i.default,{className:l},t))};l.propTypes={children:o.default.node.isRequired,inline:o.default.bool,label:o.default.string.isRequired,labelClassName:o.default.string,wrapperClassName:o.default.string},l.defaultProps={inline:!0,labelClassName:"col-md-3 text-right",wrapperClassName:"col-md-9"};var u=l;t.default=u,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(1)),a=l(n(18)),i=l(n(42)),o=l(n(2));const s=["children","id","inline","label","labelClassName","wrapperClassName"];function l(e){return e&&e.__esModule?e:{default:e}}function u(){return(u=Object.assign||function(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}const c=e=>{const t=e.children,n=e.id,o=e.inline,l=e.label,c=e.labelClassName,f=e.wrapperClassName,p=d(e,s),h=o&&{className:"form-inline"};return r.default.createElement(a.default.Group,u({controlId:n},h),l&&r.default.createElement(a.default.Label,{className:c},l),r.default.createElement(i.default,{className:f},r.default.createElement(a.default.Control,u({as:"select"},p),t)))};c.propTypes={children:o.default.node.isRequired,id:o.default.string,inline:o.default.bool,label:o.default.string.isRequired,labelClassName:o.default.string,wrapperClassName:o.default.string},c.defaultProps={id:"",inline:!0,labelClassName:"col-md-3 text-right",wrapperClassName:"col-md-9"};var f=c;t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=h(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),a=n(8),i=p(n(291)),o=p(n(292)),s=p(n(334)),l=p(n(414)),u=p(n(456)),d=p(n(457)),c=p(n(461)),f=n(17);function p(e){return e&&e.__esModule?e:{default:e}}function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(h=function(e){return e?n:t})(e)}n(467),(0,f.migrateOldPersistentStorage)((0,a.getUserDataDir)());t.default=()=>((0,r.useEffect)(()=>{(0,f.confirmUserUUIDsExist)((0,a.getUserDataDir)()),(0,f.populateUuids)()},[]),r.default.createElement(a.App,{appReducer:c.default,deviceSelect:r.default.createElement(u.default,null),sidePanel:r.default.createElement(o.default,null),panes:[{name:"Connection Map",Main:l.default},{name:"Server Setup",Main:d.default}],documentation:i.default},r.default.createElement(s.default,null))),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(1))&&r.__esModule?r:{default:r},i=n(8);var o=[a.default.createElement(i.DocumentationSection,{key:"infocenter",linkLabel:"Go to Infocenter",link:"https://infocenter.nordicsemi.com/topic/ug_nrfconnect_ble/UG/nRF_Connect_BLE/nRF_Connect_intro.html"},"Visit our Infocenter for more documentation about using the app.")];t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(1)),a=n(8),i=o(n(293));function o(e){return e&&e.__esModule?e:{default:e}}t.default=()=>r.default.createElement(a.SidePanel,null,r.default.createElement(i.default,null)),e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=b(n(1)),a=b(n(7)),i=b(n(18)),o=n(13),s=n(9),l=b(n(2)),u=n(16),d=y(n(10)),c=y(n(107)),f=b(n(320)),p=b(n(331)),h=b(n(14)),m=b(n(75)),_=n(111),v=b(n(41));function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function b(e){return e&&e.__esModule?e:{default:e}}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;tthis.handleTimeoutChange(e.target.value)})):null;let A=t.valueSeq();const E=n.filterRegexp;return E&&(A=A.filter((e=>t=>t.name.search(e)>=0||t.address.search(e)>=0)(E))),r.default.createElement("div",{id:"discoveredDevicesContainer"},r.default.createElement("div",null,r.default.createElement("h4",null,"Discovered devices",r.default.createElement(m.default,{visible:o}))),r.default.createElement("div",{className:"padded-row"},r.default.createElement(p.default,{scanInProgress:o,adapterIsConnecting:s,isAdapterAvailable:l,onScanClicked:d}),r.default.createElement(a.default,{title:"Clear list (Alt+C)",onClick:u,type:"button",className:"btn btn-primary btn-nordic"},r.default.createElement("span",{className:"mdi mdi-trash-can"}),r.default.createElement("span",null,"Clear")),r.default.createElement("div",{className:"discovery-options-expand"},r.default.createElement("span",{onClick:g,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("i",{className:"mdi mdi-"+y}),"Options"),b)),r.default.createElement("div",{style:{paddingTop:"0px"}},A.map((e,t)=>{const n=""+t;return r.default.createElement(f.default,{key:n,device:e,standalone:!1,adapterIsConnecting:s,isConnecting:e.isConnecting,onConnect:c,onCancelConnect:_,onToggleExpanded:v})})))}}var D=(0,o.connect)((function(e){const t=e.app,n=t.discovery,r=t.adapter.selectedAdapter;let a=!1,i=!1,o=!1;return r&&r.state&&(a=r.state.connecting||!1,i=r.state.scanning||!1,o=r.state.available||!1),{discoveredDevices:n.devices,discoveryOptions:n.options,adapterIsConnecting:a,isScanning:i,isAdapterAvailable:o}}),(function(e){return E(E({},(0,u.bindActionCreators)(c,e)),(0,u.bindActionCreators)(d,e))}))((0,v.default)(M));t.default=D,M.propTypes={discoveredDevices:l.default.instanceOf(s.OrderedMap),isAdapterAvailable:l.default.bool,isScanning:l.default.bool,adapterIsConnecting:l.default.bool,clearDevicesList:l.default.func.isRequired,toggleScan:l.default.func.isRequired,connectToDevice:l.default.func.isRequired,cancelConnect:l.default.func.isRequired,bindHotkey:l.default.func.isRequired,setDiscoveryOptions:l.default.func.isRequired,toggleOptionsExpanded:l.default.func.isRequired,toggleExpanded:l.default.func.isRequired,changeActiveScan:l.default.func.isRequired,setTimeoutChange:l.default.func.isRequired,discoveryOptions:l.default.objectOf(_.DiscoveryOptions)},M.defaultProps={discoveryOptions:{expanded:!0},discoveredDevices:[],isAdapterAvailable:!0,isScanning:!1,adapterIsConnecting:!1},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n>",l=o||r;if(null==n[r])return t?new Error("Required "+i+" `"+l+"` was not specified in `"+s+"`."):null;for(var u=arguments.length,d=Array(u>6?u-6:0),c=6;c{let t=e.jlink;return{family:r[t.deviceFamily]||"unknown",type:a[t.deviceVersion]||"unknown",firmwareString:t.jlinkObFirmwareVersion}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SupportedJLinkDevices=void 0,t.isSupportedJLinkDevice=function(e){return r.includes(e)},t.supportedJLinkDevicesString=function(){return r.join(", ")};const r=["PCA10028","PCA10031","PCA10040","PCA10056","PCA10100"];t.SupportedJLinkDevices=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,i.exists)(e,n=>{if(!n)return void(t&&t(new Error("Could not find file at path: "+e)));const i=e.replace(/ /g,"\\ ");"Darwin"===o.default.type()?r.default.execSync("open  "+i):a.shell.openPath(i)})};var r=s(n(315)),a=n(316),i=n(40),o=s(n(105));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t){e.exports=require("child_process")},function(e,t){e.exports=s},function(e,t){e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(40),i=(r=n(106))&&r.__esModule?r:{default:r},o=n(8);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(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 l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{if(200!==e.status)throw new Error(`Response code was ${e.status} when trying to access ${t} `);return e.json()}).then(t=>(function(e,t){const n=i.default.join(u,e),r=JSON.stringify(t,null,4);(0,a.writeFile)(n,r,e=>{e&&o.logger.debug("An error ocurred creating the file "+e.message)})}(e,t),t)).catch(e=>{throw e})}t.default=()=>{const e=Object.keys(d),t=e.map(e=>c(d[e]));return Promise.all(t).then(e=>{let t=s(e,3),n=t[0],r=t[1],a=t[2];return o.logger.info("Updated list of uuids with data from https://github.com/NordicSemiconductor/bluetooth-numbers-database/tree/master/v1"),{services:n,characteristics:r,descriptors:a}}).catch(t=>{o.logger.error(t+". Falling back to stored data");try{const t=s(e.map(e=>function(e){const t=i.default.join(u,e),n=(0,a.readFileSync)(t);return JSON.parse(n)}(d[e])),3),n=t[0],r=t[1];return{services:n,characteristics:r,descriptors:t[2]}}catch(e){return{}}})},e.exports=t.default},function(e){e.exports=JSON.parse('{"_comment":{"comment":["Add UUIDs for your services, characteristics, and descriptors in this file.","The format is the UUID of the item, followed by an object containing the data.","\'name\' is a mandatory handle, while \'format\' is optional.","Currently the only supported format is \'TEXT\', default is \'NO_FORMAT\'.","The application must be reloaded to access changes in this file."]},"uuid16bitServiceDefinitions":{"180D":{"name":"Heart Rate"}},"uuid16bitCharacteristicDefinitions":{"2A37":{"name":"Heart Rate Measurement"},"2A29":{"name":"Manufacturer Name String","format":"TEXT"}},"uuid16bitDescriptorDefinitions":{},"uuid128bitServiceDefinitions":{"6E400001B5A3F393E0A9E50E24DCCA9E":{"name":"UART over BLE"}},"uuid128bitCharacteristicDefinitions":{"6E400002B5A3F393E0A9E50E24DCCA9E":{"name":"UART RX"},"6E400003B5A3F393E0A9E50E24DCCA9E":{"name":"UART TX"}},"uuid128bitDescriptorDefinitions":{}}')},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(1)),a=d(n(7)),i=n(321),o=d(n(2)),s=n(12),l=n(32),u=n(17);function d(e){return e&&e.__esModule?e:{default:e}}const c=e=>{let t=e.rssi,n=0;n=t<-100?1:t<-80?2:t<-60?3:t<-45?4:5;const a=Array(5).fill(0).map((e,t)=>t0&&(this.currentFlags=t.flags),t.services&&t.services.size>0&&(this.currentServices=t.services),o=r.default.createElement("div",null,t.adData.filterNot((e,t)=>t.includes("BIT_SERVICE")||t.includes("_FLAGS")||t.includes("LOCAL_NAME")).map((e,t)=>{const n=t+"_1";return r.default.createElement("div",{key:n,className:"adv-line selectable"},r.default.createElement("span",{className:"adv-label"},f(t),":"),r.default.createElement("span",{className:"adv-value"},(0,l.toHexString)(e)))}).values()),s=this.currentAdvType?r.default.createElement("div",{className:"adv-line selectable"},r.default.createElement("span",{className:"adv-label"},"Advertising type:"),r.default.createElement("span",{className:"adv-value"},function(e){if(e)return e.includes("ADV_IND")?"Connectable undirected":e.includes("ADV_DIRECT")?"Connectable directed":e.includes("ADV_SCAN")?"Scannable undirected":e.includes("NONCONN_IND")?"Non connectable undirected":void 0}(this.currentAdvType))):null,m=r.default.createElement("div",{className:"adv-line selectable"},r.default.createElement("span",{className:"adv-label"},"Address type:"),r.default.createElement("span",{className:"adv-value"},f(t.addressType))),d=this.currentFlags&&this.currentFlags.size>0?r.default.createElement("div",{className:"adv-line selectable"},r.default.createElement("span",{className:"adv-label"},"Flags:"),this.currentFlags.map((e,t)=>{const n=t+"_3";return r.default.createElement("span",{key:n,className:"adv-value"},e)})):null,p=this.currentServices&&this.currentServices.size>0?r.default.createElement("div",{className:"adv-line selectable"},r.default.createElement("span",{className:"adv-label"},"Services:"),t.services.map((e,t)=>{const n=t+"_4";return r.default.createElement("span",{key:n,className:"adv-value"},(0,u.getUuidName)(e))})):null),h=r.default.createElement("div",{className:"address-text selectable"},t.address);const _=t.isExpanded?"menu-down":"menu-right";return t?r.default.createElement("div",{className:"device"},r.default.createElement("div",{className:"top-bar"},r.default.createElement("div",{style:{float:"right"}},r.default.createElement("span",{className:"address-text"},t.rssi+" dBm"),r.default.createElement(c,{rssi:t.rssi})),r.default.createElement("div",{className:"device-name selectable"},t.name||"")),r.default.createElement("div",{className:"discovered-device-body text-small"},r.default.createElement("div",{className:"discovered-device-address-line"},r.default.createElement(a.default,{type:"button",onClick:this.onButtonClick,className:"btn btn-primary btn-xs btn-nordic",disabled:!n&&i||t.connected,size:"sm"},r.default.createElement("span",null,n?"Cancel":"Connect"),r.default.createElement("i",{className:"mdi mdi-link-variant"})),h),r.default.createElement("div",null,r.default.createElement("span",{className:"adv-details",onClick:this.toggleExpand,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("i",{className:"mdi mdi-"+_}),"Details"),m,s,p,d,o))):r.default.createElement("div",null,r.default.createElement("h3",{style:{textAlign:"center"}},"Local dongle"))}}p.propTypes={device:o.default.instanceOf(s.ImmutableDevice).isRequired,adapterIsConnecting:o.default.bool.isRequired,isConnecting:o.default.bool.isRequired,onConnect:o.default.func.isRequired,onCancelConnect:o.default.func.isRequired,onToggleExpanded:o.default.func.isRequired};var h=p;t.default=h,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(322);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var a=n(109);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var i=n(324);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var o=n(55);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var s=n(326);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=n(34);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var u=n(327);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var d=n(108);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var c=n(328);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var f=n(329);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var p=n(330);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=function(e,t){void 0===t&&(t={});return(0,a.pascalCase)(e,(0,r.__assign)({transform:i},t))},t.camelCaseTransform=i,t.camelCaseTransformMerge=function(e,t){return 0===t?e.toLowerCase():(0,a.pascalCaseTransformMerge)(e)};var r=n(20),a=n(108);function i(e,t){return 0===t?e.toLowerCase():(0,a.pascalCaseTransform)(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.localeLowerCase=function(e,t){var n=r[t.toLowerCase()];return a(n?e.replace(n.regexp,(function(e){return n.map[e]})):e)},t.lowerCase=a;var r={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"İ":"i",I:"ı","İ":"i"}},az:{regexp:/\u0130/g,map:{"İ":"i",I:"ı","İ":"i"}},lt:{regexp:/\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,map:{I:"i̇",J:"j̇","Į":"į̇","Ì":"i̇̀","Í":"i̇́","Ĩ":"i̇̃"}}};function a(e){return e.toLowerCase()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.constantCase=function(e,t){void 0===t&&(t={});return(0,a.noCase)(e,(0,r.__assign)({delimiter:"_",transform:i.upperCase},t))};var r=n(20),a=n(34),i=n(325)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.localeUpperCase=function(e,t){var n=r[t.toLowerCase()];return a(n?e.replace(n.regexp,(function(e){return n.map[e]})):e)},t.upperCase=a;var r={tr:{regexp:/[\u0069]/g,map:{i:"İ"}},az:{regexp:/[\u0069]/g,map:{i:"İ"}},lt:{regexp:/[\u0069\u006A\u012F]\u0307|\u0069\u0307[\u0300\u0301\u0303]/g,map:{"i̇":"I","j̇":"J","į̇":"Į","i̇̀":"Ì","i̇́":"Í","i̇̃":"Ĩ"}}};function a(e){return e.toUpperCase()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.headerCase=function(e,t){void 0===t&&(t={});return(0,a.capitalCase)(e,(0,r.__assign)({delimiter:"-"},t))};var r=n(20),a=n(109)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paramCase=function(e,t){void 0===t&&(t={});return(0,a.dotCase)(e,(0,r.__assign)({delimiter:"-"},t))};var r=n(20),a=n(55)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pathCase=function(e,t){void 0===t&&(t={});return(0,a.dotCase)(e,(0,r.__assign)({delimiter:"/"},t))};var r=n(20),a=n(55)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sentenceCase=function(e,t){void 0===t&&(t={});return(0,a.noCase)(e,(0,r.__assign)({delimiter:" ",transform:o},t))},t.sentenceCaseTransform=o;var r=n(20),a=n(34),i=n(110);function o(e,t){var n=e.toLowerCase();return 0===t?(0,i.upperCaseFirst)(n):n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.snakeCase=function(e,t){void 0===t&&(t={});return(0,a.dotCase)(e,(0,r.__assign)({delimiter:"_"},t))};var r=n(20),a=n(55)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(1)),a=s(n(7)),i=s(n(2)),o=s(n(41));function s(e){return e&&e.__esModule?e:{default:e}}const l=e=>{const t=e.isAdapterAvailable,n=e.adapterIsConnecting,i=e.scanInProgress,o=e.onScanClicked;let s,l,u;return i?(s="Stop scan",l="mdi mdi-stop",u="Stop scan (Alt+S)"):(s="Start scan",l="mdi mdi-play",u="Start scan (Alt+S)"),(0,e.bindHotkey)("alt+s",o),r.default.createElement(a.default,{title:u,className:"btn btn-primary btn-nordic",disabled:!t||n,type:"button",onClick:o},r.default.createElement("span",{className:l}),r.default.createElement("span",null,s))};l.propTypes={isAdapterAvailable:i.default.bool.isRequired,adapterIsConnecting:i.default.bool.isRequired,scanInProgress:i.default.bool.isRequired,onScanClicked:i.default.func.isRequired,bindHotkey:i.default.func.isRequired};var u=(0,o.default)(l);t.default=u,e.exports=t.default},function(e,t,n){"use strict";var r;!function(a,i,o){if(a){for(var s,l={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},u={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},d={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},c={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},f=1;f<20;++f)l[111+f]="f"+f;for(f=0;f<=9;++f)l[f+96]=f.toString();g.prototype.bind=function(e,t,n){return e=e instanceof Array?e:[e],this._bindMultiple.call(this,e,t,n),this},g.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},g.prototype.trigger=function(e,t){return this._directMap[e+":"+t]&&this._directMap[e+":"+t]({},e),this},g.prototype.reset=function(){return this._callbacks={},this._directMap={},this},g.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function e(t,n){return null!==t&&t!==i&&(t===n||e(t.parentNode,n))}(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},g.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},g.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(l[t]=e[t]);s=null},g.init=function(){var e=g(i);for(var t in e)"_"!==t.charAt(0)&&(g[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},g.init(),a.Mousetrap=g,e.exports&&(e.exports=g),void 0===(r=function(){return g}.call(t,n,t,e))||(e.exports=r)}function p(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function h(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return l[e.which]?l[e.which]:u[e.which]?u[e.which]:String.fromCharCode(e.which).toLowerCase()}function m(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function _(e,t,n){return n||(n=function(){if(!s)for(var e in s={},l)e>95&&e<112||l.hasOwnProperty(e)&&(s[l[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function v(e,t){var n,r,a,i=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),a=0;a1?f(e,s,n,r):(o=v(e,r),t._callbacks[o.key]=t._callbacks[o.key]||[],u(o.key,o.modifiers,{type:o.action},a,e,i),t._callbacks[o.key][a?"unshift":"push"]({callback:n,modifiers:o.modifiers,action:o.action,seq:a,level:i,combo:e}))}t._handleKey=function(e,t,n){var r,a=u(e,t,n),i={},c=0,f=!1;for(r=0;r{let t=e.selectEventId,n=e.rejectDeviceConnectionParams,o=e.updateDeviceConnectionParams,s=e.updateDevicePhyParams,l=e.updateDeviceMtu,u=e.updateDeviceDataLength,d=e.disconnectFromDevice,c=e.acceptEvent,b=e.removeEvent,A=e.pairWithDevice,E=e.security,w=e.rejectPairing,M=e.acceptPairing,D=e.replyNumericalComparisonMatch,C=e.replyAuthKey,x=e.replyLescOob,T=e.sendKeypress,L=e.clearAllEvents,k=e.showDialog,S=e.visible,P=e.events,O=e.selectedEventId;if(null==P||P.size<1)return r.default.createElement("div",null);const I=e=>t(e);return r.default.createElement(i.default,{className:"events-modal",show:S,backdrop:!0,onHide:()=>{L(),k(!1)}},r.default.createElement(i.default.Header,null,r.default.createElement(i.default.Title,null,"Events and actions")),r.default.createElement("div",{className:"bleevent-dialog"},r.default.createElement("div",{className:"bleevent-dialog-view"},r.default.createElement("div",{className:"service-items-wrap"},P.valueSeq().map(e=>r.default.createElement(h.default,{key:e.id,onSelected:I,selected:O===e.id,event:e,onTimedOut:()=>{console.log("Guessing event timed out!")}}))),P.valueSeq().map(e=>r.default.createElement("div",{key:e.id,className:"item-editor",style:-1!==O&&O===e.id&&e.state===f.BLEEventState.INDETERMINATE?{}:{display:"none"}},(e=>{switch(e.type){case f.BLEEventType.USER_INITIATED_CONNECTION_UPDATE:case f.BLEEventType.PEER_PERIPHERAL_INITIATED_CONNECTION_UPDATE:return r.default.createElement(m.default,{event:e,onRejectConnectionParams:t=>n(e.id,t),onUpdateConnectionParams:(t,n)=>o(e.id,t,n),onIgnoreEvent:e=>c(e),onCancelUserInitiatedEvent:e=>b(e)});case f.BLEEventType.PEER_CENTRAL_INITIATED_CONNECTION_UPDATE:return r.default.createElement(m.default,{event:e,onRejectConnectionParams:e=>d(e),onUpdateConnectionParams:e=>c(e),onIgnoreEvent:()=>{},onCancelUserInitiatedEvent:e=>b(e)});case f.BLEEventType.USER_INITIATED_PAIRING:return r.default.createElement(g.default,{event:e,onPair:t=>A(e.id,e.device,t),onCancel:()=>b(e.id),security:E});case f.BLEEventType.PEER_INITIATED_PAIRING:return r.default.createElement(g.default,{event:e,onAccept:t=>M(e.id,e.device,t),onReject:()=>w(e.id,e.device),onCancel:()=>b(e.id),security:E});case f.BLEEventType.PASSKEY_DISPLAY:case f.BLEEventType.PASSKEY_REQUEST:case f.BLEEventType.NUMERICAL_COMPARISON:case f.BLEEventType.LEGACY_OOB_REQUEST:case f.BLEEventType.LESC_OOB_REQUEST:return r.default.createElement(p.default,{event:e,onAuthKeySubmit:(t,n)=>C(e.id,e.device,t,n),onLescOobSubmit:t=>x(e.id,e.device,t,e.ownOobData),onNumericalComparisonMatch:t=>D(e.id,e.device,t),onKeypress:t=>T(e.id,e.device,t),onCancel:()=>b(e.id)});case f.BLEEventType.USER_INITIATED_PHY_UPDATE:case f.BLEEventType.PEER_INITIATED_PHY_UPDATE:return r.default.createElement(y.default,{event:e,onUpdatePhy:t=>{let n=t.rxPhy,r=t.txPhy;return s(e.id,e.device,{rx_phys:n,tx_phys:r})},onCancelPhyUpdate:()=>{e.type===f.BLEEventType.PEER_INITIATED_PHY_UPDATE?d(e.device):b(e.id)}});case f.BLEEventType.USER_INITIATED_MTU_UPDATE:case f.BLEEventType.PEER_INITIATED_MTU_UPDATE:return r.default.createElement(v.default,{event:e,onUpdateMtu:t=>l(e.id,e.device,t,!1),onAcceptMtu:t=>l(e.id,e.device,t,!0),onCancelMtuUpdate:()=>{e.type===f.BLEEventType.PEER_INITIATED_MTU_UPDATE?d(e.device):b(e.id)}});case f.BLEEventType.USER_INITIATED_DATA_LENGTH_UPDATE:case f.BLEEventType.PEER_INITIATED_DATA_LENGTH_UPDATE:return r.default.createElement(_.default,{event:e,onUpdateDataLength:t=>u(e.id,e.device,t),onCancelDataLengthUpdate:()=>{e.type===f.BLEEventType.PEER_INITIATED_DATA_LENTH_UPDATE?d(e.device):b(e.id)}});default:return null}})(e))),r.default.createElement("div",{className:"item-editor",style:-1===O&&P.size>0?{}:{display:"none"}},r.default.createElement("div",{className:"nothing-selected"})))),r.default.createElement(i.default.Footer,null,r.default.createElement(a.default,{className:"btn btn-primary btn-nordic",onClick:()=>{L(),k(!1)}},"Close")))};w.propTypes={visible:l.default.bool.isRequired,events:l.default.instanceOf(s.Map).isRequired,selectedEventId:l.default.number.isRequired,clearAllEvents:l.default.func.isRequired,showDialog:l.default.func.isRequired,selectEventId:l.default.func.isRequired,rejectDeviceConnectionParams:l.default.func.isRequired,updateDeviceConnectionParams:l.default.func.isRequired,updateDevicePhyParams:l.default.func.isRequired,updateDeviceMtu:l.default.func.isRequired,updateDeviceDataLength:l.default.func.isRequired,removeEvent:l.default.func.isRequired,rejectPairing:l.default.func.isRequired,acceptPairing:l.default.func.isRequired,replyNumericalComparisonMatch:l.default.func.isRequired,replyAuthKey:l.default.func.isRequired,replyLescOob:l.default.func.isRequired,sendKeypress:l.default.func.isRequired,disconnectFromDevice:l.default.func.isRequired,acceptEvent:l.default.func.isRequired,pairWithDevice:l.default.func.isRequired,security:l.default.object},w.defaultProps={security:null};var M=(0,o.connect)((function(e){const t=e.app,n=t.bleEvent,r=t.adapter,a=r?r.getIn(["adapters",r.selectedAdapterIndex]):void 0;return{visible:n.visible,events:n.events,selectedEventId:n.selectedEventId,security:a?a.security:null}}),(function(e){return Object.assign((0,u.bindActionCreators)(d,e),(0,u.bindActionCreators)(c,e))}))(w);t.default=M,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1);var a=function(e){var t=(0,r.useRef)(e);return(0,r.useEffect)((function(){t.current=e}),[e]),t};t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.useRef)(e);return t.current=e,t};var r=n(1);e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,a.default)(e).getComputedStyle(e,t)};var r,a=(r=n(338))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,a.default)(e);return t&&t.defaultView||window};var r,a=(r=n(35))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,a.default)(e).replace(i,"-ms-")};var r,a=(r=n(340))&&r.__esModule?r:{default:r};var i=/^ms-/;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(r,"-$1").toLowerCase()};var r=/([A-Z])/g;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!(!e||!r.test(e))};var r=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r){void 0===n&&(n=!1);void 0===r&&(r=!0);if(e){var a=document.createEvent("HTMLEvents");a.initEvent(t,n,r),e.dispatchEvent(a)}},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=b(n(44)),i=b(n(58)),o=b(n(344)),s=b(n(81)),l=b(n(56)),u=b(n(80)),d=b(n(2)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=y(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),f=b(n(45)),p=b(n(82)),h=b(n(79)),m=b(n(114)),_=b(n(23)),v=b(n(115)),g=b(n(117));function y(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(y=function(e){return e?n:t})(e)}function b(e){return e&&e.__esModule?e:{default:e}}function A(e){var t=e||(r||(r=new v.default),r),n=(0,c.useRef)({dialog:null,backdrop:null});return Object.assign(n.current,{add:function(e,r){return t.add(n.current,e,r)},remove:function(){return t.remove(n.current)},isTopModal:function(){return t.isTopModal(n.current)},setDialogRef:(0,c.useCallback)((function(e){n.current.dialog=e}),[]),setBackdropRef:(0,c.useCallback)((function(e){n.current.backdrop=e}),[])})}var E=(0,c.forwardRef)((function(e,t){var n=e.show,r=void 0!==n&&n,d=e.role,v=void 0===d?"dialog":d,y=e.className,b=e.style,E=e.children,w=e.backdrop,M=void 0===w||w,D=e.keyboard,C=void 0===D||D,x=e.onBackdropClick,T=e.onEscapeKeyDown,L=e.transition,k=e.backdropTransition,S=e.autoFocus,P=void 0===S||S,O=e.enforceFocus,I=void 0===O||O,Y=e.restoreFocus,R=void 0===Y||Y,N=e.restoreFocusOptions,j=e.renderDialog,H=e.renderBackdrop,B=void 0===H?function(e){return c.default.createElement("div",e)}:H,U=e.manager,W=e.container,F=e.containerClassName,V=e.onShow,z=e.onHide,q=void 0===z?function(){}:z,G=e.onExit,$=e.onExited,J=e.onExiting,K=e.onEnter,Q=e.onEntering,X=e.onEntered,Z=(0,i.default)(e,["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","containerClassName","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"]),ee=(0,g.default)(W),te=A(U),ne=(0,p.default)(),re=(0,m.default)(r),ae=(0,c.useState)(!r),ie=ae[0],oe=ae[1],se=(0,c.useRef)(null);(0,c.useImperativeHandle)(t,(function(){return te}),[te]),l.default&&!re&&r&&(se.current=(0,o.default)()),L||r||ie?r&&ie&&oe(!1):oe(!0);var le=(0,_.default)((function(){if(te.add(ee,F),he.current=(0,u.default)(document,"keydown",fe),pe.current=(0,u.default)(document,"focus",(function(){return setTimeout(de)}),!0),V&&V(),P){var e=(0,o.default)(document);te.dialog&&e&&!(0,s.default)(te.dialog,e)&&(se.current=e,te.dialog.focus())}})),ue=(0,_.default)((function(){var e;(te.remove(),null==he.current||he.current(),null==pe.current||pe.current(),R)&&(null==(e=se.current)||null==e.focus||e.focus(N),se.current=null)}));(0,c.useEffect)((function(){r&&ee&&le()}),[r,ee,le]),(0,c.useEffect)((function(){ie&&ue()}),[ie,ue]),(0,h.default)((function(){ue()}));var de=(0,_.default)((function(){if(I&&ne()&&te.isTopModal()){var e=(0,o.default)();te.dialog&&e&&!(0,s.default)(te.dialog,e)&&te.dialog.focus()}})),ce=(0,_.default)((function(e){e.target===e.currentTarget&&(null==x||x(e),!0===M&&q())})),fe=(0,_.default)((function(e){C&&27===e.keyCode&&te.isTopModal()&&(null==T||T(e),e.defaultPrevented||q())})),pe=(0,c.useRef)(),he=(0,c.useRef)(),me=L;if(!ee||!(r||me&&!ie))return null;var _e=(0,a.default)({role:v,ref:te.setDialogRef,"aria-modal":"dialog"===v||void 0},Z,{style:b,className:y,tabIndex:-1}),ve=j?j(_e):c.default.createElement("div",_e,c.default.cloneElement(E,{role:"document"}));me&&(ve=c.default.createElement(me,{appear:!0,unmountOnExit:!0,in:!!r,onExit:G,onExiting:J,onExited:function(){oe(!0);for(var e=arguments.length,t=new Array(e),n=0;ne.clientHeight;var t};var r=i(n(348)),a=i(n(35));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"window"in e&&e.window===e?e:(0,a.default)(e)&&e.defaultView||!1};var r,a=(r=n(349))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"nodeType"in e&&e.nodeType===document.DOCUMENT_NODE},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ariaHidden=i,t.hideSiblings=function(e,t){var n=t.dialog,r=t.backdrop;a(e,[n,r],(function(e){return i(!0,e)}))},t.showSiblings=function(e,t){var n=t.dialog,r=t.backdrop;a(e,[n,r],(function(e){return i(!1,e)}))};var r=["template","script","style"],a=function(e,t,n){[].forEach.call(e.children,(function(e){var a,i,o;-1===t.indexOf(e)&&(i=(a=e).nodeType,o=a.tagName,1===i&&-1===r.indexOf(o.toLowerCase()))&&n(e)}))};function i(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(118)),a=l(n(57)),i=l(n(119)),o=l(n(77)),s=l(n(115));function l(e){return e&&e.__esModule?e:{default:e}}var u=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",d=".sticky-top",c=".navbar-toggler",f=function(e){function t(){return e.apply(this,arguments)||this}(0,r.default)(t,e);var n=t.prototype;return n.adjustAndStore=function(e,t,n){var r,i=t.style[e];t.dataset[e]=i,(0,a.default)(t,((r={})[e]=parseFloat((0,a.default)(t,e))+n+"px",r))},n.restore=function(e,t){var n,r=t.dataset[e];void 0!==r&&(delete t.dataset[e],(0,a.default)(t,((n={})[e]=r,n)))},n.setContainerStyle=function(t,n){var r=this;if(e.prototype.setContainerStyle.call(this,t,n),t.overflowing){var a=(0,o.default)();(0,i.default)(n,u).forEach((function(e){return r.adjustAndStore("paddingRight",e,a)})),(0,i.default)(n,d).forEach((function(e){return r.adjustAndStore("marginRight",e,-a)})),(0,i.default)(n,c).forEach((function(e){return r.adjustAndStore("marginRight",e,a)}))}},n.removeContainerStyle=function(t,n){var r=this;e.prototype.removeContainerStyle.call(this,t,n),(0,i.default)(n,u).forEach((function(e){return r.restore("paddingRight",e)})),(0,i.default)(n,d).forEach((function(e){return r.restore("marginRight",e)})),(0,i.default)(n,c).forEach((function(e){return r.restore("marginRight",e)}))},t}(s.default);t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e,n){return t.default=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.UNMOUNTED=t.EXITING=t.EXITED=t.ENTERING=t.ENTERED=void 0;var r=u(n(59)),a=u(n(83)),i=(u(n(2)),u(n(1))),o=u(n(45)),s=u(n(354)),l=(n(355),u(n(356)));function u(e){return e&&e.__esModule?e:{default:e}}t.UNMOUNTED="unmounted";t.EXITED="exited";t.ENTERING="entering";t.ENTERED="entered";t.EXITING="exiting";var d=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var a,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(a="exited",r.appearStatus="entering"):a="entered":a=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:a},r.nextCallback=null,r}(0,a.default)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,a=this.props.nodeRef?[r]:[o.default.findDOMNode(this),r],i=a[0],l=a[1],u=this.getTimeouts(),d=r?u.appear:u.enter;!e&&!n||s.default.disabled?this.safeSetState({status:"entered"},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:"entering"},(function(){t.props.onEntering(i,l),t.onTransitionEnd(d,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(i,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:o.default.findDOMNode(this);t&&!s.default.disabled?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:o.default.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=a[0],s=a[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,a=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.default)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.default.createElement(l.default.Provider,{value:null},"function"==typeof n?n(e,a):i.default.cloneElement(i.default.Children.only(n),a))},t}(i.default.Component);function c(){}d.contextType=l.default,d.propTypes={},d.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:c,onEntering:c,onEntered:c,onExit:c,onExiting:c,onExited:c},d.UNMOUNTED="unmounted",d.EXITED="exited",d.ENTERING="entering",d.ENTERED="entered",d.EXITING="exiting";var f=d;t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={disabled:!1},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutsShape=t.classNamesShape=void 0;var r;(r=n(2))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=((r=n(1))&&r.__esModule?r:{default:r}).default.createContext(null);t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o(e,"transitionDuration"),r=o(e,"transitionDelay"),i=(0,a.default)(e,(function(n){n.target===e&&(i(),t(n))}),n+r)};var r=i(n(57)),a=i(n(113));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,r.default)(e,t)||"",a=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*a}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.offsetHeight},e.exports=t.default},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(0,((r=n(31))&&r.__esModule?r:{default:r}).default)("modal-body");t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(4)),i=l(n(5)),o=l(n(1)),s=n(6);function l(e){return e&&e.__esModule?e:{default:e}}var u=["bsPrefix","className","contentClassName","centered","size","children","scrollable"],d=o.default.forwardRef((function(e,t){var n=e.bsPrefix,l=e.className,d=e.contentClassName,c=e.centered,f=e.size,p=e.children,h=e.scrollable,m=(0,a.default)(e,u),_=(n=(0,s.useBootstrapPrefix)(n,"modal"))+"-dialog";return o.default.createElement("div",(0,r.default)({},m,{ref:t,className:(0,i.default)(_,l,f&&n+"-"+f,c&&_+"-centered",h&&_+"-scrollable")}),o.default.createElement("div",{className:(0,i.default)(n+"-content",d)},p))}));d.displayName="ModalDialog";var c=d;t.default=c,e.exports=t.default},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(0,((r=n(31))&&r.__esModule?r:{default:r}).default)("modal-footer");t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(3)),a=f(n(4)),i=f(n(5)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),s=f(n(23)),l=n(6),u=f(n(363)),d=f(n(121));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}var p=["bsPrefix","closeLabel","closeButton","onHide","className","children"],h=o.default.forwardRef((function(e,t){var n=e.bsPrefix,c=e.closeLabel,f=e.closeButton,h=e.onHide,m=e.className,_=e.children,v=(0,a.default)(e,p);n=(0,l.useBootstrapPrefix)(n,"modal-header");var g=(0,o.useContext)(d.default),y=(0,s.default)((function(){g&&g.onHide(),h&&h()}));return o.default.createElement("div",(0,r.default)({ref:t},v,{className:(0,i.default)(m,n)}),_,f&&o.default.createElement(u.default,{label:c,onClick:y}))}));h.displayName="ModalHeader",h.defaultProps={closeLabel:"Close",closeButton:!1};var m=h;t.default=m,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(3)),a=l(n(4)),i=l(n(2)),o=l(n(1)),s=l(n(5));function l(e){return e&&e.__esModule?e:{default:e}}var u=["label","onClick","className"],d={label:i.default.string.isRequired,onClick:i.default.func},c=o.default.forwardRef((function(e,t){var n=e.label,i=e.onClick,l=e.className,d=(0,a.default)(e,u);return o.default.createElement("button",(0,r.default)({ref:t,type:"button",className:(0,s.default)("close",l),onClick:i},d),o.default.createElement("span",{"aria-hidden":"true"},"×"),o.default.createElement("span",{className:"sr-only"},n))}));c.displayName="CloseButton",c.propTypes=d,c.defaultProps={label:"Close"};var f=c;t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(31));function a(e){return e&&e.__esModule?e:{default:e}}var i=(0,a(n(365)).default)("h4"),o=(0,r.default)("modal-title",{Component:i});t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3)),a=o(n(1)),i=o(n(5));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return a.default.forwardRef((function(t,n){return a.default.createElement("div",(0,r.default)({},t,{ref:n,className:(0,i.default)(t.className,e)}))}))},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(1)),a=p(n(7)),i=p(n(26)),o=p(n(46)),s=p(n(36)),l=p(n(2)),u=n(19),d=n(28),c=n(32),f=p(n(14));function p(e){return e&&e.__esModule?e:{default:e}}function h(e){return e||""===e?-1===e.search(/^\d{6}$/)?"error":"success":"error"}function m(e){return e?-1===e.search(/^[0-9a-fA-F]{32}$/)?"error":"success":"error"}class _ extends r.default.PureComponent{constructor(e){super(e),this.authKeyInput="",this.randomInput="",this.confirmInput="",this.validationFeedbackEnabled=!1,this.handlePasskeyChange=this.handlePasskeyChange.bind(this),this.handleRandomChange=this.handleRandomChange.bind(this),this.handleConfirmChange=this.handleConfirmChange.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handlePasskeySubmit=this.handlePasskeySubmit.bind(this),this.handleOobSubmit=this.handleOobSubmit.bind(this),this.handleLescOobSubmit=this.handleLescOobSubmit.bind(this)}handlePasskeyChange(e){const t=this.props,n=t.onKeypress;if(!0===t.event.sendKeypressEnabled){const t=e.target.value.length-this.authKeyInput.length;if(0===e.target.value.length&&this.authKeyInput.length>1)n("BLE_GAP_KP_NOT_TYPE_PASSKEY_CLEAR");else if(t>0)for(let e=0;e0&&(e.backgroundColor=6===n?"green":"yellow");for(let t=0;t{this.handleCancel(),e.preventDefault()}},d,c,r.default.createElement("div",{className:"form-group"},r.default.createElement(a.default,{type:"button",onClick:this.handleCancel,className:"btn btn-primary btn-sm btn-nordic"},"OK")))}createPasskeyRequestControls(){return r.default.createElement("form",{className:"form-horizontal",onSubmit:e=>{this.handlePasskeySubmit(),e.preventDefault()}},r.default.createElement(f.default,{label:"Passkey",value:this.authKeyInput,id:"passkeyInputId",hasFeedback:this.validationFeedbackEnabled,placeholder:"Enter passkey",validationState:h(this.authKeyInput),onChange:this.handlePasskeyChange}),r.default.createElement("div",{className:"form-group"},r.default.createElement(a.default,{type:"button",onClick:this.handleCancel,className:"btn btn-default btn-sm btn-nordic"},"Ignore"),r.default.createElement(a.default,{type:"button",onClick:this.handlePasskeySubmit,className:"btn btn-primary btn-sm btn-nordic"},"Submit")))}createNumericalComparisonControls(e){return r.default.createElement("form",{className:"form-horizontal",onSubmit:e=>{this.handleNumericalComparisonMatch(!0),e.preventDefault()}},r.default.createElement("div",{className:"form-group"},r.default.createElement("label",{className:"col-sm-4"},"Passkey"),r.default.createElement("label",{className:"col-sm-7"},e)),r.default.createElement("div",{className:"form-group"},r.default.createElement(a.default,{type:"button",onClick:()=>this.handleNumericalComparisonMatch(!1),className:"btn btn-default btn-sm btn-nordic"},"No match"),r.default.createElement(a.default,{type:"button",onClick:()=>this.handleNumericalComparisonMatch(!0),className:"btn btn-primary btn-sm btn-nordic"},"Match")))}createLegacyOobRequestControls(){return r.default.createElement("form",{className:"form-horizontal",onSubmit:e=>{this.handleOobSubmit(),e.preventDefault()}},r.default.createElement(f.default,{label:"Out-of-band data",value:this.authKeyInput,id:"oobInputId",hasFeedback:this.validationFeedbackEnabled,placeholder:"Enter out-of-band data",validationState:m(this.authKeyInput),onChange:this.handlePasskeyChange}),r.default.createElement("div",{className:"form-group"},r.default.createElement(a.default,{type:"button",onClick:this.handleCancel,className:"btn btn-default btn-sm btn-nordic"},"Ignore"),r.default.createElement(a.default,{type:"button",onClick:this.handleOobSubmit,className:"btn btn-primary btn-sm btn-nordic"},"Submit")))}createLescOobRequestControls(){const e=this.props.event,t=(0,c.toHexString)(e.ownOobData.r).replace(/-/g,""),n=(0,c.toHexString)(e.ownOobData.c).replace(/-/g,"");return r.default.createElement("form",{className:"form-horizontal",onSubmit:e=>{this.handleLescOobSubmit(),e.preventDefault()}},r.default.createElement(f.default,{label:"Peer random",value:this.randomInput,id:"randomInputId",hasFeedback:this.validationFeedbackEnabled,placeholder:"Enter out-of-band data",validationState:m(this.randomInput),onChange:this.handleRandomChange}),r.default.createElement(f.default,{label:"Peer confirm",value:this.confirmInput,id:"confirmInputId",hasFeedback:this.validationFeedbackEnabled,placeholder:"Enter out-of-band data",validationState:m(this.confirmInput),onChange:this.handleConfirmChange}),r.default.createElement(f.default,{readOnly:!0,label:"Own random",id:"randomInputId",value:t}),r.default.createElement(f.default,{readOnly:!0,label:"Own confirm",id:"confirmInputId",value:n}),r.default.createElement("div",{className:"form-group"},r.default.createElement(a.default,{type:"button",onClick:this.handleCancel,className:"btn btn-default btn-sm btn-nordic"},"Ignore"),r.default.createElement(a.default,{type:"button",onClick:this.handleLescOobSubmit,className:"btn btn-primary btn-sm btn-nordic"},"Submit")))}render(){const e=this.props.event;let t="",n="";switch(e.type){case u.BLEEventType.PASSKEY_DISPLAY:t="Passkey display",n=this.createPasskeyDisplayControls(e.authKeyParams.passkey,e.receiveKeypressEnabled,e.keypressCount);break;case u.BLEEventType.PASSKEY_REQUEST:t="Passkey request",n=this.createPasskeyRequestControls();break;case u.BLEEventType.NUMERICAL_COMPARISON:t="Numerical comparison",n=this.createNumericalComparisonControls(e.authKeyParams.passkey);break;case u.BLEEventType.LEGACY_OOB_REQUEST:t="Out-of-band data request",n=this.createLegacyOobRequestControls();break;case u.BLEEventType.LESC_OOB_REQUEST:t="Out-of-band data request",n=this.createLescOobRequestControls()}return r.default.createElement("div",null,r.default.createElement("div",{className:"event-header"},r.default.createElement("h4",null,t)),n)}}_.propTypes={event:l.default.instanceOf(d.Event).isRequired,onKeypress:l.default.func.isRequired,onAuthKeySubmit:l.default.func.isRequired,onNumericalComparisonMatch:l.default.func.isRequired,onLescOobSubmit:l.default.func.isRequired,onCancel:l.default.func.isRequired};var v=_;t.default=v,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(1)),a=l(n(2)),i=n(19),o=n(28),s=l(n(368));function l(e){return e&&e.__esModule?e:{default:e}}function u(){console.log("TODO: implement me! I did not exist earlier either...")}class d extends r.default.PureComponent{constructor(e){super(e),this.onClick=this.onClick.bind(this)}onClick(e){e.stopPropagation();const t=this.props,n=t.onSelected,r=t.event;n&&n(r.id)}getEventInfo(){switch(this.props.event.type){case i.BLEEventType.USER_INITIATED_CONNECTION_UPDATE:case i.BLEEventType.PEER_CENTRAL_INITIATED_CONNECTION_UPDATE:return{name:"Connection update",icon:r.default.createElement("span",{className:"mdi mdi-link-variant"},r.default.createElement("span",{className:"mdi mdi-arrow-down"}))};case i.BLEEventType.PEER_PERIPHERAL_INITIATED_CONNECTION_UPDATE:return{name:"Connection update request",icon:r.default.createElement("span",{className:"mdi mdi-link-variant"},r.default.createElement("span",{className:"mdi mdi-arrow-up"}))};case i.BLEEventType.USER_INITIATED_PAIRING:return{name:"Pairing",icon:r.default.createElement("span",{className:"mdi mdi-link-variant"},r.default.createElement("span",{className:"mdi mdi-arrow-down"}))};case i.BLEEventType.PEER_INITIATED_PAIRING:return{name:"Pairing requested",icon:r.default.createElement("span",{className:"mdi mdi-link-variant"},r.default.createElement("span",{className:"mdi mdi-arrow-up"}))};case i.BLEEventType.PASSKEY_DISPLAY:return{name:"Passkey display",icon:""};case i.BLEEventType.PASSKEY_REQUEST:return{name:"Passkey request",icon:""};case i.BLEEventType.NUMERICAL_COMPARISON:return{name:"Numerical comparison",icon:""};case i.BLEEventType.LEGACY_OOB_REQUEST:case i.BLEEventType.LESC_OOB_REQUEST:return{name:"OOB request",icon:""};case i.BLEEventType.USER_INITIATED_PHY_UPDATE:case i.BLEEventType.PEER_INITIATED_PHY_UPDATE:return{name:"Phy update",icon:""};case i.BLEEventType.USER_INITIATED_MTU_UPDATE:case i.BLEEventType.PEER_INITIATED_MTU_UPDATE:return{name:"MTU update",icon:""};case i.BLEEventType.USER_INITIATED_DATA_LENGTH_UPDATE:case i.BLEEventType.PEER_INITIATED_DATA_LENGTH_UPDATE:return{name:"Data length update",icon:""};default:return{name:"unknown event",icon:"unknown event"}}}getEventContent(){const e=this.props,t=e.event,n=e.onTimedOut,a=this.getEventInfo().name,o=(t.type===i.BLEEventType.PEER_INITIATED_CONNECTION_UPDATE||t.type===i.BLEEventType.PEER_PERIPHERAL_INITIATED_CONNECTION_UPDATE||t.type===i.BLEEventType.PASSKEY_DISPLAY||t.type===i.BLEEventType.PASSKEY_REQUEST||t.type===i.BLEEventType.NUMERICAL_COMPARISON||t.type===i.BLEEventType.LEGACY_OOB_REQUEST||t.type===i.BLEEventType.LESC_OOB_REQUEST)&&t.state===i.BLEEventState.INDETERMINATE;return r.default.createElement("div",{className:"content"},r.default.createElement("span",{className:"left-space"},r.default.createElement("div",{className:"service-name truncate-text"},a),r.default.createElement("div",{className:"address-text"},t.device.address)),o&&r.default.createElement(s.default,{ref:e=>{this.countDownTimerRef=e},seconds:30,onTimeout:()=>n()}))}getClass(){const e=this.props.event;if(!e)return"";switch(e.state){case i.BLEEventState.ERROR:case i.BLEEventState.REJECTED:case i.BLEEventState.DISCONNECTED:case i.BLEEventState.IGNORED:return"failed-item";case i.BLEEventState.INDETERMINATE:case i.BLEEventState.PENDING:return"";case i.BLEEventState.SUCCESS:return"success-item";default:throw new Error("Error. Unknown ble event state: "+e.state)}}getStyle(){const e=this.props,t=e.event,n=e.selected;if(!t.state){if(n)return{backgroundColor:"rgb(179,225,245)"};const e=this.state.backgroundColor;return{backgroundColor:`rgb(${e.r}, ${e.g}, ${e.b})`}}return{}}stopCounter(){this.countDownTimerRef&&this.countDownTimerRef.cancelTimer()}render(){return r.default.createElement("div",{className:"service-item "+this.getClass(),style:this.getStyle(),onClick:this.onClick,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("div",{className:"expand-area",onClick:u,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("div",{className:"bar1"}),r.default.createElement("div",{className:"icon-wrap"})),r.default.createElement("div",{className:"content-wrap"},this.getEventContent()))}}d.propTypes={event:a.default.instanceOf(o.Event).isRequired,selected:a.default.bool.isRequired,onTimedOut:a.default.func.isRequired,onSelected:a.default.func.isRequired};var c=d;t.default=c,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=a?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),i=(r=n(2))&&r.__esModule?r:{default:r};function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}class s extends a.Component{constructor(e){super(e),this.secondsRemaining=e.seconds}componentDidMount(){this.interval=setInterval(()=>this.tick(),1e3)}componentWillUnmount(){clearInterval(this.interval)}cancelTimer(){clearInterval(this.intervalId)}tick(){const e=this.props.onTimeout;this.secondsRemaining-=1,this.forceUpdate(),this.secondsRemaining<=0&&(clearInterval(this.interval),e&&e())}render(){const e=this.secondsRemaining||"";return a.default.createElement("div",{className:"countdown-timer"}," ",e," ")}}s.propTypes={seconds:i.default.number.isRequired,onTimeout:i.default.func.isRequired};var l=s;t.default=l,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),a=d(n(2)),i=n(19),o=n(28),s=d(n(61)),l=n(47),u=d(n(14));function d(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{let t=e.event,n=t.type,a=t.requestedDataLength,i=t.device,o=e.onUpdateDataLength,d=e.onCancelDataLengthUpdate;const c=i.address,p=n===h,m=f((0,r.useState)(p?a:i.dataLength),2),_=m[0],v=m[1],g=(0,l.isInRange)(_,27,251);return r.default.createElement("div",null,r.default.createElement("div",{className:"event-header"},r.default.createElement("h4",null,"Data length update for device ",c)),r.default.createElement("form",{className:"form-horizontal"},r.default.createElement("p",{className:"mx-4"},"Data length is the length of payload of link layer packets. Its valid range is between ",27," and ",251," octets."),r.default.createElement(u.default,{style:g?l.validInputStyle:l.invalidInputStyle,id:"dl_"+c,className:"form-control nordic-form-control col col-10 pr-0",onChange:e=>{let t=e.target;return v(parseInt(t.value,10))},type:"number",value:_,min:27,max:251,label:"Data length",labelClassName:"col-md-7 text-right",wrapperClassName:"col-md-5"}),r.default.createElement("div",{className:"row-of-buttons"},r.default.createElement(s.default,{label:p?"Accept":"Update",onClick:()=>o(_),primary:!0}),r.default.createElement(s.default,{label:p?"Disconnect":"Cancel",onClick:d}))))};m.propTypes={event:a.default.instanceOf(o.Event).isRequired,onUpdateDataLength:a.default.func.isRequired,onCancelDataLengthUpdate:a.default.func.isRequired};var _=m;t.default=_,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),a=d(n(2)),i=n(19),o=n(28),s=d(n(61)),l=n(47),u=d(n(14));function d(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{let t=e.event,n=t.type,a=t.requestedMtu,i=t.device,o=e.onUpdateMtu,d=e.onAcceptMtu,c=e.onCancelMtuUpdate;const p=i.address,m=n===h,_=f((0,r.useState)(m?a:i.mtu),2),v=_[0],g=_[1],y=(0,l.isInRange)(v,23,247);return r.default.createElement("div",null,r.default.createElement("div",{className:"event-header"},r.default.createElement("h4",null,"MTU update for device ",p)),r.default.createElement("form",{className:"form-horizontal"},r.default.createElement("p",{className:"mx-4"},"ATT Maximum Transmission Unit (MTU) is the maximum length of an ATT packet. Its valid range is between ",23," and"," ",247," octets."),r.default.createElement("p",{className:"mx-4"},"This value can only be changed once."),r.default.createElement(u.default,{style:y?l.validInputStyle:l.invalidInputStyle,id:"mtu_"+p,className:"form-control nordic-form-control col col-10 pr-0",onChange:e=>{let t=e.target;return g(parseInt(t.value,10))},type:"number",value:v,min:23,max:247,label:"ATT MTU",labelClassName:"col-md-7 text-right",wrapperClassName:"col-md-5"}),r.default.createElement("div",{className:"row-of-buttons"},m&&r.default.createElement(s.default,{label:"Accept",onClick:()=>d(v),primary:!0}),m||r.default.createElement(s.default,{label:"Update",onClick:()=>o(v),primary:!0}),r.default.createElement(s.default,{label:m?"Disconnect":"Cancel",onClick:c}))))};m.propTypes={event:a.default.instanceOf(o.Event).isRequired,onUpdateMtu:a.default.func.isRequired,onAcceptMtu:a.default.func.isRequired,onCancelMtuUpdate:a.default.func.isRequired};var _=m;t.default=_,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(1)),a=l(n(7)),i=l(n(2)),o=n(19),s=l(n(123));function l(e){return e&&e.__esModule?e:{default:e}}class u extends r.default.PureComponent{constructor(e){super(e);const t=e.event;this.secParams=t&&t.pairingParameters?t.pairingParameters:null,this.handleSecParamsChange=this.handleSecParamsChange.bind(this),this.handlePair=this.handlePair.bind(this),this.handleAccept=this.handleAccept.bind(this),this.handleReject=this.handleReject.bind(this),this.handleCancel=this.handleCancel.bind(this)}handleSecParamsChange(e){this.secParams=this.secParams.merge(e)}handlePair(){const e=this.props.onPair;e&&e(this.secParams)}handleAccept(){const e=this.props.onAccept;e&&e(this.secParams)}handleReject(){const e=this.props.onReject;e&&e()}handleCancel(){(0,this.props.onCancel)()}render(){const e=this.props.event,t=e.type===o.BLEEventType.PEER_INITIATED_PAIRING?"Pairing requested":"User initiated pairing",n=e.type===o.BLEEventType.USER_INITIATED_PAIRING?r.default.createElement(a.default,{type:"button",onClick:this.handleCancel,className:"btn btn-default btn-sm btn-nordic",variant:"secondary"},"Cancel"):"",i=e.type===o.BLEEventType.USER_INITIATED_PAIRING?r.default.createElement(a.default,{type:"button",onClick:this.handlePair,className:"btn btn-primary btn-sm btn-nordic"},"Pair"):"",l=e.type===o.BLEEventType.PEER_INITIATED_PAIRING?r.default.createElement(a.default,{type:"button",onClick:this.handleAccept,className:"btn btn-primary btn-sm btn-nordic"},"Accept"):"",u=e.type===o.BLEEventType.PEER_INITIATED_PAIRING?r.default.createElement(a.default,{type:"button",onClick:this.handleReject,className:"btn btn-default btn-sm btn-nordic",variant:"secondary"},"Reject"):"",d=e.type===o.BLEEventType.PEER_INITIATED_PAIRING?r.default.createElement(a.default,{type:"button",onClick:this.handleCancel,className:"btn btn-default btn-sm btn-nordic",variant:"secondary"},"Ignore"):"";return r.default.createElement("div",null,r.default.createElement("div",{className:"event-header"},r.default.createElement("h4",null,t)),r.default.createElement("form",{className:"form-horizontal"},r.default.createElement(s.default,{onChange:this.handleSecParamsChange,securityParams:e.pairingParameters}),r.default.createElement("div",{className:"row-of-buttons"},l,u,i,d,n)))}}u.propTypes={event:i.default.object.isRequired,onPair:i.default.func,onAccept:i.default.func,onReject:i.default.func,onCancel:i.default.func.isRequired},u.defaultProps={onPair:null,onAccept:null,onReject:null};var d=u;t.default=d,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=v(n(373)),a=v(n(119)),i=v(n(76)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(1)),s=v(n(2)),l=n(85),u=v(n(114)),d=v(n(377)),c=v(n(378)),f=v(n(23)),p=v(n(88)),h=v(n(125)),m=v(n(138));function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function v(e){return e&&e.__esModule?e:{default:e}}var g={children:s.default.node,drop:s.default.oneOf(["up","left","right","down"]),focusFirstItemOnShow:s.default.oneOf([!1,!0,"keyboard"]),itemSelector:s.default.string,alignEnd:s.default.bool,show:s.default.bool,defaultShow:s.default.bool,onToggle:s.default.func};function y(){var e=(0,d.default)(),t=(0,o.useRef)(null),n=(0,o.useCallback)((function(n){t.current=n,e()}),[e]);return[t,n]}function b(e){var t=e.drop,n=e.alignEnd,s=e.defaultShow,d=e.show,h=e.onToggle,m=e.itemSelector,_=void 0===m?"* > *":m,v=e.focusFirstItemOnShow,g=e.children,b=(0,l.useUncontrolledProp)(d,s,h),A=b[0],E=b[1],w=y(),M=w[0],D=w[1],C=M.current,x=y(),T=x[0],L=x[1],k=T.current,S=(0,u.default)(A),P=(0,o.useRef)(null),O=(0,o.useRef)(!1),I=(0,o.useCallback)((function(e,t){E(e,t)}),[E]),Y=(0,o.useMemo)((function(){return{toggle:I,drop:t,show:A,alignEnd:n,menuElement:C,toggleElement:k,setMenu:D,setToggle:L}}),[I,t,A,n,C,k,D,L]);C&&S&&!A&&(O.current=C.contains(document.activeElement));var R=(0,f.default)((function(){k&&k.focus&&k.focus()})),N=(0,f.default)((function(){var e=P.current,t=v;if(null==t&&(t=!(!M.current||!(0,r.default)(M.current,"[role=menu]"))&&"keyboard"),!1!==t&&("keyboard"!==t||/^key.+$/.test(e))){var n=(0,a.default)(M.current,_)[0];n&&n.focus&&n.focus()}}));(0,o.useEffect)((function(){A?N():O.current&&(O.current=!1,R())}),[A,O,R,N]),(0,o.useEffect)((function(){P.current=null}));var j=function(e,t){if(!M.current)return null;var n=(0,a.default)(M.current,_),r=n.indexOf(e)+t;return n[r=Math.max(0,Math.min(r,n.length))]};return(0,c.default)("keydown",(function(e){var t,n,r=e.key,a=e.target,o=null==(t=M.current)?void 0:t.contains(a),s=null==(n=T.current)?void 0:n.contains(a);if((!/input|textarea/i.test(a.tagName)||!(" "===r||"Escape"!==r&&o))&&(o||s)&&(M.current||"Tab"!==r))switch(P.current=e.type,r){case"ArrowUp":var l=j(a,-1);return l&&l.focus&&l.focus(),void e.preventDefault();case"ArrowDown":if(e.preventDefault(),A){var u=j(a,1);u&&u.focus&&u.focus()}else E(!0,e);return;case"Tab":(0,i.default)(document,"keyup",(function(t){var n;("Tab"!==t.key||t.target)&&null!=(n=M.current)&&n.contains(t.target)||E(!1,e)}),{once:!0});break;case"Escape":e.preventDefault(),e.stopPropagation(),E(!1,e)}})),o.default.createElement(p.default.Provider,{value:Y},g)}b.displayName="ReactOverlaysDropdown",b.propTypes=g,b.Menu=h.default,b.Toggle=m.default;var A=b;t.default=A,e.exports=t.default},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!r){var n=document.body,a=n.matches||n.matchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;r=function(e,t){return a.call(e,t)}}return r(e,t)},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Object.keys(t).reduce((function(n,i){var s,l=n,c=l[o.defaultKey(i)],f=l[i],p=(0,a.default)(l,[o.defaultKey(i),i].map(u)),h=t[i],m=d(f,c,e[h]),_=m[0],v=m[1];return(0,r.default)({},p,((s={})[i]=_,s[h]=v,s))}),e)},t.useUncontrolledProp=d;var r=l(n(86)),a=l(n(59)),i=n(1),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(124));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function l(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function d(e,t,n){var r=(0,i.useRef)(void 0!==e),a=(0,i.useState)(t),o=a[0],s=a[1],l=void 0!==e,u=r.current;return r.current=l,!l&&u&&o!==t&&s(t),[l?e:o,(0,i.useCallback)((function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a1?o-1:0),l=1;l=0?"height":"width";if(p&&h){var g=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,u.default)("number"!=typeof e?e:(0,d.default)(e,c.basePlacements))}(f.padding,n),y=(0,a.default)(p),b="y"===_?c.top:c.left,A="y"===_?c.bottom:c.right,E=n.rects.reference[v]+n.rects.reference[_]-h[_]-n.rects.popper[v],w=h[_]-n.rects.reference[_],M=(0,o.default)(p),D=M?"y"===_?M.clientHeight||0:M.clientWidth||0:0,C=E/2-w/2,x=g[b],T=D-y[v]-g[A],L=D/2-y[v]/2+C,k=(0,l.within)(x,L,T),S=_;n.modifiersData[i]=((t={})[S]=k,t.centerOffset=k-L,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&(0,i.default)(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};t.default=p,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return["table","td","th"].indexOf((0,a.default)(e))>=0};var r,a=(r=n(38))&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.mapToStyles=p;var r=n(11),a=c(n(49)),i=c(n(22)),o=c(n(25)),s=c(n(39)),l=c(n(24)),u=c(n(50)),d=n(29);function c(e){return e&&e.__esModule?e:{default:e}}var f={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p(e){var t,n=e.popper,l=e.popperRect,u=e.placement,c=e.variation,p=e.offsets,h=e.position,m=e.gpuAcceleration,_=e.adaptive,v=e.roundOffsets,g=e.isFixed,y=p.x,b=void 0===y?0:y,A=p.y,E=void 0===A?0:A,w="function"==typeof v?v({x:b,y:E}):{x:b,y:E};b=w.x,E=w.y;var M=p.hasOwnProperty("x"),D=p.hasOwnProperty("y"),C=r.left,x=r.top,T=window;if(_){var L=(0,a.default)(n),k="clientHeight",S="clientWidth";if(L===(0,i.default)(n)&&(L=(0,o.default)(n),"static"!==(0,s.default)(L).position&&"absolute"===h&&(k="scrollHeight",S="scrollWidth")),L=L,u===r.top||(u===r.left||u===r.right)&&c===r.end)x=r.bottom,E-=(g&&T.visualViewport?T.visualViewport.height:L[k])-l.height,E*=m?1:-1;if(u===r.left||(u===r.top||u===r.bottom)&&c===r.end)C=r.right,b-=(g&&T.visualViewport?T.visualViewport.width:L[S])-l.width,b*=m?1:-1}var P,O=Object.assign({position:h},_&&f),I=!0===v?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:(0,d.round)(t*r)/r||0,y:(0,d.round)(n*r)/r||0}}({x:b,y:E}):{x:b,y:E};return b=I.x,E=I.y,m?Object.assign({},O,((P={})[x]=D?"0":"",P[C]=M?"0":"",P.transform=(T.devicePixelRatio||1)<=1?"translate("+b+"px, "+E+"px)":"translate3d("+b+"px, "+E+"px, 0)",P)):Object.assign({},O,((t={})[x]=D?E+"px":"",t[C]=M?b+"px":"",t.transform="",t))}var h={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,i=n.adaptive,o=void 0===i||i,s=n.roundOffsets,d=void 0===s||s,c={placement:(0,l.default)(t.placement),variation:(0,u.default)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,p(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:d})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,p(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(22))&&r.__esModule?r:{default:r};var i={passive:!0};var o={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=void 0===o||o,l=r.resize,u=void 0===l||l,d=(0,a.default)(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&c.forEach((function(e){e.addEventListener("scroll",n.update,i)})),u&&d.addEventListener("resize",n.update,i),function(){s&&c.forEach((function(e){e.removeEventListener("scroll",n.update,i)})),u&&d.removeEventListener("resize",n.update,i)}},data:{}};t.default=o,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(386)),a=d(n(24)),i=d(n(387)),o=d(n(51)),s=d(n(392)),l=n(11),u=d(n(50));function d(e){return e&&e.__esModule?e:{default:e}}var c={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,d=e.name;if(!t.modifiersData[d]._skip){for(var c=n.mainAxis,f=void 0===c||c,p=n.altAxis,h=void 0===p||p,m=n.fallbackPlacements,_=n.padding,v=n.boundary,g=n.rootBoundary,y=n.altBoundary,b=n.flipVariations,A=void 0===b||b,E=n.allowedAutoPlacements,w=t.options.placement,M=(0,a.default)(w),D=m||(M===w||!A?[(0,r.default)(w)]:function(e){if((0,a.default)(e)===l.auto)return[];var t=(0,r.default)(e);return[(0,i.default)(e),t,(0,i.default)(t)]}(w)),C=[w].concat(D).reduce((function(e,n){return e.concat((0,a.default)(n)===l.auto?(0,s.default)(t,{placement:n,boundary:v,rootBoundary:g,padding:_,flipVariations:A,allowedAutoPlacements:E}):n)}),[]),x=t.rects.reference,T=t.rects.popper,L=new Map,k=!0,S=C[0],P=0;P=0,N=R?"width":"height",j=(0,o.default)(t,{placement:O,boundary:v,rootBoundary:g,altBoundary:y,padding:_}),H=R?Y?l.right:l.left:Y?l.bottom:l.top;x[N]>T[N]&&(H=(0,r.default)(H));var B=(0,r.default)(H),U=[];if(f&&U.push(j[I]<=0),h&&U.push(j[H]<=0,j[B]<=0),U.every((function(e){return e}))){S=O,k=!1;break}L.set(O,U)}if(k)for(var W=function(e){var t=C.find((function(t){var n=L.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},F=A?3:1;F>0;F--){if("break"===W(F))break}t.placement!==S&&(t.modifiersData[d]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};t.default=c,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/left|right|bottom|top/g,(function(e){return r[e]}))};var r={left:"right",right:"left",bottom:"top",top:"bottom"};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/start|end/g,(function(e){return r[e]}))};var r={start:"end",end:"start"};e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r="clippingParents"===t?function(e){var t=(0,o.default)((0,f.default)(e)),n=["absolute","fixed"].indexOf((0,u.default)(e).position)>=0&&(0,d.isHTMLElement)(e)?(0,s.default)(e):e;if(!(0,d.isElement)(n))return[];return t.filter((function(e){return(0,d.isElement)(e)&&(0,p.default)(e,n)&&"body"!==(0,h.default)(e)}))}(e):[].concat(t),a=[].concat(r,[n]),i=a[0],l=a.reduce((function(t,n){var r=g(e,n);return t.top=(0,_.max)(r.top,t.top),t.right=(0,_.min)(r.right,t.right),t.bottom=(0,_.min)(r.bottom,t.bottom),t.left=(0,_.max)(r.left,t.left),t}),g(e,i));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l};var r=n(11),a=v(n(389)),i=v(n(390)),o=v(n(133)),s=v(n(49)),l=v(n(25)),u=v(n(39)),d=n(15),c=v(n(48)),f=v(n(62)),p=v(n(128)),h=v(n(38)),m=v(n(134)),_=n(29);function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t){return t===r.viewport?(0,m.default)((0,a.default)(e)):(0,d.isElement)(t)?function(e){var t=(0,c.default)(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):(0,m.default)((0,i.default)((0,l.default)(e)))}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=(0,r.default)(e),n=(0,a.default)(e),o=t.visualViewport,s=n.clientWidth,l=n.clientHeight,u=0,d=0;o&&(s=o.width,l=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(u=o.offsetLeft,d=o.offsetTop));return{width:s,height:l,x:u+(0,i.default)(e),y:d}};var r=o(n(22)),a=o(n(25)),i=o(n(91));function o(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n=(0,r.default)(e),l=(0,o.default)(e),u=null==(t=e.ownerDocument)?void 0:t.body,d=(0,s.max)(n.scrollWidth,n.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),c=(0,s.max)(n.scrollHeight,n.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),f=-l.scrollLeft+(0,i.default)(e),p=-l.scrollTop;"rtl"===(0,a.default)(u||n).direction&&(f+=(0,s.max)(n.clientWidth,u?u.clientWidth:0)-d);return{width:d,height:c,x:f,y:p}};var r=l(n(25)),a=l(n(39)),i=l(n(91)),o=l(n(92)),s=n(29);function l(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){if(["html","body","#document"].indexOf((0,i.default)(t))>=0)return t.ownerDocument.body;if((0,o.isHTMLElement)(t)&&(0,a.default)(t))return t;return e((0,r.default)(t))};var r=s(n(62)),a=s(n(93)),i=s(n(38)),o=n(15);function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===t&&(t={});var n=t,s=n.placement,l=n.boundary,u=n.rootBoundary,d=n.padding,c=n.flipVariations,f=n.allowedAutoPlacements,p=void 0===f?a.placements:f,h=(0,r.default)(s),m=h?c?a.variationPlacements:a.variationPlacements.filter((function(e){return(0,r.default)(e)===h})):a.basePlacements,_=m.filter((function(e){return p.indexOf(e)>=0}));0===_.length&&(_=m);var v=_.reduce((function(t,n){return t[n]=(0,i.default)(e,{placement:n,boundary:l,rootBoundary:u,padding:d})[(0,o.default)(n)],t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))};var r=s(n(50)),a=n(11),i=s(n(51)),o=s(n(24));function s(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=n(11),i=(r=n(51))&&r.__esModule?r:{default:r};function o(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function s(e){return[a.top,a.right,a.bottom,a.left].some((function(t){return e[t]>=0}))}var l={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,l=t.modifiersData.preventOverflow,u=(0,i.default)(t,{elementContext:"reference"}),d=(0,i.default)(t,{altBoundary:!0}),c=o(u,r),f=o(d,a,l),p=s(c),h=s(f);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}};t.default=l,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.distanceAndSkiddingToXY=o;var r,a=(r=n(24))&&r.__esModule?r:{default:r},i=n(11);function o(e,t,n){var r=(0,a.default)(e),o=[i.left,i.top].indexOf(r)>=0?-1:1,s="function"==typeof n?n(Object.assign({},t,{placement:e})):n,l=s[0],u=s[1];return l=l||0,u=(u||0)*o,[i.left,i.right].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}}var s={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,s=void 0===a?[0,0]:a,l=i.placements.reduce((function(e,n){return e[n]=o(n,t.rects,s),e}),{}),u=l[t.placement],d=u.x,c=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=l}};t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(135))&&r.__esModule?r:{default:r};var i={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,a.default)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(11),a=h(n(24)),i=h(n(90)),o=h(n(397)),s=n(129),l=h(n(89)),u=h(n(49)),d=h(n(51)),c=h(n(50)),f=h(n(131)),p=n(29);function h(e){return e&&e.__esModule?e:{default:e}}var m={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,h=e.name,m=n.mainAxis,_=void 0===m||m,v=n.altAxis,g=void 0!==v&&v,y=n.boundary,b=n.rootBoundary,A=n.altBoundary,E=n.padding,w=n.tether,M=void 0===w||w,D=n.tetherOffset,C=void 0===D?0:D,x=(0,d.default)(t,{boundary:y,rootBoundary:b,padding:E,altBoundary:A}),T=(0,a.default)(t.placement),L=(0,c.default)(t.placement),k=!L,S=(0,i.default)(T),P=(0,o.default)(S),O=t.modifiersData.popperOffsets,I=t.rects.reference,Y=t.rects.popper,R="function"==typeof C?C(Object.assign({},t.rects,{placement:t.placement})):C,N="number"==typeof R?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(O){if(_){var B,U="y"===S?r.top:r.left,W="y"===S?r.bottom:r.right,F="y"===S?"height":"width",V=O[S],z=V+x[U],q=V-x[W],G=M?-Y[F]/2:0,$=L===r.start?I[F]:Y[F],J=L===r.start?-Y[F]:-I[F],K=t.elements.arrow,Q=M&&K?(0,l.default)(K):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,f.default)(),Z=X[U],ee=X[W],te=(0,s.within)(0,I[F],Q[F]),ne=k?I[F]/2-G-te-Z-N.mainAxis:$-te-Z-N.mainAxis,re=k?-I[F]/2+G+te+ee+N.mainAxis:J+te+ee+N.mainAxis,ae=t.elements.arrow&&(0,u.default)(t.elements.arrow),ie=ae?"y"===S?ae.clientTop||0:ae.clientLeft||0:0,oe=null!=(B=null==j?void 0:j[S])?B:0,se=V+ne-oe-ie,le=V+re-oe,ue=(0,s.within)(M?(0,p.min)(z,se):z,V,M?(0,p.max)(q,le):q);O[S]=ue,H[S]=ue-V}if(g){var de,ce="x"===S?r.top:r.left,fe="x"===S?r.bottom:r.right,pe=O[P],he="y"===P?"height":"width",me=pe+x[ce],_e=pe-x[fe],ve=-1!==[r.top,r.left].indexOf(T),ge=null!=(de=null==j?void 0:j[P])?de:0,ye=ve?me:pe-I[he]-Y[he]-ge+N.altAxis,be=ve?pe+I[he]+Y[he]-ge-N.altAxis:_e,Ae=M&&ve?(0,s.withinMaxClamp)(ye,pe,be):(0,s.within)(M?ye:me,pe,M?be:_e);O[P]=Ae,H[P]=Ae-pe}t.modifiersData[h]=H}},requiresIfExists:["offset"]};t.default=m,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"x"===e?"y":"x"},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPopper",{enumerable:!0,get:function(){return r.createPopper}}),Object.defineProperty(t,"detectOverflow",{enumerable:!0,get:function(){return r.detectOverflow}}),Object.defineProperty(t,"popperGenerator",{enumerable:!0,get:function(){return r.popperGenerator}});var r=n(399)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createPopper=void 0,Object.defineProperty(t,"detectOverflow",{enumerable:!0,get:function(){return d.default}}),t.popperGenerator=m;var r=f(n(400)),a=f(n(89)),i=f(n(133)),o=f(n(49)),s=(f(n(39)),f(n(403))),l=f(n(404)),u=(f(n(405)),f(n(407)),f(n(24)),f(n(408))),d=f(n(51)),c=n(15);n(11);function f(e){return e&&e.__esModule?e:{default:e}}var p={placement:"bottom",modifiers:[],strategy:"absolute"};function h(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),r=1;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n{let t=e.event,n=t.type,a=t.device,o=t.requestedPhyParams,l=o.txPhy,u=o.rxPhy,c=e.onUpdatePhy,p=e.onCancelPhyUpdate;const h=a.address,m=n===f,_=d((0,r.useState)(m?l:a.txPhy),2),v=_[0],g=_[1],y=d((0,r.useState)(m?u:a.rxPhy),2),b=y[0],A=y[1],E=d((0,r.useState)(l===u),2),w=E[0],M=E[1],D=w?v:b;return r.default.createElement("div",null,r.default.createElement("div",{className:"event-header"},r.default.createElement("h4",null,"Phy update for device ",h)),r.default.createElement("form",{className:"form-horizontal"},r.default.createElement("div",{className:"container"},r.default.createElement("div",{className:"row"},r.default.createElement("div",{className:"col col-10 pr-0"},r.default.createElement("div",{className:"row mb-2"},r.default.createElement("span",{className:"col col-4"},"Transmission:"),r.default.createElement(s.default,{className:"col col-3 mt-0",label:"1 Mb/s",primary:v===i.BLEPHYType.BLE_GAP_PHY_1MBPS,onClick:()=>g(i.BLEPHYType.BLE_GAP_PHY_1MBPS),disabled:m}),r.default.createElement(s.default,{className:"col col-3 mt-0",label:"2 Mb/s",primary:v===i.BLEPHYType.BLE_GAP_PHY_2MBPS,onClick:()=>g(i.BLEPHYType.BLE_GAP_PHY_2MBPS),disabled:m})),r.default.createElement("div",{className:"row"},r.default.createElement("span",{className:"col col-4"},"Reception:"),r.default.createElement(s.default,{className:"col col-3 mt-0",label:"1 Mb/s",primary:D===i.BLEPHYType.BLE_GAP_PHY_1MBPS,disabled:w||m,onClick:()=>A(i.BLEPHYType.BLE_GAP_PHY_1MBPS)}),r.default.createElement(s.default,{className:"col col-3 mt-0",label:"2 Mb/s",primary:D===i.BLEPHYType.BLE_GAP_PHY_2MBPS,disabled:w||m,onClick:()=>A(i.BLEPHYType.BLE_GAP_PHY_2MBPS)}))),r.default.createElement("div",{className:"col pl-0 mdi mdi-"+(w?"link":"link-off"),onClick:()=>M(!w),role:"button",tabIndex:"0"}))),r.default.createElement("div",{className:"row-of-buttons"},r.default.createElement(s.default,{label:m?"Accept":"Update",onClick:()=>c({rxPhy:D,txPhy:v}),primary:!0}),r.default.createElement(s.default,{label:m?"Disconnect":"Cancel",onClick:p}))))};p.propTypes={event:a.default.instanceOf(o.Event).isRequired,onUpdatePhy:a.default.func.isRequired,onCancelPhyUpdate:a.default.func.isRequired};var h=p;t.default=h,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=b(n(1)),a=n(13),i=b(n(2)),o=n(16),s=y(n(10)),l=y(n(52)),u=y(n(84)),d=y(n(54)),c=y(n(95)),f=y(n(60)),p=n(146),h=b(n(415)),m=n(12),_=b(n(41)),v=b(n(447));function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function y(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}function b(e){return e&&e.__esModule?e:{default:e}}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;tthis.selectNextComponent(!0),this.moveDown=()=>this.selectNextComponent(!1),this.moveRight=()=>this.expandComponent(!0),this.moveLeft=()=>this.expandComponent(!1)}componentDidMount(){const e=this.props.bindHotkey;e("up",this.moveUp),e("down",this.moveDown),e("left",this.moveLeft),e("right",this.moveRight)}selectNextComponent(e){const t=this.props,n=t.deviceDetails,r=t.selectedComponent,a=t.selectComponent;let i=!1;for(const t of(0,p.traverseItems)(n,!0,e)){if(null===r&&null!==t)return void a(t.instanceId);if(t.instanceId===r)i=!0;else if(i)return void a(t.instanceId)}}expandComponent(e){const t=this.props,n=t.deviceDetails,r=t.selectedComponent,a=t.setAttributeExpanded,i=t.selectComponent;if(!r)return;const o=(0,m.getInstanceIds)(r);if(e&&o.descriptor)return;const s=(0,p.findSelectedItem)(n,r);if(s){if(e&&s.children&&!s.children.size)return;if(e&&s.expanded&&s.children.size)return void this.selectNextComponent(!1);if(!e&&!s.expanded)return void(o.characteristic&&i(r.split(".").slice(0,-1).join(".")));a(s,e)}}render(){const e=this.props,t=e.adapterState,n=e.selectedComponent,a=e.connectedDevices,i=e.deviceDetails,o=e.selectComponent,s=e.setAttributeExpanded,l=e.readCharacteristic,u=e.writeCharacteristic,d=e.readDescriptor,c=e.writeDescriptor,f=e.showSetupDialog,p=e.showParamsDialog,m=e.showConnectionDialog,_=e.toggleAdvertising,g=e.disconnectFromDevice,y=e.createUserInitiatedConnParamsUpdateEvent,b=e.createUserInitiatedPhyUpdateEvent,A=e.createUserInitiatedMtuUpdateEvent,E=e.createUserInitiatedDataLengthUpdateEvent,w=e.createUserInitiatedPairingEvent,M=e.toggleAutoConnUpdate,D=e.autoConnUpdate,C=e.showSecurityParamsDialog,x=e.toggleAutoAcceptPairing,T=e.deleteBondInfo,L=e.security,k=e.openCustomUuidFile,S=e.showDfuDialog,P=[];if(!t)return r.default.createElement("div",{className:"device-details-container"});P.push(r.default.createElement(h.default,{key:t.instanceId,device:t,selected:n,deviceDetails:i,onSelectComponent:o,onSetAttributeExpanded:s,onReadCharacteristic:l,onWriteCharacteristic:u,onReadDescriptor:d,onWriteDescriptor:c,onShowAdvertisingSetupDialog:f,onShowAdvertisingParameterDialog:p,onShowConnectionParamsDialog:m,onToggleAdvertising:_,onToggleAutoConnUpdate:M,autoConnUpdate:D,onShowSecurityParamsDialog:C,onToggleAutoAcceptPairing:x,onDeleteBondInfo:T,security:L,onOpenCustomUuidFile:k})),a.forEach(e=>{P.push(r.default.createElement(h.default,{key:e.instanceId,adapter:t,device:e,selected:n,deviceDetails:i,connectedDevicesNumber:a.size,onShowDfuDialog:S,onSelectComponent:o,onSetAttributeExpanded:s,onReadCharacteristic:l,onWriteCharacteristic:u,onReadDescriptor:d,onWriteDescriptor:c,onDisconnectFromDevice:g,onPairWithDevice:w,onUpdateDeviceConnectionParams:y,onUpdateDevicePhy:b,onUpdateDeviceMtu:A,onUpdateDeviceDataLength:E}))});const O=270*P.length;return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"device-details-container"},r.default.createElement("div",{style:{width:O}},P,r.default.createElement("div",{style:{borderColor:"transparent",borderLeftWidth:"20px",borderRightWidth:"0px",borderStyle:"solid"}}))),r.default.createElement(v.default,null))}}var D=(0,a.connect)((function(e){const t=e.app.adapter,n=t.selectedAdapter;return n?{adapterState:n.state,selectedComponent:n.deviceDetails&&n.deviceDetails.selectedComponent,connectedDevices:n.connectedDevices,deviceDetails:n.deviceDetails,autoConnUpdate:t.autoConnUpdate,security:n.security}:{}}),(function(e){return E(E(E(E(E(E({},(0,o.bindActionCreators)(d,e)),(0,o.bindActionCreators)(l,e)),(0,o.bindActionCreators)(s,e)),(0,o.bindActionCreators)(u,e)),(0,o.bindActionCreators)(f,e)),(0,o.bindActionCreators)(c,e))}))((0,_.default)(M));t.default=D,M.propTypes={adapterState:i.default.object,selectedComponent:i.default.string,deviceDetails:i.default.object,connectedDevices:i.default.object,readCharacteristic:i.default.func.isRequired,writeCharacteristic:i.default.func.isRequired,readDescriptor:i.default.func.isRequired,writeDescriptor:i.default.func.isRequired,createUserInitiatedConnParamsUpdateEvent:i.default.func.isRequired,createUserInitiatedPhyUpdateEvent:i.default.func.isRequired,createUserInitiatedMtuUpdateEvent:i.default.func.isRequired,createUserInitiatedDataLengthUpdateEvent:i.default.func.isRequired,createUserInitiatedPairingEvent:i.default.func.isRequired,security:i.default.object,toggleAutoAcceptPairing:i.default.func.isRequired,deleteBondInfo:i.default.func.isRequired,showSecurityParamsDialog:i.default.func.isRequired,openCustomUuidFile:i.default.func.isRequired,selectComponent:i.default.func.isRequired,setAttributeExpanded:i.default.func.isRequired,showSetupDialog:i.default.func.isRequired,showParamsDialog:i.default.func.isRequired,showConnectionDialog:i.default.func.isRequired,toggleAdvertising:i.default.func.isRequired,disconnectFromDevice:i.default.func.isRequired,toggleAutoConnUpdate:i.default.func.isRequired,autoConnUpdate:i.default.bool,showDfuDialog:i.default.func.isRequired,bindHotkey:i.default.func.isRequired},M.defaultProps={adapterState:null,selectedComponent:null,deviceDetails:null,connectedDevices:null,security:null,autoConnUpdate:!1},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(1)),a=d(n(2)),i=n(74),o=d(n(147)),s=d(n(426)),l=d(n(149)),u=d(n(150));function d(e){return e&&e.__esModule?e:{default:e}}const c=e=>{let t=e.device,n=e.selected,a=e.onSelectComponent,d=e.onSetAttributeExpanded,c=e.onUpdateDeviceConnectionParams,f=e.onUpdateDevicePhy,p=e.onUpdateDeviceMtu,h=e.onUpdateDeviceDataLength,m=e.deviceDetails,_=e.connectedDevicesNumber,v=e.adapter,g=e.onReadCharacteristic,y=e.onWriteCharacteristic,b=e.onReadDescriptor,A=e.onWriteDescriptor,E=e.onDisconnectFromDevice,w=e.onPairWithDevice,M=e.onShowAdvertisingSetupDialog,D=e.onShowAdvertisingParameterDialog,C=e.onShowConnectionParamsDialog,x=e.onToggleAdvertising,T=e.onToggleAutoConnUpdate,L=e.autoConnUpdate,k=e.security,S=e.onToggleAutoAcceptPairing,P=e.onDeleteBondInfo,O=e.onShowSecurityParamsDialog,I=e.onOpenCustomUuidFile,Y=e.onSetSecurityParams,R=e.onShowDfuDialog,N=e.style;const j=e=>{const t=m.devices.get(e);if(t.discoveringChildren)return r.default.createElement(l.default,{bars:1});const i=t.get("children");return i?r.default.createElement("div",{className:"service-items-wrap"},i.valueSeq().map(e=>r.default.createElement(u.default,{key:e.instanceId,item:e,selectOnClick:!0,selected:n,onSelectAttribute:a,onSetAttributeExpanded:d,onReadCharacteristic:g,onWriteCharacteristic:y,onReadDescriptor:b,onWriteDescriptor:A}))):void 0},H=t.instanceId,B=t.name,U=t.address,W=t.role;if(t&&void 0===W)return r.default.createElement("div",{className:"local-server device-details-view",id:H+"_details",style:N},r.default.createElement(o.default,{id:H+"_details",position:{x:0,y:0},name:B,address:U,advertising:t.advertising,selected:n,onShowSetupDialog:M,onShowAdvParams:D,onShowConnectionParams:C,onToggleAdvertising:x,autoConnUpdate:L,onToggleAutoConnUpdate:T,onShowSecurityParamsDialog:O,onToggleAutoAcceptPairing:S,onDeleteBondInfo:P,onSetSecurityParams:Y,onOpenCustomUuidFile:I,security:k,isDeviceDetails:!0}),m&&j("local.server"));if(!m.devices.get(H))return r.default.createElement("div",null);return r.default.createElement("div",{className:"remote-server device-details-view",id:H+"_details",style:N},r.default.createElement(s.default,{id:H+"_details",sourceId:v.instanceId+"_details",key:H,device:t,selected:n,layout:"vertical",connectedDevicesNumber:_,isDfuSupported:(()=>{const e=m.devices.get(H);if(!e.discoveringChildren){const t=e.get("children");if(t)return t.some(e=>e.uuid===i.SECURE_DFU_UUID)}return!1})(),onClickDfu:()=>R(t),onSelectComponent:a,onDisconnect:()=>E(t),onPair:()=>w(t),onConnectionParamsUpdate:()=>c(t),onPhyUpdate:()=>f(t),onMtuUpdate:()=>p(t),onDataLengthUpdate:()=>h(t)}),j(H))};c.propTypes={device:a.default.object.isRequired,selected:a.default.string,onSelectComponent:a.default.func.isRequired,onSetAttributeExpanded:a.default.func.isRequired,onUpdateDeviceConnectionParams:a.default.func,onUpdateDevicePhy:a.default.func,onUpdateDeviceMtu:a.default.func,onUpdateDeviceDataLength:a.default.func,deviceDetails:a.default.object,connectedDevicesNumber:a.default.number,adapter:a.default.object,onReadCharacteristic:a.default.func.isRequired,onWriteCharacteristic:a.default.func.isRequired,onReadDescriptor:a.default.func.isRequired,onWriteDescriptor:a.default.func.isRequired,onDisconnectFromDevice:a.default.func,onPairWithDevice:a.default.func,onShowAdvertisingSetupDialog:a.default.func,onShowAdvertisingParameterDialog:a.default.func,onShowConnectionParamsDialog:a.default.func,onToggleAdvertising:a.default.func,onToggleAutoConnUpdate:a.default.func,autoConnUpdate:a.default.bool,security:a.default.object,onToggleAutoAcceptPairing:a.default.func,onDeleteBondInfo:a.default.func,onShowSecurityParamsDialog:a.default.func,onOpenCustomUuidFile:a.default.func,onSetSecurityParams:a.default.func,onShowDfuDialog:a.default.func,style:a.default.object},c.defaultProps={selected:null,onUpdateDeviceConnectionParams:null,onUpdateDevicePhy:null,onUpdateDeviceMtu:null,onUpdateDeviceDataLength:null,deviceDetails:null,connectedDevicesNumber:0,adapter:null,onDisconnectFromDevice:null,onPairWithDevice:null,onShowAdvertisingSetupDialog:null,onShowAdvertisingParameterDialog:null,onShowConnectionParamsDialog:null,onToggleAdvertising:null,onToggleAutoConnUpdate:null,autoConnUpdate:!1,security:null,onToggleAutoAcceptPairing:null,onDeleteBondInfo:null,onShowSecurityParamsDialog:null,onOpenCustomUuidFile:null,onSetSecurityParams:null,onShowDfuDialog:null,style:null};var f=c;t.default=f,e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAT4AAANCCAYAAAD/R6CjAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACHDgAAjBIAAQFUAACCKwAAfT4AAO+vAAA66wAAFJcIHNPHAAAKuWlDQ1BJQ0MgUHJvZmlsZQAASMetl2dUU2kTx59700NCSwhFSui9S5deAyi92ghJCKGEkIKKDZHFFVwLIiJYVnSpCq5KkUVFLFgRUMG+IIuCui4WREVlL/AS3v2wH95z3jlnTn53zty5MzfznPO/AJBGmAJBGiwPQDpfLAz396LHxsXTcb8DCGABHpgDEpMlEniGhgaDf7WPfUg2YnfMp2uB/80U2BwRCwAoFOFEtoiVjvBpxLtYAqEYAFQeEtddJRZMczXCVCHSIMJt08yd5e5pTpzlP2ZyIsO9Ef4EAJ7EZAq5yJxoJE7PYnGROiQ9hK34bB4f4UiE3VjJTDbCxQibpadnTHM7wkaJ/1WH+4+aidKaTCZXyrOzzBjehycSpDHXgP+3padJ5p6hgzgpWRgQjvwaIO+sOjUjSMr8xCUhc8xjz+TPcLIkIGqOWSLv+DlmM32C5liSGuU5x0zh/L08MSNyjoUZ4dL6HJFvhLQ+hxEs7SFtiZSTeH6MOc5OjoyZ4yxe9JI5FqVGBM3neEvjQkm4tOckoZ90xnTRfG8s5nwP4uTIgPneYqU9sDk+vtI4P0qaLxB7SWsK0kKl+Zw0f2lclBUhvVeMLNgcpzADQ+frhErfD4gEyUAC+IANOEAIEkEGSANiQAc+gAdEQIBcMQGyHmLOavH0EN4ZgjVCHjdZTPdEThGHzuCzLMzoNlbWdgBMn8nZv/w9beasQbTr87FMZFedCpAgdz7G1AXgzHMAKB/nY7rvkHXZCcDZbpZEmDUbm15bgAFEIAeoQBVoAl1ghJx6G2APXIAH8AWBIASZJA6sACxknnRkklVgHdgE8kEh2An2gDJwCBwB1eA4OAmaQRu4AK6AG6Ab3AOPwAAYBq/AGPgIJiEIwkFkiAKpQlqQPmQK2UCOkBvkCwVD4VAclABxIT4kgdZBm6FCqAgqgw5DNdCv0BnoAnQN6oEeQIPQKPQO+gKjYBJMhTVgA9gSdoQ94SA4El4Oc+FMOBvOg7fDpXAFfAxugi/AN+B78AD8Ch5HAZQMiobSRpmjHFHeqBBUPCoJJURtQBWgSlAVqHpUK6oTdQc1gHqN+ozGoiloOtoc7YIOQEehWehM9Ab0NnQZuhrdhL6EvoMeRI+hv2PIGHWMKcYZw8DEYriYVZh8TAmmEtOIuYy5hxnGfMRisTSsIdYBG4CNw6Zg12K3YQ9gG7Dt2B7sEHYch8Op4kxxrrgQHBMnxuXj9uGO4c7jenHDuE94GbwW3gbvh4/H8/G5+BJ8Lf4cvhf/Aj9JkCfoE5wJIQQ2YQ1hB+EooZVwmzBMmCQqEA2JrsRIYgpxE7GUWE+8THxMfC8jI6Mj4yQTJsOTyZEplTkhc1VmUOYzSZFkQvImLSNJSNtJVaR20gPSezKZbED2IMeTxeTt5BryRfJT8idZiqyFLEOWLbtRtly2SbZX9o0cQU5fzlNuhVy2XIncKbnbcq/lCfIG8t7yTPkN8uXyZ+T75ccVKArWCiEK6QrbFGoVrimMKOIUDRR9FdmKeYpHFC8qDlFQFF2KN4VF2Uw5SrlMGaZiqYZUBjWFWkg9Tu2ijikpKi1UilZarVSudFZpgIaiGdAYtDTaDtpJWh/ti7KGsqcyR3mrcr1yr/KEygIVDxWOSoFKg8o9lS+qdFVf1VTVXarNqk/U0GomamFqq9QOql1We72AusBlAWtBwYKTCx6qw+om6uHqa9WPqN9UH9fQ1PDXEGjs07io8VqTpumhmaJZrHlOc1SLouWmxdMq1jqv9ZKuRPekp9FL6ZfoY9rq2gHaEu3D2l3akzqGOlE6uToNOk90ibqOukm6xbodumN6WnqL9dbp1ek91CfoO+on6+/V79SfMDA0iDHYYtBsMGKoYsgwzDasM3xsRDZyN8o0qjC6a4w1djRONT5g3G0Cm9iZJJuUm9w2hU3tTXmmB0x7zDBmTmZ8swqzfnOSuad5lnmd+aAFzSLYItei2eKNpZ5lvOUuy07L71Z2VmlWR60eWStaB1rnWrdav7MxsWHZlNvctSXb+tlutG2xfbvQdCFn4cGF9+0odovttth12H2zd7AX2tfbjzroOSQ47Hfod6Q6hjpuc7zqhHHyctro1Ob02dneWex80vkvF3OXVJdal5FFhos4i44uGnLVcWW6HnYdcKO7Jbj97Dbgru3OdK9wf+ah68H2qPR44WnsmeJ5zPONl5WX0KvRa8Lb2Xu9d7sPysffp8Cny1fRN8q3zPepn44f16/Ob8zfzn+tf3sAJiAoYFdAP0ODwWLUMMYCHQLXB14KIgVFBJUFPQs2CRYGty6GFwcu3r348RL9JfwlzSEghBGyO+RJqGFoZuhvYdiw0LDysOfh1uHrwjsjKBErI2ojPkZ6Re6IfBRlFCWJ6oiWi14WXRM9EeMTUxQzEGsZuz72RpxaHC+uJR4XHx1fGT++1HfpnqXDy+yW5S/rW264fPXyayvUVqStOLtSbiVz5akETEJMQm3CV2YIs4I5nshI3J84xvJm7WW9Ynuwi9mjHFdOEedFkmtSUdII15W7mzua7J5ckvya580r471NCUg5lDKRGpJalTqVFpPWkI5PT0g/w1fkp/IvZWhmrM7oEZgK8gUDmc6ZezLHhEHCShEkWi5qEVMR8XNTYiT5QTKY5ZZVnvVpVfSqU6sVVvNX31xjsmbrmhfZftm/rEWvZa3tWKe9btO6wfWe6w9vgDYkbujYqLsxb+Nwjn9O9SbiptRNt3KtcotyP2yO2dyap5GXkzf0g/8Pdfmy+cL8/i0uWw79iP6R92PXVtut+7Z+L2AXXC+0Kiwp/LqNte36T9Y/lf40tT1pe9cO+x0Hd2J38nf27XLfVV2kUJRdNLR78e6mYnpxQfGHPSv3XCtZWHJoL3GvZO9AaXBpyz69fTv3fS1LLrtX7lXesF99/9b9EwfYB3oPehysP6RxqPDQl595P98/7H+4qcKgouQI9kjWkedHo492/uL4S02lWmVh5bcqftVAdXj1pRqHmppa9doddXCdpG702LJj3cd9jrfUm9cfbqA1FJ4AJyQnXv6a8GvfyaCTHaccT9Wf1j+9v5HSWNAENa1pGmtObh5oiWvpORN4pqPVpbXxN4vfqtq028rPKp3dcY54Lu/c1Pns8+PtgvbXF7gXhjpWdjy6GHvx7qWwS12Xgy5fveJ35WKnZ+f5q65X2645Xztz3fF68w37G0037W423rK71dhl39V02+F2S7dTd2vPop5zve69F+743Llyl3H3xr0l93r6ovru9y/rH7jPvj/yIO3B24dZDycf5TzGPC54Iv+k5Kn604rfjX9vGLAfODvoM3jzWcSzR0OsoVd/iP74Opz3nPy85IXWi5oRm5G2Ub/R7pdLXw6/EryafJ3/p8Kf+98YvTn9l8dfN8dix4bfCt9Ovdv2XvV91YeFHzrGQ8effkz/ODlR8En1U/Vnx8+dX2K+vJhc9RX3tfSb8bfW70HfH0+lT00JmELmjBRAIQ4nJQHwrgoAchyiHRBdTZSd1cwzBs3q/BkC/8azunrG7AGo8gAgKgeAYESjHERcP2dWW09LpkgPANvaSv0/JkqytZmtRUKUJ+bT1NR7DQBwrQB8E05NTR6Ymvp2FGn2AQDtmbNafdqwyBdMkaEyQYt6K6wu55+KGYC/AeWBCm8kLfPdAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGHRFWHRTb2Z0d2FyZQBwYWludC5uZXQgNC4wLjb8jGPfAAAw1klEQVR4Xu2dibccZbV4/XNECZNkngdCEsABARkFUUSQxUJEGUQJBAlBwB9DAAFJDCyGiCDCYorCE2IYAi+gECYlTsgohDEQwPrlNNW+3Nsnfe+pPt9X3XX2Xmuv5+tb3O4+6dq3qrq6+lNLly4tEBEj+amFpy0sEBEjSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSfgQMZyEDxHDSficPX3h6cnsuL+F6e6v1vvaorach/I8otwXblvC5+w///HPIgXvvftex309tu6x8qf+nHPOOUPua9WqVeVP/Fl21bIh93XdtdeVP/Hn1t/cOuS+li5dWv7En9WrVw+5LwlUKp55+pkh94XdJXzOEj47hK93CJ9Nwucs4bND+HqH8NkkfM4SPjuEr3cIn03C5yzhs0P4eofw2SR8zhI+O4SvdwifTcLnLOGzQ/h6h/DZJHzOEj47hK93CJ9Nwucs4bND+HqH8NkkfM4SPjuEr3cIn03C5yzhs0P4eofw2SR8zhI+O4SvdwifTcLnLOGzQ/h6h/DZJHzOEj47hK93CJ9Nwucs4bND+HqH8NkkfM4SPjuEr3cIn03C5yzhs0P4eofw2SR8zhI+O4SvdwifTcLnLOGzQ/h6h/DZJHzOEj47hK93CJ9Nwucs4bND+HqH8NkkfM4SPjuEr3cIn83w4Vty9pLihutvcPO1114rX4q+fPDBBx33tWHDhvKn/vz65l8Pua/HH3+8/Ik/9/zuniH3df/995c/8Wft2rVD7uvOO+4sf+LPU089NeS+Vt6wsvyJPy+88MKQ++rmJUsvUdeFSIYP38+v/Hn50gGIwZo/rFHXhUgSPsIHwSB8hI/wQTgIH+EjfBAOwkf4CB+Eg/ARPsIH4SB8hI/wQTgIH+EjfBAOwkf4CB+Eg/ARPsIH4SB8hI/wQTgIH+EjfBAOwkf4CB+Eg/ARPsIH4SB8hI/wQTgI34CG74L/d0Gx9uG1Lj61/qny5QAQg5defEldF6p41o/PUtfRfncgw8dWGkB/cM6SoVfqHhQJHwBUhvBllPAB9AeEL6OED6A/IHwZJXwA/QHhyyjhA+gPCF9GByV8L730UnHhBRcimr35ppvLV1F/Q/gyOijhu3rF1cVee+6FaPboo44uX0X9DeHLKOHDpkv40kr4EkL4sKqEL62ELyGED6tK+NJK+BJC+LCqhC+thC8hhA+rSvjSSvgSQviwqoQvrYQvIYQPq0r40kr4EkL4sKqEL62ELyGED6tK+NJK+BJC+LCqhC+thC8hhA+rSvjSSvgSQviwqoQvrYQvIYQPq0r40kr4EkL4sKqEL60DGb5FixYVPz3/py7ecP0N5T+hP/0Yvj332LOYO3duMW/evNb/1paJ4Lzd5xUTJ04s5syZU+y5Z//NIWX4Hn3kUXVdqOLpC09X19F+dyDD52nKrcd+Cd8eC/YoZsyYUey8887FZz7zmf/62c9+tth1112L2bNm9+XK762EftbMWcWECROK8ePHt55/2wnjJxTz581X/7s6TBk+vlCc8DU+fBK17bffvhW67bbbbpvKMjOmz1B/RxOcOWNm8bnPfa44+OCDi/vuu6/17yPR33oGMqOJEya2/lBovyOnhC+thK+h4Vswf0ExdtexIwZva2XLZ8cddix2m7Ob+jsH0bm7zW3t0u62227FmjVryn+ZTxg7dmzHDNpbwlOnTFV/Xy4JX1oHMnznnntucfvtt7v4wJoHypeDP3WFT3ZrZeUdvlKPVln5ZetIjoNpv38QlPBLvGSrbsWKFcVHH31U/qv8H7K7qz3/T3/60635jRkzprVrrP3+1KYM3/PPP6+uC1U8c9GZ6jra7w5k+HhXV1dCtcvOu/QUvbYSP1HiIBHR7q9fnT5teut45qmnnlq8/vrr5b9GJ7IlqD33rZVZ7rzTzq0tR+2+UpkyfJ7wrm5GCd9Q5aD9lClT/hsrbQWuavt3yu/v93eB5XjmuHHjiv322694+umny3+FbTNp0iT1OWu2/giMy/dHgPCllfAlJEf4ZEtkhx12cNnK66b8/tYbIFt2o7XHUadyas7kyZNb3nHHHeX0R0Zirj1XTdn9zflHgPCllfAlJGX4ZMWT0zLaK6O2sqZQArjjjv3xBojMYNrUaa3d2gsuuKDYtGlTOfnRMW3aNPU5jqTMe8z2Y1rvFGuPy0PCl1bCl5BU4Zs1a1Zr6yv1Vt62bMe2zjdAJDryxsVRRx1V/Otf/yonbmPmzJnq8xutMv+ddtopyfE/wpdWwpcQ7/DJ8SWJTc4tvG62Aygn/+Y69619eors3j788MPlpKshf0C052VVZiCnxsyf73cCNOFLK+FLiGf4ZJdOtjD6JXpb2w7glMnpjn3Jpyrk9BQJzLXXXquenmJFPq6mPZ8qtmcgxxk9ZkD40kr4EuIRvt3n7t7anerH4A1Xwiznvnke+5KP0rVPTznttNOKN998s5xu78hnlrXn0YsyAzkM0esMCF9aCV9Cegmf7DrK6RaDELzhto597bhTa4tKe26jtX16yv777188++yz5VT9kN1l7fF7KDOQ8//kD5f23EaS8KWV8CWkavhG+/nafldW/ipvgLROT5k0uZg6dWpx9913l9P0Z8GCBerj9lT+Dauc/0f40kr4EmINn6wc8k7loAdva+W5iKP58L/8XE4xkd3aiy++uHj//ffLSaZhr732Uh+zt+0ZSMi1561J+NJK+BJiCV8/v3nhoTw3Ud6g0C6BJVeGka3DY445pnjxxRfLCablC1/4gvpYUyn/tuPGjhvVmx+EL62ELyGjCZ+8WylbOBIFbWVpku1PP2x98F+umiKnp8ipII888kg5uTx86UtfUh9nSuX5y9bv8NfBcAlfWglfQkYKn0SvCcfyqijPWYIvXn/99cXHH39cTi0fX/7yl9XHllp57nNmd3/jh/CllfAlZKTwyakfEaPXVp67nKpz7LHHFi+88EI5tXzsu+++6uPKobzrrb0m2hK+tBK+hHQLn1znTU5XkRVfPvuqrRxRlD8AMoclS5YUb7/9djm99MhpMtrjyaFEv9s7vYQvrYQvId3CJ1f4WL58efHyyy8X3/3ud1srfoTjfN2U3V55V/uaa65x+WTGSBx44IHq48ih/Ft3u9AD4Usr4UtIt/DJAf0HH3ywXLIo/vSnPxV77713651NbUWJpMxALiBwzz33lNNJwyGHHNJ6w0V7DKmVLb5u5zcSvrQSvoR0C59cUuqPf/xjueT/IdeTk8977rLLLuoKE0UJkmwBykVFn3zyyXI6vhx66KHqfedQwtftW90IX1oJX0K6bvFNmFg8/vjj5ZJDkRN3ly5dyvG/LcouoczguOOOcz+/7/DDD1fvM4fyvNjiq0/Cl5CRdnXXrVtXLqnzyiuvFCeccALH/7YoV5mWOZx33nnFO++8U06oN4444gj1vnLIrm69Er6EjBS+Rx99tFyyO0888UTrnLPou7+ixE8uTSXn/vX6BsiRRx6p3kcO5Q9ZtwsYEL60DmT4zl58dnH11Ve7eOedd5b/hP50C9+kSZNGHb428ljl3WACuF1rBrNnzy5+//vfl9Oxc/TRR6u/O4d1hm/9k+vVdaGKZ5xxhrqO9rsDGT5PU249jhS+tWvXlkuOHjn+d8kll7QO/Ec//idKAA844IBRfavacORzwdrvzGGd4eMLxQlfreF76KGHyiXtvPrqqxz/K5XnL38EZB5yXuRokTdMtN+XQ3nM3b6rg/CllfDVFD45ZWXr8/iqIqd67LPPPuz+brH9Boh849p7771XTmjbHH/88ervyaGETy7QoL02RMKX1oEM3+LFi4sVK1a4eOcd9Rzjk++nWLNmTblk78jxP7neGwH85BMg48ePL375y192vfjB9773PfW/z6GEr9sVqlOGT/5YautCFTnGl9EmvKsrW3yrV68ul/Thgw8+KC677DKO/5XKHwH5Xo1tzfnkk0+u7ZMbdYbPE97VzWgTwidbfPfff3+5pC+vvfZa8f3vf5/jf6Xyh+Dggw/u+N6OH/zgB+ryOWyFr8ulqQhfWglfQrqGb8qUnk7FGA3r169vXXqJz/9+csKwbAWfdNJJrTeGhB/96EfqsjmU8Ml3q2ivDZHwpZXwJWSk8N17773lkmmRL+yR438EcLtixx12bG0JX3TRRa1dXW2ZHBK+eiV8CRkpfKmvPrI1cvzvZz/7Gcf/SmUO2u25lPDJNRm114ZI+NJK+BLSLXyyBfbb3/62XDIfcvzvxBNP5PhfaZ1vbhC++iR8CRlpi2/VqlXlkvmRTzrIJZ84/aUeJXztL1zSJHxpJXwJGWmL76677iqXrA+Jr3yXLcf/8kr46pXwJWSk8KW8QIKFzZs3F1dccUVr64/jf3kkfPVK+BLSNXxTpha33357uWR/IMf/5J1Ojv+lV06vkS9R114bIuFLK+FLSLfwTZs6rbjtttvKJfsLOf73la98heN/CZU/LNOnT1dfGyLhSyvhS0jX8E2bVtx6663lkv2JvOssKycB9Fe2+KZPI3x1SfgSMtIxvltuuaVcsn+R439XXnklx/+clS0++eOnvTZEwpdWwpeQkcJ38803l0v2P//+97+LU045pRU/2VrRVmYcvTJDeQ1orw2R8KWV8CVkpF3dm266qVxycHjmmWdaVzxm97c3CV+9Er6EjLTFd+ONN5ZLDh7ycTuO/1VXwicnsWuvDZHwpZXwJWSk8K1cubJccjDZ+vjfTjvupK7gqEv46pXwJaTrru7Uaa2vSGwCr7/+euvadnL+3/bbb6+u6DhUCZ9cjFZ7bYiEL62ELyEjbfFde+215ZLNQC70Kcf/6r7yySBI+OqV8CVkpPBdc8015ZLNQo7/zZw5k8//jiDhq0/Cl5CRwidfyNxUPvzww2LZsmWfHP/bsgtc1+Wf+ln5ilHttSESvrQSvoR0C58c2P7FL35RLtlc5PjfD3/4Qz7/q0j46nMgw3fuuecW8rWQHj74QO/fbbstum7xTZna2iKKwnPPPVccdNBBHP/byokTJ6qvDTFl+DY8v0FdF6p45plnqutovzuQ4fM05dbjSLu6V111VblkHOR7Rjj+94l1hY8vFCd8tYVPvl5SzoGLiBz/W758eSt+kY//TZgwQX1tiIQvrYSvrvBNmVJcfvnl5ZIxeeONN1pf8Sif/414/t+E8YSvLgcyfIvOWFScf975Ll5/XbqTiEfa4pNvPYOi+POf/1wccsgh4T7+Nn7cePW1IaYM3yNrH1HXhSqevvB0dR3tdwcyfI14V3dL+C699NJySRDkC9ZnzZoV5vjfuHHj1NeGmDJ8nvCubkabED45leHiiy8ul4Q2H330Ues0n/bxPy0YTVCOa44dO1Z9bYiEL62ELyHdwjd50uTWt/mDzsaNG4vTTjutdfyvqef/Eb76JHwJGSl8F1xwQbkkbIu//OUvjT3+t+uuu6qvDZHwpZXwJaTrru7EScVPf/rTckkYifvuu6+YPXt2o47/Eb76JHwJGekY3/nnn18uCaNBjv+tWLGiFb8mfAJEnof22hAJX1oJX0K67upOnlz85Cc/KZcEC3L8b+HChQN//h/hq0/Cl5CRjvEtXry4XBKqIMf/vvrVrw7s1p8ct9ReGyLhSyvhS8hIW3w//vGPyyWhF+6///6BPP5H+OqT8CWkW/jkI2uLFi0ql4RekeN/cn1DecNgELYA5Tw+eZzaa0MkfGklfAnpGr7JU4rTTz+9XBK8ePPNN4szzjhjII7/Eb76JHwJGWmLTz6gD2l4/vnni8MOO6wVl369+ot8MkV7bYiEL62ELyHdwicXIj311FPLJSEVq1evLubMmdM6/tdvASR89Un4EjJS+E4++eRySUiJHP+TL3bqt+N/hK8+CV9CuoZv6tTixBNPLJesj5tuuql1WagIvPXWW603lPrl+B/hq0/Cl5CRwnfCCSeUS9bHd77zndZ3vMoXgssXA0Vgw4YNxde+9rXat/4kwNprQyR8aSV8CekWvmlTpxXfPf675ZL1ceyxx/53JZQQyOXwN2/eXP602fzhD38o5s6dW9v5fzvssIP62hAJX1oJX0K6hW/6tOnFcccdVy5ZH9/+9reHrIwSP3nH+a677iqXaDZy/O/aa69tHf+TXc+cb4AQvvokfAnpusU3bVpra6tujj76aHWllE8V7LPPPsUTTzxRLtls5PiffJJGtnzHbD9GnYm3Y8aMUV8bIuFLK+FLyEhbfMccc0y5ZH1861vfUldKUY79yVbQ8ccfX7z00kvlf9Fs/vrXvxaHH354luN/O4xhi68uCV9CuoZv+vTW1lbdHHHEEepKubWySyYBlAunbtq0qfwvm82aNWuK3efunvQCqGzx1SfhS8hI4ZOtrbr5+te/rq6UmrIVJN8Fe8sttxT/+c9/yt/QXOT433XXXdc6/pcigISvPgcyfLLlIV+R5+FTTz1V/hP60y18M6bPKI488shyyfqQ0zqsB/QlAnvuuWfx6KOPlr+l2bSP/8lWr+yeajOpopxLqL02xJThk8MW2rpQxbN+fJa6jva7Axk+T1NuPXYL38wZM4tvfOMb5ZL1Idez01bKkWwf/5N4//3vfy9/W7P529/+1vo38zr+V1f4+EJxwldb+GbMmNE6iF438kU+2ko5WmXllQDKRVXffvvt8rc2mwceeKCYN29ez+f/Eb76JHw1bvHJbmbdHHTQQepKaVXiJ8fC5JiYHBtrOvIcr7/++p4+/ytfm6m9NkTCl1bCV2P4Djv0sHLJ+jjggAPUlbKqcvxProYiV0WOgBz/O+uss1rhlzcrtJlsS7b46nMgw3fFFVcUH3zwgYspP57VLXyzZs5q7WbWzf7776+ulL0qW0Hy/OR7MSIgxznl1CDL1l9dW3yytaqtC1VcsmSJuo72uwMZviacziLhk93Mutlvv/3UldJDWbHlkxBywdUoF0B48MEHR3X8T95JlzeItNeGmDJ8nnA6S0abEr4DDzywXLI+5GNp2orpqcRPdoGjXADh448/Lm644YZi7NixXbcA69ri84TwZbQJ4Zs5c2Zx6KGHlkvWx957762ulCmU+MnluO6+++7y3puNvMt99tlnq8f/2OKrV8KXkG7hmzN7TutNgLr54he/OGSFzKFsBe27777Fk08+WT6KZiPH/775zW92bP2xxVefhC8h3cInjh83vrj00kvLpevh85///JCVMZft439yMdaXX365fDTN5qGHHirmz5//3+N/8n+114VI+NJK+BIyUvjmz5vfOg4kVz9+5513yv8qL/LRs+FRyqHs5kn8xo0b19oSuvDCC0NcAEGO/61YsaI1A9nt114XIuFLK+FLyEjhExfMX1BMnjy5FYCVK1e2VoycLFiwoCNKKf3Mdp9pRW/ihInFHgv2aM1AroIyedLkYuLEicVvfvObRl8AQc77k3Mn5d98+GthawlfWglfQkYTvrZyzG/8+PGtXSE5JSIXcn9aoFIoW3g777RzK3TaDGbPnt2awV577dXICyDce++9rQvQytcOyJa2NoO2hC+thC8hlvCJe+6xZ+tyVfLup5wMKx+KT42cc6ZFylPZwpNPKcinVbTnvbVbz+Coo44q/vGPf5SPdHCRNzfk8l9yWENOY9Ke93AJX1oJX0Ks4Wsru4DyvbtyGoRcDkl2j1IhX7ajxcpDCZ44aeKkVtC057otWzOYOrV1/E9OCRnECyDIMUu5hJo8B9nSs8yA8KWV8CWkavjaypsfcixIthTkC3FSfPhfTqnRotWrErzP7fK5Yt7u89TnNlrlv2/PQC4KMCgXQPjd737XCrc89iozIHxpJXwJ6TV8bSVOcuVj2TpbvXp1+dt9kONqnt8sJsGTk3Vnz5qtPpeqppyBJ/KdHXKNQwl1LzMgfGklfAnxCl9bOUYm534ddthhbh/+nzVrlhowq+3dWtnCse7WWpQrV8sM5FMv/XQBhPfee68499xzW7u18kVSvc6A8KWV8CXEO3zi1sf/Fi5cWLzxxhvlvVVDLoiqhcyiBE+uSye75tpj9rZ9/E9mIBdA6HUGvXLHHXcUkyZNakXfawaEL62ELyEpwtdWVjAJoARn+fLlxYcffljeqw15B1WL2WiU01PkG9jkVBztMaZWTsWZMnlKawvw5z//efYLIDz33HOtc/LkHEw5ZKA9xqoSvrQSvoSkDF/bubvNbb1rKhc9uOeee8p7Hj2y5aRFrZvt3VoJr/aYcivnBcoWl2y9rlq1qnxm6ZB3mM8888zWOYnyh2Okc/KqSPjSSvgSkiN8beX8MDmgLlsgTz/9dPkIRmbKlClq3LalBG/c2HHZdmsttmcg1xhcv359+Qz9kE+U/PrXv26dZC1zky1O7XF4SPjSSvgSkjN8ohxQl/PF5AD7SSedVLz66qvlI9k2sqWkBW647YsK7DZnN/W++0XZ+mrPwPMCCBJSuYSXRC/HDAhfWglfQnKHr618/ld2YeXTD3L1l/fff798RJ3I52O10IlymosET7SegFu38gaIHP+TAF500UWVL4CwcePG1kUkvN6tHa2EL62ELyF1ha9t68P/kye3vO2228pHNRTZgtGiJ8purVw6SyKi/f5BsOoFEORiEXLCtOw6y26t/DHRfn8qCV9aCV9C6g5fW3nXVU7+lYuOPvbYY+Wj+wQtfLKFJ6eKyBsn2u8bRC0XQFi3bl1rl3nC+Am17doTvrQOZPguWXpJ6wx5D1988cXyn9CffgmfKLto7ZN/jznmmP9++F+2aNrBky08iZ4sp/2OQVdm0O0CCHJM9Pjjj2/9vO4ZpAzfm2++qa4LVZQvktfW0X53IMPnacqtx34KX1vZbZXLIsnHyuTy73IensROwidbhYO8Wzta2ydAy5s1smUnJ4LLly7J/y+398MMUoaP79UlfOHC11YuQCofV9tl511ab1ykPDWjX5UtQPkMsJyPKJ+r7ac3bwhfWglf0PBhf0v40kr4CB/2oYQvrQMZvksvubR44Z8vuPjqKyOf5FsVwodVTRk++cidti5U8ezFZ6vraL87kOHjdBZsuinD5wmns2SU8GHTJXxpJXwJIXxYVcKXVsKXEMKHVSV8aSV8CSF8WFXCl1bClxDCh1UlfGklfAkhfFhVwpdWwpcQwodVJXxpJXwJIXxYVcKXVsKXEMKHVSV8aSV8CSF8WFXCl1bClxDCh1UlfGklfAkhfFhVwpdWwpcQ+X6LU045BdGsXIFoECB8GR2U8AE0HcKXUcIH0B8QvowSPoD+gPBllPAB9AeEL6OED6A/IHwZJXwA/QHhyyjhA+gPCF9GL7/88uLdd951cdOmTeU/IUAMNm/erK4LVVyyZIm6jva7Axk+T9l6hGjwvbqEj/BBOAgf4SN8EA7CR/gIH4SD8BE+wgfhIHyEj/BBOAgf4SN8EA7CR/gIH4SD8BE+wgfhIHyEj/BBOAgf4SN8EA7CR/gIH4SD8BE+wgfhIHyEj/BBOAgf4SvOO/e84u677nZz48aN5cvLF7mU0PD7euGFF8qf+vM/9/7PkPt69tlny5/4s/bhtUPua93/rit/4s/6J9cPuS+JQCo2bNgw5L5W3b2q/Ik/r7zyypD76uayZcvUdSGS4cPn7T//8c/ypejLe+++13Ffj617rPypP+ecM/QCk6tWpVtpl101dEW87trryp/4c+tvbh1yX0uXLi1/4s/q1auH3NfpC08vf+LPM08/M+S+sLuEz1nCZ4fw9Q7hs0n4nCV8dghf7xA+m4TPWcJnh/D1DuGzSficJXx2CF/vED6bhM9ZwmeH8PUO4bNJ+JwlfHYIX+8QPpuEz1nCZ4fw9Q7hs0n4nCV8dghf7xA+m4TPWcJnh/D1DuGzSficJXx2CF/vED6bhM9ZwmeH8PUO4bNJ+JwlfHYIX+8QPpuEz1nCZ4fw9Q7hs0n4nCV8dghf7xA+m4TPWcJnh/D1DuGzSficJXx2CF/vED6bhM9ZwmeH8PUO4bNJ+JwlfHYIX+8QPpuEz1nCZ4fw9Q7hs0n4nCV8dghf7xA+m4TPWcJnh/D1DuGzSficJXx2CF/vED6bhM/Za66+prjpVze5u3Llyo77uvLKK9VlPVy0aNGQ+5JAaMt5+JNzfjLkvs4/73x1OQ8vvPDCIfe1ePFidTkPL7vssiH3tXDhQnU5D5cvWz70vrCrhA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw0n4EDGchA8Rw/mpougPtQfn4Y2/vLFY+/BaRByl9/3+PnVd8nDZVcu2rO56A3Kq3liH2pA8fPjhh7f8egAYLRs3blTXJQ9vu+02uQu1ATlVb6xDbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh5bwbXxjY7Huf9fhFv+64a/lVAaTTZs2qc8ros88/Uw5ldFB+DKqDclDS/jWr1+v/o6I/urGX5VTGUxeefkV9XlF9GeX/aycyuggfBnVhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuQh4asm4WuOhK9T9cY61IbkIeGrJuFrjoSvU/XGOtSG5CHhqybha46Er1P1xjrUhuShJXybN28u3njjDdziu++8W05lMPn4o4/V5xXRt956q5zK6CB8GdWG5KElfABA+LKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPCR8ADYIX0a1IXlI+ABsEL6MakPykPAB2CB8GdWG5CHhA7BB+DKqDclDwgdgg/BlVBuSh4QPwAbhy6g2JA8JH4ANwpdRbUgeEj4AG4Qvo9qQPPzF8l8U659cj4ij9IE1D6jrkoeEb5jakBCxWRK+YWpDQsRmSfiGqQ0JEZsl4RumNiREbJaEb5jakBCxWRK+YWpDQsRmSfiGqQ0JEZsl4RumNiREbJaEb5jakBCxWRK+YWpDQsRmSfiGqQ0JEZsl4RumNiREbJaEb5jakBCxWRK+YWpDQsRmSfiGqQ0JEZsl4RumNiREbJaEb5jakBCxWRK+YWpDQsRmSfiGqQ0JEZsl4RumNiREbJaEb5jakBCxWRK+YWpDQsRm2R/hKz71/wFV7lgpsXE9RwAAAABJRU5ErkJggg=="},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(1)),a=f(n(7)),i=f(n(27)),o=n(13),s=f(n(2)),l=n(16),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(52)),d=f(n(418));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class m extends r.default.PureComponent{constructor(e){super(e),h(this,"handleAdvParamsChange",e=>this.setState({advParams:e})),this.state={advParams:null}}handleApply(){const e=this.props,t=e.setAdvParams,n=e.hideAdvParamDialog,r=this.state.advParams;r&&r.interval&&(r.timeout||0===r.timeout)&&(t(r),n())}handleCancel(){(0,this.props.hideAdvParamDialog)()}render(){const e=this.props,t=e.showAdvParams,n=e.advParams;return r.default.createElement(i.default,{className:"adv-param-modal",show:t,onHide:()=>{this.handleCancel()}},r.default.createElement(i.default.Header,null,r.default.createElement(i.default.Title,null,"Advertising parameters")),r.default.createElement(i.default.Body,null,r.default.createElement(d.default,{onChange:this.handleAdvParamsChange,advParams:n})),r.default.createElement(i.default.Footer,null,r.default.createElement("div",{className:"form-group"},r.default.createElement(a.default,{type:"button",onClick:()=>this.handleApply(),className:"btn btn-primary btn-sm btn-nordic"},"Apply"),r.default.createElement(a.default,{type:"button",onClick:()=>this.handleCancel(),className:"btn btn-default btn-sm btn-nordic",variant:"secondary"},"Cancel"))))}}var _=(0,o.connect)((function(e){const t=e.app.advertising;return{showAdvParams:t.showAdvParams,advParams:t.advParams}}),(function(e){return function(e){for(var t=1;t10240||this.state.interval<20?"error":"success"}validateTimeout(){return this.state.timeout<0?"error":"success"}handleChange(e,t){this.setState({[e]:+t},()=>{"success"===this.validateInterval()&&"success"===this.validateTimeout()?this.props.onChange(this.state):this.props.onChange(null)})}render(){return r.default.createElement(i.default,null,r.default.createElement(o.default,{className:"form-group"},r.default.createElement(a.default,{sm:4,className:"form-label text-right"},"Interval (ms)"),r.default.createElement(a.default,{sm:7},r.default.createElement(l.default,{type:"number",value:this.state.interval,validationState:this.validateInterval(),onChange:e=>this.handleChange("interval",e.target.value)}))),r.default.createElement(o.default,{className:"form-group"},r.default.createElement(a.default,{sm:4,className:"form-label text-right align-baseline"},"Timeout (s)"),r.default.createElement(a.default,{sm:7},r.default.createElement(l.default,{type:"number",value:this.state.timeout,validationState:this.validateTimeout(),hasFeedback:!0,onChange:e=>this.handleChange("timeout",e.target.value)}))))}}d.propTypes={onChange:s.default.func.isRequired,advParams:s.default.object};var c=d;t.default=c,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=v(n(1)),a=v(n(7)),i=v(n(18)),o=v(n(27)),s=n(13),l=n(96),u=n(9),d=v(n(2)),c=n(16),f=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=_(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(52)),p=n(43),h=v(n(420)),m=v(n(421));function _(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(_=function(e){return e?n:t})(e)}function v(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){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,a,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){s=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw a}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(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 y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?n.slice(-1)[0].id:0,i=r.length>0?r.slice(-1)[0].id:0;this.id=Math.max(a,i)}prepareValue(){if(this.typeValue)return this.id+=1,this.typeValue.id=this.id,A({},this.typeValue)}addToAdvData(){const e=this.props.addAdvEntry,t=this.prepareValue();t&&""!==t.value&&e(t)}addToScanResponse(){const e=this.props.addScanRsp,t=this.prepareValue();t&&""!==t.value&&e(t)}handleValueChange(e){this.typeValue=e}handleApply(){const e=this.props,t=e.applyChanges,n=e.setAdvertisingData;t(),n()}handleSave(){const e=this.props.saveAdvSetup;l.dialog.showSaveDialog({filters:w}).then(t=>{let n=t.canceled,r=t.filePath;r&&!n&&e(r)})}handleLoad(){const e=this.props.loadAdvSetup;l.dialog.showOpenDialog({filters:w,properties:["openFile"]}).then(t=>{let n=t.canceled,r=t.filePaths;if(!r||n)return;const a=g(r,1)[0];a&&e(a)})}render(){const e=this.props,t=e.tempAdvDataEntries,n=e.tempScanRespEntries,s=e.show,l=e.deleteAdvData,u=e.setAdvdataStatus,d=e.deleteScanRsp,c=e.hideSetupDialog;return r.default.createElement(o.default,{className:"adv-setup",show:s,onHide:()=>{},size:"lg"},r.default.createElement(o.default.Header,null,r.default.createElement(o.default.Title,null,"Advertising setup")),r.default.createElement(o.default.Body,null,r.default.createElement(h.default,{onValueChange:this.handleValueChange}),r.default.createElement("div",{className:"adv-row"},r.default.createElement("div",{className:"adv-col adv-pkt"},r.default.createElement(a.default,{className:"btn-add btn-primary btn-nordic mdi mdi-plus",onClick:this.addToAdvData}," Add to advertising data"),r.default.createElement(m.default,{title:"Advertising data",onDelete:l,advEntries:t})),r.default.createElement("div",{className:"adv-col scan-rsp-pkt"},r.default.createElement(a.default,{className:"btn-add btn-primary btn-nordic mdi mdi-plus",onClick:this.addToScanResponse}," Add to scan response"),r.default.createElement(m.default,{title:"Scan response data",onDelete:d,advEntries:n}))),r.default.createElement("div",{className:"adv-row"},r.default.createElement(i.default.Label,{className:"error-label",variant:"danger"},u))),r.default.createElement(o.default.Footer,{className:"advertising-setup-footer"},r.default.createElement("div",null,r.default.createElement(a.default,{variant:"secondary",onClick:this.handleLoad},"Load setup"),r.default.createElement(a.default,{variant:"secondary",onClick:this.handleSave},"Save setup")),r.default.createElement("div",null,r.default.createElement(a.default,{className:"btn-primary btn-nordic",onClick:this.handleApply},"Apply"),r.default.createElement(a.default,{variant:"secondary",onClick:c},"Close"))))}}var D=(0,s.connect)((function(e){const t=e.app.advertising;return{tempAdvDataEntries:t.tempAdvDataEntries,tempScanRespEntries:t.tempScanRespEntries,show:t.show,setAdvdataStatus:t.setAdvdataStatus}}),(function(e){return A({},(0,c.bindActionCreators)(f,e))}))(M);t.default=D,M.propTypes={tempAdvDataEntries:d.default.instanceOf(u.List).isRequired,tempScanRespEntries:d.default.instanceOf(u.List).isRequired,show:d.default.bool.isRequired,addAdvEntry:d.default.func.isRequired,applyChanges:d.default.func.isRequired,setAdvertisingData:d.default.func.isRequired,setAdvdataStatus:d.default.string.isRequired,deleteAdvData:d.default.func.isRequired,addScanRsp:d.default.func.isRequired,deleteScanRsp:d.default.func.isRequired,hideSetupDialog:d.default.func.isRequired,saveAdvSetup:d.default.func.isRequired,loadAdvSetup:d.default.func.isRequired},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(1)),a=d(n(37)),i=d(n(145)),o=d(n(2)),s=n(17),l=d(n(14)),u=d(n(148));function d(e){return e&&e.__esModule?e:{default:e}}function c(e){switch(e){case"0":return"Complete local name";case"1":return"Shortened local name";case"2":return"UUID 16 bit complete list";case"3":return"UUID 16 bit more available";case"4":return"UUID 128 bit complete list";case"5":return"UUID 128 bit more available";case"6":return"TX power level";case"7":return"Custom AD type";default:return"unknown"}}function f(e,t){switch(t){case"0":case"1":return e;case"2":case"3":case"4":case"5":return e.replace(" ","").split(",");case"6":return parseInt(e,10);case"7":return e;default:return null}}function p(e,t){const n=e.replace(/0[xX]/g,"").replace("-","").split(",");let r;switch(t){case 0:r=/^[0-9a-fA-F]{4}$/;break;case 1:r=/^[0-9a-fA-F]{32}$/;break;default:return"error"}for(let e=0;e29?"error":"success";case"2":case"3":return p(this.value,0);case"4":case"5":return p(this.value,1);case"6":return function(e){return e>=-127&&e<=127&&""!==e?"success":"error"}(this.value);case"7":return function(e){return e.trim().search(/^((0[xX])?[A-Fa-f0-9]{2})+$/g)>=0?"success":"error"}(this.value);default:return"error"}var e}validateAdType(){return this.adTypeValue.trim().search(/^(0[xX])?[A-Fa-f0-9]{2}$/g)>=0?"success":"error"}render(){const e=null===this.type;let t={};this.title.includes("16 bit")?t=(0,s.uuid16bitServiceDefinitions)():this.title.includes("128 bit")&&(t=(0,s.uuid128bitServiceDefinitions)());const n=0===Object.keys(t).length,o="7"===this.typeKey?r.default.createElement("div",null,r.default.createElement(l.default,{label:"AD type value",placeholder:"Enter AD type value (1 byte hex)",hasFeedback:!0,value:this.adTypeValue,labelClassName:"",wrapperClassName:"col-md-12",validationState:this.validateAdType(),onChange:this.handleAdTypeChange})):null,d=n?null:r.default.createElement(u.default,{onSelect:this.handleUuidSelect,title:"Predefined service UUIDs",uuidDefs:t});return r.default.createElement("div",null,r.default.createElement("div",{className:"adv-drop-container"},r.default.createElement("div",{className:"type-label"},"AD type"),r.default.createElement(i.default,{className:"adv-dropdown",title:this.title,id:"dropdown-adv",label:"Type",onSelect:this.handleSelect,variant:"secondary"},r.default.createElement(a.default.Item,{eventKey:"0"},c("0")),r.default.createElement(a.default.Item,{eventKey:"1"},c("1")),r.default.createElement(a.default.Item,{eventKey:"2"},c("2")),r.default.createElement(a.default.Item,{eventKey:"3"},c("3")),r.default.createElement(a.default.Item,{eventKey:"4"},c("4")),r.default.createElement(a.default.Item,{eventKey:"5"},c("5")),r.default.createElement(a.default.Item,{eventKey:"6"},c("6")),r.default.createElement(a.default.Item,{eventKey:"7"},c("7")))),r.default.createElement("div",{className:"adv-value-container"},o,r.default.createElement(l.default,{buttonAfter:d,disabled:e,id:"value",value:this.value,label:"Value",hasFeedback:!0,placeholder:this.placeholderText,validationState:this.validateInput(),labelClassName:"type-label col-md-3",wrapperClassName:"col-md-12",onChange:this.handleChange})))}}h.propTypes={onValueChange:o.default.func.isRequired};var m=h;t.default=m,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(1)),a=n(9),i=s(n(2)),o=s(n(422));function s(e){return e&&e.__esModule?e:{default:e}}const l=e=>{const t=e.title,n=e.advEntries,a=e.onDelete;return r.default.createElement("div",{className:"adv-table-container"},r.default.createElement("div",{className:"adv-header"},t),r.default.createElement("table",{className:"table-striped"},r.default.createElement("thead",null,r.default.createElement("tr",null,r.default.createElement("th",null,"AD type"),r.default.createElement("th",null,"Value"),r.default.createElement("th",null))),r.default.createElement("tbody",null,n.map(e=>r.default.createElement(o.default,{entry:e,key:e.id,onDelete:a})))))};l.propTypes={title:i.default.string.isRequired,advEntries:i.default.instanceOf(a.List).isRequired,onDelete:i.default.func.isRequired};var u=l;t.default=u,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(1)),a=o(n(7)),i=o(n(2));function o(e){return e&&e.__esModule?e:{default:e}}class s extends r.default.PureComponent{constructor(e){super(e),this.onButtonClicked=this.onButtonClicked.bind(this)}onButtonClicked(){const e=this.props,t=e.entry;(0,e.onDelete)(t.id)}render(){const e=this.props.entry;return r.default.createElement("tr",null,r.default.createElement("td",null,e.type),r.default.createElement("td",null,e.value),r.default.createElement("td",null,r.default.createElement(a.default,{className:"mdi mdi-close-circle adv-data-delete",size:"sm",onClick:this.onButtonClicked,variant:"secondary"}," Delete")))}}s.propTypes={entry:i.default.object.isRequired,onDelete:i.default.func.isRequired};var l=s;t.default=l,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(1)),a=f(n(7)),i=f(n(27)),o=n(13),s=f(n(2)),l=n(16),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(10)),d=f(n(424));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class m extends r.default.PureComponent{constructor(e){super(e),h(this,"handleParamChange",e=>this.setState({connectionParameters:e})),h(this,"handleApply",()=>{const e=this.props,t=e.hideConnectionParamDialog,n=e.setConnectionParams,r=this.state.connectionParameters;r&&(n(r),t())}),this.state={connectionParameters:null}}render(){const e=this.props,t=e.showConnectionParams,n=e.connectionParameters,o=e.hideConnectionParamDialog;return r.default.createElement(i.default,{className:"adv-param-modal",show:t,onHide:o},r.default.createElement(i.default.Header,null,r.default.createElement(i.default.Title,null,"Connection parameters")),r.default.createElement(i.default.Body,null,r.default.createElement(d.default,{onChange:this.handleParamChange,connectionParameters:n})),r.default.createElement(i.default.Footer,null,r.default.createElement("div",{className:"form-group"},r.default.createElement(a.default,{type:"button",onClick:this.handleApply,className:"btn btn-primary btn-sm btn-nordic"},"Apply"),r.default.createElement(a.default,{type:"button",onClick:o,className:"btn btn-default btn-sm btn-nordic",variant:"secondary"},"Cancel"))))}}var _=(0,o.connect)((function(e){const t=e.app.adapter;return{showConnectionParams:t.showConnectionParams,connectionParameters:t.connectionParameters}}),(function(e){return function(e){for(var t=1;te%t!=0,f=e=>e?"error":"success";class p extends r.default.PureComponent{constructor(e){super(e),this.state={connectionInterval:this.props.connectionParameters.connectionInterval,slaveLatency:this.props.connectionParameters.slaveLatency,connectionSupervisionTimeout:this.props.connectionParameters.connectionSupervisionTimeout}}validateConnectionInterval(){const e=this.state.connectionInterval;return f(el.CONN_INTERVAL_MAX||c(e,1.25))}validateConnectionSupervisionTimeout(){const e=this.state,t=e.connectionSupervisionTimeout,n=2*(1+e.slaveLatency)*e.maxConnectionInterval,r=n>l.CONN_TIMEOUT_MIN?n:l.CONN_TIMEOUT_MIN;return f(tl.CONN_TIMEOUT_MAX||c(t,10))}validateSlaveLatency(){const e=this.state,t=e.slaveLatency,n=e.connectionSupervisionTimeout/(2*e.maxConnectionInterval)-1,r=nr||c(t,1))}handleChange(e,t){this.setState({[e]:+t},()=>{[this.validateSlaveLatency(),this.validateConnectionInterval(),this.validateConnectionSupervisionTimeout()].includes("error")?this.props.onChange(null):this.props.onChange(this.state)})}render(){return r.default.createElement(i.default,null,r.default.createElement(o.default,{className:"form-group"},r.default.createElement(a.default,{sm:5,className:"form-label text-right"},"Slave latency"),r.default.createElement(a.default,{sm:7},r.default.createElement(u.default,{type:"number",value:this.state.slaveLatency,validationState:this.validateSlaveLatency(),onChange:e=>this.handleChange("slaveLatency",e.target.value)}))),r.default.createElement(o.default,{className:"form-group"},r.default.createElement(a.default,{sm:5,className:"form-label text-right align-baseline"},"Supervision timeout (ms)"),r.default.createElement(a.default,{sm:7},r.default.createElement(u.default,{type:"number",value:this.state.connectionSupervisionTimeout,validationState:this.validateConnectionSupervisionTimeout(),step:l.CONN_TIMEOUT_STEP,hasFeedback:!0,onChange:e=>this.handleChange("connectionSupervisionTimeout",e.target.value)}))),r.default.createElement(o.default,{className:"form-group"},r.default.createElement(a.default,{sm:5,className:"form-label text-right align-baseline"},"Connection interval (ms)"),r.default.createElement(a.default,{sm:7},r.default.createElement(u.default,{type:"number",value:this.state.connectionInterval,validationState:this.validateConnectionInterval(),step:l.CONN_INTERVAL_STEP,hasFeedback:!0,onChange:e=>this.handleChange("connectionInterval",e.target.value)}))))}}p.propTypes={onChange:s.default.func.isRequired,connectionParameters:s.default.object};var h=p;t.default=h,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(1)),a=f(n(7)),i=f(n(27)),o=n(13),s=f(n(2)),l=n(16),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(60)),d=f(n(123));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class m extends r.default.PureComponent{constructor(e){super(e),h(this,"handleSecParamsChange",e=>this.setState({secParams:e})),this.state={secParams:null}}handleApplyParams(){const e=this.props,t=e.setSecurityParams,n=e.hideSecurityParamsDialog,r=e.security.securityParams;t(this.state.secParams||r),n()}handleCancel(){(0,this.props.hideSecurityParamsDialog)()}render(){const e=this.props.security;return e?r.default.createElement(i.default,{className:"security-param-modal",show:e.showingSecurityDialog,onHide:()=>{}},r.default.createElement(i.default.Header,null,r.default.createElement(i.default.Title,null,"Security parameters")),r.default.createElement(i.default.Body,null,r.default.createElement("form",{className:"form-horizontal"},r.default.createElement(d.default,{onChange:this.handleSecParamsChange,securityParams:e.securityParams}))),r.default.createElement(i.default.Footer,null,r.default.createElement("div",{className:"form-group"},r.default.createElement(a.default,{type:"button",onClick:()=>this.handleApplyParams(),className:"btn btn-primary btn-sm btn-nordic"},"Apply"),r.default.createElement(a.default,{type:"button",onClick:()=>this.handleCancel(),className:"btn btn-default btn-sm btn-nordic",variant:"secondary"},"Cancel")))):r.default.createElement("div",null)}}var _=(0,o.connect)((function(e){const t=e.app.adapter.selectedAdapter;return t?{security:t.security,adapter:e.app.adapter}:{}}),(function(e){return function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n{let t=e.id,n=e.device,s=e.sourceId,d=e.layout,c=e.connectedDevicesNumber,p=e.isDfuSupported,h=e.onClickDfu,m=e.onDisconnect,_=e.onPair,v=e.onConnectionParamsUpdate,g=e.onPhyUpdate,y=e.onMtuUpdate,b=e.onDataLengthUpdate;const A=(0,r.useRef)(null),E=f((0,r.useState)(null),2),w=E[0],M=E[1],D=f((0,r.useState)(!1),2)[1],C=f((0,r.useState)(null),2),x=C[0],T=C[1],L=(0,o.useSelector)(e=>e.app.adapter.bleDriver.adapter._bleDriver.NRF_SD_BLE_API_VERSION),k=()=>{w&&D(window.innerWidth{x||T(setTimeout(()=>{T(null),k()},100))};(0,r.useEffect)(()=>(window.addEventListener("resize",S),A.current&&M(A.current.getBoundingClientRect()),()=>{window.removeEventListener("resize",S)}),[]);const P="central"===n.role?"Central":"Peripheral",O=n.mtu>23,I={opacity:!0===n.connected?1:.5};return r.default.createElement("div",{ref:A,id:t,className:"device standalone",style:I},r.default.createElement("div",{className:"top-bar"},r.default.createElement("div",{className:"flag-line"})),r.default.createElement("div",{className:"device-body text-small"},r.default.createElement("div",null,r.default.createElement("div",{className:"pull-right"},p&&r.default.createElement(a.default,{id:"dfuButton",variant:"primary",className:"btn-nordic btn-xs",size:"sm",title:"Start Secure DFU",onClick:h},r.default.createElement("img",{src:l.default,className:"icon-dfu-button",alt:""})),r.default.createElement(i.default,{id:"connectionDropDown",onClick:k,onSelect:e=>{switch(e){case"Disconnect":m();break;case"UpdateConnectionParams":v(n);break;case"UpdatePhy":g(n);break;case"UpdateMtu":y(n);break;case"UpdateDataLength":b(n);break;case"Pair":_();break;default:console.log("Unknown eventKey received:",e)}}},r.default.createElement(i.default.Toggle,null,r.default.createElement("span",{className:"mdi mdi-settings","aria-hidden":"true"})),r.default.createElement(i.default.Menu,null,r.default.createElement(i.default.Item,{id:"updateConnectionMenuItem",eventKey:"UpdateConnectionParams"},"Update connection..."),L>=5&&r.default.createElement(r.default.Fragment,null,r.default.createElement(i.default.Item,{id:"updatePhyMenuItem",eventKey:"UpdatePhy"},"Update phy..."),r.default.createElement(i.default.Item,{id:"updateDataLengthMenuItem",eventKey:"UpdateDataLength",title:"Length of data payload of link layer packets"},"Update data length..."),r.default.createElement(i.default.Item,{id:"updateMtuMenuItem",eventKey:"UpdateMtu",disabled:O,title:"ATT maximum transfer unit, length of an ATT packet"},"Update MTU...")),r.default.createElement(i.default.Divider,{key:"dividerPair"}),r.default.createElement(i.default.Item,{id:"pairMenuItem",eventKey:"Pair"},"Pair..."),r.default.createElement(i.default.Divider,{key:"dividerDisconnect"}),r.default.createElement(i.default.Item,{id:"disconnectMenuItem",eventKey:"Disconnect"},"Disconnect")))),r.default.createElement("div",{className:"role-flag pull-right"},P),r.default.createElement("strong",{className:"selectable"},n.name?n.name:"")),r.default.createElement("div",{className:"address-text selectable"},n.address)),r.default.createElement(u.default,{sourceId:s,targetId:t,device:n,layout:d,connectedDevicesNumber:c}))};h.propTypes={id:s.default.string.isRequired,device:s.default.object.isRequired,sourceId:s.default.string.isRequired,layout:s.default.string.isRequired,connectedDevicesNumber:s.default.number.isRequired,isDfuSupported:s.default.bool.isRequired,onClickDfu:s.default.func.isRequired,onDisconnect:s.default.func.isRequired,onPair:s.default.func.isRequired,onConnectionParamsUpdate:s.default.func.isRequired,onPhyUpdate:s.default.func.isRequired,onMtuUpdate:s.default.func.isRequired,onDataLengthUpdate:s.default.func.isRequired};var m=h;t.default=m,e.exports=t.default},function(e,t,n){"use strict";n.r(t),t.default="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAH8AAAB/CAYAAADGvR0TAAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AoHDTUicn6BOwAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAABISSURBVHja7V15kBzVef/e7KU9tNKKRQhduAgYhXAIb4EsIiSho3SgA51I4rCBxMi2CLJdlVRKdgVXynbZZSeu+FBBKo7BMTaBmBiZIyIIUwInrJ1giURIAkto5UVaabSrnb6P9375Y3uU1mh65vXMdM/Mqr+qqd2a6e73ve/3Xe/rdxAllFBCCSUUkgAwACnv/3/HCM1MJDNKSVXVBtu2x3iA/wgXUl2An0qglKMDBw4wXddbiYhSqdRXGGMGABDRPYl0RiE99dRTTFGUDgDjhoaGZpmm+YbPugWCKXH7dRzHGwBcrijKx3RdfxkhSAgBIcRN9dDPxgTq80C/iohsIrqOiF7o6Og49xMRMZlnWJZFjuOYCfiVAaSRiK4lorOMsb4Inn+jB/glRLTX/5MPcCb7PCHET5ubmycAYIwxJCZVAp05c2YygJkA7vHc6dsRAJ8C0C8Zx6W8vu//DQBuSqfTkxI0JenUqVNTOOeLNU3b5Zcq5/z08PDw1oi8y9uoLJ1TAk3TnuOcLxwYGJicoBtAJ06cmCaEWKZp2nMFLPElIiJd11kECtDLOa+UB7jgOaqqPgtgyYcffjglQft8wa/SNO1firlfIcRvzp49+9Go+NB1/RUAr1ZYAc4jTdOeBnDHxQw28ypl673YKGVFnHOYpvlClLxxzpsBvBmlAni0TlXVNX55jGryu2sA6y3LKkVoP4paYABaAbwetQJ4/V+dTz6j1drvFUL8aRky2wfg4zHw2xF1CPCFsz9RVXXzqPQC2Q4B2GTbNoQoW5bPx8T3eM75btd1I1UAIQRs27YBrB01CpBOp/1u/m4AbplyOg7gLwGsiqsPp0+fnmAYxkueAgQpgXAcpxJKbQLYUPcKkI1f77333nTXdT/ndaxUOgPgYQArcr1JHKQoymTTNP8cwC+CFMCyrB+4rvsIgE8DyJQzIACwqW4VIAu8qqr3mab5WhkWYQC4358UVVMgACYXyAMW+a5b5/FdqqdTAGypu0QwC46iKFts286UAfzGWgE9J2+5HMCePAqwMpdPAGsB3FVi/087jvNDVVW31IUC+AS02XXdkoDXNO2fACytFdAD+jcJwC9zFGBlvmu9/5eUMqwVQsCyrEFFUdbWtAJkGQOwqYyYt6ivr29yLcc7nwJMtCxrL+ccjuPANM31he7TNG0pgKUlKsBQ1gPULPCKomx0HEcJW/s2TRMAbqu33Obs2bPdpmn+j2EYOzOZTIek8izw+is9fBRCwHXdv65Zo1BVdZNlWVoIV5+98DZN02bX66hG07SrNU3rCnnPrQAWhCwgDQNYV3MKcOTIkWmGYTxfwtuuP65GabmU3yMKIbeHVAAzmwRXXQGyDHDO7yvB4mfHDbamaW8KIQ4CeNf3Oahp2q+rpQwA5oVUAAfA8qoqgC/xWR2C8ex1H4+aLy8U/Yxz/nsARwH8LkhBve+PADgqhDiuquqLcY42SlAAAWBxVUcAAJaV4OrjeCnzBIC0EKKkIosQggM4DeCZGGU5P4wCWJYFVVWXVSvBWxFi7Bqpq89a57Fjx252HOdXlXzp4rrur/v6+mbH4QXCJoFCiOpMChFCrAwJ/JyIw8+3Inr9mn3ezpgUYHHIfsyN290vDCnA+RHz8zXEQ39Xa+HUNE1omhZPjUTTtLm+IoVU1S5iQX1Z+i2RYUDX9U5vZS0DwAzDGKPrepj+fDMmBVgVgqe5cVn97SGYuiNiXnYUC9mGYUBV1Y9I5jGTDMOAxNu4r8ZgZCtCvg+YFTXwt4SZn6Zp2vIIefm8BBs3lPjsqyWe/aUYDO1O6XfAivLkwMDAJaPe6gcGBq4zTfP1oBeDpmlCUZSectpQFOVaL7xpAbH2VwMDA5GvxhVCbJIVOOf8Y1EBf71sFiqE2BKxQL5QYIXsHRVua36B4lDk1n/s2LGPGIbxr5LW/+N0Oj2+4sMp3xCkINm2DVVVN0ZYtr1nZK5j3qlUUFV1aYXrGfMsy8o7b8+2bei6/lAM7v9u2SGpbds3VrrxKyWt3gWwJsqyI+f8gSC9A7AwirYB3ArACnC122Iqo2+XMT5VVf95cHBwXKUabwCwQjLsbI+yEDI4OHitaZpv5nP3nPP7omjb9/JqXT73b5rmW4ODgzfGYP2f9OY0yhSkpFYGy+zJcykR7aKR9eoFcyQiShMRRbUuvaur65qWlpZbc3lxXXfYMIzhKNrOPs8wDNVxnKFcTFpaWm7p6uq6LmrrZ4z9UAjxlZFtgILZ9f7eDKCh3EYbvYmUMvTFqMufBaZBfSrKUOObohYUe9fGUWNRFOUTjuMMSVr/uHItfwIRPS1h9aeJ6EiUVg9gLBHNufBrEOd8PBFRW1tbJG1nn8s5Hy+EoDzymA2gM0rgdV1nY8eOfaKxsfHxYs6KiMg0zeWZTKahHIG3SVr9N2Kw+mX5kk7HcY4pirIsJstbaNv2kQBLWx9ThfVuACeKWb9lWTBNs7PURhoBfFZyCdWGGDod9DLp81G6/Dyu/1MBfKyMQQZZHr4jaZSpUt1+GxF9V8LlP8sYe6aKc8rao3T5ua6fiDqq1M9zIdW27X4hhMyOX39WKPFLFWgok5NBXqCIvryAkp2n4qODBw/+A4C9xRwFEf0tETUFXdAYNLYnoi9LJBaHieipBI74KJ1Os+7u7tMAzvpAZgWGfQhr+U1EtEPC5e9ljP3bRbGtSI1Qd3d3FpO/J6L3qMgegYwxKyz4SFx+7ZJX9HmFiP5L4trvBhlnKqy2+JTiHSL6egJF9RI/ImqWuPyzQUacyqdVAJ6WeOgBxthbicuvKnUWi+thh3qMiGReyTYlLr/qtJ2I9kvEfRF2nE9F4n1nIvuqx/3/JaLjxa49efLkikqBz4joN0T0QMz9VQK+12PmQw/JX9Rxv2j9vru7+3vS43wJOsUYOx6Ddo8joreIaIiIgqYnbffeqjXEIHNBREF75z4GYJCIuohoLmPsVK14iYaGhulS4DPGRJF3xqV6jLDAX05E/01ExSYmTPU+1Sb/nsDvAJjFGPuglkNHvmz/cI3w1iIBfK3SRCIaE0dDhmGM9V4zVyTbv7pWcpokrStO77777u2pVKq3UuAnVEfU09PjEJGRgH/xEkvATygBP6EE/IRGIfg/YQWIRmYb5xstXM6KkFcvSOf5fo33jJ0B9/0kAb/KyY1X797U39+/kHOeewCjTAWwoYicUpVMuBLwK6kVXr176tSpeyzL2l9C8eOiqi2Mypiv6zprb29flUqlQp3E5ThOW512GRct+AAm6Lo+8ejRo41EI9OsvRCwgoj2FbhvuveZZtv2Ry3L2kFEZp31vYmIWku594IXO0KIwVQqNaHO8P9mQ0PDvM7OznVE9Ft/CKCRdwRBdCz7T1NTEzU1NRERvV9nfX+NiG6piOWn0+mH69D4B5ubm6+cMGFCvqXS74RMyuoteSt5HsEF4F922WUy8/BrLTFiRESu647Nk/1vJKJTSU1DAvxi67u8a1prsTNCiAeHh4dn5mb/CfD0esUSPgDXZzKZz9RaD5ubm2d2dnaGOWj5ZSJ6yfu8WmeJXjY8cYkh8HyphE/KXaRSl4wdO3Y5EX2/BuXihqgLLPMJsyHMvbVQ0wDwR0Q0TUJRUvlm8F5g+a7rEudcpn2DRhd11SHP3yaiGyo2zrdtG5Zl/aNEfO3avXt3+ygCX61DnofKGaFc4Pbb29tBRA8AuL/IvTfPmTPnISL6mxoTiPQsXm9jh6zV1JUiv/HGG51CiEtSqaJp2/eCPEPQEu0Wibjf2draekstCcR13QHO+ckQt3yrXt1UT0/PVpIo7jDGtkm7fSIix3GY4zgy43klJ/OsKnHOd/b29vbmyYgFjRLKnkw+ZsyYG1OpVNFdQgoZcl7wbdt2XNfdIRFLFgBYVQPr9UBE1NLS8sHcuXOtnIx4O41Mpa44jz7lsuPqaHd3N/bt23cp5/zSYuw5jkO2bbNQ4Hd0dPDW1tavSQj8SiJaTlT1c14v8woZe/L89kgFrL8l3zM85dpERAvi7OyMGTMeZIwVO12Dua77Ocdz4WHH+WN9IAdu+8E5v0NRlA1tbW3PVBH87xPRgH8JmVfaBRENV+D5r7qu+3MhxOQ8v62kmFYMZfvU3Nw8hQovCgERsdbW1u8wxngoy/dIJ6IHi7n+VCo1tbW19VZ/PIrV348I5D8YY0fOMa7rzLPKRyn8IhSem8cwxk4ZhvEZ13W/mht74xwien26m4iK7fnHDMPYrWlaczmC7ZDZbdu27V2HDh2aUmFQrwhoruB8uWz4UVX1Uc459903JU8bQUeWfjsolPm/O3z48BWO4+wJeM6MKPILAF+XOnh3eHhmb29v6caYyWQ6NE3bJXPKM+f84WqDnxWQqqqPOo6Te06OLPgQQkBV1UAFyLbjuu5fFDhGdkYEXu4TAGT33i1/ToamaTMlz9TZ9f7770+PAfwnitz3VzkWn6V2WfC9bV3PKUBAO8W2QJ8RgdV/UXLnzZUyu24ziYanENHvCyR+2euIiB5MpVI/0HWdlbsjJoAriOiDPD8Ne983BMTrqwKqdYeIKDfzva4IDxZj7GCetjiNvFApZF1/6N1bKQX4JBHtlEn0iGgyY+xEsWfKvNU7QUSLieiVIskIOY7zmKqqVltb248jzHvGEVEphxtcU0KC1VJiWxXP8Glkc4oxEsa8mIgGZJ7dKCEAAeBokWHfyMNGqC2H6YRKJN+oZSONbKVKElZ/NGgDpjBDPb8C/I6I5lPxXZ+IMfY4gA0J8OVTW1sbVFXd7DiOzNZ4jIjme1hRxcD3aNBfSi1EhmHcdfz48ekJfBVRgAZvVnExq/djFEn8mRPiUMU1EWX79UIzKiDvO0O0F/qU8lBz+HRdty3Lkr38ZwDKOU71ot7Z05PdcyFuseNg6raQ5+kuKqOta3yFi3r5AEBZIwRN0xaFPET5tji1crEsV6qq/vTkyZOTKKEw8l0aQr5P9vf3T6pJ8D1alEAaWrZCUrYLqsHkIknmRNWYrD/gF4QEvnpGJYRYX+DFRj4FmJ9AHAj8/BCnlEMIUfZRbmUtY9J13XUcR6aaxLyx6GsA5iVQXwD8PBpZbQuZUY7jOELX9eotMPGdM7ccgBMyBCQK4AM+pKt3skPoqk6d871qXO1NggilAJqm3XSxgq5p2k0lAG8CWO2XfbU1N6sA6wBoYRTANE0IIeaGFNpEVVWvqmfghRBzTdNESOA1AOtqBvg8CrARgBJiCBh6JGCa5kOWZR0C0H2RZPTwZLqx5oDPowCbAGRKqIUv1TRtqUQ767zr9wKYWLMCudBjLQ1TvPFRxpseXtv99CnA5lIUwCtpLsl9Xpa2bt2asixru++WXwKYVIuC8fMDYEnIcq0f+M31ouB+BdhSogcAgLu8o1POe6aqqj22bR/OcZt7AEyuUdDXen0pFfgtdQN8gAdQSuy8C+D+bJLjPW9NDvDZvy+YpvlpRVGm1Qjo6zze3RL7rtSVxRfJATSUThkA2wAsAzA7KGl0XReGYbx45syZ2BLB3HG2p5zbyvB42ax+U90Cn0cBNti2bUiWgoOoH8DjhUYOruvCdd2XKzJnXT6R2+w4zjcAfAHAQKmdE0LAtm0DwIa6Bz5PvL6Xc/5IyCFOoeFhod92AxgfR/9UVV3KOe8vt0+c80dUVb131ACfzz0CWB/x9KmsArwKoCOOfgF4skye1weFktFUxz5XDi5x6BNWAV4XQkS+mbJlWS94i4RCeTVd15+pyapdDGFgja9gE6UCvKzr+s+j7NPw8PD1QojfhuTvzr6+vukXDfAByrACwKooFYBzDl3X34zY9b8omaesArCCEjpPCZaoqvqsZGJXSkIFAL1R8Z/JZLZxztMFQF8JYHGCdAANDAxM5pwv1DTtuYiUAADejop/IcTePDyvjnV2bb1TOp2e5DjOvJy9AUQF84B+mQ2mS/Be/+lrawOAnlqWc00nGoODgxO7urq6iKiHiEpd+Zs7NWoWEVmMsX0RgH8FEXXQyPS4A4X2w0lIXqizyiwELfCWf/1BIs3/p8Y64bMhpIUzXdd/AWBHe3t7mohOyi5bTqj2LH+mjJUbhvHa0NBQD4DxmUymI5Fc/QN/Q5GdwKDr+peIiDRNa92/fz9LpDb6rf4xIiLbtseoqtqQSGr0g/+8913qoi2JJpRQQgmVRf8HxNUT66mSjFMAAAAASUVORK5CYII="},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(1)),a=c(n(26)),i=c(n(46)),o=c(n(429)),s=c(n(433)),l=c(n(36)),u=c(n(2)),d=c(n(436));function c(e){return e&&e.__esModule?e:{default:e}}const f=e=>{const t=e.device;let n;switch(t.securityLevel){case 2:n="Unauthenticated encrypted link";break;case 3:n="Authenticated encrypted link";break;case 4:n="LESC authenticated encrypted link";break;default:n="Unencrypted link"}const o=t.securityLevel&&t.securityLevel>1?"mdi mdi-lock":"mdi mdi-lock-open-outline",s=t.bonded?"mdi mdi-link-variant":"mdi mdi-link-variant-off",u=t.bonded?"Bonded":"Not bonded";return r.default.createElement(i.default,{className:"connection-parameters"},r.default.createElement(l.default,null,r.default.createElement(a.default,{sm:8,xs:8,className:"connection-parameter-label"},"Connection Interval"),r.default.createElement(a.default,{sm:4,xs:4,className:"connection-parameter-value"},t.maxConnectionInterval," ms")),r.default.createElement(l.default,null,r.default.createElement(a.default,{sm:8,xs:8,className:"connection-parameter-label"},"Slave latency"),r.default.createElement(a.default,{sm:4,xs:4,className:"connection-parameter-value"},t.slaveLatency," ms")),r.default.createElement(l.default,null,r.default.createElement(a.default,{sm:6,xs:6,className:"connection-parameter-label"},"Timeout"),r.default.createElement(a.default,{sm:6,xs:6,className:"connection-parameter-value"},t.connectionSupervisionTimeout," ms")),r.default.createElement(l.default,null,r.default.createElement(a.default,{sm:8,xs:8,className:"top-spacer "+s},u),r.default.createElement(a.default,{sm:4,xs:4,className:"connection-parameter-value"})),r.default.createElement(l.default,null,r.default.createElement(a.default,{sm:12,xs:12,className:"connection-security "+o},n)))};f.propTypes={device:u.default.object.isRequired};class p extends r.default.PureComponent{render(){const e=this.props,t=e.style,n=e.device,a=n.securityLevel&&n.securityLevel>1?"mdi mdi-lock":"mdi mdi-lock-open-outline";return r.default.createElement("div",{className:"connection-info-button btn btn-xs btn-link",style:t},r.default.createElement(o.default,{trigger:["click","focus","hover"],rootClose:!0,placement:"left",overlay:r.default.createElement(s.default,{className:"connection-info-popover",title:"Connection Information"},r.default.createElement(f,{device:n}))},r.default.createElement("span",null,r.default.createElement("i",{className:"icon-encircled "+a}))))}}p.propTypes={style:u.default.object.isRequired,device:u.default.object.isRequired};class h extends r.default.PureComponent{componentDidMount(){this.onUpdate()}componentDidUpdate(){this.onUpdate()}onUpdate(){const e=this.props.connectedDevicesNumber;this.setState({connectedDevicesNumber:e})}getConnectionOverlay(e){const t=this.props,n=t.device,a=t.targetId;if(e.length<2)return null;const i=e[e.length-2],o=e[e.length-1];let s=(i.x-o.x)/2,l=(i.y-o.y)/2;const u=document.getElementById(a).getBoundingClientRect();return 0===s&&(s=u.width/2),0===l&&(l=u.height/2),r.default.createElement(p,{style:{position:"absolute",left:s-17,top:l-14},device:n})}render(){const e=this.props,t=e.sourceId,n=e.targetId,a=e.layout,i=document.getElementById(t),o=document.getElementById(n);if(!i||!o)return r.default.createElement("div",null);const s=i.getBoundingClientRect(),l=o.getBoundingClientRect(),u=(0,d.default)(a)(s,l,3),c=u.boundingBox,f=function(e){const t=[];for(let n=0;n1?t-1:0),r=1;r{const n=new RegExp(".colordefinition-(.*)").exec(e.selectorText)[1];t[n]=e.style.color}),t}(function(){const e=[];for(let t=0;t0}class c extends i.default{constructor(e){super(e),this.bars=2,this.attributeType="characteristic",this.childAttributeType="descriptor",this.onToggleNotify=this.onToggleNotify.bind(this)}onToggleNotify(e){e.stopPropagation();const t=d(this.cccdDescriptor),n=this.props.item.properties.notify,r=this.props.item.properties.indicate;if(void 0===this.cccdDescriptor)return;if(!n&&!r)return;let a;a=t?0:n?1:2;const i=[a,0];this.props.onWriteDescriptor(this.cccdDescriptor,i)}renderContent(){const e=this.props,t=e.item,n=e.selected,o=t.uuid,l=t.properties,u=t.value,c=t.children;this.cccdDescriptor=function(e){if(e)return e.find(e=>e.uuid===i.CCCD_UUID)}(c);const f=this.isLocalAttribute(),p=d(this.cccdDescriptor),h=t.instanceId===n,m=void 0!==this.cccdDescriptor,_=l.read,v=l.write||l.writeWoResp||l.reliableWr,g=l.notify,y=l.indicate,b=g||y,A=m?"Toggle notifications":"Toggle notifications (CCCD not discovered)",E=!f&&b?{}:{display:"none"},w=p&&b?"mdi mdi-stop":"mdi mdi-play",M=(0,a.getUuidFormat)(o)===a.TEXT,D=[];l&&l.toSeq().forEach((e,t)=>{if(e){const e=t;D.push(r.default.createElement("div",{key:e,className:"device-flag"},t))}});const C=_&&!f?()=>this.onRead():void 0,x=v||f?e=>this.onWrite(e):null;return r.default.createElement("div",{className:"content"},r.default.createElement("div",{className:"btn btn-primary btn-xs btn-nordic btn-notify",title:A,disabled:!m,style:E,onClick:this.onToggleNotify,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("i",{className:w})),r.default.createElement("div",null,this.renderName(),r.default.createElement("div",{className:"flag-line"},D)),r.default.createElement(s.default,{value:u.toArray(),onWrite:x,showReadButton:_&&h,onRead:C,selectParent:this.selectComponent,showText:M}),this.renderError())}renderChildren(){const e=this.props,t=e.item,n=e.selected,a=e.onSelectAttribute,i=e.onReadDescriptor,s=e.onWriteDescriptor;return t.children.valueSeq().map(e=>r.default.createElement(o.default,{key:e.instanceId,item:e,selected:n,onSelectAttribute:a,onChange:this.childChanged,onRead:i,onWrite:s}))}}var f=c;t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(1)),a=n(9),i=n(12),o=n(17),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(97)),l=d(n(64));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e){return e&&e.__esModule?e:{default:e}}class c extends s.default{constructor(e){super(e),this.bars=3,this.expandable=!1,this.attributeType="descriptor",this.childAttributeType=""}shouldComponentUpdate(e){return!((0,a.is)(this.props.item.value,e.item.value)&&(0,a.is)(this.props.item.errorMessage,e.item.errorMessage)&&(0,a.is)(this.props.selected,e.selected)&&(0,a.is)(this.props.item.name,e.item.name))}renderContent(){const e=this.props,t=e.item,n=e.selected,u=t.uuid,d=t.instanceId,c=t.value,f=this.isLocalAttribute(),p=function(e){return e===s.CCCD_UUID}(u),h=f&&p,m=f?void 0:()=>this.onRead(),_=h?null:e=>this.onWrite(e),v=d===n,g=[],y=(0,o.getUuidFormat)(u)===o.TEXT;return h&&a.Map.isMap(c)?c.forEach((e,t)=>{const n=(0,i.getInstanceIds)(t).address,a=`${d}-${t}`;g.push(r.default.createElement(l.default,{key:a,title:"CCCD value for device: "+n,value:e.toArray(),onWrite:_,onRead:m,showReadButton:v,selectParent:this.selectComponent}))}):g.push(r.default.createElement(l.default,{key:d,value:c.toArray(),onWrite:_,onRead:m,showReadButton:v,selectParent:this.selectComponent,showText:y})),r.default.createElement("div",{className:"content"},this.renderName(),g,this.renderError())}}var f=c;t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(1)),a=u(n(442)),i=u(n(443)),o=u(n(445)),s=u(n(2)),l=u(n(446));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){e.stopPropagation()}class c extends r.default.Component{constructor(e){super(e),this.selectParentAndToggleEditing=this.selectParentAndToggleEditing.bind(this),this.selectParent=this.selectParent.bind(this),this.toggleEditing=this.toggleEditing.bind(this),this.onChange=this.onChange.bind(this),this.onKeyDown=this.onKeyDown.bind(this),this.onWriteButtonClick=this.onWriteButtonClick.bind(this),this.onReadButtonClick=this.onReadButtonClick.bind(this),this.editableTextarea=r.default.createRef()}componentDidMount(){const e=this.props.value;this.editing=!1,this.value=e,this.validationMessage=""}componentDidUpdate(){if(this.editing){const e=this.editableTextarea.current._ref,t=e.value.length;e.focus(),e.selectionStart=t,e.selectionEnd=t}}onChange(e){const t=this.props,n=t.keyPressValidation,r=t.formatInput,a=t.onChange,i=e.target;let o=i.value,s=i.selectionStart;if(!n||n(o)){if(r){var l=r(o,s);o=l.value,s=l.caretPosition}this.value=o,this.validationMessage=""}else s-=1;this.forceUpdate(()=>i.setSelectionRange(s,s)),a&&a(this.value)}onKeyDown(e){const t=this.props,n=t.onBeforeDelete,r=t.onBeforeBackspace;"Backspace"===e.key&&r&&r(e),"Delete"===e.key&&n&&n(e),"Enter"===e.key&&(this.write(),e.preventDefault())}onWriteButtonClick(e){e.stopPropagation(),this.write()}onReadButtonClick(e){e.stopPropagation(),this.read()}handleClickOutside(e){const t=this.props,n=t.insideSelector,r=t.value;if(this.editing){if(n){const t=this.editableTextarea.current;if(t){const r=(0,o.default)(t).parents(n)[0];if(e.path.includes(r))return}}this.editing=!1,this.value=r,this.validationMessage="",this.forceUpdate()}}selectParentAndToggleEditing(e){const t=this.props.selectParent;e.stopPropagation(),this.toggleEditing(e),t(e)}selectParent(e){const t=this.props.selectParent;e.stopPropagation(),t(e)}toggleEditing(e){const t=this.props.onWrite;e.stopPropagation(),t&&(this.editing=!this.editing,this.forceUpdate())}write(){const e=this.props,t=e.completeValidation,n=e.onWrite,r=e.getValueArray,a=t?t(this.value):{valid:!0},i=a.valid,o=a.validationMessage;i?(this.editing=!1,n&&n(r(this.value))):this.validationMessage=o}read(){(0,this.props.onRead)()}render(){const e=this.props,t=e.value,n=e.label,a=e.title,o=e.plain,s=e.showReadButton,u=e.onRead,c=e.onWrite;let f;this.editing||(this.value=t);const p=s?r.default.createElement("div",{className:"btn btn-primary btn-xs btn-nordic",title:"Read",onClick:this.onReadButtonClick,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("i",{className:"mdi mdi-refresh"})):null;return f=o?r.default.createElement(l.default,{id:"editable-field",ref:this.editableTextarea,label:n,title:a,onKeyDown:this.onKeyDown,value:t,onChange:this.onChange,onClick:d}):this.editing&&c?r.default.createElement("div",{className:"editable-field-editor-wrap native-key-bindings"},r.default.createElement("div",{className:"alert-wrap"},r.default.createElement("div",{className:"alert alert-danger tooltip top",style:{display:""===this.validationMessage?"none":"block"}},r.default.createElement("div",{className:"tooltip-arrow"}),this.validationMessage)),r.default.createElement("div",{className:"btn btn-primary btn-xs btn-nordic",title:"Write",onClick:this.onWriteButtonClick,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("i",{className:"mdi mdi-check"})),r.default.createElement(i.default,{ref:this.editableTextarea,minRows:1,title:a,value:this.value,onChange:this.onChange,onClick:d,onKeyDown:this.onKeyDown})):s&&u&&c?r.default.createElement("div",{className:"editable-field-editor-wrap"},r.default.createElement("div",{className:"btn btn-primary btn-xs btn-nordic",title:"Read",onClick:this.onReadButtonClick,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("i",{className:"mdi mdi-refresh"})),r.default.createElement("div",{className:"subtle-text editable",onClick:this.toggleEditing,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("span",null,this.value||" "))):u&&!c?r.default.createElement("div",null,p,r.default.createElement("div",{className:"subtle-text"},r.default.createElement("span",null,this.value||" "))):u||c?r.default.createElement("div",{className:"subtle-text editable",title:a,onClick:this.selectParentAndToggleEditing,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("span",null,this.value||" ")):r.default.createElement("div",{className:"subtle-text",title:a,onClick:this.selectParent,onKeyDown:()=>{},role:"button",tabIndex:0},r.default.createElement("span",null,this.value||" ")),r.default.createElement("div",{className:"editable-field selectable"},f)}}c.propTypes={value:s.default.string.isRequired,onWrite:s.default.func,onRead:s.default.func,showReadButton:s.default.bool,insideSelector:s.default.string,title:s.default.string.isRequired,label:s.default.string,plain:s.default.bool,selectParent:s.default.func,keyPressValidation:s.default.func.isRequired,formatInput:s.default.func.isRequired,getValueArray:s.default.func.isRequired,completeValidation:s.default.func.isRequired,onBeforeBackspace:s.default.func.isRequired,onBeforeDelete:s.default.func.isRequired,onChange:s.default.func.isRequired},c.defaultProps={onWrite:null,onRead:null,showReadButton:!1,insideSelector:null,label:null,plain:null,selectParent:null};var f=(0,a.default)(c);t.default=f,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.IGNORE_CLASS_NAME=void 0;var r=n(1),a=n(45);function i(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var o,s,l=(void 0===o&&(o=0),function(){return++o}),u={},d={},c=["touchstart","touchmove"];function f(e,t){var n=null;return-1!==c.indexOf(t)&&s&&(n={passive:!e.props.preventDefault}),n}t.IGNORE_CLASS_NAME="ignore-react-onclickoutside";var p=function(e,t){var n,o,c=e.displayName||e.name||"Component";return o=n=function(n){var o,p;function h(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!=typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent: "+c+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,a.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!=typeof document&&!d[r._uid]){void 0===s&&(s=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),d[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),u[r._uid]=function(e){var t;null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),r.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode;){if(i(e,t,n))return!0;e=e.parentNode}return e}(e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e))},e.forEach((function(e){document.addEventListener(e,u[r._uid],f(r,e))}))}},r.disableOnClickOutside=function(){delete d[r._uid];var e=u[r._uid];if(e&&"undefined"!=typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,f(r,t))})),delete u[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=l(),r}p=n,(o=h).prototype=Object.create(p.prototype),o.prototype.constructor=o,o.__proto__=p;var m=h.prototype;return m.getInstance=function(){if(!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},m.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+c+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},m.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},m.componentWillUnmount=function(){this.disableOnClickOutside()},m.render=function(){var t=this.props,n=(t.excludeScrollbar,function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,["excludeScrollbar"]));return e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,r.createElement)(e,n)},h}(r.Component),n.displayName="OnClickOutside("+c+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:"ignore-react-onclickoutside",preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},o};t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(86)),a=l(n(59)),i=l(n(444)),o=l(n(83)),s=n(1);n(2);function l(e){return e&&e.__esModule?e:{default:e}}var u=!!document.documentElement.currentStyle,d={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},c=["letter-spacing","line-height","font-family","font-weight","font-size","font-style","tab-size","text-rendering","text-transform","width","text-indent","padding-top","padding-right","padding-bottom","padding-left","border-top-width","border-right-width","border-bottom-width","border-left-width","box-sizing"],f={},p=document.createElement("textarea"),h=function(e){Object.keys(d).forEach((function(t){e.style.setProperty(t,d[t],"important")}))};function m(e,t,n,r,a){void 0===n&&(n=!1),void 0===r&&(r=null),void 0===a&&(a=null),null===p.parentNode&&document.body.appendChild(p);var i=function(e,t,n){void 0===n&&(n=!1);if(n&&f[t])return f[t];var r=window.getComputedStyle(e);if(null===r)return null;var a=c.reduce((function(e,t){return e[t]=r.getPropertyValue(t),e}),{}),i=a["box-sizing"];if(""===i)return null;u&&"border-box"===i&&(a.width=parseFloat(a.width)+parseFloat(r["border-right-width"])+parseFloat(r["border-left-width"])+parseFloat(r["padding-right"])+parseFloat(r["padding-left"])+"px");var o=parseFloat(a["padding-bottom"])+parseFloat(a["padding-top"]),s=parseFloat(a["border-bottom-width"])+parseFloat(a["border-top-width"]),l={sizingStyle:a,paddingSize:o,borderSize:s,boxSizing:i};n&&(f[t]=l);return l}(e,t,n);if(null===i)return null;var o=i.paddingSize,s=i.borderSize,l=i.boxSizing,d=i.sizingStyle;Object.keys(d).forEach((function(e){p.style[e]=d[e]})),h(p),p.value=e.value||e.placeholder||"x";var m=-1/0,_=1/0,v=p.scrollHeight;"border-box"===l?v+=s:"content-box"===l&&(v-=o),p.value="x";var g=p.scrollHeight-o,y=Math.floor(v/g);return null!==r&&(m=g*r,"border-box"===l&&(m=m+o+s),v=Math.max(m,v)),null!==a&&(_=g*a,"border-box"===l&&(_=_+o+s),v=Math.min(_,v)),{height:v,minHeight:m,maxHeight:_,rowCount:Math.floor(v/g),valueRowCount:y}}p.setAttribute("tab-index","-1"),p.setAttribute("aria-hidden","true"),h(p);var _=function(){},v=0,g=function(e){function t(t){var n;return(n=e.call(this,t)||this)._onRef=function(e){n._ref=e;var t=n.props.inputRef;"function"!=typeof t?t.current=e:t(e)},n._onChange=function(e){n._controlled||n._resizeComponent(),n.props.onChange(e,(0,i.default)(n))},n._resizeComponent=function(e){void 0===e&&(e=_);var t=m(n._ref,n._uid,n.props.useCacheForDOMMeasurements,n.props.minRows,n.props.maxRows);if(null!==t){var r=t.height,a=t.minHeight,i=t.maxHeight,o=t.rowCount,s=t.valueRowCount;n.rowCount=o,n.valueRowCount=s,n.state.height===r&&n.state.minHeight===a&&n.state.maxHeight===i?e():n.setState({height:r,minHeight:a,maxHeight:i},e)}else e()},n.state={height:t.style&&t.style.height||0,minHeight:-1/0,maxHeight:1/0},n._uid=v++,n._controlled=void 0!==t.value,n._resizeLock=!1,n}(0,o.default)(t,e);var n=t.prototype;return n.render=function(){var e=this.props,t=(e.inputRef,e.maxRows,e.minRows,e.onHeightChange,e.useCacheForDOMMeasurements,(0,a.default)(e,["inputRef","maxRows","minRows","onHeightChange","useCacheForDOMMeasurements"]));return t.style=(0,r.default)({},t.style,{height:this.state.height}),Math.max(t.style.maxHeight||1/0,this.state.maxHeight)0&&t-1 in e)}w.fn=w.prototype={jquery:"3.5.1",constructor:w,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(w.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+N+")"+N+"*"),z=new RegExp(N+"|>"),q=new RegExp(B),G=new RegExp("^"+j+"$"),$={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ae=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},oe=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(k=I.call(A.childNodes),A.childNodes),k[A.childNodes.length].nodeType}catch(e){O={apply:k.length?function(e,t){P.apply(e,I.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,a){var i,s,u,d,c,h,v,g=t&&t.ownerDocument,A=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==A&&9!==A&&11!==A)return r;if(!a&&(f(t),t=t||p,m)){if(11!==A&&(c=Z.exec(e)))if(i=c[1]){if(9===A){if(!(u=t.getElementById(i)))return r;if(u.id===i)return r.push(u),r}else if(g&&(u=g.getElementById(i))&&y(t,u)&&u.id===i)return r.push(u),r}else{if(c[2])return O.apply(r,t.getElementsByTagName(e)),r;if((i=c[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!x[e+" "]&&(!_||!_.test(e))&&(1!==A||"object"!==t.nodeName.toLowerCase())){if(v=e,g=t,1===A&&(z.test(e)||V.test(e))){for((g=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((d=t.getAttribute("id"))?d=d.replace(re,ae):t.setAttribute("id",d=b)),s=(h=o(e)).length;s--;)h[s]=(d?"#"+d:":scope")+" "+ye(h[s]);v=h.join(",")}try{return O.apply(r,g.querySelectorAll(v)),r}catch(t){x(e,!0)}finally{d===b&&t.removeAttribute("id")}}}return l(e.replace(W,"$1"),t,r,a)}function le(){var e=[];return function t(n,a){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=a}}function ue(e){return e[b]=!0,e}function de(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var n=e.split("|"),a=n.length;a--;)r.attrHandle[n[a]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function _e(e){return ue((function(t){return t=+t,ue((function(n,r){for(var a,i=e([],n.length,t),o=i.length;o--;)n[a=i[o]]&&(n[a]=!(r[a]=n[a]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!J.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,a,o=e?e.ownerDocument||e:A;return o!=p&&9===o.nodeType&&o.documentElement?(h=(p=o).documentElement,m=!i(p),A!=p&&(a=p.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",ie,!1):a.attachEvent&&a.attachEvent("onunload",ie)),n.scope=de((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=de((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=de((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=X.test(p.getElementsByClassName),n.getById=de((function(e){return h.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,a,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(a=t.getElementsByName(e),r=0;i=a[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],a=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[a++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],_=[],(n.qsa=X.test(p.querySelectorAll))&&(de((function(e){var t;h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&_.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||_.push("\\["+N+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+b+"-]").length||_.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||_.push("\\["+N+"*name"+N+"*="+N+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||_.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||_.push(".#.+[+~]"),e.querySelectorAll("\\\f"),_.push("[\\r\\n\\f]")})),de((function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&_.push("name"+N+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&_.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&_.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),_.push(",.*:")}))),(n.matchesSelector=X.test(g=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&de((function(e){n.disconnectedMatch=g.call(e,"*"),g.call(e,"[s!='']:x"),v.push("!=",B)})),_=_.length&&new RegExp(_.join("|")),v=v.length&&new RegExp(v.join("|")),t=X.test(h.compareDocumentPosition),y=t||X.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},T=t?function(e,t){if(e===t)return c=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==A&&y(A,e)?-1:t==p||t.ownerDocument==A&&y(A,t)?1:d?Y(d,e)-Y(d,t):0:4&r?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,a=e.parentNode,i=t.parentNode,o=[e],s=[t];if(!a||!i)return e==p?-1:t==p?1:a?-1:i?1:d?Y(d,e)-Y(d,t):0;if(a===i)return fe(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?fe(o[r],s[r]):o[r]==A?-1:s[r]==A?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!x[t+" "]&&(!v||!v.test(t))&&(!_||!_.test(t)))try{var r=g.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){x(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var a=r.attrHandle[t.toLowerCase()],i=a&&L.call(r.attrHandle,t.toLowerCase())?a(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,ae)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],a=0,i=0;if(c=!n.detectDuplicates,d=!n.sortStable&&e.slice(0),e.sort(T),c){for(;t=e[i++];)t===e[i]&&(a=r.push(i));for(;a--;)e.splice(r[a],1)}return d=null,e},a=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=a(t);return n},(r=se.selectors={cacheLength:50,createPseudo:ue,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&q.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=M[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&M(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var a=se.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(U," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,a){var i="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,l){var u,d,c,f,p,h,m=i!==o?"nextSibling":"previousSibling",_=t.parentNode,v=s&&t.nodeName.toLowerCase(),g=!l&&!s,y=!1;if(_){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?_.firstChild:_.lastChild],o&&g){for(y=(p=(u=(d=(c=(f=_)[b]||(f[b]={}))[f.uniqueID]||(c[f.uniqueID]={}))[e]||[])[0]===E&&u[1])&&u[2],f=p&&_.childNodes[p];f=++p&&f&&f[m]||(y=p=0)||h.pop();)if(1===f.nodeType&&++y&&f===t){d[e]=[E,p,y];break}}else if(g&&(y=p=(u=(d=(c=(f=t)[b]||(f[b]={}))[f.uniqueID]||(c[f.uniqueID]={}))[e]||[])[0]===E&&u[1]),!1===y)for(;(f=++p&&f&&f[m]||(y=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++y||(g&&((d=(c=f[b]||(f[b]={}))[f.uniqueID]||(c[f.uniqueID]={}))[e]=[E,y]),f!==t)););return(y-=a)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,a=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[b]?a(t):a.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,n){for(var r,i=a(e,t),o=i.length;o--;)e[r=Y(e,i[o])]=!(n[r]=i[o])})):function(e){return a(e,0,n)}):a}},pseudos:{not:ue((function(e){var t=[],n=[],r=s(e.replace(W,"$1"));return r[b]?ue((function(e,t,n,a){for(var i,o=r(e,null,a,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))})):function(e,a,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ue((function(e){return function(t){return se(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||a(t)).indexOf(e)>-1}})),lang:ue((function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:_e((function(){return[0]})),last:_e((function(e,t){return[t-1]})),eq:_e((function(e,t,n){return[n<0?n+t:n]})),even:_e((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:_e((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var a=e.length;a--;)if(!e[a](t,n,r))return!1;return!0}:e[0]}function Ee(e,t,n,r,a){for(var i,o=[],s=0,l=e.length,u=null!=t;s-1&&(i[u]=!(o[u]=c))}}else v=Ee(v===o?v.splice(h,v.length):v),a?a(null,o,v,l):O.apply(o,v)}))}function Me(e){for(var t,n,a,i=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],l=o?1:0,d=be((function(e){return e===t}),s,!0),c=be((function(e){return Y(t,e)>-1}),s,!0),f=[function(e,n,r){var a=!o&&(r||n!==u)||((t=n).nodeType?d(e,n,r):c(e,n,r));return t=null,a}];l1&&Ae(f),l>1&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(W,"$1"),n,l0,a=e.length>0,i=function(i,o,s,l,d){var c,h,_,v=0,g="0",y=i&&[],b=[],A=u,w=i||a&&r.find.TAG("*",d),M=E+=null==A?1:Math.random()||.1,D=w.length;for(d&&(u=o==p||o||d);g!==D&&null!=(c=w[g]);g++){if(a&&c){for(h=0,o||c.ownerDocument==p||(f(c),s=!m);_=e[h++];)if(_(c,o||p,s)){l.push(c);break}d&&(E=M)}n&&((c=!_&&c)&&v--,i&&y.push(c))}if(v+=g,n&&g!==v){for(h=0;_=t[h++];)_(y,b,o,s);if(i){if(v>0)for(;g--;)y[g]||b[g]||(b[g]=S.call(l));b=Ee(b)}O.apply(l,b),d&&!i&&b.length>0&&v+t.length>1&&se.uniqueSort(l)}return d&&(E=M,u=A),y};return n?ue(i):i}(i,a))).selector=e}return s},l=se.select=function(e,t,n,a){var i,l,u,d,c,f="function"==typeof e&&e,p=!a&&o(e=f.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=$.needsContext.test(e)?0:l.length;i--&&(u=l[i],!r.relative[d=u.type]);)if((c=r.find[d])&&(a=c(u.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(i,1),!(e=a.length&&ye(l)))return O.apply(n,a),n;break}}return(f||s(e,p))(a,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=b.split("").sort(T).join("")===b,n.detectDuplicates=!!c,f(),n.sortDetached=de((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),de((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||ce("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&de((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ce("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),de((function(e){return null==e.getAttribute("disabled")}))||ce(R,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(n);w.find=D,w.expr=D.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=D.uniqueSort,w.text=D.getText,w.isXMLDoc=D.isXML,w.contains=D.contains,w.escapeSelector=D.escape;var C=function(e,t,n){for(var r=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&w(e).is(n))break;r.push(e)}return r},x=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=w.expr.match.needsContext;function L(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var k=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function S(e,t,n){return v(t)?w.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?w.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?w.grep(e,(function(e){return d.call(t,e)>-1!==n})):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,(function(e){return 1===e.nodeType})))},w.fn.extend({find:function(e){var t,n,r=this.length,a=this;if("string"!=typeof e)return this.pushStack(w(e).filter((function(){for(t=0;t1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(S(this,e||[],!1))},not:function(e){return this.pushStack(S(this,e||[],!0))},is:function(e){return!!S(this,"string"==typeof e&&T.test(e)?w(e):e||[],!1).length}});var P,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||P,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:O.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),k.test(r[1])&&w.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=y.getElementById(r[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,P=w(y);var I=/^(?:parents|prev(?:Until|All))/,Y={children:!0,contents:!0,next:!0,prev:!0};function R(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&w.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?w.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?d.call(w(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,n){return C(e,"parentNode",n)},next:function(e){return R(e,"nextSibling")},prev:function(e){return R(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,n){return C(e,"nextSibling",n)},prevUntil:function(e,t,n){return C(e,"previousSibling",n)},siblings:function(e){return x((e.parentNode||{}).firstChild,e)},children:function(e){return x(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(L(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},(function(e,t){w.fn[e]=function(n,r){var a=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(a=w.filter(r,a)),this.length>1&&(Y[e]||w.uniqueSort(a),I.test(e)&&a.reverse()),this.pushStack(a)}}));var N=/[^\x20\t\r\n\f]+/g;function j(e){return e}function H(e){throw e}function B(e,t,n,r){var a;try{e&&v(a=e.promise)?a.call(e).done(t).fail(n):e&&v(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return w.each(e.match(N)||[],(function(e,n){t[n]=!0})),t}(e):w.extend({},e);var t,n,r,a,i=[],o=[],s=-1,l=function(){for(a=a||e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?w.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return a=o=[],i=n="",this},disabled:function(){return!i},lock:function(){return a=o=[],n||t||(i=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},w.extend({Deferred:function(e){var t=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",a={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return w.Deferred((function(n){w.each(t,(function(t,r){var a=v(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=a&&a.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,a?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,a){var i=0;function o(e,t,r,a){return function(){var s=this,l=arguments,u=function(){var n,u;if(!(e=i&&(r!==H&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?d():(w.Deferred.getStackHook&&(d.stackTrace=w.Deferred.getStackHook()),n.setTimeout(d))}}return w.Deferred((function(n){t[0][3].add(o(0,n,v(a)?a:j,n.notifyWith)),t[1][3].add(o(0,n,v(e)?e:j)),t[2][3].add(o(0,n,v(r)?r:H))})).promise()},promise:function(e){return null!=e?w.extend(e,a):a}},i={};return w.each(t,(function(e,n){var o=n[2],s=n[5];a[n[1]]=o.add,s&&o.add((function(){r=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=o.fireWith})),a.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),a=s.call(arguments),i=w.Deferred(),o=function(e){return function(n){r[e]=this,a[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,a)}};if(t<=1&&(B(e,i.done(o(n)).resolve,i.reject,!t),"pending"===i.state()||v(a[n]&&a[n].then)))return i.then();for(;n--;)B(a[n],o(n),i.reject);return i.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&U.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},w.readyException=function(e){n.setTimeout((function(){throw e}))};var W=w.Deferred();function F(){y.removeEventListener("DOMContentLoaded",F),n.removeEventListener("load",F),w.ready()}w.fn.ready=function(e){return W.then(e).catch((function(e){w.readyException(e)})),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||W.resolveWith(y,[w]))}}),w.ready.then=W.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?n.setTimeout(w.ready):(y.addEventListener("DOMContentLoaded",F),n.addEventListener("load",F));var V=function(e,t,n,r,a,i,o){var s=0,l=e.length,u=null==n;if("object"===E(n))for(s in a=!0,n)V(e,t,s,n[s],!0,i,o);else if(void 0!==r&&(a=!0,v(r)||(o=!0),u&&(o?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(w(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){X.remove(this,e)}))}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,a=n.shift(),i=w._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete i.stop,a.call(e,(function(){w.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:w.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ve=/^$|^module$|\/(?:java|ecma)script/i;pe=y.createDocumentFragment().appendChild(y.createElement("div")),(he=y.createElement("input")).setAttribute("type","radio"),he.setAttribute("checked","checked"),he.setAttribute("name","t"),pe.appendChild(he),_.checkClone=pe.cloneNode(!0).cloneNode(!0).lastChild.checked,pe.innerHTML="",_.noCloneChecked=!!pe.cloneNode(!0).lastChild.defaultValue,pe.innerHTML="",_.option=!!pe.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ye(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&L(e,t)?w.merge([e],n):n}function be(e,t){for(var n=0,r=e.length;n",""]);var Ae=/<|&#?\w+;/;function Ee(e,t,n,r,a){for(var i,o,s,l,u,d,c=t.createDocumentFragment(),f=[],p=0,h=e.length;p-1)a&&a.push(i);else if(u=oe(i),o=ye(c.appendChild(i),"script"),u&&be(o),n)for(d=0;i=o[d++];)ve.test(i.type||"")&&n.push(i);return c}var we=/^key/,Me=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,De=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function xe(){return!1}function Te(e,t){return e===function(){try{return y.activeElement}catch(e){}}()==("focus"===t)}function Le(e,t,n,r,a,i){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Le(e,s,n,r,t[s],i);return e}if(null==r&&null==a?(a=n,r=n=void 0):null==a&&("string"==typeof n?(a=r,r=void 0):(a=r,r=n,n=void 0)),!1===a)a=xe;else if(!a)return e;return 1===i&&(o=a,(a=function(e){return w().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=w.guid++)),e.each((function(){w.event.add(this,t,a,r,n)}))}function ke(e,t,n){n?(Q.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var r,a,i=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Q.set(this,t,i),r=n(this,t),this[t](),i!==(a=Q.get(this,t))||r?Q.set(this,t,!1):a={},i!==a)return e.stopImmediatePropagation(),e.preventDefault(),a.value}else i.length&&(Q.set(this,t,{value:w.event.trigger(w.extend(i[0],w.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&w.event.add(e,t,Ce)}w.event={global:{},add:function(e,t,n,r,a){var i,o,s,l,u,d,c,f,p,h,m,_=Q.get(e);if(J(e))for(n.handler&&(n=(i=n).handler,a=i.selector),a&&w.find.matchesSelector(ie,a),n.guid||(n.guid=w.guid++),(l=_.events)||(l=_.events=Object.create(null)),(o=_.handle)||(o=_.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(N)||[""]).length;u--;)p=m=(s=De.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p&&(c=w.event.special[p]||{},p=(a?c.delegateType:c.bindType)||p,c=w.event.special[p]||{},d=w.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&w.expr.match.needsContext.test(a),namespace:h.join(".")},i),(f=l[p])||((f=l[p]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,r,h,o)||e.addEventListener&&e.addEventListener(p,o)),c.add&&(c.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),a?f.splice(f.delegateCount++,0,d):f.push(d),w.event.global[p]=!0)},remove:function(e,t,n,r,a){var i,o,s,l,u,d,c,f,p,h,m,_=Q.hasData(e)&&Q.get(e);if(_&&(l=_.events)){for(u=(t=(t||"").match(N)||[""]).length;u--;)if(p=m=(s=De.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(c=w.event.special[p]||{},f=l[p=(r?c.delegateType:c.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=i=f.length;i--;)d=f[i],!a&&m!==d.origType||n&&n.guid!==d.guid||s&&!s.test(d.namespace)||r&&r!==d.selector&&("**"!==r||!d.selector)||(f.splice(i,1),d.selector&&f.delegateCount--,c.remove&&c.remove.call(e,d));o&&!f.length&&(c.teardown&&!1!==c.teardown.call(e,h,_.handle)||w.removeEvent(e,p,_.handle),delete l[p])}else for(p in l)w.event.remove(e,p+t[u],n,r,!0);w.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,a,i,o,s=new Array(arguments.length),l=w.event.fix(e),u=(Q.get(this,"events")||Object.create(null))[l.type]||[],d=w.event.special[l.type]||{};for(s[0]=l,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],o={},n=0;n-1:w.find(a,this,null,[u]).length),o[a]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,l\s*$/g;function Ie(e,t){return L(e,"table")&&L(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Ye(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ne(e,t){var n,r,a,i,o,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(a in Q.remove(t,"handle events"),s)for(n=0,r=s[a].length;n1&&"string"==typeof h&&!_.checkClone&&Pe.test(h))return e.each((function(a){var i=e.eq(a);m&&(t[0]=h.call(this,a,i.html())),He(i,t,n,r)}));if(f&&(i=(a=Ee(t,e[0].ownerDocument,!1,e,r)).firstChild,1===a.childNodes.length&&(a=i),i||r)){for(s=(o=w.map(ye(a,"script"),Ye)).length;c0&&be(o,!l&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,a=w.event.special,i=0;void 0!==(n=e[i]);i++)if(J(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)a[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return V(this,(function(e){return void 0===e?w.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return He(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ie(this,e).appendChild(e)}))},prepend:function(){return He(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ie(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return He(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return He(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return w.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Se.test(e)&&!ge[(_e.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n3,ie.removeChild(e)),s}}))}();var Ge=["Webkit","Moz","ms"],$e=y.createElement("div").style,Je={};function Ke(e){var t=w.cssProps[e]||Je[e];return t||(e in $e?e:Je[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;n--;)if((e=Ge[n]+t)in $e)return e}(e)||e)}var Qe=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"};function tt(e,t,n){var r=re.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function nt(e,t,n,r,a,i){var o="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;o<4;o+=2)"margin"===n&&(l+=w.css(e,n+ae[o],!0,a)),r?("content"===n&&(l-=w.css(e,"padding"+ae[o],!0,a)),"margin"!==n&&(l-=w.css(e,"border"+ae[o]+"Width",!0,a))):(l+=w.css(e,"padding"+ae[o],!0,a),"padding"!==n?l+=w.css(e,"border"+ae[o]+"Width",!0,a):s+=w.css(e,"border"+ae[o]+"Width",!0,a));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l}function rt(e,t,n){var r=We(e),a=(!_.boxSizingReliable()||n)&&"border-box"===w.css(e,"boxSizing",!1,r),i=a,o=ze(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(o)){if(!n)return o;o="auto"}return(!_.boxSizingReliable()&&a||!_.reliableTrDimensions()&&L(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===w.css(e,"display",!1,r))&&e.getClientRects().length&&(a="border-box"===w.css(e,"boxSizing",!1,r),(i=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+nt(e,t,n||(a?"border":"content"),i,r,o)+"px"}function at(e,t,n,r,a){return new at.prototype.init(e,t,n,r,a)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,i,o,s=$(t),l=Xe.test(t),u=e.style;if(l||(t=Ke(s)),o=w.cssHooks[t]||w.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(a=o.get(e,!1,r))?a:u[t];"string"===(i=typeof n)&&(a=re.exec(n))&&a[1]&&(n=ue(e,t,a),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=a&&a[3]||(w.cssNumber[s]?"":"px")),_.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var a,i,o,s=$(t);return Xe.test(t)||(t=Ke(s)),(o=w.cssHooks[t]||w.cssHooks[s])&&"get"in o&&(a=o.get(e,!0,n)),void 0===a&&(a=ze(e,t,r)),"normal"===a&&t in et&&(a=et[t]),""===n||n?(i=parseFloat(a),!0===n||isFinite(i)?i||0:a):a}}),w.each(["height","width"],(function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!Qe.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?rt(e,t,r):Fe(e,Ze,(function(){return rt(e,t,r)}))},set:function(e,n,r){var a,i=We(e),o=!_.scrollboxSize()&&"absolute"===i.position,s=(o||r)&&"border-box"===w.css(e,"boxSizing",!1,i),l=r?nt(e,t,r,s,i):0;return s&&o&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-nt(e,t,"border",!1,i)-.5)),l&&(a=re.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),tt(0,n,l)}}})),w.cssHooks.marginLeft=qe(_.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-Fe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),w.each({margin:"",padding:"",border:"Width"},(function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,a={},i="string"==typeof n?n.split(" "):[n];r<4;r++)a[e+ae[r]+t]=i[r]||i[r-2]||i[0];return a}},"margin"!==e&&(w.cssHooks[e+t].set=tt)})),w.fn.extend({css:function(e,t){return V(this,(function(e,t,n){var r,a,i={},o=0;if(Array.isArray(t)){for(r=We(e),a=t.length;o1)}}),w.Tween=at,at.prototype={constructor:at,init:function(e,t,n,r,a,i){this.elem=e,this.prop=n,this.easing=a||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(w.cssNumber[n]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,n=at.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):at.propHooks._default.set(this),this}},at.prototype.init.prototype=at.prototype,at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||!w.cssHooks[e.prop]&&null==e.elem.style[Ke(e.prop)]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},at.propHooks.scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=at.prototype.init,w.fx.step={};var it,ot,st=/^(?:toggle|show|hide)$/,lt=/queueHooks$/;function ut(){ot&&(!1===y.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(ut):n.setTimeout(ut,w.fx.interval),w.fx.tick())}function dt(){return n.setTimeout((function(){it=void 0})),it=Date.now()}function ct(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)a["margin"+(n=ae[r])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function ft(e,t,n){for(var r,a=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),i=0,o=a.length;i1)},removeAttr:function(e){return this.each((function(){w.removeAttr(this,e)}))}}),w.extend({attr:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?w.prop(e,t,n):(1===i&&w.isXMLDoc(e)||(a=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!_.radioValue&&"radio"===t&&L(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,a=t&&t.match(N);if(a&&1===e.nodeType)for(;n=a[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=mt[t]||w.find.attr;mt[t]=function(e,t,r){var a,i,o=t.toLowerCase();return r||(i=mt[o],mt[o]=a,a=null!=n(e,t,r)?o:null,mt[o]=i),a}}));var _t=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function gt(e){return(e.match(N)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}w.fn.extend({prop:function(e,t){return V(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[w.propFix[e]||e]}))}}),w.extend({prop:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&w.isXMLDoc(e)||(t=w.propFix[t]||t,a=w.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):_t.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),_.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){w.propFix[this.toLowerCase()]=this})),w.fn.extend({addClass:function(e){var t,n,r,a,i,o,s,l=0;if(v(e))return this.each((function(t){w(this).addClass(e.call(this,t,yt(this)))}));if((t=bt(e)).length)for(;n=this[l++];)if(a=yt(n),r=1===n.nodeType&&" "+gt(a)+" "){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a!==(s=gt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,a,i,o,s,l=0;if(v(e))return this.each((function(t){w(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[l++];)if(a=yt(n),r=1===n.nodeType&&" "+gt(a)+" "){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a!==(s=gt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):v(e)?this.each((function(n){w(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,a,i,o;if(r)for(a=0,i=w(this),o=bt(e);t=o[a++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var At=/\r/g;w.fn.extend({val:function(e){var t,n,r,a=this[0];return arguments.length?(r=v(e),this.each((function(n){var a;1===this.nodeType&&(null==(a=r?e.call(this,n,w(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=w.map(a,(function(e){return null==e?"":e+""}))),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=w.valHooks[a.type]||w.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(At,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:gt(w.text(e))}},select:{get:function(e){var t,n,r,a=e.options,i=e.selectedIndex,o="select-one"===e.type,s=o?null:[],l=o?i+1:a.length;for(r=i<0?l:o?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),w.each(["radio","checkbox"],(function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},_.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),_.focusin="onfocusin"in n;var Et=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(e,t,r,a){var i,o,s,l,u,d,c,f,h=[r||y],m=p.call(e,"type")?e.type:e,_=p.call(e,"namespace")?e.namespace.split("."):[];if(o=f=s=r=r||y,3!==r.nodeType&&8!==r.nodeType&&!Et.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(_=m.split("."),m=_.shift(),_.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[w.expando]?e:new w.Event(m,"object"==typeof e&&e)).isTrigger=a?2:3,e.namespace=_.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:w.makeArray(t,[e]),c=w.event.special[m]||{},a||!c.trigger||!1!==c.trigger.apply(r,t))){if(!a&&!c.noBubble&&!g(r)){for(l=c.delegateType||m,Et.test(l+m)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(r.ownerDocument||y)&&h.push(s.defaultView||s.parentWindow||n)}for(i=0;(o=h[i++])&&!e.isPropagationStopped();)f=o,e.type=i>1?l:c.bindType||m,(d=(Q.get(o,"events")||Object.create(null))[e.type]&&Q.get(o,"handle"))&&d.apply(o,t),(d=u&&o[u])&&d.apply&&J(o)&&(e.result=d.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,a||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(h.pop(),t)||!J(r)||u&&v(r[m])&&!g(r)&&((s=r[u])&&(r[u]=null),w.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,wt),r[m](),e.isPropagationStopped()&&f.removeEventListener(m,wt),w.event.triggered=void 0,s&&(r[u]=s)),e.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each((function(){w.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),_.focusin||w.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,a=Q.access(r,t);a||r.addEventListener(e,n,!0),Q.access(r,t,(a||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,a=Q.access(r,t)-1;a?Q.access(r,t,a):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var Mt=n.location,Dt={guid:Date.now()},Ct=/\?/;w.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+e),t};var xt=/\[\]$/,Tt=/\r?\n/g,Lt=/^(?:submit|button|image|reset|file)$/i,kt=/^(?:input|select|textarea|keygen)/i;function St(e,t,n,r){var a;if(Array.isArray(t))w.each(t,(function(t,a){n||xt.test(e)?r(e,a):St(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,r)}));else if(n||"object"!==E(t))r(e,t);else for(a in t)St(e+"["+a+"]",t[a],n,r)}w.param=function(e,t){var n,r=[],a=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,(function(){a(this.name,this.value)}));else for(n in e)St(n,e[n],t,a);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&kt.test(this.nodeName)&&!Lt.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,(function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}})):{name:t.name,value:n.replace(Tt,"\r\n")}})).get()}});var Pt=/%20/g,Ot=/#.*$/,It=/([?&])_=[^&]*/,Yt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,Nt=/^\/\//,jt={},Ht={},Bt="*/".concat("*"),Ut=y.createElement("a");function Wt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,a=0,i=t.toLowerCase().match(N)||[];if(v(n))for(;r=i[a++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ft(e,t,n,r){var a={},i=e===Ht;function o(s){var l;return a[s]=!0,w.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||a[u]?i?!(l=u):void 0:(t.dataTypes.unshift(u),o(u),!1)})),l}return o(t.dataTypes[0])||!a["*"]&&o("*")}function Vt(e,t){var n,r,a=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}Ut.href=Mt.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Mt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Mt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,w.ajaxSettings),t):Vt(w.ajaxSettings,e)},ajaxPrefilter:Wt(jt),ajaxTransport:Wt(Ht),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,a,i,o,s,l,u,d,c,f,p=w.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?w(h):w.event,_=w.Deferred(),v=w.Callbacks("once memory"),g=p.statusCode||{},b={},A={},E="canceled",M={readyState:0,getResponseHeader:function(e){var t;if(u){if(!o)for(o={};t=Yt.exec(i);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(e,t){return null==u&&(e=A[e.toLowerCase()]=A[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==u&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)M.always(e[M.status]);else for(t in e)g[t]=[g[t],e[t]];return this},abort:function(e){var t=e||E;return r&&r.abort(t),D(0,t),this}};if(_.promise(M),p.url=((e||p.url||Mt.href)+"").replace(Nt,Mt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(N)||[""],null==p.crossDomain){l=y.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ut.protocol+"//"+Ut.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=w.param(p.data,p.traditional)),Ft(jt,p,t,M),u)return M;for(c in(d=w.event&&p.global)&&0==w.active++&&w.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Rt.test(p.type),a=p.url.replace(Ot,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Pt,"+")):(f=p.url.slice(a.length),p.data&&(p.processData||"string"==typeof p.data)&&(a+=(Ct.test(a)?"&":"?")+p.data,delete p.data),!1===p.cache&&(a=a.replace(It,"$1"),f=(Ct.test(a)?"&":"?")+"_="+Dt.guid+++f),p.url=a+f),p.ifModified&&(w.lastModified[a]&&M.setRequestHeader("If-Modified-Since",w.lastModified[a]),w.etag[a]&&M.setRequestHeader("If-None-Match",w.etag[a])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&M.setRequestHeader("Content-Type",p.contentType),M.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Bt+"; q=0.01":""):p.accepts["*"]),p.headers)M.setRequestHeader(c,p.headers[c]);if(p.beforeSend&&(!1===p.beforeSend.call(h,M,p)||u))return M.abort();if(E="abort",v.add(p.complete),M.done(p.success),M.fail(p.error),r=Ft(Ht,p,t,M)){if(M.readyState=1,d&&m.trigger("ajaxSend",[M,p]),u)return M;p.async&&p.timeout>0&&(s=n.setTimeout((function(){M.abort("timeout")}),p.timeout));try{u=!1,r.send(b,D)}catch(e){if(u)throw e;D(-1,e)}}else D(-1,"No Transport");function D(e,t,o,l){var c,f,y,b,A,E=t;u||(u=!0,s&&n.clearTimeout(s),r=void 0,i=l||"",M.readyState=e>0?4:0,c=e>=200&&e<300||304===e,o&&(b=function(e,t,n){for(var r,a,i,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){l.unshift(a);break}if(l[0]in n)i=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){i=a;break}o||(o=a)}i=i||o}if(i)return i!==l[0]&&l.unshift(i),n[i]}(p,M,o)),!c&&w.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),b=function(e,t,n,r){var a,i,o,s,l,u={},d=e.dataTypes.slice();if(d[1])for(o in e.converters)u[o.toLowerCase()]=e.converters[o];for(i=d.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=d.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(o=u[l+" "+i]||u["* "+i]))for(a in u)if((s=a.split(" "))[1]===i&&(o=u[l+" "+s[0]]||u["* "+s[0]])){!0===o?o=u[a]:!0!==u[a]&&(i=s[0],d.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(p,b,M,c),c?(p.ifModified&&((A=M.getResponseHeader("Last-Modified"))&&(w.lastModified[a]=A),(A=M.getResponseHeader("etag"))&&(w.etag[a]=A)),204===e||"HEAD"===p.type?E="nocontent":304===e?E="notmodified":(E=b.state,f=b.data,c=!(y=b.error))):(y=E,!e&&E||(E="error",e<0&&(e=0))),M.status=e,M.statusText=(t||E)+"",c?_.resolveWith(h,[f,E,M]):_.rejectWith(h,[M,E,y]),M.statusCode(g),g=void 0,d&&m.trigger(c?"ajaxSuccess":"ajaxError",[M,p,c?f:y]),v.fireWith(h,[M,E]),d&&(m.trigger("ajaxComplete",[M,p]),--w.active||w.event.trigger("ajaxStop")))}return M},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],(function(e,t){w[t]=function(e,n,r,a){return v(n)&&(a=a||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:a,data:n,success:r},w.isPlainObject(e)&&e))}})),w.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),w._evalUrl=function(e,t,n){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){w.globalEval(e,t,n)}})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){w(this).wrapInner(e.call(this,t))})):this.each((function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){w(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){w(this).replaceWith(this.childNodes)})),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},qt=w.ajaxSettings.xhr();_.cors=!!qt&&"withCredentials"in qt,_.ajax=qt=!!qt,w.ajaxTransport((function(e){var t,r;if(_.cors||qt&&!e.crossDomain)return{send:function(a,i){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)s.setRequestHeader(o,a[o]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),w.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),w.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,a){t=w("